/* Yorimu Store · hoja de estilos única (mobile-first) */

:root {
  --papel: #fffdf8;
  --linea: rgba(43, 33, 27, 0.14);
  --tinta-suave: rgba(43, 33, 27, 0.72);
  --acento-oscuro: color-mix(in srgb, var(--acento) 78%, #000);
  --radio: 20px;
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Figtree', 'Avenir Next', 'Segoe UI', sans-serif;
  --sombra-pegatina: 4px 4px 0 var(--tinta);
  --ancho: 1180px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--fondo);
  color: var(--tinta);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grano de papel */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .17 0 0 0 0 .13 0 0 0 0 .1 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, video { max-width: 100%; display: block; }
svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--acento); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-variation-settings: 'SOFT' 100, 'WONK' 0;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
}
h2 { font-size: clamp(2rem, 6.4vw, 3.4rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; }
p { margin: 0; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.etiqueta {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--secundario);
}
.etiqueta::before {
  content: '';
  width: 22px;
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 10'%3E%3Cpath d='M1 8c3-6 5-6 7-1s4 5 6 0 5-5 7 1' fill='none' stroke='%232F4A3A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ── Botones ── */
.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  border: 2px solid var(--tinta);
  border-radius: 999px;
  padding: 0.8em 1.4em;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}
.boton svg { width: 1.2em; height: 1.2em; }
.boton--mini { padding: 0.45em 1em; font-size: 0.9rem; background: var(--tinta); color: var(--fondo); }
.boton--tinta { background: var(--tinta); color: var(--fondo); }
.boton--linea:hover { background: var(--tinta); color: var(--fondo); }

.boton--cta {
  width: 100%;
  background: var(--acento);
  color: #fff8ee;
  border-color: var(--tinta);
  border-radius: 18px;
  padding: 1.05em 1.2em;
  font-size: 1.12rem;
  box-shadow: 0 6px 0 var(--tinta);
  position: relative;
}
.boton--cta:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--tinta); }
.boton--cta:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--tinta); }
.boton--cta:disabled { cursor: progress; opacity: 0.85; }
.boton__precio {
  background: rgba(255, 248, 238, 0.18);
  border-radius: 999px;
  padding: 0.15em 0.65em;
  font-variant-numeric: tabular-nums;
}
.boton--cta.cargando svg { animation: latido 0.8s ease-in-out infinite alternate; }
.boton--ancho { max-width: 420px; }
@keyframes latido { to { transform: translateX(5px); } }

/* ── Barra de aviso ── */
.aviso {
  background: var(--tinta);
  color: var(--fondo);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  overflow: hidden;
  white-space: nowrap;
}
.aviso__pista {
  display: inline-flex;
  gap: 2.4rem;
  padding: 0.55rem 0;
  animation: desliza 26s linear infinite;
}
.aviso__pista span::before { content: '✦'; margin-right: 0.8rem; color: var(--resalte); }
@keyframes desliza { to { transform: translateX(-50%); } }
@media (min-width: 900px) {
  .aviso__pista { animation: none; width: 100%; justify-content: center; }
  .aviso__pista span[aria-hidden] { display: none; }
}

/* ── Cabecera ── */
.cabecera {
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; }
/* Sello rojo tipo hanko */
.logo__sello {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--acento);
  color: #fff8ee;
  display: grid;
  place-items: center;
  border: 2px solid var(--tinta);
  transform: rotate(-6deg);
}
.logo__sello svg { width: 24px; height: 24px; }
.logo__texto { font-family: var(--serif); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; display: inline-flex; align-items: baseline; gap: 0.3rem; }
.logo__texto small { font-family: var(--sans); font-weight: 700; font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--acento); }

/* ── Hero ── */
.hero {
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 0.4rem 1rem 3rem;
  display: grid;
  gap: 1.6rem;
  scroll-margin-top: 1rem;
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.05fr 1fr; gap: 3.2rem; align-items: start; padding-top: 1.2rem; }
  .galeria { position: sticky; top: 1.2rem; }
}

