/* ============================================================
   Best Chiropractors · 4S Physiotherapy Services
   Static reproduction of the prototype design
   ============================================================ */

:root {
  --navy: #123047;
  --blue: #0B5E8E;
  --cyan: #18A6C9;
  --bg: #F5FAFC;
  --accent-bg: #eaf6fa;
  --border: #e4eef3;
  --muted: #4a6779;
  --muted-2: #6d8697;
  --text-2: #2c4d63;

  /* Height of the sticky header, used for anchor scroll offsets */
  --header-h: 76px;

  /* Floating buttons: WhatsApp sits at --fab-bottom, back-to-top stacks above it */
  --fab-bottom: 96px;
  --fab-size: 62px;
  --fab-gap: 14px;
}

* { box-sizing: border-box; }

/* The [hidden] attribute must always win over display rules below. */
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: "Manrope", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--cyan); }
::selection { background: #cdeef6; }
/* scroll-padding on the scroll container handles every anchor jump at once,
   so no section needs its own scroll-margin */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 14px); }

/* `clip` rather than `hidden`: hidden makes .page a scroll container, which
   silently breaks position: sticky on the header. `clip` contains overflow
   without creating one. Engines without clip support fall back to hidden. */
.page { overflow-x: hidden; }
@supports (overflow: clip) {
  .page { overflow-x: clip; }
}

.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Keyframes ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-12px); } }

