/* ============================================================
   La Panata — sistema visual "editorial de panadería de herencia"
   Papel cálido + grano · Fraunces display · arco de horno · sello 1984
   ============================================================ */

:root {
  --paper:      #f3e8d2;
  --paper-deep: #e6d3b0;
  --redarch:    #e9644cc7;
  --redarchshadow: #e9644c;
  --cream:      #faf2e1;
  --ink:        #251710;   /* espresso, texto y secciones oscuras */
  --ink-2:      #5f4d39;
  --red:        #b83524;
  --red-deep:   #8c2417;
  --gold:       #bf843a;
  --line:       rgba(37, 23, 16, .16);
  --line-soft:  rgba(37, 23, 16, .09);

  --maxw: 1180px;
  --r: 16px;
  --r-lg: 26px;
  --shadow:    0 30px 60px -30px rgba(37, 23, 16, .5);
  --shadow-sm: 0 14px 30px -18px rgba(37, 23, 16, .55);

  --display: "Fraunces", Georgia, serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;

  /* Textura de PAPEL prensado (tipo cartulina, no motas de harina):
       1) fibra fina  — grano fino de papel (fractalNoise alta frec.), blend MULTIPLY
       2) grano medio — trama algo mayor para dar tacto, blend MULTIPLY
       3) mottle      — nube gris suave de baja frecuencia (irregularidad del papel), soft-light
     Los dos granos van en MULTIPLY: oscurecen ligeramente las fibras, que es lo que hace
     que el grano SE NOTE sobre un papel claro (con soft-light se lavaba y no se veía).
     Todo en escala de grises => superficie de papel continua, no puntos espolvoreados. */
  --flour:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='pf'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='1' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.22'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23pf)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='pm'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.5' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.2'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23pm)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='620' height='620'%3E%3Cfilter id='pn'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.011' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.5'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23pn)'/%3E%3C/svg%3E");
  --flour-blend: multiply, multiply, soft-light;
  --flour-size: 160px 160px, 260px 260px, 540px 540px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
/* Modo "una pantalla por sección" (solo en páginas con <html class="snap">) */
/* Snap nativo APAGADO: el desplazamiento pantalla-a-pantalla lo hace fullpage.js.
   (El snap CSS reanclaba mal en el instante de carga, antes de que el JS tomara control.) */
.snap { scroll-snap-type: none; scroll-padding-top: 60px; }
.snap body > section, .snap body > .snap-pane {
  scroll-snap-align: start; scroll-snap-stop: always;
}
.snap body > section:not(.hero), .snap body > .snap-pane {
  min-height: calc(100svh - 60px);
}
.snap body > section:not(.tl-full):not(.hero) {
  display: flex; flex-direction: column; justify-content: center;
}
/* Panes que agrupan dos secciones en una sola pantalla */
.snap body > .snap-pane { display: flex; flex-direction: column; }
.snap body > .snap-pane:not(.snap-pane--foot) { justify-content: center; }
.snap .snap-pane > section { min-height: 0; padding-block: clamp(22px, 3.2vh, 48px); }
.snap .snap-pane .about .arch { max-width: 400px; }   /* contenida al compartir pantalla */
/* Pane del pie: el CTA llena y el footer queda abajo, compacto */
.snap-pane--foot > .capture { flex: 1; display: flex; flex-direction: column; justify-content: center; }
@media (prefers-reduced-motion: reduce) { .snap { scroll-snap-type: none; } }
/* En móvil, scroll normal: las secciones apiladas no caben en una pantalla */
@media (max-width: 860px) {
  .snap { scroll-snap-type: none; }
  /* :not(...) para igualar especificidad y poder anular las reglas de pantalla completa */
  .snap body > section:not(.hero), .snap body > .snap-pane, .snap body > footer { min-height: 0; }
  .snap body > section:not(.tl-full):not(.hero), .snap body > .snap-pane { display: block; justify-content: initial; }
  .snap-pane--foot > .capture { display: block; flex: none; }
  .snap body > .tl-full { min-height: max(560px, 100svh); display: flex; }
}

body {
  font-family: var(--body);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: clip;                 /* sin scroll horizontal (no rompe el header sticky) */
  background-color: var(--paper);
  /* Papel con TEXTURA DE HARINA en el fondo (no overlay → no rompe el hero/fotos):
     arena fina + espolvoreado irregular (mottle) + motas claras de harina + brillos cálidos */
  background-image: var(--flour),
    radial-gradient(1200px 600px at 78% -8%, rgba(191,132,58,.28), transparent 60%),
    radial-gradient(900px 500px at 0% 12%, rgba(250,242,225,.7), transparent 55%);
  background-blend-mode: var(--flour-blend), normal, normal;
  background-size: var(--flour-size), auto, auto;
  background-repeat: repeat, repeat, repeat, no-repeat, no-repeat;
  position: relative;
}
body > * { position: relative; z-index: 2; }

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 { font-family: var(--display); line-height: 1.04; font-weight: 600; letter-spacing: -.015em; }
h1, h2, h3, p, li, summary { overflow-wrap: break-word; }   /* nada de palabras que desborden */
em { font-style: italic; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 26px; }
.section { padding-block: clamp(60px, 9vw, 124px); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* ---------- Kicker / etiquetas ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--body); font-weight: 600; text-transform: uppercase;
  letter-spacing: .22em; font-size: .72rem; color: var(--red);
  margin-bottom: 18px;
}
.kicker-rule { width: 34px; height: 1px; background: currentColor; opacity: .6; }
.kicker--center { justify-content: center; }
.kicker--light { color: var(--gold); }

/* ---------- Encabezado de sección ---------- */
.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-title { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 600; }
.section-sub { color: var(--ink-2); margin-top: 16px; font-size: 1.05rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--red-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: #fff; transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ============================================================
   MARQUESINA
   ============================================================ */
.ticker {
  background: var(--ink); color: var(--cream); overflow: hidden;
  border-bottom: 1px solid rgba(250,242,225,.12);
}
.ticker-track {
  display: flex; width: max-content; white-space: nowrap;
  font-family: var(--display); font-style: italic; font-size: .92rem; letter-spacing: .02em;
  padding-block: 9px; animation: ticker 34s linear infinite;
}
.ticker-track span { padding-inline: .5rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(12px) saturate(1.1);
  border-bottom: 1px solid var(--line-soft);
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--paper) 97%, transparent);
  box-shadow: 0 8px 28px -18px rgba(37,23,16,.55);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; transition: height .25s ease; }
