/* ═════════════════════════════════════════════════════════════
   TRENDO · hoja de estilos

   Estilo sticker: fondo crema, trazo grueso color tinta, sombras
   duras sin difuminar y colores planos. Todo el color vive en las
   variables de :root — cambia esas cinco líneas y cambia el sitio.
   ═════════════════════════════════════════════════════════════ */

:root {
  --crema:     #FFF3E7;
  --crema-2:   #FDE9D6;
  --tinta:     #0B1320;
  --salmon:    #FA8072;
  --turquesa:  #2EC4B6;
  --amarillo:  #F2C14E;

  --blanco:    #FFFBF6;
  --tinta-70:  #0B1320b3;
  --tinta-55:  #0B13208c;
  --error:     #D93A4B;

  --borde: 3px solid var(--tinta);
  --sombra:    5px 5px 0 var(--tinta);
  --sombra-sm: 3px 3px 0 var(--tinta);
  --sombra-lg: 8px 8px 0 var(--tinta);

  --radio:   20px;
  --radio-s: 12px;
  --ancho: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--crema);
  background-image:
    radial-gradient(circle at 12% 8%,  #2EC4B61f, transparent 42%),
    radial-gradient(circle at 88% 2%,  #FA80721f, transparent 38%),
    radial-gradient(circle at 50% 96%, #F2C14E1f, transparent 45%);
  color: var(--tinta);
  font-family: ui-rounded, "SF Pro Rounded", "Nunito", ui-sans-serif, system-ui,
               -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 .5rem; font-weight: 800; }
p { margin: 0 0 1rem; }
a { color: inherit; }

.oculto { display: none !important; }

/* ── Iconos ─────────────────────────────────────────────────── */

.ico { width: 1em; height: 1em; display: block; flex: none; }
.ico-xs { width: 1.05em; height: 1.05em; display: inline-block; vertical-align: -.18em; }
.ico-s  { width: 2.2rem; height: 2.2rem; }

.c-salmon   { color: var(--salmon); }
.c-turquesa { color: var(--turquesa); }
.c-amarillo { color: var(--amarillo); }
.c-crema    { color: var(--crema); }

/* ── Barra superior ─────────────────────────────────────────── */

.barra {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem clamp(1rem, 4vw, 2.5rem);
  background: var(--crema);
  border-bottom: var(--borde);
}

.marca {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}

.marca-logo {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: var(--borde);
  border-radius: 10px;
  background: var(--salmon);
  color: var(--amarillo);
  box-shadow: var(--sombra-sm);
  font-size: 1.35rem;
}

.marca-texto {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.barra-nav { display: flex; align-items: center; gap: 1.3rem; font-size: .92rem; font-weight: 600; }
.barra-nav a { color: var(--tinta-70); text-decoration: none; transition: color .15s; }
.barra-nav a:hover { color: var(--tinta); }

.barra-cta {
  padding: .5rem 1.1rem;
  border: var(--borde);
  border-radius: 999px;
  background: var(--amarillo);
  color: var(--tinta) !important;
  font-weight: 800;
  box-shadow: var(--sombra-sm);
  transition: transform .12s, box-shadow .12s;
}
.barra-cta:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--tinta); }

@media (max-width: 720px) {
  .barra-nav a:not(.barra-cta) { display: none; }
}

/* ── Botones ────────────────────────────────────────────────── */

.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.7rem;
  border: var(--borde);
  border-radius: 999px;
  background: var(--blanco);
  color: var(--tinta);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--sombra);
  transition: transform .12s, box-shadow .12s, opacity .15s;
}
.boton:hover { transform: translate(-2px, -2px); box-shadow: var(--sombra-lg); }
.boton:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--tinta); }
.boton:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: var(--sombra); }

.boton-primario { background: var(--salmon); }
.boton-fantasma { background: transparent; box-shadow: none; }
.boton-fantasma:hover { background: var(--blanco); box-shadow: var(--sombra-sm); transform: translate(-1px,-1px); }
.boton-ancho { width: 100%; }

