/* ==========================================================
   LA TOSCANA PIZZERÍA — estilos
   ========================================================== */

:root {
  /* Paleta de marca */
  --primary-red: #c41e1e;
  --red-strong: #a31919;      /* rojo para superficies con texto: 7:1 con crema (AAA) */
  --secondary-green: #556b2f;
  --olive-ink: #3f5022;       /* oliva para texto chico sobre crema (AAA) */
  --accent-gold: #d4a574;
  --cream-bg: #f5f5f0;
  --brown-earth: #8b6f47;
  --brown-ink: #5a4630;       /* tierra para texto sobre crema (AAA) */
  --text-dark: #1a1a1a;
  --white: #fffdf9;
  --espresso: #2b1f18;        /* marrón café/madera: fondos oscuros cálidos */
  --paper: #fffcf5;
  --border-accent: 3px solid var(--primary-red);

  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-hand: "Caveat", "Segoe Print", cursive;
  --font-sans: "Lato", "Segoe UI", "Open Sans", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --focus: var(--red-strong);
  --nav-h: 76px;

  /* mantel a cuadros (vichy) rojo y crema + grano de papel */
  --mantel: linear-gradient(90deg, rgba(196, 30, 30, .2) 50%, transparent 0), linear-gradient(rgba(196, 30, 30, .2) 50%, transparent 0);
  --grain: 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='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .27 0 0 0 0 .17 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--nav-h);
}
html:not(.lenis) { scroll-behavior: smooth; }
html.no-scroll { overflow: hidden; }
/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
main:focus { outline: none; }

body {
  margin: 0;
  font: 400 1.0625rem/1.7 var(--font-sans);
  color: var(--text-dark);
  background: var(--espresso);
  text-rendering: optimizeLegibility;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; }

a, button, [role="tab"], label { touch-action: manipulation; }
button, .cta-btn, [role="tab"] { user-select: none; -webkit-user-select: none; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.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;
}

.skip-link {
  position: fixed; top: .75rem; left: .75rem; z-index: 100;
  padding: .75rem 1.25rem; border-radius: 999px;
  background: var(--accent-gold); color: var(--text-dark); font-weight: 700; text-decoration: none;
  translate: 0 -200%;
  transition: translate .2s var(--ease-out);
}
.skip-link:focus { translate: 0 0; }

.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }

.logo-svg { aspect-ratio: 1400 / 788; height: auto; }

/* ---------- Secciones ---------- */
.section { position: relative; padding-block: clamp(4.5rem, 10vw, 8rem); }

.section--cream {
  background-color: var(--cream-bg);
  background-image:
    radial-gradient(ellipse at 8% 0%, rgba(139, 111, 71, .14), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(85, 107, 47, .09), transparent 50%),
    var(--grain);
}
.section--ink { background: var(--espresso); color: var(--cream-bg); --focus: var(--accent-gold); }

.section-head { text-align: center; max-width: 46rem; margin: 0 auto clamp(2rem, 5vw, 3.25rem); }
.section-head .eyebrow { justify-content: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  margin: 0 0 .6rem;
  font: 700 clamp(1.5rem, 2.6vw, 1.85rem)/1.1 var(--font-hand);
  color: var(--olive-ink);
  rotate: -1.5deg;
}
/* hojita de albahaca */
.eyebrow::before {
  content: ""; width: 1.1em; height: 1.1em; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19C4 11 9 4 20 4c1 9-5 16-15 15ZM5 19l9-9' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19C4 11 9 4 20 4c1 9-5 16-15 15ZM5 19l9-9' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.eyebrow--gold { color: var(--accent-gold); }

.section-title {
  font: 800 clamp(2.35rem, 5.2vw, 3.9rem)/1.05 var(--font-serif);
  letter-spacing: -.012em;
  color: var(--primary-red);
  margin-bottom: 1.25rem;
  text-wrap: balance;
}
.section-title em { font-style: italic; font-weight: 700; color: var(--text-dark); }
.section--ink .section-title, .shows .section-title, .section--wood .section-title { color: var(--cream-bg); }
.section--ink .section-title em, .shows .section-title em, .section--wood .section-title em { color: var(--accent-gold); }

.section-intro { font-size: 1.125rem; color: var(--brown-ink); margin: 0; }

.lead {
  font: italic 700 clamp(1.25rem, 2.2vw, 1.55rem)/1.45 var(--font-serif);
  color: var(--brown-ink);
  margin-bottom: 1.5rem;
}

/* ---------- Botones ---------- */
.cta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.25rem; padding: .85rem 1.6rem;
  font: 700 1rem/1.1 var(--font-sans); letter-spacing: .04em; text-decoration: none; text-align: center;
  background: var(--red-strong); color: var(--cream-bg);
  border: 2px solid var(--red-strong); border-radius: 999px;
  cursor: pointer;
  transition:
    background-color .2s ease, border-color .2s ease, color .2s ease,
    box-shadow .2s ease, transform .16s var(--ease-out);
}
.cta-btn:active { transform: scale(.97); }
.cta-btn--ghost { background: transparent; color: var(--cream-bg); border-color: rgba(212, 165, 116, .75); }
.cta-btn--sm { min-height: 2.75rem; padding: .55rem 1.15rem; font-size: .9375rem; }
.cta-btn--lg { min-height: 3.6rem; padding: 1rem 2rem; font-size: 1.0625rem; }

