/* 
   Blissful Bumps Prenatal Yoga - Styling System 
   Aesthetically premium, peaceful, and clean layout design
*/

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* =====================================================
   PAGE LOADER / SPLASH SCREEN
   ===================================================== */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FBF9F6;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

#page-loader.loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

/* Dedicated wrapper for logo + orbital circles */
.loader-logo-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  margin-bottom: 0.25rem;
}

/* Orbiting SVG dots rotating around the exact center */
.loader-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-origin: 50% 50%;
  animation: loaderSpin 2.6s linear infinite;
  pointer-events: none;
}

@keyframes loaderSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Logo emoji — gentle pulse perfectly centered */
.loader-logo {
  position: relative;
  z-index: 1;
  font-size: 3.5rem;
  line-height: 1;
  display: grid;
  place-items: center;
  animation: loaderPulse 1.8s ease-in-out infinite;
  user-select: none;
  pointer-events: none;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1);    opacity: 1;    }
  50%       { transform: scale(1.1);  opacity: 0.88; }
}

/* Brand name */
.loader-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 500;
  color: #2A332E;
  letter-spacing: 0.04em;
  margin: 0.5rem 0 0;
  animation: loaderFadeUp 0.9s ease both;
}

/* Tagline */
.loader-tagline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8FA89B;
  margin: 0;
  animation: loaderFadeUp 0.9s 0.15s ease both;
}

@keyframes loaderFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* --- Custom Variables & Tokens --- */
:root {
  /* Color Palette */
  --bg-primary: #FBF9F6;
  /* Serene warm off-white */
  --bg-secondary: #F4EFEB;
  /* Calm blush sand */
  --bg-tertiary: #EAE3DC;
  /* Deep blush sand */

  --primary-sage: #8FA89B;
  /* Core Brand Sage Green */
  --primary-sage-hover: #7E978A;
  --primary-sage-light: #F0F4F1;
  /* Gentle sage highlight */

  --accent-terracotta: #D3A297;
  /* Warm Terracotta Rose */
  --accent-terracotta-hover: #C59186;
  --accent-terracotta-light: #FAF2F0;
  /* Soft terracotta highlight */

  --text-dark: #2A332E;
  /* Forest slate (highly readable, soft contrast) */
  --text-medium: #54625A;
  /* Medium slate gray */
  --text-light: #7E8E85;
  /* Subdued detail text */
  --white: #FFFFFF;

  /* Fonts */
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;

  /* Layout Tokens */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 32px;
  --border-radius-full: 9999px;
  --shadow-sm: 0 4px 12px rgba(42, 51, 46, 0.03);
  --shadow-md: 0 12px 30px rgba(42, 51, 46, 0.06);
  --shadow-lg: 0 20px 50px rgba(42, 51, 46, 0.1);
  --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.25s ease;

  --max-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-dark);
  line-height: 1.6;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text-dark);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  /* Dynamic scale */
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

p {
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  font-weight: 300;
  color: var(--text-medium);
}

strong {
  font-weight: 600;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

/* --- Reusable Components & Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.25rem;
  border-radius: var(--border-radius-full);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary-sage);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(143, 168, 155, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-sage-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(143, 168, 155, 0.4);
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid var(--primary-sage);
  color: var(--primary-sage);
}

.btn-secondary:hover {
  background-color: var(--primary-sage-light);
  transform: translateY(-2px);
}

.btn-terracotta {
  background-color: var(--accent-terracotta);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(211, 162, 151, 0.3);
}

.btn-terracotta:hover {
  background-color: var(--accent-terracotta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(211, 162, 151, 0.4);
}

/* WhatsApp Direct CTA Buttons */
.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
  font-weight: 600;
  text-decoration: none;
}

.btn-whatsapp:hover {
  background-color: #20BA5A;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.38);
}

.about-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.modal-wa-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 0.25rem 0;
  color: var(--text-light);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.modal-wa-divider::before,
.modal-wa-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(143, 168, 155, 0.25);
}

