/* SIMA · sistema base. Ver Sitio Web/03-diseno.md §2 y §5 */

@font-face { font-family: Varien; src: url(/assets/fonts/Varien.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Varien Fallback"; src: local("Arial Black"), local("Arial Bold"); size-adjust: 104%; ascent-override: 92%; descent-override: 22%; }
@font-face { font-family: Commissioner; src: url(/assets/fonts/Commissioner-var.woff2) format("woff2-variations"); font-weight: 300 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Commissioner; src: url(/assets/fonts/Commissioner-var-ext.woff2) format("woff2-variations"); font-weight: 300 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --deep: #061945; --electro: #0e2efe; --orange: #ed7115; --white: #fff; --ink: #01081c;
  --sky: #8fa0ff; --deep-2: #0b2257; --mist: #eef1fb; --muted-dark: #a9b4d0; --muted-light: #4a5677;
  --rule-dark: rgb(255 255 255 / .18); --rule-light: rgb(6 25 69 / .16);
  --grad-deep-css: radial-gradient(120% 80% at 50% 110%, #1030ff 0%, #061945 55%, #01081c 100%);
  --grad-electro-css: radial-gradient(90% 90% at 100% 0%, #ff8a00 0%, transparent 55%), radial-gradient(70% 60% at 100% 100%, #fff 0%, transparent 45%), linear-gradient(135deg, #0a46ff 0%, #1210d8 55%, #0d0f2a 100%);

  --font-display: Varien, "Varien Fallback", system-ui, sans-serif;
  --font-body: Commissioner, system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-display: clamp(3rem, 1.6rem + 5.6vw, 6rem);
  --fs-h1: clamp(2.75rem, 1.6rem + 4.2vw, 5rem);
  --fs-h2: clamp(2.25rem, 1.4rem + 3.4vw, 4.5rem);
  --fs-h3: clamp(1.375rem, 1.1rem + 1.2vw, 2rem);
  --fs-numeral: clamp(3.25rem, 1.2rem + 7vw, 8rem);
  --fs-year: clamp(4.5rem, 2rem + 8.5vw, 8rem);
  --fs-lead: clamp(1.125rem, 1rem + .6vw, 1.375rem);
  --fs-body: clamp(1rem, .95rem + .25vw, 1.125rem);
  --fs-small: .875rem; --fs-micro: .8125rem;

  --gutter: 16px; --gap: 12px; --maxw: 1320px;
  --header-h: 60px;
  --sec-pad: clamp(80px, 11vw, 176px);
  --r-xs: 4px; --r-md: 14px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgb(1 8 28 / .08), 0 6px 8px -4px rgb(1 8 28 / .10);

  --ease-horizonte: cubic-bezier(.16, 1, .3, 1);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-marea: cubic-bezier(.65, 0, .35, 1);
  --ease-panel: cubic-bezier(.32, .72, 0, 1);
  --d-press: 120ms; --d-micro: 180ms; --d-ui: 240ms; --d-panel: 420ms;
  --sticky-top: var(--header-h);
  --z-raised: 10; --z-sticky: 100; --z-header: 200; --z-menu: 300;
}
@media (min-width: 600px) { :root { --gutter: 32px; --gap: 20px; } }
@media (min-width: 1024px) { :root { --gutter: clamp(32px, 4vw, 64px); --gap: 24px; --header-h: 72px; } }

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; }
main, .footer { overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html:not(.lenis) { scroll-behavior: smooth; } }
body { margin: 0; background: var(--deep); color: var(--white); font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:target, [id] { scroll-margin-top: calc(var(--header-h) + 16px); }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.light :focus-visible, .on-light :focus-visible { outline-color: var(--electro); }
::selection { background: var(--orange); color: var(--deep); }

/* Tipografía */
.display, .h1, .h2, .h3, h1, h2.h2, .numeral { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; text-wrap: balance; }
.display { font-size: var(--fs-display); line-height: 1.04; letter-spacing: -.01em; }
.h1 { font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -.01em; }
.h2 { font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -.005em; max-width: 16ch; }
.h3 { font-size: var(--fs-h3); line-height: 1.05; }
.lead { font-size: var(--fs-lead); line-height: 1.4; text-wrap: pretty; max-width: 52ch; }
p { text-wrap: pretty; }
.small { font-size: var(--fs-small); line-height: 1.45; }
.micro { font-size: var(--fs-micro); line-height: 1.4; letter-spacing: .01em; }
.muted { color: var(--muted-dark); }
.light .muted, .mist .muted, .on-light .muted { color: var(--muted-light); }
.tabular { font-variant-numeric: tabular-nums; }
.prose { max-width: 68ch; }
.prose p + p { margin-top: 1em; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Layout */
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
@media (min-width: 600px) { .grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); } }
.section { position: relative; padding-block: var(--sec-pad); }
.section--tight { padding-block: calc(var(--sec-pad) * .6); }
.dark { background: var(--deep); color: var(--white); }
.light { background: var(--white); color: var(--ink); }
.mist { background: var(--mist); color: var(--deep); }
.inkbg { background: var(--ink); color: var(--white); }
.sec-head { display: grid; gap: 24px; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head .lead { color: inherit; }
.dark .sec-head .lead, .night .sec-head .lead { color: var(--muted-dark); }
.light .sec-head .lead, .mist .sec-head .lead { color: var(--muted-light); }

/* Rótulo sobre la línea de horizonte */
.eyebrow { position: relative; display: flex; align-items: center; gap: 10px; font-size: var(--fs-small); font-weight: 500; line-height: 1; padding-bottom: 14px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex: none; }
.light .eyebrow::before, .mist .eyebrow::before { background: var(--electro); }
.eyebrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rule-dark); transform-origin: 0 50%; }
.light .eyebrow::after, .mist .eyebrow::after { background: var(--rule-light); }
.eyebrow-wrap { overflow: hidden; } /* contiene la línea a sangre */
.horizon { height: 1px; background: var(--rule-dark); border: 0; margin: 0; transform-origin: 0 50%; }
.light .horizon, .mist .horizon { background: var(--rule-light); }

/* Superficies con degradado */
.night { position: relative; color: var(--white); background: var(--grad-deep-css); isolation: isolate; }
.night > .bg-img, .dawn > .bg-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.dawn { position: relative; color: var(--white); background: var(--grad-electro-css); isolation: isolate; }
.grain::after { content: ""; position: absolute; inset: 0; z-index: -1; background: url(/assets/img/grain.webp) repeat; opacity: .05; pointer-events: none; }

/* Dispositivos gráficos */
.peak-rule { display: flex; align-items: flex-end; height: 24px; }
.peak-rule::before { content: ""; flex: 1; height: 1px; background: var(--rule-dark); }
.peak-rule svg { width: 60px; height: 24px; fill: rgb(255 255 255 / .9); flex: none; }
.light .peak-rule::before, .mist .peak-rule::before { background: var(--rule-light); }
.light .peak-rule svg, .mist .peak-rule svg { fill: var(--deep); }
.peak-rule--dark::before { background: var(--rule-dark); }
.peak-rule--dark svg { fill: rgb(255 255 255 / .35); }
.mountain-edge { position: absolute; left: 0; right: 0; top: 1px; transform: translateY(-100%); height: clamp(40px, 7vw, 112px); pointer-events: none; }
.mountain-edge svg { width: 100%; height: 100%; display: block; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.pending { display: inline-block; font-size: var(--fs-micro); font-weight: 500; line-height: 1.35; padding: 4px 10px; border-radius: var(--r-pill); background: rgb(255 255 255 / .1); color: var(--muted-dark); }
.light .pending, .mist .pending, .on-light .pending { background: var(--mist); color: var(--muted-light); }
.mist .pending { background: var(--white); }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-micro); font-weight: 600; line-height: 1; padding: 6px 12px; border-radius: var(--r-pill); border: 1.5px solid currentColor; white-space: nowrap; }
.chip--sky { color: var(--sky); }
.chip--orange { background: var(--orange); border-color: var(--orange); color: var(--deep); }
.chip--mist { background: var(--mist); border-color: var(--mist); color: var(--muted-light); }
.chip--electro { background: var(--electro); border-color: var(--electro); color: var(--white); }
.chip--deep { background: var(--deep); border-color: var(--deep); color: var(--white); }
.legend { font-size: var(--fs-small); color: var(--muted-dark); margin-top: 32px; }
.light .legend, .mist .legend { color: var(--muted-light); }
sup.note a { text-decoration: none; color: inherit; font-size: .7em; padding-inline: 1px; }
.notes { margin-top: 48px; font-size: var(--fs-micro); display: grid; gap: 4px; }
.notes li { display: flex; gap: 8px; }

/* Botones */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 28px; border-radius: var(--r-pill);
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap; isolation: isolate; overflow: hidden;
  transition: transform var(--d-press) var(--ease-out); -webkit-tap-highlight-color: transparent; }
