/* Sublimagen · estilos de la web */
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-800.woff") format("woff"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-600.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  --grafito: #141416;
  --grafito-2: #1A1A1D;
  --panel: #1F1F23;
  --linea: #2A2A30;
  --linea-2: #3A3A42;
  --blanco: #F7F5F2;
  --texto-2: #C9C9CF;
  --texto-3: #9A9AA3;
  --naranja: #FF6B1A;
  --magenta: #E5195E;
  --degradado: linear-gradient(90deg, #FF6B1A, #E5195E);
  --titulos: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --texto: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ancho: 1240px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--grafito); color: var(--blanco); font-family: var(--texto); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blanco); }
a:hover { color: var(--naranja); }
:focus-visible { outline: 3px solid var(--naranja); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.contenedor { max-width: var(--ancho); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.saltar { position: absolute; left: -999px; top: 8px; background: var(--blanco); color: var(--grafito); padding: 8px 12px; border-radius: 6px; z-index: 50; }
.saltar:focus { left: 8px; }

h1, h2, h3 { font-family: var(--titulos); font-weight: 800; text-transform: uppercase; line-height: 0.95; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(52px, 8vw, 96px); }
h2 { font-size: clamp(34px, 4.5vw, 46px); }
h3 { font-size: 24px; }
.grad { background: var(--degradado); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eti { font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--texto-3); }
.sub { color: var(--texto-2); font-size: clamp(17px, 2vw, 20px); max-width: 60ch; margin: 0; }

/* Cabecera */
.cabecera { border-bottom: 1px solid var(--linea); position: sticky; top: 0; background: rgba(20, 20, 22, 0.94); backdrop-filter: blur(8px); z-index: 20; }
.cabecera .contenedor { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.marca img { width: 24px; height: 40px; }
.marca span { font-family: var(--titulos); font-weight: 800; font-size: 28px; letter-spacing: 0.01em; }
.menu { display: flex; align-items: center; gap: 24px; }
.menu a { text-decoration: none; font-weight: 500; font-size: 15px; }
.boton-menu { display: none; background: none; border: 1px solid var(--linea-2); border-radius: 10px; width: 44px; height: 44px; color: var(--blanco); cursor: pointer; }

/* Botones */
.boton { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; text-align: center; }
.boton-naranja { background: var(--naranja); color: var(--grafito); }
.boton-naranja:hover { background: #FF8540; color: var(--grafito); }
.boton-claro { background: var(--blanco); color: var(--grafito); }
.boton-claro:hover { background: #fff; color: var(--grafito); }
.boton-borde { border-color: var(--blanco); color: var(--blanco); }
.botones { display: flex; flex-wrap: wrap; gap: 12px; }

/* Secciones */
.seccion { padding-block: 64px; }
.seccion-alt { background: var(--grafito-2); border-block: 1px solid var(--linea); }
.seccion-cabeza { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 28px; }

.hero .contenedor { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-block: 64px 56px; }
.hero-texto { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-foto { flex: 1 1 400px; min-width: 0; }
.confianza { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--texto-3); list-style: none; padding: 0; margin: 0; }

.foto-hueco { aspect-ratio: 5 / 4; width: 100%; border-radius: 16px; background: var(--panel); border: 1px dashed #4A4A52; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--texto-3); font-size: 15px; }

.rejilla { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.tarjeta { background: var(--panel); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.tarjeta p { margin: 0; color: var(--texto-2); }
.paso-num { font-family: var(--titulos); font-weight: 800; font-size: 48px; line-height: 1; }
.tarjeta-enlace { text-decoration: none; justify-content: flex-end; min-height: 150px; }
.tarjeta-enlace h3 { font-size: 30px; }

/* Productos */
.productos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.producto { display: flex; flex-direction: column; gap: 14px; }
.producto-foto { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--panel); }
.producto-foto img { width: 100%; height: 100%; object-fit: cover; }
.producto-foto.sin-foto { display: flex; align-items: center; justify-content: center; border: 1px dashed #4A4A52; color: var(--texto-3); font-size: 14px; }
.producto-cuerpo { display: flex; flex-direction: column; gap: 8px; }
.producto-cuerpo h3 { font-size: 24px; }
.producto-cuerpo p { margin: 0; color: var(--texto-2); font-size: 15px; }
.producto-cuerpo .precio { color: var(--blanco); font-weight: 600; font-size: 17px; }
.producto-botones { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.producto-botones .boton { flex: 1 1 140px; min-height: 44px; padding: 10px 14px; font-size: 15px; }
.nota { font-size: 13px !important; color: var(--texto-3) !important; }

.filtros { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filtros button { font: inherit; font-size: 15px; font-weight: 500; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--linea-2); background: transparent; color: var(--blanco); cursor: pointer; }
.filtros button[aria-pressed="true"] { background: var(--blanco); color: var(--grafito); border-color: var(--blanco); font-weight: 600; }

/* Envíos */
.envio { border: 1px solid var(--linea); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.envio strong { font-size: 19px; }
.envio p { margin: 0; color: var(--texto-2); font-size: 15px; }
.envio-destacado { border-color: var(--naranja); }
.envio-destacado strong { color: var(--naranja); }

.historia .contenedor { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.historia .foto-hueco { flex: 1 1 360px; aspect-ratio: 4 / 3; }
.historia-texto { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }

.llamada { background: var(--panel); border-radius: 12px; padding: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; }
.llamada div { flex: 1 1 380px; min-width: 0; }
.llamada p { margin: 6px 0 0; color: var(--texto-2); }

/* Textos legales */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(40px, 6vw, 60px); margin-bottom: 20px; }
.legal h2 { font-size: 28px; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--texto-2); }
.aviso-plantilla { border: 1px solid var(--naranja); border-radius: 10px; padding: 14px 18px; color: var(--blanco); background: rgba(255, 107, 26, 0.08); }

/* Pie */
.pie { border-top: 1px solid var(--linea); background: #0F0F11; padding-block: 48px 110px; }
.pie .contenedor { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.pie-col { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--texto-2); }
.pie-col strong { color: var(--blanco); }
.pie-marca { font-family: var(--titulos); font-weight: 800; font-size: 32px; color: var(--blanco); }
.pie-marca span { color: var(--naranja); }
.pie-lema { font-size: 13px; font-weight: 600; letter-spacing: 0.24em; color: var(--texto-3); }

.wa-flotante { position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px)); width: 60px; height: 60px; border-radius: 50%; background: var(--naranja); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4); z-index: 30; }
.wa-flotante:hover { background: #FF8540; }

@media (max-width: 860px) {
  .boton-menu { display: inline-flex; align-items: center; justify-content: center; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--grafito); border-bottom: 1px solid var(--linea); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; }
  .menu.abierto { display: flex; }
  .menu a { padding: 12px 0; border-bottom: 1px solid var(--linea); font-size: 17px; }
  .menu .boton { margin-top: 12px; border-bottom: 0; }
  .seccion { padding-block: 48px; }
}

/* Botones de producto alineados abajo */
.producto-cuerpo { flex: 1; }
.producto-botones { margin-top: auto; }
