/* Digital Outdoor · Landing Cocina Overland
   Misma identidad que la guía: Antonio (títulos), Newsreader (texto), Inter Tight (datos). */

:root {
  --papel: #fbf9f5;
  --crema: #f1ece2;
  --arena: #e6dccb;
  --tinta: #26231f;
  --gris: #6f695f;
  --linea: #d9d3c7;
  --oxido: #c4562c;
  --oxido-osc: #a8461f;
  --noche: #1b1815;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --display: "Antonio", "Arial Narrow", sans-serif;
  --ancho: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--papel); color: var(--tinta);
  font-family: var(--serif); font-weight: 300; font-size: 19px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0 0 1em; }

.contenedor { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 var(--gutter); }
.etiqueta {
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--oxido); margin: 0 0 18px;
}
.titulo-seccion {
  font-family: var(--display); font-size: clamp(38px, 5.4vw, 64px); line-height: .98;
  text-transform: uppercase; letter-spacing: .005em; margin-bottom: 24px;
}
.bajada { font-size: clamp(19px, 1.9vw, 22px); color: var(--gris); max-width: 640px; }

/* ---------- Botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 16px; letter-spacing: .02em;
  text-decoration: none; background: var(--oxido); color: #fff;
  padding: 17px 30px; border-radius: 3px; border: 0; cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.boton:hover { background: var(--oxido-osc); }
.boton:active { transform: translateY(1px); }
.boton:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--oxido); outline-offset: 3px; }
.boton--chico { padding: 10px 18px; font-size: 14px; }
.boton--borde { background: transparent; color: var(--tinta); box-shadow: inset 0 0 0 1.5px var(--tinta); }
.boton--borde:hover { background: var(--tinta); color: #fff; }

/* ---------- Cabecera ---------- */
.cabecera {
  position: sticky; top: 0; z-index: 20; background: rgba(251, 249, 245, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--linea);
}
.cabecera .contenedor { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.marca {
  font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none;
}
.marca span { color: var(--oxido); }
.nav { display: flex; align-items: center; gap: 28px; font-family: var(--sans); font-size: 14px; }
.nav a:not(.boton) { text-decoration: none; color: var(--gris); }
.nav a:not(.boton):hover { color: var(--tinta); }
@media (max-width: 760px) { .nav a:not(.boton) { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 8vw, 110px); }
.hero .contenedor { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 {
  font-family: var(--display); font-size: clamp(64px, 10vw, 132px); line-height: .88;
  text-transform: uppercase; color: var(--oxido); margin-bottom: 26px;
}
.hero-promesa { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35; font-weight: 400; margin-bottom: 18px; }
.hero-detalle { color: var(--gris); max-width: 520px; }
.hero-compra { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 32px; }
.precio { font-family: var(--sans); display: flex; align-items: baseline; gap: 10px; }
.precio-actual { font-size: 30px; font-weight: 600; }
.precio-antes { font-size: 18px; color: var(--gris); text-decoration: line-through; }
.hero-datos {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none;
  font-family: var(--sans); font-size: 13px; letter-spacing: .04em; color: var(--gris);
}
.hero-datos li::before { content: "·"; color: var(--oxido); margin-right: 8px; font-weight: 700; }
.hero-imagen { position: relative; }
.hero-imagen img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 30px 60px -30px rgba(38, 35, 31, .45); }
.hero-sello {
  position: absolute; left: -22px; bottom: 34px; background: var(--tinta); color: #fff;
  font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  padding: 14px 18px; line-height: 1.5;
}
.hero-sello strong { display: block; font-family: var(--display); font-size: 30px; letter-spacing: .02em; color: #f3c9b3; }
@media (max-width: 860px) {
  .hero .contenedor { grid-template-columns: 1fr; }
  .hero-imagen { order: -1; max-width: 460px; }
  .hero-sello { left: auto; right: 12px; bottom: 12px; }
}

/* ---------- Problema ---------- */
.problema { background: var(--noche); color: #efe8dc; padding: clamp(64px, 9vw, 120px) 0; }
.problema .titulo-seccion { color: #fff; max-width: 820px; }
.problema .bajada { color: #b9b0a3; }
.fallas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #3a342d; margin-top: 52px; border: 1px solid #3a342d; }
.falla { background: var(--noche); padding: 34px 30px 30px; }
.falla-num { font-family: var(--display); font-size: 54px; line-height: 1; color: var(--oxido); margin-bottom: 18px; }
.falla h3 { font-family: var(--sans); font-size: 19px; font-weight: 600; line-height: 1.3; color: #fff; margin-bottom: 10px; }
.falla p { color: #b9b0a3; font-size: 17px; margin: 0; }
.problema-cierre { margin-top: 44px; font-size: clamp(21px, 2.2vw, 26px); font-style: italic; color: #fff; max-width: 760px; }
@media (max-width: 860px) { .fallas { grid-template-columns: 1fr; } }

/* ---------- Contenido ---------- */
.contenido { padding: clamp(64px, 9vw, 120px) 0; }
.contenido-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.contenido-intro { position: sticky; top: 100px; }
.contenido-intro img { margin-top: 30px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.capitulos { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--tinta); }
.capitulos li { display: grid; grid-template-columns: 56px 1fr; gap: 6px 18px; padding: 20px 0; border-bottom: 1px solid var(--linea); }
.cap-num { font-family: var(--display); font-size: 30px; line-height: 1; color: var(--oxido); grid-row: span 2; }
.cap-titulo { font-family: var(--sans); font-size: 18px; font-weight: 600; line-height: 1.3; }
.cap-texto { font-size: 17px; color: var(--gris); line-height: 1.5; }
@media (max-width: 860px) {
  .contenido-grid { grid-template-columns: 1fr; }
  .contenido-intro { position: static; }
}

/* ---------- Recetas ---------- */
.recetas { padding: clamp(64px, 9vw, 120px) 0; background: var(--crema); }
.recetas-cabeza { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 44px; }
.recetas-cabeza .bajada { margin: 0; }
.galeria { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plato { margin: 0; }
.plato img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.plato figcaption { font-family: var(--sans); font-size: 14px; font-weight: 500; margin-top: 10px; line-height: 1.35; }
.plato figcaption span { display: block; font-weight: 400; color: var(--gris); font-size: 13px; }
.recetas-lista { margin-top: 48px; columns: 3 240px; column-gap: 40px; font-family: var(--sans); font-size: 14px; color: var(--gris); }
.recetas-lista h3 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--tinta); margin: 0 0 8px; break-after: avoid; }
.recetas-lista p { margin: 0 0 22px; line-height: 1.7; break-inside: avoid; }
@media (max-width: 860px) { .galeria { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

/* ---------- Vista previa ---------- */
.vista { padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 7vw, 90px); overflow: hidden; }
.paginas {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px var(--gutter) 30px;
  margin-top: 40px; scrollbar-width: thin;
}
@media (min-width: 1240px) { .paginas { padding-left: calc((100vw - var(--ancho)) / 2 + var(--gutter)); } }
.pagina { flex: 0 0 auto; width: clamp(230px, 28vw, 320px); scroll-snap-align: start; margin: 0; }
.pagina img { width: 100%; aspect-ratio: 567 / 709; object-fit: cover; background: #fff; box-shadow: 0 18px 40px -22px rgba(38, 35, 31, .5), 0 0 0 1px var(--linea); }
.pagina figcaption { font-family: var(--sans); font-size: 13px; color: var(--gris); margin-top: 14px; }

/* ---------- Para quién ---------- */
.quien { padding: clamp(48px, 7vw, 90px) 0 clamp(64px, 9vw, 120px); }
.quien-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); margin-top: 40px; }
.quien-caja { padding: 36px 34px; border: 1px solid var(--linea); background: #fff; }
.quien-caja h3 { font-family: var(--display); font-size: 30px; text-transform: uppercase; margin-bottom: 18px; }
.quien-caja ul { list-style: none; margin: 0; padding: 0; }
.quien-caja li { position: relative; padding-left: 30px; margin-bottom: 12px; font-size: 18px; line-height: 1.45; }
.quien-caja li::before { position: absolute; left: 0; top: 0; font-family: var(--sans); font-weight: 700; }
.quien-si li::before { content: "✓"; color: var(--oxido); }
.quien-no { background: transparent; }
.quien-no li { color: var(--gris); }
.quien-no li::before { content: "—"; color: var(--gris); }
@media (max-width: 760px) { .quien-grid { grid-template-columns: 1fr; } }

/* ---------- Capítulo gratis ---------- */
.gratis { position: relative; background: var(--noche); color: #fff; overflow: hidden; }
.gratis-fondo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.gratis .contenedor { position: relative; padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.gratis-caja { max-width: 600px; }
.gratis .etiqueta { color: #f3c9b3; }
.gratis .titulo-seccion { color: #fff; }
.gratis p { color: #e6ddd0; }
.formulario { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.formulario input[type="email"] {
  flex: 1 1 260px; min-width: 0; font: 400 17px var(--sans); padding: 16px 18px;
  border: 0; border-radius: 3px; background: #fff; color: var(--tinta);
}
.formulario-nota { font-family: var(--sans); font-size: 13px; color: #b9b0a3 !important; margin-top: 14px; }
.formulario-nota a { color: #e6ddd0; }
.formulario-ok { font-family: var(--sans); font-size: 16px; margin-top: 18px; color: #f3c9b3 !important; }

/* ---------- Precio ---------- */
.oferta { padding: clamp(64px, 9vw, 120px) 0; }
.oferta-caja { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--tinta); background: #fff; }
.oferta-izq { padding: clamp(28px, 4vw, 52px); border-right: 1px solid var(--linea); }
.oferta-der { padding: clamp(28px, 4vw, 52px); background: var(--crema); display: flex; flex-direction: column; justify-content: center; }
.incluye { list-style: none; margin: 26px 0 0; padding: 0; }
.incluye li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--linea); font-family: var(--sans); font-size: 16px; line-height: 1.4; }
.incluye li:last-child { border-bottom: 0; }
.incluye li::before { content: "✓"; color: var(--oxido); font-weight: 700; }
.oferta-precio { font-family: var(--display); font-size: clamp(80px, 9vw, 110px); line-height: .9; color: var(--tinta); }
.oferta-precio small { font-size: .32em; letter-spacing: .06em; margin-left: 6px; }
.oferta-antes { font-family: var(--sans); font-size: 16px; color: var(--gris); margin: 12px 0 28px; }
.oferta-antes s { color: var(--tinta); }
.oferta .boton { width: 100%; font-size: 17px; padding: 20px; }
.oferta-pagos { font-family: var(--sans); font-size: 13px; color: var(--gris); margin: 16px 0 0; line-height: 1.55; }
.garantia { display: flex; gap: 16px; align-items: flex-start; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--linea); }
.garantia-sello {
  flex: 0 0 auto; width: 58px; height: 58px; border-radius: 50%; border: 1.5px solid var(--oxido);
  display: grid; place-items: center; text-align: center; font-family: var(--display); color: var(--oxido);
  font-size: 22px; line-height: .9;
}
.garantia-sello small { display: block; font-size: 9px; letter-spacing: .14em; font-family: var(--sans); font-weight: 600; }
.garantia p { font-family: var(--sans); font-size: 14px; color: var(--gris); margin: 0; line-height: 1.5; }
.garantia strong { color: var(--tinta); }
@media (max-width: 860px) {
  .oferta-caja { grid-template-columns: 1fr; }
  .oferta-izq { border-right: 0; border-bottom: 1px solid var(--linea); }
  .oferta-der { order: -1; }
}

/* ---------- Preguntas ---------- */
.preguntas { padding: 0 0 clamp(64px, 9vw, 120px); }
.preguntas-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(32px, 6vw, 90px); }
.faq { border-top: 1px solid var(--tinta); }
.faq details { border-bottom: 1px solid var(--linea); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-family: var(--sans); font-size: 18px; font-weight: 600; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-weight: 300; font-size: 28px; color: var(--oxido); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--gris); font-size: 18px; margin: 0 0 22px; max-width: 640px; }
@media (max-width: 860px) { .preguntas-grid { grid-template-columns: 1fr; } }

/* ---------- Cierre y pie ---------- */
.cierre { position: relative; min-height: 520px; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; }
.cierre img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cierre::after { content: ""; position: absolute; inset: 0; background: rgba(20, 16, 12, .55); }
.cierre .contenedor { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; }
.cierre h2 { font-family: var(--display); font-size: clamp(44px, 7vw, 88px); line-height: .95; text-transform: uppercase; margin-bottom: 30px; }

.pie { background: var(--noche); color: #9f978b; font-family: var(--sans); font-size: 14px; padding: 44px 0; }
.pie .contenedor { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 30px; align-items: center; }
.pie .marca { color: #fff; font-size: 18px; }
.pie nav { display: flex; flex-wrap: wrap; gap: 22px; }
.pie a { text-decoration: none; }
.pie a:hover { color: #fff; }

/* ---------- Barra de compra móvil ---------- */
.barra-movil {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none;
  align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--tinta); color: #fff;
  font-family: var(--sans); transform: translateY(110%); transition: transform .3s ease;
}
.barra-movil.visible { transform: translateY(0); }
.barra-movil-texto { font-size: 13px; line-height: 1.3; }
.barra-movil-texto strong { display: block; font-size: 17px; }
.barra-movil-texto s { color: #9f978b; font-weight: 400; margin-left: 4px; }
@media (max-width: 760px) {
  .barra-movil { display: flex; }
  body { padding-bottom: 76px; }
}

/* ---------- Páginas legales ---------- */
.legal { padding: clamp(48px, 7vw, 90px) 0; }
.legal .contenedor { max-width: 760px; }
.legal h1 { font-family: var(--display); font-size: clamp(40px, 6vw, 64px); text-transform: uppercase; line-height: 1; margin-bottom: 30px; }
.legal h2 { font-family: var(--sans); font-size: 20px; margin: 36px 0 10px; }
.legal p, .legal li { font-size: 18px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.solo-lectores { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
section[id] { scroll-margin-top: 72px; }
.gratis::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(27,24,21,.94) 0%, rgba(27,24,21,.82) 50%, rgba(27,24,21,.35) 100%); }
@media (max-width: 760px) { .gratis::before { background: rgba(27,24,21,.86); } }
.gratis .contenedor { z-index: 2; }
