/* =========================================================
   EMILIOTES · Hoja de estilos
   Lenguaje visual: "puesto de feria" — toldo rayado, madera,
   granos de elote, vapor y stickers. Paleta del logo.
   ========================================================= */

:root {
  --crema: #FDF3D8;
  --crema-2: #FBEAC0;
  --hueso: #FFF6E3;
  --amarillo: #F7C948;
  --amarillo-hondo: #E9A93B;
  --amarillo-osc: #B98420;
  --verde: #3E7C34;
  --verde-hondo: #2C5F27;
  --verde-noche: #1E4219;
  --rojo: #C43E2B;
  --rojo-hondo: #9C2E1F;
  --cafe: #7A4E2A;
  --cafe-hondo: #4A3018;
  --tinta: #2B2417;
  --sombra-foto: rgba(20, 32, 14, .32);

  --f-display: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --f-texto: "Nunito", "Segoe UI", system-ui, sans-serif;

  --radio: 18px;
  --ancho: 1100px;
  --patron-granos: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='120' viewBox='0 0 140 120'%3E%3Cg fill='%23E9A93B' fill-opacity='.16'%3E%3Crect x='14' y='16' width='16' height='22' rx='8' transform='rotate(-14 22 27)'/%3E%3Crect x='92' y='54' width='16' height='22' rx='8' transform='rotate(18 100 65)'/%3E%3Crect x='44' y='86' width='16' height='22' rx='8' transform='rotate(-8 52 97)'/%3E%3C/g%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--f-texto);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--tinta);
  background: var(--crema);
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: .01em;
  margin: 0 0 .5em;
  color: var(--verde-noche);
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--verde); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--rojo); }

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--amarillo); color: var(--cafe-hondo); }

:focus-visible {
  outline: 3px dashed var(--rojo);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--verde-noche); color: var(--hueso);
  padding: .7rem 1.2rem; border-radius: 0 0 12px 12px;
  font-weight: 800; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 0; color: var(--hueso); }

.contenedor {
  width: min(100% - 2.5rem, var(--ancho));
  margin-inline: auto;
}

