/* ============================================================
   Motor v2 — base común de las webs de consultorio (COMS y Myrna).
   Componentes con movimiento: intro con contador, nav flotante,
   títulos letra por letra, cinta que reacciona al scroll, lista con
   foto que sigue al mouse, tarjetas en carrusel horizontal fijado,
   tarjetas que se apilan, mosaicos con luz que sigue al puntero.
   Cada web define su paleta y su portada en tema.css.
   ============================================================ */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 200 800; font-stretch: 62% 125%; font-display: swap; src: url("../fonts/archivo-latin.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-latin.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2"); }

:root {
  --bg: #f1f7f6; --bg-2: #e3efed; --surface: #ffffff;
  --text: #003430; --text-2: #516562; --line: rgba(0, 52, 48, .12);
  --accent: #12b7a9; --accent-2: #05978b; --accent-ink: #02786e; --on-accent: #fff;
  --dark: #00322e; --dark-2: #073f3a; --dark-text: #eff6f5; --dark-text-2: #9bb1ae; --dark-line: rgba(255, 255, 255, .12);
  --nav-bg: rgba(255, 255, 255, .72); --nav-line: rgba(0, 52, 48, .08); --nav-hover: rgba(0, 52, 48, .06);

  --f-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", serif;
  --f-display: var(--f-sans);
  --d-weight: 700; --d-stretch: 75%; --d-case: uppercase; --d-track: -.02em; --d-lh: .88;

  --gutter: clamp(18px, 4vw, 64px);
  --max: 1360px;
  --sec: clamp(96px, 12vw, 176px);
  --r: 26px; --r-sm: 16px; --sheet-r: clamp(28px, 4vw, 56px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f-sans); font-size: 17px; line-height: 1.6; font-weight: 380; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: normal; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 6px; }