/* CTA principal: es la acción más importante del sitio, así que pesa más. */
.boton-xl {
  padding: 1.15rem 2.4rem;
  font-size: 1.18rem;
  border-width: 4px;
  box-shadow: 7px 7px 0 var(--tinta);
}
.boton-xl:hover { box-shadow: 10px 10px 0 var(--tinta); }
.boton-xl .ico-xs { width: 1.35em; height: 1.35em; color: var(--amarillo); }
@media (max-width: 480px) {
  .boton-xl { width: 100%; padding: 1.05rem 1.5rem; font-size: 1.08rem; }
}

/* ── Botón flotante de WhatsApp ─────────────────────────────── */

.wa-flotante {
  position: fixed;
  right: clamp(.9rem, 3vw, 1.6rem);
  bottom: clamp(.9rem, 3vw, 1.6rem);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem 1.15rem .7rem .8rem;
  border: var(--borde);
  border-radius: 999px;
  background: #25D366;
  color: var(--tinta);
  font-weight: 800;
  font-size: .95rem;
  text-decoration: none;
  box-shadow: var(--sombra);
  transition: transform .15s, box-shadow .15s;
}
.wa-flotante:hover { transform: translate(-2px, -2px); box-shadow: var(--sombra-lg); }
.wa-flotante:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--tinta); }
.wa-flotante .ico { width: 1.9rem; height: 1.9rem; }

/* En móvil se deja solo el círculo, para no tapar contenido. */
@media (max-width: 560px) {
  .wa-flotante { padding: .7rem; }
  .wa-texto { display: none; }
}

.enlace-boton {
  margin-top: .9rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--tinta-70);
  font: inherit;
  font-size: .87rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-style: wavy;
  text-underline-offset: 4px;
  text-decoration-color: var(--salmon);
  cursor: pointer;
}
.enlace-boton:hover { color: var(--tinta); }

/* ── Hero ───────────────────────────────────────────────────── */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: var(--ancho);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1rem, 4vw, 2.5rem);
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-acciones, .hero-datos { justify-content: center; }
}

.pildora {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 1.3rem;
  padding: .4rem 1rem;
  border: var(--borde);
  border-radius: 999px;
  background: var(--turquesa);
  box-shadow: var(--sombra-sm);
  font-size: .82rem;
  font-weight: 700;
}
.pildora .ico-xs { color: var(--amarillo); }

