/* Unnión · rediseño v5. Paleta y tipografía del manual de marca (págs. 44-47). */
:root {
  --noche: #002313;      /* verde profundo: el «negro» del sitio */
  --verde: #004F28;      /* verde Unnión, 50 % */
  --hoja: #66BA47;       /* verde claro, solo acentos */
  --blanco: #FFFEFE;
  --agua: #165A8A;
  --tierra: #994331;
  --claro: #EEF2EA;      /* superficie clara, derivada del blanco */
  --vidrio: rgba(255, 254, 254, .08);
  --borde: rgba(255, 254, 254, .16);
  --tenue: rgba(255, 254, 254, .66);
  --radio: 20px;
  --curva: cubic-bezier(.22, .8, .24, 1);
  --curva-sale: cubic-bezier(.6, 0, .8, .2);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--noche); color: var(--blanco);
  font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
body.con-intro { overflow: hidden; }

.sobre { font-size: 13px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; }
.pildora {
  display: inline-flex; align-items: center; gap: 10px; position: relative; overflow: hidden;
  padding: 14px 28px; border-radius: 999px;
  background: var(--hoja); color: var(--noche); font-weight: 600; font-size: 15px;
  transition: transform .3s var(--curva), background .3s, color .3s, border-color .3s;
}
.pildora:hover { transform: translateY(-2px); background: #78c95a; }
.pildora.linea { background: transparent; color: var(--blanco); border: 1.5px solid var(--borde); }
.pildora.linea:hover { border-color: var(--hoja); background: rgba(102, 186, 71, .12); }
.pildora.oscura { background: var(--noche); color: var(--blanco); }
.pildora.oscura:hover { background: var(--verde); }
.pildora.borde { background: transparent; color: var(--noche); border: 1.5px solid rgba(0, 35, 19, .2); }
.pildora.borde:hover { border-color: var(--verde); }
.pildora svg { width: 18px; height: 18px; transition: transform .3s var(--curva); }
.pildora:hover svg { transform: translateX(3px); }
.pildora.brillo::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg); animation: brillo 4.5s ease-in-out infinite 2s;
}
@keyframes brillo { 0%, 70% { left: -60%; } 100% { left: 130%; } }

.vidrio {
  background: var(--vidrio); border: 1px solid var(--borde);
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-radius: var(--radio);
}

/* ───────── Entrada ───────── */
.intro { position: fixed; inset: 0; z-index: 100; pointer-events: none; display: grid; place-items: center; }
.intro .cortina { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--noche); transition: transform 1.1s var(--curva) .55s; }
.intro .arriba { top: 0; } .intro .abajo { bottom: 0; }
.intro img { position: relative; width: 92px; opacity: 0; transform: scale(.7); animation: isotipo 1.3s var(--curva) forwards; }
@keyframes isotipo { 30% { opacity: 1; transform: scale(1); } 75% { opacity: 1; transform: scale(1.04); } 100% { opacity: 0; transform: scale(1.5); } }
.intro.abre .arriba { transform: translateY(-100%); }
.intro.abre .abajo { transform: translateY(100%); }
.intro.fuera { display: none; }

/* ───────── Cabecera ───────── */
.cabecera {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 22px clamp(16px, 4vw, 56px);
  transition: background .4s, padding .4s;
}
.cabecera.solida { background: rgba(0, 35, 19, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 12px; padding-bottom: 12px; }
.cabecera nav { display: flex; align-items: center; gap: 26px; white-space: nowrap; }
.cabecera nav a { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: .88; transition: opacity .2s, color .2s; }
.cabecera nav a:hover { opacity: 1; color: var(--hoja); }
.cabecera .logo img { height: 46px; width: auto; transition: height .4s; }
.cabecera.solida .logo img { height: 38px; }
.cabecera .derecha { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.cabecera .acceso { padding: 9px 20px; font-size: 13px; }
.icono-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--borde); position: relative; transition: border-color .2s; }
.icono-btn:hover { border-color: var(--hoja); }
.icono-btn svg { width: 18px; height: 18px; }
.icono-btn .cuenta { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--hoja); color: var(--noche); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.hamburguesa { display: none; }

/* ───────── Portada: seis mundos ───────── */
.mundos { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: #000; }
.mundos .capa { position: absolute; inset: -3%; will-change: transform; }
.mundos .fondo { position: absolute; inset: 0; clip-path: inset(0 0 0 100%); transition: clip-path 1.25s cubic-bezier(.77, 0, .18, 1); }
.mundos.atras .fondo { clip-path: inset(0 100% 0 0); }
.mundos .fondo.activo { clip-path: inset(0); z-index: 2; }
.mundos .fondo.previo { clip-path: inset(0); z-index: 1; transition: none; }
.mundos .fondo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); }
.mundos .fondo.activo img { animation: acercar 9s cubic-bezier(.2, .6, .3, 1) forwards; }
.mundos .fondo.previo img { transform: scale(1); filter: brightness(.6); transition: filter 1.2s; }
@keyframes acercar { from { transform: scale(1.18); } to { transform: scale(1.02); } }
.mundos .sombra {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background:
    linear-gradient(180deg, rgba(0, 20, 10, .7) 0%, rgba(0, 20, 10, 0) 26%),
    linear-gradient(0deg, rgba(0, 18, 9, .92) 0%, rgba(0, 18, 9, .35) 26%, rgba(0, 18, 9, 0) 46%),
    radial-gradient(ellipse at 50% 55%, rgba(0, 0, 0, 0) 40%, rgba(0, 10, 5, .45) 100%);
}
.polen { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }
.mundos .titular { position: absolute; left: 0; right: 0; top: 30%; z-index: 3; display: flex; justify-content: center; }
.mundos .mundo-sobre {
  position: absolute; z-index: 5; left: 0; right: 0; top: calc(30% - 2.6em); text-align: center;
  letter-spacing: .5em; font-size: clamp(12px, 1.3vw, 17px); text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
  transition: letter-spacing 1.2s var(--curva), opacity .6s;
}
.mundos .mundo-sobre.cambia { letter-spacing: 1.1em; opacity: 0; transition-duration: .01s; }
.palabra {
  font-weight: 800; text-transform: uppercase; line-height: .86;
  font-size: 15vw; letter-spacing: -.01em; white-space: nowrap;
  display: flex; overflow: hidden; padding: .04em .02em 0;
}
.palabra span { display: inline-block; transform: translateY(108%) rotate(8deg); filter: blur(6px); transition: transform 1s var(--curva), filter 1s var(--curva); }
.palabra.entra span { transform: none; filter: none; }
.palabra.sale span { transform: translateY(-108%) rotate(-6deg); filter: blur(6px); transition: transform .5s var(--curva-sale), filter .5s; }
.mundos .eco {
  position: absolute; z-index: 3; left: 0; right: 0; top: 24%; text-align: center; pointer-events: none;
  font-weight: 800; text-transform: uppercase; line-height: .86; white-space: nowrap; font-size: 19vw;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 254, 254, .16); letter-spacing: .02em;
  opacity: 0; transform: scale(1.08); transition: opacity 1.6s var(--curva), transform 2.4s var(--curva);
}
.mundos .eco.ve { opacity: 1; transform: none; }