.galeria__principal {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid var(--tinta);
  background: var(--resalte);
  aspect-ratio: 1;
  box-shadow: 8px 8px 0 var(--secundario);
  animation: entra 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.galeria__principal img { width: 100%; height: 100%; object-fit: cover; }
.galeria__sello {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--acento);
  color: #fff8ee;
  border: 2px solid var(--tinta);
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  font-weight: 800;
  font-size: 0.72rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transform: rotate(10deg);
  animation: gira-sello 0.9s 0.4s cubic-bezier(0.3, 1.6, 0.5, 1) both;
}
.galeria__sello svg { width: 24px; height: 24px; margin-bottom: 4px; }
@keyframes gira-sello { from { transform: rotate(-40deg) scale(0.4); opacity: 0; } }

.galeria__miniaturas { display: flex; gap: 0.6rem; margin-top: 0.9rem; }
.miniatura {
  width: 74px;
  height: 74px;
  border-radius: 14px;
  border: 2px solid var(--linea);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--resalte);
  transition: border-color 0.2s, transform 0.2s;
}
.miniatura:hover { transform: translateY(-2px); }
.miniatura.es-activa { border-color: var(--tinta); }
.miniatura img { width: 100%; height: 100%; object-fit: cover; }

.compra > * { animation: entra 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.compra > *:nth-child(1) { animation-delay: 0.05s; }
.compra > *:nth-child(2) { animation-delay: 0.12s; }
.compra > *:nth-child(3) { animation-delay: 0.19s; }
.compra > *:nth-child(4) { animation-delay: 0.26s; }
.compra > *:nth-child(5) { animation-delay: 0.33s; }
/* Solo desplazamiento, sin opacidad: el contenido nunca queda invisible y no retrasa el LCP. */
@keyframes entra { from { transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.hero__titulo {
  font-size: clamp(2.7rem, 11vw, 4.8rem);
  font-weight: 800;
  line-height: 0.94;
  margin: 0.5rem 0 0.9rem;
}
.hero__titulo br + * { display: inline; }
.hero__sub { font-size: 1.08rem; color: var(--tinta-suave); max-width: 34em; }

.beneficios { list-style: none; padding: 0; margin: 1.2rem 0 1.4rem; display: grid; gap: 0.55rem; }
.beneficios li { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 600; }
.beneficios svg {
  flex: none;
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 50%;
  background: var(--secundario);
  color: var(--fondo);
  margin-top: 1px;
}

/* ── Selector de packs ── */
.ofertas { border: 0; padding: 0; margin: 0 0 1.1rem; display: grid; gap: 0.7rem; }
.ofertas legend { font-weight: 800; margin-bottom: 0.6rem; font-size: 0.95rem; }
.oferta {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  background: var(--papel);
  border: 2px solid var(--linea);
  border-radius: var(--radio);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s, background 0.2s;
}
.oferta:hover { border-color: rgba(43, 33, 27, 0.4); }
.oferta.es-elegida { border-color: var(--tinta); background: #fff6e4; box-shadow: var(--sombra-pegatina); transform: translate(-2px, -2px); }
.oferta input { position: absolute; opacity: 0; pointer-events: none; }
.oferta input:focus-visible + .oferta__radio { outline: 3px solid var(--acento); outline-offset: 3px; }
.oferta__radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--tinta);
  display: grid;
  place-items: center;
}
.oferta.es-elegida .oferta__radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--acento); }
.oferta__info { display: grid; gap: 0.1rem; }
.oferta__nombre { font-weight: 800; font-size: 1.05rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; }
.oferta__badge {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--resalte);
  border: 1.5px solid var(--tinta);
  border-radius: 999px;
  padding: 0.12em 0.6em;
  transform: rotate(-2deg);
}
.oferta__detalle { font-size: 0.88rem; color: var(--tinta-suave); }
.oferta__precios { display: grid; justify-items: end; text-align: right; gap: 0.05rem; }
.oferta__precios strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.oferta__precios small { font-size: 0.78rem; color: var(--tinta-suave); }
.oferta__ahorro { font-size: 0.74rem; font-weight: 800; color: var(--secundario); background: rgba(47, 74, 58, 0.1); border-radius: 6px; padding: 0.05em 0.4em; }