.hero h1 {
  font-size: clamp(2.4rem, 6.5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  margin-bottom: 1.1rem;
}

.resaltado {
  position: relative;
  display: inline-block;
  padding: 0 .18em;
  color: var(--crema);
  background: var(--tinta);
  border-radius: 8px;
  transform: rotate(-1.5deg);
}

.hero-sub {
  max-width: 34rem;
  margin-bottom: 2rem;
  color: var(--tinta-70);
  font-size: clamp(1rem, 2.1vw, 1.13rem);
}
@media (max-width: 900px) { .hero-sub { margin-inline: auto; } }

.hero-acciones { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.6rem; }

.hero-datos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.hero-datos li { display: flex; flex-direction: column; }
.hero-datos strong { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.03em; }
.hero-datos span { font-size: .78rem; color: var(--tinta-55); font-weight: 600; }

/* Arte del hero */

.hero-arte {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
}

.arte-telefono {
  display: grid;
  place-items: center;
  width: min(270px, 70%);
  aspect-ratio: 1;
  border: var(--borde);
  border-radius: 32px;
  background: var(--crema-2);
  box-shadow: var(--sombra-lg);
  transform: rotate(-4deg);
}
.ico-telefono { width: 62%; height: 62%; color: var(--turquesa); }

.flota {
  position: absolute;
  width: 3.6rem;
  height: 3.6rem;
  filter: drop-shadow(3px 3px 0 var(--tinta));
  animation: flotar 4.5s ease-in-out infinite;
}
.flota-1 { top: 2%;  left: 6%;   animation-delay: 0s;   width: 4.2rem; height: 4.2rem; }
.flota-2 { top: 14%; right: 2%;  animation-delay: .8s; }
.flota-3 { bottom: 16%; left: 0%; animation-delay: 1.6s; }
.flota-4 { bottom: 2%; right: 12%; animation-delay: 2.4s; width: 3rem; height: 3rem; }

@keyframes flotar {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50%      { transform: translateY(-12px) rotate(6deg); }
}

/* ── Sello de garantía ──────────────────────────────────────── */

.sello {
  position: absolute;
  right: -2%;
  bottom: 4%;
  width: 8.5rem;
  transform: rotate(-12deg);
  filter: drop-shadow(4px 4px 0 var(--tinta));
  animation: sello-late 6s ease-in-out infinite;
}
@keyframes sello-late {
  0%, 100% { transform: rotate(-12deg) scale(1); }
  50%      { transform: rotate(-9deg) scale(1.04); }
}
@media (max-width: 900px) { .sello { right: 4%; bottom: -4%; width: 7rem; } }

.sello-rayos  { fill: var(--amarillo); stroke: var(--tinta); stroke-width: 4; stroke-linejoin: round; }
.sello-disco  { fill: var(--crema); stroke: var(--tinta); stroke-width: 4; }
.sello-centro { fill: var(--turquesa); stroke: var(--tinta); stroke-width: 4; }
.sello-check  { fill: none; stroke: var(--crema); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.sello-texto {
  fill: var(--tinta);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .5px;
  font-family: inherit;
}

/* ── Secciones ──────────────────────────────────────────────── */

.seccion {
  max-width: var(--ancho);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 4vw, 2.5rem);
  scroll-margin-top: 5rem;
}

.seccion-oscura {
  max-width: none;
  margin: clamp(1rem, 4vw, 3rem) 0;
  background: var(--tinta);
  color: var(--crema);
  border-block: var(--borde);
}
.seccion-oscura > * { max-width: var(--ancho); margin-inline: auto; }
.seccion-oscura .seccion-titulo p { color: #FFF3E7a6; }

.seccion-crema {
  max-width: none;
  background: var(--crema-2);
  border-block: var(--borde);
}
.seccion-crema > * { max-width: var(--ancho); margin-inline: auto; }

.seccion-titulo { text-align: center; margin-bottom: 2.8rem; }
.seccion-titulo h2 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
.seccion-titulo p { color: var(--tinta-70); margin: 0; max-width: 38rem; margin-inline: auto; }

.etiqueta-seccion {
  display: inline-block;
  margin-bottom: .8rem;
  padding: .28rem .9rem;
  border: var(--borde);
  border-radius: 999px;
  background: var(--amarillo);
  color: var(--tinta);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  box-shadow: var(--sombra-sm);
  transform: rotate(-1.5deg);
}

/* ── Cómo piensa el algoritmo ───────────────────────────────── */

.algoritmo-pasos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
  padding: 0;
  margin: 0 auto;
  list-style: none;
}

.algoritmo-pasos li {
  position: relative;
  padding: 2.2rem 1.5rem 1.5rem;
  border: var(--borde);
  border-radius: var(--radio);
  background: var(--crema);
  color: var(--tinta);
  box-shadow: var(--sombra);
}

.algo-ico {
  display: grid;
  place-items: center;
  width: 4.6rem;
  height: 4.6rem;
  margin-bottom: 1.1rem;
  font-size: 3.4rem;
}

.algo-num {
  position: absolute;
  top: -1rem;
  right: 1.2rem;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: var(--borde);
  border-radius: 50%;
  background: var(--blanco);
  font-weight: 900;
  box-shadow: var(--sombra-sm);
}

.algoritmo-pasos h3 { font-size: 1.2rem; }
.algoritmo-pasos p { margin: 0; color: var(--tinta-70); font-size: .94rem; }

.algoritmo-cierre {
  max-width: 44rem;
  margin: 2.5rem auto 0;
  padding: 1.1rem 1.4rem;
  border: 3px dashed var(--crema);
  border-radius: var(--radio);
  text-align: center;
  font-size: 1.02rem;
  font-weight: 700;
}

/* ── Avisos ─────────────────────────────────────────────────── */

.aviso {
  margin: 0 auto 1.6rem;
  padding: .95rem 1.2rem;
  border: var(--borde);
  border-radius: var(--radio-s);
  box-shadow: var(--sombra-sm);
  font-size: .9rem;
}
.aviso code {
  background: #0B132014;
  padding: .1rem .35rem;
  border-radius: 5px;
  font-size: .88em;
}
.aviso-test  { background: var(--amarillo); }
.aviso-error { background: var(--salmon); }

/* ── Formulario del pedido ──────────────────────────────────── */

.pedido {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(290px, 1fr);
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 920px) { .pedido { grid-template-columns: 1fr; } }

.paso {
  grid-column: 1;
  margin: 0 0 1.3rem;
  padding: 1.5rem clamp(1rem, 3vw, 1.7rem);
  border: var(--borde);
  border-radius: var(--radio);
  background: var(--blanco);
  box-shadow: var(--sombra);
}
@media (max-width: 920px) { .paso { grid-column: auto; } }

/* El <legend> por defecto se incrusta en el borde del fieldset y lo parte
   por la mitad. Al flotarlo se comporta como un bloque normal dentro de la
   tarjeta y el borde queda entero. El hermano siguiente limpia el float. */
.paso legend {
  float: left;
  width: 100%;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: 0;
  margin-bottom: .2rem;
  font-weight: 800;
  font-size: 1.08rem;
}
.paso legend + * { clear: both; }

.paso-num {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border: var(--borde);
  border-radius: 50%;
  background: var(--turquesa);
  font-size: .88rem;
  font-weight: 900;
}

/* Tarjetas de servicio */

.servicios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: .85rem;
  margin-top: 1.3rem;
}

