/* ============================================================================
   ¡Lo construiste! — estilos de la web del Kit «Así se construye»
   La paleta sale de los propios vídeos: cielo azul, casco amarillo, chaleco
   naranja, tierra por capas y asfalto. Las secciones «plano» van en azul de
   plano con su cuadrícula, y la cinta amarilla y negra separa como en obra.
   Móvil primero: el tráfico viene de Instagram.

   Los nombres de las variables vienen de la plantilla de ARC365 (tema oscuro)
   y gracias.css los usa tal cual: --crema es el TEXTO principal y --rojo el
   color de acción, aunque aquí sean un casi negro y el naranja del chaleco.
   ========================================================================== */

/* Fuentes alojadas en el propio dominio (no en Google): misma tipografía, sin
   ceder la IP de cada visitante a un tercero. El unicode-range hace que el
   navegador solo baje el subconjunto latin-ext si de verdad lo necesita. */
@font-face { font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/fonts/barlow-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/fonts/barlow-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --fondo: #EEF7FD;          /* cielo muy claro */
  --fondo-2: #FFFFFF;        /* tarjetas */
  --fondo-3: #F2F5F8;        /* campos, botón desactivado */
  --linea: rgba(22, 32, 42, .12);
  --linea-2: rgba(22, 32, 42, .22);
  --crema: #16202A;          /* texto principal */
  --crema-2: #46535F;        /* texto secundario */
  --gris: #66727E;           /* notas */
  --rojo: #E8590C;           /* naranja chaleco: acción */
  --rojo-2: #C44A08;
  --amarillo: #FFC72C;       /* casco */
  --asfalto: #1E2226;
  --tierra: #7A3E1D;
  --cielo: #8FCBEF;
  --plano: #0F2C47;          /* azul de plano */
  --plano-linea: rgba(160, 205, 240, .14);

  --titular: 'Barlow Semi Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --texto: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --ancho: 1120px;
  --lateral: 16px;
  --radio: 14px;
}
@media (min-width: 600px) { :root { --lateral: clamp(20px, 5vw, 40px); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--fondo); color: var(--crema);
  font-family: var(--texto); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
/* `hidden` tiene que ganar SIEMPRE: cualquier regla con display lo anularía. */
[hidden] { display: none !important; }
a { color: inherit; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--rojo); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.contenedor { max-width: var(--ancho); margin: 0 auto; padding-inline: var(--lateral); }
.contenedor--estrecho { max-width: 840px; }

/* ── Titulares: letra de cartel de obra ─────────────────────────────────────
   line-height con respiro arriba: por debajo se cortan las tildes de Á, Ó. */
.titular, h1, h2 {
  font-family: var(--titular); font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em;
  line-height: 1.05; padding-top: .08em; margin: 0; overflow: visible;
}
h1 { font-size: clamp(2.5rem, 10vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 7vw, 3rem); margin-bottom: .45em; }
h3 { font-family: var(--titular); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: 1.3rem; line-height: 1.2; margin: 0 0 .35em; }
.rojo { color: var(--rojo); }
.titular-medio { font-size: clamp(1.7rem, 6vw, 2.4rem); }

.antetitulo {
  display: inline-block; font-family: var(--titular); font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; font-size: .82rem; color: var(--asfalto); margin: 0 0 1rem;
  background: var(--amarillo); padding: .3em .8em .25em; border-radius: 4px;
}
.entradilla { max-width: 60ch; color: var(--crema-2); font-size: 1.08rem; margin-bottom: clamp(28px, 5vw, 44px); }

/* Subrayado de rotulador amarillo bajo la segunda frase del titular. */
.subrayado { background: linear-gradient(transparent 62%, var(--amarillo) 62%, var(--amarillo) 92%, transparent 92%); padding-inline: .05em; }

/* ── Cabecera ─────────────────────────────────────────────────────────────── */
.cabecera { position: sticky; top: 0; z-index: 40; background: rgba(238, 247, 253, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--linea); }
.cabecera .contenedor { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logotipo {
  display: inline-flex; align-items: center; gap: .5em; text-decoration: none; color: var(--crema);
  font-family: var(--titular); font-weight: 600; font-size: 1.35rem; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap;
}
/* El casco amarillo de Paco, en CSS: media cúpula + visera. */
.logotipo__casco { position: relative; width: 26px; height: 15px; background: var(--amarillo); border-radius: 13px 13px 2px 2px; box-shadow: inset -3px -2px 0 rgba(0,0,0,.12); flex: none; }
.logotipo__casco::after { content: ''; position: absolute; left: -4px; right: -4px; bottom: -3px; height: 4px; background: #E6AE12; border-radius: 2px; }
.cabecera__nav { display: none; gap: 26px; font-size: .95rem; }
.cabecera__nav a { text-decoration: none; color: var(--crema-2); }
.cabecera__nav a:hover { color: var(--crema); }
@media (min-width: 860px) { .cabecera__nav { display: flex; } }

/* ── Botones ──────────────────────────────────────────────────────────────── */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 56px; padding: .8em 1.5em; border: 0; border-radius: 12px; cursor: pointer;
  background: var(--rojo); color: #fff; text-decoration: none;
  font-family: var(--titular); font-weight: 600; font-size: 1.22rem; letter-spacing: .03em; text-transform: uppercase;
  box-shadow: 0 5px 0 var(--rojo-2), 0 14px 28px -12px rgba(232, 89, 12, .7);
  transition: background .15s ease, transform .1s ease, box-shadow .1s ease;
}
.boton:hover { background: #F06A1E; }
.boton:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--rojo-2); }
.boton[disabled] { background: var(--fondo-3); color: var(--gris); box-shadow: none; cursor: not-allowed; }
.boton--ancho { width: 100%; }
.boton--pequeno { min-height: 42px; padding: .45em 1em; font-size: 1rem; box-shadow: 0 3px 0 var(--rojo-2); }
.boton--claro { background: #fff; color: var(--crema); box-shadow: 0 5px 0 rgba(22,32,42,.18); border: 1.5px solid var(--linea-2); }
.boton--claro:hover { background: #fff; border-color: var(--crema); }
.boton--claro:active { box-shadow: 0 2px 0 rgba(22,32,42,.18); }

/* ── Hero: cielo arriba, la tierra por capas abajo (como los dioramas) ─────── */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(32px, 6vw, 80px) clamp(56px, 8vw, 96px);
  background: linear-gradient(180deg, var(--cielo) 0%, #CDE9FA 46%, var(--fondo) 100%);
}
.hero::after { /* franja de hierba y tierra al pie */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 22px;
  background: linear-gradient(180deg, #7CC24A 0 6px, #9A5527 6px 14px, var(--tierra) 14px);
}
.hero__grid { display: grid; gap: clamp(32px, 6vw, 64px); align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.2fr .8fr; } }
.hero__sub { font-size: clamp(1.08rem, 3.4vw, 1.25rem); color: var(--crema-2); max-width: 40ch; margin: 1.1rem 0 1.2rem; }
.hero__sub b { color: var(--crema); }
.hero__sub a { color: var(--crema); font-weight: 600; }
.hero__puntos { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .45em; }
.hero__puntos li { padding-left: 1.8em; position: relative; font-weight: 500; }
.hero__puntos li::before { content: '✓'; position: absolute; left: 0; top: .2em; width: 1.25em; height: 1.25em; display: grid; place-items: center; border-radius: 50%; background: var(--amarillo); color: var(--asfalto); font-size: .8em; font-weight: 700; }
.hero__acciones { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__acciones--centro { justify-content: center; }
.hero__nota { font-size: .9rem; color: var(--crema-2); margin: .9rem 0 0; }

/* El móvil con el reel dentro */
.movil {
  position: relative; margin: 0 auto; width: min(68vw, 300px); aspect-ratio: 9 / 16;
  border-radius: 34px; padding: 9px; background: var(--asfalto);
  box-shadow: 0 30px 60px -24px rgba(15, 44, 71, .55), inset 0 0 0 2px #3a4046;
}
.movil__video { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; background: #CDE9FA; }
.movil__chapa {
  position: absolute; left: -14px; top: 18%; transform: rotate(-6deg);
  background: var(--amarillo); color: var(--asfalto); border-radius: 10px; padding: .45em .8em;
  font-family: var(--titular); font-weight: 600; text-transform: uppercase; font-size: 1rem; letter-spacing: .03em;
  box-shadow: 0 10px 20px -8px rgba(0,0,0,.35);
}
.movil__chapa b { font-size: 1.7rem; display: block; line-height: 1; }
.movil__sonido {
  position: absolute; right: 18px; bottom: 18px; border: 0; cursor: pointer;
  background: rgba(30, 34, 38, .78); color: #fff; font: 600 .82rem var(--texto); padding: .55em .9em; border-radius: 999px;
}
.movil--mini { display: block; width: 100%; border-radius: 22px; padding: 6px; box-shadow: 0 18px 34px -20px rgba(15, 44, 71, .6); }
.movil--mini .movil__video { border-radius: 17px; }

/* Cinta de obra amarilla y negra */
.cinta { height: 16px; background: repeating-linear-gradient(-45deg, var(--amarillo) 0 18px, var(--asfalto) 18px 36px); }

/* ── Secciones ────────────────────────────────────────────────────────────── */
.seccion { padding-block: clamp(60px, 10vw, 112px); }
.seccion + .seccion { border-top: 1px solid var(--linea); }

/* Secciones «plano»: azul de plano con su cuadrícula */
.plano {
  background-color: var(--plano); color: #EAF4FC; border-top: 0 !important;
  background-image: linear-gradient(var(--plano-linea) 1px, transparent 1px), linear-gradient(90deg, var(--plano-linea) 1px, transparent 1px);
  background-size: 28px 28px;
}
.plano + .seccion { border-top: 0; }
.plano .entradilla { color: #B9D2E6; }

/* Cómo funciona */
.pasos { list-style: none; padding: 0; margin: 0 0 clamp(32px, 6vw, 56px); display: grid; gap: 14px; }
@media (min-width: 820px) { .pasos { grid-template-columns: repeat(3, 1fr); } }
.paso { border: 1.5px dashed rgba(185, 210, 230, .45); border-radius: var(--radio); padding: 22px 22px 18px; background: rgba(15, 44, 71, .6); }
.paso__n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--amarillo); color: var(--asfalto); font-family: var(--titular); font-weight: 600; font-size: 1.5rem; margin-bottom: 12px; }
.paso p { margin: 0; color: #B9D2E6; }

/* La terminal del ejemplo */
.terminal { max-width: 640px; margin: 0 auto; background: #0A1622; border: 1px solid rgba(185, 210, 230, .25); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); font-size: .95rem; }
.terminal__barra { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #12212F; color: #8FA9BF; font-size: .78rem; }
.terminal__barra i { width: 10px; height: 10px; border-radius: 50%; background: #3B4B5A; }
.terminal__barra span { margin-left: 8px; }
.terminal__yo { margin: 0; padding: 16px 18px 6px; font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; color: var(--amarillo); }
.terminal__lista { list-style: none; margin: 0; padding: 6px 18px 18px; display: grid; gap: .5em; }
.terminal__lista li { position: relative; padding-left: 1.6em; color: #D3E4F2; }
.terminal__lista li::before { content: '✓'; position: absolute; left: 0; color: #7CC24A; font-weight: 700; }
.terminal__fin { color: #fff !important; font-weight: 600; }

/* Resultados */
.cifras { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: clamp(28px, 5vw, 44px); }
@media (min-width: 900px) { .cifras { grid-template-columns: repeat(4, 1fr); } }
.cifra { background: var(--fondo-2); border: 1px solid var(--linea); border-radius: var(--radio); padding: 18px 16px; display: grid; gap: 4px; align-content: start; }
.cifra b { font-family: var(--titular); font-weight: 600; font-size: clamp(2rem, 8vw, 2.8rem); line-height: 1; font-variant-numeric: tabular-nums; }
.cifra span { color: var(--crema-2); font-size: .92rem; line-height: 1.4; }
.cifra--grande { background: var(--amarillo); border-color: transparent; }
.cifra--grande span { color: var(--asfalto); }

.reels { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
@media (min-width: 900px) { .reels { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
.reel { display: grid; gap: 4px; text-decoration: none; align-content: start; }
.reel .movil { margin-bottom: 8px; transition: transform .2s ease; }
.reel:hover .movil { transform: translateY(-4px); }
.reel__vistas { font-family: var(--titular); font-weight: 600; text-transform: uppercase; font-size: 1.25rem; line-height: 1.1; color: var(--rojo-2); }
.reel__titulo { font-weight: 600; line-height: 1.3; font-size: .98rem; }
.reel__cuenta { font-size: .82rem; color: var(--gris); }
.fuente { font-size: .82rem; color: var(--gris); margin: 24px 0 0; max-width: 70ch; }

/* La receta: fichas de plano con las esquinas marcadas en amarillo */
.fichas { display: grid; gap: 14px; }
@media (min-width: 760px) { .fichas { grid-template-columns: 1fr 1fr; } }
.ficha { position: relative; border: 1.5px solid rgba(185, 210, 230, .35); border-radius: 6px; padding: 24px 22px 20px; background: rgba(15, 44, 71, .7); }
.ficha::before, .ficha::after { content: ''; position: absolute; width: 14px; height: 14px; border: 2px solid var(--amarillo); }
.ficha::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.ficha::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }
.ficha__n { font-family: var(--titular); font-weight: 600; color: var(--amarillo); letter-spacing: .1em; font-size: .9rem; }
.ficha h3 { margin-top: .2em; }
.ficha p { color: #B9D2E6; margin: 0 0 .6em; }
.ficha p:last-child { margin: 0; }
.ficha__cita { color: #fff !important; font-weight: 600; font-size: 1.08rem; }
.ficha__cita--grande { font-family: var(--titular); text-transform: uppercase; font-size: 2.6rem; line-height: 1; color: var(--amarillo) !important; }

/* Qué incluye */
.dentro { display: grid; gap: 24px; }
@media (min-width: 900px) { .dentro { grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; } }
.incluye { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: pieza; }
.incluye li { counter-increment: pieza; position: relative; background: var(--fondo-2); border: 1px solid var(--linea); border-radius: var(--radio); padding: 16px 18px 16px 62px; color: var(--crema-2); }
.incluye li::before { content: counter(pieza, decimal-leading-zero); position: absolute; left: 16px; top: 15px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: var(--asfalto); color: var(--amarillo); font-family: var(--titular); font-weight: 600; font-size: 1rem; }
.incluye b { color: var(--crema); }

.nota { font-size: .85rem; color: var(--gris); margin-top: 1rem; }

/* ── Precio ───────────────────────────────────────────────────────────────── */
.seccion--obra { background: linear-gradient(180deg, var(--fondo) 0%, #DCEFFB 100%); }
.precio { position: relative; max-width: 560px; margin: 0 auto; background: var(--fondo-2); border: 2px solid var(--asfalto); border-radius: 20px; padding: clamp(28px, 6vw, 40px) clamp(20px, 6vw, 40px) clamp(24px, 6vw, 40px); box-shadow: 0 10px 0 var(--asfalto), 0 40px 80px -40px rgba(15, 44, 71, .6); }
.precio__cartel { position: absolute; top: -17px; left: 50%; transform: translateX(-50%); white-space: nowrap; margin: 0; background: var(--amarillo); color: var(--asfalto); border: 2px solid var(--asfalto); border-radius: 6px; padding: .2em .9em; font-family: var(--titular); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; }
.precio h2 { font-size: clamp(1.8rem, 7vw, 2.5rem); text-align: center; margin-top: .3em; }
.precio__incluye { list-style: none; padding: 0; margin: 1.2rem 0 1.4rem; display: grid; gap: .55em; }
.precio__incluye li { padding-left: 1.7em; position: relative; color: var(--crema-2); font-size: .98rem; }
.precio__incluye li::before { content: '✓'; position: absolute; left: 0; color: var(--rojo); font-weight: 700; }
.precio__cifra { text-align: center; margin: 0 0 1.2rem; }
.precio__cifra b { font-family: var(--titular); font-weight: 600; font-size: clamp(3.6rem, 16vw, 4.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.precio__cifra span { display: block; font-size: .9rem; color: var(--crema-2); margin-top: .3rem; }

.extra { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; border: 1.5px dashed var(--linea-2); border-radius: 12px; padding: 14px 16px; margin: 0 0 14px; cursor: pointer; }
.extra input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--rojo); cursor: pointer; }

.precio__legal { font-size: .78rem; line-height: 1.5; color: var(--gris); text-align: center; margin: 12px 0 0; }
.precio__legal a { color: var(--crema-2); }
.precio__aviso { font-size: .9rem; text-align: center; margin: 12px 0 0; min-height: 1.4em; color: #B42318; }
.precio__seguro { text-align: center; font-size: .8rem; color: var(--gris); margin: 10px 0 0; }
.precio__seguro svg { display: inline-block; width: 13px; height: 13px; vertical-align: -2px; margin-right: 4px; }

/* Venta cerrada (sin el zip en KV): el botón lo dice y no hace nada. */
.cerrado-nota { display: none; text-align: center; font-size: .92rem; color: var(--crema-2); margin: 12px 0 0; }
[data-venta="cerrada"] .cerrado-nota { display: block; }
[data-venta="cerrada"] .extra { display: none; }

/* Logos de pago (bloque `pay-methods` de WMC). Chips blancos, solo logos. */
.pay-methods{display:flex;flex-wrap:nowrap;gap:6px;justify-content:center;align-items:center;margin:16px auto 0;max-width:100%}
.pay-methods .pm{display:inline-flex;align-items:center;justify-content:center;height:24px;min-width:34px;padding:0 6px;background:#fff;border-radius:5px;box-shadow:0 1px 2px rgba(0,0,0,.14),0 0 0 1px rgba(0,0,0,.08)}
.pay-methods .pm svg{height:14px;width:auto;display:block}
@media(max-width:560px){.pay-methods{gap:4px}.pay-methods .pm{height:20px;min-width:27px;padding:0 4px;border-radius:4px}.pay-methods .pm svg{height:11px}}

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.faq details { border-bottom: 1px solid var(--linea); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--rojo); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 20px; color: var(--crema-2); }
.faq details > div p:last-child { margin: 0; }

/* ── Cierre: la palabra en grande, como la portada de los vídeos ──────────── */
.cierre { text-align: center; padding-block: clamp(64px, 10vw, 110px); background: linear-gradient(180deg, #DCEFFB 0%, var(--cielo) 100%); position: relative; }
.cierre::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 22px; background: linear-gradient(180deg, #7CC24A 0 6px, #9A5527 6px 14px, var(--tierra) 14px); }
.cierre__grande { font-family: var(--titular); font-weight: 600; text-transform: uppercase; font-size: clamp(4rem, 22vw, 9rem); line-height: .95; margin: 0 0 .1em; color: #fff; -webkit-text-stroke: 3px var(--asfalto); paint-order: stroke fill; text-shadow: 0 8px 0 var(--asfalto); }
.cierre h2 { margin-bottom: 1.2em; }

/* ── Pie ──────────────────────────────────────────────────────────────────── */
.pie { background: var(--asfalto); color: #B7C0C8; padding-block: 48px calc(32px + env(safe-area-inset-bottom)); font-size: .9rem; }
.pie .logotipo { color: #fff; }
.pie__grid { display: grid; gap: 28px; grid-template-columns: 1.4fr 1fr 1fr; }
.pie h4 { font-family: var(--titular); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: #fff; margin: 0 0 .8rem; }
.pie ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5em; }
.pie a { color: #B7C0C8; text-decoration: none; }
.pie a:hover { color: #fff; text-decoration: underline; }
.pie__marca p { margin: .9rem 0 0; max-width: 34ch; }
.pie__legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; color: #8B96A0; }
/* Regla de la casa: en móvil la marca arriba a todo el ancho y las columnas de
   enlaces EN PARALELO, no apiladas. */
@media (max-width: 768px) {
  .pie__grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .pie__grid > div:first-child { grid-column: 1 / -1; }
}

/* ── Barra fija de compra en móvil ────────────────────────────────────────── */
.barra { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px var(--lateral) calc(10px + env(safe-area-inset-bottom));
  background: rgba(30, 34, 38, .97); border-top: 3px solid var(--amarillo); display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transform: translateY(110%); transition: transform .25s ease; }
.barra.visible { transform: none; }
.barra__txt { font-size: .85rem; line-height: 1.25; color: #B7C0C8; }
.barra__txt b { display: block; color: #fff; font-size: 1rem; }
.barra .boton { min-height: 46px; font-size: 1.05rem; padding: .5em 1.1em; flex: none; }
@media (min-width: 900px) { .barra { display: none; } }

/* ── Páginas de texto (legales, 404) ──────────────────────────────────────── */
.texto { max-width: 760px; margin: 0 auto; padding: clamp(40px, 8vw, 72px) var(--lateral) 80px; }
.texto h1 { font-size: clamp(2.2rem, 9vw, 3.4rem); margin-bottom: .2em; }
.texto h2 { font-size: 1.5rem; margin: 2.2em 0 .6em; color: var(--crema); }
.texto p, .texto li { color: var(--crema-2); }
.texto a { color: var(--crema); }
.texto .fecha { color: var(--gris); font-size: .88rem; margin-bottom: 2rem; }
.texto .caja { background: var(--fondo-2); border-left: 4px solid var(--rojo); border-radius: 8px; padding: 14px 18px; margin: 1.2em 0; }
.texto table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1em 0; }
.texto th, .texto td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--linea); vertical-align: top; }
.texto th { color: var(--crema); width: 38%; font-weight: 600; }
@media (max-width: 560px) { .texto th, .texto td { display: block; width: auto; padding: 6px 0; } .texto th { padding-top: 14px; border-bottom: 0; } }
.volver { display: inline-block; margin-top: 2.4rem; color: var(--crema); }
/* Marca visible de dato por confirmar. build/validar.mjs no deja abrir la
   venta mientras quede alguna en las legales. */
.pendiente { background: #FDE2D4; color: #8A2C04; padding: 0 .35em; border-radius: 3px; font-weight: 600; }
