/* Fisioterapia Alba González: one stylesheet for every page.
   Motion follows Emil Kowalski's rules: transform, opacity and clip-path only; strong custom curves; hover gated to a
   fine pointer; under reduced motion nothing travels, things fade and unblur in place instead. */

:root {
  --bg: #f3f5f4;
  --surface: #e6ecea;
  --card: #ffffff;
  --ink: #1b2326;
  --muted: #56666a;
  --line: #d3dcda;
  --accent: #0e7480;
  --accent-ink: #ffffff;
  --accent-soft: #d3ebec;
  --star: #e2a72e;
  --dark: #1b2326;
  --dark-ink: #eef3f2;
  --dark-muted: #a4b3b5;

  --font-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --font-text: "Figtree", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --nav: 72px;
  --radius: 22px;
  --radius-sm: 14px;
  --section: clamp(88px, 11vw, 144px);
  --bar: 0px;
}
@media (max-width: 767px) { :root { --nav: 60px; --bar: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font-text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.04; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.label { font: 600 13px/1 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--muted); }

/* buttons: a press scales them to .97, which tells the hand it was heard */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font: 600 16px/1 var(--font-text); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, box-shadow 200ms ease; }
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--light { background: var(--dark-ink); color: var(--dark); }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: #0a5f69; }
  .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .btn--light:hover { background: #ffffff; }
  .btn:hover svg { transform: translateX(3px); }
  .btn:hover svg.ico-lead { transform: none; }
}

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav); transition: background-color 240ms ease, box-shadow 240ms ease; }
.nav.is-solid { background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font: 700 15px/1 var(--font-display); letter-spacing: -0.02em; }
.brand__name { font: 600 17px/1.1 var(--font-display); letter-spacing: -0.02em; }
.brand__name small { display: block; font: 500 12px/1.3 var(--font-text); letter-spacing: 0; color: var(--muted); }
.nav__links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; font-weight: 500; font-size: 15px; position: relative; padding-block: 6px; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover::after { transform: scaleX(1); transform-origin: left; } }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: none; border-radius: 12px; cursor: pointer; place-items: center; transition: transform 160ms var(--ease-out); }
.nav__toggle:active { transform: scale(0.94); }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 260ms var(--ease-in-out); }
.nav__toggle span + span { margin-top: 6px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 899px) {
  .nav__links, .nav .wrap > .btn { display: none; }
  .nav__toggle { display: grid; }
}

/* the phone menu: one panel slides in, its links are simply there (one entrance per container) */
.sheet { position: fixed; inset: 0; z-index: 45; background: var(--bg); padding: calc(var(--nav) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; gap: 8px;
  transform: translateY(-100%); visibility: hidden; transition: transform 260ms var(--ease-out), visibility 0s linear 260ms; }
.sheet.is-open { transform: translateY(0); visibility: visible; transition: transform 460ms var(--ease-drawer), visibility 0s; }
.sheet a:not(.btn) { font: 600 34px/1.2 var(--font-display); letter-spacing: -0.03em; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line); }
.sheet .btn { margin-top: auto; }
@media (prefers-reduced-motion: reduce) {
  .sheet { transform: none; opacity: 0; transition: opacity 200ms ease, visibility 0s linear 200ms; }
  .sheet.is-open { opacity: 1; transition: opacity 200ms ease, visibility 0s; }
}

