/* Lister Saúde · Osteopatia — light, clinical, the brand's two greens.
   The vertebra (a capsule) stays as the quiet motif; the anatomy is real and in colour. */

/* General Sans (Indian Type Foundry, Fontshare), self-hosted */
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #ffffff;
  --soft: #f3f7ef;
  --soft-2: #e8f0e1;
  --ink: #13261a;
  --muted: #4b5f52;
  --line: rgba(19, 38, 26, .10);

  --brand: #23783f;        /* the logo's green */
  --brand-deep: #195c2f;
  --brand-light: #8dc540;  /* the "FISIOTERAPIA" green */
  --brand-tint: #e3f1d2;
  --pain: #e4553f;         /* where it hurts */

  /* the spine, segment by segment, always in colour */
  --seg-cervical: #8dc540;
  --seg-dorsal: #3c9a64;
  --seg-lombar: #23783f;
  --seg-bacia: #b9dc8c;
  --bone: #f6f2e8;
  --bone-2: #e7e0cf;
  --bone-line: #8a8676;

  --font: "General Sans", ui-sans-serif, system-ui, sans-serif;
  --step-small: .875rem;
  --step-body: clamp(1rem, .96rem + .2vw, 1.125rem);
  --step-lead: clamp(1.125rem, 1.02rem + .5vw, 1.375rem);
  --step-h3: clamp(1.375rem, 1.15rem + .9vw, 1.875rem);
  --step-h2: clamp(2rem, 1.3rem + 2.4vw, 3.4rem);
  --step-h1: clamp(2.6rem, 1.4rem + 3.8vw, 4.75rem);

  --wrap: 1360px;
  --pad: clamp(1.25rem, 3vw, 2.5rem);
  --section: clamp(3.5rem, 6vw, 6rem);
  --radius: 28px;
  --radius-s: 18px;
  --pill: 999px;
  --shadow: 0 1px 2px rgba(19, 38, 26, .06), 0 12px 32px -12px rgba(19, 38, 26, .18);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[role], ol[role] { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
::selection { background: var(--brand-light); color: var(--ink); }
:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-weight: 600; text-wrap: balance; letter-spacing: -0.02em; line-height: 1.08; }
h1 { font-size: var(--step-h1); letter-spacing: -0.035em; line-height: 1; }
h2 { font-size: var(--step-h2); letter-spacing: -0.03em; line-height: 1.04; }
h3 { font-size: var(--step-h3); }
p { text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--brand); color: #fff; padding: .7rem 1.2rem; border-radius: var(--pill); }
.skip:focus { top: 1rem; }
.lead { font-size: var(--step-lead); line-height: 1.5; color: var(--muted); max-width: 46ch; }
.kicker { display: inline-flex; align-items: center; gap: .55rem; font-size: var(--step-small); font-weight: 500; color: var(--brand); }
.kicker::before { content: ""; width: 22px; height: 8px; border-radius: var(--pill); background: var(--brand-light); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .kicker { grid-column: 1 / -1; margin-bottom: -.5rem; font-size: var(--step-small); color: var(--brand); }
.section-head p { color: var(--muted); font-size: var(--step-lead); line-height: 1.5; max-width: 44ch; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.25rem; padding: 0 1.6rem; border-radius: var(--pill); background: var(--brand); color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; transition: transform 160ms var(--ease), background-color 200ms ease, color 200ms ease, box-shadow 200ms ease; }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-light { background: #fff; color: var(--brand-deep); }
.btn-small { min-height: 2.75rem; padding: 0 1.2rem; font-size: .95rem; }
.arrow-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--brand); text-decoration: none; }
.arrow-link span { transition: transform 200ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--brand-deep); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(35, 120, 63, .6); }
  .btn-ghost:hover { background: var(--soft); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--brand); }
  .btn-light:hover { background: var(--brand-tint); color: var(--brand-deep); }
  .arrow-link:hover span { transform: translateX(4px); }
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); transition: box-shadow 250ms ease, background-color 250ms ease; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(19, 38, 26, .25); background: #fff; }
.header-in { display: flex; align-items: center; gap: 2rem; min-height: 84px; }
.brand { display: block; flex: none; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: .25rem; margin-left: auto; }
.nav a { padding: .55rem .85rem; border-radius: var(--pill); white-space: nowrap; text-decoration: none; font-weight: 500; font-size: .975rem; color: var(--ink); transition: background-color 180ms ease, color 180ms ease; }
.nav a[aria-current="page"] { color: var(--brand); }
@media (hover: hover) and (pointer: fine) { .nav a:hover { background: var(--soft); color: var(--brand); } }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.header-actions .btn { gap: 0; }
.header-phone { display: none; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: var(--pill); background: var(--soft); align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; transition: transform 250ms var(--ease), background-color 200ms; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 82em) {
  .header-phone { display: none; }
}
@media (max-width: 69.99em) {
  .nav a { padding: .5rem .6rem; }
}
@media (max-width: 59.99em) {
  .header-in { min-height: 72px; gap: 1rem; }
  .brand img { height: 38px; }
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; background: #fff; padding: .75rem var(--pad) 1.5rem; box-shadow: 0 24px 40px -24px rgba(19, 38, 26, .35); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 220ms ease, transform 300ms var(--ease), visibility 0s 300ms; }
  .menu-open .nav { opacity: 1; transform: none; visibility: visible; transition: opacity 220ms ease, transform 300ms var(--ease); }
  .nav a { padding: .95rem .25rem; font-size: 1.15rem; border-radius: 0; box-shadow: 0 1px 0 var(--line); }
  .header-actions { margin-left: auto; }
}
@media (max-width: 29.99em) { .header-in { gap: .6rem; } .brand img { height: 30px; } .header-actions { gap: .4rem; } .header-actions .btn { padding: 0 .95rem; } .header-actions .btn .long { display: none; } .menu-btn { width: 44px; height: 44px; } }

