/* =========================================================================
   Rosso Pomod'Oro · Estilos
   Mobile-first. Animaciones solo con transform y opacity.
   ========================================================================= */

:root {
  --red: #D32B1E;
  --red-dark: #A8200F;
  --red-glow: #FF6A3D;
  --navy: #17254A;
  --navy-deep: #0D1630;
  --navy-soft: #24356A;
  --cream: #FBF3E4;
  --cream-2: #F3E6CC;
  --white: #FFFFFF;
  --wood: #3B2A20;
  --ink: #2B2019;
  --muted: #6A5A4C;
  --basil: #4F7A3A;
  --chalk: #23302A;

  --font-head: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-body: 'Nunito', 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-logo: 'Baloo 2', 'Nunito', system-ui, sans-serif;

  /* Marco "rótulo": esquina superior izquierda muy redondeada, como el letrero del local */
  --r-frame: 34px 10px 34px 10px;
  --r-card: 26px 8px 26px 8px;
  --r-pill: 999px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-soft: 0 1px 2px rgba(59, 42, 32, .06), 0 10px 30px -12px rgba(59, 42, 32, .25);
  --shadow-lift: 0 2px 4px rgba(59, 42, 32, .08), 0 24px 50px -18px rgba(59, 42, 32, .4);

  --header-h: 68px;
  --gutter: 16px;

  --paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .23 0 0 0 0 .16 0 0 0 0 .12 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (min-width: 720px) { :root { --gutter: 32px; --header-h: 76px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--font-head); font-weight: 650; line-height: 1.08; letter-spacing: -.015em; font-optical-sizing: auto; }
address { font-style: normal; }
ul { margin: 0; padding: 0; list-style: none; }

.sr-only { position: absolute !important; 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: 8px; left: 8px; z-index: 200; padding: .6em 1em; background: var(--navy); color: var(--cream); border-radius: 10px; transform: translateY(-150%); transition: transform .3s var(--ease-out); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--red-glow); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.ico-lg { width: 32px; height: 32px; }
.logo-w { font-family: var(--font-logo); font-weight: 800; }
.logo-t { font-family: var(--font-logo); font-weight: 600; }

.paper { position: relative; isolation: isolate; }
.paper::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--paper); opacity: .07; pointer-events: none; }