.compra__error { margin-top: 0.8rem; color: #a3261b; font-weight: 700; }

.garantias { list-style: none; padding: 0; margin: 1.4rem 0 1rem; display: grid; gap: 0.6rem; font-size: 0.92rem; }
.garantias li { display: flex; gap: 0.7rem; align-items: center; }
.garantias svg { flex: none; width: 26px; height: 26px; color: var(--secundario); }

.pagos { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pagos li {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 1.5px solid var(--linea);
  border-radius: 7px;
  padding: 0.25em 0.6em;
  background: var(--papel);
}
.pagos__bizum { color: #fff; background: #05c3dd !important; border-color: #05c3dd !important; text-transform: lowercase; }

/* ── Cinta de superficies ── */
.cinta {
  background: var(--secundario);
  color: var(--fondo);
  border-block: 2px solid var(--tinta);
  overflow: hidden;
  transform: rotate(-1.2deg);
  margin: 0 -10px;
}
.cinta__pista { display: inline-flex; white-space: nowrap; animation: desliza 30s linear infinite; padding: 0.85rem 0; }
.cinta__pista span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.4rem, 4.5vw, 2.2rem);
  padding: 0 1.1rem;
}
.cinta__pista span::after { content: '✦'; font-style: normal; color: var(--resalte); margin-left: 2.2rem; font-size: 0.7em; vertical-align: middle; }

/* ── Secciones ── */
.seccion { max-width: var(--ancho); margin: 0 auto; padding: 4.5rem 1rem; }
.seccion__cabeza { display: grid; gap: 0.7rem; margin-bottom: 2.2rem; max-width: 760px; }

.problema {
  position: relative;
  max-width: none;
  background: var(--tinta);
  color: var(--fondo);
  margin-top: 3rem;
  padding: 5rem 1rem;
  overflow: hidden;
}
.problema h2 { max-width: 14em; margin: 0 auto 1.4rem; font-size: clamp(2.2rem, 7.6vw, 4.4rem); text-align: center; position: relative; }
.problema p { max-width: 36em; margin: 0 auto; text-align: center; font-size: 1.1rem; color: rgba(251, 244, 234, 0.82); position: relative; }
.problema__mechones {
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23FBF4EA' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M30 60c6-14 10-18 14-30M38 62c2-12 6-20 12-26M46 64c-1-10 2-18 8-24'/%3E%3Cpath d='M150 40c8 10 10 16 22 22M152 48c10 6 14 10 26 12M150 56c10 2 16 4 26 2'/%3E%3Cpath d='M90 170c-4-12-2-20 4-30M98 172c0-12 4-18 12-26M106 174c2-10 8-16 16-20'/%3E%3Cpath d='M180 150c-10-4-14-10-18-20M184 158c-12-2-18-6-24-14'/%3E%3C/g%3E%3C/svg%3E");
}

.pasos__video {
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--tinta);
  margin-bottom: 2rem;
  aspect-ratio: 9 / 16;
  max-width: 380px;
  box-shadow: 8px 8px 0 var(--acento);
}
.pasos__video video { width: 100%; height: 100%; object-fit: cover; }
.pasos__lista { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: paso; }
@media (min-width: 760px) { .pasos__lista { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; } }
.paso {
  background: var(--papel);
  border: 2px solid var(--tinta);
  border-radius: var(--radio);
  padding: 1.6rem 1.4rem 1.5rem;
  position: relative;
}
.paso:nth-child(2) { transform: rotate(0.6deg); }
.paso:nth-child(3) { transform: rotate(-0.6deg); }
.paso__num {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--resalte);
  border: 2px solid var(--tinta);
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.paso h3 { margin-bottom: 0.4rem; font-size: 1.6rem; }
.paso p { color: var(--tinta-suave); }

