/* =============================================================================
   SAFETY GELIT — opción B. Una sola hoja para todo el sitio.

   Sale del kit de marca: petróleo dominante, hueso de fondo, lima SOLO en
   botones y acentos (sobre blanco la lima pequeña no se lee), letra Inter.
   El adorno propio es el chaflán a 45° del monograma SG, repetido en botones
   y fotos, y la profundidad 3D (monograma en volumen, vitrina giratoria,
   tarjetas que se inclinan) que pidió el cliente.

   Dos temas: DÍA (claro) y NOCHE (oscuro). Todos los colores que cambian son
   variables semánticas (--bg, --surface, --text…): ningún componente usa un
   color fijo para su fondo o su texto, así cada pieza funciona en los dos.
   El tema se elige con el botón de la cabecera; sin elección, sigue al
   sistema del visitante.

   Móvil primero: todo se prueba a 320 px y con el texto al 130 %, por eso las
   rejillas usan minmax(0,1fr) y min-width:0.
   ============================================================================= */

:root {
  /* Marca: no cambian con el tema. */
  --navy: #102A36;
  --navy-2: #173847;
  --lime: #D6EF41;
  --lime-2: #C5DE2E;
  --bone: #F5F5F0;
  --graphite: #252B2E;
  --on-dark: #F5F5F0;
  --on-dark-muted: #B9C6CC;

  /* Tema DÍA */
  --bg: #F5F5F0;
  --surface: #FFFFFF;
  --surface-2: #F3F3EE;
  --text: #112532;
  --heading: #102A36;
  --muted: #4B5B63;            /* 6.6:1 sobre hueso: pasa AA */
  --line: rgba(16, 42, 54, .14);
  --line-strong: rgba(16, 42, 54, .28);
  --hdr-bg: rgba(255, 255, 255, .92);
  --btn: #102A36;
  --btn-fg: #F5F5F0;
  --btn-hover: #173847;
  --band: #102A36;             /* secciones oscuras */
  --ftr: #252B2E;
  --focus: #102A36;
  --hl-fg: #102A36;
  --hl-bg: #D6EF41;
  --shadow: 0 18px 40px -22px rgba(16, 42, 54, .55);
  --glow: transparent;
  --logo-dia: block;
  --logo-noche: none;
  --err: #9B2C2C;

  --cut: 14px;                 /* tamaño del chaflán del monograma */
  --hdr: 72px;
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

/* Tema NOCHE: por elección del visitante… */
:root[data-tema="noche"] {
  --bg: #08161D;
  --surface: #0F2631;
  --surface-2: #132F3C;
  --text: #E4EAE8;
  --heading: #F5F5F0;
  --muted: #A3B4BC;
  --line: rgba(245, 245, 240, .12);
  --line-strong: rgba(245, 245, 240, .26);
  --hdr-bg: rgba(8, 22, 29, .88);
  --btn: #F5F5F0;
  --btn-fg: #102A36;
  --btn-hover: #FFFFFF;
  --band: #0D2430;
  --ftr: #050E13;
  --focus: #D6EF41;
  --hl-fg: #D6EF41;
  --hl-bg: transparent;
  --shadow: 0 22px 50px -24px rgba(0, 0, 0, .9);
  --glow: rgba(214, 239, 65, .16);
  --logo-dia: none;
  --logo-noche: block;
  --err: #FF9C9C;
  color-scheme: dark;
}
/* …o, si no eligió, porque su sistema está en oscuro. */
@media (prefers-color-scheme: dark) {
  :root:not([data-tema="dia"]) {
    --bg: #08161D;
    --surface: #0F2631;
    --surface-2: #132F3C;
    --text: #E4EAE8;
    --heading: #F5F5F0;
    --muted: #A3B4BC;
    --line: rgba(245, 245, 240, .12);
    --line-strong: rgba(245, 245, 240, .26);
    --hdr-bg: rgba(8, 22, 29, .88);
    --btn: #F5F5F0;
    --btn-fg: #102A36;
    --btn-hover: #FFFFFF;
    --band: #0D2430;
    --ftr: #050E13;
    --focus: #D6EF41;
    --hl-fg: #D6EF41;
    --hl-bg: transparent;
    --shadow: 0 22px 50px -24px rgba(0, 0, 0, .9);
    --glow: rgba(214, 239, 65, .16);
    --logo-dia: none;
    --logo-noche: block;
    --err: #FF9C9C;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .35s, color .35s;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 800; overflow-wrap: anywhere; color: var(--heading); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible, .hero :focus-visible, .phead :focus-visible, .ftr :focus-visible, .vitrina :focus-visible { --focus: var(--lime); }
[hidden] { display: none !important; }
code { font-size: .9em; background: var(--surface-2); padding: 1px 5px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--lime); color: var(--navy); padding: 10px 16px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --------------------------------------------------------------- Rejilla */
.wrap { width: min(100% - 32px, 1240px); margin-inline: auto; }
@media (min-width: 768px) { .wrap { width: min(100% - 64px, 1240px); } }

.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.g12 > * { grid-column: 1 / -1; min-width: 0; }

.sec { padding: 72px 0; }
@media (min-width: 900px) { .sec { padding: 104px 0; } }
.sec-white { background: var(--surface); }
/* Secciones oscuras: oscuras en los dos temas, con texto hueso fijo. */
.dark { background: var(--band); color: var(--on-dark); }
.dark h1, .dark h2, .dark h3, .hero h1, .hero h2, .phead h1 { color: var(--on-dark); }
.dark .muted, .dark .lead { color: var(--on-dark-muted); }

/* --------------------------------------------------------------- Texto */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .75rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--lime); flex: none; }
.dark .eyebrow, .hero .eyebrow, .phead .eyebrow { color: var(--on-dark-muted); }

.display { font-size: clamp(2.35rem, 1.2rem + 5.2vw, 4.75rem); letter-spacing: -.04em; line-height: 1.02; }
.h2 { font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3rem); letter-spacing: -.035em; }
.h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.hl { color: var(--hl-fg); background: linear-gradient(transparent 62%, var(--hl-bg) 62%, var(--hl-bg) 92%, transparent 92%); padding: 0 .08em; }
.dark .hl { color: var(--lime); background: none; padding: 0; }

