/* =========================================================================
   Cadence Heart — Cardiology, Mumbai
   Design system: "Rhythm & Repair"
   Confident grotesque (Archivo) + monospace vitals (IBM Plex Mono)
   Palette: deep maroon-black -> considered heart-red, on warm bone paper.
   Signature: a precise ECG/PQRST rhythm line that draws itself.
   ========================================================================= */

/* ---------- Design tokens ------------------------------------------------ */
:root {
  /* colour */
  --ink:        #170609;   /* deepest maroon-black  */
  --wine:       #2A0E14;   /* anchor deep maroon    */
  --wine-hi:    #3a1621;   /* raised surface on dark*/
  --pulse:      #D0455A;   /* considered heart-red  */
  --pulse-deep: #A5324A;   /* pressed / underlines  */
  --ecg:        #FF7C8E;   /* bright rhythm line    */
  --rose:       #ECBAC0;   /* soft rose on dark     */

  --bone:       #FBF6F4;   /* warm page paper       */
  --paper:      #F3E7E3;   /* alt section wash      */
  --ink-text:   #2A1418;   /* warm near-black text  */
  --muted:      #715a5f;   /* muted warm grey text  */

  --line-dark:  rgba(255,255,255,.13);
  --line-lite:  rgba(42,14,20,.13);
  --line-lite-2:rgba(42,14,20,.09);

  /* type */
  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", "Menlo", monospace;

  /* fluid scale */
  --fs-eyebrow: .74rem;
  --fs-body:  clamp(1rem, .96rem + .2vw, 1.075rem);
  --fs-lead:  clamp(1.15rem, 1.05rem + .5vw, 1.4rem);
  --fs-h4:    clamp(1.1rem, 1.02rem + .4vw, 1.3rem);
  --fs-h3:    clamp(1.4rem, 1.2rem + 1vw, 2rem);
  --fs-h2:    clamp(2rem, 1.55rem + 2.1vw, 3.35rem);
  --fs-h1:    clamp(2.7rem, 1.9rem + 4.1vw, 5.4rem);

  /* structure */
  --container: 1200px;
  --gutter: clamp(1.15rem, 4vw, 2.6rem);
  --radius: 16px;
  --radius-lg: 26px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --shadow-sm: 0 1px 2px rgba(23,6,9,.06), 0 6px 18px rgba(23,6,9,.06);
  --shadow-md: 0 18px 50px -22px rgba(42,14,20,.42);
}

/* ---------- Reset -------------------------------------------------------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){ html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.62;
  color: var(--ink-text);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible {
  outline: 3px solid var(--pulse);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--pulse); color: #fff; }

/* ---------- Skip link ---------------------------------------------------- */
.skip {
  position: absolute; left: 12px; top: -60px;
  background: var(--wine); color: #fff;
  padding: .7rem 1.1rem; border-radius: 10px; z-index: 200;
  font-family: var(--mono); font-size: .8rem; letter-spacing: .04em;
  transition: top .18s var(--ease);
}
.skip:focus { top: 12px; }

/* ---------- Layout primitives ------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.6rem, 7vw, 7rem); position: relative; }
.section--tight { padding-block: clamp(2.6rem, 5vw, 4.5rem); }

/* Eyebrow — monospace vital label */
.eyebrow {
  font-family: var(--mono);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--pulse);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  opacity: .7;
}
.on-dark .eyebrow { color: var(--ecg); }

/* Headings */
h1,h2,h3,h4 { font-family: var(--sans); font-weight: 800; line-height: 1.03; letter-spacing: -.02em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -.015em; line-height: 1.1; }
h4 { font-size: var(--fs-h4); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--muted); font-weight: 400; }
.on-dark .lead { color: var(--rose); }

.section-head { max-width: 44rem; }
.section-head h2 { margin-top: .9rem; }
.section-head .lead { margin-top: 1.1rem; }

