/* ================= BASE ================= */
:root {
  --red: #e3202a;
  --red-dark: #b8141d;
  --navy: #0f3b2b;
  --blue: #05a050;
  --blue-dark: #037a3d;
  --sky: #3fd38a;
  --text: #24332d;
  --muted: #5c6b65;
  --line: #e5efe9;
  --bg-soft: #f5faf7;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 6px 22px rgba(22, 92, 63, 0.08);
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section { padding: 72px 0; }

.section-head { margin-bottom: 32px; }
.section-head h2 { font-size: 34px; font-weight: 700; letter-spacing: -0.5px; }
.section-head p { color: var(--muted); margin-top: 8px; }
.section-head .eyebrow { color: var(--blue); margin-top: 0; margin-bottom: 16px; }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.section-head.center { text-align: center; }
.section-head.light h2 { color: var(--white); }
.section-head.light p { color: #d6ecdf; }

.link-arrow { color: var(--blue); font-weight: 600; font-size: 14px; white-space: nowrap; }
.link-arrow span { margin-left: 4px; }

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 6px; white-space: nowrap;
  font-weight: 600; font-size: 15px; line-height: 1;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 6px 16px rgba(14, 171, 85, 0.28); }
.btn-outline { background: var(--white); color: var(--navy); border: 1px solid var(--line); box-shadow: var(--shadow); }
.btn-sm { padding: 11px 18px; font-size: 14px; }

/* ================= HEADER ================= */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }

.logo { display: flex; align-items: center; flex-shrink: 0; }
/* 3238px-wide source shown at ~260px: always scaled down, stays crisp on retina */
.logo img { height: 52px; width: auto; }
.footer-brand .logo img { height: 58px; }

.nav { display: flex; gap: 28px; white-space: nowrap; }
.nav a { font-size: 15px; font-weight: 500; color: var(--navy); }
.nav a.active { color: var(--blue); }
.nav a.has-caret::after { content: "+"; margin-left: 3px; font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 22px; }
.call { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: var(--navy); white-space: nowrap; }
.call svg { width: 22px; height: 22px; fill: none; stroke: var(--navy); stroke-width: 1.8; }
.call span { display: flex; flex-direction: column; line-height: 1.25; }
.call small { font-weight: 400; color: var(--muted); font-size: 12px; }

.menu-toggle { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; padding: 8px; }
.menu-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; }