/* ---------- hero ---------- */
.hero { padding: calc(var(--nav) + clamp(40px, 6vw, 88px)) 0 var(--section); position: relative; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(44px, 5.4vw, 80px); margin: 20px 0 24px; }
.hero h1 .line { display: block; }
.hero .lead { max-width: 34ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__proof { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 40px; color: var(--muted); font-size: 15px; }
.rating { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; }
.stars { position: relative; display: inline-block; width: 92px; height: 17px; }
.stars svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.stars__fill { color: var(--star); clip-path: inset(0 0 0 0); }
.stars__base { color: var(--line); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--card); color: var(--ink); font-weight: 500; box-shadow: 0 1px 0 var(--line); }
.chip b { color: var(--accent); }
.hero__media { position: relative; aspect-ratio: 4 / 4.6; }
.hero__photo { position: absolute; inset: 0 12% 0 0; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__inset { position: absolute; right: 0; bottom: -6%; width: 42%; aspect-ratio: 3 / 4; border-radius: var(--radius-sm); overflow: hidden; border: 6px solid var(--bg); box-shadow: 0 24px 60px -24px rgb(27 35 38 / .35); }
.hero__inset img { width: 100%; height: 100%; object-fit: cover; }
.hero__tag { position: absolute; left: -6%; top: 10%; background: var(--card); border-radius: 16px; padding: 14px 18px; box-shadow: 0 18px 50px -20px rgb(27 35 38 / .35); display: flex; gap: 12px; align-items: center; }
.hero__tag strong { display: block; font: 600 22px/1 var(--font-display); letter-spacing: -0.02em; }
.hero__tag span { font-size: 13px; color: var(--muted); }
.hero__tag i { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-style: normal; }
.hero__tag i svg { width: 20px; height: 20px; }
.layer { position: absolute; inset: 0; pointer-events: none; }
.layer > * { pointer-events: auto; }
.parallax { will-change: transform; }
@media (max-width: 899px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__media { max-width: 520px; width: 100%; justify-self: center; margin-top: 8px; }
  .hero__tag { left: 0; }
}
@media (max-width: 479px) {
  .hero h1 { font-size: clamp(36px, 10.5vw, 44px); }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__tag { top: auto; bottom: -4%; left: 0; padding: 10px 14px; }
  .hero__inset { width: 40%; bottom: auto; top: -5%; }
}

/* hero entrance, seen once per visit: the headline leads, the rest overlaps it as one wave (choreograph: marketing room) */
@keyframes rise { from { opacity: 0; transform: translateY(var(--rise, 18px)); filter: blur(6px); } }
@keyframes wipe { from { clip-path: inset(100% 0 0 0 round var(--radius)); } to { clip-path: inset(0 0 0 0 round var(--radius)); } }
@keyframes settle { from { transform: scale(1.12); } }
@keyframes fade { from { opacity: 0; } }
@keyframes unblur { from { opacity: 0; filter: blur(8px); } }
@keyframes fill { from { clip-path: inset(0 100% 0 0); } }
@media (prefers-reduced-motion: no-preference) {
  .hero [data-in] { animation: rise 700ms var(--ease-out) both; animation-delay: calc(var(--d, 0) * 1ms); }
  .hero h1 .line { --rise: 28px; }
  .hero__photo { animation: wipe 1000ms var(--ease-in-out) 80ms both; }
  .hero__photo img { animation: settle 1400ms var(--ease-out) 80ms both; }
  .hero__inset { animation: rise 800ms var(--ease-out) 520ms both; --rise: 28px; }
  .hero__tag { animation: rise 700ms var(--ease-out) 760ms both; --rise: 12px; }
  .stars__fill { animation: fill 900ms var(--ease-in-out) 900ms both; }
}
@media (prefers-reduced-motion: reduce) {
  .hero [data-in], .hero__photo, .hero__inset, .hero__tag { animation: unblur 500ms ease both; }
}

/* ---------- section scaffolding and scroll reveals ---------- */
.section { padding: var(--section) 0; }
.section--tight { padding-top: 0; }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px var(--gutter); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.head h2 { font-size: clamp(36px, 4.6vw, 64px); margin-top: 16px; }
.head .lead { max-width: 44ch; justify-self: end; }
@media (max-width: 899px) { .head { grid-template-columns: minmax(0, 1fr); } .head .lead { justify-self: start; } }

.js [data-reveal] { opacity: 0; transform: translateY(24px); filter: blur(4px);
  transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out), filter 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 1ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js [data-clip] { clip-path: inset(0 0 100% 0 round var(--radius)); transition: clip-path 1000ms var(--ease-in-out); transition-delay: calc(var(--i, 0) * 1ms); }
.js [data-clip].is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { transform: none; transition: opacity 500ms ease, filter 500ms ease; transition-delay: 0ms; }
  .js [data-clip] { clip-path: none; opacity: 0; filter: blur(8px); transition: opacity 500ms ease, filter 500ms ease; }
  .js [data-clip].is-in { opacity: 1; filter: none; }
}

