/* Q'Polar · qpolar.com.ar · sitio estático (opción B "Barra de noche", elegida el 2026-10-16).
   Tipografías de la web anterior: Archivo Black (títulos), Inter (textos) y JetBrains Mono (etiquetas y datos). */

@font-face { font-family: 'Archivo Black'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fuentes/archivo-black.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fuentes/inter.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(../fuentes/jetbrains-mono.woff2) format('woff2'); }

:root {
  --noche: #071B2C;
  --noche-2: #0E2C42;
  --noche-3: #123A56;
  --linea: #23435C;
  --hielo: #6FD1E8;
  --hielo-claro: #A7E6F2;
  --texto: #FFFFFF;
  --texto-2: #C9D6DD;
  --whatsapp: #25D366;
  --whatsapp-tinta: #06210F;
  --ancho: 1280px;
  --titulo: 'Archivo Black', 'Arial Black', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--noche); color: var(--texto); font: 400 17px/1.6 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--hielo); }
a:hover { color: var(--hielo-claro); }
:focus-visible { outline: 3px solid var(--hielo); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: var(--titulo); font-weight: 400; text-transform: uppercase; }
p { margin: 0; }
.envoltura { max-width: var(--ancho); margin: 0 auto; padding-inline: 24px; }
.etiqueta { font-family: var(--mono); font-weight: 700; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hielo); }
.saltar { position: absolute; left: -9999px; top: 8px; z-index: 50; padding: 10px 16px; background: var(--hielo); color: var(--noche); font-weight: 700; }
.saltar:focus { left: 8px; }

/* Botones */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 30px; font-weight: 800; font-size: 17px; text-decoration: none; border-radius: 12px; transition: transform .2s ease, background-color .2s ease, color .2s ease; }
.boton:hover { transform: translateY(-2px); }
.boton--hielo { background: var(--hielo); color: var(--noche); }
.boton--hielo:hover { background: var(--hielo-claro); color: var(--noche); }
.boton--borde { border: 2px solid var(--texto); color: var(--texto); }
.boton--borde:hover { background: var(--texto); color: var(--noche); }
.boton--linea { min-height: 48px; padding: 0 22px; border: 2px solid var(--hielo); color: var(--hielo); font-weight: 700; font-size: 16px; }
.boton--linea:hover { background: var(--hielo); color: var(--noche); }
.boton--noche { min-height: 60px; padding: 0 32px; background: var(--noche); color: var(--texto); font-size: 18px; }
.boton--noche:hover { background: var(--noche-3); color: var(--texto); }
.icono { width: 20px; height: 20px; flex: none; }

