/* Punto Cénit · sitio web 2026
   Paleta: Noche Cénit #0E1B2E · Azul Horizonte #1E4A7A · Oro Cenital #D4A24C (solo el punto)
           Marfil Filamento #F4F1EA · Grafito #2B2F36 · Cian Capa #3FC1D9 (acento digital)
   Tipografía: Sora (titulares) · Inter (texto) · IBM Plex Mono (datos técnicos) */

:root {
  --noche: #0E1B2E; --horizonte: #1E4A7A; --oro: #D4A24C; --marfil: #F4F1EA; --grafito: #2B2F36; --cian: #3FC1D9;
  --arena: #EAE5DA; --linea: #DCD5C6; --borde: #B9B2A3; --texto: #2B2F36; --suave: #4A505A; --tenue: #5A606A;
  --niebla: #8FA9C6; --noche-2: #13233D; --noche-linea: #22344F; --noche-texto: #C9D3E0;
  --logo-pz: #1E4A7A; --logo-bd: #0E1B2E; --logo-tip: #8FA9C6; --logo-letras: #0E1B2E;
  --sora: "Sora", system-ui, sans-serif; --inter: "Inter", system-ui, "Segoe UI", Roboto, sans-serif; --mono: "IBM Plex Mono", ui-monospace, monospace;
  --ancho: 1240px; --radio: 8px;
  --curva: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--marfil); color: var(--texto); font: 16px/1.6 var(--inter); }