@media (hover: hover) and (pointer: fine) {
  .cta-btn:hover {
    background: var(--accent-gold); border-color: var(--accent-gold); color: var(--text-dark);
    box-shadow: 0 4px 12px rgba(196, 30, 30, .2), 0 8px 24px -8px rgba(212, 165, 116, .6);
  }
}

/* ---------- Reveal (IntersectionObserver) ----------
   Usa `translate` para no pisar el `transform` de los hovers. */
.js .reveal {
  opacity: 0;
  translate: 0 28px;
  --d: calc(var(--i, 0) * 80ms);
  transition:
    opacity .8s var(--ease-out) var(--d),
    translate .8s var(--ease-out) var(--d),
    transform .3s var(--ease-out),
    box-shadow .3s var(--ease-out),
    rotate .4s var(--ease-out),
    background-color .3s ease;
}
.js .reveal.is-visible { opacity: 1; translate: 0 0; }

/* ==========================================================
   NAV
   ========================================================== */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--cream-bg);
  --focus: var(--accent-gold);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.nav.is-solid {
  background: rgba(43, 31, 24, .94);
  box-shadow: 0 1px 0 rgba(212, 165, 116, .2), 0 10px 30px -15px rgba(0, 0, 0, .6);
}
@supports (backdrop-filter: blur(1px)) {
  .nav.is-solid { background: rgba(43, 31, 24, .96); backdrop-filter: blur(12px) saturate(140%); }
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.nav__logo { position: relative; z-index: 2; display: block; padding: .25rem 0; }
.nav__logo .logo-svg { width: 96px; color: var(--cream-bg); }

.nav__menu { display: flex; align-items: center; gap: 2.25rem; }
.nav__links { display: flex; gap: 1.9rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  position: relative; display: inline-block; padding: .6rem 0;
  font: 700 .8125rem/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 2px;
  background: var(--accent-gold); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover::after { transform: scaleX(1); }
}
/* línea que se desliza hasta la sección donde estás (la mueve el JS) */
.nav__links { position: relative; }
.nav__indicator {
  position: absolute; left: 0; bottom: .1rem; width: 1px; height: 2px;
  background: var(--accent-gold); border-radius: 2px;
  transform-origin: left; opacity: 0; pointer-events: none;
  transition: transform .55s var(--ease-out), opacity .3s ease;
}
.nav__links a[aria-current] { color: var(--accent-gold); }

.nav__toggle {
  display: none; position: relative; z-index: 2;
  width: 48px; height: 48px; margin-right: -8px;
  background: none; border: 0; color: inherit; cursor: pointer;
}
.nav__toggle span {
  position: absolute; left: 12px; width: 24px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .25s var(--ease-out);
}
.nav__toggle span:first-child { top: 19px; }
.nav__toggle span:last-child { top: 27px; }
.nav.is-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 899px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 2.5rem;
    padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px)) 1.5rem 3rem;
    background:
      radial-gradient(ellipse at 50% 0%, rgba(196, 30, 30, .25), transparent 60%),
      var(--espresso);
    opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease-out), visibility 0s .25s;
  }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; transition: opacity .25s var(--ease-out); }
  .nav__links { flex-direction: column; align-items: center; gap: .5rem; }
  .nav__links a {
    font: 700 2rem/1.2 var(--font-serif); letter-spacing: 0; text-transform: none; padding: .45rem 0;
  }
  .nav__menu .cta-btn { min-height: 3.5rem; padding-inline: 2.5rem; font-size: 1.0625rem; }
  .nav__indicator { display: none; }
}

/* ==========================================================
   1. HERO
   ========================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: grid; align-items: center;
  color: var(--cream-bg);
  background: radial-gradient(ellipse at 18% 35%, #3d2c20 0%, var(--espresso) 62%);
  --focus: var(--accent-gold);
}
.hero__media { position: absolute; inset: 0; z-index: -1; will-change: transform; }
.hero__media picture, .hero__media img { width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 50% 55%; }
/* overlay dorado (0.35) + degradé para legibilidad */
.hero__media::before, .hero__media::after { content: ""; position: absolute; inset: 0; }
.hero__media::before { background: rgba(212, 165, 116, .35); mix-blend-mode: multiply; }
.hero__media::after {
  background: linear-gradient(180deg, rgba(43, 31, 24, .72) 0%, rgba(43, 31, 24, .5) 42%, rgba(43, 31, 24, .94) 100%);
}

.hero__content { padding-block: calc(var(--nav-h) + 3rem) 8rem; }
.hero__content > * { max-width: 36rem; }
.hero__title { margin: .25rem 0 1.5rem; }
.hero__logo { width: min(100%, 440px); aspect-ratio: 1400 / 788; color: var(--cream-bg); filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .45)); }
.hero__sub {
  font: italic 700 clamp(1.2rem, 2.4vw, 1.55rem)/1.4 var(--font-serif);
  color: var(--accent-gold);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
  text-wrap: balance;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2.25rem 0 2rem; }
.hero__info {
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem;
  list-style: none; margin: 0; padding: 0;
  font-size: .9375rem; color: #efe7da;
}
.hero__info li { display: inline-flex; align-items: center; gap: .5rem; }
.hero__info .icon { color: var(--accent-gold); }
.hero__info a { text-decoration: none; }
.hero__info a:hover { text-decoration: underline; }

