/* Estilo limpio y moderno: mucho blanco, letra grande, un solo color de acento.
   Pensado también para quien casi no usa internet: botones grandes, un paso a la vez. */
:root {
  --tinta: #1d1d1f;
  --gris: #6e6e73;
  --gris-claro: #86868b;
  --fondo: #ffffff;
  --fondo-2: #f5f5f7;
  --linea: #d2d2d7;
  --acento: #e8590c;
  --acento-osc: #c2410c;
  --verde: #248a3d;
  --rojo: #d70015;
  --radio: 22px;
  --sombra: 0 2px 6px rgba(0,0,0,.04), 0 12px 32px rgba(0,0,0,.06);
  --ancho: 1040px;
}
* { box-sizing: border-box; }
html { font-size: 18px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color: var(--tinta);
  background: var(--fondo);
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--acento-osc); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

/* --- Barra de arriba */
.barra {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.barra .dentro {
  max-width: var(--ancho); margin: 0 auto; padding: 0 1.2rem;
  height: 56px; display: flex; align-items: center; gap: 1.4rem;
}
.marca-txt { font-weight: 700; font-size: 0.95rem; color: var(--tinta); display: flex; align-items: center; gap: .5rem; white-space: nowrap; }
.marca-txt:hover { text-decoration: none; }
.marca-txt .punto-marca { width: 10px; height: 10px; border-radius: 50%; background: var(--acento); box-shadow: 0 0 0 4px rgba(232,89,12,.15); }
.barra nav { display: flex; gap: 1.3rem; margin-left: auto; font-size: .85rem; }
.barra nav a { color: var(--tinta); opacity: .8; }
.barra nav a:hover { opacity: 1; text-decoration: none; }
.idioma {
  font: inherit; font-size: .8rem; font-weight: 600;
  padding: .35rem .8rem; border-radius: 980px;
  border: 1px solid var(--linea); background: #fff; color: var(--tinta); cursor: pointer;
}
.idioma:hover { border-color: var(--tinta); }
@media (max-width: 640px) { .barra nav { display: none; } .idioma { margin-left: auto; } }

/* --- Portada */
.portada { text-align: center; padding: 4.5rem 1.2rem 0; overflow: hidden; }
.antetitulo { color: var(--acento-osc); font-weight: 600; font-size: 1rem; margin: 0 0 .6rem; }
.portada h1 {
  font-size: clamp(2.4rem, 7vw, 4.6rem); line-height: 1.05; letter-spacing: -0.035em;
  font-weight: 700; margin: 0 auto; max-width: 14ch;
}
.portada .sub { font-size: clamp(1.15rem, 2.4vw, 1.5rem); color: var(--gris); margin: 1rem auto 0; max-width: 30ch; line-height: 1.35; }
.portada .precio-grande { font-size: 1.15rem; margin-top: 1.2rem; }
.portada .precio-grande b { font-size: 1.6rem; letter-spacing: -0.02em; }
.ctas { display: flex; gap: 1.4rem; justify-content: center; align-items: center; margin-top: 1.6rem; flex-wrap: wrap; }
.enlace-flecha { font-size: 1.05rem; }
.enlace-flecha::after { content: " ›"; }
.foto-portada { margin: 2.8rem auto 0; width: min(340px, 70vw); filter: drop-shadow(0 30px 40px rgba(194,65,12,.18)); }

/* --- Datos rápidos */
.datos { max-width: var(--ancho); margin: 3.5rem auto 0; padding: 0 1.2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.dato { background: var(--fondo-2); border-radius: var(--radio); padding: 1.6rem 1.4rem; text-align: center; }
.dato .ico { width: 44px; height: 44px; margin: 0 auto .7rem; color: var(--acento); }
.dato b { display: block; font-size: 1.15rem; letter-spacing: -0.02em; }
.dato span { color: var(--gris); font-size: .92rem; }
@media (max-width: 720px) { .datos { grid-template-columns: 1fr; } }

/* --- Secciones */
.seccion { padding: 5rem 1.2rem; }
.seccion.gris { background: var(--fondo-2); }
.seccion .dentro { max-width: var(--ancho); margin: 0 auto; }
.seccion h2 {
  font-size: clamp(2rem, 4.6vw, 3rem); letter-spacing: -0.03em; line-height: 1.1;
  margin: 0 0 .6rem; text-align: center; font-weight: 700;
}
.seccion .bajada { text-align: center; color: var(--gris); font-size: 1.15rem; margin: 0 auto 2.6rem; max-width: 36ch; }

.pasos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; counter-reset: paso; }
.paso { background: #fff; border-radius: var(--radio); padding: 2rem 1.6rem; box-shadow: var(--sombra); }
.seccion:not(.gris) .paso { background: var(--fondo-2); box-shadow: none; }
.paso::before {
  counter-increment: paso; content: counter(paso);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--tinta); color: #fff; font-weight: 700; margin-bottom: 1rem;
}
.paso h3 { margin: 0 0 .4rem; font-size: 1.25rem; letter-spacing: -0.02em; }
.paso p { margin: 0; color: var(--gris); }
@media (max-width: 820px) { .pasos-grid { grid-template-columns: 1fr; } }

.llevar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.llevar div { text-align: center; padding: 1rem; }
.llevar .ico { width: 56px; height: 56px; margin: 0 auto .8rem; color: var(--tinta); }
.llevar b { display: block; font-size: 1.1rem; }
.llevar span { color: var(--gris); }
@media (max-width: 720px) { .llevar { grid-template-columns: 1fr; } }

/* --- Compra */
.compra { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1.6rem; align-items: start; }
@media (max-width: 860px) { .compra { grid-template-columns: 1fr; } }
.resumen { position: sticky; top: 76px; background: #fff; border-radius: var(--radio); padding: 1.8rem; box-shadow: var(--sombra); text-align: center; }
.resumen img { width: 130px; margin: 0 auto 1rem; }
.resumen .nombre-prod { font-weight: 700; font-size: 1.15rem; }
.resumen .precio-u { color: var(--gris); }
.cantidad { display: flex; align-items: center; justify-content: center; gap: 1.4rem; margin: 1.4rem 0 1rem; }
.cantidad button {
  width: 52px; height: 52px; border-radius: 50%;
  font-size: 1.6rem; font-weight: 500; line-height: 1;
  border: 1px solid var(--linea); background: #fff; color: var(--tinta); cursor: pointer;
  transition: border-color .15s, transform .1s;
}
.cantidad button:hover:not(:disabled) { border-color: var(--tinta); }
.cantidad button:active:not(:disabled) { transform: scale(.94); }
.cantidad button:disabled { opacity: .35; cursor: default; }
.cantidad output { font-size: 2.6rem; font-weight: 700; min-width: 2ch; letter-spacing: -0.03em; }
.total { border-top: 1px solid var(--linea); padding-top: 1rem; display: flex; justify-content: space-between; align-items: baseline; }
.total b { font-size: 1.7rem; letter-spacing: -0.02em; }
.incluye { color: var(--gris); font-size: .85rem; margin-top: .4rem; text-align: left; }

.formulario { background: #fff; border-radius: var(--radio); padding: 1.8rem; box-shadow: var(--sombra); }
.formulario h3 { font-size: 1.3rem; letter-spacing: -0.02em; margin: 0 0 .2rem; }
.formulario h3 + .ayuda { margin-bottom: .4rem; }
.dos { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .9rem; }
@media (max-width: 480px) { .dos { grid-template-columns: 1fr; } }
.formulario fieldset { border: 0; padding: 0; margin: 0 0 1.6rem; }
label { display: block; font-weight: 600; margin: 1rem 0 .35rem; font-size: .95rem; }
.ayuda { color: var(--gris); font-size: .85rem; font-weight: 400; display: block; }
input {
  width: 100%; font: inherit; font-size: 1.1rem;
  padding: .85rem 1rem; border: 1px solid var(--linea); border-radius: 12px; background: #fff; color: var(--tinta);
  transition: border-color .15s, box-shadow .15s;
}
input:focus { outline: none; border-color: var(--acento); box-shadow: 0 0 0 4px rgba(232,89,12,.15); }

/* --- Botones */
.boton {
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em;
  padding: .9rem 1.8rem; border: 0; border-radius: 980px; cursor: pointer;
  background: var(--acento); color: #fff; text-decoration: none;
  transition: background .15s, transform .1s;
}
.boton:hover { background: var(--acento-osc); text-decoration: none; }
.boton:active { transform: scale(.98); }
.boton:disabled { opacity: .6; cursor: wait; }
.boton.ancho { width: 100%; padding: 1.05rem; font-size: 1.15rem; }
.boton.whatsapp { background: #25d366; color: #fff; }
.boton.whatsapp:hover { background: #1ebe5b; }
.boton.claro { background: var(--fondo-2); color: var(--tinta); }
.boton.claro:hover { background: #e8e8ed; }
.boton.verde { background: var(--verde); }

.error { background: #fff2f3; color: var(--rojo); border-radius: 12px; padding: .8rem 1rem; font-weight: 600; margin-top: 1rem; }
.ok { background: #eefaf1; color: var(--verde); border-radius: 12px; padding: .8rem 1rem; font-weight: 600; }

/* --- Preguntas */
.preguntas { max-width: 720px; margin: 0 auto; }
.preguntas details { border-bottom: 1px solid var(--linea); padding: 1.1rem 0; }
.preguntas summary { cursor: pointer; font-weight: 600; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after { content: "+"; color: var(--gris); font-size: 1.4rem; line-height: 1; }
.preguntas details[open] summary::after { content: "−"; }
.preguntas p { color: var(--gris); margin: .7rem 0 0; }

/* --- Pie */
.pie { background: var(--fondo-2); color: var(--gris-claro); font-size: .8rem; padding: 2rem 1.2rem; text-align: center; border-top: 1px solid var(--linea); }
.pie a { color: var(--gris); }

/* --- Páginas pequeñas (vale, punto de entrega) */
.angosto { max-width: 520px; margin: 0 auto; padding: 2.4rem 1.2rem 4rem; }
.angosto h1 { font-size: clamp(2rem, 6vw, 2.6rem); letter-spacing: -0.03em; text-align: center; margin: 0 0 1.4rem; line-height: 1.1; }
.tarjeta { background: #fff; border-radius: var(--radio); padding: 1.6rem; margin: 1rem 0; box-shadow: var(--sombra); }
.acciones { display: grid; gap: .7rem; margin-top: 1.2rem; }
.vale { text-align: center; }
.vale .qr { display: inline-block; background: #fff; padding: .4rem; border-radius: 14px; margin: .6rem 0; }
.vale .qr svg { width: 230px; height: 230px; display: block; }
.vale .codigo { font-size: 1.9rem; font-weight: 700; letter-spacing: .14em; font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.vale .quien { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; margin: .8rem 0 0; }
.vale .cuantas { color: var(--gris); margin: 0; }
.vale .nota-vale { color: var(--gris); font-size: .9rem; border-top: 1px solid var(--linea); padding-top: 1rem; margin-top: 1rem; }
.sello { font-size: .95rem; font-weight: 600; padding: .4rem .95rem; border-radius: 980px; display: inline-block; }
.sello.listo { background: #eefaf1; color: var(--verde); }
.sello.usado { background: var(--fondo-2); color: var(--gris); }
.sello.espera { background: #fff4ec; color: var(--acento-osc); }
.lista { list-style: none; padding: 0; margin: 0; }
.lista li { border-bottom: 1px solid var(--linea); padding: .75rem 0; display: flex; justify-content: space-between; gap: .6rem; }
.lista li:last-child { border-bottom: 0; }
.lista .cod { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 700; }
.angosto h2 { font-size: 1.3rem; letter-spacing: -0.02em; margin: 2rem 0 .4rem; }
video { width: 100%; border-radius: 14px; background: #000; margin-top: 1rem; }

@media print {
  .barra, .no-imprimir, .pie { display: none !important; }
  .tarjeta { box-shadow: none; border: 1px solid #000; }
}
.lista.tarjeta { padding: .3rem 1.2rem; }
h2 .ayuda { display: inline; font-size: .9rem; }
