/* ============================================================
   Black Mamba System — estilo editorial brutalista
   Paleta: verde mamba / verde veneno / negro escama / papel
   (las variables conservan sus nombres originales para no
   tocar el resto de la hoja de estilos)
   ============================================================ */

:root {
  --rojo: #0C8346;          /* verde mamba (acento principal) */
  --rojo-oscuro: #085C31;   /* verde mamba oscuro */
  --amarillo: #C6F211;      /* verde veneno (acento secundario) */
  --negro: #0B0F0D;         /* negro escama */
  --papel: #F1F4EC;         /* papel verdoso */
  --verde: #123B2C;         /* verde bosque (bloques oscuros) */
  --borde: 3px solid var(--negro);
  --sombra: 10px 10px 0 var(--negro);
  --rail-w: 64px;
  --font-display: "Archivo Black", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
}

* , *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--papel);
  color: var(--negro);
  font-family: var(--font-body);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--amarillo); color: var(--negro); }

h1, h2, h3, .display-font {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.01em;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--amarillo);
  color: var(--negro);
  padding: .6rem 1rem;
  z-index: 3000;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- Ticker superior ---------- */
.ticker {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 38px;
  background: var(--negro);
  color: var(--amarillo);
  overflow: hidden;
  z-index: 1500;
  border-bottom: var(--borde);
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .12em;
  animation: ticker-run 28s linear infinite;
}
.ticker-track span { padding-right: 2rem; }
@keyframes ticker-run {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Riel lateral ---------- */
.rail {
  position: fixed;
  top: 38px; bottom: 0; left: 0;
  width: var(--rail-w);
  background: var(--rojo);
  border-right: var(--borde);
  z-index: 1400;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
}
.rail-brand {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-display);
  color: var(--papel);
  letter-spacing: .35em;
  font-size: .72rem;
}
.rail-progress {
  font-family: var(--font-display);
  color: var(--negro);
  background: var(--amarillo);
  border: 2px solid var(--negro);
  padding: .35rem .3rem;
  font-size: .72rem;
  writing-mode: vertical-rl;
}

@media (min-width: 992px) {
  main, .footer { margin-left: var(--rail-w); }
}
main { padding-top: 38px; }

/* ---------- Botón de menú ---------- */
.menu-btn {
  position: fixed;
  top: 54px; right: 18px;
  z-index: 2100;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--amarillo);
  border: var(--borde);
  box-shadow: 6px 6px 0 var(--negro);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.menu-btn:hover { transform: translate(-2px,-2px) rotate(-4deg); box-shadow: 9px 9px 0 var(--negro); }
.menu-btn:active { transform: translate(3px,3px); box-shadow: 2px 2px 0 var(--negro); }
.menu-btn-lines { display: flex; flex-direction: column; gap: 5px; }
.menu-btn-lines i { width: 30px; height: 4px; background: var(--negro); transition: transform .25s ease, opacity .25s; }
.menu-btn-text { font-family: var(--font-display); font-size: .62rem; letter-spacing: .18em; }
.menu-btn.is-open { background: var(--rojo); }
.menu-btn.is-open .menu-btn-text { color: var(--papel); }
.menu-btn.is-open .menu-btn-lines i:first-child { transform: translateY(4.5px) rotate(45deg); background: var(--papel); }
.menu-btn.is-open .menu-btn-lines i:last-child { transform: translateY(-4.5px) rotate(-45deg); background: var(--papel); }