.measure { max-width: 40rem; }

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  --bg: var(--pulse); --fg: #fff;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .92rem 1.5rem;
  background: var(--bg); color: var(--fg);
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600; font-size: .96rem; letter-spacing: -.01em;
  line-height: 1;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  box-shadow: 0 10px 26px -12px rgba(208,69,90,.65);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(208,69,90,.75); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn--ghost {
  --bg: transparent; --fg: var(--ink-text);
  border-color: var(--line-lite);
  box-shadow: none;
}
.btn--ghost:hover { background: rgba(42,14,20,.04); box-shadow: none; }
.on-dark .btn--ghost { --fg: #fff; border-color: rgba(255,255,255,.28); }
.on-dark .btn--ghost:hover { background: rgba(255,255,255,.08); }

.btn--lg { padding: 1.05rem 1.8rem; font-size: 1.02rem; }

.textlink {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; color: var(--pulse-deep);
  border-bottom: 1.5px solid transparent;
  transition: border-color .18s var(--ease), gap .18s var(--ease);
}
.textlink:hover { border-color: var(--pulse); gap: .7rem; }
.on-dark .textlink { color: var(--ecg); }

/* ---------- Header ------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,246,244,.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line-lite); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 74px;
}
.brand { display: inline-flex; align-items: center; gap: .68rem; }
.brand__mark { width: 34px; height: 34px; flex: none; display: block; overflow: visible; }
.brand__name {
  font-weight: 800; font-size: 1.16rem; letter-spacing: -.02em; line-height: 1;
  color: var(--ink-text);
}
.brand__name span { color: var(--pulse); }
.brand__tag {
  display: block; font-family: var(--mono); font-size: .58rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  margin-top: 3px;
}

.nav__links { display: flex; align-items: center; gap: .35rem; list-style: none; }
.nav__links a {
  display: inline-block; padding: .55rem .8rem; border-radius: 8px;
  font-size: .95rem; font-weight: 500; color: var(--ink-text);
  transition: color .16s var(--ease), background .16s var(--ease);
}
.nav__links a:hover { color: var(--pulse); background: rgba(208,69,90,.07); }

.nav__actions { display: flex; align-items: center; gap: .7rem; }
.nav__phone {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .84rem; font-weight: 500;
  letter-spacing: .01em; color: var(--ink-text);
  padding: .5rem .3rem;
}
.nav__phone svg { color: var(--pulse); }
.nav__phone:hover { color: var(--pulse); }

.nav__toggle {
  display: none;
  width: 46px; height: 46px; border: 1px solid var(--line-lite);
  background: transparent; border-radius: 12px;
  align-items: center; justify-content: center; flex: none;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink-text);
  border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav__toggle span::before { transform: translateY(-6px); }
.nav__toggle span::after  { transform: translateY(4px); }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: rotate(-45deg); }

/* ---------- Hero --------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 120% at 12% -10%, #43172250 0%, transparent 55%),
    radial-gradient(90% 90% at 100% 0%, #5a1c2b40 0%, transparent 50%),
    linear-gradient(180deg, var(--wine) 0%, var(--ink) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero::after { /* faint blueprint grid */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 30%, transparent 85%);
}
.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3.4rem, 7vw, 6rem) clamp(3rem, 6vw, 5.5rem);
}
.hero__vital {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--rose);
  padding: .5rem .85rem; border: 1px solid var(--line-dark); border-radius: 999px;
  background: rgba(255,255,255,.03);
}
.hero__vital .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ecg); box-shadow: 0 0 0 0 rgba(255,124,142,.6); }
.hero h1 { font-size: var(--fs-h1); margin: 1.5rem 0 0; max-width: 12ch; }
.hero h1 em {
  font-style: normal; color: var(--ecg);
  position: relative; white-space: nowrap;
}
.hero__sub { margin-top: 1.5rem; max-width: 40ch; font-size: var(--fs-lead); color: var(--rose); font-weight: 400; }
.hero__cta { margin-top: 2.1rem; display: flex; flex-wrap: wrap; gap: .8rem; }

