/* ==========================================================
   0. CSS VARIABLES ("design tokens")
   Define your brand colors ONCE here. Everywhere else in this
   file, use var(--teal) instead of typing the hex code again.
   This means: change the color here, it updates everywhere.
   ========================================================== */
:root {
  --teal-dark:   #0a5c5c;   /* deep teal, from your logo */
  --teal:        #0a5c5c;   /* primary brand color — now matches teal-dark per request */
  --teal-light:  #e6f5f5;   /* pale teal for section backgrounds */
  --yellow:      #ffd400;   /* bright yellow accent, from your logo */
  --yellow-dark: #e6bf00;   /* hover state for yellow buttons */
  --text-dark:   #1c2b2b;
  --text-muted:  #5a6b6b;
  --white:       #ffffff;

  --font-heading: 'Poppins', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius: 14px;
  --shadow: 0 8px 24px rgba(10, 92, 92, 0.10);
}

/* ==========================================================
   1. RESET
   Browsers add their own default margins/padding to elements.
   This wipes that out so YOUR spacing is the only spacing.
   ========================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--white);
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.2; }

/* ==========================================================
   2. LAYOUT HELPERS
   .container = centers content and caps its width so lines of
   text don't stretch edge-to-edge on huge monitors.
   ========================================================== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.center { text-align: center; }
.eyebrow {
  display: inline-block;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}
.eyebrow.center { display: block; text-align: center; }
.section-title { font-size: 2rem; margin-bottom: 2.5rem; }
.section-title.center { text-align: center; }

/* ==========================================================
   3. BUTTONS
   One shared .btn base style, then modifier classes
   (.btn-primary / .btn-outline / .btn-whatsapp) change color.
   This "base + modifier" pattern avoids repeating yourself.
   ========================================================== */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 50px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--yellow);
  color: var(--teal-dark);
}
.btn-primary:hover { background: var(--yellow-dark); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-whatsapp {
  background: #4FD888;
  color: var(--white);
}

/* ==========================================================
   4. HEADER / NAV
   position: sticky keeps the header visible while scrolling,
   without removing it from the page flow like "fixed" does.
   ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 48px;
  padding: 12px 32px;
  max-width: 1600px;
  margin: 0 auto;
}
.logo { margin-left: 24px; }
.logo img { height: 40px; }

.main-nav ul {
  display: flex;         /* flexbox: puts all <li> in a row */
  gap: 2px;
  flex-wrap: nowrap;      /* force one line, never wrap */
}
.main-nav ul a {
  display: inline-block;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-dark);
  padding: 8px 10px;
  border-radius: 50px;
  white-space: nowrap;      /* keeps each label on a single line */
  transition: background 0.15s ease, color 0.15s ease;
}
.main-nav ul a:hover {
  background: var(--teal-light);
  color: var(--teal-dark);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;              /* fill the remaining space in nav-wrap */
  gap: 16px;
}

/* --- Mobile hamburger menu ---
   Hide the checkbox itself; show a 3-line icon (the "label") instead.
   We use a CSS-only trick: :checked changes the sibling nav's display. */
.nav-toggle-checkbox { display: none; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  width: 26px; height: 3px;
  background: var(--teal-dark);
  border-radius: 2px;
}

/* ==========================================================
   5. HERO
   CSS GRID with 2 columns on desktop (text | image),
   collapsing to 1 column on mobile in the media query below.
   ========================================================== */
.hero {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: var(--white);
  padding: 60px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero-text h1 { font-size: 2.6rem; margin-bottom: 0.5rem; }
.hero-subtitle { font-size: 1.15rem; opacity: 0.9; margin-bottom: 1.5rem; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2rem;
}
.hero-points li {
  background: rgba(255,255,255,0.12);
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 0.9rem;
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ==========================================================
   6. TRUST STRIP
   ========================================================== */
.trust-strip { background: var(--teal-light); padding: 32px 0; }
.trust-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  text-align: center;
}
.trust-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--teal-dark);
}
.trust-label { font-size: 0.9rem; color: var(--text-muted); }

/* ==========================================================
   7. ABOUT
   ========================================================== */
