/* Grupo Lamaja · hoja de estilos
   Concepto: "cinco ventanas" — el grupo es el muro de cantera (piedra rosa de
   Querétaro) y cada casa se asoma por su propio vano, con su color y su logo.
   Un solo look claro (los logos oficiales son oscuros sobre claro). */
:root {
  /* Grupo */
  --cantera: #EADCCF;      /* muro: cantera rosa desaturada */
  --cantera-2: #DFCDBD;    /* sombra de cantera */
  --hueso: #F7F1EA;        /* superficie clara */
  --tinta: #1D1815;        /* texto */
  --tinta-2: #5A4D44;      /* texto secundario (AA sobre cantera) */
  --cobre: #B07A58;        /* cobre del logo del grupo: solo ornamento y tipos grandes */
  --cobre-texto: #7D4B30;  /* cobre legible para enlaces y etiquetas */
  --noche: #17120F;        /* portada */
  --noche-texto: #EFE4D8;
  --pendiente: #9A3B12;

  /* Casa (cada página la redefine) */
  --ground: var(--hueso);
  --ink: var(--tinta);
  --accent: var(--cobre-texto);
  --soft: var(--cantera-2);

  --f-display: 'Gloock', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --f-label: 'Marcellus', 'Trajan Pro', 'Palatino Linotype', Georgia, serif;
  --f-body: 'Hanken Grotesk', 'Helvetica Neue', Arial, system-ui, sans-serif;

  --fs-xs: .78rem;
  --fs-s: .92rem;
  --fs-base: 1.0625rem;
  --fs-m: 1.3rem;
  --fs-l: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  --fs-xl: clamp(2.6rem, 1.3rem + 5.2vw, 5.6rem);

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --max: 88rem;
  --header-h: 4.5rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cantera);
  color: var(--tinta);
  font: 400 var(--fs-base)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.04; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cobre-texto); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--tinta); color: var(--hueso); padding: .7rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.label { font-family: var(--f-label); font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; }
.lede { font-size: var(--fs-m); line-height: 1.45; max-width: 34ch; }
.prose { display: grid; gap: 1rem; max-width: 60ch; }

/* ── Botones: rectos, como letreros; nada de píldoras */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 2.9rem; padding: .7rem 1.25rem;
  font: 600 var(--fs-s)/1 var(--f-body); letter-spacing: .02em;
  text-decoration: none; border: 1px solid currentColor; background: transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn--solid { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); }
.btn--line { color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--ground); }
.btn-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.link { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.link:hover { text-decoration-thickness: 2px; }

/* ── Encabezado del grupo */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: color-mix(in srgb, var(--cantera) 94%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid color-mix(in srgb, var(--tinta) 12%, transparent);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brandmark { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brandmark img { width: 3.4rem; height: 3.4rem; }
.brandmark span { font-family: var(--f-label); font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; line-height: 1.25; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.2rem); }
.nav a { text-decoration: none; font-size: var(--fs-s); font-weight: 500; padding-block: .4rem; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--tinta); }
.nav .btn { --ink: var(--tinta); --ground: var(--hueso); }
.menu-toggle { display: none; background: none; border: 1px solid var(--tinta); min-height: 2.75rem; padding: .5rem .9rem; cursor: pointer; font-weight: 600; font-size: var(--fs-s); }
@media (max-width: 860px) {
  :root { --header-h: 4rem; }
  .brandmark img { width: 3.2rem; height: 3.2rem; }
  .brandmark span { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; gap: .5rem; }
  .nav { position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0; z-index: 39; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem var(--gutter) calc(2rem + env(safe-area-inset-bottom, 0px)); background: var(--cantera); overflow-y: auto; }
  .nav:not(.is-open) { display: none; }
  .nav a { font-family: var(--f-display); font-size: 2rem; padding-block: .9rem; border-bottom: 1px solid color-mix(in srgb, var(--tinta) 14%, transparent); }
  .nav .btn { margin-top: 1.5rem; font-family: var(--f-body); font-size: 1rem; }
  body.nav-open { overflow: hidden; }
}

/* ── Portada: las cinco ventanas */
.hero { background: var(--noche); color: var(--noche-texto); padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4.5rem); overflow: hidden; }
.hero__head { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); align-items: end; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 960px) { .hero__head { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 3rem; } }
.hero h1 { font-size: var(--fs-xl); }
.hero h1 em { font-style: normal; color: var(--cobre); }
.hero .lede { color: color-mix(in srgb, var(--noche-texto) 82%, transparent); }
.windows { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(.6rem, 1.2vw, 1.25rem); }
.window { display: grid; gap: .8rem; text-decoration: none; color: inherit; animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.window:nth-child(2) { animation-delay: .08s; } .window:nth-child(3) { animation-delay: .16s; }
.window:nth-child(4) { animation-delay: .24s; } .window:nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { transform: translateY(14px); opacity: .55; } to { transform: none; opacity: 1; } }
.window__frame { position: relative; aspect-ratio: 9 / 15; max-width: 100%; overflow: hidden; border-radius: 999px 999px 0 0; background: #2a211c; }
.window__frame img, .window__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.window:hover .window__frame img, .window:hover .window__frame video { transform: scale(1.04); }
.window__cap { display: grid; gap: .15rem; border-top: 1px solid color-mix(in srgb, var(--noche-texto) 25%, transparent); padding-top: .7rem; }
.window__cap strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.15rem, 1.6vw, 1.6rem); line-height: 1.1; }
.window__cap span { font-size: var(--fs-xs); color: color-mix(in srgb, var(--noche-texto) 70%, transparent); }
@media (max-width: 760px) {
  .windows { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .6rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .windows::-webkit-scrollbar { display: none; }
  .window { scroll-snap-align: start; }
}
.hero__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; align-items: center; }
.hero__foot .btn--line { --ink: var(--noche-texto); }
.hero__foot .btn--solid { --ink: var(--noche-texto); --ground: var(--noche); --accent: var(--cobre); }
.hint { font-size: var(--fs-xs); color: color-mix(in srgb, var(--noche-texto) 60%, transparent); }
@media (min-width: 761px) { .hint--swipe { display: none; } }