.mundos .recorte {
  position: absolute; z-index: 4; pointer-events: none;
  opacity: 0; transform: translate(-50%, 70px) scale(.94);
  transition: opacity .8s var(--curva), transform 1.2s var(--curva);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45));
  -webkit-mask-image: linear-gradient(to top, transparent 0, #000 16%);
  mask-image: linear-gradient(to top, transparent 0, #000 16%);
}
.mundos .recorte.activo { opacity: 1; transform: translate(-50%, 0) scale(1); transition-delay: .35s; }
.mundos .recorte img { height: 100%; width: auto; max-width: none; }
.mundos .recorte.flota img { animation: flotar 6s ease-in-out infinite; }
@keyframes flotar { 50% { transform: translateY(-14px) rotate(-1.5deg); } }

.mundos .barra {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 6;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px;
  padding: 0 clamp(16px, 4vw, 56px) clamp(24px, 4vh, 44px);
}
.mundos .frase { max-width: 380px; font-size: 14px; color: var(--tenue); min-height: 4.8em; transition: opacity .5s, transform .6s var(--curva); }
.mundos .frase.cambia { opacity: 0; transform: translateY(10px); transition-duration: .01s; }
.mundos .selector { justify-self: end; display: flex; align-items: center; gap: 16px; white-space: nowrap; }
.mundos .flecha { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--borde); transition: border-color .2s, background .2s; }
.mundos .flecha:hover { border-color: var(--hoja); background: rgba(102, 186, 71, .15); }
.mundos .flecha svg { width: 18px; height: 18px; }
.mundos .contador { font-size: 13px; opacity: .85; display: flex; align-items: baseline; gap: 4px; }
.num-ventana { display: inline-block; height: 34px; overflow: hidden; }
.num-ventana b { display: block; font-size: 28px; font-weight: 300; line-height: 34px; font-variant-numeric: tabular-nums; transition: transform .6s var(--curva); }
.num-ventana b.sube { transform: translateY(-100%); transition: none; }
.proximo { display: flex; align-items: center; gap: 12px; padding: 7px 8px 7px 7px; border-radius: 16px; text-align: left; transition: border-color .3s, background .3s; }
.proximo:hover { border-color: rgba(102, 186, 71, .6); background: rgba(102, 186, 71, .1); }
.proximo .mini-foto { width: 64px; height: 46px; border-radius: 10px; overflow: hidden; flex: none; }
.proximo .mini-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--curva); }
.proximo:hover .mini-foto img { transform: scale(1.12); }
.proximo small { display: block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--tenue); }
.proximo b { display: block; font-size: 14px; font-weight: 600; max-width: 170px; overflow: hidden; text-overflow: ellipsis; }
.proximo .anillo { position: relative; width: 44px; height: 44px; flex: none; margin-left: 6px; }
.proximo .anillo svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.proximo .anillo circle { fill: none; stroke: var(--borde); stroke-width: 1.5; }
.proximo .anillo .avance { stroke: var(--hoja); stroke-width: 2; stroke-dasharray: 125.7; stroke-dashoffset: 125.7; stroke-linecap: round; }
.proximo .anillo .fl { position: absolute; inset: 13px; width: 18px; height: 18px; transform: none; }
.mundos .puntos { position: absolute; z-index: 6; right: clamp(16px, 4vw, 56px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 6px; }
.mundos .puntos button { position: relative; display: flex; justify-content: flex-end; align-items: center; height: 18px; width: 120px; }
.mundos .puntos button i { width: 14px; height: 2px; background: var(--blanco); opacity: .4; transition: width .4s var(--curva), opacity .3s, background .3s; }
.mundos .puntos button span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-right: 12px; opacity: 0; transform: translateX(8px); transition: opacity .3s, transform .3s; }
.mundos .puntos button:hover span { opacity: .9; transform: none; }
.mundos .puntos button:hover i { opacity: .9; }
.mundos .puntos button.activo i { width: 32px; opacity: 1; background: var(--hoja); }

/* ───────── Secciones comunes ───────── */
.seccion { padding: clamp(80px, 10vw, 140px) clamp(16px, 5vw, 72px); position: relative; }
.encabezado { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.encabezado h2 { font-size: clamp(34px, 5vw, 68px); font-weight: 700; line-height: 1.04; letter-spacing: -.02em; margin-top: 14px; }
.encabezado p { margin-top: 20px; font-size: clamp(16px, 1.3vw, 19px); color: var(--tenue); max-width: 620px; }
.claro { background: var(--blanco); color: var(--noche); }
.claro .encabezado p { color: rgba(0, 35, 19, .7); }
.aparece { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--curva), transform 1s var(--curva); }
.aparece.visto { opacity: 1; transform: none; }

/* ───────── Seis formas: acordeón ───────── */
.formas { padding-top: clamp(70px, 8vw, 110px); padding-bottom: clamp(60px, 7vw, 100px); background: var(--noche); }
.formas-cabeza { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 34px; }
.formas-cabeza h2 { font-size: clamp(32px, 4.2vw, 58px); font-weight: 700; line-height: 1.02; letter-spacing: -.02em; margin-top: 12px; }
.formas-lado { max-width: 400px; }
.formas-lado p { color: var(--tenue); font-size: 15px; }
.leyenda { display: flex; gap: 18px; margin-top: 14px; font-size: 12px; color: var(--tenue); }
.leyenda span { display: flex; align-items: center; gap: 8px; }
.leyenda i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--tenue); }
.leyenda i.en-linea { background: var(--hoja); border-color: var(--hoja); }