/* entrada del hero: animación CSS (fluida aunque la página siga cargando) */
.hero__content > * { animation: rise .9s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + 100ms); }
@keyframes rise { from { opacity: 0; translate: 0 22px; } }

@media (min-width: 900px) {
  .hero__media {
    left: 44%;
    /* la foto se funde con el fondo: sin corte visible */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32%);
    mask-image: linear-gradient(90deg, transparent 0, #000 32%);
  }
  .hero__media::after {
    background:
      linear-gradient(90deg, var(--espresso) 0%, rgba(43, 31, 24, .6) 22%, rgba(43, 31, 24, 0) 58%),
      linear-gradient(0deg, rgba(43, 31, 24, .85) 0%, rgba(43, 31, 24, 0) 38%),
      linear-gradient(180deg, rgba(43, 31, 24, .55) 0%, rgba(43, 31, 24, 0) 25%);
  }
  .hero__content { padding-block: calc(var(--nav-h) + 2rem) 6rem; }
}

/* ---------- Mouse wheel indicator (pulsante) ---------- */
.scroll-cue {
  position: absolute; left: 50%; bottom: calc(1.75rem + env(safe-area-inset-bottom, 0px));
  translate: -50% 0;
  display: grid; place-items: center;
  width: 64px; height: 64px;
  color: var(--accent-gold);
  animation: cue-in .8s 1.1s var(--ease-out) both;
  transition: opacity .4s ease, translate .4s var(--ease-out), visibility 0s;
}
.scroll-cue.is-hidden { opacity: 0; translate: -50% 14px; visibility: hidden; transition: opacity .4s ease, translate .4s var(--ease-out), visibility 0s .4s; }
.scroll-cue__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(212, 165, 116, .6);
  background: radial-gradient(circle, rgba(212, 165, 116, .12), transparent 70%);
  box-shadow: 0 0 18px rgba(212, 165, 116, .35), inset 0 0 12px rgba(212, 165, 116, .18);
  animation: pulse 1.5s ease-in-out infinite;
}
.scroll-cue svg { width: 22px; height: 33px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(212, 165, 116, .5)); }
.scroll-cue__wheel { animation: wheel 1.5s var(--ease-out) infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: .95; } 50% { transform: scale(1.2); opacity: .45; } }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 75% { transform: translateY(8px); opacity: 0; } 100% { opacity: 0; } }
@keyframes cue-in { from { opacity: 0; } }

/* ==========================================================
   2. BIENVENIDA
   ========================================================== */
.welcome__grid { display: grid; gap: 3.5rem; align-items: center; }
.welcome__text { color: #3b3129; }

.stats {
  display: flex; flex-wrap: wrap; gap: 1.25rem clamp(2.5rem, 7vw, 5rem);
  margin: 2.5rem 0 0; padding-top: 2rem;
  border-top: 1px solid rgba(139, 111, 71, .3);
}
.stat { display: flex; flex-direction: column-reverse; }
.stat dd {
  margin: 0;
  font: 800 clamp(2.1rem, 4.4vw, 3rem)/1 var(--font-serif);
  color: var(--primary-red);
  font-variant-numeric: lining-nums tabular-nums;
}
.stat dt {
  margin-top: .6rem;
  font: 700 .75rem/1.35 var(--font-sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--brown-ink);
}

.welcome__media { max-width: 520px; width: 100%; justify-self: center; }
/* una sola capa de parallax: fotos y nota se mueven juntas */
.welcome__collage { position: relative; padding-bottom: 4.5rem; will-change: transform; }
.welcome__photo { margin: 0; overflow: hidden; }
.welcome__photo--main {
  width: 84%; margin-left: auto;
  /* arco toscano */
  border-radius: 999px 999px 18px 18px;
  box-shadow: 0 34px 60px -28px rgba(43, 31, 24, .55);
  aspect-ratio: 777 / 822;
}
.welcome__photo--main img { width: 100%; height: 100%; object-fit: cover; }
.welcome__photo--float {
  position: absolute; left: 0; bottom: 0; width: 50%;
  border-radius: 16px;
  border: 6px solid var(--cream-bg);
  box-shadow: 0 24px 50px -20px rgba(43, 31, 24, .6);
  rotate: -4deg;
}

@media (min-width: 900px) {
  .welcome__grid { grid-template-columns: 1.05fr .95fr; gap: 5.5rem; }
}

/* ==========================================================
   3. MENÚ SEMANAL — carta de papel sobre mantel a cuadros
   ========================================================== */
/* pared de ladrillo pintado de blanco, como la del salón */
.weekly {
  background-color: #efe9e0;
  background-image:
    radial-gradient(ellipse at 50% -10%, rgba(255, 205, 140, .28), transparent 60%),   /* luz cálida de lámpara */
    radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(60, 40, 20, .16)),       /* sombra en los bordes */
    var(--grain),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='128'%3E%3Crect width='240' height='128' fill='%23dad1c4'/%3E%3Crect x='2' y='2' width='56' height='28' rx='2' fill='%23f7f3ed'/%3E%3Crect x='62' y='2' width='56' height='28' rx='2' fill='%23f3eee7'/%3E%3Crect x='122' y='2' width='56' height='28' rx='2' fill='%23faf7f2'/%3E%3Crect x='182' y='2' width='56' height='28' rx='2' fill='%23f2ece4'/%3E%3Crect x='-28' y='34' width='56' height='28' rx='2' fill='%23f8f5f0'/%3E%3Crect x='32' y='34' width='56' height='28' rx='2' fill='%23f5f0e9'/%3E%3Crect x='92' y='34' width='56' height='28' rx='2' fill='%23faf7f2'/%3E%3Crect x='152' y='34' width='56' height='28' rx='2' fill='%23f8f5f0'/%3E%3Crect x='212' y='34' width='56' height='28' rx='2' fill='%23f8f5f0'/%3E%3Crect x='2' y='66' width='56' height='28' rx='2' fill='%23f5f0e9'/%3E%3Crect x='62' y='66' width='56' height='28' rx='2' fill='%23f8f5f0'/%3E%3Crect x='122' y='66' width='56' height='28' rx='2' fill='%23e9e1d6'/%3E%3Crect x='182' y='66' width='56' height='28' rx='2' fill='%23efe8df'/%3E%3Crect x='-28' y='98' width='56' height='28' rx='2' fill='%23faf7f2'/%3E%3Crect x='32' y='98' width='56' height='28' rx='2' fill='%23ede6dc'/%3E%3Crect x='92' y='98' width='56' height='28' rx='2' fill='%23f8f5f0'/%3E%3Crect x='152' y='98' width='56' height='28' rx='2' fill='%23f8f5f0'/%3E%3Crect x='212' y='98' width='56' height='28' rx='2' fill='%23faf7f2'/%3E%3C/svg%3E");
  background-size: auto, auto, auto, 300px 160px;
}
.weekly__grid { display: grid; justify-items: center; }
.weekly__body {
  position: relative; width: 100%; max-width: 800px;
  padding: clamp(1.75rem, 4.5vw, 3.25rem);
  background: var(--grain), var(--paper);
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(60, 40, 20, .14), 0 0 0 1px rgba(139, 111, 71, .15), 0 40px 80px -28px rgba(60, 40, 20, .7);
}
.weekly__dates { display: inline-flex; align-items: center; gap: .5rem; color: var(--brown-ink); font-weight: 700; margin-bottom: 0; }
.weekly__dates .icon { color: var(--red-strong); }

