@font-face { font-family: Cormorant; src: url('assets/fuentes/cormorant.woff2') format('woff2'); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: Cormorant; src: url('assets/fuentes/cormorant-italica.woff2') format('woff2'); font-style: italic; font-weight: 500; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('assets/fuentes/dm-sans.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }

:root {
  color-scheme: light;
  --sheet: #f7f8ef;
  --paper: #fffefa;
  --ink: #214d24;
  --fern: #173c1e;
  --muted: #47533f;
  --line: #d8dfce;
  --brand-red: #c9000b;
  --brand-red-deep: #a40811;
  --brand-green: #377d3e;
  --leaf-light: #cbe4af;
  --ivory: #fffefa;
  --night: #0c180e;
  --display: Cormorant, 'Times New Roman', serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5.4vw, 5.8rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--sheet); color: var(--ink); font: 1rem/1.55 var(--body); }
body.journey-open { overflow: hidden; }
[hidden] { display: none !important; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img, picture { display: block; }
img { max-inline-size: 100%; }
h1, h2, h3, h4, p, figure { margin: 0; }
section[id], article[id] { scroll-margin-block-start: 1.2rem; }
:focus-visible { outline: 2px solid var(--brand-red); outline-offset: 5px; }
.wrap { width: min(78rem, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; inset: .65rem auto auto .65rem; padding: .8rem; background: var(--paper); transform: translateY(-200%); z-index: 5; }
.skip:focus { transform: none; }
.kicker { display: flex; align-items: center; gap: .8rem; font: 650 .875rem/1.4 var(--body); text-transform: uppercase; letter-spacing: .15em; }
.kicker::before { content: ''; display: block; flex: none; width: 1.85rem; height: 1px; background: currentColor; }

.journey { position: fixed; inset: 0; z-index: 10; isolation: isolate; overflow: auto; overscroll-behavior: contain; display: grid; grid-template-rows: auto 1fr auto; gap: .8rem; min-height: 100%; padding: clamp(1rem, 3.5vh, 3.25rem) var(--gutter) max(1.25rem, env(safe-area-inset-bottom)); background: var(--night); color: var(--ivory); opacity: 1; transition: opacity .52s ease; }
.journey:focus { outline: none; }
.journey.is-exiting { opacity: 0; pointer-events: none; }
.journey :focus-visible { outline-color: var(--leaf-light); }
.journey-scenes, .journey-scene, .journey-shade { position: absolute; inset: 0; }
.journey-scenes { z-index: -2; overflow: hidden; }
.journey-scene { opacity: 0; transition: opacity .74s ease; overflow: hidden; }
.journey-scene.is-current { opacity: 1; }
.journey-scene picture, .journey-scene picture img { width: 100%; height: 100%; object-fit: cover; }
.journey-scene picture img { transform: scale(1.015); transform-origin: 63% 43%; }
.journey-scene.is-current picture img { animation: approach 5s linear both; }
.journey.is-paused .journey-scene img { animation-play-state: paused; }
@keyframes approach { from { transform: scale(1.015) translateX(.45%); } to { transform: scale(1.107) translateX(-.55%); } }
.journey-shade { pointer-events: none; z-index: -1; background: linear-gradient(90deg, #0b140ed9 1%, #0c150e74 45%, #0a120e0a 79%), linear-gradient(0deg, #0b140eee 0%, transparent 37%, transparent 76%, #0a130d9c 100%); transition: opacity .6s ease; }
.journey[data-active='3'] .journey-shade { opacity: .26; }
.journey-service { inset: 12% 0 13% 45%; display: grid; grid-template-columns: 1.42fr 1fr; grid-template-rows: 1fr 1fr; gap: .32rem; background: #222c21; }
.journey-service img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: cover; }
.journey-service img:first-child { grid-row: span 2; object-position: 55% center; }
.journey-header, .journey-controls { display: flex; align-items: center; justify-content: space-between; gap: clamp(.75rem, 3vw, 2.5rem); z-index: 1; }
.brand-logo { display: block; flex: none; }
.brand-logo img { width: 7.15rem; height: auto; }
.journey-header .brand-logo img { width: clamp(7.65rem, 12vw, 10.6rem); filter: drop-shadow(0 0 .85px #fffefa) drop-shadow(0 1px 5px #0009); }
.journey-skip, .journey-toggle { min-height: 2.8rem; border: 1px solid #fffefa9c; border-radius: 0; color: var(--ivory); background: #0b140e70; padding: .55rem 1.2rem; font-size: .94rem; font-weight: 650; cursor: pointer; transition: color .2s ease, background .2s ease; }
.journey-skip { border-color: var(--brand-red); background: var(--brand-red); }
.journey-skip:hover { background: var(--brand-red-deep); }
.journey-toggle:hover { color: var(--night); background: var(--leaf-light); }
.journey-words { position: relative; align-self: center; width: min(46rem, 67%); margin-block: clamp(1rem, 4vh, 3rem); display: grid; }
.journey-copy { grid-area: 1 / 1; visibility: hidden; }
.journey-copy.is-current { visibility: visible; animation: words-in .65s .12s cubic-bezier(.2,.75,.25,1) both; }
@keyframes words-in { from { opacity: 0; transform: translateY(.65rem); } to { opacity: 1; transform: none; } }
.journey-copy .kicker { color: var(--leaf-light); margin-block-end: 1.1rem; }
.journey-copy h2 { font: 500 clamp(4.1rem, 8vw, 8rem)/.78 var(--display); letter-spacing: -.065em; }
.journey-copy h2 em { color: var(--leaf-light); font-weight: 500; }
.journey-copy > p:last-child { margin-block-start: 1.55rem; font-size: clamp(1rem, 1.4vw, 1.17rem); max-width: 28rem; color: var(--ivory); }
.journey[data-active='3'] .journey-words { width: min(35rem, 44%); }
.journey-chapters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.5rem, 2.3vw, 2rem); width: min(51rem, 100%); }
.journey-chapters button { position: relative; min-width: 0; min-height: 2.75rem; padding: .65rem 0 .2rem; border: 0; background: transparent; color: var(--ivory); text-align: left; font-size: .875rem; font-weight: 600; cursor: pointer; --progress: 0; }
.journey-chapters button::before, .journey-chapters button span { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: #fffefa74; }
.journey-chapters button span { height: 2px; transform: scaleX(var(--progress)); transform-origin: left; background: var(--leaf-light); }
.journey-chapters button[aria-current] { color: var(--leaf-light); }
.journey-toggle { min-width: 5.65rem; flex-shrink: 0; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 5.15rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.site-header nav { display: flex; align-items: center; gap: clamp(.8rem, 3vw, 2.35rem); }
.nav-carta, .replay { display: inline-flex; align-items: center; min-height: 2.75rem; background: transparent; border: 0; padding: .35rem 0; color: var(--ink); text-decoration: none; font-weight: 650; }
.nav-carta { color: var(--brand-red); box-shadow: inset 0 -2px var(--brand-red); }
.replay { cursor: pointer; }
.nav-carta:hover, .replay:hover { color: var(--brand-red-deep); }
.table-hero { padding: clamp(2.5rem, 5vw, 5.1rem) 0 clamp(3rem, 6vw, 5.75rem); }
.table-grid { display: grid; grid-template-columns: minmax(0, .81fr) minmax(0, 1.19fr); align-items: center; gap: clamp(1.3rem, 5vw, 5rem); }
.table-copy .kicker { color: var(--brand-red-deep); }
.table-copy h1 { font: 500 clamp(4.55rem, 7.9vw, 8.3rem)/.77 var(--display); letter-spacing: -.075em; margin: 1.25rem 0 1.55rem; }
.table-copy h1 em { font-weight: 500; color: var(--brand-red); }
.table-copy h1:focus, .catalogue:focus { outline: none; }
.table-copy > p:not(.kicker) { max-width: 25rem; color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.18rem); }
.button { display: inline-flex; min-height: 2.9rem; justify-content: center; align-items: center; gap: .5rem; padding: .65rem 1.18rem; border: 1px solid transparent; font-weight: 650; text-decoration: none; cursor: pointer; transition: background .18s, color .18s; }
.button-accent { margin-top: 1.55rem; background: var(--brand-red); color: var(--ivory); }
.button-accent:hover { background: var(--brand-red-deep); }
.button-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.button-outline:hover { color: var(--ivory); background: var(--ink); }
.button-light { color: var(--ivory); background: transparent; border-color: var(--leaf-light); }
.button-light:hover { color: var(--ink); background: var(--ivory); }
.table-figure { min-width: 0; }
.table-figure > a { display: block; overflow: hidden; background: var(--fern); }
.table-figure img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 1.36; object-position: 50% 52%; transition: transform .36s ease; }
.table-figure:hover img { transform: scale(1.018); }
.table-figure figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; font-size: .875rem; padding-block: .72rem 0; }
.table-figure figcaption a { text-underline-offset: .25em; color: var(--brand-red-deep); font-weight: 650; }

.featured { padding-block: clamp(2.3rem, 5vw, 4.85rem); background: var(--ink); color: var(--ivory); }
.featured h2, .catalogue h2, .about h2 { font: 500 clamp(3.25rem, 5.9vw, 6.05rem)/.83 var(--display); letter-spacing: -.06em; }
.featured h2 { font-size: clamp(2.75rem, 4.8vw, 4.65rem); margin-bottom: 1.5rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 2vw, 1.35rem); }
.feature { min-width: 0; display: block; text-decoration: none; }
.feature:focus-visible, .about a:focus-visible { outline-color: var(--leaf-light); }
.feature-media { overflow: hidden; background: var(--fern); }
.feature img { width: 100%; aspect-ratio: 1.4; height: auto; object-fit: cover; transition: transform .33s; }
.feature:hover img { transform: scale(1.04); }
.feature-copy { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; border-bottom: 1px solid #cbe4af69; padding: .65rem 0 .78rem; }
.feature h3 { font: 500 clamp(1.55rem, 2.7vw, 2.4rem)/.95 var(--display); letter-spacing: -.035em; }
.feature-price { color: var(--leaf-light); font-weight: 650; white-space: nowrap; }

.catalogue { padding-block: clamp(3rem, 7vw, 7rem); }
.catalogue-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.3rem; }
.search { position: relative; display: flex; width: min(100%, 20rem); flex-shrink: 0; }
.search input { appearance: none; min-width: 0; width: 100%; min-height: 3.1rem; color: var(--ink); border: 1px solid #838f78; background: var(--paper); border-radius: 0; padding: .65rem .9rem .65rem 2.65rem; }
.search input::placeholder { color: var(--muted); opacity: 1; }
.search-icon { pointer-events: none; position: absolute; left: 1rem; top: .95rem; width: .86rem; height: .86rem; border: 1.5px solid var(--ink); border-radius: 50%; }
.search-icon::after { content: ''; position: absolute; left: .62rem; top: .65rem; width: .42rem; height: 1.5px; background: var(--ink); transform: rotate(48deg); transform-origin: left center; }
.filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: clamp(1.2rem, 2.5vw, 1.8rem); padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.filters button { padding: .48rem .87rem; min-height: 2.75rem; border: 1px solid #9da993; border-radius: 0; background: transparent; color: var(--ink); cursor: pointer; font-size: .92rem; font-weight: 650; white-space: nowrap; }
.filters button:hover { background: #e8efdf; }
.filters button[aria-pressed='true'] { color: var(--ivory); background: var(--brand-green); border-color: var(--brand-green); }
.result-count { margin-top: .72rem; color: var(--muted); font-size: .875rem; }
.category { margin-block-start: clamp(2.1rem, 4vw, 3.6rem); }
.category-heading { display: flex; align-items: center; gap: 1rem; margin-bottom: .8rem; }
.category h3 { font: 500 clamp(2.1rem, 3.7vw, 3.35rem)/.95 var(--display); letter-spacing: -.045em; }
.category-heading span { flex: 1; background: #a7bf97; height: 1px; min-width: 1rem; }
.dish-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .72rem; }
.dish { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: .4rem 1rem; min-width: 0; background: var(--paper); border: 1px solid var(--line); padding: clamp(.82rem, 2vw, 1.2rem); }
.dish:target { outline: 2px solid var(--brand-red); outline-offset: 2px; }
.dish h4 { font: 500 clamp(1.55rem, 2.15vw, 2rem)/.94 var(--display); letter-spacing: -.03em; }
.dish .description { color: var(--muted); margin-top: .52rem; }
.price, .formats dd { color: var(--brand-red-deep); font-weight: 700; white-space: nowrap; }
.formats { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; text-align: right; }
.formats dt { color: var(--muted); font-size: .875rem; white-space: nowrap; }
.formats dd { margin: 0; }
.dish.has-photo { grid-template-columns: minmax(6rem, 36%) minmax(0, 1fr); grid-template-rows: max-content 1fr; align-content: start; }
.dish.has-photo > :is(.price, .formats) { grid-column: 2; justify-self: start; }
.dish-photo { grid-row: span 2; display: block; padding: 0; width: 100%; border: 0; overflow: hidden; background: var(--sheet); cursor: zoom-in; aspect-ratio: 6/5; }
.dish-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.dish-photo:hover img { transform: scale(1.045); }
.empty { text-align: center; min-height: 12rem; padding: 2.5rem 1rem 0; }
.empty h3 { font: 500 2.1rem/1.05 var(--display); }
.empty p { margin: .5rem 0 1.1rem; }

.about { padding-block: clamp(2.7rem, 6vw, 6.25rem); background: var(--fern); color: var(--ivory); }
.about-inner { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: clamp(1.7rem, 6vw, 5.5rem); }
.about img { width: 100%; height: auto; }
.about .kicker { color: var(--leaf-light); margin-bottom: .9rem; }
.about h2 { font-size: clamp(3.35rem, 5.5vw, 5.7rem); }
.about h2 em { color: var(--leaf-light); font-weight: 500; }
.about-copy > p:not(.kicker) { max-width: 29rem; color: var(--ivory); margin-block: 1.15rem 1.4rem; }
.footer { background: var(--paper); border-top: 2px solid var(--brand-red); }
.footer-inner { min-height: 5.7rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .75rem; }
.footer-inner > a:last-child { color: var(--brand-red-deep); font-weight: 650; text-underline-offset: .26em; }
.lightbox { position: fixed; inset: 0; margin: auto; width: min(55rem, calc(100dvw - 2rem)); max-inline-size: calc(100dvw - 2rem); max-height: 90dvh; padding: 1rem; border: 0; background: var(--paper); color: var(--ink); }
.lightbox::backdrop { background: #0d1710e7; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: .7rem; margin-bottom: .75rem; }
.lightbox-bar h2 { font: 500 clamp(1.85rem, 3.7vw, 2.65rem)/.95 var(--display); }
.lightbox > img { width: 100%; max-height: 70dvh; object-fit: contain; }

@media (max-width: 860px) {
  .table-copy h1 { font-size: clamp(4.3rem, 9vw, 6rem); }
  .catalogue-heading { align-items: start; flex-direction: column; gap: 1rem; }
}

@media (max-width: 740px) {
  .table-grid, .dish-grid, .about-inner { grid-template-columns: 1fr; }
  .table-copy h1 { font-size: clamp(4.75rem, 13vw, 7rem); margin-block: 1.15rem; }
  .table-grid { gap: 1.55rem; }
  .table-figure img { aspect-ratio: 1.45; }
  .search { width: 100%; }
  .dish.has-photo { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; }
  .dish-photo { grid-row: auto; grid-column: 1 / -1; margin-bottom: .38rem; aspect-ratio: 3/2; }
  .dish.has-photo > :is(.price, .formats) { justify-self: end; }
  .about-copy { grid-row: 1; }
}

@media (max-width: 600px) {
  .journey-header { align-items: start; }
  .journey-words, .journey[data-active='3'] .journey-words { align-self: end; width: 100%; margin-block: 1rem clamp(1.05rem, 4vh, 2.5rem); }
  .journey-copy h2 { font-size: clamp(3.7rem, 13.6vw, 6.2rem); }
  .journey-copy .kicker { margin-bottom: .95rem; }
  .journey-copy > p:last-child { margin-top: 1.1rem; max-width: 20rem; }
  .journey-shade { background: linear-gradient(0deg, #0b140ef5 0%, #0b140ecc 24%, #0b140e2b 58%, transparent 76%, #0a130dbb 100%); }
  .journey-service { inset: 16% var(--gutter) 49%; grid-template-columns: 1.4fr 1fr; }
  .journey[data-active='3'] .journey-shade { opacity: .2; }
  .journey-controls { gap: .6rem; }
  .journey-chapters { gap: .45rem; }
  .journey-chapters button { font-size: .78rem; white-space: nowrap; }
  .journey-toggle { min-width: 0; min-height: 2.6rem; padding-inline: .55rem; font-size: .81rem; }
  .header-inner { min-height: 4.9rem; }
  .feature-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .feature img { aspect-ratio: 1.68; }
  .filters button { padding-inline: .67rem; }
}

@media (max-height: 540px) and (min-width: 601px) {
  .journey { padding-block: .7rem; }
  .journey-words { margin-block: 1rem; }
  .journey-copy h2 { font-size: clamp(3.7rem, 11vh, 6rem); }
  .journey-copy > p:last-child { margin-top: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
