/* ========================= THEME TOKENS ========================= */
:root {
  --teal-900: #0f5850;
  --teal-800: #136457;
  --teal-700: #1c7d70;
  --teal-600: #1f8f7f;
  --teal-500: #2fa89a;
  --teal-400: #37b3a3;
  --teal-100: #d3f0e9;
  --teal-50: #eafaf6;
  --ink-900: #14232c;
  --ink-700: #33454f;
  --ink-500: #6b7c88;
  --white: #ffffff;
  --bg-soft: #f6fbfa;
  --shadow-soft: 0 20px 45px -20px rgba(20, 60, 55, 0.25);
  --shadow-card: 0 12px 30px -14px rgba(20, 60, 55, 0.18);
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink-900);
  background: var(--bg-soft);
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
body.nav-open::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(15, 35, 32, 0.45);
  z-index: 9;
  animation: fadeUp .25s var(--ease);
}

h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; margin: 0 0 .5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--ink-500); line-height: 1.65; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.accent { color: var(--teal-500); }
.eyebrow {
  display: inline-block;
  color: var(--teal-600);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.eyebrow.center { display: block; text-align: center; }
h2.center { text-align: center; }

/* ========================= CURSOR GLOW / PROGRESS ========================= */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 420px; height: 420px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(47,168,154,0.12) 0%, rgba(47,168,154,0) 70%);
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity .3s ease;
  will-change: transform;
}

.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--teal-500), var(--teal-800));
  z-index: 1000;
  transition: width .1s linear;
}

/* ========================= BUTTONS ========================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s ease;
  white-space: nowrap;
}
.btn .arrow { transition: transform .3s var(--ease); display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }
.btn:hover { transform: translateY(-3px); }
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn.full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--teal-500);
  color: var(--white);
  box-shadow: 0 10px 24px -8px rgba(47,168,154,0.6);
}
.btn-primary:hover { background: var(--teal-600); box-shadow: 0 16px 32px -8px rgba(47,168,154,0.7); }

.btn-light {
  background: var(--white);
  color: var(--teal-700);
  box-shadow: var(--shadow-card);
}
.btn-light:hover { box-shadow: var(--shadow-soft); }

.btn-outline {
  background: transparent;
  color: var(--teal-700);
  border: 1.5px solid var(--teal-100);
}
.btn-outline:hover { background: var(--teal-50); border-color: var(--teal-500); }

/* ========================= HEADER ========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  transition: box-shadow .3s ease, padding .3s ease;
}
.site-header.scrolled { box-shadow: 0 8px 30px -12px rgba(20,60,55,0.15); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  transition: padding .3s ease;
}
.site-header.scrolled .header-inner { padding: 12px 32px; }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--ink-900);
}
.logo.light { color: var(--white); }
.logo-mark { display: inline-flex; transition: transform .4s var(--ease); }
.logo:hover .logo-mark { transform: rotate(20deg) scale(1.05); }

.main-nav { display: flex; gap: 36px; }
.main-nav a {
  position: relative;
  font-weight: 500;
  color: var(--ink-700);
  padding: 6px 0;
  transition: color .25s ease;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--teal-500);
  transition: width .3s var(--ease);
}
.main-nav a:hover { color: var(--teal-600); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.icon-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--ink-700);
  border: 1.5px solid var(--teal-100);
  transition: all .3s ease;
}
.icon-btn:hover { background: var(--teal-500); color: var(--white); border-color: var(--teal-500); transform: translateY(-2px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink-900); border-radius: 2px; transition: all .3s ease; }

/* ========================= HERO ========================= */
.hero { padding: 20px 0 40px; position: relative; z-index: 1; }
.hero-card {
  position: relative;
  background: linear-gradient(135deg, var(--teal-400) 0%, var(--teal-800) 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 60px 56px;
  box-shadow: var(--shadow-soft);
}

.hero-blob { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.08); pointer-events: none; }
.blob-1 { width: 260px; height: 260px; top: -80px; right: 10%; }
.blob-2 { width: 160px; height: 160px; bottom: -40px; right: 30%; background: rgba(255,255,255,0.06); }
.blob-3 { width: 400px; height: 400px; top: 20%; left: -180px; background: rgba(255,255,255,0.05); }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.call-card {
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 380px;
  box-shadow: var(--shadow-card);
}
.call-card h3 { color: var(--ink-900); font-size: 20px; }
.call-card p { font-size: 14px; margin-bottom: 18px; }
.call-form { display: flex; flex-direction: column; gap: 12px; }
.call-form input {
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--teal-100);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.call-form input:focus { border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(47,168,154,0.15); }
.form-success {
  display: none;
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--teal-800);
  font-weight: 600;
}
.form-success.show { display: block; animation: fadeUp .5s var(--ease); }