/* ---------- Tipografía de sección ---------- */
.section { position: relative; padding-block: clamp(72px, 12vw, 140px); overflow: hidden; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 6vw, 64px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  margin-bottom: 1rem; font-weight: 800; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: #FFB59E; }
.h2 { font-size: clamp(2.1rem, 6.4vw, 3.9rem); color: var(--navy); }
.h2--light { color: var(--cream); }
.h2 em { font-style: italic; color: var(--red); }
.lead { font-size: clamp(1.06rem, 2.2vw, 1.22rem); color: var(--muted); max-width: 60ch; margin-top: 1.2rem; }
.lead--light { color: rgba(251, 243, 228, .82); }
.section-note { margin-top: 1rem; font-size: .92rem; color: var(--muted); }

/* Palabras para la animación de titulares */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wi { display: inline-block; will-change: transform; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--red); --fg: #fff;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .8em 1.4em;
  border: 0; border-radius: var(--r-pill);
  background: var(--bg); color: var(--fg);
  font-weight: 800; font-size: 1rem; letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
/* brillo cálido: capa con opacidad */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(120% 140% at 50% 0%, rgba(255, 190, 120, .55), transparent 60%);
  opacity: 0; transition: opacity .5s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { opacity: 1; }
.btn:hover { box-shadow: 0 10px 30px -10px rgba(255, 106, 61, .65); }
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 40px; padding: .5em 1em; font-size: .92rem; }
.btn-lg { min-height: 54px; padding: .9em 1.6em; font-size: 1.04rem; }
.btn-red { --bg: var(--red); --fg: #fff; }
.btn-cream { --bg: var(--cream); --fg: var(--navy); }
.btn-ghost { --bg: rgba(251, 243, 228, .08); --fg: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(251, 243, 228, .5); backdrop-filter: blur(6px); }
.btn-outline { --bg: transparent; --fg: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn-wa { --bg: #1F8F4E; --fg: #fff; }
.magnetic { will-change: transform; }

/* pulso suave del CTA principal (anillo con transform + opacity) */
.btn-pulse::after {
  content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit;
  background: var(--red); opacity: 0;
  animation: pulse 2.6s var(--ease-out) infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .55; }
  70%, 100% { transform: scale(1.22, 1.5); opacity: 0; }
}

/* ---------- Barra de progreso ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--red-glow)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Cabecera ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); color: var(--cream); }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(23, 37, 74, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6);
  opacity: 0; transition: opacity .6s var(--ease-out);
}
.site-header.is-solid::before { opacity: 1; }
.header-inner { height: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 16px; }
.brand { display: block; flex: none; transform-origin: 0 50%; transition: transform .7s var(--ease-out), opacity .6s var(--ease-out); }
.brand-logo { width: 150px; height: auto; aspect-ratio: 750 / 150; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .25)); }
.site-header:not(.is-solid) .brand { opacity: 0; pointer-events: none; transform: translateY(-6px); }
.site-header.is-solid .brand { transform: scale(.92); }
.main-nav { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; padding: 3px; border-radius: var(--r-pill); background: rgba(251, 243, 228, .1); box-shadow: inset 0 0 0 1px rgba(251, 243, 228, .22); }
.lang-switch button { min-width: 36px; min-height: 32px; padding: 0 .5em; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--cream); font-size: .78rem; font-weight: 800; letter-spacing: .06em; transition: background-color .3s, color .3s; }
.lang-switch button[aria-pressed="true"] { background: var(--cream); color: var(--navy); }
.header-call { display: none; }

.menu-toggle { width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(251, 243, 228, .1); display: grid; place-items: center; }
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after { display: block; width: 20px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .45s var(--ease-out), opacity .3s; }
.menu-toggle .bars { position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle .bars::before { transform: translateY(-6px); }
.menu-toggle .bars::after { transform: translateY(6px); }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: rotate(-45deg); }

/* menú móvil desplegable */
@media (max-width: 959px) {
  .main-nav { display: block; position: fixed; inset: var(--header-h) 0 auto; padding: 8px var(--gutter) 24px; background: var(--navy); box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .5); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .5s var(--ease-out), opacity .4s var(--ease-out), visibility 0s .5s; }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .main-nav a { display: block; padding: 14px 4px; font-family: var(--font-head); font-size: 1.5rem; text-decoration: none; border-bottom: 1px solid rgba(251, 243, 228, .12); }
  .site-header.nav-open::before { opacity: 1; }
  .site-header.nav-open .brand { opacity: 1; transform: none; pointer-events: auto; }
}
@media (min-width: 960px) {
  .menu-toggle { display: none; }
  .header-call { display: inline-flex; }
  .main-nav { display: block; margin-left: 24px; }
  .main-nav ul { display: flex; gap: 4px; }
  .main-nav a { position: relative; display: block; padding: 8px 12px; font-weight: 700; font-size: .95rem; text-decoration: none; opacity: .9; }
  .main-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--red-glow); border-radius: 2px; transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease-out); }
  .main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
  .brand-logo { width: 176px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden;
  color: var(--cream); background: var(--navy-deep);
  padding-top: calc(var(--header-h) + 16px); padding-bottom: 96px;
}
.hero-bg { position: absolute; inset: -8% 0 -8%; z-index: -1; will-change: transform; }
.hero-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 70% at 15% 10%, rgba(211, 43, 30, .55), transparent 60%),
    radial-gradient(80% 70% at 90% 100%, rgba(36, 53, 106, .9), transparent 65%),
    linear-gradient(160deg, #5A120C 0%, #3A1020 38%, #17254A 72%, #0D1630 100%);
}
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; mix-blend-mode: luminosity; }
.hero-media .is-ready { opacity: .42; }
.hero-glow {
  position: absolute; left: 50%; top: 58%; width: 120vmax; height: 120vmax; margin: -60vmax 0 0 -60vmax;
  background: radial-gradient(closest-side, rgba(255, 120, 60, .38), rgba(211, 43, 30, .12) 45%, transparent 70%);
  animation: glow 6s ease-in-out infinite alternate;
}
@keyframes glow { from { transform: scale(.85); opacity: .65; } to { transform: scale(1.05); opacity: 1; } }
.hero-flour { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 22, 48, .55) 0%, transparent 28%, transparent 55%, rgba(13, 22, 48, .85) 100%),
    radial-gradient(130% 100% at 50% 45%, transparent 40%, rgba(8, 12, 28, .75) 100%);
}