.site-header.scrolled .header-inner { height: 60px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { height: 70px; width: auto; display: block; mix-blend-mode: multiply; transition: height .25s ease; }
.site-header.scrolled .brand-logo { height: 46px; }

.nav-menu { list-style: none; display: flex; align-items: center; gap: 30px; padding: 0; }
.nav-menu a { text-decoration: none; font-weight: 500; font-size: .96rem; color: var(--ink); position: relative; transition: color .15s; }
.nav-menu a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1.5px;
  background: var(--red); transition: right .28s ease;
}
.nav-menu a:not(.nav-cta):hover { color: var(--red); }
.nav-menu a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { background: var(--red); color: #fff !important; padding: 10px 20px; border-radius: 999px; }
.nav-cta:hover { background: var(--red-deep); }

.nav-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; min-width: 44px; min-height: 44px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ============================================================
   HERO — foto a sangre + overlay
   ============================================================ */
.hero {
  position: relative; overflow: hidden; color: var(--cream);
  /* pantalla completa menos la marquesina (~38px) y el header (74px) */
  min-height: max(540px, calc(100svh - 112px));
  display: flex; align-items: center;
  padding-block: clamp(40px, 8vh, 96px);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 38%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(96deg, rgba(28,17,11,.92) 0%, rgba(28,17,11,.74) 38%, rgba(28,17,11,.34) 70%, rgba(28,17,11,.5) 100%),
    linear-gradient(0deg, rgba(28,17,11,.55), transparent 40%);
}
.hero-inner { position: relative; z-index: 1; width: 100%; }
.hero-copy { max-width: 640px; }
.hero-title {
  font-size: clamp(2.7rem, 7vw, 5.4rem); font-weight: 600; letter-spacing: -.025em;
  color: var(--cream); text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.hero-title em { color: #f0a07e; font-weight: 500; }
.hero-lead { font-size: clamp(1.05rem, 1.7vw, 1.24rem); color: rgba(250,242,225,.86); margin-top: 22px; max-width: 50ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn-ghost--light { color: var(--cream); border-color: rgba(250,242,225,.5); }
.btn-ghost--light:hover { border-color: var(--cream); background: rgba(250,242,225,.1); }

/* Arco de horno (usado en sección obrador) */
.arch {
  position: relative; margin: 0; overflow: hidden;
  aspect-ratio: 4/5;
  border-radius: 999px 999px var(--r) var(--r);
  background: linear-gradient(160deg, var(--paper-deep), var(--gold));
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.arch::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 7px var(--cream), inset 0 0 0 8px var(--line-soft);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* Sello "Est. 1984" giratorio (esquina del hero) */
.stamp {
  position: absolute; z-index: 2;
  right: clamp(20px, 4vw, 56px); bottom: clamp(20px, 4vw, 48px);
  width: 128px; height: 128px;
  display: grid; place-items: center;
  background: var(--cream); border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
@media (max-width: 680px) { .stamp { width: 96px; height: 96px; } }
.stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.stamp-text { font-family: var(--body); font-weight: 700; font-size: 13px; letter-spacing: .04em; fill: var(--red); text-transform: uppercase; }
.stamp-core {
  font-family: var(--display); font-style: italic; text-align: center; line-height: 1; color: var(--ink);
  font-size: .82rem;
}
.stamp-core b { display: block; font-style: normal; font-weight: 600; font-size: 1.5rem; margin-top: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   MARCAS / CONFIANZA
   ============================================================ */
.marks { border-top: 2px solid var(--red); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--cream) 55%, transparent); }
.marks-row { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .marks-row { grid-template-columns: repeat(4, 1fr); } }
.mark {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
  padding: clamp(22px, 4vw, 40px) 18px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
@media (min-width: 760px) { .mark { border-bottom: 0; } .mark:last-child { border-right: 0; } }
.mark:nth-child(2n) { border-right: 0; }
@media (min-width: 760px) { .mark:nth-child(2n) { border-right: 1px solid var(--line); } .mark:nth-child(4n) { border-right: 0; } }
.mark-n { font-family: var(--display); font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: var(--red); font-weight: 600; }
.mark-l { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); }

/* ============================================================
   MANIFIESTO
   ============================================================ */
.manifesto { padding-block: clamp(64px, 10vw, 130px); text-align: center; }
.manifesto-text {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.7rem, 4.4vw, 3.1rem); line-height: 1.18; letter-spacing: -.02em;
  max-width: 18ch; margin-inline: auto; color: var(--ink);
}
.manifesto-text::before { content: "✺"; display: block; color: var(--red); font-size: 1.3rem; margin-bottom: 22px; }
.manifesto-text em { color: var(--red); }

/* ============================================================
   PRODUCTOS / CATÁLOGO (puerta + cuadrícula revelada)
   ============================================================ */
.products { background: color-mix(in srgb, var(--cream) 45%, transparent); border-top: 1px solid var(--line); overflow-x: clip; }
/* overflow-x:clip (no -y): contiene horizontalmente la cascada de entrada del
   catálogo (las tarjetas vuelan desde fuera de pantalla y bleedeaban ~2px durante
   la animación), sin recortar el hover-lift vertical de las tarjetas. */

/* Cuadrícula final: oculta hasta abrir la puerta, luego estática */
.catalog-grid {
  display: none;
  grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 1.6vw, 22px);
}
@media (min-width: 680px) { .catalog-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .catalog-grid { grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2vw, 28px); } }
.catalog.is-open .catalog-grid { display: grid; }

/* ---------- Puerta del catálogo ---------- */
.catalog { position: relative; overflow: clip; overflow-clip-margin: 28px; }
.catalog-gate {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: clamp(16px, 3vw, 44px); padding-block: 12px; overflow: hidden; max-height: 540px;
  transition: opacity .45s ease, transform .45s ease, max-height .6s ease, margin .6s ease;
}
.gate-side { display: flex; gap: 18px; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .45s ease; }
.gate-img {
  width: clamp(94px, 11vw, 150px); aspect-ratio: 1/1; object-fit: cover;
  border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.gate-side--l .gate-img:nth-child(1) { transform: rotate(-5deg); }
.gate-side--l .gate-img:nth-child(2) { transform: rotate(3deg); }
.gate-side--r .gate-img:nth-child(1) { transform: rotate(-3deg); }
.gate-side--r .gate-img:nth-child(2) { transform: rotate(5deg); }
@media (max-width: 720px) { .gate-side { display: none; } }

.gate-btn {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px;
  background: var(--red); color: #fff; border: 0; cursor: pointer; font-family: var(--body);
  padding: clamp(20px, 3vw, 32px) clamp(28px, 4vw, 48px); border-radius: 999px;
  box-shadow: 0 16px 34px -22px rgba(140, 36, 23, .5); transition: transform .2s ease, background .2s ease;
}
.gate-btn::before {
  content: ""; position: absolute; inset: -6px; border-radius: inherit;
  border: 2px solid var(--red); opacity: .35; animation: gatePulse 2.4s ease-out infinite;
}
.gate-btn:hover { transform: translateY(-3px) scale(1.03); background: var(--red-deep); }
.catalog-gate:hover .gate-side--l { transform: translateX(-10px); }
.catalog-gate:hover .gate-side--r { transform: translateX(10px); }
.gate-btn-label { font-family: var(--display); font-weight: 600; font-size: clamp(1.2rem, 2.3vw, 1.7rem); }
.gate-btn-sub { font-size: .82rem; letter-spacing: .04em; opacity: .92; }
@keyframes gatePulse { 0% { transform: scale(1); opacity: .35; } 70%, 100% { transform: scale(1.14); opacity: 0; } }

/* Abierto: la puerta se desvanece, los panes salen volando */
.catalog.is-open .catalog-gate { opacity: 0; max-height: 0; margin: 0; padding-block: 0; pointer-events: none; transform: scale(.96); }
.catalog.is-open .gate-side--l { transform: translateX(-90px) scale(.7); opacity: 0; }
.catalog.is-open .gate-side--r { transform: translateX(90px) scale(.7); opacity: 0; }

/* Cascada de entrada: cada tarjeta llega desde su propia dirección (--dx/--dy/--rot) */
.catalog.is-open .slide-card { animation: cardIn .8s cubic-bezier(.18,.74,.2,1) backwards; animation-delay: calc(var(--i, 0) * .07s); }
@keyframes cardIn {
  from { opacity: 0; transform: translate(var(--dx, 0), var(--dy, 48%)) scale(.55) rotate(var(--rot, -6deg)); }
  55%  { opacity: 1; }
  to   { opacity: 1; transform: translate(0, 0) scale(1) rotate(0); }
}

.slide-card {
  margin: 0; background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.slide-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.slide-photo { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--paper-deep); }
.slide-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
/* Viñeta sutil: unifica fondos dispares y da profundidad */
.slide-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 85% at 50% 28%, transparent 58%, rgba(37,23,16,.16));
  box-shadow: inset 0 -34px 46px -26px rgba(37,23,16,.4);
}
.slide-card:hover .slide-photo img { transform: scale(1.06); }
.slide-no {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  font-family: var(--display); font-size: .82rem; font-weight: 600;
  background: var(--cream); color: var(--red); width: 30px; height: 30px;
  display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line);
}
.slide-body { padding: 16px 18px 20px; border-top: 1px solid var(--line-soft); }
.slide-name { display: block; font-family: var(--display); font-size: 1.08rem; font-weight: 600; color: var(--ink); }
.slide-weight { display: block; margin-top: 5px; font-size: .85rem; color: var(--ink-2); }