.about { padding: 80px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}
.about-image img { border-radius: var(--radius); box-shadow: var(--shadow); }
.highlight-quote {
  border-left: 4px solid var(--yellow);
  background: var(--teal-dark);
  padding: 16px 20px;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--white);
}

/* --- qualifications list, sits under the bio paragraph --- */
.qualifications-list {
  margin: 0 0 1rem;
  padding: 0;
}
.qualifications-list li {
  list-style: none;
  padding-left: 22px;
  position: relative;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
}
.qualifications-list li::before {
  content: "🎓";
  position: absolute;
  left: 0;
  font-size: 0.85rem;
}

/* ==========================================================
   8. SERVICES — CARD GRID
   auto-fit + minmax = "as many columns as fit, each at least
   260px wide" — this is what makes it responsive with ZERO
   media queries needed.
   ========================================================== */
.services { padding: 80px 0; background: var(--teal-light); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 2rem;
}
.service-card {
  background: var(--teal-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}
.service-card:hover { transform: translateY(-6px); }
.service-card h3 { color: var(--white); }
.service-card p { color: var(--white); opacity: 0.85; }
.service-card .card-icon { background: rgba(255,255,255,0.15); }
.service-card.featured {
  background: var(--teal-dark);
  color: var(--white);
}
.card-icon { font-size: 2rem; margin-bottom: 12px; }
.service-card h3 { margin-bottom: 8px; font-size: 1.15rem; }

/* the "ATR / Align to Treat" heading sits on the dark features
   section, so it needs light text instead of the default dark one */
.features .eyebrow { color: var(--yellow); }
.features .section-title { color: var(--white); margin-bottom: 2.5rem; }
.atr-eyebrow {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 3px;
}

/* --- ATR explainer box: a lighter card sitting on the dark
   features section, so five paragraphs of text stay easy to
   read instead of white-on-dark for a long stretch --- */
.atr-content-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 44px;
  max-width: 900px;
  margin: 0 auto 4rem;
}
.atr-content-box h3 {
  color: var(--teal-dark);
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.atr-content-box .atr-tagline {
  color: var(--yellow-dark);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}
.atr-content-box p { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.7; }
.atr-content-box p:last-child { margin-bottom: 0; }

.atr-toggle-btn {
  display: inline-block;
  margin-top: 0.5rem;
  background: none;
  border: none;
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0;
}
.atr-toggle-btn:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .atr-content-box { padding: 28px; }
}
.card-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--yellow);
  font-weight: 600;
}

/* ==========================================================
   9. HOME VISIT BANNER
   ========================================================== */
.home-visit-banner {
  background: var(--yellow);
  color: var(--teal-dark);
  text-align: center;
  padding: 60px 0;
}
.home-visit-banner h2 { font-size: 2rem; margin-bottom: 10px; }
.home-visit-banner p { margin-bottom: 24px; }
.home-visit-banner .btn-whatsapp { color: var(--white); }

/* ==========================================================
   10. FLOATING CONTACT BUTTONS
   position: fixed = stays glued to the viewport, ignores scroll.
   ========================================================== */