.hero-deco .deco { position: absolute; z-index: 0; pointer-events: none; }
.deco-tomato-1 { width: clamp(90px, 16vw, 200px); height: auto; aspect-ratio: 1; right: -24px; top: 18%; opacity: .9; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .45)); }
.deco-basil-1 { width: clamp(70px, 11vw, 140px); aspect-ratio: 1; left: -18px; bottom: 16%; transform: rotate(-24deg); opacity: .85; }
.deco-basil-2 { width: 64px; aspect-ratio: 1; right: 14%; bottom: 8%; transform: rotate(40deg); opacity: .5; display: none; }

.hero-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-logo { width: min(86vw, 460px); margin: 18px 0 26px; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .45)); }
.hero-logo svg { width: 100%; height: auto; aspect-ratio: 750 / 150; }
.hero-title { font-size: clamp(2.4rem, 9.5vw, 5.4rem); font-weight: 650; max-width: 15ch; text-wrap: balance; color: var(--cream); text-shadow: 0 4px 30px rgba(0, 0, 0, .35); }
.hero-sub { margin-top: 1.1rem; font-family: var(--font-head); font-style: italic; font-weight: 400; font-size: clamp(1.15rem, 3.6vw, 1.6rem); color: #FFD3B8; }
.hero-ctas { display: flex; flex-direction: column; align-items: stretch; gap: 12px; width: 100%; max-width: 360px; margin-top: 1.6rem; }

.status-pill { display: inline-flex; align-items: center; gap: .55em; margin: 0; padding: .45em 1em; border-radius: var(--r-pill); font-size: .86rem; font-weight: 700; background: rgba(251, 243, 228, .1); box-shadow: inset 0 0 0 1px rgba(251, 243, 228, .22); backdrop-filter: blur(6px); }
.status-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: #B9B0A4; position: relative; }
.status-pill.is-open .dot { background: #57D27F; }
.status-pill.is-open .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.8s var(--ease-out) infinite; }
.status-pill.is-closed .dot { background: #FF7A5C; }
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(2.8); opacity: 0; } }
.status-pill--light { background: var(--cream); color: var(--navy); box-shadow: inset 0 0 0 1px var(--cream-2); backdrop-filter: none; }
.status-pill--light.is-open .dot { background: #23964A; }
.status-pill--light.is-closed .dot { background: var(--red); }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; z-index: 2; margin-left: -15px; display: block; padding: 4px; }
.scroll-cue .mouse { display: block; width: 22px; height: 36px; border: 2px solid rgba(251, 243, 228, .7); border-radius: 14px; position: relative; }
.scroll-cue .wheel { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cream); animation: wheel 1.8s var(--ease-out) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80%, 100% { transform: translateY(12px); opacity: 0; } }

@media (min-width: 720px) {
  .hero-ctas { flex-direction: row; flex-wrap: wrap; justify-content: center; max-width: none; width: auto; }
  .deco-basil-2 { display: block; }
}
@media (min-width: 1024px) {
  .hero-content { align-items: flex-start; text-align: left; }
  .hero-ctas { justify-content: flex-start; }
  .hero-logo { width: 500px; }
  .deco-tomato-1 { right: 8%; top: 22%; }
}

/* ---------- Decoración flotante ---------- */
.deco-float { position: absolute; pointer-events: none; z-index: 0; }
.deco-intro-tomato { width: 120px; aspect-ratio: 1; right: -30px; top: 40px; opacity: .9; }
.deco-intro-basil { width: 90px; aspect-ratio: 1; left: -20px; bottom: 30px; transform: rotate(18deg); opacity: .5; }
.deco-daily-basil { width: 110px; aspect-ratio: 1; right: 4%; top: 20px; transform: rotate(-30deg); opacity: .55; }

