/* =====================================================================
   ESTILOS DE CONEC MATE
   Pensado primero para celular. Los cambios para pantallas grandes
   están al final, dentro de @media (min-width: ...).
   ===================================================================== */

/* ---------- Variables de marca: cambiar acá cambia toda la web ---------- */
:root {
  --amarillo: #F2B233;
  --verde: #1F4D2E;
  --crema: #FFF7E6;
  --blanco: #FFFFFF;
  --rojo-aviso: #B3261E;

  --letra-titulos: "Lilita One", "Arial Rounded MT Bold", sans-serif;
  --letra-textos: "DM Sans", system-ui, sans-serif;

  --borde: 3px solid var(--verde);
  --redondeo: 24px;
  --redondeo-chico: 16px;
  --sombra-dura: 5px 5px 0 var(--verde);   /* sombra plana, sin difuminar */
  --margen: 20px;                           /* aire a los costados en celular */
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--crema);
  color: var(--verde);
  font-family: var(--letra-textos);
  font-size: 20px;          /* letra grande para leer cómodo */
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: var(--letra-titulos);
  font-weight: 400;         /* Lilita One ya es gruesa de por sí */
  line-height: 1.1;
  margin: 0;
}

p { margin: 0; }

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

/* Lo que app.js esconde (por ejemplo los bloques del otro modo) no se ve nunca */
[hidden] { display: none !important; }

/* Contorno bien visible cuando se navega con teclado */
:focus-visible {
  outline: 4px solid var(--amarillo);
  outline-offset: 3px;
}

/* ---------- Botones ---------- */
.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 60px;
  padding: 14px 28px;
  border: var(--borde);
  border-radius: 999px;
  font-family: var(--letra-titulos);
  font-size: 1.3rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--sombra-dura);
  transition: transform .1s, box-shadow .1s;
}
/* Al tocarlo, el botón "se hunde" */
.boton:active {
  transform: translate(5px, 5px);
  box-shadow: 0 0 0 var(--verde);
}

.boton--amarillo { background: var(--amarillo); color: var(--verde); }
.boton--crema    { background: var(--crema);    color: var(--verde); }
.boton--whatsapp {
  width: 100%;
  background: var(--verde);
  color: var(--crema);
  font-size: 1.45rem;
  min-height: 72px;
  box-shadow: 5px 5px 0 var(--amarillo);
}
.boton--whatsapp:active { box-shadow: 0 0 0 var(--amarillo); }
.boton__icono { width: 32px; height: 32px; flex-shrink: 0; }

/* ---------- Banda de arriba (cinta que pasa) ---------- */
.banda {
  background: var(--amarillo);
  color: var(--verde);
  border-bottom: 3px solid var(--verde);
  overflow: hidden;
}
.banda__pista {
  display: flex;
  width: max-content;
  animation: banda 40s linear infinite;   /* más segundos = más lento */
}
.banda:hover .banda__pista { animation-play-state: paused; }
.banda__tira { display: flex; list-style: none; margin: 0; padding: 0; }
.banda__item {
  display: flex;
  align-items: center;
  padding: 10px 0;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}
/* Separador: una ondita de wifi, como la del logo */
.banda__item::after {
  content: "";
  width: 18px;
  height: 9px;
  margin: 0 20px;
  border: 4px solid var(--verde);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}
/* Corre la cinta hasta la mitad (donde empieza la copia) y vuelve a empezar */
@keyframes banda { to { transform: translateX(-50%); } }

/* ---------- 1. Inicio ---------- */
.inicio {
  position: relative;
  overflow: hidden;
  background: var(--verde);
  color: var(--crema);
  padding: 36px var(--margen) 0;
  text-align: center;
}

/* Ondas gigantes de fondo: crema casi transparente, planas */
.inicio__ondas {
  position: absolute;
  top: 70px;
  left: 50%;
  width: 760px;
  translate: -50% 0;
  fill: none;
  stroke: var(--crema);
  stroke-width: 18;
  stroke-linecap: round;
  opacity: .07;
  pointer-events: none;
}

