/* Dr. Harish Challa — site styles
   Palette and line motif come from the two-tone kidney logo (navy + mint). */

:root {
  --ink: #062f42;
  --navy: #044c6c;
  --mint: #03a697;
  --mint-deep: #027c71;
  --mist: #e4f1ee;
  --mist-2: #f1f7f5;
  --paper: #fbfdfc;
  --line: #cfe0dc;
  --muted: #4a6572;
  --wa: #25d366;

  --display: "Familjen Grotesk", "Segoe UI", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, sans-serif;

  /* modular scale, ratio ~1.25 */
  --t-sm: 0.875rem;
  --t-base: 1.0625rem;
  --t-md: 1.25rem;
  --t-lg: 1.625rem;
  --t-xl: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  --t-hero: clamp(2.5rem, 1.6rem + 4.2vw, 4.75rem);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 10px;
  --r-lg: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--t-base)/1.6 var(--body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--mint-deep); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: 62ch; }
.lede { font-size: var(--t-md); color: var(--muted); line-height: 1.55; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  min-height: 52px; padding: 0 1.4em;
  border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--ink); color: #fff; }
.btn-wa { background: var(--mint); color: var(--ink); }
.btn-wa:hover { background: #04b8a7; color: var(--ink); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--mist); color: var(--ink); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 44px; height: 44px; }
.brand b { display: block; font: 700 1.15rem/1.1 var(--display); letter-spacing: -0.01em; }
.brand span { display: block; font-size: .8rem; color: var(--muted); }
.brand em { font-style: normal; }
@media (max-width: 420px) { .brand em { display: none; } }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 10px 14px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 500;
}
.nav-links a:hover { background: var(--mist); color: var(--ink); }
.nav-links a[aria-current="page"] { background: var(--mist); color: var(--navy); font-weight: 700; }
.nav-call { min-height: 46px; padding: 0 1.1em; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-call .label { display: none; }
  .nav-call { width: 46px; padding: 0; justify-content: center; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  }
  .nav-links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 14px 12px; font-size: 1.1rem; border-radius: 12px; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(32px, 6vw, 72px) 0 0; overflow: hidden; overflow: clip; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: end; }
.hero-copy { padding-bottom: clamp(40px, 7vw, 96px); }
.hero-where { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 500; margin-bottom: 22px; }
.hero-where::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--navy) 50%, var(--mint) 50%); }
.hero h1 { font-size: var(--t-hero); font-weight: 650; letter-spacing: -0.035em; line-height: 1.02; max-width: 14ch; }
.hero .lede { margin-top: 24px; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-hours { margin-top: 22px; font-size: var(--t-sm); color: var(--muted); }
.hero-hours strong { color: var(--ink); }

.hero-figure { position: relative; align-self: stretch; min-height: 520px; }
.hero-panel {
  position: absolute; inset: 40px 0 0 0;
  background: var(--mist);
  border-radius: 999px 999px 0 0;
}
.hero-lines { position: absolute; left: -18%; right: -18%; top: 0; bottom: 0; width: 136%; height: 100%; overflow: visible; }
.hero-lines path { fill: none; stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; }
.hero-portrait {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(88%, 440px); height: auto; filter: drop-shadow(0 30px 40px rgba(4, 76, 108, .18));
}
.hero-tag {
  position: absolute; left: 0; bottom: 48px; z-index: 2;
  background: #fff; border-radius: 16px; padding: 14px 18px;
  box-shadow: 0 18px 40px -18px rgba(6, 47, 66, .35);
  font-size: var(--t-sm); line-height: 1.35;
}
.hero-tag b { display: block; font: 700 1.05rem/1.2 var(--display); }

/* line draw on load — the one orchestrated motion on the page */
.js .hero-lines path { stroke-dasharray: var(--len, 2000); stroke-dashoffset: var(--len, 2000); }
.js.loaded .hero-lines path { animation: draw 2.2s var(--ease) forwards; }
.js.loaded .hero-lines path:nth-child(2) { animation-delay: .25s; }
.js .hero-portrait { opacity: 0; transform: translate(-50%, 24px); transition: opacity .9s var(--ease) .2s, transform .9s var(--ease) .2s; }
.js.loaded .hero-portrait { opacity: 1; transform: translate(-50%, 0); }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 8px; }
  .hero-figure { min-height: 0; aspect-ratio: 1 / 1.12; max-width: 460px; width: 100%; margin-inline: auto; }
  .hero-portrait { width: auto; height: 100%; }
  .js .hero-portrait, .js.loaded .hero-portrait { max-width: none; }
  .hero-tag { left: 0; bottom: 24px; }
}

