/* ============================================
   AGOSTO FITNESS — HOMEPAGE PROTOTYPE V4
   style.css — FULL DARK MODE
   
   Branding: Agosto Fitness actual brand
   Layout:   DOGPOUND-inspired full-bleed mega sections
   
   Fonts:    Bebas Neue (Google) for headings
             Inter (Google) for body — modern, clean
   Colors:   #2c2926 Warm off-black (positioning strip)
             #e8e4e0 Warm light (accent / buttons / labels)
             #0a0a0a Near-black (base background)
             #111111 Dark charcoal (section alt)
             #161616 Dark (cards / elevated surfaces)
             #e0e0e0 Light text (headings on dark)
             #999999 Muted body text
   ============================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #999999;
  background: #0a0a0a;
  overflow-x: hidden;
  opacity: 0;
  animation: fadeInPage 0.6s ease 0.1s forwards;
}

@keyframes fadeInPage {
  to { opacity: 1; }
}

/* Subtle noise texture overlay — shared by flat dark sections */
.noise-texture {
  position: relative;
}
.noise-texture::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}
.noise-texture > * {
  position: relative;
  z-index: 1;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s, opacity 0.3s; }
ul { list-style: none; }
address { font-style: normal; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}


/* ============================================
   SECTION LABEL (modern accent)
   ============================================ */
.section-label {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #e8e4e0;
  margin-bottom: 12px;
}


/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 30px rgba(0,0,0,0.4);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo img {
  height: 48px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 8px 0;
  position: relative;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 2px;
  background: #e8e4e0;
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.cta-nav {
  background: #e8e4e0;
  color: #0a0a0a !important;
  padding: 10px 28px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s, transform 0.2s;
}

.cta-nav::after { display: none; }

.cta-nav:hover {
  background: #ffffff;
  transform: translateY(-1px);
}


/* NAV DROPDOWN (Services) */
.nav-dropdown {
  position: relative;
}

.nav-dropdown .nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-arrow {
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  transform: translateX(-50%) translateY(8px);
  z-index: 100;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 24px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.02em;
}

.dropdown-menu a:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.05);
}


/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10000;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #ffffff;
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 40px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: #e8e4e0;
  color: #0a0a0a;
  border-color: #e8e4e0;
}

.btn-primary:hover {
  background: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(232,228,224,0.15);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: #ffffff;
  color: #0a0a0a;
  border-color: #ffffff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(255,255,255,0.08);
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}


/* ============================================
   SECTION 1: HERO — YouTube Video Background
   ============================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #0a0a0a;
}

/* YouTube Video Container */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-video-wrap iframe,
.hero-video-wrap #yt-player {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 */
  min-height: 100vh;
  min-width: 177.78vh; /* 16:9 */
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-video-wrap .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 2;
}

/* Fallback image (hidden when video loads) */
.hero-bg-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-fallback .hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg-fallback .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 960px;
  padding: 120px 24px 80px;
}

.hero-tagline {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 12px 28px;
  border-radius: 50px;
}

.hero-headline {
  margin-bottom: 28px;
}

.hero-headline .headline-text {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 700;
  font-size: clamp(52px, 10vw, 130px);
  line-height: 1.0;
  color: #ffffff;
  letter-spacing: 0;
}

.hero-sub {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.3);
  animation: bounce 2.5s infinite;
  z-index: 3;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-12px); }
  60% { transform: translateX(-50%) translateY(-6px); }
}


/* ============================================
   MEGA SECTIONS (DOGPOUND-style full-bleed)
   ============================================ */
.mega-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mega-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  text-decoration: none;
  color: #ffffff;
  position: relative;
}

.mega-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mega-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.8s ease;
}

.mega-section:hover .mega-bg-img,
.mega-link:hover .mega-bg-img {
  transform: scale(1.04);
}

.mega-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  transition: background 0.5s ease;
}

.mega-overlay-light {
  background: rgba(0, 0, 0, 0.65);
}

.mega-link:hover .mega-overlay {
  background: rgba(0, 0, 0, 0.58);
}

.mega-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 24px;
  max-width: 960px;
}

.mega-content-left {
  text-align: left;
  max-width: 700px;
  margin-left: 80px;
  margin-right: auto;
}

.mega-badge {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: #e8e4e0;
  padding: 10px 24px;
  border-radius: 50px;
  margin-bottom: 28px;
}

.mega-headline {
  margin-bottom: 24px;
}

.mega-headline .headline-text {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 700;
  font-size: clamp(60px, 13vw, 170px);
  line-height: 0.92;
  color: #ffffff;
  letter-spacing: 0;
  text-transform: uppercase;
}