/* ---------- ¿dónde te duele? ---------- */
.zones { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.zones__list { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.zone { display: flex; align-items: center; gap: 18px; width: 100%; padding: 18px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; text-align: left;
  font: 600 clamp(26px, 2.8vw, 40px)/1.1 var(--font-display); letter-spacing: -0.03em; color: var(--muted); transition: color 200ms ease; }
.zone__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); flex: none; transform: scale(0.4); opacity: 0; transition: transform 260ms var(--ease-out), opacity 200ms ease; }
.zone[aria-selected="true"] { color: var(--ink); }
.zone[aria-selected="true"] .zone__dot { transform: scale(1); opacity: 1; }
.zone__n { margin-left: auto; font: 500 13px/1 var(--font-text); letter-spacing: .04em; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .zone:hover { color: var(--ink); } }
.zone:active { transform: scale(0.99); transition: transform 120ms var(--ease-out), color 200ms ease; }
.zones__panels { display: grid; position: sticky; top: calc(var(--nav) + 32px); }
.panel { grid-area: 1 / 1; background: var(--card); border-radius: var(--radius); padding: clamp(28px, 3.4vw, 48px); display: flex; flex-direction: column; gap: 22px;
  opacity: 0; filter: blur(4px); transform: translateY(8px); visibility: hidden;
  transition: opacity 160ms ease, filter 160ms ease, transform 160ms var(--ease-out), visibility 0s linear 160ms; }
.panel.is-active { opacity: 1; filter: none; transform: none; visibility: visible; transition: opacity 260ms ease 60ms, filter 260ms ease 60ms, transform 300ms var(--ease-out) 60ms, visibility 0s; }
@media (prefers-reduced-motion: reduce) { .panel, .panel.is-active { transform: none; } }
.panel h3 { font-size: clamp(28px, 2.6vw, 38px); }
.panel p { color: var(--muted); }
.panel blockquote { margin: 0; padding: 20px 22px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--ink); }
.panel blockquote p { color: var(--ink); font: 500 18px/1.45 var(--font-text); }
.panel blockquote footer { margin-top: 10px; font-size: 14px; color: var(--muted); }
.panel__service { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); margin-top: auto; }
.panel__service span { font-weight: 600; }
.panel__service small { display: block; color: var(--muted); font-weight: 400; font-size: 14px; }
@media (max-width: 899px) {
  .zones { grid-template-columns: minmax(0, 1fr); }
  .zones__list { flex-direction: row; overflow-x: auto; border: 0; gap: 8px; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scroll-snap-type: x proximity; }
  .zones__list::-webkit-scrollbar { display: none; }
  .zones__list li { scroll-snap-align: start; }
  .zone { font: 600 16px/1 var(--font-text); letter-spacing: 0; padding: 12px 18px; border: 0; border-radius: 999px; white-space: nowrap; background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line);
    transition: background-color 200ms ease, color 200ms ease, transform 120ms var(--ease-out); }
  .zone[aria-selected="true"] { background: var(--ink); color: var(--bg); box-shadow: none; }
  .zone__dot, .zone__n { display: none; }
  .zones__panels { position: static; }
}

