/* ============================================================
   Lomas Pallets — hoja de estilo del sitio
   Tokens y componentes del sistema de diseño Lomas Pallets.
   Layout: contenedor de 1200px, bandas de color para separar
   secciones (nunca sombras), banda oscura para productos.
   ============================================================ */

/* ---------- Fuentes ---------- */
@font-face {
  font-family: "Archivo";
  src: url("fonts/Archivo-Variable.woff2") format("woff2-variations");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Archivo Narrow";
  src: url("fonts/ArchivoNarrow-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Archivo Narrow";
  src: url("fonts/ArchivoNarrow-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Archivo Narrow";
  src: url("fonts/ArchivoNarrow-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Tokens: tema claro ---------- */
:root {
  --surface: #F5F4F1;
  --surface-raised: #FFFFFF;
  --surface-sunken: #EAE8E3;
  --ink: #373435;
  --ink-muted: #5F6164;
  --ink-display: #77797C;
  --red: #ED3237;
  --action: #D3262C;
  --action-hover: #B71C21;
  --on-action: #FFFFFF;
  --link: #D3262C;
  --steel: #96989A;
  --line: #DEDCD6;
  --line-strong: #8A8C8F;
  --focus: #373435;
  --success: #2F6E45;
  --danger: #B3261E;

  --font-sans: Archivo, "Helvetica Neue", Arial, sans-serif;
  --font-narrow: "Archivo Narrow", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px;
  --space-24: 96px; --space-32: 128px;

  --radius-sm: 8px; --radius-md: 16px; --radius-lg: 24px; --radius-pill: 999px;

  --container-max: 1200px;
  --measure: 64ch;
  --control-height: 48px;
}

/* ---------- Tokens: tema oscuro ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface: #1F1D1E;
    --surface-raised: #2B292A;
    --surface-sunken: #161415;
    --ink: #F5F4F1;
    --ink-muted: #A9ABAD;
    --ink-display: #96989A;
    --link: #FF7377;
    --line: #3A3839;
    --line-strong: #77797C;
    --focus: #F5F4F1;
    --success: #6FBF8C;
    --danger: #FF8F87;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --surface: #1F1D1E;
  --surface-raised: #2B292A;
  --surface-sunken: #161415;
  --ink: #F5F4F1;
  --ink-muted: #A9ABAD;
  --ink-display: #96989A;
  --link: #FF7377;
  --line: #3A3839;
  --line-strong: #77797C;
  --focus: #F5F4F1;
  --success: #6FBF8C;
  --danger: #FF8F87;
  color-scheme: dark;
}

/* Bandas que mantienen su color en los dos temas.
   No usan data-theme para no pisar el tema del lector. */
.band-dark {
  --surface: #1F1D1E;
  --surface-raised: #2B292A;
  --surface-sunken: #161415;
  --ink: #F5F4F1;
  --ink-muted: #A9ABAD;
  --ink-display: #96989A;
  --line: #3A3839;
  --line-strong: #77797C;
  --focus: #F5F4F1;
  background: var(--surface);
  color: var(--ink);
}
.band-dark .card-light {
  --surface: #F5F4F1;
  --surface-raised: #FFFFFF;
  --surface-sunken: #EAE8E3;
  --ink: #373435;
  --ink-muted: #5F6164;
  --ink-display: #77797C;
  --line: #DEDCD6;
  --line-strong: #8A8C8F;
  --focus: #373435;
  color: var(--ink);
}

/* ---------- Base ---------- */
/* El atributo hidden viene del navegador con una especificidad mínima, así que
   cualquier .clase con display:flex se lo come. Sin esto, los bloques del
   armador de pedidos quedan marcados como ocultos pero siguen a la vista. */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
h1, h2, h3 { text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }

.wrap {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 900px) {
  .wrap { padding-left: max(48px, env(safe-area-inset-left, 0px)); padding-right: max(48px, env(safe-area-inset-right, 0px)); }
}
.band { padding-block: var(--space-16); }
@media (min-width: 900px) { .band { padding-block: var(--space-24); } }
.band-dark.band { padding-block: var(--space-16); }
@media (min-width: 900px) { .band-dark.band { padding-block: var(--space-32); } }
.stack-8 { display: flex; flex-direction: column; gap: var(--space-8); }
.stack-6 { display: flex; flex-direction: column; gap: var(--space-6); }
.stack-4 { display: flex; flex-direction: column; gap: var(--space-4); }
.row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.measure { max-width: var(--measure); }
.lead { font-size: 18px; line-height: 28px; }
.small { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.nums { font-variant-numeric: tabular-nums; }

/* ---------- Botones ---------- */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: var(--control-height); padding: 0 var(--space-8);
  border-radius: var(--radius-pill); border: 1px solid transparent;
  font-family: var(--font-sans); font-size: 16px; line-height: 20px; font-weight: 600;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.lp-btn--primary { background: var(--action); color: var(--on-action); }
.lp-btn--primary:hover { background: var(--action-hover); }
.lp-btn--outline { background: var(--surface-raised); color: var(--ink); border-color: var(--line-strong); }
.lp-btn--outline:hover { border-color: var(--ink); }
.lp-btn--dark { background: var(--ink); color: var(--surface); }
.lp-btn--dark:hover { background: var(--ink-muted); }
.lp-btn--sm { min-height: 36px; padding: 0 var(--space-4); font-size: 14px; }
.lp-btn--block { width: 100%; }
.lp-btn[disabled], .lp-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.lp-btn__arrow { font-weight: 400; transition: transform .15s ease; }
.lp-btn:hover .lp-btn__arrow { transform: translateX(2px); }

.lp-link { color: var(--link); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.lp-link:hover { border-bottom-width: 2px; }

/* ---------- Chips ---------- */
.lp-chip {
  display: inline-flex; align-items: center; gap: var(--space-1);
  height: 26px; padding: 0 var(--space-3); border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong); color: var(--ink-muted); background: transparent;
  font-family: var(--font-narrow); font-size: 13px; line-height: 16px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.lp-chip--solid { background: var(--surface-sunken); border-color: transparent; color: var(--ink); }
.lp-chip--brand { border-color: var(--red); color: var(--ink); }
.lp-chip--brand::before { content: ""; width: 6px; height: 6px; border-radius: var(--radius-pill); background: var(--red); }
.lp-chip--on-photo { background: var(--surface-raised); border-color: transparent; color: var(--ink); }
.lp-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* ---------- Titulares de sección ---------- */
.lp-section-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-8); }
.lp-two-tone { margin: 0; font-size: 48px; line-height: 1.05; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.lp-two-tone__soft { display: block; color: var(--ink-display); font-weight: 400; }
.lp-two-tone__strong { display: block; }
.lp-two-tone__red { color: var(--red); }
.lp-eyebrow { font-family: var(--font-narrow); font-size: 20px; line-height: 24px; font-weight: 500; letter-spacing: .02em; color: var(--ink-muted); white-space: nowrap; padding-top: 10px; }
.lp-eyebrow b { color: var(--red); font-weight: 700; }
@media (max-width: 720px) {
  .lp-section-head { flex-direction: column-reverse; gap: var(--space-2); }
  .lp-two-tone { font-size: 32px; }
}
h2.plain, h3.plain { margin: 0; }
h2.plain { font-size: 32px; line-height: 1.15; font-weight: 600; letter-spacing: -0.015em; }
h3.plain { font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
@media (max-width: 720px) { h2.plain { font-size: 26px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  background: var(--surface); z-index: 21;
}
.lp-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding-block: var(--space-4); }
.lp-logo { display: inline-flex; line-height: 0; }
.lp-logo img { display: block; width: auto; }
.lp-logo .lp-logo__b { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .lp-logo .lp-logo__a { display: none; }
  :root:not([data-theme="light"]) .lp-logo .lp-logo__b { display: block; }
}
:root[data-theme="dark"] .lp-logo .lp-logo__a { display: none; }
:root[data-theme="dark"] .lp-logo .lp-logo__b { display: block; }
.lp-logo--header img { height: 56px; }
.lp-logo--foot img { height: 52px; }
.lp-nav { display: flex; gap: var(--space-8); }
.lp-nav a { color: var(--ink); text-decoration: none; font-size: 15px; line-height: 20px; font-weight: 500; padding: var(--space-2) 0; border-bottom: 2px solid transparent; }
.lp-nav a:hover, .lp-nav a[aria-current="page"] { border-bottom-color: var(--red); }
.nav-toggle { display: none; }
@media (max-width: 980px) {
  .lp-logo--header img { height: 44px; }
  .lp-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0;
    background: var(--surface-raised); border-bottom: 1px solid var(--line);
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    padding-block: var(--space-2);
  }
  .lp-nav a { padding-block: var(--space-3); border-bottom: 1px solid var(--line); }
  .lp-nav a:last-child { border-bottom: 0; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: var(--space-2);
    min-height: 44px; padding: 0 var(--space-3);
    background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
    color: var(--ink); font-family: var(--font-sans); font-size: 14px; font-weight: 600; cursor: pointer;
  }
  .header-cta { display: none; }
}
.lp-header { position: relative; }

/* ---------- Hero ---------- */
.lp-hero__intro { display: flex; flex-direction: column; gap: var(--space-3); }
.lp-hero__h1 { margin: 0; font-size: clamp(30px, 3.1vw, 40px); line-height: 1.06; letter-spacing: -0.02em; font-weight: 700; color: var(--ink); }
.lp-hero__copy { display: flex; flex-direction: column; gap: var(--space-6); max-width: 620px; min-width: 0; }
/* La portada es una sola foto, a todo el ancho del contenedor. */
.lp-hero__shot { margin-top: var(--space-8); aspect-ratio: 4 / 3; min-height: 0; }
.lp-hero__shot img { object-position: center 58%; }
@media (min-width: 720px) { .lp-hero__shot { aspect-ratio: 16 / 9; } }
@media (min-width: 1000px) { .lp-hero__shot { aspect-ratio: 2 / 1; } }

/* Hero interno de páginas */
.page-hero { padding-block: var(--space-16) var(--space-8); }
.page-hero h1 { margin: 0; font-size: clamp(34px, 6vw, 64px); line-height: 1.02; font-weight: 700; letter-spacing: -0.025em; }
.page-hero .eyebrow-line { font-family: var(--font-narrow); font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: var(--space-4); }

/* ---------- PathCard grande (accesos de la home) ---------- */
.paths-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
@media (min-width: 640px) { .paths-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .paths-grid { grid-template-columns: repeat(4, 1fr); } }
.path-big {
  display: flex; flex-direction: column; gap: var(--space-3); min-width: 0;
  padding: var(--space-6);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none; color: var(--ink);
  transition: border-color .15s ease, transform .15s ease;
}
.path-big:hover { border-color: var(--ink); transform: translateY(-2px); }
.path-big__title { font-size: 20px; line-height: 26px; font-weight: 600; }
.path-big__desc { font-size: 15px; line-height: 22px; color: var(--ink-muted); flex: 1; }
.path-big__go { font-size: 15px; line-height: 20px; font-weight: 600; color: var(--link); }

/* ---------- Fotos ---------- */
.lp-photo {
  position: relative; display: flex; align-items: flex-end; justify-content: flex-start;
  background: var(--surface-sunken); border-radius: var(--radius-lg); overflow: hidden; min-height: 160px;
  max-width: 100%;
}
.lp-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-photo--md { border-radius: var(--radius-md); }
.lp-photo--product { background: var(--surface-sunken); }
.lp-photo--product img { object-fit: contain; padding: var(--space-4); }
.lp-photo__note { position: relative; margin: var(--space-4); font-family: var(--font-narrow); font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.photo-wide { min-height: 260px; }
@media (min-width: 900px) { .photo-wide { min-height: 420px; } }

/* ---------- Tarjetas de producto ---------- */
.products-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
@media (min-width: 640px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }
.lp-product {
  display: flex; flex-direction: column; gap: var(--space-4);
  padding: var(--space-6) var(--space-6) var(--space-2);
  background: var(--surface-raised); color: var(--ink);
  border-radius: var(--radius-lg); min-width: 0;
}
/* Etiqueta, nombre y bajada ocupan siempre el mismo alto, para que las
   cuatro tarjetas arranquen cada bloque a la misma altura. */
.lp-product__top { display: flex; align-items: flex-start; min-height: 26px; }
.lp-product__name { margin: 0; min-width: 0; font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
@media (min-width: 640px) {
  .lp-product__name { min-height: 2.4em; }
  .lp-product__desc { min-height: 66px; }
}
.lp-product__spec { font-family: var(--font-narrow); font-size: 28px; line-height: 1; font-weight: 700; letter-spacing: -0.01em; }
.lp-product__spec small { display: block; margin-top: var(--space-1); font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--ink-muted); }
.lp-product__desc { margin: 0; font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.lp-product__row { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.lp-product .lp-photo { flex: 1; min-height: 200px; margin: 0 calc(var(--space-4) * -1); border-radius: var(--radius-md); }
.lp-product .lp-photo .lp-chips { position: relative; margin: var(--space-3); }

/* ---------- Ficha técnica ---------- */
.spec-sheet { display: grid; grid-template-columns: 1fr; gap: var(--space-8); align-items: start; }
@media (min-width: 860px) { .spec-sheet { grid-template-columns: 0.9fr 1.1fr; } }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { text-align: left; padding: var(--space-3) var(--space-4); }
.spec-table th { font-weight: 500; color: var(--ink-muted); width: 52%; }
.spec-table td { font-family: var(--font-narrow); font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.spec-table tr:nth-child(odd) { background: var(--surface-sunken); }
.spec-table tr:first-child th { border-top-left-radius: var(--radius-sm); }
.spec-table tr:first-child td { border-top-right-radius: var(--radius-sm); }
.table-scroll { overflow-x: auto; }

/* ---------- Bloques de confianza ---------- */
.facts-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
@media (min-width: 720px) { .facts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .facts-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1040px) { .facts-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.fact {
  display: flex; flex-direction: column; gap: var(--space-3); min-width: 0;
  padding-top: var(--space-4); border-top: 3px solid var(--red);
}
.fact__n { font-family: var(--font-narrow); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.fact__t { font-size: 20px; line-height: 26px; font-weight: 600; }
.fact__d { font-size: 15px; line-height: 22px; color: var(--ink-muted); }

.lp-facts { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.lp-facts li { display: flex; align-items: center; gap: var(--space-2); }
.lp-facts li::before { content: ""; width: 8px; height: 8px; background: var(--red); transform: rotate(45deg) skew(-10deg, -10deg); flex: none; }

.stat-row { display: flex; flex-wrap: wrap; gap: var(--space-8); }
.stat__v { font-family: var(--font-narrow); font-size: 40px; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat__l { font-family: var(--font-narrow); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin-top: var(--space-2); }

/* ---------- Pasos numerados ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: var(--space-6); counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.step__n { font-family: var(--font-narrow); font-size: 20px; font-weight: 700; color: var(--red); }
.step__t { font-size: 18px; line-height: 24px; font-weight: 600; }
.step__d { font-size: 15px; line-height: 22px; color: var(--ink-muted); }

/* ---------- Condiciones ---------- */
.cond-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
@media (min-width: 820px) { .cond-grid { grid-template-columns: repeat(3, 1fr); } }
.cond {
  display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-6); background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); min-width: 0;
}
.cond--lead { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
/* Franja fija arriba de cada tarjeta: lleve o no etiqueta, los títulos
   y los textos de las tres arrancan a la misma altura. */
.cond__flag { display: flex; align-items: flex-start; min-height: 26px; }
.cond__t { font-size: 20px; line-height: 26px; font-weight: 600; }
.cond__d { font-size: 15px; line-height: 22px; color: var(--ink-muted); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding-block: var(--space-4);
  font-size: 17px; line-height: 24px; font-weight: 600;
  display: flex; justify-content: space-between; gap: var(--space-4); align-items: baseline;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-weight: 700; font-size: 22px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq .faq__a { padding-bottom: var(--space-4); color: var(--ink-muted); font-size: 15px; line-height: 23px; max-width: var(--measure); }

/* ---------- Formularios ---------- */
.lp-field { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.lp-field__label { font-size: 15px; line-height: 20px; font-weight: 600; color: var(--ink); }
.lp-input, .lp-select, .lp-textarea {
  min-height: var(--control-height); padding: var(--space-3) var(--space-4); width: 100%;
  font-family: var(--font-sans); font-size: 16px; line-height: 22px; color: var(--ink);
  background: var(--surface-raised); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
}
.lp-textarea { min-height: 96px; resize: vertical; }
.lp-input::placeholder, .lp-textarea::placeholder { color: var(--ink-muted); }
.lp-input:hover, .lp-select:hover, .lp-textarea:hover { border-color: var(--ink); }
.lp-field__help { font-size: 14px; line-height: 20px; color: var(--ink-muted); margin: 0; }
.lp-field__error { display: flex; gap: var(--space-2); align-items: flex-start; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--danger); margin: 0; }
.lp-field--error .lp-input { border-color: var(--danger); border-width: 2px; }
.lp-field__suffix { position: relative; }
.lp-field__suffix .lp-input { padding-right: 56px; }
.lp-field__suffix > span { position: absolute; right: var(--space-4); top: 50%; transform: translateY(-50%); font-family: var(--font-narrow); font-weight: 600; letter-spacing: .08em; font-size: 13px; color: var(--ink-muted); }
.form-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
@media (min-width: 720px) { .form-grid { grid-template-columns: repeat(2, 1fr); } }
.form-grid .span-2 { grid-column: 1 / -1; }

/* Selector de opciones del pedido */
.opt-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-3); }
@media (min-width: 560px) { .opt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .opt-grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 980px) { .opt-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.opt { position: relative; min-width: 0; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt label {
  display: flex; flex-direction: column; gap: var(--space-2); height: 100%;
  padding: var(--space-4); border: 1px solid var(--line-strong); border-radius: var(--radius-md);
  background: var(--surface-raised); cursor: pointer; transition: border-color .15s ease;
}
.opt label:hover { border-color: var(--ink); }
.opt input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; }
.opt input:checked + label { border-color: var(--action); border-width: 2px; padding: calc(var(--space-4) - 1px); }
.opt__t { font-size: 16px; line-height: 22px; font-weight: 600; }
.opt__s { font-family: var(--font-narrow); font-size: 15px; font-weight: 700; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.opt__d { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.opt .mini { height: 92px; border-radius: var(--radius-sm); background: var(--surface-sunken); position: relative; overflow: hidden; }
.opt .mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6px; }

.summary-box {
  padding: var(--space-6); border-radius: var(--radius-lg);
  background: var(--surface-sunken); display: flex; flex-direction: column; gap: var(--space-4);
}
.summary-line { display: flex; justify-content: space-between; gap: var(--space-4); font-size: 15px; }
.summary-line dt { color: var(--ink-muted); margin: 0; }
.summary-line dd { margin: 0; font-weight: 600; text-align: right; font-family: var(--font-narrow); font-size: 17px; font-variant-numeric: tabular-nums; }
.notice {
  display: flex; gap: var(--space-3); padding: var(--space-4);
  border-radius: var(--radius-sm); background: var(--surface-sunken);
  font-size: 15px; line-height: 22px;
}
.notice--warn { border-left: 3px solid var(--danger); }
.notice__i { flex: none; font-weight: 700; color: var(--danger); }

/* ---------- Franja de cierre ---------- */
.cta-band { background: var(--surface-sunken); border-radius: var(--radius-lg); padding: var(--space-8); }
@media (min-width: 900px) { .cta-band { padding: var(--space-12); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface-sunken); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-8); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer-grid h2 { font-family: var(--font-narrow); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin: 0 0 var(--space-3); font-weight: 600; }
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); font-size: 15px; }
.footer-list a { color: var(--ink); text-decoration: none; }
.footer-list a:hover { text-decoration: underline; }
.footer-legal a { color: var(--ink); text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }
.footer-legal { margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-muted); display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-8); justify-content: space-between; }

/* ---------- WhatsApp ---------- */
.wa-ico { width: 20px; height: 20px; flex: none; display: block; }
.wa-float .wa-ico { width: 22px; height: 22px; }
.lp-btn--sm .wa-ico { width: 17px; height: 17px; }


.wa-float {
  position: fixed; z-index: 30;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: var(--space-2);
  min-height: 48px; padding: 0 var(--space-6);
  background: var(--ink); color: var(--surface);
  border-radius: var(--radius-pill); text-decoration: none;
  font-size: 15px; font-weight: 600; box-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.wa-float:hover { background: var(--action); color: var(--on-action); }