.servicio {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: 1.1rem;
  border: var(--borde);
  border-radius: var(--radio-s);
  background: var(--crema);
  cursor: pointer;
  transition: transform .12s, box-shadow .12s, background .15s;
}
.servicio:hover { transform: translate(-2px, -2px); box-shadow: var(--sombra); }
.servicio input { position: absolute; opacity: 0; pointer-events: none; }
.servicio-emoji { font-size: 1.7rem; line-height: 1.2; }
.servicio-nombre { font-weight: 800; font-size: 1.05rem; }
.servicio-tarifa { font-size: .82rem; font-weight: 700; color: var(--tinta); }
.servicio-entrega { font-size: .74rem; color: var(--tinta-55); font-weight: 600; }
.servicio-minimo {
  margin-top: .3rem;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--tinta-55);
}

.servicio:has(input:checked) { background: var(--amarillo); box-shadow: var(--sombra); }
.servicio:has(input:focus-visible) { outline: 3px solid var(--turquesa); outline-offset: 3px; }

/* Campos */

.campo { display: block; margin-top: 1.2rem; }
.campo > span { display: block; margin-bottom: .4rem; font-size: .88rem; font-weight: 700; }
.campo em { font-style: normal; color: var(--salmon); }
.campo em.opcional { color: var(--tinta-55); font-weight: 600; }

input[type="text"], input[type="url"], input[type="email"],
input[type="tel"], input[type="number"] {
  width: 100%;
  padding: .8rem .95rem;
  border: var(--borde);
  border-radius: var(--radio-s);
  background: var(--crema);
  color: var(--tinta);
  font: inherit;
  font-weight: 600;
  transition: box-shadow .12s, background .15s;
}
input:focus {
  outline: none;
  background: var(--blanco);
  box-shadow: var(--sombra-sm);
}
input::placeholder { color: var(--tinta-55); font-weight: 500; }

.ayuda { display: block; margin-top: .5rem; font-size: .8rem; color: var(--tinta-55); font-weight: 600; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0 1rem; }
.campo-ancho { grid-column: 1 / -1; }

