/* ==========================================================================
   Pain 2 Cure & Rehab — design system
   Brand teal sampled from the clinic logo (#0E7A96 core, #007CA1 saturated).
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  /* brand teal — from logo */
  --teal-50:  #EDF8FB;
  --teal-100: #D4EDF4;
  --teal-200: #A9DBE8;
  --teal-300: #6FC1D6;
  --teal-400: #3AA3BF;
  --teal-500: #1787A6;
  --teal-600: #0E7A96;
  --teal-700: #0A5F76;
  --teal-800: #0B4A5C;
  --teal-900: #0B3644;

  /* warm accent — used only for primary CTAs so they read against all the teal */
  --coral-400: #FF8A6B;
  --coral-500: #FB6B47;
  --coral-600: #E8542F;

  --ink:      #0B2830;
  --ink-soft: #24454F;
  --muted:    #5B7883;
  --muted-2:  #8AA3AC;

  --bg:       #F6FAFB;
  --surface:  #FFFFFF;
  --surface-2:#F0F6F8;
  --line:     #DCE9ED;
  --line-2:   #E9F1F4;

  --ok: #12855F;

  /* type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* fluid type scale */
  --t-xs:   0.8125rem;
  --t-sm:   0.9063rem;
  --t-base: 1rem;
  --t-lg:   clamp(1.0625rem, 0.4vw + 0.97rem, 1.1875rem);
  --t-xl:   clamp(1.25rem, 0.7vw + 1.1rem, 1.5rem);
  --t-2xl:  clamp(1.5rem, 1.4vw + 1.2rem, 2rem);
  --t-3xl:  clamp(1.875rem, 2.4vw + 1.35rem, 2.75rem);
  --t-4xl:  clamp(2.25rem, 4vw + 1.3rem, 3.75rem);
  --t-5xl:  clamp(2.75rem, 5.6vw + 1.3rem, 4.75rem);

  /* space */
  --gap: clamp(1rem, 2vw, 1.5rem);
  --section-y: clamp(4rem, 8vw, 7.5rem);
  --wrap: 1200px;
  --wrap-narrow: 780px;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  --sh-sm: 0 1px 2px rgba(11, 54, 68, .06), 0 2px 8px rgba(11, 54, 68, .04);
  --sh:    0 2px 6px rgba(11, 54, 68, .06), 0 12px 28px -8px rgba(11, 54, 68, .12);
  --sh-lg: 0 4px 12px rgba(11, 54, 68, .07), 0 30px 60px -18px rgba(11, 54, 68, .22);
  --sh-teal: 0 12px 32px -10px rgba(14, 122, 150, .45);
  --sh-coral: 0 12px 30px -10px rgba(251, 107, 71, .5);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: .5s;

  --header-h: 74px;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* offset anchor targets so the sticky header never covers a heading */
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, picture, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--teal-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  font-variation-settings: "SOFT" 20, "WONK" 0;
}
h1 { font-size: var(--t-5xl); letter-spacing: -0.035em; }
h2 { font-size: var(--t-3xl); letter-spacing: -0.028em; }
h3 { font-size: var(--t-xl); }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--teal-400);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.125rem, 4vw, 2.5rem); }
.narrow { max-width: var(--wrap-narrow); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: var(--surface-2); }
.section--surface { background: var(--surface); }
.section--ink {
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(58,163,191,.28), transparent 60%),
    radial-gradient(700px 420px at 92% 108%, rgba(23,135,166,.3), transparent 62%),
    var(--teal-900);
  color: #CFE6EC;
}
.section--ink h2, .section--ink h3 { color: #fff; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--teal-700); color: #fff; padding: .7rem 1.1rem;
  border-radius: var(--r-sm); font-weight: 600; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- section heading block ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body);
  font-size: var(--t-xs); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-600); margin: 0 0 .9rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal-500), var(--teal-300));
}
.section--ink .eyebrow { color: var(--teal-200); }
.section--ink .eyebrow::before { background: linear-gradient(90deg, var(--teal-300), transparent); }
.head { max-width: 62ch; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.head--center { margin-inline: auto; text-align: center; }
.head--center .eyebrow { justify-content: center; }
.head p { color: var(--muted); font-size: var(--t-lg); }
.section--ink .head p { color: #A9CBD5; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--teal-600);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-body);
  font-weight: 650; font-size: var(--t-sm); letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out), background-color .2s, color .2s, border-color .2s;
  isolation: isolate; overflow: hidden;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
/* sheen sweep on hover */
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.28) 48%, transparent 76%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { --btn-bg: var(--coral-500); box-shadow: var(--sh-coral); }
.btn--primary:hover { --btn-bg: var(--coral-600); box-shadow: 0 18px 40px -12px rgba(251,107,71,.62); }
.btn--teal { --btn-bg: var(--teal-600); box-shadow: var(--sh-teal); }
.btn--teal:hover { --btn-bg: var(--teal-700); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--teal-700);
  border-color: var(--line); background: var(--surface);
  box-shadow: var(--sh-sm);
}
.btn--ghost:hover { border-color: var(--teal-300); --btn-fg: var(--teal-800); background: var(--teal-50); }
.btn--wa { --btn-bg: #25D366; --btn-fg: #07331A; box-shadow: 0 12px 30px -10px rgba(37,211,102,.5); }
.btn--wa:hover { --btn-bg: #1EBE5A; }
.btn--onink {
  --btn-bg: rgba(255,255,255,.07); --btn-fg: #fff;
  border-color: rgba(255,255,255,.28); backdrop-filter: blur(6px);
}
.btn--onink:hover { --btn-bg: rgba(255,255,255,.15); }
.btn--lg { padding: 1.1rem 2rem; font-size: var(--t-base); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* text link with animated arrow */
.tlink {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 650; font-size: var(--t-sm); color: var(--teal-700);
  text-decoration: none;
}
.tlink svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.tlink:hover svg { transform: translateX(4px); }
.tlink:hover { color: var(--teal-800); }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: height .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.header.is-stuck {
  height: 62px;
  background: rgba(255,255,255,.92);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -14px rgba(11,54,68,.3);
}
.header__inner { display: flex; align-items: center; gap: 1.25rem; width: 100%; }
.brand { display: flex; align-items: center; margin-right: auto; text-decoration: none; flex: none; }
.brand img {
  height: clamp(34px, 4.4vw, 44px); width: auto;
  transition: height .3s var(--ease);
}
.header.is-stuck .brand img { height: 32px; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  position: relative;
  padding: .5rem .85rem;
  border-radius: var(--r-sm);
  font-size: var(--t-sm); font-weight: 550;
  color: var(--ink-soft); text-decoration: none;
  transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .28rem;
  height: 2px; border-radius: 2px; background: var(--teal-500);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.nav a:hover { color: var(--teal-700); }
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--teal-700); font-weight: 650; }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.header__cta { display: flex; align-items: center; gap: .6rem; flex: none; }
.header__tel {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: var(--t-sm); font-weight: 650; color: var(--teal-700);
  text-decoration: none; padding: .5rem .75rem; border-radius: var(--r-pill);
  transition: background-color .2s;
}
.header__tel:hover { background: var(--teal-50); }
.header__tel svg { width: 16px; height: 16px; }

/* burger */
.burger {
  display: none;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span { display: block; width: 19px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; transition: transform .3s var(--ease), background-color .2s; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* mobile drawer */
.drawer {
  position: fixed; inset: var(--header-h) 0 auto; z-index: 99;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--sh-lg);
  padding: 1rem clamp(1.125rem, 4vw, 2.5rem) 1.75rem;
  display: grid; gap: .25rem;
  transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}
.drawer.is-open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
.drawer a.drawer__link {
  padding: .85rem .25rem;
  font-size: var(--t-lg); font-weight: 600; font-family: var(--font-display);
  color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--line-2);
}
.drawer a.drawer__link[aria-current="page"] { color: var(--teal-700); }
.drawer .btn-row { margin-top: 1rem; }
.drawer .btn { flex: 1 1 auto; }

@media (max-width: 940px) {
  .nav, .header__tel { display: none; }
  .burger { display: flex; }
  .header__cta .btn--primary { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 7vw, 6rem);
  overflow: hidden;
  background:
    radial-gradient(1100px 620px at 78% -8%, var(--teal-50), transparent 62%),
    radial-gradient(760px 460px at 4% 18%, #FFF3EE, transparent 58%),
    var(--bg);
}
.hero__grid {
  display: grid; gap: clamp(2.5rem, 5vw, 4.5rem);
  grid-template-columns: 1.05fr .95fr; align-items: center;
}
@media (max-width: 940px) { .hero__grid { grid-template-columns: 1fr; } }

.hero h1 { margin-bottom: .35em; }
.hero h1 .accent {
  background: linear-gradient(100deg, var(--teal-500), var(--teal-700) 60%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic;
  font-variation-settings: "SOFT" 40, "WONK" 1;
}
.hero__lede { font-size: var(--t-lg); color: var(--muted); max-width: 52ch; margin-bottom: 1.9rem; }
.hero .btn-row { margin-bottom: 2.25rem; }

/* trust strip */
.trust { display: flex; flex-wrap: wrap; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; }
.trust__item { display: flex; flex-direction: column; gap: .1rem; }
.trust__n {
  font-family: var(--font-display); font-size: var(--t-2xl); font-weight: 600;
  color: var(--ink); line-height: 1; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.trust__l { font-size: var(--t-xs); color: var(--muted); font-weight: 550; letter-spacing: .02em; }
.trust__sep { width: 1px; align-self: stretch; background: var(--line); }
@media (max-width: 560px) { .trust__sep { display: none; } }

/* google rating badge */
.grating {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .55rem .95rem .55rem .7rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-pill); box-shadow: var(--sh-sm);
  text-decoration: none; color: var(--ink);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .2s;
}
.grating:hover { transform: translateY(-2px); box-shadow: var(--sh); border-color: var(--teal-200); }
.grating__g { width: 20px; height: 20px; flex: none; }
.grating__stars { display: flex; gap: 1px; }
.grating__stars svg { width: 13px; height: 13px; color: #F5A623; }
.grating__txt { font-size: var(--t-xs); font-weight: 650; line-height: 1.25; }
.grating__txt span { display: block; font-weight: 500; color: var(--muted); }

/* hero collage */
.hero__art { position: relative; }
.collage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: .9rem;
}
.collage figure {
  margin: 0; overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--sh);
  background: var(--surface-2);
}
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.collage figure:hover img { transform: scale(1.06); }
.collage figure:nth-child(1) { aspect-ratio: 3/4; }
.collage figure:nth-child(2) { aspect-ratio: 1/1; align-self: end; }
.collage figure:nth-child(3) { aspect-ratio: 1/1; }
.collage figure:nth-child(4) { aspect-ratio: 4/3; align-self: start; }
/* soft floating blobs behind the collage */
.blob { position: absolute; border-radius: 50%; filter: blur(48px); opacity: .5; z-index: -1; pointer-events: none; }
.blob--1 { width: 320px; height: 320px; background: var(--teal-200); top: -8%; right: -12%; animation: float1 16s ease-in-out infinite; }
.blob--2 { width: 260px; height: 260px; background: #FFD9C9; bottom: -10%; left: -14%; animation: float2 19s ease-in-out infinite; }
@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-24px, 26px) scale(1.1); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(20px, -22px) scale(1.08); } }

/* floating stat card over the collage */
.floatcard {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: .7rem;
  padding: .75rem 1rem;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px) saturate(180%);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--r);
  box-shadow: var(--sh-lg);
}
/* Straddle the collage corners rather than sitting over the middle of a photo —
   the source images have faces near their centres. */