/* ================= HERO ================= */
.hero {
  position: relative;
  background:
    radial-gradient(600px 400px at 12% 18%, rgba(24, 240, 121, 0.16), transparent 70%),
    radial-gradient(700px 500px at 85% 60%, rgba(14, 171, 85, 0.14), transparent 70%),
    linear-gradient(100deg, #f9fefb 0%, #f1f8f4 55%, #e6f4ec 100%);
  overflow: hidden;
}
.hero-dots {
  position: absolute; left: -10px; bottom: 40px; width: 200px; height: 160px;
  background-image: radial-gradient(rgba(14, 171, 85, 0.22) 1.6px, transparent 1.6px);
  background-size: 16px 16px;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; min-height: 660px; }
.hero-content { padding: 60px 0; position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid #ddf0e5; border-radius: 999px;
  padding: 7px 18px 7px 7px; box-shadow: 0 4px 14px rgba(22, 92, 63, 0.07);
  color: var(--blue); font-weight: 600; font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 22px;
}
.eyebrow-icon { width: 28px; height: 28px; border-radius: 50%; background: #e8f6ee; display: grid; place-items: center; }
.eyebrow-icon svg { width: 16px; height: 16px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.hero h1 { font-size: 68px; font-weight: 800; letter-spacing: -1.8px; line-height: 1.04; }
.hero h1 .hl {
  position: relative; display: inline-block;
  background: linear-gradient(90deg, #0eab55, #0ce36d);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hl-line { position: absolute; left: 0; bottom: -10px; width: 100%; height: 18px; }
.hero-lead { font-size: 18px; color: var(--muted); max-width: 470px; margin: 26px 0 34px; }
.hero-lead strong { color: var(--navy); font-weight: 600; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-lg { padding: 16px 26px; border-radius: 8px; }
.hero .btn-primary { background: linear-gradient(135deg, #11b75c, #099247); box-shadow: 0 10px 24px rgba(14, 171, 85, 0.32); }

.hero-trust { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.avatars { display: flex; }
.avatars img, .avatar-more {
  width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--white);
  object-fit: cover; margin-left: -12px; box-shadow: 0 2px 8px rgba(22, 92, 63, 0.12);
}
.avatars img:first-child { margin-left: 0; }
.avatar-more { display: grid; place-items: center; background: var(--navy); color: var(--white); font-size: 11px; font-weight: 700; }
.trust-stars { color: #f6b100; font-size: 16px; letter-spacing: 1px; line-height: 1.2; }
.trust-stars strong { color: var(--navy); font-size: 14px; letter-spacing: 0; margin-left: 4px; }
.trust-text p { font-size: 13.5px; color: var(--muted); }
.trust-text p strong { color: var(--navy); }

.hero-features {
  display: inline-grid; grid-template-columns: repeat(3, auto); margin-top: 30px;
  background: var(--white); border: 1px solid #e7f2ec; border-radius: 14px;
  padding: 16px 6px; box-shadow: 0 10px 30px rgba(22, 92, 63, 0.08);
}
.hero-features li {
  display: flex; align-items: center; gap: 10px; padding: 0 16px;
  font-size: 13.5px; font-weight: 600; color: var(--navy); line-height: 1.3; white-space: nowrap;
}
.hero-features li + li { border-left: 1px solid var(--line); }
.feature-icon { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, #11b75c, #099247); display: grid; place-items: center; flex-shrink: 0; }
.feature-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.hero-visual { position: relative; align-self: stretch; min-height: 640px; display: flex; align-items: flex-end; justify-content: flex-end; }
.hero-circle {
  position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #c2e8d2 0%, #3de488 60%, #2dde7d 100%);
  left: 4%; top: 22%;
}
/* shown at or below its native 1300px width, never upscaled, so it stays sharp */
.hero-img {
  position: relative; z-index: 1;
  width: 100%; max-width: 660px; height: auto;
  margin-right: -40px;
}
.hero-tagline {
  position: absolute; top: 40px; right: -20px; z-index: 2;
  font-family: "Caveat", cursive; font-size: 30px; line-height: 1.05; color: var(--navy);
  display: flex; gap: 6px;
}
.hero-tagline svg { width: 44px; height: 38px; margin-top: 6px; }
.hero-ring {
  position: absolute; width: 470px; height: 470px; border-radius: 50%;
  border: 2px dashed rgba(14, 171, 85, 0.22); left: -1%; top: 13%;
}
.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, 0.96); border: 1px solid #e7f2ec; border-radius: 14px;
  padding: 12px 18px 12px 12px; box-shadow: 0 14px 34px rgba(22, 92, 63, 0.16);
}
.float-card strong { display: block; font-family: var(--font-head); font-size: 20px; color: var(--navy); line-height: 1.1; }
.float-card small { font-size: 12.5px; color: var(--muted); }
.fc-icon { width: 40px; height: 40px; border-radius: 10px; background: #e8f6ee; display: grid; place-items: center; }
.fc-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fc-icon.green { background: #e2f6ec; }
.fc-icon.green svg { stroke: #1a9b5c; }
.fc-1 { left: 14%; bottom: 46px; }
.fc-2 { right: -10px; top: 46%; }

/* ================= HERO SLIDER ================= */
.hero { display: grid; }
.hero-slide {
  grid-area: 1 / 1; position: relative; min-width: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }

.hero-pager {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 5;
  display: flex; gap: 8px;
}
.hero-pager button { width: 10px; height: 10px; border-radius: 999px; background: rgba(18, 78, 53, 0.25); }
.hero-pager button.is-active { width: 30px; background: var(--blue); }

/* Slide 2 */
.slide-2 { background: linear-gradient(110deg, #f8fdfa 0%, #eaf7ef 45%, #d7eee1 100%); overflow: hidden; }
.s2-waves { position: absolute; left: 0; bottom: 0; width: 100%; height: 170px; }
.s2-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; min-height: 660px; }
.s2-content { padding: 56px 0 70px; }

.s2-eyebrow {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
  color: var(--blue); font-weight: 600; font-size: 13px; letter-spacing: 2.4px; text-transform: uppercase;
}
.s2-eyebrow::before { content: ""; width: 44px; height: 2px; background: var(--blue); }
.s2-title { font-size: 68px; font-weight: 800; letter-spacing: -1.8px; line-height: 1.04; color: var(--navy); }
.s2-title em {
  font-style: italic; color: var(--blue);
  text-decoration: underline; text-decoration-thickness: 5px; text-underline-offset: 10px;
}
.slide-2 .hero-lead { margin: 24px 0 26px; }

.s2-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 560px; margin-bottom: 30px; }
.s2-services li {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  background: rgba(255, 255, 255, 0.9); border: 1px solid #ffffff; border-radius: 16px;
  padding: 16px 8px 14px; box-shadow: 0 8px 22px rgba(22, 92, 63, 0.08);
}
.s2-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, #0ed266, #099247);
  display: grid; place-items: center; box-shadow: 0 8px 16px rgba(14, 171, 85, 0.3);
}
.s2-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.s2-label { font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.3; }

.s2-stats {
  display: inline-grid; grid-template-columns: repeat(3, auto); margin-top: 30px;
  background: rgba(255, 255, 255, 0.85); border: 1px solid #ffffff; border-radius: 14px;
  padding: 14px 6px; box-shadow: 0 12px 30px rgba(22, 92, 63, 0.1);
}
.s2-stats > div { display: flex; align-items: center; gap: 10px; padding: 0 18px; }
.s2-stats > div + div { border-left: 1px solid var(--line); }
.s2-stat-icon { width: 38px; height: 38px; border-radius: 50%; background: #e8f6ee; display: grid; place-items: center; flex-shrink: 0; }
.s2-stat-icon svg { width: 19px; height: 19px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.s2-stat-icon svg.fill { fill: var(--blue); stroke: none; }
.s2-stats strong { display: block; font-family: var(--font-head); font-size: 19px; color: var(--navy); line-height: 1.1; }
.s2-stats small { font-size: 12px; color: var(--muted); white-space: nowrap; }

.s2-visual { align-self: center; display: flex; justify-content: flex-end; }
/* 1385px source shown at max ~700px: always scaled down, stays sharp */
.s2-visual img { width: 100%; max-width: 700px; height: auto; margin-right: -50px; }

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}

/* ================= HERO CONTENT PANEL (both slides) ================= */
/* identical columns on both slides so the panel does not jump when slides change */
.hero-inner, .s2-inner { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 24px; }
/* Full-width banner: edge-to-edge background, wide & short (~16:6 on desktop).
   Content stays aligned with the 1200px page grid via the side padding. */
.hero-slide { display: flex; flex-direction: column; }
.hero-inner, .s2-inner {
  position: relative; z-index: 1; flex: 1 0 auto;
  width: 100%; max-width: none; margin: 0;
  min-height: 600px; /* same height on both slides */
  padding: 0 max(24px, calc((100% - 1200px) / 2 + 24px));
  background: none; border: 0; border-radius: 0; box-shadow: none;
}
.hero-content, .s2-content { position: relative; z-index: 2; padding: 56px 0 64px; margin: 0; }
.hero-visual { min-height: 600px; }
.hero-img { margin-right: 0; max-width: 620px; }
.hero-tagline { right: 0; top: 36px; }
.fc-2 { right: 0; }
.s2-visual img { margin-right: 0; }
.s2-waves { z-index: 0; }

.hero h1, .s2-title { font-size: 58px; letter-spacing: -1.5px; }
.hero-lead { margin: 20px 0 28px; }
.slide-2 .hero-lead { margin: 20px 0 24px; }
.btn-outline { border: 1.5px solid #d6ecdf; }

/* slide 1 */
.hero-trust {
  margin-top: 26px; padding-top: 22px;
  border-top: 1px solid rgba(18, 78, 53, 0.08);
}
.hero-features {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; width: 100%;
  margin-top: 22px; padding: 14px 8px;
  background: #ffffff; border: 1px solid #e7f2ec; border-radius: 16px;
  box-shadow: 0 8px 20px rgba(22, 92, 63, 0.06);
}
.hero-features li { padding: 0 12px; gap: 10px; white-space: nowrap; font-size: 13.5px; }
.feature-icon { width: 38px; height: 38px; border-radius: 11px; }
.feature-icon svg { width: 18px; height: 18px; }

/* slide 2 */
.s2-services { max-width: 380px; gap: 8px; margin-bottom: 26px; }
.s2-services li { background: #ffffff; border: 1px solid #e7f2ec; box-shadow: 0 6px 16px rgba(22, 92, 63, 0.06); }
.s2-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); width: 100%;
  margin-top: 26px; padding: 14px 4px;
  background: #ffffff; border: 1px solid #e7f2ec; border-radius: 16px;
  box-shadow: 0 8px 20px rgba(22, 92, 63, 0.06);
}
.s2-stats > div { padding: 0 14px; }

/* ================= MEET THE DOCTOR ================= */
.doctor { background: var(--white); }
.doctor-inner { display: grid; grid-template-columns: 440px 1fr; gap: 72px; align-items: center; }
.doctor-media { position: relative; }
.doctor-media::before {
  content: ""; position: absolute; left: -22px; top: -22px; width: 160px; height: 160px;
  background-image: radial-gradient(rgba(14, 171, 85, 0.25) 1.6px, transparent 1.6px);
  background-size: 14px 14px;
}
.doctor-photo {
  position: relative; border-radius: 22px; overflow: hidden;
  border: 6px solid var(--white); box-shadow: 0 20px 50px rgba(22, 92, 63, 0.18);
}
/* 640px source shown at max 440px wide: always scaled down, never blurry */
.doctor-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 45% 30%; }
.doctor-pill {
  position: absolute; left: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.95); border-radius: 999px; padding: 8px 16px;
  font-size: 13px; font-weight: 600; color: var(--navy);
}
.doctor-pill i { width: 8px; height: 8px; border-radius: 50%; background: #14b8a6; }
.exp-badge {
  position: absolute; right: -36px; top: 40px;
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #11b75c, #099247); color: var(--white);
  border-radius: 16px; padding: 16px 20px; box-shadow: 0 14px 30px rgba(14, 171, 85, 0.35);
}
.exp-badge strong { font-family: var(--font-head); font-size: 38px; line-height: 1; }
.exp-badge span { font-size: 13px; line-height: 1.3; color: #e2f5ea; }

.doctor-content h2 { font-size: 42px; font-weight: 700; letter-spacing: -0.5px; }
.doctor-degrees { font-weight: 600; color: var(--blue); letter-spacing: 0.5px; margin-top: 8px; }
.doctor-role { font-size: 15px; color: var(--navy); font-weight: 500; margin-top: 2px; }
.doctor-bio { color: var(--muted); font-size: 16px; max-width: 560px; margin: 18px 0 22px; }
.doctor-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.doctor-tags li {
  background: #f1faf5; border: 1px solid #ddf0e5; color: var(--navy);
  font-size: 13.5px; font-weight: 500; padding: 8px 14px; border-radius: 999px;
}
.doctor-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); max-width: 560px; margin-bottom: 32px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--bg-soft);
}
.doctor-stats div { padding: 18px 20px; }
.doctor-stats div + div { border-left: 1px solid var(--line); }
.doctor-stats strong { display: block; font-family: var(--font-head); font-size: 28px; color: var(--navy); line-height: 1.1; }
.doctor-stats span { font-size: 13px; color: var(--muted); }
.doctor .btn-primary { background: linear-gradient(135deg, #11b75c, #099247); }

/* ================= SPECIALTIES ================= */
.specialties { background: var(--bg-soft); }
.specialty-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.specialty-card {
  position: relative; overflow: hidden; border-radius: 18px;
  background: #124e35; box-shadow: 0 12px 28px rgba(18, 78, 53, 0.18);
  border: 3px solid var(--white);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.spec-media { margin: 0; overflow: hidden; }
/* crops are 246-340px wide and shown at ~175px, so they are only ever scaled down */
.spec-media img { width: 100%; height: auto; aspect-ratio: 4 / 5.6; object-fit: cover; transition: transform 0.5s ease; }
.spec-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 48px 14px 16px;
  background: linear-gradient(to top, rgba(10, 44, 30, 0.96) 0%, rgba(10, 44, 30, 0.82) 45%, rgba(10, 44, 30, 0) 100%);
}
.spec-body::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 3px; background: #ff7a2f; margin-bottom: 9px; transition: width 0.35s ease; }
.specialty-card p { transition: color 0.35s ease; }

/* hover only on devices with a real pointer */
@media (hover: hover) {
  .specialty-card:hover { transform: translateY(-6px); box-shadow: 0 22px 40px rgba(18, 78, 53, 0.3); }
  .specialty-card:hover .spec-media img { transform: scale(1.07); }
  .specialty-card:hover .spec-body::before { width: 52px; }
  .specialty-card:hover p { color: #ffffff; }
}
@media (prefers-reduced-motion: reduce) {
  .specialty-card, .spec-media img, .spec-body::before { transition: none; }
}
.specialty-card h3 { color: var(--white); font-size: 15px; font-weight: 700; line-height: 1.2; margin-bottom: 5px; }
.specialty-card p { font-size: 12.5px; color: #cce5d6; line-height: 1.4; }

/* ================= WHY CHOOSE US ================= */
.why { background: linear-gradient(180deg, #ffffff 0%, #f5fcf8 100%); overflow: hidden; }
.why-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: stretch; }
.why-content h2 { font-size: 36px; font-weight: 700; letter-spacing: -0.5px; }
.why-content h2 span { color: var(--blue); }
.why-content .sub { color: var(--muted); font-size: 16px; margin: 8px 0 24px; }

/* two compact columns keep the section short; the 5th card spans the full row */
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.why-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.why-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 16px; box-shadow: 0 4px 14px rgba(22, 92, 63, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.why-icon {
  width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
  background: #e8f6ee; display: grid; place-items: center;
  transition: background 0.3s ease;
}
.why-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s ease; }
.why-item h3 { font-size: 15px; font-weight: 600; line-height: 1.3; margin-bottom: 3px; }
.why-item p { font-size: 13px; line-height: 1.45; color: var(--muted); }

/* image column stretches to the exact height of the text column */
.why-media { position: relative; display: flex; }
.why-media::before {
  content: ""; position: absolute; right: -14px; bottom: -14px; width: 60%; height: 60%;
  border-radius: 24px; background: linear-gradient(135deg, #11b75c, #099247); opacity: 0.12;
}
.why-frame {
  position: relative; flex: 1; border-radius: 22px; overflow: hidden; background: #ffffff;
  border: 6px solid var(--white); box-shadow: 0 24px 50px rgba(22, 92, 63, 0.16);
}
/* 1374px source shown well below that width, so it is only ever scaled down */
.why-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.knee-pulse {
  position: absolute; left: 70%; top: 19%; width: 70px; height: 70px; margin: -35px 0 0 -35px;
  border-radius: 50%; border: 2px solid rgba(255, 122, 47, 0.9);
  animation: knee-pulse 2.2s ease-out infinite;
}
@keyframes knee-pulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2); opacity: 0; }
}

@media (hover: hover) {
  .why-item:hover { transform: translateY(-4px); border-color: #d7ede0; box-shadow: 0 12px 26px rgba(22, 92, 63, 0.1); }
  .why-item:hover .why-icon { background: linear-gradient(135deg, #11b75c, #099247); }
  .why-item:hover .why-icon svg { stroke: var(--white); }
}

/* Scroll reveal (only hides content when JS is running) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .knee-pulse { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .why-item, .why-icon, .why-icon svg { transition: none; }
}

/* ================= JOURNEY ================= */
.text-blue { color: var(--blue); }
.eyebrow-icon .fa-solid { font-size: 13px; color: var(--blue); }

/* ================= TREATMENTS ================= */
.treatment-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.treatment-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.treatment-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.treatment-body { padding: 18px 18px 22px; }
.treatment-body h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.treatment-body p { color: var(--muted); font-size: 14px; }

/* ================= IMPACT ================= */
.impact { background: linear-gradient(110deg, #165e40 0%, #0d6e38 50%, #165e40 100%); padding: 64px 0 70px; }

/* ================= TESTIMONIALS ================= */
.testimonials { background: linear-gradient(180deg, #ffffff, var(--bg-soft)); }
.slider { display: flex; align-items: center; justify-content: center; gap: 28px; max-width: 900px; margin: 0 auto; }
.slider-btn {
  width: 48px; height: 48px; border-radius: 50%; background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; flex-shrink: 0;
}
.slider-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.slides { flex: 1; }
.testimonial {
  display: none; gap: 28px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 32px 36px; box-shadow: var(--shadow);
}
.testimonial.active { display: flex; }
.testimonial blockquote { font-size: 15.5px; color: var(--text); line-height: 1.65; }
.stars { color: #f6b100; font-size: 18px; letter-spacing: 2px; margin: 10px 0 8px; }
.testimonial figcaption strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 15px; }
.testimonial figcaption span { font-size: 13px; color: var(--muted); }

/* ================= FAQ ================= */
.faq { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.faq-col { display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 20px; text-align: left; font-weight: 500; font-size: 15px; color: var(--navy);
}
.plus { position: relative; width: 12px; height: 12px; flex-shrink: 0; }
.plus::before, .plus::after { content: ""; position: absolute; background: var(--navy); }
.plus::before { left: 0; right: 0; top: 5px; height: 2px; }
.plus::after { top: 0; bottom: 0; left: 5px; width: 2px; }
.faq-item.open .plus::after { display: none; }
.faq-a { display: none; padding: 0 20px 18px; color: var(--muted); font-size: 14.5px; }
.faq-item.open .faq-a { display: block; }

/* ================= CTA ================= */
.cta { background: var(--white); padding: 72px 0; }
.cta-card {
  position: relative; overflow: hidden; border-radius: 24px; min-height: 380px;
  display: flex; align-items: center;
  background:
    radial-gradient(520px 380px at 78% 50%, rgba(0, 249, 112, 0.35), transparent 70%),
    linear-gradient(110deg, #114932 0%, #1a704c 55%, #165c3f 100%);
  box-shadow: 0 24px 50px rgba(18, 78, 53, 0.25);
}
.cta-img {
  position: absolute; right: 0; top: 0; height: 100%; width: auto; max-width: none;
}
.cta-content { position: relative; z-index: 1; max-width: 640px; padding: 56px 0 56px 64px; }
.cta h2 { color: var(--white); font-size: 40px; font-weight: 700; letter-spacing: -0.5px; line-height: 1.15; }
.cta p { color: #d1ebdc; font-size: 17px; line-height: 1.6; margin: 18px 0 32px; }
.btn-white { background: var(--white); color: var(--blue); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2); }
.btn-white .fa-solid { font-size: 16px; }

/* ================= FOOTER ================= */
.footer { background: var(--white); padding-top: 60px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin: 18px 0 22px; max-width: 320px; }
.socials { display: flex; gap: 18px; }
.socials a { color: var(--navy); }
.socials svg { width: 22px; height: 22px; fill: currentColor; }
.socials svg.stroke { fill: none; stroke: currentColor; stroke-width: 2; }

.footer-col h4 { font-size: 17px; font-weight: 600; margin-bottom: 18px; }
.footer-col li { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.contact-col li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.contact-col svg { width: 18px; height: 18px; fill: var(--navy); flex-shrink: 0; margin-top: 2px; }

.footer-bottom { background: #eff6f2; padding: 16px 0; font-size: 13px; color: var(--muted); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1260px) {
  .nav { gap: 22px; }
  .call { display: none; }
  .specialty-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .menu-toggle { display: flex; }
  .nav {
    display: none; position: absolute; top: 78px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--white);
    border-bottom: 1px solid var(--line); padding: 8px 24px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-content { padding: 44px 0 8px; }
  .hero-visual { min-height: 0; padding-top: 70px; justify-content: center; }
  .hero-img { margin-right: 0; }
  .hero-ring { display: none; }
  .s2-inner { grid-template-columns: 1fr; }
  .hero-inner, .s2-inner { gap: 0; padding: 0 24px; min-height: 0; }
  .hero-visual { min-height: 0; }
  .s2-content { padding: 44px 0 8px; }
  .s2-visual { justify-content: center; padding-bottom: 60px; }
  .s2-visual img { margin-right: 0; }
  .fc-1 { left: 0; bottom: 40px; }
  .fc-2 { right: 0; }
  .hero-tagline { right: 0; top: 10px; }
  .hero h1 { font-size: 54px; }

  .doctor-inner { grid-template-columns: 1fr; gap: 48px; }
  .doctor-media { max-width: 440px; }
  .exp-badge { right: -16px; }
  .why-inner { grid-template-columns: 1fr; gap: 48px; }
  .why-media { max-width: 620px; }
  .why-frame { flex: none; width: 100%; aspect-ratio: 1374 / 1145; }

  .treatment-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-img { opacity: 0.6; right: -18%; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .header-inner { height: 68px; }
  .nav { top: 68px; padding: 8px 16px 16px; }
  .header-actions .btn { display: none; }
  .logo img { height: 40px; }

  .hero h1 { font-size: 40px; }
  .hero-lead { font-size: 16px; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero-features { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 18px; }
  .hero-features li { padding: 0; }
  .hero-features li + li { border-left: 0; border-top: 1px solid var(--line); padding-top: 14px; }
  .eyebrow { font-size: 11px; letter-spacing: 1px; }
  .hl-line { bottom: -6px; height: 12px; }
  .float-card { padding: 8px 12px 8px 8px; gap: 8px; }
  .float-card strong { font-size: 16px; }
  .float-card small { font-size: 11px; }
  .fc-icon { width: 32px; height: 32px; }
  .s2-title { font-size: 40px; }
  .hero-inner, .s2-inner { padding: 0 16px; }
  .hero-content, .s2-content { padding: 32px 0 8px; }
  .hero-img { max-width: 320px; }
  .s2-visual img { max-width: 340px; }
  .hero-content, .s2-content { padding: 32px 0 8px; }
  .hero h1, .s2-title { font-size: 38px; letter-spacing: -1px; }
  .s2-title em { text-decoration-thickness: 3px; text-underline-offset: 6px; }
  .s2-eyebrow { font-size: 11px; letter-spacing: 1.6px; }
  .s2-eyebrow::before { width: 28px; }
  .s2-services { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .s2-services li { flex-direction: row; text-align: left; padding: 10px 12px; gap: 10px; }
  .s2-icon { width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0; }
  .s2-icon svg { width: 20px; height: 20px; }
  .s2-label { font-size: 12.5px; }
  .s2-stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 12px 0; }
  .s2-stats > div { flex-direction: column; text-align: center; gap: 6px; padding: 0 6px; }
  .s2-stats strong { font-size: 16px; }
  .s2-stats small { font-size: 10.5px; white-space: normal; }
  .hero-visual { padding-top: 60px; }
  .hero-circle { width: 240px; height: 240px; }
  .hero-tagline { font-size: 24px; top: 10px; }

  .section-head h2, .why-content h2 { font-size: 28px; }
  .section-head.split { flex-direction: column; align-items: flex-start; }

  .specialty-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .doctor-content h2 { font-size: 32px; }
  .exp-badge { right: 12px; top: 12px; padding: 10px 14px; }
  .exp-badge strong { font-size: 28px; }
  .doctor-media::before { display: none; }
  .doctor-stats div { padding: 14px 10px; }
  .doctor-stats strong { font-size: 22px; }
  .doctor-stats span { font-size: 11.5px; }
  .doctor .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
  
  .why-content h2 { font-size: 30px; }
  .why-list { grid-template-columns: 1fr; }
  .why-item { padding: 12px 14px; }

  .treatment-grid { grid-template-columns: 1fr; }

  .slider { gap: 10px; flex-wrap: wrap; }
  .slides { order: -1; flex-basis: 100%; }
  .testimonial { flex-direction: column; align-items: center; text-align: center; padding: 24px 20px; }
  .faq-grid { grid-template-columns: 1fr; gap: 14px; }

  .cta { padding: 48px 0; }
  .cta-card { min-height: 0; align-items: flex-start; padding-bottom: 230px; }
  /* figure sits in the right part of the PNG (centre ~77% across): centre it under the text */
  .cta-img { opacity: 1; top: auto; bottom: 0; right: auto; left: 50%; height: 240px; transform: translateX(-77%); }
  .cta-content { padding: 36px 24px; }
  .cta h2 { font-size: 28px; }
  .cta p { font-size: 15px; margin: 12px 0 24px; }
  .cta .btn { width: 100%; justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; }
}

/* ================= ABOUT PAGE ================= */
.page-hero {
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(24, 240, 121, 0.25), transparent 70%),
    linear-gradient(110deg, #114932 0%, #1a704c 60%, #165c3f 100%);
  padding: 56px 0 60px; color: var(--white);
}
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #c4e3d1; margin-bottom: 16px; }
.breadcrumb a { color: #ffffff; }
.breadcrumb .fa-chevron-right { font-size: 10px; }
.page-hero h1 { color: var(--white); font-size: 44px; font-weight: 700; letter-spacing: -0.5px; }
.page-hero p { color: #d1ebdc; font-size: 17px; margin-top: 8px; }

.profile-inner { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: start; }
.profile-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 22px;
  padding: 16px 16px 24px; box-shadow: 0 20px 44px rgba(22, 92, 63, 0.1);
  margin-top: -110px; position: relative; z-index: 2;
}
.profile-photo { border-radius: 16px; overflow: hidden; margin-bottom: 18px; }
/* 640px source shown at ~346px: only ever scaled down */
.profile-photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 45% 25%; }
.profile-card h2 { font-size: 24px; font-weight: 700; padding: 0 6px; }
.profile-role { color: var(--blue); font-weight: 600; font-size: 14.5px; padding: 0 6px; margin-top: 2px; }

.profile-facts { margin: 18px 0 20px; display: flex; flex-direction: column; gap: 10px; }
.profile-facts li {
  display: flex; align-items: center; gap: 12px;
  background: #f4fbf7; border: 1px solid #e2f2e9; border-radius: 12px; padding: 11px 12px;
}
.pf-icon { width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; background: linear-gradient(135deg, #11b75c, #099247); display: grid; place-items: center; }
.pf-icon .fa-solid { color: var(--white); font-size: 16px; }
.profile-facts small { display: block; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.6px; }
.profile-facts strong { display: block; font-size: 14.5px; color: var(--navy); font-weight: 600; line-height: 1.35; }
.profile-btn { width: 100%; justify-content: center; }

.profile-content h2 { font-size: 34px; font-weight: 700; letter-spacing: -0.4px; margin-bottom: 20px; }
.profile-bio p { font-size: 16px; line-height: 1.75; color: var(--text); margin-bottom: 16px; }
.profile-bio strong { color: var(--navy); font-weight: 600; }
.profile-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 26px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px;
}
.profile-stats div { padding: 20px 22px; }
.profile-stats div + div { border-left: 1px solid var(--line); }
.profile-stats strong { display: block; font-family: var(--font-head); font-size: 32px; color: var(--blue); line-height: 1.1; }
.profile-stats span { font-size: 13.5px; color: var(--muted); }

.training { background: var(--bg-soft); }
.section-head.center .eyebrow { margin-left: auto; margin-right: auto; }
.timeline { position: relative; max-width: 820px; margin: 0 auto; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 25px; top: 10px; bottom: 10px; width: 2px; background: #d7ede0; }
.timeline li { position: relative; display: flex; gap: 22px; align-items: flex-start; padding-bottom: 16px; }
.timeline li:last-child { padding-bottom: 0; }
.tl-icon {
  position: relative; z-index: 1; width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%;
  background: linear-gradient(135deg, #11b75c, #099247); border: 4px solid var(--bg-soft);
  display: grid; place-items: center; box-shadow: 0 8px 18px rgba(14, 171, 85, 0.25);
}
.tl-icon .fa-solid { color: var(--white); font-size: 18px; }
.tl-card {
  flex: 1; background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 20px; box-shadow: 0 6px 18px rgba(22, 92, 63, 0.05);
}
.tl-tag { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; color: var(--blue); background: #e8f6ee; border-radius: 999px; padding: 3px 10px; margin-bottom: 8px; }
.tl-card h3 { font-size: 17px; font-weight: 600; }
.tl-card p { font-size: 14.5px; color: var(--muted); margin-top: 2px; }

.expertise-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.exp-group { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; box-shadow: 0 10px 26px rgba(22, 92, 63, 0.06); }
.exp-group h3 { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 700; padding-bottom: 16px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.exp-group h3 .fa-solid { width: 40px; height: 40px; border-radius: 11px; background: #e8f6ee; color: var(--blue); display: grid; place-items: center; font-size: 17px; }
.exp-group ul { display: grid; gap: 10px; }
.exp-group li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text); }
.exp-group li .fa-circle-check { color: #16a34a; }

.approach {
  position: relative; max-width: 860px; margin: 40px auto 0; text-align: center;
  background: linear-gradient(135deg, #eef9f3, #f8fdfa); border: 1px solid #ddf0e5; border-radius: 18px;
  padding: 30px 40px;
}
.approach .fa-quote-left { font-size: 26px; color: var(--blue); opacity: 0.5; }
.approach p { font-family: var(--font-head); font-size: 20px; color: var(--navy); line-height: 1.5; margin-top: 8px; }

@media (max-width: 1024px) {
  .profile-inner { grid-template-columns: 1fr; gap: 40px; }
  .profile-card { max-width: 420px; margin-top: -90px; }
}
@media (max-width: 640px) {
  .page-hero { padding: 36px 0 90px; }
  .page-hero h1 { font-size: 30px; }
  .profile-card { margin-top: -70px; }
  .profile-content h2 { font-size: 26px; }
  .profile-stats div { padding: 14px 10px; }
  .profile-stats strong { font-size: 24px; }
  .profile-stats span { font-size: 11.5px; }
  .expertise-groups { grid-template-columns: 1fr; }
  .exp-group { padding: 22px 18px; }
  .approach { padding: 24px 18px; }
  .approach p { font-size: 17px; }
  .timeline li { gap: 14px; }
  .tl-card { padding: 14px 16px; }
}

/* ================= VIDEOS ================= */
.videos { background: var(--white); }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.video-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  box-shadow: 0 14px 34px rgba(22, 92, 63, 0.09);
}
.video-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; background: #124e35; cursor: pointer; }
/* 640x360 thumbnail: the largest size YouTube provides for these videos */
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 44, 30, 0) 55%, rgba(10, 44, 30, 0.45) 100%); }
.play-btn {
  position: absolute; left: 50%; top: 50%; z-index: 1; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  background: #ff0033; color: #ffffff; font-size: 26px;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.3), 0 12px 28px rgba(0, 0, 0, 0.35);
}
.play-btn .fa-play { margin-left: 4px; }
.yt-badge {
  position: absolute; left: 14px; bottom: 14px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, 0.95); color: var(--navy); font-size: 12.5px; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
}
.yt-badge .fa-youtube { color: #ff0033; font-size: 15px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-body { padding: 20px 24px 22px; }
.video-body h3 { font-size: 19px; font-weight: 700; line-height: 1.3; }
.video-body p { color: var(--muted); font-size: 14.5px; margin: 6px 0 12px; }
.video-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 600; font-size: 14px; }
.video-link .fa-solid { font-size: 12px; }

@media (max-width: 768px) {
  .video-grid { grid-template-columns: 1fr; gap: 20px; }
  .play-btn { width: 62px; height: 62px; font-size: 22px; }
  .video-body { padding: 16px 18px 18px; }
  .video-body h3 { font-size: 17px; }
}

/* testimonials without photos: centred quote card */
.testimonial { justify-content: center; text-align: center; padding: 36px 48px 32px; }
.testimonial > div { max-width: 640px; }
.quote-mark { font-size: 30px; color: var(--blue); opacity: 0.25; margin-bottom: 10px; }
.testimonial blockquote { font-size: 16.5px; line-height: 1.7; }
.testimonial .stars { margin: 14px 0 10px; }
@media (max-width: 640px) {
  .testimonial { padding: 26px 18px 22px; }
  .testimonial blockquote { font-size: 15px; }
}

/* ================= CONTACT PAGE ================= */
.location-list { display: flex; flex-direction: column; gap: 24px; }
.location-card {
  display: grid; grid-template-columns: 1fr 1.15fr; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 14px 34px rgba(22, 92, 63, 0.08);
}
.location-info { padding: 32px 34px; display: flex; flex-direction: column; justify-content: center; }
.location-num {
  align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase;
  color: var(--blue); background: #e8f6ee; border-radius: 999px; padding: 4px 12px; margin-bottom: 12px;
}
.location-info h3 { font-size: 22px; font-weight: 700; margin-bottom: 14px; }
.location-address { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.6; color: var(--text); }
.location-address strong { color: var(--navy); font-weight: 600; }
.loc-icon { width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; background: #e8f6ee; display: grid; place-items: center; }
.loc-icon .fa-solid { color: var(--blue); font-size: 15px; }
.location-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.location-actions .btn { gap: 8px; }
.location-map { position: relative; min-height: 280px; background: #ebf2ee; }
.location-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 860px) {
  .location-card { grid-template-columns: 1fr; }
  .location-info { padding: 24px 20px; }
  .location-map { min-height: 240px; }
  .location-actions .btn { flex: 1; justify-content: center; }
}

/* ================= CONTACT: GET IN TOUCH + WHATSAPP FORM ================= */
.touch { background: var(--white); padding-bottom: 24px; }
.touch-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.touch-info h2 { font-size: 36px; font-weight: 700; letter-spacing: -0.4px; }
.touch-info .sub { color: var(--muted); font-size: 15.5px; margin: 10px 0 24px; }
.touch-card {
  display: flex; align-items: center; gap: 14px; margin-bottom: 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
  box-shadow: 0 6px 18px rgba(22, 92, 63, 0.06);
}
.touch-icon { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: #e8f6ee; color: var(--blue); font-size: 18px; }
.touch-icon.wa { background: #e2f6ec; color: #1fa855; font-size: 22px; }
.touch-card small { display: block; font-size: 12.5px; color: var(--muted); }
.touch-card strong { display: block; font-size: 16.5px; color: var(--navy); font-weight: 600; word-break: break-all; }

.wa-form {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  padding: 32px; box-shadow: 0 18px 44px rgba(22, 92, 63, 0.1);
}
.wa-form h3 { font-size: 22px; font-weight: 700; }
.form-note { color: var(--muted); font-size: 14px; margin: 4px 0 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field em { color: #e3202a; font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--text);
  background: #f8fcfa; border: 1.5px solid #e0ede5; border-radius: 10px; padding: 12px 14px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #ffffff; box-shadow: 0 0 0 3px rgba(14, 171, 85, 0.12); }
.field .is-invalid { border-color: #e3202a; background: #fff6f6; }
.form-error { color: #c4161f; font-size: 14px; font-weight: 500; margin: -4px 0 14px; }
.btn-wa { width: 100%; justify-content: center; background: #1fa855; color: #ffffff; box-shadow: 0 10px 24px rgba(31, 168, 85, 0.3); }
.btn-wa .fa-whatsapp { font-size: 20px; }

@media (max-width: 960px) {
  .touch-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .touch-info h2 { font-size: 28px; }
  .wa-form { padding: 22px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* slide 2 services: full-picture cards (illustration fills the card, white label on a dark fade) */
.s2-services li {
  position: relative; overflow: hidden; justify-content: flex-end; gap: 0;
  height: 84px; padding: 0 4px 7px;
  background: #124e35; border: 2px solid #ffffff; border-radius: 14px;
  box-shadow: 0 10px 24px rgba(18, 78, 53, 0.22);
}
.s2-thumb {
  position: absolute; inset: 0; width: 100%; height: 100%;
  padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none;
}
/* 246-340px crops shown at ~125px wide: always scaled down, sharp */
.s2-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.s2-services li::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 44, 30, 0.95) 0%, rgba(10, 44, 30, 0.55) 38%, rgba(10, 44, 30, 0) 65%);
}
.s2-label { position: relative; z-index: 1; color: #ffffff; font-size: 11px; line-height: 1.15; }
@media (max-width: 640px) {
  .s2-services li { flex-direction: column; text-align: center; height: 80px; padding: 0 4px 7px; }
  .s2-thumb img { object-position: center 58%; }
  .s2-label { font-size: 12px; }
}

/* ================= SERVICES: clickable cards ================= */
a.specialty-card { display: block; color: inherit; }
.spec-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12px; font-weight: 600; color: #ffffff; opacity: 0.9; }
.spec-more .fa-solid { font-size: 10px; }

/* ================= SERVICE DETAIL PAGE ================= */
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.svc-block { margin-bottom: 44px; }
.svc-block h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.3px; margin-bottom: 16px; }
.svc-block > p { font-size: 16px; line-height: 1.75; color: var(--text); margin-bottom: 14px; }

.svc-ico { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #11b75c, #099247); color: #ffffff; font-size: 19px; }
.svc-ico.sm { width: 36px; height: 36px; border-radius: 10px; font-size: 15px; }
.svc-ico.red { background: linear-gradient(135deg, #f04a3e, #c4161f); }

.svc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 44px; }
.svc-box { background: #f5fcf8; border: 1px solid #dff0e6; border-radius: 18px; padding: 24px; }
.svc-box.warn { background: #fff7f6; border-color: #f6dcd9; }
.svc-box h3 { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.svc-list { display: grid; gap: 10px; }
.svc-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--text); }
.svc-list li .fa-solid { margin-top: 3px; font-size: 14px; }
.svc-list.ok li .fa-solid { color: #16a34a; }
.svc-box.warn .svc-list li .fa-solid { color: #e3202a; }

.svc-treats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.svc-treat { display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: 0 6px 18px rgba(22, 92, 63, 0.05); }
.svc-treat h4 { font-family: var(--font-head); font-size: 16px; color: var(--navy); margin-bottom: 4px; }
.svc-treat p { font-size: 14px; color: var(--muted); line-height: 1.5; }

.svc-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.svc-benefit { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px 12px; box-shadow: 0 6px 18px rgba(22, 92, 63, 0.05); }
.svc-benefit strong { font-size: 14.5px; color: var(--navy); font-weight: 600; line-height: 1.35; }

.svc-recovery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; }
.svc-recovery li { display: flex; gap: 12px; align-items: flex-start; background: linear-gradient(160deg, #f5fcf8, #ffffff); border: 1px solid #dff0e6; border-radius: 16px; padding: 18px; }
.rec-step { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: var(--navy); color: #ffffff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.svc-recovery h4 { font-family: var(--font-head); font-size: 15.5px; color: var(--blue); margin-bottom: 4px; }
.svc-recovery p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.svc-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.svc-note .fa-solid { color: var(--blue); margin-top: 3px; }

/* sidebar */
.svc-aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 18px; }
.svc-figure { border-radius: 18px; overflow: hidden; border: 4px solid #ffffff; box-shadow: 0 16px 36px rgba(18, 78, 53, 0.2); background: #124e35; }
/* 246-340px crops shown at ~332px: never upscaled noticeably */
.svc-figure img { width: 100%; height: 300px; object-fit: cover; }
.svc-doc { display: flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.svc-doc img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; object-position: 45% 25%; flex-shrink: 0; }
.svc-doc strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 16px; }
.svc-doc span { display: block; font-size: 13px; color: var(--blue); font-weight: 600; }
.svc-doc small { display: block; font-size: 12.5px; color: var(--muted); }
.svc-book { background: linear-gradient(135deg, #124e35, #09773b); color: #ffffff; border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.svc-book h3 { color: #ffffff; font-size: 19px; }
.svc-book p { color: #d1ebdc; font-size: 14px; margin-bottom: 4px; }
.svc-book .btn { justify-content: center; width: 100%; }
.svc-book .btn-primary { background: #ffffff; color: var(--blue); box-shadow: none; }
.svc-book-link { color: #ffffff; font-size: 13.5px; font-weight: 600; text-align: center; margin-top: 2px; }
.svc-book-link .fa-solid { font-size: 11px; margin-left: 4px; }
.svc-others { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.svc-others h3 { font-size: 17px; margin-bottom: 10px; }
.svc-others ul { display: grid; gap: 4px; max-height: 360px; overflow-y: auto; }
.svc-others a { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--navy); }
.svc-others a img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.svc-others a span { flex: 1; }
.svc-others a .fa-solid { font-size: 11px; color: var(--muted); }

@media (hover: hover) {
  .svc-others a:hover { background: #f4fbf7; }
}

@media (max-width: 1024px) {
  .svc-layout { grid-template-columns: 1fr; }
  .svc-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .svc-figure { grid-row: span 2; }
  .svc-benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .svc-block h2 { font-size: 24px; }
  .svc-two, .svc-treats, .svc-recovery { grid-template-columns: 1fr; }
  .svc-aside { grid-template-columns: 1fr; }
  .svc-figure { grid-row: auto; }
  .svc-box { padding: 20px 16px; }
}

/* ================= GALLERY (auto-scrolling strip) ================= */
.gallery { background: var(--bg-soft); overflow: hidden; }
.gallery-marquee {
  overflow: hidden; padding: 6px 0 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.gallery-track { display: flex; gap: 20px; width: max-content; list-style: none; animation: gallery-scroll 45s linear infinite; }
.gallery-track li {
  flex: 0 0 auto; width: 380px; border-radius: 18px; overflow: hidden;
  border: 4px solid #ffffff; box-shadow: 0 12px 28px rgba(22, 92, 63, 0.12); background: #ffffff;
}
/* 501px photos shown at ~372px: always scaled down, sharp */
.gallery-track img { display: block; width: 100%; height: 240px; object-fit: cover; }
/* move by exactly half the track (one full set) and loop; gap/2 keeps the seam even */
@keyframes gallery-scroll { to { transform: translateX(calc(-50% - 10px)); } }
@media (hover: hover) { .gallery-marquee:hover .gallery-track { animation-play-state: paused; } }
@media (max-width: 640px) {
  .gallery-track { gap: 12px; animation-duration: 35s; }
  .gallery-track li { width: 260px; border-width: 3px; }
  .gallery-track img { height: 170px; }
  @keyframes gallery-scroll { to { transform: translateX(calc(-50% - 6px)); } }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-track { animation: none; }
  .gallery-marquee { overflow-x: auto; }
}

/* ================= IMPACT IN NUMBERS ================= */
.impact {
  position: relative; overflow: hidden; padding: 80px 0 86px;
  background:
    radial-gradient(700px 360px at 15% 0%, rgba(24, 240, 121, 0.28), transparent 70%),
    radial-gradient(600px 340px at 90% 100%, rgba(16, 221, 109, 0.18), transparent 70%),
    linear-gradient(115deg, #114932 0%, #1a704c 55%, #165c3f 100%);
}
/* faint dotted texture */
.impact-glow {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.4px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, #000 60%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 40%, #000 60%, transparent);
}
.impact .container { position: relative; }
.section-head .eyebrow.eyebrow-light { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.25); color: #ffffff; box-shadow: none; margin-left: auto; margin-right: auto; }
.eyebrow-light .eyebrow-icon { background: rgba(255, 255, 255, 0.16); }
.eyebrow-light .eyebrow-icon .fa-solid { color: #ffffff; }
.impact-hl { background: linear-gradient(90deg, #18f079, #10dd6d); -webkit-background-clip: text; background-clip: text; color: transparent; }

.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 8px; }
.impact-card {
  position: relative; text-align: center; padding: 34px 20px 28px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}
/* accent bar on top of each card */
.impact-card::before {
  content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 56px; height: 4px; border-radius: 0 0 6px 6px; background: linear-gradient(90deg, #18f079, #10dd6d);
}
.impact-icon {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 18px;
  display: grid; place-items: center; font-size: 26px; color: #ffffff;
  background: linear-gradient(135deg, #0ed266, #10dd6d);
  box-shadow: 0 12px 26px rgba(14, 210, 102, 0.45);
  animation: impact-float 4s ease-in-out infinite;
}
.impact-card:nth-child(2) .impact-icon { animation-delay: -1s; }
.impact-card:nth-child(3) .impact-icon { animation-delay: -2s; }
.impact-card:nth-child(4) .impact-icon { animation-delay: -3s; }
@keyframes impact-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.impact-num { display: block; font-family: var(--font-head); font-size: 46px; font-weight: 800; color: #ffffff; line-height: 1; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.impact-card h3 { color: #ffffff; font-size: 16px; font-weight: 600; margin: 12px 0 4px; }
.impact-card p { color: #b6dbc5; font-size: 13.5px; }

@media (hover: hover) {
  .impact-card:hover { transform: translateY(-8px); border-color: rgba(24, 240, 121, 0.6); background: linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06)); }
}
@media (max-width: 1024px) { .impact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .impact { padding: 60px 0 64px; }
  .impact-grid { gap: 12px; }
  .impact-card { padding: 24px 10px 20px; border-radius: 18px; }
  .impact-icon { width: 50px; height: 50px; font-size: 20px; border-radius: 14px; margin-bottom: 12px; }
  .impact-num { font-size: 32px; }
  .impact-card h3 { font-size: 14px; }
  .impact-card p { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .impact-icon { animation: none; }
  .impact-card { transition: none; }
}

/* landscape service images: show the whole picture at card width (no zoom/crop),
   fading into the card's navy background behind the text */
.specialty-card.spec-wide { background: linear-gradient(180deg, #10a051 0%, #124e35 70%); }
.spec-wide .spec-media { aspect-ratio: 4 / 5.6; }
.spec-wide .spec-media img {
  height: auto; object-fit: contain;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}
@media (hover: hover) { .specialty-card.spec-wide:hover .spec-media img { transform: scale(1.03); } }
.svc-figure-wide { background: #10a051; }
.svc-figure-wide img { height: auto; object-fit: contain; }

/* ================= MID-PAGE CTA ================= */
.mid-cta-wrap { padding: 110px 0 40px; background: var(--white); }
.mid-cta {
  position: relative; display: flex; align-items: center; min-height: 340px;
  border-radius: 28px; padding: 48px 56px;
  background:
    radial-gradient(420px 300px at 78% 60%, rgba(24, 240, 121, 0.35), transparent 70%),
    linear-gradient(115deg, #f6fdf9 0%, #e8f7ee 50%, #d7f0e1 100%);
  border: 1px solid #ddf0e5;
  box-shadow: 0 24px 50px rgba(22, 92, 63, 0.12);
}
.mid-cta-text { position: relative; z-index: 2; max-width: 470px; }
.mid-cta h2 { font-size: 42px; font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
.mid-cta p { color: var(--muted); font-size: 16.5px; line-height: 1.65; margin: 16px 0 28px; }
.mid-cta .btn-primary { background: linear-gradient(135deg, #11b75c, #099247); box-shadow: 0 12px 26px rgba(14, 171, 85, 0.35); }
.mid-cta .btn .fa-solid { font-size: 15px; }
/* golfer breaks out above the card's top edge */
.mid-cta-img {
  position: absolute; right: -10px; bottom: 0; z-index: 1;
  width: auto; height: 132%; max-width: none;
  -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 88%, transparent 100%);
}
@media (max-width: 1024px) {
  .mid-cta { padding: 40px; }
  .mid-cta-img { right: -80px; height: 115%; }
  .mid-cta-text { max-width: 420px; }
}
@media (max-width: 768px) {
  .mid-cta-wrap { padding: 48px 0 24px; }
  .mid-cta { flex-direction: column; align-items: stretch; padding: 32px 22px 0; border-radius: 22px; overflow: hidden; }
  .mid-cta h2 { font-size: 30px; }
  .mid-cta p { font-size: 15px; }
  .mid-cta .btn { width: 100%; justify-content: center; }
  .mid-cta-img { position: static; height: auto; width: 125%; margin: 12px 0 0 -12%; }
}

/* ================= HEADER "BOOK APPOINTMENT" (pulsing) ================= */
.btn-book {
  position: relative; overflow: hidden; isolation: isolate;
  gap: 9px; padding: 12px 20px; border-radius: 999px; font-size: 14.5px; letter-spacing: 0.2px;
  color: #ffffff; background: linear-gradient(135deg, #0ed266 0%, #0eab55 45%, #06853f 100%);
  box-shadow: 0 8px 20px rgba(14, 171, 85, 0.35);
  animation: book-pulse 2s ease-out infinite;
}
.btn-book .fa-regular { font-size: 15px; }
/* light sweep across the button */
.btn-book::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  animation: book-shine 3s ease-in-out infinite;
}
/* glowing ring that pulses outwards ("blink") */
@keyframes book-pulse {
  0% { box-shadow: 0 8px 20px rgba(14, 171, 85, 0.35), 0 0 0 0 rgba(14, 210, 102, 0.6); }
  70% { box-shadow: 0 8px 20px rgba(14, 171, 85, 0.35), 0 0 0 12px rgba(14, 210, 102, 0); }
  100% { box-shadow: 0 8px 20px rgba(14, 171, 85, 0.35), 0 0 0 0 rgba(14, 210, 102, 0); }
}
@keyframes book-shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@media (hover: hover) {
  .btn-book:hover { transform: translateY(-2px); background: linear-gradient(135deg, #0ce36c 0%, #11b75c 45%, #099247 100%); }
}
.btn-book { transition: transform 0.25s ease, background 0.25s ease; }
@media (prefers-reduced-motion: reduce) {
  .btn-book, .btn-book::after { animation: none; }
}
@media (max-width: 640px) {
  .header-actions { gap: 10px; }
  .header-actions .btn-book { display: inline-flex; width: 42px; height: 42px; padding: 0; justify-content: center; }
  .header-actions .btn-book span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .btn-book .fa-regular { font-size: 17px; }
}

/* ================= "VIEW ALL SERVICES" (pulsing pill) ================= */
.link-blink {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 20px; border-radius: 999px;
  background: #ffffff; border: 1.5px solid #c7e8d5; color: var(--blue);
  box-shadow: 0 6px 16px rgba(14, 171, 85, 0.12);
  animation: link-pulse 2s ease-out infinite;
}
.link-blink .fa-solid { font-size: 13px; animation: link-nudge 1.2s ease-in-out infinite; }
@keyframes link-pulse {
  0% { box-shadow: 0 6px 16px rgba(14, 171, 85, 0.12), 0 0 0 0 rgba(14, 171, 85, 0.45); }
  70% { box-shadow: 0 6px 16px rgba(14, 171, 85, 0.12), 0 0 0 10px rgba(14, 171, 85, 0); }
  100% { box-shadow: 0 6px 16px rgba(14, 171, 85, 0.12), 0 0 0 0 rgba(14, 171, 85, 0); }
}
@keyframes link-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@media (hover: hover) {
  .link-blink:hover { background: var(--blue); color: #ffffff; border-color: var(--blue); }
}
.link-blink { transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease; }
@media (prefers-reduced-motion: reduce) {
  .link-blink, .link-blink .fa-solid { animation: none; }
}

/* footer social links */
.socials a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: #e8f6ee; color: var(--blue); font-size: 17px;
  transition: background 0.25s ease, color 0.25s ease;
}
@media (hover: hover) {
  .socials a:hover { background: var(--blue); color: #ffffff; }
}

/* =====================================================================
   SITE-WIDE INTERACTIONS: hover effects + motion
   (hover only on real pointers; all motion off with reduced-motion)
   ===================================================================== */

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:active { transform: translateY(0) scale(0.97); }
/* shine sweep (btn-book has its own looping shine) */
.btn:not(.btn-book)::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -75%; width: 50%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg); pointer-events: none;
}
.btn-outline:not(.btn-book)::after { background: linear-gradient(100deg, transparent, rgba(14, 171, 85, 0.12), transparent); }
.btn .fa-arrow-right, .btn .fa-arrow-right-long { transition: transform 0.25s ease; }

/* ---------- cards & images: base transitions ---------- */
.treatment-card, .video-card, .touch-card, .location-card, .tl-card, .svc-treat, .svc-benefit,
.svc-box, .exp-group, .profile-facts li, .doctor-stats div, .s2-services li, .testimonial,
.faq-item, .wa-form, .svc-doc, .hero-features li, .s2-stats > div {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.treatment-card img, .video-thumb img, .doctor-photo img, .svc-figure img, .profile-photo img { transition: transform 0.5s ease; }
.play-btn { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.nav a, .footer-col a, .breadcrumb a, .video-link, .svc-book-link, .faq-q, .slider-btn, .link-arrow { transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease; }

/* nav underline */
.nav a { position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.nav a.active::after { transform: scaleX(1); }

@media (hover: hover) {
  /* buttons */
  .btn:hover { transform: translateY(-3px); }
  .btn:not(.btn-book):hover::after { left: 130%; transition: left 0.7s ease; }
  .btn-primary:hover { box-shadow: 0 14px 30px rgba(14, 171, 85, 0.45); filter: brightness(1.06); }
  .btn-outline:hover { border-color: var(--blue); color: var(--blue); background: #f5fcf8; box-shadow: 0 12px 26px rgba(22, 92, 63, 0.12); }
  .btn-wa:hover { box-shadow: 0 14px 30px rgba(31, 168, 85, 0.45); filter: brightness(1.06); }
  .btn-white:hover { box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3); color: var(--blue-dark); }
  .svc-book .btn-primary:hover { background: #f5fcf8; }
  .btn:hover .fa-arrow-right, .btn:hover .fa-arrow-right-long { transform: translateX(5px); }

  /* nav + text links */
  .nav a:hover { color: var(--blue); }
  .nav a:hover::after { transform: scaleX(1); }
  .footer-col a:hover { color: var(--blue); padding-left: 4px; }
  .breadcrumb a:hover { color: #b2ecca; }
  .video-link:hover, .svc-book-link:hover { transform: translateX(4px); }
  .link-arrow:not(.link-blink):hover { transform: translateX(4px); }
  .call:hover { color: var(--blue); }

  /* controls */
  .slider-btn:hover { background: var(--blue); border-color: var(--blue); transform: scale(1.08); box-shadow: 0 10px 22px rgba(14, 171, 85, 0.35); }
  .slider-btn:hover svg { stroke: #ffffff; }
  .faq-q:hover { color: var(--blue); }
  .faq-item:hover { border-color: #c7e8d5; box-shadow: 0 8px 20px rgba(22, 92, 63, 0.07); }
  .socials a:hover { transform: translateY(-3px); }
  .hero-pager button:hover { background: var(--blue); }

  /* cards */
  .treatment-card:hover, .video-card:hover, .location-card:hover, .exp-group:hover, .wa-form:hover {
    transform: translateY(-6px); box-shadow: 0 22px 44px rgba(22, 92, 63, 0.16);
  }
  .treatment-card:hover img, .video-card:hover .video-thumb img { transform: scale(1.06); }
  .video-card:hover .play-btn { transform: translate(-50%, -50%) scale(1.12); box-shadow: 0 0 0 14px rgba(255, 255, 255, 0.35), 0 14px 30px rgba(0, 0, 0, 0.4); }
  .touch-card:hover, .tl-card:hover, .svc-doc:hover, .profile-facts li:hover { transform: translateX(6px); border-color: #c7e8d5; box-shadow: 0 12px 26px rgba(22, 92, 63, 0.1); }
  .svc-treat:hover, .svc-benefit:hover, .svc-box:hover, .doctor-stats div:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(22, 92, 63, 0.12); }
  .svc-treat:hover .svc-ico, .svc-benefit:hover .svc-ico { transform: rotate(-8deg) scale(1.08); }
  .s2-services li:hover { transform: translateY(-4px) scale(1.04); }
  .testimonial:hover { box-shadow: 0 20px 40px rgba(22, 92, 63, 0.12); }
  .doctor-photo:hover img, .svc-figure:hover img, .profile-photo:hover img { transform: scale(1.05); }
  .hero-features li:hover .feature-icon, .why-item:hover .why-icon { transform: scale(1.1) rotate(-6deg); }
  .float-card:hover { transform: translateY(-4px); }
}
.svc-ico, .feature-icon, .why-icon { transition: transform 0.3s ease; }
.float-card { transition: transform 0.3s ease; }

/* ---------- ambient motion ---------- */
/* hero stat cards gently float */
.fc-1, .fc-2 { animation: soft-float 5s ease-in-out infinite; }
.fc-2 { animation-delay: -2.5s; }
@keyframes soft-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
/* hero image breathes */
.hero-circle { animation: circle-breathe 6s ease-in-out infinite; }
@keyframes circle-breathe { 0%, 100% { scale: 1; } 50% { scale: 1.04; } }
/* dashed ring around the hero image slowly rotates */
.hero-ring { animation: ring-spin 40s linear infinite; }
@keyframes ring-spin { to { rotate: 360deg; } }
/* "Your Spine Our Priority" arrow nudges */
.hero-tagline svg { animation: tag-nudge 2.4s ease-in-out infinite; }
@keyframes tag-nudge { 0%, 100% { translate: 0 0; } 50% { translate: -4px 4px; } }
/* golfer CTA figure floats */
.mid-cta-img { animation: golfer-float 6s ease-in-out infinite; }
@keyframes golfer-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
/* play buttons pulse */
.play-btn::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6); animation: play-ring 2s ease-out infinite;
}
@keyframes play-ring { 0% { transform: scale(0.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn::after, .fc-1, .fc-2, .hero-circle, .hero-ring, .hero-tagline svg, .mid-cta-img, .play-btn::before { animation: none !important; transition: none !important; }
}

/* ================= JOURNEY ================= */
.journey { background: linear-gradient(180deg, #f5fcf8 0%, #ffffff 100%); }
.journey .section-head { text-align: center; margin-bottom: 40px; }
.journey .section-head .eyebrow { margin-left: auto; margin-right: auto; }
/* ---------- Journey steps (cards) ---------- */
.jr-steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; list-style: none; padding-top: 42px; }
/* dashed connector running through the icons */
.jr-steps::before {
  content: ""; position: absolute; top: 42px; left: 8%; right: 8%; height: 2px;
  background-image: repeating-linear-gradient(90deg, #a2d9b9 0 10px, transparent 10px 18px);
}
.jr-step {
  position: relative; text-align: center;
  background: #ffffff; border: 1px solid #e4f1e9; border-radius: 22px;
  padding: 56px 18px 26px;
  box-shadow: 0 10px 28px rgba(22, 92, 63, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
/* chevron between cards */
.jr-step:not(:last-child)::after {
  content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 11px;
  position: absolute; top: -9px; right: -19px; width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center; color: #ffffff; background: var(--blue);
  box-shadow: 0 4px 10px rgba(14, 171, 85, 0.35); z-index: 2;
}
.jr-icon {
  position: absolute; top: -40px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, #0edf6c, #0eab55); color: #ffffff; font-size: 30px;
  border: 5px solid #ffffff; box-shadow: 0 12px 26px rgba(14, 171, 85, 0.3);
  transition: transform 0.3s ease;
}
.jr-num {
  position: absolute; top: -4px; right: -8px; min-width: 28px; height: 28px; padding: 0 6px;
  border-radius: 999px; display: grid; place-items: center;
  background: #ffffff; color: var(--blue); font-family: var(--font-head); font-size: 12px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(22, 92, 63, 0.18);
}
.jr-step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.jr-step p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* highlighted step */
.jr-step.is-current { background: linear-gradient(160deg, #09773b, #124e35); border-color: transparent; box-shadow: 0 18px 38px rgba(18, 78, 53, 0.3); }
.jr-step.is-current h3 { color: #ffffff; }
.jr-step.is-current p { color: #c6e4d3; }
.jr-step.is-current .jr-icon { background: linear-gradient(135deg, #ff8a3d, #e3202a); box-shadow: 0 12px 26px rgba(227, 32, 42, 0.35); }
.jr-step.is-current .jr-num { color: #e3202a; }

@media (hover: hover) {
  .jr-step:hover { transform: translateY(-8px); border-color: #c7e8d5; box-shadow: 0 22px 44px rgba(22, 92, 63, 0.14); }
  .jr-step:hover .jr-icon { transform: translateX(-50%) scale(1.08) rotate(-6deg); }
}

@media (max-width: 1024px) {
  .jr-steps { grid-template-columns: 1fr; gap: 16px; max-width: 560px; margin: 0 auto; padding-top: 0; }
  .jr-steps::before { top: 30px; bottom: 30px; left: 39px; right: auto; width: 2px; height: auto;
    background-image: repeating-linear-gradient(180deg, #a2d9b9 0 10px, transparent 10px 18px); }
  .jr-step { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; align-items: center; text-align: left; padding: 16px 18px; }
  .jr-step::after { display: none; }
  .jr-icon { position: relative; top: auto; left: auto; transform: none; grid-row: 1 / 3; width: 64px; height: 64px; font-size: 24px; border-width: 4px; }
  .jr-num { min-width: 24px; height: 24px; font-size: 11px; top: -6px; right: -6px; }
  .jr-step h3 { font-size: 17px; margin-bottom: 2px; align-self: end; }
  .jr-step p { align-self: start; }
}
@media (max-width: 1024px) and (hover: hover) {
  .jr-step:hover .jr-icon { transform: scale(1.06) rotate(-6deg); }
}
@media (prefers-reduced-motion: reduce) { .jr-step, .jr-icon { transition: none; } }

/* banner service tiles: whole tile is a link */
.tile-link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.tile-link:focus-visible { outline: 3px solid #ffffff; outline-offset: -5px; }
.s1-services { margin: 0 0 26px; }

/* footer developer credit */
.dev-credit a { color: var(--blue); font-weight: 600; transition: color 0.25s ease; }
@media (hover: hover) { .dev-credit a:hover { color: var(--blue-dark); text-decoration: underline; } }

/* ================= HERO: mobile layout ================= */
.tile-dup { display: none !important; }
@media (max-width: 768px) {
  /* flatten the text column so the big image can sit right under the headline */
  .hero-inner, .s2-inner { display: flex; flex-direction: column; align-items: stretch; min-height: 0; overflow: hidden; }
  .hero-content, .s2-content { display: contents; }
  .hero-content > *, .s2-content > *, .tiles-marquee { order: 4; min-width: 0; max-width: 100%; }
  .hero-content > .eyebrow, .s2-content > .s2-eyebrow { order: 1; margin-top: 28px; align-self: flex-start; }
  .hero-content > h1, .s2-content > .s2-title { order: 2; }
  .hero-visual, .s2-visual { order: 3; }
  .hero-content > .hero-features, .s2-content > .s2-stats { margin-bottom: 56px; }

  .hero-visual { padding-top: 40px; }
  .s2-visual { padding: 12px 0 8px; }

  /* big image: pops in each time its slide becomes active, then floats */
  .hero-slide.is-active .hero-img,
  .hero-slide.is-active .s2-visual img {
    animation: hero-pop 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both, hero-bob 5s ease-in-out 0.9s infinite;
  }

  /* service tiles: auto-scrolling squares */
  .tiles-marquee {
    overflow: hidden; margin: 0 -16px 24px; padding: 6px 0 10px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }
  .tiles-marquee .s2-services {
    display: flex; gap: 10px; width: max-content; max-width: none; margin: 0;
    grid-template-columns: none; animation: tiles-scroll 18s linear infinite;
  }
  .tiles-marquee .s2-services li {
    flex: 0 0 auto; width: 112px; height: 112px; padding: 0 6px 9px; border-radius: 16px;
  }
  .tiles-marquee .tile-dup { display: flex !important; }
  .tiles-marquee .s2-label { font-size: 11.5px; }
}
@keyframes hero-pop { from { opacity: 0; transform: translateY(30px) scale(0.88); } to { opacity: 1; transform: none; } }
@keyframes hero-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
/* move exactly one set (half the track) + half the gap, then loop */
@keyframes tiles-scroll { to { transform: translateX(calc(-50% - 5px)); } }
@media (prefers-reduced-motion: reduce) {
  .tiles-marquee .s2-services { animation: none; }
  .tiles-marquee { overflow-x: auto; }
  .hero-slide.is-active .hero-img, .hero-slide.is-active .s2-visual img { animation: none; }
}

/* mobile: compact 3-column feature strip (matches slide 2 stats) so both slides are similar height */
@media (max-width: 640px) {
  .hero-features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 14px 4px; }
  .hero-features li {
    flex-direction: column; text-align: center; gap: 8px; padding: 0 6px;
    font-size: 11.5px; line-height: 1.3; white-space: normal; min-width: 0; overflow-wrap: anywhere;
  }
  .hero-features li + li { border-top: 0; padding-top: 0; border-left: 1px solid var(--line); }
  .feature-icon { width: 34px; height: 34px; border-radius: 10px; }
  .feature-icon svg { width: 16px; height: 16px; }
  .hero-content > .hero-features, .s2-content > .s2-stats { margin-bottom: 52px; }
}

/* ================= HOME SPECIALTIES: bottom button ================= */
.spec-more-wrap { display: flex; justify-content: center; margin-top: 36px; }
@media (max-width: 640px) {
  /* top-right link is replaced by the centred button below the cards */
  #specialties .section-head.split > .link-arrow { display: none; }
  .spec-more-wrap { margin-top: 24px; }
  .spec-more-wrap .link-blink { width: 100%; justify-content: center; }
}

/* doctor section: tidy tags + stats on phones */
@media (max-width: 640px) {
  .doctor-tags { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .doctor-tags li { text-align: center; font-size: 13px; padding: 9px 8px; }
  .doctor-tags li:first-child { grid-column: 1 / -1; }
  .doctor-stats div { text-align: center; padding: 14px 6px; }
  .doctor-stats strong { font-size: 24px; }
  .doctor-stats span { display: block; font-size: 11.5px; line-height: 1.35; margin-top: 4px; }
}


/* golfer CTA on phones: heading, text, golfer, then the button at the bottom */
@media (max-width: 768px) {
  .mid-cta { padding-bottom: 22px; }
  .mid-cta-text { display: contents; }
  .mid-cta h2 { order: 1; }
  .mid-cta p { order: 2; margin-bottom: 4px; }
  .mid-cta-img { order: 3; position: relative; z-index: 1; right: auto; bottom: auto; }
  .mid-cta .btn { order: 4; position: relative; z-index: 2; margin-top: 18px; }
}

/* advanced treatments: 2x2 grid on phones */
@media (max-width: 640px) {
  .treatment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .treatment-card { border-radius: 14px; }
  .treatment-card img { aspect-ratio: 1 / 1; }
  .treatment-body { padding: 12px 12px 14px; }
  .treatment-body h3 { font-size: 14px; line-height: 1.3; margin-bottom: 4px; }
  .treatment-body p { font-size: 12.5px; line-height: 1.45; }
}

/* ================= FOOTER: dropdowns on phones ================= */
@media (max-width: 640px) {
  .footer-grid { gap: 0; }
  .footer-brand { margin-bottom: 18px; }
  .footer-col { border-top: 1px solid var(--line); }
  .footer-col:last-child { border-bottom: 1px solid var(--line); }
  .footer-col h4 {
    display: flex; justify-content: space-between; align-items: center;
    margin: 0; padding: 16px 2px; cursor: pointer; user-select: none;
  }
  .footer-col h4::after {
    content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 13px;
    color: var(--blue); transition: transform 0.3s ease;
  }
  .footer-col.open h4::after { transform: rotate(180deg); }
  .footer-col ul { max-height: 0; overflow: hidden; padding: 0 2px; transition: max-height 0.4s ease, padding 0.4s ease; }
  .footer-col.open ul { max-height: 420px; padding-bottom: 12px; }
}

/* about page stats: tidy on phones */
@media (max-width: 640px) {
  .profile-stats div { text-align: center; padding: 14px 6px; }
  .profile-stats strong { font-size: 26px; }
  .profile-stats span { display: block; font-size: 11.5px; line-height: 1.35; margin-top: 4px; }
}

/* ================= LOGO THEME: red accents ================= */
.text-blue, .why-content h2 span, .s2-title em { color: var(--red); }
.hero h1 .hl { background: linear-gradient(90deg, #e3202a, #f0543c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.impact-hl { background: linear-gradient(90deg, #ff6b5e, #ffb199); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spec-body::before, .impact-card::before { background: linear-gradient(90deg, #e3202a, #ff7a4a); }
/* header booking button in logo red */
.btn-book { background: linear-gradient(135deg, #f0453f 0%, #e3202a 50%, #b8141d 100%); box-shadow: 0 8px 20px rgba(227, 32, 42, 0.35); }
@keyframes book-pulse {
  0% { box-shadow: 0 8px 20px rgba(227, 32, 42, 0.35), 0 0 0 0 rgba(227, 32, 42, 0.55); }
  70% { box-shadow: 0 8px 20px rgba(227, 32, 42, 0.35), 0 0 0 12px rgba(227, 32, 42, 0); }
  100% { box-shadow: 0 8px 20px rgba(227, 32, 42, 0.35), 0 0 0 0 rgba(227, 32, 42, 0); }
}
@media (hover: hover) { .btn-book:hover { background: linear-gradient(135deg, #f45a52 0%, #e8333a 50%, #c4161f 100%); } }
.stars, .trust-stars { color: #f5a400; }
/* softer greens where the conversion came out neon */
.hero-circle { background: radial-gradient(circle at 40% 35%, #d3f1e1 0%, #8fd6b0 60%, #5fc08f 100%); }
.impact-icon { background: linear-gradient(135deg, #22b866, #05a050); box-shadow: 0 12px 26px rgba(5, 160, 80, 0.4); }
.impact-hl { background: linear-gradient(90deg, #ff8a7a, #ffc2ad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ================= HOME DOCTOR: extra content ================= */
.doctor-bio-2 { margin-top: -8px; }
.doctor-bio strong { color: var(--navy); font-weight: 600; }
.doctor-creds { margin: 4px 0 24px; max-width: 600px; }
.doctor-creds h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.doctor-creds ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.doctor-creds li {
  display: flex; align-items: flex-start; gap: 10px;
  background: #ffffff; border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.dc-icon { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: #e6f6ee; color: var(--blue); font-size: 14px; }
.doctor-creds strong { display: block; font-size: 13.5px; color: var(--navy); line-height: 1.3; }
.doctor-creds small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.doctor-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (hover: hover) { .doctor-creds li:hover { transform: translateY(-3px); border-color: #bfe6cf; box-shadow: 0 10px 22px rgba(15, 59, 43, 0.08); } }
@media (max-width: 640px) {
  .doctor-creds ul { grid-template-columns: 1fr; }
  .doctor-actions .btn { width: 100%; justify-content: center; }
}

/* ================= HERO on small laptops / tablets landscape (769-1024px) =================
   keep text + image side by side instead of stacking the image underneath */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-inner, .s2-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; padding: 0 24px; min-height: 560px; }
  .hero-content, .s2-content { padding: 40px 0; }
  .hero h1, .s2-title { font-size: 44px; }
  .hero-lead { font-size: 16px; margin: 16px 0 20px; }
  .hero-visual { min-height: 560px; padding-top: 0; justify-content: flex-end; }
  .hero-img { max-width: 440px; }
  .hero-circle { width: 300px; height: 300px; }
  .hero-tagline { font-size: 24px; right: 0; top: 24px; }
  .s2-visual { padding-bottom: 0; justify-content: flex-end; }
  .s2-visual img { max-width: 460px; }
  .hero-features li { padding: 0 10px; font-size: 12.5px; }
  .feature-icon { width: 34px; height: 34px; }
  .s1-services, .s2-services { max-width: 380px; }
  .s2-stats > div { padding: 0 10px; }
  .s2-stats strong { font-size: 16px; }
}
/* golfer may extend past the card edge: never let it cause sideways page scroll */
.mid-cta-wrap { overflow-x: clip; }

/* new landscape banner image (img/banner.webp): larger, circle centred behind his back */
@media (min-width: 1025px) {
  .slide-1 .hero-img { width: 135%; max-width: 780px; margin-right: -110px; }
  .slide-1 .hero-circle { width: 430px; height: 430px; left: 18%; top: 16%; }
  .slide-1 .hero-ring { width: 520px; height: 520px; left: 13%; top: 9%; }
}
@media (max-width: 768px) {
  .slide-1 .hero-visual { padding-top: 36px; }
  .slide-1 .hero-img { width: 112%; max-width: none; margin: 0 -6%; }
  .slide-1 .hero-circle { width: 230px; height: 230px; left: 50%; top: auto; bottom: 8px; transform: translateX(-50%); }
}

/* =====================================================================
   HERO BANNER v3 (single slide, matches the design mockup)
   ===================================================================== */
.hb {
  position: relative; overflow: hidden; display: block;
  padding: 36px 0 30px;
  background:
    linear-gradient(90deg, rgba(247, 252, 249, 0.97) 0%, rgba(247, 252, 249, 0.92) 45%, rgba(240, 250, 244, 0.86) 70%, rgba(236, 248, 241, 0.84) 100%),
    url("../img/hero-bg.webp") center / cover no-repeat;
}
.hb-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.hb-content { position: relative; z-index: 2; padding: 10px 0; }

.hb-eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: 2.2px; text-transform: uppercase; color: var(--navy); margin-bottom: 14px; }
.hb-title { font-size: 64px; font-weight: 800; line-height: 1.02; letter-spacing: -1.6px; color: var(--navy); }
.hb-title span { color: var(--red); }
.hb-lead { font-size: 18px; color: var(--text); line-height: 1.55; max-width: 470px; margin: 16px 0 22px; }
.hb-lead strong { color: var(--navy); font-weight: 700; }

/* service picture tiles */
.hb-tiles { display: grid; grid-template-columns: repeat(5, 78px); gap: 14px; margin-bottom: 24px; list-style: none; }
.hb-tiles a { display: block; color: var(--navy); }
.hb-tile-img {
  display: block; width: 78px; height: 60px; border-radius: 10px; overflow: hidden;
  background: #0b2a5b; box-shadow: 0 6px 14px rgba(15, 59, 43, 0.14); border: 2px solid #ffffff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hb-tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.hb-tile-label { display: block; margin-top: 7px; font-size: 12px; font-weight: 600; line-height: 1.25; }

.hb-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.hb-book { background: linear-gradient(135deg, #0a7a42, #075c32) !important; padding: 15px 24px; border-radius: 8px; }
.hb-book .fa-arrow-right { font-size: 14px; margin-left: 4px; }
.hb-buttons .btn-outline { border-radius: 8px; border: 1.5px solid #7cc4a0; }

/* right visual */
.hb-visual { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 470px; }
.hb-circle {
  position: absolute; width: 400px; height: 400px; border-radius: 50%; left: 50%; top: 50%; transform: translate(-58%, -50%);
  background: radial-gradient(circle at 40% 35%, #d9f2e4 0%, #9ed9b8 70%, #7fcca2 100%);
}
.hb-ring {
  position: absolute; width: 480px; height: 480px; border-radius: 50%; left: 50%; top: 50%; transform: translate(-58%, -50%);
  border: 2px dashed rgba(5, 160, 80, 0.25);
}
/* 1536px source shown at ~720px: only ever scaled down */
.hb-img { position: relative; z-index: 1; width: 128%; max-width: 760px; height: auto; margin: 0 -14% -30px; }
.hb-script {
  position: absolute; z-index: 2; right: -6px; top: 34px;
  font-family: "Caveat", cursive; font-size: 30px; line-height: 1.05; color: var(--navy);
  transform: rotate(-10deg); text-align: center;
}
.hb-script svg { display: block; width: 110px; height: 26px; margin: 2px auto 0; }

/* feature strip across the bottom */
.hb-features {
  position: relative; z-index: 3; list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #ffffff; border: 1px solid #e3efe8; border-radius: 16px;
  padding: 16px 10px; margin-top: 8px; box-shadow: 0 14px 34px rgba(15, 59, 43, 0.1);
}
.hb-features li { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 14px; font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.3; }
.hb-features li + li { border-left: 1px solid #e3efe8; }
.hb-feat-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: #e6f6ee; color: #0a7a42; font-size: 19px; transition: transform 0.3s ease; }

@media (hover: hover) {
  .hb-tiles a:hover .hb-tile-img { transform: translateY(-4px); box-shadow: 0 12px 22px rgba(15, 59, 43, 0.22); }
  .hb-tiles a:hover .hb-tile-img img { transform: scale(1.08); }
  .hb-tiles a:hover .hb-tile-label { color: var(--blue); }
  .hb-features li:hover .hb-feat-icon { transform: scale(1.1) rotate(-6deg); }
}

/* entrance animation */
.hb-content > *, .hb-img, .hb-features { animation: hb-up 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hb-title { animation-delay: 0.08s; }
.hb-lead { animation-delay: 0.16s; }
.hb-tiles { animation-delay: 0.24s; }
.hb-buttons { animation-delay: 0.32s; }
.hb-img { animation: hb-pop 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s both, hb-float 6s ease-in-out 1.1s infinite; }
.hb-features { animation-delay: 0.45s; }
.hb-ring { animation: ring-spin 40s linear infinite; }
@keyframes hb-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes hb-pop { from { opacity: 0; transform: translateY(30px) scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes hb-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* laptops / small screens */
@media (max-width: 1100px) {
  .hb-title { font-size: 52px; }
  .hb-tiles { grid-template-columns: repeat(5, 70px); gap: 10px; }
  .hb-tile-img { width: 70px; height: 54px; }
  .hb-circle { width: 330px; height: 330px; }
  .hb-ring { width: 400px; height: 400px; }
  .hb-script { font-size: 25px; }
}
/* tablets + phones: stack, image right under the headline */
@media (max-width: 768px) {
  .hb { padding: 24px 0 28px; }
  .hb-inner { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hb-content { display: contents; }
  .hb-eyebrow { order: 1; font-size: 11px; letter-spacing: 1.6px; margin-bottom: 10px; }
  .hb-title { order: 2; font-size: 40px; letter-spacing: -1px; }
  .hb-visual { order: 3; min-height: 0; margin: 10px 0 4px; }
  .hb-lead { order: 4; font-size: 15.5px; margin: 12px 0 18px; }
  .hb-tiles { order: 5; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .hb-buttons { order: 6; }
  .hb-tile-img { width: 100%; height: auto; aspect-ratio: 1; }
  .hb-tile-label { font-size: 10.5px; text-align: center; }
  .hb-buttons .btn { width: 100%; justify-content: center; }
  .hb-img { width: 112%; max-width: none; margin: 0 -6% -10px; }
  .hb-circle { width: 230px; height: 230px; top: 55%; transform: translate(-50%, -50%); }
  .hb-ring { width: 280px; height: 280px; top: 55%; transform: translate(-50%, -50%); }
  .hb-script { font-size: 19px; right: 0; top: 0; }
  .hb-script svg { width: 70px; height: 18px; }
  .hb-features { grid-template-columns: 1fr 1fr; row-gap: 14px; margin-top: 20px; padding: 14px 8px; }
  .hb-features li { flex-direction: column; text-align: center; gap: 8px; font-size: 12px; padding: 0 6px; }
  .hb-features li:nth-child(3) { border-left: 0; }
  .hb-feat-icon { width: 38px; height: 38px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hb-content > *, .hb-img, .hb-features, .hb-ring { animation: none !important; }
}
/* soft, blurred clinic photo behind the banner (keeps signage from distracting) */
.hb { background: none; isolation: isolate; }
.hb::before {
  content: ""; position: absolute; inset: -20px; z-index: -2;
  background: url("../img/hero-bg.webp") center / cover no-repeat;
  filter: blur(5px) saturate(0.8);
}
.hb::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(247, 252, 249, 0.96) 0%, rgba(247, 252, 249, 0.9) 45%, rgba(240, 250, 244, 0.78) 72%, rgba(236, 248, 241, 0.74) 100%);
}

/* ================= HOME "OUR SPECIALTIES" v2: light picture cards ================= */
.sp2-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.sp2-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #ffffff; border: 1px solid #e3efe8; border-radius: 16px;
  padding: 8px; box-shadow: 0 6px 18px rgba(15, 59, 43, 0.06); color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.sp2-media { display: block; border-radius: 12px; overflow: hidden; background: #f3faf6; }
/* 318x384 crops shown at ~180x120: only ever scaled down */
.sp2-media img { display: block; width: 100%; height: 120px; object-fit: cover; object-position: center 35%; transition: transform 0.5s ease; }
.sp2-body { flex: 1; display: flex; align-items: flex-end; gap: 8px; padding: 12px 4px 4px 6px; }
.sp2-text { flex: 1; min-width: 0; align-self: flex-start; }
.sp2-card h3 { font-size: 14.5px; font-weight: 700; color: var(--navy); line-height: 1.25; margin-bottom: 5px; }
.sp2-card p { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.sp2-arrow {
  width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid #bfe6cf; color: var(--blue); font-size: 12px; background: #ffffff;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
@media (hover: hover) {
  .sp2-card:hover { transform: translateY(-6px); border-color: #bfe6cf; box-shadow: 0 18px 36px rgba(15, 59, 43, 0.12); }
  .sp2-card:hover .sp2-media img { transform: scale(1.06); }
  .sp2-card:hover .sp2-arrow { background: var(--blue); color: #ffffff; border-color: var(--blue); transform: translateX(3px); }
}
@media (max-width: 1100px) { .sp2-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 768px) { .sp2-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 560px) {
  .sp2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sp2-media img { height: 110px; }
  .sp2-card h3 { font-size: 13.5px; }
  .sp2-card p { font-size: 12px; }
  .sp2-arrow { width: 28px; height: 28px; }
}

/* specialties v3: 5 columns, mint picture backgrounds, red accent line */
.sp2-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sp2-media { background: radial-gradient(120% 90% at 70% 30%, #e3f6ec 0%, #f4fbf7 60%, #ffffff 100%); }
.sp2-media img { height: 130px; mix-blend-mode: multiply; object-position: center 40%; }
.sp2-text::before { content: ""; display: block; width: 26px; height: 3px; border-radius: 3px; background: var(--red, #e3202a); margin-bottom: 7px; }
@media (max-width: 1100px) { .sp2-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 768px) { .sp2-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sp2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sp2-media img { height: 110px; } }

/* services page / detail pages with the new light pictures */
.sp2-dark .sp2-media { background: #0b2a5b; }
.sp2-dark .sp2-media img { mix-blend-mode: normal; }
.svc-figure-light { background: radial-gradient(120% 90% at 70% 30%, #e3f6ec 0%, #f4fbf7 60%, #ffffff 100%); border-color: #ffffff; box-shadow: 0 16px 36px rgba(15, 59, 43, 0.12); }
.svc-figure-light img { height: auto; aspect-ratio: auto; object-fit: contain; mix-blend-mode: multiply; }
.svc-others a img { background: #f3faf6; }

/* banner service tiles: light illustrations */
.hb-tile-img { background: radial-gradient(120% 90% at 70% 30%, #e3f6ec 0%, #f4fbf7 60%, #ffffff 100%); border-color: #e3efe8; }
.hb-tile-img img { mix-blend-mode: multiply; object-position: center 35%; }

/* why section image: doctor with spine model */
.why-frame img { object-position: 45% center; }

/* real photos on service cards / pages */
.sp2-photo .sp2-media { background: #e9f1ee; }
.sp2-photo .sp2-media img { mix-blend-mode: normal; object-position: center; }
.svc-figure-photo { background: #e9f1ee; }
.svc-figure-photo img { height: 300px; object-fit: cover; mix-blend-mode: normal; }
.svc-others a img { object-fit: cover; }

/* ================= HOME DOCTOR SECTION: alignment ================= */
@media (min-width: 1025px) {
  .doctor-inner { grid-template-columns: 440px minmax(0, 1fr); gap: 64px; align-items: start; }
  /* photo starts level with the heading and stays in view while the text scrolls */
  .doctor-media { position: sticky; top: 110px; margin-top: 8px; }
}
/* every block in the text column shares one width */
.doctor-content > .doctor-bio,
.doctor-creds, .doctor-tags, .doctor-stats { max-width: 640px; }
.doctor-creds { margin: 6px 0 22px; }
.doctor-creds ul { gap: 12px; }
.doctor-creds li { align-items: center; min-height: 76px; }
.doctor-tags { margin-bottom: 22px; }
.doctor-stats { width: 100%; margin-bottom: 28px; }
.doctor-actions { max-width: 640px; }

/* mid CTA with a full photo (doctor showing knee X-ray) instead of the cut-out golfer */
.mid-cta-wrap { padding-top: 56px; }
.mid-cta { overflow: hidden; min-height: 360px; }
.mid-cta-img.mid-cta-photo {
  position: absolute; top: 0; right: 0; bottom: 0; left: auto;
  width: 52%; height: 100%; max-width: none; object-fit: cover; object-position: center;
  transform: none; translate: none; animation: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}
@media (max-width: 1024px) { .mid-cta-img.mid-cta-photo { width: 48%; } }
@media (max-width: 768px) {
  .mid-cta { padding-bottom: 22px; }
  .mid-cta-img.mid-cta-photo {
    position: relative; order: 3; width: calc(100% + 44px); height: auto; aspect-ratio: 16 / 9;
    margin: 14px -22px 0; border-radius: 0;
    -webkit-mask-image: none; mask-image: none;
  }
}

/* booking banner: new spine figure (img/cta-spine.webp, transparent) */
.cta-img.cta-img-v2 { right: 4%; top: auto; bottom: 0; height: 112%; width: auto; max-width: none; }
@media (max-width: 1024px) { .cta-img.cta-img-v2 { right: -6%; height: 100%; } }
@media (max-width: 640px) {
  .cta-img.cta-img-v2 { left: 50%; right: auto; bottom: 0; height: 240px; transform: translateX(-50%); opacity: 1; }
}

/* booking banner: full photo (doctor explaining a spine model), fading into the green */
.cta-img.cta-photo {
  left: auto; right: 0; top: 0; bottom: 0; width: 50%; height: 100%; max-width: none;
  object-fit: cover; object-position: 40% center; transform: none; opacity: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
}
@media (max-width: 1024px) { .cta-img.cta-photo { width: 46%; } }
@media (max-width: 640px) {
  .cta-card { padding-bottom: 0; flex-direction: column; }
  .cta-img.cta-photo {
    position: relative; left: auto; right: auto; width: 100%; height: 220px; transform: none;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 25%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 25%);
  }
}
/* banner without service tiles: a bit more room above the buttons */
.hb-lead { margin-bottom: 28px; }
/* banner tiles: 4 services */
.hb-tiles.hb-tiles-4 { grid-template-columns: repeat(4, 86px); gap: 14px; }
.hb-tiles-4 .hb-tile-img { width: 86px; height: 66px; }
.hb-tile-img.hb-tile-photo img { mix-blend-mode: normal; object-position: center; }
.hb-lead { margin-bottom: 22px; }
@media (max-width: 768px) {
  .hb-tiles.hb-tiles-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .hb-tiles-4 .hb-tile-img { width: 100%; height: auto; aspect-ratio: 1; }
}

/* ================= ABOUT: profile alignment ================= */
/* card and text start on the same line (no overlap into the green header) */
.profile-card, .profile-card[class] { margin-top: 0; }
.profile.section { padding-top: 64px; }
.profile-inner { align-items: start; }
.profile-content .eyebrow { margin-top: 0; }
@media (min-width: 1025px) {
  .profile-card { position: sticky; top: 100px; }
}
@media (max-width: 1024px) {
  .profile-card { margin-top: 0; }
  .profile.section { padding-top: 40px; }
}
@media (max-width: 640px) {
  .page-hero { padding-bottom: 40px; }
  .profile-card { margin-top: 0; }
}

/* ================= BOOKING POPUP ================= */
.bk-lock, .bk-lock body { overflow: hidden; }
.bk-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; }
.bk-modal[hidden] { display: none; }
.bk-backdrop { position: absolute; inset: 0; background: rgba(8, 30, 20, 0.55); backdrop-filter: blur(3px); opacity: 0; transition: opacity 0.25s ease; }
.bk-dialog {
  position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto;
  background: #ffffff; border-radius: 20px; padding: 26px 26px 20px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
  opacity: 0; transform: translateY(24px) scale(0.97); transition: opacity 0.25s ease, transform 0.25s ease;
}
.bk-modal.is-open .bk-backdrop { opacity: 1; }
.bk-modal.is-open .bk-dialog { opacity: 1; transform: none; }
.bk-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #f1f5f3; color: var(--navy); font-size: 16px; cursor: pointer; transition: background 0.2s ease, transform 0.2s ease; }
@media (hover: hover) { .bk-close:hover { background: #e3202a; color: #ffffff; transform: rotate(90deg); } }
.bk-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding-right: 36px; }
.bk-icon { width: 50px; height: 50px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; font-size: 22px; color: #ffffff; background: linear-gradient(135deg, #f0453f, #e3202a 50%, #b8141d); box-shadow: 0 10px 22px rgba(227, 32, 42, 0.3); }
.bk-head h2 { font-size: 22px; font-weight: 700; margin: 0; }
.bk-head p { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.bk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bk-form .field { margin-bottom: 14px; }
.bk-form textarea { min-height: 80px; }
.bk-form .btn-wa { width: 100%; justify-content: center; margin-top: 4px; }
.bk-note { display: flex; align-items: center; gap: 8px; justify-content: center; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin-top: 12px; text-align: center; }
.bk-note a { color: var(--blue); font-weight: 600; }
@media (max-width: 560px) {
  .bk-dialog { padding: 22px 16px 16px; border-radius: 18px; }
  .bk-row { grid-template-columns: 1fr; gap: 0; }
  .bk-head h2 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { .bk-backdrop, .bk-dialog { transition: none; } }

/* banner headline in the logo's green ("Pain-Free" stays logo red) */
.hb-title { color: #05a050; }
.hb-title span { color: #e3202a; }
/* service card titles in the logo's green */
.sp2-card h3 { color: #05a050; }
/* mid CTA photo: keep the X-ray and the casted foot in view */
.mid-cta-img.mid-cta-photo { object-position: 70% center; }
/* mid CTA: lighter card + short fade so the photo keeps its natural colours */
.mid-cta {
  background: linear-gradient(115deg, #fbfdfc 0%, #f4faf7 45%, #ffffff 100%);
  border-color: #e6efea;
}
.mid-cta-img.mid-cta-photo {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 9%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 9%);
}

/* clinic timings (contact cards + footer) */
.location-hours { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; }
.location-hours ul { display: grid; gap: 6px; flex: 1; }
.location-hours li { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14.5px; line-height: 1.5; }
.location-hours li span { min-width: 108px; color: var(--muted); }
.location-hours li strong { color: var(--navy); font-weight: 600; }
.location-hours em { font-style: normal; font-weight: 500; color: #e3202a; }
.foot-hours { font-size: 13px; line-height: 1.6; }
.foot-hours b { color: var(--navy); font-weight: 600; }
/* mid CTA photo: anchor to the top so the clinician's face is never cropped */
.mid-cta-img.mid-cta-photo { object-position: 70% 0%; }
/* show the whole photo (nothing cropped) - her head sits at the very top edge of the original */
.mid-cta-img.mid-cta-photo { object-fit: contain; object-position: right center; background: #ffffff; }