/* ---------- Menú overlay ---------- */
.overlay-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--rojo);
  color: var(--papel);
  overflow-y: auto;
}
.overlay-inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem clamp(1.5rem, 8vw, 8rem);
}
.overlay-kicker {
  font-family: var(--font-display);
  color: var(--amarillo);
  letter-spacing: .2em;
  font-size: .85rem;
  margin-bottom: 1.5rem;
}
.overlay-links {
  list-style: none;
  margin: 0; padding: 0;
}
.overlay-links a {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.7rem, 5.5vw, 4rem);
  line-height: 1.12;
  text-decoration: none;
  color: var(--papel);
  padding: .18em 0;
  border-bottom: 2px dashed rgba(244, 237, 224, .35);
  transition: color .18s, padding-left .22s ease;
}
.overlay-links a:hover, .overlay-links a:focus { color: var(--amarillo); padding-left: .4em; }
.overlay-links em {
  font-style: normal;
  font-size: .38em;
  vertical-align: super;
  color: var(--amarillo);
  margin-right: .6em;
}
.overlay-foot {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: .9rem;
  opacity: .85;
}

/* ---------- Chapter heads ---------- */
.chapter-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: var(--borde);
  padding-bottom: .7rem;
  margin-bottom: clamp(1.6rem, 4vw, 3rem);
}
.chapter-num {
  font-family: var(--font-display);
  background: var(--negro);
  color: var(--amarillo);
  padding: .3rem .6rem;
  font-size: .8rem;
  white-space: nowrap;
}
.chapter-name {
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .85rem;
}
.chapter-head-light { border-color: currentColor; }

.section-block { padding: clamp(3.5rem, 8vw, 7rem) clamp(1.2rem, 5vw, 5rem); }

.section-title {
  font-size: clamp(2.4rem, 7vw, 6rem);
  margin: 0 0 clamp(1.5rem, 3vw, 2.6rem);
}

/* ---------- Split text ---------- */
.split-chars .char, .split-words .word {
  display: inline-block;
  will-change: transform;
}

/* ---------- HERO ---------- */
.hero { position: relative; }
.hero-pin {
  min-height: calc(100vh - 38px);
  position: relative;
  display: flex;
  align-items: center;
  padding: clamp(1.5rem, 5vw, 5rem);
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg, transparent 0 34px, rgba(18,16,12,.045) 34px 36px),
    var(--papel);
}
.hero-inner { position: relative; z-index: 5; max-width: 720px; }
.hero-kicker {
  font-family: var(--font-display);
  background: var(--amarillo);
  border: var(--borde);
  display: inline-block;
  padding: .45rem .8rem;
  font-size: clamp(.75rem, 1.6vw, 1rem);
  letter-spacing: .14em;
  box-shadow: 6px 6px 0 var(--negro);
  transform: rotate(-2deg);
  margin-bottom: 1.4rem;
}
.hero-title {
  font-size: clamp(2.2rem, 7.5vw, 5.5rem);
  margin: 0 0 1.2rem;
}
.hero-title .line { display: block; white-space: nowrap; }
.hero-title .outline {
  color: transparent;
  -webkit-text-stroke: 3px var(--rojo);
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.3rem);
  max-width: 34rem;
  background: var(--papel);
  line-height: 1.55;
}
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.6rem 0 2rem; }

.btn-brava {
  display: inline-block;
  font-family: var(--font-display);
  text-transform: uppercase;
  text-decoration: none;
  font-size: .95rem;
  letter-spacing: .06em;
  background: var(--rojo);
  color: var(--papel);
  border: var(--borde);
  padding: .9rem 1.5rem;
  box-shadow: 6px 6px 0 var(--negro);
  transition: transform .15s ease, box-shadow .15s ease;
  cursor: pointer;
}
.btn-brava:hover { transform: translate(-2px,-2px); box-shadow: 9px 9px 0 var(--negro); color: var(--amarillo); }
.btn-brava:active { transform: translate(4px,4px); box-shadow: 1px 1px 0 var(--negro); }
.btn-brava.ghost { background: var(--papel); color: var(--negro); }
.btn-brava.ghost:hover { background: var(--amarillo); color: var(--negro); }

