/* Soluciones Públicas y Privadas — rediseño 2026 (HTML + CSS + Motion).
   Colores tomados del logo: azul #0C4A6B y turquesa #44BAB4. Hexágonos: el patrón de fondo del sitio anterior. */
:root {
  --noche: #061C2A;
  --noche-2: #0A2A3D;
  --noche-3: #0F3550;
  --navy: #0C4A6B;
  --teal: #44BAB4;
  --teal-claro: #7ADAD4;
  --teal-texto: #17736E;
  --hielo: #EEF5F7;
  --hielo-2: #E2EEF1;
  --papel: #FFFFFF;
  --texto: #0D2433;
  --gris: #4A6070;
  --linea: rgba(13, 36, 51, .12);
  --alerta: #F2A93B;
  --f: 'Barlow Semi Condensed', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fc: 'Barlow Condensed', 'Barlow Semi Condensed', system-ui, sans-serif;
  --b: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', monospace;
  --e: cubic-bezier(.22, 1, .36, 1);
  --rebote: cubic-bezier(.34, 1.56, .64, 1);
  --nav-h: 78px;
  /* logo: colores por variable para usarlo en positivo y en negativo */
  --lg-teal: #44BAB4; --lg-navy: #0C4A6B;
}
.neg { --lg-navy: #fff; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--hielo); color: var(--texto); font: 400 17px/1.65 var(--b); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
.i { width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.saltar { position: fixed; left: 16px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 10px; background: var(--teal); color: var(--noche); font-weight: 700; text-decoration: none; transition: top .2s; }
.saltar:focus { top: 16px; }

.contenedor { width: min(1240px, 100% - 2 * clamp(16px, 4vw, 40px)); margin-inline: auto; }
.seccion { position: relative; isolation: isolate; padding: clamp(84px, 11vw, 150px) 0; overflow-x: clip; }
.fondo-hexas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; color: rgba(12, 74, 107, .06); pointer-events: none; -webkit-mask-image: radial-gradient(ellipse 42% 46% at 100% 0%, #000 8%, transparent 72%); mask-image: radial-gradient(ellipse 42% 46% at 100% 0%, #000 8%, transparent 72%); }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 20px; font: 500 12.5px/1.3 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-texto); }
.eyebrow__raya { display: block; width: 30px; height: 2px; background: var(--teal); transform-origin: left; }
.eyebrow--claro { color: var(--teal-claro); }
.titulo { margin: 0 0 22px; font: 700 clamp(34px, 4.6vw, 60px)/1.04 var(--f); letter-spacing: -.012em; text-wrap: balance; color: var(--texto); }
.titulo em { font-style: normal; color: var(--navy); background: linear-gradient(transparent 70%, rgba(68, 186, 180, .38) 70%, rgba(68, 186, 180, .38) 92%, transparent 92%); }
.titulo--claro { color: #fff; }
.titulo--claro em { background: none; color: var(--teal-claro); }
.palabra { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.palabra > span { display: inline-block; }
.titulo .palabra.acento > span { color: var(--navy); background: linear-gradient(transparent 70%, rgba(68, 186, 180, .38) 70%, rgba(68, 186, 180, .38) 92%, transparent 92%); }
.titulo--claro .palabra.acento > span { background: none; color: var(--teal-claro); }
.lead { max-width: 46ch; margin: 0; font-size: clamp(17px, 1.45vw, 19px); line-height: 1.62; color: var(--gris); }

/* ---------- botones ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border: 0; border-radius: 12px; font: 700 16.5px/1 var(--f); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.btn .i { width: 19px; height: 19px; transition: translate .3s var(--e); }
.btn:hover .i:last-child:not(:first-child) { translate: 3px 0; }
.btn--teal { background: var(--teal); color: var(--noche); box-shadow: 0 14px 30px -16px rgba(6, 28, 42, .7); }
.btn--teal:hover { background: var(--teal-claro); }
.btn--linea { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); }
.btn--linea:hover { box-shadow: inset 0 0 0 1.5px var(--teal); }
.btn--linea .i { color: var(--teal-claro); }
.btn--borde { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px rgba(12, 74, 107, .35); }
.btn--borde:hover { box-shadow: inset 0 0 0 1.5px var(--navy); background: rgba(12, 74, 107, .05); }
.btn--chico { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--ancho { width: 100%; }

/* ---------- barra de avance ---------- */
.progreso { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 210; pointer-events: none; transform-origin: left; scale: 0 1; background: linear-gradient(90deg, var(--teal), var(--teal-claro)); }

/* ---------- menú ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 200; height: var(--nav-h); color: #fff; transition: background .35s, box-shadow .35s; }
.nav::before { content: ""; position: absolute; inset: 0 0 -30px; z-index: -1; background: linear-gradient(rgba(6, 28, 42, .7), transparent); pointer-events: none; transition: opacity .35s; }
.nav.solida { background: rgba(6, 28, 42, .9); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 rgba(255, 255, 255, .07); }
.nav.solida::before { opacity: 0; }
.nav__in { height: 100%; width: min(1320px, 100% - 2 * clamp(16px, 3vw, 32px)); margin-inline: auto; display: flex; align-items: center; gap: 14px; }
.nav__logo { display: flex; align-items: center; gap: 11px; flex: none; color: #fff; text-decoration: none; transition: opacity .45s, translate .55s var(--e), visibility 0s; }
.nav.en-hero:not([data-abierto]) .nav__logo { opacity: 0; translate: 0 -10px; visibility: hidden; pointer-events: none; transition: opacity .3s, translate .3s, visibility 0s .3s; }
.nav__iso { display: block; width: 44px; height: 44px; }
.nav__marca { display: flex; flex-direction: column; line-height: 1; }
.nav__marca b { font: 800 23px/.9 var(--fc); letter-spacing: .035em; text-transform: uppercase; }
.nav__marca span { margin-top: 4px; font: 500 11.5px/1 var(--f); letter-spacing: .13em; text-transform: uppercase; color: var(--teal); }
.nav__links { display: flex; gap: 2px; margin-left: auto; }
.nav__links a { position: relative; padding: 10px 11px; font: 600 14px/1 var(--f); letter-spacing: .07em; text-transform: uppercase; color: rgba(255, 255, 255, .8); text-decoration: none; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px; background: var(--teal); scale: 0 1; transition: scale .35s var(--e); }
.nav__links a:hover, .nav__links a.activo { color: #fff; }
.nav__links a:hover::after, .nav__links a.activo::after { scale: 1 1; }
.nav__links .nav__movil-tel { display: none; }
.nav__tel { display: inline-flex; align-items: center; gap: 8px; margin-left: 6px; color: #fff; text-decoration: none; font: 400 13.5px var(--mono); white-space: nowrap; }
.nav__tel .i { width: 17px; height: 17px; color: var(--teal); }
.nav__hamb { display: none; width: 46px; height: 46px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .08); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav__hamb span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: translate .3s, rotate .3s, opacity .3s; }
.nav[data-abierto] .nav__hamb span:nth-child(1) { translate: 0 7px; rotate: 45deg; }
.nav[data-abierto] .nav__hamb span:nth-child(2) { opacity: 0; }
.nav[data-abierto] .nav__hamb span:nth-child(3) { translate: 0 -7px; rotate: -45deg; }
@media (max-width: 1379px) { .nav__tel span { display: none; } }
@media (max-width: 1199px) {
  .nav__hamb { display: inline-flex; }
  .nav__tel { margin-left: auto; }
  .nav__links { position: fixed; inset: var(--nav-h) 0 auto 0; height: calc(100dvh - var(--nav-h)); margin: 0; padding: 28px clamp(16px, 5vw, 40px); flex-direction: column; gap: 4px; background: rgba(6, 28, 42, .98); opacity: 0; visibility: hidden; translate: 0 -12px; transition: opacity .3s, translate .4s var(--e), visibility 0s .3s; overflow-y: auto; }
  .nav[data-abierto] .nav__links { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .3s, translate .4s var(--e); }
  .nav[data-abierto] { background: rgba(6, 28, 42, .98); }
  .nav__links a { padding: 16px 0; font-size: 23px; letter-spacing: .02em; text-transform: none; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav__links a::after { display: none; }
  .nav__links .nav__movil-tel { display: flex; align-items: center; gap: 12px; margin-top: 18px; border: 0; color: var(--teal); font: 400 18px var(--mono); }
}
@media (max-width: 560px) { .nav__cta span { display: none; } .nav__cta { padding: 0 13px; } }
@media (max-width: 380px) { .nav__marca span { letter-spacing: .08em; font-size: 10.5px; } .nav__marca b { font-size: 21px; } }

/* ---------- HERO ---------- */
.hero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: radial-gradient(ellipse 80% 70% at 72% 40%, var(--noche-3), var(--noche) 70%); color: #fff; overflow: hidden; }
.hero__fondo { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero__hexas { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(122, 218, 212, .09); -webkit-mask-image: radial-gradient(ellipse 62% 70% at 70% 45%, #000 20%, transparent 76%); mask-image: radial-gradient(ellipse 62% 70% at 70% 45%, #000 20%, transparent 76%); }
.hero__halo { position: absolute; right: -10vw; top: -4vw; width: 74vw; height: 74vw; max-width: 1100px; max-height: 1100px; border-radius: 50%; background: radial-gradient(closest-side, rgba(68, 186, 180, .2), rgba(68, 186, 180, .05) 55%, transparent); }
.hero__pulso { position: absolute; z-index: -1; left: 0; right: 0; top: calc(50% + 6px); width: 100%; height: 120px; translate: 0 -50%; overflow: visible; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 2%, rgba(0, 0, 0, .35) 30%, #000 50%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent 2%, rgba(0, 0, 0, .35) 30%, #000 50%, #000 92%, transparent); }
.pulso__base, .pulso__luz { fill: none; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pulso__base { stroke: rgba(122, 218, 212, .16); stroke-width: 1.5; }
.pulso__luz { stroke: var(--teal-claro); stroke-width: 2.4; stroke-dasharray: 160 1800; stroke-dashoffset: 160; filter: drop-shadow(0 0 6px rgba(122, 218, 212, .9)); animation: pulso 3.6s linear infinite; }
@keyframes pulso { from { stroke-dashoffset: 160; } to { stroke-dashoffset: -1800; } }
.hero__in { flex: 1; width: min(1280px, 100% - 2 * clamp(16px, 4vw, 40px)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(24px, 4vw, 64px); padding: calc(var(--nav-h) + 36px) 0 112px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 26px; font: 400 13.5px/1.3 var(--mono); letter-spacing: .02em; color: rgba(255, 255, 255, .78); }
.hero__led { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(68, 186, 180, .16); }
@keyframes led { 0% { box-shadow: 0 0 0 0 rgba(68, 186, 180, .6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(68, 186, 180, 0); } }
.hero__titulo { margin: 0 0 26px; font: 700 clamp(42px, 5.6vw, 84px)/.98 var(--f); letter-spacing: -.018em; }
.hero__titulo .linea { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__titulo .linea > span { display: inline-block; white-space: nowrap; }
.hero__titulo em { font-style: normal; color: var(--teal-claro); }
.hero__lead { max-width: 34em; margin: 0; font-size: clamp(17px, 1.4vw, 19.5px); line-height: 1.6; color: rgba(255, 255, 255, .76); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 28px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13); font: 500 14px/1.2 var(--b); color: rgba(255, 255, 255, .86); }
.hero__chips b { font: 700 15px/1 var(--fc); letter-spacing: .02em; color: var(--teal-claro); }
.hero__chips .i { width: 14px; height: 14px; color: var(--teal); }
.hero__marca { position: relative; width: min(580px, 100%); aspect-ratio: 1; justify-self: end; }
.hero__anillo { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.an { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 1; stroke-linejoin: round; }
.an-2 { stroke: rgba(68, 186, 180, .32); stroke-dasharray: 4 10; }
.an-3 { stroke: rgba(255, 255, 255, .06); }
.an-giro { transform-box: view-box; transform-origin: 300px 300px; }
.an-vertices circle { fill: var(--teal); }
.iso--hero { position: absolute; left: 21%; top: 21%; width: 58%; height: 58%; overflow: visible; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); }
.lx { transform-box: fill-box; transform-origin: center; }
.hero__areas { position: absolute; inset: 0; pointer-events: none; }
.ha { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 10px; border-radius: 999px; background: rgba(6, 28, 42, .78); box-shadow: inset 0 0 0 1px rgba(122, 218, 212, .3), 0 14px 30px -18px rgba(0, 0, 0, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font: 400 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .86); white-space: nowrap; }
.ha::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.ha:nth-child(1) { left: 2%; top: 13%; }
.ha:nth-child(2) { right: 0; top: 22%; }
.ha:nth-child(3) { left: -6%; top: 58%; }
.ha:nth-child(4) { right: -3%; top: 68%; }
.ha:nth-child(5) { left: 30%; bottom: 1%; }
.hero__pie { position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.hero__pie-in { width: min(1280px, 100% - 2 * clamp(16px, 4vw, 40px)); margin-inline: auto; display: flex; align-items: center; gap: 28px; padding: 18px 0; font: 400 12.5px/1.3 var(--mono); letter-spacing: .02em; color: rgba(255, 255, 255, .66); }
.hero__pie-in > * { display: inline-flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; }
.hero__pie-in .i { width: 16px; height: 16px; color: var(--teal); }
.hero__pie-in a:hover { color: #fff; }
.hero__desliza { margin-left: auto; text-transform: uppercase; letter-spacing: .2em; }
.hero__desliza .i { animation: desliza 1.8s ease-in-out infinite; }
@keyframes desliza { 0%, 100% { translate: 0 -2px; } 50% { translate: 0 4px; } }

/* entrada del hero (al cargar) */
.m .hero:not(.listo) .hx, .m .hero:not(.listo) .hero__hexas, .m .hero:not(.listo) .hero__halo, .m .hero:not(.listo) .hero__pulso,
.m .hero:not(.listo) .lx, .m .hero:not(.listo) .ha, .m .hero:not(.listo) .an-vertices { opacity: 0; }
.m .hero:not(.listo) .hero__titulo .linea > span { translate: 0 105%; }
.m .hero:not(.listo) .an { stroke-dashoffset: 1800; }
.m .hero.listo .hx { animation: hx-subir .85s var(--e) both; animation-delay: var(--d); }
.m .hero.listo .hero__titulo .linea > span { animation: hx-linea 1s var(--e) both; animation-delay: var(--d); }
.m .hero.listo .hero__hexas { animation: hx-hexas 2s var(--e) .1s both; }
.m .hero.listo .hero__halo { animation: hx-halo 2.2s var(--e) .2s both; }
.m .hero.listo .hero__pulso { animation: hx-aparece 1.4s ease 1.5s both; }
.m .hero.listo .an-1, .m .hero.listo .an-3 { stroke-dasharray: 1800; animation: hx-trazo 1.8s var(--e) .15s both; }
.m .hero.listo .an-2 { animation: hx-aparece 1.2s ease .5s both; }
.m .hero.listo .an-vertices { animation: hx-aparece .8s ease 1s both; }
.m .hero.listo .lx-cruz--izq { animation: hx-cruz-i 1s var(--e) .35s both; }
.m .hero.listo .lx-cruz--der { animation: hx-cruz-d 1s var(--e) .45s both; }
.m .hero.listo .lx-s { animation: hx-s 1.1s var(--e) .75s both; }
.m .hero.listo .lx-fina--izq { animation: hx-fina-i .8s var(--e) both; animation-delay: calc(1.2s + var(--k) * .08s); }
.m .hero.listo .lx-fina--der { animation: hx-fina-d .8s var(--e) both; animation-delay: calc(1.2s + var(--k) * .08s); }
.m .hero.listo .ha { animation: hx-pop .6s var(--rebote) both; animation-delay: calc(1.55s + var(--k) * .09s); }
@keyframes hx-subir { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@keyframes hx-linea { from { translate: 0 105%; } to { translate: 0 0; } }
@keyframes hx-aparece { from { opacity: 0; } to { opacity: 1; } }
@keyframes hx-hexas { from { opacity: 0; scale: 1.08; } to { opacity: 1; scale: 1; } }
@keyframes hx-halo { from { opacity: 0; scale: .7; } to { opacity: 1; scale: 1; } }
@keyframes hx-trazo { from { stroke-dashoffset: 1800; } to { stroke-dashoffset: 0; } }
@keyframes hx-cruz-i { from { opacity: 0; translate: -140px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes hx-cruz-d { from { opacity: 0; translate: 140px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes hx-s { from { opacity: 0; clip-path: inset(0 0 100% 0); translate: 0 -24px; } 30% { opacity: 1; } to { opacity: 1; clip-path: inset(0 0 0 0); translate: 0 0; } }
@keyframes hx-fina-i { from { opacity: 0; translate: 26px 10px; } to { opacity: 1; translate: 0 0; } }
@keyframes hx-fina-d { from { opacity: 0; translate: -26px -10px; } to { opacity: 1; translate: 0 0; } }
@keyframes hx-pop { from { opacity: 0; scale: .4; } to { opacity: 1; scale: 1; } }

/* ---------- cinta ---------- */
.cinta { position: relative; z-index: 2; overflow: hidden; background: var(--teal); color: var(--noche); }
.cinta__mover { display: flex; align-items: center; gap: 26px; width: max-content; padding: 17px 0; font: 500 13.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.cinta__mover i { width: 12px; height: 12px; flex: none; background: var(--noche); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

/* ---------- EMPRESA ---------- */
.empresa__cabeza { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; gap: clamp(24px, 5vw, 72px); margin-bottom: clamp(48px, 6vw, 80px); }
.empresa__cabeza .titulo { margin: 0; max-width: 14em; }
.empresa__cuerpo { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(36px, 6vw, 88px); }
.foto { position: relative; overflow: hidden; border-radius: 20px; background: var(--hielo-2); }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.empresa__foto { position: relative; margin: 0; }
.empresa__foto .foto { aspect-ratio: 4 / 5; max-height: 640px; }
.anios { position: absolute; left: clamp(-28px, -2vw, -12px); bottom: -28px; display: flex; align-items: center; gap: 16px; max-width: 300px; padding: 18px 22px 18px 20px; border-radius: 18px; background: var(--navy); color: #fff; box-shadow: 0 30px 60px -28px rgba(6, 28, 42, .6); }
.anios__num { font: 800 54px/1 var(--fc); letter-spacing: -.01em; color: var(--teal-claro); font-variant-numeric: tabular-nums; }
.anios__num b { font-weight: inherit; }
.anios__txt { font: 500 15px/1.35 var(--b); color: rgba(255, 255, 255, .88); }
.pilar { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px; padding: 30px 0; }
.pilar:first-child { padding-top: 0; }
.pilar__num { font: 800 46px/1 var(--fc); color: transparent; -webkit-text-stroke: 1.5px var(--navy); }
.pilar h3 { margin: 4px 0 10px; font: 700 clamp(21px, 1.9vw, 25px)/1.2 var(--f); }
.pilar p { margin: 0; font-size: 16.5px; color: var(--gris); }
.pilar__linea { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--linea); transform-origin: left; }
.pilar:last-child .pilar__linea { display: none; }

/* ---------- LLAVE EN MANO (escena fija ligada al scroll) ---------- */
.integral { position: relative; height: 480vh; background: var(--noche); color: #fff; }
.integral::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(122, 218, 212, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(122, 218, 212, .04) 1px, transparent 1px); background-size: 48px 48px; }
.integral__fijo { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 60px); width: min(1420px, 100%); margin-inline: auto; padding: calc(var(--nav-h) + 20px) clamp(16px, 4vw, 48px) clamp(36px, 6vh, 64px); overflow: hidden; }
.integral__lado .titulo { font-size: clamp(34px, 3.8vw, 54px); }
.integral__intro { margin: 0 0 24px; color: rgba(255, 255, 255, .68); }
.pasos { position: relative; }
.pasos::before, .pasos::after { content: ""; position: absolute; left: 17px; top: 22px; bottom: 22px; width: 2px; background: rgba(255, 255, 255, .1); }
.pasos::after { background: var(--teal); transform-origin: top; scale: 1 var(--p, 0); }
.pasos__item { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; padding: 8px 0; opacity: .42; transition: opacity .4s; }
.pasos__item.activo, .pasos__item.hecho { opacity: 1; }
.pasos__num { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--noche); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25); font: 500 12px/1 var(--mono); color: rgba(255, 255, 255, .8); transition: background .35s, color .35s, box-shadow .35s; }
.pasos__item.activo .pasos__num, .pasos__item.hecho .pasos__num { background: var(--teal); color: var(--noche); box-shadow: none; }
.pasos__item.activo .pasos__num { box-shadow: 0 0 0 6px rgba(68, 186, 180, .18); }
.pasos h3 { margin: 6px 0 3px; font: 700 19px/1.25 var(--f); }
.pasos p { margin: 0; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .64); }
.m .pasos__item p { max-height: 6em; overflow: hidden; transition: max-height .45s var(--e), opacity .35s; }
.m .pasos__item:not(.activo) p { max-height: 0; opacity: 0; }
.integral__saltar { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font: 400 11.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .55); text-decoration: none; }
.integral__saltar:hover { color: var(--teal-claro); }
.integral__saltar .i { width: 14px; height: 14px; }
.integral__escena { position: relative; display: flex; flex-direction: column; gap: 14px; width: 100%; min-width: 0; perspective: 1600px; justify-self: center; }
/* el plano se limita por la altura de la pantalla para que nunca quede pegado abajo */
@media (min-width: 900px) {
  .integral__escena { max-width: calc((100vh - var(--nav-h) - 200px) * 1.786); max-width: calc((100svh - var(--nav-h) - 200px) * 1.786); }
  .integral__fijo { padding-bottom: clamp(48px, 9vh, 80px); }
}
.hud { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 400 12px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.hud__etiqueta { display: inline-flex; align-items: center; gap: 10px; }
.hud__led { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(68, 186, 180, .16); }
.hud__paso b { font-size: 15px; color: var(--teal-claro); }
.hud__de { display: none; }
.plano { position: relative; width: 100%; aspect-ratio: 1000 / 560; border-radius: 20px; background: radial-gradient(ellipse 60% 70% at 55% 55%, rgba(68, 186, 180, .08), transparent 70%), #0A2232; box-shadow: inset 0 0 0 1px rgba(122, 218, 212, .12), 0 40px 80px -40px rgba(0, 0, 0, .7); overflow: hidden; transform-origin: 50% 100%; }
.plano::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(122, 218, 212, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(122, 218, 212, .06) 1px, transparent 1px); background-size: 2.5% 4.464%; pointer-events: none; }
.plano__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sala { fill: var(--teal); fill-opacity: 0; transition: fill-opacity .8s; }
.sala.on { fill-opacity: .07; }
.ejes path { fill: none; stroke: rgba(122, 218, 212, .4); stroke-width: 1; }
.ejes text { font: 500 11px var(--mono); fill: rgba(122, 218, 212, .55); text-anchor: middle; }
.muro { fill: none; stroke: #DDEBEF; stroke-width: 4; stroke-linecap: square; }
.puerta { fill: none; stroke: rgba(221, 235, 239, .55); stroke-width: 1.4; stroke-dasharray: 3 4; }
.nombres text { font: 500 13px var(--mono); letter-spacing: .16em; fill: rgba(255, 255, 255, .72); }
.nombres .nombres__sub { font-size: 11px; letter-spacing: .06em; fill: rgba(122, 218, 212, .7); }
.eq { opacity: 0; }
.eq__cuerpo { fill: #12384F; stroke: #CFE6EC; stroke-width: 2; }
.eq__pantalla { fill: #061C2A; stroke: #CFE6EC; stroke-width: 2; }
.eq__det { fill: none; stroke: #CFE6EC; stroke-width: 1.6; }
.eq__linea { fill: none; stroke: #CFE6EC; stroke-width: 2; stroke-linecap: round; }
.eq__onda { fill: none; stroke: rgba(122, 218, 212, .35); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.eq.vivo .eq__onda { stroke: var(--teal-claro); stroke-dasharray: 10 6; animation: onda 1s linear infinite; }
@keyframes onda { to { stroke-dashoffset: -32; } }
.eq__led { fill: rgba(255, 255, 255, .25); stroke: #0A2232; stroke-width: 2; transition: fill .35s; }
.eq.ok .eq__led { fill: var(--teal-claro); filter: drop-shadow(0 0 5px var(--teal)); }
.eq--lampara .eq__luz { fill: rgba(255, 255, 255, .03); stroke: rgba(207, 230, 236, .6); stroke-width: 1.4; stroke-dasharray: 5 6; transition: fill .6s; }
.eq--lampara.vivo .eq__luz { fill: rgba(255, 246, 218, .1); }
.estante { fill: #12384F; stroke: #CFE6EC; stroke-width: 1.6; }
.caja { fill: var(--teal); stroke: #0A2232; stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center bottom; scale: 1 .2; transition: opacity .35s, scale .45s var(--rebote); }
.caja.on { opacity: .9; scale: 1 1; }
.ruta { fill: none; stroke: var(--teal-claro); stroke-width: 2; stroke-dasharray: 6 9; opacity: 0; transition: opacity .4s; }
.ruta.on { opacity: .85; animation: flujo .9s linear infinite; }
@keyframes flujo { to { stroke-dashoffset: -30; } }
.paquete { opacity: 0; }
.paquete rect { fill: var(--teal); stroke: #061C2A; stroke-width: 2; }
.paquete path { fill: none; stroke: #061C2A; stroke-width: 1.6; }
.persona { opacity: 0; transform-box: fill-box; transform-origin: center bottom; }
.persona circle, .persona path { fill: var(--teal-claro); stroke: #0A2232; stroke-width: 2; }
.hud__der { position: relative; display: inline-grid; justify-items: end; }
.hud__der > * { grid-area: 1 / 1; transition: opacity .35s, translate .45s var(--e); }
.hud__listo { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 7px; border-radius: 999px; background: var(--teal); color: var(--noche); font-weight: 500; opacity: 0; translate: 0 8px; }
.hud__listo .i { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--noche); color: var(--teal-claro); }
.hud__listo.on { opacity: 1; translate: 0 0; }
.hud__listo.on + .hud__paso, .hud__der:has(.hud__listo.on) .hud__paso { opacity: 0; translate: 0 -8px; }
.muro { transition: stroke .6s, filter .6s; }
.plano { transition: box-shadow .8s; }
.plano.operando { box-shadow: inset 0 0 0 1px rgba(122, 218, 212, .5), 0 0 0 1px rgba(68, 186, 180, .25), 0 40px 90px -40px rgba(68, 186, 180, .45); }
.plano.operando .muro { stroke: #A9EAE5; filter: drop-shadow(0 0 4px rgba(122, 218, 212, .7)); }
.integral__barra { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.integral__barra i { position: relative; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.integral__barra i::after { content: ""; position: absolute; inset: 0; background: var(--teal); transform-origin: left; scale: var(--p, 0) 1; }
.integral__movil { display: none; }

/* ---------- SERVICIOS (bento) ---------- */
.seccion__cabeza { max-width: 800px; margin-bottom: clamp(44px, 5vw, 68px); }
.bento { display: grid; grid-template-columns: minmax(0, 1.05fr) repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; gap: clamp(16px, 2vw, 24px); perspective: 1400px; }
.tarjeta { min-width: 0; }
.tarjeta--grande { grid-row: span 2; }
.tarjeta__in { position: relative; height: 100%; display: flex; flex-direction: column; border-radius: 20px; background: var(--papel); box-shadow: 0 0 0 1px var(--linea), 0 30px 60px -44px rgba(6, 28, 42, .45); overflow: hidden; transition: box-shadow .4s; transform-style: preserve-3d; }
.tarjeta__in::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), rgba(68, 186, 180, .16), transparent 45%); opacity: 0; transition: opacity .35s; }
.tarjeta__in:hover { box-shadow: 0 0 0 1px rgba(68, 186, 180, .55), 0 40px 70px -40px rgba(6, 28, 42, .5); }
.tarjeta__in:hover::after { opacity: 1; }
.tarjeta__foto { aspect-ratio: 16 / 9; border-radius: 0; }
.tarjeta--grande .tarjeta__foto { aspect-ratio: auto; flex: 1 1 320px; min-height: 300px; }
.tarjeta__icono { position: absolute; right: 18px; top: 18px; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--teal); color: var(--noche); box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .5); }
.tarjeta__icono .i { width: 24px; height: 24px; }
.tarjeta__cuerpo { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: clamp(22px, 2.3vw, 30px); }
.tarjeta--grande .tarjeta__cuerpo { flex: 0 0 auto; }
.tarjeta__num { font: 500 11.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-texto); }
.tarjeta h3 { margin: 12px 0 10px; font: 700 clamp(21px, 1.8vw, 25px)/1.18 var(--f); }
.tarjeta--grande h3 { font-size: clamp(25px, 2.4vw, 32px); }
.tarjeta p { flex: 1; margin: 0 0 20px; font-size: 16px; color: var(--gris); }
.tarjeta__areas { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 22px; }
.tarjeta__areas li { padding: 6px 11px; border-radius: 999px; background: var(--hielo); font: 500 12.5px/1 var(--b); color: var(--navy); }
.enlace-cotizar { display: inline-flex; align-items: center; gap: 10px; padding: 4px 0; font: 700 14.5px/1 var(--f); letter-spacing: .1em; text-transform: uppercase; color: var(--texto); text-decoration: none; box-shadow: inset 0 -2px 0 var(--teal); transition: gap .3s var(--e), color .2s; }
.enlace-cotizar .i { width: 17px; height: 17px; color: var(--teal-texto); }
.enlace-cotizar:hover { gap: 16px; color: var(--navy); }

/* ---------- MANTENIMIENTO (escena fija: monitor) ---------- */
.mant { position: relative; height: 320vh; background: var(--noche); color: #fff; }
.mant__fijo { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.mant__fondo { position: absolute; inset: 0; z-index: -1; }
.mant__fondo img { width: 100%; height: 100%; object-fit: cover; opacity: .3; filter: grayscale(1) contrast(1.1); mix-blend-mode: luminosity; }
.mant__fondo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 65% at 72% 52%, rgba(68, 186, 180, .12), transparent 70%), linear-gradient(90deg, rgba(6, 28, 42, .96) 30%, rgba(6, 28, 42, .66)); }
.mant__in { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); grid-template-areas: "cabeza monitor" "etapas monitor"; align-items: center; column-gap: clamp(32px, 5vw, 80px); padding-top: var(--nav-h); padding-bottom: clamp(28px, 5vh, 56px); }
.mant__cabeza { grid-area: cabeza; align-self: end; }
.mant__cabeza .titulo { margin-bottom: 18px; font-size: clamp(32px, 3.8vw, 52px); }
.mant__intro { margin: 0 0 22px; color: rgba(255, 255, 255, .68); }
.etapas { grid-area: etapas; align-self: start; }
.etapa { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .1); opacity: .38; transition: opacity .45s; }
.etapa.on { opacity: 1; }
.etapa__icono { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .8); transition: background .4s, color .4s, box-shadow .4s; }
.etapa.on .etapa__icono { background: var(--teal); color: var(--noche); box-shadow: none; }
.etapa.actual .etapa__icono { box-shadow: 0 0 0 6px rgba(68, 186, 180, .18); }
.etapa__icono .i { width: 23px; height: 23px; }
.etapa h3 { margin: 3px 0 4px; font: 700 clamp(19px, 1.7vw, 22px)/1.25 var(--f); }
.etapa p { margin: 0; font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, .68); }
.monitor { grid-area: monitor; position: relative; width: min(740px, 100%); justify-self: center; }
.monitor__svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .5)); }
.mon__marco { fill: #DCE8EC; }
.mon__pantalla { fill: #041722; stroke: #0A2232; stroke-width: 3; }
.mon__rejilla line { stroke: rgba(122, 218, 212, .08); stroke-width: 1; }
.mon__onda { fill: none; stroke: var(--alerta); stroke-width: 3.2; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(242, 169, 59, .7)); transition: stroke .6s; }
.monitor[data-etapa="2"] .mon__onda, .monitor[data-etapa="3"] .mon__onda, .monitor[data-etapa="4"] .mon__onda { stroke: var(--teal-claro); filter: drop-shadow(0 0 6px rgba(122, 218, 212, .8)); }
.mon__barrido { opacity: .8; }
.mon__perilla { fill: #C3D3D9; stroke: #9DB2BA; stroke-width: 2; }
.mon__marca { stroke: #0C4A6B; stroke-width: 3; stroke-linecap: round; }
.mon__leds circle { fill: #9DB2BA; transition: fill .35s; }
.mon__leds circle.on { fill: var(--teal); filter: drop-shadow(0 0 4px var(--teal)); }
.monitor__estado { position: absolute; left: 7.5%; top: 9%; display: flex; flex-direction: column; gap: 4px; }
.monitor__estado small, .monitor__cal small { font: 500 10.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.monitor__estado b { font: 700 clamp(15px, 1.5vw, 20px)/1.1 var(--f); color: var(--alerta); transition: color .4s; }
.monitor[data-etapa="2"] .monitor__estado b, .monitor[data-etapa="3"] .monitor__estado b, .monitor[data-etapa="4"] .monitor__estado b { color: var(--teal-claro); }
.monitor__cal { position: absolute; right: 7.5%; top: 9%; display: flex; flex-direction: column; align-items: flex-end; gap: 7px; width: 28%; }
.monitor__cal i { position: relative; display: block; width: 100%; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.monitor__cal span { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--alerta), var(--teal-claro)); transform-origin: left; scale: var(--c, .12) 1; }

/* ---------- CALIDAD ---------- */
.calidad { background: var(--papel); }
.politica { max-width: 920px; margin: 0 auto; }
.politica__in { position: relative; padding: clamp(26px, 4vw, 54px); border-radius: 24px; background: linear-gradient(180deg, #FBFDFD, #F3F8F9); box-shadow: 0 0 0 1px var(--linea), 0 50px 90px -60px rgba(6, 28, 42, .55); overflow: hidden; }
.politica__cabeza { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-bottom: 20px; margin-bottom: 26px; border-bottom: 1px solid var(--linea); }
.politica__titulo { font: 700 clamp(24px, 2.8vw, 34px)/1.15 var(--f); letter-spacing: .03em; color: var(--navy); }
.politica__texto p { margin: 0 0 1em; font-size: clamp(16.5px, 1.4vw, 18.5px); line-height: 1.75; color: var(--texto); }
.politica__texto p:last-child { margin-bottom: 0; }
.m .politica__texto .w { opacity: .16; transition: opacity .35s; }
.m .politica__texto .w.on { opacity: 1; }
/* sello: solo el isotipo, sin texto, para no agregar nada a la política */
.politica__sello { position: relative; display: grid; place-items: center; width: 78px; height: 78px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--teal), inset 0 0 0 7px #fff, inset 0 0 0 8px rgba(68, 186, 180, .5); rotate: -12deg; }
.politica__sello svg { width: 40px; height: 40px; }
.m .politica__sello { opacity: 0; scale: 1.8; transition: opacity .25s, scale .5s var(--rebote); }
.m .politica.sellada .politica__sello { opacity: 1; scale: 1; }

/* ---------- CONTACTO ---------- */
.contacto__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.contacto__info .titulo { max-width: 12em; font-size: clamp(32px, 3.8vw, 52px); }
.datos { margin-top: 36px; }
.datos li > a { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--linea); text-decoration: none; font: 600 17px/1.4 var(--b); color: var(--texto); }
.datos li > a > span:last-child { min-width: 0; }
.datos li > a:hover .datos__icono { background: var(--teal); color: var(--noche); }
.datos small { display: block; margin-bottom: 4px; font: 500 11.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gris); }
.datos__correo { overflow-wrap: anywhere; }
.datos__icono { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 14px; background: var(--papel); box-shadow: 0 0 0 1px var(--linea); color: var(--navy); transition: background .25s, color .25s; }
.datos__icono .i { width: 21px; height: 21px; }
.solicitud { margin: 0; }
.solicitud__in { padding: clamp(24px, 3.4vw, 40px); border-radius: 24px; background: var(--papel); box-shadow: 0 0 0 1px var(--linea), 0 50px 90px -60px rgba(6, 28, 42, .55); }
.solicitud__cabeza { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.solicitud__icono { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 15px; background: var(--navy); color: var(--teal-claro); }
.solicitud__icono .i { width: 26px; height: 26px; }
.solicitud__cabeza h3 { font: 700 clamp(22px, 2vw, 27px)/1.15 var(--f); }
.solicitud__cabeza p { margin: 4px 0 0; font-size: 15px; color: var(--gris); }
.campo { display: grid; gap: 7px; margin-bottom: 16px; }
.campo > span, .opciones legend { font: 600 14px/1.2 var(--b); color: var(--texto); }
.campo i, .opciones legend i { font-style: normal; font-weight: 400; color: var(--gris); }
.campo input, .campo select, .campo textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #CCD9DE; border-radius: 12px; background: #F8FBFC; font: 400 16px/1.4 var(--b); color: var(--texto); transition: border-color .2s, box-shadow .2s, background .2s; }
.campo textarea { resize: vertical; min-height: 92px; }
.campo select { appearance: none; -webkit-appearance: none; padding-right: 42px; background: #F8FBFC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230C4A6B' stroke-width='2' stroke-linecap='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; cursor: pointer; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(68, 186, 180, .22); }
.campo input.invalido { border-color: #C2410C; }
.opciones { min-width: 0; margin: 0 0 16px; padding: 0; border: 0; }
.opciones legend { margin-bottom: 9px; padding: 0; }
.opciones label { display: inline-block; margin: 0 6px 6px 0; cursor: pointer; }
.opciones input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opciones span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px #CCD9DE; font: 500 14.5px/1 var(--b); color: var(--texto); transition: background .2s, color .2s, box-shadow .2s; }
.opciones label:hover span { box-shadow: inset 0 0 0 1.5px var(--navy); }
.opciones input:checked + span { background: var(--navy); color: #fff; box-shadow: inset 0 0 0 1.5px var(--navy); }
.opciones input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.campos-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; }
.solicitud__error { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: #FFF1E8; color: #9A3412; font-size: 14.5px; }
.solicitud__nota { margin: 14px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--gris); }
.solicitud__nota a { font-weight: 700; color: var(--texto); }

/* ---------- AVISO ---------- */
.aviso { padding: 0 0 clamp(64px, 8vw, 110px); }
.aviso__in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(16px, 2.5vw, 32px); padding: clamp(22px, 3vw, 34px); border-radius: 22px; background: var(--papel); box-shadow: 0 0 0 1px var(--linea); }
.aviso__icono { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; background: var(--hielo); color: var(--navy); }
.aviso__icono .i { width: 26px; height: 26px; }
.aviso__titulo { margin: 0 0 6px; font: 700 20px/1.2 var(--f); letter-spacing: .03em; text-transform: uppercase; color: var(--navy); }
.aviso p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--gris); }
.aviso p b { color: var(--texto); }

/* ---------- FOOTER ---------- */
.footer { position: relative; isolation: isolate; overflow: hidden; padding: 86px 0 30px; background: var(--noche); color: rgba(255, 255, 255, .72); }
.footer::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -240px; width: 960px; height: 460px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(68, 186, 180, .17), transparent); }
.footer__linea { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--teal), transparent); box-shadow: 0 0 18px var(--teal); transform-origin: center; }
.footer__grid { display: grid; grid-template-columns: 1.3fr .8fr 1.4fr; gap: 44px; }
.footer__logo { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 22px; color: #fff; text-decoration: none; }
.footer__logo svg { width: 64px; height: 64px; }
.footer__logo .nav__marca b { font-size: 30px; }
.footer__logo .nav__marca span { font-size: 13.5px; }
.footer__marca p { max-width: 360px; margin: 0; font-size: 16px; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.footer__col h3 { margin: 0 0 12px; font: 700 15px var(--f); letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.footer__col a, .footer__dato { display: inline-flex; align-items: flex-start; gap: 10px; max-width: 100%; padding: 6px 0; margin: 0; font-size: 16px; color: rgba(255, 255, 255, .78); text-decoration: none; transition: color .2s; }
.footer__col a:hover { color: var(--teal-claro); }
.footer__col .i { width: 18px; height: 18px; margin-top: 3px; color: var(--teal); }
.footer__correo span { overflow-wrap: anywhere; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: rgba(255, 255, 255, .55); }
.footer__base p { margin: 0; }
.footer__aviso { padding: 6px 0; border: 0; background: none; color: rgba(255, 255, 255, .7); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer__aviso:hover { color: var(--teal-claro); }
.m .footer__linea { scale: 0 1; }
.m .footer::before { opacity: 0; }
.m .footer [data-f] { opacity: 0; translate: 0 22px; filter: blur(6px); }
.m .footer.on .footer__linea { scale: 1 1; transition: scale 1.1s var(--e); }
.m .footer.on::before { opacity: 1; transition: opacity 1.2s ease .45s; }
.m .footer.on [data-f] { opacity: 1; translate: 0 0; filter: blur(0); transition: opacity .8s ease, translate .8s var(--e), filter .8s ease; transition-delay: calc(.4s + var(--i, 0) * .11s); }

/* ---------- WhatsApp flotante ---------- */
.flotante { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 150; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--teal); color: var(--noche); font: 700 16px var(--f); letter-spacing: .02em; text-decoration: none; box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .55); transition: opacity .35s, translate .45s var(--e), background .25s; }
.flotante:hover { background: var(--teal-claro); }
.flotante .i { width: 22px; height: 22px; }
.flotante:not(.is-on) { opacity: 0; translate: 0 24px; pointer-events: none; }

/* ---------- diálogo del aviso ---------- */
.dialogo { width: min(620px, 100% - 32px); max-height: min(86vh, 860px); margin: auto; padding: 0; border: 0; border-radius: 22px; background: var(--papel); color: var(--texto); box-shadow: 0 40px 100px -30px rgba(6, 28, 42, .7); overflow: auto; }
.dialogo::backdrop { background: rgba(6, 28, 42, .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.dialogo[open] { animation: dialogo .5s var(--e) both; }
.dialogo[open]::backdrop { animation: hx-aparece .4s ease both; }
@keyframes dialogo { from { opacity: 0; translate: 0 24px; scale: .97; } to { opacity: 1; translate: 0 0; scale: 1; } }
.dialogo__in { position: relative; padding: clamp(24px, 4vw, 40px); }
.dialogo__cerrar { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--hielo); color: var(--navy); cursor: pointer; }
.dialogo__cerrar:hover { background: var(--hielo-2); }
.dialogo__cabeza { display: flex; align-items: center; gap: 14px; margin: 0 48px 18px 0; }
.dialogo__iso { width: 46px; height: 46px; flex: none; }
.dialogo h2 { font: 700 clamp(22px, 2.4vw, 27px)/1.15 var(--f); letter-spacing: .03em; text-transform: uppercase; color: var(--navy); }
.dialogo__texto p { margin: 0 0 .9em; font-size: 15.5px; line-height: 1.6; color: var(--gris); }
.dialogo__texto b { color: var(--texto); }
.dialogo__texto { margin-bottom: 22px; }

/* ---------- coreografía: estado inicial de lo que entra con el scroll ---------- */
.m [data-m] { opacity: 0; }
.m [data-m="palabras"].dividido { opacity: 1; }
.m [data-m="escena"], .m [data-m="contar"] { opacity: 1; }
.m .eyebrow[data-m] .eyebrow__raya { scale: 0 1; transition: scale .8s var(--e) .2s; }
.m .eyebrow[data-m].on .eyebrow__raya { scale: 1 1; }

/* ---------- pantallas bajas (laptops): el hero cabe en una pantalla y las escenas fijas se compactan ---------- */
@media (min-width: 900px) and (max-height: 860px) {
  .hero__in { padding: calc(var(--nav-h) + 14px) 0 86px; }
  .hero__titulo { margin-bottom: 18px; font-size: clamp(40px, 8.6vh, 74px); }
  .hero__eyebrow { margin-bottom: 18px; }
  .hero__ctas { margin: 24px 0 18px; }
  .hero__marca { width: min(580px, 100%, 76vh); }
  .hero__pie-in { padding: 14px 0; }
  .integral__lado .titulo { margin-bottom: 12px; font-size: clamp(30px, 5.4vh, 48px); }
  .integral__lado .eyebrow { margin-bottom: 12px; }
  .integral__intro { margin-bottom: 14px; font-size: 15.5px; line-height: 1.5; }
  .pasos__item { padding: 6px 0; }
  .pasos h3 { margin-top: 7px; font-size: 18px; }
  .integral__saltar { margin-top: 12px; }
  .mant__cabeza .titulo { margin-bottom: 12px; font-size: clamp(30px, 5.6vh, 48px); }
  .mant__cabeza .eyebrow { margin-bottom: 12px; }
  .mant__intro { margin-bottom: 14px; font-size: 15.5px; }
  .etapa { padding: 10px 0; }
  .etapa p { font-size: 14.5px; }
  .monitor { width: min(740px, 100%, 100vh); }
}
@media (min-width: 900px) and (max-height: 700px) {
  .integral__intro, .mant__intro { display: none; }
  .integral__lado .eyebrow, .mant__cabeza .eyebrow { display: none; }
  .etapa { padding: 8px 0; grid-template-columns: 42px minmax(0, 1fr); }
  .etapa__icono { width: 42px; height: 42px; }
  .m .etapa:not(.actual) p { display: none; }
}

/* ---------- responsivo ---------- */
@media (max-width: 1099px) {
  .hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, .78fr); }
  .ha { font-size: 10.5px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tarjeta--grande { grid-row: auto; grid-column: 1 / -1; }
  .tarjeta--grande .tarjeta__in { flex-direction: row; }
  .tarjeta--grande .tarjeta__foto { flex: 0 0 40%; min-height: 0; }
  .tarjeta--grande .tarjeta__cuerpo { flex: 1; justify-content: center; }
  .integral__fijo { grid-template-columns: minmax(250px, 320px) minmax(0, 1fr); }
}
@media (max-width: 899px) {
  :root { --nav-h: 68px; }
  .hero__in { grid-template-columns: 1fr; gap: 6px; padding: calc(var(--nav-h) + 18px) 0 100px; }
  .hero__marca { order: -1; width: min(320px, 76vw); justify-self: center; margin-bottom: 8px; }
  .ha { padding: 5px 10px 5px 8px; font-size: 9.5px; letter-spacing: .05em; }
  .ha::before { width: 6px; height: 6px; }
  .ha:nth-child(1) { left: -6%; top: 10%; }
  .ha:nth-child(2) { right: -8%; top: 20%; }
  .ha:nth-child(3) { left: -12%; top: 62%; }
  .ha:nth-child(4) { right: -10%; top: 72%; }
  .ha:nth-child(5) { left: 26%; bottom: -2%; }
  .hero__titulo { font-size: clamp(38px, 10.4vw, 62px); }
  .hero__pulso { top: 22%; }
  .hero__pie-in > :nth-child(2) { display: none; }
  .empresa__cabeza, .empresa__cuerpo, .contacto__grid { grid-template-columns: 1fr; }
  .empresa__foto { margin: 0 0 40px 12px; }
  .empresa__foto .foto { aspect-ratio: 5 / 4; }
  .anios { left: -12px; }
  .bento { grid-template-columns: 1fr; max-width: 580px; }
  .tarjeta--grande .tarjeta__in { flex-direction: column; }
  .tarjeta--grande .tarjeta__foto { aspect-ratio: 16 / 10; flex: none; }

  .integral { height: 460vh; }
  .integral__fijo { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: center; gap: 16px; padding: calc(var(--nav-h) + 12px) clamp(16px, 4vw, 32px) 20px; }
  .integral__lado .titulo { margin-bottom: 0; font-size: clamp(30px, 8vw, 42px); }
  .integral__lado .eyebrow { margin-bottom: 12px; }
  .integral__intro, .pasos, .integral__saltar { display: none; }
  .integral__movil { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; min-height: 112px; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
  .integral__movil-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: var(--noche); font: 500 13px/1 var(--mono); }
  .integral__movil h3 { margin: 2px 0 4px; font: 700 19px/1.25 var(--f); }
  .integral__movil p { margin: 0; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .7); }
  .integral__movil.cambia > * { animation: cambia .45s var(--e) both; }
  .nombres text { font-size: 22px; letter-spacing: .04em; }
  .nombres .nombres__sub { display: none; }
  .ejes text { font-size: 18px; }

  .mant { height: 300vh; }
  .mant__in { grid-template-columns: 1fr; grid-template-areas: "cabeza" "monitor" "etapas"; row-gap: 12px; padding-top: calc(var(--nav-h) + 4px); }
  .mant__cabeza .titulo { margin-bottom: 4px; font-size: clamp(30px, 8vw, 44px); }
  .mant__cabeza .eyebrow { margin-bottom: 10px; }
  .mant__intro { display: none; }
  .monitor { width: min(460px, 100%, 52svh); }
  .etapa { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 9px 0; }
  .etapa__icono { width: 40px; height: 40px; border-radius: 12px; }
  .etapa__icono .i { width: 19px; height: 19px; }
  .etapa h3 { margin: 0; font-size: 18px; line-height: 40px; }
  .etapa p { display: none; font-size: 14.5px; line-height: 1.45; }
  .etapa.actual p { display: block; animation: cambia .45s var(--e) both; }

  .aviso__in { grid-template-columns: auto minmax(0, 1fr); }
  .aviso__in .btn { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__marca { grid-column: 1 / -1; }
}
@keyframes cambia { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .hero__pie-in { gap: 14px; font-size: 12px; }
  .footer { padding-bottom: 100px; }
  .plano { width: 100vw; margin-left: calc(50% - 50vw); border-radius: 0; box-shadow: inset 0 1px 0 rgba(122, 218, 212, .12), inset 0 -1px 0 rgba(122, 218, 212, .12); }
  .hud__etiqueta, .hud__nombre { display: none; }
  .hud { justify-content: flex-end; }
  .hud { font-size: 11px; letter-spacing: .06em; }
  .hud__de { display: inline; }
  .campos-2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .flotante span { display: none; }
  .flotante { padding: 0; width: 58px; justify-content: center; }
  .aviso__in { grid-template-columns: 1fr; }
  .politica__sello { width: 60px; height: 60px; }
  .politica__sello svg { width: 30px; height: 30px; }
}
@media (max-width: 420px) {
  .hero__ctas .btn { width: 100%; }
  .hero__chips li { font-size: 13px; padding: 7px 12px; }
}
@media (max-height: 700px) and (max-width: 899px) {
  .integral__lado .eyebrow, .mant__cabeza .eyebrow { display: none; }
  .monitor { width: min(360px, 100%, 42svh); }
  .mant__cabeza .titulo { font-size: 28px; }
  .mant__in { row-gap: 8px; padding-bottom: 16px; }
  .etapa { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 5px 0; }
  .etapa__icono { width: 34px; height: 34px; border-radius: 10px; }
  .etapa__icono .i { width: 17px; height: 17px; }
  .etapa h3 { font-size: 16.5px; line-height: 34px; }
  .etapa.actual p { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