/* ---------- Presentación ---------- */
.intro { background: var(--cream); }
.intro-grid { position: relative; z-index: 1; display: grid; gap: 48px; }
.duo { display: grid; gap: 16px; margin-top: 2rem; }
.duo-card { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--r-card); background: var(--white); box-shadow: var(--shadow-soft); }
.duo-card h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: .3rem; }
.duo-card p { margin: 0; font-size: .98rem; color: var(--muted); }
.duo-card--navy { background: var(--navy); }
.duo-card--navy h3 { color: var(--cream); }
.duo-card--navy p { color: rgba(251, 243, 228, .8); }
.duo-art { width: 76px; height: 76px; flex: none; }
.services { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.8rem; }
.services li { display: inline-flex; align-items: center; gap: .5em; padding: .5em 1em; border-radius: var(--r-pill); background: var(--cream-2); color: var(--wood); font-weight: 700; font-size: .92rem; }
.services .ico { color: var(--red); }

.intro-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.intro-gallery .media-tile:nth-child(1) { grid-column: span 2; }
@media (min-width: 960px) {
  .intro-grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 64px; }
  .intro-gallery .media-tile:nth-child(1) { grid-column: auto; }
  .intro-gallery .media-tile:nth-child(odd) { transform: translateY(28px); }
  .duo { grid-template-columns: 1fr 1fr; }
  .duo-card { flex-direction: column; align-items: flex-start; }
}

/* Foto o ilustración (nunca un hueco vacío) */
.media-tile { position: relative; overflow: hidden; border-radius: var(--r-card); background: var(--cream-2); aspect-ratio: 4 / 3; }
.media-tile picture, .media-tile img { width: 100%; height: 100%; }
.media-tile img { object-fit: cover; transition: transform 1.1s var(--ease-out); }
.media-tile .art-fallback { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, #fff 0%, var(--cream-2) 75%); }
.media-tile .art-fallback svg { width: 62%; height: 62%; }
.demo-tag {
  display: inline-block; padding: .3em .7em; border-radius: var(--r-pill);
  font-size: .7rem; font-weight: 800; letter-spacing: .04em; line-height: 1.2;
  background: rgba(13, 22, 48, .78); color: #fff; backdrop-filter: blur(4px);
}
.media-tile .demo-tag { position: absolute; left: 10px; bottom: 10px; z-index: 2; }
html:not(.demo) .demo-tag, html:not(.demo) [data-demo-notice] { display: none !important; }

/* ---------- Mantel de cuadros (acento discreto) ---------- */
.gingham-band {
  height: 22px;
  background-color: var(--cream);
  background-image:
    linear-gradient(90deg, rgba(211, 43, 30, .22) 50%, transparent 50%),
    linear-gradient(rgba(211, 43, 30, .22) 50%, transparent 50%);
  background-size: 22px 22px;
}

/* ---------- Destacados ---------- */
.featured { background: var(--white); }
.featured-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .featured-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .featured-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.dish-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--r-card); background: var(--cream); box-shadow: var(--shadow-soft);
  transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out);
  will-change: transform;
}
.dish-card .media-tile { border-radius: var(--r-card); border-bottom-left-radius: 0; border-bottom-right-radius: 0; aspect-ratio: 4 / 3; }
.dish-card .art-fallback svg { transition: transform 1s var(--ease-out); }
.dish-body { padding: 18px 20px 22px; }
.dish-body h3 { font-size: 1.32rem; color: var(--navy); }
.dish-body p { margin: .45rem 0 0; color: var(--muted); font-size: .96rem; }
.dish-num { position: absolute; top: 12px; right: 14px; z-index: 2; font-family: var(--font-head); font-style: italic; font-size: .95rem; color: var(--red); background: rgba(255, 255, 255, .9); border-radius: var(--r-pill); padding: .15em .65em; }
/* móvil: tarjeta horizontal compacta */
@media (max-width: 559px) {
  .featured-grid { gap: 14px; }
  .dish-card { flex-direction: row; align-items: stretch; min-height: 132px; }
  .dish-card .media-tile { flex: 0 0 40%; aspect-ratio: auto; min-height: 132px; border-radius: 26px 0 0 8px; }
  .dish-card .art-fallback svg { width: 74%; height: 74%; }
  .dish-body { align-self: center; padding: 14px 16px; }
  .dish-body h3 { font-size: 1.15rem; }
  .dish-num { top: 8px; left: 8px; right: auto; font-size: .8rem; }
}
@media (hover: hover) {
  .dish-card:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: var(--shadow-lift); }
  .dish-card:hover img { transform: scale(1.06); }
  .dish-card:hover .art-fallback svg { transform: rotate(-8deg) scale(1.08); }
}