/* ============================================================
   PROCESO
   ============================================================ */
/* Sección OSCURA (espresso): rompe el ritmo del papel entre secciones claras y
   encaja con el tema "tiempo, fuego y materia honesta". Acentos en oro (mejor
   contraste que el rojo sobre el fondo oscuro). */
.process { background: var(--ink); color: var(--cream); border-block: 1px solid rgba(0,0,0,.35); }
.process .section-title { color: var(--cream); }
.process .kicker { color: var(--gold); }
.process .kicker-rule { opacity: .55; }
.process .bread-field { opacity: .5; }

.steps { list-style: none; padding: 0; display: grid; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding-top: 26px; border-top: 2px solid var(--gold); }
.step-n { font-family: var(--display); font-style: italic; font-size: 2.6rem; color: var(--gold); line-height: 1; }
.step h3 { font-size: 1.4rem; margin: 14px 0 10px; color: var(--cream); }
.step p { color: color-mix(in srgb, var(--cream) 74%, transparent); }

/* ============================================================
   OBRADOR / QUIÉNES SOMOS
   ============================================================ */
.about-grid { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 880px) { .about-grid { grid-template-columns: .9fr 1.1fr; } }
.arch--art { background: var(--paper-deep); aspect-ratio: auto; display: block; }
.arch--art img { display: block; width: 100%; height: auto; object-fit: fill; padding: clamp(16px,3vw,28px) clamp(16px,3vw,28px) 54px; mix-blend-mode: multiply; }
.arch-caption {
  position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; z-index: 1;
  font-family: var(--display); font-style: italic; font-size: .95rem; color: var(--ink);
}
.about-copy .section-title { text-align: left; }
.about-copy p { color: var(--ink-2); margin-top: 16px; max-width: 56ch; }
.about-copy p:first-of-type::first-letter {
  font-family: var(--display); font-weight: 600; color: var(--red);
  font-size: 3.4em; line-height: .78; float: left; margin: 6px 12px 0 0;
}
.about-copy strong { color: var(--ink); font-weight: 600; }
.about-points {
  list-style: none; padding: 0; margin-top: 26px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px;
}
.about-points li { position: relative; padding-left: 24px; font-weight: 500; }
.about-points li::before { content: "✦"; position: absolute; left: 0; color: var(--red); }

/* ============================================================
   CAPTACIÓN B2B (banda rectangular roja)
   ============================================================ */
