/* ==========================================================
   DOGFU · Demo web v2 — dirección editorial cálida
   Proporción objetivo: 65% crema · 25% azul marino · 10% dorado
   ========================================================== */
:root {
  --cream: #F5F2E9;
  --cream-hi: #FBF9F4;       /* superficie de formulario */
  --sand: #ECE5D4;           /* segundo plano cálido */
  --navy: #03162E;
  --ink-2: #3B4556;          /* texto secundario sobre crema (contraste 8.9:1) */
  --gold: #E8AF00;
  --gold-ink: #7A5A00;       /* dorado para texto sobre crema (contraste 5.9:1) */
  --line: rgba(3, 22, 46, .14);
  --line-gold: rgba(232, 175, 0, .75);
  --on-navy: #F5F2E9;
  --on-navy-2: #C9CFD8;      /* secundario sobre azul (contraste 11:1) */

  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --sans: "Manrope", "Helvetica Neue", Arial, system-ui, sans-serif;

  --t-display: clamp(3rem, 1.6rem + 6vw, 6.25rem);
  --t-h2: clamp(2.25rem, 1.4rem + 3.6vw, 4rem);
  --t-h3: clamp(2rem, 1.5rem + 2vw, 3.25rem);
  --t-lead: clamp(1.0625rem, 1rem + .35vw, 1.25rem);

  --gut: clamp(20px, 5vw, 64px);
  --max: 1240px;
  --hdr-h: 104px;           /* altura fija del encabezado (no cambia al hacer scroll: evita saltos) */
  --ease: cubic-bezier(.22, .7, .2, 1);
  color-scheme: light;
}
@media (max-width: 719px) { :root { --hdr-h: 86px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 20px); overflow-x: clip; }
section, [id] { scroll-margin-top: calc(var(--hdr-h) + 20px); }
html.lock, html.lock body { overflow: hidden; }
img, svg, video, picture, iframe { max-width: 100%; }
a, button, summary, label, input { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
body { margin: 0; background: var(--cream); color: var(--navy); font: 400 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: italic; }
ul, ol { list-style: none; margin: 0; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--navy); color: var(--cream); padding: 10px 14px; border-radius: 6px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

section { padding-inline: var(--gut); }
.eyebrow { font: 700 .75rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 18px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 700 .75rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--navy); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.sec-head { max-width: var(--max); margin: 0 auto clamp(40px, 6vw, 72px); }
.sec-head h2 { font-size: var(--t-h2); line-height: 1.02; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent; font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #F0BE22; }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: #0C2748; }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: var(--cream); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: .9063rem; }
.btn-wide { width: 100%; min-height: 60px; font-size: 1.0625rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 600 1rem/1 var(--sans); color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--line-gold); padding-bottom: 2px; }
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }
.as-button { background: none; border-width: 0 0 1px; cursor: pointer; padding-inline: 0; }

