/* Can Rovell · demo de restaurante · ver ../../design.md */
:root {
  --paper: #F1EADF;
  --paper-2: #E7DDCD;
  --surface: #FBF7F0;
  --ink: #1E2216;
  --ink-2: #4E5343;
  --olive-900: #263019;
  --olive-700: #3D4A28;
  --olive-500: #6B7A45;
  --clay: #A4472B;
  --clay-dark: #84371F;
  --ochre: #D2A24C;
  --ochre-ink: #8A6A2A;
  --line: #D8CCB8;
  --light: #F1EADF;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --script: "Corinthia", "Brush Script MT", cursive;
  --sans: "Manrope", system-ui, sans-serif;
  --wrap: 1200px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 17px/1.65 var(--sans); color: var(--ink); background: var(--paper); overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.center { text-align: center; }
.mt-m { margin-top: 28px; }
.mt-l { margin-top: 48px; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

/* ---------- Barra de desenvolupamentweb.com (design.md raíz) ---------- */
.dw-bar { background: #F0F2F4; color: #10213D; font: 500 14px/1.3 var(--sans); border-bottom: 1px solid #E0E3E6; position: relative; z-index: 60; }
.dw-bar__in { display: flex; align-items: center; gap: 12px; justify-content: center; padding: 8px 44px 8px 16px; position: relative; flex-wrap: wrap; }
.dw-bar__btn { background: #303133; color: #fff; text-decoration: none; border-radius: 999px; padding: 7px 16px; font-weight: 600; white-space: nowrap; }
.dw-bar__btn:hover { background: #10213D; }
.dw-bar__close { position: absolute; right: 8px; top: 50%; translate: 0 -50%; width: 32px; height: 32px; border: 0; background: none; cursor: pointer; font-size: 20px; color: #50585C; border-radius: 50%; }
.dw-bar__close:hover { background: #E0E3E6; }
.dw-bar[hidden] { display: none; }
@media (max-width: 560px) { .dw-bar__txt-long { display: none; } }

/* ---------- Tipografía ---------- */
.h1 { font: 400 clamp(64px, 12vw, 196px)/.9 var(--serif); letter-spacing: -.02em; }
.h1--page { font-size: clamp(56px, 9vw, 132px); }
.h2 { font: 400 clamp(40px, 5.6vw, 76px)/1 var(--serif); letter-spacing: -.01em; }
.h3 { font: 700 20px/1.3 var(--sans); }
.script { font-family: var(--script); font-weight: 700; color: var(--olive-700); letter-spacing: 0; line-height: 1; }
.h1 .script, .h2 .script { display: inline-block; font-size: .62em; padding-inline: .06em .1em; }
.h2 .script { font-size: .7em; }
.eyebrow { font: 700 12px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ochre-ink); margin-bottom: 18px; }
.eyebrow--light { color: var(--ochre); }
.prose p + p { margin-top: 14px; }
.prose p, .split-head__txt, .page-head__txt, .head__txt { color: var(--ink-2); }
.prose .h2 { margin-bottom: 22px; }
.link { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; text-decoration: none; margin-top: 14px; }
.link svg { width: 18px; transition: translate .3s var(--ease); }
.link:hover svg { translate: 4px 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; cursor: pointer;
  font: 700 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  padding: 17px 26px; border-radius: 3px; border: 1.5px solid transparent;
  transition: background-color .25s, color .25s, border-color .25s, translate .25s var(--ease);
}
.btn svg { width: 18px; }
.btn:active { translate: 0 1px; }
.btn--main { background: var(--clay); color: #fff; }
.btn--main:hover { background: var(--clay-dark); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--ghost { border-color: rgb(241 234 223 / .7); color: var(--light); }
.btn--ghost:hover { background: var(--light); color: var(--ink); }
.btn--light { background: var(--light); color: var(--olive-900); }
.btn--light:hover { background: #fff; }
.btn--block { width: 100%; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Cabecera ---------- */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: var(--paper); border-bottom: 1px solid var(--line); transition: background-color .35s, border-color .35s, color .35s; }
.nav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 38px; color: var(--clay); flex: none; }
.logo__name { font: 400 28px/1 var(--serif); display: flex; flex-direction: column; }
.logo__since { font: 700 19px/.9 var(--script); color: var(--ochre-ink); margin-top: 2px; }
.nav__links { display: flex; gap: 28px; font-weight: 600; font-size: 15px; }
.nav__links a { text-decoration: none; position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; scale: 0 1; transform-origin: right; transition: scale .35s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { scale: 1 1; transform-origin: left; }
.nav__links-cta { display: none; }
.nav__right { display: flex; align-items: center; gap: 16px; }
.nav__tel { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 15px; }
.nav__tel svg { width: 18px; }
.nav__cta { padding: 14px 22px; }
.nav__menu-btn { display: none; width: 44px; height: 44px; border: 1.5px solid currentColor; border-radius: 3px; background: none; color: inherit; cursor: pointer; position: relative; }
.nav__menu-btn span, .nav__menu-btn span::before, .nav__menu-btn span::after { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; content: ""; transition: rotate .3s, translate .3s, opacity .3s; }
.nav__menu-btn span { top: 50%; }
.nav__menu-btn span::before { left: 0; right: 0; translate: 0 -7px; }
.nav__menu-btn span::after { left: 0; right: 0; translate: 0 7px; }
.nav__menu-btn[aria-expanded="true"] span { background: transparent; }
.nav__menu-btn[aria-expanded="true"] span::before { translate: 0; rotate: 45deg; }
.nav__menu-btn[aria-expanded="true"] span::after { translate: 0; rotate: -45deg; }
/* Sobre el hero de la Home: transparente y claro hasta que se hace scroll */
.nav--over:not(.is-scrolled):not(.is-open) { background: transparent; border-color: transparent; color: var(--light); }
.nav--over:not(.is-scrolled):not(.is-open) .logo svg, .nav--over:not(.is-scrolled):not(.is-open) .logo__since { color: var(--ochre); }
@media (max-width: 1080px) { .nav__tel span { display: none; } .nav__links { gap: 20px; } }
@media (max-width: 960px) {
  .nav__menu-btn { display: block; }
  .nav__tel { display: none; }
  .nav__links {
    position: fixed; left: 0; right: 0; top: var(--nav-top, var(--nav-h)); bottom: 0; background: var(--paper); color: var(--ink);
    flex-direction: column; gap: 0; padding: 24px 20px; font: 400 40px/1.15 var(--serif);
    opacity: 0; visibility: hidden; translate: 0 -8px; transition: opacity .3s, translate .3s var(--ease), visibility 0s .3s; overflow-y: auto;
  }
  .nav__links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .nav__links-cta { display: block; color: var(--clay); }
  .nav__links.is-open { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .3s, translate .3s var(--ease); }
}
@media (max-width: 480px) { .nav__cta { display: none; } .logo__name { font-size: 25px; } }

/* ---------- Marcador de imagen (sustituir por la foto final) ---------- */
.ph { position: relative; overflow: hidden; background: linear-gradient(160deg, #DCCFB9, #CDBE9F); aspect-ratio: var(--ar, 4/3); }
/* Solo en local (file://): rayas y etiqueta con el ID y la ruta de la imagen pendiente */
.dev .ph { background: repeating-linear-gradient(135deg, #DDD0BA 0 14px, #D4C5AA 14px 28px); }
.ph::after { display: none; }
.dev .ph::after { display: block; }
.ph::after {
  content: attr(data-id) "\A" attr(data-file); white-space: pre; position: absolute; inset: auto 10px 10px 10px; text-align: center;
  font: 600 12px/1.4 var(--sans); color: #5C5236; background: rgb(251 247 240 / .88); border-radius: 3px; padding: 6px 8px; overflow: hidden; text-overflow: ellipsis;
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.ph--arch { border-radius: 999px 999px 2px 2px; --ar: 4/5; }
.split .ph--arch { max-width: 440px; margin-inline: auto; }

/* ---------- Hero de la Home ---------- */
.p-index .nav { margin-bottom: calc(-1 * var(--nav-h)); }
.hero { position: relative; min-height: max(640px, 100svh); display: flex; align-items: flex-end; color: var(--light); background: var(--olive-900); isolation: isolate; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg .ph { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; background: linear-gradient(160deg, #4A4A30, #2B3020); }
.hero__bg::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgb(20 24 14 / .55) 0%, rgb(20 24 14 / .15) 35%, rgb(20 24 14 / .35) 60%, rgb(20 24 14 / .8) 100%); }
.hero__in { padding: calc(var(--nav-h) + 80px) 0 88px; position: relative; }
.hero__title { color: var(--light); max-width: 12ch; }
.hero__script { color: var(--ochre); display: block; font-size: .5em; margin: .06em 0 0 .9em; }
.hero__foot { display: grid; grid-template-columns: minmax(0, 520px) auto; gap: 28px 48px; align-items: end; justify-content: space-between; margin-top: 44px; }
.hero__foot p { color: rgb(241 234 223 / .88); font-size: 18px; }
.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__status { position: absolute; top: calc(var(--nav-h) + 28px); right: max(20px, (100% - var(--wrap)) / 2); font-size: 14px; font-weight: 600; }
.open-now { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.open-now::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #9AAE5B; box-shadow: 0 0 0 4px rgb(154 174 91 / .25); }
.open-now.is-closed::before { background: #C47A5A; box-shadow: 0 0 0 4px rgb(196 122 90 / .25); }
.open-now:empty { display: none; }
@media (max-width: 760px) {
  .hero__bg .ph img { object-position: 50% 70%; }
  .hero__foot { grid-template-columns: 1fr; margin-top: 30px; }
  .hero__script { margin-left: .2em; font-size: .56em; }
  .hero__status { top: calc(var(--nav-h) + 18px); left: 20px; right: auto; }
  .hero__in { padding-bottom: 48px; }
  .hero { min-height: max(600px, 92svh); }
}

/* ---------- Cabecera de páginas interiores ---------- */
.page-head { display: grid; grid-template-columns: 1fr minmax(0, 360px); gap: 24px 48px; align-items: end; padding: 88px 0 56px; }
.page-head .h1 .script { display: block; margin: .14em 0 0 .6em; }
.page-head__txt { font-size: 18px; }
@media (max-width: 860px) { .page-head { grid-template-columns: 1fr; padding: 56px 0 36px; } .page-head .h1 .script { margin-left: .2em; } }

/* ---------- Secciones y rejillas ---------- */
.section { padding: 128px 0; }
.section--tight { padding: 64px 0; }
.section--top { padding-top: 24px; padding-bottom: 64px; }
@media (max-width: 760px) { .section { padding: 80px 0; } .section--tight { padding: 44px 0; } }
.head { text-align: center; max-width: 820px; margin: 0 auto 56px; }
.head__txt { margin-top: 18px; }
.split-head { display: grid; grid-template-columns: 1fr minmax(0, 380px); gap: 24px 64px; align-items: end; margin-bottom: 56px; }
@media (max-width: 860px) { .split-head { grid-template-columns: 1fr; margin-bottom: 36px; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 72px; align-items: center; }
.split--rev > :first-child { order: 2; }
.split--form { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.ticks { margin-top: 22px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: baseline; color: var(--ink); }
.ticks li::before { content: ""; flex: none; width: 14px; height: 8px; border-left: 2px solid var(--clay); border-bottom: 2px solid var(--clay); rotate: -45deg; translate: 0 -3px; }
.wide-photo .ph { --ar: 16/7; border-radius: 2px; }
@media (max-width: 700px) { .wide-photo .ph { --ar: 4/3; } }

/* ---------- Manifiesto (párrafo que se ilumina) ---------- */
.manifest { background: var(--olive-900); color: var(--light); padding: 128px 0 140px; overflow: hidden; }
.manifest__text { font: 400 clamp(32px, 4.4vw, 60px)/1.12 var(--serif); max-width: 22ch; letter-spacing: -.005em; }
.manifest--short { padding: 104px 0; }
.manifest--short .manifest__text { max-width: 26ch; margin-inline: auto; text-align: center; }
.manifest__photos { position: relative; margin-top: 88px; display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: auto; gap: 24px; }
.manifest__p--1 { grid-column: 2 / span 4; grid-row: 1; }
.manifest__p--1 .ph { --ar: 4/5; }
.manifest__p--2 { grid-column: 9 / span 3; grid-row: 1; align-self: start; margin-top: -40px; }
.manifest__p--2 .ph { --ar: 1/1; }
.manifest__script { grid-column: 2 / span 5; grid-row: 2; align-self: center; color: var(--ochre); font-size: clamp(44px, 5vw, 72px); }
.manifest__p--3 { grid-column: 7 / span 5; grid-row: 2; margin-top: 40px; }
@media (max-width: 760px) {
  .manifest { padding: 84px 0; }
  .manifest__photos { grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 56px; }
  .manifest__p--1 { grid-column: 1 / span 4; }
  .manifest__p--2 { grid-column: 4 / span 3; grid-row: 2; margin-top: -60px; }
  .manifest__script { grid-column: 1 / -1; grid-row: 3; text-align: center; }
  .manifest__p--3 { grid-column: 1 / -1; grid-row: 4; margin-top: 0; }
}

/* ---------- Bento ---------- */
.bento { display: grid; gap: 6px; }
.tile { position: relative; overflow: hidden; border-radius: 2px; background: var(--olive-700); color: var(--light); padding: 28px; display: flex; flex-direction: column; text-decoration: none; }
.tile--olive { background: var(--olive-700); }
.tile--ochre { background: var(--ochre); color: var(--olive-900); }
.tile--paper { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.tile--photo { padding: 0; background: var(--paper-2); }
.tile--photo .ph { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }
.tile__icon svg { width: 44px; color: var(--ochre); margin-bottom: 18px; }
.tile--ochre .tile__icon svg { color: var(--olive-900); }
.tile--paper .tile__icon svg { color: var(--clay); }
.tile__big { font: 400 88px/.9 var(--serif); margin-bottom: 10px; }
.tile blockquote { font: 400 26px/1.25 var(--serif); }
.tile figcaption { margin-top: auto; padding-top: 22px; font-size: 14px; }
.tile .h3 { margin-bottom: 8px; }
.tile p + .link, .tile .hours { margin-top: 8px; }
/* Platos destacados de la Home */
.bento--dishes { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 300px; }
.tile--dish { padding: 0; justify-content: flex-end; background: var(--olive-900); }
.tile--dish .ph { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }
.tile--dish .ph img { transition: scale .6s var(--ease); }
.tile--dish:hover .ph img { scale: 1.05; }
.tile--dish::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 40%, rgb(20 24 14 / .85)); }
.tile__txt { position: relative; z-index: 2; padding: 22px; }
.tile__txt h3 { font: 700 18px/1.3 var(--sans); }
.tile__txt p { font-size: 14px; color: rgb(241 234 223 / .8); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile__price { font: 400 26px/1 var(--serif); color: var(--ochre); display: block; margin-top: 10px; }
.tile--big { grid-column: span 2; grid-row: span 2; }
.tile--big .tile__txt h3 { font: 400 34px/1.1 var(--serif); }
@media (max-width: 960px) { .bento--dishes { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; } .tile--big { grid-row: span 1; } }
@media (max-width: 560px) { .bento--dishes { grid-template-columns: 1fr; grid-auto-rows: 260px; } .tile--big { grid-column: auto; } }
/* Historia / grupos */
.bento--story { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
.bento--story .tile--tall { grid-row: span 2; min-height: 460px; }
.bento--story .tile:not(.tile--photo) { min-height: 220px; }
@media (max-width: 560px) { .bento--story { grid-template-columns: 1fr; } .bento--story .tile--tall { grid-row: auto; min-height: 300px; } }
/* Opiniones */
.bento--reviews { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(300px, auto); align-items: stretch; }
.bento--reviews > .tile { min-height: 300px; }
.bento--reviews > :nth-child(7) { grid-column: 3 / 5; }
.tile--quote { background: var(--olive-900); }
.tile--quote.tile--olive { background: var(--olive-700); }
.tile--quote blockquote { font: 400 22px/1.3 var(--serif); }
.tile--quote figcaption { display: grid; gap: 8px; color: rgb(241 234 223 / .8); }
.tile--rating { background: var(--ochre); color: var(--olive-900); }
.tile--rating .stars { color: var(--olive-900); }
.stars { color: var(--ochre); letter-spacing: 3px; font-size: 14px; margin-bottom: 16px; }
.flag { justify-self: start; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border: 1px solid currentColor; border-radius: 2px; }
@media (max-width: 960px) { .bento--reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 960px) { .bento--reviews > :nth-child(7) { grid-column: 1 / -1; } }
@media (max-width: 560px) { .bento--reviews { grid-template-columns: 1fr; } .bento--reviews > .tile { min-height: 240px; } .bento--reviews > :nth-child(7) { grid-column: auto; } }

/* ---------- Menú del día ---------- */
.daily { display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: 48px 80px; align-items: center; }
.daily__txt p { color: var(--ink-2); margin-top: 22px; }
@media (max-width: 860px) { .daily { grid-template-columns: 1fr; } }
.today { background: var(--olive-900); color: var(--light); padding: 40px; border-radius: 2px; }
.today__label { font: 700 30px/1 var(--script); color: var(--ochre); margin-bottom: 14px; }
.today ul { display: grid; gap: 10px; }
.today li { padding-bottom: 10px; border-bottom: 1px solid rgb(241 234 223 / .14); }
.today__price { font: 400 64px/1 var(--serif); margin-top: 26px; }
.today__inc { font-size: 14px; color: rgb(241 234 223 / .75); margin: 8px 0 24px; }
.menu-week { background: var(--surface); border: 1px solid var(--line); border-radius: 2px; padding: 40px; }
.menu-week__note { font-weight: 600; color: var(--clay); margin-bottom: 18px; }
.menu-week__note:empty { display: none; }
.menu-week__tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 32px; }
.menu-week__tabs button { font: 700 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 14px 18px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); border-radius: 3px; cursor: pointer; transition: background-color .25s, border-color .25s, color .25s; }
.menu-week__tabs button:hover { border-color: var(--ink); }
.menu-week__tabs button[aria-selected="true"] { background: var(--olive-900); border-color: var(--olive-900); color: var(--light); }
.menu-week__tabs button.is-today::after { content: " · hoy"; color: var(--ochre); }
.menu-day { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 40px; animation: fadeUp .5s var(--ease); }
.menu-day h3 { font: 400 34px/1 var(--serif); margin-bottom: 18px; }
.menu-day li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.menu-day .algs { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; flex: none; max-width: 45%; }
.menu-week__price { display: flex; gap: 12px 32px; align-items: center; flex-wrap: wrap; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.menu-week__num { font: 400 72px/1 var(--serif); color: var(--clay); }
.menu-week__price p { color: var(--ink-2); max-width: 46ch; }
@media (max-width: 860px) { .menu-day { grid-template-columns: 1fr; } .menu-week, .today { padding: 26px 20px; } }
@keyframes fadeUp { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }

/* ---------- Carta ---------- */
.carta__bar { position: sticky; top: var(--nav-h); z-index: 20; background: var(--paper); padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.carta__nav { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; font-weight: 700; font-size: 15px; }
.carta__nav a { text-decoration: none; white-space: nowrap; padding: 4px 0; }
.carta__nav a:hover { color: var(--clay); }
.carta__filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.carta__filters > span { font-weight: 700; color: var(--ink-2); margin-right: 4px; }
.chip { font: 600 13px/1 var(--sans); padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--olive-700); }
.chip[aria-pressed="true"] { background: var(--olive-700); border-color: var(--olive-700); color: var(--light); }
.chip[aria-pressed="true"]::before { content: ""; display: inline-block; width: 9px; height: 5px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: -45deg; margin: 0 8px 2px 0; }
.carta__count { font-size: 14px; color: var(--ink-2); }
.carta__count:empty { display: none; }
.carta__sec { padding-top: 72px; scroll-margin-top: calc(var(--nav-h) + 120px); }
.carta__head { display: flex; justify-content: space-between; align-items: end; gap: 12px 32px; flex-wrap: wrap; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1.5px solid var(--ink); }
.carta__head p { color: var(--ink-2); }
.dishes { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; align-items: start; }
@media (max-width: 860px) { .dishes { grid-template-columns: 1fr; } .carta__bar { top: var(--nav-h); } }
.dish { display: grid; grid-template-columns: 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.dish--photo { grid-template-columns: 96px 1fr; }
.dish__ph { --ar: 1/1; border-radius: 2px; }
.dish__ph img { transition: scale .6s var(--ease); }
.dish:hover .dish__ph img { scale: 1.06; }
.dish__row { display: flex; align-items: baseline; gap: 10px; }
.dish__name { font: 700 17px/1.35 var(--sans); }
.dish__dots { flex: 1; min-width: 20px; border-bottom: 1.5px dotted var(--line); translate: 0 -5px; }
.dish__price { font: 400 26px/1 var(--serif); white-space: nowrap; }
.dish__desc { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.dish__meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; align-items: center; }
.dish[hidden] { display: none; }
.alg { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 5px; font: 700 10px/1 var(--sans); letter-spacing: .04em; text-decoration: none; color: var(--olive-700); border: 1px solid var(--olive-500); border-radius: 2px; cursor: help; }
.alg--none { cursor: default; font-weight: 600; letter-spacing: 0; padding: 0 8px; }
.tag { font: 700 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 6px 8px; border-radius: 2px; background: var(--clay); color: #fff; }
.tag--veg { background: var(--olive-500); }
.tag--ochre { background: var(--ochre); color: var(--olive-900); }
.drinks { display: grid; gap: 0; max-width: 760px; }
.drinks li { display: flex; gap: 10px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.drinks b { font-weight: 700; white-space: nowrap; }
@media (max-width: 560px) { .drinks li { flex-wrap: wrap; } .drinks .dish__dots { display: none; } .drinks b { width: 100%; font-weight: 600; color: var(--ink-2); } }
.carta__empty { padding: 28px 0; color: var(--ink-2); }
.legend-card { background: var(--surface); border: 1px solid var(--line); padding: 32px; border-radius: 2px; }
.legend { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.legend div { display: flex; gap: 12px; align-items: center; }
.legend dd { font-weight: 600; }

/* ---------- Firma gigante ---------- */
.signature { overflow: hidden; padding: 40px 0 10px; }
.signature__word { font-size: clamp(96px, 19vw, 320px); line-height: 1.1; text-align: center; color: var(--olive-900); white-space: nowrap; padding-bottom: .1em; }

/* ---------- Foto que se ensancha ---------- */
.expand { padding: 40px 0 0; }
.expand__frame .ph { --ar: 21/9; }
.expand__frame { clip-path: inset(0 var(--inset, 0%) round 2px); will-change: clip-path; }
@media (max-width: 700px) { .expand__frame .ph { --ar: 4/3; } }

/* ---------- Reserva rápida (Home) ---------- */
.quick { display: grid; grid-template-columns: 1fr minmax(0, 480px); gap: 48px 80px; align-items: center; }
.quick__txt p { color: var(--ink-2); margin-top: 22px; }
.quick__alt a { color: var(--clay); font-weight: 700; }
.quick__form { background: var(--olive-900); color: var(--light); padding: 40px; border-radius: 2px; display: grid; gap: 18px; }
.quick__form h3 { font: 400 40px/1 var(--serif); margin-bottom: 4px; }
.quick__form label { color: rgb(241 234 223 / .8); }
.quick__form input, .quick__form select { background: transparent; color: var(--light); border-color: rgb(241 234 223 / .35); }
.quick__form option { color: var(--ink); }
.quick__form input::-webkit-calendar-picker-indicator { filter: invert(1); }
@media (max-width: 860px) { .quick { grid-template-columns: 1fr; } .quick__form { padding: 28px 20px; } }

/* ---------- Formularios ---------- */
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
label, .label { font-size: 14px; font-weight: 700; }
input, select, textarea {
  font: 400 16px/1.4 var(--sans); color: var(--ink); width: 100%;
  padding: 14px 14px; border: 1.5px solid var(--line); border-radius: 3px; background: var(--surface);
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--olive-700); box-shadow: 0 0 0 3px rgb(61 74 40 / .15); }
textarea { resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 14px; color: var(--ink-2); }
.check input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--clay); }
.form-card { background: var(--surface); border: 1px solid var(--line); padding: 36px; border-radius: 2px; display: grid; gap: 16px; }
.form-card__sub { color: var(--ink-2); font-size: 15px; margin-top: -8px; }
@media (max-width: 560px) { .form-card { padding: 24px 18px; } }
.estimate { display: grid; gap: 2px; background: var(--olive-900); color: var(--light); padding: 18px 20px; border-radius: 2px; }
.estimate span { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ochre); }
.estimate b { font: 400 48px/1 var(--serif); }
.estimate small { color: rgb(241 234 223 / .75); font-size: 14px; }

/* ---------- Reserva ---------- */
.booking { display: grid; grid-template-columns: 1fr minmax(0, 380px); gap: 48px 64px; align-items: start; }
@media (max-width: 960px) { .booking { grid-template-columns: 1fr; } }
.booking__form { display: grid; gap: 20px; }
.step { border: 1px solid var(--line); background: var(--surface); border-radius: 2px; padding: 28px; margin: 0; display: grid; gap: 16px; min-width: 0; }
.step legend { font: 400 30px/1 var(--serif); padding: 0 8px; margin-left: -8px; display: flex; gap: 12px; align-items: center; }
.step__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--olive-900); color: var(--light); font: 700 15px/1 var(--sans); }
@media (max-width: 560px) { .step { padding: 22px 16px; } }
.stepper { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 3px; background: var(--surface); width: max-content; }
.stepper button { width: 50px; height: 50px; border: 0; background: none; font-size: 22px; cursor: pointer; color: var(--ink); }
.stepper button:hover { background: var(--paper-2); }
.stepper button:disabled { opacity: .3; cursor: not-allowed; }
.stepper output { min-width: 48px; text-align: center; font: 400 28px/1 var(--serif); }
.booking__msg { font-weight: 600; color: var(--clay); }
.booking__msg:empty { display: none; }
.booking__msg a { color: inherit; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.slots__group { grid-column: 1 / -1; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-top: 6px; }
.slots__empty { grid-column: 1 / -1; color: var(--ink-2); }
.slot { font: 700 16px/1 var(--sans); padding: 15px 0; border: 1.5px solid var(--line); background: var(--paper); border-radius: 3px; cursor: pointer; color: var(--ink); transition: background-color .2s, border-color .2s, color .2s; }
.slot:hover { border-color: var(--olive-700); }
.slot[aria-checked="true"] { background: var(--olive-900); border-color: var(--olive-900); color: var(--light); }
.slot:disabled { text-decoration: line-through; opacity: .4; cursor: not-allowed; }
.booking__summary { background: var(--olive-900); color: var(--light); padding: 20px 22px; border-radius: 2px; font-weight: 600; }
.booking__summary b { color: var(--ochre); }
.booking__note { font-size: 14px; color: var(--ink-2); text-align: center; }
.booking__side { display: grid; gap: 24px; position: sticky; top: calc(var(--nav-h) + 24px); }
.booking__info { background: var(--surface); border: 1px solid var(--line); padding: 26px; border-radius: 2px; }
.booking__info .h3 { margin-bottom: 8px; }
.booking__call { margin-top: 18px; font-size: 15px; }
.booking__call a { font-weight: 700; color: var(--clay); }
@media (max-width: 960px) { .booking__side { position: static; grid-template-columns: 1fr 1fr; align-items: start; } }
@media (max-width: 560px) { .booking__side { grid-template-columns: 1fr; } }

/* ---------- Horario ---------- */
.hours { display: grid; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.hours li span:last-child { text-align: right; }
.hours li.is-today { font-weight: 700; color: var(--clay); }
.hours li.is-today span:first-child::after { content: " · hoy"; }
.tile--olive .hours li, .tile--ochre .hours li { border-color: rgb(241 234 223 / .2); }

/* ---------- Ficha de visita ---------- */
.visit { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px 80px; align-items: start; background: var(--surface); border: 1px solid var(--line); padding: 56px; border-radius: 2px; }
.visit address { font-style: normal; font-weight: 700; font-size: 19px; margin-top: 24px; }
.visit__how { color: var(--ink-2); margin-top: 8px; }
.visit__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.visit .open-now { margin-top: 18px; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; padding: 30px 20px; } }

/* ---------- Grupos ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.fact { background: var(--olive-900); color: var(--light); padding: 32px; border-radius: 2px; }
.fact:nth-child(2) { background: var(--olive-700); }
.fact:nth-child(3) { background: var(--ochre); color: var(--olive-900); }
.fact__n { font: 400 80px/.9 var(--serif); display: block; margin-bottom: 12px; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }
.gmenus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.gmenu { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.gmenu > .ph { flex: none; }
.gmenu .tag--ochre { position: absolute; top: 16px; left: 16px; z-index: 2; }
.gmenu .ph { --ar: 4/3; }
.gmenu .ph img { transition: scale .6s var(--ease); }
.gmenu:hover .ph img { scale: 1.05; }
.gmenu__body { flex: 1; padding: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.gmenu__body .btn { margin-top: auto; }
.gmenu h3 { font: 400 38px/1 var(--serif); margin-top: 6px; }
.gmenu__price { font: 400 30px/1.1 var(--serif); color: var(--clay); }
.gmenu__price small { font: 500 13px/1 var(--sans); color: var(--ink-2); }
.gmenu__min { font-size: 14px; font-weight: 700; color: var(--olive-700); }
.gmenu ul { display: grid; gap: 10px; margin: 14px 0 20px; width: 100%; }
.gmenu li { display: grid; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 15px; }
.gmenu li b { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ochre-ink); }
.gmenu.is-picked { outline: 2px solid var(--clay); outline-offset: 4px; }
@media (max-width: 960px) { .gmenus { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ---------- Tarjetas informativas ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.info { background: var(--surface); border: 1px solid var(--line); padding: 30px; border-radius: 2px; }
.info__icon svg { width: 32px; color: var(--clay); margin-bottom: 16px; }
.info h3 { font: 700 19px/1.3 var(--sans); margin-bottom: 8px; }
.info p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) { .cards3 { grid-template-columns: 1fr; } }
.cta-band { background: var(--olive-900); color: var(--light); padding: 64px; border-radius: 2px; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band .script { color: var(--ochre); }
@media (max-width: 560px) { .cta-band { padding: 36px 20px; } }

/* ---------- El restaurante ---------- */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; border-top: 1.5px solid var(--ink); padding-top: 28px; }
.tl { position: relative; }
.tl::before { content: ""; position: absolute; top: -36px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--clay); border: 3px solid var(--paper); }
.tl__y { font: 400 52px/1 var(--serif); display: block; margin-bottom: 10px; color: var(--olive-700); }
.tl p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr 1fr; } .tl::before { display: none; } }
@media (max-width: 480px) { .timeline { grid-template-columns: 1fr; } }
.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; align-items: start; }
.member .ph { margin-bottom: 18px; }
.member__role { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ochre-ink); }
.member h3 { font: 400 30px/1.1 var(--serif); margin: 4px 0 8px; }
.member p:last-child { color: var(--ink-2); font-size: 15px; }
@media (max-width: 1080px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .team { grid-template-columns: 1fr 1fr; gap: 28px 16px; } .member h3 { font-size: 24px; } }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.contact__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.contact__tiles .tile { min-height: 250px; }
.contact__tiles .tile--paper { grid-column: 1 / -1; min-height: 0; }
.contact__tiles a:not(.link) { color: inherit; }
.contact__side { display: grid; gap: 24px; }
.contact__side .ph--arch { --ar: 4/3; border-radius: 999px 999px 2px 2px / 70% 70% 2px 2px; }
.how { display: grid; gap: 10px; font-size: 15px; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .contact__tiles { grid-template-columns: 1fr; } .contact__tiles .tile { min-height: 0; } }
.map { display: grid; grid-template-columns: 1.6fr 1fr; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.map__art { position: relative; background: var(--paper-2); color: var(--olive-700); min-height: 320px; }
.map__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__pin { position: absolute; left: 55%; top: 44%; translate: -50% -100%; width: 48px; color: var(--clay); }
.map__pin svg { position: static; width: 48px; height: 48px; fill: var(--surface); }
.map__lbl { position: absolute; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--olive-700); }
.map__lbl--1 { left: 8%; top: 62%; }
.map__lbl--2 { left: 60%; top: 74%; }
.map__lbl--3 { left: 55%; top: 47%; translate: -50% 0; color: var(--clay); font: 700 26px/1 var(--script); text-transform: none; letter-spacing: 0; }
.map__txt { padding: 40px; display: grid; gap: 16px; align-content: center; justify-items: start; }
.map__txt p { color: var(--ink-2); }
@media (max-width: 760px) { .map { grid-template-columns: 1fr; } .map__txt { padding: 26px 20px; } }

/* ---------- Preguntas frecuentes ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 400 26px/1.25 var(--serif); padding: 22px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--clay);
  background: linear-gradient(var(--clay), var(--clay)) center / 12px 1.5px no-repeat, linear-gradient(var(--clay), var(--clay)) center / 1.5px 12px no-repeat;
  transition: rotate .3s var(--ease), background-color .3s;
}
.faq summary:hover::after { background-color: rgb(164 71 43 / .08); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 64ch; }

/* ---------- Pie ---------- */
.footer { background: var(--olive-900); color: var(--light); margin-top: 64px; padding-top: 112px; }
.footer__big { display: grid; justify-items: center; gap: 36px; text-align: center; padding-bottom: 96px; }
.footer__title { font: 400 clamp(56px, 10vw, 150px)/.95 var(--serif); letter-spacing: -.02em; }
.footer__title .script { color: var(--ochre); display: block; font-size: .55em; margin-top: .05em; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 48px 0; border-top: 1px solid rgb(241 234 223 / .16); }
.logo--light svg, .logo--light .logo__since { color: var(--ochre); }
.footer__txt { color: rgb(241 234 223 / .75); font-size: 15px; margin-top: 14px; }
.footer__txt a { text-decoration: none; }
.footer__txt a:hover { color: var(--ochre); }
.footer__h { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ochre); }
.footer__grid nav { display: grid; gap: 6px; align-content: start; }
.footer__grid nav a { text-decoration: none; font-size: 15px; color: rgb(241 234 223 / .85); }
.footer__grid nav a:hover { color: var(--ochre); }
.footer__grid nav .footer__h { margin-bottom: 8px; }
.footer__legal { display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid rgb(241 234 223 / .16); font-size: 13px; color: rgb(241 234 223 / .7); }
.footer__legal a { color: var(--light); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer { padding-top: 80px; } .footer__big { padding-bottom: 64px; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Aviso de demo (diálogo) ---------- */
dialog.demo { border: 0; border-radius: 2px; padding: 40px 32px; max-width: 460px; width: calc(100% - 32px); background: var(--surface); color: var(--ink); text-align: center; }
dialog.demo::backdrop { background: rgb(20 24 14 / .6); }
dialog.demo h2 { font: 400 40px/1 var(--serif); margin-bottom: 14px; }
dialog.demo p { color: var(--ink-2); }
dialog.demo .demo__sum { margin-top: 14px; padding: 12px; background: var(--paper); color: var(--ink); font-weight: 600; font-size: 15px; }
dialog.demo .demo__sum:empty { display: none; }
dialog.demo .btns { justify-content: center; margin-top: 24px; }
dialog.demo .btn--dw { background: #D9231F; color: #fff; }
dialog.demo .btn--dw:hover { background: #B81C18; }

/* ---------- Barra fija de móvil ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 6px; position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgb(20 24 14 / .12); }
  .mbar .btn { padding: 15px 10px; }
  body { padding-bottom: 76px; }
}

/* ---------- Movimiento (solo con JavaScript y sin reducción de movimiento) ---------- */
.fx:not(.is-split) [data-split], .fx:not(.is-split) [data-scrub] { opacity: 0; }
.fx [data-split] .w { display: inline-block; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; clip-path: inset(-60% -40% 0 -40%); }
.fx [data-split] .script .w { padding-bottom: .34em; margin-bottom: -.34em; }
.fx [data-split] .wi, .fx [data-split] .c { display: inline-block; translate: 0 110%; transition: translate .9s var(--ease); transition-delay: var(--d, 0ms); }
.fx [data-split].is-in .wi, .fx [data-split].is-in .c { translate: 0 0; }
.fx [data-draw-in] { clip-path: inset(-30% 100% -40% -10%); transition: clip-path 1.4s var(--ease) .8s; }
.fx.is-loaded [data-draw-in] { clip-path: inset(-30% -10% -40% -10%); }
.fx [data-fade] { opacity: 0; translate: 0 16px; transition: opacity .9s var(--ease) 1.1s, translate .9s var(--ease) 1.1s; }
.fx.is-loaded [data-fade] { opacity: 1; translate: 0 0; }
.fx .hero__bg .ph img { scale: 1.08; transition: scale 2.4s var(--ease); }
.fx.is-loaded .hero__bg .ph img { scale: 1; }
.fx [data-reveal] { opacity: 0; translate: 0 22px; transition: opacity .8s var(--ease), translate .8s var(--ease); transition-delay: var(--d, 0ms); }
.fx [data-reveal].is-in { opacity: 1; translate: 0 0; }
.fx [data-scrub] .sw { opacity: .2; transition: opacity .25s linear; }
.fx [data-scrub] .sw.on { opacity: 1; }
.fx [data-draw] { clip-path: inset(-20% calc(100% - var(--p, 0) * 100%) -20% 0); }
.fx [data-speed] { will-change: transform; }

/* Modo captura (?captura): altura fija del hero para capturas de pantalla completa */
.captura .hero { min-height: min(100svh, 900px); }
.captura .hero__status { display: none; }