.modal-wa-divider span {
  padding: 0 0.75rem;
}

.btn-whatsapp-modal {
  width: 100%;
  background-color: #25D366;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--border-radius-full);
  padding: 0.9rem 1.8rem;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.btn-whatsapp-modal:hover {
  background-color: #20BA5A;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

/* Section Layouts */
section {
  padding: 4.5rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
}

.section-header span {
  display: inline-block;
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent-terracotta);
  margin-bottom: 1rem;
}

.section-header h2 {
  margin-bottom: 1.25rem;
}

/* --- Premium Floating Header & Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 1.25rem 2rem;
}

/* Pill-style centered header bar on scroll */
header.scrolled {
  padding: 0.75rem 2rem;
}

/* Inner pill nav wrapper */
.nav-pill {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(251, 249, 246, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 100px;
  padding: 0.6rem 0.75rem 0.6rem 1.5rem;
  box-shadow: 0 4px 28px rgba(42, 51, 46, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(143, 168, 155, 0.18);
  transition: var(--transition-smooth);
}

header:not(.scrolled) .nav-pill {
  background: rgba(251, 249, 246, 0.45);
  box-shadow: 0 2px 16px rgba(42, 51, 46, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Keep old nav-container for fallback structure compatibility */
.nav-container {
  display: contents;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.logo-text small {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.5px;
  text-transform: none;
  color: var(--accent-terracotta);
  margin-top: 3px;
}

.logo-icon {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--primary-sage-light), var(--accent-terracotta-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* Center nav links inside the pill */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav-links li a {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-medium);
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  transition: var(--transition-fast);
  position: relative;
  letter-spacing: 0.01em;
}

.nav-links li a:hover {
  color: var(--text-dark);
  background: rgba(143, 168, 155, 0.12);
}

/* Hide old underline on links inside pill */
.nav-links a::after {
  display: none;
}

/* Hide mobile-only CTA link on desktop (button in nav-cta already exists) */
.nav-links .mobile-only-cta {
  display: none;
}

.nav-cta {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.6rem;
}

/* Login button (top right, next to Book a Session) */
.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  border: 1px solid var(--primary-sage);
  border-radius: var(--border-radius-full);
  color: var(--primary-sage);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: var(--transition-fast);
}

.btn-login:hover {
  background-color: var(--primary-sage-light);
  color: var(--primary-sage-hover);
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1100;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.mobile-nav-toggle:hover {
  background: rgba(143, 168, 155, 0.15);
}

/* Global hidden state for overlay — only shown via JS on mobile */
.nav-overlay {
  display: none;
}


.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-dark);
  border-radius: 2px;
  position: absolute;
  left: 11px;
  transition: var(--transition-fast);
}

.mobile-nav-toggle span:nth-child(1) {
  top: 13px;
}

.mobile-nav-toggle span:nth-child(2) {
  top: 21px;
}

.mobile-nav-toggle span:nth-child(3) {
  top: 29px;
}

.mobile-nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg);
  top: 21px;
}

.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg);
  top: 21px;
}