.hero__trust {
  margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; list-style: none;
}
.hero__trust li { display: flex; flex-direction: column; gap: .2rem; }
.hero__trust b { font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; }
.hero__trust span { font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rose); }

/* hero image plate */
.hero__figure {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
  border: 1px solid rgba(255,255,255,.1);
  aspect-ratio: 4 / 5;
}
.hero__figure img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.92) contrast(1.02);
}
.hero__figure::before { /* warm brand wash over stock to unify */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(42,14,20,.05) 0%, rgba(42,14,20,.5) 100%),
              linear-gradient(300deg, rgba(208,69,90,.28) 0%, transparent 55%);
  mix-blend-mode: multiply;
}
.hero__chip {
  position: absolute; z-index: 2; left: 14px; bottom: 14px; right: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  padding: .7rem .95rem; border-radius: 14px;
  background: rgba(23,6,9,.66); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.14);
  font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #fff;
}
.hero__chip b { color: var(--ecg); font-weight: 600; }
.hero__chip .mono-num { font-size: .95rem; }

/* ECG line running across the hero base */
.ecg-band { position: relative; z-index: 2; }
.ecg-line { display: block; width: 100%; height: auto; }
.ecg-line path { fill: none; vector-effect: non-scaling-stroke; }
.ecg-trace {
  stroke: var(--ecg); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(255,124,142,.55));
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: ecg-draw 3.2s var(--ease) forwards;
}
.ecg-guide { stroke: rgba(255,255,255,.12); stroke-width: 1; }
@keyframes ecg-draw { to { stroke-dashoffset: 0; } }

/* ---------- Section: preface / stat strip -------------------------------- */
.marquee-note {
  border-top: 1px solid var(--line-lite); border-bottom: 1px solid var(--line-lite);
  background: var(--paper);
}
.marquee-note .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem 2rem; padding-block: 1.15rem;
}
.marquee-note p { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.marquee-note strong { color: var(--pulse-deep); }

/* ---------- Approach / preventive: split editorial ----------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse .split__media { order: -1; }
.prose > * + * { margin-top: 1.05rem; }
.prose h2 { margin-top: 1rem; }

.figure {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--line-lite);
  aspect-ratio: 5 / 4; background: var(--wine);
}
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure__tag {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: rgba(23,6,9,.6); backdrop-filter: blur(6px);
  padding: .45rem .7rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.16);
}

/* checklist */
.ticks { list-style: none; display: grid; gap: .7rem; margin-top: 1.3rem; }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--pulse);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9.55 17.4 4.2 12l1.4-1.4 3.95 3.95L18.4 5.7l1.4 1.4z'/%3E%3C/svg%3E") center/76% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9.55 17.4 4.2 12l1.4-1.4 3.95 3.95L18.4 5.7l1.4 1.4z'/%3E%3C/svg%3E") center/76% no-repeat;
}

/* ---------- Diagnostics grid -------------------------------------------- */
.diag { background: var(--wine); color: #fff; overflow: hidden; }
.on-dark { color: #fff; }
.on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.diag .section-head .lead { color: var(--rose); }

.diag__layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem,5vw,4rem); align-items: stretch; margin-top: clamp(2rem,4vw,3rem); }
.diag__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.1); min-height: 320px; }
.diag__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.diag__media::after { content:""; position:absolute; inset:0; background: linear-gradient(200deg, rgba(208,69,90,.22), transparent 45%), linear-gradient(0deg, rgba(23,6,9,.55), transparent 55%); mix-blend-mode: multiply; }

.diag__list { display: grid; gap: 0; align-content: start; }
.diag-row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 1rem;
  padding: 1.25rem 0; border-top: 1px solid var(--line-dark);
}
.diag-row:last-child { border-bottom: 1px solid var(--line-dark); }
.diag-row__no { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; color: var(--ecg); }
.diag-row__body h4 { margin-bottom: .25rem; }
.diag-row__body p { color: var(--rose); font-size: .95rem; line-height: 1.5; }
.diag-row__meta { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rose); white-space: nowrap; }