.s--dark :focus-visible, .menu :focus-visible { outline-color: var(--accent); }
[hidden] { display: none !important; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 2000; background: var(--surface); color: var(--text); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- retícula y secciones ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.s { position: relative; padding: var(--sec) 0; }
.s--soft { background: var(--bg-2); }
.s--surface { background: var(--surface); }
.s--dark { background: var(--dark); color: var(--dark-text); --text: var(--dark-text); --text-2: var(--dark-text-2); --line: var(--dark-line); --surface: var(--dark-2); }
.s--sheet { z-index: 2; border-radius: var(--sheet-r) var(--sheet-r) 0 0; margin-top: calc(-1 * var(--sheet-r)); }
.s--sheet-b { z-index: 2; border-radius: 0 0 var(--sheet-r) var(--sheet-r); }
.s--sheet.s--sheet-b { border-radius: var(--sheet-r); }

/* ---------- tipografía ---------- */
.d { margin: 0; font-family: var(--f-display); font-weight: var(--d-weight); font-stretch: var(--d-stretch); text-transform: var(--d-case); letter-spacing: var(--d-track); line-height: var(--d-lh); font-size: clamp(46px, 7.2vw, 124px); }
.d em, .em { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-stretch: 100%; text-transform: none; letter-spacing: -.015em; color: var(--em, var(--accent-ink)); }
.s--dark .d em, .s--dark .em { color: var(--accent); }
.d--md { font-size: clamp(36px, 5vw, 80px); }
.k { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 26px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); }
.k b { display: inline-grid; place-items: center; min-width: 34px; height: 24px; padding: 0 8px; border-radius: 99px; border: 1px solid var(--line); color: var(--text); font-weight: 600; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.lead { margin: 0; max-width: 46ch; color: var(--text-2); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; }
.sh { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px 56px; align-items: end; margin-bottom: clamp(44px, 6vw, 92px); }
.sh .lead { justify-self: end; margin-bottom: 8px; }
.sh--center { display: block; text-align: center; }
.sh--center .lead { margin: 26px auto 0; }

/* palabras y letras de los títulos animados */
.wd { display: inline-block; white-space: nowrap; overflow: hidden; vertical-align: top; padding: .1em .04em .14em; margin: -.1em -.04em -.14em; }
.ch { display: inline-block; will-change: transform; }

/* ---------- botones ---------- */
.btn {
  --h: 56px; --ico-bg: var(--accent); --ico-fg: var(--on-accent); --fill: var(--accent-ink);
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: 16px;
  height: var(--h); padding: 0 8px 0 26px; border-radius: 999px; font-size: 14.5px; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
  transition: color .45s var(--ease), border-color .45s, transform .2s;
}
.btn::before { content: ""; position: absolute; z-index: -1; right: 28px; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--fill); transform: translate(50%, -50%) scale(0); transition: transform .7s var(--ease); }
.btn:hover::before { transform: translate(50%, -50%) scale(70); }
.btn:active { transform: scale(.97); }
.btn__i { flex: none; width: calc(var(--h) - 14px); height: calc(var(--h) - 14px); border-radius: 50%; display: grid; place-items: center; background: var(--ico-bg); color: var(--ico-fg); transition: transform .6s var(--ease), background .4s; }
.btn:hover .btn__i { transform: rotate(-45deg); }
.btn--p { background: var(--text); color: var(--bg); }
.btn--p:hover { color: #fff; }
.btn--g { border: 1px solid var(--line); color: var(--text); --ico-bg: var(--text); --ico-fg: var(--bg); --fill: var(--text); }
.btn--g:hover { color: var(--bg); }
.btn--l { background: var(--dark-text); color: var(--dark); --fill: #fff; }
.btn--a { background: var(--accent); color: var(--on-accent); --ico-bg: var(--dark); --ico-fg: var(--accent); --fill: #fff; }
.btn--sm { --h: 46px; font-size: 13.5px; padding-left: 20px; gap: 12px; }
.btn--plain { padding: 0 26px; }
.btn--plain::before { right: 50%; }
.s--dark .btn--p { background: var(--dark-text); color: var(--dark); }
.s--dark .btn--p:hover { color: var(--dark); }
.s--dark .btn--p { --fill: #fff; }

/* ---------- barra de progreso ---------- */
.prog { position: fixed; z-index: 95; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* ---------- intro con contador ---------- */
.pre { display: none; }
.js .pre { display: block; position: fixed; inset: 0; z-index: 1800; pointer-events: none; }
.js.seen .pre { display: none; }
.pre__p { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--dark); }
.pre__p--a { top: 0; } .pre__p--b { bottom: 0; }
.pre__in { position: absolute; inset: 0; display: grid; place-items: center; color: var(--dark-text); }
.pre__brand { margin: 0; display: flex; overflow: hidden; font-family: var(--f-display); font-weight: var(--d-weight); font-stretch: var(--d-stretch); text-transform: var(--d-case); letter-spacing: var(--d-track); font-size: clamp(64px, 14vw, 230px); line-height: .9; padding: .05em 0 .08em; }
.pre__brand span { display: inline-block; transform: translateY(110%); }
.pre__brand .sp { width: .3em; }
.pre__sub { position: absolute; left: var(--gutter); bottom: 34px; margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--dark-text-2); }
.pre__num { position: absolute; right: var(--gutter); bottom: 26px; margin: 0; font-family: var(--f-display); font-weight: var(--d-weight); font-stretch: var(--d-stretch); font-size: clamp(40px, 6vw, 88px); line-height: 1; font-variant-numeric: tabular-nums; }
.pre__bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 2px; background: rgba(255, 255, 255, .12); }
.pre__bar i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
/* intro sobria (variante "logo"): isotipo, nombre, una línea y el panel que sube con borde curvo */
.pre--logo .pre__panel { position: absolute; inset: 0; background: var(--dark); border-bottom-left-radius: 50% var(--curve, 0px); border-bottom-right-radius: 50% var(--curve, 0px); will-change: transform; }
.pre--logo .pre__in { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.pre__mark { width: clamp(70px, 7vw, 96px); height: auto; margin-bottom: 28px; }
.pre__word { margin: 0; display: flex; font-family: var(--f-sans); font-weight: 250; font-stretch: 100%; text-transform: uppercase; font-size: clamp(34px, 4.4vw, 60px); line-height: 1; color: var(--dark-text); }
.pre__word span { display: inline-block; margin: 0 .22em; }
.pre__line { display: block; width: clamp(120px, 14vw, 200px); height: 1px; margin: 28px 0 18px; background: linear-gradient(90deg, transparent, rgba(119, 212, 200, .9), transparent); }
.pre__tag { margin: 0; font-family: var(--f-serif); font-style: italic; font-size: clamp(16px, 1.4vw, 20px); color: var(--dark-text-2); }/* si el JS fallara, la portada aparece igual */
.js [data-hero] { opacity: 0; animation: heroFb 0s 5s forwards; }
.js.ready [data-hero] { animation: none; }
.js [data-split]:not(.is-split) { visibility: hidden; animation: splitFb 0s 5s forwards; }
@keyframes splitFb { to { visibility: visible; } }
.js [data-reveal-img].is-revealed { animation: cortina 1.3s var(--ease) both; }
@keyframes cortina { from { clip-path: inset(100% 0 0 0 round var(--r)); transform: translateY(40px) scale(1.04); } to { clip-path: inset(0 0 0 0 round var(--r)); transform: none; } }
@keyframes heroFb { to { opacity: 1; } }

/* ---------- nav flotante ---------- */
.nav {
  position: fixed; z-index: 90; top: 14px; left: 50%; width: min(calc(100% - 24px), 1260px); height: 66px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 20px; padding: 0 9px 0 22px; border-radius: 999px;
  background: var(--nav-bg); border: 1px solid var(--nav-line); color: var(--text);  box-shadow: 0 10px 40px rgba(0, 0, 0, .06); transition: transform .7s var(--ease), background .4s;
}
.nav.is-hidden { transform: translate(-50%, -150%); }
.brand { display: flex; align-items: center; gap: 12px; line-height: 1; flex: none; }
.brand__t { display: flex; flex-direction: column; }
.brand__n { font-family: var(--f-display); font-weight: var(--d-weight); font-stretch: var(--d-stretch); text-transform: var(--d-case); font-size: 22px; letter-spacing: .01em; }
.brand__s { margin-top: 4px; font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--text-2); }
.nav__links { display: flex; gap: 2px; margin: 0 auto; }
.nav__links a { position: relative; padding: 9px 14px; border-radius: 999px; font-size: 14px; color: var(--text-2); transition: background .3s, color .3s; }
.nav__links a:hover, .nav__links a.is-on { background: var(--nav-hover); color: var(--text); }
.nav__cta { flex: none; margin-left: auto; }
.nav__links + .nav__cta { margin-left: 0; }
.burger { display: none; position: relative; width: 48px; height: 48px; border-radius: 50%; background: var(--text); color: var(--bg); margin-left: auto; flex: none; }
.burger span { position: absolute; left: 15px; right: 15px; height: 1.6px; background: currentColor; transition: transform .5s var(--ease); }
.burger span:first-child { top: 20px; } .burger span:last-child { top: 27px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu { visibility: hidden; position: fixed; inset: 0; z-index: 85; background: var(--dark); color: var(--dark-text); padding: 110px var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; clip-path: circle(0 at calc(100% - 44px) 46px); transition: clip-path .8s var(--ease-io), visibility 0s linear .8s; }
.menu.is-open { visibility: visible; clip-path: circle(150% at calc(100% - 44px) 46px); transition: clip-path .8s var(--ease-io); }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--dark-line); font-family: var(--f-display); font-weight: var(--d-weight); font-stretch: var(--d-stretch); text-transform: var(--d-case); font-size: clamp(30px, 8vw, 56px); line-height: 1.05; letter-spacing: var(--d-track); }
.menu nav small { font-family: var(--f-sans); font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--dark-text-2); font-stretch: 100%; }
.menu__foot { display: grid; gap: 10px; padding: 28px 0 80px; }
.menu__foot .btn { justify-content: space-between; }