.mega-headline-sm .headline-text {
  font-size: clamp(52px, 10vw, 130px);
}

.mega-sub {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 24px;
  line-height: 1.8;
}

.mega-content-left .mega-sub {
  margin: 0 0 20px;
}

.mega-sub-secondary {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 36px;
}

.mega-content-left .mega-sub-secondary {
  margin-left: 0;
}

.mega-cta-hint {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  margin-top: 28px;
  padding: 12px 0;
  border-bottom: 2px solid #e8e4e0;
  transition: border-color 0.3s, letter-spacing 0.3s;
}

.mega-link:hover .mega-cta-hint {
  letter-spacing: 0.18em;
  border-color: #ffffff;
}

.mega-cta-hint .arrow {
  transition: transform 0.3s;
  display: inline-block;
}

.mega-link:hover .mega-cta-hint .arrow {
  transform: translateX(8px);
}


/* Studio features inside mega section */
.studio-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
  text-align: center;
}

.studio-feature {
  padding: 24px 16px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s, background 0.3s;
}

.studio-feature:hover {
  border-color: rgba(44,41,38,0.6);
  background: rgba(0,0,0,0.4);
}

.studio-feature strong {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  font-size: 24px;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.studio-feature p {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}


/* ============================================
   POSITIONING STRIP
   ============================================ */
.positioning-strip {
  background: #0a0a0a;
  padding: 72px 24px;
  text-align: center;
  position: relative;
}
.positioning-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}
.positioning-strip > * {
  position: relative;
  z-index: 1;
}

.positioning-strip p {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  font-style: italic;
  color: #ffffff;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: uppercase;
  max-width: 1000px;
  margin: 0 auto;
}

.positioning-strip p strong {
  font-weight: 400;
  font-style: italic;
}


/* ============================================
   SPECIALTIES
   ============================================ */
.specialties-section {
  padding: 120px 0;
  background: #111111;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-header h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 18px;
  font-weight: 400;
  color: #777777;
}

.section-header .stars {
  font-size: 24px;
  color: #f5a623;
  margin-bottom: 12px;
  letter-spacing: 4px;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.specialty-card {
  text-align: center;
  padding: 44px 24px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  background: #161616;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s;
}

.specialty-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(232,228,224,0.08);
  border-color: rgba(232,228,224,0.15);
}

.specialty-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255,255,255,0.1);
  color: #e8e4e0;
}

.specialty-card h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 26px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.specialty-card p {
  font-size: 18px;
  color: #888888;
  line-height: 1.7;
}


/* ============================================
   WHY AGOSTO
   ============================================ */
.why-section {
  padding: 120px 0;
  background: #0d0d0d;
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-item {
  background: #161616;
  padding: 44px 32px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s;
}

.why-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(232,228,224,0.08);
  border-color: rgba(232,228,224,0.12);
}

.why-number {
  font-family: "Bebas Neue", sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: rgba(255,255,255,0.15);
  display: block;
  margin-bottom: 16px;
  line-height: 1;
}

.why-item h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 26px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.why-item p {
  font-size: 18px;
  color: #888888;
  line-height: 1.7;
}


/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  padding: 120px 0;
  background: #0a0a0a;
  position: relative;
}

.testimonials-section .section-header h2 {
  color: #ffffff;
}

.testimonials-section .section-header p {
  color: rgba(255,255,255,0.5);
}

.testimonials-section .section-header .stars {
  color: #f5a623;
}

.stars-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

.stars-link:hover {
  transform: scale(1.08);
}

.reviews-link {
  display: inline-block;
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s ease;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.reviews-link:hover {
  color: #f5a623;
  border-bottom-color: #f5a623;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 72px;
}

.testimonial-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 3px solid transparent;
  border-radius: 16px;
  padding: 40px;
  transition: border-color 0.3s, background 0.3s, border-left-color 0.4s;
}

.testimonial-card:hover {
  border-color: rgba(44,41,38,0.5);
  border-left-color: #e8e4e0;
  background: rgba(255,255,255,0.05);
}

.testimonial-card p {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.9;
  font-style: italic;
  margin-bottom: 28px;
}

.testimonial-card footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-card footer strong {
  font-size: 18px;
  color: #ffffff;
  font-weight: 600;
}