input:focus-visible, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* ---------- Scroll reveal ---------- */
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(34px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.reveal { opacity: 0; transform: translateY(34px) scale(0.97); }
.reveal.is-visible { animation: reveal-up 1.7s cubic-bezier(0.16,1,0.3,1) both; }

/* Staggered entrance for cards sharing a row/grid */
.card-grid > .reveal:nth-child(2).is-visible,
.cert-grid > .reveal:nth-child(2).is-visible,
.steps-grid > .reveal:nth-child(2).is-visible,
.clinic-grid > .reveal:nth-child(2).is-visible,
.contact-cards > .reveal:nth-child(2).is-visible { animation-delay: 0.10s; }

.card-grid > .reveal:nth-child(3).is-visible,
.cert-grid > .reveal:nth-child(3).is-visible,
.steps-grid > .reveal:nth-child(3).is-visible { animation-delay: 0.20s; }

.card-grid > .reveal:nth-child(4).is-visible,
.cert-grid > .reveal:nth-child(4).is-visible { animation-delay: 0.30s; }

.card-grid > .reveal:nth-child(5).is-visible { animation-delay: 0.40s; }
.card-grid > .reveal:nth-child(6).is-visible { animation-delay: 0.50s; }

/* Two-column sections: second column follows the first */
.hero-inner > .hero-media.is-visible,
.doctor > .doctor-copy.is-visible { animation-delay: 0.14s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Shared buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(11,94,142,0.24);
}
.btn-primary:hover { background: var(--cyan); color: #fff; }
.btn-outline {
  gap: 10px;
  padding: 16px 26px;
  border: 1.5px solid #cfe4ed;
  background: #fff;
  color: var(--blue);
}
.btn-outline:hover { border-color: var(--cyan); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
/* Lifted off the page once it starts overlapping content (set by main.js) */
.site-header.is-stuck {
  background: rgba(255,255,255,0.94);
  box-shadow: 0 8px 28px rgba(18,48,71,0.10);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px clamp(18px, 4vw, 40px);
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.brand-logo {
  width: 46px; height: 46px;
  border-radius: 14px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 2px 8px rgba(18,48,71,0.10);
}
.brand-text { display: grid; line-height: 1.15; }
.brand-name {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.brand-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.nav-row { margin-left: auto; align-items: center; gap: 2px; display: flex; }
.nav-link {
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
}
.nav-link:hover { background: var(--accent-bg); color: var(--blue); }
.nav-cta {
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
.nav-cta:hover { background: var(--cyan); color: #fff; }

.nav-compact { margin-left: auto; align-items: center; gap: 10px; display: none; }
.nav-cta-sm {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.nav-cta-sm:hover { background: var(--cyan); color: #fff; }
.menu-btn {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  border: 1.5px solid #dbe9f0;
  background: #fff;
  cursor: pointer;
}
.menu-btn:hover { border-color: var(--cyan); }

.mobile-menu {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 12px clamp(18px, 4vw, 40px) 20px;
  display: grid;
  gap: 2px;
}
.mobile-link {
  padding: 14px 12px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-2);
}
.mobile-link:hover { background: var(--accent-bg); color: var(--blue); }

@media (max-width: 1039px) {
  .nav-row { display: none; }
  .nav-compact { display: flex; }
}

/* ============================================================
   Shared section pieces
   ============================================================ */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--accent-bg);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 26px;
}
.eyebrow-pill .dot { width: 7px; height: 7px; border-radius: 999px; background: var(--cyan); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.kicker-line { display: none; }

.head-lg {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: clamp(29px, 3.6vw, 44px);
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.head-md {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: clamp(27px, 3.2vw, 40px);
  margin: 0 0 16px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.head-md.tight { margin: 0 0 8px; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; }
.muted-p { font-size: 16px; line-height: 1.7; color: var(--muted); margin: 0; max-width: 29em; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section-head-note {
  max-width: 25em;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
}
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #F5FAFC 100%);
  border-bottom: 1px solid var(--border);
}
.hero-glow {
  position: absolute;
  top: -140px; right: -120px;
  width: 520px; height: 520px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(24,166,201,0.20), rgba(24,166,201,0) 68%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 88px) clamp(18px, 4vw, 40px) clamp(44px, 6vw, 84px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
}
.hero-title {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: clamp(38px, 5.2vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
  color: var(--navy);
}
.hero-title .accent { color: var(--blue); }
.hero-lead {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.65;
  color: var(--muted);
  max-width: 30em;
  margin: 0 0 32px;
}
.hero-lead strong { color: var(--navy); font-weight: 700; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 38px;
}
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 44px); }
.stat { display: grid; gap: 2px; }
.stat-num {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--blue);
}
.stat-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.hero-media {
  position: relative;
  display: grid;
  gap: 16px;
  justify-self: center;
  width: 100%;
  max-width: 560px;
}
.hero-video-card {
  border-radius: 26px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 26px 60px rgba(18,48,71,0.22);
  display: grid;
}
.hero-video-frame { aspect-ratio: 16 / 9; background: #0d2436; }
.hero-video-frame video { width: 100%; height: 100%; object-fit: contain; display: block; }
.hero-video-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--navy);
}
.tag-pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.video-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.35s ease, border-color 0.35s ease;
}
.video-toggle:hover { background: var(--cyan); border-color: var(--cyan); }

.hero-info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px 18px;
  display: grid;
  gap: 3px;
}
.info-title { font-family: "Sora", sans-serif; font-weight: 600; font-size: 15px; color: var(--navy); }
.info-sub { font-size: 13px; color: var(--muted-2); }

/* ============================================================
   ASSURANCES
   ============================================================ */
.assurances { background: #fff; border-bottom: 1px solid var(--border); }
.assurances-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 26px clamp(18px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}
.assurance { display: flex; align-items: center; gap: 12px; }
.assurance span:last-child { font-size: 15px; font-weight: 600; color: var(--text-2); }
.check {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--accent-bg);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  flex: none;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(52px, 7vw, 96px) clamp(18px, 4vw, 40px);
}
.service-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 10px rgba(18,48,71,0.04);
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), box-shadow 0.5s cubic-bezier(0.16,1,0.3,1), border-color 0.4s ease;
  will-change: transform;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(11,94,142,0.18);
  border-color: #a9dcec;
}
.ghost-num {
  position: absolute;
  top: -18px; right: 14px;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 92px;
  line-height: 1;
  color: #f0f8fb;
  pointer-events: none;
  user-select: none;
}
.ghost-num-lg { top: -20px; right: 16px; font-size: 100px; }
.card-topline {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: 0.9;
}
.service-icon {
  position: relative;
  width: 54px; height: 54px;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(11,94,142,0.28);
}
.service-title {
  position: relative;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 20px;
  margin: 8px 0 0;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.service-body {
  position: relative;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}
.service-meta {
  position: relative;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #eef5f8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--muted-2);
}
.meta-arrow {
  width: 30px; height: 30px;
  border-radius: 999px;
  background: var(--accent-bg);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 14px;
  flex: none;
}

/* ============================================================
   CONDITIONS
   ============================================================ */
.conditions { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.conditions-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 80px) clamp(18px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(26px, 4vw, 60px);
  align-items: center;
}
.condition-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.condition-pill {
  cursor: pointer;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1.5px solid #dbe9f0;
  background: #fff;
  color: var(--text-2);
  transition: border-color 0.15s ease;
}
.condition-pill:hover { border-color: var(--cyan); }
.condition-pill.is-active {
  background: var(--accent-bg);
  color: var(--blue);
  border-color: var(--cyan);
}

/* ============================================================
   DOCTOR
   ============================================================ */
.doctor {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(52px, 7vw, 96px) clamp(18px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
}
.doctor-media { position: relative; justify-self: center; width: 100%; max-width: 420px; }
.doctor-blob {
  position: absolute;
  inset: 18px -18px -18px 18px;
  border-radius: 30px;
  background: linear-gradient(135deg, #eaf6fa, #d8eef6);
  animation: drift 6s ease-in-out infinite alternate;
}
.doctor-photo {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 56px rgba(18,48,71,0.18);
}
.doctor-photo img { width: 100%; height: auto; display: block; }
.doctor-badge {
  position: relative;
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px rgba(18,48,71,0.12);
  display: flex;
  align-items: center;
  gap: 14px;
}
.doctor-badge-num { font-family: "Sora", sans-serif; font-weight: 700; font-size: 20px; color: var(--blue); }
.doctor-badge-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.doctor-role { font-size: 16px; font-weight: 600; color: var(--blue); margin: 0 0 20px; }
.doctor-bio { font-size: 16px; line-height: 1.75; color: var(--muted); margin: 0 0 26px; max-width: 33em; }
.cred-list { display: grid; gap: 12px; }
.cred-item { display: flex; gap: 12px; align-items: flex-start; }
.cred-item span:last-child { font-size: 15px; line-height: 1.6; color: var(--text-2); }
.check-sm {
  width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--accent-bg);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  flex: none;
  margin-top: 2px;
}

/* ============================================================
   CREDENTIALS
   ============================================================ */
.credentials { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.credentials-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 88px) clamp(18px, 4vw, 40px);
}
.cert-grid {
  display: grid;
  /* 300px tracks land six cards as a clean 3 x 2 on desktop; min(100%, …)
     keeps the track from overflowing viewports narrower than 300px */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.cert-card {
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 18px;
  display: grid;
  gap: 14px;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), box-shadow 0.5s cubic-bezier(0.16,1,0.3,1), border-color 0.4s ease;
  will-change: transform;
}
.cert-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(11,94,142,0.14); }
.cert-img {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eef5f8;
  padding: 8px;
}
.cert-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.cert-card:hover .cert-img img { transform: scale(1.06); }
.cert-card figcaption { display: grid; gap: 3px; }
.cert-title { font-family: "Sora", sans-serif; font-weight: 600; font-size: 16px; color: var(--navy); letter-spacing: -0.01em; }
.cert-sub { font-size: 14px; line-height: 1.5; color: var(--muted-2); }

/* ============================================================
   REHAB VIDEO
   ============================================================ */
.rehab {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(52px, 7vw, 96px) clamp(18px, 4vw, 40px);
}
.rehab-panel {
  background: var(--navy);
  border-radius: 30px;
  padding: clamp(24px, 3.2vw, 48px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 3vw, 44px);
  align-items: center;
  box-shadow: 0 24px 56px rgba(18,48,71,0.2);
}
.rehab-video {
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}
.rehab-video video { width: 100%; height: 100%; object-fit: contain; display: block; }
.rehab-copy { display: grid; gap: 20px; }
.rehab-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #6fd0e6; }
.rehab-title {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 34px);
  margin: 0;
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: #fff;
}
.rehab-lead { font-size: 16px; line-height: 1.7; color: #b9cdd9; margin: 0; }
.rehab-cta {
  justify-self: start;
  padding: 15px 28px;
  background: var(--cyan);
  color: #06283c;
  font-size: 16px;
}
.rehab-cta:hover { background: #6fd0e6; color: #06283c; }

/* ============================================================
   LATEST YOUTUBE VIDEOS (slider)
   ============================================================ */
.videos { background: var(--bg); border-top: 1px solid var(--border); }
.videos-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 88px) clamp(18px, 4vw, 40px);
}
.videos-title { margin: 0; }
.slider-nav { display: flex; gap: 10px; }
.slider-btn {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1.5px solid #cfe4ed;
  background: #fff;
  color: var(--blue);
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}
.slider-btn:hover:not(:disabled) { background: var(--blue); border-color: var(--blue); color: #fff; }
.slider-btn:disabled { opacity: 0.35; cursor: default; }

.video-track {
  display: grid;
  grid-auto-flow: column;
  /* A fixed track size, not minmax(0, …) — minmax would let the columns
     shrink to fit the container and the track would never scroll. */
  grid-auto-columns: clamp(258px, 74vw, 330px);
  gap: clamp(14px, 2vw, 22px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
  scrollbar-width: thin;
  scrollbar-color: #b9d7e4 transparent;
}
.video-track:focus-visible { outline: 2px solid var(--cyan); outline-offset: 6px; }
.video-track::-webkit-scrollbar { height: 8px; }
.video-track::-webkit-scrollbar-thumb { background: #b9d7e4; border-radius: 999px; }
.video-track::-webkit-scrollbar-track { background: transparent; }

.video-card {
  scroll-snap-align: start;
  display: grid;
  align-content: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(18,48,71,0.04);
  animation: fadein 0.5s ease both;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), box-shadow 0.5s cubic-bezier(0.16,1,0.3,1), border-color 0.4s ease;
}
.video-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(11,94,142,0.14); border-color: #a9dcec; }
/* The thumbnail is a button until clicked, so no YouTube script or iframe
   loads until someone actually wants to watch (keeps the page fast). */
.video-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  aspect-ratio: 16 / 9;
  background: #0d2436;
  cursor: pointer;
  overflow: hidden;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(0.16,1,0.3,1); }
.video-card:hover .video-thumb img { transform: scale(1.05); }
.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(9,28,42,0) 40%, rgba(9,28,42,0.45) 100%);
}
.video-play span {
  width: 54px; height: 54px;
  border-radius: 999px;
  background: rgba(255,0,0,0.92);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.3);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), background 0.3s ease;
}
.video-card:hover .video-play span { transform: scale(1.08); background: #ff0000; }
.video-frame { aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-meta { padding: 18px 20px 20px; display: grid; gap: 8px; }
.video-title {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0;
  /* Two lines maximum keeps every card the same height */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-date { font-size: 13px; color: var(--muted-2); }
.videos-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
}
.videos-more:hover { color: var(--cyan); }

@media (max-width: 640px) {
  /* Swiping is the natural gesture on touch, so the arrows step aside */
  .slider-nav { display: none; }
}

/* ============================================================
   STEPS
   ============================================================ */
.steps { background: #fff; border-top: 1px solid var(--border); }
.steps-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 88px) clamp(18px, 4vw, 40px);
}
.steps-title { margin: 0 0 clamp(26px, 3.5vw, 46px); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(18px, 2.4vw, 34px);
}
.step-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 34px 32px 32px;
  display: grid;
  gap: 12px;
  align-content: start;
  box-shadow: 0 2px 10px rgba(18,48,71,0.04);
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), box-shadow 0.5s cubic-bezier(0.16,1,0.3,1), border-color 0.4s ease;
  will-change: transform;
}
.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(11,94,142,0.18);
  border-color: #a9dcec;
}
.step-card .card-topline { opacity: 1; }
.step-num {
  position: relative;
  width: 58px; height: 58px;
  border-radius: 19px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 10px 22px rgba(11,94,142,0.26);
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 20px;
}
.step-title {
  position: relative;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 20px;
  margin: 8px 0 0;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.step-body { position: relative; margin: 0; font-size: 15px; line-height: 1.75; color: var(--muted); }
.step-meta {
  position: relative;
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid #eef5f8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--muted-2);
}

/* ============================================================
   STORIES
   ============================================================ */
.stories { background: var(--bg); border-top: 1px solid var(--border); }
.stories-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 88px) clamp(18px, 4vw, 40px);
}
.stories-title { margin: 0 0 clamp(26px, 3.5vw, 44px); }
.story-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 34px 32px;
  display: grid;
  gap: 16px;
  align-content: start;
  box-shadow: 0 2px 10px rgba(18,48,71,0.04);
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), box-shadow 0.5s cubic-bezier(0.16,1,0.3,1), border-color 0.4s ease;
  will-change: transform;
}
.story-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(11,94,142,0.14); }
.ghost-quote {
  position: absolute;
  top: 6px; right: 22px;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 96px;
  line-height: 1;
  color: #f0f8fb;
  pointer-events: none;
  user-select: none;
}
.stars { position: relative; color: var(--cyan); font-size: 15px; letter-spacing: 0.2em; }
.story-quote { position: relative; margin: 0; font-size: 16px; line-height: 1.75; color: var(--text-2); }
.story-foot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid #eef5f8;
}
.avatar {
  width: 42px; height: 42px;
  border-radius: 999px;
  flex: none;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 15px;
}
.story-person { display: grid; gap: 2px; }
.story-name { font-family: "Sora", sans-serif; font-weight: 600; font-size: 15px; color: var(--navy); }
.story-detail { font-size: 13px; color: var(--muted-2); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(52px, 7vw, 96px) clamp(18px, 4vw, 40px);
}
.contact-head { align-items: end; margin-bottom: clamp(24px, 3vw, 40px); }
.contact-head .section-head-note { max-width: 24em; font-size: 15px; }
.clinic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
}
.clinic-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 2px 10px rgba(18,48,71,0.04);
  display: grid;
  align-content: start;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), box-shadow 0.5s cubic-bezier(0.16,1,0.3,1), border-color 0.4s ease;
  will-change: transform;
}
.clinic-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(11,94,142,0.18);
  border-color: #a9dcec;
}
.clinic-map { position: relative; aspect-ratio: 16 / 10; background: var(--accent-bg); }
.clinic-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.92); }
.clinic-tag {
  position: absolute;
  top: 14px; left: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(18,48,71,0.14);
}
.clinic-body { padding: 28px 30px 30px; display: grid; gap: 10px; }
.clinic-name { font-family: "Sora", sans-serif; font-weight: 600; font-size: 21px; margin: 0; letter-spacing: -0.02em; color: var(--navy); }
.clinic-addr { margin: 0; font-size: 15px; line-height: 1.7; color: var(--muted); }
.clinic-meta {
  display: grid;
  gap: 6px;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px solid #eef5f8;
  font-size: 14px;
  color: var(--muted);
}
.clinic-meta strong { color: var(--navy); font-weight: 700; }
.clinic-cta {
  margin-top: 14px;
  justify-self: start;
  gap: 10px;
  padding: 13px 24px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
}
.clinic-cta:hover { background: var(--cyan); color: #fff; }
.clinic-cta-pending {
  margin-top: 14px;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1.5px dashed #cfe4ed;
  background: #fff;
  color: var(--muted-2);
  font-size: 15px;
  font-weight: 700;
}

.contact-cards {
  margin-top: clamp(18px, 2.2vw, 28px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 26px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 10px rgba(18,48,71,0.04);
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), box-shadow 0.5s cubic-bezier(0.16,1,0.3,1), border-color 0.4s ease;
  will-change: transform;
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(11,94,142,0.14);
  border-color: #b6e0ee;
}
.contact-icon {
  width: 46px; height: 46px;
  flex: none;
  border-radius: 15px;
  background: var(--accent-bg);
  display: grid;
  place-items: center;
}
.contact-text { display: grid; gap: 3px; min-width: 0; }
.contact-label { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.contact-value {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
/* mailto keeps the card's typography — only the hover marks it as clickable */
.contact-value a { color: inherit; }
.contact-value a:hover { color: var(--cyan); }

/* ============================================================
   BOOKING
   ============================================================ */
.book { background: #fff; border-top: 1px solid var(--border); }
.book-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(52px, 7vw, 96px) clamp(18px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(30px, 4vw, 60px);
  align-items: start;
}
.book-copy .head-lg { margin: 0 0 18px; font-size: clamp(29px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -0.035em; }
.book-lead { font-size: 16px; line-height: 1.75; color: var(--muted); margin: 0 0 28px; max-width: 29em; }
.book-callcard {
  border-radius: 22px;
  padding: 28px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  display: grid;
  gap: 12px;
  max-width: 380px;
  box-shadow: 0 18px 40px rgba(11,94,142,0.24);
}
.callcard-title { font-family: "Sora", sans-serif; font-weight: 600; font-size: 19px; }
.callcard-sub { font-size: 15px; line-height: 1.6; color: #dcf1f8; }
.callcard-phone { font-size: 22px; font-weight: 700; }

.book-form {
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: clamp(24px, 3vw, 38px);
  background: var(--bg);
  display: grid;
  gap: 18px;
}
.book-fields { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.field { display: grid; gap: 7px; }
.field-label { font-size: 14px; font-weight: 700; color: var(--text-2); }
.field input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid #dbe9f0;
  background: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  color: var(--navy);
}
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  cursor: pointer;
  padding: 11px 18px;
  border-radius: 999px;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid #dbe9f0;
  background: #fff;
  color: var(--text-2);
}
.choice.is-active { background: var(--blue); color: #fff; border-color: var(--blue); }
.book-submit {
  width: 100%;
  padding: 16px;
  border: 0;
  gap: 10px;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  box-shadow: 0 10px 24px rgba(11,94,142,0.24);
}
.book-submit:hover { background: var(--cyan); }
.book-note { font-size: 13px; color: var(--muted-2); text-align: center; }

.book-success { display: grid; gap: 16px; justify-items: start; }
.success-check {
  width: 62px; height: 62px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--accent-bg);
  color: var(--blue);
  font-size: 26px;
}
.success-title { font-family: "Sora", sans-serif; font-weight: 700; font-size: 24px; margin: 0; letter-spacing: -0.02em; }
.success-line { margin: 0; font-size: 16px; line-height: 1.7; color: var(--muted); }
.book-reset {
  padding: 13px 24px;
  border: 1.5px solid #cfe4ed;
  background: #fff;
  color: var(--blue);
  font-family: "Manrope", sans-serif;
  font-size: 15px;
}
.book-reset:hover { border-color: var(--cyan); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy); color: #b9cdd9; }
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(42px, 5vw, 72px) clamp(18px, 4vw, 40px) 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(24px, 4vw, 48px);
}
.footer-col { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.footer-col:first-child { gap: 14px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 44px; height: 44px; border-radius: 12px; object-fit: contain; background: #fff; }
.footer-brand-name { font-family: "Sora", sans-serif; font-weight: 700; font-size: 18px; color: #fff; letter-spacing: -0.02em; }
.footer-about { margin: 0; font-size: 15px; line-height: 1.7; max-width: 24em; }
.footer-heading { font-family: "Sora", sans-serif; font-weight: 600; font-size: 16px; color: #fff; }
.footer-social { display: flex; align-items: center; gap: 10px; margin-top: 2px; }
.social-link {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: #dbeaf2;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), background 0.3s ease,
              border-color 0.3s ease, color 0.3s ease;
}
.social-link:hover { transform: translateY(-3px); color: #fff; }
.social-yt:hover { background: #ff0000; border-color: #ff0000; }
.social-ig:hover {
  background: linear-gradient(45deg, #f9ce34 5%, #ee2a7b 55%, #6228d7 95%);
  border-color: transparent;
}
.social-link svg { display: block; }
.footer-loc-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6fd0e6;
  margin-top: 4px;
}
/* justify-self keeps the hit area on the text instead of the whole column,
   so it cannot sit invisibly under the floating buttons */
.footer-link { color: #6fd0e6; justify-self: start; }
.footer-mail { color: inherit; justify-self: start; overflow-wrap: anywhere; }
.footer-mail:hover { color: #6fd0e6; }
.footer-link:hover { color: #fff; }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px clamp(18px, 4vw, 40px) 14px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 13px;
  color: #7f9aab;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
}
.footer-credits {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7f9aab;
  font-size: 13px;
  transition: color 0.25s ease;
}
.footer-credit:hover { color: #6fd0e6; }
.footer-credit strong { color: #b9cdd9; font-weight: 700; }
.footer-credit:hover strong { color: #6fd0e6; }

@media (max-width: 640px) {
  /* Stacked credits get taller than the button offset, so reserve the right
     strip the floating buttons occupy instead of padding the whole bar down. */
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-right: 86px;
    padding-bottom: 18px;
  }
}

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  70%  { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}
@keyframes wa-pop {
  0%   { transform: scale(0) translateY(24px); opacity: 0; }
  60%  { transform: scale(1.12) translateY(0);  opacity: 1; }
  100% { transform: scale(1) translateY(0);     opacity: 1; }
}
@keyframes wa-ring {
  0%, 100% { transform: rotate(0deg); }
  15% { transform: rotate(14deg); }
  30% { transform: rotate(-12deg); }
  45% { transform: rotate(9deg); }
  60% { transform: rotate(-6deg); }
  75% { transform: rotate(3deg); }
}
.wa-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: var(--fab-bottom); /* clears the copyright bar completely */
  z-index: 60;
  width: var(--fab-size);
  height: var(--fab-size);
  border-radius: 999px;
  background: linear-gradient(145deg, #2ee06f, #1ebe5b);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(37,211,102,0.45), inset 0 1px 0 rgba(255,255,255,0.25);
  animation: wa-pop 0.6s cubic-bezier(0.16,1,0.3,1) both;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease;
}
/* Expanding pulse ring */
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #25D366;
  z-index: -1;
  animation: wa-pulse 2.4s ease-out infinite;
}
/* Hover tooltip */
.wa-float::after {
  content: "Chat with us on WhatsApp";
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  white-space: nowrap;
  background: #123047;
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(18,48,71,0.24);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.wa-float:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 18px 38px rgba(37,211,102,0.55), inset 0 1px 0 rgba(255,255,255,0.25);
}
.wa-float:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.wa-float:hover svg { animation: wa-ring 0.9s ease-in-out; }
.wa-float svg { display: block; }

@media (max-width: 640px) {
  .wa-float::after { display: none; } /* no room for the tooltip on small screens */
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: calc(var(--fab-bottom) + var(--fab-size) + var(--fab-gap));
  z-index: 59;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid #dbe9f0;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  color: var(--blue);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(18,48,71,0.18);
  /* Hidden until main.js adds .is-visible; visibility keeps it out of the tab order */
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.9);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.16,1,0.3,1),
              visibility 0.3s, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.to-top:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.to-top svg { display: block; }

/* Landscape phones and short windows: keep the pair inside the viewport */
@media (max-height: 560px) {
  :root { --fab-bottom: 20px; --fab-size: 52px; --fab-gap: 10px; }
  .to-top { width: 42px; height: 42px; }
  .wa-float svg { width: 28px; height: 28px; }
}

/* ============================================================
   RESPONSIVE REFINEMENTS
   ============================================================ */

/* Anchor offset comes from html { scroll-padding-top } via --header-h */

/* ---------- Tablet and below ---------- */
@media (max-width: 900px) {
  /* Video leads on small screens, then the headline, then the info cards.
     The DOM order is untouched — the h1 stays first for search engines and
     screen readers — so `display: contents` lets the media wrapper's two
     children take part in the hero grid and be ordered individually. */
  .hero-inner {
    /* minmax(0, …), not 1fr: the info-card grid's min-content is 3 x 160px,
       which would otherwise stretch the column past the viewport */
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(26px, 4vw, 38px);
    padding-top: clamp(28px, 5vw, 48px);
    justify-items: center;
  }
  .hero-media { display: contents; }
  .hero-video-card { order: -1; }
  .hero-copy { order: 0; }
  .hero-info-cards { order: 1; }
  .hero-copy,
  .hero-video-card,
  .hero-info-cards { width: 100%; max-width: 560px; }
  .eyebrow-pill { margin-bottom: 20px; }
  .hero-lead { margin-bottom: 26px; }
  .hero-actions { margin-bottom: 30px; }
}

/* ---------- Phones ---------- */
@media (max-width: 480px) {
  /* Full-width primary actions read better and give a bigger tap target */
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { justify-content: center; }
  .hero-stats { gap: 16px 22px; }

  /* Card padding scaled down so copy is not squeezed into a narrow column */
  .step-card { padding: 26px 22px 24px; }
  .story-card { padding: 26px 22px; }
  .clinic-body { padding: 22px 20px 24px; }
  .contact-card { padding: 22px 20px; }
  .book-callcard { padding: 22px; }
  .ghost-quote { font-size: 74px; right: 16px; }
}

/* ---------- Narrow phones ---------- */
@media (max-width: 430px) {
  /* The brand strapline is wider than the space left by the Book + menu buttons */
  .header-inner { padding: 12px 16px; gap: 10px; }
  .brand-logo { width: 40px; height: 40px; border-radius: 12px; }
  .brand-name { font-size: 16px; }
  .brand-sub { display: none; }
  .nav-cta-sm { padding: 11px 16px; }
  .menu-btn { width: 42px; height: 42px; }
  :root { --header-h: 66px; } /* smaller logo and padding above */

  .hero-title { font-size: 34px; }
  .stat-num { font-size: 24px; }
  .stat-label { font-size: 11px; letter-spacing: 0.08em; }
  .btn-lg { padding: 15px 24px; font-size: 15px; }
}