/* ---------- Botones estilo letrero ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .78em 1.5em;
  border-radius: 14px;
  border: 2px solid transparent;
  font-family: var(--f-texto); font-weight: 800;
  font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease;
}
.btn::after { content: ""; }
.btn--madera {
  background:
    repeating-linear-gradient(100deg, rgba(0,0,0,.10) 0 7px, transparent 7px 16px),
    var(--cafe);
  border-color: #5A3A1E;
  color: var(--hueso);
  box-shadow: 0 5px 0 var(--cafe-hondo);
}
.btn--madera:hover { color: #FFD98A; }
.btn--verde {
  background: var(--verde);
  border-color: var(--verde-hondo);
  color: var(--hueso);
  box-shadow: 0 5px 0 var(--verde-noche);
}
.btn--verde:hover { color: #FFE9A8; }
.btn--amarillo {
  background: var(--amarillo);
  border-color: var(--amarillo-osc);
  color: var(--cafe-hondo);
  box-shadow: 0 5px 0 var(--amarillo-osc);
}
.btn--amarillo:hover { color: var(--rojo-hondo); }
.btn--fantasma {
  background: rgba(255, 246, 227, .08);
  border-color: var(--hueso);
  color: var(--hueso);
  box-shadow: 0 5px 0 rgba(0, 0, 0, .35);
}
.btn--fantasma:hover { background: rgba(255, 246, 227, .18); color: var(--hueso); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,.4); }
.btn--grande { font-size: 1.12rem; padding: .9em 1.8em; }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .32rem .95rem;
  border-radius: 999px;
  border: 2px solid var(--verde-hondo);
  background: var(--hueso);
  color: var(--verde-noche);
  font-weight: 800; font-size: .88rem;
  letter-spacing: .04em;
}
.chip--amarillo { background: var(--amarillo); border-color: var(--amarillo-osc); color: var(--cafe-hondo); }
.chip--rojo { background: var(--rojo); border-color: var(--rojo-hondo); color: var(--hueso); }

/* ---------- Encabezado ---------- */
.cabecera {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding: .8rem 0;
  background: rgba(30, 66, 25, .52);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.cabecera--solida {
  background: rgba(253, 243, 216, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--verde-hondo);
  box-shadow: 0 4px 18px rgba(30, 66, 25, .18);
  padding: .5rem 0;
}
.cabecera__barra {
  display: flex; align-items: center; gap: 1rem;
}
.marca {
  display: inline-flex; align-items: center; gap: .6rem;
  text-decoration: none;
  font-family: var(--f-display); font-size: 1.5rem;
  color: var(--hueso);
  text-shadow: 2px 2px 0 var(--verde-noche);
  transition: color .2s, text-shadow .25s;
}
.cabecera--solida .marca { color: var(--verde-noche); text-shadow: none; }
.marca img {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 3px solid var(--hueso);
  background: #fff;
  box-shadow: 0 3px 0 rgba(0,0,0,.25);
  transition: border-color .25s;
}
.cabecera--solida .marca img { border-color: var(--amarillo); }

.menu-principal { margin-left: auto; }
.menu-principal ul {
  display: flex; align-items: center; gap: 1.4rem;
}
.menu-principal a {
  position: relative;
  color: var(--hueso);
  font-weight: 800; text-decoration: none;
  padding: .35rem .2rem;
  background-image: linear-gradient(var(--amarillo), var(--amarillo));
  background-repeat: no-repeat;
  background-size: 100% 0%;
  background-position: 0 82%;
  border-radius: 4px;
  transition: background-size .2s ease, color .2s;
  text-shadow: 1px 1px 0 rgba(30,66,25,.55);
}
.cabecera--solida .menu-principal a { color: var(--verde-noche); text-shadow: none; }
.menu-principal a:hover:not(.btn),
.menu-principal a[aria-current="page"]:not(.btn) {
  background-size: 100% 42%;
  color: var(--cafe-hondo);
}
.menu-principal .btn { text-shadow: none; }
/* el botón de madera mantiene su texto amarillo aunque la cabecera sea sólida */
.menu-principal a.btn--madera { color: var(--amarillo); }
.menu-principal a.btn--madera:hover { color: #FFE9A8; }

.btn-hamburguesa {
  display: none;
  margin-left: auto;
  width: 48px; height: 48px;
  border: 3px solid var(--hueso);
  border-radius: 14px;
  background: rgba(30, 66, 25, .55);
  cursor: pointer;
  padding: 0;
}
.btn-hamburguesa span,
.btn-hamburguesa::before,
.btn-hamburguesa::after {
  content: "";
  display: block;
  width: 22px; height: 3px;
  border-radius: 2px;
  background: var(--hueso);
  margin: 4px auto;
  transition: transform .25s, opacity .2s;
}
body.menu-abierto .btn-hamburguesa span { opacity: 0; }
body.menu-abierto .btn-hamburguesa::before { transform: translateY(7px) rotate(45deg); }
body.menu-abierto .btn-hamburguesa::after { transform: translateY(-7px) rotate(-45deg); }

/* Panel móvil */
@media (max-width: 900px) {
  /* El blur convertirá a la cabecera en bloque contenedor del panel
     position:fixed y encogería el menú al tamaño del header */
  .cabecera, .cabecera--solida {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .btn-hamburguesa { display: block; }
  .menu-principal {
    position: fixed; inset: 0; z-index: -1;
    margin: 0;
    padding: 6.5rem 1.5rem 3rem;
    background: var(--crema) var(--patron-granos);
    opacity: 0; visibility: hidden;
    transition: opacity .25s ease, visibility .25s;
    overflow-y: auto;
  }
  body.menu-abierto .menu-principal { opacity: 1; visibility: visible; }
  .menu-principal ul {
    flex-direction: column; align-items: stretch; gap: .4rem;
  }
  .menu-principal a:not(.btn) {
    display: block;
    font-family: var(--f-display);
    font-size: 1.9rem;
    color: var(--verde-noche);
    text-shadow: none;
    background-size: 100% 0%;
    border-bottom: 3px dashed rgba(233, 169, 59, .5);
    border-radius: 0;
    padding: .8rem .2rem;
  }
  .menu-principal a:not(.btn):hover { background-size: 100% 42%; }
  .menu-principal li {
    opacity: 0; transform: translateY(14px);
    transition: opacity .3s ease, transform .3s ease;
  }
  body.menu-abierto .menu-principal li { opacity: 1; transform: none; }
  body.menu-abierto .menu-principal li:nth-child(1) { transition-delay: .05s; }
  body.menu-abierto .menu-principal li:nth-child(2) { transition-delay: .12s; }
  body.menu-abierto .menu-principal li:nth-child(3) { transition-delay: .19s; }
  body.menu-abierto .menu-principal li:nth-child(4) { transition-delay: .26s; }
}

/* ---------- Hero principal ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: center;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.hero__video {
  position: absolute; inset: 0; z-index: -2;
  overflow: hidden;
}
.hero__video video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: kenburns 26s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.1) translateY(-1.5%); }
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 40, 16, .55) 0%, rgba(20, 40, 16, .18) 34%, rgba(20, 40, 16, .30) 66%, rgba(20, 40, 16, .78) 100%);
}
.hero__contenido {
  display: grid; justify-items: center;
  gap: 1.1rem;
  padding: 7.5rem 0 5rem;
}
.hero .chip {
  background: rgba(255, 246, 227, .94);
  box-shadow: 0 3px 0 rgba(0,0,0,.3);
}
.titulo-hero { margin: 0; color: var(--hueso); }
.titulo-hero .titulo-hero__fijo {
  display: block;
  font-family: var(--f-texto);
  font-weight: 800;
  font-size: clamp(.95rem, 2.2vw, 1.25rem);
  letter-spacing: .42em;
  text-transform: uppercase;
  text-indent: .42em;
  margin-bottom: .6rem;
  color: var(--amarillo);
  text-shadow: 1px 1px 0 rgba(30, 40, 16, .8);
}
.titulo-hero .titulo-hero__marca {
  display: block;
  font-size: clamp(3.4rem, 13vw, 8rem);
  line-height: .95;
  transform: rotate(-1.6deg);
  color: var(--hueso);
  text-shadow: 4px 4px 0 var(--verde-hondo), 8px 9px 0 rgba(15, 30, 12, .45);
}
.titulo-hero .w { animation: aparecer .8s cubic-bezier(.2, .9, .3, 1.4) backwards; }
.titulo-hero .w:nth-child(2) { animation-delay: .12s; }
@keyframes aparecer {
  from { opacity: 0; transform: translateY(26px) scale(.9); }
}
.hero__texto {
  max-width: 44rem;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  font-weight: 600;
  color: var(--hueso);
  text-shadow: 1px 2px 4px rgba(15, 30, 12, .8);
  animation: aparecer .8s .35s cubic-bezier(.2,.9,.3,1.2) backwards;
}
.hero__botones {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem;
  margin-top: .6rem;
  animation: aparecer .8s .5s cubic-bezier(.2,.9,.3,1.2) backwards;
}

/* Vapor */
.vapor {
  position: absolute; z-index: 0;
  inset: auto 0 -2rem;
  height: 60%;
  pointer-events: none;
}
.vapor span {
  position: absolute; bottom: 0;
  width: 90px; height: 150px;
  background: radial-gradient(ellipse 45% 50% at 50% 100%, rgba(255, 251, 235, .5), transparent 70%);
  filter: blur(9px);
  opacity: 0;
  animation: vapor 7s ease-in-out infinite;
}
.vapor span:nth-child(1) { left: 18%; animation-delay: 0s; }
.vapor span:nth-child(2) { left: 48%; animation-delay: 2.2s; }
.vapor span:nth-child(3) { left: 72%; animation-delay: 4.4s; }
@keyframes vapor {
  0%   { transform: translateY(0) scaleX(1); opacity: 0; }
  25%  { opacity: .75; }
  100% { transform: translateY(-42vh) scaleX(1.7); opacity: 0; }
}

/* Indicador de desplazamiento */
.hero__flecha {
  position: absolute; left: 50%; bottom: 4.2rem;
  translate: -50% 0;
  display: grid; justify-items: center; gap: .3rem;
  color: var(--hueso);
  font-size: .78rem; font-weight: 800;
  letter-spacing: .28em; text-transform: uppercase;
  text-decoration: none;
  text-shadow: 1px 1px 3px rgba(0,0,0,.6);
  animation: mecer 2.2s ease-in-out infinite;
}
.hero__flecha i {
  width: 15px; height: 20px;
  background: var(--amarillo);
  border-radius: 8px 8px 10px 10px;
  box-shadow: inset -4px -4px 0 rgba(185,132,32,.6), inset 3px 3px 0 rgba(255,255,255,.55), 0 2px 4px rgba(0,0,0,.4);
}
@keyframes mecer { 50% { transform: translateY(9px); } }

/* ---------- Toldo (divisor rayado con festones) ---------- */
.toldo {
  position: relative;
  height: 28px;
  background: repeating-linear-gradient(90deg, var(--rojo) 0 46px, var(--hueso) 46px 92px);
  -webkit-mask-image: radial-gradient(circle 14px at 14px 0, #000 97%, transparent 100%);
  mask-image: radial-gradient(circle 14px at 14px 0, #000 97%, transparent 100%);
  -webkit-mask-size: 28px 28px;
  mask-size: 28px 28px;
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
}
.toldo--verde { background: repeating-linear-gradient(90deg, var(--verde-hondo) 0 46px, var(--amarillo) 46px 92px); }
.hero .toldo { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; }

/* ---------- Cinta de toppings (marquesina) ---------- */
.cinta {
  overflow: hidden;
  background: var(--verde-hondo);
  border-bottom: 4px solid var(--verde-noche);
  padding: .75rem 0;
}
.cinta__pista {
  display: flex; align-items: center;
  gap: 2.2rem;
  width: max-content;
  animation: desfile 30s linear infinite;
}
.cinta:hover .cinta__pista { animation-play-state: paused; }
.cinta__pista span {
  display: flex; align-items: center; gap: 2.2rem;
  font-family: var(--f-display);
  font-size: 1.15rem;
  letter-spacing: .06em;
  color: var(--hueso);
  white-space: nowrap;
}
.cinta__pista i {
  width: 13px; height: 17px; flex: none;
  background: var(--amarillo);
  border-radius: 7px 7px 9px 9px;
  box-shadow: inset -3px -3px 0 rgba(185,132,32,.6), inset 2px 2px 0 rgba(255,255,255,.5);
}
@keyframes desfile { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.seccion { padding: clamp(3.8rem, 8vw, 6.5rem) 0; }
.seccion--crema { background: var(--crema) var(--patron-granos); animation: deriva 60s linear infinite; }
@keyframes deriva { to { background-position: 280px 240px; } }
.seccion--hueso { background: var(--hueso); }

.centrado { text-align: center; }

.titulo-seccion {
  display: inline-block;
  font-size: clamp(1.9rem, 4.6vw, 2.9rem);
  margin-bottom: .35em;
  position: relative;
}
.titulo-seccion::after {
  content: "";
  display: block;
  height: 9px;
  margin: .18em auto 0;
  width: min(220px, 60%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='10' viewBox='0 0 220 10'%3E%3Cpath d='M2 6 Q 15 -2 28 6 T 54 6 T 80 6 T 106 6 T 132 6 T 158 6 T 184 6 T 210 6' fill='none' stroke='%23C43E2B' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.entradilla {
  font-size: 1.1rem;
  max-width: 46rem;
  margin-inline: auto;
  margin-bottom: 2.2rem;
}

/* Divisor de granos */
.divisor {
  display: flex; justify-content: center; gap: .55rem;
  padding: .4rem 0;
}
.divisor i {
  width: 14px; height: 19px;
  background: var(--amarillo);
  border-radius: 7px 7px 9px 9px;
  box-shadow: inset -4px -4px 0 rgba(185,132,32,.55), inset 3px 3px 0 rgba(255,255,255,.5);
}
.divisor i:nth-child(2) { transform: rotate(12deg) translateY(-3px); }
.divisor i:nth-child(3) { transform: rotate(-9deg); }
.divisor--verde i { background: var(--verde); box-shadow: inset -4px -4px 0 rgba(30,66,25,.5), inset 3px 3px 0 rgba(255,255,255,.35); }

/* ---------- Bandas con foto de fondo ---------- */
.banda {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(4rem, 9vw, 7rem) 0;
  scroll-margin-top: 4.5rem;
}
.banda__fondo { position: absolute; inset: 0; z-index: -2; }
.banda__fondo img {
  width: 100%; height: 130%;
  object-fit: cover;
  filter: blur(3px) saturate(1.08);
  transform: translate3d(0, 0, 0);
}
.banda::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(23, 38, 17, .88), rgba(23, 38, 17, .62) 45%, rgba(23, 38, 17, .9));
}
.banda__rejilla {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: clamp(1.8rem, 5vw, 4rem);
  align-items: center;
}
.banda--volteada .banda__rejilla .banda__texto { order: 2; }
.banda--volteada .banda__rejilla .sticker { order: 1; }
.banda h2 { color: var(--hueso); font-size: clamp(1.9rem, 4.6vw, 2.9rem); }
.banda h2::after {
  content: "";
  display: block; height: 9px; width: min(200px, 55%);
  margin-top: .18em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='10' viewBox='0 0 220 10'%3E%3Cpath d='M2 6 Q 15 -2 28 6 T 54 6 T 80 6 T 106 6 T 132 6 T 158 6 T 184 6 T 210 6' fill='none' stroke='%23F7C948' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left / contain;
}
.banda p { color: #F1E8CF; font-size: 1.08rem; }
.banda .btn { margin-top: 1.4rem; }

/* Sticker: tarjeta tipo polaroid */
.sticker {
  background: #fff;
  border: 4px solid var(--hueso);
  border-radius: 16px;
  padding: 10px 10px 0;
  box-shadow: 12px 14px 0 var(--sombra-foto);
  transform: rotate(2.4deg);
  transition: transform .3s ease;
  max-width: 420px;
  justify-self: center;
}
.banda--volteada .sticker { transform: rotate(-2.4deg); }
.sticker:hover { transform: rotate(0deg) scale(1.02); }
.sticker img {
  border-radius: 10px;
  width: 100%;
}
.sticker figcaption {
  padding: .55rem .4rem .7rem;
  text-align: center;
  font-weight: 800;
  font-size: .92rem;
  color: var(--cafe);
}

/* ---------- Datos del puesto ---------- */
.datos__rejilla {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.dato {
  background: var(--hueso);
  border: 3px solid var(--verde);
  border-radius: var(--radio);
  box-shadow: 6px 7px 0 rgba(62, 124, 52, .25);
  padding: 1.3rem 1rem;
  text-align: center;
}
.dato b {
  display: block;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  color: var(--rojo);
  line-height: 1;
}
.dato > span {
  display: block;
  margin-top: .35rem;
  font-weight: 800;
  font-size: .92rem;
  color: var(--cafe);
  letter-spacing: .03em;
}

/* ---------- Pasos del pedido ---------- */
.pasos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  counter-reset: paso;
  margin-bottom: 2.4rem;
  list-style: none;
}
.paso {
  position: relative;
  background: var(--hueso);
  border: 3px solid var(--verde-hondo);
  border-radius: var(--radio);
  box-shadow: 0 6px 0 rgba(30, 66, 25, .28);
  padding: 1.4rem 1.1rem 1.2rem;
  text-align: center;
}
.paso__num {
  counter-increment: paso;
  width: 52px; height: 52px;
  margin: -2.4rem auto .6rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--amarillo);
  border: 3px solid var(--amarillo-osc);
  box-shadow: 0 4px 0 var(--amarillo-osc);
  font-family: var(--f-display);
  font-size: 1.5rem;
  color: var(--cafe-hondo);
}
.paso__num::before { content: counter(paso); }
.paso h3 { font-size: 1.18rem; margin-bottom: .35rem; }
.paso p { font-size: .95rem; color: #5A4A33; }
.paso:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 2.3rem; right: -1.15rem;
  width: 1.15rem; height: 5px;
  background: repeating-linear-gradient(90deg, var(--rojo) 0 7px, transparent 7px 12px);
  background-size: 12px 5px;
  animation: hormigas 1s linear infinite;
  z-index: 1;
}
@keyframes hormigas { to { background-position: 12px 0; } }

.topings-lista {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem;
  margin: 0 auto 2.4rem;
  max-width: 46rem;
}

/* ---------- FAQ ---------- */
.faq { max-width: 46rem; margin-inline: auto; display: grid; gap: .8rem; }
.faq details {
  background: var(--hueso);
  border: 3px solid var(--verde);
  border-radius: var(--radio);
  box-shadow: 0 5px 0 rgba(62, 124, 52, .22);
  overflow: hidden;
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.2rem;
  cursor: pointer;
  font-weight: 800;
  color: var(--verde-noche);
  list-style: none;
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--f-display);
  font-size: 1.5rem;
  color: var(--rojo);
  line-height: 1;
  transition: transform .25s ease;
  flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__cuerpo {
  padding: 0 1.25rem 1.15rem;
  color: #4A3D28;
  animation: abrirfaq .3s ease;
}
@keyframes abrirfaq {
  from { opacity: 0; translate: 0 -8px; }
}

/* ---------- Mini-hero de páginas internas ---------- */
.heromini {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 8.5rem 0 4.5rem;
  text-align: center;
}
.heromini::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background: var(--crema) var(--patron-granos);
  animation: deriva 60s linear infinite;
}
.heromini--verde::before {
  background: var(--verde-hondo);
}
.heromini--verde::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(247, 201, 72, .16), transparent 70%);
}
.heromini .chip { margin-bottom: 1rem; }
.heromini h1 {
  font-size: clamp(2.6rem, 7.5vw, 4.6rem);
  max-width: 18ch;
  margin-inline: auto;
}
.heromini--verde h1 { color: var(--hueso); text-shadow: 3px 3px 0 rgba(15,30,12,.5); }
.heromini h1 .subrayado {
  display: block;
  height: 10px;
  width: min(240px, 55%);
  margin: .25em auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='10' viewBox='0 0 240 10'%3E%3Cpath d='M2 6 Q 16 -2 30 6 T 58 6 T 86 6 T 114 6 T 142 6 T 170 6 T 198 6 T 226 6' fill='none' stroke='%23C43E2B' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.heromini__texto {
  max-width: 44rem;
  margin: 1.1rem auto 0;
  font-size: 1.12rem;
  font-weight: 600;
}
.heromini--verde .heromini__texto { color: #EFE6C8; }
.heromini .toldo {
  position: absolute; left: 0; right: 0; bottom: -1px;
}

/* ---------- Artículo / prosa ---------- */
.prosa {
  max-width: 46rem;
  margin-inline: auto;
  font-size: 1.08rem;
}
.prosa h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
  margin-top: 2.2em;
}
.prosa h3 { font-size: 1.3rem; margin-top: 1.6em; }
.prosa ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1em; }
.prosa li { margin-bottom: .4rem; }
.prosa .chips-linea { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; }

.tarjeta-acentuada {
  background: var(--hueso);
  border: 3px solid var(--amarillo-osc);
  border-radius: var(--radio);
  box-shadow: 8px 9px 0 rgba(185, 132, 32, .28);
  padding: 1.6rem 1.5rem;
  margin: 2.2rem 0;
}
.tarjeta-acentuada h2, .tarjeta-acentuada h3 { margin-top: 0; }

.frase-nombre {
  background: var(--hueso);
  border: 4px solid var(--verde-hondo);
  border-radius: 22px;
  box-shadow: 10px 12px 0 rgba(44, 95, 39, .3);
  padding: 2rem 1.5rem;
  text-align: center;
  transform: rotate(-1.4deg);
  max-width: 34rem;
  margin: 2.5rem auto;
}
.frase-nombre p {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  line-height: 1.25;
  color: var(--verde-noche);
  margin: 0;
}
.frase-nombre .resaltar {
  background-image: linear-gradient(var(--amarillo), var(--amarillo));
  background-repeat: no-repeat;
  background-size: 100% 46%;
  background-position: 0 78%;
  color: var(--rojo-hondo);
  padding: 0 .15em;
}

/* ---------- Línea de tiempo ---------- */
.linea-tiempo {
  position: relative;
  max-width: 40rem;
  margin: 2.5rem auto 0;
  padding-left: 2.1rem;
  border-left: 4px dashed var(--amarillo-hondo);
  display: grid;
  gap: 2rem;
}
.linea-tiempo__punto { position: relative; }
.linea-tiempo__punto::before {
  content: "";
  position: absolute;
  left: -2.95rem; top: .3rem;
  width: 17px; height: 23px;
  background: var(--amarillo);
  border: 3px solid var(--crema);
  border-radius: 9px 9px 11px 11px;
  box-shadow: inset -4px -4px 0 rgba(185,132,32,.55), 0 0 0 2px var(--amarillo-osc);
}
.linea-tiempo__punto .chip { margin-bottom: .5rem; }
.linea-tiempo__punto h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.linea-tiempo__punto p { color: #57482F; }

/* ---------- Galería ---------- */
.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  max-width: 56rem;
  margin: 2.5rem auto 0;
}
.galeria .sticker:nth-child(odd) { transform: rotate(-2.2deg); }
.galeria .sticker:nth-child(even) { transform: rotate(2.2deg); }

/* ---------- Página de pedidos ---------- */
.taza-escenario {
  display: grid; justify-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.taza-dibujo { position: relative; width: 150px; }
.taza-dibujo .vapor { inset: -4.6rem 0 auto; height: 4.6rem; }
.taza-dibujo .vapor span { width: 40px; height: 70px; filter: blur(5px); background: radial-gradient(ellipse 45% 50% at 50% 100%, rgba(62, 124, 52, .5), transparent 70%); }
.taza-dibujo .vapor span:nth-child(1) { left: 18%; }
.taza-dibujo .vapor span:nth-child(2) { left: 46%; animation-delay: 1.8s; }
.taza-dibujo .vapor span:nth-child(3) { left: 70%; animation-delay: 3.4s; }
.taza-flotante { animation: flotar 4s ease-in-out infinite; }
@keyframes flotar { 50% { transform: translateY(-10px) rotate(1.5deg); } }

.etiqueta-pronto {
  display: inline-block;
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 4vw, 2rem);
  letter-spacing: .08em;
  background: var(--rojo);
  color: var(--hueso);
  border: 3px solid var(--rojo-hondo);
  box-shadow: 0 5px 0 var(--rojo-hondo);
  padding: .45em 1.2em;
  border-radius: 12px;
  transform: rotate(-2deg);
}

.menu-publicado {
  max-width: 420px;
  margin: 2.5rem auto 0;
}

/* ---------- CTA final ---------- */
.cta-final {
  background: var(--verde);
  border-block: 4px solid var(--verde-noche);
  padding: clamp(3rem, 7vw, 4.5rem) 0;
  text-align: center;
}
.cta-final h2 { color: var(--hueso); font-size: clamp(1.8rem, 4.5vw, 2.7rem); }
.cta-final p { color: #EAF2DC; max-width: 38rem; margin: .4rem auto 1.6rem; }

/* ---------- Pie de página ---------- */
.pie { background: var(--verde-noche); color: #EFE6C8; }
.pie .toldo--verde { display: block; }
.pie__rejilla {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.2rem;
  padding: 3.6rem 0 2.4rem;
}
.pie__marca img {
  width: 200px;
  border-radius: 14px;
  border: 3px solid var(--amarillo);
  box-shadow: 5px 6px 0 rgba(0,0,0,.3);
  background: #fff;
}
.pie__marca .pie__marca-nombre {
  margin: 1rem 0 0;
  font-family: var(--f-display);
  font-size: 1.7rem;
  color: var(--amarillo);
  letter-spacing: .03em;
}
.pie__marca p { margin-top: .9rem; font-weight: 600; font-size: .95rem; color: #D9CDA6; }
.pie h2 {
  font-size: 1.15rem;
  color: var(--amarillo);
  letter-spacing: .05em;
  margin-bottom: .9rem;
}
.pie ul { display: grid; gap: .5rem; }
.pie a { color: #EFE6C8; text-decoration: none; font-weight: 700; }
.pie a:hover { color: var(--amarillo); text-decoration: underline; }
.pie address { font-style: normal; display: grid; gap: .5rem; font-weight: 600; }
.redes { display: flex; gap: .7rem; }
.redes a {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--amarillo);
  color: var(--amarillo);
  transition: background .2s, color .2s, transform .2s;
}
.redes a:hover { background: var(--amarillo); color: var(--verde-noche); transform: translateY(-3px); }
.redes svg { width: 21px; height: 21px; fill: currentColor; }
.pie__legal {
  border-top: 2px dashed rgba(233, 169, 59, .4);
  padding: 1.3rem 0 1.6rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem;
  align-items: center; justify-content: space-between;
  font-size: .9rem; color: #CBBE95;
}
.pie__legal a { color: #E4D6A8; text-decoration: underline; }
@media (max-width: 900px) { .pie__rejilla { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pie__rejilla { grid-template-columns: 1fr; gap: 1.8rem; } }

/* ---------- Mazorca de progreso de lectura ---------- */
.mazorca {
  position: fixed;
  right: 1.1rem; bottom: 1.1rem;
  width: 46px; height: 68px;
  z-index: 90;
  opacity: .92;
  pointer-events: none;
  display: none;
}
@media (min-width: 1100px) { .mazorca { display: block; } }

/* ---------- Revelado al hacer scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1);
  transition-delay: calc(var(--d, 0) * 95ms);
}
[data-reveal].revelado { opacity: 1; transform: none; }

/* ---------- Página 404 ---------- */
.pagina-error { text-align: center; padding: 9rem 0 6rem; }
.pagina-error h1 {
  font-size: clamp(3rem, 12vw, 6rem);
  color: var(--rojo);
}

/* ---------- Accesibilidad: menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero__video video { animation: none; }
  .vapor, .hero__flecha, .cinta__pista { animation: none !important; }
  .cinta { overflow-x: auto; }
  [data-reveal] { opacity: 1; transform: none; }
  .banda__fondo img { transform: none !important; }
}

/* ---------- Responsive general ---------- */
@media (max-width: 900px) {
  .pasos { grid-template-columns: repeat(2, 1fr); row-gap: 2.6rem; }
  .paso:nth-child(2)::after { display: none; }
  .datos__rejilla { grid-template-columns: repeat(2, 1fr); }
  .banda__rejilla { grid-template-columns: 1fr; }
  .banda--volteada .banda__rejilla .banda__texto { order: 1; }
  .banda--volteada .banda__rejilla .sticker { order: 2; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .pasos { grid-template-columns: 1fr; }
  .paso::after { display: none; }
  .datos__rejilla { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .hero__botones .btn { width: min(100%, 320px); justify-content: center; }
}

/* =========================================================
   WIZARD DE PEDIDOS (pagina pedidos.html)
   ========================================================= */
.contenedor--angosto { max-width: 760px; }

.wizard { position: relative; padding-bottom: 92px; }
.wizard__pasos {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: .3rem;
  padding: 0;
  margin: 0 0 1.4rem;
  counter-reset: none;
}
.wizard__pasos li {
  flex: 1;
  text-align: center;
  font-size: .78rem;
  font-weight: 800;
  color: #A08C5F;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
}
.wizard__pasos li span {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #F0E6CC;
  color: #A08C5F;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 1rem;
  transition: transform .2s ease, background .2s ease;
}
.wizard__pasos li.w-hecho span { background: var(--verde); color: #fff; }
.wizard__pasos li.w-hecho { color: var(--verde-hondo); }
.wizard__pasos li.w-activo span { background: var(--amarillo); color: var(--cafe-hondo); transform: scale(1.15); box-shadow: 0 0 0 4px rgba(247, 201, 72, .35); }
.wizard__pasos li.w-activo { color: var(--cafe-hondo); }

.wizard__titulo { font-size: 1.5rem; color: var(--verde-noche); margin: 0 0 .4rem; }
.wizard__titulo small { font-size: .95rem; color: var(--cafe); font-family: var(--f-texto); font-weight: 700; }
.wizard__ayuda { color: var(--cafe); margin: .2rem 0 1rem; }

/* tarjetas de producto */
.wizard__tarjetas { display: grid; gap: .7rem; margin: 1rem 0; }
.tarjeta-producto {
  position: relative;
  text-align: left;
  background: var(--papel, #FFFDF7);
  border: 3px solid var(--borde, #E7D9B8);
  border-radius: var(--radio);
  padding: .9rem 3.2rem .9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  transition: border-color .15s ease, transform .15s ease;
}
.tarjeta-producto:hover { transform: translateY(-2px); }
.tarjeta-producto--on { border-color: var(--verde); background: #F4FAEE; }
.tarjeta-producto__nombre { font-family: var(--f-display); font-size: 1.15rem; color: var(--cafe-hondo); }
.tarjeta-producto__desc { font-size: .88rem; color: var(--cafe); }
.tarjeta-producto__precio { font-weight: 800; color: var(--verde-hondo); font-size: 1.05rem; }
.tarjeta-producto__palomita {
  position: absolute;
  right: .8rem; top: 50%;
  transform: translateY(-50%) scale(0);
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--verde);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: transform .15s ease;
}
.tarjeta-producto--on .tarjeta-producto__palomita { transform: translateY(-50%) scale(1); }

/* stepper de cantidad */
.wizard__cantidad {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--papel, #FFFDF7);
  border: 2px solid var(--borde, #E7D9B8);
  border-radius: 999px;
  padding: .5rem .9rem;
  width: fit-content;
  font-weight: 800;
}
.wizard__cantidad-total { color: var(--verde-hondo); }
.stepper { display: inline-flex; align-items: center; gap: .7rem; }
.stepper button {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--amarillo);
  color: var(--cafe-hondo);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
}
.stepper button:hover { background: var(--amarillo-hondo); }
.stepper b { min-width: 1.4ch; text-align: center; font-size: 1.1rem; }

/* chips de toppings */
.wizard__presets { display: flex; flex-wrap: wrap; gap: .45rem; margin: .8rem 0 1rem; }
.preset {
  border: 2px solid var(--amarillo-osc);
  background: var(--crema-2);
  color: var(--cafe-hondo);
  border-radius: 999px;
  padding: .35rem .85rem;
  font-weight: 800;
  font-size: .9rem;
}
.preset:hover { background: var(--amarillo); }
.wizard__chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.1rem; }
.chip-top {
  border: 2px solid var(--borde, #E7D9B8);
  background: var(--papel, #FFFDF7);
  color: var(--cafe-hondo);
  border-radius: 999px;
  padding: .55rem 1.05rem;
  font-weight: 700;
  font-size: 1rem;
  transition: all .12s ease;
}
.chip-top:hover { border-color: var(--amarillo-hondo); }
.chip-top--on {
  background: var(--verde);
  border-color: var(--verde-hondo);
  color: #fff;
}
.chip-top--on::before { content: "✓ "; }

/* extras */
.wizard__extras { display: grid; gap: .6rem; margin-bottom: 1rem; }
.tarjeta-extra {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: var(--papel, #FFFDF7);
  border: 3px solid var(--borde, #E7D9B8);
  border-radius: var(--radio);
  padding: .7rem .9rem;
}
.tarjeta-extra--on { border-color: var(--amarillo-hondo); background: #FFF8E4; }
.tarjeta-extra__info { display: flex; flex-direction: column; }
.tarjeta-extra__info b { color: var(--cafe-hondo); }
.tarjeta-extra__info span { color: var(--verde-hondo); font-weight: 800; font-size: .9rem; }
.tarjeta-extra .stepper button { width: 34px; height: 34px; }

/* carrito parcial */
.wizard__carrito {
  background: var(--crema);
  border-radius: 12px;
  padding: .6rem .9rem;
  font-size: .92rem;
  color: var(--cafe-hondo);
}

/* campos sencillos */
.campo--sencillo { margin: .9rem 0; text-align: left; }
.campo--sencillo label { display: block; font-weight: 800; color: var(--cafe-hondo); margin-bottom: .3rem; }
.campo--sencillo label small { font-weight: 600; color: var(--cafe); }
.campo--sencillo input {
  width: 100%;
  padding: .75rem .9rem;
  font-size: 1.05rem;
  border: 2px solid var(--borde, #E7D9B8);
  border-radius: 12px;
  background: var(--papel, #FFFDF7);
}
.campo--sencillo input:focus { outline: none; border-color: var(--verde); box-shadow: 0 0 0 3px rgba(62, 124, 52, .18); }
.campo--sencillo input.campo-error { border-color: var(--rojo); animation: sacudir .3s ease; }
@keyframes sacudir { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* barra inferior fija del wizard (dentro del modal) */
.wizard__barra {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70; /* por encima del modal-pedido (60) */
  background: var(--verde-noche);
  color: #FFF6E3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .8rem;
  padding: .7rem max(1rem, calc((100% - 760px) / 2));
  box-shadow: 0 -6px 18px rgba(30, 66, 25, .25);
}

/* =========================================================
   MODAL DEL WIZARD (pedidos.html)
   Solo se cierra con la X o al completar el pedido: el fondo
   oscuro NO es clickeable a proposito.
   ========================================================= */
.modal-pedido {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(30, 33, 22, .62);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2.5vh 1rem;
  overflow-y: auto;
}
.modal-pedido[hidden] { display: none; }
.modal-pedido__caja {
  position: relative;
  background: var(--hueso);
  border-radius: 18px;
  border: 3px solid var(--amarillo);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .4);
  max-width: 780px;
  width: 100%;
  margin: auto;
  padding: 1.6rem 1.2rem 1rem;
}
.modal-pedido__cerrar {
  position: absolute;
  top: .7rem;
  right: .7rem;
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--amarillo-osc);
  background: #fff;
  color: var(--cafe-hondo);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(74, 48, 24, .25);
}
.modal-pedido__cerrar:hover { background: var(--crema); }
body.modal-abierto { overflow: hidden; }
/* El btn--fantasma del sitio es crema sobre fondo verde; dentro del
   modal (fondo crema) va en tonos verdes para que el texto se lea. */
.modal-pedido .btn--fantasma {
  background: transparent;
  border-color: var(--verde);
  color: var(--verde-hondo);
  box-shadow: none;
}
.modal-pedido .btn--fantasma:hover { background: #EDF5E4; color: var(--verde-hondo); }
.wizard__total { font-size: .95rem; }
.wizard__total b { font-family: var(--f-display); font-size: 1.25rem; color: var(--amarillo); }
.wizard__barra-botones { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: flex-end; }
.wizard__barra .btn--fantasma { color: #E9E2CF; border-color: #5B7A54; }
.wizard__barra .btn--fantasma:hover { background: rgba(255, 255, 255, .1); }

/* resumen */
.wizard__resumen {
  background: var(--papel, #FFFDF7);
  border: 2px solid var(--borde, #E7D9B8);
  border-radius: var(--radio);
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
}
.wizard__resumen .lista-detalle { border: none; }
.boton-quitar {
  background: none;
  border: none;
  color: var(--rojo);
  font-weight: 800;
  font-size: .82rem;
  padding: .2rem 0;
  text-decoration: underline;
}
.wizard__resumen-total {
  text-align: right;
  font-size: 1.1rem;
  border-top: 2px dashed var(--borde, #E7D9B8);
  padding-top: .7rem;
  margin: .5rem 0 0;
}
.wizard__resumen-total b { font-family: var(--f-display); font-size: 1.5rem; color: var(--verde-hondo); }
.wizard__aviso { color: var(--rojo-hondo); font-weight: 800; margin: .5rem 0; min-height: 1em; }
.hp { position: absolute; left: -5000px; top: -5000px; height: 1px; width: 1px; opacity: 0; }

/* exito */
.wizard__exito { text-align: center; padding: 1rem 0 2rem; }
.wizard__exito-emoji { font-size: 3rem; }
.wizard__codigo {
  font-family: var(--f-display);
  font-size: 2.4rem;
  letter-spacing: 3px;
  color: var(--verde-hondo);
  background: var(--crema);
  border-radius: 14px;
  display: inline-block;
  padding: .3rem 1.2rem;
  margin: .4rem 0;
  user-select: all;
}
.wizard__exito-botones { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-top: 1.1rem; }

/* aviso tienda apagada */
.tienda-aviso {
  background: var(--crema);
  border: 2px dashed var(--amarillo-osc);
  border-radius: var(--radio);
  padding: 1rem 1.2rem;
  color: var(--cafe-hondo);
  text-align: center;
}

/* seguimiento */
.seguimiento { display: flex; gap: .6rem; justify-content: center; margin: 1rem 0; flex-wrap: wrap; }
.seguimiento input {
  padding: .7rem 1rem;
  font-size: 1.1rem;
  font-family: var(--f-display);
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid var(--borde, #E7D9B8);
  border-radius: 999px;
  width: min(240px, 60vw);
  text-align: center;
}
.seguimiento input:focus { outline: none; border-color: var(--verde); }
.seguimiento__error { color: var(--rojo-hondo); font-weight: 800; }
.seguimiento__resultado {
  background: var(--papel, #FFFDF7);
  border: 2px solid var(--borde, #E7D9B8);
  border-radius: var(--radio);
  padding: 1rem 1.2rem;
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}
.seguimiento__flujo {
  list-style: none;
  display: flex;
  gap: .3rem;
  padding: 0;
  margin: .9rem 0 .5rem;
}
.seguimiento__flujo li {
  flex: 1;
  text-align: center;
  font-size: .8rem;
  color: #A08C5F;
  border-top: 5px solid #F0E6CC;
  padding-top: .5rem;
}
.seguimiento__flujo li.s-hecho { border-top-color: var(--verde); color: var(--verde-hondo); }
.seguimiento__flujo li.s-actual { border-top-color: var(--amarillo-hondo); color: var(--cafe-hondo); font-weight: 800; }
.insig-cancelado { color: var(--rojo-hondo); font-weight: 800; }

@media (max-width: 560px) {
  .wizard__pasos li { font-size: .66rem; }
  .wizard__pasos li span { width: 28px; height: 28px; font-size: .85rem; }
  .wizard__barra { flex-direction: column; gap: .45rem; padding-bottom: .6rem; }
  .wizard { padding-bottom: 130px; }
  .wizard__barra-botones { width: 100%; }
  .wizard__barra-botones .btn { flex: 1; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .wizard__pasos li span, .tarjeta-producto, .tarjeta-producto__palomita { transition: none; }
  .campo--sencillo input.campo-error { animation: none; }
}

/* listas de detalle del wizard (resumen y seguimiento) */
.lista-detalle { list-style: none; margin: 0; padding: 0; }
.lista-detalle li { padding: .55rem 0; border-bottom: 1px dashed var(--borde); }
.lista-detalle li:last-child { border-bottom: none; }
.lista-detalle .chips { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .3rem; }
.mini-chip { background: var(--crema); border-radius: 999px; padding: .1rem .55rem; font-size: .78rem; color: var(--cafe-hondo); }
.mini { color: var(--cafe); font-size: .82rem; display: block; }