/* ---------- cinta (marquee) ---------- */
.mq { position: relative; overflow: hidden; padding: clamp(18px, 2.4vw, 32px) 0; border-block: 1px solid var(--line); background: var(--mq-bg, transparent); }
.mq__track { display: flex; width: max-content; will-change: transform; }
.mq__g { display: flex; align-items: center; flex: none; }
.mq__it { display: inline-flex; align-items: center; gap: .45em; padding-right: .45em; white-space: nowrap; font-family: var(--f-display); font-weight: var(--d-weight); font-stretch: var(--d-stretch); text-transform: var(--d-case); letter-spacing: var(--d-track); font-size: clamp(40px, 6.6vw, 112px); line-height: 1; }
.mq__it .o { color: transparent; -webkit-text-stroke: 1.3px var(--text); }
.mq__it em { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-stretch: 100%; text-transform: none; color: var(--accent-ink); }
.mq__star { width: .5em; height: .5em; flex: none; color: var(--accent); animation: giro 8s linear infinite; }
@keyframes giro { to { transform: rotate(360deg); } }

/* ---------- texto que entra en foco ---------- */
.focus { margin: 0 auto; max-width: 24ch; text-align: center; font-family: var(--f-display); font-weight: var(--d-weight); font-stretch: var(--d-stretch); text-transform: var(--d-case); letter-spacing: var(--d-track); font-size: clamp(34px, 5.4vw, 92px); line-height: 1.02; }
.focus em { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-stretch: 100%; text-transform: none; color: var(--accent); }
.js .focus .fw { opacity: .14; }
.focus .fw { display: inline-block; transition: none; }
.focus__pic { display: inline-block; vertical-align: middle; width: 1.9em; height: .9em; margin: 0 .1em; border-radius: 999px; overflow: hidden; transform: translateY(-.06em); background: var(--dark-2); }
.focus__pic img, .focus__pic svg { width: 100%; height: 100%; object-fit: cover; }
.sign { margin: 44px 0 0; text-align: center; font-family: var(--f-serif); font-style: italic; font-size: clamp(19px, 1.7vw, 26px); color: var(--text-2); }

/* ---------- mosaicos con luz que sigue al puntero ---------- */
.spot { position: relative; isolation: isolate; overflow: hidden; }
.tile { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 2.4vw, 34px); transition: border-color .4s, transform .6s var(--ease); }
.tile:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.go { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: transform .6s var(--ease), background .4s, color .4s, border-color .4s; }
a:hover .go, .tile:hover .go { transform: rotate(-45deg); background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
[data-tilt] { transform-style: preserve-3d; will-change: transform; }

/* accesos rápidos */
.quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.quick a { display: flex; flex-direction: column; min-height: 210px; }
.quick__n { font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--text-2); }
.quick__t { margin-top: auto; font-family: var(--f-display); font-weight: var(--d-weight); font-stretch: var(--d-stretch); text-transform: var(--d-case); font-size: clamp(24px, 2.2vw, 34px); line-height: .95; letter-spacing: var(--d-track); }
.quick__d { margin-top: 8px; padding-right: 54px; font-size: 14px; color: var(--text-2); line-height: 1.45; }
.quick .go { position: absolute; right: 22px; top: 22px; }