/* ---------- Encabezado (sticky, crema, logotipo completo siempre visible) ---------- */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60; height: var(--hdr-h); background: rgba(245, 242, 233, .94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.hdr-row { position: relative; max-width: calc(var(--max) + 2 * var(--gut)); height: 100%; margin-inline: auto; padding-inline: var(--gut); display: flex; align-items: center; gap: 28px; }
.hdr-logo { flex: none; display: block; width: 120px; line-height: 0; }
.hdr-logo img { width: 100%; height: auto; aspect-ratio: 348 / 291; transform-origin: left center; transition: transform .3s var(--ease); }
.hdr.scrolled .hdr-logo img { transform: scale(.94); }
@media (max-width: 719px) { .hdr-logo { width: 96px; } }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { font-size: .9375rem; font-weight: 500; text-decoration: none; padding: 8px 0; background: linear-gradient(var(--gold), var(--gold)) left bottom / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.nav a:hover, .nav a.active { background-size: 100% 1px; }
.nav-cta-mobile { display: none; }
/* "Pedir a domicilio" ya está como botón destacado; el enlace del menú es el respaldo sin CSS */
.nav a[href="pedidos.html"]:not(.nav-cta-mobile) { display: none; }
.hdr-actions { display: flex; align-items: center; gap: 10px; }
.cart-slot { position: relative; width: 44px; height: 44px; border: 0; background: none; color: var(--navy); cursor: pointer; }
.cart-slot svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.cart-count { position: absolute; top: 4px; right: 0; min-width: 18px; height: 18px; border-radius: 9px; background: var(--gold); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; place-items: center; color: var(--navy); }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .25s var(--ease); }
.bars { position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .bars { background: transparent; }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1023px) {
  .menu-btn { display: grid; }
  .hdr-cta { display: none; }
  .hdr-actions { margin-left: auto; }
  .nav { position: fixed; left: 0; right: 0; top: calc(var(--hdr-h) + env(safe-area-inset-top, 0px)); height: calc(100svh - var(--hdr-h) - env(safe-area-inset-top, 0px)); overflow-y: auto; overscroll-behavior: contain; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gut) calc(28px + env(safe-area-inset-bottom, 0px)); background: var(--cream); opacity: 0; visibility: hidden; transition: opacity .18s ease, visibility 0s .18s; }
  .nav.open { opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav a { display: flex; align-items: center; min-height: 60px; font-family: var(--serif); font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.125rem); font-weight: 400; line-height: 1.1; padding: 8px 0; border-bottom: 1px solid var(--line); background: none; }
  .nav .nav-cta-mobile { display: flex; justify-content: center; margin-top: 20px; font: 600 1rem/1 var(--sans); background: var(--navy); color: var(--cream); border-radius: 999px; min-height: 54px; align-items: center; border: 0; }
}

/* ---------- Hero ---------- */
.hero { max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; display: grid; gap: 28px; align-items: center; padding-block: 44px 24px; min-height: min(calc(100svh - var(--hdr-h)), 820px); }
.hero-copy { display: grid; gap: 26px; justify-items: start; max-width: 560px; }
.hero h1 { font-size: var(--t-display); line-height: .96; }
.hero h1 em { display: block; }
.hero-lead { font-size: var(--t-lead); color: var(--ink-2); max-width: 30ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }

.scene { position: relative; width: 100%; max-width: 560px; justify-self: center; aspect-ratio: 5 / 6; }
.scene-arch { position: absolute; left: 12%; right: 0; top: 0; bottom: 14%; background: var(--navy); border-radius: 999px 999px 0 0; overflow: hidden; }
.scene-arch::after { /* luz cálida muy suave dentro del arco */
  content: ""; position: absolute; inset: 0; background: radial-gradient(60% 45% at 50% 30%, rgba(245, 242, 233, .10), transparent 70%);
}
.scene-ring { position: absolute; left: 6%; right: -5%; top: -3.5%; bottom: 14%; border: 1px solid var(--line-gold); border-bottom: 0; border-radius: 999px 999px 0 0; }
.scene-photo { position: absolute; left: 12%; right: 0; top: 0; bottom: 14%; border-radius: 999px 999px 0 0; overflow: hidden; }
.scene-photo img { width: 100%; height: 100%; object-fit: cover; }
.scene-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 14%; background: var(--sand); }
.scene-floor::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(3, 22, 46, .18); }
.pack { position: absolute; margin: 0; bottom: 6%; }
.pack img { position: relative; z-index: 1; width: 100%; height: auto; object-fit: contain; }
.pack::after { /* sombra de contacto */
  content: ""; position: absolute; z-index: 0; left: 6%; right: 6%; bottom: -3%; height: 7%; border-radius: 50%; background: rgba(3, 22, 46, .42); filter: blur(9px);
}
.pack-a { width: 40%; left: 11%; bottom: 8.5%; transform: rotate(-2.5deg); }
.pack-b { width: 43%; left: 51%; z-index: 2; }
.scene-caption { position: absolute; left: 0; bottom: -2px; transform: translateY(100%); padding-top: 12px; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }

@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; gap: 56px; padding-block: 40px 56px; }
  .scene { max-width: 600px; justify-self: end; }
}
@media (max-width: 899px) {
  .hero { min-height: 0; padding-block: 28px 16px; }
  .scene { max-width: 440px; margin-bottom: 28px; }
}

/* ---------- Manifiesto ---------- */
.manifesto { padding-block: clamp(72px, 9vw, 120px) clamp(56px, 7vw, 96px); }
.manifesto h2, .manifesto p { max-width: 980px; margin-inline: auto; }
.manifesto h2 { font-size: var(--t-h2); line-height: 1.04; text-align: center; }
.manifesto h2 em { color: var(--gold-ink); }
.manifesto p { max-width: 46ch; margin-top: 28px; text-align: center; color: var(--ink-2); font-size: var(--t-lead); }
.manifesto h2::before { content: ""; display: block; width: 1px; height: 56px; margin: 0 auto 32px; background: var(--gold); }

/* ---------- Productos ---------- */
.products { padding-block: 24px clamp(64px, 9vw, 120px); }
.product { max-width: var(--max); margin-inline: auto; display: grid; gap: 36px; align-items: center; }
.product + .product { margin-top: clamp(56px, 7vw, 88px); }
.p-media { position: relative; aspect-ratio: 1 / 1; max-width: 480px; width: 100%; }
.p-media .p-arch { position: absolute; inset: 0 8% 0 0; background: var(--sand); border-radius: 999px 999px 0 0; }
.p-media .p-floor { position: absolute; left: 0; right: 8%; bottom: 0; height: 1px; background: rgba(3, 22, 46, .2); }
.p-media .pack { width: 46%; left: 23%; bottom: 7%; }
.p-detail { position: absolute; right: 0; bottom: 14%; width: 34%; aspect-ratio: 1; border-radius: 50%; z-index: 3; margin: 0; }
.p-detail img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.p-detail::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid var(--line-gold); }
.p-detail figcaption { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 14px; white-space: nowrap; font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.p-info { display: grid; gap: 22px; justify-items: start; max-width: 460px; }
.p-info h3 { font-size: var(--t-h3); line-height: 1; }
.p-type { color: var(--ink-2); margin-top: 8px; }
.p-facts { width: 100%; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.p-facts div { padding: 14px 22px 14px 0; }
.p-facts div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.p-facts dt { font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.p-facts dd { margin: 4px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.p-facts small { font-weight: 500; color: var(--ink-2); }
.p-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) {
  .p-facts { grid-template-columns: 1fr 1fr; }
  .p-facts div:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .p-facts div:nth-child(2) { padding-left: 0; border-left: 0; }
}
@media (min-width: 900px) {
  .product { grid-template-columns: 1.1fr 1fr; gap: 88px; }
  .product.flip .p-media { order: 2; justify-self: end; }
  .product.flip .p-media .p-arch { inset: 0 0 0 8%; }
  .product.flip .p-media .p-floor { left: 8%; right: 0; }
  .product.flip .p-detail { right: auto; left: 0; }
  .product.flip .p-info { justify-self: end; }
}

/* ---------- Franja de diferenciadores ---------- */
.strip { border-block: 1px solid var(--line-gold); padding-block: 22px; }
.strip ul { max-width: var(--max); margin-inline: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0; }
.strip li { display: inline-flex; align-items: center; gap: 10px; font: 700 .8125rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.strip li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin: 0 clamp(14px, 3vw, 36px); }
.ico { width: 20px; height: 20px; fill: none; stroke: var(--gold-ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 639px) {
  .strip ul { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  .strip li { justify-content: center; text-align: center; font-size: .75rem; letter-spacing: .12em; }
  .strip li + li::before { display: none; }
  .strip .ico { display: none; }
}

/* ---------- Liofilización ---------- */
.freeze { max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-block: clamp(64px, 8vw, 104px); display: grid; gap: 44px; }
.freeze-copy { display: grid; gap: 0; max-width: 620px; }
.freeze-copy h2 { font-size: var(--t-h2); line-height: 1.02; }
.freeze-copy p:last-child { margin-top: 22px; color: var(--ink-2); font-size: var(--t-lead); max-width: 48ch; }
/* Proceso: línea de tiempo vertical en móvil, una fila en escritorio.
   La línea dorada es un solo trazo detrás de los círculos. */
.steps3 { --dot: 48px; position: relative; display: grid; gap: 0; }
/* Móvil: cada tramo va del centro de un círculo al centro del siguiente → una sola línea continua */
.steps3 li:not(:last-child)::before { content: ""; position: absolute; left: calc(var(--dot) / 2 - .5px); top: calc(var(--dot) / 2); bottom: calc(var(--dot) / -2); width: 1px; background: var(--gold); }
.steps3 li { position: relative; display: grid; grid-template-columns: var(--dot) 1fr; column-gap: 20px; align-items: start; align-content: start; padding-bottom: 32px; }
.steps3 li:last-child { padding-bottom: 0; }
.s3-num { position: relative; z-index: 1; display: grid; place-items: center; width: var(--dot); height: var(--dot); border-radius: 50%; background: var(--cream); border: 1px solid var(--gold); font: 600 1.0625rem/1 var(--sans); color: var(--navy); font-variant-numeric: tabular-nums; }
.steps3 li:last-child .s3-num { background: var(--gold); }
.s3-text { padding-top: 6px; min-width: 0; }
.s3-text h3 { font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem); line-height: 1.1; }
.s3-text p { margin-top: 6px; color: var(--ink-2); font-size: 1.0625rem; max-width: 30ch; }
@media (min-width: 820px) {
  .steps3 { --dot: 56px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps3 li:not(:last-child)::before { display: none; }
  .steps3::before { content: ""; position: absolute; left: calc(100% / 6); right: calc(100% / 6); top: calc(var(--dot) / 2); height: 1px; background: var(--gold); }
  .steps3 li { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 0 20px; row-gap: 20px; }
  .s3-text { padding-top: 0; }
  .s3-text p { margin-inline: auto; }
}

/* ---------- Vínculo (sección especial azul) ---------- */
.bond { background: var(--navy); color: var(--on-navy); padding-block: clamp(80px, 10vw, 128px); position: relative; overflow: hidden; display: grid; }
.bond::before { /* arco dorado del logotipo, a gran escala y apenas visible */
  content: ""; position: absolute; width: min(900px, 140vw); aspect-ratio: 1; left: 50%; top: 18%; transform: translateX(-50%); border-radius: 50%; border: 1px solid rgba(232, 175, 0, .35);
}
.bond-copy { position: relative; max-width: 900px; margin-inline: auto; text-align: center; }
.bond h2 { font-size: var(--t-h2); line-height: 1.04; }
.bond h2 em { color: var(--gold); }
.bond p { margin: 28px auto 0; max-width: 40ch; color: var(--on-navy-2); font-size: var(--t-lead); }
.bond.has-photo { grid-template-columns: 1fr; gap: 40px; }
.bond-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 0 0; }
@media (min-width: 900px) {
  .bond.has-photo { grid-template-columns: 1fr 1fr; align-items: center; max-width: none; }
  .bond.has-photo .bond-copy { text-align: left; }
}

/* ---------- Cómo usar ---------- */
.use { padding-block: clamp(64px, 8vw, 104px) clamp(48px, 6vw, 80px); }
.use .sec-head { margin-bottom: 28px; }
.use-steps { max-width: var(--max); margin-inline: auto; display: grid; gap: 0; }
.use-steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line); }
.use-steps .n { font: 600 .8125rem/1 var(--sans); color: var(--gold-ink); grid-row: span 2; padding-top: 14px; }
.use-steps strong { font: 400 clamp(3rem, 2rem + 4vw, 5.5rem)/1 var(--serif); }
.use-steps span:last-child { color: var(--ink-2); margin-top: 8px; }
@media (min-width: 820px) {
  .use-steps { grid-template-columns: repeat(3, 1fr); }
  .use-steps li { grid-template-columns: 1fr; padding: 28px 28px 0 0; }
  .use-steps .n { grid-row: auto; padding: 0 0 12px; }
}
.recs { max-width: var(--max); margin: 40px auto 0; }
.recs summary { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; list-style: none; font-weight: 600; border-bottom: 1px solid var(--line-gold); }
.recs summary::-webkit-details-marker { display: none; }
.recs summary::after { content: "+"; font-weight: 400; font-size: 1.25rem; color: var(--gold-ink); transition: transform .2s; }
.recs[open] summary::after { transform: rotate(45deg); }
.recs ul { margin-top: 20px; display: grid; gap: 0 48px; max-width: 900px; }
.recs li { padding: 10px 0 10px 22px; position: relative; border-bottom: 1px solid var(--line); }
.recs li::before { content: ""; position: absolute; left: 0; top: 20px; width: 8px; height: 1px; background: var(--gold-ink); }
@media (min-width: 720px) { .recs ul { grid-template-columns: 1fr 1fr; } }

/* ---------- Historia ---------- */
.story { background: var(--sand); padding-block: clamp(64px, 8vw, 96px); text-align: center; }
.story .eyebrow, .story-quote, .soon-tag { max-width: 860px; margin-inline: auto; }
.story-quote { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); line-height: 1.12; }
.soon-tag { display: table; margin-top: 28px; padding: 8px 16px; border: 1px solid rgba(3, 22, 46, .22); border-radius: 999px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

/* Testimonios (sólo con contenido real) */
.testimonials { padding-block: clamp(72px, 10vw, 120px); }
.t-grid { max-width: var(--max); margin-inline: auto; display: grid; gap: 40px; }
@media (min-width: 820px) { .t-grid { grid-template-columns: repeat(3, 1fr); } }
.t-item { margin: 0; display: grid; gap: 16px; }
.t-item img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.t-item blockquote { margin: 0; font: italic 400 1.5rem/1.3 var(--serif); }
.t-item figcaption { font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-block: clamp(64px, 8vw, 104px); display: grid; gap: 36px; }
.faq-head h2 { font-size: var(--t-h2); line-height: 1.02; }
@media (min-width: 900px) { .faq { grid-template-columns: 1fr 1.5fr; gap: 88px; align-items: start; } .faq-head { position: sticky; top: calc(var(--hdr-h) + 40px); } }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:nth-last-of-type(1), .faq-list:not(.expanded) details:nth-of-type(5) { border-bottom: 1px solid var(--line); }
.faq-list:not(.expanded) .faq-more { display: none; }
.faq-list summary { list-style: none; cursor: pointer; position: relative; padding: 22px 44px 22px 0; font-size: 1.0625rem; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 300; color: var(--gold-ink); transition: transform .2s var(--ease); }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 44px 24px 0; color: var(--ink-2); max-width: 60ch; }
.faq-list a { font-weight: 600; }
.faq-toggle { margin-top: 22px; background: none; border: 0; border-bottom: 1px solid var(--line-gold); padding: 8px 0; min-height: 44px; font: 600 .9375rem var(--sans); color: var(--navy); cursor: pointer; }

/* ---------- Pie de página (único bloque completo en azul) ---------- */
.ftr { background: var(--navy); color: var(--on-navy); padding: clamp(56px, 8vw, 88px) var(--gut) 28px; }
.ftr-grid { max-width: var(--max); margin-inline: auto; display: grid; gap: 40px 32px; grid-template-columns: 1fr 1fr; }
.ftr-brand { grid-column: 1 / -1; display: grid; gap: 18px; justify-items: start; }
.ftr-brand img { width: 150px; }
.ftr-brand p { color: var(--on-navy-2); }
@media (min-width: 900px) { .ftr-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .ftr-brand { grid-column: auto; } }
.ftr-h { font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.ftr ul { display: grid; gap: 0; }
.ftr li a, .ftr li span { display: inline-flex; align-items: center; min-height: 44px; padding: 0; color: var(--on-navy); text-decoration: none; font-size: .9375rem; }
.ftr li a:hover { color: var(--gold); }
.ftr li .ci-k { color: var(--on-navy-2); padding: 0; margin-right: 6px; }
.ftr-social { display: flex; gap: 12px; margin-bottom: 6px; }
.ftr-social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(245, 242, 233, .28); border-radius: 50%; color: var(--on-navy); transition: border-color .25s var(--ease), color .25s var(--ease); }
.ftr-social a:hover { border-color: var(--gold); color: var(--gold); }
.ftr-social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ftr-base { max-width: var(--max); margin: 48px auto 0; padding-top: 22px; border-top: 1px solid rgba(245, 242, 233, .16); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: .8125rem; color: var(--on-navy-2); }
.ftr-tag { font-family: var(--serif); font-style: italic; font-size: 1.125rem; color: var(--on-navy); }

/* ---------- Modales ---------- */
.modal { border: 0; padding: 0; border-radius: 24px; background: var(--cream); color: var(--navy); width: min(960px, calc(100% - 24px)); max-width: calc(100% - 24px); max-height: calc(100svh - 24px); overflow-y: auto; overscroll-behavior: contain; }
.modal-sm { width: min(520px, calc(100% - 24px)); }
.modal::backdrop { background: rgba(3, 22, 46, .55); backdrop-filter: blur(4px); }
.modal[open] { animation: rise .3s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.modal-inner { position: relative; padding: 32px 22px; }
@media (min-width: 640px) { .modal-inner { padding: 48px; } }
.modal-close { position: sticky; top: 0; float: right; margin: -16px -8px 0 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--sand); color: var(--navy); font-size: 1.625rem; line-height: 1; cursor: pointer; z-index: 3; }
.modal h2 { font-size: clamp(2.25rem, 1.8rem + 2vw, 3.25rem); line-height: 1; }
.modal-inner::after { content: ""; display: table; clear: both; }
.modal-text { margin-top: 16px; color: var(--ink-2); }
.pm-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .pm-grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; } }
.pm-grid > * { min-width: 0; }
.pm-stage { position: relative; aspect-ratio: 4 / 5; max-height: 52svh; margin-inline: auto; width: 100%; background: var(--sand); border-radius: 999px 999px 0 0; }
.pm-stage img { position: absolute; left: 14%; right: 14%; top: 12%; bottom: 6%; width: 72%; height: 82%; object-fit: contain; }
.pm-stage img.round { left: 18%; top: 22%; width: 64%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.pm-views { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.pm-views button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(3, 22, 46, .22); background: transparent; color: var(--navy); font: 500 .875rem var(--sans); cursor: pointer; }
.pm-views button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.pm-info { display: grid; gap: 22px; align-content: start; }
.pm-info h4 { margin: 0 0 6px; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.pm-info p { color: var(--ink-2); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 90; max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 999px; background: var(--navy); color: var(--cream); font-weight: 500; font-size: .9375rem; text-align: center; }

/* ---------- Movimiento discreto ---------- */
.rv { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.pre { opacity: .001; transform: translateY(18px); }
@media (max-width: 899px) { .js .rv.pre { opacity: 1; transform: none; } }
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .hero .pack { animation: settle 1s var(--ease) both; }
  .hero .pack-b { animation-delay: .12s; }
}
@keyframes settle { from { opacity: 0; translate: 0 14px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv.pre { opacity: 1; transform: none; }
}

/* ---------- Ajustes finos para teléfonos (360–430 px) ---------- */
@media (max-width: 430px) {
  :root { --t-display: clamp(2.75rem, 1.4rem + 7vw, 3.25rem); --t-h2: clamp(2.125rem, 1.4rem + 3.6vw, 2.5rem); }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .p-actions, .p-actions .btn { width: 100%; }
  .scene-caption { letter-spacing: .1em; }
}

/* ---------- Puntos de venta ---------- */
.where { padding-block: clamp(64px, 8vw, 104px); }
.where .sec-head { margin-bottom: clamp(32px, 5vw, 56px); }
.stores { max-width: var(--max); margin-inline: auto; display: grid; gap: 20px; }
@media (min-width: 820px) { .stores { grid-template-columns: repeat(2, 1fr); } .stores.stores-one { max-width: 680px; grid-template-columns: 1fr; } }
.store { background: var(--cream-hi); border-radius: 20px; padding: clamp(22px, 3vw, 32px); box-shadow: 0 0 0 1px var(--line); display: grid; gap: 18px; align-content: start; }
.store-head { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.store-head .ico { width: 26px; height: 26px; color: var(--gold-ink); margin-top: 4px; }
.store h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 1.5rem + 1vw, 2.125rem); line-height: 1.05; }
.store-addr { margin-top: 8px; color: var(--ink-2); }
.store-meta { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.store-tags { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.store-tags ul { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-sm { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .875rem; font-weight: 500; }
.store-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.store-actions .btn { flex: 1 1 170px; gap: 8px; }
.btn-ghost-line { border-color: var(--line); color: var(--navy); background: transparent; }
.btn-ghost-line:hover { border-color: var(--navy); }
.btn-ghost-line .ico { width: 18px; height: 18px; color: currentColor; }

/* ---------- Textos legales ---------- */
.legal-body { margin-top: 20px; max-width: 62ch; }
.legal-body h3 { font-family: var(--sans); font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin: 26px 0 8px; }
.legal-body p { color: var(--ink-2); }
.legal-date { font-size: .8125rem; }
.legal-note { padding: 14px 16px; border-radius: 12px; background: rgba(232, 175, 0, .16); border: 1px solid rgba(232, 175, 0, .5); color: var(--navy); font-size: .875rem; font-weight: 500; }
.legal-body .legal-note { margin-bottom: 8px; }

/* ---------- Pedido a domicilio ---------- */
.order { padding-block: clamp(64px, 8vw, 104px); background: var(--sand); }
.order .sec-head { margin-bottom: clamp(28px, 4vw, 48px); }
.order-grid { max-width: var(--max); margin-inline: auto; display: grid; gap: 24px; align-items: start; }
@media (min-width: 980px) { .order-grid { grid-template-columns: 1.35fr 1fr; gap: 32px; } }
.order-h { font-family: var(--sans); font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 16px; }
.order-items, .order-summary { background: var(--cream-hi); border-radius: 20px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 0 0 1px var(--line); }
.order-items .order-h + .items { margin-bottom: 30px; }

.items { display: grid; gap: 14px; }
.item { display: grid; grid-template-columns: 72px 1fr; gap: 14px 16px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--cream); }
.item-img { width: 72px; height: auto; }
.item-info h4 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 1.375rem; line-height: 1.1; }
.item-meta { color: var(--ink-2); font-size: .9375rem; margin-top: 2px; }
.item-stock { display: flex; align-items: center; gap: 7px; margin-top: 6px; font-size: .8125rem; font-weight: 600; }
.ok-dot { width: 8px; height: 8px; border-radius: 50%; background: #2F6B3A; }
.item-qty { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
@media (min-width: 560px) { .item { grid-template-columns: 72px 1fr auto; } .item-qty { grid-column: auto; justify-content: flex-end; } }
.stepper { display: inline-flex; align-items: center; border: 1px solid rgba(3, 22, 46, .25); border-radius: 999px; background: #fff; overflow: hidden; }
.step { width: 46px; height: 46px; border: 0; background: transparent; color: var(--navy); font-size: 1.375rem; line-height: 1; cursor: pointer; }
.step:disabled { opacity: .35; cursor: not-allowed; }
.step:hover:not(:disabled) { background: var(--sand); }
.qty { width: 62px; height: 46px; border: 0; border-inline: 1px solid rgba(3, 22, 46, .18); text-align: center; font: 600 1rem var(--sans); color: var(--navy); background: #fff; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.qty::-webkit-outer-spin-button, .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty:focus-visible, .step:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.item-line { font-weight: 600; font-variant-numeric: tabular-nums; min-width: 90px; text-align: right; }

.order-fields { display: grid; gap: 18px; }
@media (min-width: 620px) { .order-fields { grid-template-columns: 1fr 1fr; } .field-wide { grid-column: 1 / -1; } }
.order .field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.order label, .order legend { font-size: .875rem; font-weight: 600; padding: 0; }
.opt { font-weight: 400; color: var(--ink-2); }
.order input[type="text"], .order input[type="tel"], .order input[type="date"], .order select {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid rgba(3, 22, 46, .22); border-radius: 12px;
  background: #fff; color: var(--navy); font: 400 1rem var(--sans);
}
.order select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 42px; }
.order input:focus, .order select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(232, 175, 0, .45); }
.order [aria-invalid="true"] { border-color: #A4221A; border-width: 2px; }
.order .error { color: #A4221A; font-size: .8125rem; font-weight: 600; }
.order .error::before { content: "⚠ "; }
.hint { font-size: .8125rem; color: var(--ink-2); }
.order .choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.order .choice { position: relative; }
.order .choice input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.order .choice span { display: grid; place-items: center; min-height: 52px; padding: 8px; text-align: center; border: 1px solid rgba(3, 22, 46, .22); border-radius: 12px; background: #fff; font-weight: 500; }
.order .choice input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.order .choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(232, 175, 0, .6); }

.order-summary { position: sticky; top: calc(var(--hdr-h) + 16px); display: grid; gap: 16px; }
@media (max-width: 979px) { .order-summary { position: static; } }
.sum { display: grid; gap: 0; }
.sum div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.sum dt { color: var(--ink-2); font-size: .9375rem; }
.sum dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.sum-total { border-bottom: 0 !important; padding-top: 14px !important; }
.sum-total dt { font-family: var(--serif); font-size: 1.25rem; color: var(--navy); }
.sum-total dd { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; }
.coverage { font-size: .8125rem; color: var(--ink-2); padding-left: 12px; border-left: 2px solid var(--gold); }
.order .consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .875rem; font-weight: 400; line-height: 1.45; cursor: pointer; }
.order .consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--navy); }
.order .consent a { font-weight: 600; }
.order-status { font-size: .8125rem; font-weight: 600; color: var(--ink-2); text-align: center; }
.order-status.is-error { color: #A4221A; }
.order-status.is-ok { color: #2F6B3A; }
.order-note { font-size: .8125rem; color: var(--ink-2); padding: 12px 14px; border-radius: 12px; background: rgba(232, 175, 0, .16); border: 1px solid rgba(232, 175, 0, .45); }

/* ---------- Páginas secundarias (encabezado de página y enlaces cruzados) ---------- */
.page-head { max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-block: clamp(36px, 6vw, 72px) clamp(28px, 4vw, 44px); display: grid; gap: 18px; justify-items: start; }
.page-head h1 { font-size: var(--t-h2); line-height: 1.02; }
.page-lead { font-size: var(--t-lead); color: var(--ink-2); max-width: 54ch; }
.page-note { font-size: .875rem; color: var(--ink-2); padding: 12px 14px; border-radius: 12px; background: rgba(232, 175, 0, .16); border: 1px solid rgba(232, 175, 0, .45); max-width: 62ch; }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
@media (max-width: 430px) { .page-actions { width: 100%; } .page-actions .btn { width: 100%; } }
.page-cross { padding-block: clamp(48px, 7vw, 88px); }
.cross-card { max-width: var(--max); margin-inline: auto; background: var(--navy); color: var(--on-navy); border-radius: 24px; padding: clamp(28px, 5vw, 56px); display: grid; gap: 14px; justify-items: start; }
.cross-card h2 { font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem); line-height: 1.05; }
.cross-card p { color: var(--on-navy-2); max-width: 46ch; }
.cross-card .btn { margin-top: 8px; }
.nav a[aria-current="page"] { background-size: 100% 1px; }
.where .sec-head { margin-bottom: 0; }
.order { background: transparent; padding-top: 0; }