/* --- Hero Section --- */
.hero {
  padding-top: 11.5rem;
  padding-bottom: 5rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  /* --- Previous Original Background (Uncomment to revert) ---
     background: radial-gradient(circle at 80% 20%, var(--bg-secondary) 0%, var(--bg-primary) 70%); 
  --- */
  background: 
    radial-gradient(circle at 12% 18%, rgba(214, 234, 248, 0.95) 0%, transparent 50%),
    radial-gradient(circle at 88% 18%, rgba(253, 232, 238, 0.95) 0%, transparent 50%),
    linear-gradient(135deg, #dbeafe 0%, #f0e6f5 38%, #fce7f0 75%, #fff5f6 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-sage-light);
  color: var(--primary-sage);
  padding: 0.5rem 1.25rem;
  border-radius: var(--border-radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.hero-content h1 span {
  font-style: italic;
  font-weight: 300;
  color: var(--accent-terracotta);
}

.hero-content p {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.image-wrapper {
  width: 100%;
  aspect-ratio: 3/2;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  background-color: var(--bg-tertiary);
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 6s ease-out, visibility 1s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
}

/* Slider Dots Indicator */
.hero-slider-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 5;
  background: rgba(42, 51, 46, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-slider-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.35s ease;
}

.hero-slider-dots .dot.active {
  width: 22px;
  border-radius: 100px;
  background: var(--white);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Slide Navigation Arrows */
.hero-slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(251, 249, 246, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  z-index: 5;
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(42, 51, 46, 0.15);
}

.hero-slider:hover .hero-slide-nav {
  opacity: 1;
}

.hero-slide-nav.prev {
  left: 0.9rem;
}

.hero-slide-nav.next {
  right: 0.9rem;
}

.hero-slide-nav:hover {
  background: var(--white);
  color: var(--accent-terracotta);
  transform: translateY(-50%) scale(1.08);
}

/* Decorative blobs */
.decorative-blob-1 {
  position: absolute;
  top: -8%;
  right: -8%;
  width: 40%;
  height: 40%;
  background: radial-gradient(circle, var(--accent-terracotta-light) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  filter: blur(10px);
}

.decorative-blob-2 {
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 30%;
  height: 30%;
  background: radial-gradient(circle, var(--primary-sage-light) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  filter: blur(10px);
}

/* --- Floating Flower Petals (Hero Background) --- */
.hero-flowers {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

/* --- Roller Coaster Flower Track --- */
main {
  position: relative;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.flower-track {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 50;
  width: 100%;
  max-width: 100vw;
}

.flower-track svg {
  display: block;
}

.track-line {
  stroke: var(--primary-sage);
  stroke-width: 2;
  stroke-dasharray: 2 14;
  stroke-linecap: round;
  fill: none;
  opacity: 0.35;
}

.rider-flower {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 220px;
  height: auto;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 3px 6px rgba(42, 51, 46, 0.18));
  will-change: transform;
}

/* Flower at the end of the track where the butterfly rests */
.rest-flower {
  position: absolute;
  width: 550px;
  height: auto;
  /* Anchor to bottom-right — pushed down so it clears the FAQ section */
  bottom: -120px;
  right: 6%;
  transform: none;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 6px 14px rgba(42, 51, 46, 0.15));
}

/* Branch coming in from the left screen edge at the track start */
.start-branch {
  position: absolute;
  width: 420px;
  height: auto;
  transform: translate(-40%, -50%);
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 4px 10px rgba(42, 51, 46, 0.15));
}

@media (max-width: 768px) {
  .rider-flower {
    width: 120px;
  }

  .rest-flower {
    width: 300px;
    bottom: -90px;
    right: 4%;
  }

  .start-branch {
    width: 230px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rider-flower {
    display: none;
  }
}

.hero .container {
  position: relative;
  z-index: 2;
}

.petal {
  position: absolute;
  top: -50px;
  line-height: 1;
  opacity: 0;
  animation: petalFall linear infinite;
  will-change: transform, opacity;
  pointer-events: none;
  user-select: none;
}

@keyframes petalFall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }

  8% {
    opacity: 0.4;
  }

  85% {
    opacity: 0.3;
  }

  100% {
    transform: translateY(110vh) rotate(340deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .petal {
    display: none;
  }
}

/* --- Philosophy / Core Pillars --- */
.pillars {
  background-color: var(--bg-secondary);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.pillar-card {
  background-color: var(--white);
  padding: 3rem 2.5rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(42, 51, 46, 0.02);
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-terracotta-light);
}

.pillar-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-sage-light);
  color: var(--primary-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: var(--transition-smooth);
}

.pillar-card:hover .pillar-icon {
  background-color: var(--accent-terracotta-light);
  color: var(--accent-terracotta);
  transform: rotate(5deg) scale(1.05);
}

.pillar-card h3 {
  margin-bottom: 1rem;
}

.pillar-card p {
  font-size: 1rem;
  line-height: 1.6;
}

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image-wrapper {
  aspect-ratio: 1/1;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content h2 span {
  font-style: italic;
  font-weight: 300;
  color: var(--primary-sage);
}

.trainer-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-terracotta);
  margin-bottom: 0.5rem;
}

.about-content p {
  margin-bottom: 1.5rem;
}

.about-mission-box {
  background: linear-gradient(135deg, rgba(244, 239, 235, 0.9) 0%, rgba(251, 249, 246, 0.95) 100%);
  border-left: 4px solid var(--accent-terracotta);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0 1.75rem 0;
  box-shadow: 0 4px 20px rgba(42, 51, 46, 0.04);
  position: relative;
}

.about-lead-intro {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-dark);
  margin-bottom: 1.25rem !important;
  font-weight: 400;
}

.about-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--text-dark);
  font-style: italic;
  margin: 0 !important;
}

.about-quote-signoff {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-terracotta);
  text-align: right;
  margin-top: 0.85rem;
  letter-spacing: 0.03em;
}

.trainer-badge-overlay {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(251, 249, 246, 0.92);
  backdrop-filter: blur(8px);
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.trainer-badge-overlay .trainer-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.trainer-badge-overlay .trainer-title {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary-sage);
  margin-top: 0.15rem;
}

.about-bullets {
  list-style: none;
  margin: 2rem 0;
}

.about-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-medium);
}