.head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 760px; }
.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.head-row .head { margin-bottom: 0; }

/* --------------------------------------------------------------- Botones */
.btn {
  --bg: var(--btn); --fg: var(--btn-fg);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px;
  background: var(--bg); color: var(--fg);
  border: 0; border-radius: 0; cursor: pointer;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  /* El chaflán del monograma: esquina superior derecha e inferior izquierda. */
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  transition: background-color .18s, transform .18s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-navy:hover { --bg: var(--btn-hover); }
.btn-lime { --bg: var(--lime); --fg: var(--navy); }
.btn-lime:hover { --bg: var(--lime-2); }
/* Sobre lima (franja final) el botón oscuro es petróleo en los dos temas. */
.cta .btn-navy { --bg: var(--navy); --fg: var(--bone); }
.cta .btn-navy:hover { --bg: var(--navy-2); }
.dark .btn-navy { --bg: var(--bone); --fg: var(--navy); }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: .9375rem; --cut: 10px; }
.btn-block { width: 100%; }
/* Botón de contorno: sin chaflán, porque el recorte se comería el borde. */
.btn-line {
  --bg: transparent; --fg: var(--heading);
  clip-path: none; box-shadow: inset 0 0 0 2px var(--line-strong);
}
.btn-line:hover { box-shadow: inset 0 0 0 2px var(--heading); }
.dark .btn-line, .hero .btn-line { --fg: var(--on-dark); box-shadow: inset 0 0 0 2px rgba(245, 245, 240, .38); }
.dark .btn-line:hover, .hero .btn-line:hover { box-shadow: inset 0 0 0 2px var(--on-dark); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .btns > .btn { flex: 1 1 100%; } }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; text-decoration: none; color: var(--heading);
  border-bottom: 2px solid var(--lime); padding-bottom: 2px;
}
.link svg { width: 18px; height: 18px; transition: transform .18s; }
.link:hover svg { transform: translateX(3px); }
.dark .link { color: var(--on-dark); }

/* --------------------------------------------------------------- Cabecera */
.hdr {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--hdr-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr-in { display: flex; align-items: center; gap: 12px; height: var(--hdr); }
.logo { display: block; flex: none; line-height: 0; }
.logo img { height: 34px; width: auto; }
.logo .logo-dia { display: var(--logo-dia); }
.logo .logo-noche { display: var(--logo-noche); }
@media (max-width: 379px) { .hdr .logo img { height: 25px; } }
.nav { display: none; }
.hdr-act { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.cot {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 12px; text-decoration: none; font-weight: 700; font-size: .9375rem;
  background: var(--lime); color: var(--navy);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.cot svg { width: 20px; height: 20px; }
.cot b {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  display: inline-grid; place-items: center; background: var(--navy); color: var(--lime); font-size: .75rem;
}
.cot b[data-n="0"] { background: rgba(16, 42, 54, .16); color: var(--navy); }
.cot.bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.08); } }
@media (max-width: 599px) { .cot .txt { display: none; } }
@media (max-width: 379px) { .cot { padding: 8px 9px; } .cot svg { display: none; } }
.menu-btn, .tema {
  width: 44px; height: 44px; display: inline-grid; place-items: center; flex: none;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 8px; cursor: pointer; color: var(--heading);
}
.menu-btn svg { width: 22px; height: 22px; }