/* ---------- lista con foto que sigue al mouse ---------- */
.hl { border-top: 1px solid var(--line); }
.hl__row { border-bottom: 1px solid var(--line); }
.hl__head { width: 100%; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto 54px; align-items: center; gap: 20px; padding: clamp(18px, 2.4vw, 32px) 0; text-align: left; }
.hl__n { font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--text-2); font-variant-numeric: tabular-nums; }
.hl__name { font-family: var(--f-display); font-weight: var(--d-weight); font-stretch: var(--d-stretch); text-transform: var(--d-case); letter-spacing: var(--d-track); font-size: clamp(38px, 7vw, 118px); line-height: .9; transition: transform .7s var(--ease), color .4s; }
.hl__name em { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-stretch: 100%; text-transform: none; }
.hl__head:hover .hl__name, .hl__row.is-open .hl__name { transform: translateX(clamp(8px, 1.6vw, 26px)); color: var(--accent-ink); }
.hl__area { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); text-align: right; }
.hl__plus { position: relative; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); transition: transform .6s var(--ease), background .4s, border-color .4s, color .4s; }
.hl__plus::before, .hl__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; margin: -.75px 0 0 -8px; background: currentColor; }
.hl__plus::after { transform: rotate(90deg); }
.hl__head:hover .hl__plus { background: var(--text); color: var(--bg); border-color: var(--text); }
.hl__row.is-open .hl__plus { transform: rotate(135deg); background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.hl__body { height: 0; overflow: hidden; }
.no-js .hl__body { height: auto; }
.hl__in { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3.4vw, 56px); padding: 6px 0 clamp(28px, 3.4vw, 48px) 84px; }
.hl__ph { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--bg-2); }
.hl__ph img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 25%); }
.hl__role { margin: 0; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.4; }
.hl__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.hl__list li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.45; color: var(--text-2); }
.hl__list strong { font-weight: 600; color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { height: 32px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; font-size: 12px; font-weight: 500; letter-spacing: .06em; background: var(--bg-2); }
.hl__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hl__float { position: fixed; z-index: 40; left: 0; top: 0; width: clamp(220px, 20vw, 300px); aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; pointer-events: none; opacity: 0; box-shadow: 0 30px 70px rgba(0, 0, 0, .22); transition: opacity .35s; will-change: transform; }
.hl__float.is-on { opacity: 1; }
.hl__float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transition: clip-path .6s var(--ease); }
.hl__float img.is-on { clip-path: inset(0 0 0 0); }
@media (hover: none), (pointer: coarse) { .hl__float { display: none; } }

/* filtro por profesional */
.flt { margin-top: clamp(64px, 8vw, 120px); }
.flt__bar { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.flt__t { margin: 0; font-family: var(--f-display); font-weight: var(--d-weight); font-stretch: var(--d-stretch); text-transform: var(--d-case); font-size: clamp(30px, 3.4vw, 54px); line-height: .95; letter-spacing: var(--d-track); }
.flt__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 999px; background: var(--bg-2); }
.flt__chips button { height: 40px; padding: 0 18px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--text-2); transition: background .4s var(--ease), color .3s; }
.flt__chips button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.flt__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.flt__list li { display: flex; flex-direction: column; gap: 6px; min-height: 150px; }
.flt__cat { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-ink); }
.flt__list strong { font-size: 18px; font-weight: 600; line-height: 1.3; }
.flt__list .txt { color: var(--text-2); font-size: 15px; line-height: 1.45; }
.who { display: flex; gap: 5px; margin-top: auto; padding-top: 10px; }
.who abbr { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--text); color: var(--bg); font-size: 10px; font-weight: 600; letter-spacing: .05em; text-decoration: none; cursor: default; }

/* cifras */
.nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: clamp(40px, 5vw, 72px); }
.nums .tile { min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; }
.nums dt { font-family: var(--f-display); font-weight: var(--d-weight); font-stretch: var(--d-stretch); text-transform: var(--d-case); font-size: clamp(56px, 6vw, 104px); line-height: .85; letter-spacing: var(--d-track); }
.nums dt small { font-size: .38em; margin-left: .15em; letter-spacing: 0; }
.nums dd { margin: 18px 0 0; color: var(--text-2); font-size: 15px; line-height: 1.45; }