.acordeon { display: flex; gap: 10px; height: min(74vh, 680px); min-height: 520px; padding-top: 70px; margin-top: -70px; }
.hoja { position: relative; flex: 1; min-width: 0; cursor: pointer; transition: flex 1s var(--curva); color: var(--blanco); }
.hoja.abierta { flex: 5.4; cursor: default; }
.hoja .marco { position: absolute; inset: 0; border-radius: var(--radio); overflow: hidden; isolation: isolate; }
.hoja .marco img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: brightness(.5) saturate(.85); transform: scale(1.15); transition: filter 1s var(--curva), transform 1.6s var(--curva); }
.hoja.abierta .marco img { filter: brightness(.85) saturate(1); transform: scale(1); }
.hoja .marco::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 20, 10, .9) 0%, rgba(0, 20, 10, .2) 50%, rgba(0, 20, 10, .35) 100%); }
.hoja:not(.abierta):hover .marco img { filter: brightness(.7); }
.hoja .num { position: absolute; top: 20px; left: 20px; font-size: 13px; font-weight: 500; opacity: .75; z-index: 2; }
.hoja .tipo { position: absolute; top: 20px; right: 20px; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--blanco); z-index: 2; }
.hoja .tipo.en-linea { background: var(--hoja); border-color: var(--hoja); }
.hoja .vertical {
  position: absolute; left: 50%; bottom: 26px; z-index: 2; transform: translateX(-50%) rotate(180deg);
  writing-mode: vertical-rl; font-weight: 800; font-size: clamp(22px, 2vw, 30px); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap;
  transition: opacity .4s;
}
.hoja.abierta .vertical { opacity: 0; }
.hoja.abierta .marco::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 20, 10, .75) 0%, rgba(0, 20, 10, 0) 60%); }
.hoja .abierto { position: absolute; left: 0; bottom: 0; z-index: 3; padding: clamp(22px, 2.6vw, 38px); width: min(520px, 52%); text-shadow: 0 2px 14px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(24px); transition: opacity .3s, transform .3s; pointer-events: none; }
.hoja.abierta .abierto { opacity: 1; transform: none; transition: opacity .8s var(--curva) .35s, transform .9s var(--curva) .35s; pointer-events: auto; }
.hoja .abierto .etq { display: inline-block; padding: 5px 13px; border-radius: 999px; font-size: 12px; font-weight: 500; margin-bottom: 14px; }
.hoja .abierto .verbo { font-weight: 800; text-transform: uppercase; font-size: clamp(44px, 5.6vw, 92px); line-height: .88; letter-spacing: -.02em; }
.hoja .abierto h3 { font-size: 18px; font-weight: 600; margin: 12px 0 6px; }
.hoja .abierto p { font-size: 14.5px; color: var(--tenue); max-width: 440px; }
.hoja .abierto .acciones { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.hoja .abierto .pildora { padding: 11px 22px; font-size: 14px; }
.hoja .sujeto {
  position: absolute; z-index: 2; pointer-events: none; opacity: 0;
  transform: translateY(40px); transition: opacity .4s, transform .6s var(--curva);
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .5));
  -webkit-mask-image: linear-gradient(to top, transparent 0, #000 12%); mask-image: linear-gradient(to top, transparent 0, #000 12%);
}
.hoja .sujeto img { height: 100%; width: auto; max-width: none; }
.hoja.abierta .sujeto { opacity: 1; transform: none; transition: opacity 1s var(--curva) .45s, transform 1.2s var(--curva) .45s; }

/* ───────── El sistema ───────── */
.sistema { position: relative; overflow: hidden; background: var(--noche); padding: clamp(90px, 10vw, 140px) clamp(16px, 5vw, 72px) clamp(70px, 8vw, 110px); }
.sistema .reticula {
  position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image: linear-gradient(rgba(255, 254, 254, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 254, 254, .05) 1px, transparent 1px);
  background-size: 80px 80px; background-position: center;
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 45%, #000 20%, transparent 75%);
}
.sistema .halo { position: absolute; left: 50%; top: 52%; width: 1100px; height: 900px; transform: translate(-50%, -50%); pointer-events: none; background: radial-gradient(closest-side, rgba(102, 186, 71, .2), rgba(0, 79, 40, .18) 45%, transparent); }
.sistema-cabeza { position: relative; text-align: center; max-width: 1240px; margin: 0 auto; }
.sistema-cabeza h2 { font-size: clamp(38px, 6.2vw, 96px); font-weight: 800; line-height: .98; letter-spacing: -.035em; margin: 18px 0 34px; }
.sistema-cabeza h2 em { font-style: normal; color: var(--hoja); }
.pestanas { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255, 254, 254, .06); border: 1px solid var(--borde); position: relative; }
.pestanas button { display: flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--tenue); transition: background .35s, color .35s; }
.pestanas button svg { width: 18px; height: 18px; }
.pestanas button.activa { background: var(--hoja); color: var(--noche); }
.pestanas button:not(.activa):hover { color: var(--blanco); }