/* Botón día/noche: un sol y una luna que se cruzan girando. */
.tema { position: relative; overflow: hidden; }
.tema svg { position: absolute; top: 50%; left: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; transition: transform .45s cubic-bezier(.5, -.4, .3, 1.4), opacity .3s; }
.tema .sol { transform: rotate(0); opacity: 1; }
.tema .luna { transform: rotate(-120deg) scale(.4); opacity: 0; }
:root[data-tema="noche"] .tema .sol { transform: rotate(120deg) scale(.4); opacity: 0; }
:root[data-tema="noche"] .tema .luna { transform: none; opacity: 1; color: var(--lime); }
@media (prefers-color-scheme: dark) {
  :root:not([data-tema="dia"]) .tema .sol { transform: rotate(120deg) scale(.4); opacity: 0; }
  :root:not([data-tema="dia"]) .tema .luna { transform: none; opacity: 1; color: var(--lime); }
}

/* Menú móvil: panel bajo la cabecera, a pantalla completa. */
.nav.open {
  display: flex; flex-direction: column;
  position: fixed; inset: var(--hdr) 0 0 0; z-index: 49;
  background: var(--surface); padding: 12px 16px 32px; overflow-y: auto;
}
.nav a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 18px 4px; border-bottom: 1px solid var(--line); color: var(--heading);
  font-size: 1.25rem; font-weight: 700; text-decoration: none; letter-spacing: -.01em;
}
.nav a small { font-size: .8125rem; font-weight: 500; color: var(--muted); letter-spacing: 0; text-align: right; }
.nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--lime); padding-left: 16px; }
@media (min-width: 1000px) {
  .menu-btn { display: none; }
  .nav, .nav.open {
    display: flex; flex-direction: row; position: static; padding: 0; background: none; overflow: visible;
    gap: 4px; margin-left: 24px;
  }
  .nav a { padding: 10px 12px; border: 0; font-size: .9375rem; font-weight: 600; color: var(--muted); position: relative; }
  .nav a small { display: none; }
  .nav a:hover { color: var(--heading); }
  .nav a[aria-current="page"] { color: var(--heading); box-shadow: none; padding-left: 12px; }
  .nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; background: var(--lime); }
}

/* --------------------------------------------------------------- Portada */
.hero { background: var(--band); color: var(--on-dark); position: relative; overflow: hidden; }
.hero::before {
  /* Resplandor lima detrás de la foto: solo se nota de noche. */
  content: ""; position: absolute; right: 4%; top: 12%; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow), transparent); pointer-events: none;
}
.hero::after {
  /* La franja diagonal lima de las piezas de marca (caja, tarjeta). */
  content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px;
  background: var(--lime); transform: rotate(45deg); opacity: .07; pointer-events: none;
}
.hero-in { padding: 48px 0 64px; align-items: center; row-gap: 48px; position: relative; z-index: 1; }
.hero h1 { margin: 18px 0 20px; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .lead { color: var(--on-dark-muted); margin-bottom: 30px; }
.hero-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  margin-top: 40px; background: rgba(245, 245, 240, .14); border: 1px solid rgba(245, 245, 240, .14);
}
.hero-facts div { background: var(--band); padding: 16px 14px; min-width: 0; }
.hero-facts b { display: block; font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem); letter-spacing: -.03em; color: var(--on-dark); line-height: 1.1; }
.hero-facts span { display: block; margin-top: 4px; font-size: .8125rem; color: var(--on-dark-muted); line-height: 1.35; }
@media (max-width: 419px) {
  .hero-facts { grid-template-columns: minmax(0, 1fr); }
  .hero-facts div { display: flex; align-items: baseline; gap: 12px; }
}
@media (min-width: 900px) {
  .hero-in { padding: 72px 0 96px; }
  .hero-txt { grid-column: 1 / span 7; }
  .hero-media { grid-column: 8 / span 5; }
}

/* Escenario 3D de la portada: la foto se inclina con el puntero y el
   monograma flota delante, a otra profundidad. JS escribe --rx y --ry. */