.error {
  margin: .7rem 0 0;
  color: var(--error);
  font-size: .87rem;
  font-weight: 700;
}
.error:empty { margin: 0; }
.error-global { text-align: center; margin-top: 1.5rem; }

/* Paquetes y cantidad */

.paquetes { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.3rem; }

.paquete {
  padding: .55rem 1.05rem;
  border: var(--borde);
  border-radius: 999px;
  background: var(--crema);
  color: var(--tinta);
  font: inherit;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .12s, box-shadow .12s, background .15s;
}
.paquete:hover { transform: translate(-1px, -1px); box-shadow: var(--sombra-sm); }
.paquete[aria-pressed="true"] { background: var(--turquesa); box-shadow: var(--sombra-sm); }
.paquete small { opacity: .7; font-weight: 600; }

.cantidad {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.4rem;
  align-items: start;
  margin-top: 1.6rem;
}
@media (max-width: 560px) { .cantidad { grid-template-columns: 1fr; } }

.cantidad-slider { padding-top: .4rem; }
.cantidad-limites {
  display: flex;
  justify-content: space-between;
  margin-top: .5rem;
  font-size: .73rem;
  font-weight: 700;
  color: var(--tinta-55);
}

.cantidad-manual { display: flex; flex-direction: column; gap: .35rem; }
.cantidad-manual label { font-size: .76rem; font-weight: 700; color: var(--tinta-55); }
.cantidad-manual input { width: 9.5rem; text-align: center; font-weight: 800; font-size: 1.05rem; }

input[type="range"] {
  width: 100%;
  height: 14px;
  appearance: none;
  border: var(--borde);
  border-radius: 999px;
  background: var(--crema);
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--salmon);
  border: 3px solid var(--tinta);
  cursor: grab;
  box-shadow: 2px 2px 0 var(--tinta);
}
input[type="range"]::-webkit-slider-thumb:active { cursor: grabbing; }
input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--salmon);
  border: 3px solid var(--tinta);
  cursor: grab;
}
input[type="range"]:focus-visible { box-shadow: var(--sombra-sm); }

.tarifa {
  margin: 1.2rem 0 0;
  font-size: .9rem;
  font-weight: 700;
  color: var(--tinta-70);
}

/* ── Resumen ────────────────────────────────────────────────── */

.resumen {
  position: sticky;
  top: 5.5rem;
  grid-column: 2;
  grid-row: 1 / span 4;
  padding: 1.5rem;
  border: var(--borde);
  border-radius: var(--radio);
  background: var(--turquesa);
  box-shadow: var(--sombra-lg);
}
@media (max-width: 920px) { .resumen { position: static; grid-column: auto; grid-row: auto; } }

.resumen h3 { display: flex; align-items: center; gap: .45rem; font-size: 1.1rem; margin-bottom: 1.1rem; }
.resumen h3 .ico-xs { color: var(--amarillo); }
.resumen dl { margin: 0 0 1.3rem; display: grid; gap: .6rem; }
.resumen dl > div { display: flex; justify-content: space-between; gap: 1rem; font-size: .88rem; }
.resumen dt { flex: none; font-weight: 600; opacity: .85; }
.resumen dd { margin: 0; text-align: right; font-weight: 800; }

.truncar {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 11rem;
  direction: rtl;
}

.resumen-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem;
  padding-top: 1.1rem;
  margin-bottom: 1.2rem;
  border-top: var(--borde);
}
.resumen-total span { font-size: .85rem; font-weight: 700; opacity: .85; }
.resumen-total strong { font-size: 1.9rem; font-weight: 900; letter-spacing: -0.04em; }

/* Ojo: aquí NO se puede usar flex. El <strong>Bold</strong> del interior se
   convertiría en su propio flex item y partiría la frase en columnas. */
.resumen-nota {
  margin: 1.1rem 0 0;
  font-size: .76rem;
  font-weight: 600;
  line-height: 1.5;
}
.resumen-nota .ico-xs { color: var(--crema); margin-right: .25rem; }