.bonus {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 860px) { .bonus { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; } }
.bonus__img {
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  overflow: hidden;
  border: 2px solid var(--tinta);
  background: var(--resalte);
  aspect-ratio: 1;
  max-width: 460px;
}
.bonus__img img { width: 100%; height: 100%; object-fit: cover; }
.bonus__texto { display: grid; gap: 1rem; }
.bonus__texto p:last-child { font-size: 1.08rem; color: var(--tinta-suave); }

/* ── Comparativa ── */
.tabla-envoltorio { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radio); border: 2px solid var(--tinta); background: var(--papel); }
.tabla { width: 100%; border-collapse: collapse; }
.tabla th, .tabla td { padding: 0.8rem 0.35rem; text-align: center; border-bottom: 1.5px solid var(--linea); }
.comparativa .tabla thead th { font-size: 0.72rem; line-height: 1.2; vertical-align: bottom; }
.comparativa .tabla tbody th { width: 44%; padding-left: 0.8rem; font-size: 0.86rem; line-height: 1.3; }
@media (min-width: 700px) {
  .tabla th, .tabla td { padding: 0.95rem 0.8rem; }
  .comparativa .tabla thead th { font-size: 0.85rem; }
  .comparativa .tabla tbody th { font-size: 0.95rem; }
}
.tabla tbody tr:last-child th, .tabla tbody tr:last-child td { border-bottom: 0; }
.tabla thead th { font-size: 0.85rem; font-weight: 800; }
.tabla tbody th { text-align: left; font-weight: 600; font-size: 0.95rem; }
.tabla__nuestro { background: color-mix(in srgb, var(--acento) 10%, transparent); }
.tabla thead .tabla__nuestro { color: var(--acento-oscuro); font-family: var(--serif); font-size: 1.05rem; }
.si, .no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.si { background: var(--secundario); color: var(--fondo); }
.no { background: rgba(43, 33, 27, 0.08); color: rgba(43, 33, 27, 0.45); }
.si svg, .no svg { width: 17px; height: 17px; }

/* ── Incluye ── */
.incluye__lista { display: grid; gap: 1rem; }
@media (min-width: 760px) { .incluye__lista { grid-template-columns: 1fr 1fr; gap: 1.4rem; } }
.tarjeta { background: var(--papel); border: 2px solid var(--tinta); border-radius: var(--radio); padding: 1.6rem; box-shadow: var(--sombra-pegatina); }
.tarjeta__num { font-family: var(--serif); font-size: 2.6rem; font-weight: 800; color: var(--acento); line-height: 1; display: block; margin-bottom: 0.6rem; }
.tarjeta h3 { margin-bottom: 0.45rem; }
.tarjeta p { color: var(--tinta-suave); }

/* ── Opiniones ── */
.opiniones__lista { display: grid; gap: 1rem; }
@media (min-width: 760px) { .opiniones__lista { grid-template-columns: repeat(3, 1fr); } }
.opinion { margin: 0; background: var(--papel); border: 2px solid var(--tinta); border-radius: var(--radio); padding: 1.3rem; display: grid; gap: 0.6rem; align-content: start; }
.opinion img { border-radius: 12px; aspect-ratio: 1; object-fit: cover; }
.opinion__estrellas { color: var(--acento); letter-spacing: 0.1em; }
.opinion blockquote { margin: 0; }
.opinion figcaption { font-size: 0.88rem; font-weight: 700; }
.opinion figcaption span { color: var(--secundario); }