.stage { position: relative; perspective: 1100px; }
.stage-in {
  position: relative; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.stage.moviendo .stage-in { transition: transform .08s linear; }
.stage .sg3d { position: absolute; z-index: 3; left: -28px; top: -34px; width: 140px; transform: translateZ(90px); }
@media (max-width: 899px) { .stage .sg3d { left: -4px; top: -26px; width: 100px; } }

/* Día / noche: la misma foto real, y encima una simulación nocturna que deja
   ver solo la cinta. El control es un input range de verdad (teclado y
   lector de pantalla) puesto encima de la imagen. */
.compare {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; margin: 0;
  background: #0b1d26;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .noche { clip-path: inset(0 0 0 var(--pos, 50%)); }
.compare.anim .noche { transition: clip-path 1s cubic-bezier(.6, 0, .2, 1); }
.compare.anim .compare-line { transition: left 1s cubic-bezier(.6, 0, .2, 1); }
.compare-line {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1.5px;
  background: var(--lime); pointer-events: none; box-shadow: 0 0 18px rgba(214, 239, 65, .6);
}
.compare-line::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23102A36' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 24px no-repeat;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.compare input {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none;
}
.compare input:focus-visible ~ .compare-line { box-shadow: 0 0 0 3px var(--bone); }
.compare-tag {
  position: absolute; top: 14px; padding: 6px 10px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(16, 42, 54, .82); color: var(--on-dark); pointer-events: none;
}
.compare-tag.dia { left: 14px; top: auto; bottom: 14px; }   /* arriba a la izquierda flota el monograma */
.compare-tag.noc { right: 42px; background: var(--lime); color: var(--navy); }
.compare-cap { margin-top: 14px; font-size: .8125rem; color: var(--on-dark-muted); line-height: 1.45; }
.compare-cap b { color: var(--on-dark); }

/* Monograma SG en volumen: capas apiladas en Z, la de adelante a color y
   las de atrás más oscuras, como un bloque extruido. Lo arma sitio.js. */
.sg3d { display: block; position: relative; aspect-ratio: 236 / 150; transform-style: preserve-3d; pointer-events: none; }
.sg3d-in { position: absolute; inset: 0; transform-style: preserve-3d; animation: flotar 7s ease-in-out infinite; }
.sg3d svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
:root[data-tema="noche"] .sg3d .frente { filter: drop-shadow(0 0 14px rgba(214, 239, 65, .45)); }
@media (prefers-color-scheme: dark) { :root:not([data-tema="dia"]) .sg3d .frente { filter: drop-shadow(0 0 14px rgba(214, 239, 65, .45)); } }
@keyframes flotar { 0%, 100% { transform: rotateX(10deg) rotateY(-24deg) translateY(0); } 50% { transform: rotateX(-6deg) rotateY(20deg) translateY(-8px); } }

/* --------------------------------------------------------------- Valores */
.vals { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 0; border-top: 1px solid var(--line); }
.val { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); min-width: 0; }
@media (min-width: 560px) { .val { padding-right: 28px; } }
.val .ic {
  width: 52px; height: 52px; margin-bottom: 16px; display: grid; place-items: center;
  background: var(--lime); clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.val .ic img { width: 32px; height: 32px; }
.val h3 { font-size: 1.125rem; margin-bottom: 6px; }
.val p { color: var(--muted); font-size: .9375rem; }

/* --------------------------------------------------------------- Inclinación 3D
   Tarjetas que se inclinan hacia el puntero (solo con ratón: en táctil no
   hay «pasar por encima» y el giro estorbaría al desplazarse). */
.tilt { transform-style: preserve-3d; transition: transform .45s cubic-bezier(.2, .7, .2, 1), border-color .18s, box-shadow .25s; }
.tilt.inclinada { transition: transform .06s linear, border-color .18s, box-shadow .25s; }
.tilt .ph, .tilt .bd > h3 { transition: transform .3s; }
.tilt.inclinada .ph { transform: translateZ(24px); }
.tilt.inclinada .bd > h3 { transform: translateZ(30px); }

/* --------------------------------------------------------------- Líneas */
.lines { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); perspective: 1200px; }
@media (min-width: 760px) { .lines { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.line-card {
  display: flex; flex-direction: column; background: var(--surface); text-decoration: none; min-width: 0;
  border: 1px solid var(--line);
}
.line-card:hover { border-color: var(--heading); box-shadow: var(--shadow); }
.line-card .ph { aspect-ratio: 16 / 10; overflow: hidden; background: #F3F3EE; position: relative; }
.line-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.line-card .bd { padding: 22px 22px 24px; display: grid; gap: 10px; flex: 1; align-content: start; }
.line-card h3 { font-size: 1.375rem; }
.line-card p { color: var(--muted); font-size: .9375rem; }
.line-card .ft { margin-top: auto; padding: 16px 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; font-size: .9375rem; color: var(--heading); }
.line-card .ft svg { width: 20px; height: 20px; }

.tag {
  display: inline-flex; align-items: center; gap: 6px; width: fit-content;
  padding: 4px 10px; font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: var(--surface-2); color: var(--heading); border: 1px solid var(--line);
}
.tag-lime { background: var(--lime); border-color: var(--lime); color: var(--navy); }
.tag-navy { background: var(--btn); color: var(--btn-fg); border-color: var(--btn); }
.ph .tag { position: absolute; left: 12px; top: 12px; background: #fff; color: var(--navy); border-color: rgba(16, 42, 54, .14); }
.ph .tag-lime { background: var(--lime); border-color: var(--lime); }

/* --------------------------------------------------------------- Productos */
.grid-p { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); perspective: 1400px; }
@media (max-width: 559px) { .grid-p { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 359px) { .grid-p { grid-template-columns: minmax(0, 1fr); } }
.pc {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); text-align: left; padding: 0; cursor: pointer;
  text-decoration: none;
}
.pc:hover { border-color: var(--heading); box-shadow: var(--shadow); }
/* Las fotos de producto traen su propio fondo claro: se dejan así en los dos
   temas, como fotos de estudio sobre la ficha oscura. */
.pc .ph { position: relative; aspect-ratio: 1; background: #F3F3EE; overflow: hidden; }
.pc .ph img { width: 100%; height: 100%; object-fit: contain; }
.pc .ph::after {
  /* Esquina lima que aparece al pasar: el mismo corte del monograma. */
  content: ""; position: absolute; top: 0; right: 0; width: 0; height: 0;
  border-style: solid; border-width: 0; border-color: transparent var(--lime) transparent transparent;
  transition: border-width .2s;
}
.pc:hover .ph::after { border-width: 0 28px 28px 0; }
.pc .bd { padding: 14px 16px 18px; display: grid; gap: 6px; flex: 1; align-content: start; }
.pc .ln { font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pc h3 { font-size: 1rem; line-height: 1.3; letter-spacing: -.01em; font-weight: 700; }
.pc p { font-size: .875rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc .more { margin-top: 8px; font-size: .875rem; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; color: var(--heading); }
.pc .more svg { width: 16px; height: 16px; }
@media (max-width: 559px) {
  .pc .bd { padding: 12px 12px 14px; }
  .pc p { display: none; }
  .pc h3 { font-size: .9375rem; }
}

/* --------------------------------------------------------------- Vitrina 3D
   Anillo de productos que gira en el espacio. Cada tarjeta se coloca con
   rotateY(ángulo) translateZ(radio); el radio lo calcula paginas.js según el
   ancho, para que en un móvil de 320 px no se salga de la pantalla. */
.vitrina { background: var(--band); color: var(--on-dark); position: relative; overflow: hidden; }
.vitrina::before {
  content: ""; position: absolute; left: 50%; top: 52%; width: 900px; max-width: 160%; height: 300px; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(214, 239, 65, .13), transparent); pointer-events: none;
}
.vitrina .head { margin-inline: auto; text-align: center; justify-items: center; }
.ring-stage {
  position: relative; height: var(--ring-h, 420px); perspective: 1000px; perspective-origin: 50% 30%;
  touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none;
}
.ring-stage.arrastrando { cursor: grabbing; }
.ring {
  position: absolute; left: 50%; top: 16px; width: var(--card-w, 220px); height: calc(var(--card-w, 220px) * 1.32);
  margin-left: calc(var(--card-w, 220px) / -2);
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--radio, 500px) * -1)) rotateX(-6deg) rotateY(var(--giro, 0deg));
}
.ring-item {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  background: #fff; color: var(--navy); text-decoration: none; border: 0; padding: 0; cursor: pointer;
  transform: rotateY(var(--a)) translateZ(var(--radio, 500px));
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  -webkit-box-reflect: below 8px linear-gradient(transparent 72%, rgba(255, 255, 255, .16));
}
.ring-item img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #F3F3EE; pointer-events: none; }
.ring-item span { padding: 10px 12px; font-size: .8125rem; font-weight: 700; line-height: 1.25; text-align: left; flex: 1; }
.ring-item.frente span { background: var(--lime); }
.ring-ui { position: relative; display: grid; gap: 16px; justify-items: center; text-align: center; }
.ring-ui h3 { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); color: var(--on-dark); min-height: 2.3em; display: grid; place-items: center; max-width: 30ch; }
.ring-ctl { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.ring-btn {
  width: 50px; height: 50px; display: grid; place-items: center; cursor: pointer;
  background: transparent; color: var(--on-dark); border: 2px solid rgba(245, 245, 240, .38);
}
.ring-btn:hover { border-color: var(--on-dark); }
.ring-btn svg { width: 22px; height: 22px; }
.ring-btn.izq svg { transform: scaleX(-1); }
.ring-hint { font-size: .8125rem; color: var(--on-dark-muted); }

/* Barra del catálogo */
.tools { display: grid; gap: 14px; margin-bottom: 28px; }
@media (min-width: 900px) { .tools { grid-template-columns: minmax(0, 1fr) 320px; align-items: center; } }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; min-height: 44px; padding: 8px 16px; cursor: pointer; color: var(--heading);
  background: var(--surface); border: 1px solid var(--line-strong); font-weight: 600; font-size: .9375rem; white-space: nowrap;
}
.tab span { color: var(--muted); font-weight: 500; margin-left: 4px; }
.tab[aria-pressed="true"] { background: var(--btn); color: var(--btn-fg); border-color: var(--btn); }
.tab[aria-pressed="true"] span { color: inherit; opacity: .75; }
.search { position: relative; }
.search svg { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--muted); pointer-events: none; }
.search input { padding-left: 44px; }
.count { font-size: .875rem; color: var(--muted); margin-bottom: 16px; }
.empty { padding: 48px 20px; text-align: center; background: var(--surface); border: 1px dashed var(--line-strong); }
.empty h3 { margin-bottom: 8px; }