/* ---------- Interventions cards ----------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 1.5rem); margin-top: clamp(2rem,4vw,3rem); }
.card {
  position: relative; background: #fff; border: 1px solid var(--line-lite);
  border-radius: var(--radius); padding: 1.5rem 1.5rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  overflow: hidden;
}
.card::before { /* top rhythm accent */
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--pulse), transparent 70%);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(208,69,90,.3); }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(208,69,90,.1); color: var(--pulse-deep); margin-bottom: 1.1rem;
}
.card__icon svg { width: 22px; height: 22px; }
.card h4 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .96rem; }
.card__meta { margin-top: 1rem; font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--pulse-deep); }

/* ---------- Cardiologists ------------------------------------------------ */
.team { background: var(--paper); }
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 2.5vw, 1.6rem); margin-top: clamp(2rem,4vw,3rem); }
.doc {
  background: var(--bone); border: 1px solid var(--line-lite); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.doc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.doc__photo { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--wine); }
.doc__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 22%;
  filter: grayscale(.18) contrast(1.02);
  transition: filter .4s var(--ease), transform .5s var(--ease);
}
.doc__photo::after { /* unifying maroon duotone wash */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(208,69,90,.16), transparent 50%), linear-gradient(0deg, rgba(42,14,20,.28), transparent 60%);
  mix-blend-mode: multiply; transition: opacity .4s var(--ease); opacity: 1;
}
.doc:hover .doc__photo img { filter: grayscale(0) contrast(1.03); transform: scale(1.03); }
.doc:hover .doc__photo::after { opacity: .55; }
.doc__body { padding: 1.25rem 1.35rem 1.45rem; }
.doc__body h4 { margin-bottom: .15rem; }
.doc__role { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--pulse-deep); }
.doc__body p { margin-top: .7rem; color: var(--muted); font-size: .92rem; }
.doc__tags { margin-top: .9rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.doc__tags span {
  font-family: var(--mono); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line-lite); border-radius: 999px; padding: .3rem .6rem;
}

/* ---------- Visit / reassurance steps ----------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem,2.4vw,1.6rem); margin-top: clamp(2rem,4vw,3rem); counter-reset: step; }
.step { position: relative; padding-top: 1.6rem; border-top: 2px solid var(--line-lite); }
.step::before {
  counter-increment: step; content: counter(step,decimal-leading-zero);
  font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; color: var(--pulse);
  position: absolute; top: -.05rem; left: 0; background: var(--bone); padding-right: .6rem;
  transform: translateY(-56%);
}
.step h4 { margin-bottom: .45rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- CTA band ----------------------------------------------------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(90% 130% at 85% 0%, #5a1c2b60 0%, transparent 55%),
    linear-gradient(180deg, var(--wine) 0%, var(--ink) 100%);
  color: #fff;
}
.cta__inner { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.cta h2 { font-size: var(--fs-h2); max-width: 16ch; }
.cta p { margin-top: 1.1rem; color: var(--rose); max-width: 42ch; font-size: var(--fs-lead); }
.cta__actions { display: flex; flex-direction: column; gap: .8rem; align-items: stretch; }
.cta__actions .btn { justify-content: center; }
.cta__panel {
  background: rgba(255,255,255,.05); border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg); padding: 1.6rem;
}
.cta__panel h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.contact-line { display: flex; align-items: center; gap: .8rem; padding: .7rem 0; border-top: 1px solid var(--line-dark); }
.contact-line:first-of-type { border-top: none; }
.contact-line svg { color: var(--ecg); flex: none; }
.contact-line b { display: block; font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); font-weight: 500; }
.contact-line a, .contact-line span { color: #fff; font-weight: 600; font-size: .98rem; }
.emergency-note {
  margin-top: 1.1rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .04em;
  color: var(--rose); display: flex; gap: .55rem; align-items: flex-start; line-height: 1.5;
}
.emergency-note strong { color: var(--ecg); }

/* ---------- Footer ------------------------------------------------------- */
.site-footer { background: var(--ink); color: #fff; padding-block: clamp(3rem,5vw,4.5rem) 2rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { margin-top: 1rem; color: var(--rose); max-width: 30ch; font-size: .94rem; }
.footer__social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--line-dark); color: #fff; transition: background .18s var(--ease), border-color .18s;
}
.footer__social a:hover { background: rgba(255,255,255,.08); border-color: var(--ecg); }
.footer col, .footer__col { }
.footer__col h5 { font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rose); font-weight: 500; margin-bottom: 1rem; }
.footer__col ul { list-style: none; display: grid; gap: .6rem; }
.footer__col a { color: rgba(255,255,255,.86); font-size: .94rem; }
.footer__col a:hover { color: var(--ecg); }
.footer__col address { font-style: normal; color: rgba(255,255,255,.86); font-size: .94rem; line-height: 1.7; }