.floating-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 200;
}
.float-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow);
}
.float-btn.whatsapp { background: #4FD888; }
.float-btn.call { background: var(--teal); }
.float-btn.insta { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.float-btn svg { color: var(--white); }

/* ==========================================================
   11. FOOTER
   ========================================================== */
.site-footer {
  background: var(--teal-dark);
  color: var(--white);
  padding: 24px 0;
  text-align: center;
  font-size: 0.9rem;
}

/* ==========================================================
   12. RESPONSIVE — MOBILE
   Everything above is written "mobile-first friendly", but a
   couple of things need explicit adjustment below 768px:
   - stack the hero and about grids into one column
   - swap the nav for the hamburger menu
   ========================================================== */
@media (max-width: 1100px) {
  .hamburger { display: flex; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    box-shadow: var(--shadow);
    display: none; /* hidden by default on mobile */
  }
  .main-nav ul {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 4px;
    width: 100%;
  }
  .main-nav ul a { font-size: 1rem; padding: 10px 14px; }
  .nav-cta { margin-top: 16px; }

  /* When the hidden checkbox is checked, show the nav.
     This is pure CSS — no JavaScript needed for the toggle itself. */
  .nav-toggle-checkbox:checked ~ .main-nav {
    display: flex;
  }
}

@media (max-width: 768px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }
  .hero-image { order: -1; }
}

/* ==========================================================
   12b. DOCTOR SPOTLIGHT BANDS
   These rules were missing from this file — restoring them now.
   ========================================================== */
.doctor-band {
  background: var(--teal-dark);
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.doctor-band.alt {
  background: var(--teal);
}
.doctor-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  min-height: 480px;
  gap: 40px;
}
.doctor-text {
  padding: 60px 0;
}
.doctor-text h2 { font-size: 2rem; margin-bottom: 1rem; }
.doctor-text p { margin-bottom: 1rem; opacity: 0.95; }
.doctor-image {
  align-self: end;
  height: 100%;
}
.doctor-image img {
  display: block;
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  object-position: top;
}
.btn-outline-dark {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 50px;
  border: 2px solid var(--white);
  color: var(--white);
  font-weight: 600;
}
.btn-outline-dark:hover { background: var(--white); color: var(--teal-dark); }

@media (max-width: 768px) {
  .doctor-grid { grid-template-columns: 1fr; min-height: auto; }
  .doctor-image { max-height: 320px; }
}

/* --- Dr. Akash's band: white background instead of teal.
   The accent line lives INSIDE the text box, above the heading —
   never touching or crossing the photo. The text itself sits in
   a bordered box so the white-on-white section still reads as
   an intentional, designed block rather than plain floating text. --- */
#home.doctor-band {
  background: var(--white);
  color: var(--text-dark);
}
#home.doctor-band .doctor-text {
  background: var(--teal-dark);
  border: 1px solid var(--teal-dark);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
#home.doctor-band .doctor-text h2 { color: var(--white); }
#home.doctor-band .doctor-text::before {
  content: "";
  display: block;
  width: 70px;
  height: 5px;
  background: linear-gradient(90deg, var(--yellow), var(--white));
  border-radius: 4px;
  margin-bottom: 20px;
}
#home.doctor-band .doctor-text p { color: var(--white); opacity: 0.9; }
#home.doctor-band .btn-outline-dark {
  border-color: var(--white);
  color: var(--white);
}
#home.doctor-band .btn-outline-dark:hover {
  background: var(--white);
  color: var(--teal-dark);
}
/* the boxed text card looks better vertically centered
   against the photo, rather than bottom-aligned like the
   teal bands still are */

/* the photo gets its own visible frame, since it now sits on
   a plain white section background and needs definition */
/* the photo simply matches the height of the text box beside it —
   no decorative circle, just a clean large rectangular image */
#home.doctor-band .doctor-grid { align-items: stretch; }
#home.doctor-band .doctor-image {
  display: flex;
}
#home.doctor-band .doctor-image img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 1px solid #eee;
}

/* ==========================================================
   13. INTRO / HERO (text+image, plus overlapping booking card)
   ========================================================== */
.intro { padding: 60px 0 60px; background: var(--white); }
.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: stretch;   /* text box now matches the photo's full height */
  padding-bottom: 60px;
}
/* --- heading + paragraph now sit together inside one yellow
   box, with a teal left border for contrast --- */
.intro-text {
  display: flex;   /* lets the card inside stretch to fill this column's full height */
}
.intro-para-card {
  background: #ffedad;
  border-left: 4px solid var(--teal-dark);
  border-radius: 10px;
  padding: 32px;
  margin-bottom: 1.8rem;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.intro-para-card h1 { font-size: 2.4rem; margin-bottom: 1.2rem; color: var(--teal-dark); }
.intro-para-card p { color: var(--text-dark); opacity: 0.9; margin: 0 0 1.5rem; }
.intro-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 1.5rem;
}
.intro-highlights li {
  list-style: none;
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 0.95rem;
}
/* pushes the button to the very bottom of the box, so it lands
   in the same spot regardless of how tall the box stretches */