/* ---------- carrusel horizontal fijado ---------- */
.hs { position: relative; }
.hs__pin { position: relative; }
.hs__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 36px; }
.hs__meta { display: flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--text-2); font-variant-numeric: tabular-nums; }
.hs__bar { width: 160px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.hs__bar i { display: block; height: 100%; background: var(--accent-ink); transform-origin: 0 50%; transform: scaleX(var(--p, .2)); }
.hs__track { display: flex; gap: 20px; padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2)); }
.hs__card { flex: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: calc(var(--r) + 6px); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.hs__art { position: relative; background: var(--art-bg, var(--dark)); color: var(--art-fg, var(--accent)); overflow: hidden; isolation: isolate; }
.hs__art svg.fig { position: absolute; inset: 10% 12%; width: 76%; height: 80%; overflow: visible; }
.hs__big { position: absolute; z-index: -1; left: 22px; bottom: -.12em; font-family: var(--f-display); font-weight: var(--d-weight); font-stretch: var(--d-stretch); font-size: clamp(120px, 15vw, 260px); line-height: 1; color: rgba(255, 255, 255, .06); font-variant-numeric: tabular-nums; }
.hs__rings { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(255, 255, 255, .07); }
.hs__rings .giro { transform-box: fill-box; transform-origin: 50% 50%; animation: giro 70s linear infinite; }
.hs__txt { display: flex; flex-direction: column; padding: clamp(26px, 3.4vw, 54px); }
.hs__n { font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--text-2); }
.hs__t { margin: 18px 0 14px; font-family: var(--f-display); font-weight: var(--d-weight); font-stretch: var(--d-stretch); text-transform: var(--d-case); letter-spacing: var(--d-track); font-size: clamp(30px, 3.2vw, 54px); line-height: .95; }
.hs__d { margin: 0; color: var(--text-2); font-size: 16px; line-height: 1.55; max-width: 44ch; }
.hs__txt .chips { margin-top: 20px; }
.hs__data { margin: auto 0 0; padding-top: 22px; }
.hs__data div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.hs__data dt { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); padding-top: 3px; }
.hs__data dd { margin: 0; }
.hs__data a { text-decoration: underline; text-underline-offset: 3px; }
/* dibujos de línea */
.dib { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.dib--f { stroke-width: 1; opacity: .55; }
.dib--r { fill: currentColor; stroke: none; opacity: 0; }
.is-on .dib { animation: dibuja 2s var(--ease) forwards; animation-delay: calc(var(--i, 0) * .13s); }
.is-on .dib--r { animation: aparece .8s var(--ease) forwards; animation-delay: calc(.6s + var(--i, 0) * .13s); }
.is-on .vive { transform-box: fill-box; transform-origin: 50% 50%; animation: dibuja 2s var(--ease) calc(var(--i, 0) * .13s) forwards, late 2.8s ease-in-out 2.4s infinite; }
@keyframes dibuja { to { stroke-dashoffset: 0; } }
@keyframes aparece { to { opacity: 1; } }
@keyframes late { 0%, 100% { transform: scale(1); opacity: .6; } 50% { transform: scale(1.18); opacity: 1; } }
.no-js .dib { stroke-dashoffset: 0; }
.no-js .dib--r { opacity: 1; }
.hs.hs--on { padding-top: 0; padding-bottom: 0; }
@media (min-width: 901px) {
  .js .hs--on .hs__pin { height: 100vh; min-height: 640px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
  .js .hs--on .hs__track { width: max-content; padding-right: var(--gutter); will-change: transform; }
  .js .hs--on .hs__card { width: min(76vw, 1060px); height: min(64vh, 600px); }
}
.hs:not(.hs--on) .hs__track, .no-js .hs__track { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); scrollbar-width: none; padding: 0 var(--gutter) 8px; }
.hs:not(.hs--on) .hs__track::-webkit-scrollbar { display: none; }
.hs:not(.hs--on) .hs__card { width: min(86vw, 760px); scroll-snap-align: start; }

/* ---------- sección fijada con imágenes flotantes ---------- */
.zoom { position: relative; background: var(--zoom-bg, var(--dark)); color: var(--dark-text); }
.zoom__pin { position: relative; height: 100vh; min-height: 620px; display: grid; place-content: center; text-align: center; overflow: hidden; padding: 0 var(--gutter); }
.zoom__t { position: relative; z-index: 3; margin: 0; font-family: var(--f-display); font-weight: var(--d-weight); font-stretch: var(--d-stretch); text-transform: var(--d-case); letter-spacing: var(--d-track); line-height: .86; font-size: clamp(58px, 11.5vw, 210px); text-shadow: 0 4px 40px rgba(0, 0, 0, .35); }
.zoom__t span { display: block; }
.zoom__t em { display: block; font-family: var(--f-serif); font-style: italic; font-weight: 400; font-stretch: 100%; text-transform: none; letter-spacing: -.01em; font-size: .56em; line-height: 1.05; color: var(--accent); }
.zoom__lead { position: relative; z-index: 3; max-width: 42ch; margin: 28px auto 0; color: var(--dark-text-2); text-shadow: 0 2px 18px rgba(0, 0, 0, .5); }
.flo { position: absolute; z-index: 1; margin: 0; border-radius: 20px; overflow: hidden; will-change: transform; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.flo img, .flo svg { width: 100%; height: 100%; object-fit: cover; }
.flo--1 { width: 19vw; aspect-ratio: 3 / 4; left: 5%; top: 58%; }
.flo--2 { width: 16vw; aspect-ratio: 3 / 4; right: 9%; top: 9%; }
.flo--3 { width: 14vw; aspect-ratio: 3 / 4; left: 15%; top: 4%; }
.flo--4 { width: 18vw; aspect-ratio: 3 / 4; right: 20%; top: 66%; }
.round { position: absolute; z-index: 4; right: 11%; bottom: 13%; width: 148px; height: 148px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; line-height: 1.3; transition: transform .5s var(--ease), background .4s; }
.round:hover { background: #fff; }

/* ---------- señales (con mini animaciones) ---------- */
.pill3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pill3 li { position: relative; padding: 30px 28px 34px; border-radius: var(--r); border: 1px solid var(--line); }
.pill3 li::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s var(--ease) .2s; }
.pill3 li.is-in::before, .no-js .pill3 li::before { transform: none; }
.pill3__n { font-family: var(--f-display); font-weight: var(--d-weight); font-stretch: var(--d-stretch); font-size: 64px; line-height: 1; color: var(--accent); }
.pill3 h3 { margin: 26px 0 10px; font-family: var(--f-display); font-weight: var(--d-weight); font-stretch: var(--d-stretch); text-transform: var(--d-case); font-size: clamp(24px, 2.2vw, 34px); line-height: .95; letter-spacing: var(--d-track); }
.pill3 p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.sigs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.sig { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 22px; align-items: center; }
.sig__v { width: 112px; height: 112px; border-radius: 22px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); display: grid; place-items: center; }
.sig__v svg { width: 76px; height: 76px; overflow: visible; }
.sig__k { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); }
.sig h3 { margin: 6px 0 6px; font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(26px, 2.2vw, 34px); line-height: 1.05; }
.sig p { margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.45; }
.sig svg .t { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sig svg .t--f { stroke-width: 1.6; opacity: .5; }
.sig svg .r { fill: currentColor; }
.sv-ondas .t { transform-box: fill-box; transform-origin: 0% 50%; animation: onda 2.2s ease-out infinite; }
.sv-ondas .t:nth-of-type(2) { animation-delay: .35s; } .sv-ondas .t:nth-of-type(3) { animation-delay: .7s; }
@keyframes onda { 0% { opacity: 0; transform: translateX(-6px) scale(.8); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateX(8px) scale(1.12); } }
.sv-pausa .t { stroke-dasharray: 26 140; animation: pausa 3.2s linear infinite; }
@keyframes pausa { to { stroke-dashoffset: -166; } }
.sv-bat .r { transform-box: fill-box; transform-origin: 0 50%; animation: bateria 4s var(--ease-io) infinite; }
@keyframes bateria { 0% { transform: scaleX(1); } 70% { transform: scaleX(.12); } 85% { transform: scaleX(.12); opacity: .3; } 100% { transform: scaleX(1); opacity: 1; } }
.sv-dientes rect { fill: none; stroke: currentColor; stroke-width: 2.2; transform-box: fill-box; transform-origin: 50% 50%; animation: alinea 4.6s var(--ease-io) infinite; }
.sv-dientes rect:nth-child(1) { --x: -3px; --y: 4px; --rr: -14deg; } .sv-dientes rect:nth-child(2) { --x: 3px; --y: -5px; --rr: 12deg; }
.sv-dientes rect:nth-child(3) { --x: 0px; --y: 6px; --rr: -8deg; } .sv-dientes rect:nth-child(4) { --x: -4px; --y: -3px; --rr: 16deg; } .sv-dientes rect:nth-child(5) { --x: 3px; --y: 5px; --rr: -12deg; }
@keyframes alinea { 0%, 18% { transform: translate(var(--x), var(--y)) rotate(var(--rr)); } 52%, 82% { transform: none; } 100% { transform: translate(var(--x), var(--y)) rotate(var(--rr)); } }
.sv-boca .a { stroke-dasharray: 4 7; animation: boca 1.6s linear infinite; }
@keyframes boca { to { stroke-dashoffset: -22; } }
.s:not(.is-vis) .sig__v * { animation-play-state: paused; }

/* ---------- tarjetas que se apilan ---------- */
.stk { display: grid; gap: 18px; }
.stk__c { position: sticky; top: calc(108px + var(--i, 0) * 14px); display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: start; min-height: clamp(300px, 34vw, 400px); padding: clamp(26px, 3.4vw, 54px); border-radius: calc(var(--r) + 6px); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 -18px 50px rgba(0, 0, 0, .05); transform-origin: 50% 0; will-change: transform; }
.stk__c:nth-child(3n+2) { background: var(--stk-2, var(--bg-2)); }
.stk__c:nth-child(3n) { background: var(--dark); color: var(--dark-text); --text-2: var(--dark-text-2); --line: var(--dark-line); }
.stk__n { font-family: var(--f-display); font-weight: var(--d-weight); font-stretch: var(--d-stretch); font-size: clamp(80px, 10vw, 170px); line-height: .8; letter-spacing: -.03em; color: var(--accent); font-variant-numeric: tabular-nums; }
.stk__w { display: block; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); }
.stk__c h3 { margin: 12px 0 0; font-family: var(--f-display); font-weight: var(--d-weight); font-stretch: var(--d-stretch); text-transform: var(--d-case); letter-spacing: var(--d-track); font-size: clamp(36px, 4.4vw, 76px); line-height: .9; }
.stk__c p { margin: 0; align-self: end; color: var(--text-2); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; }
.stk__c a { text-decoration: underline; text-underline-offset: 3px; color: inherit; }

