/* La Familia Pizzería y Tratoría — estilos
   Paleta tomada de la marca existente: crema del logo, café de la tipografía script,
   rojo del mantel a cuadros de la carta, verde albahaca y dorado de los laureles. */

:root {
  --cream: #fdf9f0;
  --paper: #f5ecdb;
  --flour: #efe3cc;
  --brown: #5a3420;
  --brown-dk: #2f1c11;
  --ink: #2b1d14;
  --muted: #6f5b4b;
  --red: #b3262c;
  --red-dk: #8f1c21;
  --green: #3f6b3a;
  --gold: #c99a3b;
  --wa: #1f9d55;
  --wa-dk: #178045;

  --serif: "Bitter", Georgia, "Times New Roman", serif;
  --script: "Dancing Script", "Brush Script MT", cursive;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r: 14px;
  --shadow: 0 18px 40px -18px rgba(47, 28, 17, .45);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--brown-dk); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, min(4.6vw, 7vh), 3.9rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, min(3.4vw, 5.4vh), 2.8rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
.script { font-family: var(--script); font-weight: 700; color: var(--red); font-size: 1.12em; letter-spacing: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.eyebrow {
  font-family: var(--sans); font-weight: 700; font-size: .78rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--green); margin-bottom: .9em;
  display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--gold); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.4em; border-radius: 999px; font-weight: 700; font-size: .98rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
  line-height: 1.2; text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -12px var(--red); }
.btn--red:hover { background: var(--red-dk); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -12px var(--wa); }
.btn--wa:hover { background: var(--wa-dk); }
.btn--ghost { border-color: var(--brown); color: var(--brown); background: transparent; }
.btn--ghost:hover { background: var(--brown); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--brown-dk); }
.btn--outline-light { border-color: rgba(253, 249, 240, .6); color: var(--cream); }
.btn--outline-light:hover { background: var(--cream); color: var(--brown-dk); }
.fill { fill: currentColor; stroke: none; }

/* ---------- Topbar ---------- */
.topbar { background: var(--brown-dk); color: #f2e6d2; font-size: .85rem; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar p { margin: 0; }
.topbar__status { display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.dot.is-open { background: #4cc77a; box-shadow: 0 0 0 4px rgba(76, 199, 122, .2); }
.topbar__social { display: flex; gap: 10px; }
.topbar__social a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #f2e6d2; }
.topbar__social a:hover { background: rgba(255, 255, 255, .1); }
.topbar__social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
/* El desenfoque va en un pseudo-elemento: si estuviera en .header, el menú móvil (position: fixed)
   quedaría atrapado dentro del encabezado y se vería sin fondo. */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(253, 249, 240, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px);
}
.header.is-scrolled { border-color: var(--flour); box-shadow: 0 6px 20px -16px rgba(47, 28, 17, .6); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--flour); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--script); font-size: 1.9rem; color: var(--brown); font-weight: 700; }
.brand__sub { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--brown-dk); position: relative; padding: 4px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .25s ease; transform-origin: left; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav__cta { padding: .7em 1.15em; font-size: .9rem; }
.nav__info, .nav-scrim { display: none; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--brown-dk); margin: 6px 0; transition: transform .25s, opacity .25s; }

/* ---------- Gingham (mantel de la carta) ---------- */
.gingham {
  height: 22px;
  background-color: #fff;
  background-image:
    linear-gradient(90deg, rgba(179, 38, 44, .55) 50%, transparent 50%),
    linear-gradient(rgba(179, 38, 44, .55) 50%, transparent 50%);
  background-size: 22px 22px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 85% 20%, rgba(201, 154, 59, .16), transparent 45%),
    linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
}
.hero__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 4vw, 56px); align-items: center; padding-top: clamp(24px, 5vh, 56px); padding-bottom: clamp(32px, 7vh, 72px); }
.lead { font-size: 1.13rem; color: var(--muted); max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: clamp(16px, 3.4vh, 28px) 0 clamp(18px, 4vh, 34px); }
.proof { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 30px; }
.proof li { display: flex; flex-direction: column; border-left: 3px solid var(--gold); padding-left: 12px; }
.proof strong { font-family: var(--serif); font-size: 1.35rem; color: var(--brown-dk); }
.proof span { font-size: .85rem; color: var(--muted); }