/* Sello circular que gira */
.sello {
  position: absolute;
  top: 14px;
  right: 10px;
  width: 92px;
  height: 92px;
  rotate: 12deg;
  animation: girar 20s linear infinite;
}
.sello circle { fill: var(--amarillo); stroke: var(--crema); stroke-width: 3; }
.sello text {
  fill: var(--verde);
  font-family: var(--letra-titulos);
  font-size: 12.5px;
  letter-spacing: .6px;
}
.sello__centro path:first-child { fill: none; stroke: var(--verde); }
.sello__centro path:last-child { fill: var(--verde); }
@keyframes girar { to { rotate: 372deg; } }

.inicio__contenido {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Ícono animado: el mate se balancea y las ondas se "conectan" */
.senal { width: 120px; height: 120px; overflow: visible; }
.senal__onda { fill: none; stroke: var(--amarillo); stroke-width: 32; stroke-linecap: round; }
.senal__onda--1 { animation: onda1 3.6s ease-in-out infinite; }
.senal__onda--2 { animation: onda2 3.6s ease-in-out infinite; }
.senal__cuerpo { fill: var(--amarillo); }
.senal__bombilla { stroke: var(--amarillo); stroke-width: 20; stroke-linecap: round; }
.senal__linea { stroke: var(--verde); stroke-width: 10; stroke-linecap: round; }
.senal__mate {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: balanceo 3.6s ease-in-out infinite;
}
@keyframes onda1 { 0%, 10% { opacity: .15; } 25%, 85% { opacity: 1; } 100% { opacity: .15; } }
@keyframes onda2 { 0%, 25% { opacity: .15; } 40%, 85% { opacity: 1; } 100% { opacity: .15; } }
@keyframes balanceo { 0%, 60%, 100% { rotate: 0deg; } 70% { rotate: -6deg; } 80% { rotate: 4deg; } }

/* La marca: letras grandes, cada una con su inclinación y sombra dura */
.marca {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 .22em;
  font-family: var(--letra-titulos);
  font-size: clamp(3.6rem, 18vw, 6.5rem);
  line-height: .95;
}
.marca__palabra { display: inline-flex; }
.marca__palabra span { display: inline-block; animation: caer .7s cubic-bezier(.3, 1.6, .5, 1) both; }
.marca__palabra--conec span { color: var(--crema); text-shadow: 5px 5px 0 var(--amarillo); }
.marca__palabra--mate span { color: var(--amarillo); text-shadow: 5px 5px 0 var(--crema); }
/* Inclinaciones distintas: le dan el "juego" sin perder lo plano */
.marca__palabra span:nth-child(odd) { rotate: -5deg; }
.marca__palabra span:nth-child(even) { rotate: 4deg; translate: 0 4px; }
/* Las letras caen una atrás de la otra */
.marca__palabra--conec span:nth-child(2) { animation-delay: .06s; }
.marca__palabra--conec span:nth-child(3) { animation-delay: .12s; }
.marca__palabra--conec span:nth-child(4) { animation-delay: .18s; }
.marca__palabra--conec span:nth-child(5) { animation-delay: .24s; }
.marca__palabra--mate span:nth-child(1) { animation-delay: .34s; }
.marca__palabra--mate span:nth-child(2) { animation-delay: .40s; }
.marca__palabra--mate span:nth-child(3) { animation-delay: .46s; }
.marca__palabra--mate span:nth-child(4) { animation-delay: .52s; }
@keyframes caer { from { opacity: 0; transform: translateY(-40px); } to { opacity: 1; transform: none; } }

.inicio__eslogan { font-size: 1.7rem; color: var(--crema); max-width: 16ch; margin-top: 6px; }
.inicio__bajada { max-width: 28ch; }
.inicio .boton { margin-top: 8px; border-color: var(--crema); box-shadow: 5px 5px 0 var(--crema); }
.inicio .boton:active { box-shadow: 0 0 0 var(--crema); }

/* Vitrina: los paquetes flotando en abanico */
.vitrina {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 210px;
  margin: 30px auto -56px;   /* se mete un poco en la sección de abajo */
}
.vitrina__paquete {
  width: 118px;
  height: 152px;
  margin: 0 -10px;
  padding: 8px;
  background: var(--blanco);
  border: 3px solid var(--verde);
  border-radius: 20px;
  box-shadow: 6px 6px 0 var(--amarillo);
  animation: flotar 5s ease-in-out infinite;
}
.vitrina__paquete:nth-child(1) { rotate: -9deg; animation-delay: -1.5s; }
.vitrina__paquete:nth-child(2) { rotate: 2deg; z-index: 1; width: 134px; height: 174px; margin-bottom: 24px; }
.vitrina__paquete:nth-child(3) { rotate: 10deg; animation-delay: -3s; }
.vitrina .producto__foto,
.vitrina .producto__paquete { width: 100%; height: 100%; border: 0; padding: 0; }
.vitrina .producto__paquete svg { width: 100%; height: 100%; }
@keyframes flotar { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* Borde de abajo en onda */
.inicio__borde {
  position: relative;
  z-index: 1;
  display: block;
  width: calc(100% + 2 * var(--margen));
  height: 40px;
  margin: 0 calc(-1 * var(--margen));
  fill: var(--crema);
}

/* ---------- Secciones ---------- */
.seccion {
  padding: 56px var(--margen);
  max-width: 720px;
  margin: 0 auto;
}
.seccion__titulo { font-size: 2.2rem; margin-bottom: 8px; }
.seccion__bajada { margin-bottom: 28px; }

/* La sección amarilla ocupa todo el ancho, con puntas redondeadas */
.seccion--amarilla {
  background: var(--amarillo);
  max-width: none;
  border-radius: 40px;
  margin: 0 8px;
}
.seccion--amarilla > * { max-width: 720px; margin-left: auto; margin-right: auto; }
.seccion--amarilla .seccion__titulo { margin-bottom: 28px; }

/* ---------- 2. Tarjetas de producto ---------- */
.productos { display: grid; gap: 24px; }

.producto {
  background: var(--blanco);
  border: var(--borde);
  border-radius: var(--redondeo);
  box-shadow: var(--sombra-dura);
  padding: 20px;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 4px 16px;
  align-items: start;
}
.producto__paquete { grid-row: span 2; width: 88px; height: 110px; }
/* Foto del producto: marco crema redondeado, la foto entra entera sin recortarse */
.producto__foto {
  grid-row: span 2;
  width: 120px;
  height: 150px;
  overflow: hidden;            /* recorta lo que sobra del zoom */
  background: var(--blanco);   /* las fotos vienen con fondo blanco */
  border: var(--borde);
  border-radius: var(--redondeo-chico);
}
/* cover + un poco de zoom: saca el margen blanco y el paquete se ve más grande */
.producto__foto img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.producto { grid-template-columns: auto 1fr; }
.producto__nombre { font-size: 1.6rem; }
.producto__presentacion {
  display: inline-block;
  background: var(--verde);
  color: var(--crema);
  font-weight: 700;
  font-size: .9rem;
  padding: 2px 12px;
  border-radius: 999px;
  margin-top: 6px;
}
.producto__descripcion { grid-column: 1 / -1; margin-top: 12px; }
.producto__pie {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 3px dashed var(--verde);
}
.producto__precio { font-family: var(--letra-titulos); font-size: 1.4rem; }
.producto__precio--pendiente { font-size: 1.15rem; opacity: .75; }

/* Colores de los paquetes dibujados */
.paquete--amarillo { --relleno: var(--amarillo); --etiqueta: var(--verde); }
.paquete--verde    { --relleno: var(--verde);    --etiqueta: var(--amarillo); }
.paquete--crema    { --relleno: var(--crema);    --etiqueta: var(--verde); }

/* Selector de cantidad − / + */
.cantidad { display: flex; align-items: center; gap: 6px; }
.cantidad__boton {
  width: 56px;
  height: 56px;
  border: var(--borde);
  border-radius: var(--redondeo-chico);
  background: var(--amarillo);
  color: var(--verde);
  font-family: var(--letra-titulos);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.cantidad__boton:disabled { background: var(--crema); opacity: .45; cursor: default; }
.cantidad__numero {
  min-width: 44px;
  text-align: center;
  font-family: var(--letra-titulos);
  font-size: 1.8rem;
}
/* La tarjeta se marca cuando el producto ya está en el pedido */
.producto--elegido { background: var(--crema); outline: 4px solid var(--amarillo); outline-offset: -10px; }

/* ---------- 3. Cómo comprar ---------- */
.pasos { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.paso {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--crema);
  border: var(--borde);
  border-radius: var(--redondeo);
  padding: 20px;
}
.paso__numero {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--verde);
  color: var(--amarillo);
  font-family: var(--letra-titulos);
  font-size: 1.8rem;
  display: grid;
  place-items: center;
}
.paso__titulo { font-size: 1.4rem; margin-bottom: 4px; }

/* ---------- 4. Tu pedido ---------- */
.resumen {
  background: var(--blanco);
  border: var(--borde);
  border-radius: var(--redondeo);
  padding: 20px;
  margin: 20px 0 32px;
}
.resumen__vacio { text-align: center; padding: 12px 0; }
.resumen__vacio a { color: var(--verde); font-weight: 700; }
.resumen__lista { list-style: none; padding: 0; margin: 0; }
.resumen__item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 2px solid var(--crema);
}
.resumen__precio { white-space: nowrap; }
.resumen__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 3px solid var(--verde);
  font-family: var(--letra-titulos);
  font-size: 1.6rem;
}