.footer__bottom {
  margin-top: clamp(2.4rem,4vw,3.4rem); padding-top: 1.6rem; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; align-items: center; justify-content: space-between;
}
.footer__credit { color: var(--rose); font-size: .86rem; }
.footer__credit a { color: #fff; border-bottom: 1px solid var(--line-dark); }
.footer__credit a:hover { border-color: var(--ecg); color: var(--ecg); }
.footer__copy { color: var(--rose); font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; }

/* ---------- Divider (rhythm rule) --------------------------------------- */
.rhythm-rule { width: 100%; height: 34px; display: block; overflow: hidden; }
.rhythm-rule svg { width: 100%; height: 100%; }
.rhythm-rule path { fill: none; stroke: var(--line-lite); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.rhythm-rule .beat { stroke: var(--pulse); }

/* ========================================================================
   Contact page
   ======================================================================== */
.page-hero {
  background:
    radial-gradient(90% 120% at 10% -10%, #43172250 0%, transparent 55%),
    linear-gradient(180deg, var(--wine) 0%, var(--ink) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.page-hero .container { position: relative; z-index: 2; padding-block: clamp(2.8rem,6vw,4.6rem); }
.page-hero h1 { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.7rem); max-width: 18ch; margin-top: 1.2rem; }
.page-hero p { margin-top: 1.1rem; max-width: 46ch; color: var(--rose); font-size: var(--fs-lead); }
.crumbs { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; color: var(--rose); }
.crumbs a:hover { color: var(--ecg); }

.contact-layout { display: grid; grid-template-columns: 1.35fr .85fr; gap: clamp(2rem,4vw,3.4rem); align-items: start; }

.form-card {
  background: #fff; border: 1px solid var(--line-lite); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.15rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; letter-spacing: -.01em; }
.field .req { color: var(--pulse); }
.field .hint { font-family: var(--mono); font-size: .64rem; letter-spacing: .04em; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; color: var(--ink-text);
  background: var(--bone); border: 1px solid var(--line-lite); border-radius: 12px;
  padding: .8rem .9rem; width: 100%; transition: border-color .16s var(--ease), box-shadow .16s var(--ease), background .16s;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--pulse); background: #fff;
  box-shadow: 0 0 0 3px rgba(208,69,90,.16);
}
.field input::placeholder, .field textarea::placeholder { color: #b09aa0; }
.field select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23715a5f' stroke-width='2.5' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.4rem;
}
.form-consent { grid-column: 1/-1; font-size: .82rem; color: var(--muted); line-height: 1.55; }
.form-actions { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; margin-top: .3rem; }
.form-note { font-family: var(--mono); font-size: .66rem; letter-spacing: .04em; color: var(--muted); }

.aside-card {
  background: var(--wine); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(1.4rem,3vw,2rem); border: 1px solid var(--line-dark);
}
.aside-card + .aside-card { margin-top: 1.2rem; }
.aside-card h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.aside-card .lead { color: var(--rose); font-size: 1rem; }
.hours { list-style: none; display: grid; gap: .5rem; margin-top: .4rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; padding: .35rem 0; border-bottom: 1px solid var(--line-dark); }
.hours li:last-child { border-bottom: none; }
.hours .day { color: var(--rose); }
.hours .time { font-family: var(--mono); font-size: .82rem; }
.map-embed { margin-top: 1rem; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-dark); aspect-ratio: 16/10; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.05); display:block; }

.wa-card { background: var(--paper); border: 1px solid var(--line-lite); border-radius: var(--radius); padding: 1.2rem 1.3rem; margin-top: 1.2rem; }
.wa-card h4 { margin-bottom: .5rem; }
.wa-card p { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }

/* ========================================================================
   Thank you page
   ======================================================================== */
.thanks { min-height: 78vh; display: grid; place-items: center; text-align: center;
  background: radial-gradient(90% 90% at 50% 0%, #43172240 0%, transparent 60%), linear-gradient(180deg, var(--wine), var(--ink)); color: #fff; }
.thanks .container { max-width: 640px; padding-block: clamp(3rem,8vw,6rem); }
.thanks__mark { width: 96px; height: 96px; margin: 0 auto 1.8rem; }
.thanks h1 { font-size: clamp(2.2rem,1.6rem+2.8vw,3.6rem); }
.thanks p { margin-top: 1.2rem; color: var(--rose); font-size: var(--fs-lead); }
.thanks__actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.thanks__meta { margin-top: 2.6rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; color: var(--rose); }
.thanks__meta a { color: #fff; border-bottom: 1px solid var(--line-dark); }

/* ========================================================================
   Reveal on scroll
   ======================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ecg-trace { animation: none; stroke-dashoffset: 0; }
  .hero__vital .dot { animation: none !important; }
  *,*::before,*::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* soft heartbeat on the vital dot (motion only) */
@media (prefers-reduced-motion: no-preference) {
  .hero__vital .dot { animation: beat 1.6s ease-in-out infinite; }
  @keyframes beat {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,124,142,.55); }
    45% { box-shadow: 0 0 0 7px rgba(255,124,142,0); }
  }
}

/* ========================================================================
   Responsive
   ======================================================================== */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { max-width: 460px; aspect-ratio: 16/12; }
  .diag__layout { grid-template-columns: 1fr; }
  .cta__inner { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .contact-layout { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

@media (max-width: 720px) {
  .nav__links, .nav__phone, .nav__cta-desktop { display: none; }
  .nav__toggle { display: inline-flex; }
  /* mobile menu drawer */
  .nav__menu {
    position: fixed; inset: 74px 0 auto 0; z-index: 90;
    background: var(--bone); border-bottom: 1px solid var(--line-lite);
    padding: 1rem var(--gutter) 1.6rem;
    display: none; box-shadow: var(--shadow-md);
  }
  .nav__menu.is-open { display: block; }
  .nav__menu .nav__links { display: flex; flex-direction: column; align-items: stretch; gap: .1rem; }
  .nav__menu .nav__links a { padding: .85rem .4rem; border-radius: 10px; border-bottom: 1px solid var(--line-lite-2); font-size: 1.05rem; }
  .nav__menu .nav__links li:last-child a { border-bottom: none; }
  .nav__menu .btn { width: 100%; justify-content: center; margin-top: .9rem; }
  .nav__menu .nav__phone { display: inline-flex; margin-top: .6rem; }
}

@media (min-width: 721px) { .nav__menu { display: contents; } .nav__menu .btn, .nav__menu .nav__phone.mobile-only { display: none; } }

@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__trust { gap: 1.2rem 1.8rem; }
  .marquee-note .container { justify-content: flex-start; }
}