.escenario-sistema { position: relative; display: grid; grid-template-columns: 1fr 330px 1fr; align-items: center; gap: 30px; margin-top: 50px; min-height: 680px; }
.escenario-sistema .escena { position: relative; height: 620px; }
.escena svg.lineas { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.escena .lineas path { fill: none; stroke: rgba(255, 254, 254, .45); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--curva), stroke .3s; }
.sistema.visto .escena .lineas path { stroke-dashoffset: 0; }
.escena .lineas path.activa { stroke: var(--hoja); }
.escena .planta-caja { position: absolute; left: 62%; bottom: 3%; height: 92%; transform: translateX(-50%); }
.escena .planta { height: 100%; width: auto; max-width: none; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .55)); }
.escaner { position: absolute; left: -16%; right: -16%; top: 0; height: 2px; background: var(--hoja); box-shadow: 0 0 18px 4px rgba(102, 186, 71, .7); opacity: 0; }
.escaner::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 120px; background: linear-gradient(0deg, rgba(102, 186, 71, .22), transparent); }
.escenario-sistema[data-paso="0"] .escaner { animation: escanear 3.6s cubic-bezier(.5, 0, .5, 1) infinite; }
@keyframes escanear { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.escena .placa { position: absolute; left: 66%; bottom: 0; width: 34%; transform: rotate(-8deg); filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .5)); }
.escena .dato { position: absolute; display: flex; align-items: center; gap: 12px; transform: translateY(-50%); opacity: 0; transition: opacity .8s var(--curva); }
.sistema.visto .escena .dato { opacity: 1; }
.escena .dato.izq { flex-direction: row-reverse; text-align: right; }
.escena .dato .nodo { width: 11px; height: 11px; flex: none; background: var(--hoja); outline: 1px solid rgba(102, 186, 71, .5); outline-offset: 4px; transition: outline-offset .3s; }
.escena .dato.agua .nodo { background: var(--agua); outline-color: rgba(22, 90, 138, .8); }
.escena .dato.tierra .nodo { background: var(--tierra); outline-color: rgba(153, 67, 49, .8); }
.escena .dato:hover .nodo { outline-offset: 7px; }
.escena .dato small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--tenue); }
.escena .dato strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.3; white-space: nowrap; }

