/* Itum: estilos del sitio */

/* ---------- Base ---------- */
@property --dia { syntax: "<number>"; inherits: true; initial-value: 1; }

:root {
  color-scheme: light;
  --noche: #0C1633;
  --cordillera: #1B2C5C;
  --niebla: #E2E8F5;
  --nieve: #F4F6FB;
  --arrebol: #EE6A78;
  --alba: #FFD2BF;
  --junta: #15234C;

  --letra: Archivo, "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --t-xl: clamp(2.625rem, 1.45rem + 4.3vw, 5.25rem);
  --t-l: clamp(2.125rem, 1.45rem + 2.5vw, 3.875rem);
  --t-m: clamp(1.375rem, 1.2rem + .75vw, 1.875rem);
  --t-s: clamp(1.125rem, 1.07rem + .3vw, 1.3125rem);
  --t-t: 1.0625rem;

  --lado: clamp(1.25rem, 4.6vw, 5rem);
  --aire: clamp(4.75rem, 9.5vw, 9rem);
  --cab: 5rem;
  --suave: cubic-bezier(.22, .8, .24, 1);
}

*, ::before, ::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--cab) + 1rem); }
body { margin: 0; background: var(--noche); color: #24315A; font: 400 var(--t-t)/1.6 var(--letra); overflow-x: clip; -webkit-font-smoothing: antialiased; }

.dibujos { position: absolute; }
[hidden] { display: none !important; }
main { display: block; outline: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
h1, h2, .lema { font-weight: 580; font-stretch: 112%; line-height: 1.04; letter-spacing: -.034em; text-wrap: balance; }
h1 { font-size: var(--t-xl); }
h2 { font-size: var(--t-l); }
h3 { font-size: var(--t-m); font-weight: 560; font-stretch: 106%; line-height: 1.18; letter-spacing: -.022em; text-wrap: balance; }
h4 { font-size: var(--t-s); font-weight: 640; line-height: 1.25; letter-spacing: -.01em; }
p, li, dd { text-wrap: pretty; }
p { max-width: 62ch; }
strong, b { font-weight: 640; }
a { color: inherit; text-decoration-thickness: .07em; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--marca-foco, #1B2C5C); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--arrebol); color: var(--noche); }

/* ---------- Temas ---------- */
.noche { --fondo: var(--noche); --texto: #DDE4F5; --titulo: #FFFFFF; --apagado: #A9B6DA; --linea: rgb(169 186 230 / .28); --marca-foco: var(--alba); }
.cordillera { --fondo: var(--cordillera); --texto: #E6ECFA; --titulo: #FFFFFF; --apagado: #BDC9E9; --linea: rgb(189 201 233 / .34); --marca-foco: var(--alba); }
.nieve { --fondo: var(--nieve); --texto: #2B3963; --titulo: #101C42; --apagado: #4F5D86; --linea: rgb(27 44 92 / .2); --marca-foco: #1B2C5C; }
.niebla { --fondo: var(--niebla); --texto: #2B3963; --titulo: #101C42; --apagado: #4A5880; --linea: rgb(27 44 92 / .24); --marca-foco: #1B2C5C; }
.noche, .cordillera, .nieve, .niebla { background-color: var(--fondo); color: var(--texto); }
:where(.noche, .cordillera, .nieve, .niebla) :where(h1, h2, h3, h4, dt) { color: var(--titulo); }

/* ---------- Piezas comunes ---------- */
.ancho { width: 100%; max-width: 100rem; margin-inline: auto; padding-left: max(var(--lado), env(safe-area-inset-left, 0px)); padding-right: max(var(--lado), env(safe-area-inset-right, 0px)); }
/* El texto queda sobre la cuerda */
main .ancho { position: relative; z-index: 2; }
.banda { position: relative; padding-block: var(--aire); }
.guia { font-size: var(--t-s); line-height: 1.5; max-width: 44ch; }
.apagado { color: var(--apagado); }
.pila { display: grid; gap: 1.5rem; justify-items: start; align-content: start; }
.dos { display: grid; gap: clamp(2.25rem, 5vw, 5rem); }
.tres { display: grid; gap: 2.25rem clamp(2rem, 4vw, 4rem); margin-top: clamp(2.5rem, 5vw, 4.5rem); list-style: none; }
.tres > * { display: grid; gap: .7rem; align-content: start; padding-top: 1.35rem; border-top: 1px solid var(--linea); }
.tres h3 { font-size: var(--t-s); font-weight: 620; letter-spacing: -.015em; }
.acciones { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.75rem; }
@media (min-width: 52rem) { .tres { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 60rem) {
  .dos { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .dos.fin { align-items: end; }
  .dos.centro { align-items: center; }
  .invertir > :first-child { order: 2; }
  .invertir > :last-child { order: 1; }
}

.boton { display: inline-flex; align-items: center; justify-content: center; min-height: 3.375rem; padding: .7rem 1.65rem; border: 0; border-radius: 3px; background: var(--arrebol); color: var(--noche); font-weight: 640; line-height: 1.2; letter-spacing: -.01em; text-align: center; text-decoration: none; transition: background-color .2s; }
.boton:hover { background: #F78D97; }
.boton:active { background: #E25C6B; }
.boton:disabled { opacity: .55; background: var(--arrebol); cursor: not-allowed; }
.boton.chico { min-height: 2.75rem; padding: .5rem 1.15rem; }
.boton.claro { border: 1.5px solid var(--titulo); background: none; color: var(--titulo); }
.boton.claro:hover { background: rgb(27 44 92 / .1); }
.boton.claro[aria-pressed="true"] { gap: .7rem; background: var(--cordillera); border-color: var(--cordillera); color: #FFFFFF; }
.boton.claro[aria-pressed="true"]::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--arrebol); }

/* Donde se juntan lo oscuro y lo claro, el color cambia de a poco entre la niebla. El texto empieza después. */
.tras-noche { --alto: clamp(9rem, 16vw, 14rem); --parte: var(--noche); scroll-margin-top: calc(1rem - var(--alto)); position: relative; padding-block: calc(var(--alto) + clamp(0rem, 1vw, 1rem)) var(--aire); background-image: linear-gradient(var(--parte), #24376F calc(var(--alto) * .2), #7F90C6 calc(var(--alto) * .6), #D3DBF0 calc(var(--alto) * .86), var(--fondo) var(--alto)); }
.tras-noche::before { content: ""; position: absolute; inset: 0 0 auto; height: var(--alto); background: url(img/bruma-2.webp) 24rem 12% / clamp(48rem, 92vw, 96rem) auto repeat-x, url(img/bruma-1.webp) 0 78% / clamp(42rem, 78vw, 80rem) auto repeat-x; opacity: .62; filter: brightness(1.22); pointer-events: none; }
:is(.inicio, .cotizador) + .tras-noche { --alto: clamp(13rem, 23vw, 21rem); --parte: var(--junta); }
.tras-dia { --alto: clamp(11rem, 19vw, 17rem); padding-top: calc(var(--alto) * 1.02); background-image: linear-gradient(var(--niebla), #C3CEEA calc(var(--alto) * .16), #7285BF calc(var(--alto) * .42), #24376F calc(var(--alto) * .74), var(--noche) var(--alto)); }
.desde-nieve { background-image: linear-gradient(var(--nieve), var(--niebla) 14rem); }
.desde-niebla { background-image: linear-gradient(var(--niebla), var(--nieve) 14rem); }
.pie { --desde: var(--noche); }
body:has(main:not([hidden]) > .niebla:last-of-type:not([hidden])) .pie { --desde: var(--niebla); }
body:has(main:not([hidden]) > .nieve:last-of-type:not([hidden])) .pie { --desde: var(--nieve); }
body:has(main:not([hidden]) > :is(.nieve, .niebla):last-of-type:not([hidden])) .pie { --alto: clamp(11rem, 19vw, 17rem); padding-top: calc(var(--alto) * .72); background-image: linear-gradient(var(--desde), #C3CEEA calc(var(--alto) * .16), #7285BF calc(var(--alto) * .42), #24376F calc(var(--alto) * .74), var(--noche) var(--alto)); }
.enlace { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0; border: 0; background: none; color: var(--titulo); font-weight: 600; text-align: left; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .4em; transition: text-decoration-color .2s; }
.enlace:hover { text-decoration-thickness: 2px; text-decoration-color: var(--arrebol); }
.etiqueta { display: inline-flex; align-items: center; width: fit-content; min-height: 1.9rem; padding: .15rem .7rem; border: 1px solid currentColor; border-radius: 2px; font-size: 1rem; font-weight: 560; line-height: 1.25; }

.hacemos { display: grid; gap: .85rem; list-style: none; }
.hacemos li { position: relative; padding-left: 1.6rem; }
.hacemos li::before { content: ""; position: absolute; left: 0; top: .52em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--arrebol); }

.saltar { position: absolute; z-index: 3; left: 1rem; top: -6rem; padding: .7rem 1.1rem; border-radius: 3px; background: var(--arrebol); color: var(--noche); font-weight: 640; }
.saltar:focus { top: .75rem; }
.solo-lector { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Encabezado y menú ---------- */
.cabecera { position: fixed; z-index: 20; inset: 0 0 auto; padding-top: env(safe-area-inset-top, 0px); color: var(--titulo); transition: background-color .35s, color .35s; view-transition-name: cabecera; }
.cabecera.inmediata { transition: none; }
.cabecera.sin-fondo { background-color: transparent; }
.cabecera-fila { display: flex; align-items: center; gap: clamp(1rem, 1.9vw, 2rem); height: var(--cab); }
.logo { flex: none; display: block; width: 6.25rem; color: var(--titulo); }
.logo svg { width: 100%; height: auto; aspect-ratio: 2552.6 / 902; }
.cabecera .logo { translate: 0 -.12rem; }
.nav { display: none; }
.nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: 1rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav a:is(:hover, [aria-current]) { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--arrebol); text-underline-offset: .55em; }
.cabecera-accesos { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.portal-acceso { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 2.75rem; padding: .45rem .95rem; border: 1.5px solid currentColor; border-radius: 3px; color: var(--titulo); font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s; }
.portal-acceso svg { flex: none; width: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.portal-acceso:is(:hover, [aria-current]) { background: var(--titulo); border-color: var(--titulo); color: var(--fondo); }
.portal-demo { margin-left: .1rem; padding-left: .6rem; border-left: 1px solid currentColor; font-weight: 500; }
.portal-corto { display: none; }
.abrir-menu { display: inline-flex; align-items: center; gap: .65rem; min-height: 2.75rem; padding: 0; border: 0; background: none; font-weight: 560; }
.abrir-menu svg { width: 1.4rem; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2; }
#cerrar-menu { margin-left: auto; }
#cerrar-menu svg { width: 1rem; }
@media (max-width: 47.99rem) { .cabecera-contacto, .cabecera .portal-demo, .portal-largo { display: none; } .portal-corto { display: inline; } }
@media (max-width: 21rem) { .portal-acceso svg { display: none; } }
@media (min-width: 75rem) {
  .logo { width: 7.25rem; }
  .abrir-menu { display: none; }
  .nav { display: flex; align-items: center; gap: clamp(1.1rem, 1.8vw, 2.1rem); margin-left: auto; }
  .cabecera-accesos { margin-left: clamp(0rem, 1vw, 1rem); }
}

.menu { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden auto; overscroll-behavior: contain; }
.menu::backdrop { background: var(--noche); }
.menu-interior { position: relative; min-height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding-top: env(safe-area-inset-top, 0px); padding-bottom: calc(1.75rem + env(safe-area-inset-bottom, 0px)); background: url(img/niveles-claro.svg) right -19rem bottom -13rem / 46rem no-repeat; isolation: isolate; }
.menu-interior::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(12 22 51 / .76); }
.menu-lista { display: grid; align-content: start; padding-block: clamp(.5rem, 3vh, 2rem) 1.5rem; }
.menu-lista a { display: flex; align-items: center; min-height: clamp(2.9rem, 7.6vh, 4rem); border-bottom: 1px solid var(--linea); font-size: clamp(1.375rem, 4vh, 2rem); font-weight: 560; font-stretch: 108%; line-height: 1.15; letter-spacing: -.025em; text-decoration: none; color: var(--titulo); }
.menu-lista a:is(:hover, [aria-current]) { color: var(--alba); }
.menu-lista a[aria-current]::after { content: ""; width: .6rem; height: .6rem; margin-left: .8rem; border-radius: 50%; background: var(--arrebol); }
.menu-accion { display: flex; flex-wrap: wrap; gap: .75rem; }
.menu-accion > * { flex: 1 1 14rem; max-width: 26rem; min-height: 3.375rem; }

/* ---------- La cuerda que une la página ---------- */
.cuerda-pagina { position: absolute; z-index: 1; left: 0; top: 0; width: 100%; overflow: hidden; pointer-events: none; }
.cuerda-pagina path { fill: none; stroke: var(--arrebol); stroke-linecap: round; stroke-linejoin: round; transition: opacity .4s; }
.c-base { stroke-width: 1.5; stroke-opacity: .36; }
.c-avance { stroke-width: 3; }
.c-anilla { fill: var(--arrebol); fill-opacity: 0; stroke: var(--arrebol); stroke-width: 2; transition: fill-opacity .3s; }
.c-anilla.pasada { fill-opacity: 1; }
.c-punta { fill: var(--arrebol); }
.c-brillo { fill-opacity: .24; }
@media (max-width: 47.99rem) { .c-brillo { r: 10px; } .c-anilla { r: 4.5px; } .c-avance { stroke-width: 2.5; } }
/* El primer tramo aparece cuando el grupo ya está en su lugar */
body:has(main:not([hidden]) .inicio:is(:not(.lista), .con-rol)) :is(.tramo-0, .c-punta) { opacity: 0; }
.en-portal .cuerda-pagina { display: none !important; }

/* ---------- El amanecer ---------- */
.amanecer { --dia: 1; position: absolute; inset: 0; overflow: hidden; container-type: size; background: #0D1940; }
.plano { --sx: 64.61%; --sy: 48.48%; --sd: 2.17%; --baja: 500%; --mar: 35.5%; position: absolute; left: 0; bottom: min(0px, calc((100cqh - 60cqw) * .37)); width: 100%; aspect-ratio: 5 / 3; -webkit-mask-image: linear-gradient(transparent, #000 15%); mask-image: linear-gradient(transparent, #000 15%); }
.plano > img, .plano picture img, .p-lejos img, .lienzo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.plano .p-dia { opacity: var(--dia); }
.plano .p-frente { inset: auto 0 0; height: auto; }
.p-viva { transform-origin: 50% 100%; opacity: 0; transition: opacity .7s; }
.viva .p-viva { opacity: 1; }
.p-eme { pointer-events: none; }
.p-cielo { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(#000 calc(98.6% - var(--mar)), transparent calc(100% - var(--mar))); mask-image: linear-gradient(#000 calc(98.6% - var(--mar)), transparent calc(100% - var(--mar))); }
.p-sol { position: absolute; left: var(--sx); top: var(--sy); width: var(--sd); aspect-ratio: 1; translate: -50% -50%; transform: translateY(calc((1 - var(--dia)) * var(--baja))); border-radius: 50%; background: #FFFCF9; box-shadow: 0 0 1vw .25vw rgb(255 244 235 / .9), 0 0 4.5vw 1.6vw rgb(255 226 210 / .42); }
.p-sol::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #FF9C8B; opacity: calc(1 - var(--dia)); }
/* En la portada, la luz sale en círculo desde el sol */
[data-portada] .plano { -webkit-mask-image: none; mask-image: none; }
[data-portada] .p-lejos { position: absolute; inset: 0; transform: translate3d(calc(var(--par-x, 0) * -.45%), calc(var(--par-y, 0) * -.35%), 0) scale(1.014); -webkit-mask-image: linear-gradient(transparent, #000 15%); mask-image: linear-gradient(transparent, #000 15%); }
[data-portada] .p-sol { transform: none; opacity: calc((var(--luz, 0) - .16) * 7); }
.js [data-portada]:not(.hecho) .p-dia { -webkit-mask-image: radial-gradient(circle at var(--sx) var(--sy), #000 var(--r0, 0px), transparent var(--r1, 0px)); mask-image: radial-gradient(circle at var(--sx) var(--sy), #000 var(--r0, 0px), transparent var(--r1, 0px)); }
:is(html:not(.js), .hecho) .p-sol { opacity: 1 !important; }
.bruma { position: absolute; left: 0; width: 300%; aspect-ratio: 5.3 / .333; background-repeat: repeat-x; background-size: 33.3334% 100%; opacity: calc(.16 + .5 * var(--luz, 1)); pointer-events: none; will-change: transform; }
.bruma-1 { top: 68%; height: 17%; aspect-ratio: auto; background-image: url(img/bruma-1.webp); }
.bruma-2 { top: 62%; height: 14%; aspect-ratio: auto; background-image: url(img/bruma-2.webp); opacity: calc(.10 + .34 * var(--luz, 1)); }
@media (max-aspect-ratio: 11/10), (max-width: 47.99rem) and (max-aspect-ratio: 3/2) {
  .plano { --sx: 49.56%; --sy: 56.72%; --sd: 4.08%; --baja: 450%; --mar: 31%; bottom: 0; aspect-ratio: 4 / 5; -webkit-mask-image: linear-gradient(transparent, #000 22%); mask-image: linear-gradient(transparent, #000 22%); }
  .p-sol { box-shadow: 0 0 2.4vw .6vw rgb(255 244 235 / .85), 0 0 9vw 3vw rgb(255 226 210 / .4); }
  [data-portada] .p-lejos { -webkit-mask-image: linear-gradient(transparent, #000 22%); mask-image: linear-gradient(transparent, #000 22%); }
  .bruma { width: 600%; background-size: 16.6667% 100%; }
  .bruma-1 { top: 72%; height: 12%; background-size: 33.3334% 100%; }
  .bruma-2 { top: 68%; height: 9%; background-size: 33.3334% 100%; }
}

/* ---------- Inicio: portada ---------- */
.inicio { position: relative; overflow: hidden; display: grid; align-items: center; min-height: max(35rem, min(100svh - 5.5rem, 64rem)); }
.inicio::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--junta), transparent clamp(2rem, 6vw, 6rem)), linear-gradient(rgb(9 17 44 / .6), transparent 10rem), linear-gradient(90deg, rgb(9 17 44 / .82), rgb(9 17 44 / .56) 34%, transparent 62%); pointer-events: none; }
/* El texto deja pasar los clics hacia las personas. Al elegir a alguien, su explicación ocupa el mismo lugar. */
.inicio-texto { position: relative; z-index: 2; display: grid; align-items: center; padding-block: calc(var(--cab) + 1rem) clamp(5rem, 9vw, 9rem); pointer-events: none; }
.inicio-mensaje, .inicio-rol { grid-area: 1 / 1; display: grid; gap: clamp(1.25rem, 2vw, 1.9rem); justify-items: start; transition: opacity .35s; }
.inicio-rol { gap: 1.1rem; max-width: 30rem; margin-bottom: 7rem; }
.inicio-rol:empty { display: none; }
.inicio-rol h2 { font-size: clamp(2rem, 1.3rem + 2.2vw, 3.5rem); }
.con-rol .inicio-mensaje { opacity: 0; visibility: hidden; }
:is(.inicio-mensaje, .inicio-rol) > * { pointer-events: auto; }
.p-lejos { transition: opacity .8s; }
.con-rol .p-lejos, .con-rol .bruma { opacity: 0; }
.bruma { transition: opacity .8s; }
[data-portada] .equipo-fondo { background-image: url(img/equipo-fondo.webp); opacity: 0; transition: opacity .8s; }
.con-rol [data-portada] .equipo-fondo { opacity: 1; }
.p-atras { pointer-events: none; }
.p-nombres { position: absolute; inset: 0; z-index: 2; opacity: 0; visibility: hidden; transition: opacity .6s; pointer-events: none; }
.lista .p-nombres { opacity: 1; visibility: visible; }
.p-nombres button { position: absolute; left: 0; top: 0; display: grid; justify-items: center; align-content: start; min-width: 2.75rem; min-height: 2.75rem; padding: .2rem .35rem; border: 0; background: none; color: #FFFFFF; font-size: .875rem; font-weight: 600; line-height: 1.08; letter-spacing: -.012em; text-align: center; text-shadow: 0 0 .5rem rgb(9 17 44 / .95), 0 0 .2rem rgb(9 17 44 / .8); text-decoration: underline transparent 2px; text-underline-offset: .35em; pointer-events: auto; transition: opacity .3s, text-decoration-color .2s; }
.p-nombres :is(button:hover, .elegido) { text-decoration-color: var(--arrebol); }
.p-nombres .elegido { font-weight: 700; }
.p-pista { position: absolute; left: 0; top: 0; max-width: none; color: #DCE4F7; font-size: 1rem; line-height: 1.25; white-space: nowrap; transition: opacity .3s; }
.con-rol .p-pista { opacity: 0; }
.p-cabo { position: absolute; left: 36.2%; top: 74.2%; width: 1px; height: 1px; pointer-events: none; }
.inicio h1 { font-size: clamp(2.5rem, 1.1rem + 4vw, 5.375rem); max-width: 9.4em; text-wrap: balance; }
.inicio .guia { max-width: 25.5em; color: #F1F4FC; }
@media (max-width: 74.99rem) {
  .inicio::after { background: linear-gradient(to top, var(--junta), transparent clamp(2rem, 6vw, 6rem)), linear-gradient(rgb(9 17 44 / .6), transparent 10rem), linear-gradient(90deg, rgb(9 17 44 / .86), rgb(9 17 44 / .7) 42%, rgb(9 17 44 / .34) 58%, transparent 74%); }
}
@media (max-aspect-ratio: 11/10), (max-width: 47.99rem) and (max-aspect-ratio: 3/2) {
  .inicio { align-items: start; min-height: 0; }
  .inicio::after { background: linear-gradient(to top, var(--junta), transparent 10vw), linear-gradient(rgb(9 17 44 / .74), rgb(9 17 44 / .46) calc(100% - 96vw), transparent calc(100% - 68vw)); }
  .inicio.con-rol::after { background: linear-gradient(to top, var(--junta), transparent 10vw), linear-gradient(rgb(9 17 44 / .78), rgb(9 17 44 / .6) calc(100% - 112vw), transparent calc(100% - 99vw)); }
  .inicio-texto { align-items: start; padding-block: calc(var(--cab) + 1.5rem) 78vw; }
  /* Queda sobre los efectos, sin cambiar la altura de la portada */
  .inicio-rol { position: absolute; grid-area: auto; left: max(var(--lado), env(safe-area-inset-left, 0px)); right: max(var(--lado), env(safe-area-inset-right, 0px)); bottom: min(108vw, 100% - var(--cab) - 13.5rem); gap: .75rem; margin-bottom: 0; }
  .inicio-rol h2 { font-size: clamp(1.75rem, 1.1rem + 3vw, 3rem); }
  .p-cabo { left: 10%; top: 83.8%; }
  [data-portada] .equipo-fondo { background-image: url(img/equipo-fondo-celular.webp); }
  .p-pista { font-size: .9375rem; }
  .p-nombres button:nth-of-type(4) { width: min-content; }
  .inicio h1 { font-size: clamp(2.5rem, 1.2rem + 6vw, 5rem); max-width: 10em; }
}
/* Celular acostado y ventanas muy bajas */
@media (max-height: 34rem) and (min-aspect-ratio: 11/10) {
  :root { --cab: 3.75rem; }
  .inicio { min-height: max(20rem, 100svh); }
  :is(.inicio-mensaje, .inicio-rol) { gap: .8rem; }
  .inicio-texto { padding-block: calc(var(--cab) + .25rem) 1.25rem; }
  .inicio-rol { max-width: 45vw; margin-bottom: 0; }
  .p-pista, .p-cabo { display: none; }
  .inicio h1 { max-width: 12em; font-size: clamp(1.75rem, 10.5svh, 3rem); }
  .inicio .guia { max-width: min(27em, 45vw); font-size: 1.0625rem; line-height: 1.4; }
  .inicio .boton { min-height: 2.875rem; }
  .inicio .acciones .enlace { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .bruma { animation: pasar 150s linear infinite; }
  .bruma-2 { animation-duration: 95s; }
  @keyframes pasar { to { transform: translate3d(-33.3334%, 0, 0); } }
  .portada-contacto .amanecer { transition: --dia 1.8s var(--suave); }
}

/* ---------- Inicio: desde dónde partes ---------- */
.partida .ancho { display: grid; gap: clamp(1.75rem, 4vw, 4rem); }
.partida h2 { max-width: 8em; }
.partidas { list-style: none; border-bottom: 1px solid var(--linea); }
.partidas a { display: grid; gap: .25rem; padding-block: clamp(1.1rem, 1.7vw, 1.6rem); border-top: 1px solid var(--linea); text-decoration: none; transition: border-color .25s; }
.partidas li + li a { margin-top: 0; }
.partidas strong { color: var(--titulo); font-size: var(--t-m); font-weight: 560; font-stretch: 106%; line-height: 1.2; letter-spacing: -.022em; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: rgb(27 44 92 / .35); text-underline-offset: .25em; text-wrap: balance; transition: text-decoration-color .25s; }
.partidas span { color: var(--apagado); font-size: var(--t-s); line-height: 1.4; }
.partidas a:hover { border-color: var(--arrebol); }
.partidas a:hover strong { text-decoration-color: var(--arrebol); text-decoration-thickness: 2px; }
@media (min-width: 60rem) { .partida .ancho { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
/* El equipo: la escena ocupa toda la sección y el texto va encima */
.equipo-vivo { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: start; background: var(--noche); }
.equipo-escena { position: absolute; inset: 0; overflow: hidden; }
.equipo-fondo { position: absolute; left: 0; top: 0; background: url(img/equipo-fondo-celular.webp) 0 0 / 100% 100% no-repeat; transform-origin: 0 0; opacity: 0; transition: opacity .7s; will-change: transform; -webkit-mask-image: linear-gradient(transparent, #000 30%); mask-image: linear-gradient(transparent, #000 30%); }
.equipo-velo { position: absolute; inset: 0; background: linear-gradient(var(--noche) calc(100% - 104vw), rgb(12 22 51 / .5) calc(100% - 78vw), rgb(12 22 51 / .12) calc(100% - 48vw)); }
.equipo-vivo .lienzo, .equipo-nombres { opacity: 0; transition: opacity .7s; }
.equipo-atras, .equipo-nombres, .obra { pointer-events: none; }
.equipo-nombres { position: absolute; inset: 0; }
.equipo-vivo.viva :is(.equipo-fondo, .lienzo, .equipo-nombres) { opacity: 1; }
.equipo-frente { touch-action: manipulation; }
.equipo-nombres span { position: absolute; left: 0; top: 0; color: #FFFFFF; font-size: .875rem; font-weight: 600; line-height: 1.05; letter-spacing: -.012em; text-align: center; white-space: nowrap; text-shadow: 0 0 .5rem rgb(9 17 44 / .95), 0 0 .2rem rgb(9 17 44 / .8); transition: opacity .3s; }
.equipo-nombres span:nth-child(4) { width: min-content; white-space: normal; }
.equipo-nombres .elegido { font-weight: 700; text-decoration: underline; text-decoration-color: var(--arrebol); text-decoration-thickness: 2px; text-underline-offset: .35em; }
.obra { position: absolute; display: flex; flex-direction: column-reverse; visibility: hidden; opacity: 0; container-type: inline-size; }
.obra .ventana { --verde: #174A3D; --limon: #F2D35B; }
.obra > p { margin-bottom: .4rem; color: #FFFFFF; font-size: .875rem; font-weight: 560; text-shadow: 0 0 .5rem rgb(9 17 44 / .95); }
.equipo-fija { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; }
.equipo-panel { position: relative; z-index: 1; display: grid; gap: 1.5rem; justify-items: start; padding-block: var(--aire) 102vw; pointer-events: none; }
.equipo-panel > * { pointer-events: auto; }
.portada-equipo .equipo-panel { padding-top: calc(var(--cab) + 1.5rem); }
.equipo-panel .acciones { min-height: 2.75rem; }
.obra .sitio-ejemplo .sitio-lista p { max-width: none; }
.equipo-panel .guia { max-width: 29em; color: #F1F4FC; }
.equipo-elegir { display: grid; gap: .85rem; }
.equipo-elegir > p { color: #FFFFFF; font-weight: 560; }
.equipo-botones { display: flex; flex-wrap: wrap; gap: .5rem; }
.equipo-botones button { min-height: 2.75rem; padding: .45rem 1rem .5rem; border: 1px solid #9AABDD; border-radius: 3px; background: rgb(12 22 51 / .6); color: #FFFFFF; font-weight: 600; letter-spacing: -.01em; transition: background-color .2s, color .2s; }
.equipo-botones button:hover { background: #2A3F7C; }
.equipo-botones :is([aria-pressed="true"], [aria-selected="true"]) { border-color: #FFFFFF; background: #FFFFFF; color: var(--noche); }
.equipo-botones :is([aria-pressed="true"], [aria-selected="true"]):hover { background: var(--alba); }
@media (max-width: 59.99rem) { .obra .sitio-barra span:last-child { display: none; } }
@media (min-width: 60rem) {
  .equipo-vivo { min-height: max(46rem, min(100svh - 5.5rem, 62rem)); }
  .equipo-fondo { background-image: url(img/equipo-fondo.webp); }
  .equipo-velo { background: linear-gradient(to top, transparent 70%, rgb(9 17 44 / .5)), linear-gradient(90deg, rgb(9 17 44 / .86), rgb(9 17 44 / .62) 32%, transparent 62%); }
  .equipo-nombres span { font-size: 1rem; }
  .equipo-nombres span:nth-child(4) { width: auto; white-space: nowrap; }
  .equipo-panel { gap: 1rem; padding-block: clamp(3rem, 6.5svh, 5rem) 17rem; }
  .equipo-panel > * { max-width: min(34rem, 43vw); }
}
/* La ruta con forma de M. El cielo aclara, el sol sube y la montaña sigue hasta el final de la página. */
.sec-ruta { --sube: 1; position: relative; overflow: clip; }
.js .sec-ruta { --sube: 0; }
.ruta-cielo { margin-bottom: -1px; padding-top: clamp(2.5rem, 5vw, 5rem); background-image: linear-gradient(var(--nieve), #F3EAF1 34%, #FBDDD4 72%, #F9BDB4); }
/* Aquí la cuerda va sobre el dibujo, porque recorre la M */
.ruta-cielo .ancho { z-index: auto; }
.ruta-dibujo { width: 100%; height: auto; margin-top: clamp(1.5rem, 2.5vw, 2.5rem); overflow: visible; }
.ruta-sol { fill: var(--arrebol); transform: translateY(calc((1 - var(--sube)) * 250px)); }
.cuenta-ruta svg { display: block; width: 100%; height: auto; overflow: visible; }
.ruta-relleno { fill: var(--cordillera); }
.ruta-capas { fill: url(#estratos); }
.ruta-guias { fill: none; stroke: #8EA0D0; stroke-width: 1.2; }
.ruta-linea { fill: none; stroke: #8EA0D0; stroke-width: 2.5; stroke-linejoin: round; }
.ruta-avance { fill: none; stroke: var(--arrebol); stroke-width: 5.5; stroke-linejoin: round; }
.ruta-nodos circle { fill: #FFFFFF; stroke: var(--cordillera); stroke-width: 3; transition: fill .3s, stroke .3s; }
.ruta-nodos .pasado { fill: var(--arrebol); stroke: var(--arrebol); }
.ruta-punto { fill: var(--arrebol); stroke: var(--fondo); stroke-width: 5; }
.ruta-cuerpo { position: relative; padding-bottom: clamp(3rem, 7vw, 7rem); background-image: linear-gradient(var(--cordillera), var(--noche)); }
.ruta-pasos { display: grid; list-style: none; }
.ruta-pasos li { position: relative; display: grid; gap: .5rem; align-content: start; padding: 0 0 2rem 1.75rem; border-left: 1px solid #8EA0D0; }
.ruta-pasos li::before { content: ""; position: absolute; left: -.45rem; top: .35rem; width: .85rem; height: .85rem; border: 2px solid #8EA0D0; border-radius: 50%; background: var(--cordillera); transition: background-color .3s, border-color .3s; }
.ruta-pasos .pasado::before { border-color: var(--arrebol); background: var(--arrebol); }
.ruta-pasos li:last-child { padding-bottom: 0; }
@media (max-width: 59.99rem) {
  .ruta-dibujo { margin-bottom: -1px; }
  .ruta-cuerpo { padding-top: 2.5rem; }
  .ruta-guias { display: none; }
  .ruta-linea { stroke-width: 4; }
  .ruta-avance { stroke-width: 10; }
  .ruta-punto { r: 24px; }
  .ruta-nodos circle { r: 12px; }
  .ruta-pasos { margin-left: max(var(--lado), env(safe-area-inset-left, 0px)); padding-left: 0; width: auto; }
}
@media (min-width: 60rem) {
  .ruta-pasos { grid-template-columns: 25fr 22.5fr 27.5fr 25fr; }
  .ruta-pasos li { padding: 1.5rem clamp(1.25rem, 2.4vw, 2.75rem) 1rem 1.25rem; }
  .ruta-pasos li::before { display: none; }
}
/* Proyectos: tres hojas de un mismo mapa */
.proyectos-texto { padding-block: clamp(3rem, 5vw, 5rem) clamp(2.5rem, 5vw, 4.5rem); }
.portada-trabajos .proyectos-texto { padding-top: calc(var(--cab) + clamp(2rem, 5vw, 4.5rem)); }
.hojas { display: grid; list-style: none; }
.hoja { position: relative; display: block; overflow: hidden; aspect-ratio: 400 / 350; background: #101D45; color: #FFFFFF; text-decoration: none; }
.hoja-mapa { position: absolute; inset: 0; width: 100%; height: 100%; }
.curvas { fill: none; stroke-width: 1.15; transition: stroke-width .4s; }
.forma { transform-box: fill-box; transform-origin: 50% 50%; transition: transform .7s var(--suave); }
.hoja::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgb(12 22 51 / .92)); }
.hoja-texto { position: absolute; z-index: 1; left: max(1.25rem, env(safe-area-inset-left, 0px)); right: 1.25rem; bottom: 1.25rem; display: grid; gap: .2rem; justify-items: start; }
.hoja-texto strong { font-size: var(--t-m); font-weight: 580; font-stretch: 108%; line-height: 1.15; letter-spacing: -.025em; text-decoration: underline transparent 2px; text-underline-offset: .22em; transition: text-decoration-color .25s; }
.hoja-texto span { color: #C9D4F0; }
.hoja:is(:hover, :focus-visible) .curvas { stroke-width: 1.75; }
.hoja:is(:hover, :focus-visible) .forma { transform: scale(1.1); }
.hoja:is(:hover, :focus-visible) strong { text-decoration-color: var(--arrebol); }
.hoja:focus-visible { outline-offset: -6px; }
@media (min-width: 48rem) {
  .hojas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hojas .hoja { aspect-ratio: 400 / 480; }
  .hoja-texto { left: clamp(1.25rem, 2.6vw, 2.75rem); bottom: clamp(1.25rem, 2.4vw, 2.5rem); }
  /* En pantallas muy anchas, el primer nombre sigue alineado con los títulos */
  .hojas li:first-child .hoja-texto { left: max(var(--lado), (100vw - 100rem) / 2 + var(--lado), env(safe-area-inset-left, 0px)); }
}


/* Ventanas de muestra */
.ventana { --titulo: #101C42; --apagado: #4F5D86; --marca-foco: #1B2C5C; overflow: hidden; border-radius: 5px; background: #FFFFFF; color: #24315A; box-shadow: 0 1px 2px rgb(6 12 34 / .16), 0 1.5rem 4rem -1rem rgb(6 12 34 / .38); line-height: 1.4; }
.ventana strong { color: #101C42; }
.ventana-barra { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: clamp(1rem, 2vw, 1.5rem); border-bottom: 1px solid #DCE2F0; }
.ventana-barra strong { font-size: var(--t-s); letter-spacing: -.015em; }
.cuenta-muestra-cuerpo { display: grid; gap: 1.25rem; padding: clamp(1rem, 2vw, 1.5rem); }
.cuenta-muestra-titulo { font-weight: 600; color: #101C42; }
.perfil-chico { width: 100%; height: auto; overflow: visible; }
.perfil-chico use { fill: var(--cordillera); }
.perfil-chico circle { fill: var(--arrebol); stroke: #FFFFFF; stroke-width: 9; }
.cuenta-muestra-dos { display: grid; gap: 1rem; max-width: 54%; }
.cuenta-muestra-dos p:first-child { color: #4F5D86; }
.muestra-cuenta { display: grid; padding-bottom: 5.5rem; position: relative; }
.cuenta-muestra { margin-right: 8%; }
.cuenta-numeros { position: absolute; right: 0; bottom: 0; display: grid; gap: .15rem; width: min(64%, 17rem); padding: 1.1rem 1.25rem; color: #4F5D86; }
.cuenta-numeros-valor { color: #101C42; font-size: clamp(1.75rem, 1.4rem + 1vw, 2.5rem); font-weight: 580; font-stretch: 108%; line-height: 1.1; letter-spacing: -.035em; }
.cuenta-numeros svg { width: 100%; height: 4.25rem; margin-block: .5rem .35rem; overflow: visible; }
.cn-area { fill: var(--cordillera); fill-opacity: .1; }
.cn-linea { fill: none; stroke: var(--cordillera); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
@media (max-width: 33.99rem) {
  .muestra-cuenta { padding-bottom: 0; }
  .cuenta-muestra { margin-right: 0; }
  .cuenta-muestra-dos { max-width: none; padding-bottom: 2rem; }
  .cuenta-numeros { position: relative; justify-self: end; margin-top: -1.75rem; }
}

/* Portada de la bitácora */
.tapa { --papel: var(--arrebol); --tinta: var(--noche); --mapa: url(img/niveles-oscuro.svg); --lugar: 30% 62%; --punto: var(--tinta); position: relative; isolation: isolate; display: grid; grid-template-rows: auto 1fr auto; gap: 2cqw; width: min(100%, 26rem); aspect-ratio: 4 / 5; container-type: inline-size; overflow: hidden; border-radius: 3px; background: var(--papel); color: var(--tinta); box-shadow: 0 1px 2px rgb(6 12 34 / .2), 0 1.75rem 4rem -1.25rem rgb(6 12 34 / .5); transition: background-color .5s, color .5s; }
.tapa::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--mapa) var(--lugar) / 250% no-repeat; opacity: .2; -webkit-mask-image: linear-gradient(#000 70%, rgb(0 0 0 / .35)); mask-image: linear-gradient(#000 70%, rgb(0 0 0 / .35)); }
.tapa p { max-width: none; }
.tapa-de { padding: 8cqw 8cqw 0; font-size: max(1rem, 4.8cqw); font-weight: 560; line-height: 1.2; }
.tapa .tapa-nombre { padding: 0 8cqw; font-size: calc(var(--cuerpo, 15) * 1cqw); font-weight: 640; font-stretch: 112%; line-height: 1; letter-spacing: -.04em; overflow-wrap: anywhere; text-wrap: balance; }
.tapa-pie { display: flex; align-items: end; justify-content: space-between; gap: 5cqw; padding: 0 8cqw 8cqw; }
.tapa-pie p { font-size: max(1rem, 4.4cqw); font-weight: 500; line-height: 1.25; }
.tapa-pie svg { flex: none; width: 14cqw; height: auto; }
.tapa[data-rubro="tienda"] { --papel: var(--cordillera); --tinta: var(--alba); --mapa: url(img/niveles-claro.svg); --lugar: 78% 40%; --punto: var(--arrebol); }
.tapa[data-rubro="servicios"] { --papel: var(--alba); --tinta: var(--cordillera); --lugar: 12% 30%; --punto: #D24E5F; }
.tapa[data-rubro="belleza"] { --papel: #C8D3F0; --tinta: var(--cordillera); --lugar: 88% 72%; --punto: #D24E5F; }
.tapa[data-rubro="hogar"] { --papel: var(--noche); --tinta: #FFFFFF; --mapa: url(img/niveles-claro.svg); --lugar: 50% 18%; --punto: var(--arrebol); }
.tapa[data-rubro="otro"] { --papel: #FFFFFF; --tinta: var(--cordillera); --lugar: 62% 92%; --punto: var(--arrebol); }
.tapa-marco { display: grid; justify-items: center; }

/* ---------- Campos ---------- */
.campo { display: grid; gap: .5rem; width: 100%; }
.campo > label, .opciones > legend { color: var(--titulo); font-weight: 600; line-height: 1.3; }
.opciones > legend { padding: 0; margin-bottom: .85rem; }
.entrada { width: 100%; min-height: 3.375rem; padding: .65rem 1rem; border: 1px solid #7484B2; border-radius: 3px; background: #FFFFFF; color: #101C42; font-size: max(1rem, var(--t-t)); line-height: 1.4; }
.entrada:hover { border-color: #101C42; }
.entrada:focus-visible { outline: 3px solid var(--arrebol); outline-offset: 0; border-radius: 3px; border-color: #101C42; }
.entrada[aria-invalid="true"] { border: 2px solid #B3263B; }
textarea.entrada { min-height: 9rem; resize: vertical; }
select.entrada { appearance: none; padding-right: 3rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10' fill='none' stroke='%23101C42' stroke-width='2'%3E%3Cpath d='M2 2l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.1rem center; background-size: .95rem; }
.campos-dos { display: grid; gap: 1.25rem 1.5rem; width: 100%; }
@media (min-width: 40rem) { .campos-dos { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; } }
.fichas { display: flex; flex-wrap: wrap; gap: .6rem; }
.ficha, .frase { position: relative; }
.ficha { display: inline-flex; }
:is(.ficha, .frase) input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ficha span { display: inline-flex; align-items: center; min-height: 2.875rem; padding: .4rem 1.05rem; border: 1px solid var(--apagado); border-radius: 3px; color: var(--titulo); font-weight: 560; line-height: 1.2; transition: background-color .2s, color .2s, border-color .2s; }
.ficha:hover span { border-color: var(--titulo); }
.ficha input:checked + span { background: var(--arrebol); border-color: var(--arrebol); color: var(--noche); }
.ficha input:focus-visible + span { outline: 3px solid var(--marca-foco); outline-offset: 3px; }
.error { color: #A01F33; font-weight: 600; }
.error::before { content: "Falta: "; }

/* ---------- Pie ---------- */
.pie { position: relative; isolation: isolate; overflow: hidden; }
.pie::before, .con-mapa::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(img/niveles-claro.svg) right -14rem top 44% / clamp(40rem, 68vw, 70rem) no-repeat; opacity: .3; pointer-events: none; }
.pie-cierre { display: grid; gap: clamp(1.75rem, 3vw, 2.75rem); justify-items: start; padding-block: var(--aire) clamp(3.5rem, 7vw, 6.5rem); }
.pie-lema { color: var(--titulo); font-size: clamp(3rem, 1.2rem + 8vw, 9rem); font-weight: 600; font-stretch: 114%; line-height: .98; letter-spacing: -.045em; max-width: none; text-wrap: balance; }
/* Cada grupo tiene su título y una línea que lo separa del siguiente */
.pie-cuerpo { display: grid; gap: 2rem clamp(2rem, 5vw, 6rem); padding-bottom: clamp(1.75rem, 3vw, 3rem); }
.pie-marca { display: grid; gap: 1.1rem; align-content: start; justify-items: start; }
.pie-marca .logo { width: 8rem; }
.pie-columnas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.6rem), 1fr)); gap: 2rem 1rem; }
.pie-columnas > div, .pie-redes { padding-top: 1.25rem; border-top: 1px solid var(--linea); }
.pie-contacto { grid-column: 1 / -1; }
.pie-titulo { margin-bottom: .35rem; color: var(--alba); font-weight: 640; line-height: 1.3; }
.pie-columnas ul { display: grid; align-content: start; list-style: none; }
.pie-columnas a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--titulo); text-decoration: none; }
.pie-columnas a:hover { text-decoration: underline; text-decoration-color: var(--arrebol); text-decoration-thickness: 2px; }
.contacto-directo a, .pie-columnas a, #mensaje-acciones a { overflow-wrap: anywhere; }
.pie-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 2rem; margin-top: 1.75rem; padding-block: .75rem calc(1rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--linea); color: var(--apagado); }
.pie-legal a { display: inline-flex; align-items: center; min-height: 2.75rem; }
@media (min-width: 48rem) {
  .pie-columnas { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 3vw, 3.5rem); }
  .pie-contacto { grid-column: auto; }
}
@media (min-width: 60rem) { .pie-cuerpo { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); } }

/* ---------- Cambio de página ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .4s; }
}
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { animation: none !important; transition: none !important; }
  ::details-content { transition: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

.numero { white-space: nowrap; }


/* ---------- WhatsApp ---------- */
.con-globo { gap: .6rem; }
.con-globo svg { flex: none; width: 1.3rem; height: 1.3rem; fill: currentColor; }
.ofrecemos .ancho { display: grid; gap: clamp(1.75rem, 3vw, 3rem); }
.ofrecemos .tres > div { display: grid; gap: .6rem; align-content: start; justify-items: start; }
/* El widget late como el sol de la M. El verde solo se usa aquí, para reconocer WhatsApp. Se esconde cerca de formularios y del pie. */
.wa-flota { --talla: 3.75rem; position: fixed; z-index: 11; right: max(1.25rem, env(safe-area-inset-right, 0px)); bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); display: grid; width: var(--talla); height: var(--talla); color: #0C1633; text-decoration: none; -webkit-tap-highlight-color: transparent; transition: opacity .25s, visibility .25s; }
.wa-flota > :not(.wa-saludo) { grid-area: 1 / 1; border-radius: 50%; }
.wa-disco { position: relative; display: grid; place-items: center; background: #25D366; box-shadow: 0 .5rem 1.5rem -.35rem rgb(6 12 34 / .65), 0 0 0 2px #FFFFFF; transition: scale .18s var(--suave); }
.wa-disco svg { width: 56%; fill: currentColor; }
.wa-onda { background: var(--arrebol); opacity: 0; }
.wa-chispas { place-self: center; width: .5rem; height: .5rem; opacity: 0; box-shadow: 0 -3rem var(--arrebol), 2.1rem -2.1rem #25D366, 3rem 0 var(--arrebol), 2.1rem 2.1rem #25D366, 0 3rem var(--arrebol), -2.1rem 2.1rem #25D366, -3rem 0 var(--arrebol), -2.1rem -2.1rem #25D366; }
.wa-saludo { position: absolute; right: calc(100% + .7rem); top: 50%; padding: .55rem .9rem; border-radius: 3px; background: #FFFFFF; color: #101C42; font-weight: 640; line-height: 1.2; white-space: nowrap; box-shadow: 0 .5rem 1.5rem -.5rem rgb(6 12 34 / .6); opacity: 0; visibility: hidden; translate: .6rem -50%; transition: opacity .25s, translate .25s var(--suave), visibility .25s; pointer-events: none; }
.wa-flota:is(:hover, :focus-visible, .saluda) .wa-saludo { opacity: 1; visibility: visible; translate: 0 -50%; }
.wa-flota:hover .wa-disco { scale: 1.08; }
.wa-flota:active .wa-disco { scale: .86; }
.wa-flota.cerca { opacity: 0; visibility: hidden; }
.wa-flota.cerca .wa-saludo { visibility: hidden; }
.wa-flota:focus-visible { outline: 3px solid #101C42; outline-offset: 4px; border-radius: 50%; box-shadow: 0 0 0 9px #FFFFFF; }
.en-portal .wa-flota { display: none; }
body[data-pagina="servicios"]:has(.cot-barra:not([hidden])) .wa-flota { bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px)); }
@media (prefers-reduced-motion: no-preference) {
  .wa-disco { animation: wa-late 2.8s 1s infinite; }
  .wa-onda { animation: wa-onda 2.8s 1s infinite; }
  .wa-onda + .wa-onda { animation-delay: 1.35s; }
  .wa-flota:is(:hover, :focus-visible, .cerca) :is(.wa-disco, .wa-onda) { animation-play-state: paused; }
  .wa-flota:is(:hover, :focus-visible) .wa-onda { opacity: 0 !important; visibility: hidden; }
  .wa-flota.tocado .wa-chispas { animation: wa-chispas .7s var(--suave); }
  @keyframes wa-late { 0%, 34%, 100% { transform: none; } 8% { transform: scale(1.13); } 16% { transform: scale(.96); } 24% { transform: scale(1.05); } }
  @keyframes wa-onda { 0%, 5% { transform: scale(.9); opacity: 0; } 8% { opacity: .6; } 55%, 100% { transform: scale(1.6); opacity: 0; } }
  @keyframes wa-chispas { 0% { transform: scale(.35); opacity: 1; } 70% { opacity: 1; } 100% { transform: scale(1.15); opacity: 0; } }
}
@media print { .wa-flota { display: none; } }

/* ---------- Chile y redes ---------- */
.en-chile { display: flex; align-items: center; gap: .65rem; }
.bandera { flex: none; width: 1.65rem; height: 1.1rem; border-radius: 2px; box-shadow: 0 0 0 1px rgb(120 135 175 / .5); }
/* En el celular, cada red tiene su propio espacio */
.pie-redes ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin-top: .6rem; list-style: none; }
.pie-redes :is(a, li > span) { display: grid; justify-items: center; align-content: center; gap: .3rem; height: 100%; padding: 1rem .25rem .9rem; border: 1px solid var(--linea); border-radius: 4px; background: rgb(27 44 92 / .55); color: var(--titulo); font-size: min(1rem, 4.4vw); font-weight: 600; line-height: 1.3; text-align: center; text-decoration: none; }
.pie-redes a:hover { border-color: var(--arrebol); }
.pie-redes svg { width: 1.5rem; height: 1.5rem; margin-bottom: .15rem; }
.pie-redes small { color: var(--apagado); font-size: inherit; font-weight: 400; }
@media (min-width: 60rem) {
  .pie-redes { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
  .pie-redes ul { gap: clamp(1rem, 2vw, 2rem); margin: 0; }
  .pie-redes :is(a, li > span) { grid-template-columns: auto auto 1fr; justify-items: start; align-items: center; gap: .65rem; padding: .8rem 1rem; }
  .pie-redes svg { margin: 0; }
  .pie-redes .pie-titulo { margin: 0; }
}

/* ---------- Celular: encabezado y portada que resisten letra grande ---------- */
@media (max-width: 47.99rem) {
  .cabecera .cabecera-fila { gap: min(1rem, 2.8vw); }
  .cabecera .logo { width: min(6.25rem, 25vw); }
  .cabecera :is(.portal-acceso, .abrir-menu) { flex: none; font-size: min(1.0625rem, 4.8vw); }
  .cabecera .portal-acceso { gap: min(.55rem, 1.8vw); padding-inline: min(.95rem, 3vw); }
  .cabecera .portal-acceso svg { width: min(1.25rem, 5vw); }
  .cabecera .abrir-menu { gap: min(.65rem, 2vw); }
  .cabecera .abrir-menu svg { width: min(1.4rem, 5.6vw); }
  .boton.con-globo { padding-inline: min(1.65rem, 5.5vw); }
}
/* Los nombres dejan de flotar sobre el paisaje: son botones ordenados, en su propio espacio y en el mismo orden que las personas */
@media (max-aspect-ratio: 11/10), (max-width: 47.99rem) and (max-aspect-ratio: 3/2) {
  .inicio { grid-template: auto auto / minmax(0, 1fr); background: var(--junta); }
  .inicio > .amanecer, .inicio::after, .inicio-texto { grid-area: 1 / 1 / 2 / 2; }
  .inicio .plano { bottom: -7vw; }
  .inicio-texto { padding-bottom: 72vw; }
  .p-nombres { position: relative; inset: auto; grid-area: 2 / 1 / 3 / 2; display: flex; flex-wrap: wrap; gap: .55rem; padding: 1.1rem max(var(--lado), env(safe-area-inset-right, 0px)) 1.75rem max(var(--lado), env(safe-area-inset-left, 0px)); background: var(--junta); }
  .p-nombres .p-pista { position: static; order: -1; width: 100%; margin-bottom: .35rem; font-size: 1.0625rem; line-height: 1.4; white-space: normal; text-wrap: balance; transform: none !important; opacity: 1 !important; }
  .p-nombres button, .p-nombres button:nth-of-type(4) { position: static; flex: 1 1 auto; place-content: center; width: auto; min-height: 2.85rem; padding: .55rem .9rem; border: 1px solid rgb(189 201 233 / .55); border-radius: 3px; background: rgb(12 22 51 / .4); font-size: 1rem; line-height: 1.2; text-decoration: none; text-shadow: none; transform: none !important; opacity: 1 !important; }
  .p-nombres button.elegido { border-color: var(--arrebol); background: var(--arrebol); color: var(--noche); font-weight: 640; }
  html:not(.js) .p-nombres { display: none; }
}
/* Con letra grande, los nombres de los mapas no llegan hasta la cuerda */
@media (max-width: 47.99rem) {
  .hojas .hoja-texto strong { font-size: min(var(--t-m), 6.2vw); }
  .hojas .hoja-texto span { font-size: min(1.0625rem, 4.8vw); }
}

/* Itum: estilos de cada página */

/* ---------- Portadas ---------- */
.portada-foto { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: start; min-height: min(100svh, 56rem); }
.portada-foto .foto { position: absolute; inset: 0; z-index: -2; }
.portada-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 74% 40%; }
.portada-foto::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgb(9 17 44 / .62), transparent 46%), linear-gradient(90deg, rgb(9 17 44 / .5), transparent 56%); }
.portada-foto:has(+ .historia-itum)::after { content: ""; position: absolute; inset: auto 0 0; height: clamp(7rem, 16vw, 15rem); background: linear-gradient(to top, var(--nieve), rgb(244 246 251 / .72) 30%, transparent); pointer-events: none; }
.historia-itum { padding-top: clamp(3rem, 5vw, 5rem); }
.nombre-itum { padding-top: 0; }
.portada-foto-texto { display: grid; gap: 1.5rem; justify-items: start; padding-block: calc(var(--cab) + clamp(2rem, 9vh, 7rem)) 4rem; }
.portada-foto-texto h1 { max-width: 9em; }
.portada-foto-texto .guia { max-width: 34em; color: #F1F4FC; }
@media (max-width: 48rem) {
  .portada-foto { min-height: max(40rem, min(100svh, 47rem)); background: #0C1638; }
  .portada-foto .foto { inset: auto 0 0; }
  .portada-foto img { height: auto; -webkit-mask-image: linear-gradient(transparent, #000 30%); mask-image: linear-gradient(transparent, #000 30%); }
  .portada-foto-texto { padding-top: calc(var(--cab) + 2rem); }
}
.perdida { min-height: max(40rem, 100svh); }
@media (min-width: 48.01rem) { .perdida img { object-position: 70% 70%; } }

.portada-texto { position: relative; padding-block: calc(var(--cab) + clamp(2.5rem, 7vw, 6rem)) clamp(4rem, 8vw, 7.5rem); }
.portada-texto h1 { max-width: 10em; }
.con-mapa { position: relative; isolation: isolate; overflow: hidden; }

/* ---------- La empresa ---------- */
.relato { display: grid; gap: clamp(1.5rem, 2.6vw, 2.75rem); }
.relato p { max-width: 25em; font-size: clamp(1.5rem, 1.1rem + 1.9vw, 2.875rem); font-weight: 440; font-stretch: 104%; line-height: 1.22; letter-spacing: -.028em; }
.relato .relato-fin { color: var(--titulo); font-weight: 620; }
.raiz { display: grid; gap: 2rem clamp(2rem, 4vw, 4rem); margin-block: clamp(3rem, 6vw, 5.5rem) 2rem; list-style: none; }
.raiz li { display: grid; gap: .6rem; padding-top: 1.35rem; border-top: 1px solid var(--linea); }
.raiz h3 { font-size: var(--t-l); font-weight: 580; font-stretch: 112%; letter-spacing: -.035em; line-height: 1.08; }
@media (min-width: 60rem) { .raiz { grid-template-columns: repeat(3, minmax(0, 1fr)); } .raiz h3 { font-size: clamp(2.5rem, 4vw, 3.875rem); } }

.anatomia-logo { width: min(100%, 62rem); height: auto; margin: clamp(3rem, 6vw, 5.5rem) auto; overflow: visible; }
.anatomia-logo :is(.resto, .parte-cumbres) { fill: var(--cordillera); transition: opacity .35s; }
.anatomia-logo .parte-sol { fill: var(--arrebol); transition: opacity .35s; }
.anatomia-logo .parte-brazos { fill: none; stroke: var(--arrebol); stroke-width: 44; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset .7s var(--suave); visibility: hidden; }
[data-viendo="cumbres"] :is(.resto, .parte-sol), [data-viendo="sol"] :is(.resto, .parte-cumbres), [data-viendo="persona"] .resto { opacity: .16; }
[data-viendo="persona"] .parte-brazos { stroke-dashoffset: 0; visibility: visible; }
.anatomia-partes { display: grid; gap: 0 clamp(2rem, 4vw, 4rem); }
.anatomia-partes button { display: grid; gap: .6rem; align-content: start; padding: 1.35rem 0 1.5rem; border: 0; border-top: 1px solid var(--linea); background: none; text-align: left; transition: border-color .25s; }
.anatomia-partes strong { color: var(--titulo); font-size: var(--t-s); letter-spacing: -.015em; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .35em; text-decoration-color: var(--linea); }
.anatomia-partes button:hover { border-color: var(--titulo); }
.anatomia-partes button[aria-pressed="true"] { border-color: var(--arrebol); box-shadow: inset 0 2px 0 var(--arrebol); }
.anatomia-partes [aria-pressed="true"] strong { text-decoration-color: var(--arrebol); }
@media (min-width: 52rem) { .anatomia-partes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lema { max-width: 9em; font-size: var(--t-xl); }

/* ---------- Quiénes somos ---------- */
.portada-equipo h1 { max-width: 8em; }
.paneles-equipo { margin-top: -1px; padding-block: clamp(2.5rem, 4.5vw, 4.5rem) var(--aire); background: linear-gradient(#142250, var(--noche) 16rem) var(--noche); }
.equipo-pronto { padding-top: 0; }
.paneles-equipo > .ancho { display: grid; gap: 4rem; }
.panel-equipo { display: grid; gap: 2rem clamp(2rem, 5vw, 5rem); }
.panel-equipo dl { display: grid; gap: 1.5rem; align-content: start; }
.panel-equipo dl > div { display: grid; gap: .35rem; padding-top: 1.1rem; border-top: 1px solid var(--linea); }
.panel-equipo dt { color: var(--apagado); font-weight: 500; }
.panel-equipo dd { color: var(--titulo); font-size: var(--t-s); line-height: 1.4; }
.js .paneles-equipo > .ancho { gap: 0; }
.js .panel-equipo { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .35s, visibility .35s; }
.js .panel-equipo.activo { visibility: visible; opacity: 1; }
@media (min-width: 60rem) { .panel-equipo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Servicios ---------- */
/* El cotizador. Parte de noche y amanece al terminar. "--dia" va de 0 a 1. */
.cotizador { --dia: 0; position: relative; isolation: isolate; overflow: hidden; background: #0B1430; }
.cotizador-escena { overflow: hidden; }
.cotizador-fondo, .cotizador-noche { position: absolute; inset: 0; }
.cotizador-fondo { background: url(img/equipo-fondo.webp) 62% 100% / cover no-repeat; }
.cotizador-noche { background: linear-gradient(#070D22, #0D1738); opacity: calc(.86 * (1 - var(--dia))); }
.cotizador .lienzo, .cotizador .equipo-nombres { opacity: 0; transition: opacity .8s; }
.viva:is(.cotizador-escena) :is(.lienzo, .equipo-nombres) { opacity: 1; }
.cot-intro { display: grid; gap: .75rem; align-content: start; }
.cot-intro h1 { max-width: none; font-size: clamp(2.125rem, 1.5rem + 1.9vw, 3.25rem); }
.cot-intro .guia { max-width: 30em; color: #F1F4FC; }
.cot-panel { display: grid; gap: .5rem; align-content: start; min-width: 0; }
.cot-panel form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
.cot-ruta { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; }
.cot-ruta li { position: relative; }
.cot-ruta li:not(:last-child)::after { content: ""; position: absolute; left: 1.15rem; right: .25rem; top: .95rem; height: 2px; background: rgb(169 186 230 / .4); pointer-events: none; }
.cot-ruta button { display: grid; gap: .45rem; justify-items: start; align-content: start; width: 100%; min-height: 3.25rem; padding: .55rem 0 0; border: 0; background: none; color: #C5D0EE; font-size: 1rem; font-weight: 500; line-height: 1.2; letter-spacing: -.015em; text-align: left; }
.cot-ruta button::before { content: ""; width: .9rem; height: .9rem; border: 2px solid #A9B6DA; border-radius: 50%; transition: background-color .3s, border-color .3s, box-shadow .3s; }
.cot-ruta .hecho::before { border-color: var(--arrebol); background: var(--arrebol); }
.cot-ruta [aria-current] { color: #FFFFFF; font-weight: 640; }
.cot-ruta [aria-current]::before { border-color: var(--arrebol); box-shadow: 0 0 0 .3rem rgb(238 106 120 / .34); }
.cot-ruta button:disabled { cursor: default; }
.cot-ruta button:not(:disabled):hover span { text-decoration: underline; text-decoration-color: var(--arrebol); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.cot-relato { min-height: 1.6em; color: var(--alba); }
.cot-pregunta { display: block; }
.cot-pregunta legend { display: block; padding: 0; outline: 0; color: #FFFFFF; font-size: var(--t-m); font-weight: 580; font-stretch: 108%; line-height: 1.15; letter-spacing: -.026em; }
.cot-numero { display: block; margin-bottom: .35rem; color: #C5D0EE; font-size: 1rem; font-weight: 500; font-stretch: 100%; letter-spacing: 0; }
.cot-opciones { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14.5rem), 1fr)); gap: .55rem; margin-top: .9rem; }
.cot-opcion { position: relative; display: grid; }
.cot-opcion input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cot-opcion span { display: flex; align-items: center; gap: .8rem; min-height: 3.25rem; padding: .5rem 1rem; border: 1px solid #8EA0D0; border-radius: 3px; background: rgb(12 22 51 / .7); color: #FFFFFF; font-weight: 560; line-height: 1.25; transition: background-color .2s, color .2s, border-color .2s; }
.cot-opcion span::before { content: ""; flex: none; width: 1.2rem; height: 1.2rem; border: 2px solid #A9B6DA; border-radius: 50%; background: center / .8rem no-repeat; transition: border .2s, background-color .2s; }
.cot-opcion [type="checkbox"] + span::before { border-radius: 3px; }
.cot-opcion:hover span { border-color: #FFFFFF; }
.cot-opcion input:checked + span { border-color: #FFFFFF; background: #FFFFFF; color: var(--noche); }
.cot-opcion [type="radio"]:checked + span::before { border: .36rem solid var(--arrebol); background: #FFFFFF; }
.cot-opcion [type="checkbox"]:checked + span::before { border-color: var(--arrebol); background-color: var(--arrebol); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10' fill='none' stroke='%230C1633' stroke-width='2.4'%3E%3Cpath d='M1.500 5l3 3 6-7'/%3E%3C/svg%3E"); }
.cot-opcion input:focus-visible + span { outline: 3px solid var(--marca-foco); outline-offset: 2px; }
.cot-acciones { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.75rem; }
.cot-acciones .boton { order: -1; }
.cot-otros a { display: inline-flex; align-items: center; min-height: 2.75rem; color: #DCE4F7; }
.cot-final { gap: .85rem; }
.cotizador.lista .cot-otros { display: none; }
.cot-final h2 { outline: 0; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); }
.cot-final .entrada { min-height: 3rem; }
.cot-mensaje { width: 100%; }
.cot-mensaje summary { width: fit-content; padding-block: .6rem; color: #FFFFFF; font-weight: 600; cursor: pointer; }
.cot-mensaje[open] summary { margin-bottom: .4rem; }
.palabra-viva { display: inline-block; white-space: nowrap; }
.palabra-viva span { display: inline-block; }

/* La hoja de ruta se completa con las respuestas */
.hoja-ruta { transition: transform .8s var(--suave), box-shadow .8s; }
.cotizador.lista .hoja-ruta { transform: translateY(-.35rem); box-shadow: 0 1px 2px rgb(6 12 34 / .16), 0 2.5rem 5rem -1rem rgb(6 12 34 / .6); }
.hoja-ruta-cabeza { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1.25rem; border-bottom: 1px solid #DCE2F0; }
.hoja-ruta-cabeza p { min-width: 0; overflow-wrap: anywhere; }
.hoja-ruta-cabeza svg { flex: none; width: 1.9rem; color: var(--cordillera); }
.hoja-ruta dl { container-type: inline-size; padding: .4rem 1.25rem; }
.hoja-ruta dl > div { position: relative; display: grid; grid-template-columns: 4.9rem minmax(0, 1fr) auto; gap: 0 .75rem; align-items: center; min-height: 2.75rem; padding: .25rem 0 .25rem 1.6rem; }
.hoja-ruta dl > div::before { content: ""; position: absolute; z-index: 1; left: 0; top: 50%; width: .75rem; height: .75rem; translate: 0 -50%; border: 2px solid #8A96B8; border-radius: 50%; background: #FFFFFF; transition: background-color .3s, border-color .3s; }
.hoja-ruta dl > div:has(dd:not(.vacio))::before { border-color: var(--arrebol); background: var(--arrebol); }
.hoja-ruta dl > div + div::after { content: ""; position: absolute; left: .3rem; bottom: 50%; width: 2px; height: 100%; background: #D5DCEC; }
/* Si la letra es grande o hay poco espacio, la respuesta baja a su propia línea */
@container (max-width: 16rem) {
  .hoja-ruta dl > div { grid-template-columns: minmax(0, 1fr) auto; padding-block: .5rem; }
  .hoja-ruta dl > div > dt { grid-area: 1 / 1; }
  .hoja-ruta dl > div > dd { grid-area: 2 / 1; }
  .hoja-ruta dl > div > .enlace { grid-area: 1 / 2 / 3 / 3; }
}
.hoja-ruta dt { color: #4F5D86; font-weight: 500; }
.hoja-ruta dd { min-width: 0; color: #101C42; font-weight: 600; line-height: 1.3; }
.hoja-ruta dd.vacio { color: #5A688F; font-weight: 400; }
.hoja-ruta .enlace { color: var(--cordillera); font-weight: 560; }
.hoja-ruta :focus-visible { --marca-foco: #1B2C5C; }
.hoja-ruta-pie { max-width: none; padding: .85rem 1.25rem 1rem; background: var(--niebla); }
.cot-barra { position: fixed; z-index: 12; inset: auto 0 0; padding-block: .6rem calc(.6rem + env(safe-area-inset-bottom, 0px)); background: var(--cordillera); color: #E6ECFA; box-shadow: 0 -1rem 2.5rem -1rem rgb(6 12 34 / .4); }
.cot-barra .ancho { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; }
.cot-barra p { min-width: 0; line-height: 1.3; }
.cot-barra strong { color: #FFFFFF; }
.cot-barra .boton { flex: none; }
.cot-barra :focus-visible { --marca-foco: var(--alba); }

@media (max-width: 59.99rem) {
  .cotizador { display: flex; flex-direction: column; padding-block: calc(var(--cab) + 1rem) 3rem; }
  .cotizador-fila { display: contents; }
  .cot-intro, .cot-panel, .hoja-ruta { margin-left: max(var(--lado), env(safe-area-inset-left, 0px)); margin-right: max(var(--lado), env(safe-area-inset-right, 0px)); }
  .cot-intro { order: 1; }
  .cotizador-escena { position: relative; order: 2; height: clamp(13rem, 56vw, 24rem); margin-top: -1rem; -webkit-mask-image: linear-gradient(transparent, #000 34%, #000 82%, transparent); mask-image: linear-gradient(transparent, #000 34%, #000 82%, transparent); }
  .cotizador-fondo { background-image: url(img/equipo-fondo-celular.webp); background-position: 50% 78%; }
  .cot-panel { order: 3; margin-top: .5rem; }
  .cot-panel form { scroll-margin-top: 6.5rem; }
  .hoja-ruta { order: 4; margin-top: 1.5rem; }
}
@media (max-width: 47.99rem) {
  .cot-ruta button { font-size: min(.9375rem, 4.2vw); }
  .cot-opciones { grid-template-columns: minmax(0, 1fr); }
  .cot-acciones .boton { flex: 1 1 14rem; }
}
@media (min-width: 60rem) {
  .cotizador { min-height: max(45rem, min(100svh, 60rem)); }
  .cotizador-escena { position: absolute; inset: 0; z-index: -1; }
  .cotizador::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--junta), transparent clamp(1.5rem, 4vw, 4rem)), linear-gradient(90deg, rgb(8 14 36 / .92), rgb(8 14 36 / .82) 36%, transparent 55%); pointer-events: none; }
  .cotizador-fila { display: grid; grid-template: auto minmax(0, 1fr) / minmax(0, 42fr) minmax(0, 58fr); gap: 1.5rem clamp(2.5rem, 6vw, 6.5rem); padding-block: calc(var(--cab) + clamp(1rem, 3svh, 2.5rem)) 2.5rem; }
  .cot-panel { grid-area: 2 / 1; }
  .hoja-ruta { grid-area: 1 / 2 / 3 / 3; justify-self: end; align-self: start; width: min(100%, 26rem); margin-top: .5rem; }
}

/* La historia: un negocio pasa por los tres servicios */
.historia { padding-bottom: clamp(1rem, 3vw, 3rem); }
.historia-intro .opciones > legend { max-width: 24em; font-weight: 500; }
.capitulo { padding-block: clamp(3rem, 6.5vw, 6.5rem); scroll-margin-top: -1.5rem; }
.capitulo h3 { max-width: 12em; font-size: clamp(1.875rem, 1.35rem + 2vw, 3.25rem); font-weight: 580; font-stretch: 112%; line-height: 1.06; letter-spacing: -.034em; }
.capitulo .boton { margin-top: .5rem; }
.historia .ventana { --verde: #174A3D; --limon: #F2D35B; --hoja: #8FC3A8; }
.historia[data-negocio="panaderia"] .ventana { --verde: #6B2A3A; --limon: #FFD9A8; --hoja: #E9B7A6; }
.historia[data-negocio="vivero"] .ventana { --verde: #3A5A1C; --limon: #F7B5C4; --hoja: #B9D48B; }
.historia :is(.sitio-portada, .sitio-boton, .anuncio-imagen, .anuncio-quien svg, .anuncio-accion strong) { transition: background-color .5s; }
.muestra { display: grid; gap: 1.1rem; }
.muestra figcaption { color: var(--apagado); }

/* Página de ejemplo. Tiene colores propios porque cada negocio tiene los suyos. */
.muestra-web .muestra-dibujo { position: relative; padding: 0 9% 9% 0; container-type: inline-size; }
.sitio-barra { display: flex; align-items: center; gap: 3cqw; padding: 2.4cqw 3.4cqw; background: #FFFFFF; font-size: max(.6875rem, 2cqw); white-space: nowrap; overflow: hidden; }
.sitio-barra strong { margin-right: auto; color: var(--verde); font-weight: 700; letter-spacing: -.02em; }
.sitio-portada { position: relative; overflow: hidden; display: grid; gap: 3cqw; justify-items: start; align-content: center; min-height: 40cqw; padding: 5cqw 3.4cqw; background: var(--verde); color: #F3F8F1; }
.sitio-portada p { position: relative; z-index: 1; max-width: 8.5em; font-size: 6.4cqw; font-weight: 640; font-stretch: 100%; line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.sitio-portada svg { position: absolute; right: -13cqw; top: 3cqw; width: 50cqw; color: var(--hoja, #8FC3A8); transition: color .5s; }
.sitio-boton { position: relative; z-index: 1; padding: 1.5cqw 2.6cqw; border-radius: 99px; background: var(--limon); color: #14302A; font-size: max(.6875rem, 2.2cqw); font-weight: 650; }
.sitio-lista { padding: 1.4cqw 3.4cqw 2.4cqw; font-size: max(.75rem, 2.2cqw); }
.sitio-lista p { display: flex; justify-content: space-between; gap: 1rem; max-width: none; padding-block: 1.5cqw; border-bottom: 1px solid #DFE8E1; }
.sitio-lista p:last-child { border: 0; }
.sitio-ejemplo .sitio-lista p { max-width: 57cqw; }
.sitio-celular { position: absolute; right: 0; bottom: 0; width: 30cqw; border: .9cqw solid #101319; border-radius: 3.4cqw; }
.sitio-celular .sitio-portada { align-content: end; min-height: 36cqw; padding: 2.2cqw; gap: 1.6cqw; }
.sitio-celular .sitio-portada p { font-size: 3.7cqw; }
.sitio-celular .sitio-portada svg { right: -10cqw; top: -14.5cqw; width: 29cqw; }
.sitio-celular .sitio-boton { padding: 1cqw 1.7cqw; font-size: 1.75cqw; }
.sitio-celular .sitio-lista { padding: .8cqw 2.2cqw 1.6cqw; font-size: 1.62cqw; }
.sitio-celular .sitio-lista p { padding-block: 1cqw; }

.muestra-anuncios .muestra-dibujo { display: grid; gap: 1.5rem; container-type: inline-size; }
.anuncio-quien { display: flex; align-items: center; gap: .7rem; max-width: none; padding: .9rem 1.1rem; }
.anuncio-quien svg { flex: none; width: 2.1rem; padding: .3rem; border-radius: 50%; background: var(--verde); color: #FFFFFF; }
.anuncio-quien span { margin-left: auto; color: #4F5D86; }
.anuncio-imagen { position: relative; overflow: hidden; display: grid; align-items: end; aspect-ratio: 1; padding: 1.25rem; background: var(--limon); color: #14302A; }
.anuncio-imagen svg { position: absolute; right: -17%; top: -52%; width: 98%; color: var(--verde); transition: color .5s; }
.anuncio-imagen p { position: relative; max-width: 7em; font-size: clamp(1.625rem, 6.6cqw, 2.75rem); font-weight: 680; font-stretch: 100%; line-height: 1; letter-spacing: -.04em; text-wrap: balance; }
.anuncio-accion { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; max-width: none; padding: 1rem 1.1rem 1.1rem; }
.anuncio-accion span { flex: 1 1 11rem; }
.anuncio-accion strong { padding: .5rem 1rem; border-radius: 99px; background: var(--verde); color: #FFFFFF; }
.anuncio-busca { display: grid; gap: .35rem; padding: 1.2rem; }
.anuncio-busca p:first-child { color: #4F5D86; }
.anuncio-busca p:nth-child(2) { font-size: var(--t-s); line-height: 1.3; }
.anuncio-busca p:nth-child(2) strong { color: #1B4CB3; font-weight: 560; }
@media (min-width: 40rem) {
  .muestra-anuncios .muestra-dibujo { grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); align-items: start; }
  .anuncio-busca { margin-top: clamp(3rem, 9vw, 9rem); }
}

.resumen { max-width: 36rem; }
.resumen-cabeza { display: flex; align-items: start; justify-content: space-between; gap: 1rem; padding: clamp(1.25rem, 2.4vw, 2rem); border-bottom: 1px solid #DCE2F0; }
.resumen-cabeza p { display: grid; gap: .15rem; }
.resumen-cabeza strong { font-size: var(--t-m); font-stretch: 108%; letter-spacing: -.025em; line-height: 1.2; }
.resumen-cabeza span { color: #4F5D86; }
.resumen-cabeza svg { flex: none; width: 2.75rem; color: var(--cordillera); }
.resumen dl { display: grid; gap: 1.25rem; padding: clamp(1.25rem, 2.4vw, 2rem); }
.resumen dt { color: #4F5D86; font-weight: 500; }
.resumen dd { color: #101C42; font-size: var(--t-s); line-height: 1.4; }
@media (min-width: 60rem) { .muestra-resumen { justify-self: end; } }

/* ---------- Trabajos ---------- */
.trayecto { position: relative; margin-top: clamp(3rem, 6vw, 5.5rem); }
.trayecto > svg { width: 100%; height: clamp(6rem, 17vw, 15rem); overflow: visible; }
.trayecto path { fill: none; stroke: #8EA0D0; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.trayecto-sol { position: absolute; left: 81%; top: 0; width: clamp(1.6rem, 4.6vw, 4rem); aspect-ratio: 1; border-radius: 50%; background: var(--arrebol); }
.trayecto ol { display: grid; gap: 2rem clamp(1.5rem, 3vw, 3rem); margin-top: 2rem; list-style: none; }
.trayecto li { display: grid; gap: .4rem; align-content: start; }
@media (min-width: 40rem) { .trayecto ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60rem) { .trayecto ol { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Historias: el punto recorre la M */
.travesia-linea { position: relative; }
.travesia-linea > svg { display: block; width: 100%; height: clamp(6rem, 17vw, 15rem); overflow: visible; }
.travesia .trayecto-sol { transition: box-shadow .8s, scale .8s var(--suave); }
.travesia.con-sol .trayecto-sol { scale: 1.2; box-shadow: 0 0 0 .6rem rgb(238 106 120 / .22), 0 0 4rem 1rem rgb(255 210 191 / .45); }
.travesia-punto { position: absolute; left: 10%; top: 88%; width: 1rem; height: 1rem; border: 3px solid var(--noche); border-radius: 50%; background: var(--alba); box-shadow: 0 0 0 2px var(--alba); translate: -50% -50%; }
.travesia li { padding-top: .5rem; border-top: 2px solid var(--linea); transition: border-color .4s; }
.travesia li:has([aria-pressed="true"]) { border-top-color: var(--arrebol); }
.travesia h3 button { width: 100%; min-height: 2.75rem; padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-align: left; text-decoration: underline transparent 2px; text-underline-offset: .22em; cursor: pointer; }
.travesia h3 button:is(:hover, [aria-pressed="true"]) { text-decoration-color: var(--arrebol); }
/* En el celular, la montaña queda a la vista mientras se recorren los textos */
@media (max-width: 39.99rem) and (min-height: 36rem) {
  .travesia-mapa { position: sticky; z-index: 2; top: var(--cab); padding-block: 1.5rem 1rem; background: var(--noche); }
}

.portada-proyecto { position: relative; overflow: hidden; background: #101D45; }
.portada-proyecto .hoja-mapa { position: relative; display: block; height: 92vw; max-height: 34rem; }
.portada-proyecto { display: flex; flex-direction: column; }
.portada-proyecto > .ancho { order: 2; padding-block: 1rem 4rem; }
.portada-proyecto-texto { position: relative; z-index: 1; }
.portada-proyecto .etiqueta { color: var(--alba); }
@media (min-width: 52rem) {
  .portada-proyecto { display: grid; align-items: end; min-height: min(100svh, 54rem); }
  .portada-proyecto .hoja-mapa { position: absolute; inset: 0 0 0 auto; width: 62%; height: 100%; max-height: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 38%); mask-image: linear-gradient(90deg, transparent, #000 38%); }
  .portada-proyecto > .ancho { padding-block: calc(var(--cab) + 3rem) clamp(4rem, 8vw, 7rem); }
  .portada-proyecto-texto { max-width: 46%; }
}
.siguiente { display: grid; }
.siguiente .hoja:first-child .hoja-texto { left: max(var(--lado), (100vw - 100rem) / 2 + var(--lado), env(safe-area-inset-left, 0px)); }
.siguiente .hoja { aspect-ratio: 4 / 3; }
.siguiente .hoja-mapa { height: 128%; }
@media (min-width: 48rem) { .siguiente { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Boletín ---------- */
.portada-boletin { padding-block: calc(var(--cab) + clamp(2rem, 5vw, 4.5rem)) var(--aire); }
.portada-boletin h1 { font-size: var(--t-l); max-width: 11em; }
.portada-boletin form { gap: 2.25rem; }
.bitacora-campos { width: 100%; gap: 1.75rem; }
.portada-boletin .tapa-marco { align-content: center; }
.portada-boletin .tapa { width: min(100%, 30rem); }
@media (min-width: 60rem) { .portada-boletin .dos { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
@media (max-width: 59.99rem) {
  .portada-boletin .ancho { gap: 2rem; }
  .portada-boletin form { display: contents; }
  .bitacora-intro { order: 1; } .portada-boletin .tapa-marco { order: 2; justify-items: start; } .bitacora-campos { order: 3; }
  .portada-boletin .tapa { width: min(72%, 18rem); }
}
#tu-edicion { outline: 0; }
.consejo { display: grid; gap: .6rem; margin-top: clamp(2rem, 4vw, 3.5rem); padding: clamp(1.5rem, 3vw, 2.5rem); border-left: 4px solid var(--arrebol); background: var(--niebla); }
@media (min-width: 60rem) { .consejo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); align-items: baseline; } }
.notas { margin-top: clamp(2rem, 4vw, 3.5rem); margin-bottom: 1rem; border-top: 1px solid var(--linea); interpolate-size: allow-keywords; }
.nota { border-bottom: 1px solid var(--linea); }
.nota summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .3rem 1.5rem; padding: 1.4rem 0; cursor: pointer; list-style: none; }
.nota summary::-webkit-details-marker { display: none; }
.nota summary span { grid-column: 1; grid-row: 2; color: var(--apagado); }
.nota summary::after { content: ""; grid-column: 2; grid-row: 1 / 3; width: .8rem; height: .8rem; margin: 0 .5rem; border: solid var(--titulo); border-width: 0 2px 2px 0; transform: translateY(-25%) rotate(45deg); transition: transform .4s var(--suave); }
.nota[open] summary::after { transform: translateY(25%) rotate(225deg); }
.nota summary:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--arrebol); text-underline-offset: .25em; }
.nota::details-content { height: 0; overflow: clip; transition: height .45s var(--suave), content-visibility .45s allow-discrete; }
.nota[open]::details-content { height: auto; }
.nota-cuerpo { display: grid; gap: 2rem clamp(2rem, 4vw, 4rem); padding: .25rem 0 2.5rem; }
.nota-cuerpo > div { display: grid; gap: 1.1rem; align-content: start; }
.nota-cuerpo .prueba { gap: .5rem; align-self: start; padding: 1.5rem; border-left: 4px solid var(--arrebol); background: var(--niebla); }
@media (min-width: 60rem) { .nota-cuerpo { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }

/* ---------- Portal de clientes ---------- */
.portada-portal { display: grid; align-items: center; min-height: min(100svh, 58rem); padding-block: calc(var(--cab) + clamp(1.5rem, 4vw, 3.5rem)) clamp(3rem, 6vw, 6rem); }
.portada-portal h1 { font-size: var(--t-l); max-width: 11em; }
.portal-tarjeta { width: min(100%, 34rem); gap: 1.25rem; padding: clamp(1.25rem, 2.4vw, 2rem); border: 1px solid var(--linea); border-radius: 5px; background: rgb(27 44 92 / .72); }
.portal-tarjeta .etiqueta { color: var(--alba); }
.portal-tarjeta h2 { font-size: var(--t-m); }
.portada-portal .boton.claro:hover { background: rgb(255 255 255 / .1); }

/* Dentro del portal no se ven el menú ni el pie del sitio */
.en-portal :is(.cabecera, .pie) { display: none; }
.portal { display: grid; min-height: 100svh; }
.portal-lado { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .25rem 1rem; min-width: 0; padding: calc(.75rem + env(safe-area-inset-top, 0px)) max(var(--lado), env(safe-area-inset-right, 0px)) 0 max(var(--lado), env(safe-area-inset-left, 0px)); }
.portal-quien { display: grid; grid-area: 2 / 1 / 3 / 3; gap: .2rem; padding-block: .25rem .5rem; }
.portal-quien h1 { outline: 0; font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); line-height: 1.1; }
.portal-quien p { color: var(--alba); }
.pestanas { position: relative; display: flex; grid-area: 3 / 1 / 4 / 3; gap: clamp(1.15rem, 2.6vw, 2.5rem); min-width: 0; margin-inline: calc(var(--lado) * -1); padding-inline: var(--lado); overflow-x: auto; scrollbar-width: thin; scrollbar-color: #5569A3 transparent; }
.pestanas button { flex: none; min-height: 3.25rem; padding: .4rem 0; border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: none; color: #C5D0EE; font-weight: 560; line-height: 1.2; letter-spacing: -.012em; text-align: left; transition: color .2s; }
.pestanas button:hover { color: #FFFFFF; }
.pestanas button[aria-selected="true"] { border-color: var(--arrebol); color: #FFFFFF; }
.pestanas button:focus-visible { outline-offset: -4px; }
.punto-salta { display: none; position: absolute; left: 0; top: 0; width: .7rem; height: .7rem; border-radius: 50%; background: var(--arrebol); }
.portal-cuerpo { min-width: 0; max-width: 84rem; padding: clamp(1.75rem, 3.4vw, 3.5rem) max(var(--lado), env(safe-area-inset-right, 0px)) clamp(3rem, 6vw, 6rem) max(var(--lado), env(safe-area-inset-left, 0px)); }
@media (min-width: 60rem) {
  .portal { grid-template-columns: 17.5rem minmax(0, 1fr); }
  .portal-lado { position: sticky; top: 0; align-self: start; grid-template: auto auto 1fr auto / minmax(0, 1fr); align-content: start; justify-content: stretch; gap: 1.75rem; height: 100svh; padding: 2rem 1.75rem 1.25rem max(1.75rem, env(safe-area-inset-left, 0px)); overflow-y: auto; }
  .portal-quien { grid-area: auto; padding: 0; }
  .pestanas { grid-area: auto; flex-direction: column; align-self: start; gap: .15rem; margin: 0; padding: 0; overflow: visible; }
  .pestanas button { min-height: 2.875rem; padding: .4rem 0 .4rem 1.5rem; border: 0; font-size: 1.125rem; }
  .punto-salta { display: block; }
  .portal-cuerpo { padding-inline: clamp(2rem, 4vw, 4.5rem) max(clamp(2rem, 4vw, 4.5rem), env(safe-area-inset-right, 0px)); }
}
.resumen-arriba { display: grid; gap: clamp(1.25rem, 3vw, 3rem); }
@media (min-width: 72rem) { .resumen-arriba { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.decision { display: grid; gap: 1rem; justify-items: start; padding: clamp(1.25rem, 2.6vw, 2.25rem); border-radius: 5px; background: var(--cordillera); color: #E6ECFA; transition: background-color .5s, color .5s; }
.decision h2 { color: inherit; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); }
.decision.respondida { background: var(--niebla); color: #101C42; }
.decision #decision-aviso:empty { display: none; }
.opcion-portal { min-height: 2.875rem; padding: .45rem 1.1rem; border: 1px solid currentColor; border-radius: 3px; background: none; color: inherit; font-weight: 600; line-height: 1.2; transition: background-color .2s, color .2s; }
.opcion-portal:hover { background: rgb(142 160 208 / .3); }
.opcion-portal[aria-pressed="true"] { border-color: var(--arrebol); background: var(--arrebol); color: var(--noche); }
.decision:not(.respondida) :focus-visible { --marca-foco: var(--alba); }
.cuenta-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.75rem, 3vw, 2.75rem); }
.cuenta-panel h2 { font-size: var(--t-m); line-height: 1.2; letter-spacing: -.025em; }
.cuenta-ruta { max-width: 64rem; padding-top: 1rem; }
.ruta-etapas { display: flex; flex-wrap: wrap; gap: .5rem clamp(1.25rem, 3vw, 2.5rem); list-style: none; counter-reset: etapa; }
.ruta-etapas li { counter-increment: etapa; color: var(--apagado); }
.ruta-etapas li::before { content: counter(etapa) ". "; }
.ruta-etapas [aria-current] { color: var(--titulo); font-weight: 640; text-decoration: underline; text-decoration-color: var(--arrebol); text-decoration-thickness: 3px; text-underline-offset: .45em; }
.cuenta-bloque .cuenta-ruta { width: 100%; max-width: 44rem; }
.ruta-tareas { margin-top: .5rem; }
.cifras { display: grid; gap: 1.75rem clamp(2rem, 4vw, 4rem); align-items: end; }
.cifra { display: grid; gap: .2rem; }
.cifra-nombre { color: var(--titulo); font-weight: 600; }
.cifra-valor { color: var(--titulo); font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3.25rem); font-weight: 580; font-stretch: 108%; line-height: 1.08; letter-spacing: -.035em; }
.cifra.principal .cifra-valor { font-size: clamp(3.25rem, 2.4rem + 3.2vw, 5.5rem); line-height: 1; }
@media (min-width: 52rem) { .cifras { grid-template-columns: 1.15fr 1fr 1fr; } .cifra .apagado { min-height: 3.2em; } }
.grafico { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; }
.grafico figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 2rem; }
.grafico-caja { position: relative; min-height: 250px; touch-action: pan-y; cursor: crosshair; }
.grafico-caja text { font: 400 1rem var(--letra); fill: #4F5D86; font-variant-numeric: tabular-nums; }
.grafico-caja text.g-cima { font-weight: 640; fill: #101C42; font-variant-numeric: normal; }
.g-linea { stroke: #D9DFED; } .g-base { stroke: #8A96B8; }
.g-area { fill: var(--cordillera); fill-opacity: .1; }
.g-serie { fill: none; stroke: var(--cordillera); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.g-punto { fill: var(--cordillera); stroke: var(--nieve); stroke-width: 2; }
.g-guia { stroke: var(--cordillera); stroke-width: 1; }
.globo { position: absolute; z-index: 1; display: grid; padding: .55rem .9rem .65rem; border-radius: 3px; background: var(--noche); color: #FFFFFF; line-height: 1.35; white-space: nowrap; pointer-events: none; }
.globo span { color: #C9D4F0; }
.tabla-caja { max-width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { padding: .7rem 1.25rem .7rem 0; border-bottom: 1px solid var(--linea); text-align: left; vertical-align: top; }
thead th { color: var(--titulo); font-weight: 640; border-bottom-color: var(--apagado); }
tbody th { font-weight: 500; color: var(--titulo); }
#tabla-datos :is(th, td):not(:first-child) { text-align: right; padding-right: 0; padding-left: 1.25rem; }
.resumen-tarea { display: grid; gap: .9rem; align-content: center; justify-items: start; padding: clamp(1.5rem, 3.5vw, 3rem); border-radius: 5px; background: var(--cordillera); color: #DCE4F7; }
.resumen-tarea :is(h2, .enlace) { color: #FFFFFF; }
.resumen-tarea h2 { font-size: clamp(1.625rem, 1.2rem + 1.5vw, 2.5rem); line-height: 1.12; }
.resumen-datos { display: grid; align-content: start; border-top: 1px solid var(--linea); }
.resumen-datos > div { display: grid; gap: .15rem; padding-block: 1.05rem 1.15rem; border-bottom: 1px solid var(--linea); }
.resumen-datos dt { color: var(--apagado); }
.resumen-datos dd { color: var(--titulo); font-size: var(--t-s); font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.resumen-datos dd::first-letter { text-transform: uppercase; }
#datos-correo::first-letter { text-transform: none; }
.resumen-numeros, .cuenta-bloque { display: grid; gap: 1.25rem; align-content: start; justify-items: start; }
.resumen-numeros .cifras, .cuenta-bloque > :is(ul, dl) { width: 100%; }
.conexiones { border-top: 1px solid var(--linea); list-style: none; }
.conexiones li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .9rem 2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--linea); }
.conexiones div { display: grid; gap: .25rem; }
.conexiones h3 { font-size: var(--t-s); font-weight: 620; }
.conexiones span { padding: .25rem .8rem; border: 1px dashed var(--apagado); border-radius: 2px; color: var(--apagado); font-weight: 500; }
@media (prefers-reduced-motion: no-preference) {
  .g-avanza { stroke-dasharray: 1; animation: trazar 1.1s var(--suave) backwards; }
  .g-entra { animation: entrar .7s .45s backwards; }
  @keyframes trazar { from { stroke-dashoffset: 1; } }
  @keyframes entrar { from { opacity: 0; } }
}

/* ---------- Seguridad ---------- */
.medidas { display: grid; gap: 0 clamp(2rem, 5vw, 5rem); margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.medidas > div { display: grid; gap: .5rem; align-content: start; padding-block: 1.5rem 2rem; border-top: 1px solid var(--linea); }
.medidas dt { font-size: var(--t-s); font-weight: 620; line-height: 1.3; letter-spacing: -.015em; }
.medidas dd { max-width: 54ch; }
@media (min-width: 52rem) { .medidas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.politica { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5rem); }
.politica-indice { display: grid; gap: 1.5rem; align-content: start; }
.politica-indice h2 { font-size: clamp(2rem, 1.6rem + 1.4vw, 3rem); }
.politica-indice ul { display: grid; list-style: none; }
.politica-indice li a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.borrador { padding: 1rem 1.25rem; border-left: 4px solid var(--arrebol); background: var(--niebla); }
.politica-texto { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.75rem, 5vw, 4.5rem); }
.politica-texto section { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; scroll-margin-top: calc(var(--cab) + 1rem); }
.politica-texto table { min-width: 42rem; }
.politica-texto p, .politica-texto li { max-width: 66ch; }
.politica mark { padding: .05em .35em; background: var(--alba); color: var(--noche); }
.ficha-legal div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--linea); }
.ficha-legal dt { font-weight: 560; }
@media (min-width: 64rem) {
  .politica { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .politica-indice { position: sticky; top: calc(var(--cab) + 2rem); align-self: start; }
}

/* ---------- Contacto ---------- */
.portada-contacto { --dia: 0; position: relative; display: grid; }
.portada-contacto .amanecer { --dia: inherit; position: relative; inset: auto; height: 90vw; }
.portada-contacto .plano { --sx: 49.56%; --sy: 56.72%; --sd: 4.08%; --baja: 450%; --mar: 31%; bottom: -8vw; aspect-ratio: 4 / 5; -webkit-mask-image: linear-gradient(transparent, #000 22%); mask-image: linear-gradient(transparent, #000 22%); }
.portada-contacto .amanecer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgb(9 17 44 / .5), transparent 8rem); }
.portada-contacto .p-sol { box-shadow: 0 0 .9rem .25rem rgb(255 244 235 / .85), 0 0 3.5rem 1.2rem rgb(255 226 210 / .4); }
.contacto-fila { display: grid; gap: 2.5rem; align-content: start; padding-block: 2.75rem var(--aire); }
.portada-contacto h1 { font-size: var(--t-l); max-width: 10em; }
.contacto-forma { min-width: 0; }
.contacto-forma form { gap: 1.75rem; }
.contacto-otra { gap: .5rem; }
.contacto-otra h2 { font-size: clamp(1.75rem, 1.5rem + 1.4vw, 2.75rem); }
.contacto-directo { display: grid; gap: .25rem; margin-top: .5rem; }
.contacto-directo ul { display: grid; list-style: none; }
.contacto-directo a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--titulo); font-size: var(--t-s); font-weight: 600; }
.mensaje-listo h2 { font-size: clamp(1.75rem, 1.5rem + 1.4vw, 2.75rem); outline: 0; }
.pasos { counter-reset: paso; }
.pasos li { counter-increment: paso; }
.pasos h3::before { content: counter(paso) ". "; }
@media (min-width: 40rem) and (max-width: 63.99rem) {
  .portada-contacto .amanecer { height: 62vw; }
  .portada-contacto .plano { left: 12%; width: 76%; bottom: -6vw; }
}
@media (min-width: 64rem) {
  .portada-contacto { grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); align-items: start; }
  .portada-contacto .amanecer { position: sticky; top: 0; grid-area: 1 / 2; height: 100svh; min-height: 40rem; max-height: none; }
  .portada-contacto .plano { bottom: 0; }
  .contacto-fila { grid-area: 1 / 1; max-width: 58rem; margin-inline: auto 0; padding-block: calc(var(--cab) + clamp(2rem, 4vw, 4rem)) var(--aire); padding-right: clamp(2rem, 4vw, 4.5rem); }
}