.floatcard--br { right: -22px; bottom: -18px; animation: bob 5.5s ease-in-out infinite; }
.floatcard--tl { left: -26px; top: -20px; animation: bob 6.5s ease-in-out infinite .6s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.floatcard__ico {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center; border-radius: 11px;
  background: var(--teal-50); color: var(--teal-600);
}
.floatcard__ico svg { width: 20px; height: 20px; }
.floatcard b { display: block; font-size: var(--t-sm); color: var(--ink); line-height: 1.2; }
.floatcard small { font-size: 11.5px; color: var(--muted); }
@media (max-width: 620px) { .floatcard { display: none; } }

/* ---------- marquee ---------- */
.marquee {
  --mq-dur: 42s;
  position: relative; overflow: hidden;
  padding-block: 1.1rem;
  background: var(--teal-900);
  border-block: 1px solid var(--teal-800);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: scroll var(--mq-dur) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item {
  display: inline-flex; align-items: center; gap: .8rem;
  padding-inline: 1.15rem;
  font-size: var(--t-sm); font-weight: 550; color: #BFDEE7; white-space: nowrap;
}
.marquee__item::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--teal-400); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- generic card ---------- */
.card {
  position: relative;
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .3s;
  overflow: hidden;
}
/* teal wash that rises on hover */
.card::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 0;
  background: linear-gradient(180deg, transparent, rgba(14,122,150,.05));
  transition: height .4s var(--ease-out);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: var(--teal-200); }