/* ---------- la sesión, en tres pasos: the text scrolls, the photographs wipe over each other ---------- */
.steps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.steps__list { list-style: none; margin: 0; padding: 0 0 16vh; } /* room for the photo to stay pinned while the last step reaches the middle */
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding-block: 24px; }
.step:first-child { min-height: 48vh; justify-content: flex-start; }
.step__n { font: 600 15px/1 var(--font-text); color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.step h3 { font-size: clamp(32px, 3.4vw, 50px); }
.step p { color: var(--muted); max-width: 40ch; font-size: 18px; }
.step__pic { display: none; }
.steps__media { position: sticky; top: calc(var(--nav) + 4vh); height: calc(100svh - var(--nav) - 8vh); max-height: 760px; align-self: start; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.steps__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transition: clip-path 900ms var(--ease-in-out); }
.steps__media img.is-shown { clip-path: inset(0 0 0 0); }
.steps__media img:first-child { clip-path: none; }
.steps__count { position: absolute; left: 20px; bottom: 20px; z-index: 2; background: rgb(27 35 38 / .72); color: #fff; border-radius: 999px; padding: 8px 14px; font: 600 14px/1 var(--font-text); font-variant-numeric: tabular-nums; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
@media (prefers-reduced-motion: reduce) {
  .steps__media img { clip-path: none; opacity: 0; transition: opacity 400ms ease; }
  .steps__media img.is-shown, .steps__media img:first-child { opacity: 1; }
}
@media (max-width: 899px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps__media { display: none; }
  .steps__list { padding-bottom: 0; }
  .step, .step:first-child, .step:last-child { min-height: 0; padding-block: 0 48px; justify-content: flex-start; }
  .step__pic { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 8px; }
  .step__pic img { width: 100%; height: 100%; object-fit: cover; }
}

/* ---------- precios: a segmented control whose dark pill is a clipped copy of the tabs ---------- */
.prices { background: var(--card); border-radius: calc(var(--radius) + 8px); padding: clamp(24px, 4vw, 56px); }
.seg { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; background: var(--surface); margin-bottom: 32px; max-width: 100%; }
.seg__row { display: flex; }
.seg__row button, .seg__row span { padding: 12px 22px; border: 0; background: none; border-radius: 999px; font: 600 15px/1 var(--font-text); white-space: nowrap; cursor: pointer; }
.seg__row button { color: var(--muted); transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .seg__row button:hover { color: var(--ink); } }
.seg__row button:active { transform: scale(0.97); transition: transform 120ms var(--ease-out); }
.seg__active { position: absolute; inset: 5px; pointer-events: none; background: var(--ink); color: var(--bg); border-radius: 999px; clip-path: inset(0 100% 0 0 round 999px); transition: clip-path 280ms var(--ease-in-out); }
@media (prefers-reduced-motion: reduce) { .seg__active { transition: none; } }
.ppanels { display: grid; }
.ppanel { grid-area: 1 / 1; opacity: 0; visibility: hidden; filter: blur(3px); transition: opacity 150ms ease, filter 150ms ease, visibility 0s linear 150ms; }
.ppanel.is-active { opacity: 1; visibility: visible; filter: none; transition: opacity 240ms ease 50ms, filter 240ms ease 50ms, visibility 0s; }
.plist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.plist li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px 24px; align-items: center; padding: 20px 12px; border-bottom: 1px solid var(--line); border-radius: 12px; transition: background-color 180ms ease; }
@media (hover: hover) and (pointer: fine) { .plist li:hover { background: var(--bg); } .plist li:hover .plist__go svg { transform: translateX(3px); } }
.plist h3 { font: 600 19px/1.3 var(--font-text); letter-spacing: -0.01em; }
.plist p { color: var(--muted); font-size: 15px; margin-top: 2px; }
.plist__price { font: 600 24px/1 var(--font-display); letter-spacing: -0.02em; text-align: right; font-variant-numeric: tabular-nums; }
.plist__price small { display: block; font: 400 13px/1.4 var(--font-text); color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.plist__go { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; font-size: 15px; text-decoration: none; padding: 10px 4px; }
.plist__go svg { width: 14px; height: 14px; transition: transform 200ms var(--ease-out); }
.prices__note { margin-top: 24px; color: var(--muted); font-size: 15px; }
@media (max-width: 639px) {
  .seg { display: flex; }
  .seg__row { flex: 1; }
  .seg__row button, .seg__row span { flex: 1; padding: 12px 8px; font-size: 14px; }
  .plist li { grid-template-columns: minmax(0, 1fr) auto; padding: 18px 4px; }
  .plist__go { grid-column: 1 / -1; padding: 0; }
}
@media (max-width: 399px) { .seg__row button, .seg__row span { padding: 12px 4px; font-size: 13px; } }

/* ---------- opiniones: two rows drifting in opposite directions, paused under the pointer ---------- */
.reviews { background: var(--dark); color: var(--dark-ink); }
.reviews .label { color: #7fd0d6; }
.reviews .lead { color: var(--dark-muted); }
.score { display: flex; flex-wrap: wrap; gap: 16px 48px; margin-bottom: clamp(40px, 5vw, 64px); }
.score__item strong { display: block; font: 600 clamp(56px, 7vw, 104px)/1 var(--font-display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.score__item span { color: var(--dark-muted); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: 16px; }
.marquee__track { display: flex; gap: 16px; width: max-content; padding-block: 4px; }
.review { width: min(420px, 78vw); flex: none; background: #263034; border-radius: var(--radius-sm); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.review p { font-size: 17px; line-height: 1.5; }
.review footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--dark-muted); font-size: 14px; }
.review footer b { color: var(--dark-ink); font-weight: 600; }
.review .mini { color: var(--star); letter-spacing: 2px; font-size: 14px; }
@keyframes drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: drift var(--dur, 80s) linear infinite; }
  .marquee--rev .marquee__track { animation-direction: reverse; }
  @media (hover: hover) and (pointer: fine) { .marquee:hover .marquee__track { animation-play-state: paused; } }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-mask-image: none; mask-image: none; scrollbar-width: thin; }
  .marquee .review { scroll-snap-align: start; }
  .marquee [data-clone] { display: none; }
}

/* ---------- visita ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.visit__facts { display: grid; gap: 28px; align-content: start; }
.visit h2 { font-size: clamp(36px, 4.6vw, 64px); margin-top: 16px; }
.fact { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; }
.fact i { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-style: normal; }
.fact i svg { width: 20px; height: 20px; }
.fact h3 { font: 600 17px/1.3 var(--font-text); letter-spacing: 0; }
.fact p, .fact a { color: var(--muted); }
.fact a { text-decoration-color: var(--line); text-underline-offset: 3px; transition: color 160ms ease, text-decoration-color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .fact a:hover { color: var(--ink); text-decoration-color: currentColor; } }
.visit__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.visit__pic { border-radius: var(--radius); overflow: hidden; min-height: 420px; position: relative; }
.visit__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home { margin-top: 8px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--card); display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.home p { color: var(--muted); }
.home strong { color: var(--ink); }
@media (max-width: 899px) { .visit { grid-template-columns: minmax(0, 1fr); } .visit__pic { min-height: 0; aspect-ratio: 4 / 3; } }

/* ---------- cierre y pie ---------- */
.closing { background: var(--accent); color: var(--accent-ink); border-radius: calc(var(--radius) + 8px); padding: clamp(40px, 7vw, 96px) clamp(24px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.closing h2 { font-size: clamp(40px, 6vw, 88px); }
.closing p { color: #cfe9eb; margin-top: 16px; max-width: 40ch; }
@media (max-width: 767px) { .closing { grid-template-columns: minmax(0, 1fr); } .closing .btn { width: 100%; } }
.footer { padding: 48px 0 calc(40px + var(--bar)); color: var(--muted); font-size: 14px; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer a { text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .footer a:hover { color: var(--ink); } }

/* ---------- phone action bar: slides up once the hero's own buttons are gone ---------- */
.actionbar { display: none; }
@media (max-width: 767px) {
  .actionbar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 90%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 -1px 0 var(--line);
    transform: translateY(110%); transition: transform 260ms var(--ease-out); }
  .actionbar.is-up { transform: translateY(0); transition: transform 460ms var(--ease-drawer); }
  .actionbar .btn { min-height: 50px; padding: 0 12px; }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .actionbar { transform: none; opacity: 0; visibility: hidden; transition: opacity 200ms ease, visibility 0s linear 200ms; }
  .actionbar.is-up { opacity: 1; visibility: visible; transition: opacity 200ms ease, visibility 0s; }
}

/* ---------- legal and credits pages ---------- */
.doc { padding: calc(var(--nav) + clamp(48px, 7vw, 96px)) 0 var(--section); }
.doc__body { max-width: 70ch; }
.doc h1 { font-size: clamp(44px, 6vw, 80px); margin: 16px 0 28px; }
.doc h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 48px 0 14px; }
.doc p, .doc li { line-height: 1.65; }
.doc p { margin-bottom: 14px; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-block: 8px; }
.doc a:not(.btn) { color: var(--accent); text-underline-offset: 3px; }
.doc .lead { color: var(--ink); }
.doc__date { color: var(--muted); font-size: 14px; margin-top: 48px; }
.facts { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 12px 24px; margin: 28px 0; padding: 22px 0; border-block: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.pending { background: color-mix(in srgb, var(--star) 28%, transparent); padding: 1px 6px; border-radius: 4px; font-size: .94em; }
@media (max-width: 639px) { .facts { grid-template-columns: minmax(0, 1fr); row-gap: 0; } .facts dd { margin-bottom: 14px; } }