/* --------------------------------------------------------------- Formularios */
.input, .select {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background-color: var(--surface); border: 1px solid var(--line-strong); border-radius: 0;
  font-size: 1rem; color: var(--text);
}
.input::placeholder { color: var(--muted); opacity: .8; }
textarea.input { min-height: 120px; resize: vertical; line-height: 1.5; }
.input:focus, .select:focus { outline: none; border-color: var(--heading); box-shadow: 0 0 0 3px rgba(214, 239, 65, .7); }
.select {
  -webkit-appearance: none; appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237F949C' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 12px center; background-size: 20px; background-repeat: no-repeat;
}
.form { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .form.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field .lbl { font-size: .875rem; font-weight: 600; color: var(--heading); }
.field small { color: var(--muted); font-size: .8125rem; font-weight: 400; }
.req { color: var(--err); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; }
.opt span {
  display: grid; gap: 2px; min-height: 44px; padding: 10px 14px; cursor: pointer; color: var(--heading);
  background: var(--surface); border: 1px solid var(--line-strong); font-weight: 600; font-size: .9375rem;
}
.opt span small { font-weight: 400; color: var(--muted); }
.opt input:checked + span { background: var(--btn); color: var(--btn-fg); border-color: var(--btn); }
.opt input:checked + span small { color: inherit; opacity: .75; }
.opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.note { padding: 14px 16px; background: var(--surface); border-left: 4px solid var(--lime); font-size: .9375rem; color: var(--muted); }
.note b { color: var(--heading); }

/* --------------------------------------------------------------- Ficha (diálogo) */
.ficha {
  width: min(100% - 16px, 1120px); max-height: calc(100dvh - 16px); max-width: none;
  padding: 0; border: 0; background: var(--bg); color: var(--text);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5);
}
.ficha::backdrop { background: rgba(5, 14, 19, .76); }
.ficha[open] { animation: subir .35s cubic-bezier(.2, .7, .2, 1); }
@keyframes subir { from { opacity: 0; transform: perspective(900px) rotateX(10deg) translateY(28px); } }
.ficha-x {
  position: sticky; top: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 12px 10px 20px; background: var(--surface); border-bottom: 1px solid var(--line);
}
.ficha-x span { font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.x { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 1px solid var(--line-strong); cursor: pointer; flex: none; color: var(--heading); }
.x svg { width: 22px; height: 22px; }
.ficha-in { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 880px) { .ficha-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.gal { background: var(--surface-2); padding: 16px; display: grid; gap: 12px; align-content: start; }
@media (min-width: 880px) { .gal { position: sticky; top: 65px; align-self: start; padding: 24px; } }
/* Visor 3D de la foto: al mover el ratón encima la foto gira y se acerca. */
.gal-main { aspect-ratio: 1; background: #F3F3EE; border: 1px solid var(--line); perspective: 900px; overflow: hidden; }
.gal-main img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s cubic-bezier(.2, .7, .2, 1); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--zm, 1)); }
.gal-main.moviendo img { transition: transform .08s linear; }
.gal-hint { font-size: .75rem; color: var(--muted); }
@media (hover: none) { .gal-hint { display: none; } }
.gal-th { display: flex; gap: 8px; }
.gal-th button { width: 72px; height: 72px; padding: 0; background: #F3F3EE; border: 1px solid var(--line); cursor: pointer; }
.gal-th button[aria-pressed="true"] { border: 2px solid var(--heading); }
.gal-th img { width: 100%; height: 100%; object-fit: contain; }
.info { padding: 22px 18px 28px; display: grid; gap: 22px; align-content: start; min-width: 0; }
@media (min-width: 880px) { .info { padding: 32px 36px 40px; } }
.info h2 { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.125rem); letter-spacing: -.03em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ticks { list-style: none; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; background: var(--heading);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.dark .ticks li::before { background: var(--lime); }
.blk { display: grid; gap: 10px; }
.blk > h3 { font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.specs { width: 100%; border-collapse: collapse; font-size: .9375rem; background: var(--surface); }
.specs th, .specs td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 42%; font-weight: 600; color: var(--muted); }
.tallas { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.tallas label { display: grid; gap: 4px; text-align: center; font-size: .8125rem; font-weight: 700; color: var(--heading); }
.tallas input { min-height: 46px; padding: 8px 4px; text-align: center; width: 100%; min-width: 0; }
@media (max-width: 379px) { .tallas { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line-strong); background: var(--surface); justify-self: start; }
.qty button { width: 46px; min-height: 46px; background: none; border: 0; cursor: pointer; display: grid; place-items: center; color: var(--heading); }
.qty button svg { width: 18px; height: 18px; }
.qty input { width: 64px; border: 0; border-inline: 1px solid var(--line); text-align: center; font-weight: 700; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.sm button { width: 38px; min-height: 38px; }
.qty.sm input { width: 48px; }
.ideal { display: flex; flex-wrap: wrap; gap: 6px; }
.err { color: var(--err); font-size: .875rem; font-weight: 600; }
.wa-alt { font-size: .9375rem; color: var(--muted); }
.wa-alt a { color: var(--heading); font-weight: 700; }

/* Tabla comparativa (carretillas) */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--surface); }
.cmp { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .9375rem; }
.cmp th, .cmp td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { background: var(--navy); color: var(--on-dark); font-size: .875rem; }
.cmp tbody th { font-weight: 600; color: var(--muted); width: 26%; }
.cmp td.na { color: var(--muted); font-style: italic; }

/* --------------------------------------------------------------- Pasos */
.steps { list-style: none; display: grid; gap: 1px; background: rgba(245, 245, 240, .14); grid-template-columns: minmax(0, 1fr); border: 1px solid rgba(245, 245, 240, .14); counter-reset: paso; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps li { background: var(--band); padding: 28px 24px 32px; counter-increment: paso; min-width: 0; }
.steps li::before { content: "0" counter(paso); display: block; font-size: 2.75rem; font-weight: 800; letter-spacing: -.04em; color: var(--lime); line-height: 1; margin-bottom: 18px; }
.steps h3 { font-size: 1.125rem; margin-bottom: 8px; }
.steps p { color: var(--on-dark-muted); font-size: .9375rem; }

/* --------------------------------------------------------------- Bloques varios */
.split { display: grid; gap: 40px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } .split.rev > :first-child { order: 2; } }
.photo { position: relative; margin: 0; }
.photo img { width: 100%; clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px)); }
.photo figcaption { margin-top: 10px; font-size: .8125rem; color: var(--muted); }
.marca-box {
  position: relative; background: var(--navy); padding: 14% 12%; display: grid; place-items: center; perspective: 900px; overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}