.card:hover::before { height: 100%; }
.card > * { position: relative; }
.card h3 { font-size: var(--t-lg); margin-bottom: .4rem; }
.card p { font-size: var(--t-sm); color: var(--muted); margin: 0; }

.card__ico {
  width: 46px; height: 46px; margin-bottom: 1rem;
  display: grid; place-items: center; border-radius: 13px;
  background: linear-gradient(140deg, var(--teal-50), var(--teal-100));
  color: var(--teal-600);
  transition: transform .35s var(--ease-out), background .35s;
}
.card__ico svg { width: 23px; height: 23px; }
.card:hover .card__ico { transform: scale(1.08) rotate(-4deg); background: linear-gradient(140deg, var(--teal-100), var(--teal-200)); }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* ---------- condition card (links to booking, pre-tagged) ---------- */
.cond {
  display: flex; flex-direction: column;
  text-decoration: none;
}
.cond h3 { color: var(--ink); }
.cond__cta {
  margin-top: 1rem; display: inline-flex; align-items: center; gap: .4rem;
  font-size: var(--t-xs); font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--teal-600);
  opacity: 0; transform: translateY(4px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.cond__cta svg { width: 14px; height: 14px; }
.cond:hover .cond__cta, .cond:focus-visible .cond__cta { opacity: 1; transform: translateY(0); }
@media (hover: none) { .cond__cta { opacity: 1; transform: none; } }

/* ---------- split media/text ---------- */
.split {
  display: grid; gap: clamp(2.25rem, 5vw, 4.5rem);
  grid-template-columns: 1fr 1fr; align-items: center;
}
.split--wide-text { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 940px) {
  .split, .split--wide-text { grid-template-columns: 1fr; }
  .split__media { order: -1; }
}
.checklist { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: grid; gap: .85rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; font-size: var(--t-sm); }
.checklist svg {
  width: 21px; height: 21px; flex: none; margin-top: 1px;
  color: var(--teal-600);
}
.section--ink .checklist svg { color: var(--teal-300); }

/* stacked photo pair */
.photostack { position: relative; }
.photostack figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); }
.photostack figure img { width: 100%; }
.photostack__main { aspect-ratio: 4/3; }
.photostack__main img { height: 100%; object-fit: cover; }
.photostack__inset {
  position: absolute; right: -6%; bottom: -14%; width: 46%;
  border: 5px solid var(--surface) !important;
  aspect-ratio: 4/3;
}
.photostack__inset img { height: 100%; object-fit: cover; }
@media (max-width: 520px) { .photostack__inset { width: 52%; right: -2%; bottom: -10%; } }