/* =========================================================
   HERO
   ========================================================= */
.hero { background: var(--soft); padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-copy .kicker { margin-bottom: 1.4rem; }
.hero-copy h1 { max-width: 15ch; font-size: clamp(2.6rem, 1.4rem + 3.3vw, 4.3rem); }
.hero-copy .lead { margin-top: 1.5rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 1.25rem 2.25rem; margin-top: 2.75rem; padding-top: 1.75rem; box-shadow: inset 0 1px 0 var(--line); }
.hero-facts div { display: grid; gap: .1rem; }
.hero-facts dt { font-size: var(--step-small); color: var(--muted); }
.hero-facts dd { font-weight: 600; }
.hero-media { position: relative; }
.hero-photo { position: relative; aspect-ratio: 5 / 5.4; border-radius: var(--radius); overflow: hidden; background: var(--soft-2); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1600ms var(--ease-soft); }
.hero-photo img.is-on { opacity: 1; }
.hero-card { position: absolute; left: clamp(-2.5rem, -3vw, -1rem); bottom: 2rem; display: flex; align-items: center; gap: .9rem; background: #fff; border-radius: var(--radius-s); padding: .8rem 1.25rem .8rem .8rem; box-shadow: var(--shadow); max-width: 320px; }
.hero-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 52% 28%; flex: none; }
.hero-card strong { display: block; line-height: 1.25; }
.hero-card span { font-size: var(--step-small); color: var(--muted); line-height: 1.35; display: block; }
.hero-dots { position: absolute; right: 1.25rem; bottom: 1.25rem; display: flex; gap: 6px; }
.hero-dots i { width: 22px; height: 6px; border-radius: var(--pill); background: rgba(255, 255, 255, .55); transition: background-color 400ms ease, width 400ms var(--ease); }
.hero-dots i.is-on { width: 34px; background: #fff; }

/* =========================================================
   ONDE DÓI — real anatomy, in colour
   ========================================================= */
.where { padding: var(--section) 0; }
.where-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, .95fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: center; }
.where-names { display: grid; gap: .4rem; }
.where-names button { display: flex; align-items: center; gap: .85rem; width: 100%; text-align: left; padding: .75rem 1rem; border-radius: var(--radius-s); font-weight: 500; font-size: 1.05rem; color: var(--ink); transition: background-color 200ms ease, color 200ms ease, transform 250ms var(--ease); }
.where-names button i { width: 12px; height: 12px; border-radius: 50%; background: var(--c, var(--bone-2)); box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line); flex: none; transition: transform 250ms var(--ease); }
.where-names button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.where-names button[aria-pressed="true"] i { background: var(--pain); box-shadow: 0 0 0 4px var(--ink), 0 0 0 6px var(--pain); }
@media (hover: hover) and (pointer: fine) { .where-names button:not([aria-pressed="true"]):hover { background: var(--soft); transform: translateX(4px); } }