/* ---------- Pizarra del día ---------- */
.daily { background: var(--cream-2); }
.daily::before { content: ""; position: absolute; inset: 0; background-image: var(--paper); opacity: .08; }
.chalkboard {
  position: relative; max-width: 760px; margin-inline: auto; padding: 14px;
  border-radius: 22px 8px 22px 8px;
  background: linear-gradient(135deg, #6B4A33, #3B2A20 60%, #2C1F17);
  box-shadow: 0 30px 60px -25px rgba(59, 42, 32, .7), inset 0 2px 0 rgba(255, 255, 255, .12);
}
.chalk-inner {
  position: relative; overflow: hidden;
  padding: clamp(28px, 6vw, 56px) clamp(22px, 6vw, 60px);
  border-radius: 14px 4px 14px 4px;
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(255, 255, 255, .07), transparent 60%),
    radial-gradient(80% 60% at 90% 90%, rgba(255, 255, 255, .05), transparent 60%),
    var(--chalk);
  color: #F2EFE6; text-align: center;
}
.chalk-inner::after { content: ""; position: absolute; inset: 0; background-image: var(--paper); opacity: .18; mix-blend-mode: screen; pointer-events: none; }
.chalk-eyebrow { font-family: var(--font-head); font-style: italic; font-size: 1.15rem; color: #F6B3A2; margin: 0; }
.chalk-title { font-family: var(--font-head); font-size: clamp(2rem, 7vw, 3.2rem); font-weight: 600; color: #F2EFE6; margin: .15em 0 .6em; text-decoration: underline wavy rgba(242, 239, 230, .35); text-underline-offset: .22em; text-decoration-thickness: 2px; }
.chalk-dish { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.chalk-art { width: 110px; height: 110px; filter: grayscale(.2) contrast(.9) drop-shadow(0 0 1px rgba(255, 255, 255, .4)); opacity: .92; }
.chalk-name { font-family: var(--font-head); font-size: clamp(1.5rem, 5vw, 2.1rem); font-weight: 500; line-height: 1.2; margin: 0; }
.chalk-note { margin: .4rem 0 0; font-size: 1.05rem; color: #B9DCA6; font-weight: 700; letter-spacing: .04em; }
.chalk-foot { margin: 1.6rem 0 0; font-size: .95rem; color: rgba(242, 239, 230, .75); }
.demo-tag--chalk { position: relative; z-index: 1; margin-top: 1.2rem; background: rgba(242, 239, 230, .14); }
@media (min-width: 720px) { .chalk-dish { flex-direction: row; justify-content: center; text-align: left; gap: 24px; } }

/* ---------- Carta ---------- */
.menu { background: var(--cream); }
.menu-tabs {
  display: flex; gap: 8px; margin: 0 calc(var(--gutter) * -1) 28px; padding: 4px var(--gutter) 8px;
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
}
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tab {
  flex: none; scroll-snap-align: start;
  display: inline-flex; align-items: center; gap: .5em; min-height: 44px; padding: .5em 1.1em;
  border: 0; border-radius: var(--r-pill); background: var(--white); color: var(--navy);
  font-weight: 800; font-size: .95rem; box-shadow: inset 0 0 0 1.5px rgba(23, 37, 74, .15);
  transition: background-color .4s var(--ease-out), color .4s var(--ease-out), transform .4s var(--ease-out);
}
.menu-tab svg { width: 24px; height: 24px; }
.menu-tab[aria-selected="true"] { background: var(--navy); color: var(--cream); box-shadow: none; }
.menu-tab:hover { transform: translateY(-2px); }

.menu-panel { display: grid; gap: 0 48px; }
.menu-panel[hidden] { display: none; }
@media (min-width: 900px) { .menu-panel { grid-template-columns: 1fr 1fr; } }
.menu-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 18px 0; border-bottom: 1px dashed rgba(59, 42, 32, .22); }
.menu-item h3 { font-size: 1.22rem; color: var(--navy); display: flex; align-items: baseline; flex-wrap: wrap; gap: .4em; }
.menu-item p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .95rem; }
.menu-price { font-family: var(--font-head); font-weight: 700; color: var(--red); font-size: 1.15rem; }
.menu-empty { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; padding: 28px; border-radius: var(--r-card); background: var(--white); box-shadow: var(--shadow-soft); color: var(--muted); }
.menu-empty svg { width: 64px; height: 64px; flex: none; }
.menu-empty strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: 1.2rem; }
.tag { display: inline-grid; place-items: center; min-width: 28px; height: 22px; padding: 0 6px; border-radius: 6px; font-family: var(--font-body); font-size: .72rem; font-weight: 800; letter-spacing: .04em; }
.tag-v { background: #E3EEDC; color: #2E5221; }
.tag-vg { background: var(--basil); color: #fff; }
.menu-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; font-size: .9rem; color: var(--muted); }
.menu-legend .tag + span { margin-right: 12px; }

/* ---------- Para llevar ---------- */
.takeaway { background: var(--navy); color: var(--cream); }
.takeaway::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 80% at 100% 0%, rgba(211, 43, 30, .35), transparent 60%); pointer-events: none; }
.takeaway-grid { position: relative; display: grid; gap: 40px; }
.takeaway-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }
.takeaway-cards { display: grid; gap: 14px; align-content: center; }
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--r-card); background: rgba(251, 243, 228, .07); box-shadow: inset 0 0 0 1px rgba(251, 243, 228, .14); }
.info-card .ico { color: #FFB59E; }
.info-card h3 { font-size: 1.25rem; color: var(--cream); margin-bottom: .3rem; }
.info-card p { margin: 0; color: rgba(251, 243, 228, .78); }
@media (min-width: 900px) { .takeaway-grid { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 64px; } }

/* ---------- Terraza ---------- */
.terrace { background: var(--cream); }
.terrace-grid { display: grid; gap: 48px; }
.terrace-media { position: relative; padding-bottom: 56px; }
figure { margin: 0; }
.frame { position: relative; overflow: hidden; border-radius: var(--r-frame); box-shadow: var(--shadow-lift); background: var(--cream-2); }
.terrace-main { aspect-ratio: 4 / 3; }
.frame-parallax { position: absolute; inset: -9% 0; will-change: transform; }
.frame-parallax picture, .frame-parallax img { width: 100%; height: 100%; object-fit: cover; }
.terrace-second { position: absolute; right: -6px; bottom: 0; width: 46%; aspect-ratio: 4 / 3; border: 5px solid var(--cream); }
.terrace-second img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) {
  .terrace-grid { grid-template-columns: 1.25fr 1fr; align-items: center; gap: 72px; }
  .terrace-second { right: -40px; }
}