.about-bullets li svg {
  width: 22px;
  height: 22px;
  color: var(--accent-terracotta);
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Class Offerings & Tabs --- */
.classes {
  background-color: var(--bg-primary);
}

.tabs-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.tab-btn {
  background: none;
  border: 1px solid var(--bg-tertiary);
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius-full);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-medium);
  cursor: pointer;
  transition: var(--transition-fast);
}

.tab-btn:hover {
  background-color: var(--white);
  color: var(--text-dark);
  border-color: var(--accent-terracotta);
}

.tab-btn.active {
  background-color: var(--primary-sage);
  color: var(--white);
  border-color: var(--primary-sage);
  box-shadow: 0 4px 15px rgba(143, 168, 155, 0.25);
}

.classes-container {
  position: relative;
  min-height: 480px;
}

.class-panel {
  display: none;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  animation: fadeIn 0.6s ease forwards;
}

.class-panel.active {
  display: grid;
}

.class-panel-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.class-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-medium);
  background-color: var(--bg-secondary);
  padding: 0.4rem 1rem;
  border-radius: var(--border-radius-full);
}

.meta-tag svg {
  width: 14px;
  height: 14px;
  color: var(--primary-sage);
}

.class-benefits {
  list-style: none;
  margin: 1rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.class-benefits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-medium);
}

.class-benefits li svg {
  width: 18px;
  height: 18px;
  color: var(--primary-sage);
  flex-shrink: 0;
}

.class-panel-visual {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  background-color: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.class-panel-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.class-panel-visual:hover img {
  transform: scale(1.05);
}

.class-panel-visual svg {
  width: 35%;
  height: 35%;
  color: var(--accent-terracotta);
}

/* --- Interactive Benefit Guide --- */
.anatomy-guide {
  background-color: var(--bg-secondary);
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}

.interactive-body-map {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
}

.silhouette-container {
  width: 100%;
  max-width: 520px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  position: relative;
  background-color: #fcfaf8;
  border: 2px solid #fcfaf8;
  box-shadow: 0 16px 40px rgba(42, 51, 46, 0.08), 0 2px 10px rgba(143, 168, 155, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.silhouette-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(42, 51, 46, 0.12), 0 4px 14px rgba(143, 168, 155, 0.2);
}

.silhouette-container img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  display: block;
  border-radius: calc(var(--border-radius-lg) - 2px);
}

.map-hotspot {
  position: absolute;
  cursor: pointer;
  z-index: 5;
}

.hotspot-trigger {
  width: 24px;
  height: 24px;
  background-color: var(--accent-terracotta);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 4px rgba(211, 162, 151, 0.4);
  position: relative;
  transition: var(--transition-fast);
}

.hotspot-trigger::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(211, 162, 151, 0.8);
  animation: pulse 2s infinite;
}