/* ── Garantía ── */
.garantia { display: grid; gap: 1.8rem; align-items: center; justify-items: center; text-align: center; }
@media (min-width: 760px) { .garantia { grid-template-columns: auto 1fr; justify-items: start; text-align: left; gap: 3rem; } }
.garantia h2 { margin-bottom: 0.8rem; }
.garantia p { font-size: 1.1rem; color: var(--tinta-suave); max-width: 32em; }
.garantia__sello { position: relative; width: 190px; height: 190px; display: grid; place-items: center; }
.garantia__sello svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: rota 22s linear infinite; }
.garantia__sello text { font-family: var(--sans); font-weight: 800; font-size: 15.5px; letter-spacing: 0.2em; fill: var(--tinta); }
.garantia__sello strong {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--acento);
  color: #fff8ee;
  border: 2px solid var(--tinta);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 3.2rem;
  font-weight: 800;
}
@keyframes rota { to { transform: rotate(360deg); } }

/* ── FAQ ── */
.faq__lista { display: grid; gap: 0.7rem; max-width: 860px; }
.pregunta { background: var(--papel); border: 2px solid var(--tinta); border-radius: 16px; }
.pregunta summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 1.2rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.pregunta summary::-webkit-details-marker { display: none; }
.pregunta summary span { font-family: var(--serif); font-size: 1.6rem; line-height: 1; transition: transform 0.25s; flex: none; }
.pregunta[open] summary span { transform: rotate(45deg); }
.pregunta p { padding: 0 1.2rem 1.15rem; color: var(--tinta-suave); }

/* ── Cierre ── */
.cierre {
  max-width: none;
  background: var(--acento);
  color: #fff8ee;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 1rem;
  border-top: 2px solid var(--tinta);
}
.cierre h2 { font-size: clamp(2.4rem, 9vw, 5rem); font-weight: 800; }
.cierre p { font-size: 1.08rem; max-width: 30em; }
.cierre .boton--cta { background: var(--tinta); margin-top: 0.6rem; box-shadow: 0 6px 0 rgba(0, 0, 0, 0.35); border-color: var(--tinta); }

/* ── Pie ── */
.pie { background: var(--tinta); color: rgba(251, 244, 234, 0.85); padding: 3rem 1rem 6.5rem; font-size: 0.92rem; }
.pie > * { max-width: var(--ancho); margin-inline: auto; }
.pie__marca { display: flex; gap: 0.8rem; align-items: center; margin-bottom: 1.6rem; }
.pie__marca strong { font-family: var(--serif); font-size: 1.3rem; color: var(--fondo); }
.pie__enlaces { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-bottom: 1.4rem; }
.pie__enlaces a, .pie__cookies { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(251, 244, 234, 0.25); }
.pie__cookies { background: none; border-top: 0; border-left: 0; border-right: 0; padding: 0; cursor: pointer; }
.pie__contacto { margin-bottom: 0.6rem; }
.pie__copy { opacity: 0.6; font-size: 0.82rem; }
@media (min-width: 900px) { .pie { padding-bottom: 3rem; } }

/* ── Barra fija móvil ── */
.barra-fija {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--fondo) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 2px solid var(--tinta);
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.barra-fija.es-visible { transform: none; }
.barra-fija div { display: grid; line-height: 1.2; }
.barra-fija strong { font-family: var(--serif); }
.barra-fija span { font-weight: 800; color: var(--acento-oscuro); }
.boton--mini-cta { width: auto; padding: 0.7em 1.6em; font-size: 1rem; box-shadow: 0 4px 0 var(--tinta); }
@media (min-width: 900px) { .barra-fija { display: none; } }

/* ── Cookies ── */
.cookies {
  position: fixed;
  z-index: 80;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  max-width: 460px;
  background: var(--papel);
  border: 2px solid var(--tinta);
  border-radius: 18px;
  padding: 1.1rem;
  box-shadow: var(--sombra-pegatina);
  font-size: 0.9rem;
}
.cookies[hidden] { display: none; }
.cookies__botones { display: flex; gap: 0.6rem; margin-top: 0.9rem; }
.cookies__botones .boton { flex: 1; padding: 0.6em 1em; }