/* ── Checkout ───────────────────────────────────────────────── */

.checkout {
  max-width: 34rem;
  margin: 0 auto;
  padding: 2rem;
  border: var(--borde);
  border-radius: var(--radio);
  background: var(--blanco);
  box-shadow: var(--sombra-lg);
  text-align: center;
}
.checkout h3 { font-size: 1.5rem; }
.checkout-detalle { color: var(--tinta-70); font-size: .95rem; }
.bold-container { margin: 1.6rem 0 1rem; min-height: 54px; display: flex; justify-content: center; }
.checkout-orden { font-size: .78rem; color: var(--tinta-55); font-weight: 600; }
.checkout-orden code { background: var(--crema-2); border: 2px solid var(--tinta); padding: .1rem .4rem; border-radius: 6px; }

/* ── Garantía ───────────────────────────────────────────────── */

.garantia {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  padding: clamp(1.8rem, 4vw, 3rem);
  border: var(--borde);
  border-radius: var(--radio);
  background: var(--blanco);
  box-shadow: var(--sombra-lg);
}
@media (max-width: 880px) { .garantia { grid-template-columns: 1fr; text-align: center; } }

.garantia-sello { display: grid; place-items: center; }
.garantia-sello svg { width: min(240px, 80%); filter: drop-shadow(5px 5px 0 var(--tinta)); }

.garantia-texto h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: 1.5rem; }

.garantia-lista { display: grid; gap: 1.1rem; padding: 0; margin: 0; list-style: none; text-align: left; }
.garantia-lista li { display: flex; gap: .9rem; align-items: flex-start; }
.garantia-lista strong { display: block; font-size: 1rem; margin-bottom: .1rem; }
.garantia-lista div { font-size: .9rem; color: var(--tinta-70); }

/* ── Reseñas ────────────────────────────────────────────────── */

.resenas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.4rem;
}

.resena {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: var(--borde);
  border-radius: var(--radio);
  background: var(--blanco);
  box-shadow: var(--sombra);
  transition: transform .15s;
}
.resena:nth-child(odd)  { transform: rotate(-.7deg); }
.resena:nth-child(even) { transform: rotate(.7deg); }
.resena:hover { transform: rotate(0) translate(-2px, -2px); box-shadow: var(--sombra-lg); }