/* Cabecera */
.cabecera { position: absolute; inset: 0 0 auto; z-index: 10; }
.cabecera .envoltura { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.cabecera__logo img { width: 74px; height: auto; }
.menu { display: flex; align-items: center; gap: 28px; font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.menu a { color: var(--texto); text-decoration: none; }
.menu a:hover { color: var(--hielo); }
.menu .menu__whatsapp { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 10px; background: var(--whatsapp); color: var(--whatsapp-tinta); }
.menu .menu__whatsapp:hover { background: #3be07c; color: var(--whatsapp-tinta); }
.menu .menu__ingresar { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid var(--hielo); border-radius: 10px; color: var(--hielo); }
.menu .menu__ingresar:hover { background: var(--hielo); color: var(--noche); }

/* Portada */
.portada { position: relative; overflow: hidden; background: var(--noche); }
.portada__fondo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.portada__velo { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 27, 44, .55) 0%, rgba(7, 27, 44, 0) 30%, rgba(7, 27, 44, 0) 70%, var(--noche) 100%); }
.portada .envoltura { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px; padding-top: 150px; }
.portada__texto { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding-bottom: 80px; }
.portada h1 { font-size: clamp(48px, min(7.5vw, 12.5vh), 120px); line-height: .86; letter-spacing: -0.03em; }
.portada h1 .linea { display: block; overflow: hidden; padding-bottom: .04em; }
.portada h1 .linea > span { display: block; }
.portada h1 .hielo { color: var(--hielo); }
.portada__bajada { font-size: 20px; line-height: 1.5; color: var(--texto-2); max-width: 32rem; }
.botones { display: flex; flex-wrap: wrap; gap: 12px; }
.portada__bolsa { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; align-items: flex-end; }
.portada__bolsa img { width: auto; max-height: 560px; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }

/* Franja que corre */
.franja { background: var(--hielo); color: var(--noche); overflow: hidden; }
.franja__pista { display: flex; width: max-content; animation: correr 32s linear infinite; }
.franja__grupo { display: flex; flex: none; gap: 56px; padding: 18px 28px; font-family: var(--mono); font-weight: 700; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.franja__grupo span::before { content: '❄'; margin-right: 56px; opacity: .6; }
.franja__grupo span:first-child::before { content: none; }
@keyframes correr { to { transform: translateX(-50%); } }

/* Secciones */
.seccion { padding-block: 96px; }
.seccion--oscura { background: var(--noche-2); }
.titulo-seccion { font-size: clamp(36px, 5vw, 64px); line-height: 1; }

.pasos { display: flex; flex-direction: column; gap: 48px; }
.pasos .titulo-seccion { max-width: 14ch; }
.pasos__lista { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border-top: 1px solid var(--linea); margin: 0; padding: 0; list-style: none; }
.pasos__lista li { display: flex; flex-direction: column; gap: 14px; padding: 32px 32px 32px 0; border-bottom: 1px solid var(--linea); }
.pasos__numero { font-family: var(--titulo); font-size: 64px; line-height: 1; color: var(--hielo); }
.pasos__lista h3 { font-family: 'Inter', sans-serif; font-weight: 800; font-size: 22px; text-transform: none; }
.pasos__lista p { font-size: 16px; color: var(--texto-2); }

.productos { display: flex; flex-direction: column; gap: 56px; }
.productos__encabezado { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.productos__encabezado h2 { font-size: clamp(40px, 6vw, 80px); line-height: .95; }
.productos__encabezado p { font-size: 18px; color: var(--texto-2); max-width: 24rem; }
.producto { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--linea); }
.producto:last-child { padding-bottom: 0; border-bottom: 0; }
.producto--invertido { flex-direction: row-reverse; }
.producto__imagen { flex: 1 1 300px; min-width: 0; height: 400px; background: var(--noche-3); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.producto__imagen img { height: 320px; width: auto; object-fit: contain; }
.producto__imagen--centro { align-items: center; }
.producto__imagen--centro img { height: 320px; }
.producto__texto { flex: 2 1 420px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.producto__texto h3 { font-size: clamp(40px, 5vw, 64px); line-height: 1; }
.producto__texto p { font-size: 18px; color: var(--texto-2); max-width: 32rem; }

.mayorista .envoltura { display: flex; flex-wrap: wrap; gap: 56px; }
.mayorista__texto { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.mayorista__texto p { font-size: 18px; color: var(--texto-2); }
.ventajas { flex: 1 1 460px; min-width: 0; margin: 0; padding: 0; list-style: none; }
.ventajas li { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--linea); }
.ventajas li:last-child { border-bottom: 0; }
.ventajas__numero { font-family: var(--mono); font-weight: 700; color: var(--hielo); }
.ventajas strong { display: block; font-size: 19px; }
.ventajas span span { font-size: 16px; color: var(--texto-2); }
.ventajas .ventajas__destacada { margin-top: 8px; padding: 22px 24px; background: var(--noche-3); border-bottom: 0; }

.contacto { background: var(--hielo); color: var(--noche); padding-block: 88px; }
.contacto .envoltura { display: flex; flex-direction: column; gap: 36px; }
.contacto h2 { font-size: clamp(44px, 6vw, 88px); line-height: .92; }
.contacto__acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.contacto__telefono { font-family: var(--titulo); font-size: clamp(24px, 3vw, 36px); color: var(--noche); text-decoration: none; }
.contacto__telefono:hover { color: var(--noche-3); }
.datos { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; padding-top: 32px; border-top: 2px solid var(--noche); }
.datos dt { font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.datos dd { margin: 6px 0 0; font-size: 18px; font-weight: 700; }
.datos a { color: var(--noche); }

.pie .envoltura { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; font-size: 14px; color: var(--texto-2); }
.pie a { color: var(--texto-2); }
.pie a:hover { color: var(--hielo); }

/* Botón flotante de WhatsApp (en el celular) */
.flotante { position: fixed; right: 16px; bottom: 16px; z-index: 20; display: none; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: var(--whatsapp); color: var(--whatsapp-tinta); box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
.flotante .icono { width: 30px; height: 30px; }

/* Página no encontrada */
.no-existe { min-height: 100vh; display: flex; align-items: center; }
.no-existe .envoltura { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-block: 160px 80px; }
.no-existe h1 { font-size: clamp(48px, 8vw, 110px); line-height: .9; }

/* Celular */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .menu > a:not(.menu__whatsapp):not(.menu__ingresar) { display: none; }
  .menu { gap: 10px; }
  .menu .menu__ingresar, .menu .menu__whatsapp { min-height: 40px; padding: 0 12px; }
  .cabecera__logo { flex-shrink: 0; }
  .cabecera__logo img { width: 60px; }
  .portada .envoltura { padding-top: 120px; }
  .portada__texto { padding-bottom: 24px; }
  .portada__bajada { font-size: 18px; }
  .portada__bolsa img { max-height: 340px; }
  .seccion { padding-block: 64px; }
  .producto, .producto--invertido { flex-direction: column; align-items: stretch; gap: 24px; }
  .producto__imagen { flex: none; height: 320px; }
  .producto__imagen img { height: 250px; }
  .producto__imagen--centro img { height: 240px; }
  .producto__texto { flex: none; }
  .pasos__lista li { padding-right: 0; }
  .contacto { padding-block: 64px; }
  .flotante { display: inline-flex; }
}

/* Animaciones: solo si hay JavaScript y la persona no pidió menos movimiento */
.js .aparece, .js [data-entra] { opacity: 0; transform: translateY(32px); }
.js .portada h1 .linea > span { transform: translateY(110%); }
/* Celulares muy angostos: que entren logo, Ingresar y WhatsApp */
@media (max-width: 360px) {
  .menu { gap: 8px; letter-spacing: .04em; font-size: 12px; }
  .menu .menu__ingresar, .menu .menu__whatsapp { padding: 0 9px; }
  .cabecera__logo img { width: 52px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .franja__pista { animation: none; }
  .js .aparece, .js [data-entra] { opacity: 1; transform: none; }
  .js .portada h1 .linea > span { transform: none; }
  .boton:hover { transform: none; }
}