.where-stage { position: relative; height: min(74vh, 700px); display: grid; place-items: center; }
.where-stage::before { content: ""; position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%; background: var(--soft); }
.skeleton-box { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); aspect-ratio: 343 / 807; }
.skeleton-box > img, .skeleton-box > svg { width: 100%; height: 100%; }
.skeleton path, .skeleton rect { stroke: var(--bone-line); stroke-width: .32; stroke-linejoin: round; transition: fill 450ms var(--ease), opacity 450ms ease; }
.skeleton .bg { stroke: none; }
.skeleton .t0 { fill: var(--bone); }
.skeleton .t1 { fill: var(--bone-2); }
.skeleton .t2 { fill: #d3cab3; }
.skeleton .t3 { fill: #5d594d; }
.skeleton .tn { fill: none; }
/* the spine, always coloured by segment */
.skeleton .r-pescoco.t0, .skeleton .r-pescoco.t1 { fill: var(--seg-cervical); }
.skeleton .r-costas.t0, .skeleton .r-costas.t1 { fill: var(--seg-dorsal); }
.skeleton .r-lombar.t0, .skeleton .r-lombar.t1 { fill: var(--seg-lombar); }
.skeleton .r-anca.t0 { fill: #dceec6; } .skeleton .r-anca.t1 { fill: var(--seg-bacia); }
.skeleton .r-pescoco.t2, .skeleton .r-costas.t2, .skeleton .r-lombar.t2 { fill: #1d5e33; }
/* where it hurts */
.skeleton.has-hot .hot.t0, .skeleton.has-hot .hot.t1 { fill: var(--pain); }
.skeleton.has-hot .hot.t2 { fill: #b83a27; }
.halo { fill: var(--pain); opacity: .16; transform-box: fill-box; transform-origin: center; }
.tape { fill: var(--pain); }
@media (prefers-reduced-motion: no-preference) {
  .halo { animation: halo 2.2s var(--ease-soft) infinite; }
  .skeleton-box > svg { animation: breathe 6s ease-in-out infinite; transform-origin: 50% 100%; }
}
@keyframes halo { 0% { transform: scale(.7); opacity: .26; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes breathe { 50% { transform: scaleY(1.006); } }

.where-card { background: var(--soft); border-radius: var(--radius); padding: clamp(1.5rem, 2.5vw, 2.25rem); }
.fact h3 { margin-bottom: .75rem; }
.fact-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.fact-tags span { font-size: var(--step-small); font-weight: 500; padding: .25rem .7rem; border-radius: var(--pill); background: var(--brand-tint); color: var(--brand-deep); }
.fact p { color: var(--muted); }
.js .fact { display: none; }
.js .fact.is-on { display: block; animation: fadeUp 480ms var(--ease); }
.where-card .card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.where-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; justify-content: center; margin-top: 1.25rem; font-size: var(--step-small); color: var(--muted); }
.where-legend span { display: inline-flex; align-items: center; gap: .45rem; }
.where-legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

/* =========================================================
   TRATAMENTOS — three cards
   ========================================================= */
.treat { padding: var(--section) 0; background: var(--soft); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.card { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 350ms var(--ease), box-shadow 350ms var(--ease); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.card-body { padding: 1.75rem 1.75rem 2rem; display: flex; flex-direction: column; gap: .9rem; flex: 1; }
.card-body p { color: var(--muted); }
.card-body ul { display: flex; flex-wrap: wrap; gap: .4rem; margin: .25rem 0 .5rem; }
.card-body li { font-size: var(--step-small); padding: .25rem .7rem; border-radius: var(--pill); background: var(--soft); }
.card .arrow-link { margin-top: auto; }
.card .arrow-link::after { content: ""; position: absolute; inset: 0; }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
  .card:hover .card-img img { transform: scale(1.05); }
}

/* =========================================================
   OSTEOPATIA — what it treats
   ========================================================= */
.osteo { padding: var(--section) 0; }
.osteo-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.osteo-media { position: sticky; top: 110px; display: grid; gap: 1rem; }
.osteo-media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3.4; object-fit: cover; }
.osteo-media figcaption { font-size: var(--step-small); color: var(--muted); }
.osteo-copy > p { margin-top: 1.25rem; max-width: 58ch; }
.conds { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 2.5rem; background: var(--line); border-radius: var(--radius-s); overflow: hidden; }
.conds li { background: #fff; padding: 1.25rem 1.25rem 1.35rem 3rem; position: relative; }
.conds li::before { content: ""; position: absolute; left: 1.25rem; top: 1.65rem; width: 14px; height: 6px; border-radius: var(--pill); background: var(--brand-light); }
.conds h3 { font-size: 1.05rem; letter-spacing: -0.01em; }
.conds p { color: var(--muted); font-size: .95rem; margin-top: .2rem; }
.note { margin-top: 2rem; display: flex; gap: 1.25rem; align-items: center; background: var(--brand-tint); border-radius: var(--radius-s); padding: 1rem; }
.note img { width: 96px; height: 96px; border-radius: 14px; object-fit: cover; flex: none; }
.note p { color: var(--brand-deep); }

/* =========================================================
   A PRIMEIRA CONSULTA — stepper
   ========================================================= */
.visit { padding: var(--section) 0; background: var(--ink); color: #eef4ee; }
.visit .kicker { color: var(--brand-light); }
.visit .section-head p { color: #b9c9bd; }
.stepper { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.steps { display: grid; gap: .5rem; }
.step { border-radius: var(--radius-s); transition: background-color 300ms ease; }
.step button { width: 100%; text-align: left; display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; padding: 1.1rem 1.25rem .9rem; color: inherit; }
.step-dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; background: rgba(255, 255, 255, .08); transition: background-color 300ms ease, color 300ms ease; }
.step-title { font-size: var(--step-h3); font-weight: 600; letter-spacing: -0.02em; }
.step-text { padding: 0 1.25rem 0 calc(1.25rem + 40px + 1rem); color: #b9c9bd; max-width: 52ch; }
.step-bar { margin: 1rem 1.25rem 0; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.step-bar i { display: block; height: 100%; width: 100%; background: var(--brand-light); transform: scaleX(0); transform-origin: left; }
.step.is-on { background: rgba(255, 255, 255, .06); }
.step.is-on .step-dot { background: var(--brand-light); color: var(--ink); }
.step.is-on .step-bar i { transform: scaleX(var(--p, 0)); }
.js .step:not(.is-on) .step-text, .js .step:not(.is-on) .step-bar { display: none; }
.step.is-on .step-text { animation: fadeUp 450ms var(--ease); }
.step:not(.is-on) { padding-bottom: .2rem; }
.step.is-on { padding-bottom: 1.1rem; }
@media (hover: hover) and (pointer: fine) { .step:not(.is-on):hover { background: rgba(255, 255, 255, .04); } }
.stepper-media { position: relative; aspect-ratio: 4 / 3.3; border-radius: var(--radius); overflow: hidden; background: #0d1c12; }
.stepper-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 700ms ease, transform 1400ms var(--ease); }
.stepper-media img.is-on { opacity: 1; transform: none; }
.stepper-ctrl { position: absolute; right: 1rem; bottom: 1rem; }
.stepper-ctrl button { min-height: 2.5rem; padding: 0 1rem; border-radius: var(--pill); background: rgba(19, 38, 26, .72); color: #fff; font-size: var(--step-small); font-weight: 600; }

/* =========================================================
   THE SPINE BAND — comes into line as you scroll
   ========================================================= */
.spine { padding: clamp(3rem, 6vw, 5rem) 0; overflow: hidden; }
.spine-row { display: flex; gap: 8px; height: clamp(70px, 8vw, 120px); align-items: center; }
.spine-row i { flex: 1; height: 72%; border-radius: var(--pill); background: var(--seg-dorsal); will-change: transform; }
.spine-row i:nth-child(-n+5) { background: var(--seg-cervical); }
.spine-row i:nth-last-child(-n+6) { background: var(--seg-lombar); }
.spine-cap { text-align: center; margin-top: 1.5rem; color: var(--muted); font-size: var(--step-small); }

/* =========================================================
   EQUIPA — Alexandra
   ========================================================= */
.about { padding: 0 0 var(--section); }
.about-panel > *, .hero-grid > *, .where-grid > *, .faq-grid > *, .book-grid > *, .osteo-grid > *, .stepper > * { min-width: 0; }
.about-panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; background: var(--soft); border-radius: calc(var(--radius) + 8px); padding: clamp(1.5rem, 4vw, 4rem); }
.about-portrait { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--brand-tint); }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.about-copy h2 { max-width: 13ch; }
.about-copy > p { margin-top: 1.25rem; max-width: 56ch; color: var(--muted); }
.about-copy > p strong { color: var(--ink); font-weight: 600; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0; }
.stats div { background: #fff; border-radius: var(--radius-s); padding: 1.1rem 1.2rem; }
.stats dt { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); font-weight: 600; letter-spacing: -0.03em; color: var(--brand); line-height: 1.1; }
.stats dd { margin: .25rem 0 0; font-size: var(--step-small); color: var(--muted); line-height: 1.4; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: var(--section) 0; background: var(--soft); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-side p { margin-top: 1.25rem; color: var(--muted); max-width: 36ch; }
.faq-plate { margin-top: 2rem; width: 62%; aspect-ratio: 1 / 1.6; border-radius: var(--pill); overflow: hidden; background: #ece6d6; }
.faq-plate img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; mix-blend-mode: multiply; }
.faq-list { display: grid; gap: .6rem; }
.faq details { background: #fff; border-radius: var(--radius-s); transition: box-shadow 250ms ease; }
.faq details[open] { background: #fff; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; font-weight: 600; font-size: 1.075rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.pm { flex: none; position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--soft); transition: transform 300ms var(--ease), background-color 250ms ease; }
.pm::before, .pm::after { content: ""; position: absolute; left: 10px; top: 15px; width: 12px; height: 2px; border-radius: 2px; background: var(--ink); }
.pm::after { transform: rotate(90deg); }
.faq details[open] .pm { transform: rotate(45deg); background: var(--brand-light); }
.faq details > p { padding: 0 1.5rem 1.4rem; color: var(--muted); max-width: 62ch; }
.faq details[open] > p { animation: fadeUp 400ms var(--ease); }

/* =========================================================
   MARCAR + CONTACTOS
   ========================================================= */
.book { padding: var(--section) 0; }
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.book-card { background: var(--brand-deep); color: #fff; border-radius: var(--radius); padding: clamp(1.75rem, 4vw, 3.25rem); position: relative; overflow: hidden; }
.book-card h2 { color: #fff; max-width: 12ch; }
.book-card > p { margin-top: 1rem; color: #dcefd9; max-width: 40ch; }
.book-card .leaf { position: absolute; right: -40px; top: -30px; width: 220px; opacity: .1; pointer-events: none; }
.form { display: grid; gap: .7rem; margin-top: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.field { width: 100%; min-height: 3.4rem; padding: 0 1.25rem; border: 0; border-radius: var(--radius-s); background: rgba(255, 255, 255, .14); color: #fff; font-size: 1rem; appearance: none; transition: background-color 200ms ease, box-shadow 200ms ease; }
.field::placeholder { color: #cfe6cc; opacity: 1; }
.field:focus { outline: none; background: rgba(255, 255, 255, .22); box-shadow: 0 0 0 2px var(--brand-light); }
select.field option { color: var(--ink); }
.field[aria-invalid="true"] { box-shadow: 0 0 0 2px #ffd0c7; }
.form .btn-light { margin-top: .4rem; min-height: 3.5rem; }
.form-msg { min-height: 1.5em; font-weight: 500; color: #fff; }
.form-legal { font-size: var(--step-small); color: #cfe6cc; }
.form-legal a { color: #fff; }

.contact-card { background: var(--soft); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.contact-info { padding: clamp(1.75rem, 4vw, 3rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
.contact-info h3 { font-size: var(--step-small); font-weight: 500; color: var(--muted); letter-spacing: 0; margin-bottom: .35rem; }
.contact-info p, .contact-info a { font-weight: 600; font-size: 1.075rem; line-height: 1.45; }
.contact-info a { color: var(--brand-deep); text-decoration-thickness: .07em; text-underline-offset: .2em; }
.map { min-height: 300px; position: relative; background: var(--soft-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.map-load { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 1.5rem; }
.map-load img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }

/* =========================================================
   SUBPAGES
   ========================================================= */
.crumbs { font-size: var(--step-small); color: var(--muted); margin-bottom: 1.5rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; list-style: none; }
.crumbs li + li::before { content: "›"; margin-right: .4rem; color: var(--muted); }
.crumbs a { color: var(--brand-deep); text-decoration: none; }
.page-hero .hero-photo { aspect-ratio: 5 / 4.4; }
.prose { padding: var(--section) 0; }
.prose-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); }
.prose-grid > :first-child { position: sticky; top: 110px; align-self: start; }
.prose-body > * + * { margin-top: 1.1rem; }
.prose-body h3 { margin-top: 2.25rem; }
.prose-body p, .prose-body li { color: var(--muted); max-width: 62ch; }
.prose-body ul { padding-left: 1.2rem; }
.prose-body strong { color: var(--ink); }
.cta-band { background: var(--brand); color: #fff; border-radius: calc(var(--radius) + 8px); padding: clamp(2rem, 5vw, 4rem); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; }
.cta-band h2 { color: #fff; max-width: 16ch; }
.cta-band p { color: #dcefd9; margin-top: .75rem; }
.cta-band .ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-band .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
@media (hover: hover) and (pointer: fine) { .cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1.5px #fff; } }
.cta-wrap { padding: 0 0 var(--section); }
.plan { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.plan li { background: #fff; border-radius: var(--radius); padding: 1.75rem; }
.plan li > img { width: calc(100% + 1.75rem); max-width: none; margin: -.875rem -.875rem 1.25rem; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-s); }
.plan li span { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-deep); font-weight: 600; margin-bottom: 1rem; }
.plan h3 { margin-bottom: .5rem; }
.plan p { color: var(--muted); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--brand-deep); color: #dcefd9; padding: clamp(3.5rem, 6vw, 5.5rem) 0 2rem; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.foot-brand img { height: auto; width: min(100%, 380px); }
.foot-brand p { margin-top: 1.25rem; max-width: 34ch; font-size: .95rem; }
.site-footer h2 { font-size: 1rem; letter-spacing: 0; color: #fff; margin-bottom: 1rem; }
.site-footer nav, .foot-col { display: grid; gap: .5rem; align-content: start; font-size: .95rem; }
.site-footer a { color: #dcefd9; text-decoration: none; transition: color 180ms ease; }
@media (hover: hover) and (pointer: fine) { .site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; } }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); font-size: var(--step-small); color: #b5d4b4; }
.foot-bottom p { max-width: 80ch; }

/* floating call button on phones */
.call-fab { display: none; }
@media (max-width: 47.99em) {
  .call-fab { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; display: inline-flex; width: 58px; height: 58px; border-radius: 50%; background: var(--brand); color: #fff; align-items: center; justify-content: center; box-shadow: 0 10px 28px -8px rgba(19, 38, 26, .5); transform: translateY(120px); transition: transform 400ms var(--ease); }
  .call-fab.is-shown { transform: none; }
  .call-fab svg { width: 24px; height: 24px; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 63.99em) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-photo, .page-hero .hero-photo { aspect-ratio: 16 / 10; }
  .hero-copy h1 { max-width: 18ch; }
  .where-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .where-stage { grid-column: 2; grid-row: 1 / span 2; height: 640px; }
  .where-names { grid-column: 1; grid-row: 1; }
  .where-card { grid-column: 1; grid-row: 2; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card:last-child { grid-column: 1 / -1; }
  .cards .card:last-child .card-img { aspect-ratio: 16 / 7; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .plan { grid-template-columns: 1fr; }
}
@media (max-width: 47.99em) {
  .section-head, .hero-grid, .osteo-grid, .stepper, .about-panel, .faq-grid, .book-grid, .prose-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-photo { aspect-ratio: 4 / 3.4; }
  .hero-card { left: .75rem; right: .75rem; bottom: .75rem; max-width: none; }
  .hero-dots { top: 1rem; bottom: auto; }
  .hero-facts { grid-template-columns: 1fr 1fr; gap: 1rem 1.75rem; }
  .where-grid { grid-template-columns: 1fr; }
  .where-names { grid-row: 1; display: flex; flex-wrap: wrap; gap: .4rem; }
  .where-names button { width: auto; padding: .55rem .9rem; font-size: .975rem; background: var(--soft); border-radius: var(--pill); }
  .where-stage { grid-column: 1; grid-row: 2; height: min(560px, 120vw); }
  .where-card { grid-row: 3; }
  .cards { grid-template-columns: 1fr; }
  .cards .card:last-child .card-img { aspect-ratio: 4 / 3; }
  .osteo-media, .faq-side, .prose-grid > :first-child { position: static; }
  .conds { grid-template-columns: 1fr; }
  .stepper-media { order: -1; }
  .step-text { padding-left: 1.25rem; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: .5rem; }
  .stats div { padding: .9rem; }
  .stats dt { font-size: 1.2rem; }
  .stats > div { min-width: 0; padding: .8rem .7rem; }
  .stats dd { font-size: .8125rem; hyphens: auto; overflow-wrap: anywhere; }
  .hero-card { left: .75rem; }
  .faq-plate { display: none; }
  .form-row, .contact-info { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; gap: 2rem; }
}

/* =========================================================
   MOTION — entrances (content visible without script)
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(20px); animation: rise 900ms var(--ease) forwards; animation-delay: calc(var(--i, 0) * 90ms + 120ms); }
  .js .hero-photo { clip-path: inset(8% 8% 8% 8% round var(--radius)); animation: open 1300ms 150ms var(--ease-io) forwards; }
  .js .hero-photo img.is-on { animation: drift 14s var(--ease-soft) both; }
  .js .hero-card { opacity: 0; transform: translateY(16px); animation: rise 800ms 900ms var(--ease) forwards; }
  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease), transform 900ms var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .where-stage::before { transform: scale(.6); opacity: 0; transition: transform 1200ms var(--ease), opacity 800ms ease; }
  .js .where.is-in .where-stage::before { transform: none; opacity: 1; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes open { to { clip-path: inset(0 0 0 0 round var(--radius)); } }
@keyframes drift { from { transform: scale(1.07); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
}
.side-img { margin-top: 2rem; width: 100%; max-width: 420px; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius); }
.plan li { overflow: hidden; }

/* =========================================================
   v8 — banner, panels, fisioterapia, big phone
   ========================================================= */

/* the link to the sister site */
.nav .nav-cross { color: var(--brand-deep); background: var(--brand-tint); }
@media (hover: hover) and (pointer: fine) { .nav .nav-cross:hover { background: var(--brand-light); color: var(--ink); } }

/* ---------- HERO: full-bleed brand green, the photo fading in from the right (same family as the fisioterapia site) ---------- */
.topbar { background: #0e3b22; color: #dcebd7; font-size: .875rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar .status { font-weight: 500; }
.topbar-links { display: flex; gap: 1.5rem; }
.topbar-links a { text-decoration: none; white-space: nowrap; transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .topbar-links a:hover { color: #fff; } }
.status { display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap; }
.status i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #9fb7a6; flex: none; }
.status.is-open i { background: var(--brand-light); }
.status.is-open i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--brand-light); }
.topbar-info { white-space: nowrap; }
@media (max-width: 47.99em) { .topbar-links a:not(:first-child), .topbar-place { display: none; } }

.hx { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: linear-gradient(165deg, #30843f 0%, #2a7f3e 45%, #1b6436 100%); padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(2.5rem, 4vw, 3.5rem); }
.hx::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(0deg, rgba(8, 38, 26, .32), transparent); z-index: -1; }
.hx-media { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; z-index: -1; }
.hx-photo { position: absolute; inset: 0; margin: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%); mask-image: linear-gradient(90deg, transparent 0, #000 38%); }
.hx-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: 0; transition: opacity 1600ms var(--ease-soft); }
.hx-photo img:nth-child(2) { object-position: 50% 18%; }
.hx-photo img.is-on { opacity: 1; }
.hx-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: .8rem; padding: .8rem 1.15rem .8rem .8rem; border-radius: 18px; background: #fff; color: var(--muted); font-size: .875rem; line-height: 1.35; text-decoration: none; box-shadow: 0 12px 40px rgba(14, 59, 34, .18); }
.hx-chip strong { color: var(--ink); font-size: .95rem; font-weight: 600; }
.hx-chip img { width: 46px; height: 46px; border-radius: 14px; object-fit: cover; object-position: 52% 22%; flex: none; }
.hx-chip-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--brand-light); color: #fff; flex: none; }
.hx-chip-icon svg { width: 22px; height: 22px; }
.hx-chip-a { left: 22%; top: 18%; }
.hx-chip-b { right: 5%; bottom: 30%; }
.hx-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.hx-text { position: relative; }
.hx-eyebrow { display: flex; width: fit-content; align-items: center; gap: .6rem; margin-bottom: 1.1rem; line-height: 1.3; font-size: .875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.hx-eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.hx-crumbs { margin-bottom: 1.1rem; font-size: .875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.hx-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.hx-crumbs li + li::before { content: "›"; margin-right: .5rem; opacity: .7; }
.hx-crumbs a { color: #e9ffd0; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .hx-crumbs a:hover { text-decoration: underline; text-underline-offset: .2em; } }
.hx-title { color: #fff; font-size: clamp(2.6rem, 1.4rem + 4.4vw, 4.9rem); font-weight: 700; line-height: 1.02; letter-spacing: -0.04em; }
.hx-title .hl { display: block; color: #e9ffd0; }
.hx-lead { margin-top: 1.5rem; max-width: 34em; font-size: clamp(1.0625rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: #fff; }
.hx-lead strong { font-weight: 700; }
.hx-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.btn-white { background: #fff; color: var(--brand-deep); min-height: 3.5rem; padding: 0 1.8rem; box-shadow: 0 10px 28px rgba(8, 38, 26, .22); }
.btn-line { background: transparent; color: #fff; min-height: 3.5rem; padding: 0 1.8rem; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
@media (hover: hover) and (pointer: fine) {
  .btn-white:hover { background: var(--brand-tint); color: var(--brand-deep); }
  .btn-line:hover { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1.5px #fff; }
}
.hx-checks { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 2rem; font-weight: 600; font-size: .975rem; }
.hx-checks li { display: inline-flex; align-items: center; gap: .5rem; }
.hx-checks svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.hx-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: clamp(2.5rem, 5vw, 4rem); border-radius: var(--radius-s); overflow: hidden; background: rgba(255, 255, 255, .22); }
.hx-stats > div { display: flex; flex-direction: column-reverse; gap: .25rem; padding: 1.4rem 1.5rem; background: rgba(8, 38, 26, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hx-stats dt { font-size: .9rem; opacity: .9; }
.hx-stats dd { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); font-weight: 700; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.hx-stats dd.hx-stats-text { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem); }
@media (min-width: 56.3em) and (max-width: 77.5em) {
  .hx-media { width: 50%; }
  .hx-photo { -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 8%, #000 50%); mask-image: linear-gradient(90deg, transparent 0, transparent 8%, #000 50%); }
}
@media (max-width: 56.25em) {
  .hx { display: flex; flex-direction: column; padding-top: 2.5rem; }
  .hx-in { order: 1; grid-template-columns: minmax(0, 1fr); width: 100%; }
  .hx-media { order: 2; position: relative; width: auto; height: auto; aspect-ratio: 4 / 3.6; margin-top: 2rem; z-index: auto; }
  .hx > .wrap:last-child { order: 3; width: 100%; }
  .hx-photo { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%); mask-image: linear-gradient(180deg, transparent 0, #000 22%); }
  .hx-chip-a { left: var(--pad); top: auto; bottom: 16px; }
  .hx-chip-b { display: none; }
  .hx-stats { margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 29.99em) {
  .hx-stats > div { padding: 1.1rem 1rem; }
  .hx-checks { gap: .5rem 1rem; font-size: .9375rem; }
}

/* ---------- treatments: three panels that open ---------- */
.treat .section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.panels { display: flex; gap: clamp(.75rem, 1.2vw, 1rem); height: clamp(460px, 40vw, 600px); }
.panel { position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: #fff; cursor: pointer; transition: flex-grow 800ms var(--ease-io); }
.panel.is-open { flex-grow: 2.6; cursor: default; }
.panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1400ms var(--ease); }
.panel.is-open > img { transform: none; }
.panel::after { content: ""; position: absolute; inset: 35% 0 0 0; background: linear-gradient(to top, rgba(9, 22, 13, .88), rgba(9, 22, 13, 0)); pointer-events: none; }
.panel-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(1.25rem, 2.4vw, 2rem); }
.panel h3 { color: #fff; }
.panel-more { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 800ms var(--ease-io), opacity 300ms ease; }
.panel.is-open .panel-more { max-height: 18rem; opacity: 1; transition: max-height 800ms var(--ease-io), opacity 600ms ease 300ms; }
.panel-more p { margin-top: .6rem; color: #e3efe2; max-width: 42ch; }
.panel-more ul { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 1.1rem; }
.panel-more li { font-size: .875rem; font-weight: 500; padding: .3rem .8rem; border-radius: var(--pill); background: rgba(255, 255, 255, .16); }
.panel .arrow-link { color: #c3e48f; }
@media (max-width: 47.99em) {
  .panels { flex-direction: column; height: auto; }
  .panel, .panel.is-open { flex: none; min-height: 380px; cursor: default; }
  .panel-more { max-height: none; opacity: 1; }
}

/* ---------- the sister site: fisioterapia ---------- */
.cross { padding: var(--section) 0; background: var(--brand-tint); overflow: hidden; }
.cross-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.cross-grid > * { min-width: 0; }
.cross-pics { position: relative; aspect-ratio: 1 / 1.02; }
.cross-pics img { position: absolute; width: 60%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); will-change: transform; }
.cross-a { left: 0; top: 0; }
.cross-b { right: 0; bottom: 0; width: 50%; outline: 10px solid var(--brand-tint); }
.cross-logo { width: min(330px, 85%); height: auto; margin-bottom: 1.75rem; }
.cross-copy > p { margin-top: 1.1rem; max-width: 52ch; }
.cross-list { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.6rem; }
.cross-list li { padding: .4rem .95rem; border-radius: var(--pill); background: #fff; font-weight: 500; font-size: .95rem; }
.cross-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.cross-note { color: var(--brand-deep); font-weight: 500; }
@media (max-width: 59.99em) {
  .cross-grid { grid-template-columns: minmax(0, 1fr); }
  .cross-pics { aspect-ratio: 1 / .9; }
}

/* ---------- booking: the number, large ---------- */
.big-phone-wrap { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.big-phone-cap { color: var(--muted); font-weight: 500; }
.big-phone { display: block; width: fit-content; margin-top: .25rem; font-size: clamp(3.4rem, 13vw, 12.5rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; color: var(--brand); text-decoration: none; white-space: nowrap; transition: color 300ms ease; }
.big-phone .ch { display: inline-block; white-space: pre; }
@media (hover: hover) and (pointer: fine) { .big-phone:hover { color: var(--brand-deep); } }

/* ---------- v8 motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hx-text > * { opacity: 0; transform: translateY(22px); animation: rise 900ms var(--ease) forwards; }
  .js .hx-text > :nth-child(1) { animation-delay: 100ms; }
  .js .hx-text > :nth-child(2) { animation-delay: 180ms; }
  .js .hx-text > :nth-child(3) { animation-delay: 280ms; }
  .js .hx-text > :nth-child(4) { animation-delay: 380ms; }
  .js .hx-text > :nth-child(5) { animation-delay: 460ms; }
  .js .hx-photo { opacity: 0; animation: fadeIn 1400ms 100ms ease forwards; }
  .js .hx-photo img.is-on { animation: drift 14s var(--ease-soft) both; }
  .js .hx-chip { opacity: 0; animation: rise 800ms var(--ease) forwards, float 6s ease-in-out infinite; }
  .js .hx-chip-a { animation-delay: 700ms, 1500ms; }
  .js .hx-chip-b { animation-delay: 900ms, 0s; animation-duration: 800ms, 7s; }
  .js .hx-stats { opacity: 0; transform: translateY(22px); animation: rise 900ms 560ms var(--ease) forwards; }
  .status.is-open i::after { animation: ping 2s var(--ease-soft) infinite; }
  .js .big-phone .ch { opacity: 0; transform: translateY(45%); transition: opacity 600ms ease, transform 900ms var(--ease); transition-delay: calc(var(--k, 0) * 45ms); }
  .js .big-phone.is-in .ch { opacity: 1; transform: none; }
}
@keyframes fadeIn { to { opacity: 1; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(2.8); opacity: 0; } }

/* ---------- plain text pages: privacy, 404 ---------- */
.legal { padding: clamp(2.5rem, 5vw, 4.5rem) 0 var(--section); }
.legal-in { max-width: 820px; }
.legal h1 { margin-bottom: .75rem; }
.legal h2 { font-size: var(--step-h3); margin: 2.25rem 0 .75rem; }
.legal p, .legal li { max-width: 68ch; }
.legal p + p { margin-top: 1rem; }
.legal ul { padding-left: 1.2rem; margin-top: .75rem; display: grid; gap: .5rem; }
.legal a:not(.btn) { color: var(--brand-deep); }
.legal-date { color: var(--muted); }
.legal-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
[data-todo] { background: #fff3c4; padding: 0 .25em; border-radius: 4px; }