/* ---------- section scaffolding ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: var(--t-xl); max-width: 22ch; }
.section-head p { color: var(--muted); max-width: 58ch; margin: 0; font-size: var(--t-md); line-height: 1.5; }
.tint { background: var(--mist-2); }
.dark { background: var(--ink); color: #dfeeee; }
.dark h2, .dark h3 { color: #fff; }
.dark .section-head p { color: #a9c6cb; }

/* ---------- symptom finder ---------- */
.finder { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font: 500 1rem/1.25 var(--body); color: var(--ink);
  padding: 12px 18px; border-radius: 999px; min-height: 48px;
  border: 1.5px solid var(--line); background: #fff; cursor: pointer; text-align: left;
  transition: border-color .2s, background-color .2s, color .2s;
}
.chip:hover { border-color: var(--mint); }
.chip[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.answer {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 40px); min-height: 320px;
  position: relative; overflow: hidden;
}
.answer::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px;
  border: 14px solid var(--mist); border-radius: 50%;
}
.answer h3 { font-size: var(--t-lg); margin-bottom: 14px; max-width: 20ch; position: relative; z-index: 1; }
.answer .maybe { color: var(--muted); margin-bottom: 18px; }
.answer .maybe strong { color: var(--ink); }
.answer ul { margin: 0 0 24px; padding-left: 1.2em; }
.answer li { margin-bottom: .4em; }
.answer li::marker { color: var(--mint); }
.answer .urgent { display: flex; gap: 10px; background: #fff4f2; color: #7a2418; border-radius: 12px; padding: 12px 14px; font-size: var(--t-sm); margin-bottom: 24px; }
.answer[data-anim] { animation: answerIn .35s var(--ease); }
@keyframes answerIn { from { opacity: 0; transform: translateY(8px); } }
.finder-note { margin-top: 20px; font-size: var(--t-sm); color: var(--muted); }
@media (max-width: 860px) { .finder { grid-template-columns: 1fr; } }

/* ---------- treatments ---------- */
.treat { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 3vw, 32px); }
.treat-main {
  grid-column: span 6; position: relative; border-radius: var(--r-lg); overflow: hidden;
  min-height: 440px; display: flex; align-items: flex-end; color: #fff; text-decoration: none;
  isolation: isolate;
}
.treat-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.treat-main::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,47,66,0) 25%, rgba(6,47,66,.88) 100%); }
.treat-main:hover img { transform: scale(1.04); }
.treat-main:hover { color: #fff; }
.treat-body { padding: clamp(22px, 3vw, 36px); }
.treat-main h3 { font-size: var(--t-lg); margin-bottom: 10px; }
.treat-main p { color: #d3e7e8; margin-bottom: 16px; max-width: 44ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li { font-size: .82rem; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); }
.treat-more { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 12px; }
.treat-more > div { padding: 24px 20px 0 0; }
.treat-more h4 { font-size: 1.15rem; margin-bottom: 6px; }
.treat-more p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 960px) {
  .treat-main { grid-column: span 12; min-height: 380px; }
  .treat-more { grid-template-columns: 1fr 1fr; gap: 0 20px; }
}
@media (max-width: 520px) { .treat-more { grid-template-columns: 1fr; } }

/* ---------- keyhole band ---------- */
.band { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,47,66,.94) 0%, rgba(6,47,66,.82) 45%, rgba(6,47,66,.25) 100%); }
.band .wrap { padding-block: clamp(80px, 11vw, 150px); }
.band h2 { font-size: var(--t-xl); max-width: 18ch; color: #fff; }
.band p { color: #cfe4e6; max-width: 48ch; margin-top: 20px; font-size: var(--t-md); line-height: 1.5; }
.facts { display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 64px); margin-top: 40px; list-style: none; padding: 0; }
.facts li { max-width: 18ch; color: #cfe4e6; font-size: .95rem; line-height: 1.4; }
.facts b { display: block; font: 600 1.6rem/1.1 var(--display); color: #fff; margin-bottom: 6px; }

/* ---------- about split ---------- */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-photo { position: relative; background: var(--mist); border-radius: 220px 220px var(--r-lg) var(--r-lg); padding-top: 40px; overflow: hidden; }
.about-photo img { width: 82%; margin-inline: auto; }
.about-photo.bust { padding-top: 56px; }
.about-photo.bust img { width: 88%; }
.about-quote { margin: 0 0 24px; font-size: var(--t-xl); max-width: 18ch; }
.creds { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.creds li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.creds b { font-family: var(--display); font-size: 1.1rem; color: var(--navy); }
.creds span { color: var(--muted); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about-photo { max-width: 420px; } }

/* ---------- visit steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 23px; left: 24px; right: calc((100% - 84px) / 4 - 24px); height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--navy), var(--mint)); }
.steps li { position: relative; counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%; margin-bottom: 20px; position: relative;
  background: var(--paper); border: 3px solid var(--mint); color: var(--navy);
  font: 700 1.1rem/1 var(--display);
}
.tint .steps li::before { background: var(--mist-2); }
.steps h3 { font-size: 1.2rem; margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; font-size: .98rem; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { top: 24px; bottom: 24px; left: 23px; right: auto; width: 3px; height: auto; background: linear-gradient(180deg, var(--navy), var(--mint)); }
  .steps li { padding-left: 72px; }
  .steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 22px 0; font: 600 1.2rem/1.3 var(--display); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23044c6c' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/16px no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 48px 24px 0; color: var(--muted); }
.faq details[open] > div { animation: answerIn .3s var(--ease); }

/* ---------- booking ---------- */
.book { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.book-info { display: grid; gap: 28px; }
.book-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; }
.book-photo img { width: 100%; height: 100%; object-fit: cover; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.info-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.info-list .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--mist); color: var(--navy); display: grid; place-items: center; }
.info-list .ico svg { width: 22px; height: 22px; }
.info-list b { display: block; font-family: var(--display); font-size: 1.05rem; }
.info-list span, .info-list a { color: var(--muted); }
.info-list a { text-decoration: none; }
.info-list a:hover { color: var(--navy); text-decoration: underline; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); box-shadow: 0 30px 60px -40px rgba(6, 47, 66, .35); }
.form h3 { font-size: var(--t-lg); margin-bottom: 6px; }
.form > p { color: var(--muted); font-size: .95rem; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-weight: 600; font-size: .95rem; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: 400 1rem/1.4 var(--body); color: var(--ink);
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--paper);
  transition: border-color .2s, background-color .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mint); background: #fff; box-shadow: 0 0 0 4px rgba(3, 166, 151, .15); }
.field [aria-invalid="true"] { border-color: #c2412d; }
.field .err { color: #b13a27; font-size: .85rem; min-height: 0; }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-foot { margin-top: 14px; font-size: .85rem; color: var(--muted); text-align: center; }
@media (max-width: 860px) { .book { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--mist); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; padding: clamp(48px, 8vw, 100px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.page-hero h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.75rem); max-width: 18ch; letter-spacing: -0.03em; }
.page-hero .lede { margin-top: 20px; max-width: 56ch; }
.page-hero svg.deco { position: absolute; right: -60px; top: 10px; width: min(44vw, 460px); height: auto; opacity: .9; pointer-events: none; }
.page-hero path { fill: none; stroke-width: 14; stroke-linecap: round; }
@media (max-width: 720px) { .page-hero svg.deco { opacity: .25; right: -120px; } }
.crumbs { font-size: var(--t-sm); color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

/* treatment detail rows */
.tx { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line); }
.tx:first-of-type { border-top: 0; }
.tx:nth-of-type(even) .tx-img { order: 2; }
.tx-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; }
.tx-img img { width: 100%; height: 100%; object-fit: cover; }
.tx h2 { font-size: var(--t-xl); margin-bottom: 16px; }
.tx > div > p { color: var(--muted); font-size: 1.08rem; }
.tx-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.tx-cols h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--navy); }
.tx-cols ul { margin: 0; padding-left: 1.1em; }
.tx-cols li { margin-bottom: .35em; }
.tx-cols li::marker { color: var(--mint); }
@media (max-width: 860px) {
  .tx { grid-template-columns: 1fr; }
  .tx:nth-of-type(even) .tx-img { order: 0; }
}
@media (max-width: 440px) { .tx-cols { grid-template-columns: 1fr; } }