.week { list-style: none; margin: 1.5rem 0 2rem; padding: 0; border-top: 2px solid rgba(139, 111, 71, .35); }
.week li {
  display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 1rem;
  padding: .8rem 1rem;
  border-bottom: 1.5px dashed rgba(139, 111, 71, .45);
  transition: background-color .3s ease;
}
.week__day {
  grid-column: 1;
  font: 700 .75rem/1.4 var(--font-sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--olive-ink);
}
.week__dish { grid-column: 1; font: 700 1.125rem/1.35 var(--font-serif); color: var(--text-dark); }
.week__today {
  grid-column: 2; grid-row: 1 / span 2;
  padding: .3rem .75rem; border-radius: 999px;
  background: var(--cream-bg); color: var(--red-strong);
  font: 700 .75rem/1.2 var(--font-sans); letter-spacing: .12em; text-transform: uppercase;
}
.week li.is-today {
  background: var(--red-strong); border-radius: 10px; border-bottom-color: transparent;
  box-shadow: 0 12px 30px -12px rgba(196, 30, 30, .7);
}
.week li.is-today .week__day, .week li.is-today .week__dish { color: var(--cream-bg); }

.weekly__price { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-bottom: 2rem; }
.price-big {
  margin: 0;
  font: 800 clamp(4.5rem, 12vw, 7rem)/.9 var(--font-serif);
  letter-spacing: -.03em;
  color: var(--red-strong);
}
.price-big__cur { font-size: .5em; vertical-align: .75em; margin-right: .04em; }
.weekly__perks { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: 1.125rem; font-weight: 700; }
.weekly__perks li { display: flex; align-items: center; gap: .6rem; }
.weekly__perks .icon { color: var(--olive-ink); }

@media (min-width: 640px) {
  .week li { grid-template-columns: 8.5rem 1fr auto; }
  .week__day, .week__dish { grid-column: auto; }
  .week__today { grid-column: 3; grid-row: auto; }
}

/* ==========================================================
   4. CARTA (tabs + cards)
   ========================================================== */
.tabs {
  display: flex; gap: .5rem; justify-content: center;
  overflow-x: auto; scrollbar-width: none;
  padding: .35rem .25rem;
  margin-inline: -1.25rem; padding-inline: 1.25rem;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] {
  flex: none; min-height: 48px; padding: .7rem 1.4rem;
  border: 1.5px solid var(--brown-earth); border-radius: 999px;
  background: transparent; color: var(--text-dark);
  font: 700 .9375rem/1 var(--font-sans); letter-spacing: .05em;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .16s var(--ease-out);
}
.tabs [role="tab"]:active { transform: scale(.97); }
.tabs [role="tab"][aria-selected="true"] { background: var(--red-strong); border-color: var(--red-strong); color: var(--cream-bg); }
@media (hover: hover) and (pointer: fine) {
  .tabs [role="tab"][aria-selected="false"]:hover { background: rgba(212, 165, 116, .22); border-color: var(--accent-gold); }
}
@media (max-width: 639px) {
  .tabs { justify-content: flex-start; }
}