.campo { border: 0; padding: 0; margin: 0 0 28px; }
.campo__etiqueta {
  display: block;
  font-family: var(--letra-titulos);
  font-size: 1.4rem;
  margin-bottom: 10px;
  padding: 0;
}
.campo__input {
  width: 100%;
  min-height: 64px;
  padding: 12px 18px;
  border: var(--borde);
  border-radius: var(--redondeo-chico);
  background: var(--blanco);
  color: var(--verde);
  font: inherit;
  font-size: 1.2rem;   /* 19px o más evita que el celular haga zoom solo */
}
.campo__input::placeholder { color: var(--verde); opacity: .5; }

/* Opciones de entrega: radio buttons con forma de tarjeta grande */
.entregas { display: grid; gap: 14px; }
.entrega { position: relative; display: block; cursor: pointer; }
.entrega input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.entrega__caja {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border: var(--borde);
  border-radius: var(--redondeo-chico);
  background: var(--blanco);
}
.entrega__punto {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  margin-top: 2px;
  border: var(--borde);
  border-radius: 50%;
  background: var(--blanco);
}
.entrega__nombre { display: block; font-weight: 700; font-size: 1.15rem; }
.entrega__detalle { display: block; font-size: .95rem; }
.entrega input:checked + .entrega__caja { background: var(--amarillo); box-shadow: var(--sombra-dura); }
.entrega input:checked + .entrega__caja .entrega__punto { background: var(--verde); box-shadow: inset 0 0 0 5px var(--blanco); }
.entrega input:focus-visible + .entrega__caja { outline: 4px solid var(--verde); outline-offset: 3px; }