.hero-countdown { margin-top: .5rem; }
.countdown-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  margin-bottom: .5rem;
}
.countdown-grid { display: flex; gap: .7rem; }
.countdown-grid > div {
  background: var(--negro);
  color: var(--amarillo);
  border: var(--borde);
  min-width: 74px;
  padding: .55rem .4rem .45rem;
  text-align: center;
  box-shadow: 5px 5px 0 rgba(18,16,12,.25);
}
.countdown-grid b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.4vw, 2.2rem);
  line-height: 1;
}
.countdown-grid small {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .6rem;
  color: var(--papel);
}

.hero-photo {
  position: absolute;
  border: var(--borde);
  box-shadow: var(--sombra);
  margin: 0;
  z-index: 2;
  overflow: hidden;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-a {
  width: clamp(240px, 30vw, 480px);
  height: clamp(300px, 38vw, 600px);
  right: clamp(4%, 8vw, 10%);
  top: 8%;
  transform: rotate(3deg);
}
.hero-photo-b {
  width: clamp(160px, 20vw, 320px);
  height: clamp(180px, 22vw, 360px);
  right: clamp(18%, 30vw, 34%);
  bottom: 6%;
  transform: rotate(-5deg);
  z-index: 3;
}
@media (max-width: 991px) {
  .hero-photo-a { opacity: .45; }
  .hero-photo-b { display: none; }
}

.sticker {
  position: absolute;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: var(--amarillo);
  border: var(--borde);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.05;
  z-index: 6;
  box-shadow: 6px 6px 0 var(--negro);
}
.sticker-hero { right: clamp(2%, 6vw, 7%); bottom: 14%; }

.hero-scroll-hint {
  position: absolute;
  left: 50%; bottom: 12px;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: .7rem;
  letter-spacing: .3em;
  animation: hint-bounce 1.6s ease-in-out infinite;
  z-index: 5;
}
@keyframes hint-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- MANIFIESTO ---------- */
.manifesto { border-top: var(--borde); border-bottom: var(--borde); }
.manifesto-text {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: none;
  font-size: clamp(1.5rem, 4.2vw, 3.4rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  max-width: 62rem;
  margin: 0 0 clamp(2rem, 5vw, 4rem);
}
.manifesto-text mark {
  background: var(--amarillo);
  padding: 0 .18em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.manifesto-claims { border: var(--borde); background: #fff; }
.claim {
  padding: 1.6rem;
  border-right: var(--borde);
}
.claim:last-child { border-right: 0; }
@media (max-width: 767px) {
  .claim { border-right: 0; border-bottom: var(--borde); }
  .claim:last-child { border-bottom: 0; }
}
.claim b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--rojo);
}
.claim span { font-size: .95rem; }

/* ---------- PASILLOS (horizontal) ---------- */
.pasillos { background: var(--negro); color: var(--papel); }
.pasillos-pin {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 4rem clamp(1.2rem, 4vw, 4rem) 3rem;
}
.pasillos .chapter-head { border-color: var(--amarillo); }
.pasillos .chapter-num { background: var(--amarillo); color: var(--negro); }
.pasillos-track {
  display: flex;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  width: max-content;
  will-change: transform;
}
.pasillo-card {
  width: clamp(270px, 34vw, 430px);
  background: var(--papel);
  color: var(--negro);
  border: var(--borde);
  box-shadow: 10px 10px 0 var(--rojo);
  padding: 1.1rem 1.1rem 1.3rem;
  position: relative;
  flex-shrink: 0;
}
.pasillo-card:nth-child(even) { transform: rotate(1.4deg); box-shadow: 10px 10px 0 var(--amarillo); }
.pasillo-card:nth-child(odd) { transform: rotate(-1.2deg); }
.pasillo-idx {
  position: absolute;
  top: -16px; left: 14px;
  background: var(--rojo);
  color: var(--papel);
  font-family: var(--font-display);
  font-size: .78rem;
  padding: .25rem .55rem;
  border: 2px solid var(--negro);
}
.pasillo-card figure {
  margin: 0 0 1rem;
  border: 2px solid var(--negro);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.pasillo-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pasillo-card:hover figure img { transform: scale(1.07) rotate(-1deg); }
.pasillo-card h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.pasillo-card p { font-size: .92rem; line-height: 1.5; margin-bottom: .8rem; }
.pasillo-tag {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  background: var(--amarillo);
  border: 2px solid var(--negro);
  padding: .25rem .5rem;
  display: inline-block;
}

/* Fallback vertical en pantallas pequeñas */
@media (max-width: 767px) {
  .pasillos-pin { height: auto; }
  .pasillos-track { flex-direction: column; width: 100%; }
  .pasillo-card { width: 100%; }
}

/* ---------- OFERTAS ---------- */
.ofertas { background: var(--amarillo); border-top: var(--borde); border-bottom: var(--borde); }
.oferta-card {
  background: var(--papel);
  border: var(--borde);
  box-shadow: 7px 7px 0 var(--negro);
  padding: .85rem .85rem 1rem;
  position: relative;
  height: 100%;
  transition: transform .16s ease, box-shadow .16s ease;
}
.oferta-card:hover { transform: translate(-3px,-3px) rotate(-.6deg); box-shadow: 11px 11px 0 var(--negro); }
.oferta-card figure {
  margin: 0 0 .8rem;
  border: 2px solid var(--negro);
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.oferta-card figure img { width: 100%; height: 100%; object-fit: cover; }
.oferta-card h3 { font-size: 1.02rem; margin-bottom: .15rem; }
.oferta-meta { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; opacity: .75; margin-bottom: .5rem; }
.precio { margin: 0; display: flex; align-items: baseline; gap: .6rem; }
.precio s { opacity: .55; font-size: .95rem; }
.precio b {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  color: var(--rojo);
}
.oferta-badge {
  position: absolute;
  top: -14px; right: -10px;
  background: var(--rojo);
  color: var(--papel);
  font-family: var(--font-display);
  font-size: .82rem;
  padding: .35rem .5rem;
  border: 2px solid var(--negro);
  transform: rotate(6deg);
}
.ofertas-note { margin-top: 2rem; font-size: .85rem; max-width: 46rem; }

/* ---------- ORIGEN ---------- */
.origen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--verde);
  color: var(--papel);
  border-bottom: var(--borde);
}
@media (max-width: 991px) { .origen { grid-template-columns: 1fr; } }
.origen-media { overflow: hidden; min-height: 420px; border-right: var(--borde); }
.origen-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); will-change: transform; }
.origen-body { padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem); }
.origen .chapter-num { background: var(--amarillo); color: var(--negro); }
.origen-lead { font-size: 1.05rem; line-height: 1.6; margin-bottom: 2rem; max-width: 34rem; }
.origen-list { list-style: none; margin: 0; padding: 0; }
.origen-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .3rem 1rem;
  padding: .8rem 0;
  border-bottom: 2px dashed rgba(244,237,224,.4);
}
.origen-list b { font-family: var(--font-display); font-size: .95rem; text-transform: uppercase; }
.origen-list span { font-size: .85rem; opacity: .85; }