.map-hotspot:hover .hotspot-trigger,
.map-hotspot.active .hotspot-trigger {
  background-color: var(--primary-sage);
  box-shadow: 0 0 0 6px rgba(143, 168, 155, 0.4);
}

.map-hotspot:hover .hotspot-trigger::after,
.map-hotspot.active .hotspot-trigger::after {
  animation: none;
}

/* Position Hotspots */
.hotspot-mind {
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
}

.hotspot-breath {
  top: 32%;
  left: 52%;
  transform: translateX(-50%);
}

.hotspot-back {
  top: 48%;
  left: 45%;
  transform: translateX(-50%);
}

.hotspot-pelvic {
  top: 62%;
  left: 51%;
  transform: translateX(-50%);
}

.hotspot-legs {
  top: 80%;
  left: 48%;
  transform: translateX(-50%);
}

.guide-details {
  background-color: var(--white);
  padding: 3.5rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.guide-info-card {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.guide-info-card.active {
  display: block;
}

.guide-info-card h3 {
  color: var(--primary-sage);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.guide-info-card p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.guide-info-card ul {
  list-style: none;
}

.guide-info-card ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-medium);
  font-size: 1rem;
}

.guide-info-card ul li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--accent-terracotta);
}

/* --- Testimonials / Voices of Our Village --- */
.testimonials {
  background: radial-gradient(circle at 10% 80%, var(--bg-secondary) 0%, var(--bg-primary) 60%);
  overflow: hidden;
}

.testimonials-slider {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.quote-icon {
  font-size: 6rem;
  color: var(--accent-terracotta-light);
  line-height: 0.4;
  font-family: var(--font-serif);
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-style: italic;
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 2.5rem;
  position: relative;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--accent-terracotta-light);
  color: var(--accent-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: bold;
}

.author-info h4 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.15rem;
}