.timeline { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--mint); }
.timeline li { position: relative; padding: 0 0 28px 28px; }
.timeline li::before { content: ""; position: absolute; left: -10px; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: var(--paper); border: 3px solid var(--navy); }
.timeline b { display: block; font: 600 1.2rem/1.2 var(--display); margin-bottom: 4px; }
.timeline span { color: var(--muted); }

.prose { max-width: 70ch; }
.prose h2 { font-size: 1.5rem; margin: 2em 0 .6em; }
.prose p, .prose li { color: #2b4753; }
.prose ul { padding-left: 1.2em; }

/* ---------- CTA strip ---------- */
.cta { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; position: relative; overflow: hidden; }
.cta h2 { font-size: var(--t-xl); color: #fff; max-width: 20ch; }
.cta p { color: #c6dfe3; margin: 10px 0 0; }
.cta .acts { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #a9c6cb; padding: 72px 0 28px; margin-top: clamp(64px, 9vw, 120px); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.foot h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: #a9c6cb; text-decoration: none; }
.foot a:hover { color: #fff; }
.foot .brand { color: #fff; margin-bottom: 16px; }
.foot .brand span { color: #8fb2b8; }
.foot .brand img { background: #fff; border-radius: 12px; padding: 4px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }
.foot-base a { color: #a9c6cb; }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot { grid-template-columns: 1fr; } }

/* ---------- floating WhatsApp (mobile action bar) ---------- */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--paper) 92%, transparent);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { justify-content: center; min-height: 50px; padding: 0 .8em; }
  body { padding-bottom: 76px; }
}

/* ---------- reveal (scroll), gated on JS ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hero-lines path { stroke-dashoffset: 0; }
  .js .hero-portrait { opacity: 1; transform: translateX(-50%); }
  .js .reveal { opacity: 1; transform: none; }
}