/* ---------- doctor bio ---------- */
.doc {
  display: grid; gap: clamp(1.75rem, 4vw, 3.25rem);
  grid-template-columns: 300px 1fr; align-items: start;
}
@media (max-width: 860px) { .doc { grid-template-columns: 1fr; } }
.doc__photo {
  position: relative; margin: 0;
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-lg);
  aspect-ratio: 3/4;
  background: var(--teal-800);
}
/* the source portrait has a busy restaurant background — blur a duplicate
   behind a contained copy so the subject stays sharp and the frame reads clean */
.doc__photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.doc__photo img.is-bg { filter: blur(22px) saturate(.6) brightness(.62); transform: scale(1.25); }
.doc__photo img.is-fg { object-fit: contain; object-position: center bottom; }
.doc__badge {
  position: absolute; z-index: 2; left: .75rem; right: .75rem; bottom: .75rem;
  padding: .6rem .8rem;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border-radius: var(--r); box-shadow: var(--sh);
  text-align: center;
}
.doc__badge b { display: block; font-family: var(--font-display); font-size: var(--t-base); color: var(--ink); }
.doc__badge small { font-size: 11.5px; color: var(--muted); }

.creds { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 680px) { .creds { grid-template-columns: 1fr; } }
.creds li {
  display: flex; gap: .6rem; align-items: flex-start;
  padding: .7rem .85rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: var(--t-xs); font-weight: 550; color: var(--ink-soft);
  transition: border-color .25s, transform .25s var(--ease-out);
}
.creds li:hover { border-color: var(--teal-200); transform: translateX(3px); }
.creds svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--teal-500); }

/* ---------- testimonials ---------- */
.tcar { position: relative; }
.tcar__viewport { overflow: hidden; }
.tcar__track { display: flex; transition: transform .6s var(--ease-out); }
.tcar__slide { flex: 0 0 100%; padding-inline: .5rem; }
@media (min-width: 900px) { .tcar__slide { flex-basis: 33.3333%; } }

.quote {
  height: 100%;
  display: flex; flex-direction: column;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}
