* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: #ffffff;
  background: #0a0a0a;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.82), rgba(214, 179, 25, 0.22)), url("assets/public-domain/bg-hero.jpg") center/cover no-repeat;
  display: flex;
  flex-direction: column;
  position: relative;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-decoration: none;
}

.brand-home {
  display: inline-flex;
  text-decoration: none;
}

.brand-text {
  color: #ffffff;
  letter-spacing: 0.02em;
}

.brand-gym {
  font-weight: 800;
}

.brand-tonic {
  font-weight: 300;
}

.brand-home img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #ffffff;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.menu-toggle {
  display: none;
  border: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  width: 42px;
  height: 42px;
  padding: 0;
  font: inherit;
  align-items: center;
  justify-content: center;
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(10, 10, 10, 0.98);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.3rem;
}

.mobile-menu a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
}

.mobile-menu-logo {
  width: min(220px, 62vw);
  height: auto;
  margin-bottom: 0.4rem;
}

.mobile-menu-logo-link {
  display: inline-flex;
}

.mobile-menu[hidden] {
  display: none;
}

.menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  width: 42px;
  height: 42px;
  padding: 0;
  font: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-close svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.hero-content {
  margin: auto;
  padding: 3rem 0 6rem;
  max-width: 760px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-down {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.scroll-down svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e0c013;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

h1,
h2,
h3 {
  margin: 0 0 0.8rem;
}

h2 {
  color: #e0c013;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.1;
}

.hero-main-logo {
  width: clamp(180px, 34vw, 360px);
  height: auto;
  margin: 0 0 0.9rem;
}

.hero-text {
  font-size: 1.05rem;
  color: #f2f2f2;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.btn-nav {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid #ffffff;
  color: #ffffff;
}

.btn-primary {
  background: #ffffff;
  color: #111111;
  border: 1px solid #ffffff;
}

.btn-secondary {
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  border: 1px solid #ffffff;
}

.btn-instagram-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  border: 0;
}

.btn-instagram-icon svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

.section {
  padding: 4rem 0;
}

.section-bg-sport {
  background: linear-gradient(rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.85)), url("assets/public-domain/bg-sport.jpg") center/cover no-repeat;
}

.section-bg-strenght {
  background: linear-gradient(rgba(10, 10, 10, 0.88), rgba(10, 10, 10, 0.88)), url("assets/public-domain/bg-strenght.jpg") center/cover no-repeat;
}

.section-bg-hero {
  background: linear-gradient(rgba(10, 10, 10, 0.88), rgba(10, 10, 10, 0.88)), url("assets/public-domain/bg-testimonial.jpg") center/cover no-repeat;
}

#testimonianze {
  background: linear-gradient(rgba(10, 10, 10, 0.88), rgba(10, 10, 10, 0.88)), url("assets/public-domain/bg-testimonial.jpg") center/cover no-repeat;
}

.section-intro {
  margin-top: 0;
  color: #bdbdbd;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.course-image {
  width: 100%;
  height: auto;
  border-radius: 0;
  border: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.35rem;
  grid-auto-flow: dense;
  align-items: stretch;
}

.gallery-item {
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.gallery-item--2 {
  grid-column: span 1;
  aspect-ratio: 1 / 1;
}

.gallery-item--4 {
  grid-column: span 1;
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.gallery-item img:hover {
  opacity: 0.85;
}

.gallery-instagram-card {
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.instagram-box-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  height: 100%;
  padding: 0;
  background: transparent;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.instagram-box-button svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 150px;
  }

  .gallery-item {
    aspect-ratio: auto;
    height: 100%;
  }

  .gallery-item--2 {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-item--4 {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery-instagram-card {
    grid-column: span 1;
    grid-row: span 1;
  }
}

.section-dark {
  background: transparent;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 1rem;
}

.testimonial p {
  margin-top: 0;
}

.testimonial span {
  color: #e0c013;
  font-weight: 700;
}

.reviews-link {
  color: #e0c013;
  font-weight: 700;
}

.comment-form {
  max-width: 650px;
  display: grid;
  gap: 0.7rem;
}

.comment-form label {
  font-weight: 700;
}

.comment-form input,
.comment-form textarea {
  background: #121212;
  border: 1px solid #2a2a2a;
  color: #ffffff;
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font: inherit;
}

.comment-form textarea {
  resize: vertical;
}

.comment-form button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.contact-card {
  background: transparent;
  border-radius: 0;
  border: 0;
  padding: 1rem;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

.contact-phone {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.contact-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  color: #e0c013;
  text-decoration: none;
  background: transparent;
}

.contact-whatsapp svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.map-wrapper iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 0;
}

.footer {
  border-top: 1px solid #1e1e1e;
  padding: 1.3rem 0;
}

.footer-content {
  color: #9f9f9f;
  font-size: 0.92rem;
  display: flex;
  gap: 0.8rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-content a,
.footer-content a[x-apple-data-detectors],
.footer-content span[x-apple-data-detectors] {
  color: inherit !important;
  text-decoration: none !important;
  font: inherit !important;
}

.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 999;
  background: #e0c013;
  color: #111111;
  text-decoration: none;
  font-weight: 800;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  border: 1px solid #e0c013;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.whatsapp-float svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Explicit accent lock for requested elements */
.eyebrow,
#testimonianze h2,
#contatti h2,
.testimonial span,
.contact-whatsapp {
  color: #e0c013;
}

.whatsapp-float {
  background: #e0c013;
  border-color: #e0c013;
}

@media (max-width: 700px) {
  .brand,
  .brand-text,
  .brand-gym,
  .brand-tonic,
  .brand-home,
  .brand-home:visited,
  .brand-home:hover,
  .brand-home:active {
    color: #ffffff !important;
    text-decoration: none !important;
  }

  .footer-content,
  .footer-content a,
  .footer-content a[x-apple-data-detectors],
  .footer-content span[x-apple-data-detectors] {
    color: #9f9f9f !important;
    text-decoration: none !important;
    font: inherit !important;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    z-index: 1100;
    padding: 0.6rem 1rem;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .btn-nav {
    display: none;
  }

  .hero-content {
    padding-top: 6.2rem;
  }

  .gallery-item--2,
  .gallery-item--4 {
    grid-column: span 1;
    aspect-ratio: 1 / 1;
  }

  .scroll-down {
    display: none;
  }
}
