:root {
  color-scheme: dark;
  --ink: #181713;
  --deep: #11110f;
  --panel: #24211b;
  --paper: #f7f0e5;
  --muted: #ccc1af;
  --gold: #dab980;
  --line: #ffffff28;
  --body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --accent: "Playfair Display", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 1rem/1.6 var(--body); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3, h4 { margin: 0; }
h1, h2 { font-weight: 400; line-height: 1.04; letter-spacing: -.048em; }
h1 em, h2 em { font: italic 500 .94em/1.14 var(--accent); letter-spacing: -.045em; }
h2 { font-size: clamp(2.65rem, 5.7vw, 5.4rem); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.skip { position: absolute; z-index: 5; top: .5rem; left: .5rem; padding: .6rem 1rem; background: var(--deep); transform: translateY(-200%); }
.skip:focus { transform: none; }
.wrap { width: min(1140px, 100% - 112px); margin-inline: auto; }
.eyebrow, .button, .text-link, .topline, nav, figcaption {
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.header { position: absolute; z-index: 2; inset: 0 0 auto; text-align: center; }
.topline {
  min-height: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: clamp(20px, 5vw, 74px);
  border-bottom: 1px solid var(--line);
  color: var(--paper);
}
.language-switch { display: flex; align-items: center; gap: .35rem; }
.language-switch button, .menu-toggle { cursor: pointer; background: none; border: 0; padding: 0; }
.language-switch button { min-width: 30px; min-height: 34px; letter-spacing: .1em; }
.language-switch button[aria-pressed="true"] { color: var(--gold); text-decoration: underline; text-underline-offset: .29rem; }
.masthead { padding: 19px 22px 10px; display: flex; justify-content: center; align-items: center; }
.brand { display: inline-block; width: clamp(184px, 19vw, 244px); }
.brand img { width: 100%; height: auto; }
nav { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(.9rem, 2.4vw, 2rem); }
nav a { padding-block: 10px; }
nav a:hover, .text-link:hover { color: var(--gold); }
.menu-toggle { display: none; }

.hero { position: relative; isolation: isolate; min-height: 660px; min-height: max(660px, 96svh); display: grid; place-items: end center; padding: 192px 24px clamp(95px, 13vh, 145px); text-align: center; }
.hero-photo, .hero-photo img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { z-index: -2; }
.hero-photo img { object-fit: cover; object-position: center 50%; }
.hero::after {
  content: "";
  z-index: -1;
  background: linear-gradient(180deg, #100d0adc 0%, #15100b12 29%, #130f0c1a 45%, #120f0ea8 72%, #120f0ef5 100%);
}
.hero-content .eyebrow { color: #f5dec0; margin-bottom: 15px; }
.hero h1 { font-size: clamp(2.55rem, 4.7vw, 4.25rem); text-shadow: 0 3px 20px #100b08ed; }
.hero h1 em { display: inline-block; font-size: .65em; margin-top: 7px; letter-spacing: -.035em; }
.hero .button { margin-top: 24px; background: #15120d40; }
.hero-scroll { position: absolute; bottom: 25px; left: 50%; translate: -50% 0; display: grid; place-items: center; width: 40px; height: 40px; font-size: 1.22rem; color: var(--paper); }
.hero-scroll:hover { color: var(--gold); }
.button {
  display: inline-flex; min-height: 48px; gap: 1.5rem; justify-content: center; align-items: center;
  padding: .65rem 1.2rem; border: 1px solid currentColor; transition: color .18s, background .18s;
}
.button span, .text-link span { font-size: .9rem; }
.button:hover, .hero .button:hover { background: var(--paper); color: var(--deep); border-color: var(--paper); }
.text-link { display: inline-flex; align-items: center; gap: .85rem; border-bottom: 1px solid currentColor; padding-bottom: .28rem; }

.visit { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 40px; padding-block: clamp(62px, 9vw, 115px); }
.visit-location { font-size: 1.35rem; margin-top: 21px; }
.visit-photo { width: 100%; max-width: 540px; height: auto; justify-self: center; }
.visit-location + p { color: var(--muted); }
.visit-contact { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.visit .button { margin-top: 20px; }
.footer { border-top: 1px solid var(--line); background: var(--deep); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 22px; padding-block: 32px; }
.footer small { color: var(--muted); }
.footer .brand { width: 155px; }

@media (max-width: 850px) {
  .wrap { width: calc(100% - 64px); }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 40px); }
  .topline { padding-inline: 20px; }
  .masthead { position: relative; padding-block: 13px; }
  .masthead .brand { width: 182px; }
  .menu-toggle {
    display: grid; place-items: center; position: absolute; right: 17px;
    width: 42px; height: 44px; font-size: 1.5rem;
  }
  nav { display: none; gap: 0; padding: 10px 20px; background: #151310f7; border-block: 1px solid var(--line); }
  nav.open { display: grid; }
  nav a { padding: 12px; }
  .hero { min-height: max(555px, 89svh); padding: 133px 18px 82px; }
  .hero h1 { font-size: clamp(2.5rem, 8vw, 3.4rem); }
  .hero-photo img { object-position: center 52%; }
  .visit { grid-template-columns: minmax(0, 1fr); }
  .visit { gap: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Sections selected from the user's visual references. */
.history-section {
  background: #2a2420 url("assets/historia-textura.webp") center / cover;
  color: #e7ded3;
  padding-block: clamp(64px, 8vw, 120px);
}
.history-inner { display: grid; gap: clamp(32px, 4vw, 52px); }
.history-head .eyebrow { color: #d0a16c; margin-bottom: 20px; }
.history-head h2 { font-size: clamp(2.7rem, 4.5vw, 4.5rem); letter-spacing: -.03em; color: #f7f0e5; }
.history-subtitle { font: italic 500 1.3rem/1.35 var(--accent); color: #d0a16c; margin-top: 18px; max-width: 32ch; }
.history-chapters {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px);
  counter-reset: none;
}
.chapter { display: grid; grid-template-rows: auto auto 1fr; gap: 8px; min-width: 0; }
.chapter-caption { font: italic 500 .8rem/1.3 var(--accent); color: #b9a58f; letter-spacing: .01em; }
.chapter-copy { margin-top: 10px; }
.chapter-photo {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: #1c1815; border: 1px solid #d0a16c33;
}
.chapter-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) contrast(1.02); transition: transform .8s ease; }
.chapter:hover .chapter-photo img { transform: scale(1.04); }
.chapter-photo.is-pending { display: grid; place-items: center; background: repeating-linear-gradient(135deg, #221d19 0 14px, #26201c 14px 28px); }
.chapter-photo.is-pending::after {
  content: attr(data-pending-label); padding: 0 18px; text-align: center;
  color: #d0a16c; font: italic 500 1rem/1.4 var(--accent);
}
.chapter-copy { border-top: 1px solid #d0a16c66; padding-top: 14px; }
.chapter-year { font: italic 500 clamp(2.2rem, 3vw, 2.8rem)/1 var(--accent); color: #d0a16c; letter-spacing: -.02em; }
.chapter-year span { font-size: .5em; letter-spacing: 0; }
.chapter h3 { margin: 10px 0 8px; font: 600 .72rem/1.3 var(--body); letter-spacing: .17em; text-transform: uppercase; color: #fff2dc; }
.chapter-copy > p:last-child { font-size: .92rem; line-height: 1.6; color: #e7ded3; max-width: 34ch; }
.history-swipe { display: none; }
.history-foot {
  display: grid; justify-items: start; gap: 16px;
  border-top: 1px solid #d0a16c55; padding-top: 24px; font-size: .92rem; color: #e7ded3;
}
.history-foot > * { min-width: 0; }
.history-foot p:first-child { max-width: 62ch; font: italic 500 1.15rem/1.5 var(--accent); color: #f7f0e5; }
.history-foot .text-link { color: #d0a16c; }
.history-foot strong { color: #fff2dc; font-weight: 600; }

@media (max-width: 1000px) and (min-width: 721px) {
  .history-chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
}
@media (max-width: 720px) {
  .history-chapters {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin-inline: -20px; padding-inline: 20px; scroll-padding-inline: 20px;
    scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .history-chapters::-webkit-scrollbar { display: none; }
  .chapter { flex: 0 0 82%; scroll-snap-align: start; }
  .history-swipe { display: block; margin-top: -18px; font-size: .62rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: #d0a16c; }
}
@media (prefers-reduced-motion: reduce) { .chapter-photo img { transition: none; } }

.cocktail-transition {
  position: relative; height: clamp(380px, 56vw, 800px); background: #322015; overflow: hidden; isolation: isolate;
}
.cocktail-transition > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.cocktail-transition::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, #16100bcc); pointer-events: none; }
.cocktail-transition figcaption {
  position: absolute; bottom: 30px; left: 5vw; right: 5vw; z-index: 1;
  display: flex; justify-content: space-between; gap: 15px; color: #fff1db;
  font: 500 .65rem/1.4 var(--body); letter-spacing: .2em; text-transform: uppercase;
}

.night-collection { background: #131312; }
.night-feature { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; }
.night-picture { height: 560px; overflow: hidden; }
.night-picture img { width: 100%; height: 100%; object-fit: cover; }
.premium-feature .night-picture img { object-position: 58% center; }
.night-copy { padding: clamp(45px, 7vw, 110px); }
.night-copy .eyebrow { color: var(--gold); margin-bottom: 22px; }
.night-copy h2 { font-size: clamp(3rem, 5.6vw, 5.4rem); }
.night-copy > p:not(.eyebrow) { color: #c9c0b4; max-width: 32ch; margin-block: 26px; }
.breakfast-feature { grid-template-columns: .76fr 1.24fr; background: #2a1e17; }
.breakfast-feature .night-picture { grid-column: 2; grid-row: 1; height: auto; }
.breakfast-feature .night-picture img { height: auto; }
.breakfast-feature .night-copy { grid-column: 1; grid-row: 1; }
.breakfast-feature h2 { font-size: clamp(2.3rem, 4.9vw, 4.8rem); }
.breakfast-feature .text-link { margin-top: 24px; }
.shisha-feature { grid-template-columns: .9fr 1.1fr; background: #090b0c; }
.shisha-feature .night-picture { grid-column: 2; grid-row: 1; background: #0b0c0e; height: 630px; }
.shisha-feature .night-picture img { object-fit: contain; }
.shisha-feature h2 { font-size: clamp(2.4rem, 4.4vw, 4.5rem); }
.shisha-feature .night-copy { grid-column: 1; grid-row: 1; padding-left: max(40px, calc((100vw - 1140px) / 2)); }

.signature-section { background: #f7f1e9; color: #77593d; padding-block: clamp(65px, 9vw, 125px); }
.signature-layout { display: grid; grid-template-columns: 1.25fr .95fr; align-items: center; gap: clamp(30px, 6vw, 90px); }
.signature-photo { width: 100%; max-width: 480px; height: auto; justify-self: center; }
.signature-copy h2 { font-size: clamp(2.6rem, 4.4vw, 4.1rem); letter-spacing: -.04em; }
.signature-copy p { margin-top: 27px; max-width: 38ch; color: #745d48; line-height: 1.8; }
.signature-copy .text-link { margin-top: 25px; }
.photo-credits { color: var(--muted); font-size: .75rem; padding-block: 0 24px; }
.photo-credits summary { cursor: pointer; width: fit-content; }
.photo-credits p { margin-top: 8px; }
.photo-credits a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 950px) {
  .night-copy { padding: 45px 32px; }
  .night-picture { height: 480px; }
  .shisha-feature .night-picture { height: 510px; }
}

@media (max-width: 720px) {
  .cocktail-transition { height: clamp(320px, 104vw, 490px); }
  .cocktail-transition figcaption { left: 20px; right: 20px; font-size: .55rem; letter-spacing: .12em; }
  .night-feature, .signature-layout { grid-template-columns: minmax(0, 1fr); }
  .night-picture { height: 350px; }
  .night-copy { padding: 45px 20px 55px; }
  .breakfast-feature .night-picture, .shisha-feature .night-picture { grid-row: 1; grid-column: 1; }
  .breakfast-feature .night-copy { grid-row: 2; }
  .shisha-feature .night-picture { height: 460px; }
  .shisha-feature .night-copy { grid-row: 2; grid-column: 1; padding-left: 20px; }
  .signature-layout { gap: 35px; }
  .signature-copy h2 { font-size: 2.65rem; }
}

/* The full menu follows the icon navigation and numbered lists of Corte delle Stelle. */
.menu-section {
  --menu-serif: "Cormorant Garamond", Georgia, serif;
  background: #faf4ec;
  color: #352c27;
  padding-block: clamp(55px, 7vw, 100px);
}
.menu-heading { text-align: center; padding-bottom: 40px; }
.menu-heading > img { margin-inline: auto; width: 32px; height: auto; opacity: .85; }
.menu-heading .eyebrow { color: #a57a53; margin: 14px 0 8px; }
.menu-heading h2 { font: 500 clamp(3.4rem, 6vw, 5.2rem)/1.1 var(--menu-serif); letter-spacing: -.04em; }
.menu-subtitle { font: italic 500 clamp(1.15rem, 2.4vw, 1.6rem)/1.4 var(--menu-serif); color: #ac764e; margin-top: 12px; }
.menu-beta { font: 400 .75rem/1.5 var(--body); color: #7c7169; margin-top: 13px; }
.menu-categories { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px 15px; border-block: 1px solid #ad8b6b3d; padding-block: 20px; }
.menu-category {
  min-width: 0; background: transparent; border: 1px solid transparent; border-radius: 0;
  padding: 15px 8px 12px; cursor: pointer; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start; gap: 12px; color: #756b62;
}
.menu-category svg { width: 47px; height: 47px; flex-shrink: 0; }
.menu-category span { font: 500 .68rem/1.5 var(--body); letter-spacing: .12em; text-transform: uppercase; max-width: 170px; }
.menu-category[aria-selected="true"], .menu-category:hover { color: #b16f42; }
.menu-category[aria-selected="true"] { background: #eedfd030; border-color: #b16f4270; }
.menu-category:focus-visible, .menu-filter:focus-visible, .menu-section a:focus-visible { outline-color: #8c5939; }
.menu-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-block: 27px 18px; }
.menu-filter { font: 400 .78rem/1.4 var(--body); padding: 7px 13px; border: 1px solid #b6987a60; color: #6f5f50; background: transparent; border-radius: 0; cursor: pointer; }
.menu-filter[aria-pressed="true"] { background: #916443; border-color: #916443; color: #fff8ee; }
.menu-filter:hover { border-color: #916443; }
.menu-status { font-size: .73rem; text-align: center; color: #807063; min-height: 1.5em; margin-bottom: 25px; }
.menu-group + .menu-group { margin-top: 38px; }
.menu-group h3 { font: 600 1.7rem/1.2 var(--menu-serif); margin-bottom: 23px; padding-bottom: 12px; border-bottom: 1px solid #a67d553a; }
.menu-item-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px clamp(28px, 6vw, 76px); }
.menu-product { min-width: 0; }
.menu-product-row { display: flex; align-items: baseline; gap: 10px; }
.menu-product-number { font: 500 .95rem/1.4 var(--menu-serif); color: #9a8b7b; min-width: 23px; }
.menu-product-name { font: 600 1.22rem/1.25 var(--menu-serif); letter-spacing: .005em; }
.menu-leader { min-width: 12px; flex: 1; border-bottom: 1px dotted #bc9c7c9c; }
.menu-price { font: italic 600 1.13rem/1.2 var(--menu-serif); white-space: nowrap; text-align: right; }
.menu-price small { font: 400 .62rem/1.2 var(--body); }
.menu-price-line { display: block; margin-top: 2px; }
.menu-price-pending { font: italic 500 .96rem/1.2 var(--menu-serif); color: #927458; white-space: nowrap; }
.menu-product-description { margin: 9px 0 0 33px; font: italic 500 1.12rem/1.45 var(--menu-serif); color: #a6734f; }
.menu-category-note { text-align: center; margin-bottom: 30px; color: #8f6444; font-size: .84rem; }
@media (max-width: 950px) {
  .menu-categories { gap: 8px; }
  .menu-category span { font-size: .6rem; }
}
@media (max-width: 720px) {
  .menu-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .menu-category { padding: 12px 4px; gap: 8px; }
  .menu-category svg { width: 37px; height: 37px; }
  .menu-category span { font-size: .58rem; letter-spacing: .07em; }
  .menu-item-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .menu-product-name { font-size: 1.25rem; }
  .menu-product-row { gap: 7px; }
  .menu-price { font-size: 1.08rem; }
  .menu-product-number { min-width: 20px; }
  .menu-product-description { margin-left: 27px; }
  .menu-filters { gap: 7px; margin-top: 23px; }
  .menu-filter { font-size: .71rem; padding: 7px 10px; }
}
.menu-filters[hidden] { display: none; }
@media (max-width: 720px) {
  .menu-category:last-child:nth-child(3n + 1) { grid-column: 2; }
}

/* Barra de acciones fija en móvil: Carta · Llamar · Cómo llegar */
.action-bar { display: none; }
@media (max-width: 720px) {
  .action-bar {
    position: fixed; inset: auto 0 0; z-index: 20;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    background: #181713f2; border-top: 1px solid #dab98040;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  }
  .action { display: grid; justify-items: center; gap: 3px; padding: 10px 4px 11px; color: var(--paper);
    font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .action + .action { border-left: 1px solid #ffffff14; }
  .action svg { width: 21px; height: 21px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .footer { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}

/* Alérgenos en la carta */
.menu-allergens{display:inline-flex;gap:3px;margin-left:6px;flex:none;align-self:center}
.menu-allergens b{display:inline-block;min-width:17px;height:17px;padding:0 3px;border:1px solid #dab980;border-radius:9px;font:600 10px/15px system-ui,sans-serif;color:#dab980;text-align:center}