@media (min-width: 1024px) { .btn { min-height: 52px; } }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #000; opacity: 0; transition: opacity var(--d-micro) var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; flex: none; transition: transform var(--d-micro) var(--ease-out); }
.btn--primary { background: var(--electro); color: var(--white); }
.btn--tickets { background: var(--orange); color: var(--deep); }
.btn--ghost { color: var(--white); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .45); }
.btn--ghost-light { color: var(--deep); box-shadow: inset 0 0 0 1.5px var(--deep); }
.btn--white { background: var(--white); color: var(--deep); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .9375rem; }
@media (min-width: 1024px) { .btn--sm { min-height: 44px; } }
.btn[aria-disabled="true"], .btn:disabled { opacity: .4; cursor: not-allowed; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover::before { opacity: .14; }
  .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
  .btn:hover svg { transform: translateX(4px); }
  .btn--ghost:hover::before, .btn--ghost-light:hover::before { opacity: .06; }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-soon { font-size: var(--fs-micro); opacity: .8; font-weight: 500; }

/* Enlaces de texto */
.tlink { position: relative; text-decoration: none; color: var(--sky); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.light .tlink, .mist .tlink { color: var(--electro); }
.tlink::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform-origin: 100% 50%; transition: transform 200ms var(--ease-out); }
.tlink svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; }
@media (hover: hover) and (pointer: fine) { .tlink:hover::after { transform: scaleX(0); } }
.prose a, .footer a, .answer a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* Header */
.skip { position: fixed; top: 8px; left: 8px; z-index: 999; background: var(--white); color: var(--deep); padding: 10px 16px; border-radius: var(--r-pill); transform: translateY(-200%); }
.skip:focus { transform: none; }
.header { position: fixed; inset: 0 0 auto; z-index: var(--z-header); height: var(--header-h); color: var(--white); view-transition-name: header; transition: transform 320ms var(--ease-marea); }
.header::before { content: ""; position: absolute; inset: 0; background: var(--deep); opacity: 0; transition: opacity var(--d-ui) var(--ease-out); }
.header.is-solid::before { opacity: 1; }
.header.is-hidden { transform: translateY(-100%); }
.header__bar { position: relative; height: 100%; display: flex; align-items: center; gap: 24px; }
.header__logo { display: block; flex: none; }
.header__logo img { height: 24px; width: auto; }
@media (min-width: 1024px) { .header__logo img { height: 28px; } }
.header__nav { display: none; gap: 28px; margin-left: auto; }
.header__nav a { position: relative; text-decoration: none; font-weight: 500; font-size: .9375rem; color: var(--muted-dark); transition: color var(--d-micro) var(--ease-out); }
.header__nav a:hover, .header__nav a[aria-current="page"] { color: var(--white); }
.header__nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--orange); }
.header__tools { display: flex; align-items: center; gap: 12px; margin-left: auto; }
@media (min-width: 1024px) { .header__nav { display: flex; } .header__tools { margin-left: 8px; } }
.lang { display: none; padding: 3px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .28); }
@media (min-width: 1024px) { .header .lang { display: inline-flex; } }
.lang a { text-decoration: none; font-size: .8125rem; font-weight: 600; padding: 6px 10px; border-radius: var(--r-pill); color: var(--muted-dark); line-height: 1; }
.lang a[aria-current="true"] { background: var(--white); color: var(--deep); }
.header__menu { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 4px; font-weight: 500; font-size: .9375rem; }
.header__menu svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; }
@media (min-width: 1024px) { .header__menu { display: none; } }
.header__menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (min-width: 420px) { .header__menu-label { position: static; width: auto; height: auto; clip: auto; } }
.header__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; display: none; }
[data-page="index"] .header__progress { display: block; }

