/* SL Pro Lighting · slprolighting.com */

@font-face { font-family: "Saira Stencil One"; src: url("/fonts/saira-stencil-one-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Roboto Condensed"; src: url("/fonts/roboto-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --fondo: #050506;
  --superficie: #0e1013;
  --superficie-2: #121417;
  --borde: #24272c;
  --borde-2: #2a2e33;
  --texto: #ffffff;
  --texto-2: #c9ced4;
  --texto-3: #b4bac1;
  --rojo: #e00000;
  --rojo-claro: #ff4d4d;
  --azul: #4f8cff;
  --dorado: #f2b84b;
  --titulos: "Saira Stencil One", "Arial Black", sans-serif;
  --textos: "Montserrat", system-ui, sans-serif;
  --etiquetas: "Roboto Condensed", "Arial Narrow", sans-serif;
  --ancho: 1200px;
  --radio: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { position: relative; margin: 0; background: var(--fondo); color: var(--texto); font-family: var(--textos); font-size: 17px; line-height: 1.6; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--rojo-claro); outline-offset: 3px; border-radius: 4px; }

.contenedor { width: min(100% - 40px, var(--ancho)); margin-inline: auto; }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icono { width: 20px; height: 20px; flex: none; }

.saltar { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--rojo); color: #fff; font-weight: 700; border-radius: 8px; text-decoration: none; transition: top .2s; }
.saltar:focus { top: 16px; }

.etiqueta { font-family: var(--etiquetas); font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--rojo-claro); }

/* Botones */
.boton { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-family: var(--etiquetas); font-weight: 700; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.boton--rojo { background: var(--rojo); color: #fff; box-shadow: 0 8px 28px -10px rgba(224, 0, 0, .8); }
.boton--rojo:hover { background: #f01010; transform: translateY(-2px); box-shadow: 0 12px 34px -10px rgba(224, 0, 0, .95); }
.boton--claro { background: #fff; color: #0b0c0e; }
.boton--claro:hover { transform: translateY(-2px); box-shadow: 0 12px 34px -12px rgba(255, 255, 255, .6); }

/* ---------- Encabezado ---------- */
.encabezado { position: relative; z-index: 10; display: flex; flex-direction: column; }

.barra-info { position: relative; z-index: 3; background: rgba(5, 5, 6, .7); border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 13px; color: var(--texto-3); }
.barra-info__fila { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.barra-info__dato { display: flex; align-items: center; gap: 8px; }
.barra-info a { text-decoration: none; }
.barra-info a:hover { color: #fff; }
.punto { width: 7px; height: 7px; border-radius: 50%; background: #2bd46b; box-shadow: 0 0 0 4px rgba(43, 212, 107, .15); }

.encabezado__hueco { position: relative; z-index: 20; min-height: 84px; }
.encabezado__principal { position: relative; top: 0; z-index: 20; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.encabezado__principal::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: rgba(5, 5, 6, .78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 rgba(255, 255, 255, .07), 0 18px 40px -24px rgba(0, 0, 0, .9); transition: opacity .3s; }
.encabezado__principal.es-fijo { position: fixed; left: 0; right: 0; animation: bajar-header .35s ease-out; }
.encabezado__principal.es-fijo::before { opacity: 1; }
@keyframes bajar-header { from { transform: translateY(-100%); } }
.encabezado__fila { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; transition: min-height .3s; }
.es-fijo .encabezado__fila { min-height: 68px; }

.marca { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.marca__logo { width: 58px; height: auto; filter: drop-shadow(0 4px 14px rgba(255, 255, 255, .12)); transition: width .3s; }
.es-fijo .marca__logo { width: 48px; }
.marca__texto { display: flex; flex-direction: column; line-height: 1.05; }
.marca__nombre { font-family: var(--titulos); font-size: 22px; white-space: nowrap; letter-spacing: .02em;
  background: linear-gradient(180deg, #ffffff 0%, #d9dde2 45%, #8e959d 55%, #f4f6f8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.marca__lema { font-family: var(--etiquetas); font-weight: 700; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--texto-3); margin-top: 4px; }

.navegacion { display: flex; align-items: center; gap: 28px; }


/* Escenario: haces de luz */
.escenario { position: absolute; top: 0; left: 0; right: 0; height: min(1500px, 170vh); z-index: 0; pointer-events: none; overflow: hidden;
  background: radial-gradient(70% 45% at 50% 28%, rgba(224, 0, 0, .16), transparent 70%), var(--fondo); }
.pixeles { position: absolute; inset: 0; width: 100%; height: 100%; }
.niebla { position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(180deg, transparent, rgba(5, 5, 6, .65) 45%, var(--fondo)); }

/* Portada */
main { position: relative; z-index: 1; }
.portada::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(900px, 120%); height: 150%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(5, 5, 6, .85), rgba(5, 5, 6, .55) 60%, transparent); pointer-events: none; }
.portada { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 56px 0 40px; text-align: center; }
.portada__titulo { font-family: var(--textos); font-weight: 600; font-size: clamp(18px, 2vw, 22px); line-height: 1.4; color: var(--texto-2); max-width: 40ch; text-wrap: balance; }

/* ---------- Las dos líneas ---------- */
.lineas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 1120px; padding-bottom: 110px; }
.linea { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 34px 30px 30px; text-align: center; border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, rgba(22, 24, 29, .88), rgba(10, 11, 13, .92)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .9); transition: transform .35s, border-color .35s, box-shadow .35s; }
.linea::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--acento); }
.linea::after { content: ""; position: absolute; left: 50%; top: -120px; width: 320px; height: 240px; margin-left: -160px; border-radius: 50%; background: var(--acento); opacity: .14; filter: blur(60px); pointer-events: none; }
.linea--show { --acento: var(--rojo); }
.linea--home { --acento: var(--dorado); }
.linea:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, .22); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 1), 0 0 0 1px rgba(255, 255, 255, .04); }
.linea__logo { position: relative; z-index: 1; height: 110px; width: auto; object-fit: contain; filter: drop-shadow(0 10px 26px rgba(0, 0, 0, .6)); }
.linea__nombre { font-family: var(--etiquetas); font-weight: 700; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--texto-3); margin-top: -8px; }
.linea__video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid var(--borde-2);
  background: radial-gradient(70% 90% at 50% 30%, #1b1e24, #08090b); box-shadow: 0 20px 50px -30px var(--acento); }
.linea__video video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.linea:hover .linea__video video { transform: scale(1.04); }
.linea__texto { max-width: 42ch; font-size: 15px; color: var(--texto-2); }
.linea__acciones { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: auto; }

.redes { display: flex; gap: 10px; }
.redes a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--borde-2); border-radius: 50%; background: rgba(14, 16, 19, .7); color: var(--texto-2); transition: color .2s, border-color .2s, transform .2s; }
.redes a:hover { color: #fff; border-color: #fff; transform: translateY(-2px); }

/* ---------- Contacto ---------- */
.contacto { padding: 110px 0; text-align: center; border-top: 1px solid var(--borde); background: radial-gradient(70% 60% at 50% 0%, rgba(224, 0, 0, .12), transparent 70%), var(--fondo); }
.contacto__titulo { font-family: var(--titulos); font-weight: 400; font-size: clamp(32px, 4.2vw, 54px); margin-top: 14px; }
.contacto__texto { max-width: 620px; margin: 14px auto 0; color: var(--texto-2); }
.contacto__rejilla { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.contacto__tarjeta { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px; border: 1px solid var(--borde); border-radius: var(--radio); background: var(--superficie); text-decoration: none; transition: border-color .2s, transform .2s; }
a.contacto__tarjeta:hover { border-color: var(--rojo); transform: translateY(-3px); }
.contacto__icono { width: 28px; height: 28px; color: var(--rojo-claro); margin-bottom: 8px; }
.contacto__etq { font-family: var(--etiquetas); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--texto-3); }
.contacto__dato { font-weight: 700; font-size: 22px; }
.contacto__dato--chico { font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--texto-2); }

/* ---------- Pie ---------- */
.pie { border-top: 1px solid var(--borde); padding: 28px 0; font-size: 14px; color: var(--texto-3); }
.pie__fila { display: flex; flex-wrap: wrap; justify-content: center; text-align: center; gap: 16px; }
.pie__enlaces { display: flex; gap: 22px; }
.pie a { text-decoration: none; }
.pie a:hover { color: #fff; }

/* Página de error */
.error { min-height: 100svh; display: grid; align-items: center; }
.error img { width: 120px; height: auto; margin-bottom: 26px; }
.error__acciones { margin-top: 28px; }

/* Aparición */
.aparece { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.aparece.visible { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1000px) {
  .contacto__rejilla { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .encabezado__principal::before { opacity: 1; }
  .barra-info__dato:first-child { display: none; }
  .barra-info__fila { justify-content: center; }
  .lineas { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .marca__lema { display: none; }
  .marca__nombre { font-size: 18px; white-space: nowrap; background: none; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .9); }
  .marca { gap: 10px; }
  .marca__logo { width: 46px; }
  .navegacion__cta { min-height: 42px; padding: 10px 16px; font-size: 13px; }
  .contacto__rejilla { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .aparece { opacity: 1; transform: none; }
}