.hero-note { color: rgba(255,255,255,0.85); font-size: 14px; max-width: 380px; margin: 24px 0; }
.hero-title { color: var(--white); font-size: 40px; line-height: 1.2; font-weight: 800; }

.hero-right { position: relative; display: flex; justify-content: center; align-items: center; height: 100%; }

.hero-photo-frame {
  position: relative;
  width: 100%;
  max-width: 320px;
  padding: 10px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 28px;
  box-shadow: 0 30px 50px -20px rgba(6,30,27,0.45);
}
.hero-doctor {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top center;
  border-radius: 20px;
  display: block;
}
.hero-badge {
  position: absolute;
  left: -24px;
  bottom: 28px;
  background: var(--white);
  color: var(--ink-900);
  padding: 12px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.hero-badge strong { font-family: 'Fraunces', serif; font-size: 20px; color: var(--teal-600); }
.hero-badge span { font-size: 11px; color: var(--ink-500); white-space: nowrap; }

.hero-cta { position: absolute; bottom: -18px; right: -14px; }

/* ========================= REVEAL / SCROLL ANIMATIONS ========================= */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal[data-reveal="left"] { transform: translateX(-40px); }
.reveal[data-reveal="left"].in-view { transform: translateX(0); }
.reveal[data-reveal="right"] { transform: translateX(40px); }
.reveal[data-reveal="right"].in-view { transform: translateX(0); }

/* ========================= FLOAT / SWAY KEYFRAMES ========================= */
@keyframes floatSlow { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-18px) rotate(3deg); } }
@keyframes floatMed { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes floatFast { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes sway { 0%,100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulseRing { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

.float-slow { animation: floatSlow 6s ease-in-out infinite; transform-origin: center; }
.float-med { animation: floatMed 4.5s ease-in-out infinite; }
.float-fast { animation: floatFast 3s ease-in-out infinite; }
.sway { animation: sway 4s ease-in-out infinite; transform-origin: top center; }

/* ========================= ABOUT ========================= */
.about { padding: 110px 0 60px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-image { position: relative; }
.about-image img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.stat-float {
  position: absolute;
  bottom: -30px; left: 30px;
  background: var(--teal-500);
  color: var(--white);
  padding: 22px 26px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  max-width: 200px;
}
.stat-float .counter { font-size: 34px; font-weight: 800; display: block; font-family: 'Fraunces', serif; }
.stat-float p { color: rgba(255,255,255,0.9); font-size: 13px; margin: 4px 0 0; }

.about-content h2 { font-size: 34px; }
.stat-row { display: flex; gap: 20px; margin-top: 30px; }
.stat-box {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease);
}
.stat-box:hover { transform: translateY(-6px); }
.stat-box .counter { font-size: 30px; font-weight: 800; color: var(--ink-900); font-family: 'Fraunces', serif; display: block; }
.stat-box p { font-size: 13px; margin-top: 6px; }

/* ========================= SERVICES ========================= */
.services { padding: 60px 0; }
.section-head { margin-bottom: 50px; }
.section-head h2 { font-size: 34px; }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-card);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  transition-delay: calc(var(--d, 0) * 60ms);
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-soft); }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--teal-50);
  color: var(--teal-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: background .3s ease, color .3s ease, transform .4s var(--ease);
}
.service-card:hover .service-icon { background: var(--teal-500); color: var(--white); transform: rotate(-8deg); }
.service-card h3 { font-size: 18px; }
.service-card p { font-size: 14px; margin-bottom: 0; }

/* ========================= SPECIALISTS ========================= */
.specialists { padding: 60px 0; }
.doctors-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 24px; }
.doctor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  transition-delay: calc(var(--d, 0) * 60ms);
}
.doctor-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-soft); }
.doctor-card img { width: 96px; height: 96px; object-fit: cover; object-position: top center; border-radius: 50%; margin: 0 auto 16px; border: 3px solid var(--teal-50); transition: transform .4s var(--ease); }
.doctor-card:hover img { transform: scale(1.06); }
.doctor-card h3 { font-size: 16px; margin-bottom: 4px; }
.doctor-card .role { display: block; color: var(--teal-600); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }
.doctor-card p { font-size: 13px; }
.doctor-featured { background: linear-gradient(160deg, var(--teal-50), var(--white)); }
.doctor-featured img { width: 120px; height: 120px; border-color: var(--teal-100); }