/* ---------- mosaico (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.bento > * { min-height: 250px; display: flex; flex-direction: column; }
.bento .w2 { grid-column: span 2; }
.bento__ico { width: 52px; height: 52px; color: var(--accent-ink); }
.bento__ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.bento__t { margin-top: auto; font-family: var(--f-display); font-weight: var(--d-weight); font-stretch: var(--d-stretch); text-transform: var(--d-case); font-size: clamp(24px, 2.2vw, 34px); line-height: .95; letter-spacing: var(--d-track); }
.bento__d { margin-top: 8px; color: var(--text-2); font-size: 14.5px; line-height: 1.45; max-width: 40ch; padding-right: 54px; }
.bento .go { position: absolute; right: 22px; top: 22px; }
.bento .is-hl { background: var(--dark); color: var(--dark-text); --text-2: var(--dark-text-2); --line: var(--dark-line); border-color: var(--dark); }
.bento .is-hl .bento__ico { color: var(--accent); }

/* ---------- tira que se arrastra ---------- */
.dg { position: relative; }
.dg__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.dg__bar p { margin: 0; font-size: 13px; color: var(--text-2); }
.dg__nav { display: flex; gap: 8px; }
.ib { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: background .3s, color .3s, border-color .3s; }
.ib:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.dg__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; padding: 0 var(--gutter) 6px; margin: 0 calc(-1 * var(--gutter)); overscroll-behavior-x: contain; }
.dg__track::-webkit-scrollbar { display: none; }
.dg__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.dg__c { flex: none; width: clamp(260px, 27vw, 380px); scroll-snap-align: start; user-select: none; }
.dg__img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--bg-2); }
.dg__img img { position: absolute; top: 0; left: -10%; width: 120%; height: 100%; object-fit: cover; -webkit-user-drag: none; will-change: transform; }
.dg__date { margin: 16px 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); }
.dg__t { margin: 0; font-size: 17px; font-weight: 500; line-height: 1.35; }
.dg__x { margin: 8px 0 0; font-size: 14px; color: var(--text-2); line-height: 1.5; }