.hero__media { position: relative; height: clamp(340px, calc(100vh - 230px), 520px); }
.hero__main { margin: 0; position: absolute; inset: 0 64px 40px 0; border-radius: 50% 50% var(--r) var(--r) / 38% 38% var(--r) var(--r); overflow: hidden; box-shadow: var(--shadow); }
.hero__main img { width: 100%; height: 100%; object-fit: cover; }
.hero__side { margin: 0; position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; border: 6px solid var(--cream); box-shadow: var(--shadow); }
.hero__side img { width: 100%; height: 100%; object-fit: cover; }
.seal {
  position: absolute; left: -18px; bottom: 24px; width: 128px; height: 128px; border-radius: 50%;
  background: var(--brown); color: var(--cream); display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; box-shadow: 0 0 0 6px var(--cream), var(--shadow); transform: rotate(-10deg);
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
}
.seal::before { content: ""; position: absolute; inset: 7px; border: 1.5px dashed rgba(253, 249, 240, .5); border-radius: 50%; }
.seal strong { font-family: var(--script); font-size: 1.55rem; letter-spacing: 0; text-transform: none; color: #ffd98a; line-height: 1.05; }

/* ---------- Pilares ---------- */
.pillars { background: var(--cream); padding: clamp(44px, 8vh, 64px) 0; }
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pillars article { text-align: center; padding: 8px 18px; }
.pillars svg { width: 54px; height: 54px; fill: none; stroke: var(--red); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin: 0 auto 14px; }
.pillars p { color: var(--muted); margin: 0; }

/* ---------- Premio ---------- */
.award {
  background:
    linear-gradient(rgba(47, 28, 17, .9), rgba(47, 28, 17, .92)),
    url("../assets/photos/comedor-horno-lena-800.webp?v=2") center / cover;
  color: #f2e6d2; padding: clamp(48px, 9vh, 72px) 0;
}
.award__in { display: grid; grid-template-columns: 180px 1fr; gap: 40px; align-items: center; max-width: 960px; }
.award h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.award p { margin: 0; color: #e7d8c1; }
.laurel { color: var(--gold); }
.laurel svg { width: 100%; height: auto; }

/* ---------- Encabezados de sección ---------- */
.sec-head { text-align: center; max-width: 700px; margin: 0 auto clamp(24px, 5vh, 40px); }
.sec-head .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; }
.sec-head p:last-child { color: var(--muted); }
.sec-head--light h2 { color: #fff; }

/* ---------- Menú ---------- */
.menu { padding: clamp(56px, 11vh, 96px) 0; background: var(--cream); }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.tabs button {
  font: 700 .95rem var(--sans); color: var(--brown); background: var(--paper); border: 2px solid var(--flour);
  padding: .7em 1.25em; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.tabs button:hover { border-color: var(--brown); }
.tabs button[aria-selected="true"] { background: var(--brown); color: var(--cream); border-color: var(--brown); }
.panel { animation: fade .35s ease; }
.panel[hidden] { display: none; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel__note { text-align: center; font-size: .9rem; color: var(--muted); font-style: italic; margin-bottom: 28px; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 52px; }
.feature { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 1px 0 var(--flour), 0 14px 30px -24px rgba(47, 28, 17, .6); transition: transform .3s ease, box-shadow .3s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--flour), var(--shadow); }
.feature img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.feature__body { padding: 18px 20px 22px; }
.feature h3 { margin-bottom: .3em; }
.feature p { font-size: .95rem; color: var(--muted); margin: 0; }

.list-title { font-size: 1.45rem; display: flex; align-items: center; gap: 14px; margin: 0 0 18px; }
.list-title::after { content: ""; flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--flour) 0 6px, transparent 6px 10px); }
.dish-list { list-style: none; padding: 0; margin: 0 0 34px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 44px; }
.dish-list--one { grid-template-columns: 1fr; }
.dish { padding: 12px 0; border-bottom: 1px dashed var(--flour); }
.dish h4 { font-size: 1.08rem; margin: 0 0 .2em; display: flex; justify-content: space-between; gap: 12px; }
.dish p { margin: 0; color: var(--muted); font-size: .95rem; }
.dish__price { font-family: var(--serif); color: var(--red); white-space: nowrap; }

.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.split--rev .split__img { order: 2; }
.split__img { width: 100%; max-height: calc(100vh - 120px); border-radius: var(--r); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; position: sticky; top: 100px; }
.menu__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }

/* ---------- Panadería ---------- */
.bakery {
  padding: clamp(56px, 11vh, 96px) 0;
  background:
    radial-gradient(rgba(90, 52, 32, .07) 1px, transparent 1.5px) 0 0 / 14px 14px,
    var(--paper);
}
.bakery__in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.bakery__photos { position: relative; padding-right: 70px; padding-bottom: 70px; }
.bakery__a { border-radius: var(--r); box-shadow: var(--shadow); width: 100%; max-height: 74vh; aspect-ratio: 4 / 5; object-fit: cover; }
.bakery__b { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); border: 6px solid var(--paper); box-shadow: var(--shadow); }
.ticks { list-style: none; padding: 0; margin: 0 0 28px; }
.ticks li { padding-left: 30px; position: relative; margin-bottom: 8px; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- Historia ---------- */
.story { padding: clamp(56px, 11vh, 96px) 0; background: var(--cream); }
.story__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.story h2 .script { display: block; font-size: .9em; margin-top: .15em; }
.story__copy p { color: var(--muted); }
.signature { font-family: var(--script); font-size: 2rem; color: var(--brown) !important; margin-top: 8px; }
.story__photo { margin: 0; position: relative; }
.story__photo img { border-radius: var(--r); box-shadow: var(--shadow); width: 100%; max-height: 72vh; object-fit: cover; }
.story__photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--gold); border-radius: var(--r); z-index: -1; }
.story__photo figcaption { font-size: .85rem; color: var(--muted); margin-top: 26px; text-align: right; font-style: italic; }

/* ---------- Espacios ---------- */
.spaces { padding: clamp(56px, 11vh, 96px) 0; background: var(--paper); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 24vh, 220px); gap: 14px; }
.g { position: relative; border-radius: var(--r); overflow: hidden; display: block; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.g:hover img { transform: scale(1.05); }
.g span {
  position: absolute; left: 12px; bottom: 12px; background: rgba(47, 28, 17, .78); color: var(--cream);
  font-size: .82rem; font-weight: 700; padding: 5px 12px; border-radius: 999px;
}
.g--wide { grid-column: span 2; grid-row: span 2; }
.g--tall { grid-row: span 2; }
.g--half { grid-column: span 2; grid-row: span 2; }
/* Encuadre hacia las mesas (están en la parte baja de estas fotos) */
.g img[src*="salon-banderas"] { object-position: 50% 78%; }
.g img[src*="patio-jardin"] { object-position: 50% 80%; }

/* ---------- Reseñas ---------- */
.reviews { padding: clamp(56px, 11vh, 96px) 0; background: var(--brown-dk); color: #eadbc4; }
.quotes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.quote { margin: 0; background: rgba(253, 249, 240, .05); border: 1px solid rgba(253, 249, 240, .12); border-radius: var(--r); padding: 26px 24px; display: flex; flex-direction: column; }
.stars { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--gold); margin-bottom: 14px; }
.stars::before { content: "★★★★★"; letter-spacing: .1em; display: block; font-size: 1rem; margin-bottom: 4px; }
.quote blockquote { margin: 0 0 18px; font-family: var(--serif); font-size: 1.04rem; line-height: 1.55; color: #fff; flex: 1; }
.quote figcaption { font-size: .88rem; color: #cbb89c; font-weight: 600; }
.reviews__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }

/* ---------- Visítanos ---------- */
.visit { padding: clamp(56px, 11vh, 96px) 0; background: var(--cream); }
.visit__in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: stretch; }
.facts { margin: 8px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.facts dt { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--green); margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 600; }
.facts a { color: var(--red); text-decoration: none; }
.facts a:hover { text-decoration: underline; }
.visit__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.visit__map { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); min-height: clamp(320px, 58vh, 420px); background: var(--flour); }
.visit__map iframe { width: 100%; height: 100%; min-height: clamp(320px, 58vh, 420px); border: 0; display: block; }