/* ========================= THERAPY ========================= */
.therapy { padding: 80px 0; }
.therapy-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.therapy-image { position: relative; }
.therapy-image img { width: 100%; aspect-ratio: 3/3.6; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-soft); }
.therapy-image::before {
  content: '';
  position: absolute;
  top: 24px; left: -24px;
  width: 90%; height: 94%;
  border-radius: var(--radius-xl);
  border: 2px solid var(--teal-100);
  z-index: -1;
}
.therapy-item { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--teal-100); }
.therapy-item:last-child { border-bottom: none; }
.therapy-item .num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-700);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s ease, color .3s ease;
}
.therapy-item:hover .num { background: var(--teal-500); color: var(--white); }
.therapy-item h4 { font-size: 17px; margin-bottom: 4px; }
.therapy-item p { font-size: 14px; margin: 0; }

/* ========================= TESTIMONIALS ========================= */
.testimonials { padding: 60px 0 80px; }
.testi-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.testi-track {
  display: flex;
  min-width: 0;
  transition: transform .6s var(--ease);
}
.testi-card {
  flex: 0 0 100%;
  min-width: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 46px 60px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.testi-card p { font-size: 20px; color: var(--ink-900); font-style: italic; max-width: 640px; margin: 0 auto 20px; }
.testi-author strong { display: block; font-family: 'Fraunces', serif; }
.testi-author span { color: var(--teal-600); font-size: 13px; }
.testi-dots { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.testi-dots span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--teal-100);
  cursor: pointer;
  transition: background .3s ease, transform .3s ease;
}
.testi-dots span.active { background: var(--teal-500); transform: scale(1.3); }

/* ========================= PRICES ========================= */
.prices { padding: 60px 0; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  transition-delay: calc(var(--d, 0) * 60ms);
}
.price-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-soft); }
.price-card h3 { font-size: 18px; }
.price-card .price { font-size: 36px; font-weight: 800; color: var(--teal-700); margin-bottom: 20px; }
.price-card .price span { font-size: 14px; color: var(--ink-500); font-weight: 500; }
.price-card ul { margin-bottom: 26px; }
.price-card li { padding: 8px 0; font-size: 14px; color: var(--ink-700); border-bottom: 1px dashed var(--teal-100); }
.price-card li:last-child { border-bottom: none; }
.price-highlight { background: linear-gradient(160deg, var(--teal-500), var(--teal-800)); color: var(--white); transform: scale(1.03); }
.price-highlight h3, .price-highlight .price { color: var(--white); }
.price-highlight .price span { color: rgba(255,255,255,0.8); }
.price-highlight li { color: rgba(255,255,255,0.9); border-bottom-color: rgba(255,255,255,0.2); }
.price-highlight:hover { transform: scale(1.03) translateY(-10px); }
.badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--white); color: var(--teal-700);
  padding: 6px 16px; border-radius: 999px; font-size: 12px; font-weight: 700;
  box-shadow: var(--shadow-card);
}

/* ========================= CTA ========================= */
.cta { padding: 40px 0 90px; }
.cta-inner {
  position: relative;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-900));
  border-radius: var(--radius-xl);
  padding: 70px 40px;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.cta-inner h2 { color: var(--white); font-size: 32px; position: relative; z-index: 1; }
.cta-inner p { color: rgba(255,255,255,0.85); max-width: 480px; margin: 0 auto 26px; position: relative; z-index: 1; }
.cta-inner > .btn { position: relative; z-index: 1; }
.cta-blob {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  top: -100px; left: -60px;
  pointer-events: none;
}

/* ========================= FOOTER ========================= */
.site-footer { background: var(--ink-900); color: rgba(255,255,255,0.7); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-brand p { color: rgba(255,255,255,0.55); margin-top: 14px; font-size: 14px; max-width: 260px; }
.footer-col h4 { color: var(--white); font-size: 15px; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; margin-bottom: 10px; font-size: 14px; color: rgba(255,255,255,0.6); transition: color .25s ease; }
.footer-col a:hover { color: var(--teal-400); }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
  flex: 1; padding: 12px 14px; border-radius: 10px; border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06); color: var(--white); font-family: inherit; outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.footer-bottom {
  display: flex; justify-content: space-between;
  padding: 24px 32px; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px; color: rgba(255,255,255,0.45);
}