.intro-para-card .btn { margin-top: auto; align-self: flex-start; }
.intro-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-outline-teal {
  border: 2px solid var(--teal);
  color: var(--teal-dark);
  background: transparent;
}
.btn-outline-teal:hover { background: var(--teal); color: var(--white); }

.booking-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  margin-top: 20px;
  border: 1px solid var(--teal-light);
}
.booking-form-inline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 1.5rem;
}
.booking-form-inline input,
.booking-form-inline select {
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-body);
}
.booking-form-inline button { border: none; cursor: pointer; }

@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; }
  .booking-form-inline { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .booking-form-inline { grid-template-columns: 1fr; }
}

/* ==========================================================
   14. TRUST FEATURES (3 cards)
   ========================================================== */
.features { padding: 100px 0 60px; background: var(--white); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.feature-card {
  text-align: center;
  padding: 30px 20px;
  border: 1px solid var(--teal-light);
  border-radius: var(--radius);
}
.feature-icon { font-size: 2.2rem; margin-bottom: 10px; }
.feature-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.feature-card p { color: var(--text-muted); font-size: 0.92rem; }

/* ==========================================================
   15. WHY CHOOSE US (stats col + image + text)
   ========================================================== */
.why-us { padding: 80px 0; background: var(--teal-light); }
.why-layout {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1.1fr;
  gap: 30px;
  align-items: center;
}
.why-stats-col { display: flex; flex-direction: column; gap: 16px; }
.why-stat {
  display: flex; align-items: center; gap: 14px;
  background: var(--teal-dark);
  padding: 16px; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.why-stat span {
  font-size: 1.6rem;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--yellow);
  border-radius: 50%;
  flex-shrink: 0;
}
.why-stat strong { display: block; font-size: 1.2rem; color: var(--white); }
.why-stat p { font-size: 0.85rem; color: var(--white); opacity: 0.8; margin: 0; }
.why-image { align-self: start; }
.why-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  max-height: 420px;   /* caps the height so it doesn't stretch to match the tallest column */
  object-fit: cover;
}
.why-text h2 { font-size: 1.8rem; margin: 0.5rem 0 1rem; }
.why-text p { color: var(--text-muted); margin-bottom: 1rem; }

@media (max-width: 1000px) {
  .why-layout { grid-template-columns: 1fr; }
  .why-image img { max-height: 320px; }
}

/* ==========================================================
   16. SECTION SUBTITLE (used under several section titles)
   ========================================================== */
.section-subtitle {
  max-width: 640px;
  margin: -1.5rem auto 0;
  color: var(--text-muted);
}
.section-subtitle.center { text-align: center; }

/* ==========================================================
   17. CHIPS (reusable — services extras + conditions)
   ========================================================== */
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.chip {
  background: var(--white);
  color: var(--teal-dark);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
}

/* ==========================================================
   18. TEAM GRID
   ========================================================== */
.team-section { padding: 80px 0; background: var(--white); }
.team-card {
  background: var(--teal-light);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;   /* stacks photo, then text, top to bottom */
  /* height: 100% removed — this was a leftover from when the team
     section was a CSS grid. Inside the new flex slider, the default
     "align-items: stretch" on .team-slider-track already makes every
     card match the tallest one in its row automatically. */
}
.team-card img {
  width: 100%;
  aspect-ratio: 800 / 900;   /* matches your standardized 800×900px photos exactly */
  object-fit: cover;         /* keeps the frame consistent even if a photo is slightly off */
  object-position: top;
  display: block;
}
.team-card h3 { margin: 14px 0 4px; font-size: 1.05rem; }
.team-card p { color: var(--text-muted); font-size: 0.9rem; margin: 0 20px; }
.team-card .team-detail {
  font-size: 0.82rem;
  margin: 8px 20px 0;
  padding-bottom: 4px;
  line-height: 1.4;
}
/* pushes any leftover space below the text to the very bottom of
   the card, so short-text cards still end with the same clean gap
   as long-text ones, instead of a big gap in the wrong place */
.team-card::after { content: ""; flex-grow: 1; }