.telefono {
  position: relative; z-index: 3; width: 330px; height: 680px; padding: 12px; border-radius: 52px;
  background: linear-gradient(145deg, #1d2a22, #050a07); box-shadow: 0 0 0 1.5px rgba(255, 254, 254, .14), 0 60px 120px rgba(0, 0, 0, .6), 0 0 120px rgba(102, 186, 71, .18);
}
.telefono .pantalla { position: relative; height: 100%; border-radius: 41px; overflow: hidden; background: #04170c; }
.barra-tel { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px 0; font-size: 12px; font-weight: 600; }
.barra-tel .isla { width: 96px; height: 28px; border-radius: 16px; background: #000; }
.vista { position: absolute; inset: 52px 0 0; padding: 14px 22px 22px; display: flex; flex-direction: column; opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .5s, transform .6s var(--curva); pointer-events: none; }
.escenario-sistema[data-paso="0"] .v-medir, .escenario-sistema[data-paso="1"] .v-ubicar, .escenario-sistema[data-paso="2"] .v-verificar { opacity: 1; transform: none; pointer-events: auto; transition-delay: .15s; }
.tel-cabeza small { display: block; font-size: 11px; color: var(--tenue); letter-spacing: .04em; }
.tel-cabeza b { font-size: 20px; font-weight: 700; }
.gps-anillo { position: relative; width: 210px; height: 210px; margin: 26px auto 10px; }
.gps-anillo svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gps-anillo circle { fill: none; stroke: rgba(255, 254, 254, .08); stroke-width: 10; }
.gps-anillo .gps-avance { stroke: var(--agua); stroke-linecap: round; stroke-dasharray: 477.5; stroke-dashoffset: 477.5; transition: stroke .5s; }
.gps-anillo.fijo .gps-avance { stroke: var(--hoja); }
.gps-anillo.fijo { animation: latido .9s var(--curva); }
@keyframes latido { 40% { transform: scale(1.05); } }
.gps-centro { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gps-centro small { font-size: 12px; color: var(--tenue); text-transform: uppercase; letter-spacing: .12em; }
.gps-centro b { font-size: 36px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gps-anillo.fijo .gps-centro small { color: var(--hoja); }
.gps-frase { font-size: 13px; color: var(--tenue); text-align: center; min-height: 3em; }
.tel-filas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.tel-filas div { padding: 12px 14px; border-radius: 16px; background: rgba(255, 254, 254, .06); }
.tel-filas small { display: block; font-size: 11px; color: var(--tenue); }
.tel-filas b { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mapa { width: 100%; flex: 1; margin: 12px 0; border-radius: 22px; background: radial-gradient(circle at 50% 50%, #0d3a20, #03140a); }
.mapa .rej { stroke: rgba(255, 254, 254, .07); stroke-width: .3; }
.mapa .zona { fill: rgba(102, 186, 71, .07); stroke: rgba(102, 186, 71, .55); stroke-width: .5; stroke-dasharray: 2 1.5; }
.mapa .punto { fill: var(--hoja); }
.mapa .prec { fill: rgba(22, 90, 138, .35); stroke: rgba(22, 90, 138, .9); stroke-width: .25; }
.mapa .etq { font-size: 5.2px; font-weight: 600; fill: rgba(255, 254, 254, .8); font-family: Poppins, sans-serif; }
.mapa .yo .punto { fill: var(--blanco); }
.mapa .pulso { fill: none; stroke: var(--hoja); stroke-width: .5; transform-box: fill-box; transform-origin: center; animation: pulso 2s ease-out infinite; }
@keyframes pulso { from { transform: scale(1); opacity: 1; } to { transform: scale(4); opacity: 0; } }
.mapa .aparece-punto { opacity: 0; transition: opacity .5s; }
.escenario-sistema[data-paso="1"] .mapa .aparece-punto { opacity: 1; }
.tel-tarjeta { padding: 12px 16px; border-radius: 16px; background: rgba(255, 254, 254, .08); border: 1px solid var(--borde); }
.tel-tarjeta b { display: block; font-size: 16px; }
.tel-tarjeta span { font-size: 12px; color: var(--tenue); }
.v-verificar { padding-top: 0; }
.ficha-foto { position: relative; height: 200px; margin: 0 -22px 16px; }
.ficha-foto img { width: 100%; height: 100%; object-fit: cover; }
.ficha-foto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #04170c 0%, transparent 60%); }
.sello { position: absolute; z-index: 2; left: 22px; bottom: 6px; padding: 6px 12px 6px 30px; border-radius: 999px; background: var(--hoja); color: var(--noche); font-size: 12px; font-weight: 700; }
.sello::before { content: ''; position: absolute; left: 12px; top: 50%; width: 9px; height: 5px; border: solid var(--noche); border-width: 0 0 2px 2px; transform: translateY(-70%) rotate(-45deg); }
.cadena { display: flex; flex-direction: column; gap: 0; margin-top: 14px; }
.eslabon { position: relative; padding: 10px 12px 10px 34px; border-radius: 14px; background: rgba(255, 254, 254, .05); margin-bottom: 18px; opacity: 0; transform: translateX(-12px); transition: opacity .5s, transform .6s var(--curva); }
.escenario-sistema[data-paso="2"] .eslabon { opacity: 1; transform: none; }
.eslabon::before { content: ''; position: absolute; left: 13px; top: 15px; width: 9px; height: 9px; border-radius: 2px; background: var(--hoja); }
.eslabon:not(:last-child)::after { content: ''; position: absolute; left: 17px; top: 26px; bottom: -28px; width: 1px; background: rgba(102, 186, 71, .5); }
.eslabon b { display: block; font-size: 13px; }
.eslabon small { display: block; font-size: 11px; color: var(--tenue); }
.eslabon code { font-family: inherit; font-size: 11px; color: var(--hoja); }

.flotante { position: absolute; z-index: 4; padding: 14px 18px; min-width: 170px; transition: opacity .4s, transform .6s var(--curva); }
.flotante small { display: block; font-size: 11px; color: var(--tenue); }
.flotante b { font-size: 24px; font-weight: 600; line-height: 1.2; }
.flotante.f1 { left: calc(50% + 110px); top: 70px; animation: flotar 7s ease-in-out infinite; }
.flotante.f2 { left: calc(50% + 120px); bottom: 50px; animation: flotar 8s ease-in-out infinite 1s; }
.flotante.cambia { opacity: 0; transform: translateY(10px); }

.explica { position: relative; min-height: 300px; }
.paso-texto { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .6s var(--curva); pointer-events: none; }
.paso-texto.activo { opacity: 1; transform: none; pointer-events: auto; transition-delay: .15s; }
.paso-texto h3 { font-size: clamp(26px, 2.4vw, 36px); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; margin-bottom: 16px; }
.paso-texto p { color: var(--tenue); font-size: 16px; margin-bottom: 24px; }

.cifras-sistema { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 60px; border-radius: var(--radio); overflow: hidden; border: 1px solid var(--borde); background: var(--borde); }
.cifras-sistema div { padding: 26px 28px; background: rgba(0, 35, 19, .92); }
.cifras-sistema b { display: block; font-size: clamp(36px, 3.6vw, 56px); font-weight: 700; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cifras-sistema span { display: block; margin-top: 8px; font-size: 14px; color: var(--tenue); }
.cifras-sistema p { grid-column: 1 / -1; padding: 12px 28px; background: rgba(0, 35, 19, .92); font-size: 12px; color: var(--tenue); }

/* ───────── Hoja por hoja ───────── */
.bosque { position: relative; background: var(--noche); }
.bosque .niebla { position: relative; height: 92vh; min-height: 560px; overflow: hidden; }
.bosque .niebla img { width: 100%; height: 100%; object-fit: cover; }
.bosque .niebla::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--noche) 0%, rgba(0, 35, 19, 0) 22%, rgba(0, 35, 19, 0) 40%, rgba(0, 35, 19, .6) 70%, var(--noche) 100%); }
.bosque .niebla h2, .bosque .niebla h1 { position: absolute; left: 0; right: 0; top: 38%; text-align: center; z-index: 2; font-size: clamp(64px, 13vw, 210px); font-weight: 800; letter-spacing: -.03em; line-height: .9; }
.bosque .niebla .pie-niebla { position: absolute; z-index: 2; left: clamp(16px, 5vw, 72px); right: clamp(16px, 5vw, 72px); bottom: 12%; display: flex; justify-content: space-between; align-items: end; font-size: 13px; color: var(--tenue); }
.letras { display: flex; justify-content: center; align-items: flex-start; gap: clamp(10px, 2vw, 28px); padding: 40px clamp(16px, 5vw, 72px) 30px; }
.letras figure { position: relative; width: clamp(90px, 11vw, 170px); cursor: pointer; }
.letras figure:nth-child(2n) { margin-top: 60px; }
.letras figure:nth-child(3n) { margin-top: 110px; }
.letras figure img { width: 100%; aspect-ratio: 3 / 5; object-fit: cover; border-radius: 6px; filter: saturate(.9) brightness(.9); transition: filter .5s, transform .6s var(--curva); }
.letras figure:hover img { filter: none; transform: scale(1.05); }
.letras figure b { position: absolute; left: 50%; bottom: -.45em; transform: translateX(-50%); font-size: clamp(34px, 4vw, 60px); font-weight: 800; line-height: 1; text-shadow: 0 6px 20px rgba(0, 0, 0, .5); }
.letras figcaption { position: absolute; left: 0; right: 0; top: calc(100% + 46px); font-size: 12px; color: var(--tenue); text-align: center; opacity: 0; transition: opacity .4s; }
.letras figure:hover figcaption { opacity: 1; }
.bosque .cierre-texto { text-align: center; max-width: 700px; margin: 120px auto 0; padding: 0 16px 140px; color: var(--tenue); font-size: 17px; }

/* ───────── Visita: ventana en arco ───────── */
.visita { position: relative; height: 100svh; min-height: 760px; max-height: 1000px; overflow: hidden; background: #00170C; padding: 0 clamp(16px, 5vw, 72px); }
.ambiente { position: absolute; inset: -60px; z-index: 0; }
.ambiente img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(34px) brightness(.32) saturate(1.2); opacity: 0; transition: opacity 1.2s; }
.ambiente img.activo { opacity: 1; }
.visita::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, var(--noche) 0%, transparent 25%, transparent 70%, rgba(0, 23, 12, .9) 100%); }
.visita .gigante {
  position: absolute; z-index: 1; left: 0; right: 0; top: 13%; text-align: center; white-space: nowrap;
  font-size: clamp(60px, 12.4vw, 220px); font-weight: 800; letter-spacing: -.03em; text-transform: uppercase; line-height: 1;
  background: linear-gradient(180deg, #FFFEFE 10%, rgba(255, 254, 254, .25) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.visita .arco { position: absolute; z-index: 2; left: 50%; bottom: 0; transform: translateX(-50%); width: min(30vw, 440px); height: 76%; border-radius: 999px 999px 0 0; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 254, 254, .18), 0 -30px 90px rgba(0, 0, 0, .55); }
.visita .arco img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.15); transition: opacity 1s var(--curva), transform 7s var(--curva); }
.visita .arco img.activo { opacity: 1; transform: scale(1); }
.visita .arco::after { content: ''; position: absolute; inset: 0; z-index: 1; box-shadow: inset 0 0 60px rgba(0, 0, 0, .45); border-radius: inherit; pointer-events: none; }
.visita .chip { position: absolute; z-index: 3; left: 50%; top: 44px; transform: translateX(-50%); padding: 7px 16px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.arco-recorte { position: absolute; z-index: 3; pointer-events: none; opacity: 0; transform: translateY(20px); transition: opacity .8s var(--curva), transform 1s var(--curva); filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .55)); }
.arco-recorte.ve { opacity: 1; transform: none; }
.visita-izq { position: absolute; z-index: 3; left: clamp(16px, 5vw, 72px); bottom: 9%; max-width: 310px; }
.visita-izq p { color: var(--tenue); font-size: 15px; margin: 14px 0 20px; }
.visita-der { position: absolute; z-index: 3; right: clamp(16px, 5vw, 72px); bottom: 9%; width: min(380px, 30vw); }
.visita .conteo { display: flex; align-items: end; justify-content: space-between; margin-bottom: 18px; }
.visita .conteo span { font-size: 30px; font-weight: 300; position: relative; padding-bottom: 6px; }
.visita .conteo span.act::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--hoja); }
.visita .conteo .linea-c { flex: 1; height: 1px; background: var(--borde); margin: 0 14px 12px; position: relative; overflow: hidden; }
.visita .conteo .linea-c i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--hoja); transition: width .8s var(--curva); }
.visita .evento { display: flex; gap: 16px; padding: 14px; }
.visita .evento img { width: 104px; height: 120px; object-fit: cover; border-radius: 12px; flex: none; }
.visita .evento small { font-size: 12px; color: var(--tenue); }
.visita .evento h4 { font-size: 16px; font-weight: 700; text-transform: uppercase; line-height: 1.25; margin: 2px 0 6px; }
.visita .evento p { font-size: 13px; color: var(--tenue); line-height: 1.45; }
.visita .evento .pildora { padding: 8px 16px; font-size: 13px; margin-top: 10px; }
.visita-pie { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.miniaturas { display: flex; gap: 8px; }
.miniaturas button { width: 46px; height: 46px; border-radius: 12px; overflow: hidden; opacity: .5; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .3s, outline-color .3s; }
.miniaturas button img { width: 100%; height: 100%; object-fit: cover; }
.miniaturas button.activo, .miniaturas button:hover { opacity: 1; }
.miniaturas button.activo { outline-color: var(--hoja); }
.visita .flechas { display: flex; gap: 10px; }
.visita .flechas button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--borde); display: grid; place-items: center; }
.visita .flechas button:hover { border-color: var(--hoja); }
.visita .flechas svg { width: 16px; height: 16px; }