/* ── Secciones generales */
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section__head { display: grid; gap: .8rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 48rem; }
.section__head h2 { font-size: var(--fs-l); }
.section__head .label { color: var(--cobre-texto); }

/* ── Casas en la portada: un solo muro de cantera; cada casa se distingue por su logo,
   su tipografía y su acento, no por un bloque de color. La foto se funde con el muro. */
.section--houses { padding-bottom: 0; }
.houses { display: grid; }
.house { position: relative; color: var(--ink); display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid color-mix(in srgb, var(--tinta) 14%, transparent); }
@media (min-width: 900px) {
  .house { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: 36rem; }
  .house:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .house:nth-child(even) .house__media { order: 2; }
}
.house__media { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; min-height: 24rem; overflow: hidden; }
.house__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s cubic-bezier(.2, .7, .2, 1), filter 1.6s; filter: saturate(.96); }
.house:hover .house__media img { transform: scale(1.03); filter: saturate(1.05); }
.house__media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, transparent 70%, color-mix(in srgb, var(--cantera) 55%, transparent) 86%, var(--cantera) 100%); }
@media (min-width: 900px) {
  .house__media::after { background: linear-gradient(to right, transparent 70%, color-mix(in srgb, var(--cantera) 55%, transparent) 88%, var(--cantera) 100%); }
  .house:nth-child(even) .house__media::after { background: linear-gradient(to left, transparent 70%, color-mix(in srgb, var(--cantera) 55%, transparent) 88%, var(--cantera) 100%); }
}
.house__body { display: grid; align-content: center; gap: 1.8rem; padding: clamp(1.6rem, 4vw, 4rem) var(--gutter) clamp(2.6rem, 5vw, 4rem); position: relative; z-index: 1; }
@media (min-width: 900px) { .house__body { padding-inline: clamp(1.5rem, 3vw, 3rem) var(--gutter); } .house:nth-child(even) .house__body { padding-inline: var(--gutter) clamp(1.5rem, 3vw, 3rem); } }
@media (max-width: 899px) { .house__body { margin-top: -1.5rem; } }
.house__logo { height: clamp(4.5rem, 9vw, 7.5rem); width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.house__logo--wide { height: clamp(2.2rem, 4vw, 3.4rem); }
.house__kind { color: var(--accent); display: flex; align-items: center; gap: .8rem; }
.house__kind::before { content: ''; width: 2.2rem; height: 1px; background: currentColor; flex: none; }
.house__text { display: grid; gap: 1rem; max-width: 40ch; }
@media (min-width: 1400px) { .house__text { max-width: 44ch; } .house__text p:first-child { font-size: 1.45rem; } .house { min-height: 40rem; } }
.house__text p { font-size: var(--fs-m); line-height: 1.4; }
.house__meta { font-size: var(--fs-s); color: color-mix(in srgb, var(--ink) 75%, transparent); }

/* ── Nosotros (teaser) */
.about { display: grid; gap: clamp(2rem, 5vw, 5rem); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.about__seal { width: min(22rem, 70%); }
.about__text { display: grid; gap: 1.2rem; }
.about__text h2 { font-size: var(--fs-l); }
.about__text p { font-size: var(--fs-m); line-height: 1.45; max-width: 36ch; }
.trio { margin: 0; max-width: 34rem; background: #fff; }
.trio__img { width: 100%; height: auto; display: block; }
.partners.partners--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.partners.partners--3 img:nth-child(2) { margin-top: 1.5rem; }
.partners .pos-right { object-position: 80% 30%; }
.partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; max-width: 36rem; }
.partners img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: center 30%; }
.partners img:nth-child(2) { margin-top: 2.5rem; }
.mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.mosaic img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.mosaic img:nth-child(2) { margin-top: 2.5rem; }

/* ── Ubicaciones */
.loc-grid { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); border-top: 1px solid color-mix(in srgb, var(--tinta) 22%, transparent); }
@media (min-width: 760px) { .loc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; } }
@media (min-width: 1180px) { .loc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.loc { display: grid; gap: .7rem; align-content: start; padding-block: 1.6rem; border-bottom: 1px solid color-mix(in srgb, var(--tinta) 22%, transparent); }
.loc__brand { color: var(--cobre-texto); }
.loc h3 { font-size: 1.7rem; }
.loc address { font-style: normal; color: var(--tinta-2); }
.loc .btn-row { margin-top: .3rem; }
.loc .btn { --ink: var(--tinta); --ground: var(--hueso); min-height: 2.6rem; padding: .55rem .9rem; }
.hours { display: grid; gap: .1rem; font-size: var(--fs-s); font-variant-numeric: tabular-nums; }
.hours div { display: flex; flex-wrap: wrap; gap: .1rem .6rem; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.filters button { border: 1px solid var(--tinta); background: transparent; padding: .5rem .9rem; min-height: 2.5rem; cursor: pointer; font-size: var(--fs-s); }
.filters button[aria-pressed="true"] { background: var(--tinta); color: var(--hueso); }

/* ── Pie: cierra en la misma noche de la portada */
.site-footer { background: var(--noche); color: var(--noche-texto); padding-block: clamp(3.5rem, 7vw, 6rem) calc(2rem + env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .footer-grid { grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); } }
.footer-grid img { width: 9.5rem; }
.footer-grid h2 { font-family: var(--f-label); font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; margin-bottom: .9rem; color: var(--cobre); }
.footer-grid li { padding-block: .22rem; }
.footer-grid a { text-decoration: none; color: color-mix(in srgb, var(--noche-texto) 88%, transparent); }
.footer-grid a:hover { color: var(--noche-texto); text-decoration: underline; text-underline-offset: .2em; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid color-mix(in srgb, var(--noche-texto) 18%, transparent); font-size: var(--fs-xs); color: color-mix(in srgb, var(--noche-texto) 62%, transparent); }
.site-footer :focus-visible { outline-color: var(--cobre); }

/* ── Página de restaurante */
.brand-page { background: var(--ground); color: var(--ink); }
.b-hero { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .b-hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: min(52rem, calc(100svh - var(--header-h))); } }
.b-hero__img { position: relative; min-height: 22rem; max-height: 70svh; overflow: hidden; }
@media (min-width: 900px) { .b-hero__img { max-height: none; } }
.b-hero__img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.b-hero__panel { display: grid; align-content: space-between; gap: 2rem; padding: clamp(1.6rem, 4vw, 4rem); }
.b-hero__logo { width: auto; max-width: min(100%, 22rem); height: clamp(6rem, 14vw, 11rem); object-fit: contain; object-position: left center; }
.b-hero__logo--wide { height: auto; width: min(100%, 26rem); }
.b-hero__kind { color: var(--accent); }
.b-hero__panel .lede { max-width: 30ch; }
.crumb { font-size: var(--fs-s); text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.crumb:hover { text-decoration: underline; }

.b-section { padding-block: clamp(3rem, 7vw, 6rem); border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
.b-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: clamp(1.6rem, 3vw, 2.5rem); }
.b-section__head h2 { font-size: var(--fs-l); }
.b-section__head .label { color: var(--accent); display: block; margin-bottom: .6rem; }

.story { display: grid; gap: clamp(2rem, 5vw, 5rem); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) { .story { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.story .prose p { font-size: var(--fs-m); line-height: 1.5; }
.story__video { position: relative; max-width: 26rem; width: 100%; justify-self: center; }
.story__video--land { max-width: 36rem; }
.story__video video { width: 100%; background: #000; }
.story__video figcaption { margin-top: .6rem; font-size: var(--fs-xs); }

/* Galería: tira editorial de retratos */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .gallery:not(.gallery--3) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gallery button { padding: 0; border: 0; background: var(--soft); cursor: zoom-in; overflow: hidden; display: block; width: 100%; }
.gallery img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.gallery button:hover img { transform: scale(1.035); }
.gallery .wide { grid-column: span 2; }
.gallery .wide img { aspect-ratio: 4 / 3; height: 100%; }

/* Menú */
.menu-tabs { display: flex; gap: .5rem; flex-wrap: wrap; }
.menu-tabs button { border: 1px solid var(--ink); background: transparent; min-height: 2.6rem; padding: .5rem 1rem; cursor: pointer; font-weight: 600; font-size: var(--fs-s); }
.menu-tabs button[aria-selected="true"] { background: var(--ink); color: var(--ground); }
.menu-pages { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-color: var(--accent) transparent; }
.menu-pages a { flex: 0 0 min(82vw, 30rem); scroll-snap-align: start; background: #fff; box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 15%, transparent); display: block; }
.menu-pages img { width: 100%; height: auto; }
.menu-note { font-size: var(--fs-s); margin-top: .8rem; color: color-mix(in srgb, var(--ink) 75%, transparent); }

/* Sucursales / visita */
.visit { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .visit { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; } }
.visit__info { display: grid; gap: 1.4rem; align-content: start; }
.visit__info h3 { font-size: 2rem; }
.visit__info address { font-style: normal; font-size: var(--fs-m); line-height: 1.4; max-width: 28ch; }
.info-row { display: grid; gap: .3rem; }
.info-row .label { color: var(--accent); }
.phone { font-size: var(--fs-m); font-variant-numeric: lining-nums tabular-nums; }
.hours, address { font-variant-numeric: lining-nums tabular-nums; }
.visit__photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; align-self: start; }
.visit__photos img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.branch-picker { display: grid; gap: .6rem; margin-bottom: 2rem; }
.branch-picker__opts { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); border: 1px solid var(--ink); }
.branch-picker__opts button { border: 0; border-left: 1px solid var(--ink); background: transparent; padding: .9rem .6rem; min-height: 3.2rem; cursor: pointer; font-weight: 600; font-size: var(--fs-s); line-height: 1.2; }
.branch-picker__opts button:first-child { border-left: 0; }
.branch-picker__opts button[aria-selected="true"] { background: var(--ink); color: var(--ground); }
@media (max-width: 480px) { .branch-picker__opts { grid-template-columns: minmax(0, 1fr); } .branch-picker__opts button { border-left: 0; border-top: 1px solid var(--ink); } .branch-picker__opts button:first-child { border-top: 0; } }
.social { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.social a { display: inline-flex; gap: .45rem; align-items: center; text-decoration: none; font-weight: 600; min-height: 2.5rem; }
.social a:hover { text-decoration: underline; }
.social svg { width: 1.2rem; height: 1.2rem; }

/* Barra de acciones fija en móvil */
.actions { display: none; }
@media (max-width: 860px) {
  .actions { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 1px; position: sticky; bottom: 0; z-index: 30; background: color-mix(in srgb, var(--ink) 20%, transparent); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .actions a, .actions button { display: grid; justify-items: center; gap: .2rem; padding: .6rem .3rem; min-height: 3.6rem; background: var(--ground); color: var(--ink); text-decoration: none; font-size: .75rem; font-weight: 600; border: 0; cursor: pointer; }
  .actions .is-primary { background: var(--ink); color: var(--ground); }
  .actions svg { width: 1.25rem; height: 1.25rem; }
}

.next-house { display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-decoration: none; padding-block: 2.5rem; }
.next-house strong { font-family: var(--f-display); font-weight: 400; font-size: var(--fs-l); }
.next-house:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }

/* ── Tipografía por casa (brandbooks): se aplica solo dentro de la casa */
.brand-page, .house { font-family: var(--b-body, var(--f-body)); font-weight: var(--b-bw, 400); }
.brand-page .prose p, .brand-page .lede, .house__text p:first-child { font-size: max(var(--fs-m), var(--b-size, 0rem)); }
.brand-page h1, .brand-page h2, .brand-page h3, .house h3, .next-house strong {
  font-family: var(--b-display, var(--f-display)); font-weight: var(--b-dw, 400);
  text-transform: var(--b-case, none); letter-spacing: var(--b-track, -.01em); line-height: 1.08;
}
.brand-page .label, .house .label { font-family: var(--b-label, var(--f-label)); }
.brand-page .btn, .house .btn, .brand-page .menu-tabs button, .brand-page .branch-picker__opts button, .actions a { font-family: var(--f-body); font-weight: 600; }

/* ── Diálogos: reservar y galería */
dialog { border: 0; padding: 0; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(23, 18, 15, .72); }
.rsv { width: min(40rem, calc(100% - 2rem)); background: var(--hueso); color: var(--tinta); }
.rsv__inner { display: grid; gap: 1.5rem; padding: clamp(1.4rem, 4vw, 2.5rem); }
.rsv__top { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.rsv h2 { font-size: 2.1rem; }
.rsv__close { background: none; border: 1px solid var(--tinta); min-width: 2.75rem; min-height: 2.75rem; cursor: pointer; font-size: 1.1rem; line-height: 1; }
.rsv fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .6rem; }
.rsv legend { font-family: var(--f-label); font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--cobre-texto); margin-bottom: .6rem; padding: 0; }
.choice { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .2rem .9rem; align-items: center; padding: .9rem 1rem; border: 1px solid color-mix(in srgb, var(--tinta) 30%, transparent); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--tinta); background: var(--cantera); }
.choice input { width: 1.15rem; height: 1.15rem; accent-color: var(--tinta); grid-row: span 2; }
.choice strong { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; line-height: 1.1; }
.choice small { color: var(--tinta-2); font-size: var(--fs-s); }
.rsv__go { --ink: var(--tinta); --ground: var(--hueso); --accent: var(--cobre-texto); width: 100%; }
.rsv__go[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.rsv__wa { --ink: var(--tinta); width: 100%; margin-top: -.9rem; }
.rsv__note { font-size: var(--fs-s); color: var(--tinta-2); }

.lightbox { width: 100%; height: 100%; background: rgba(17, 13, 11, .96); color: #F2E9DF; }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: calc(.8rem + env(safe-area-inset-top, 0px)) 1rem .8rem; gap: 1rem; font-size: var(--fs-s); }
.lightbox__stage { display: grid; place-items: center; padding: 0 1rem; min-height: 0; }
.lightbox__stage img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }
.lightbox__nav { display: flex; justify-content: center; gap: .6rem; padding: .8rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px)); }
.lightbox button { background: transparent; color: inherit; border: 1px solid currentColor; min-width: 2.9rem; min-height: 2.9rem; cursor: pointer; padding: .4rem .9rem; }

/* ── Páginas simples */
.page-head { padding-block: clamp(3rem, 7vw, 6rem) clamp(2rem, 4vw, 3rem); }
.page-head h1 { font-size: var(--fs-xl); max-width: 14ch; }
.page-head .lede { margin-top: 1.2rem; }
.page-head .label { color: var(--cobre-texto); display: block; margin-bottom: 1rem; }
.houses-list { display: grid; gap: 0; border-top: 1px solid color-mix(in srgb, var(--tinta) 22%, transparent); }
.houses-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .3rem 1rem; align-items: baseline; padding-block: 1.3rem; border-bottom: 1px solid color-mix(in srgb, var(--tinta) 22%, transparent); text-decoration: none; }
.houses-list strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.6rem); }
.houses-list span { color: var(--tinta-2); font-size: var(--fs-s); }
.houses-list a:hover strong { color: var(--cobre-texto); }

