/* ==========================================================================
   KOSMOS DIGITALES — estilos del home
   Índice: 1 Hero · 2 Diferencial · 3 Banda · 4 Servicios · 5 Cámara · 6 Lente · 7 Contacto
   Cada sección tiene su propio efecto de salida (en main.js, data-fx) y su propio
   efecto al pasar el cursor, que se define acá.
   ========================================================================== */

/* ---------- 1. HERO ---------- */
.hero { position: relative; z-index: 1; height: 100vh; height: 100svh; min-height: 540px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(ellipse 90% 70% at 50% 55%, #10295a 0%, var(--tinta) 68%); color: var(--marfil); }
.sky { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-luz { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(232, 191, 131, .15), transparent 70%); opacity: 0; transition: opacity .6s; }
.hero.is-sobre .hero-luz { opacity: 1; }
.hero-fx { width: 100%; display: grid; place-items: center; }
.logo-wrap { width: min(1180px, 94vw); }
.logo { width: 100%; height: auto; overflow: visible; }
.js .logo { visibility: hidden; }
.js-ok .logo { visibility: visible; }
.js:not(.js-ok) .logo { animation: ver 0s 2.5s forwards; }
@keyframes ver { to { visibility: visible; } }
.logo .kl-spark, .logo .kl-halo, .logo .kl-ring { transform-box: fill-box; transform-origin: center; }
.logo .kl-lantern { opacity: 0; transition: opacity .6s; }
.hero.is-sobre .kl-lantern { opacity: 1; }
.logo.is-viva .kl-spark-a { animation: titilar 3.8s ease-in-out infinite; }
.logo.is-viva .kl-spark-b { animation: titilar 4.6s ease-in-out -1.7s infinite; }
@keyframes titilar { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 45% { transform: scale(.55) rotate(18deg); opacity: .55; } 70% { transform: scale(1.12) rotate(-8deg); opacity: 1; } }
.logo.is-viva .kl-halo { animation: halo 4.5s ease-in-out infinite; }
.logo.is-viva .kl-ring { animation: onda 4.5s ease-out infinite; }
@keyframes halo { 0%, 100% { transform: scale(.85); opacity: .55; } 50% { transform: scale(1.15); opacity: 1; } }
@keyframes onda { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.6); opacity: 0; } }