/* ==========================================================
   TEAM SLIDER
   The viewport clips anything outside its edges. The track
   scrolls horizontally; each card is sized to show exactly
   3 per row on desktop, 2 on tablets, 1 on phones. Prev/Next
   just call scrollBy() in script.js — no fixed image needed.
   ========================================================== */
.team-slider { margin-top: 2rem; }
.team-slider-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;   /* cards "click" neatly into place */
  scrollbar-width: none;           /* hide the scrollbar (Firefox) */
}
.team-slider-viewport::-webkit-scrollbar { display: none; } /* hide it (Chrome/Edge) */

.team-slider-track {
  display: flex;
  gap: 24px;
}
.team-slider-track .team-card {
  flex: 0 0 calc((100% - 48px) / 3);  /* exactly 3 visible, minus the 2 gaps between them */
  scroll-snap-align: start;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}
.slider-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--teal-dark);
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  transition: background 0.15s ease;
}
.slider-btn:hover { background: var(--teal); }

@media (max-width: 900px) {
  .team-slider-track .team-card { flex: 0 0 calc((100% - 24px) / 2); }
}
@media (max-width: 600px) {
  .team-slider-track .team-card { flex: 0 0 100%; }
}

/* ==========================================================
   19. CONDITIONS SECTION
   ========================================================== */
.conditions-section { padding: 80px 0; background: var(--teal-light); }
.conditions-section .chip-grid { margin-top: 2rem; }

/* ==========================================================
   20. HOME VISIT / AREAS WE COVER
   ========================================================== */
.home-visit-section { background: var(--teal-dark); color: var(--white); padding: 80px 0; }
.home-visit-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: stretch;   /* photo now matches the text column's full height */
}
.home-visit-text h2 { font-size: 2rem; margin-bottom: 1rem; }
.home-visit-text p { opacity: 0.9; margin-bottom: 1.5rem; }
.hero-points.dark {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-points.dark li {
  list-style: none;
  background: #ffedad;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 600;
  color: var(--teal-dark);
}
.home-visit-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  object-fit: cover;   /* crops the photo to exactly fill that height, no gap */
}

@media (max-width: 800px) {
  .home-visit-layout { grid-template-columns: 1fr; }
}

/* ==========================================================
   21. EXERCISE / EDUCATIONAL CONTENT
   ========================================================== */
.exercises-section { padding: 80px 0; background: var(--white); }
.exercise-card {
  display: block;
  background: var(--teal-light);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  transition: transform 0.2s ease;
}
.exercise-card:hover { transform: translateY(-6px); }
.exercise-thumb {
  position: relative;   /* lets us layer the play button on top */
  width: 100%;
  height: 160px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
}
.exercise-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.play-overlay {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  background: rgba(10, 92, 92, 0.85);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  padding-left: 4px; /* optically centers the ▶ triangle */
}
.exercise-card h3 { font-size: 1rem; color: var(--teal-dark); }

/* ==========================================================
   21b. GALLERY SLIDER
   Same sliding pattern as the Team slider, but simpler — just
   images, no text. Each photo is locked to the 800×900px
   (8:9) portrait ratio you're standardizing every photo to.
   ========================================================== */
.gallery-section { padding: 80px 0; background: var(--teal-light); }
.gallery-slider { margin-top: 2rem; }
.gallery-slider-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gallery-slider-viewport::-webkit-scrollbar { display: none; }