/* ---------- NÚMEROS ---------- */
.numeros { background: var(--rojo); color: var(--papel); border-bottom: var(--borde); }
.numeros-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 991px) { .numeros-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .numeros-grid { grid-template-columns: 1fr; } }
.numero {
  padding: clamp(2rem, 4vw, 3.5rem) 1.5rem;
  border-right: var(--borde);
  text-align: center;
}
.numero:last-child { border-right: 0; }
@media (max-width: 991px) { .numero { border-bottom: var(--borde); } }
.numero b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--amarillo);
  line-height: 1;
}
.numero span { font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- MARCAS ---------- */
.marca-card {
  border: var(--borde);
  padding: 1.6rem 1.4rem 1.5rem;
  height: 100%;
  box-shadow: var(--sombra);
  transition: transform .18s ease;
}
.marca-card:hover { transform: translateY(-6px) rotate(-.8deg); }
.marca-card h3 { font-size: 1.55rem; margin-bottom: .2rem; }
.marca-tipo {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  margin-bottom: .9rem;
}
.marca-card p:not(.marca-tipo) { font-size: .93rem; line-height: 1.55; }
.marca-refs {
  font-family: var(--font-display);
  font-size: .78rem;
  border: 2px solid currentColor;
  display: inline-block;
  padding: .3rem .55rem;
  margin-top: .4rem;
}
.marca-roja { background: var(--rojo); color: var(--papel); }
.marca-amarilla { background: var(--amarillo); color: var(--negro); }
.marca-negra { background: var(--negro); color: var(--papel); }
.marca-verde { background: var(--verde); color: var(--papel); }

/* ---------- OPINIONES ---------- */
.opiniones {
  background: var(--negro);
  color: var(--papel);
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.2rem, 5vw, 5rem);
  border-top: var(--borde);
  border-bottom: var(--borde);
}
.opiniones .chapter-head { border-color: var(--rojo); }
.opinion {
  max-width: 52rem;
  margin: 0 auto;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 1rem 3.2rem;
}
.opinion p {
  font-size: clamp(1.15rem, 2.6vw, 1.9rem);
  font-weight: 600;
  line-height: 1.4;
}
.opinion footer { color: var(--amarillo); font-size: .9rem; }
.carousel-control-prev, .carousel-control-next {
  width: 52px; height: 52px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--amarillo);
  color: var(--negro);
  border: var(--borde);
  opacity: 1;
  font-size: 1.4rem;
  font-weight: 700;
}
.carousel-control-prev:hover, .carousel-control-next:hover { background: var(--rojo); color: var(--papel); }