/* ───────── Educación ambiental (sección clara) ───────── */
.educa { position: relative; overflow: hidden; background: var(--blanco); color: var(--noche); padding: clamp(120px, 14vw, 200px) clamp(16px, 5vw, 72px) clamp(70px, 8vw, 110px); }
.educa-fondo { position: absolute; left: 50%; top: -0.12em; transform: translateX(-50%); font-size: 26vw; font-weight: 200; line-height: 1; letter-spacing: -.04em; color: var(--claro); white-space: nowrap; pointer-events: none; }
.educa-rejilla { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 4vw, 70px); align-items: end; }
.educa-texto h2 { font-size: clamp(44px, 6vw, 96px); font-weight: 700; line-height: .95; letter-spacing: -.04em; margin: 16px 0 22px; color: var(--verde); }
.educa-texto p { font-size: 17px; color: rgba(0, 35, 19, .72); max-width: 440px; }
.educa-texto .acciones { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.educa-foto { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 10.5; }
.educa-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--curva); }
.educa-foto:hover img { transform: scale(1.04); }
.cidea { position: absolute; right: 16px; top: 16px; width: min(320px, 70%); padding: 22px; border-radius: 20px; background: rgba(0, 35, 19, .9); color: var(--blanco); backdrop-filter: blur(10px); }
.cidea small { font-size: 12px; color: var(--tenue); }
.cidea b { display: block; font-size: 24px; font-weight: 700; line-height: 1.1; margin: 2px 0 8px; }
.cidea p { font-size: 13px; color: var(--tenue); }
.cidea .chips { display: flex; gap: 8px; margin-top: 14px; }
.cidea .chips span { padding: 5px 14px; border-radius: 999px; border: 1px solid var(--borde); font-size: 12px; font-weight: 600; }
.programas { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.programa { position: relative; display: block; height: 340px; border-radius: 24px; overflow: hidden; color: var(--blanco); isolation: isolate; }
.programa img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--curva); }
.programa::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 23, 12, .92) 0%, rgba(0, 23, 12, .1) 60%); }
.programa:hover img { transform: scale(1.07); }
.programa > div { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; }
.chip-claro { display: inline-block; padding: 5px 13px; border-radius: 999px; background: rgba(255, 254, 254, .16); backdrop-filter: blur(8px); font-size: 12px; font-weight: 500; }
.programa h4 { font-size: 30px; font-weight: 800; line-height: 1; margin: 12px 0 8px; }
.programa p { font-size: 14px; color: var(--tenue); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--curva), opacity .5s; }
.programa:hover p { max-height: 120px; opacity: 1; }
.educa .aliados { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; margin-top: 50px; padding-top: 26px; border-top: 1px solid rgba(0, 35, 19, .12); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(0, 35, 19, .75); }
.educa .aliados small { font-size: 11px; letter-spacing: .3em; color: var(--verde); margin-right: 10px; }