.r-salmon   { background: #FA807226; }
.r-turquesa { background: #2EC4B626; }
.r-amarillo { background: #F2C14E30; }

.resena-estrellas { display: flex; gap: .18rem; margin-bottom: .9rem; font-size: 1.1rem; color: var(--amarillo); }

.resena p { flex: 1; margin: 0 0 1.2rem; font-size: .94rem; font-weight: 600; }

.resena footer { display: flex; align-items: center; gap: .75rem; padding-top: 1rem; border-top: 2px dashed var(--tinta-55); }
.resena footer strong { display: block; font-size: .95rem; }
.resena footer small { font-size: .76rem; color: var(--tinta-55); font-weight: 600; }

.avatar {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  flex: none;
  border: var(--borde);
  border-radius: 50%;
  background: var(--crema);
  font-size: .85rem;
  font-weight: 900;
}
.avatar::after { content: attr(data-avatar); }
.resena:nth-child(3n+1) .avatar { background: var(--salmon); }
.resena:nth-child(3n+2) .avatar { background: var(--turquesa); }
.resena:nth-child(3n+3) .avatar { background: var(--amarillo); }

/* ── FAQ ────────────────────────────────────────────────────── */

.faq { max-width: 46rem; margin: 0 auto; display: grid; gap: .8rem; }

.faq details {
  border: var(--borde);
  border-radius: var(--radio-s);
  background: var(--blanco);
  box-shadow: var(--sombra-sm);
  overflow: hidden;
}
.faq details[open] { box-shadow: var(--sombra); }
.faq summary {
  padding: 1.05rem 1.3rem;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  flex: none;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid var(--tinta);
  border-radius: 50%;
  background: var(--amarillo);
  font-weight: 900;
  line-height: 1;
}
.faq details[open] summary::after { content: '−'; background: var(--salmon); }
.faq p { margin: 0; padding: 0 1.3rem 1.3rem; color: var(--tinta-70); font-size: .93rem; }

/* ── Pie ────────────────────────────────────────────────────── */

.pie {
  margin-top: clamp(2rem, 5vw, 4rem);
  padding: 2.8rem clamp(1rem, 4vw, 2.5rem) 3.5rem;
  border-top: var(--borde);
  background: var(--tinta);
  color: var(--crema);
  text-align: center;
  font-size: .88rem;
}
.pie-marca {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .8rem;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.pie-marca .marca-logo { box-shadow: 3px 3px 0 var(--crema); border-color: var(--crema); }
.pie p { margin: .4rem 0; }
.pie-contacto a { color: var(--amarillo); font-weight: 800; }
.pie-legal { max-width: 42rem; margin: 1.4rem auto 0; font-size: .76rem; opacity: .65; }

/* ── Pop-up de cantidad mínima ──────────────────────────────── */

.modal {
  width: min(460px, calc(100vw - 2rem));
  padding: 2rem;
  border: var(--borde);
  border-radius: var(--radio);
  background: var(--crema);
  color: var(--tinta);
  box-shadow: var(--sombra-lg);
  text-align: center;
}
.modal::backdrop { background: #0B1320a6; }

.modal-cerrar {
  position: absolute;
  top: .8rem;
  right: .9rem;
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--tinta);
  border-radius: 50%;
  background: var(--blanco);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}
.modal-cerrar:hover { background: var(--salmon); }

.modal-ico {
  display: inline-grid;
  place-items: center;
  width: 3.8rem;
  height: 3.8rem;
  margin-bottom: .9rem;
  font-size: 2.6rem;
}
.modal h3 { font-size: 1.35rem; margin-bottom: .9rem; }
.modal p { font-size: .93rem; color: var(--tinta-70); }
.modal-razon { margin-bottom: 1.3rem; }

.modal-nequi {
  margin-bottom: 1.4rem;
  padding: 1.1rem;
  border: 3px dashed var(--tinta);
  border-radius: var(--radio-s);
  background: var(--turquesa);
  font-size: .89rem;
  font-weight: 600;
  text-align: left;
}
.modal-nequi strong:first-child { display: block; margin-bottom: .35rem; font-size: .97rem; }

.modal .boton { margin-bottom: .7rem; }

/* ── Página de gracias ──────────────────────────────────────── */

.gracias {
  max-width: 35rem;
  margin: clamp(2.5rem, 8vw, 5rem) auto;
  padding: 2.6rem clamp(1.3rem, 4vw, 2.5rem);
  border: var(--borde);
  border-radius: var(--radio);
  background: var(--blanco);
  box-shadow: var(--sombra-lg);
  text-align: center;
}
.gracias-icono { font-size: 3.4rem; line-height: 1; margin-bottom: .8rem; }
.gracias h1 { font-size: clamp(1.6rem, 5vw, 2.1rem); }
.gracias > p { color: var(--tinta-70); }

.gracias-detalle {
  margin: 1.6rem 0;
  padding: 1.2rem;
  border: var(--borde);
  border-radius: var(--radio-s);
  background: var(--crema);
  text-align: left;
  font-size: .9rem;
}
.gracias-detalle div { display: flex; justify-content: space-between; gap: 1rem; padding: .25rem 0; }
.gracias-detalle span:first-child { color: var(--tinta-55); font-weight: 600; }
.gracias-detalle span:last-child { font-weight: 800; text-align: right; word-break: break-all; }

.cargando {
  display: inline-block;
  width: 1.4rem; height: 1.4rem;
  border: 3px solid var(--tinta);
  border-top-color: var(--salmon);
  border-radius: 50%;
  animation: girar .8s linear infinite;
  vertical-align: -.2rem;
}
@keyframes girar { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}