/* el cambio de categoría lo anima el JS (fade + alto + tarjetas escalonadas) */
.panels { margin-top: 2.25rem; }
.panels.is-animating { overflow: clip; overflow-clip-margin: 40px; }
.panel { display: grid; gap: 1.25rem; border-radius: 12px; }
.panel[hidden] { display: none; }

.menu-card {
  display: flex; gap: 1.1rem; align-items: stretch;
  background: var(--cream-bg);
  border-left: var(--border-accent);
  border-radius: 4px 16px 16px 4px;
  padding: 1rem 1.25rem 1rem 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.menu-card:nth-child(even) { background: #fff; }
@media (hover: hover) and (pointer: fine) {
  .menu-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 16px rgba(196, 30, 30, .2), 0 16px 36px -12px rgba(212, 165, 116, .75);
  }
}
.menu-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .4rem; }
.menu-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.menu-card__name { font: 700 1.3rem/1.2 var(--font-serif); color: var(--primary-red); }
.menu-card__price {
  flex: none;
  padding: .4rem .75rem; border-radius: 999px;
  background: var(--text-dark); color: var(--accent-gold);
  font: 700 1rem/1 var(--font-sans); letter-spacing: .02em; font-variant-numeric: lining-nums tabular-nums;
}
.menu-card__desc { margin: 0 0 .5rem; font-size: .9688rem; line-height: 1.55; color: #4a3f36; }
.menu-card__order { align-self: flex-start; margin-top: auto; }

@media (min-width: 760px) {
  .panel { grid-template-columns: 1fr 1fr; }
  .menu-card:nth-child(4n + 2), .menu-card:nth-child(4n + 3) { background: #fff; }
  .menu-card:nth-child(4n + 4), .menu-card:nth-child(4n + 1) { background: var(--cream-bg); }
}

/* ==========================================================
   5. GALERÍA — álbum de familia (polaroids sobre papel madera)
   ========================================================== */
.section--kraft {
  background-color: #ebdec8;
  background-image: radial-gradient(ellipse at 20% 0%, rgba(255, 255, 255, .4), transparent 55%), var(--grain);
}
.section--kraft .section-title { color: var(--red-strong); }

.gallery__grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 2.75rem 2rem; padding-top: .75rem; }
.g-item:nth-child(even) { margin-top: 3.5rem; } /* intercaladas: una arriba, una abajo */
.g-item {
  position: relative; margin: 0;
  width: min(250px, calc(50% - 1rem));
  padding: .7rem .7rem 0;
  background: var(--paper);
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(60, 40, 20, .18), 0 18px 36px -16px rgba(60, 40, 20, .55);
  rotate: var(--r, -2deg);
}
.g-item:nth-child(2) { --r: 2.5deg; }
.g-item:nth-child(3) { --r: -1deg; }
.g-item:nth-child(4) { --r: 3deg; }
.g-item:nth-child(5) { --r: -2.5deg; }
.g-item picture { display: block; aspect-ratio: 1; overflow: hidden; background: #2a2420; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.g-item figcaption {
  padding: .5rem .2rem .75rem; text-align: center;
  font: 700 clamp(1.2rem, 2.4vw, 1.5rem)/1.15 var(--font-hand); color: var(--text-dark);
}
@media (hover: hover) and (pointer: fine) {
  .g-item:hover {
    z-index: 1; rotate: 0deg; transform: translateY(-6px) scale(1.04);
    box-shadow: 0 2px 4px rgba(60, 40, 20, .18), 0 30px 50px -18px rgba(60, 40, 20, .6);
  }
  .g-item:hover img { transform: scale(1.06); }
}

/* ==========================================================
   6. SHOWS EN VIVO
   ========================================================== */
.shows {
  color: var(--cream-bg);
  --focus: var(--accent-gold);
  background:
    radial-gradient(ellipse at 12% 18%, rgba(196, 30, 30, .38), transparent 52%),
    radial-gradient(ellipse at 95% 92%, rgba(196, 30, 30, .22), transparent 45%),
    #170f0d;
}
.shows__grid { display: grid; gap: 3rem; }
.shows__motto {
  font: italic 700 clamp(1.3rem, 2.6vw, 1.75rem)/1.35 var(--font-serif);
  color: var(--accent-gold);
  margin-bottom: 2rem;
}
.shows__photo {
  margin: 0; border-radius: 20px; overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(212, 165, 116, .3),
    0 0 70px -12px rgba(196, 30, 30, .7),
    0 40px 80px -30px rgba(0, 0, 0, .85);
}

.events { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1rem; }
.event {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1rem 1.25rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(212, 165, 116, .2);
  border-left: 4px solid var(--primary-red);
  border-radius: 6px 18px 18px 6px;
}
@media (hover: hover) and (pointer: fine) {
  .event:hover {
    transform: translateY(-5px) scale(1.02);
    background-color: rgba(255, 255, 255, .07);
    box-shadow: 0 18px 40px -18px rgba(212, 165, 116, .55), 0 0 40px -16px rgba(196, 30, 30, .7);
  }
}
.event__date {
  display: grid; place-content: center; text-align: center;
  width: 4.75rem; aspect-ratio: 1;
  border-radius: 14px;
  background: var(--red-strong); color: var(--cream-bg);
  box-shadow: 0 0 28px -6px rgba(196, 30, 30, .9);
}
.event__day { font: 800 2rem/1 var(--font-serif); }
.event__month { font: 700 .72rem/1.3 var(--font-sans); letter-spacing: .18em; text-transform: uppercase; }
.event__meta { margin: 0; font-size: .875rem; font-weight: 700; letter-spacing: .04em; color: var(--accent-gold); }
.event__title { margin: .15rem 0 .25rem; font: 700 1.35rem/1.2 var(--font-serif); }
.event__desc { margin: 0; font-size: .9375rem; color: #ddd3c6; }
.event .cta-btn { grid-column: 1 / -1; justify-self: start; }
.event--empty { display: block; border-left-color: var(--accent-gold); }

.shows__note { color: #ddd3c6; }
.shows__note a { color: var(--accent-gold); font-weight: 700; }

.social { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; padding-top: 1.5rem; border-top: 1px solid rgba(212, 165, 116, .2); }
.social p { width: 100%; margin: 0; font-size: .8125rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-gold); }
.social__link {
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 48px; padding: .6rem 1.2rem;
  border: 1.5px solid rgba(212, 165, 116, .6); border-radius: 999px;
  font-weight: 700; text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .16s var(--ease-out);
}
.social__link:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .social__link:hover { background: var(--accent-gold); color: var(--text-dark); }
}

@media (min-width: 640px) {
  .event { grid-template-columns: auto 1fr auto; }
  .event .cta-btn { grid-column: auto; }
}
@media (min-width: 900px) {
  .shows__grid { grid-template-columns: 1fr 1.1fr; gap: 4.5rem; align-items: start; }
  .shows__list { padding-top: .5rem; }
  .shows__intro { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
}

/* ==========================================================
   7. TESTIMONIOS
   ========================================================== */

.reviews__grid { display: grid; gap: 1.25rem; }
.review {
  position: relative; margin: 0;
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem;
  padding: 3.75rem 1.75rem 1.75rem;
  background: var(--paper);
  border-radius: 4px;
  rotate: var(--r, -1deg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .07);
}
.review::before {
  content: "“"; position: absolute; top: .5rem; left: 1.5rem;
  font: 800 5.5rem/1 var(--font-serif); color: rgba(196, 30, 30, .14);
}
@media (hover: hover) and (pointer: fine) {
  .review:hover { rotate: 0deg; transform: translateY(-5px) scale(1.02); box-shadow: 0 8px 16px rgba(196, 30, 30, .12), 0 18px 40px -14px rgba(212, 165, 116, .7); }
}
.review:nth-child(2) { --r: 1.2deg; }
.review:nth-child(3) { --r: -.6deg; }
.reviews__cta { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-top: 3.5rem; text-align: center; }
.reviews__cta .icon { color: var(--accent-gold); }
.reviews__all { color: var(--brown-ink); font-weight: 700; text-underline-offset: .2em; }
.review blockquote { margin: 0; font-size: 1.0625rem; color: #3b3129; }
.review blockquote p { margin: 0; }
.review figcaption { display: flex; align-items: center; gap: .9rem; }
.review figcaption strong { display: block; font: 700 1.1rem/1.2 var(--font-serif); color: var(--text-dark); }
.review__meta { font-size: .875rem; color: var(--brown-ink); }
.avatar {
  display: grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--text-dark); color: var(--accent-gold);
  font: 800 1.05rem/1 var(--font-serif);
  box-shadow: 0 0 0 3px var(--cream-bg), 0 0 0 4px var(--accent-gold);
}

@media (min-width: 900px) {
  .reviews__grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

/* ==========================================================
   8. CONTACTO
   ========================================================== */
.contact__grid { display: grid; gap: 3rem; }

.wa-card {
  display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 1.1rem;
  padding: 1.35rem 1.5rem; margin-bottom: 1.25rem;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--red-strong), #7e1212);
  color: var(--cream-bg); text-decoration: none;
  box-shadow: 0 20px 44px -18px rgba(196, 30, 30, .8);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.wa-card:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) {
  .wa-card:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 24px 50px -16px rgba(196, 30, 30, .85), 0 0 0 2px var(--accent-gold); }
}
.wa-card__icon { grid-row: span 2; width: 2.75rem; height: 2.75rem; }
.wa-card__label { font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.wa-card__num { font: 800 clamp(1.9rem, 4vw, 2.4rem)/1.1 var(--font-serif); }

.delivery-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .65rem 1.2rem; margin-bottom: 1.75rem;
  border-radius: 999px;
  background: var(--secondary-green); color: var(--cream-bg);
  font: 700 1.2rem/1.2 var(--font-sans);
}

.contact__list { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: .75rem; }
.contact__list li { display: flex; gap: .75rem; align-items: flex-start; }
.contact__list .icon { color: var(--accent-gold); margin-top: .2rem; }
.contact__list a { color: var(--accent-gold); font-weight: 700; }

.hours { width: 100%; border-collapse: collapse; margin-bottom: 2rem; }
.hours caption {
  text-align: left; padding-bottom: .6rem;
  font: 700 .8125rem/1.2 var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--accent-gold);
}
.hours th, .hours td { padding: .8rem 0; border-bottom: 1px solid rgba(212, 165, 116, .2); text-align: left; vertical-align: top; }
.hours th { font-weight: 700; padding-right: 1rem; white-space: nowrap; }
.hours td { color: #ddd3c6; }

.contact__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.map {
  min-height: 420px; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(212, 165, 116, .3);
  background: #2a2420;
}
.map iframe {
  display: block; width: 100%; height: 100%; min-height: 420px; border: 0;
  /* mapa "dark" sin API key */
  filter: invert(.92) hue-rotate(180deg) saturate(.7) contrast(.9);
}

@media (min-width: 900px) {
  .contact__grid { grid-template-columns: 1fr 1.05fr; gap: 4.5rem; align-items: stretch; }
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  position: relative;
  background: #21170f; color: #d9d0c3;
  padding: 4rem 0 calc(2rem + env(safe-area-inset-bottom, 0px));
  --focus: var(--accent-gold);
}
.footer::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 14px;
  background: var(--mantel), var(--cream-bg);
  background-size: 14px 14px, auto;
}
.footer__grid { display: grid; gap: 2.5rem; }
.footer__logo { width: 150px; color: var(--accent-gold); margin-bottom: 1rem; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.footer__links a, .footer__contact a { display: inline-block; padding: .35rem 0; text-decoration: none; color: var(--cream-bg); }
.footer__links a:hover, .footer__contact a:hover { color: var(--accent-gold); }
.footer__social { display: flex; gap: .5rem; }
.footer__social a {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border: 1.5px solid rgba(212, 165, 116, .5); border-radius: 50%;
}
.footer__legal { width: min(1180px, 100% - 2.5rem); margin: 3rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .875rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 1.5rem; }
.footer__credit { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem 0; color: inherit; text-decoration: none; }
.footer__credit:hover { color: var(--accent-gold); }
.footer__credit svg { height: 1.5rem; width: auto; aspect-ratio: 1097 / 416; }
@media (min-width: 760px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* ==========================================================
   WHATSAPP FLOTANTE (mobile)
   ========================================================== */
.wa-float {
  position: fixed; z-index: 40;
  right: calc(1rem + env(safe-area-inset-right, 0px));
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--red-strong); color: var(--cream-bg);
  box-shadow: 0 12px 28px -8px rgba(196, 30, 30, .8), 0 0 0 3px rgba(245, 245, 240, .9);
  --focus: var(--accent-gold);
  transition: transform .16s var(--ease-out);
}
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:active { transform: scale(.94); }
@media (min-width: 900px) { .wa-float { display: none; } }

/* ==========================================================
   MODAL (reserva / pedido → WhatsApp)
   ========================================================== */
.modal {
  width: min(560px, 100% - 2rem);
  max-height: calc(100dvh - 2rem);
  padding: 0; border: 0; border-radius: 22px;
  background: var(--cream-bg); color: var(--text-dark);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .7);
  overflow: auto; overscroll-behavior: contain;
  opacity: 0; transform: scale(.96);
  transition:
    opacity .25s var(--ease-out), transform .25s var(--ease-out),
    overlay .25s allow-discrete, display .25s allow-discrete;
}
.modal[open] { opacity: 1; transform: none; }
@starting-style { .modal[open] { opacity: 0; transform: scale(.96); } }
.modal::backdrop {
  background: rgba(12, 9, 7, .7);
  opacity: 0;
  transition: opacity .25s var(--ease-out), overlay .25s allow-discrete, display .25s allow-discrete;
}
.modal[open]::backdrop { opacity: 1; }
@starting-style { .modal[open]::backdrop { opacity: 0; } }