.capture {
  background: linear-gradient(115deg, var(--red-deep), var(--red) 55%, #c8472f);
  color: var(--cream); overflow: hidden; position: relative;
  padding-block: clamp(56px, 8vw, 104px);
}
.capture::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
}
.capture-inner { position: relative; display: grid; gap: 34px; align-items: center; }
@media (min-width: 860px) { .capture-inner { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.capture .kicker--light { color: rgba(255,236,210,.85); }
.capture-title { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 600; color: #fff; }
.capture-title em { color: #ffd9a0; }
.capture-copy p { margin-top: 16px; color: rgba(255,244,230,.9); max-width: 52ch; }

.capture-form { display: flex; flex-wrap: wrap; gap: 12px; }
.capture-form input[type="email"] {
  flex: 1 1 230px; padding: 16px 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.4);
  font: inherit; background: rgba(255,255,255,.14); color: #fff;
}
.capture-form input::placeholder { color: rgba(255,244,230,.7); }
.capture-form input:focus { outline: none; border-color: #fff; background: rgba(255,255,255,.22); }
.capture-form .form-status { flex-basis: 100%; min-height: 1.2em; font-size: .9rem; }

/* ============================================================
   CONTACTO
   ============================================================ */
/* Tinte cálido más profundo: distingue "contacto" de las secciones claras vecinas
   y templa la transición hacia la banda roja de captación. Los paneles crema resaltan. */
.contact { background: color-mix(in srgb, var(--paper-deep) 40%, transparent); border-top: 1px solid var(--line); }
.contact-grid { display: grid; gap: clamp(22px, 3vw, 30px); align-items: start; }
@media (min-width: 880px) { .contact-grid { grid-template-columns: 1fr 1.02fr; } }

/* Paneles cálidos */
.contact-card {
  background: var(--cream); border: 1px solid var(--line); border-top: 3px solid var(--red);
  border-radius: var(--r-lg); padding: clamp(22px, 3.4vw, 34px); box-shadow: var(--shadow-sm);
}

/* CTA WhatsApp destacada */
.wa-cta {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  background: linear-gradient(135deg, #25a063, #128c5f); color: #fff;
  border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .2s;
}
.wa-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.wa-cta-txt { display: flex; flex-direction: column; line-height: 1.2; }
.wa-cta-txt strong { font-family: var(--display); font-size: 1.08rem; font-weight: 600; }
.wa-cta-txt small { opacity: .9; font-size: .82rem; margin-top: 2px; }
.wa-cta-arrow { margin-left: auto; font-size: 1.3rem; }

.contact-list { list-style: none; padding: 0; margin-top: 24px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-ico { color: var(--red); font-size: 1rem; margin-top: 3px; }
.contact-list strong { font-family: var(--display); font-weight: 600; }
.contact-list a { color: var(--red); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.contact-map {
  margin: 24px 0 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 16/9; background: var(--paper-deep);
}
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.92) contrast(1.02); }

.social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.social-link {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: .9rem;
  padding: 9px 16px; border-radius: 999px; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); transition: transform .15s, background .2s, color .2s;
}
.social-link:hover { transform: translateY(-2px); border-color: var(--ink); }

.contact-form { display: grid; gap: 16px; align-content: start; }
.form-lead { font-family: var(--display); font-size: 1.15rem; color: var(--ink); margin-bottom: 2px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: .85rem; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; font: inherit; color: var(--ink);
  border: 1px solid var(--line); background: var(--paper); resize: vertical;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(184,53,36,.13); }
.form-status { min-height: 1.2em; font-size: .9rem; font-weight: 500; }
.form-status.is-ok { color: #1f7a44; }
.form-status.is-err { color: var(--red-deep); }
.capture-form .form-status.is-ok { color: #b7f5c9; }
.capture-form .form-status.is-err { color: #ffc9bf; }

/* Responsive: el email y la dirección largos forzaban el min-content de las
   tarjetas (min-width:auto en items grid/flex) y provocaban scroll horizontal
   en móviles estrechos (≤390px). Dejamos que encojan y que el token rompa. */
.contact-card { min-width: 0; }
.wa-cta { min-width: 0; }
.wa-cta-txt { min-width: 0; }
.wa-cta-txt strong, .wa-cta-txt small { overflow-wrap: anywhere; }
.contact-list li > div { min-width: 0; }
.contact-list a { overflow-wrap: anywhere; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: var(--cream); padding-block: clamp(46px, 6vw, 72px) 30px; border-radius: clamp(36px, 7vw, 80px) clamp(36px, 7vw, 80px) 0 0; margin-top: clamp(10px, 3vw, 40px); }
.footer-grid { display: grid; gap: 30px; align-items: start; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-word { font-family: var(--display); font-size: 2rem; font-weight: 600; }
.footer-tagline { color: rgba(250,242,225,.6); font-style: italic; font-family: var(--display); margin-top: 6px; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a, .footer-contact a { color: rgba(250,242,225,.78); text-decoration: none; width: max-content; transition: color .15s; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--cream); }
.footer-legal {
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(250,242,225,.14);
  font-size: .84rem; color: rgba(250,242,225,.55);
}

/* ============================================================
   PANES ROJOS DISPERSOS (scatter aleatorio por JS, no mosaico)
   ============================================================ */
.bread-field { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bread {
  position: absolute; left: var(--x, 50%); top: var(--y, 50%);
  width: var(--s, 42px); height: var(--s, 42px);
  transform: translate(-50%, -50%) rotate(var(--r, 0deg));
  opacity: var(--o, .08);
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='%23b83524' fill-rule='evenodd' transform='rotate(-24 32 32)'%3E%3Cpath d='M14 24 h36 a8 8 0 0 1 0 16 h-36 a8 8 0 0 1 0 -16 z M24 27 l-4 10 a1 1 0 0 0 2 1 l4 -10 a1 1 0 0 0 -2 -1 z M32 27 l-4 10 a1 1 0 0 0 2 1 l4 -10 a1 1 0 0 0 -2 -1 z M40 27 l-4 10 a1 1 0 0 0 2 1 l4 -10 a1 1 0 0 0 -2 -1 z'/%3E%3C/g%3E%3C/svg%3E");
}

/* ============================================================
   NAV RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 100%; right: 0; left: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding-inline: 26px; box-shadow: var(--shadow-sm);
    max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
  }
  .nav-menu.open { max-height: 360px; padding-block: 16px; }
  .nav-menu li { padding-block: 8px; }
  .nav-cta { text-align: center; margin-top: 8px; }
}

/* ============================================================
   REVEAL (scroll) — sólo si hay JS
   ============================================================ */
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .8s ease var(--d, 0s), transform .8s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .stamp svg, .gate-btn::before, .catalog.is-open .slide-card { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { border-top: 1px solid var(--line); background: color-mix(in srgb, var(--cream) 55%, transparent); }
.faq-grid { display: grid; gap: clamp(30px, 5vw, 60px); align-items: start; }
@media (min-width: 860px) { .faq-grid { grid-template-columns: .72fr 1.28fr; } }
.faq-intro .section-title { text-align: left; }
.faq-intro p { color: var(--ink-2); margin-top: 14px; max-width: 42ch; }
@media (min-width: 860px) { .faq-intro { position: sticky; top: 100px; } }

.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--r);
  padding: 2px 22px; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.faq-item:hover { border-color: color-mix(in srgb, var(--red) 50%, var(--line)); }
.faq-item[open] { border-color: var(--red); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 0;
  font-family: var(--display); font-size: 1.12rem; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--paper); color: var(--red);
  border: 1px solid var(--line); font-size: 1.25rem; line-height: 1;
  transition: transform .3s ease, background .2s ease, color .2s ease;
}
.faq-item[open] summary::after { content: "\2212"; background: var(--red); color: #fff; transform: rotate(180deg); }
.faq-answer { overflow: hidden; padding: 0 0 20px; color: var(--ink-2); }
.faq-answer p { max-width: 62ch; }
.faq-item[open] .faq-answer { animation: faqOpen .35s ease; }
@keyframes faqOpen { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* FAQ enriquecido (pantalla completa) */
.faq { position: relative; overflow: hidden; }
.faq-ghost {
  position: absolute; right: 1%; top: clamp(120px, 20vh, 260px); transform: none; z-index: 0;
  font-family: var(--display); font-weight: 600; font-size: clamp(360px, 52vw, 820px);
  line-height: .6; color: var(--red); opacity: .07; pointer-events: none; user-select: none;
}
.faq-grid { position: relative; z-index: 1; }
.faq-intro p { font-size: 1.08rem; }
.faq-cta {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 30px;
  background: #1f6f5c; color: #fff; text-decoration: none; font-weight: 700;
  padding: 14px 22px; border-radius: 16px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.faq-cta:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.faq-cta small { display: block; font-weight: 500; font-size: .82rem; opacity: .9; margin-top: 2px; }

.faq-list { counter-reset: faq; gap: clamp(14px, 2.2vh, 26px); }
.faq-item { counter-increment: faq; padding-inline: clamp(20px, 2vw, 30px); }
.faq-item summary { justify-content: flex-start; gap: 16px; padding: clamp(20px, 2.4vh, 32px) 0; font-size: clamp(1.12rem, 1.5vw, 1.34rem); }
.faq-item summary::before {
  content: counter(faq, decimal-leading-zero); flex: 0 0 auto;
  font-family: var(--display); font-weight: 600; font-size: 1rem; color: var(--red);
  opacity: .8; min-width: 2.4ch;
}
.faq-item summary::after { margin-left: auto; }
.faq-item[open] { background: color-mix(in srgb, var(--red) 5%, var(--cream)); }

/* Chips de confianza (columna intro) */
.faq-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; }
.faq-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cream); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 16px; font-size: .85rem; font-weight: 600; color: var(--ink-2);
  transition: border-color .2s ease, transform .2s ease;
}
.faq-badge:hover { border-color: color-mix(in srgb, var(--red) 45%, var(--line)); transform: translateY(-2px); }
.faq-badge svg { color: var(--red); flex: 0 0 auto; }

/* Categorías temáticas (lista) */
.faq-cat {
  display: flex; align-items: center; gap: 12px;
  margin: clamp(8px, 1.6vh, 18px) 0 0;
  font-family: var(--body); font-weight: 700; text-transform: uppercase;
  letter-spacing: .16em; font-size: .74rem; color: var(--red);
}
.faq-cat:first-child { margin-top: 0; }
.faq-cat::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.faq-cat-ico {
  display: inline-grid; place-items: center; width: 28px; height: 28px;
  border-radius: 50%; background: color-mix(in srgb, var(--red) 10%, var(--cream));
  font-size: .98rem; line-height: 1;
}

/* Lista FAQ a 2 columnas (reduce altura) */
@media (min-width: 980px) {
  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    column-gap: clamp(14px, 1.4vw, 22px);
  }
  .faq-cat { grid-column: 1 / -1; }
  .faq-item summary { font-size: clamp(1.02rem, 1.15vw, 1.16rem); padding-block: clamp(16px, 2vh, 24px); }
}

/* ============================================================
   PÁGINA CATÁLOGO COMPLETO
   ============================================================ */
.catalog-hero { padding: clamp(40px, 7vw, 80px) 0 clamp(18px, 3vw, 28px); text-align: center; position: relative; }
.catalog-hero .kicker { justify-content: center; }
.catalog-hero .section-title { margin-top: 4px; }
.catalog-hero-sub { max-width: 62ch; margin: 16px auto 0; color: var(--ink-2); font-size: 1.05rem; }
.back-link { display: inline-block; margin-bottom: 18px; color: var(--red); text-decoration: none; font-weight: 600; font-size: .92rem; }
.back-link:hover { text-decoration: underline; }
.catalog-cta {
  margin-top: clamp(36px, 5vw, 56px); display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center;
}
.catalog-cta p { color: var(--ink-2); max-width: 48ch; }

.gate-btn { text-decoration: none; }

.slide-desc {
  display: block; margin-top: 10px; padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  font-size: .86rem; line-height: 1.45; color: var(--ink-2);
}

/* Catálogo: contenedor más ancho → fotos ~50% más grandes */
.catalog-hero .container, #catalogo .container { max-width: 1320px; }

/* Variedades de pan decorativo de fondo (b1 baguette = base; b2 hogaza; b3 ovalado) */
.bread.b2 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%23b83524' fill-rule='evenodd' d='M32 8 a24 24 0 1 1 -0.01 0 z M27 23 l-5 14 a1 1 0 0 0 2 1 l5 -14 a1 1 0 0 0 -2 -1 z M38 25 l-5 14 a1 1 0 0 0 2 1 l5 -14 a1 1 0 0 0 -2 -1 z'/%3E%3C/svg%3E"); }
.bread.b3 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='%23b83524' fill-rule='evenodd' transform='rotate(-10 32 32)'%3E%3Cpath d='M14 23 h36 a9 9 0 0 1 0 18 h-36 a9 9 0 0 1 0 -18 z M27 27 l-4 10 a1 1 0 0 0 2 1 l4 -10 a1 1 0 0 0 -2 -1 z M37 27 l-4 10 a1 1 0 0 0 2 1 l4 -10 a1 1 0 0 0 -2 -1 z'/%3E%3C/g%3E%3C/svg%3E"); }

/* ============================================================
   PÁGINA HISTORIA: línea de tiempo + beneficios
   ============================================================ */
.timeline-sec { background: color-mix(in srgb, var(--cream) 45%, transparent); border-top: 1px solid var(--line); }
.timeline { list-style: none; padding: 0; max-width: 760px; margin-inline: auto; position: relative; }
.timeline::before { content: ""; position: absolute; left: 14px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
@media (min-width: 640px) { .timeline::before { left: 124px; } }
.timeline-item { position: relative; padding: 0 0 36px 46px; }
@media (min-width: 640px) { .timeline-item { padding-left: 156px; } }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: 8px; top: 6px; width: 15px; height: 15px;
  border-radius: 50%; background: var(--red); border: 3px solid var(--cream); box-shadow: 0 0 0 1px var(--line);
}
@media (min-width: 640px) { .timeline-item::before { left: 118px; } }
.timeline-year { display: inline-block; font-family: var(--display); font-weight: 600; color: var(--red); font-size: .98rem; margin-bottom: 2px; }
@media (min-width: 640px) { .timeline-year { position: absolute; left: 0; top: 4px; width: 104px; text-align: right; margin: 0; } }
.timeline-item h3 { font-size: 1.32rem; margin: 4px 0 8px; }
.timeline-item p { color: var(--ink-2); max-width: 56ch; }

/* Línea de tiempo interactiva — pantalla completa (tipo hero) */
.tl-full {
  position: relative; overflow: hidden; color: var(--ink);
  min-height: max(640px, 100svh);
  background-color: #f3e8d2;
  background-image: var(--flour), linear-gradient(140deg, #faf2e1, #efe0c2);
  background-blend-mode: var(--flour-blend), normal;
  background-size: var(--flour-size), auto;
  background-repeat: repeat, repeat, repeat, no-repeat;
  border-block: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.tl-full::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(1100px 760px at 86% -8%, rgba(191,132,58,.22), rgba(191,132,58,0) 60%),
    radial-gradient(900px 720px at -6% 112%, rgba(250,242,225,.75), rgba(250,242,225,0) 58%);
}
.tl-full .tl-ghost {
  position: absolute; right: 1%; top: 54%; transform: translateY(-50%); z-index: 0;
  font-family: var(--display); font-weight: 600; font-size: clamp(200px, 30vw, 560px);
  line-height: .8; color: var(--red); opacity: .17; letter-spacing: -.03em;
  white-space: nowrap; pointer-events: none; user-select: none;
}
.tl-inner {
  position: relative; z-index: 1; width: 100%; max-width: var(--maxw); margin-inline: auto; flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(46px, 8vh, 96px) clamp(26px, 5vw, 80px) clamp(38px, 5vh, 64px);
}
.tl-head { margin-bottom: clamp(18px, 3.5vh, 44px); }
.tl-eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: .8rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
.tl-pagetitle { font-family: var(--display); font-weight: 600; color: var(--ink);
  font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1.0; letter-spacing: -.015em; margin-top: 14px; }

.tl-widget { position: relative; outline: none; margin-top: clamp(8px, 2vh, 24px); }
.tl-content { position: relative; z-index: 1; max-width: 760px;
  transition: opacity .42s ease, transform .42s cubic-bezier(.2,.7,.2,1); }
.tl-content.is-swap { opacity: 0; transform: translateX(-22px); transition-duration: .2s; }
.tl-kick { display: inline-flex; align-items: center; gap: 14px; font-size: .82rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.tl-kick-rule { width: 42px; height: 2px; background: var(--red); display: inline-block; }
.tl-era { font-family: var(--display); font-style: italic; font-weight: 600;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem); color: var(--red); margin-top: 16px; }
.tl-title { font-family: var(--display); font-weight: 600; color: var(--ink);
  font-size: clamp(3rem, 7vw, 6rem); line-height: .98; letter-spacing: -.02em; margin: 8px 0 0; }
.tl-desc { color: var(--ink-2); font-size: clamp(1.08rem, 1.5vw, 1.5rem); line-height: 1.5;
  margin-top: clamp(18px, 2.4vw, 30px); max-width: 60ch; }
.tl-index { position: absolute; right: clamp(26px, 5vw, 80px); top: clamp(46px, 8vh, 96px);
  z-index: 1; font-family: var(--display); font-weight: 600; color: var(--ink-2); font-size: 1.5rem; }
.tl-index b { color: var(--red); font-size: 2.6rem; }

/* Barra / nodos */
.tl-bar { position: relative; z-index: 1; margin-top: clamp(26px, 4vh, 54px); height: 64px; }
.tl-track { position: absolute; left: 0; right: 0; top: 11px; height: 4px; border-radius: 4px;
  background: var(--line); }
.tl-fill { position: absolute; left: 0; top: 11px; height: 4px; width: 0; border-radius: 4px;
  background: var(--red); transition: width .5s cubic-bezier(.4,0,.2,1); }
.tl-cursor { position: absolute; top: 1px; left: 0; width: 26px; height: 26px; margin-left: -13px;
  border-radius: 50%; border: 3px solid var(--red); background: rgba(184,53,36,.14);
  transition: left .5s cubic-bezier(.4,0,.2,1); animation: tlPulse 2s ease-in-out infinite; }
@keyframes tlPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(184,53,36,.4); } 50% { box-shadow: 0 0 0 9px rgba(184,53,36,0); } }
.tl-nodes { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; }
.tl-node { appearance: none; background: none; border: 0; padding: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 14px; width: 0; font: inherit; color: inherit; }
.tl-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--paper-deep);
  border: 3px solid var(--line); transition: background .3s, border-color .3s, transform .3s; }
.tl-node.is-done .tl-dot { background: var(--red); border-color: var(--red); }
.tl-node.is-active .tl-dot { transform: scale(1.35); }
.tl-node:hover .tl-dot { border-color: var(--red); transform: scale(1.2); }
.tl-lab { font-size: .82rem; font-weight: 600; color: var(--ink-2); white-space: nowrap;
  letter-spacing: .01em; transition: color .3s; }
.tl-node.is-active .tl-lab { color: var(--red); }
.tl-node:focus-visible { outline: none; }
.tl-node:focus-visible .tl-dot { box-shadow: 0 0 0 4px rgba(184,53,36,.4); }
.tl-full:focus-visible { outline: 3px solid rgba(184,53,36,.45); outline-offset: -3px; }

/* Flechas prev/siguiente */
.tl-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: clamp(46px, 4vw, 60px); height: clamp(46px, 4vw, 60px); border-radius: 50%;
  border: 2px solid var(--red); background: rgba(250,242,225,.72); color: var(--red);
  display: grid; place-items: center; cursor: pointer;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.tl-arrow:hover { background: var(--red); color: #fff; box-shadow: var(--shadow-sm); transform: translateY(-50%) scale(1.08); }
.tl-arrow:active { transform: translateY(-50%) scale(.96); }
.tl-arrow:focus-visible { outline: 3px solid rgba(184,53,36,.4); outline-offset: 3px; }
.tl-arrow svg { display: block; }
.tl-arrow--prev { left: clamp(14px, 3vw, 48px); }
.tl-arrow--next { right: clamp(14px, 3vw, 48px); }

@media (max-width: 760px) {
  .tl-full .tl-ghost { font-size: clamp(150px, 42vw, 300px); opacity: .12; }
  .tl-index { position: static; margin: 0 0 12px; }
  /* Etiquetas de los nodos: 6 en fila no caben (los extremos se recortan en
     los bordes). Las ocultamos y dejamos los puntos como progreso limpio;
     la época ya se muestra en grande en el contenido. */
  .tl-lab { display: none; }
  .tl-bar { height: 26px; }
  /* El contenido se ancla abajo para que la barra quede a una altura estable
     y las flechas (antes centradas sobre el título) bajen a flanquearla. */
  .tl-inner { justify-content: flex-end; padding-bottom: clamp(78px, 14vh, 120px); }
  .tl-arrow {
    width: 42px; height: 42px;
    top: auto; bottom: clamp(20px, 5vh, 40px); transform: none;
  }
  .tl-arrow:hover { transform: scale(1.08); }
  .tl-arrow:active { transform: scale(.96); }
  .tl-arrow--prev { left: 12px; } .tl-arrow--next { right: 12px; }
}

/* Pantalla completa (solo historia): ampliar contenido para llenar el alto */
.snap-historia .about-grid { gap: clamp(44px, 6vw, 100px); }
@media (min-width: 880px) { .snap-historia .about-grid { grid-template-columns: 1fr 1.06fr; } }
.snap-historia .about .arch { width: 100%; max-width: 580px; margin-inline: auto; }
.snap-historia .about .section-title { font-size: clamp(2.5rem, 4.8vw, 4rem); }
.snap-historia .about-copy p { font-size: clamp(1.1rem, 1.45vw, 1.34rem); }
.snap-historia .about-points { gap: 16px 32px; }
.snap-historia .about-points li { font-size: 1.08rem; }

.snap-historia .benefits-sec .section-title { font-size: clamp(2.5rem, 4.8vw, 4rem); }
.snap-historia .benefits-sec .section-sub { font-size: clamp(1.1rem, 1.5vw, 1.4rem); }
.snap-historia .benefits { gap: clamp(20px, 2.2vw, 34px); }
.snap-historia .benefit { padding: clamp(30px, 3vw, 48px); }
.snap-historia .benefit-ico { font-size: 2.2rem; }
.snap-historia .benefit h3 { font-size: 1.42rem; }
.snap-historia .benefit p { font-size: 1.08rem; }

.snap-historia .capture-title { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.snap-historia .capture-copy p { font-size: clamp(1.12rem, 1.5vw, 1.42rem); }
.snap-historia .capture-form .btn { font-size: 1.05rem; padding: 16px 30px; }

/* Home: panes que combinan dos secciones — compactar para caber en una pantalla */
.snap .snap-pane .section-head { margin-bottom: clamp(8px, 1.6vh, 20px); }
.snap .snap-pane .steps { gap: clamp(14px, 2vw, 26px); }
.snap .snap-pane .about-grid { gap: clamp(26px, 4vw, 60px); align-items: center; }
.snap .snap-pane .arch--art img {
  max-height: 40svh !important; width: auto; margin-inline: auto;
  padding: clamp(12px, 1.8vw, 22px) clamp(12px, 1.8vw, 22px) clamp(20px, 2.4vw, 34px) !important;
}
.snap .snap-pane .capture { padding-block: clamp(26px, 3.4vh, 46px); }
.snap .snap-pane .contact-grid { gap: clamp(16px, 2vw, 26px); }
.snap .snap-pane .contact-map { aspect-ratio: auto; height: clamp(110px, 15vh, 165px); margin-top: 14px; }
.snap .snap-pane .wa-cta { padding-block: 12px; }
.snap .snap-pane .contact-form .field { margin-bottom: 2px; }
.about-cta { margin-top: clamp(18px, 2.4vh, 28px); }

.benefits { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 620px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .benefits { grid-template-columns: repeat(3, 1fr); } }
.benefit {
  background: var(--cream); border: 1px solid var(--line); border-top: 3px solid var(--red);
  border-radius: var(--r); padding: clamp(22px, 3vw, 30px); box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.benefit-ico { font-size: 1.9rem; display: block; margin-bottom: 12px; }
.benefit h3 { font-size: 1.22rem; margin-bottom: 8px; }
.benefit p { color: var(--ink-2); }

/* ============================================================
   SELECTOR DE PEDIDO (carrito → WhatsApp / Email)
   ============================================================ */
.add-btn {
  margin-top: 14px; width: 100%; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 11px 14px; border-radius: 999px; border: 1.5px solid var(--red);
  background: transparent; color: var(--red); font: inherit; font-weight: 600; font-size: .92rem;
  cursor: pointer; transition: background .15s ease, color .15s ease, transform .12s ease;
}
.add-btn:hover { background: var(--red); color: #fff; }
.add-btn.in { background: var(--red); color: #fff; }
.add-btn.pulse { transform: scale(.95); }
.add-btn .add-q { background: rgba(255,255,255,.28); border-radius: 999px; padding: 1px 9px; font-size: .82rem; }

.cart-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; display: none; align-items: center; gap: 9px;
  padding: 13px 20px; border: 0; border-radius: 999px; background: var(--red); color: #fff;
  font: inherit; font-weight: 600; cursor: pointer; box-shadow: var(--shadow);
  transform: translateY(20px); opacity: 0; transition: transform .25s ease, opacity .25s ease, background .2s ease;
}
.cart-fab.show { display: inline-flex; transform: none; opacity: 1; }
.cart-fab:hover { background: var(--red-deep); }
.cart-fab-ico { font-size: 1.1rem; }
.cart-badge { background: #fff; color: var(--red); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; padding: 0 6px; font-size: .82rem; font-weight: 700; }
.cart-head .cart-badge { background: var(--red); color: #fff; }

.cart-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(28,17,11,.5); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.cart-open .cart-overlay { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed; top: 0; right: 0; z-index: 101; width: min(400px, 100%); height: 100%;
  background: var(--paper); border-left: 1px solid var(--line); box-shadow: var(--shadow);
  display: flex; flex-direction: column; transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.cart-open .cart-drawer { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-family: var(--display); font-size: 1.4rem; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.cart-close { background: none; border: 0; font-size: 1.1rem; cursor: pointer; color: var(--ink-2); width: 36px; height: 36px; border-radius: 50%; }
.cart-close:hover { background: var(--line); color: var(--ink); }

.cart-list { flex: 1; overflow-y: auto; padding: 16px 22px; display: flex; flex-direction: column; gap: 10px; }
.cart-empty { color: var(--ink-2); text-align: center; margin: auto; font-size: .95rem; line-height: 1.5; }
.cart-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.ci-info { display: flex; flex-direction: column; min-width: 0; }
.ci-n { font-weight: 600; font-size: .95rem; }
.ci-w { font-size: .8rem; color: var(--ink-2); }
.ci-step { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.ci-step button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-size: 1rem; line-height: 1; color: var(--ink); display: grid; place-items: center; }
.ci-step button:hover { border-color: var(--red); color: var(--red); }
.ci-q { min-width: 20px; text-align: center; font-weight: 600; }
.ci-rm { font-size: .85rem; }

.cart-foot { padding: 16px 22px 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.cart-field { display: flex; flex-direction: column; gap: 5px; font-size: .82rem; color: var(--ink-2); }
.cart-field input { padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--cream); font: inherit; color: var(--ink); }
.cart-field input:focus { outline: none; border-color: var(--red); }
.cart-send { width: 100%; justify-content: center; }
.cart-send--wa { background: #1f6f5c; color: #fff; }
.cart-send--wa:hover { background: #185847; }
.cart-send--mail { background: var(--ink); color: var(--cream); }
.cart-send--mail:hover { background: #2a1d10; }
.cart-send.is-off { opacity: .45; pointer-events: none; }
.cart-clear { background: none; border: 0; color: var(--ink-2); text-decoration: underline; cursor: pointer; font-size: .85rem; align-self: center; }
.cart-clear:hover { color: var(--red); }
.cart-note { font-size: .78rem; color: var(--ink-2); text-align: center; line-height: 1.4; }
@media (max-width: 480px) { .cart-fab { right: 14px; bottom: 14px; } }

.cart-error { color: var(--red); font-size: .82rem; font-weight: 600; margin: -2px 0 2px; }
.cart-field span b { color: var(--red); }
.cart-status { font-size: .85rem; font-weight: 600; text-align: center; line-height: 1.4; margin: 0; }
.cart-status.is-ok { color: #1f6f5c; }
.cart-status.is-err { color: var(--red); }
.cart-send--mail[disabled] { opacity: .45; pointer-events: none; }

/* Autocompletado de dirección */
.addr-wrap { position: relative; }
.addr-wrap input { padding-right: 42px; }
.addr-geo { position: absolute; top: 0; right: 0; height: 100%; width: 40px; border: 0; background: none; cursor: pointer; font-size: 1.05rem; color: var(--ink-2); }
.addr-geo:hover { color: var(--red); }
.addr-geo.loading { opacity: .45; pointer-events: none; }
.addr-sug {
  list-style: none; margin: 6px 0 0; padding: 6px; position: absolute; left: 0; right: 0; top: 100%; z-index: 5;
  background: var(--cream); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm);
  max-height: 240px; overflow: auto;
}
.addr-sug li button { width: 100%; text-align: left; background: none; border: 0; padding: 9px 10px; border-radius: 8px; cursor: pointer; font: inherit; font-size: .88rem; color: var(--ink); }
.addr-sug li button:hover { background: var(--paper); color: var(--red); }
.addr-credit { font-size: .7rem; color: var(--ink-2); text-align: right; padding: 6px 8px 2px; opacity: .7; }

/* Stepper −/+ en la tarjeta de producto */
.add-stepper { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; background: var(--red); color: #fff; border-radius: 999px; padding: 5px; }
.add-step { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%; border: 0; background: rgba(255,255,255,.22); color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .15s ease, transform .12s ease; }
.add-step:hover { background: rgba(255,255,255,.38); }
.add-step.pulse { transform: scale(.88); }
.add-stepper .add-q { flex: 1; text-align: center; font-size: .9rem; font-weight: 600; }
.add-stepper .add-q b { font-weight: 700; }

/* Más variedad de pan decorativo: b4 pan de molde, b5 rosco */
.bread.b4 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%23b83524' fill-rule='evenodd' d='M10 41 v-9 a22 14 0 0 1 44 0 v9 a3 3 0 0 1 -3 3 h-38 a3 3 0 0 1 -3 -3 z M18 28 h28 a1.5 1.5 0 0 1 0 3 h-28 a1.5 1.5 0 0 1 0 -3 z'/%3E%3C/svg%3E"); }
.bread.b5 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%23b83524' fill-rule='evenodd' d='M32 7 a25 25 0 1 1 -0.01 0 z M32 21 a11 11 0 1 0 0.01 0 z'/%3E%3C/svg%3E"); }

/* ============================================================
   OFERTA · "La docena del panadero" (12 + 1 gratis) — banner rojo
   ============================================================ */
.dozen-banner {
  display: flex; align-items: center; gap: clamp(18px, 3vw, 38px);
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff; border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 32px) clamp(22px, 4vw, 46px);
  box-shadow: 0 16px 34px -22px rgba(140, 36, 23, .55);
  margin: 0 auto clamp(34px, 5vw, 58px);
  max-width: 960px;
  position: relative; overflow: hidden;
}
/* halo cálido decorativo */
.dozen-banner::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%);
  pointer-events: none;
}

/* sello sunburst */
.db-seal {
  flex: 0 0 auto; width: clamp(84px, 11vw, 110px); aspect-ratio: 1; border-radius: 50%;
  background: repeating-conic-gradient(#faf2e1 0 9deg, #efe0c2 9deg 18deg);
  display: grid; place-items: center; transform: rotate(-9deg);
  box-shadow: 0 10px 22px rgba(0,0,0,.28);
  animation: sealPop 2.8s ease-in-out infinite;
}
@keyframes sealPop { 0%,100% { transform: rotate(-9deg) scale(1); } 50% { transform: rotate(-9deg) scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .db-seal { animation: none; } }
.db-seal-core {
  width: 74%; aspect-ratio: 1; border-radius: 50%; background: var(--red);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  line-height: 1; border: 2px dashed rgba(255,255,255,.6); color: #fff;
}
.db-seal-core b { font-family: var(--display); font-style: italic; font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 700; }
.db-seal-core small { font-size: .58rem; letter-spacing: .2em; margin-top: 3px; font-weight: 600; }

.db-txt { flex: 1; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.db-kicker { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.db-title { font-family: var(--display); font-size: clamp(1.5rem, 3.3vw, 2.3rem); font-weight: 600; line-height: 1.04; }
.db-sub { font-size: .96rem; color: rgba(255,255,255,.92); max-width: 46ch; }
.db-cta { flex: 0 0 auto; white-space: nowrap; }
.db-cta.btn-cream:hover { background: #fff; transform: translateY(-2px); }

@media (max-width: 760px) {
  .dozen-banner { flex-direction: column; text-align: center; }
  .db-txt { align-items: center; }
  .db-sub { max-width: 52ch; }
}

/* ============================================================
   RESPONSIVE — pantallas pequeñas: títulos que no desborden
   ============================================================ */
@media (max-width: 560px) {
  .section-title { font-size: clamp(1.7rem, 6.6vw, 2.2rem); }
  .snap-historia .about .section-title,
  .snap-historia .benefits-sec .section-title { font-size: clamp(1.85rem, 7.4vw, 2.4rem); }
  .tl-title { font-size: clamp(2rem, 9vw, 2.9rem); line-height: 1; }
  .tl-pagetitle { font-size: clamp(1.45rem, 6vw, 2rem); }
  .tl-era { font-size: clamp(1.3rem, 5vw, 1.7rem); }
  .hero-title { font-size: clamp(2.2rem, 9.5vw, 3.2rem); }
  .intro-title, .outro-word { font-size: clamp(2.1rem, 9vw, 3rem); }
  .capture-title, .snap-historia .capture-title { font-size: clamp(1.7rem, 6.8vw, 2.3rem); }
  .manifesto-text { font-size: clamp(1.4rem, 6vw, 1.9rem); }
  .faq-item summary { font-size: 1.04rem; }
  .faq-ghost { font-size: clamp(220px, 70vw, 360px); }
}

/* ============================================================
   ACCESIBILIDAD — saltar al contenido + foco visible de teclado
   ============================================================ */
/* Enlace "saltar al contenido": oculto fuera de pantalla hasta recibir foco de
   teclado; entonces entra deslizándose por encima del header (primer tab-stop). */
.skip-link {
  position: fixed; top: 10px; left: 12px; z-index: 200;
  background: var(--ink); color: var(--cream);
  padding: 11px 20px; border-radius: 999px;
  font-family: var(--body); font-weight: 600; font-size: .95rem;
  text-decoration: none; box-shadow: var(--shadow);
  transform: translateY(-180%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
a.skip-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
/* Destino del salto: región no interactiva → sin anillo (el feedback es el
   desplazamiento hasta el H1). */
#main:focus { outline: none; }

/* Foco visible global para todo elemento interactivo (navegación por teclado) */
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible,
[tabindex]:focus-visible, .btn:focus-visible, .nav-menu a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
/* Reponer el contorno de teclado en campos que anulan outline en :focus.
   Conservan su borde/anillo con el ratón; con teclado añaden contorno claro. */
.field input:focus-visible, .field textarea:focus-visible,
.cart-field input:focus-visible {
  outline: 2px solid var(--red); outline-offset: 2px;
}
/* Sobre fondos oscuros (foto del hero, sección proceso, pie) el rojo pierde
   contraste: usamos contorno blanco. */
.hero a:focus-visible, .hero .btn:focus-visible,
.process a:focus-visible, .process button:focus-visible,
.process summary:focus-visible, .process [tabindex]:focus-visible,
.site-footer a:focus-visible {
  outline-color: #fff;
}
/* Banda roja de captación: contorno blanco (rojo sobre rojo no se vería). */
.capture a:focus-visible, .capture button:focus-visible, .capture .btn:focus-visible {
  outline-color: #fff;
}
.capture input:focus-visible, .capture-form input:focus-visible {
  outline: 2px solid #fff; outline-offset: 2px;
}