.gallery-slider-track {
  display: flex;
  gap: 24px;
}
.gallery-item {
  flex: 0 0 calc((100% - 48px) / 3);  /* 3 visible at once, matching the team slider */
  scroll-snap-align: start;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 800 / 900;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

@media (max-width: 900px) {
  .gallery-item { flex: 0 0 calc((100% - 24px) / 2); }
}
@media (max-width: 600px) {
  .gallery-item { flex: 0 0 100%; }
}

/* ==========================================================
   22. REVIEWS
   ========================================================== */
.reviews-section { padding: 80px 0; background: var(--teal-light); }
.review-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin: 2rem 0;
  text-align: center;
}
.review-stats strong { display: block; font-size: 2rem; color: var(--teal-dark); }
.review-stats p { color: var(--text-muted); margin: 0; }
.review-card {
  background: var(--teal-dark);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
}
.review-card p {
  color: var(--white);
  font-style: italic;
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================
   22b. VIDEO TESTIMONIALS
   Uploaded videos and Instagram embeds sit in the same grid,
   each capped to a comfortable max width so a portrait-oriented
   phone video doesn't tower over everything else in the row.
   ========================================================== */
.video-testimonials-section { padding: 80px 0; background: var(--white); }
.video-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 2rem;
}
.video-testimonial-card {
  background: var(--teal-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}
.video-testimonial-card video {
  width: 100%;
  max-height: 500px;
  display: block;
}
/* Instagram's own embed script controls the exact sizing of the
   blockquote once it loads, so this just keeps it centered and
   stops it looking cramped inside the card while that happens. */
.instagram-embed-card { padding: 0; }
.instagram-embed-card iframe {
  width: 100%;
  height: 480px;
  border: none;
  display: block;
}

/* ==========================================================
   23. BOOKING SECTION (full form)
   ========================================================== */
.booking-section { padding: 80px 0; background: var(--teal-light); }

/* the whole form now sits inside one dark card, instead of
   floating as bare inputs directly on the page background */
.booking-form-full {
  max-width: 760px;
  margin: 2rem auto 0;
  background: var(--teal-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.booking-form-full input,
.booking-form-full select,
.booking-form-full textarea {
  padding: 14px 16px;
  border: none;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  width: 100%;
  background: var(--white);
}
.booking-form-full input:focus,
.booking-form-full select:focus,
.booking-form-full textarea:focus {
  outline: 3px solid var(--yellow);
}
.booking-form-full textarea {
  grid-column: 1 / -1;
  resize: vertical;
}
.booking-form-full button {
  grid-column: 1 / -1;
  border: none;
  cursor: pointer;
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
}

/* --- confirmation message shown after a successful booking submit ---
   [hidden] is a real HTML attribute JS toggles on/off; when present,
   the browser hides the element automatically with no CSS needed for
   that part — this rule only styles what it looks like once visible. */
.form-success {
  max-width: 760px;
  margin: 16px auto 0;
  background: #e9f9ef;
  border: 1px solid #b8e6c9;
  color: #1e7a3d;
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 500;
  text-align: center;
}

@media (max-width: 600px) {
  .booking-form-full { grid-template-columns: 1fr; padding: 28px; }
}

/* ==========================================================
   24. CONTACT SECTION
   ========================================================== */
.contact-section { padding: 60px 0; background: var(--teal-dark); color: var(--white); }
.contact-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
/* only the plain text links (phone, Instagram) get yellow text —
   buttons inside .contact-buttons keep their own colors */
.contact-grid > div:first-child a { color: var(--yellow); }
.contact-grid .inline-icon { vertical-align: -3px; margin-right: 4px; }
.contact-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* ==========================================================
   25. VISUAL POLISH PASS
   Everything below OVERRIDES earlier rules (CSS reads top to
   bottom, so later rules win when selectors are equally
   specific). This keeps all your structure/content exactly
   as-is and only changes color, depth and rhythm.
   ========================================================== */

/* --- extra tokens for this pass --- */
:root {
  --yellow-soft: #fff8db;   /* pale yellow tint for section backgrounds */
  --teal-mid:    #12938f;   /* a lighter mid-teal for gradients */
}

/* --- give the page a background rhythm instead of all-white ---
   odd/even alternating keeps scrolling visually interesting */
.intro { background: var(--white); }
.features { background: var(--teal-dark); }
.why-us { background: var(--teal-light); }
.services { background: var(--white); }
.team-section { background: #ffedad; }
.conditions-section { background: var(--teal-light); }
.exercises-section { background: #ffedad; }
.reviews-section { background: #ffedad; }
.booking-section { background: var(--teal-light); }

/* --- section title accent underline: a small yellow bar
   under every heading ties every section back to the brand --- */
.section-title { position: relative; padding-bottom: 16px; }
.section-title.center::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 4px;
  background: var(--yellow);
  border-radius: 4px;
}

/* --- buttons: gradient + real shadow instead of flat fills --- */
.btn-primary {
  background: linear-gradient(135deg, var(--yellow), #ffc700);
  color: var(--teal-dark);
  box-shadow: 0 6px 16px rgba(255, 212, 0, 0.35);
}
.btn-primary:hover { box-shadow: 0 10px 22px rgba(255, 212, 0, 0.45); }

.btn-whatsapp { box-shadow: 0 6px 16px rgba(79, 216, 136, 0.35); }

/* --- icon badges: circle with a soft colored background,
   instead of a bare emoji floating on white --- */
.card-icon, .feature-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-light);
  border-radius: 50%;
  margin: 0 auto 16px;
  font-size: 1.8rem;
}
.service-card { text-align: center; }
.service-card.featured .card-icon { background: rgba(255,255,255,0.15); }
.feature-card { background: var(--white); }

/* --- service/team cards: colored top border that "activates"
   on hover, plus a slightly stronger lift --- */
.service-card, .team-card, .feature-card {
  border-top: 4px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover, .feature-card:hover {
  border-top-color: var(--yellow);
  box-shadow: 0 14px 30px rgba(10, 92, 92, 0.14);
}
.team-card:hover {
  transform: translateY(-6px);
  border-top-color: var(--teal);
}

/* --- chips: alternate two brand tones instead of all-white,
   using the nth-child trick to color every other pill --- */
/* all chips now share one consistent look, instead of
   alternating between two different styles */
.chip { background: var(--teal-dark); color: var(--white); }

/* --- decorative soft blobs behind the intro section ---
   position: absolute + blur creates depth without clutter.
   z-index: -1 pushes them behind the real content. */
.intro { position: relative; overflow: hidden; }
.intro::before, .intro::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
}
.intro::before {
  width: 320px; height: 320px;
  background: var(--yellow);
  opacity: 0.18;
  top: -80px; right: -60px;
}
.intro::after {
  width: 260px; height: 260px;
  background: var(--teal);
  opacity: 0.15;
  bottom: -60px; left: -60px;
}

/* --- hero points pills: give them real contrast instead of
   translucent-on-translucent --- */
.hero-points li {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* --- why-us stat cards: colored icon circle instead of a
   bare emoji, consistent with the services section --- */
.why-stat span {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--yellow);
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- exercise cards: swap flat teal-light for a subtle
   gradient + play-button styling that looks intentional --- */
.exercise-card {
  background: var(--teal-dark);
  border: 1px solid var(--teal-dark);
}
.exercise-card h3 { color: var(--white); }
.exercise-thumb {
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-dark);
  color: var(--white);
  border-radius: 50%;
  margin: 0 auto 14px;
}

/* --- footer: gradient instead of flat teal-dark --- */
.site-footer {
  background: linear-gradient(135deg, var(--teal-dark), #063f3f);
}

/* --- floating buttons: gentle pulse to draw the eye,
   respecting users who prefer reduced motion --- */
@media (prefers-reduced-motion: no-preference) {
  .float-btn.whatsapp { animation: pulse 2.4s infinite; }
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(79, 216, 136, 0.5); }
  70%  { box-shadow: 0 0 0 14px rgba(79, 216, 136, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 216, 136, 0); }
}

/* --- booking card: subtle gradient border effect via
   background + padding trick, feels more "premium" --- */
.booking-card {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal)) padding-box,
              linear-gradient(135deg, var(--teal-dark), var(--teal)) border-box;
  border: 2px solid transparent;
}
.booking-card h2 { color: var(--white); }

/* --- contact section: soft radial highlight behind the text --- */
.contact-section { position: relative; overflow: hidden; }
.contact-section::before {
  content: "";
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,212,0,0.12), transparent 70%);
  top: -100px; right: -100px;
}

/* ==========================================================
   26. NAV FIX — keep "Book Appointment" on one line
   white-space: nowrap tells the browser "never wrap this
   text to a second line, shrink other things instead."
   ========================================================== */
.nav-cta {
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 24px;
}
.main-nav ul {
  flex-wrap: wrap;
  row-gap: 8px;
}