.hero-bajar { position: absolute; left: 50%; bottom: calc(var(--curve) + 14px); width: 26px; height: 44px; margin-left: -13px; border: 1.4px solid rgba(248, 240, 227, .4); border-radius: 14px; transition: border-color .3s, opacity .6s; }
.hero-bajar span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--oro); animation: bajar 2.2s var(--ease-io) infinite; }
.hero-bajar:hover { border-color: var(--oro); }
@keyframes bajar { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- 2. DIFERENCIAL — paneles que se abren ---------- */
.dif { display: flex; gap: 14px; height: clamp(440px, 60vh, 580px); }
.dif-p { position: relative; flex: 1 1 0; min-width: 0; border-radius: 26px; overflow: hidden; cursor: pointer; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(20px, 2.4vw, 30px); color: var(--marfil); transition: flex-grow .95s var(--ease); }
.dif-p.is-open { flex-grow: 3.6; cursor: default; }
.dif-navy { background: var(--tinta); }
.dif-arena { background: var(--arena); color: var(--tinta); }
.dif-acero { background: var(--acero); }
.dif-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transform: scale(1.12); transition: clip-path 1s var(--ease-io), transform 1.6s var(--ease); }
.dif-p.is-open .dif-img { clip-path: inset(0 0 0 0); transform: scale(1); }
.dif-vel { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 23, 57, 0) 30%, rgba(7, 23, 57, .88) 100%); opacity: 0; transition: opacity .8s; }
.dif-p.is-open .dif-vel { opacity: 1; }
.dif-p.is-open { color: var(--marfil); }
.dif-t { position: relative; font: 700 clamp(1.3rem, 2.2vw, 1.85rem)/1.2 var(--f-titulo); letter-spacing: -.02em; white-space: nowrap; transform-origin: 0 100%; transform: translateX(1.2em) rotate(-90deg); transition: transform .95s var(--ease), white-space 0s .5s; }
.dif-p.is-open .dif-t { transform: none; white-space: normal; max-width: 20ch; }
.dif-d { max-width: 42ch; font-size: 1.02rem; max-height: 0; opacity: 0; overflow: hidden; transform: translateY(16px); transition: max-height .8s var(--ease), opacity .5s, transform .8s var(--ease); }
.dif-p.is-open .dif-d { max-height: 14em; margin-top: .8rem; opacity: 1; transform: none; transition-delay: .3s, .35s, .3s; }
.dif-p::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .22) 50%, transparent 62%); transform: translateX(-110%); transition: transform 1.1s var(--ease); }
.dif-p:not(.is-open):hover::after { transform: translateX(110%); }
.js .dif-p:not(.is-open):hover { filter: brightness(1.08); }
.dif-puntos { display: none; }
@media (max-width: 760px) {
  .dif { flex-direction: row; height: auto; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; scroll-padding-inline: var(--gutter); -webkit-overflow-scrolling: touch; }
  .dif::-webkit-scrollbar { display: none; }
  .dif .dif-p { flex: 0 0 82%; min-height: 440px; scroll-snap-align: center; justify-content: flex-end; color: var(--marfil); transition: none; }
  .dif .dif-img { clip-path: inset(0); transform: none; transition: none; }
  .dif .dif-vel { opacity: 1; }
  .dif .dif-t { transform: none; white-space: normal; max-width: 14ch; position: relative; left: 0; top: 0; }
  .dif .dif-d { max-height: none; opacity: 1; transform: none; margin-top: .8rem; }
  .dif-p::after { display: none; }
  .dif-puntos { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; min-height: 28px; }
  .dif-puntos i { width: 8px; height: 8px; border-radius: 99px; background: rgba(7, 23, 57, .25); cursor: pointer; transition: width .4s var(--ease), background .3s; }
  .dif-puntos i.is-on { width: 28px; background: var(--bronce); }
  .dif-pista { margin-right: 10px; font: 600 .82rem var(--f-titulo); letter-spacing: .04em; color: var(--tinta); display: inline-flex; align-items: center; gap: 6px; transition: opacity .4s; }
  .dif-pista::after { content: "→"; display: inline-block; animation: pista 1.4s var(--ease-io) infinite; }
  .dif-puntos.is-fin .dif-pista { opacity: 0; width: 0; margin: 0; overflow: hidden; }
  @keyframes pista { 50% { transform: translateX(7px); } }
}

/* ---------- 3. BANDA — barrido de luz ---------- */

/* ---------- 4. SERVICIOS — fotos de fondo y dial ---------- */
.sec-svc .fx { position: relative; z-index: 3; }
.svc-fondo, .svc-nitido, .svc-velo { position: absolute; inset: 0; pointer-events: none; }
.svc-fondo { z-index: 0; }
.svc-nitido { z-index: 1; opacity: 0; transition: opacity .5s; -webkit-mask-image: radial-gradient(circle 180px at var(--mx, -999px) var(--my, -999px), #000 0%, rgba(0, 0, 0, .65) 55%, transparent 100%); mask-image: radial-gradient(circle 180px at var(--mx, -999px) var(--my, -999px), #000 0%, rgba(0, 0, 0, .65) 55%, transparent 100%); }
.sec-svc.is-sobre .svc-nitido { opacity: 1; }
.svc-velo { z-index: 2; background: linear-gradient(180deg, rgba(12, 33, 64, .5) 0%, rgba(12, 33, 64, .2) 38%, rgba(12, 33, 64, .62) 100%); }
.svc-fondo img, .svc-nitido img { position: absolute; left: -6%; top: -6%; width: 112%; height: 112%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; will-change: opacity, transform; }
.svc-fondo img { filter: blur(24px) saturate(1.15) brightness(.66); transform: scale(1.04); }
.svc-nitido img { filter: brightness(.9) saturate(1.1); transform: scale(1.04); }
.svc-fondo img.is-activa, .svc-nitido img.is-activa { opacity: 1; }
.svc-fondo img.is-activa { animation: kenburns 16s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.2) translate3d(-1.5%, -1%, 0); } }