/* ========================= BACK TO TOP ========================= */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--teal-500);
  color: var(--white);
  border: none;
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all .35s var(--ease);
  z-index: 200;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px) scale(1.05); }

/* ========================= RESPONSIVE ========================= */

/* Larger touch targets + no double-tap zoom delay on any device with a coarse pointer */
@media (pointer: coarse) {
  a, button, .btn, .icon-btn, .nav-toggle, .testi-dots span { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
  .main-nav a { padding: 12px 0; }
}

@media (max-width: 960px) {
  .hero-grid, .about-grid, .therapy-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-right { margin-top: 20px; }
  .price-highlight { transform: none; }
}

@media (max-width: 900px) {
  /* header content (logo + nav + actions) starts clipping below ~840px, so switch to the drawer nav here rather than at phone-only widths */
  .main-nav { position: fixed; top: 0; right: 0; height: 100vh; width: min(280px, 80vw); background: var(--white); flex-direction: column; padding: max(100px, env(safe-area-inset-top) + 90px) 30px 30px; gap: 4px; transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: -10px 0 40px rgba(0,0,0,0.1); z-index: 10; }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 17px; }
  .nav-toggle { display: flex; }
  .header-actions .icon-btn { display: none; }
}

@media (max-width: 720px) {
  /* section rhythm: desktop paddings are far too generous on a phone screen */
  .hero { padding: 14px 0 28px; }
  .hero-card { padding: 32px 20px; border-radius: 26px; }
  .hero-title { font-size: 26px; }
  .about { padding: 56px 0 40px; }
  .services { padding: 40px 0; }
  .specialists { padding: 40px 0; }
  .therapy { padding: 48px 0; }
  .testimonials { padding: 40px 0 56px; }
  .prices { padding: 40px 0; }
  .cta { padding: 24px 0 56px; }
  .cta-inner { padding: 44px 24px; }
  .cta-inner h2 { font-size: 26px; }
  .cta-blob { width: 180px; height: 180px; top: -70px; left: -50px; }
  .section-head { margin-bottom: 32px; }
  .section-head h2, h2.center { font-size: 26px; }

  .services-grid, .doctors-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; padding: 20px 20px; }
  .testi-card { padding: 32px 22px; }
  .testi-card p { font-size: 17px; }
  .stat-row { flex-direction: column; }
  .hero-right { padding-left: 24px; margin-top: 24px; }
  .hero-badge { left: -8px; padding: 10px 14px; }
  .hero-cta { right: 0; bottom: -14px; }
  .therapy-image::before { left: -12px; }

  /* iOS Safari zooms the page on input focus if font-size is under 16px */
  .call-form input, .newsletter-form input { font-size: 16px; }

  .newsletter-form { flex-direction: column; align-items: stretch; }
  .newsletter-form button { justify-content: center; }

  /* bigger hit area around the small testimonial dots */
  .testi-dots span { position: relative; }
  .testi-dots span::before { content: ''; position: absolute; inset: -10px; }

  .back-to-top { bottom: max(20px, env(safe-area-inset-bottom)); right: max(20px, env(safe-area-inset-right)); }
  .site-header { padding-top: env(safe-area-inset-top); }
}

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

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .header-inner { padding: 14px 20px; }
  .logo { font-size: 17px; }
  .logo-mark svg { width: 28px; height: 28px; }
  .header-actions { gap: 8px; }
  .header-actions .btn-primary { padding: 9px 14px; font-size: 12px; }
  .header-actions .btn-primary .arrow { display: none; }
}

@media (max-width: 360px) {
  /* hero and footer already repeat this CTA; drop it here so the logo has room to breathe */
  .header-actions .btn-primary { display: none; }

  .hero-title { font-size: 23px; }
  .call-card { padding: 22px; max-width: 100%; }
  .call-card h3 { font-size: 18px; }
  .hero-photo-frame { max-width: 260px; }
  .hero-badge strong { font-size: 17px; }
  .hero-badge span { font-size: 10px; }

  .about-content h2, .therapy-list h2 { font-size: 24px; }
  .stat-float { padding: 16px 18px; max-width: 160px; left: 16px; bottom: -20px; }
  .stat-float .counter { font-size: 26px; }

  .doctor-featured img { width: 100px; height: 100px; }
  .price-card { padding: 28px 22px; }
  .price-card .price { font-size: 30px; }

  .testi-card p { font-size: 16px; }
  .btn { padding: 13px 22px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