/* ---------- preguntas ---------- */
.qa { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
.qa__head { position: sticky; top: 120px; }
.qa__head .d { font-size: clamp(40px, 5vw, 84px); }
.qa__head .btn { margin-top: 32px; }
.qa__list { display: grid; gap: 10px; }
.qa details { border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.qa details[open] { border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 22px 24px; font-size: clamp(16px, 1.3vw, 19px); font-weight: 500; line-height: 1.35; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--bg-2) linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat; box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), background-color .3s; }
.qa details:not([open]) summary::after { background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor); background-size: 12px 1.5px, 1.5px 12px; background-position: center; background-repeat: no-repeat; }
.qa details[open] summary::after { transform: rotate(180deg); background-color: var(--accent); color: var(--on-accent); }
.qa__a { overflow: hidden; }
.qa__a p { margin: 0; padding: 0 70px 24px 24px; color: var(--text-2); }
.qa__a a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- contacto ---------- */
.big { margin: 0; font-family: var(--f-display); font-weight: var(--d-weight); font-stretch: var(--d-stretch); text-transform: var(--d-case); letter-spacing: var(--d-track); font-size: clamp(80px, 17vw, 300px); line-height: .82; }
.big em { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-stretch: 100%; text-transform: none; color: var(--accent); }
.ct__top { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 80px); }
.ct__top .lead { max-width: 40ch; }
.offices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.office { display: flex; flex-direction: column; min-height: 320px; }
.office__k { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); }
.office h3 { margin: 16px 0 12px; font-family: var(--f-display); font-weight: var(--d-weight); font-stretch: var(--d-stretch); text-transform: var(--d-case); letter-spacing: var(--d-track); font-size: clamp(34px, 3.4vw, 54px); line-height: .9; }
.office__addr { margin: 0 0 8px; color: var(--text-2); font-size: 15px; }
.office__map { align-self: flex-start; margin-bottom: 26px; font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; opacity: .85; }
.office .btn { margin-top: auto; align-self: flex-start; }
.office.is-hl { background: var(--accent); color: var(--on-accent); border-color: var(--accent); --text-2: color-mix(in srgb, var(--on-accent) 85%, transparent); --line: color-mix(in srgb, var(--on-accent) 20%, transparent); }
.office.is-hl .btn--p { background: var(--on-accent); color: var(--accent); --ico-bg: var(--accent); --ico-fg: var(--on-accent); }

/* ---------- pie ---------- */
.foot { background: var(--dark); color: var(--dark-text-2); padding: clamp(56px, 7vw, 96px) 0 30px; overflow: hidden; }
.foot__cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; border-bottom: 1px solid var(--dark-line); font-size: 14.5px; line-height: 1.75; }
.foot__cols p { margin: 0; }
.foot__cols b { display: block; margin-bottom: 10px; color: var(--dark-text); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.foot a { transition: color .3s; }
.foot a:hover { color: var(--dark-text); }
.giant { margin: clamp(30px, 4vw, 60px) 0 0; text-align: center; white-space: nowrap; font-family: var(--f-display); font-weight: var(--d-weight); font-stretch: var(--d-stretch); text-transform: var(--d-case); letter-spacing: -.03em; line-height: .8; color: var(--dark-text); font-size: var(--giant, 26vw); }
.giant .wd { padding-bottom: .02em; }
.foot__bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 30px; font-size: 12px; letter-spacing: .06em; opacity: .7; }