.aviso {
  color: var(--rojo-aviso);
  font-weight: 700;
  margin-bottom: 16px;
}
.aviso:empty { display: none; }
.nota { text-align: center; font-size: .95rem; margin-top: 18px; }

/* ---------- 5. Preguntas ---------- */
.preguntas { display: grid; gap: 14px; }
.pregunta {
  background: var(--blanco);
  border: var(--borde);
  border-radius: var(--redondeo-chico);
}
.pregunta[open] { background: var(--crema); box-shadow: var(--sombra-dura); }
.pregunta__titulo {
  list-style: none;          /* saca el triangulito por defecto */
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 1.1rem;
}
.pregunta__titulo::-webkit-details-marker { display: none; }
/* Un "+" propio que se convierte en "−" al abrir */
.pregunta__titulo::after {
  content: "+";
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--amarillo);
  border: var(--borde);
  font-family: var(--letra-titulos);
  font-size: 1.5rem;
  line-height: 1;
}
.pregunta[open] .pregunta__titulo::after { content: "−"; }
.pregunta__respuesta { padding: 0 18px 18px; }

/* ---------- 6. Pie ---------- */
.pie {
  background: var(--verde);
  color: var(--crema);
  border-radius: 40px 40px 0 0;
  margin-top: 24px;
  padding: 48px var(--margen) 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.pie__icono { width: 80px; }
.pie__texto { font-family: var(--letra-titulos); font-size: 1.5rem; }
.pie .boton { border-color: var(--crema); box-shadow: 5px 5px 0 var(--amarillo); }
.pie__chico { font-size: .9rem; opacity: .85; margin-top: 12px; }

/* ---------- Barra fija de abajo ---------- */
.barra {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 20px;
  background: var(--verde);
  color: var(--crema);
  border: 3px solid var(--amarillo);
  border-radius: 999px;
  max-width: 700px;
  margin: 0 auto;
}
.barra[hidden] { display: none; }
.barra__texto { font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
.barra__boton {
  flex-shrink: 0;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  padding: 0 22px;
  background: var(--amarillo);
  color: var(--verde);
  border-radius: 999px;
  font-family: var(--letra-titulos);
  font-size: 1.15rem;
  text-decoration: none;
}

/* ---------- Aviso de pedido enviado ---------- */
.confirmacion {
  margin-top: 24px;
  padding: 22px 20px;
  background: var(--amarillo);
  border: var(--borde);
  border-radius: var(--redondeo);
  box-shadow: var(--sombra-dura);
  text-align: center;
  display: grid;
  gap: 12px;
  justify-items: center;
}
.confirmacion[hidden] { display: none; }
.confirmacion__titulo { font-family: var(--letra-titulos); font-size: 1.8rem; }
.confirmacion__boton { background: var(--crema); }
.confirmacion__otro {
  background: none;
  border: 0;
  color: var(--verde);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  min-height: 48px;
  cursor: pointer;
}

/* ---------- Preventa / lista de espera (modo "espera") ---------- */
/* Cartelito torcido arriba del eslogan */
.inicio__etiqueta {
  display: inline-block;
  background: var(--amarillo);
  color: var(--verde);
  font-family: var(--letra-titulos);
  font-size: 1.2rem;
  padding: 4px 18px;
  border: 3px solid var(--crema);
  border-radius: 999px;
  rotate: -3deg;
  margin-top: 8px;
}
/* En las tarjetas, en lugar de precio y cantidades */
.producto__pronto {
  display: inline-block;
  background: var(--amarillo);
  color: var(--verde);
  font-family: var(--letra-titulos);
  font-size: 1.15rem;
  padding: 6px 16px;
  border: var(--borde);
  border-radius: 999px;
}
/* Caja grande del beneficio */
.beneficio {
  background: var(--verde);
  color: var(--crema);
  border-radius: var(--redondeo);
  box-shadow: 5px 5px 0 var(--amarillo);
  padding: 24px 20px;
  margin-bottom: 28px;
  text-align: center;
}
.beneficio__grande {
  font-family: var(--letra-titulos);
  font-size: 4.2rem;
  line-height: 1;
  color: var(--amarillo);
  text-shadow: 4px 4px 0 var(--crema);
  rotate: -3deg;
}
.beneficio__texto { font-weight: 700; font-size: 1.3rem; margin-top: 10px; }
.beneficio__cupo { font-size: .95rem; margin-top: 8px; opacity: .9; }
.beneficio__cupo:empty { display: none; }
.campo__opcional { font-weight: 400; font-size: .95rem; }
/* Opciones tildables "¿Cuáles te interesan?" */
.intereses { display: flex; flex-wrap: wrap; gap: 12px; }
.interes { position: relative; cursor: pointer; }
.interes input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.interes__caja {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 18px;
  background: var(--blanco);
  border: var(--borde);
  border-radius: 999px;
  font-weight: 700;
}
.interes__caja::before { content: "+"; font-family: var(--letra-titulos); font-size: 1.3rem; }
.interes input:checked + .interes__caja { background: var(--amarillo); box-shadow: var(--sombra-dura); }
.interes input:checked + .interes__caja::before { content: "✓"; }
.interes input:focus-visible + .interes__caja { outline: 4px solid var(--verde); outline-offset: 3px; }
.confirmacion__agendar { font-size: .95rem; }

/* ---------- Página 404 (404.html) ---------- */
.pagina-404 { background: var(--verde); color: var(--crema); }
.error {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  padding: 24px var(--margen);
  text-align: center;
}
.error__icono { width: 140px; opacity: .35; }   /* señal "débil" */
.error__titulo { font-size: 2.6rem; color: var(--amarillo); }
.pagina-404 .boton { border-color: var(--crema); box-shadow: 5px 5px 0 var(--crema); }

/* ---------- Caja del punto de retiro ---------- */
.retiro {
  background: var(--verde);
  color: var(--crema);
  border-radius: var(--redondeo);
  box-shadow: 5px 5px 0 var(--amarillo);
  padding: 20px;
  margin: -8px 0 28px;
}
.retiro[hidden] { display: none; }
.retiro__titulo { color: var(--amarillo); font-weight: 700; font-size: .95rem; }
.retiro__direccion { font-family: var(--letra-titulos); font-size: 1.6rem; line-height: 1.15; margin: 4px 0 6px; }
.retiro__mapa {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  margin-top: 14px;
  padding: 0 22px;
  background: var(--amarillo);
  color: var(--verde);
  border-radius: 999px;
  font-family: var(--letra-titulos);
  font-size: 1.15rem;
  text-decoration: none;
}
.retiro__mapa::before { content: "→"; margin-right: 10px; }

/* ---------- Detalles de marca en los títulos ---------- */
/* Una ondita de wifi amarilla arriba de cada título de sección */
.seccion__titulo::before {
  content: "";
  display: block;
  width: 40px;
  height: 20px;
  margin-bottom: 12px;
  border: 7px solid var(--amarillo);
  border-bottom: 0;
  border-radius: 40px 40px 0 0;
}
.seccion--amarilla .seccion__titulo::before { border-color: var(--verde); }

/* ---------- Aparición suave al scrollear (la activa app.js) ---------- */
.con-animaciones .aparece {
  opacity: 0;
  translate: 0 28px;
  transition: opacity .6s ease, translate .6s ease;
}
.con-animaciones .aparece.visible { opacity: 1; translate: 0 0; }

/* ---------- Pantallas grandes (tablet / compu) ---------- */
@media (min-width: 760px) {
  .seccion__titulo { font-size: 2.8rem; }
  .seccion--amarilla { margin: 0 24px; }
  .productos { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
}
@media (min-width: 900px) {
  /* En compu el inicio va en dos columnas: texto a la izquierda, paquetes a la derecha */
  .inicio {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    column-gap: 40px;
    padding: 56px 6vw 0;
    text-align: left;
  }
  .inicio__contenido { align-items: flex-start; margin: 0; }
  .marca { justify-content: flex-start; }
  .inicio__eslogan { font-size: 2.4rem; }
  .vitrina { height: 340px; margin: 0; }
  .vitrina__paquete { width: 170px; height: 220px; }
  .vitrina__paquete:nth-child(2) { width: 190px; height: 246px; margin-bottom: 60px; }
  .inicio__borde { grid-column: 1 / -1; width: calc(100% + 12vw); margin: 0 -6vw; }
  .sello { width: 120px; height: 120px; top: 24px; right: 24px; }
}

/* Respeta a quien pidió menos animaciones en su celular: todo quieto */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .boton { transition: none; }
  .banda__pista, .sello, .senal__onda, .senal__mate,
  .marca__palabra span, .vitrina__paquete { animation: none; }
  .banda { overflow-x: auto; }   /* la banda se puede deslizar con el dedo */
}