/* Menú móvil */
.menu { position: fixed; inset: 0; z-index: var(--z-menu); background: var(--deep); padding-top: calc(var(--header-h) + 24px); overflow-y: auto; }
.menu[hidden] { display: none; }
.menu__inner { display: flex; flex-direction: column; gap: 6px; padding-bottom: 40px; }
.menu__inner > a { font-family: var(--font-display); text-transform: uppercase; font-size: 2rem; line-height: 1.2; text-decoration: none; padding: 6px 0; }
.menu__inner .peak-rule { margin: 24px 0; }
.menu__foot { display: grid; gap: 24px; }
.lang--lg { display: inline-flex; width: max-content; }
.lang--lg a { font-size: 1rem; padding: 10px 16px; }
.menu__meta { color: var(--muted-dark); font-size: var(--fs-small); }
html.menu-open { overflow: hidden; }
html.header-hidden { --sticky-top: 0px; }
[data-sticky] { transition: top 320ms var(--ease-marea); }
html.menu-open .header::before { opacity: 1; }
html.menu-open .header { transform: none !important; }

/* Footer */
.footer { background: var(--ink); color: var(--white); padding-bottom: 40px; }
.footer .peak-rule { margin-bottom: clamp(56px, 7vw, 96px); }
.footer__top { display: grid; gap: 32px; align-items: end; margin-bottom: 64px; }
.footer__line { font-size: var(--fs-h2); line-height: .95; max-width: 14ch; }
.footer__logo { width: 112px; }
@media (min-width: 1024px) { .footer__top { grid-template-columns: 1fr auto; } .footer__logo { width: 140px; } }
.footer__cols { display: grid; gap: 32px; grid-template-columns: repeat(2, 1fr); font-size: var(--fs-small); }
@media (min-width: 1024px) { .footer__cols { grid-template-columns: repeat(4, 1fr); } }
.footer__h { font-family: var(--font-body); font-size: var(--fs-small); font-weight: 500; color: var(--muted-dark); margin-bottom: 14px; }
.footer ul { display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__legal { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--rule-dark); font-size: var(--fs-micro); color: var(--muted-dark); }