/* ---------- barra del celular y WhatsApp flotante ---------- */
.dock { display: none; }
.wa { position: fixed; z-index: 70; right: clamp(16px, 2.4vw, 30px); bottom: clamp(16px, 2.4vw, 30px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js:not(.ready) .wa { opacity: 0; transform: translateY(16px) scale(.8); pointer-events: none; }
.menu-open .wa { display: none; }
.wa__btn { position: relative; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 34px rgba(0, 0, 0, .25); transition: transform .5s var(--ease); }
.wa__btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor; color: #25d366; opacity: 0; animation: waP 3.2s var(--ease) 2s infinite; }
@keyframes waP { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
.wa__btn:hover { transform: scale(1.07); }
.wa__ico, .wa__x { transition: transform .5s var(--ease), opacity .2s; }
.wa__x { position: absolute; width: 20px; height: 20px; opacity: 0; transform: rotate(-90deg); }
.wa__x::before, .wa__x::after { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; border-radius: 2px; background: #fff; transform: rotate(45deg); }
.wa__x::after { transform: rotate(-45deg); }
.wa.is-open .wa__ico { opacity: 0; transform: rotate(90deg) scale(.6); }
.wa.is-open .wa__x { opacity: 1; transform: none; }
.wa.is-open .wa__btn::before { animation: none; }
.wa__menu { position: absolute; right: 0; bottom: 78px; width: 320px; padding: 8px; border-radius: 20px; background: var(--dark); color: var(--dark-text); border: 1px solid var(--dark-line); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); transform-origin: 100% 100%; animation: waIn .4s var(--ease); }
@keyframes waIn { from { opacity: 0; transform: translateY(10px) scale(.95); } }
.wa__tt { margin: 8px 12px 10px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--dark-text-2); }
.wa__menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 12px; border-radius: 12px; transition: background .2s; }
.wa__menu a:hover, .wa__menu a:focus-visible { background: var(--dark-2); }
.wa__menu a + a { border-top: 1px solid var(--dark-line); }
.wa__menu strong { display: block; font-weight: 600; font-size: 15px; }
.wa__menu small { display: block; font-size: 12px; color: var(--dark-text-2); }
.wa__menu em { font-size: 13px; color: #25d366; white-space: nowrap; }

/* ============ responsive ============ */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento .w2 { grid-column: span 2; }
  .stk__c { grid-template-columns: minmax(0, .6fr) minmax(0, 1fr); }
  .stk__c p { grid-column: 2; }
  .hl__in { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); }
  .hl__in > :last-child { grid-column: 2; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav { height: 62px; top: 10px; padding-left: 18px; }
  .nav__cta { display: none; }
  .burger { display: block; }
  .sh { grid-template-columns: 1fr; gap: 22px; }
  .sh .lead { justify-self: start; }
  .quick { grid-template-columns: 1fr 1fr; }
  .quick a { min-height: 170px; }
  .hl__head { grid-template-columns: 34px minmax(0, 1fr) 46px; gap: 12px; }
  .hl__area { display: none; }
  .hl__plus { width: 46px; height: 46px; }
  .hl__in { grid-template-columns: 1fr; padding-left: 0; }
  .hl__in > :last-child { grid-column: auto; }
  .hl__ph { max-width: 340px; }
  .flt__list, .nums, .pill3, .sigs, .offices, .qa { grid-template-columns: 1fr; }
  .qa__head { position: static; }
  .hs__head { flex-direction: column; align-items: start; }
  .hs__card { grid-template-columns: 1fr; }
  .hs__art { aspect-ratio: 1.15; }
  .stk__c { grid-template-columns: 1fr; top: calc(90px + var(--i, 0) * 10px); min-height: 0; }
  .stk__c p { grid-column: auto; }
  .stk__n { font-size: 72px; }
  .zoom__pin { min-height: 560px; height: 100svh; }
  .flo img, .flo svg { filter: brightness(.55); }
  .flo--1 { width: 34vw; left: 2%; top: 66%; } .flo--2 { width: 30vw; right: 3%; top: 8%; } .flo--3 { width: 27vw; left: 5%; top: 4%; } .flo--4 { width: 30vw; right: 4%; top: 70%; }
  .round { position: relative; right: auto; bottom: auto; margin: 28px auto 0; width: 108px; height: 108px; font-size: 11px; }
  .foot { padding-bottom: 120px; }
  .foot__cols { grid-template-columns: 1fr; gap: 22px; }
  .dock { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; position: fixed; z-index: 60; left: 12px; right: 86px; bottom: max(12px, env(safe-area-inset-bottom)); padding: 6px; border-radius: 999px; background: var(--dark); box-shadow: 0 14px 34px rgba(0, 0, 0, .25); transform: translateY(160%); transition: transform .6s var(--ease); }
  .dock.is-on { transform: none; }
  .dock a { min-height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 999px; color: var(--dark-text); font-size: 13.5px; font-weight: 600; }
  .dock a:last-child { background: var(--accent); color: var(--on-accent); }
  .wa { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }
  .wa:not(.is-on) { opacity: 0; transform: translateY(16px) scale(.8); pointer-events: none; }
  .wa__menu { width: min(320px, calc(100vw - 24px)); }
}
@media (max-width: 600px) {
  .quick { grid-template-columns: 1fr; }
  .quick a { min-height: 0; padding-top: 26px; }
  .quick__t { margin-top: 18px; }
  .bento { grid-template-columns: 1fr; }
  .bento .w2 { grid-column: auto; }
  .bento > * { min-height: 200px; }
  .sig { grid-template-columns: 84px minmax(0, 1fr); gap: 16px; }
  .sig__v { width: 84px; height: 84px; border-radius: 18px; }
  .sig__v svg { width: 58px; height: 58px; }
  .hs__data div { grid-template-columns: 1fr; gap: 2px; }
  .qa__a p { padding-right: 24px; }
  .flt__chips { width: 100%; border-radius: 20px; }
  .flt__chips button { flex: 1 1 auto; }
}
/* en COMS las animaciones se muestran siempre, aunque el equipo pida "menos movimiento" (ver motor.js) */