.svc { display: grid; grid-template-columns: minmax(280px, 470px) 1fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.dial-zona { position: relative; width: 100%; aspect-ratio: 1; }
.dial-svg { width: 100%; height: 100%; overflow: visible; }
.dial-pista { fill: none; stroke: rgba(248, 240, 227, .16); stroke-width: 1.5; }
.dial-prog { fill: none; stroke: var(--oro); stroke-width: 3.4; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 220px 220px; }
.dial-ticks line { stroke: rgba(248, 240, 227, .3); stroke-width: 1.4; }
.dial-ticks line:nth-child(5n+1) { stroke: rgba(232, 191, 131, .7); stroke-width: 2; }
.dial-ticks { transform-origin: 220px 220px; animation: girar 120s linear infinite reverse; }
@keyframes girar { to { transform: rotate(360deg); } }
.dial-rueda { transform-origin: 220px 220px; transition: transform 1.15s cubic-bezier(.3, 1.35, .45, 1); }
.dial-nodo { cursor: pointer; }
.dial-nodo circle { fill: var(--noche); stroke: rgba(248, 240, 227, .35); stroke-width: 1.5; transition: fill .5s, stroke .5s, r .5s var(--ease); }
.dial-nodo text { fill: var(--marfil); font: 600 13px var(--f-titulo); text-anchor: middle; dominant-baseline: central; pointer-events: none; transition: fill .4s; }
.dial-nodo:hover circle { stroke: var(--oro); }
.dial-nodo.is-activa circle { fill: var(--oro); stroke: var(--oro); r: 27; }
.dial-nodo.is-activa text { fill: var(--tinta); }
.dial-marca { fill: var(--oro); }
.dial-centro { position: absolute; inset: 24%; display: grid; place-content: center; text-align: center; border-radius: 50%; background: radial-gradient(circle, rgba(7, 23, 57, .55), rgba(7, 23, 57, 0) 70%); pointer-events: none; }
.dial-num { display: block; font: 700 clamp(3rem, 8vw, 5.6rem)/1 var(--f-titulo); letter-spacing: -.04em; color: var(--marfil); transition: opacity .35s, transform .5s var(--ease); }
.dial-tag { display: block; margin-top: .4rem; font-weight: 500; font-size: .95rem; color: var(--oro); transition: opacity .35s .1s; }
.dial-zona.is-cambio .dial-num { opacity: 0; transform: translateY(-14px) scale(.92); }
.dial-zona.is-cambio .dial-tag { opacity: 0; }
.dial-flechas { display: none; }
.dial-flecha { width: 46px; height: 46px; border-radius: 50%; border: 1.3px solid rgba(248, 240, 227, .4); background: rgba(7, 23, 57, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: grid; place-items: center; transition: background .3s, border-color .3s, transform .2s; }
.dial-flecha svg { width: 20px; height: 20px; fill: none; stroke: var(--marfil); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.dial-flecha:hover { background: var(--oro); border-color: var(--oro); }
.dial-flecha:hover svg { stroke: var(--tinta); }
.dial-flecha:active { transform: scale(.92); }

.svc-lista { counter-reset: s; border-top: 1px solid rgba(248, 240, 227, .18); }
.svc-lista li { counter-increment: s; position: relative; border-bottom: 1px solid rgba(248, 240, 227, .18); transition: padding .5s var(--ease); }
.svc-lista li::before { content: ""; position: absolute; left: 0; top: 0; bottom: -1px; width: 3px; background: var(--oro); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease); }
.svc-lista li.is-activa::before { transform: scaleY(1); }
.svc-lista h3 { font: 600 clamp(1.15rem, 2vw, 1.5rem)/1.25 var(--f-titulo); letter-spacing: -.015em; }
.svc-lista h3 button { width: 100%; display: flex; align-items: baseline; gap: 1rem; padding: 1.05rem 0; border: 0; background: none; text-align: left; font: inherit; letter-spacing: inherit; color: rgba(248, 240, 227, .78); transition: color .35s, transform .5s var(--ease); }
.svc-lista h3 button::before { content: counter(s, decimal-leading-zero); font: 500 .85rem var(--f-texto); color: rgba(248, 240, 227, .45); transition: color .35s; }
.svc-lista li:hover h3 button { color: var(--marfil); transform: translateX(8px); }
.svc-lista li.is-activa h3 button { color: var(--oro); transform: translateX(14px); }
.svc-lista li.is-activa h3 button::before { color: var(--oro); }
.svc-cuerpo { display: grid; grid-template-rows: 1fr; padding-left: 14px; }
.js .svc-cuerpo { grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.js .svc-lista li.is-activa .svc-cuerpo { grid-template-rows: 1fr; }
.svc-int { overflow: hidden; min-height: 0; }
.svc-int p { padding: 0 0 1.2rem 2.4rem; max-width: 46ch; color: rgba(248, 240, 227, .85); }
.svc-int p::after { content: attr(data-tag); display: inline-block; margin-left: .7rem; padding: .15rem .65rem; border: 1px solid rgba(232, 191, 131, .6); border-radius: 999px; font-size: .78rem; font-weight: 500; color: var(--oro); white-space: nowrap; }
@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr; }
  .dial-zona { width: min(360px, 82vw); margin-inline: auto; margin-bottom: 20px; }
  .dial-flechas { position: absolute; left: 50%; bottom: -15%; transform: translateX(-50%); display: flex; gap: 12px; }
  .svc-int p { padding-left: 1.2rem; }
}

/* ---------- 5. CÁMARA (Rubros) — foco en la pantalla ---------- */
.sec-rub .sec-title { margin-bottom: clamp(14px, 2vw, 26px); }
.cam-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.camara { display: grid; justify-items: center; gap: 18px; }
.cam-estuche { position: relative; width: min(1000px, 100%, max(560px, calc((100vh - 400px) * 1.3889))); filter: drop-shadow(0 34px 34px rgba(7, 23, 57, .32)); container-type: inline-size; }
.cam-svg { width: 100%; height: auto; }
.cam-compacto { display: none; }
.cam-lcd { position: absolute; left: 7.6%; top: 33.6%; width: 54.8%; height: 53.3%; container-type: inline-size; }
.lcd-pantalla { position: absolute; inset: 0; overflow: hidden; border-radius: 2.4cqw; color: #eaf1ff; font-family: var(--f-texto); background: radial-gradient(ellipse 90% 80% at 50% 38%, #12284f 0%, #091632 58%, #050c1d 100%); cursor: crosshair; }
.lcd-grilla { position: absolute; inset: 0; opacity: .13; background: linear-gradient(90deg, transparent 33.1%, #fff 33.3%, transparent 33.6%, transparent 66.4%, #fff 66.6%, transparent 66.9%), linear-gradient(0deg, transparent 33.1%, #fff 33.3%, transparent 33.6%, transparent 66.4%, #fff 66.6%, transparent 66.9%); }
.lcd-barra { position: absolute; z-index: 3; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 2.4cqw; padding: 2.2cqw 3cqw; font-size: 2.55cqw; font-weight: 500; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent); }
.lcd-rec { width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: #ff4b3e; animation: parpadeo 1.6s steps(2, jump-none) infinite; }
@keyframes parpadeo { 50% { opacity: .15; } }
.lcd-modo { padding: .2em .6em; border-radius: .4em; background: rgba(255, 255, 255, .15); font-weight: 600; }
.lcd-exp { margin-right: auto; color: #ffd98c; }
.lcd-bateria { position: relative; width: 4.4cqw; height: 2.1cqw; border: 1.2px solid #cfe0ff; border-radius: .5cqw; }
.lcd-bateria::before { content: ""; position: absolute; inset: 1px; right: 35%; background: #7ee0a5; border-radius: .25cqw; }
.lcd-bateria::after { content: ""; position: absolute; right: -.7cqw; top: .5cqw; width: .5cqw; height: .9cqw; background: #cfe0ff; border-radius: 0 .2cqw .2cqw 0; }
.lcd-idx { font-weight: 600; }
.lcd-centro { position: absolute; z-index: 2; inset: 11% 6% 17%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1.8cqw; transition: opacity .3s, filter .35s, transform .45s var(--ease); }
.lcd-centro.is-cambio { opacity: 0; filter: blur(10px); transform: scale(1.06); }
.lcd-icono { width: 11cqw; height: 11cqw; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(255, 217, 140, .7); background: rgba(255, 217, 140, .1); }
.lcd-icono svg { width: 55%; height: 55%; fill: none; stroke: #ffd98c; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lcd-titulo { font: 700 clamp(1.3rem, 8cqw, 2.9rem)/1.05 var(--f-titulo); letter-spacing: -.025em; }
.lcd-desc { font-size: clamp(.8rem, 3.5cqw, 1.2rem); line-height: 1.4; color: #bcd0f2; max-width: 30ch; }
.lcd-pie { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 1.6cqw; padding: 2.2cqw 3cqw; background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent); }
.lcd-pie span { padding: .5em 1em; border-radius: 99em; font-size: 2.4cqw; font-weight: 500; background: rgba(255, 255, 255, .12); color: #eaf1ff; }
.lcd-foco { position: absolute; z-index: 4; left: calc(var(--fx, 50%) - 12%); top: calc(var(--fy, 46%) - 14%); width: 24%; height: 28%; pointer-events: none; transition: left .55s var(--ease), top .55s var(--ease), width .3s, height .3s; --c: #fff; }
.lcd-foco i { position: absolute; width: 22%; height: 22%; border: 2.4px solid var(--c); transition: border-color .25s; }
.lcd-foco i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; } .lcd-foco i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.lcd-foco i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; } .lcd-foco i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.lcd-foco.is-buscando { --c: #fff; animation: buscar .5s ease-in-out 2; }
.lcd-foco.is-ok { --c: #5df08a; }
@keyframes buscar { 50% { transform: scale(1.35); opacity: .35; } }
.lcd-flash { position: absolute; inset: 0; z-index: 6; background: #fff; opacity: 0; pointer-events: none; }
.lcd-flash.is-disparo { animation: flash .5s ease-out; }
@keyframes flash { 0% { opacity: .95; } 100% { opacity: 0; } }
.lcd-vidrio { position: absolute; inset: 0; z-index: 7; pointer-events: none; border-radius: inherit; background: linear-gradient(118deg, rgba(255, 255, 255, .13) 0%, rgba(255, 255, 255, .03) 36%, transparent 37%), radial-gradient(ellipse at 50% 120%, rgba(120, 170, 255, .1), transparent 60%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), inset 0 0 24px rgba(0, 0, 0, .55); }

.cam-btn { position: absolute; z-index: 5; transform: translate(-50%, -50%); aspect-ratio: 1; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #cdd5db; font: 700 clamp(.7rem, 1.7cqw, 1rem) var(--f-titulo); letter-spacing: .04em; cursor: pointer; transition: background .3s, box-shadow .3s, color .3s, transform .15s; }
.cam-btn svg { width: 46%; height: 46%; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cam-prev { left: 73.6%; top: 65.3%; width: 8.6%; } .cam-next { left: 91.2%; top: 65.3%; width: 8.6%; } .cam-set { left: 82.4%; top: 65.3%; width: 10%; }
.cam-btn:hover { background: rgba(232, 191, 131, .18); box-shadow: 0 0 0 2px rgba(232, 191, 131, .6), 0 0 22px rgba(232, 191, 131, .45); color: var(--oro); }
.cam-btn:active { transform: translate(-50%, -50%) scale(.9); }
.solo-cel { display: none; }
.cam-puntos { display: none; }
.lcd-pantalla { touch-action: pan-y; }
.cam-nota { font-size: .95rem; color: rgba(7, 23, 57, .7); text-align: center; }
.rubros-abierto { max-width: 52ch; margin: clamp(24px, 4vw, 44px) auto 0; text-align: center; color: rgba(7, 23, 57, .75); }
@media (max-width: 719px) {
  .cam-ancho { display: none; } .cam-compacto { display: block; }
  .cam-lcd { left: 8%; top: 28.25%; width: 84%; height: 42%; }
  .cam-prev { left: 39.7%; top: 85.5%; width: 15%; } .cam-next { left: 60.3%; top: 85.5%; width: 15%; } .cam-set { left: 50%; top: 85.5%; width: 13.4%; }
  .cam-btn { font-size: .78rem; }
  .solo-pc { display: none; } .solo-cel { display: inline; }
  .cam-puntos { display: flex; justify-content: center; gap: 8px; margin-top: -4px; }
  .cam-puntos i { width: 8px; height: 8px; border-radius: 99px; background: rgba(7, 23, 57, .28); transition: width .4s var(--ease), background .3s; }
  .cam-puntos i.is-on { width: 26px; background: var(--tinta); }
  .camara { gap: 14px; }
  .lcd-titulo { font-size: clamp(1.25rem, 8.4cqw, 2rem); }
  .lcd-desc { font-size: clamp(.8rem, 4cqw, 1rem); }
  .lcd-barra { font-size: 3cqw; } .lcd-pie span { font-size: 2.9cqw; }
}

/* ---------- 6. LENTE (Proceso) — destello y apertura ---------- */
.sec-pro { background: radial-gradient(ellipse 80% 70% at 18% 40%, #5b7597 0%, var(--acero) 55%, #3f566f 100%); }
.pro { display: grid; grid-template-columns: minmax(280px, 520px) 1fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.lente-zona { position: relative; width: 100%; aspect-ratio: 1; }
.lente-svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 30px 36px rgba(4, 12, 30, .45)); }
.lente-flare { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; overflow: hidden; border-radius: 50%; }
.lente-flare i { position: absolute; left: var(--fx, 38%); top: var(--fy, 34%); border-radius: 50%; transform: translate(-50%, -50%); transition: left .5s var(--ease), top .5s var(--ease); }
.lente-flare i:nth-child(1) { width: 26%; height: 26%; background: radial-gradient(circle, rgba(255, 224, 170, .55), transparent 68%); }
.lente-flare i:nth-child(2) { width: 120%; height: 2.2%; border-radius: 99px; background: linear-gradient(90deg, transparent, rgba(160, 200, 255, .6) 30%, rgba(255, 236, 200, .85) 50%, rgba(160, 200, 255, .6) 70%, transparent); filter: blur(2px); }
.lente-flare i:nth-child(3) { width: 9%; height: 9%; left: calc(100% - var(--fx, 38%)); top: calc(100% - var(--fy, 34%)); background: radial-gradient(circle, rgba(140, 190, 255, .5), transparent 70%); }
.lente-flare i:nth-child(4) { width: 5%; height: 5%; left: calc(80% - var(--fx, 38%) * .6); top: calc(78% - var(--fy, 34%) * .5); background: radial-gradient(circle, rgba(255, 210, 150, .6), transparent 70%); }
.lens-anillo-txt { transform-origin: 200px 200px; animation: girar 90s linear infinite; }
.lens-foco-anillo { transform-origin: 200px 200px; transition: transform 1.2s cubic-bezier(.3, 1.2, .4, 1); }
.lens-nodo { cursor: pointer; }
.lens-nodo circle { fill: #14243d; stroke: rgba(205, 213, 219, .5); stroke-width: 1.5; transition: fill .45s, stroke .45s; }
.lens-nodo text { fill: var(--hielo); font: 600 13px var(--f-titulo); text-anchor: middle; dominant-baseline: central; pointer-events: none; transition: fill .4s; }
.lens-nodo:hover circle { stroke: var(--oro); }
.lens-nodo.is-activa circle { fill: var(--oro); stroke: var(--oro); }
.lens-nodo.is-activa text { fill: var(--tinta); }

.pro-lista { counter-reset: p; display: grid; }
.pro-lista li { counter-increment: p; position: relative; padding: 0 0 0 4.2rem; border-top: 1px solid rgba(248, 240, 227, .22); transition: background .4s, padding .5s var(--ease); }
.pro-lista li:last-child { border-bottom: 1px solid rgba(248, 240, 227, .22); }
.pro-lista li::before { content: counter(p, decimal-leading-zero); position: absolute; left: 0; top: 1rem; font: 700 2.1rem/1 var(--f-titulo); color: transparent; -webkit-text-stroke: 1.2px rgba(248, 240, 227, .5); transition: color .5s, -webkit-text-stroke-color .5s; }
.pro-lista li.is-activa::before { color: var(--oro); -webkit-text-stroke-color: var(--oro); }
.pro-lista li::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--oro); transform: scaleX(0); transform-origin: left; }
.pro-lista li.is-activa::after { transform: scaleX(var(--prog, 0)); }
.pro-lista h3 { font: 600 clamp(1.2rem, 2.1vw, 1.55rem)/1.25 var(--f-titulo); letter-spacing: -.015em; }
.pro-lista h3 button { display: block; width: 100%; padding: 1.15rem 0; border: 0; background: none; font: inherit; letter-spacing: inherit; text-align: left; color: rgba(248, 240, 227, .8); transition: color .35s, transform .5s var(--ease); }
.pro-lista li:hover h3 button { color: var(--marfil); transform: translateX(10px); }
.pro-lista li.is-activa h3 button { color: var(--marfil); }
.pro-lista li:hover::before { color: rgba(248, 240, 227, .28); }
.pro-lista li.is-activa:hover::before { color: var(--oro); }
.pro-cuerpo { display: grid; grid-template-rows: 1fr; }
.js .pro-cuerpo { grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.js .pro-lista li.is-activa .pro-cuerpo { grid-template-rows: 1fr; }
.pro-int { overflow: hidden; min-height: 0; }
.pro-int p { padding-bottom: 1.3rem; max-width: 46ch; color: rgba(248, 240, 227, .88); }
@media (max-width: 900px) {
  .pro { grid-template-columns: 1fr; }
  .lente-zona { width: min(380px, 84vw); margin-inline: auto; }
  .pro-lista li { padding-left: 3.4rem; } .pro-lista li::before { font-size: 1.7rem; }
}

/* ---------- 7. CONTACTO ---------- */
.con-cab { margin-bottom: clamp(8px, 2vw, 24px); }
.con { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.con-izq { display: grid; gap: 22px; align-content: start; }
.con-lado { display: grid; gap: 16px; }
.con-quienes { font-size: 1.12rem; max-width: 44ch; margin-bottom: 4px; }
.con-datos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; padding: 6px 6px 0; }
.con-datos dt { font-size: .86rem; font-weight: 500; color: var(--bronce); }
.con-datos dd { font-weight: 500; max-width: 38ch; }
.con-datos a { text-underline-offset: 3px; }
@media (max-width: 900px) { .con { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .con-datos { grid-template-columns: 1fr; } }
