/* =========================================================
   CLARIDAD — Unidad de Cirugía Maxilofacial · Soria
   La luz de quirófano sobre la cara: blanco clínico, tinta
   petróleo y el ámbar del logotipo solo para actuar.
   Una sola tipografía variable (Mona Sans): ancha y firme en
   los titulares, normal en el texto.
   ========================================================= */

@font-face {
  font-family: "Mona";
  src: url("../fonts/mona.woff2") format("woff2");
  font-weight: 300 700;
  font-stretch: 100% 118%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Maquetación: capítulos a sangre que alternan luz y noche sobre una rejilla de 12 columnas alineada a la izquierda */
  --paper: #FFFFFF;
  --mist: #EEF3F3;
  --mist-2: #E2EAEA;
  --ink: #0A1B1F;
  --ink-2: #4A5C60;
  --ink-3: #5E6E71;
  --line: #D8E2E2;
  --petrol: #1F5F6C;
  --petrol-2: #2E6C7B;
  --night: #061418;
  --night-2: #0D252B;
  --amber: #F4B740;
  --amber-2: #F8C868;
  --on-night: rgba(255,255,255,.78);

  --sans: "Mona", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wide: 112%;
  --ease: cubic-bezier(.22,.8,.2,1);
  --g: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --hdr: 76px;
  --r-lg: 28px;
  --r-md: 18px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 12px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17.5px; line-height: 1.55; font-weight: 400; font-stretch: 100%;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
strong { font-weight: 600; }
address { font-style: normal; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 2px solid var(--petrol); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .hero :focus-visible, .zx :focus-visible, .cta :focus-visible, .dcb :focus-visible, .mid :focus-visible { outline-color: var(--amber); }
.sr-only { position: absolute !important; 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: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap {
  width: 100%; max-width: calc(var(--max) + 2 * var(--g)); margin: 0 auto;
  padding-left: max(var(--g), env(safe-area-inset-left, 0px)); padding-right: max(var(--g), env(safe-area-inset-right, 0px));
}

/* ---------- Tipografía ---------- */
.h2 {
  font-size: clamp(38px, 5.1vw, 78px); line-height: .96; font-weight: 540; font-stretch: var(--wide);
  letter-spacing: -0.045em; text-wrap: balance;
}
.sec-intro { font-size: clamp(17px, 1.3vw, 19.5px); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.sec { padding-block: clamp(84px, 11vw, 160px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 56px; align-items: end; margin-bottom: clamp(44px, 6vw, 84px); }
.sec-head--stack { grid-template-columns: minmax(0, 1fr); align-items: start; }

/* ---------- Enlaces y botones ---------- */
.lnk {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 560; color: var(--petrol); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color .2s, gap .3s var(--ease);
}
.lnk:hover { color: var(--ink); gap: 9px; }
.lnk--w { color: #fff; border-color: rgba(255,255,255,.5); }
.lnk--w:hover { color: var(--amber); }
.ic-chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-arr { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; transition: transform .3s var(--ease); }
.ic-wa { width: 20px; height: 20px; flex: none; }
.ic-wa .wa-b { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.ic-wa .wa-p { fill: currentColor; }
.ic-tel { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; flex: none; }

.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; font-weight: 560; letter-spacing: -0.005em; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn:hover .ic-arr { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 15px; }
.btn--lg { --h: 58px; padding: 0 28px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--amber { background: var(--amber); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 12px 26px -14px rgba(244,183,64,.9); }
.btn--amber:hover { background: var(--amber-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 16px 30px -14px rgba(244,183,64,1); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--petrol); }
.btn--line { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn--line:hover { border-color: var(--ink-2); background: var(--mist); }
.btn--glass { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.5); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }

.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--amber); opacity: 0; animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .9; } 80%, 100% { transform: scale(1.5); opacity: 0; } }

/* =========================================================
   Cabecera
   ========================================================= */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--hdr);
  padding-top: env(safe-area-inset-top, 0px); height: calc(var(--hdr) + env(safe-area-inset-top, 0px));
  color: var(--ink);
  transition: background-color .35s, color .35s, border-color .35s, transform .45s var(--ease);
  background: rgba(255,255,255,.84); border-bottom: 1px solid rgba(216,226,226,.8);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
}
.hdr.is-dark { background: rgba(6,20,24,.62); color: #fff; border-color: rgba(255,255,255,.1); }
.hdr.is-clear { background: transparent; border-color: transparent; color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.hdr-in { height: var(--hdr); display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-mark { --s: .3; width: 46px; height: 46px; flex: none; display: grid; place-items: center; }
.brand-mark img { width: 46px; height: 46px; object-fit: contain; transition: filter .35s; }
.hdr.is-dark .brand-mark img, .hdr.is-clear .brand-mark img { filter: brightness(0) invert(1); }
.brand-tx { display: flex; flex-direction: column; line-height: 1.15; padding-left: 12px; border-left: 1px solid currentColor; border-left-color: color-mix(in srgb, currentColor 22%, transparent); }
.brand-t1 { font-size: 15px; font-weight: 600; font-stretch: 104%; letter-spacing: -0.01em; white-space: nowrap; }
.brand-t2 { font-size: 12.5px; opacity: .72; white-space: nowrap; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 26px; }
.nav a { white-space: nowrap; font-size: 15px; font-weight: 500; text-decoration: none; opacity: .86; padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease), opacity .2s; }
.nav a:hover, .nav a[aria-current] { opacity: 1; background-size: 100% 1px; }
.hdr-act { display: flex; align-items: center; gap: 14px; }
.hdr-tel { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 560; text-decoration: none; font-variant-numeric: tabular-nums; }
.hdr-tel svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid; border-color: color-mix(in srgb, currentColor 25%, transparent); background: transparent; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease); }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 59; background: var(--paper); padding-top: calc(var(--hdr) + env(safe-area-inset-top, 0px) + 20px); overflow-y: auto; }
.menu-in { display: flex; flex-direction: column; gap: 32px; padding-bottom: 40px; }
.menu-list a { display: block; padding: 12px 0; font-size: clamp(28px, 7vw, 40px); font-weight: 540; font-stretch: var(--wide); letter-spacing: -0.04em; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu-foot { display: grid; gap: 10px; }
.menu-open .hdr { background: var(--paper); color: var(--ink); border-color: var(--line); }
.menu-open .hdr .brand-mark img { filter: none; }

/* =========================================================
   Portada: vídeo a sangre
   ========================================================= */
.hero {
  --bar: 96px;
  position: relative; min-height: 640px; height: 100vh; height: 100svh; max-height: 1180px;
  color: #fff; background: var(--night); overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(6,20,24,.92) 0%, rgba(6,20,24,.72) 22%, rgba(6,20,24,.38) 44%, rgba(6,20,24,.08) 64%, rgba(6,20,24,0) 76%),
    linear-gradient(90deg, rgba(6,20,24,.5) 0%, rgba(6,20,24,0) 52%),
    linear-gradient(180deg, rgba(6,20,24,.45) 0%, rgba(6,20,24,0) 18%);
}
.hero-frost {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  -webkit-backdrop-filter: blur(18px) saturate(1.1); backdrop-filter: blur(18px) saturate(1.1);
  -webkit-mask-image: linear-gradient(0deg, #000 0%, #000 30%, rgba(0,0,0,.55) 42%, transparent 56%);
  mask-image: linear-gradient(0deg, #000 0%, #000 30%, rgba(0,0,0,.55) 42%, transparent 56%);
}
.hero-in { position: absolute; left: 0; right: 0; bottom: calc(var(--bar) + clamp(28px, 5vh, 56px)); }
.hero-k { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: var(--on-night); }
.hero-h1 {
  margin-top: clamp(14px, 2vh, 22px);
  font-size: clamp(54px, 9.6vw, 172px); line-height: .86; font-weight: 560; font-stretch: var(--wide); letter-spacing: -0.052em;
}
.ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.ln > span { display: inline-block; }
.hero-foot { margin-top: clamp(22px, 3.4vh, 40px); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 56px; }
.hero-lead { max-width: 37em; font-size: clamp(16px, 1.2vw, 18.5px); line-height: 1.55; color: rgba(255,255,255,.86); }
.hero-lead strong { color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-bar { position: absolute; left: 0; right: 0; bottom: 0; height: var(--bar); border-top: 1px solid rgba(255,255,255,.14); }
.hero-bar-in { height: 100%; display: flex; align-items: center; gap: 32px; padding-right: max(96px, var(--g)); }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; flex: 1; min-width: 0; }
.hero-facts li { display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.35; color: rgba(255,255,255,.7); min-width: 0; }
.hero-facts strong { font-size: 15.5px; font-weight: 600; color: #fff; }
.hero-cap { display: flex; align-items: center; gap: 12px; flex: none; }
.hero-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; }
.hero-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-btn .i-play { display: none; fill: currentColor; stroke: none; }
.hero-btn.is-paused .i-pause { display: none; } .hero-btn.is-paused .i-play { display: block; }
.hero-cap-t { font-size: 14px; color: rgba(255,255,255,.86); min-width: 13.5em; transition: opacity .35s; }
.hero-cap-bar { width: 64px; height: 2px; background: rgba(255,255,255,.22); border-radius: 2px; overflow: hidden; }
.hero-cap-bar i { display: block; height: 100%; width: 100%; background: var(--amber); transform-origin: 0 50%; transform: scaleX(0); }
html:not(.js) .hero-cap { display: none; }

/* =========================================================
   ¿Dónde lo notas? — explorador sobre el vídeo de perfil
   ========================================================= */
.zx { position: relative; background: var(--night); color: #fff; }
.zx-stage { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; }
.zx-frame {
  --it: 0px; --ix: 0px; --ib: 0px; --r: 0px;
  position: absolute; inset: 0; overflow: hidden;
  background: linear-gradient(180deg, #7a7876 0%, #878583 25%, #8f8d8b 50%, #8b8987 75%, #6c6c69 100%);
  clip-path: inset(var(--it) var(--ix) var(--ib) var(--ix) round var(--r));
}
.anim .zx-frame { --it: calc(var(--hdr) + 12px); --ix: var(--g); --ib: 24px; --r: 32px; }
.zx-media { position: absolute; inset: 0; }
.zx-video { width: 100%; height: 100%; object-fit: cover; object-position: 40% 58%; }
.js .zx-media {
  inset: auto; left: 0; top: 0; width: 2420px; height: 1366px; transform-origin: 0 0; will-change: transform;
  background: linear-gradient(180deg,#7a7876 0%,#7c7a78 5%,#7e7c7a 10%,#817f7d 15%,#848280 20%,#878583 25%,#8a8886 30%,#8b8987 35%,#8d8b89 40%,#8f8d8b 45%,#8f8d8b 50%,#8f8d8b 55%,#908e8b 60%,#8f8d8b 65%,#8d8b89 70%,#8b8987 75%,#888684 80%,#848280 85%,#7f7d7b 90%,#797775 95%,#6c6c69 100%);
}
.js .zx-video {
  position: absolute; left: 0; top: 0; width: 720px; height: 1366px; max-width: none; object-fit: fill;
  -webkit-mask-image: linear-gradient(90deg, #000 93%, transparent); mask-image: linear-gradient(90deg, #000 93%, transparent);
}
.zx-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 70% 40%, transparent 50%, rgba(6,20,24,.5) 100%),
    linear-gradient(0deg, rgba(6,20,24,.7) 0%, rgba(6,20,24,0) 40%);
}
.zx-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.fl-line { fill: none; stroke: rgba(255,255,255,.85); stroke-width: 1; }
.fl-dot { fill: #fff; }
.fl-halo { fill: rgba(255,255,255,.16); stroke: rgba(255,255,255,.5); stroke-width: 1; }
.zx-copy { position: absolute; left: max(var(--g), env(safe-area-inset-left, 0px)); bottom: clamp(28px, 6vh, 64px); max-width: 560px; z-index: 2; }
.zx-h { font-size: clamp(34px, 3.8vw, 60px); line-height: .96; font-weight: 540; font-stretch: var(--wide); letter-spacing: -0.045em; text-wrap: balance; }
.zx-p { margin-top: 12px; font-size: 16px; color: rgba(255,255,255,.84); }
.zx-tags { position: absolute; right: calc(var(--g) + 16px); bottom: 40px; display: flex; flex-wrap: wrap; gap: 8px; max-width: 46%; justify-content: flex-end; z-index: 3; }
.js .zx-tags { inset: 0; max-width: none; display: block; pointer-events: none; }
html:not(.js) .zx-tags { left: var(--g); right: var(--g); top: calc(var(--hdr) + 20px); bottom: auto; max-width: 560px; justify-content: flex-start; }
.js .zx-tags li { position: absolute; left: 0; top: 0; will-change: transform, opacity; pointer-events: auto; }
.tag {
  display: inline-flex; text-decoration: none; color: #fff; border-radius: 14px;
  background: rgba(6,20,24,.42); border: 1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3);
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.tag-in { display: flex; flex-direction: column; padding: 9px 14px 10px; line-height: 1.2; white-space: nowrap; }
.tag-z { font-size: 15px; font-weight: 560; letter-spacing: -0.01em; }
.tag-t { font-size: 13px; color: rgba(255,255,255,.78); margin-top: 2px; transition: color .3s; }
.tag:hover, .tag:focus-visible, .tag.is-on { background: #fff; color: var(--ink); border-color: #fff; }
.tag:hover .tag-t, .tag:focus-visible .tag-t, .tag.is-on .tag-t { color: var(--petrol); }
.anim .zx-copy { opacity: 0; transform: translateY(16px); }
.anim .zx-shade { opacity: 0; }
.anim.js .zx-tags li { opacity: 0; }

/* Panel de síntomas bajo el vídeo */
.zx-detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(40px, 6vw, 100px); align-items: start; padding-block: clamp(64px, 8vw, 110px) clamp(80px, 10vw, 140px); }
.zx-dh { font-size: clamp(34px, 3.6vw, 56px); line-height: .96; font-weight: 540; font-stretch: var(--wide); letter-spacing: -0.045em; }
.zx-dp { margin-top: 16px; font-size: 16.5px; color: var(--on-night); max-width: 26em; }
.zx-tabs { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.zx-tab {
  height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.04); color: rgba(255,255,255,.9); font-size: 14.5px; font-weight: 500; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s;
}
.zx-tab:hover { border-color: rgba(255,255,255,.6); }
.zx-tab[aria-selected="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.zx-note { margin-top: 20px; font-size: 13.5px; color: rgba(255,255,255,.6); }
.zx-panel {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 24px; padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.7);
}
.zx-also { font-size: 13px; color: rgba(255,255,255,.62); }
.zx-t--alt .zx-tn { font-size: clamp(22px, 1.8vw, 28px); margin-top: 6px; }
.zx-t--alt .zx-tt { font-size: 15px; margin-top: 6px; }
.zx-t--alt .zx-act { margin-top: 12px; }
.zx-zn { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 560; color: var(--amber); }
.zx-zn::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.zx-t + .zx-t { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); }
.zx-tn { margin-top: 12px; font-size: clamp(28px, 2.6vw, 40px); line-height: 1; font-weight: 560; font-stretch: 108%; letter-spacing: -0.035em; }
.zx-tn a { text-decoration: none; }
.zx-tn a:hover { color: var(--amber); }
.zx-tt { margin-top: 10px; font-size: 16px; color: var(--on-night); }
.zx-sym { margin-top: 18px; display: grid; gap: 10px; }
.zx-sym li { position: relative; padding-left: 24px; font-size: 16px; line-height: 1.45; color: #fff; }
.zx-sym li::before { content: ""; position: absolute; left: 2px; top: .52em; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--amber); }
.zx-act { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* =========================================================
   Tratamientos: índice tipográfico + ilustración anatómica
   ========================================================= */
.trat-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px clamp(40px, 6vw, 110px); align-items: start; }
.trat-side { position: sticky; top: calc(var(--hdr) + 40px); }
.trat-side .sec-intro { margin-top: 22px; }
.tv { position: relative; margin-top: clamp(28px, 4vw, 48px); width: min(100%, 470px); aspect-ratio: 1; }
.tv-ring { position: absolute; inset: 4%; border-radius: 50%; background: radial-gradient(circle at 50% 42%, #fff 0%, var(--mist) 62%, var(--mist-2) 100%); }
.tv-ring::after { content: ""; position: absolute; inset: -4.5%; border-radius: 50%; border: 1px dashed var(--line); }
.tv-i { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: circle(46% at 50% 50%); opacity: 0; transform: scale(.94); transition: opacity .45s, transform .7s var(--ease); }
.tv-i.is-on { opacity: 1; transform: none; }
.tv-cap { position: absolute; left: 0; right: 0; bottom: -6px; text-align: center; font-size: 13px; color: var(--ink-3); }
.ti-list { border-top: 1px solid var(--line); }
.ti { border-bottom: 1px solid var(--line); }
.ti-a {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "z go" "n go" "t go";
  column-gap: 24px; padding: 24px 6px 26px; text-decoration: none; transition: padding .45s var(--ease), background-color .3s;
}
.ti-th { display: none; }
.ti-z { grid-area: z; font-size: 13.5px; color: var(--ink-3); }
.ti-n { grid-area: n; margin-top: 4px; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.02; font-weight: 540; font-stretch: 108%; letter-spacing: -0.04em; transition: color .25s; }
.ti-t { grid-area: t; margin-top: 8px; font-size: 16px; color: var(--ink-2); max-width: 34em; }
.ti-go {
  grid-area: go; align-self: center; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--ink); transition: background-color .3s, border-color .3s, color .3s, transform .4s var(--ease);
}
.ti-a:hover, .ti-a:focus-visible { padding-left: 18px; background: linear-gradient(90deg, var(--mist), rgba(238,243,243,0)); }
.ti-a:hover .ti-n, .ti-a:focus-visible .ti-n { color: var(--petrol); }
.ti-a:hover .ti-go, .ti-a:focus-visible .ti-go { background: var(--amber); border-color: var(--amber); transform: rotate(-45deg); }

/* =========================================================
   El cirujano
   ========================================================= */
.dr { background: var(--paper); padding-bottom: clamp(84px, 10vw, 150px); overflow-x: clip; }
.dr-grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 40px clamp(40px, 6vw, 100px); align-items: center;
  padding-top: clamp(84px, 10vw, 140px);
}
.dr-grid::before { content: ""; position: absolute; z-index: 0; left: 0; right: 0; top: 0; bottom: 0; background: var(--mist); border-radius: 0 0 40px 40px; margin: 0 calc(-1 * var(--g)); }
@media (min-width: 1500px) { .dr-grid::before { border-radius: 40px; margin: 0; } }
.dr-grid > * { position: relative; z-index: 1; }
.dr-fig { align-self: end; position: relative; display: grid; justify-items: center; }
.dr-halo { position: absolute; left: 50%; bottom: 8%; width: 104%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 50% 45%, #fff 0%, rgba(255,255,255,.75) 38%, rgba(255,255,255,0) 70%); }
.dr-img { position: relative; width: min(100%, 620px); }
.dr-cap {
  position: absolute; left: 4%; bottom: 28px; display: flex; flex-direction: column; gap: 2px;
  font-size: 15px; font-weight: 600; background: rgba(255,255,255,.82); padding: 12px 16px; border-radius: 14px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 18px 40px -24px rgba(6,20,24,.45);
}
.dr-cap span { font-size: 13px; font-weight: 400; color: var(--ink-2); }
.dr-copy { padding-bottom: clamp(48px, 6vw, 90px); }
.dr-lead { margin-top: 24px; font-size: clamp(17px, 1.3vw, 19.5px); color: var(--ink-2); max-width: 32em; }
.mir { margin-top: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.mir li { border-top: 1px solid var(--ink); padding-top: 16px; }
.mir-n { display: flex; align-items: flex-start; font-size: clamp(76px, 8vw, 128px); line-height: .82; font-weight: 560; font-stretch: 118%; letter-spacing: -0.06em; }
.mir-no { font-size: .26em; letter-spacing: 0; font-stretch: 104%; margin: .18em .18em 0 0; color: var(--petrol); }
.mir-l { margin-top: 12px; font-size: 15.5px; color: var(--ink-2); max-width: 15em; }
.dr-copy .lnk { margin-top: clamp(28px, 3vw, 40px); }
.cities { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 3vw, 48px); }
.city { border-top: 1px solid var(--line); padding-top: 22px; }
.city-n { display: flex; align-items: center; gap: 12px; font-size: clamp(28px, 2.8vw, 44px); line-height: 1; font-weight: 540; font-stretch: var(--wide); letter-spacing: -0.045em; }
.city--home { border-top-color: var(--amber); }
.city--home .city-n { color: var(--petrol); }
.city--home .city-n::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 6px rgba(244,183,64,.22); }
.city-d { margin-top: 14px; font-size: 16px; color: var(--ink-2); max-width: 26em; }
.dr-more { margin-top: 32px; font-size: 15px; color: var(--ink-3); max-width: 60em; }
.team { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 56px; align-items: start; }
.team-h { font-size: 22px; font-weight: 560; font-stretch: 106%; letter-spacing: -0.025em; }
.team-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tm { display: flex; gap: 16px; align-items: center; }
.tm-ph { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; flex: none; background: var(--mist); }
.tm-ph img { width: 100%; height: 100%; object-fit: cover; }
.tm-n { font-weight: 600; font-size: 16.5px; }
.tm-r { font-size: 15px; color: var(--ink-2); line-height: 1.4; }
.tm-c { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.pr-sec .team-list { margin-top: 20px; }
.pr-sec .tm p { margin: 0; line-height: 1.4; }
.pr-sec .tm .tm-n { font-size: 16.5px; color: var(--ink); }
.pr-sec .tm .tm-r { font-size: 15px; color: var(--ink-2); }
.pr-sec .tm .tm-c { font-size: 13px; color: var(--ink-3); margin-top: 2px; }

/* =========================================================
   Recorrido: dos carriles, casi todo en Soria
   ========================================================= */
.jr { background: var(--paper); border-top: 1px solid var(--line); }
.jr-body { position: relative; padding-top: 128px; }
.jr-map { position: absolute; left: 0; right: 0; top: 0; height: 120px; }
.jr-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.jr-base, .jr-path, .jr-guide { fill: none; vector-effect: non-scaling-stroke; }
.jr-guide { stroke: #F3DDA8; stroke-width: 1; stroke-dasharray: 1 7; stroke-linecap: round; }
.jr-base { stroke: var(--line); stroke-width: 2; stroke-dasharray: 2 6; stroke-linecap: round; }
.jr-path { stroke: var(--petrol); stroke-width: 2.5; stroke-linecap: round; }
.jr-st { transition: background-color .35s, border-color .35s, color .35s, box-shadow .45s var(--ease); }
.anim .jr-step .jr-st { border-color: var(--line); color: var(--ink-3); }
.anim .jr-step.is-on .jr-st { border-color: var(--petrol); color: var(--ink); box-shadow: 0 0 0 6px rgba(31,95,108,.12); }
.anim .jr-step--q.is-on .jr-st { border-color: var(--amber); background: var(--amber); box-shadow: 0 0 0 6px rgba(244,183,64,.25); }
.anim .jr-step > :not(.jr-st) { opacity: .18; transform: translateY(16px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.anim .jr-step.is-on > :not(.jr-st) { opacity: 1; transform: none; }
.jr-lane { position: absolute; left: 0; font-size: 13px; font-weight: 560; color: var(--ink-3); transform: translateY(-100%); padding-bottom: 8px; }
.jr-lane--s { top: 25%; }
.jr-lane--q { top: 80%; color: #9A6A0C; }
.jr-steps { display: grid; grid-template-columns: repeat(var(--jr-n, 5), minmax(0, 1fr)); gap: 20px; }
.jr-step { position: relative; display: flex; flex-direction: column; }
.jr-st { position: absolute; left: 50%; top: -128px; transform: translate(-50%, calc(30px - 50%)); width: 36px; height: 36px; border-radius: 50%; background: var(--paper); border: 2px solid var(--petrol); display: grid; place-items: center; z-index: 1; }
.jr-step--q .jr-st { transform: translate(-50%, calc(96px - 50%)); border-color: var(--amber); background: var(--amber); }
.anim .jr-step--q .jr-st { background: var(--paper); }
.jr-n { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.jr-w { display: inline-flex; align-self: flex-start; font-size: 12.5px; font-weight: 600; color: var(--petrol); background: var(--mist); border-radius: 999px; padding: 4px 10px; }
.jr-step--q .jr-w { color: #7A520A; background: #FCEFD2; }
.jr-t { margin-top: 14px; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.15; font-weight: 560; font-stretch: 106%; letter-spacing: -0.025em; text-wrap: balance; }
.jr-d { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.jr-ph { position: relative; margin-top: 18px; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.jr-ph img { width: 100%; height: 100%; object-fit: cover; }
.jr-ph figcaption { position: absolute; left: 10px; bottom: 10px; font-size: 12px; font-weight: 500; color: #fff; background: rgba(6,20,24,.55); padding: 3px 8px; border-radius: 999px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.jr-ph--real figcaption { background: var(--amber); color: var(--ink); font-weight: 600; }
.jr-plan { margin-top: 18px; border-radius: 16px; background: var(--ink); color: #fff; padding: 18px 18px 20px; aspect-ratio: 4 / 3; display: flex; flex-direction: column; }
.jr-plan-h { font-size: 15px; font-weight: 600; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.14); }
.jr-plan ul { margin-top: 12px; display: grid; gap: 9px; }
.jr-plan li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: rgba(255,255,255,.88); }
.jr-plan svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--amber); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================
   Provincia de Soria
   ========================================================= */
.soria { background: var(--mist); }
.soria-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.soria-copy .sec-intro { margin-top: 22px; }
.mp-ask { margin-top: 32px; max-width: 420px; }
.f-lab { display: block; font-size: 14.5px; font-weight: 560; margin-bottom: 8px; }
.f-sel { position: relative; }
.f-sel::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.f-sel select { width: 100%; height: 54px; padding: 0 44px 0 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); appearance: none; -webkit-appearance: none; font-size: 16px; }
.mp-msg { margin-top: 14px; font-size: 15.5px; color: var(--ink-2); min-height: 3em; }
.mp-msg strong { color: var(--ink); }
.addr { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; font-size: 15.5px; color: var(--ink-2); }
.addr-pin { grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; }
.ic-pin { width: 20px; height: 20px; fill: none; stroke: var(--petrol); stroke-width: 1.7; }
.addr .lnk { justify-self: start; margin-top: 6px; }
.mp { position: relative; }
.mp-svg { width: 100%; height: auto; overflow: visible; }
.mp-prov { fill: var(--paper); stroke: var(--petrol); stroke-width: 2; stroke-linejoin: round; filter: drop-shadow(0 30px 40px rgba(31,95,108,.12)); }
.mp-far line { stroke: var(--ink-3); stroke-width: 1.4; stroke-dasharray: 3 7; opacity: .7; }
.mp-far circle { fill: var(--ink-3); }
.mp-far text { font-size: 20px; fill: var(--ink-3); font-family: var(--sans); }
.mp-t { cursor: default; }
.mp-dot { fill: var(--ink-2); transition: fill .3s, r .3s; }
.mp-ring { fill: rgba(31,95,108,.1); opacity: 0; transition: opacity .3s; }
.mp-t text { font-family: var(--sans); font-size: 22px; font-weight: 500; fill: var(--ink); opacity: 0; transition: opacity .3s; paint-order: stroke; stroke: var(--paper); stroke-width: 6px; stroke-linejoin: round; }
.mp-t--lab text, .mp-t:hover text { opacity: 1; }
.mp-t--home .mp-dot { fill: var(--amber); }
.mp-t--home .mp-ring { opacity: 1; fill: rgba(244,183,64,.28); }
.mp-t--home text { font-weight: 640; font-size: 24px; }
.mp-t.is-on .mp-dot { fill: var(--petrol); }
.mp-t.is-on .mp-ring { opacity: 1; }
.mp-t.is-on text { opacity: 1; font-weight: 640; }
.mp-route { fill: none; stroke: var(--petrol); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 9; }
.mp-cap { margin-top: 10px; font-size: 13px; color: var(--ink-3); text-align: right; }

/* =========================================================
   Preguntas
   ========================================================= */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 110px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--hdr) + 40px); }
.faq-note { margin-top: 22px; font-size: 16px; color: var(--ink-2); }
.faq-note a { color: var(--petrol); font-weight: 560; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; text-align: left;
  padding: 24px 0; background: none; border: 0; font-size: clamp(18px, 1.5vw, 21px); font-weight: 560; font-stretch: 104%; letter-spacing: -0.02em; line-height: 1.3;
}
.faq-ic { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); flex: none; transition: background-color .3s, border-color .3s; }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: currentColor; transform: translate(-50%, -50%); transition: transform .35s var(--ease); }
.faq-ic::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .faq-ic { background: var(--ink); border-color: var(--ink); color: #fff; }
.faq-item.is-open .faq-ic::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 56px 26px 0; font-size: 16.5px; color: var(--ink-2); max-width: 44em; }
.faq-a a { color: var(--petrol); font-weight: 560; }
html:not(.js) .faq-a { grid-template-rows: 1fr; }

/* =========================================================
   Cierre: formulario por pasos
   ========================================================= */
.cta { background: var(--night); color: #fff; padding-block: clamp(84px, 10vw, 150px); position: relative; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -30%; width: 70vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(46,108,123,.45) 0%, rgba(46,108,123,0) 62%); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px clamp(40px, 6vw, 100px); align-items: start; }
.cta-h { color: #fff; }
.cta-lead { margin-top: 22px; font-size: clamp(17px, 1.3vw, 19.5px); color: var(--on-night); max-width: 30em; }
.cta-doc { margin-top: 32px; display: flex; align-items: center; gap: 14px; font-size: 15.5px; color: var(--on-night); max-width: 30em; }
.cta-doc strong { color: #fff; }
.cta-av { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 2px #fff; }
.cta-av img { width: 100%; height: 100%; object-fit: cover; }
.contact { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; }
.contact div { border-top: 1px solid rgba(255,255,255,.16); padding-top: 14px; }
.contact dt { font-size: 13.5px; color: rgba(255,255,255,.6); }
.contact dd { margin-top: 4px; font-size: 16px; }
.contact a { color: #fff; }
.form-card { background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); box-shadow: 0 50px 100px -50px rgba(0,0,0,.8); }
.fs-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.form-h { font-size: 20px; font-weight: 600; font-stretch: 106%; letter-spacing: -0.02em; }
.fs-prog { display: flex; gap: 6px; counter-reset: fs; }
.fs-prog li { counter-increment: fs; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); }
.fs-prog li::before { content: counter(fs); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; border: 1px solid var(--line); }
.fs-prog li + li::after { content: none; }
.fs-prog li.is-on { color: var(--ink); }
.fs-prog li.is-on::before { background: var(--ink); border-color: var(--ink); color: #fff; }
.fs-prog li.is-done::before { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.fs { padding-top: 22px; }
.js .fs[data-step="2"] { display: none; }
.js .form.is-s2 .fs[data-step="1"] { display: none; }
.js .form.is-s2 .fs[data-step="2"] { display: block; }
.fs-l { font-size: 17px; font-weight: 600; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); font-size: 14.5px; line-height: 1.25; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover span { border-color: var(--ink-2); }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--petrol); outline-offset: 2px; }
.chip--s span { min-height: 36px; padding: 6px 13px; font-size: 14px; }
.fs-next { margin-top: 22px; }
.fs-sum { margin: -4px 0 16px; font-size: 15px; color: var(--ink-2); }
.fs-sum strong { color: var(--ink); }
.fs-back { border: 0; background: none; padding: 0; margin-left: 6px; color: var(--petrol); font-weight: 560; text-decoration: underline; text-underline-offset: 3px; }
.f { margin-bottom: 16px; }
.f label { display: block; font-size: 14.5px; font-weight: 560; margin-bottom: 7px; }
.f-opt { font-weight: 400; color: var(--ink-3); }
.f input[type="text"], .f input[type="tel"], .f textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); padding: 14px 16px; font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.f input:focus, .f textarea:focus { outline: none; border-color: var(--petrol); box-shadow: 0 0 0 4px rgba(31,95,108,.12); }
.f textarea { resize: vertical; min-height: 92px; }
.f-err { font-size: 13.5px; color: #B42318; margin-top: 6px; }
.f-err:empty { margin: 0; }
.f.is-err input { border-color: #B42318; }
.f--check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; align-items: start; }
.f--check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--petrol); }
.f--check label { font-weight: 400; font-size: 14.5px; color: var(--ink-2); margin: 0; }
.f--check label a { color: var(--petrol); }
.f--check .f-err { grid-column: 2; }
.form-ok { margin-top: 14px; font-size: 15px; color: var(--petrol); font-weight: 560; }
.form-ok:empty { display: none; }
.form-alt { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.form-alt a { color: var(--petrol); font-weight: 560; }

/* =========================================================
   Pie
   ========================================================= */
.ftr { background: var(--paper); border-top: 1px solid var(--line); padding-block: clamp(56px, 7vw, 96px) 40px; font-size: 15px; color: var(--ink-2); }
.ftr-top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 4fr) minmax(0, 2fr); gap: 40px; }
.ftr-brand { display: flex; flex-direction: column; gap: 16px; }
.brand-mark--lg img { width: 72px; height: 72px; }
.brand-mark--lg { width: 72px; height: 72px; }
.ftr-name { display: flex; flex-direction: column; font-size: 20px; font-weight: 600; font-stretch: 106%; letter-spacing: -0.02em; color: var(--ink); line-height: 1.2; }
.ftr-name span { font-size: 15px; font-weight: 400; color: var(--ink-2); letter-spacing: 0; }
.ftr-h { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.ftr-col p + p, .ftr-col address + p { margin-top: 12px; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: var(--petrol); text-decoration: underline; }
.ftr-col li { padding: 4px 0; }
.ftr-two { columns: 2; column-gap: 28px; }
.ftr-two li { break-inside: avoid; }
.ftr-legal { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 13.5px; color: var(--ink-3); }

/* ---------- Barra móvil y WhatsApp flotante ---------- */
.mbar { display: none; }
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 50; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--petrol); color: #fff; box-shadow: 0 18px 36px -14px rgba(6,20,24,.6);
  transition: transform .4s var(--ease), background-color .25s;
}
.wa-float .ic-wa { width: 26px; height: 26px; }
.wa-float:hover { transform: scale(1.06); background: var(--ink); }

/* ---------- Tarjeta lateral (CTA) ---------- */
.nudge { position: fixed; right: 24px; bottom: 98px; z-index: 55; width: min(356px, calc(100vw - 32px)); display: flex; flex-direction: column; align-items: flex-end; pointer-events: none; }
.nudge[hidden] { display: none; }
.nudge-card {
  position: relative; width: 100%; padding: 22px 22px 18px; border-radius: 24px; color: #fff; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 100% 0%, rgba(244,183,64,.22) 0%, rgba(244,183,64,0) 48%), radial-gradient(140% 120% at 0% 0%, #1D5A68 0%, #0E3A44 56%, #0A2B33 100%);
  box-shadow: 0 34px 64px -24px rgba(6,20,24,.7), inset 0 1px 0 rgba(255,255,255,.14);
  transform: translateX(calc(100% + 48px)); opacity: 0; visibility: hidden; pointer-events: auto;
  transition: transform .55s var(--ease), opacity .35s ease, visibility 0s linear .55s;
}
.nudge.is-in:not(.is-min) .nudge-card { transform: none; opacity: 1; visibility: visible; transition: transform .8s cubic-bezier(.2,1.18,.32,1), opacity .3s ease, visibility 0s; }
.nudge-card::after { content: ""; position: absolute; z-index: -1; right: -64px; top: -64px; width: 190px; height: 190px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 0 0 28px rgba(255,255,255,.035); }
.nudge :focus-visible { outline-color: var(--amber); }
.nudge-x { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.12); }
.nudge-x:hover { background: rgba(255,255,255,.24); }
.nudge-x svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nudge-top { display: flex; align-items: center; gap: 12px; padding-right: 36px; }
.nudge-av { flex: none; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 2px #fff, 0 0 0 7px rgba(255,255,255,.12); }
.nudge-av img { width: 100%; height: 100%; object-fit: cover; }
.nudge-k { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.82); }
.nudge-h { margin-top: 16px; font-size: 23px; line-height: 1.12; font-weight: 560; font-stretch: 106%; letter-spacing: -0.025em; text-wrap: balance; }
.nudge-p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.76); }
.nudge-act { display: flex; gap: 10px; margin-top: 18px; }
.nudge-cta { flex: 1; --h: 54px; position: relative; overflow: hidden; }
.nudge-cta::after { content: ""; position: absolute; top: 0; bottom: 0; left: -45%; width: 32%; background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.6), rgba(255,255,255,0)); transform: skewX(-18deg); pointer-events: none; }
.nudge.is-in .nudge-cta::after { animation: shine 4.4s ease-in-out 1s infinite; }
@keyframes shine { 0% { left: -45%; } 24%, 100% { left: 125%; } }
.nudge-wa { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.24); }
.nudge-wa:hover { background: rgba(255,255,255,.2); }
.nudge-wa .ic-wa { width: 23px; height: 23px; }
.nudge-tel { margin-top: 12px; text-align: center; font-size: 14px; color: rgba(255,255,255,.66); }
.nudge-tel a { color: #fff; font-weight: 560; text-underline-offset: 3px; }
.nudge-pill {
  position: absolute; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 22px 0 6px; border-radius: 999px; border: 0;
  background: var(--amber); color: var(--ink); font-size: 15.5px; font-weight: 600; box-shadow: 0 20px 40px -18px rgba(6,20,24,.6);
  transform: translateY(20px) scale(.9); opacity: 0; visibility: hidden; pointer-events: auto; transition: transform .45s var(--ease), opacity .3s, visibility 0s linear .45s;
}
.nudge-av--s { width: 46px; height: 46px; box-shadow: 0 0 0 2px #fff; }
.nudge.is-in.is-min .nudge-pill { transform: none; opacity: 1; visibility: visible; transition: transform .5s cubic-bezier(.2,1.18,.32,1), opacity .3s, visibility 0s; }
.menu-open .nudge { display: none; }

/* =========================================================
   Páginas interiores
   ========================================================= */
.pg-t main, .pg-d main, .pg-e main { padding-top: var(--hdr); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 14px; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--petrol); text-decoration: underline; }
.th { padding-block: clamp(36px, 5vw, 72px) clamp(48px, 6vw, 88px); background: linear-gradient(180deg, var(--mist) 0%, var(--paper) 100%); }
.th-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(32px, 5vw, 80px); align-items: center; }
.th-z { margin-top: clamp(28px, 4vw, 52px); font-size: 14.5px; font-weight: 560; color: var(--petrol); display: flex; align-items: center; gap: 10px; }
.th-z::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.th-h1 { margin-top: 14px; font-size: clamp(44px, 6.4vw, 100px); line-height: .92; font-weight: 560; font-stretch: var(--wide); letter-spacing: -0.05em; text-wrap: balance; }
.th-tag { margin-top: 20px; font-size: clamp(19px, 1.6vw, 23px); font-weight: 500; letter-spacing: -0.01em; color: var(--ink); max-width: 30em; }
.th-lead { margin-top: 14px; font-size: 17.5px; color: var(--ink-2); max-width: 38em; }
.th-lead a { color: var(--petrol); }
.th .cta-row { margin-top: 30px; }
.anat { position: relative; }
.anat-stage { position: relative; aspect-ratio: 1; }
.anat-ring { position: absolute; inset: 4%; border-radius: 50%; background: radial-gradient(circle at 50% 42%, #fff 0%, var(--paper) 40%, var(--mist-2) 100%); }
.anat-ring::after { content: ""; position: absolute; inset: -4.5%; border-radius: 50%; border: 1px dashed var(--line); }
.anat-img { position: relative; width: 100%; height: 100%; object-fit: cover; clip-path: circle(46% at 50% 50%); }
.anat-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.anat-lead { fill: none; stroke: var(--ink); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.anat-end { fill: var(--ink); }
.anat-pt { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 6px rgba(244,183,64,.3); }
.anat-lab { position: absolute; transform: translateY(-50%); }
.anat-lab[data-side="r"] { transform: translate(8px, -50%); }
.anat-lab[data-side="l"] { transform: translate(calc(-100% - 8px), -50%); }
.anat-lab > span { display: inline-block; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 560; padding: 6px 11px; border-radius: 10px; line-height: 1.25; white-space: nowrap; max-width: none !important; }
.anat-cap { margin-top: 8px; text-align: center; font-size: 13px; color: var(--ink-3); }
.facts { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.fact { padding: 18px 24px 0 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact dt { font-size: 13.5px; color: var(--ink-3); }
.fact dd { margin-top: 6px; font-size: 17px; font-weight: 500; line-height: 1.35; }
.facts-note { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); }

.tb { padding-block: clamp(40px, 6vw, 96px); }
.tb-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr) minmax(0, 1fr); gap: 40px clamp(32px, 4vw, 64px); align-items: start; }
.toc { position: sticky; top: calc(var(--hdr) + 32px); }
.toc-h { font-size: 13.5px; color: var(--ink-3); margin-bottom: 12px; }
.toc-list { border-left: 1px solid var(--line); margin-bottom: 22px; }
.toc-list a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14.5px; line-height: 1.35; text-decoration: none; color: var(--ink-2); transition: color .2s, border-color .2s; }
.toc-list a:hover { color: var(--ink); }
.toc-list a.is-on { color: var(--ink); border-left-color: var(--petrol); font-weight: 560; }
.prose { max-width: 42em; }
.prose > * + * { margin-top: clamp(40px, 5vw, 64px); }
.pr-h { font-size: clamp(28px, 2.6vw, 40px); line-height: 1.04; font-weight: 560; font-stretch: 108%; letter-spacing: -0.04em; text-wrap: balance; margin-bottom: 18px; }
.pr-sec p { font-size: 18px; line-height: 1.68; color: #23363B; }
.pr-sec p + p { margin-top: 16px; }
.pr-sec a, .sum a { color: var(--petrol); font-weight: 560; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pr-list { margin-top: 18px; display: grid; gap: 10px; }
.pr-list li { position: relative; padding-left: 24px; font-size: 17.5px; line-height: 1.6; color: #23363B; }
.pr-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; border-radius: 50%; border: 1.6px solid var(--petrol); }
.sum { background: var(--mist); border-radius: var(--r-md); padding: clamp(22px, 3vw, 32px); }
.sum-h { font-size: 14.5px; font-weight: 600; color: var(--petrol); margin-bottom: 10px; }
.sum p { font-size: 18px; line-height: 1.62; }
.sym { border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(22px, 3vw, 32px); }
.sym-intro { font-size: 16px; color: var(--ink-2); }
.sym-list { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sym-i { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--mist); cursor: pointer; transition: background-color .2s, box-shadow .2s; height: 100%; }
.sym-i input { position: absolute; opacity: 0; }
.sym-box { width: 22px; height: 22px; border-radius: 7px; border: 1.6px solid var(--ink-3); background: var(--paper); flex: none; display: grid; place-items: center; }
.sym-box svg { width: 14px; height: 14px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.sym-i input:checked + .sym-box { background: var(--amber); border-color: var(--amber); }
.sym-i input:checked + .sym-box svg { opacity: 1; }
.sym-i input:focus-visible + .sym-box { outline: 2px solid var(--petrol); outline-offset: 2px; }
.sym-i:has(input:checked) { background: #FCEFD2; }
.sym-t { font-size: 15.5px; line-height: 1.45; }
.sym-out { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.sym-msg { font-size: 15px; color: var(--ink-2); }
.mid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 20px; align-items: center; background: var(--night); color: #fff; border-radius: var(--r-md); padding: 22px 24px; }
.mid-av { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px #fff; }
.mid-av img { width: 100%; height: 100%; object-fit: cover; }
.mid-h { font-size: 19px; font-weight: 600; font-stretch: 104%; }
.mid-tx p + p { color: var(--on-night); font-size: 15px; margin-top: 2px; }

.t-proc { background: var(--mist); }
.t-proc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 110px); align-items: start; }
.t-proc .sec-head { margin-bottom: 0; position: sticky; top: calc(var(--hdr) + 40px); }
.t-proc .sec-intro { margin-top: 20px; }
.steps { counter-reset: st; }
.st { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.st:last-child { border-bottom: 1px solid var(--line); }
.st-n { width: 44px; height: 44px; border-radius: 50%; background: var(--paper); border: 2px solid var(--petrol); display: grid; place-items: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.st-t { font-size: 21px; font-weight: 560; font-stretch: 106%; letter-spacing: -0.02em; line-height: 1.2; }
.st p { margin-top: 6px; font-size: 16px; color: var(--ink-2); }
.dcb { background: var(--night); color: #fff; overflow: hidden; }
.dcb-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px clamp(32px, 5vw, 80px); align-items: end; padding-top: 56px; }
.dcb-ph { align-self: end; display: block; position: relative; }
.dcb-ph::before { content: ""; position: absolute; left: 50%; bottom: 6%; width: 96%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(46,108,123,.75) 0%, rgba(46,108,123,0) 66%); }
.dcb-ph img { position: relative; width: min(100%, 420px); }
.dcb-tx { padding-bottom: 56px; max-width: 40em; }
.dcb-h { font-size: clamp(30px, 3.4vw, 52px); line-height: 1; font-weight: 540; font-stretch: var(--wide); letter-spacing: -0.045em; margin-bottom: 18px; }
.dcb-tx p { color: var(--on-night); font-size: 17px; margin-bottom: 22px; }
.rel .ti-list { max-width: 980px; }
.e404 .th-h1 { margin-top: 0; }
.e404 .th-lead { margin-bottom: 32px; }
.e404 .cta-row { margin-top: 32px; }
.e404 .ti-n { font-size: clamp(22px, 2vw, 30px); }

/* Página del cirujano */
.dh { padding-block: clamp(28px, 4vw, 56px) 0; background: var(--mist); overflow: hidden; }
.dh-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 5vw, 80px); align-items: end; }
.dh-copy { padding-bottom: clamp(48px, 6vw, 96px); }
.dh-h1 { margin-top: clamp(28px, 4vw, 52px); font-size: clamp(42px, 5.6vw, 88px); line-height: .94; font-weight: 560; font-stretch: var(--wide); letter-spacing: -0.05em; text-wrap: balance; }
.dh .cta-row { margin-top: 30px; }
.dh-fig { position: relative; display: grid; justify-items: center; }
.dh-halo { position: absolute; left: 50%; bottom: 8%; width: 110%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 50% 45%, #fff 0%, rgba(255,255,255,.7) 40%, rgba(255,255,255,0) 70%); }
.dh-fig img { position: relative; width: min(100%, 560px); }
.dfacts { padding-block: clamp(56px, 7vw, 100px) 0; }
.dfacts .mir { margin-top: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dfacts .mir-n { font-size: clamp(64px, 6.4vw, 104px); }

/* =========================================================
   Estados iniciales de las animaciones (solo con JS + GSAP)
   ========================================================= */
.anim .hero-h1 .ln > span { transform: translateY(105%); }
.anim .hero-k, .anim .hero-foot, .anim .hero-bar-in { opacity: 0; }
.anim .hero-video { transform: scale(1.08); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1380px) {
  .hdr-tel span { display: none; }
  .nav ul { gap: 20px; }
}
@media (max-width: 1240px) {
  .tb-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); }
}
@media (max-width: 1160px) {
  .nav { display: none; }
  .menu-btn { display: inline-block; }
  .hdr-act { margin-left: auto; }
}
@media (max-width: 1080px) {
  .hdr-act { margin-left: auto; }
  .hdr-tel { width: 44px; height: 44px; justify-content: center; border: 1px solid; border-color: color-mix(in srgb, currentColor 25%, transparent); border-radius: 50%; }
  .hero-foot { grid-template-columns: minmax(0, 1fr); }
  .hero-facts li:nth-child(3) { display: none; }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trat-grid, .faq-grid, .soria-grid, .cta-grid, .t-proc-grid { grid-template-columns: minmax(0, 1fr); }
  .trat-side, .faq-side, .t-proc .sec-head { position: static; }
  .tv { display: none; }
  .dr-grid { grid-template-columns: minmax(0, 1fr); }
  .dr-fig { order: 2; }
  .dr-copy { padding-bottom: 0; }
  .team { grid-template-columns: minmax(0, 1fr); }
  .jr-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jr-body { padding-top: 0; }
  .jr-map { display: none; }
  .jr-st { position: static; transform: none; margin-bottom: 14px; }
  .jr-step--q .jr-st { transform: none; }
  .th-grid, .dh-grid { grid-template-columns: minmax(0, 1fr); }
  .anat { max-width: 520px; width: 100%; margin: 0 auto; }
  .th { overflow-x: clip; }
  .tb-grid { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; display: none; }
  .dh-fig img { width: min(80%, 460px); }
  .dfacts .mir { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 900px) {
  :root { --hdr: 64px; }
  body { font-size: 17px; padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .hdr-cta { display: none; }
  .brand-mark, .brand-mark img { width: 38px; height: 38px; }
  .brand-tx { padding-left: 10px; }
  .brand-t1 { font-size: 14px; }
  .brand-t2 { font-size: 11.5px; }
  .sec-head { grid-template-columns: minmax(0, 1fr); }

  .hero { height: auto; min-height: 100vh; min-height: 100svh; max-height: none; display: flex; flex-direction: column; justify-content: flex-end; }
  .hero-video { object-position: 50% 30%; }
  .hero-in { position: relative; bottom: auto; padding-top: calc(var(--hdr) + 44svh); padding-bottom: 28px; }
  .hero-h1 { font-size: min(15.2vw, 92px); }
  .hero-lead { font-size: 16px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-bar { position: relative; height: auto; padding-block: 18px 22px; }
  .hero-bar-in { flex-direction: column; align-items: stretch; gap: 16px; padding-right: max(var(--g), env(safe-area-inset-right, 0px)); }
  .hero-facts { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hero-facts li { flex-direction: row; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
  .hero-facts li:nth-child(3) { display: flex; }
  .hero-frost { -webkit-mask-image: linear-gradient(0deg, #000 0%, #000 52%, rgba(0,0,0,.55) 60%, transparent 70%); mask-image: linear-gradient(0deg, #000 0%, #000 52%, rgba(0,0,0,.55) 60%, transparent 70%); }
  .hero-shade { background: linear-gradient(0deg, #061418 0%, rgba(6,20,24,.9) 30%, rgba(6,20,24,.55) 50%, rgba(6,20,24,.18) 64%, rgba(6,20,24,0) 76%), linear-gradient(180deg, rgba(6,20,24,.5) 0%, rgba(6,20,24,0) 20%); }

  .zx-copy { left: 20px; right: 20px; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .zx-h { font-size: clamp(30px, 8.6vw, 44px); }
  .zx-p { font-size: 15px; }
  .zx-detail { grid-template-columns: minmax(0, 1fr); padding-block: 48px 64px; }
  .zx-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 22px calc(-1 * var(--g)) 0; padding: 4px var(--g) 12px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .zx-tabs::-webkit-scrollbar { display: none; }
  .zx-tab { flex: none; scroll-snap-align: start; }
  .zx-panel { padding: 22px 20px; border-radius: 20px; }

  .ti-a { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "th z go" "th n go" "th t go"; column-gap: 16px; padding: 18px 0; }
  .ti-th { grid-area: th; display: block; width: 64px; height: 64px; border-radius: 50%; background: var(--mist); overflow: hidden; align-self: center; }
  .ti-th img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
  .ti-go { width: 40px; height: 40px; }
  .ti-t { font-size: 15px; }
  .ti-a:hover, .ti-a:focus-visible { padding-left: 0; background: none; }

  .mir-n { font-size: clamp(64px, 20vw, 96px); }
  .cities { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .team-list { grid-template-columns: minmax(0, 1fr); }
  .dr-cap { left: 0; bottom: 16px; }

  .jr-steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .jr-step { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 18px; padding-bottom: 34px; }
  .jr-step::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: 0; width: 2px; background: var(--line); }
  .jr-step:last-child::before { display: none; }
  .jr-step--q::before, .jr-step:has(+ .jr-step--q)::before { background: linear-gradient(var(--amber), var(--amber)) 0 0 / 2px 100% no-repeat; opacity: .7; }
  .jr-st { grid-column: 1; grid-row: 1 / span 5; align-self: start; margin: 0; }
  .jr-step > :not(.jr-st) { grid-column: 2; }
  .jr-ph, .jr-plan { aspect-ratio: 16 / 10; }

  .contact { grid-template-columns: minmax(0, 1fr); }
  .mp-t text { font-size: 44px; stroke-width: 10px; }
  .mp-t--home text { font-size: 46px; }
  .mp-t--lab:not(.mp-t--home) text { opacity: 0; }
  .mp-t.is-on text { opacity: 1; }
  .mp-far text { display: none; }
  .mp-dot { r: 9px; }
  .mp-t--home .mp-dot { r: 13px; }
  .chip span { font-size: 14px; }
  .fs-top { flex-direction: column; align-items: flex-start; gap: 10px; }

  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
  .fact + .fact { padding-left: 0; border-left: 0; }
  .fact:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .sym-list { grid-template-columns: minmax(0, 1fr); }
  .anat-lab > span { white-space: normal; max-width: 10em !important; font-size: 12px; padding: 5px 9px; }
  .mid { grid-template-columns: auto minmax(0, 1fr); }
  .mid .btn { grid-column: 1 / -1; }
  .dcb-in { grid-template-columns: minmax(0, 1fr); padding-top: 48px; }
  .dcb-ph { order: 2; justify-self: center; }
  .dcb-ph img { width: min(80vw, 360px); }
  .dcb-tx { padding-bottom: 0; }
  .ftr { padding-bottom: 32px; }
  .ftr-top { grid-template-columns: minmax(0, 1fr); gap: 32px; }

  .wa-float { display: none; }
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 58;
    padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: rgba(255,255,255,.88); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-top: 1px solid rgba(216,226,226,.9);
  }
  .mbar-a { height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 560; text-decoration: none; background: var(--mist); color: var(--ink); }
  .mbar-a svg { width: 18px; height: 18px; fill: none; stroke: var(--petrol); stroke-width: 1.6; stroke-linejoin: round; }
  .mbar-a .ic-wa .wa-p { fill: var(--petrol); stroke: none; }
  .mbar-a--main { background: var(--amber); color: var(--ink); }
  .menu-open .mbar { display: none; }

  .nudge { right: 12px; bottom: calc(82px + env(safe-area-inset-bottom, 0px)); width: min(366px, calc(100vw - 24px)); }
  .nudge-card { padding: 16px; border-radius: 20px; }
  .nudge-av { width: 44px; height: 44px; }
  .nudge-h { margin-top: 12px; font-size: 19px; }
  .nudge-p, .nudge-tel, .nudge-wa { display: none; }
  .nudge-act { margin-top: 14px; }
  .nudge-cta { --h: 50px; }
  .nudge-pill { height: 50px; font-size: 14.5px; }
  .nudge-av--s { width: 40px; height: 40px; }
}

@media (max-width: 560px) {
  .jr-steps, .facts { grid-template-columns: minmax(0, 1fr); }
  .fact:nth-child(even) { padding-left: 0; border-left: 0; }
  .hdr-tel { display: none; }
  .brand-t2 { display: none; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .mir { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
  .mir-l { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
@media print {
  .hdr, .mbar, .wa-float, .nudge, .hero-media, .zx-media { display: none !important; }
}