/* ---------- CTA final ---------- */
.final { background: var(--paper); text-align: center; }
.final__in { padding: clamp(48px, 9vh, 72px) 20px clamp(56px, 10vh, 80px); display: flex; flex-direction: column; align-items: center; }
.final img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin-bottom: 18px; box-shadow: 0 0 0 4px var(--cream), var(--shadow); }
.final p { color: var(--muted); }
.final__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Footer ---------- */
.footer { background: var(--brown-dk); color: #cbb89c; padding: 48px 0 32px; font-size: .92rem; }
.footer__in { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer p { margin: 0 0 6px; }
.footer a { color: #f2e6d2; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__name { font-family: var(--script); font-size: 1.8rem; color: #fff; }
.footer__copy { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 20px; margin-top: 12px !important; font-size: .82rem; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .45);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 90vh; }
.lightbox::backdrop { background: rgba(20, 12, 7, .88); }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; }
.lightbox__close { position: fixed; top: 16px; right: 20px; width: 46px; height: 46px; border-radius: 50%; border: 0; font-size: 1.8rem; background: var(--cream); color: var(--brown-dk); cursor: pointer; }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Pantallas de laptop (poca altura) ---------- */
@media (min-width: 961px) and (max-height: 820px) {
  body { font-size: 16px; }
  .topbar__in { min-height: 34px; }
  .header__in { min-height: 64px; }
  .brand img { width: 48px; height: 48px; }
  .brand__name { font-size: 1.7rem; }
  .lead { font-size: 1.02rem; }
  .proof strong { font-size: 1.2rem; }
  .seal { width: 112px; height: 112px; }
  .seal strong { font-size: 1.35rem; }
  .feature img { aspect-ratio: 4 / 3; }
  .award__in { grid-template-columns: 140px 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 16px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Tablet y móvil: menú lateral ===== */
@media (max-width: 960px) {
  .burger { display: block; position: relative; z-index: 70; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 65;
    width: min(340px, 86vw); height: 100vh; height: 100dvh; overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 84px 24px 28px;
    background: var(--cream);
    border-left: 4px solid var(--red);
    box-shadow: -24px 0 48px -16px rgba(47, 28, 17, .45);
    transform: translateX(105%); visibility: hidden;
    transition: transform .32s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .32s;
  }
  .nav.is-open { transform: none; visibility: visible; transition: transform .32s cubic-bezier(.2, .8, .2, 1); }
  .nav a:not(.btn) {
    font-family: var(--serif); font-size: 1.12rem; font-weight: 600;
    padding: 14px 2px; border-bottom: 1px solid var(--flour);
    display: flex; justify-content: space-between; align-items: center;
  }
  .nav a:not(.btn)::after { position: static; content: "›"; height: auto; background: none; transform: none; color: var(--red); font-size: 1.3rem; }
  .nav__cta { margin-top: 22px; align-self: flex-start; }
  .nav__info { display: block; margin-top: auto; padding-top: 28px; font-size: .84rem; color: var(--muted); line-height: 1.5; }
  .nav__info p { margin: 0 0 4px; }
  .nav__info strong { color: var(--brown-dk); }
  .nav .nav__info a { display: inline; font: inherit; padding: 0; border: 0; color: var(--red); }
  .nav .nav__info a::after { content: none; }
  .nav-scrim {
    display: block; position: fixed; inset: 0; z-index: 60; background: rgba(30, 18, 10, .5);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s;
  }
  .nav-scrim.is-on { opacity: 1; visibility: visible; transition: opacity .3s; }
  body.nav-open .wa-float { opacity: 0; pointer-events: none; }

  .hero__in { grid-template-columns: 1fr; gap: 40px; padding-top: 36px; }
  .hero__media { height: auto; aspect-ratio: 6 / 5; max-width: 560px; width: 100%; margin: 0 auto; }
  .bakery__in, .story__in, .visit__in, .split { grid-template-columns: 1fr; gap: 36px; }
  .split--rev .split__img { order: 0; }
  /* Cada foto con su proporción original: sin recortes */
  .split__img { position: static; height: auto; max-height: none; max-width: 520px; margin: 0 auto; aspect-ratio: 1; }
  .split__img[src*="focaccia"] { aspect-ratio: 3 / 4; max-width: 420px; }
  .split__img[src*="pan-trenzado"] { aspect-ratio: 4 / 5; max-width: 420px; }
  .bakery__photos { max-width: 520px; margin: 0 auto; width: 100%; }
  .story__photo { max-width: 520px; margin: 0 auto; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}

/* ===== Móvil ===== */
@media (max-width: 680px) {
  body { font-size: 15.5px; line-height: 1.6; }
  .wrap { padding: 0 18px; }
  h1 { font-size: clamp(1.9rem, 8.4vw, 2.5rem); margin-bottom: .45em; }
  h2 { font-size: clamp(1.5rem, 6.4vw, 1.95rem); }
  h3 { font-size: 1.08rem; }
  .eyebrow { font-size: .68rem; letter-spacing: .16em; margin-bottom: .7em; }
  .eyebrow::before { width: 18px; }

  /* Botones proporcionales al texto: ancho según contenido, nunca a todo lo ancho */
  .btn { padding: .62em 1.05em; font-size: .86rem; gap: .4em; box-shadow: none; }
  .btn svg { width: 16px; height: 16px; }
  .hero__ctas, .menu__ctas, .visit__ctas, .final__ctas, .reviews__links { gap: 8px; }
  .menu__ctas, .reviews__links { justify-content: flex-start; }

  /* Secciones: mismo ritmo y misma alineación (a la izquierda) en todas */
  .menu, .bakery, .story, .spaces, .reviews, .visit { padding: 56px 0; }
  .sec-head { text-align: left; margin: 0 0 24px; }
  .sec-head .eyebrow::after { display: none; }

  /* Barra superior y encabezado */
  .topbar { font-size: .74rem; }
  .topbar__in { min-height: 32px; }
  .topbar__addr { display: none; }
  .topbar__social { gap: 4px; }
  .topbar__social a { width: 26px; height: 26px; }
  .topbar__social svg { width: 15px; height: 15px; }
  .header__in { min-height: 60px; }
  .brand { gap: 10px; }
  .brand img { width: 40px; height: 40px; }
  .brand__name { font-size: 1.45rem; }
  .brand__sub { font-size: .52rem; letter-spacing: .1em; }
  .burger { width: 40px; height: 40px; padding: 9px; margin-right: -9px; }

  /* Hero */
  .hero__in { padding-top: 26px; padding-bottom: 36px; gap: 28px; }
  .lead { font-size: .98rem; }
  .hero__ctas { margin: 18px 0 22px; }
  .proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .proof li { border-left: 0; border-top: 2px solid var(--gold); padding: 8px 0 0; }
  .proof strong { font-size: 1.02rem; }
  .proof span { font-size: .7rem; line-height: 1.3; }
  .hero__main { right: 15%; bottom: 9%; }
  .hero__side { width: 38%; border-width: 4px; }
  .seal { width: 84px; height: 84px; left: -4px; bottom: 14px; font-size: .5rem; box-shadow: 0 0 0 4px var(--cream), var(--shadow); }
  .seal::before { inset: 5px; }
  .seal strong { font-size: 1.08rem; }
  .gingham { height: 14px; background-size: 14px 14px; }

  /* Pilares: filas compactas con icono a la izquierda */
  .pillars { padding: 36px 0; }
  .pillars__grid { grid-template-columns: 1fr; gap: 0; background: #fff; border-radius: var(--r); box-shadow: 0 1px 0 var(--flour), 0 14px 30px -24px rgba(47, 28, 17, .6); }
  .pillars article { display: grid; grid-template-columns: 40px 1fr; gap: 0 14px; text-align: left; padding: 16px 18px; }
  .pillars article + article { border-top: 1px dashed var(--flour); }
  .pillars svg { width: 36px; height: 36px; margin: 2px 0 0; grid-row: span 2; }
  .pillars h3 { margin: 0 0 .15em; }
  .pillars p { font-size: .88rem; line-height: 1.5; }

  /* Premio: laurel al lado del texto */
  .award { padding: 40px 0; }
  .award__in { grid-template-columns: 72px 1fr; gap: 16px; text-align: left; align-items: start; }
  .laurel { width: 72px; margin: 0; }
  .award h2 { font-size: 1.22rem; }
  .award p { font-size: .9rem; }

  /* Menú */
  .tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0 -18px 18px; padding: 0 18px 4px; scrollbar-width: none; gap: 6px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; font-size: .84rem; padding: .55em 1em; }
  .panel__note { text-align: left; font-size: .8rem; margin-bottom: 16px; }
  /* Destacadas: carrusel deslizable en vez de una columna larga */
  .feature-grid {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 72%;
    gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 -18px 32px; padding: 0 18px 10px; scroll-padding: 0 18px; scrollbar-width: none;
  }
  .feature-grid::-webkit-scrollbar { display: none; }
  /* Un deslizamiento = una tarjeta (no se pasan varias de golpe) */
  .feature { scroll-snap-align: start; scroll-snap-stop: always; }
  .feature:hover { transform: none; }
  .feature img { aspect-ratio: 1; }
  .feature__body { padding: 12px 14px 14px; }
  .feature p { font-size: .84rem; line-height: 1.5; }
  .list-title { font-size: 1.15rem; margin-bottom: 8px; }
  .dish-list { grid-template-columns: 1fr; margin-bottom: 26px; }
  .dish { padding: 10px 0; }
  .dish h4 { font-size: .98rem; }
  .dish p { font-size: .86rem; line-height: 1.5; }
  .split { gap: 24px; }
  .split__img { border-radius: 12px; }

  /* Panadería */
  .bakery__in { gap: 28px; }
  .bakery__photos { padding-right: 32px; padding-bottom: 32px; }
  .bakery__a { aspect-ratio: 1; max-height: none; }
  .bakery__b { width: 40%; border-width: 4px; }
  .bakery__copy p { font-size: .95rem; }
  .ticks { margin-bottom: 22px; }
  .ticks li { font-size: .92rem; padding-left: 26px; }
  .ticks li::before { width: 16px; height: 16px; background-size: 10px; }

  /* Historia */
  .story__in { gap: 32px; }
  .story__copy p { font-size: .95rem; }
  .signature { font-size: 1.6rem; }
  .story__photo { margin-right: 10px; }
  .story__photo img { max-height: none; }
  .story__photo::before { inset: 10px -10px -10px 10px; }
  .story__photo figcaption { margin-top: 18px; font-size: .78rem; }

  /* Galería */
  .gallery { grid-auto-rows: 118px; gap: 8px; }
  .g--wide { grid-column: span 2; grid-row: span 2; }
  .g { border-radius: 10px; }
  .g span { font-size: .68rem; padding: 3px 9px; left: 8px; bottom: 8px; }

  /* Reseñas: carrusel */
  .quotes {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%;
    gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 -18px; padding: 0 18px 10px; scroll-padding: 0 18px; scrollbar-width: none;
  }
  .quotes::-webkit-scrollbar { display: none; }
  .quote { scroll-snap-align: start; scroll-snap-stop: always; padding: 20px 18px; }
  .quote blockquote { font-size: .95rem; }
  .reviews__links { margin-top: 24px; }

  /* Visítanos */
  .facts { grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 22px; }
  .facts dt { font-size: .66rem; }
  .facts dd { font-size: .9rem; line-height: 1.45; overflow-wrap: anywhere; }
  .visit__in { gap: 28px; }
  .visit__map, .visit__map iframe { min-height: 260px; }

  /* Cierre y pie */
  .final__in { padding: 44px 18px 52px; }
  .final img { width: 92px; height: 92px; margin-bottom: 14px; }
  .final p { font-size: .95rem; }
  .footer { padding: 36px 0 90px; font-size: .86rem; }
  .footer__in { grid-template-columns: 1fr; gap: 14px; }
  .footer__name { font-size: 1.5rem; }

  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .wa-float svg { width: 26px; height: 26px; }
}

/* Teléfonos pequeños (320–360 px) */
@media (max-width: 360px) {
  .wrap { padding: 0 14px; }
  .brand__sub { display: none; }
  .proof span { font-size: .64rem; }
  .feature-grid { grid-auto-columns: 80%; }
  .facts { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