/* ---------- Horario ---------- */
.hours { background: var(--white); }
.hours-grid { display: grid; gap: 40px; }
.hours-card { padding: clamp(22px, 5vw, 36px); background: var(--cream); box-shadow: var(--shadow-soft); }
.hours-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.hours-head > .ico { color: var(--red); }
.hours-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 14px; border-radius: 12px; font-weight: 600; }
.hours-list li + li { border-top: 1px solid rgba(59, 42, 32, .08); }
.hours-list .closed { color: var(--muted); font-weight: 500; }
.hours-list li.is-today { background: var(--navy); color: var(--cream); border-color: transparent; }
.hours-list li.is-today .closed { color: rgba(251, 243, 228, .75); }
.hours-list li.is-today + li { border-color: transparent; }
.hours-note { margin: 14px 0 0; font-size: .85rem; color: var(--muted); }
@media (min-width: 900px) { .hours-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; } }

/* ---------- Reseñas ---------- */
.reviews { background: linear-gradient(170deg, var(--red-dark) 0%, #7E1A12 45%, var(--navy) 100%); color: var(--cream); }
.ratings { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.rating { display: grid; grid-template-columns: auto auto; align-items: center; gap: 2px 12px; padding: 16px 22px; border-radius: var(--r-card); background: rgba(251, 243, 228, .1); box-shadow: inset 0 0 0 1px rgba(251, 243, 228, .18); }
.rating-num { grid-row: span 2; font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; line-height: 1; }
.stars { display: flex; gap: 2px; color: #FFC36B; }
.stars svg { width: 16px; height: 16px; }
.rating-src { font-size: .88rem; font-weight: 700; color: rgba(251, 243, 228, .85); }
.carousel { position: relative; }
.carousel-track {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))) 24px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter)));
  scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.review-card {
  flex: 0 0 min(84vw, 440px); scroll-snap-align: start; margin: 0;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  min-height: 230px; padding: 28px; border-radius: var(--r-card);
  background: var(--cream); color: var(--navy); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5);
}
.review-card p { margin: 0; font-family: var(--font-head); font-size: clamp(1.35rem, 3.6vw, 1.7rem); line-height: 1.25; font-weight: 500; }
.quote-mark { width: 36px; height: 27px; color: var(--red); }
.review-card .demo-tag { background: var(--cream-2); color: var(--wood); }
.carousel-nav { display: flex; gap: 10px; justify-content: flex-end; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(251, 243, 228, .12); color: var(--cream); box-shadow: inset 0 0 0 1px rgba(251, 243, 228, .3); transition: background-color .4s, transform .4s var(--ease-out); }
.round-btn svg { width: 20px; height: 20px; }
.round-btn:hover { background: rgba(251, 243, 228, .22); transform: scale(1.06); }