.modal__form { padding: 1.75rem; display: grid; gap: 1.1rem; }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.modal__head h2 { font: 800 1.75rem/1.15 var(--font-serif); color: var(--primary-red); }
.modal__close {
  display: grid; place-items: center; width: 48px; height: 48px; margin-right: -.5rem;
  background: none; border: 0; border-radius: 50%; color: var(--text-dark); cursor: pointer;
}
.modal__close:hover { background: rgba(139, 111, 71, .15); }

.choice { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.choice legend { width: 100%; margin-bottom: .5rem; font-weight: 700; }
.choice label {
  position: relative; display: inline-flex; align-items: center;
  min-height: 44px; padding: .55rem 1rem;
  border: 1.5px solid var(--brown-earth); border-radius: 999px;
  font-weight: 700; font-size: .9375rem; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice label:has(:checked) { background: var(--red-strong); border-color: var(--red-strong); color: var(--cream-bg); }
.choice label:has(:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }

.field { display: grid; gap: .35rem; }
.field label { font-weight: 700; }
.field__hint { font-weight: 400; color: var(--brown-ink); font-size: .9375rem; }
.field-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .85rem;
  font: 400 16px/1.4 var(--font-sans); color: var(--text-dark);
  background: #fff; border: 1.5px solid var(--brown-earth); border-radius: 12px;
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline-offset: 1px; border-color: var(--red-strong); }
.modal__submit { width: 100%; margin-top: .25rem; }
@media (max-width: 479px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .field-row .field:first-child { grid-column: span 2; }
}

/* ==========================================================
   TOQUES CASEROS: letra a mano, cinta de papel, madera
   ========================================================== */
.hand-note {
  margin: 0;
  font: 700 1.6rem/1.15 var(--font-hand);
  color: var(--red-strong);
  rotate: -3deg;
}
.signature {
  margin-top: 1.75rem;
  font: 700 clamp(1.75rem, 3vw, 2.15rem)/1.2 var(--font-hand);
  color: var(--red-strong);
  rotate: -2deg; transform-origin: left;
}
.welcome__note {
  position: absolute; right: 0; bottom: -.5rem;
  display: flex; align-items: flex-start; gap: .25rem;
  max-width: 46%; /* solo la zona libre a la derecha de la pizza */
}
@media (max-width: 479px) { .welcome__note { font-size: 1.3rem; } .welcome__note svg { width: 2.7rem; } }
.welcome__note svg {
  width: 3.6rem; flex: none; order: -1; translate: -.6rem -.45rem; /* la punta toca el borde de la foto de la pizza */
  fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.weekly__note { color: var(--olive-ink); }

/* cinta de papel (washi) que "pega" fotos y notas */
.weekly__body::before, .g-item::before, .review::after {
  content: ""; position: absolute; z-index: 1; top: -13px; left: 50%;
  width: 104px; height: 28px;
  translate: -50% 0; rotate: -4deg;
  background: rgba(212, 165, 116, .62);
  box-shadow: 0 1px 2px rgba(60, 40, 20, .18);
  clip-path: polygon(2% 8%, 98% 0, 100% 50%, 97% 100%, 3% 94%, 0 45%);
}
.g-item:nth-child(even)::before, .review:nth-child(2)::after { rotate: 5deg; background: rgba(196, 30, 30, .35); }

/* tablones de madera, como las tablas de las pizzas */
.section--wood {
  color: var(--cream-bg);
  --focus: var(--accent-gold);
  background-color: #3a2a1f;
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(212, 165, 116, .16), transparent 60%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .25) 0 2px, transparent 2px 190px),
    repeating-linear-gradient(90deg, rgba(255, 240, 220, .03) 0 1px, transparent 1px 7px);
}
.section--wood .section-intro { color: #eadfce; }
.section--wood .tabs [role="tab"] { color: var(--cream-bg); border-color: rgba(212, 165, 116, .65); }
.section--wood .tabs [role="tab"][aria-selected="true"] { border-color: var(--red-strong); }

/* ==========================================================
   PANTALLA DE CARGA
   Solo existe con JS (html.is-loading lo pone el <head>). Al cargar,
   se levanta como un telón y recién ahí entra el hero.
   ========================================================== */
.loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 42%, #3d2c20 0%, var(--espresso) 65%);
  color: var(--cream-bg);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .9s var(--ease-in-out), visibility 0s .9s;
}
.is-loading .loader { clip-path: inset(0); visibility: visible; transition: none; }
.loader__inner {
  display: grid; justify-items: center; gap: 1.1rem;
  transition: opacity .35s ease, translate .6s var(--ease-out);
}
html:not(.is-loading) .loader__inner { opacity: 0; translate: 0 -24px; }
/* el logo se "escribe" de izquierda a derecha */
.loader__logo { width: min(62vw, 300px); aspect-ratio: 1400 / 788; color: var(--cream-bg); animation: write 1.1s .15s var(--ease-in-out) both; }
.loader__text { margin: 0; font: 700 1.6rem/1 var(--font-hand); color: var(--accent-gold); animation: fade .5s .6s ease both; }
.loader__text span { animation: blink 1.2s infinite; }
.loader__text span:nth-child(2) { animation-delay: .2s; }
.loader__text span:nth-child(3) { animation-delay: .4s; }
/* barrita de mantel a cuadros que se llena */
.loader__bar { width: 180px; height: 8px; border-radius: 999px; overflow: hidden; background: rgba(245, 245, 240, .12); }
.loader__bar::after {
  content: ""; display: block; height: 100%;
  background: var(--mantel), var(--cream-bg);
  background-size: 8px 8px, auto;
  transform-origin: left;
  animation: fill 1.2s var(--ease-out) both;
}
@keyframes write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes fill { from { transform: scaleX(0); } }
@keyframes blink { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
/* el hero espera a que se levante el telón */
.is-loading .hero__content > *, .is-loading .scroll-cue { animation-play-state: paused; }

/* Playfair trae números old-style: cifras alineadas en precios, fechas y teléfono.
   Va al final porque el shorthand `font` resetea esta propiedad. */
.price-big, .event__day, .wa-card__num { font-variant-numeric: lining-nums; }

/* ==========================================================
   Movimiento reducido: sin desplazamientos, solo fundidos suaves
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  html:not(.lenis) { scroll-behavior: auto; }
  .js .reveal { translate: none; transition: opacity .4s ease; }
  .hero__content > * { animation: fade .4s ease both; }
  .scroll-cue__ring, .scroll-cue__wheel { animation: none; }
  .hero__media, .welcome__collage { transform: none !important; }
  .loader { clip-path: none; opacity: 0; transition: opacity .3s ease, visibility 0s .3s; }
  .is-loading .loader { opacity: 1; }
  .loader__logo, .loader__bar::after, .loader__text span { animation: none; }
  .nav__indicator { transition: opacity .3s ease; }
  .menu-card:hover, .event:hover, .review:hover, .wa-card:hover { transform: none; }
  .g-item:hover img { transform: none; }
  .g-item:hover, .review:hover { rotate: var(--r); transform: none; }
  .modal { transform: none; }
  @starting-style { .modal[open] { transform: none; } }
}
@keyframes fade { from { opacity: 0; } }