.quote__mark {
  font-family: var(--font-display); font-size: 3.25rem; line-height: .8;
  color: var(--teal-200); margin-bottom: .35rem;
}
.quote__stars { display: flex; gap: 2px; margin-bottom: .9rem; }
.quote__stars svg { width: 15px; height: 15px; color: #F5A623; }
.quote p { font-size: var(--t-sm); color: var(--ink-soft); margin-bottom: 1.25rem; }
.quote__who { margin-top: auto; display: flex; align-items: center; gap: .7rem; padding-top: 1rem; border-top: 1px solid var(--line-2); }
.quote__av {
  width: 40px; height: 40px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--teal-500), var(--teal-700));
  color: #fff; font-weight: 700; font-size: var(--t-sm);
}
.quote__who b { display: block; font-size: var(--t-sm); color: var(--ink); }
.quote__who small { font-size: var(--t-xs); color: var(--muted); }

.tcar__nav { display: flex; gap: .5rem; justify-content: center; margin-top: 2rem; align-items: center; }
.tcar__btn {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  background: var(--surface); cursor: pointer; color: var(--teal-700);
  transition: background-color .2s, border-color .2s, transform .2s var(--ease-out);
}
.tcar__btn:hover:not(:disabled) { background: var(--teal-50); border-color: var(--teal-300); transform: scale(1.06); }
.tcar__btn:disabled { opacity: .35; cursor: default; }
.tcar__btn svg { width: 18px; height: 18px; }
.tcar__dots { display: flex; gap: .4rem; margin-inline: .5rem; }
.tcar__dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
  background: var(--line); cursor: pointer; transition: background-color .25s, width .25s var(--ease-out);
}
.tcar__dot[aria-selected="true"] { background: var(--teal-500); width: 26px; border-radius: 4px; }

/* ---------- pricing ---------- */
.tiers { display: grid; gap: var(--gap); grid-template-columns: repeat(3, 1fr); align-items: start; }
@media (max-width: 880px) { .tiers { grid-template-columns: 1fr; } }
.tier {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .3s;
}
.tier:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.tier--feat {
  border-color: var(--teal-300);
  box-shadow: var(--sh-teal);
  background: linear-gradient(180deg, var(--teal-50), var(--surface) 45%);
}
.tier--feat:hover { box-shadow: 0 22px 50px -14px rgba(14,122,150,.5); }
.tier__tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: .3rem .85rem; border-radius: var(--r-pill);
  background: var(--teal-600); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  white-space: nowrap;
}
.tier h3 { font-size: var(--t-lg); margin-bottom: .2rem; }
.tier__sub { font-size: var(--t-xs); color: var(--muted); margin-bottom: 1.1rem; }
.tier__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem; margin-bottom: 1.25rem; }
.tier__price b {
  font-family: var(--font-display); font-size: var(--t-3xl); font-weight: 600;
  color: var(--ink); letter-spacing: -.03em; line-height: 1;
  white-space: nowrap;
}
.tier__price span { font-size: var(--t-xs); color: var(--muted); }
/* "from" is a qualifier, not part of the figure — keeping it at display size
   made "from ₹300" wrap across two lines. */
.tier__from {
  font-size: var(--t-sm) !important; font-weight: 600;
  color: var(--muted); align-self: center;
}
.tier ul { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: .6rem; }
.tier li { display: flex; gap: .55rem; font-size: var(--t-sm); color: var(--ink-soft); }
.tier li svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--teal-500); }