/* ───────── Cierre con lomas ───────── */
.cierre { position: relative; min-height: 86vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-bottom: 12vh; }
.cierre > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.cierre::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--noche) 0%, rgba(0, 35, 19, .2) 30%, rgba(0, 35, 19, .1) 60%, rgba(0, 23, 12, .95) 100%); }
.cierre .llamado { text-align: center; padding: clamp(110px, 16vw, 200px) 16px 0; }
.cierre .llamado h2 { font-size: clamp(40px, 6.4vw, 96px); font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.cierre .llamado p { color: var(--tenue); margin: 18px auto 30px; max-width: 520px; }
.cierre .formulario { display: flex; gap: 8px; max-width: 520px; margin: 0 auto; padding: 8px; border-radius: 999px; }
.cierre .formulario input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--blanco); font: inherit; font-size: 15px; padding: 0 18px; outline: none; }
.cierre .formulario input::placeholder { color: var(--tenue); }
.pie { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding: 70px clamp(16px, 5vw, 72px) 30px; }
.pie img { height: 40px; width: auto; margin-bottom: 16px; }
.pie h5 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--tenue); font-weight: 600; margin-bottom: 14px; }
.pie a { display: block; font-size: 14px; margin-bottom: 8px; opacity: .9; }
.pie a:hover { color: var(--hoja); }
.pie p { font-size: 14px; color: var(--tenue); max-width: 320px; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px clamp(16px, 5vw, 72px) 30px; border-top: 1px solid var(--borde); font-size: 12px; color: var(--tenue); }
.legal div { display: flex; gap: 20px; flex-wrap: wrap; }

/* ───────── Ficha de producto ───────── */
.producto-portada { position: relative; height: 100svh; min-height: 680px; overflow: hidden; display: grid; grid-template-columns: 46% 1fr; }
.producto-portada > .fondo { position: absolute; inset: 0; }
.producto-portada > .fondo img { width: 100%; height: 100%; object-fit: cover; }
.producto-portada .panel { position: relative; z-index: 2; padding: 150px clamp(20px, 4vw, 64px) 60px; background: rgba(0, 35, 19, .5); backdrop-filter: blur(26px) saturate(1.1); -webkit-backdrop-filter: blur(26px) saturate(1.1); border-right: 1px solid var(--borde); display: flex; flex-direction: column; justify-content: center; }
.producto-portada .migas { font-size: 13px; color: var(--tenue); display: flex; align-items: center; gap: 12px; }
.producto-portada .migas::before { content: ''; width: 34px; height: 1px; background: var(--tenue); }
.producto-portada h1 { font-size: clamp(38px, 4.6vw, 72px); font-weight: 700; line-height: 1.02; letter-spacing: -.025em; margin: 20px 0 22px; }
.producto-portada .panel > p { color: var(--tenue); font-size: 16px; max-width: 470px; }
.producto-portada .acciones { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.producto-portada .miniatura { margin-top: 40px; width: min(320px, 70%); aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; }
.producto-portada .miniatura img { width: 100%; height: 100%; object-fit: cover; }
.producto-portada .verbo-lateral { position: absolute; z-index: 1; right: -1vw; bottom: 8%; font-size: 14vw; font-weight: 800; line-height: .8; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 254, 254, .45); letter-spacing: -.02em; }
.producto-portada .recorte { position: absolute; z-index: 3; bottom: 0; left: 67%; transform: translateX(-50%); height: 76%; pointer-events: none; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); -webkit-mask-image: linear-gradient(to top, transparent 0, #000 22%); mask-image: linear-gradient(to top, transparent 0, #000 22%); }
.producto-portada .recorte img { height: 100%; width: auto; max-width: none; }
.producto-portada .navega { position: absolute; z-index: 4; right: 0; bottom: 0; display: flex; }
.producto-portada .navega a { width: 84px; height: 84px; display: grid; place-items: center; background: rgba(102, 186, 71, .9); color: var(--noche); transition: background .2s; }
.producto-portada .navega a + a { border-left: 1px solid rgba(0, 35, 19, .25); }
.producto-portada .navega a:hover { background: var(--hoja); }
.producto-portada .navega svg { width: 22px; height: 22px; }
.producto-portada .desliza { position: absolute; z-index: 3; left: 18px; bottom: 50px; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--tenue); }

.calculadora { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
.calculadora .entrada { padding: clamp(26px, 4vw, 48px); background: var(--verde); border-radius: var(--radio); color: var(--blanco); }
.calculadora label { display: block; font-size: 14px; color: var(--tenue); margin-bottom: 10px; }
.calculadora .campo-num { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.calculadora .campo-num input { width: 100%; font: inherit; font-size: clamp(40px, 5vw, 72px); font-weight: 700; color: var(--blanco); background: transparent; border: 0; border-bottom: 2px solid var(--borde); outline: none; padding: 0 0 6px; }
.calculadora .campo-num input:focus { border-color: var(--hoja); }
.calculadora input[type=range] { width: 100%; accent-color: var(--hoja); }
.calculadora .resultado { padding: clamp(26px, 4vw, 48px); border-radius: var(--radio); background: var(--claro); color: var(--noche); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.calculadora .resultado .cifra { font-size: clamp(64px, 8vw, 128px); font-weight: 800; line-height: .9; letter-spacing: -.03em; color: var(--verde); }
.calculadora .resultado p { color: rgba(0, 35, 19, .72); font-size: 15px; }
.calculadora .nota { font-size: 12.5px; color: rgba(0, 35, 19, .6); }

.pasos { display: grid; gap: 12px; max-width: 860px; }
.paso { padding: 22px 26px; transition: background .3s, border-color .3s; }
.paso .cabeza { display: flex; align-items: center; gap: 18px; }
.paso .interruptor { width: 46px; height: 26px; border-radius: 13px; background: rgba(255, 254, 254, .18); position: relative; flex: none; transition: background .3s; }
.paso .interruptor::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--blanco); transition: transform .35s var(--curva); }
.paso.abierto { background: rgba(102, 186, 71, .1); border-color: rgba(102, 186, 71, .4); }
.paso.abierto .interruptor { background: var(--hoja); }
.paso.abierto .interruptor::after { transform: translateX(20px); }
.paso h4 { font-size: 18px; font-weight: 600; }

.recibe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.recibe .item { padding: 26px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; }
.recibe .item svg { width: 34px; height: 34px; color: var(--hoja); }
.recibe .item h4 { font-size: 18px; font-weight: 600; margin-top: 30px; }
.recibe .item p { font-size: 14px; color: var(--tenue); margin-top: 6px; }

.otros { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.otros a { position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; display: flex; align-items: flex-end; padding: 18px; isolation: isolate; }
.otros a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--curva); }
.otros a::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 23, 12, .9), rgba(0, 23, 12, 0) 60%); }
.otros a:hover img { transform: scale(1.06); }
.otros b { font-weight: 800; text-transform: uppercase; font-size: 22px; line-height: 1; display: block; }
.otros span { font-size: 13px; color: var(--tenue); }