/* ---------- Dónde estamos ---------- */
.where { background: var(--cream); }
.where-grid { display: grid; gap: 40px; }
.where-address { margin-top: 1.6rem; }
.where-address p { display: flex; gap: 12px; align-items: flex-start; font-size: 1.08rem; }
.where-address .ico { color: var(--red); margin-top: .25em; }
.where-address a { font-weight: 800; color: var(--navy); text-decoration: none; }
.where-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: .6rem; }
.socials { display: flex; gap: 10px; margin-top: 1.6rem; }
.socials a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--cream); transition: transform .5s var(--ease-out), background-color .4s; }
.socials a:hover { transform: translateY(-3px); background: var(--red); }
.map { width: 100%; height: 360px; }
@media (min-width: 900px) { .map { height: auto; aspect-ratio: 4 / 3.4; } }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 900px) { .where-grid { grid-template-columns: 1fr 1.3fr; align-items: center; gap: 64px; } }

/* ---------- Pie ---------- */
.site-footer { background: var(--navy-deep); color: rgba(251, 243, 228, .82); padding: 64px 0 calc(110px + env(safe-area-inset-bottom)); font-size: .96rem; }
.footer-grid { display: grid; gap: 32px; }
.footer-logo { width: 220px; height: auto; aspect-ratio: 750 / 150; margin-bottom: 14px; }
.footer-h { font-family: var(--font-body); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: #FFB59E; margin-bottom: .9rem; }
.site-footer a { color: var(--cream); font-weight: 700; text-decoration: none; }
.site-footer p { margin: 0 0 .5em; }
.socials--footer { margin-top: 1rem; }
.socials--footer a { background: rgba(251, 243, 228, .1); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(251, 243, 228, .12); font-size: .85rem; color: rgba(251, 243, 228, .6); }
.demo-notice { padding: .2em .8em; border-radius: var(--r-pill); background: rgba(211, 43, 30, .25); color: #FFD3C6 !important; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } .site-footer { padding-bottom: 40px; } }

/* ---------- Barra móvil ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(13, 22, 48, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .5);
  transform: translateY(110%); transition: transform .6s var(--ease-out);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar .btn { flex: 1; min-height: 46px; padding-inline: .8em; }
@media (min-width: 800px) { .mobile-bar { display: none; } }

/* ---------- Entrada del hero (CSS puro: no depende de las librerías → LCP rápido) ---------- */
html.motion .hero-title .wi { animation: wordUp 1.1s var(--ease-out) both; animation-delay: calc(.2s + var(--i, 0) * .075s); }
html.motion .hero-anim { animation: fadeUp 1s var(--ease-out) both; animation-delay: var(--d, 0s); }
html.motion .scroll-cue { animation: fadeUp 1s var(--ease-out) 1.3s both; }
@keyframes wordUp { from { transform: translateY(112%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fadeUp { from { transform: translateY(26px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Estados iniciales de animación con scroll ---------- */
html.motion [data-reveal],
html.motion [data-reveal-frame],
html.motion [data-split],
html.motion [data-chalkboard] { opacity: 0; }
html.reveal-fallback:not(.anim-ready) [data-reveal],
html.reveal-fallback:not(.anim-ready) [data-reveal-frame],
html.reveal-fallback:not(.anim-ready) [data-split],
html.reveal-fallback:not(.anim-ready) [data-chalkboard] { opacity: 1; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .btn-pulse::after, .hero-glow { animation: none; }
}