/* full price table */
.ptable-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.ptable { width: 100%; border-collapse: collapse; min-width: 620px; font-size: var(--t-sm); }
.ptable caption { padding: 1rem 1.15rem; text-align: left; font-size: var(--t-xs); color: var(--muted); border-bottom: 1px solid var(--line); }
.ptable th, .ptable td { padding: .8rem 1.15rem; text-align: left; vertical-align: top; }
.ptable thead th {
  background: var(--surface-2);
  font-size: var(--t-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 1;
}
.ptable tbody tr { border-top: 1px solid var(--line-2); }
.ptable tbody tr:hover { background: var(--teal-50); }
.ptable td:first-child { font-weight: 600; color: var(--ink); }
.ptable .pcode {
  display: inline-block; margin-left: .4rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px; font-weight: 600;
  color: var(--teal-700); background: var(--teal-50);
  padding: .1rem .4rem; border-radius: 4px; border: 1px solid var(--teal-100);
}
.ptable .pamt { font-weight: 650; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ptable .pnote { color: var(--muted); font-size: var(--t-xs); }

/* ---------- disclosure (accordion / collapsible) ---------- */
.disc { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.disc + .disc { margin-top: .75rem; }
.disc summary {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.35rem; cursor: pointer;
  font-weight: 600; color: var(--ink); font-size: var(--t-base);
  list-style: none;
  transition: background-color .2s;
}
.disc summary::-webkit-details-marker { display: none; }
.disc summary:hover { background: var(--teal-50); }
.disc summary::after {
  content: ""; flex: none; margin-left: auto;
  width: 10px; height: 10px;
  border-right: 2px solid var(--teal-600); border-bottom: 2px solid var(--teal-600);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .3s var(--ease);
}
.disc[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.disc__body { padding: 0 1.35rem 1.35rem; font-size: var(--t-sm); color: var(--muted); }
.disc[open] .disc__body { animation: discIn .35s var(--ease-out); }
@keyframes discIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- steps ---------- */
.steps { counter-reset: s; display: grid; gap: var(--gap); grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 2.75rem; }
.step::before {
  counter-increment: s; content: "0" counter(s);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-display); font-size: var(--t-2xl); font-weight: 600;
  color: var(--teal-200); letter-spacing: -.03em; line-height: 1;
}
.step::after {
  content: ""; position: absolute; top: 1.1rem; left: 3.25rem; right: -1rem; height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.steps .step:last-child::after { display: none; }
@media (max-width: 980px) { .step::after { display: none; } }
.step h3 { font-size: var(--t-base); margin-bottom: .3rem; }
.step p { font-size: var(--t-sm); color: var(--muted); margin: 0; }
.section--ink .step::before { color: var(--teal-500); }
.section--ink .step p { color: #A9CBD5; }
.section--ink .step::after { background: linear-gradient(90deg, rgba(255,255,255,.18), transparent); }

/* ---------- form ---------- */
.formcard {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh);
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block; margin-bottom: .4rem;
  font-size: var(--t-sm); font-weight: 600; color: var(--ink);
}
.field .req { color: var(--coral-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: var(--t-sm);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 108px; resize: vertical; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B7883' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .85rem center; background-size: 17px;
  padding-right: 2.5rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-400);
  box-shadow: 0 0 0 4px rgba(58,163,191,.16);
}
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--coral-500); }
.field__hint { display: block; margin-top: .35rem; font-size: var(--t-xs); color: var(--muted); }
.field__err { display: none; margin-top: .35rem; font-size: var(--t-xs); color: var(--coral-600); font-weight: 550; }
.field.has-err .field__err { display: block; }
.field.has-err input, .field.has-err select, .field.has-err textarea { border-color: var(--coral-500); }
.field-row { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
/* honeypot — must stay reachable to bots but invisible & unfocusable to people */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Dual submit. Source order = desktop order (email first). On narrow screens
   flex `order` flips WhatsApp to the top — no device detection, both always work. */
.submits { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; }
.submits .btn { width: 100%; }
.submits__email { order: 1; }
.submits__wa    { order: 3; }
.submits__or {
  order: 2; text-align: center;
  font-size: var(--t-xs); color: var(--muted-2);
  display: flex; align-items: center; gap: .75rem;
}
.submits__or::before, .submits__or::after { content: ""; height: 1px; flex: 1; background: var(--line); }
@media (max-width: 780px) {
  .submits__wa    { order: 1; }
  .submits__or    { order: 2; }
  .submits__email { order: 3; }
  /* de-emphasise the secondary path on mobile without hiding it */
  .submits__email { --btn-bg: transparent; --btn-fg: var(--teal-700); border-color: var(--line); background: var(--surface); box-shadow: none; }
}
.formnote { margin-top: 1rem; font-size: var(--t-xs); color: var(--muted); text-align: center; }

.formmsg {
  display: none; gap: .7rem;
  margin-bottom: 1.25rem; padding: .95rem 1.1rem;
  border-radius: var(--r); font-size: var(--t-sm); font-weight: 550;
  align-items: flex-start;
}
.formmsg.is-on { display: flex; }
.formmsg svg { width: 19px; height: 19px; flex: none; margin-top: 1px; }
.formmsg--ok  { background: #E7F6F0; border: 1px solid #B7E4D3; color: #0A5F45; }
.formmsg--err { background: #FEEDE8; border: 1px solid #FBCFC2; color: #97331A; }

/* ---------- contact / info cards ---------- */
.infolist { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.infolist li { display: flex; gap: .9rem; align-items: flex-start; }
.infolist__ico {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center; border-radius: 11px;
  background: var(--teal-50); color: var(--teal-600);
}
.section--ink .infolist__ico { background: rgba(255,255,255,.1); color: var(--teal-200); }
.infolist__ico svg { width: 19px; height: 19px; }
.infolist b { display: block; font-size: var(--t-xs); font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: .15rem; }
.section--ink .infolist b { color: var(--teal-300); }
.infolist a, .infolist span { font-size: var(--t-sm); color: var(--ink); text-decoration: none; }
.section--ink .infolist a, .section--ink .infolist span { color: #E4F1F5; }
.infolist a:hover { color: var(--teal-600); text-decoration: underline; }
.section--ink .infolist a:hover { color: #fff; }

.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--line-2); font-size: var(--t-sm); }
.hours li:last-child { border-bottom: 0; }
.hours li.is-closed { color: var(--muted); }
.hours dfn { font-style: normal; font-weight: 600; color: var(--ink); }
.hours time, .hours span { font-variant-numeric: tabular-nums; color: var(--ink-soft); }
/* Open/closed is computed in IST by JS, so hide the pill entirely without JS
   rather than leaving a permanent "Checking…" on the page. */
.openpill { display: none; }
.js .openpill {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem .8rem; border-radius: var(--r-pill);
  font-size: var(--t-xs); font-weight: 650;
  background: #E7F6F0; color: #0A5F45; border: 1px solid #B7E4D3;
}
.openpill.is-shut { background: var(--surface-2); color: var(--muted); border-color: var(--line); }
.openpill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.openpill.is-open i { background: #17A673; box-shadow: 0 0 0 3px rgba(23,166,115,.22); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(23,166,115,0); } }

.mapframe {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--sh);
  background: var(--surface-2);
  aspect-ratio: 16/10;
}
.mapframe iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- CTA band ---------- */
.ctaband { position: relative; overflow: hidden; text-align: center; }
.ctaband h2 { font-size: var(--t-4xl); }
.ctaband p { max-width: 56ch; margin-inline: auto; font-size: var(--t-lg); }
.ctaband .btn-row { justify-content: center; margin-top: 2rem; }

/* ---------- footer ---------- */
.footer { background: var(--teal-900); color: #9FC3CE; padding-block: clamp(3rem, 6vw, 4.5rem) 0; }
.footer__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: 1.6fr 1fr 1fr 1.3fr; }
@media (max-width: 940px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 {
  font-family: var(--font-body); font-size: var(--t-xs); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem;
}
.footer__logo { height: 42px; width: auto; margin-bottom: 1.1rem; filter: brightness(0) invert(1); opacity: .95; }
.footer p { font-size: var(--t-sm); color: #9FC3CE; max-width: 34ch; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.footer ul a, .footer address a {
  font-size: var(--t-sm); color: #BCD9E2; text-decoration: none;
  transition: color .2s, padding-left .25s var(--ease-out);
}
.footer ul a:hover { color: #fff; padding-left: 4px; }
.footer address { font-style: normal; font-size: var(--t-sm); color: #9FC3CE; display: grid; gap: .55rem; }
.footer address a:hover { color: #fff; text-decoration: underline; }
.footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-block: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; align-items: center;
  font-size: var(--t-xs); color: #7FA9B6;
}
.footer__bottom a { color: #BCD9E2; text-decoration: none; }
.footer__bottom a:hover { color: #fff; text-decoration: underline; }

/* ---------- sticky mobile action bar (3 distinct targets) ---------- */
.actionbar {
  position: fixed; inset: auto 0 0; z-index: 95;
  display: none;
  padding: .5rem .6rem calc(.5rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px) saturate(180%);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px -12px rgba(11,54,68,.28);
  gap: .5rem;
  transition: transform .4s var(--ease-out);
}
/* Slides up on scroll, but only when JS is present to slide it back — without
   JS it simply stays visible rather than being stuck off-screen. */
.js .actionbar { transform: translateY(110%); }
.js .actionbar.is-up { transform: translateY(0); }
.actionbar a {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: .2rem;
  padding: .55rem .3rem;
  border-radius: var(--r-sm);
  font-size: 11.5px; font-weight: 650;
  text-decoration: none; color: var(--ink-soft);
  transition: background-color .2s;
}
.actionbar a svg { width: 21px; height: 21px; }
.actionbar a:active { background: var(--surface-2); }
.actionbar .ab-call { color: var(--teal-700); }
.actionbar .ab-wa   { color: #1A9E4B; }
.actionbar .ab-book {
  background: var(--coral-500); color: #fff;
  box-shadow: 0 6px 16px -6px rgba(251,107,71,.6);
}
.actionbar .ab-book:active { background: var(--coral-600); }
@media (max-width: 940px) {
  .actionbar { display: flex; }
  body { padding-bottom: 4.75rem; }
}

/* ---------- scroll reveal ---------- */
/* The hidden starting state is scoped to `.js`, which an inline script in <head>
   sets. Without it every .reveal element would need JS to become visible — a
   failed script would leave most of the page blank. This way no-JS gets the
   full page, just without the animation. */
.reveal {
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  will-change: opacity, transform;
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal--left  { transform: translateX(-26px); }
.js .reveal--right { transform: translateX(26px); }
.js .reveal--scale { transform: scale(.955); }
.js .reveal--left.is-in, .js .reveal--right.is-in, .js .reveal--scale.is-in { transform: none; }

/* Hero intro — plays on load, not on scroll.
   Deliberately fast with small delays: the <h1> here is the LCP element, and
   fading it in from opacity 0 defers Largest Contentful Paint by the whole
   duration plus delay. The first two children share delay 0 so the headline
   paints as early as possible while the rest still cascades. */
.intro > * { animation: introUp .5s var(--ease-out) both; }
.intro > *:nth-child(1),
.intro > *:nth-child(2) { animation-delay: 0s; }
.intro > *:nth-child(3) { animation-delay: .08s; }
.intro > *:nth-child(4) { animation-delay: .16s; }
.intro > *:nth-child(5) { animation-delay: .24s; }
.intro > *:nth-child(6) { animation-delay: .32s; }
@keyframes introUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero__art { animation: artIn .8s var(--ease-out) .1s both; }
@keyframes artIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- page hero (inner pages) ---------- */
.phero {
  padding-top: calc(var(--header-h) + clamp(2.5rem, 5vw, 4rem));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(900px 480px at 82% -20%, var(--teal-50), transparent 62%),
    radial-gradient(600px 400px at 2% 10%, #FFF3EE, transparent 60%),
    var(--bg);
  position: relative; overflow: hidden;
}
.phero h1 { font-size: var(--t-4xl); }
.phero p { font-size: var(--t-lg); color: var(--muted); max-width: 58ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: var(--t-xs); color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal-600); text-decoration: underline; }
.crumbs svg { width: 13px; height: 13px; opacity: .55; }

/* ---------- service row ---------- */
.srv {
  display: grid; gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: 64px 1fr auto;
  align-items: start;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .3s;
}
.srv + .srv { margin-top: var(--gap); }
.srv:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: var(--teal-200); }
.srv__ico {
  width: 64px; height: 64px; display: grid; place-items: center;
  border-radius: 18px;
  background: linear-gradient(140deg, var(--teal-50), var(--teal-100));
  color: var(--teal-600);
  transition: transform .35s var(--ease-out);
}
.srv:hover .srv__ico { transform: scale(1.07) rotate(-5deg); }
.srv__ico svg { width: 30px; height: 30px; }
.srv h3 { margin-bottom: .45rem; }
.srv p { font-size: var(--t-sm); color: var(--muted); margin: 0; }
.srv__cta { align-self: center; }
@media (max-width: 860px) {
  .srv { grid-template-columns: 52px 1fr; }
  .srv__ico { width: 52px; height: 52px; border-radius: 15px; }
  .srv__ico svg { width: 25px; height: 25px; }
  .srv__cta { grid-column: 1 / -1; }
  .srv__cta .btn { width: 100%; }
}

/* ---------- values ---------- */
.value { text-align: center; }
.value .card__ico { margin-inline: auto; }

/* ---------- misc utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.tc { text-align: center; }
.vh {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .8rem; border-radius: var(--r-pill);
  background: var(--teal-50); border: 1px solid var(--teal-100);
  font-size: var(--t-xs); font-weight: 650; color: var(--teal-700);
}
.section--ink .pill { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: var(--teal-200); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal, .intro > *, .hero__art { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
  .blob { animation: none; }
  .btn:hover, .card:hover, .tier:hover, .srv:hover { transform: none; }
}

/* ---------- print ---------- */
@media print {
  .header, .drawer, .actionbar, .marquee, .blob, .tcar__nav, .mapframe { display: none !important; }
  body { padding-bottom: 0; background: #fff; }
  .section { padding-block: 1.5rem; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 10px; color: #666; }
}

/* ---------- live Google review cards ---------- */
/* Google reviews vary wildly in length and Google's terms forbid altering the
   text, so clamp VISUALLY only — the full review stays in the DOM for
   screen readers and for anyone who opens it on Google. */
.quote__text {
  display: -webkit-box;
  -webkit-line-clamp: 9;
  line-clamp: 9;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* reviewer photo from Google, in place of the initial avatar */
.quote__av--img {
  object-fit: cover;
  border-radius: 50%;
  background: var(--surface-2);
}
/* small "view on Google" affordance, bottom-right of the attribution row */
.quote__src {
  margin-left: auto;
  align-self: center;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  flex: none;
  opacity: .5;
  transition: opacity .25s var(--ease), background-color .25s var(--ease);
}
.quote__src svg { width: 16px; height: 16px; }
.quote__src:hover { opacity: 1; background: var(--surface-2); }