.testimonial-card footer span {
  font-size: 12px;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  padding-top: 56px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.trust-item strong {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  font-size: 32px;
  color: #e8e4e0;
  margin-bottom: 4px;
  text-shadow: 0 2px 12px rgba(232,228,224,0.08);
}

.trust-item span {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}


/* ============================================
   CONTACT / LEAD FORM
   ============================================ */
.contact-section {
  padding: 120px 0;
  background: #111111;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.contact-info h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.contact-info > p {
  font-size: 18px;
  font-weight: 400;
  color: #999999;
  line-height: 1.8;
  margin-bottom: 44px;
}

.contact-detail {
  margin-bottom: 28px;
}

.contact-detail strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #e8e4e0;
  margin-bottom: 6px;
}

.contact-detail a {
  color: #e0e0e0;
  font-size: 18px;
  font-weight: 600;
}

.contact-detail a:hover {
  color: #e8e4e0;
}

.contact-detail address,
.contact-detail p {
  font-size: 18px;
  color: #999999;
  line-height: 1.6;
}

/* Form */
.lead-form {
  background: #161616;
  padding: 44px;
  border-radius: 20px;
  box-shadow: 0 4px 60px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.06);
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #cccccc;
  margin-bottom: 8px;
}

.form-group .req { color: #e8e4e0; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #e0e0e0;
  background: #1e1e1e;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e8e4e0;
  box-shadow: 0 0 0 3px rgba(232,228,224,0.12), 0 0 20px rgba(232,228,224,0.04);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #666666;
}

.form-group select {
  color: #999999;
}

.form-group select option {
  background: #1e1e1e;
  color: #e0e0e0;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-error {
  display: block;
  font-size: 12px;
  color: #e53e3e;
  margin-top: 4px;
  min-height: 16px;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #e53e3e;
}

.form-success {
  margin-top: 20px;
  padding: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  text-align: center;
}

.form-success p {
  color: #e8e4e0;
  font-size: 12px;
}

.form-error-msg {
  margin-top: 20px;
  padding: 20px;
  background: rgba(229,62,62,0.1);
  border: 1px solid #e53e3e;
  border-radius: 10px;
  text-align: center;
}