/* ---------- TARJETA DIAGNÓSTICO MAMBA ---------- */
.tarjeta-lead { font-size: 1.05rem; max-width: 32rem; line-height: 1.6; }
.tarjeta-perks { list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.tarjeta-perks li {
  padding: .7rem 0 .7rem 1.6rem;
  border-bottom: 2px dashed rgba(18,16,12,.25);
  position: relative;
  font-size: .97rem;
}
.tarjeta-perks li::before {
  content: "★";
  position: absolute;
  left: 0;
  color: var(--rojo);
}
.tarjeta-perks b { color: var(--rojo); }

.tarjeta-visual { perspective: 900px; display: flex; justify-content: center; }
.tarjeta-card {
  width: min(430px, 92%);
  aspect-ratio: 8 / 5;
  background:
    repeating-linear-gradient(-45deg, transparent 0 18px, rgba(244,237,224,.06) 18px 20px),
    var(--rojo);
  border: var(--borde);
  box-shadow: var(--sombra);
  color: var(--papel);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: rotate(-3deg);
  transition: transform .3s ease;
  will-change: transform;
}
.tc-brand { font-family: var(--font-display); font-size: 2rem; }
.tc-brand em { font-style: normal; color: var(--amarillo); }
.tc-chip {
  width: 52px; height: 38px;
  background: var(--amarillo);
  border: 2px solid var(--negro);
  border-radius: 6px;
}
.tc-num { font-family: var(--font-display); letter-spacing: .2em; font-size: .95rem; }
.tc-name { font-size: .72rem; letter-spacing: .18em; opacity: .85; }

/* ---------- COMPROMISO ---------- */
.compromiso {
  display: grid;
  grid-template-columns: 5fr 7fr;
  background: var(--negro);
  color: var(--papel);
  border-top: var(--borde);
  border-bottom: var(--borde);
}
@media (max-width: 991px) { .compromiso { grid-template-columns: 1fr; } }
.compromiso-media { border-right: var(--borde); min-height: 360px; overflow: hidden; }
.compromiso-media img { width: 100%; height: 100%; object-fit: cover; }
.compromiso-body { padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem); }
.compromiso .chapter-num { background: var(--verde); color: var(--papel); }
.compromiso-list { list-style: none; margin: 0; padding: 0; }
.compromiso-list li {
  padding: .9rem 0 .9rem 2rem;
  position: relative;
  border-bottom: 2px dashed rgba(244,237,224,.3);
  font-size: .97rem;
  line-height: 1.55;
}
.compromiso-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--amarillo);
  font-weight: 700;
}
.compromiso-list b { color: var(--amarillo); }