/* ── Revelado al hacer scroll ── */
.revelar--js { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.revelar--js.es-visible { opacity: 1; transform: none; }
.paso.revelar--js.es-visible:nth-child(2) { transform: rotate(0.6deg); transition-delay: 0.1s; }
.paso.revelar--js.es-visible:nth-child(3) { transform: rotate(-0.6deg); transition-delay: 0.2s; }

.aviso-cancelado { max-width: var(--ancho); margin: 0 auto 0.5rem; padding: 0.7rem 1rem; background: var(--resalte); border-block: 2px solid var(--tinta); font-weight: 700; text-align: center; }

/* ── Páginas simples (legal, gracias, seguimiento) ── */
.contenido { max-width: 780px; margin: 0 auto; padding: 1.5rem 1rem 4rem; }
.contenido h1 { font-size: clamp(2.2rem, 8vw, 3.4rem); margin-bottom: 1.4rem; }
.contenido h2 { font-size: 1.5rem; margin: 2rem 0 0.6rem; }
.contenido p, .contenido li { color: var(--tinta-suave); }
.contenido p + p { margin-top: 0.8rem; }
.contenido ul, .contenido ol { padding-left: 1.2rem; display: grid; gap: 0.4rem; }
.datos { list-style: none; padding: 1rem 1.2rem !important; background: var(--papel); border: 2px solid var(--tinta); border-radius: 14px; }
.modelo { background: var(--papel); border: 2px dashed var(--tinta); border-radius: 14px; padding: 1.2rem; display: grid; gap: 0.6rem; }
.tabla--legal { min-width: 0; font-size: 0.88rem; }
.tabla--legal th, .tabla--legal td { text-align: left; }
.legal__fecha { margin-top: 2.5rem; font-size: 0.85rem; }
.enlace { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; color: var(--acento-oscuro); font-weight: 700; }

.gracias { display: grid; gap: 1rem; justify-items: start; }
.gracias__sello { width: 72px; height: 72px; border-radius: 16px; background: var(--acento); color: #fff8ee; display: grid; place-items: center; border: 2px solid var(--tinta); transform: rotate(-6deg); }
.gracias__sello svg { width: 38px; height: 38px; }
.gracias h1 { margin: 0; }
.gracias__lead { font-size: 1.2rem; color: var(--tinta) !important; }
.gracias__pasos { background: var(--papel); border: 2px solid var(--tinta); border-radius: 16px; padding: 1.1rem 1.1rem 1.1rem 2.2rem !important; width: 100%; }

.seguimiento { display: grid; gap: 1rem; background: var(--papel); border: 2px solid var(--tinta); border-radius: 18px; padding: 1.3rem; }
.seguimiento label { display: grid; gap: 0.35rem; font-weight: 700; }
.seguimiento input { font: inherit; padding: 0.8em 0.9em; border: 2px solid var(--linea); border-radius: 12px; background: #fff; }
.seguimiento input:focus { border-color: var(--tinta); outline: none; }
.seguimiento__resultado, .seguimiento__aviso { margin-top: 1.4rem; padding: 1.2rem; border-radius: 16px; background: var(--resalte); border: 2px solid var(--tinta); display: grid; gap: 0.6rem; justify-items: start; }
.seguimiento__resultado p, .seguimiento__aviso { color: var(--tinta) !important; }

.pagina-admin .contenido { max-width: 1180px; }
.tabla--admin { font-size: 0.86rem; min-width: 820px; }
.tabla--admin td, .tabla--admin th { text-align: left; vertical-align: top; }
.estado { font-weight: 800; padding: 0.1em 0.5em; border-radius: 6px; background: rgba(43, 33, 27, 0.08); }
.estado--en_camino { background: rgba(47, 74, 58, 0.15); color: var(--secundario); }
.estado--error_cj { background: #fbe0db; color: #a3261b; }
.error { color: #a3261b; }