.author-info p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Slider Controls */
.slider-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.slider-btn {
  background: none;
  border: 1px solid var(--accent-terracotta);
  color: var(--accent-terracotta);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.slider-btn:hover {
  background-color: var(--accent-terracotta);
  color: var(--white);
}

.slider-btn svg {
  width: 18px;
  height: 18px;
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--bg-tertiary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dot.active {
  background-color: var(--accent-terracotta);
  width: 24px;
  border-radius: var(--border-radius-full);
}

/* --- Reviews Grid Layout --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.review-card {
  background: var(--white);
  border: 1px solid rgba(143, 168, 155, 0.25);
  border-radius: 16px;
  padding: 1.85rem;
  box-shadow: 0 8px 25px rgba(42, 51, 46, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(42, 51, 46, 0.08);
  border-color: var(--primary-sage);
}

.review-stars {
  color: #E6A15C;
  font-size: 1.05rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.85rem;
}

.review-text {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-medium);
  margin-bottom: 1.5rem;
  font-style: normal;
}

.review-author-box {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(234, 227, 220, 0.8);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-sage) 0%, var(--accent-terracotta) 100%);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--font-sans);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(143, 168, 155, 0.3);
}

.author-details h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.15rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background-color: var(--primary-sage);
  color: white;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: bold;
}

.author-details p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin: 0;
}

/* --- FAQ Accordion --- */
.faq {
  background-color: var(--bg-primary);
  /* Extra bottom space so the resting flower never covers FAQ items */
  padding-bottom: 16rem;
}

.faq-container {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(42, 51, 46, 0.05);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-header {
  padding: 1.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-header h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-dark);
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--primary-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.faq-icon svg {
  width: 18px;
  height: 18px;
  transition: var(--transition-fast);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-content {
  padding: 0 2rem 1.75rem 2rem;
  color: var(--text-medium);
  font-size: 1rem;
}

/* Open State FAQ */
.faq-item.open {
  border-color: var(--primary-sage-light);
  box-shadow: var(--shadow-md);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-terracotta);
}

/* --- Footer --- */
footer {
  background-color: #242A27;
  /* Deep peaceful forest dark */
  color: var(--bg-primary);
  /* Big top space so the resting flower (bottom half = 275px on desktop)
     never overlaps the footer content */
  padding: 20rem 2rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 5rem;
  margin-bottom: 5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand .logo {
  color: var(--white);
}

.footer-brand .logo-icon {
  background-color: rgba(143, 168, 155, 0.2);
  color: var(--primary-sage);
}

.footer-brand p {
  color: #B1BCB6;
  font-size: 0.95rem;
}

.footer-contact a {
  color: var(--primary-sage);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
}

.footer-contact a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-links h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 2rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-nav a {
  color: #B1BCB6;
  font-size: 0.95rem;
}

.footer-nav a:hover {
  color: var(--accent-terracotta);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom p {
  color: #7E8E85;
  font-size: 0.85rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B1BCB6;
  transition: var(--transition-fast);
}

.social-link:hover {
  background-color: var(--primary-sage);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- Interactive Booking Modal --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(42, 51, 46, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background-color: var(--bg-primary);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 460px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 2.25rem 2rem;
  position: relative;
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  box-sizing: border-box;
}

/* Subtle scrollbar for long form screens */
.modal-container::-webkit-scrollbar {
  width: 5px;
}
.modal-container::-webkit-scrollbar-thumb {
  background: var(--primary-sage);
  border-radius: 10px;
}

.modal-overlay.open .modal-container {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-medium);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background-color: var(--bg-secondary);
  color: var(--text-dark);
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.modal-header {
  margin-bottom: 1.25rem;
  text-align: center;
}

.modal-header h2 {
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
}

.modal-header p {
  font-size: 0.88rem;
  color: var(--text-medium);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-medium);
}

.form-group input,
.form-group select {
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--bg-tertiary);
  background-color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary-sage);
  box-shadow: 0 0 0 3px rgba(143, 168, 155, 0.15);
}

.booking-form button[type="submit"] {
  padding: 0.8rem 1.5rem;
  font-size: 0.92rem;
  margin-top: 0.25rem;
}

/* --- Scroll Animation Reveals --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* --- Animations & Float Keyframes --- */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(211, 162, 151, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(211, 162, 151, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(211, 162, 151, 0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive Adaptations --- */
@media (max-width: 1024px) {
  section {
    padding: 4rem 1.5rem;
  }

  h1 {
    font-size: clamp(2rem, 6vw, 3.2rem);
  }

  h2 {
    font-size: clamp(1.7rem, 4vw, 2.4rem);
  }

  .hero {
    padding-top: 7rem;
    min-height: auto;
    padding-bottom: 3rem;
  }

  /* Reduced floating flower flow on mobile header */
  .hero-flowers .petal:nth-child(n+5) {
    display: none;
  }

  .hero-flowers .petal {
    opacity: 0.35;
    font-size: 14px !important;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
    max-width: 100%;
  }

  .hero-ctas {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero-content p {
    font-size: 1.05rem;
  }

  .pillars-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-content {
    order: -1;
  }

  .about-ctas {
    justify-content: center;
  }

  .class-panel {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .class-panel-visual {
    order: -1;
    aspect-ratio: 16/9;
  }

  .guide-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .interactive-body-map {
    height: auto;
    width: 100%;
  }

  .silhouette-container {
    max-width: 480px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  header {
    padding: 0.85rem 1rem;
  }

  .nav-pill {
    padding: 0.4rem 0.4rem 0.4rem 1rem;
    border-radius: 100px;
  }

  /* Collapse desktop nav links on mobile */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem 2rem;
    gap: 0;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
    z-index: 1050;
    border-radius: 0;
    flex: none;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--bg-secondary);
  }

  .nav-links li:last-child {
    border: none;
    margin-top: 1.5rem;
  }

  /* Show the mobile-only CTA again inside drawer */
  .nav-links .mobile-only-cta {
    display: block;
  }

  .nav-links li a {
    display: block;
    padding: 1rem 0;
    font-size: 1.05rem;
    border-radius: 0;
    color: var(--text-dark);
  }

  /* Mobile CTA buttons inside drawer */
  .nav-links li.mobile-only-cta {
    margin-top: 0.5rem;
  }

  .nav-links li.mobile-only-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.75rem;
    border-radius: var(--border-radius-full);
    width: 100%;
    font-size: 0.95rem;
  }

  .nav-links.open {
    right: 0;
  }

  /* Overlay behind open mobile nav */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(42, 51, 46, 0.15);
    z-index: 1040;
  }

  .nav-overlay.open {
    display: block;
  }

  /* Hide desktop CTA pill button on mobile */
  .nav-cta {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  section {
    padding: 3rem 1.1rem;
  }

  h1 {
    font-size: clamp(1.85rem, 7vw, 2.5rem);
  }

  h2 {
    font-size: clamp(1.6rem, 5vw, 2.1rem);
  }

  .hero {
    padding-top: 8.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 0.4rem 1rem;
  }

  .hero-content p {
    font-size: 1rem;
    margin-bottom: 1.25rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .image-wrapper {
    aspect-ratio: 4/3;
    border-radius: var(--border-radius-md);
  }

  .hero-slide-nav {
    opacity: 0.85;
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }

  .hero-slider-dots {
    bottom: 0.75rem;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pillar-card {
    padding: 1.75rem 1.5rem;
  }

  .pillar-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
  }

  .about-grid {
    gap: 2rem;
  }

  .tabs-container {
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
  }

  .tab-btn {
    padding: 0.55rem 1.2rem;
    font-size: 0.85rem;
  }

  .class-panel-content {
    gap: 1rem;
  }

  .class-benefits {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .interactive-body-map {
    height: auto;
    width: 100%;
  }

  /* Show full guide image on mobile (no cropping, smooth curves) */
  .silhouette-container {
    max-width: 100%;
    background-color: #fcfaf8;
    border: 2px solid #fcfaf8;
    border-radius: var(--border-radius-md);
    margin: 0 auto;
  }

  .silhouette-container img {
    max-height: 380px;
    object-fit: contain;
    border-radius: calc(var(--border-radius-md) - 2px);
  }

  .guide-details {
    padding: 1.5rem;
    min-height: auto;
  }

  .guide-info-card h3 {
    font-size: 1.5rem;
  }

  .guide-info-card p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .faq-header {
    padding: 1.25rem 1.25rem;
  }

  .faq-header h3 {
    font-size: 1rem;
  }

  .faq-content {
    padding: 0 1.25rem 1.25rem 1.25rem;
    font-size: 0.95rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .modal-overlay {
    padding: 0.75rem;
    align-items: flex-end;
  }

  .modal-container {
    padding: 1.5rem 1.25rem 1.5rem;
    border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
    max-width: 100%;
    width: 100%;
    max-height: 85vh;
  }

  .modal-header {
    margin-bottom: 0.85rem;
  }

  .modal-header h2 {
    font-size: 1.45rem;
    margin-bottom: 0.2rem;
  }

  .modal-header p {
    font-size: 0.82rem;
  }

  .booking-form {
    gap: 0.65rem;
  }

  .form-group label {
    font-size: 0.74rem;
  }

  .form-group input,
  .form-group select {
    padding: 0.6rem 0.85rem;
    font-size: 0.88rem;
  }

  .booking-form button[type="submit"],
  .btn-whatsapp-modal {
    padding: 0.75rem 1.25rem;
    font-size: 0.88rem;
  }

  .modal-close {
    top: 0.85rem;
    right: 0.85rem;
  }

  footer {
    /* Extra top space so the resting flower (half = 150px on mobile)
       never overlaps the footer content on small screens */
    padding: 14rem 1.25rem 2rem;
  }

  .faq {
    /* Extra padding on mobile so flower doesn't cover FAQ items */
    padding-bottom: 16rem;
  }

  .footer-socials {
    justify-content: center;
  }
}