/* ───────── Ventana de cotización ───────── */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(0, 15, 8, .6); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .35s; }
.modal.abierto { opacity: 1; pointer-events: auto; }
.modal .caja { position: relative; width: min(520px, 100%); padding: clamp(24px, 4vw, 40px); background: rgba(0, 35, 19, .92); transform: translateY(20px); transition: transform .5s var(--curva); }
.modal.abierto .caja { transform: none; }
.modal h3 { font-size: 28px; font-weight: 700; line-height: 1.1; margin: 10px 0 8px; }
.modal p { color: var(--tenue); font-size: 14px; margin-bottom: 20px; }
.modal .campo { margin-bottom: 12px; }
.modal input, .modal textarea { width: 100%; font: inherit; font-size: 15px; color: var(--blanco); background: rgba(255, 254, 254, .06); border: 1px solid var(--borde); border-radius: 12px; padding: 13px 16px; outline: none; }
.modal input:focus, .modal textarea:focus { border-color: var(--hoja); }
.modal textarea { resize: vertical; min-height: 90px; }
.modal .cerrar { position: absolute; top: 18px; right: 18px; }
.modal .gracias { display: none; text-align: center; padding: 20px 0; }
.modal.enviado form { display: none; }
.modal.enviado .gracias { display: block; }

/* ───────── Pantallas medianas ───────── */
@media (max-width: 1180px) {
  .cabecera nav { display: none; }
  .hamburguesa { display: grid; }
  .cabecera > .hamburguesa { justify-self: start; }
  .escenario-sistema { grid-template-columns: 1fr 300px; }
  .escenario-sistema .escena { display: none; }
  .telefono { width: 300px; height: 620px; }
  .flotante.f2 { left: auto; right: calc(300px + 40px); }
  .flotante.f1 { left: auto; right: -10px; }
  .explica { grid-column: 1; grid-row: 1; }
  .proximo .txt { display: none; }
}

/* ───────── Celular ───────── */
@media (max-width: 960px) {
  .cabecera { grid-template-columns: auto 1fr auto; }
  .cabecera .logo img { height: 34px; }
  .cabecera .acceso { display: none; }
  .palabra { font-size: 17vw; }
  .mundos .eco { display: none; }
  .mundos .titular { top: 26%; }
  .mundos .mundo-sobre { top: calc(26% - 2.4em); letter-spacing: .3em; }
  .mundos .barra { grid-template-columns: minmax(0, 1fr); gap: 14px; justify-items: start; }
  .mundos .frase { min-height: 0; font-size: 13px; color: var(--blanco); text-shadow: 0 1px 10px rgba(0, 0, 0, .9); }
  .mundos .selector { justify-self: stretch; justify-content: space-between; min-width: 0; }
  .mundos .puntos { display: none; }
  .proximo .mini-foto { display: none; }
  .formas-cabeza { flex-direction: column; align-items: start; gap: 14px; }
  .acordeon { flex-direction: column; height: auto; min-height: 0; padding-top: 0; margin-top: 0; }
  .hoja { flex: none; height: 74px; transition: height .8s var(--curva); }
  .hoja.abierta { flex: none; height: 520px; }
  .hoja .vertical { writing-mode: horizontal-tb; transform: none; left: 56px; bottom: auto; top: 50%; translate: 0 -50%; font-size: 24px; }
  .hoja .num { top: 50%; translate: 0 -50%; }
  .hoja.abierta .num { top: 20px; translate: none; }
  .hoja .tipo { top: 50%; translate: 0 -50%; }
  .hoja.abierta .tipo { top: 20px; translate: none; }
  .hoja .abierto { width: 100%; }
  .hoja .sujeto { display: none; }
  .escenario-sistema { grid-template-columns: 1fr; justify-items: center; min-height: 0; }
  .explica { grid-row: auto; min-height: 280px; width: 100%; }
  .flotante { display: none; }
  .cifras-sistema { grid-template-columns: 1fr 1fr; }
  .letras { flex-wrap: wrap; }
  .letras figure { width: 26vw; }
  .letras figure:nth-child(2n), .letras figure:nth-child(3n) { margin-top: 0; }
  .visita { height: auto; max-height: none; min-height: 0; padding-top: 90px; padding-bottom: 50px; display: flex; flex-direction: column; gap: 24px; }
  .visita .gigante { position: relative; top: 0; font-size: 15vw; white-space: normal; z-index: 1; }
  .visita .arco { position: relative; left: auto; bottom: auto; transform: none; width: 100%; height: 64vh; z-index: 2; }
  .arco-recorte { display: none; }
  .visita-izq, .visita-der { position: relative; left: auto; right: auto; bottom: auto; width: 100%; max-width: none; }
  .educa-rejilla { grid-template-columns: 1fr; }
  .programas { grid-template-columns: 1fr; }
  .programa { height: 300px; }
  .programa p { max-height: 120px; opacity: 1; }
  .pie { grid-template-columns: 1fr 1fr; }
  .producto-portada { grid-template-columns: 1fr; height: auto; }
  .producto-portada .panel { padding-top: 120px; padding-bottom: 260px; }
  .producto-portada .recorte { left: 60%; }
  .producto-portada .verbo-lateral { display: none; }
  .producto-portada .navega a { width: 60px; height: 60px; }
  .calculadora { grid-template-columns: 1fr; }
  .recibe { grid-template-columns: 1fr 1fr; }
  .otros { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .telefono { width: 290px; height: 600px; }
  .pestanas button { padding: 10px 14px; }
  .cidea { position: relative; right: auto; top: auto; width: auto; margin: -60px 12px 0; }
  .educa-foto { aspect-ratio: auto; overflow: visible; }
  .educa-foto img { border-radius: 24px; aspect-ratio: 4 / 3; }
  .recibe { grid-template-columns: 1fr; }
  .pie { grid-template-columns: 1fr; }
  .cierre .formulario { flex-direction: column; border-radius: 22px; }
  .cierre .formulario input { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