.marca-box::before { content: ""; position: absolute; inset: 0; background: radial-gradient(closest-side, rgba(214, 239, 65, .12), transparent); }
.marca-box .sg3d { width: min(100%, 340px); }

.rubros { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); }
@media (min-width: 900px) { .rubros { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.rubro {
  padding: 18px; background: var(--surface); border: 1px solid var(--line); cursor: pointer; text-align: left; min-width: 0;
  display: grid; gap: 4px; color: var(--heading);
}
.rubro b { font-size: 1.0625rem; letter-spacing: -.01em; }
.rubro span { font-size: .875rem; color: var(--muted); }
.rubro[aria-pressed="true"] { background: var(--btn); color: var(--btn-fg); border-color: var(--btn); }
.rubro[aria-pressed="true"] span { color: inherit; opacity: .75; }

.sol { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); perspective: 1200px; }
@media (min-width: 900px) { .sol { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sol-card { background: var(--surface); border: 1px solid var(--line); padding: 28px 24px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.sol-card:hover { box-shadow: var(--shadow); }
.sol-card .ic {
  width: 56px; height: 56px; display: grid; place-items: center; background: var(--lime);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.sol-card .ic img { width: 34px; height: 34px; }
.sol-card h3 { font-size: 1.375rem; }
.sol-card p { color: var(--muted); }
.sol-card .btns { margin-top: 6px; }

.duo { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); perspective: 1200px; }
@media (min-width: 860px) { .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.panel { padding: 32px 26px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; min-width: 0; }
.panel.dark { background: var(--navy); color: var(--on-dark); border-color: var(--navy); }
.panel h3 { font-size: 1.5rem; }

.swatches { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.sw { border: 1px solid var(--line); background: var(--surface); min-width: 0; }
.sw i { display: block; height: 84px; border-bottom: 1px solid var(--line); }
.sw div { padding: 12px 14px; font-size: .8125rem; color: var(--muted); }
.sw b { display: block; font-size: .9375rem; color: var(--heading); }

/* Página interior: cabecera de sección */
.phead { background: var(--band); color: var(--on-dark); padding: 44px 0 52px; position: relative; overflow: hidden; }
.phead::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; background: var(--lime); transform: rotate(45deg); opacity: .08; }
.phead h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.5rem); letter-spacing: -.04em; margin: 14px 0 14px; max-width: 18ch; }
.phead h1 em { font-style: normal; color: var(--lime); }
.phead .lead { color: var(--on-dark-muted); }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: .8125rem; color: var(--on-dark-muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Cotización */
.cot-lay { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1000px) { .cot-lay { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; } }
.qlist { list-style: none; display: grid; gap: 10px; }
.qi { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 12px; background: var(--surface); border: 1px solid var(--line); }
.qi img { width: 72px; height: 72px; object-fit: contain; background: #F3F3EE; }
.qi h3 { font-size: .9375rem; line-height: 1.3; font-weight: 700; letter-spacing: -.005em; }
.qi .det { font-size: .8125rem; color: var(--muted); margin-top: 4px; }
.qi .ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.qi .tl { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.qi .tl label { display: grid; gap: 2px; font-size: .6875rem; font-weight: 700; text-align: center; color: var(--heading); }
.qi .tl input { width: 52px; min-height: 38px; padding: 4px; text-align: center; }
.rm { width: 38px; height: 38px; display: grid; place-items: center; background: none; border: 1px solid var(--line); cursor: pointer; color: var(--muted); }
.rm svg { width: 18px; height: 18px; }
.rm:hover { color: var(--err); border-color: var(--err); }
@media (max-width: 399px) { .qi { grid-template-columns: 56px minmax(0, 1fr); } .qi img { width: 56px; height: 56px; } .qi .rm { grid-column: 2; justify-self: start; } }
.sum { display: flex; justify-content: space-between; gap: 12px; padding: 14px 4px; font-weight: 700; border-top: 2px solid var(--heading); margin-top: 6px; flex-wrap: wrap; color: var(--heading); }
.box { background: var(--surface); border: 1px solid var(--line); padding: 24px 20px; }
@media (min-width: 640px) { .box { padding: 32px 30px; } }
.box > h2 { font-size: 1.5rem; margin-bottom: 6px; }
.box > p.muted { margin-bottom: 20px; }
@media (min-width: 1000px) { .sticky { position: sticky; top: calc(var(--hdr) + 20px); } }

.canales { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.canal { padding: 22px; background: var(--bg); border: 1px solid var(--line); display: grid; gap: 6px; text-decoration: none; min-width: 0; }
.canal svg { width: 28px; height: 28px; color: var(--heading); margin-bottom: 6px; }
.canal b { font-size: 1.0625rem; overflow-wrap: anywhere; color: var(--heading); }
.canal span { color: var(--muted); font-size: .9375rem; }
a.canal:hover { border-color: var(--heading); }

.faq { display: grid; gap: 8px; max-width: 880px; }
.faq details { background: var(--surface); border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; font-weight: 700; position: relative; color: var(--heading); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { padding: 0 20px 20px; color: var(--muted); }

.legal { max-width: 820px; display: grid; gap: 14px; }
.legal h2 { font-size: 1.75rem; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal h2:first-child { margin-top: 0; padding-top: 0; border: 0; }
.legal h3 { font-size: 1.0625rem; margin-top: 10px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }

/* --------------------------------------------------------------- Llamada final */
.cta { background: var(--lime); color: var(--navy); padding: 56px 0; }
.cta h2 { color: var(--navy); font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); letter-spacing: -.035em; margin-bottom: 8px; }
.cta-in { display: grid; gap: 24px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .cta-in { grid-template-columns: minmax(0, 1fr) auto; } }
.cta p { max-width: 58ch; }
.cta .btn-line { --fg: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }

/* --------------------------------------------------------------- Pie */
.ftr { background: var(--ftr); color: var(--on-dark-muted); padding: 64px 0 28px; font-size: .9375rem; }
.ftr-grid { display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .ftr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .ftr-grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); } }
.ftr .logo img { height: 40px; margin-bottom: 18px; }
.ftr h3 { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 14px; }
.ftr ul { list-style: none; display: grid; gap: 10px; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: var(--on-dark); text-decoration: underline; }
.ftr p + p { margin-top: 12px; }
.reclamos { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 14px; border: 1px solid rgba(245, 245, 240, .25); color: var(--on-dark); }
.reclamos svg { width: 22px; height: 22px; }
.ftr-bot { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(245, 245, 240, .14); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .8125rem; }
.ftr-bot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* --------------------------------------------------------------- Flotantes */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 58px; height: 58px; display: grid; place-items: center;
  background: var(--btn); color: var(--lime);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
:root[data-tema="noche"] .wa-float { background: var(--lime); color: var(--navy); }
@media (prefers-color-scheme: dark) { :root:not([data-tema="dia"]) .wa-float { background: var(--lime); color: var(--navy); } }
.wa-float svg { width: 30px; height: 30px; }
.toast {
  position: fixed; left: 50%; bottom: 20px; z-index: 60; transform: translate(-50%, 140%);
  width: min(100% - 24px, 440px); display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 10px 12px; background: var(--navy); color: var(--on-dark); box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
  transition: transform .3s ease;
}
.toast.show { transform: translate(-50%, 0); }
.toast img { width: 48px; height: 48px; object-fit: contain; background: var(--bone); }
.toast b { display: block; font-size: .9375rem; }
.toast small { display: block; color: var(--on-dark-muted); font-size: .8125rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast a { color: var(--lime); font-weight: 700; font-size: .875rem; white-space: nowrap; }

/* --------------------------------------------------------------- Movimiento */
/* Solo se desliza: nunca arranca invisible, porque una captura (miniatura,
   enlace compartido) o un lector rápido verían huecos en blanco. */
.reveal { transform: translateY(14px); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.reveal.vis { transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { transform: none; }
}
@media print {
  .hdr, .ftr, .wa-float, .cta, .toast { display: none !important; }
  body { background: #fff; }
}
