/* ============================================================
   AL TOQUE · nueva landing en crema
   Cada sección arma una escena con piezas reales que cuenta su texto.
   El vidrio crema lo pone js/vidrio.js (css/vidrio.css); acá va todo lo demás.
   ============================================================ */

:root {
  --bg: #F5EFE5;
  --surface: #FBF8F1;
  --alt: #EFE6D6;
  --ink: #2A231D;
  --ink-soft: #6E6155;
  --ink-faint: #9A8C7C;
  --line: #E4D9C7;
  --accent: #BE5A2C;
  --accent-text: #A8481D;
  --accent-soft: #E7B48C;
  --papel: #FFFDF8;
  --madera: #B79B74;

  --display: 'Campton', sans-serif;
  --cuerpo: 'Poppins', sans-serif;
  --g: clamp(20px, 5vw, 44px);
  --ancho: 1200px;
  --header-h: 76px;
  --sombra-suave: 0 18px 40px -26px rgba(66, 46, 32, .42);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); scroll-padding-top: 90px; touch-action: manipulation; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--cuerpo);
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 900; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(44px, 6vw, 96px); line-height: .95; letter-spacing: -.025em; }
h2 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1; letter-spacing: -.022em; }
em { font-style: normal; color: var(--accent); }
sup { font: 600 .62em/0 var(--cuerpo); vertical-align: .62em; margin-left: .1em; color: var(--accent-text); letter-spacing: 0; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
section[id] { scroll-margin-top: 80px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.caja { width: min(100% - 2 * var(--g), var(--ancho)); margin-inline: auto; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* la red de seguridad: lo escondido sólo se esconde con JS, y si en 3,5 s
   no arrancó GSAP se muestra todo */
html.js [data-anim] { opacity: 0; }
html.sin-anim [data-anim] { opacity: 1 !important; transform: none !important; clip-path: none !important; visibility: visible !important; }

.saltar {
  position: fixed; left: 14px; top: -80px; z-index: 300;
  padding: 12px 20px; border-radius: 999px;
  background: var(--ink); color: var(--surface); text-decoration: none;
  font: 800 15px/1 var(--display);
}
.saltar:focus { top: 14px; }

.rotulo {
  margin-bottom: 16px;
  font: 800 13px/1.3 var(--display); letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent-text);
}

/* titulares palabra por palabra (los arma el script) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .12em .05em .2em; margin: -.12em -.05em -.2em; }
.wi { display: inline-block; }

/* ── Botones ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border: 1.5px solid transparent; border-radius: 999px;
  font: 800 15px/1 var(--display); letter-spacing: .01em; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: transform .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.btn:active { transform: scale(.97); }
.btn--grande { min-height: 54px; padding: 0 30px; font-size: 16px; }
.btn-primary { background: var(--ink); color: var(--surface); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { color: var(--accent-text); transform: translateY(-2px); }
.btn .ico { width: 19px; height: 19px; }

/* ══ ENCABEZADO ══ */
header.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}
header.header.oculto { transform: translateY(-110%); }
.header__fila { display: flex; align-items: center; gap: 26px; height: var(--header-h); }
.marca { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; }
.marca__logo { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: #0a0a0a; flex: none; box-shadow: 0 3px 12px rgba(42, 35, 29, .28); }
.marca__logo img { width: 100%; height: 100%; object-fit: cover; }
.marca__nombre { font: 900 17px/1 var(--display); letter-spacing: .12em; color: var(--ink); white-space: nowrap; }
/* el ® de marca registrada, dibujado: una letra tan chica sale finita en pantallas sin suavizado de fuentes (pedido de Jcoder, 8/10 y 9/10) */
.marca__r { width: .86em; height: .86em; margin-left: .22em; vertical-align: .5em; fill: none; stroke: var(--accent-text); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.nav { display: flex; gap: 24px; }
.nav a { position: relative; padding: 8px 0; color: var(--ink-soft); text-decoration: none; font: 500 15px/1 var(--cuerpo); transition: color .2s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.header__pedido { min-height: 46px; padding: 0 22px; }
.hamburguesa {
  display: none; width: 46px; height: 46px; padding: 13px 12px; flex: none;
  border: 1px solid var(--line); border-radius: 12px; background: rgba(251, 248, 241, .6); cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.hamburguesa span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
.hamburguesa[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburguesa[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburguesa[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: flex; flex-direction: column; padding: 6px var(--g) 22px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font: 800 19px/1.2 var(--display); }
.mobile-menu .btn { margin-top: 16px; }

/* ══ 1 · HERO ══ */
.hero { padding: calc(var(--header-h) + 48px) 0 72px; overflow-x: clip; } /* el sello «¡AL TOQUE!» arranca a escala 2.6 y no puede ensanchar la página */
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.hero__h1 { margin-bottom: 26px; }
.hero__bajada { max-width: 42ch; font-size: 18px; color: var(--ink-soft); margin-bottom: 30px; }
.hero__botones { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.estado { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: 16px; color: var(--ink-soft); }
.estado b { font: 800 15px/1 var(--display); color: var(--ink); }
.estado__punto { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--ink-faint); flex: none; }
.estado__punto i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; }
.esta-abierto .estado__punto { background: var(--accent); }
.esta-cerrado .estado__punto { background: transparent; box-shadow: inset 0 0 0 2px var(--ink-faint); }

.chip {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  min-height: 48px; padding: 6px 16px 6px 6px; border: 0; overflow: hidden;
  font: 800 14.5px/1 var(--display); color: var(--ink); cursor: pointer;
  transition: transform .2s ease, color .2s ease;
}
.chip img { position: relative; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
.chip span { position: relative; }
.chip__prog { position: absolute !important; left: 14px; right: 14px; bottom: 5px; height: 2.5px; border-radius: 2px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--t, 0)); }
.chip:hover { transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--surface); box-shadow: 0 10px 22px -14px rgba(42, 35, 29, .8); backdrop-filter: none; -webkit-backdrop-filter: none; }
.chip[aria-pressed="true"]::before { opacity: .35; }
.chip[aria-pressed="true"] .chip__prog { background: var(--accent-soft); }

.sello {
  position: absolute; z-index: 3; right: -10px; bottom: 34px;
  padding: 9px 14px 8px; border: 3px solid var(--accent); border-radius: 10px;
  font: 900 24px/1 var(--display); letter-spacing: .02em; color: var(--accent);
  background: rgba(255, 253, 248, .55); transform: rotate(-18deg);
  box-shadow: inset 0 0 0 2px rgba(190, 90, 44, .25);
  mix-blend-mode: multiply; white-space: nowrap;
}

/* el horno del hero: el horno de verdad de la panadería, el del local de hoy (hierro negro sobre el revoque
   claro, puerta Carelli; fotos de Jcoder del 24/11). La foto es la pared; la hoja de la puerta va recortada aparte y se abre en 3D sobre la bisagra
   izquierda; detrás queda la boca de ladrillo encendida. Medidas en % de la foto: salen de
   runs/2026-10-07-panaderia-landing-02/correcciones-10/armar-horno.mjs (horno-medidas.json). */
.hero__escena { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.horno-escena { position: relative; width: min(100%, 62svh, 540px); aspect-ratio: 1200 / 1380; }
.horno { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 1200 / 1300; perspective-origin: 34% 58%; }
.horno__pared { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 26px; object-fit: cover; box-shadow: 0 40px 60px -36px rgba(42, 35, 29, .8), 0 0 0 1px rgba(42, 35, 29, .12); }
.horno__hueco, .horno__hoja { position: absolute; left: 9.791%; top: 23.991%; width: 79.771%; height: 60.596%; }
.horno__hueco img { position: absolute; inset: 0; width: 100%; height: 100%; }
.horno__fuego { position: absolute; left: 9%; right: 21%; top: 20%; bottom: 6%; opacity: 0; mix-blend-mode: screen; pointer-events: none;
  background: radial-gradient(60% 46% at 50% 82%, rgba(255, 196, 120, .75), rgba(240, 120, 50, .35) 55%, transparent 75%); }
.horno__luz { position: absolute; inset: 0; border-radius: 26px; opacity: 0; mix-blend-mode: soft-light; pointer-events: none;
  background: radial-gradient(46% 40% at 45% 62%, rgba(255, 150, 70, .95), rgba(255, 130, 60, .3) 60%, transparent 80%); }
.horno__hoja { transform-origin: 0.125% 50%; transform-style: preserve-3d; will-change: transform; }
.horno__frente, .horno__dorso, .horno__penumbra, .horno__termometro { backface-visibility: hidden; }
.horno__frente { position: absolute; inset: 0; width: 100%; height: 100%; }
.horno__dorso, .horno__penumbra {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url(../img/casa/horno-hoy-puerta.webp) 0 0 / 100% 100% no-repeat; mask: url(../img/casa/horno-hoy-puerta.webp) 0 0 / 100% 100% no-repeat;
}
.horno__dorso { transform: rotateY(180deg); background: linear-gradient(90deg, #1b1c1d, #2c2d2e 60%, #161718); }
.horno__penumbra { transform: translateZ(1px); opacity: 0; background: linear-gradient(90deg, rgba(10, 8, 6, .2), rgba(10, 8, 6, .85)); }
.horno__termometro { position: absolute; left: 40.682%; top: 41.01%; width: 7.726%; aspect-ratio: 1; transform: translateZ(.5px); overflow: visible; }
/* la esfera del termómetro nuevo: blanca, con la escala en riel de 0 a 500 y los dos topes negros (el aro cromado es el de la foto) */
.termo__riel { fill: none; stroke: #1C1C1C; stroke-width: 1.2; }
.termo__marcas { fill: none; stroke: #1C1C1C; stroke-width: 7; stroke-dasharray: .7 2.08; }
.termo__tope { fill: none; stroke: #161616; stroke-width: 7; }
.termo__aguja { fill: none; stroke: #111; stroke-width: 2.8; stroke-linecap: round; }
.termo__eje { fill: #111; stroke: #F4F4F2; stroke-width: 1; }
.mesada { position: absolute; left: -2%; right: -2%; top: 88.5%; height: 3.2%; border-radius: 6px; background: linear-gradient(180deg, #D3BC98, var(--madera)); box-shadow: 0 12px 20px -12px rgba(66, 46, 32, .55); }
.vapor { position: absolute; z-index: 4; left: 20%; right: 20%; top: 40%; height: 30%; width: 60%; overflow: visible; pointer-events: none; }
.vapor path { fill: none; stroke: rgba(255, 253, 248, .92); stroke-width: 6; stroke-linecap: round; stroke-dasharray: .36 .64; filter: blur(1.2px); opacity: 0; }
.hornada { position: absolute; z-index: 3; left: 7%; right: 7%; bottom: 9.5%; height: 21%; transform-origin: 50% 100%; }
.hornada__chapa {
  position: absolute; inset: 0; border-radius: 14px;
  background: linear-gradient(180deg, #F1EADF 0%, #D9CCB8 100%);
  box-shadow: inset 0 0 0 5px #CDBEA6, inset 0 0 0 6px rgba(255, 255, 255, .6), 0 18px 26px -16px rgba(66, 46, 32, .6);
}
.hornada__piezas { position: absolute; left: 6%; right: 6%; top: 14%; bottom: 16%; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); gap: 6%; }
.pieza { position: relative; min-height: 0; height: 100%; }
.pieza img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; box-shadow: 0 8px 12px -8px rgba(66, 46, 32, .7); }
.pieza .pan__cartel { left: 10px; top: -30px; }
.pieza .pan__etiqueta { font-size: 12.5px; max-width: 120px; white-space: nowrap; }
.pieza .pan__palito { height: 36px; }
.horno__otra { min-height: 44px; padding: 0 18px 0 14px; gap: 8px; }
.horno__otra .ico { width: 18px; height: 18px; }

/* ══ 3 · TORTA ══ */
.torta { background: var(--alt); }
.torta__pista { height: auto; }
/* el texto de la panadería es largo: corre normal y el recorrido con la polaroid queda pegado al costado mientras se lee */
.torta__pegado {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start;
  padding: clamp(80px, 10vw, 130px) 0;
}
.torta__texto { position: relative; }
.torta__texto h2 { margin-bottom: 12px; }
.torta__bajada { max-width: 30ch; margin-bottom: 26px; font: 800 clamp(20px, 1.8vw, 26px)/1.25 var(--display); color: var(--accent-text); text-wrap: balance; }
.torta__p { max-width: 54ch; margin-bottom: 16px; }
.torta__cierre { margin-top: 6px; font: 800 19px/1.45 var(--display); color: var(--ink); }
.torta__texto .btn { margin-top: 12px; }
.resalte {
  --s: 0;
  background-image: linear-gradient(var(--accent-soft), var(--accent-soft));
  background-repeat: no-repeat; background-position: 0 88%;
  background-size: calc(var(--s) * 100%) .42em;
  -webkit-box-decoration-break: slice; box-decoration-break: slice;
}
.recorrido { position: sticky; top: max(calc(var(--header-h) + 16px), calc(50svh - min(38svh, 330px))); justify-self: center; height: min(76svh, 660px); aspect-ratio: 600 / 700; max-width: 100%; }
.recorrido__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.recorrido__camino { fill: none; stroke: var(--accent); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 0 11; opacity: .7; }
.recorrido__hecho { fill: none; stroke: var(--accent-soft); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.parada { fill: var(--surface); stroke: var(--accent); stroke-width: 2.5; transition: fill .35s ease; }
.parada.llena { fill: var(--accent); }
.recorrido__rotulos { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.recorrido__rotulos li {
  position: absolute; left: 64%; right: -6%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 2px; opacity: .45; transition: opacity .4s ease, transform .4s ease;
}
.recorrido__rotulos li.encendida { opacity: 1; transform: translate(6px, -50%); }
.recorrido__rotulos b { font: 800 16px/1.15 var(--display); color: var(--ink); }
.recorrido__rotulos li.encendida b { color: var(--accent-text); }
.recorrido__rotulos span { font: 500 14px/1.3 var(--cuerpo); color: var(--ink-soft); }
.polaroid {
  position: absolute; left: 0; top: 0; z-index: 2; width: 29%; margin: 0;
  padding: 6% 6% 0; background: var(--papel); border-radius: 4px;
  box-shadow: 0 16px 30px -14px rgba(66, 46, 32, .5), 0 2px 6px rgba(66, 46, 32, .12);
}
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.polaroid figcaption { padding: 8px 0 10px; text-align: center; font: 800 13px/1.1 var(--display); color: var(--ink-soft); }
.polaroid--movil { display: none; }
.torta__punto { position: absolute; left: 2px; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2.5px var(--accent); transition: background-color .35s ease, transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.torta__punto.encendido { background: var(--accent); transform: scale(1.15); }

/* ══ 4 · ALFAJOR ══ */
.alfajor__pista { height: 280vh; }
.alfajor__pegado {
  position: sticky; top: 0; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center;
  padding: 72px 0 28px;
}
.armado { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.armado__escena {
  position: relative; width: min(100%, 68svh, 520px); aspect-ratio: 1; overflow: hidden;
  border-radius: 28px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--sombra-suave);
}
/* el escenario es un cuadrado de lado L; el disco mide .64 L y queda centrado (18 % a cada lado) */
.armado__escena { perspective: 1100px; }
.corta__torta { position: absolute; inset: 0; }
.corta__torta img { width: 100%; height: 100%; object-fit: cover; }
/* alrededor del disco la torta se desenfoca y se oscurece (borde suave, sin aro): queda en foco un disco */
.corta__torta img { will-change: filter; }
.corta__velo {
  position: absolute; inset: 0; opacity: 0; background: rgba(31, 25, 20, .58);
  -webkit-mask: radial-gradient(circle closest-side at 50% 50%, transparent 0 63%, #000 72%);
  mask: radial-gradient(circle closest-side at 50% 50%, transparent 0 63%, #000 72%);
}
.armado__tabla { position: absolute; left: 24%; right: 24%; bottom: 10%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(20, 14, 10, .5), transparent); }
/* el disco tiene espesor (--grosor, lo pone el script según el ancho): la cara de la torta adelante en z = 0, el canto
   en capas hacia atrás y la cara del alfajor al fondo, mirando para atrás. Gira sobre el medio del espesor, así al
   terminar la vuelta la cara del alfajor queda en z = 0 y calza con la foto final. */
.disco { --grosor: 22px; --luz: 0; position: absolute; left: 18%; top: 18%; width: 64%; aspect-ratio: 1; transform-style: preserve-3d; transform-origin: 50% 50% calc(var(--grosor) / -2); }
.disco__cara {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 0 0 1px rgba(255, 253, 248, .25);
}
/* las dos caras son el mismo recorte que ocupa todo el escenario: así el disco calza con lo de atrás y con el final */
.disco__cara img { position: absolute; left: -28.125%; top: -28.125%; width: 156.25%; height: 156.25%; max-width: none; object-fit: cover; }
/* el brillo que cruza la cara mientras gira */
.disco__cara::after { content: ''; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 250, 235, .95) 48%, transparent 66%) calc(var(--luz) * 100%) 0 / 300% 100% no-repeat; }
.disco__cara--alfajor { transform: translateZ(calc(var(--grosor) * -1)) rotateY(180deg); }
/* del lado del alfajor la foto va más cerca (el alfajor llena el disco); la cámara se aleja después, en .corta__final */
.disco__cara--alfajor img, .corta__final img { transform-origin: 51% 54%; }
.disco__cara--alfajor img { transform: scale(1.45); }
.disco__canto { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.disco__canto i { position: absolute; inset: 0; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(60, 34, 14, .25); }
/* el cortante: un aro de metal que baja, aprieta y se va */
.cortante {
  position: absolute; left: 17%; top: 17%; width: 66%; aspect-ratio: 1; border-radius: 50%; pointer-events: none; opacity: 0;
  background: conic-gradient(from 210deg, #FBFBF8, #A9A8A3 16%, #EDEDEA 30%, #8E8C86 48%, #F4F4F1 62%, #B5B3AD 80%, #FBFBF8);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 11px), #000 calc(100% - 10px));
  mask: radial-gradient(closest-side, transparent calc(100% - 11px), #000 calc(100% - 10px));
  filter: drop-shadow(0 14px 12px rgba(20, 14, 10, .45));
}
.corta__final, .corta__abierto { position: absolute; inset: 0; opacity: 0; }
.corta__abierto { clip-path: inset(var(--abre, 0%) 0% var(--abre, 0%) 0%); } /* se abre desde el medio, como el alfajor */
.corta__final img, .corta__abierto img { width: 100%; height: 100%; object-fit: cover; }
.sello--unico { right: 7%; bottom: 10%; font-size: clamp(16px, 1.7vw, 22px); background: rgba(255, 253, 248, .9); mix-blend-mode: normal; transform: rotate(-10deg); }
.armado__rotulo { position: relative; width: 100%; height: 2.6em; overflow: hidden; text-align: center; font: 900 clamp(20px, 2vw, 26px)/1.3 var(--display); letter-spacing: -.01em; color: var(--accent-text); }
.armado__rotulo span { position: absolute; left: 0; right: 0; top: 0; opacity: 0; }
.armado__rotulo span:last-child { opacity: 1; }
.armado__otra { display: none; }
.alfajor__texto h2 { margin-bottom: 22px; }
.alfajor__p { max-width: 46ch; font-size: 18px; margin-bottom: 28px; }

/* los cartelitos en palillo de la bandeja del horno */
.pan__cartel { position: absolute; left: 12px; top: -34px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; transform-origin: 18px 100%; pointer-events: none; }
.pan__etiqueta {
  max-width: 150px; padding: 6px 9px 5px; border-radius: 4px;
  background: var(--papel); color: var(--ink);
  font: 800 13px/1.15 var(--display);
  box-shadow: 0 5px 10px -5px rgba(66, 46, 32, .5), inset 0 0 0 1px rgba(228, 217, 199, .9);
}
.pan__palito { width: 2.5px; height: 40px; margin-left: 16px; border-radius: 2px; background: linear-gradient(90deg, #CDB590, var(--madera)); }

/* ══ 6 · ENCARGOS ══ */
.encargos { padding: clamp(80px, 10vw, 140px) 0; background: var(--alt); }
.encargos__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.encargos__texto h2 { margin-bottom: 20px; }
.encargos__p { max-width: 44ch; margin-bottom: 28px; }
/* el encargo: el chat por WhatsApp, la torta y la caja de la casa con la etiqueta del día; se retira en el local */
.encargo {
  position: relative; display: block; width: 100%; min-height: 500px; padding: 0; border: 0;
  background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.encargo:focus-visible { outline-offset: 8px; border-radius: 18px; }
.chat { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; gap: 10px; }
.chat__burbuja { max-width: 80%; min-height: 46px; padding: 12px 15px; font: 500 16px/1.4 var(--cuerpo); color: var(--ink); box-shadow: var(--sombra-suave), inset 0 0 0 1px var(--line); }
.chat__burbuja--cliente { align-self: flex-start; border-radius: 16px 16px 16px 4px; background: var(--papel); }
.chat__burbuja--casa { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: #F3DCC4; }
.chat__puntos { display: inline-flex; gap: 5px; padding: 6px 2px; }
.chat__puntos i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-text); opacity: .7; }
.encargo__mostrador { position: absolute; left: 0; right: 0; bottom: 56px; height: 10px; border-radius: 5px; background: linear-gradient(180deg, #D3BC98, var(--madera)); box-shadow: 0 12px 18px -12px rgba(66, 46, 32, .5); }
.encargo__zona { position: absolute; left: 21%; width: 58%; bottom: 44px; aspect-ratio: 240 / 200; }
.encargo__torta { position: absolute; left: 21%; bottom: 12%; width: 50%; height: 44%; object-fit: cover; border-radius: 10px; box-shadow: 0 12px 18px -10px rgba(66, 46, 32, .55); }
/* la caja de verdad de la panadería, armada en 3D con las caras sacadas de las fotos (armar-caja.mjs):
   tapa con el escudo y los dibujitos, «Sonrie… esto te va a Gustar!» al frente, las redes a los costados,
   la dirección atrás, y abajo el canto blanco de la base. Medidas en cqw del escenario. */
.encargo__zona { container-type: inline-size; }
.caja-at__escena { position: absolute; inset: 0; perspective: 320cqw; perspective-origin: 50% 0%; pointer-events: none; }
.caja-at__sombra { position: absolute; left: 50%; bottom: 31%; width: 112cqw; height: 30cqw; transform: translate(-50%, 50%); opacity: 0;
  background: radial-gradient(closest-side, rgba(52, 36, 24, .55), rgba(52, 36, 24, .22) 60%, transparent); }
.caja-at { --L: 76cqw; --D: calc(var(--L) * .79); --H: calc(var(--L) * .165); --S: calc(var(--L) * .018);
  position: absolute; left: 50%; bottom: 31%; width: 0; height: 0; transform-style: preserve-3d; }
.caja-at__giro { position: absolute; left: 0; top: 0; transform-style: preserve-3d; transform: rotateX(-34deg) rotateY(-30deg); }
.caja-at__cara { position: absolute; left: 0; top: 0; backface-visibility: hidden; background-color: #1F1F20; }
.caja-at__cara::before { content: ''; position: absolute; inset: 0; pointer-events: none; }
.caja-at__tapa { width: var(--L); height: var(--D); margin: calc(var(--D) / -2) 0 0 calc(var(--L) / -2);
  transform: translateY(calc((var(--H) + var(--S)) * -1)) rotateX(90deg);
  background: url(../img/casa/caja-tapa.webp) center / 100% 100% no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.caja-at__tapa::before { background: linear-gradient(160deg, rgba(255, 255, 255, .1), transparent 45%); }
.caja-at__frente, .caja-at__dorso, .caja-at__lado { height: calc(var(--H) + var(--S)); margin-top: calc((var(--H) + var(--S)) / -2); }
.caja-at__frente, .caja-at__dorso { width: var(--L); margin-left: calc(var(--L) / -2); }
.caja-at__lado { width: var(--D); margin-left: calc(var(--D) / -2); }
.caja-at__frente { transform: translate3d(0, calc((var(--H) + var(--S)) / -2), calc(var(--D) / 2));
  background: url(../img/casa/caja-frente.webp) top / 100% calc(100% - var(--S)) no-repeat, linear-gradient(#E4DFD6, #C9C3B8) bottom / 100% var(--S) no-repeat; }
.caja-at__dorso { transform: translate3d(0, calc((var(--H) + var(--S)) / -2), calc(var(--D) / -2)) rotateY(180deg);
  background: url(../img/casa/caja-dorso.webp) top / 100% calc(100% - var(--S)) no-repeat, linear-gradient(#E4DFD6, #C9C3B8) bottom / 100% var(--S) no-repeat; }
.caja-at__lado { background: url(../img/casa/caja-lado.webp) top / 100% calc(100% - var(--S)) no-repeat, linear-gradient(#E4DFD6, #C9C3B8) bottom / 100% var(--S) no-repeat; }
.caja-at__lado--der { transform: translate3d(calc(var(--L) / 2), calc((var(--H) + var(--S)) / -2), 0) rotateY(90deg); }
.caja-at__lado--izq { transform: translate3d(calc(var(--L) / -2), calc((var(--H) + var(--S)) / -2), 0) rotateY(-90deg); }
.caja-at__frente::before { background: rgba(0, 0, 0, .08); }
.caja-at__lado::before { background: rgba(0, 0, 0, .3); }
/* la muesca para el dedo, al medio de los lados largos: deja ver la base de cartón */
.caja-at__frente::after, .caja-at__dorso::after { content: ''; position: absolute; left: 50%; bottom: var(--S); width: calc(var(--L) * .19); height: calc(var(--L) * .045);
  transform: translateX(-50%); border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: linear-gradient(#B9B3A8, #DCD7CE); box-shadow: inset 0 2px 3px rgba(0, 0, 0, .45); }
/* la etiqueta del encargo, pegada en la tapa sobre los dibujitos */
.caja-at__etiqueta { position: absolute; left: 5%; bottom: 4.5%; display: flex; flex-direction: column; gap: .2em; padding: .5em .8em .55em;
  font-size: calc(var(--L) * .05); border-radius: 4px; transform: rotate(-4deg); transform-origin: 50% 50%;
  background: linear-gradient(180deg, #FFFDF6, #F1E8D8); box-shadow: 0 2px 4px rgba(0, 0, 0, .35); }
.caja-at__etiqueta b { font: 900 1.25em/1 var(--display); color: var(--ink); }
.caja-at__etiqueta span { font: 700 .8em/1.15 var(--cuerpo); color: var(--accent-text); white-space: nowrap; }
.retiro { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; }
.retiro__chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: var(--surface); font: 800 15px/1 var(--display); }
.retiro__chip .ico { width: 18px; height: 18px; color: var(--accent-soft); }

/* ══ 7 · HISTORIA ══ */
.historia { padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 8vw, 120px); }
.historia__cabeza { margin-bottom: 20px; }
.historia__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.escenario { position: sticky; top: calc(50svh - min(36svh, 330px)); height: min(72svh, 660px); display: grid; place-items: center; }
.fachada { position: relative; height: 100%; aspect-ratio: 5 / 6; max-width: 100%; overflow: hidden; border-radius: 22px; background: var(--alt); box-shadow: inset 0 0 0 1px var(--line); }
/* la maqueta 3D: un lienzo WebGL que ocupa la tarjeta (js/historia3d.js). Debajo, la foto del párrafo:
   se ve mientras carga el 3D y es lo que queda si no hay WebGL. El lienzo aparece recién con su primer cuadro. */
.fachada__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s ease; }
.fachada__foto.sale { opacity: 0; }
.fachada__lienzo { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .5s ease; }
.fachada.con-3d .fachada__lienzo { opacity: 1; }
.fachada::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }

.hitos { list-style: none; margin: 0; padding: 0; }
.hito { position: relative; min-height: 64vh; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding-left: 26px; }
.hito::before { content: ''; position: absolute; left: 0; top: 50%; width: 3px; height: 9em; margin-top: -4.5em; border-radius: 3px; background: var(--accent); transform: scaleY(0); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.hito.activo::before { transform: scaleY(1); }
.hito__cuando { font: 900 clamp(26px, 2.6vw, 38px)/1 var(--display); letter-spacing: -.015em; color: var(--ink-soft); transition: color .4s ease; }
.hito.activo .hito__cuando { color: var(--accent-text); }
.hito p { max-width: 42ch; font-size: 19px; line-height: 1.6; color: var(--ink-soft); transition: color .4s ease; }
.hito.activo p { color: var(--ink); }

/* ══ 8 · VISITANOS ══ */
.visitanos { position: relative; padding: clamp(80px, 10vw, 140px) 0; }
/* sobre las manchas de luz del fondo, los textos chicos van un tono más oscuros (contraste ≥ 4,5) */
.visitanos .rotulo { color: #8F3A14; }
.visitanos .ciudad, .visitanos .colgante__estado { color: #574B40; }

/* ══ 8-9 · EL FONDO DE VISITANOS Y PREGUNTAS: uno solo, que sigue de una sección a la otra ══
   Como un fondo de pantalla: manchas grandes de luz cálida (gradientes radiales, sin filtros) que el script
   mueve muy despacio, con grano de papel encima. Arriba y abajo se funde con el crema de la página. */
.fondo-vivo { position: relative; isolation: isolate; }
.fondo-vivo__capa {
  position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--alt);
  -webkit-mask: linear-gradient(180deg, transparent, #000 160px, #000 calc(100% - 160px), transparent);
  mask: linear-gradient(180deg, transparent, #000 160px, #000 calc(100% - 160px), transparent);
}
.fondo-vivo__capa i {
  position: absolute; left: var(--x); top: var(--y); width: var(--s); aspect-ratio: 1; margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  border-radius: 50%; background: radial-gradient(closest-side, var(--c), transparent); opacity: var(--o); will-change: transform;
}
.fondo-vivo__capa::after {
  content: ''; position: absolute; inset: 0; opacity: .55; mix-blend-mode: multiply;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .3 0 0 0 0 .2 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.visitanos__grid { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.puerta-cartel { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 10px; }
.colgante { position: relative; display: block; width: 280px; height: 260px; padding: 0; border: 0; background: none; cursor: pointer; perspective: 900px; }
.colgante:focus-visible { outline-offset: 6px; border-radius: 16px; }
.colgante__clavo { position: absolute; left: 50%; top: 6px; z-index: 2; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #8a7a6a, var(--ink) 70%); }
.colgante__cuelga { position: absolute; left: 0; right: 0; top: 13px; bottom: 0; transform-origin: 50% 0; transform-style: preserve-3d; }
.colgante__hilo { position: absolute; left: 30px; top: 0; width: 220px; height: 70px; fill: none; stroke: var(--ink-soft); stroke-width: 1.8; stroke-linecap: round; }
.colgante__tabla { position: absolute; left: 22px; right: 22px; top: 64px; height: 150px; transform-style: preserve-3d; }
.cara {
  position: absolute; inset: 0; display: grid; place-items: center;
  border-radius: 12px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: linear-gradient(170deg, #3a3029, var(--ink) 60%, #221c17);
  box-shadow: inset 0 0 0 3px #4a3f36, 0 18px 26px -16px rgba(42, 35, 29, .7);
  font: 900 42px/1 var(--display); letter-spacing: .05em; text-transform: uppercase; color: var(--surface);
}
.cara::before, .cara::after { content: ''; position: absolute; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--alt); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5); }
.cara::before { left: 18px; }
.cara::after { right: 18px; }
.cara--cerrado { transform: rotateY(180deg); color: var(--accent-soft); }
.colgante__estado { text-align: center; font-size: 17px; color: var(--ink-soft); }
/* la dirección como placa de calle con su baldosa de número; el horario una sola vez, la semana y el reloj del día */
.placa { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin: 2px 0 12px; font-size: inherit; }
.placa__calle { display: inline-flex; align-items: center; padding: 10px 18px 11px; border-radius: 10px; background: var(--ink); color: var(--surface); font: 900 clamp(26px, 2.6vw, 38px)/1 var(--display); letter-spacing: .01em; box-shadow: inset 0 0 0 3px #3D332B, inset 0 0 0 5px rgba(251, 248, 241, .18); }
.placa__numero { display: inline-flex; align-items: center; padding: 10px 16px 11px; border-radius: 10px; background: var(--papel); color: var(--accent-text); font: 900 clamp(26px, 2.6vw, 38px)/1 var(--display); box-shadow: inset 0 0 0 3px var(--accent), 0 10px 18px -14px rgba(66, 46, 32, .6); }
.ciudad { margin: 0 0 26px; font: 800 18px/1.3 var(--display); color: var(--ink-soft); }
.semana { padding: 20px 20px 18px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.semana__titulo { margin-bottom: 14px; font-size: 16px; color: var(--ink-soft); }
.semana__titulo b { color: var(--ink); font-weight: 600; }
.semana__dias { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.semana__dias li { position: relative; display: grid; place-items: center; height: 40px; border-radius: 10px; background: var(--alt); font: 800 15px/1 var(--display); color: var(--ink); }
.semana__dias .semana__lunes { background: transparent; color: var(--ink-faint); box-shadow: inset 0 0 0 1.5px var(--line); text-decoration: line-through; text-decoration-thickness: 2px; }
.semana__dias li.es-hoy { background: var(--accent); color: var(--papel); }
.semana__dias .semana__lunes.es-hoy { background: transparent; color: var(--accent-text); box-shadow: inset 0 0 0 2px var(--accent); }
.semana__dias li.es-hoy::after { content: 'hoy'; position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%); font: 700 11px/1 var(--cuerpo); color: var(--accent-text); }
.reloj { position: relative; height: 54px; margin-top: 4px; }
.reloj__pista { position: absolute; left: 0; right: 0; top: 18px; height: 12px; border-radius: 6px; background: repeating-linear-gradient(90deg, var(--alt) 0 calc(100% / 24 - 1px), var(--line) calc(100% / 24 - 1px) calc(100% / 24)); overflow: hidden; }
.reloj__franja { position: absolute; left: 27.08%; width: 58.34%; top: 0; bottom: 0; border-radius: 6px; background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(168, 72, 29, .25); }
.reloj.cerrado-hoy .reloj__franja { background: repeating-linear-gradient(135deg, transparent 0 5px, rgba(168, 72, 29, .25) 5px 7px); }
.reloj__aguja { position: absolute; left: 0; top: 10px; width: 2px; height: 28px; margin-left: -1px; border-radius: 2px; background: var(--ink); }
.reloj__aguja b { position: absolute; left: 50%; top: -22px; transform: translateX(-50%); padding: 3px 7px; border-radius: 6px; background: var(--ink); color: var(--surface); font: 800 12px/1 var(--display); white-space: nowrap; }
.reloj__marcas i { position: absolute; top: 38px; transform: translateX(-50%); font: 600 12px/1 var(--cuerpo); font-style: normal; color: var(--ink-faint); }
.reloj__marcas i:first-child { transform: none; }
.reloj__marcas i:last-child { transform: translateX(-100%); }
.visitanos__acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 24px; }
.visitanos__enlaces { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.visitanos__enlaces a { display: inline-flex; align-items: center; min-height: 44px; font: 700 15px/1 var(--cuerpo); color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent-soft); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.visitanos__enlaces a:hover { color: var(--accent-text); text-decoration-color: var(--accent); }
.mapa { position: relative; margin: 0; height: 100%; min-height: 420px; border-radius: 20px; overflow: hidden; background: var(--alt); box-shadow: inset 0 0 0 1px var(--line), var(--sombra-suave); }
.mapa__enlace { position: absolute; inset: 0; display: block; color: inherit; text-decoration: none; }
.mapa__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 47%; }
.mapa__pulso { position: absolute; left: 50%; top: 47%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: rgba(190, 90, 44, .38); }
.mapa__pin { position: absolute; left: 50%; top: 47%; width: 58px; height: 74px; margin: -74px 0 0 -29px; transform-origin: 50% 100%; }
.mapa__pin::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 16px; height: 16px; margin-left: -8px; background: var(--papel); transform: rotate(45deg); border-radius: 0 0 4px 0; box-shadow: 4px 4px 8px -4px rgba(42, 35, 29, .45); }
.mapa__pin-logo { position: absolute; left: 0; top: 0; z-index: 1; width: 58px; height: 58px; border-radius: 50%; overflow: hidden; background: #0a0a0a; box-shadow: 0 0 0 4px var(--papel), 0 14px 20px -8px rgba(42, 35, 29, .6); }
.mapa__pin-logo img { width: 100%; height: 100%; object-fit: cover; }
.mapa__ficha { position: absolute; left: calc(50% + 40px); top: calc(47% - 82px); display: flex; flex-direction: column; gap: 2px; padding: 9px 13px 10px; border-radius: 12px; background: var(--papel); box-shadow: 0 12px 22px -12px rgba(66, 46, 32, .55), inset 0 0 0 1px var(--line); white-space: nowrap; }
.mapa__ficha b { font: 900 16px/1.1 var(--display); color: var(--ink); }
.mapa__ficha span { font: 500 13px/1.2 var(--cuerpo); color: var(--ink-soft); }
/* centrado con margin y no con transform: el hover de .btn-ghost pone su propio transform, pisaba el translateX(-50%) y
   el botón saltaba a la derecha, salía de abajo del mouse y volvía, en bucle (lo marcó Jcoder el 30/11) */
.mapa__boton { position: absolute; left: 0; right: 0; bottom: 22px; width: max-content; margin-inline: auto; background: rgba(255, 253, 248, .82); }
.mapa__enlace:hover .mapa__boton { transform: translateY(-2px); }
.mapa__enlace:hover .mapa__boton { color: var(--accent-text); }
.mapa__creditos { position: absolute; right: 10px; top: 10px; padding: 2px 7px; border-radius: 5px; background: rgba(251, 248, 241, .82); font-size: 11px; color: var(--ink-soft); }

/* ══ 9 · PREGUNTAS ══ */
.preguntas { position: relative; isolation: isolate; overflow: hidden; padding: clamp(80px, 10vw, 140px) 0; }
.preguntas > .caja { position: relative; z-index: 1; }
/* los globitos de WhatsApp que suben de fondo: los mueve el script; los de atrás, chicos y borrosos */
.charla { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.globo {
  position: absolute; left: 0; top: 100%; display: flex; align-items: flex-end; gap: 10px; margin: 0;
  padding: 10px 14px 9px; border-radius: 16px 16px 16px 4px; white-space: nowrap;
  background: var(--papel); color: var(--ink-soft); font: 500 15px/1.35 var(--cuerpo);
  box-shadow: 0 12px 26px -16px rgba(66, 46, 32, .55), inset 0 0 0 1px var(--line);
}
.globo small { font: 500 11px/1 var(--cuerpo); color: var(--ink-faint); }
.preguntas__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq { border-bottom: 1px solid var(--line); }
.faq__item { border-top: 1px solid var(--line); }
.faq h3 { font-size: inherit; }
.faq__boton {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--ink);
  font: 800 clamp(19px, 1.7vw, 23px)/1.25 var(--display);
  transition: color .2s ease;
}
.faq__boton:hover { color: var(--accent-text); }
.faq__mas { position: relative; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); }
.faq__mas::before, .faq__mas::after { content: ''; position: absolute; left: 50%; top: 50%; width: 15px; height: 2px; margin: -1px 0 0 -7.5px; border-radius: 2px; background: var(--ink); }
.faq__mas::after { transform: rotate(90deg); }
.faq__resp { overflow: hidden; }
html.faq-listo .faq__resp { height: 0; visibility: hidden; }
.faq__resp p { padding: 0 60px 24px 0; max-width: 60ch; color: var(--ink-soft); }

/* ══ 9c · RESEÑAS ══ */
.resenas { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(100px, 12vw, 160px); text-align: center; }
.resenas__caja { display: flex; flex-direction: column; align-items: center; }
.resenas__puntaje { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.4vw, 34px); margin: 4px 0 18px; }
.resenas__nota { font: 900 clamp(96px, 12vw, 176px)/.86 var(--display); letter-spacing: -.035em; color: var(--ink); font-variant-numeric: tabular-nums; }
/* cinco estrellas con una máscara repetida: la fila de atrás en arena, la de adelante terracota, recortada hasta 4,7 */
.resenas__estrellas { --llenado: 93.9%; position: relative; width: 5.333em; height: 1em; font-size: clamp(30px, 3.6vw, 50px); }
.estrellas {
  position: absolute; inset: 0;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 24'%3E%3Cpath d='M12 1.5l3.1 6.9 7.4.7-5.6 5 1.7 7.3L12 17.6l-6.6 3.8 1.7-7.3-5.6-5 7.4-.7z'/%3E%3C/svg%3E") 0 0 / 1.0833em 1em repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 24'%3E%3Cpath d='M12 1.5l3.1 6.9 7.4.7-5.6 5 1.7 7.3L12 17.6l-6.6 3.8 1.7-7.3-5.6-5 7.4-.7z'/%3E%3C/svg%3E") 0 0 / 1.0833em 1em repeat-x;
}
.estrellas--fondo { background: #E2D2BC; }
.estrellas--llenas { background: linear-gradient(180deg, #D27241, var(--accent)); clip-path: inset(0 calc(100% - var(--llenado)) 0 0); }
.resenas__texto { max-width: 34ch; margin-bottom: 26px; font: 500 clamp(18px, 1.6vw, 21px)/1.45 var(--cuerpo); color: var(--ink-soft); text-wrap: balance; }
.resenas__texto b { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ══ 10 · CIERRE ══ */
.cierre { position: relative; overflow: hidden; padding: clamp(110px, 16vw, 200px) 0 clamp(140px, 20vw, 260px); text-align: center; }
/* «AL TOQUE» en grande, que nace del pie: terracota que se oscurece hasta el marrón del pie donde lo toca, una sombra
   suave detrás que lo despega del crema y un brillo que lo cruza una vez al llegar. Sin bordes ni relieves.
   Dos capas: el texto propio sólo hace la sombra (letra transparente) y el ::after pinta encima el degradé. */
.cierre__fondo {
  --brillo: -60; --sombra: .3;
  position: absolute; left: 50%; bottom: -.06em; z-index: 0; transform: translateX(-50%); /* el pie corta las letras: nacen de él (más abajo se pierde la cola de la Q) */
  font: 900 clamp(60px, 17vw, 300px)/.8 var(--display); letter-spacing: var(--aire, -.02em);
  color: transparent; text-shadow: 0 .045em .12em rgba(42, 35, 29, var(--sombra));
  white-space: nowrap; pointer-events: none; user-select: none;
}
.cierre__fondo::after {
  content: attr(data-texto); position: absolute; inset: 0; text-shadow: none; color: transparent;
  background:
    linear-gradient(100deg, transparent 42%, rgba(255, 236, 214, .55) 50%, transparent 58%) calc(var(--brillo) * 1%) 0 / 260% 100% no-repeat,
    linear-gradient(180deg, #D27241 0%, #C05C2D 38%, #A54A22 62%, #5A2E19 82%, #2A231D 92%);
  -webkit-background-clip: text; background-clip: text;
}
.cierre__caja { position: relative; z-index: 1; }
.cierre h2 { font-size: clamp(40px, 5.4vw, 80px); margin-bottom: 34px; }
.cierre__zona { display: inline-block; padding: 30px 60px; }
[data-iman] { transition: background-color .25s ease, color .25s ease; } /* el imán lo mueve GSAP: sin transición de transform */

/* ══ PIE ══ */
.footer { background: var(--ink); color: var(--surface); padding: 72px 0 48px; }
.footer__grid { display: grid; grid-template-columns: auto 1fr 1fr 1fr; gap: 36px 56px; align-items: start; }
.footer__logo { width: 120px; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.footer__col h3 { margin-bottom: 6px; font: 800 13px/1.3 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--accent-soft); }
.footer__col p { font-size: 16px; color: rgba(251, 248, 241, .86); }
.footer__col a { display: inline-flex; align-items: center; min-height: 40px; font-size: 16px; color: var(--surface); text-decoration-color: rgba(231, 180, 140, .7); text-underline-offset: 4px; }
.footer__legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(251, 248, 241, .16); font-size: 15px; color: rgba(251, 248, 241, .75); }

/* barra fija del celular */
.action-bar { display: none; }

/* ══ CELULAR Y TABLET ══ */
@media (max-width: 1100px) {
  .nav { gap: 16px; }
  .nav a { font-size: 14px; }
  .visitanos__grid { grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); }
  .mapa { grid-column: 1 / -1; min-height: 380px; }
}
@media (max-width: 899px) {
  :root { --header-h: 66px; }
  html { scroll-padding-bottom: 90px; }
  body { font-size: 16px; padding-bottom: 76px; }
  .nav, .header__pedido { display: none; }
  .hamburguesa { display: flex; }
  .marca__logo { width: 42px; height: 42px; }

  .hero { padding: calc(var(--header-h) + 28px) 0 48px; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__bajada { font-size: 17px; }
  .chip { min-height: 48px; }
  .sello { right: 4px; bottom: 26px; font-size: 19px; }
  .horno-escena { width: 100%; }
  .pieza .pan__cartel { left: 4px; top: -26px; }
  .pieza .pan__etiqueta { font-size: 11px; padding: 5px 7px 4px; }
  .pieza .pan__palito { height: 30px; margin-left: 12px; }

  .torta__pista, .alfajor__pista { height: auto; }
  .torta__pegado, .alfajor__pegado { position: static; min-height: 0; grid-template-columns: 1fr; padding: 72px 0; }
  .recorrido { display: none; }
  .polaroid--movil { display: block; position: relative; width: 58%; max-width: 240px; margin: 0 auto 30px; transform: rotate(-4deg); padding: 10px 10px 0; }
  .torta__texto { padding-left: 30px; }
  .torta__texto::before { content: ''; position: absolute; left: 8px; top: var(--l-top, 300px); height: var(--l-alto, 0px); width: 2px; background: repeating-linear-gradient(180deg, var(--accent) 0 3px, transparent 3px 9px); opacity: .7; }
  .armado { order: 0; }
  .armado__escena { width: 100%; }
  .armado__otra { display: inline-flex; }


  .encargos__grid { grid-template-columns: 1fr; }
  .encargo { min-height: 470px; }
  .encargo__zona { left: 12%; width: 76%; }
  .chat__burbuja { max-width: 92%; font-size: 15px; }

  .historia__grid { grid-template-columns: 1fr; gap: 0; }
  .escenario { top: 0; z-index: 3; height: 46svh; padding: 10px 0; background: var(--bg); }
  .hito { min-height: 52svh; }
  .hito p { font-size: 17px; }

  .visitanos__grid { grid-template-columns: 1fr; }
  .mapa { min-height: 360px; }

  .preguntas { padding-top: 190px; } /* arriba del título, la franja por donde suben los globitos */
  .preguntas__grid { grid-template-columns: 1fr; }
  .globo { font-size: 14px; }
  .resenas__puntaje { flex-direction: column; gap: 12px; }
  .faq__resp p { padding-right: 0; }

  .cierre__zona { padding: 10px; }
  .footer { padding-bottom: 110px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__logo { grid-column: 1 / -1; width: 104px; }

  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  }
  .ab-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; min-width: 54px; padding: 0 14px; color: var(--ink); text-decoration: none; font: 800 16px/1 var(--display); }
  .ab-btn .ico { width: 22px; height: 22px; }
  .ab-principal { flex: 1; }
  .action-bar .ab-btn.ab-principal { background: var(--ink); color: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (max-width: 520px) {
  .hero__botones .btn { flex: 1 1 auto; }
  .footer__grid { grid-template-columns: 1fr; }
}