/* Encabezado de páginas interiores */
.page-head { position: relative; min-height: min(72svh, 640px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--header-h) + 56px); overflow: hidden; }
.page-head__inner { display: grid; gap: 24px; padding-bottom: clamp(48px, 6vw, 88px); }
.page-head .h1 { max-width: 15ch; }
.page-head .lead { color: var(--muted-dark); max-width: 56ch; }
.page-head { isolation: isolate; }
.page-head__iso { position: absolute; right: -8vw; top: 12%; height: 70vh; aspect-ratio: 1366 / 899; opacity: .06; pointer-events: none; z-index: -1; }
.page-head__iso svg { width: 100%; height: 100%; fill: #fff; }
.chip--ghost { color: var(--electro); }
.dark .chip--ghost, .night .chip--ghost { color: var(--sky); }
.page-head .peak-rule { position: relative; }

/* Formularios */
.form-panel { background: var(--white); color: var(--ink); border-radius: var(--r-md); padding: 20px; }
@media (min-width: 600px) { .form-panel { padding: 32px; } }
.form { display: grid; gap: 20px; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 600px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field > label, .field > .label, fieldset legend { font-size: var(--fs-small); font-weight: 500; color: var(--deep); }
.req { color: var(--muted-light); font-weight: 400; }
.input, .textarea, .select { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid rgb(6 25 69 / .5); border-radius: var(--r-xs); background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
.textarea { min-height: 120px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--muted-light); }
.input:focus-visible, .textarea:focus-visible, .select:focus-visible { outline: 2px solid var(--electro); outline-offset: 2px; border-color: var(--electro); }
.field.has-error .input, .field.has-error .textarea, .field.has-error .select { border: 2px solid var(--orange); }
.err { display: none; font-size: var(--fs-small); color: var(--deep); align-items: center; gap: 6px; }
.err::before { content: "!"; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--orange); color: var(--deep); font-weight: 700; font-size: 11px; }
.has-error .err { display: inline-flex; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt { position: relative; }
.chip-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip-opt span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1.5px solid rgb(6 25 69 / .4); font-size: .9375rem; font-weight: 500; color: var(--deep); transition: background var(--d-micro) var(--ease-out), color var(--d-micro) var(--ease-out); }
.chip-opt input:checked + span { background: var(--deep); border-color: var(--deep); color: #fff; }
.chip-opt input:checked + span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.chip-opt input:focus-visible + span { outline: 2px solid var(--electro); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-small); color: var(--deep); }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--deep); flex: none; }
.check a { color: var(--electro); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__micro { font-size: var(--fs-small); color: var(--muted-light); }
.form__summary, .form__fail { padding: 14px 16px; border-radius: var(--r-xs); background: #fff4ea; border-left: 3px solid var(--orange); font-size: var(--fs-small); color: var(--deep); }
.form__summary ul { margin-top: 6px; display: grid; gap: 4px; }
.form__summary a { color: var(--electro); }
.form-success { display: grid; gap: 16px; justify-items: start; padding: 8px 0; color: var(--deep); }
.form-success svg { width: 64px; height: auto; color: var(--deep); }
.form-success p { font-size: var(--fs-lead); }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .dots i { animation: blink 600ms infinite; font-style: normal; }
.btn.is-loading .dots i:nth-child(2) { animation-delay: 200ms; }
.btn.is-loading .dots i:nth-child(3) { animation-delay: 400ms; }
@keyframes blink { 50% { opacity: .2; } }
[data-cond][hidden] { display: none; }

/* Acordeón */
.acc { border-top: 1px solid var(--rule-light); }
.acc__item { border-bottom: 1px solid var(--rule-light); }
.acc__q { width: 100%; display: flex; justify-content: space-between; gap: 24px; align-items: center; text-align: left; padding: 24px 0; font-weight: 600; font-size: var(--fs-lead); line-height: 1.3; color: var(--deep); }
.acc__q svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; transition: transform var(--d-ui) var(--ease-out); }
.acc__q[aria-expanded="true"] svg { transform: rotate(45deg); }
.acc__a { padding: 0 0 28px; max-width: 68ch; color: var(--ink); }
.acc__a.is-in { animation: accin 200ms var(--ease-out) both; }
@keyframes accin { from { opacity: 0; transform: translateY(8px); } }

/* Pestañas (programa, comparador) */
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--mist); position: relative; }
.tab { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); font-weight: 600; font-size: .9375rem; color: var(--deep); white-space: nowrap; transition: color var(--d-ui) var(--ease-out); }
.tab[aria-selected="true"] { background: var(--deep); color: #fff; }
.tab[aria-selected="true"]::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
[role="tabpanel"]:focus-visible { outline-offset: 8px; }

/* Retratos */
.portrait { position: relative; }
.portrait__frame { position: relative; overflow: hidden; aspect-ratio: 1 / .96; }
.portrait__frame::before { content: ""; position: absolute; left: 4%; right: 4%; top: 6%; aspect-ratio: 1; border-radius: 50%; background: var(--deep-2); }
.portrait__frame img { position: absolute; inset: auto 0 0; width: 100%; height: auto; }
.portrait__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--deep) 0%, transparent 30%); pointer-events: none; }
.portrait__plate { position: absolute; inset: 0; display: grid; place-items: center; }
.portrait__plate svg { width: 58%; height: auto; fill: none; stroke: var(--rule-dark); stroke-width: 180; }
.portrait__sun { position: absolute; right: 18%; top: 10%; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); opacity: 0; transform: scale(.4); transition: opacity var(--d-ui) var(--ease-out), transform var(--d-ui) var(--ease-out); z-index: 2; }
.portrait__name { margin-top: 20px; }
.portrait__role { color: var(--muted-dark); margin-top: 6px; }
@media (hover: hover) and (pointer: fine) { .portrait:hover .portrait__sun { opacity: 1; transform: none; } }