.form-error-msg p { color: #e53e3e; font-size: 18px; }
.form-error-msg a { color: #e53e3e; text-decoration: underline; }


/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #050505;
  padding: 80px 0 60px;
  color: rgba(255,255,255,0.5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand img {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  max-width: 280px;
}

.footer-col h4 {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer-col a:hover { color: #ffffff; }

.footer-col address {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-links a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  transition: background 0.3s, color 0.3s, transform 0.2s;
}

.social-links a:hover {
  background: #e8e4e0;
  color: #0a0a0a;
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  padding-bottom: 25px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
  font-weight: 400;
}

.footer-bottom a {
  color: rgba(255,255,255,0.3);
  transition: color 0.3s;
}

.footer-bottom a:hover { color: #ffffff; }


/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fallback: ensure content is visible for no-JS, print, and reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media print {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

noscript ~ * .reveal,
.no-js .reveal {
  opacity: 1;
  transform: none;
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .specialties-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .studio-features {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .header-inner { height: 64px; padding: 0 20px; }
  .logo img { height: 40px; }
  
  /* ---- MOBILE NAV OVERLAY ---- */
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(10,10,10,0.98);
    z-index: 9999;
    overflow-y: auto;
    display: none;
  }

  .main-nav.mobile-open {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
  }

  /* Remove backdrop-filter from header when menu is open
     (backdrop-filter creates a new containing block, breaking
     position:fixed on children in mobile browsers) */
  .site-header.nav-open {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* ---- ALL NAV LINKS: kill every hover side-effect ---- */
  .nav-link,
  .nav-dropdown .nav-link,
  .nav-dropdown .dropdown-menu a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    background: none !important;
    transform: none !important;
    box-shadow: none !important;
    transition: color 0.2s ease !important;
  }

  .nav-link {
    font-size: 16px;
    letter-spacing: 0.12em;
  }

  /* Kill the underline pseudo-element entirely */
  .nav-link::after {
    display: none !important;
  }

  /* ---- SERVICES DROPDOWN ---- */
  .nav-dropdown {
    width: 100%;
    text-align: center;
  }

  .dropdown-arrow {
    display: none !important;
  }

  .nav-dropdown .dropdown-menu {
    position: static;
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0;
    min-width: auto;
  }

  .nav-dropdown .dropdown-menu a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
  }

  .nav-dropdown .dropdown-menu a:hover {
    color: #ffffff;
  }

  /* ---- Kill desktop hover rules on mobile ---- */
  .nav-dropdown:hover .dropdown-menu {
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .nav-dropdown:hover .dropdown-arrow {
    transform: none !important;
  }

  /* Strip button styling from CTA — render as plain nav link on mobile */
  .cta-nav {
    background: none !important;
    color: rgba(255,255,255,0.85) !important;
    padding: 10px 0 !important;
    border-radius: 0 !important;
    border: none !important;
  }

  .cta-nav:hover {
    transform: none !important;
    background: none !important;
    color: #ffffff !important;
  }

  .mobile-toggle { display: flex; }

  /* Show YouTube video on all devices (playsinline + muted enables mobile autoplay) */
  .hero-video-wrap { display: block; }
  .hero-bg-fallback { display: none; }
  
  .mega-content-left {
    margin-left: 24px;
    margin-right: 24px;
    text-align: center;
  }
  
  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .studio-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .lead-form {
    padding: 28px;
    border-radius: 16px;
  }
}

@media (min-width: 769px) {
  /* Desktop: hide fallback, show video */
  .hero-bg-fallback { display: none; }
}

@media (max-width: 480px) {
  .specialties-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-ctas .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  
  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* Footer legal links */
.footer-legal {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.footer-legal a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #d4c5a0;
}

.footer-legal-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 12px;
  user-select: none;
}


/* ============================================
   MOBILE/TABLET UX IMPROVEMENTS
   ============================================ */

/* Smooth scroll for anchor links */
html {
  scroll-behavior: smooth;
}

/* Safe area insets for notched iPhones */
@supports (padding: env(safe-area-inset-bottom)) {
  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  .site-header {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  .site-footer {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* Improve mobile toggle touch target — only add tap area, don't override display */
@media (max-width: 768px) {
  .mobile-toggle {
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }
}

/* Footer legal links wrap on small screens */
.footer-legal {
  flex-wrap: wrap;
  justify-content: center;
}

/* Tablet-specific improvements (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-sub {
    font-size: 16px;
    max-width: 480px;
  }
  
  .section-heading {
    font-size: clamp(28px, 4vw, 40px);
  }
  
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin: 0 auto;
  }
}

/* Mobile improvements (max-width: 768px) */
@media (max-width: 768px) {
  /* Reduce section padding on mobile */
  .specialties-section,
  .studio-section,
  .why-section,
  .nutrition-section,
  .testimonials-section,
  .contact-section {
    padding: 64px 0;
  }
  
  /* Hero adjustments */
  .hero-content {
    padding: 100px 20px 60px;
  }
  
  .hero-tagline {
    font-size: 11px;
    padding: 10px 20px;
    letter-spacing: 0.2em;
  }
  
  .hero-sub {
    font-size: 15px;
    margin-bottom: 32px;
  }
  
  /* Improve section heading sizes */
  .section-heading {
    font-size: clamp(24px, 6vw, 36px);
  }
  
  /* Nutrition section text */
  .nutrition-text {
    padding: 0 20px;
  }
  
  /* Trust bar mobile */
  .trust-bar .trust-item {
    padding: 16px 8px;
  }
  
  .trust-item .trust-value {
    font-size: clamp(24px, 6vw, 36px);
  }
  
  /* Improve touch targets for all interactive elements */
  .btn {
    padding: 14px 32px;
    font-size: 12px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Mega section mobile improvements */
  .mega-link {
    min-height: 50vh;
  }
  
  .mega-content-left .mega-headline {
    font-size: clamp(40px, 10vw, 80px);
  }
  
  .mega-content-left .mega-sub {
    font-size: 14px;
  }
  
  .mega-content-left .mega-cta {
    font-size: 12px;
    padding: 12px 24px;
  }
}

/* Small mobile improvements (max-width: 480px) */
@media (max-width: 480px) {
  /* Further reduce section padding */
  .specialties-section,
  .studio-section,
  .why-section,
  .nutrition-section,
  .testimonials-section,
  .contact-section {
    padding: 48px 0;
  }
  
  .container {
    padding: 0 16px;
  }
  
  /* Hero tagline smaller */
  .hero-tagline {
    font-size: 10px;
    padding: 8px 16px;
    letter-spacing: 0.15em;
  }
  
  /* Footer improvements */
  .footer-grid {
    gap: 24px;
  }
  
  .footer-legal {
    gap: 8px;
  }
  
  .footer-legal a {
    font-size: 11px;
  }
  
  /* Form improvements */
  .lead-form {
    padding: 20px;
  }
  
  .form-group label {
    font-size: 11px;
  }
  
  /* Why cards */
  .why-card {
    padding: 24px 20px;
  }
}