img, svg { display: block; max-width: 100%; }
a { color: var(--horizonte); }
a:hover { color: var(--noche); }
h1, h2, h3 { font-family: var(--sora); color: var(--noche); margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--cian); outline-offset: 2px; }
.contenedor { max-width: var(--ancho); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.mono-titulo, .antetitulo { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--horizonte); }
.saltar { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--noche); color: var(--marfil); padding: 10px 14px; border-radius: 6px; }
.saltar:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Botones */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: 600 16px/1 var(--inter); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.boton-oscuro { background: var(--noche); color: var(--marfil); }
.boton-oscuro:hover { background: var(--horizonte); color: var(--marfil); }
.boton-claro { background: var(--marfil); color: var(--noche); }
.boton-claro:hover { background: #fff; color: var(--noche); }
.boton-linea { background: transparent; color: var(--noche); border-color: var(--noche); }
.boton-linea:hover { background: var(--noche); color: var(--marfil); }
.boton-linea-claro { background: transparent; color: var(--marfil); border-color: #3A4E6B; }
.boton-linea-claro:hover { border-color: var(--marfil); color: var(--marfil); }
.etiqueta { font: 500 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; background: var(--arena); color: var(--suave); padding: 4px 7px; border-radius: 999px; }

/* Cinta superior */
.cinta { background: var(--noche); color: var(--marfil); height: 40px; overflow: hidden; display: flex; align-items: center;
  font: 400 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.cinta-mov { display: flex; gap: 56px; width: max-content; white-space: nowrap; animation: cinta 34s linear infinite; }
.cinta b { color: var(--niebla); font-weight: 400; }
@keyframes cinta { to { transform: translateX(-50%); } }

/* Encabezado */
.encabezado { background: var(--marfil); border-bottom: 1px solid var(--linea); position: sticky; top: 0; z-index: 40; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.nav-logo { display: flex; align-items: center; min-height: 44px; }
.logo { width: 200px; height: 36px; }
.nav-links { display: flex; gap: 2px; font-weight: 500; font-size: 15px; }
.nav-links a { color: var(--noche); text-decoration: none; padding: 12px 14px; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; }
.nav-links a:hover { background: var(--arena); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.nav-cta { min-height: 44px; padding: 0 18px; font-size: 15px; }
@media (max-width: 860px) {
  .logo { width: 170px; height: 31px; }
  .nav-links { order: 3; width: 100%; overflow-x: auto; margin: 0 -8px; scrollbar-width: none; }
  .nav-links a { padding: 10px 10px; white-space: nowrap; font-size: 14px; }
  .nav-links .etiqueta { display: none; }
}

/* Portada */
.portada { background: var(--noche); color: var(--marfil); overflow: hidden; }
.portada-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 88px; padding-bottom: 96px; }
.portada-texto { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.portada .antetitulo { color: var(--niebla); }
.portada h1 { color: var(--marfil); font-weight: 600; font-size: clamp(44px, 6.4vw, 92px); line-height: 1; letter-spacing: -.03em; }
.portada-sub { max-width: 540px; font-size: 19px; line-height: 1.6; color: var(--noche-texto); }
.acciones { display: flex; gap: 12px; flex-wrap: wrap; }
.datos-maquina { display: flex; gap: 12px 28px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--noche-linea); font: 13px var(--mono); color: var(--niebla); }
.portada-impresion { flex: 1 1 320px; display: flex; flex-direction: column; align-items: center; gap: 22px; }

/* Animación de impresión (logo y figura) */
.impresora { position: relative; }
.impresora .pieza { position: absolute; inset: 0; animation: imprimir var(--dur, 9s) infinite; }
.impresora .pieza svg { width: 100%; height: 100%; }
@keyframes imprimir { 0% { clip-path: inset(100% 0 0 0); animation-timing-function: steps(14, end); } 72% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 0 0); } }
.impresora .boquilla { position: absolute; left: 0; right: 0; height: 0; bottom: 0; animation: boquilla var(--dur, 9s) infinite; }
@keyframes boquilla { 0% { bottom: 0; opacity: 1; animation-timing-function: steps(14, end); } 72% { bottom: 100%; opacity: 1; } 78%, 100% { bottom: 100%; opacity: 0; } }
.boquilla .laser { position: absolute; left: 6%; right: 6%; top: -1px; height: 2px; background: var(--cian); }
.boquilla .cabezal { position: absolute; left: 50%; top: -30px; width: 0; height: 0; animation: barrido .42s ease-in-out infinite alternate; }
.boquilla .cabezal::before { content: ""; position: absolute; left: -16px; top: 0; width: 32px; height: 18px; border-radius: 3px; background: var(--noche-texto); }
.boquilla .cabezal::after { content: ""; position: absolute; left: -7px; top: 18px; width: 14px; height: 10px; background: var(--niebla); clip-path: polygon(0 0, 100% 0, 60% 100%, 40% 100%); }
@keyframes barrido { from { transform: translateX(-38%); } to { transform: translateX(38%); } }
.halo { position: absolute; left: 50%; top: 13.8%; width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--oro); animation: halo var(--dur, 9s) infinite; }
@keyframes halo { 0%, 72% { opacity: 0; transform: translate(-50%, -50%) scale(.3); } 80% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(2.4); } }
.lectura { width: 300px; display: flex; flex-direction: column; gap: 8px; font: 12px var(--mono); color: var(--niebla); }
.lectura div:first-child { display: flex; justify-content: space-between; }
.progreso { height: 3px; background: var(--noche-linea); border-radius: 2px; overflow: hidden; }
.progreso i { display: block; height: 100%; background: var(--cian); animation: progreso 9s infinite; }
@keyframes progreso { 0% { width: 0; animation-timing-function: steps(14, end); } 72%, 100% { width: 100%; } }
.impresora-logo { width: 300px; height: 436px; }
.logo-portada { --logo-pz: #8FA9C6; --logo-bd: #F4F1EA; --logo-tip: #7F9DC2; width: 100%; height: 100%; }
@media (max-width: 600px) {
  .portada-grid { padding-top: 56px; padding-bottom: 64px; gap: 40px; }
  .impresora-logo { width: 190px; height: 276px; }
  .lectura { width: 240px; }
}

/* Rutas (los 4 nichos) */
.rutas { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding-top: 56px; }
.ruta { text-decoration: none; color: var(--noche); background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); padding: 22px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .35s var(--curva), border-color .2s; }
.ruta:hover { transform: translateY(-4px); border-color: var(--noche); color: var(--noche); }
.ruta .mono { font-size: 12px; color: var(--horizonte); }
.ruta strong { font: 600 20px/1.3 var(--sora); }
.ruta span:last-child { font-size: 14px; line-height: 1.5; color: var(--suave); }
.ruta-sobria { background: var(--grafito); border-color: var(--grafito); color: var(--marfil); }
.ruta-sobria:hover { color: var(--marfil); border-color: #6B717A; }
.ruta-sobria .mono { color: #A9B6C7; }
.ruta-sobria span:last-child { color: #C9CED6; }

/* Secciones */
.seccion { padding-top: 96px; padding-bottom: 32px; }
.seccion-cabeza { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.seccion-cabeza > div { display: flex; flex-direction: column; gap: 12px; }
.seccion h2 { font-weight: 600; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; }
.seccion-cabeza p { max-width: 380px; color: var(--suave); }
.subcabeza { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--noche); padding-top: 18px; margin-bottom: 28px; }
.subcabeza h3 { font-weight: 600; font-size: 24px; }
.subcabeza span { font: 13px var(--mono); color: var(--tenue); }
.nota-seguridad { max-width: 720px; margin: -12px 0 28px; color: var(--suave); font-size: 15px; }

/* Tarjetas de producto */
.productos { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 40px 28px; }
.productos.cuatro { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 40px 24px; }
.producto { display: flex; flex-direction: column; gap: 14px; --cur: #1E4A7A; --ink: #F4F1EA; }
.producto-foto { position: relative; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: var(--arena) repeating-linear-gradient(0deg, rgba(14,27,46,.035) 0 1px, transparent 1px 6px); }
.producto-foto svg { width: 72%; transition: transform .55s var(--curva); }
.producto:hover .producto-foto svg { transform: translateY(-8px); }
.producto-foto .sello { position: absolute; top: 14px; left: 14px; background: var(--marfil); color: var(--noche); font: 400 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; }
.escaneo { position: absolute; left: 8%; right: 8%; height: 2px; background: var(--cian); bottom: 8%; opacity: 0; transition: opacity .2s; }
.producto:hover .escaneo, .lampara:hover .escaneo { opacity: 1; animation: escaneo 1.4s steps(14, end) infinite; }
@keyframes escaneo { from { bottom: 8%; } to { bottom: 92%; } }
.c-cur { fill: var(--cur); } .c-ink { fill: var(--ink); } .s-cur { stroke: var(--cur); } .s-ink { stroke: var(--ink); }
.producto-info { display: flex; justify-content: space-between; align-items: flex-start; gap: 4px 12px; flex-wrap: wrap; }
.producto-info > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 170px; }
.producto-color { font-size: 13px; color: var(--tenue); }
.producto h3 { font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.producto-spec { font: 12px var(--mono); color: var(--tenue); }
.producto-precio { font: 500 16px var(--sora); color: var(--noche); white-space: nowrap; }
.muestras { display: flex; gap: 2px; margin-left: -9px; }
.muestra { width: 40px; height: 40px; border: 0; background: transparent; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.muestra span { display: block; width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 1px var(--borde), 0 0 0 3px var(--marfil); transition: box-shadow .15s; }
.muestra[aria-pressed="true"] span { box-shadow: 0 0 0 1px var(--borde), 0 0 0 3px var(--marfil), 0 0 0 5px var(--noche); }
.producto .boton { align-self: flex-start; min-height: 44px; padding: 0 18px; font-size: 15px; }

/* Tu mascota en 3D */
.tu-mascota { margin-top: 72px; }
.bloque-oscuro { background: var(--noche); color: var(--marfil); border-radius: 10px; padding: 64px 48px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; overflow: hidden; }
.bloque-oscuro h2 { color: var(--marfil); font-weight: 600; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; }
.bloque-oscuro .antetitulo { color: var(--niebla); }
.bloque-oscuro p { color: var(--noche-texto); font-size: 17px; }
.figura-col { flex: 1 1 300px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.figura { width: 260px; height: 282px; --dur: 10s; --capas: 28; }
.figura .pieza { animation-name: imprimir-fig; }
.figura .boquilla { animation-name: boquilla-fig; }
@keyframes imprimir-fig { 0% { clip-path: inset(100% 0 0 0); animation-timing-function: steps(28, end); } 80%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes boquilla-fig { 0% { bottom: 0; opacity: 1; animation-timing-function: steps(28, end); } 80% { bottom: 100%; opacity: 1; } 85%, 100% { bottom: 100%; opacity: 0; } }
.figura .laser, .figura .cabezal::before { animation: color-cabezal 10s infinite steps(1, end); }
@keyframes color-cabezal { 0% { background: #8A93A3; } 12% { background: #3FC1D9; } 50% { background: #0E1B2E; } 58%, 100% { background: #F4F1EA; } }
.cabezales { display: flex; gap: 12px; font: 12px var(--mono); }
.cabezales span { display: flex; align-items: center; gap: 6px; opacity: .28; }
.cabezales i { width: 10px; height: 10px; border-radius: 50%; }
.cabezales .t0 { animation: t0 10s infinite steps(1, end); } .cabezales .t1 { animation: t1 10s infinite steps(1, end); }
.cabezales .t2 { animation: t2 10s infinite steps(1, end); } .cabezales .t3 { animation: t3 10s infinite steps(1, end); }
@keyframes t0 { 0% { opacity: 1; } 12%, 100% { opacity: .28; } }
@keyframes t1 { 0% { opacity: .28; } 12% { opacity: 1; } 50%, 100% { opacity: .28; } }
@keyframes t2 { 0% { opacity: .28; } 50% { opacity: 1; } 58%, 100% { opacity: .28; } }
@keyframes t3 { 0% { opacity: .28; } 58% { opacity: 1; } 85%, 100% { opacity: .28; } }
.mascota-texto { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.estilos { display: flex; flex-wrap: wrap; gap: 8px; }
.estilo { font: 500 15px var(--inter); padding: 12px 18px; border-radius: 999px; cursor: pointer; background: transparent; color: var(--marfil); border: 1px solid #3A4E6B; }
.estilo[aria-pressed="true"] { background: var(--marfil); color: var(--noche); border-color: var(--marfil); }
.estilo-desc { min-height: 52px; color: var(--marfil) !important; }
.tamanos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--noche-linea); border: 1px solid var(--noche-linea); border-radius: var(--radio); overflow: hidden; }
.tamanos div { background: var(--noche); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.tamanos strong { font: 600 16px var(--sora); }
.tamanos .mono { font-size: 12px; color: var(--niebla); }
.tamanos span:last-child { font-size: 15px; margin-top: 6px; }
@media (max-width: 560px) { .bloque-oscuro { padding: 40px 20px; } .tamanos { grid-template-columns: 1fr; } }

/* MakerWorld (banda en inicio) */
.mw-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.mw-texto { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.pasos { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pasos li { display: flex; gap: 14px; }
.pasos .mono { color: var(--horizonte); }
.mw-demo { flex: 1 1 360px; background: #fff; border: 1px solid var(--linea); border-radius: 10px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.mw-demo .campo { background: var(--marfil); border: 1px solid var(--linea); border-radius: var(--radio); padding: 13px; font: 13px var(--mono); color: var(--suave); }
.mw-demo .precio { font: 600 30px var(--sora); color: var(--noche); text-align: center; }
.chips { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; font: 12px var(--mono); }
.chips span { background: var(--arena); padding: 6px 12px; border-radius: 999px; }

/* Proceso */
.proceso { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); border-top: 1px solid var(--noche); }
.proceso li { padding: 28px 24px 32px 0; display: flex; flex-direction: column; gap: 14px; border-bottom: 1px solid var(--linea); }
.proceso .mono { font-size: 13px; color: var(--horizonte); }
.proceso h3 { font-weight: 600; font-size: 20px; letter-spacing: -.01em; }
.proceso p { font-size: 15px; color: var(--suave); }

/* Datos técnicos */
.datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--linea); border: 1px solid var(--linea); border-radius: var(--radio); overflow: hidden; }
.datos div { background: var(--marfil); padding: 28px 24px; display: flex; flex-direction: column; gap: 8px; }
.datos strong { font: 400 28px var(--mono); color: var(--noche); }
.datos span { font-size: 15px; color: var(--suave); }

/* Bandas */
.banda-lamparas { background: var(--noche-2); color: var(--marfil); }
.banda-lamparas .contenedor { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.banda-lamparas svg { width: 180px; flex: none; }
.banda-lamparas h2 { color: var(--marfil); font-weight: 600; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; }
.banda-lamparas p { color: var(--noche-texto); font-size: 17px; }
.banda-lamparas .antetitulo { color: var(--niebla); }
.banda-texto { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.banda-empresas { background: var(--grafito); color: #E6E3DC; }
.banda-empresas .contenedor { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; justify-content: space-between; }
.banda-empresas h2 { color: var(--marfil); font-weight: 500; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; }
.banda-empresas .antetitulo { color: #A9B0BA; }
.banda-empresas p { color: #C9CED6; }
.boton-sobrio { background: #E6E3DC; color: #1F2228; border-radius: 4px; }
.boton-sobrio:hover { background: #fff; color: #1F2228; }
.boton-sobrio-linea { background: transparent; color: #F4F1EA; border: 1px solid #6B717A; border-radius: 4px; }
.boton-sobrio-linea:hover { border-color: #F4F1EA; color: #F4F1EA; }

/* Pie */
.pie { background: var(--noche); color: var(--noche-texto); --logo-pz: #F4F1EA; --logo-bd: #8FA9C6; --logo-tip: #7F9DC2; --logo-letras: #F4F1EA; }
.pie-grid { padding-top: 72px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.pie-marca { display: flex; flex-direction: column; gap: 16px; max-width: 320px; }
.logo-pie { width: 230px; height: 41px; }
.pie-lema { font: 18px var(--sora); color: var(--marfil); }
.pie-cols { display: flex; flex-wrap: wrap; gap: 40px 56px; font-size: 15px; }
.pie-cols div { display: flex; flex-direction: column; gap: 10px; }
.pie-cols .mono-titulo { font-size: 12px; color: var(--niebla); }
.pie a { color: var(--marfil); text-decoration: none; }
.pie a:hover { text-decoration: underline; }
.pie-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--noche-linea); font-size: 13px; color: var(--niebla); }

/* Transición entre páginas: capas que cubren y se retiran */
.capas-transicion { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; pointer-events: none; }
.capas-transicion i { flex: 1; background: var(--noche); transform: scaleX(0); transform-origin: left center; }
.capas-transicion i:nth-child(even) { background: var(--horizonte); }
html.pc-sale .capas-transicion { pointer-events: all; }
html.pc-sale .capas-transicion i { animation: capa-entra .42s cubic-bezier(.7, 0, .3, 1) forwards; }
html.pc-llega .capas-transicion i { transform: scaleX(1); transform-origin: right center; animation: capa-sale .5s cubic-bezier(.7, 0, .3, 1) .05s forwards; }
@keyframes capa-entra { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes capa-sale { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.capas-transicion i:nth-child(12) { animation-delay: 0s; } .capas-transicion i:nth-child(11) { animation-delay: .03s; }
.capas-transicion i:nth-child(10) { animation-delay: .06s; } .capas-transicion i:nth-child(9) { animation-delay: .09s; }
.capas-transicion i:nth-child(8) { animation-delay: .12s; } .capas-transicion i:nth-child(7) { animation-delay: .15s; }
.capas-transicion i:nth-child(6) { animation-delay: .18s; } .capas-transicion i:nth-child(5) { animation-delay: .21s; }
.capas-transicion i:nth-child(4) { animation-delay: .24s; } .capas-transicion i:nth-child(3) { animation-delay: .27s; }
.capas-transicion i:nth-child(2) { animation-delay: .30s; } .capas-transicion i:nth-child(1) { animation-delay: .33s; }

/* El punto sube: progreso de lectura */
.riel { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); width: 10px; height: 180px; z-index: 30; display: none; }
.riel::before { content: ""; position: absolute; left: 4px; top: 0; bottom: 0; width: 2px; background: var(--linea); }
.riel-capas { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--avance, 0) * 100%);
  background: repeating-linear-gradient(0deg, var(--horizonte) 0 5px, transparent 5px 7px); }
.riel-punto { position: absolute; left: -1px; width: 12px; height: 12px; border-radius: 50%; background: var(--oro); bottom: calc(var(--avance, 0) * 100% - 6px); }
@media (min-width: 1100px) { .riel { display: block; } }

/* Aparecer capa a capa al hacer scroll */
.js [data-imprimir] { clip-path: inset(100% 0 0 0); }
.js [data-imprimir].impreso { animation: aparecer .9s steps(12, end) both; }
@keyframes aparecer { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

/* Formularios */
.campo-form { display: flex; flex-direction: column; gap: 8px; }
.campo-form label, .leyenda { font-weight: 600; font-size: 15px; color: var(--noche); }
.campo-form input { font: 18px var(--sora); padding: 14px 16px; border: 1px solid var(--borde); border-radius: 6px; background: #fff; color: var(--noche); }
.campo-form input[type="tel"] { font: 16px var(--mono); }
.opciones { display: flex; gap: 10px; flex-wrap: wrap; }
.opcion { min-width: 96px; padding: 12px 16px; border-radius: 6px; cursor: pointer; font: 500 15px var(--inter); background: var(--marfil); color: var(--noche); border: 1px solid var(--borde); text-align: left; }
.opcion:hover { border-color: var(--noche); }
.opcion[aria-pressed="true"] { background: var(--noche); color: var(--marfil); border-color: var(--noche); }
.opcion small { display: block; font: 12px var(--mono); margin-top: 2px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { padding: 0; margin-bottom: 10px; }

/* Página de placa */
.ruta-migas { border-bottom: 1px solid var(--linea); }
.ruta-migas ol { list-style: none; margin: 0 auto; padding-top: 14px; padding-bottom: 14px; display: flex; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.ruta-migas li + li::before { content: "/"; color: #8A93A3; margin-right: 10px; }
.ruta-migas a { color: var(--suave); text-decoration: none; }
.placa-grid { padding-top: 40px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.placa-vista { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 90px; }
.placa-lienzo { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: var(--arena) repeating-linear-gradient(0deg, rgba(14,27,46,.04) 0 1px, transparent 1px 6px); }
.placa-lienzo svg { width: 70%; }
.placa-lienzo.reimprime svg { animation: aparecer 1.2s steps(16, end) both; }
.placa-lienzo .talla { position: absolute; left: 16px; bottom: 14px; font: 12px var(--mono); color: var(--suave); }
.placa-form { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.placa-form h1 { font-weight: 600; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.05; }
.precio-grande { font: 22px var(--sora); color: var(--noche); }
.ficha { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--linea); border: 1px solid var(--linea); border-radius: var(--radio); overflow: hidden; font-size: 14px; }
.ficha div { background: var(--marfil); padding: 16px; }
.ficha dt { font: 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--tenue); }
.ficha dd { margin: 4px 0 0; color: var(--noche); }
.colores-placa .muestra { width: 48px; height: 48px; }
.colores-placa .muestra span { width: 30px; height: 30px; }
@media (max-width: 900px) { .placa-vista { position: static; } }

/* Página MakerWorld */
.mw-pagina { padding-top: 64px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.mw-pagina h1 { font-weight: 600; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.03em; }
.lista-pasos { margin: 8px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--noche); }
.lista-pasos li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--linea); }
.lista-pasos .mono { color: var(--horizonte); }
.lista-pasos strong { font: 600 16px var(--sora); color: var(--noche); }
.lista-pasos small { display: block; color: var(--suave); font-size: 15px; }
.aviso { background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); padding: 18px; display: flex; gap: 14px; align-items: flex-start; }
.aviso svg { flex: none; margin-top: 2px; }
.cotizador { flex: 1 1 420px; max-width: 580px; width: 100%; }
.cotizador iframe { width: 100%; height: 1100px; border: 0; border-radius: 10px; background: var(--marfil); }
.cotizador-pendiente { background: #fff; border: 1px solid var(--linea); border-radius: 10px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }

/* Página de lámparas */
.pagina-lamparas { transition: background-color .8s ease, color .8s ease; }
.pagina-lamparas.encendidas { background: var(--noche); color: var(--marfil); }
.pagina-lamparas.encendidas h1, .pagina-lamparas.encendidas h2, .pagina-lamparas.encendidas h3 { color: var(--marfil); }
.lamparas-cabeza { padding-top: 48px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 24px; }
.lamparas-cabeza h1 { font-weight: 600; font-size: clamp(44px, 5.6vw, 76px); line-height: 1; letter-spacing: -.03em; }
.pronto { align-self: flex-start; font: 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--linea); color: var(--suave); }
.encendidas .pronto { border-color: #2A3B57; color: #A9B6C7; }
.barra-filtros { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--linea); padding-top: 18px; }
.encendidas .barra-filtros { border-color: #2A3B57; }
.filtro { padding: 10px 16px; border-radius: 999px; cursor: pointer; font: 500 14px var(--inter); background: transparent; color: inherit; border: 1px solid var(--borde); }
.filtro[aria-pressed="true"] { background: var(--noche); color: var(--marfil); border-color: var(--noche); }
.encendidas .filtro { border-color: #2A3B57; }
.encendidas .filtro[aria-pressed="true"] { background: var(--marfil); color: var(--noche); }
.interruptor { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 999px; border: 1px solid var(--linea); background: transparent; color: inherit; cursor: pointer; font: 500 15px var(--inter); }
.interruptor .pista { position: relative; width: 44px; height: 26px; border-radius: 999px; background: var(--borde); }
.interruptor .pista::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .3s; }
.interruptor[aria-pressed="true"] .pista { background: var(--oro); }
.interruptor[aria-pressed="true"] .pista::after { left: 21px; background: var(--noche); }
.lamparas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 44px 24px; padding-bottom: 56px; }
.lampara { display: flex; flex-direction: column; gap: 12px; --shade: #EFEAE0; --lit: #FFF3DC; --ink: #0E1B2E; }
.lampara[hidden] { display: none; }
.lampara-foto { position: relative; aspect-ratio: 1; border-radius: 6px; overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: var(--arena) repeating-linear-gradient(0deg, rgba(143,169,198,.06) 0 1px, transparent 1px 6px); transition: background-color .8s; }
.encendidas .lampara-foto { background-color: var(--noche-2); }
.lampara-foto svg { width: 70%; transition: transform .6s var(--curva); }
.lampara:hover .lampara-foto svg { transform: translateY(-8px) scale(1.02); }
.l-shade { fill: var(--shade); stroke: rgba(14,27,46,.22); stroke-width: 1; transition: fill .8s; }
.encendidas .l-shade { fill: var(--lit); }
.l-ink { stroke: var(--ink); }
.l-glow { opacity: 0; filter: blur(14px); transition: opacity .8s; }
.encendidas .l-glow { opacity: .5; }
.encendidas .boton-oscuro { background: var(--marfil); color: var(--noche); }
.encendidas .boton-oscuro:hover { background: #fff; }
.lampara-info { display: flex; flex-direction: column; gap: 3px; }
.lampara-info span { font-size: 14px; color: var(--suave); }
.encendidas .lampara-info span { color: #A9B6C7; }
.lampara h3 { font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.encendidas .muestra span { box-shadow: 0 0 0 1px #8A93A3, 0 0 0 3px var(--noche); }
.encendidas .muestra[aria-pressed="true"] span { box-shadow: 0 0 0 1px #8A93A3, 0 0 0 3px var(--noche), 0 0 0 5px var(--marfil); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; padding-bottom: 56px; }
.tile { border-radius: 10px; padding: 36px; display: flex; flex-direction: column; gap: 10px; justify-content: flex-end; min-height: 240px; color: var(--marfil); }
.tile h2 { color: var(--marfil); font-weight: 600; font-size: 26px; }
.tile p { font-size: 15px; opacity: .85; }
.tile .mono { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }

/* Tema sobrio (Empresas) */
html[data-tema="sobrio"] body { background: #1F2228; color: #C9CED6; }
html[data-tema="sobrio"] h1, html[data-tema="sobrio"] h2, html[data-tema="sobrio"] h3 { color: #F4F1EA; font-weight: 500; }
html[data-tema="sobrio"] .encabezado { background: #1F2228; border-color: #353A42; --logo-pz: #E6E3DC; --logo-bd: #8A93A3; --logo-tip: #8A93A3; --logo-letras: #E6E3DC; }
html[data-tema="sobrio"] .nav-links a { color: #E6E3DC; }
html[data-tema="sobrio"] .nav-links a:hover { background: #2B2F36; }
html[data-tema="sobrio"] .pie { background: #1F2228; border-top: 1px solid #353A42; }
html[data-tema="sobrio"] .pie-legal { border: 0; color: #8A93A3; }
html[data-tema="sobrio"] .capas-transicion i { background: #2B2F36; }
html[data-tema="sobrio"] .capas-transicion i:nth-child(even) { background: #1F2228; }
html[data-tema="sobrio"] .riel { display: none; }
.sobrio-hero { padding-top: 96px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 28px; }
.sobrio-hero .antetitulo { color: #8A93A3; letter-spacing: .14em; }
.sobrio-hero h1 { max-width: 900px; font-size: clamp(36px, 4.8vw, 64px); line-height: 1.06; letter-spacing: -.025em; }
.sobrio-hero p { max-width: 640px; font-size: 18px; line-height: 1.65; }
.capacidades { border-top: 1px solid #353A42; border-bottom: 1px solid #353A42; background: #252931; }
.capacidades dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.capacidades dl > div { padding: 28px 24px 28px 0; border-right: 1px solid #353A42; }
.capacidades dl > div + div { padding-left: 24px; }
.capacidades dl > div:last-child { border-right: 0; }
.capacidades dt { font: 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #8A93A3; }
.capacidades dd { margin: 10px 0 0; font: 20px var(--mono); color: #F4F1EA; }
.servicios { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px; background: #353A42; border: 1px solid #353A42; }
.servicios div { background: #1F2228; padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; }
.servicios .mono { font-size: 12px; color: #8A93A3; }
.servicios h3 { font-size: 20px; }
.sobrio-seccion { padding-top: 88px; padding-bottom: 40px; }
.sobrio-seccion > h2 { font-size: 32px; margin-bottom: 32px; }
.como-grid { display: flex; flex-wrap: wrap; gap: 56px; }
.como-grid > div { flex: 1 1 300px; display: flex; flex-direction: column; gap: 14px; }
.como-grid ol { flex: 999 1 500px; margin: 0; padding: 0; list-style: none; border-top: 1px solid #4A5059; }
.como-grid li { display: flex; gap: 24px; padding: 20px 0; border-bottom: 1px solid #353A42; }
.como-grid li .mono { color: #8A93A3; width: 28px; flex: none; }
.como-grid li b { color: #F4F1EA; font-weight: 500; }
.sobrio-cta { border: 1px solid #4A5059; padding: 40px 32px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
html[data-tema="sobrio"] a:not(.boton) { color: #E6E3DC; }

/* Textos legales */
.texto-legal { max-width: 760px; padding-top: 56px; padding-bottom: 96px; }
.texto-legal h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 12px; }
.texto-legal h2 { font-size: 22px; margin: 36px 0 10px; }
.texto-legal p, .texto-legal li { color: var(--texto); margin-bottom: 10px; }

/* 404 */
.no-encontrada { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding-top: 64px; padding-bottom: 64px; }
.no-encontrada svg { width: 120px; height: 174px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .impresora .pieza, .js [data-imprimir] { clip-path: none !important; }
  .impresora .boquilla, .halo { display: none; }
  .capas-transicion { display: none; }
}