/* ── Revisión: marcas visibles solo en la versión de revisión */
.review-bar { position: sticky; bottom: 0; z-index: 50; background: var(--pendiente); color: #fff; font-size: var(--fs-s); padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; gap: .3rem 1rem; justify-content: space-between; }
.review-bar a { color: #fff; font-weight: 600; }
@media (max-width: 860px) { .review-bar { position: static; } }
.pending { justify-self: start; width: fit-content; max-width: 100%; display: inline-flex; align-items: center; gap: .45rem; border: 1px dashed var(--pendiente); color: var(--pendiente); background: color-mix(in srgb, #fff 55%, transparent); padding: .35rem .6rem; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .02em; line-height: 1.3; }
.pending::before { content: ''; width: .5rem; height: .5rem; flex: none; background: var(--pendiente); }
.review-list { display: grid; gap: 2.5rem; }
.review-list section { display: grid; gap: .9rem; }
.review-list h2 { font-size: 2rem; }
.review-list h3 { font-family: var(--f-label); font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--cobre-texto); margin-top: .6rem; }
.review-list ul { display: grid; gap: .55rem; }
.review-list li { padding-left: 1.2rem; position: relative; max-width: 72ch; }
.review-list li::before { content: ''; position: absolute; left: 0; top: .7em; width: .45rem; height: 1px; background: currentColor; }
.review-list .is-pend li::before { background: var(--pendiente); height: .45rem; top: .5em; }

@media (prefers-reduced-motion: reduce) {
  .window { animation: none; }
  * { transition: none !important; }
}