/* ---------- TIENDA ---------- */
.mapa-frame {
  border: var(--borde);
  box-shadow: var(--sombra);
  height: 100%;
  min-height: 380px;
}
.mapa-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.tienda-info {
  border: var(--borde);
  background: #fff;
  box-shadow: var(--sombra);
  padding: 1.6rem;
  height: 100%;
}
.tienda-info h3 { font-size: 1.05rem; margin: 1.2rem 0 .6rem; }
.tienda-info h3:first-child { margin-top: 0; }
.tabla-horarios { width: 100%; border-collapse: collapse; }
.tabla-horarios td {
  padding: .5rem 0;
  border-bottom: 2px dashed rgba(18,16,12,.2);
  font-weight: 600;
}
.tabla-horarios td:last-child { text-align: right; font-family: var(--font-display); font-size: .85rem; }
.tienda-info a { color: var(--rojo); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { background: var(--papel); }
.faq-acc { border: var(--borde); box-shadow: var(--sombra); background: #fff; max-width: 60rem; }
.faq-acc .accordion-item { border: 0; border-bottom: var(--borde); background: transparent; }
.faq-acc .accordion-item:last-child { border-bottom: 0; }
.faq-acc .accordion-button {
  background: transparent;
  font-family: var(--font-display);
  font-size: .95rem;
  text-transform: uppercase;
  color: var(--negro);
  padding: 1.1rem 1.3rem;
  box-shadow: none;
}
.faq-acc .accordion-button:not(.collapsed) { background: var(--amarillo); color: var(--negro); }
.faq-acc .accordion-button:focus { box-shadow: inset 0 0 0 3px var(--rojo); }
.faq-acc .accordion-body { font-size: .95rem; line-height: 1.6; padding: 1.1rem 1.3rem; }
.faq-acc .accordion-body a { color: var(--rojo); font-weight: 700; }

/* ---------- NEWSLETTER ---------- */
.newsletter {
  background: var(--rojo);
  color: var(--papel);
  text-align: center;
  padding: clamp(4rem, 9vw, 7rem) clamp(1.2rem, 5vw, 5rem);
  border-top: var(--borde);
}
.newsletter-title { font-size: clamp(2rem, 6vw, 4.6rem); margin-bottom: 1rem; }
.newsletter-sub { max-width: 36rem; margin: 0 auto 2rem; font-size: 1rem; line-height: 1.6; }
.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem;
  max-width: 40rem;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1 1 260px;
  border: var(--borde);
  padding: .95rem 1.1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--papel);
  box-shadow: 6px 6px 0 var(--negro);
}
.newsletter-form input:focus { outline: 3px solid var(--amarillo); }
.newsletter-form .btn-brava { background: var(--negro); }
/* Formulario de contacto completo */
.contact-form { max-width: 52rem; margin: 0 auto; text-align: left; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.2rem;
}
@media (max-width: 767px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-field { display: flex; flex-direction: column; gap: .35rem; }
.contact-field-full { grid-column: 1 / -1; }
.contact-field label {
  font-family: var(--font-display);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.contact-field input,
.contact-field textarea {
  border: var(--borde);
  padding: .8rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--papel);
  box-shadow: 5px 5px 0 var(--negro);
  width: 100%;
}
.contact-field textarea { resize: vertical; }
.contact-field input:focus,
.contact-field textarea:focus { outline: 3px solid var(--amarillo); }
.contact-send { justify-content: flex-end; }
.contact-send .btn-brava { background: var(--negro); text-align: center; }
.contact-send .btn-brava[disabled] { opacity: .6; pointer-events: none; }
.captcha-row { display: flex; gap: .8rem; align-items: stretch; flex-wrap: wrap; }
.captcha-row img {
  border: var(--borde);
  box-shadow: 5px 5px 0 var(--negro);
  cursor: pointer;
  flex-shrink: 0;
}
.captcha-row input { flex: 1 1 120px; min-width: 110px; letter-spacing: .3em; font-family: var(--font-display); }
.captcha-hint { font-size: .72rem; opacity: .8; }

.newsletter-msg { margin-top: 1.2rem; font-family: var(--font-display); font-size: .95rem; min-height: 1.4em; }
.newsletter-msg.ok { color: var(--amarillo); }
.newsletter-msg.error { color: var(--negro); background: var(--amarillo); display: inline-block; padding: .2rem .6rem; }
.newsletter-legal { margin-top: 1rem; font-size: .74rem; opacity: .8; }
.newsletter-legal a { color: var(--papel); }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--negro);
  color: var(--papel);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.2rem, 5vw, 5rem) 2rem;
  overflow: hidden;
}
.footer-giant {
  font-family: var(--font-display);
  font-size: clamp(5rem, 22vw, 20rem);
  line-height: .85;
  margin: 0 0 2rem;
  color: transparent;
  -webkit-text-stroke: 2px var(--rojo);
  user-select: none;
  white-space: nowrap;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  border-top: 2px dashed rgba(244,237,224,.3);
  padding-top: 2rem;
}
@media (max-width: 991px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 {
  font-family: var(--font-display);
  font-size: .85rem;
  text-transform: uppercase;
  color: var(--amarillo);
  margin-bottom: .8rem;
}
.footer p { font-size: .9rem; line-height: 1.9; }
.footer a { color: var(--papel); text-decoration: none; }
.footer a:hover { color: var(--amarillo); text-decoration: underline; }
.footer-pagos { font-size: .74rem !important; opacity: .7; margin-top: .8rem; }
.footer-copy {
  margin-top: 2.5rem;
  font-size: .78rem;
  opacity: .65;
  text-align: center;
}

/* ---------- Selector de idioma (arriba izquierda) ---------- */
.lang-switch {
  position: fixed;
  top: 46px;
  left: 12px;
  z-index: 2200;
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 4px 6px;
  background: var(--papel);
  border: var(--borde);
  box-shadow: 4px 4px 0 var(--negro);
}
.lang-switch a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 28px;
  font-size: 1.25rem;
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.lang-switch a:hover {
  transform: translateY(-2px);
  background: var(--amarillo);
}
.lang-switch a.is-active {
  border-color: var(--negro);
  background: var(--amarillo);
}
html[data-lang="zh"] body,
html[data-lang="zh"] .section-title,
html[data-lang="zh"] .hero-sub,
html[data-lang="zh"] .manifesto-text {
  font-family: "Noto Sans TC", var(--font-body), sans-serif;
}
@media (min-width: 992px) {
  .lang-switch { left: calc(var(--rail-w) + 12px); }
}
@media (max-width: 575px) {
  .lang-switch { top: 42px; left: 8px; padding: 3px 4px; gap: 3px; }
  .lang-switch a { width: 30px; height: 24px; font-size: 1.05rem; }
}

/* ---------- Volver arriba ---------- */
.to-top {
  position: fixed;
  right: 18px; bottom: 18px;
  width: 56px; height: 56px;
  background: var(--rojo);
  color: var(--papel);
  border: var(--borde);
  box-shadow: 5px 5px 0 var(--negro);
  font-size: 1.4rem;
  font-weight: 700;
  z-index: 1600;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity .25s, transform .25s, background .2s;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--amarillo); color: var(--negro); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .ticker-track { animation: none; }
}