/* Compartidos: rótulo de encabezado e isotipo */
.hero__eyebrow { display: flex; gap: 10px; align-items: baseline; font-size: var(--fs-small); font-weight: 500; color: var(--muted-dark); max-width: 40ch; }
.hero__eyebrow .dot { width: 6px; height: 6px; flex: none; transform: translateY(-2px); }
/* Isotipo en capas (hero y cierre) */
.iso { position: relative; aspect-ratio: 1366 / 899; width: 100%; }
.iso__clip { position: absolute; inset: 0; }
.iso__clip--top { clip-path: inset(0 0 37.15% 0); }
.iso__clip--bottom { clip-path: inset(69.9% -20% 0 -20%); }
.iso svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: #fff; }
.is-intro .iso__montana { animation: isoUp 650ms var(--ease-horizonte) both; }
.is-intro .iso__ola { animation: isoWave 600ms 150ms var(--ease-horizonte) both; }
.is-intro .iso__punto { animation: isoSun 650ms 450ms var(--ease-horizonte) both; }
.is-intro .hero__meta, .is-intro .hero__ctas { animation: fadeUp 300ms 700ms var(--ease-out) both; }
@keyframes isoUp { from { transform: translateY(70%); } }
@keyframes isoWave { from { transform: translateX(-14%); opacity: 0; } }
@keyframes isoSun { from { transform: translateY(12%); opacity: 0; } }
@keyframes fadeUp { from { transform: translateY(8px); opacity: 0; } }

.form-success svg { fill: var(--deep); }
.form-success svg path { fill: var(--deep); }

/* Estados de entrada (solo si el motion arrancó) */
.motion [data-reveal] { opacity: 0; }
.motion [data-reveal="up"] { transform: translateY(24px); }

/* View transitions */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 160ms var(--ease-out) both vt-out; }
::view-transition-new(root) { animation: 320ms var(--ease-horizonte) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}
