:root {
  --ink: #101b2b;
  --ink-2: #172941;
  --blue: #245f8f;
  --blue-bright: #347db3;
  --gold: #caa66a;
  --paper: #f7f4ed;
  --paper-2: #eee8dc;
  --white: #fff;
  --muted: #68717b;
  --line: rgba(16, 27, 43, .14);
  --shadow: 0 24px 70px rgba(10, 20, 32, .16);
  --radius: 2px;
  --shell: min(1180px, calc(100vw - 48px));
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open, body.lightbox-open, body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: .98; letter-spacing: -.035em; }
h1 em, h2 em { color: var(--gold); font-weight: 400; }
h2 { font-size: clamp(2.4rem, 5vw, 4.7rem); }
h3 { line-height: 1.2; }
::selection { background: var(--gold); color: var(--ink); }

.shell { width: var(--shell); margin-inline: auto; }
.section { padding: clamp(80px, 10vw, 145px) 0; }
.section--ink { background: var(--ink); color: var(--white); }
.section--soft { background: var(--paper-2); }
.section--blue { background: var(--blue); color: var(--white); }
.eyebrow { margin: 0 0 22px; color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .19em; line-height: 1.2; text-transform: uppercase; }
.eyebrow--light { color: var(--gold); }
.lead { font-size: clamp(1.12rem, 2vw, 1.36rem); line-height: 1.62; }
.skip-link { position: fixed; z-index: 10000; top: 10px; left: 10px; padding: 10px 16px; background: var(--white); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border: 1px solid var(--gold); border-radius: var(--radius); background: var(--gold); color: var(--ink); font-size: .82rem; font-weight: 800; letter-spacing: .08em; line-height: 1; text-decoration: none; text-transform: uppercase; transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease; cursor: pointer; }
.button:hover { border-color: #dfbe82; background: #dfbe82; transform: translateY(-2px); }
.button svg, .text-link svg, .contact-block svg, .hero__location svg { width: 19px; height: 19px; fill: currentColor; flex: 0 0 auto; }
.button--ghost { border-color: rgba(255,255,255,.55); background: transparent; color: var(--white); }
.button--ghost:hover { border-color: var(--white); background: var(--white); color: var(--ink); }
.button--ghost-dark { border-color: var(--ink); background: transparent; color: var(--ink); }
.button--ghost-dark:hover { background: var(--ink); color: var(--white); }
.button--compact { min-height: 43px; padding: 10px 16px; }
.button--small { min-height: 44px; padding: 10px 16px; font-size: .74rem; }
.text-link { display: inline-flex; align-items: center; gap: 9px; padding-bottom: 4px; border-bottom: 1px solid currentColor; color: var(--blue); font-size: .83rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.text-link svg { transition: transform .2s ease; }
.text-link:hover svg { transform: translateX(4px); }

/* Header */
.site-header { position: absolute; z-index: 1000; top: 0; left: 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.18); color: var(--white); transition: background .3s ease, box-shadow .3s ease, transform .3s ease; }
body:not(.is-front-page) .site-header, .site-header.is-scrolled { position: fixed; background: rgba(12, 22, 36, .96); box-shadow: 0 8px 30px rgba(0,0,0,.18); backdrop-filter: blur(14px); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { position: relative; z-index: 2; display: flex; width: 196px; height: 72px; align-items: center; text-decoration: none; }
.brand img { width: 100%; max-height: 72px; object-fit: contain; object-position: left center; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav__list { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.site-nav__list a { position: relative; display: block; padding: 13px 0; color: rgba(255,255,255,.86); font-size: .81rem; font-weight: 750; letter-spacing: .11em; text-decoration: none; text-transform: uppercase; }
.site-nav__list a::after { position: absolute; right: 0; bottom: 7px; left: 0; height: 1px; background: var(--gold); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.site-nav__list a:hover, .site-nav__list a[aria-current="page"] { color: var(--white); }
.site-nav__list a:hover::after, .site-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.menu-toggle { position: relative; z-index: 2; display: none; align-items: center; gap: 10px; padding: 10px 0; border: 0; background: transparent; color: var(--white); cursor: pointer; }
.menu-toggle__label { font-size: .73rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.menu-toggle__icon { display: grid; width: 25px; gap: 5px; }
.menu-toggle__icon i { display: block; height: 1px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Home hero */
.hero { position: relative; min-height: min(960px, 100svh); overflow: hidden; display: grid; align-items: center; background: #0d1624; color: var(--white); }
.hero__slides, .hero__slide, .hero__veil { position: absolute; inset: 0; }
.hero__slide { margin: 0; opacity: 0; transform: scale(1.06); transition: opacity 1.1s ease, transform 7s linear; }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__veil { background: linear-gradient(90deg, rgba(6,12,20,.87) 0%, rgba(6,12,20,.63) 45%, rgba(6,12,20,.18) 78%), linear-gradient(0deg, rgba(6,12,20,.65) 0%, transparent 40%); }
.hero__content { position: relative; z-index: 2; padding: 150px 0 120px; }
.hero h1 { max-width: 900px; margin-bottom: 28px; font-size: clamp(4.2rem, 10vw, 8.7rem); color: var(--white); }
.hero__lead { max-width: 640px; margin-bottom: 35px; color: rgba(255,255,255,.84); font-size: clamp(1.08rem, 2vw, 1.34rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta { position: absolute; z-index: 3; right: 0; bottom: 30px; left: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hero__dots { display: flex; gap: 9px; }
.hero__dots button { width: 28px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: background .2s ease, width .2s ease; }
.hero__dots button[aria-pressed="true"] { width: 52px; background: var(--gold); }
.hero__location { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.75); font-size: .78rem; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }

/* Home sections */
.story { overflow: hidden; }
.story__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); align-items: center; gap: clamp(60px, 10vw, 140px); }
.story__copy h2 { margin-bottom: 34px; }
.story__copy p:not(.eyebrow) { color: #3f4852; }
.story__copy .text-link { margin-top: 22px; }
.story__visual { position: relative; min-height: 690px; }
.story__image { overflow: hidden; margin: 0; background: var(--paper-2); box-shadow: var(--shadow); }
.story__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.story__image:hover img { transform: scale(1.035); }
.story__image--large { position: absolute; inset: 0 18% 8% 0; }
.story__image--small { position: absolute; right: 0; bottom: 0; width: 43%; height: 45%; border: 10px solid var(--paper); }
.story__stamp { position: absolute; top: 7%; right: 2%; width: 120px; height: 120px; display: grid; place-content: center; border: 1px solid var(--gold); border-radius: 50%; background: var(--paper); color: var(--blue); text-align: center; transform: rotate(7deg); }
.story__stamp::before { position: absolute; inset: 7px; border: 1px solid rgba(36,95,143,.35); border-radius: inherit; content: ""; }
.story__stamp strong { font-family: var(--serif); font-size: 2.3rem; line-height: .8; }
.story__stamp span { color: var(--muted); font-size: .62rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.section-heading { max-width: 760px; margin-bottom: 56px; }
.section-heading h2 { margin-bottom: 24px; }
.section-heading > p:last-child { color: var(--muted); }
.section-heading--split { max-width: none; display: grid; grid-template-columns: 1.4fr .6fr; align-items: end; gap: 70px; }
.section-heading--split > p { margin-bottom: 10px; color: rgba(255,255,255,.65); }
.signature__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dish-card { position: relative; min-height: 560px; overflow: hidden; background: var(--ink-2); }
.dish-card::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,10,18,.92), transparent 64%); content: ""; }
.dish-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.6,.2,1); }
.dish-card:hover img { transform: scale(1.06); }
.dish-card div { position: absolute; z-index: 2; right: 30px; bottom: 26px; left: 30px; }
.dish-card span { color: var(--gold); font-size: .7rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.dish-card h3 { margin: 7px 0 8px; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.7rem); font-weight: 400; }
.dish-card p { margin: 0; color: rgba(255,255,255,.7); font-size: .94rem; }
.signature__cta { margin-top: 42px; text-align: center; }
.visit { background-image: linear-gradient(rgba(36,95,143,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(36,95,143,.07) 1px, transparent 1px); background-size: 34px 34px; }
.visit__card { display: grid; grid-template-columns: .95fr 1.05fr; min-height: 630px; background: var(--white); box-shadow: var(--shadow); }
.visit__image { overflow: hidden; }
.visit__image img { width: 100%; height: 100%; object-fit: cover; }
.visit__copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(50px, 8vw, 105px); }
.visit__copy h2 { margin-bottom: 30px; }
.visit__copy > p:not(.eyebrow) { margin-bottom: 34px; color: var(--muted); font-size: 1.12rem; }

/* Internal page heroes */
.page-hero, .legal-hero { position: relative; min-height: 620px; display: grid; align-items: end; overflow: hidden; background: var(--ink); color: var(--white); }
.page-hero::before { position: absolute; inset: 0; background-position: center; background-size: cover; content: ""; }
.page-hero::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,13,23,.89), rgba(7,13,23,.28)), linear-gradient(0deg, rgba(7,13,23,.58), transparent 60%); content: ""; }
.page-hero--menu::before { background-image: url("../images/hero/Inicio4.webp"); }
.page-hero--gallery::before { background-image: url("../images/gallery/IMG_7390.webp"); }
.page-hero--contact::before { background-image: url("../images/gallery/IMG_7384.webp"); background-position: center 45%; }
.page-hero__content { position: relative; z-index: 2; padding: 190px 0 80px; }
.page-hero h1 { max-width: 850px; margin-bottom: 20px; font-size: clamp(4.2rem, 9vw, 8rem); }
.page-hero__content > p:last-child { max-width: 610px; margin: 0; color: rgba(255,255,255,.8); font-size: 1.18rem; }

/* Menu */
.menu-download { padding: 54px 0; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.menu-download__inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.menu-download h2 { margin-bottom: 12px; font-size: clamp(2rem, 4vw, 3.1rem); }
.menu-download p:not(.eyebrow) { margin: 0; color: var(--muted); }
.menu-jump { position: sticky; z-index: 100; top: 96px; overflow-x: auto; border-bottom: 1px solid var(--line); background: rgba(247,244,237,.95); backdrop-filter: blur(12px); }
.menu-jump .shell { display: flex; gap: 34px; }
.menu-jump a { padding: 18px 0 16px; color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.menu-jump a:hover { color: var(--blue); }
.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 24px; }
.menu-card { padding: clamp(28px, 4vw, 46px); border: 1px solid var(--line); background: rgba(255,255,255,.55); }
.menu-card h3 { margin: 0 0 24px; color: var(--blue); font-family: var(--serif); font-size: clamp(1.65rem, 3vw, 2.35rem); font-weight: 400; }
.menu-card__note { margin: -10px 0 25px; color: var(--muted); font-size: .84rem; }
.menu-list { margin: 0; }
.menu-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 18px; padding: 13px 0; border-bottom: 1px dotted rgba(16,27,43,.22); }
.menu-item:last-child { border-bottom: 0; }
.menu-item dt { font-weight: 650; line-height: 1.35; }
.menu-item dt small { display: block; margin-top: 5px; color: var(--muted); font-size: .79rem; font-weight: 400; line-height: 1.45; }
.menu-item dd { margin: 0; color: var(--blue); font-size: .88rem; font-weight: 850; white-space: nowrap; }
.menu-grid--wine { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.menu-card--wine { height: 100%; background: var(--white); }
.menu-card__callout { margin: 26px 0 0; padding: 15px 18px; border-left: 3px solid var(--gold); background: var(--paper-2); font-family: var(--serif); font-size: 1.05rem; }
.drinks-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.daily-menu__grid { display: grid; grid-template-columns: 1.1fr repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.2); }
.daily-menu__grid > div { padding: clamp(28px, 4vw, 48px); background: var(--blue); }
.daily-menu__price { display: flex; flex-direction: column; align-items: flex-start; }
.daily-menu__price span { color: #d7e7f4; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.daily-menu__price strong { margin: 24px 0 14px; color: var(--white); font-family: var(--serif); font-size: clamp(3.6rem, 7vw, 5.9rem); font-weight: 400; line-height: .9; }
.daily-menu__price p { color: rgba(255,255,255,.84); }
.daily-menu__price small { margin-top: auto; color: var(--gold); }
.daily-menu__courses h2 { margin-bottom: 25px; color: var(--white); font-family: var(--serif); font-size: 1.8rem; }
.daily-menu__courses ul { margin: 0; padding: 0; list-style: none; }
.daily-menu__courses li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.18); font-size: .9rem; }
.daily-menu__courses li small { display: block; color: var(--gold); }
.extras__inner { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; }
.extras__inner h2 { margin-bottom: 0; }
.extras ul { margin: 0; padding: 0; list-style: none; }
.extras li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.extras strong { color: var(--gold); }
.allergens__inner { max-width: 780px; text-align: center; }
.allergens h2 { font-size: clamp(2.3rem, 5vw, 4rem); }
.allergens p { color: var(--muted); }

/* Gallery */
.gallery-intro { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 50px; border-bottom: 1px solid var(--line); }
.gallery-intro p { max-width: 650px; margin-bottom: 24px; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.25; }
.gallery-intro span { padding-bottom: 28px; color: var(--muted); font-size: .77rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.gallery-grid { column-count: 3; column-gap: 18px; }
.gallery-item { position: relative; break-inside: avoid; margin: 0 0 18px; overflow: hidden; background: var(--ink); }
.gallery-item button { position: relative; width: 100%; display: block; padding: 0; overflow: hidden; border: 0; background: transparent; color: var(--white); cursor: zoom-in; text-align: left; }
.gallery-item img { width: 100%; transition: transform .65s ease, opacity .4s ease; }
.gallery-item span { position: absolute; right: 0; bottom: 0; left: 0; padding: 52px 20px 17px; background: linear-gradient(transparent, rgba(4,8,14,.86)); font-size: .78rem; font-weight: 700; letter-spacing: .08em; opacity: 0; text-transform: uppercase; transform: translateY(7px); transition: opacity .25s ease, transform .25s ease; }
.gallery-item button:hover img { opacity: .82; transform: scale(1.035); }
.gallery-item button:hover span { opacity: 1; transform: none; }
.gallery-video-note { margin-top: 70px; padding: 42px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; border: 1px solid var(--line); background: var(--paper-2); }
.gallery-video-note h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); }
.gallery-video-note > p { align-self: end; margin: 0; color: var(--muted); }
.gallery-videos { margin-top: 80px; padding-top: 55px; border-top: 1px solid var(--line); }
.gallery-videos h2 { margin-bottom: 38px; font-size: clamp(2.4rem, 5vw, 4.2rem); }
.gallery-videos__content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.gallery-videos__content > * { margin: 0; }
.gallery-videos video, .gallery-videos iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; background: var(--ink); }
.lightbox { position: fixed; z-index: 5000; inset: 0; display: grid; grid-template-columns: 80px minmax(0, 1fr) 80px; place-items: center; padding: 35px; background: rgba(4,8,14,.96); color: var(--white); }
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: min(1100px, calc(100vw - 180px)); max-height: calc(100vh - 70px); margin: 0; text-align: center; }
.lightbox figure img { width: auto; max-width: 100%; max-height: calc(100vh - 130px); margin: auto; object-fit: contain; }
.lightbox figcaption { margin-top: 15px; color: rgba(255,255,255,.72); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.icon-button { width: 46px; height: 46px; display: inline-grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: rgba(0,0,0,.18); color: var(--white); cursor: pointer; }
.icon-button svg { width: 22px; height: 22px; fill: currentColor; }
.lightbox__close { position: absolute; top: 24px; right: 24px; }
.lightbox__nav { width: 56px; height: 56px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: transparent; color: var(--white); font-size: 2.4rem; line-height: 1; cursor: pointer; }

/* Contact */
.contact__grid { display: grid; grid-template-columns: .75fr 1.25fr; align-items: stretch; gap: clamp(50px, 8vw, 100px); }
.contact__details h2 { margin-bottom: 50px; }
.contact-block { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 20px; padding: 25px 0; border-top: 1px solid var(--line); }
.contact-block:last-of-type { border-bottom: 1px solid var(--line); }
.contact-block__icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--blue); }
.contact-block h3 { margin: 0 0 5px; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; }
.contact-block address { color: var(--muted); font-style: normal; }
.contact-block a { color: var(--blue); font-family: var(--serif); font-size: 1.5rem; font-weight: 700; text-decoration: none; }
.contact-block p { margin: 5px 0 0; color: var(--muted); font-size: .88rem; }
.contact__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 25px; margin-top: 40px; }
.map-card { position: relative; min-height: 650px; overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow); }
.map-card iframe { width: 100%; height: 100%; min-height: 650px; border: 0; }
.map-card iframe:not([src]) { display: none; }
.map-placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; padding: 50px; background-image: radial-gradient(circle at 25% 20%, rgba(36,95,143,.16), transparent 30%), linear-gradient(rgba(36,95,143,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(36,95,143,.08) 1px, transparent 1px); background-size: auto, 28px 28px, 28px 28px; text-align: center; }
.map-placeholder > svg { width: 54px; height: 54px; margin-bottom: 20px; fill: var(--blue); }
.map-placeholder h2 { margin-bottom: 10px; font-size: 2.3rem; }
.map-placeholder p { max-width: 410px; color: var(--muted); }
.map-card.has-map .map-placeholder { display: none; }
.faq__grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 80px; }
.faq__items details { border-top: 1px solid var(--line); }
.faq__items details:last-child { border-bottom: 1px solid var(--line); }
.faq__items summary { position: relative; padding: 24px 48px 24px 0; font-family: var(--serif); font-size: 1.35rem; cursor: pointer; list-style: none; }
.faq__items summary::after { position: absolute; right: 6px; content: "+"; color: var(--blue); font-family: var(--sans); font-weight: 300; }
.faq__items details[open] summary::after { content: "−"; }
.faq__items p { padding-right: 40px; color: var(--muted); }

/* Legal */
.legal-hero { min-height: 430px; background-image: linear-gradient(125deg, rgba(36,95,143,.25), transparent 45%), linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: auto, 34px 34px, 34px 34px; }
.legal-hero__inner { padding: 180px 0 70px; }
.legal-hero h1 { margin-bottom: 18px; font-size: clamp(3.5rem, 7vw, 6.5rem); }
.legal-hero p:last-child { margin: 0; color: rgba(255,255,255,.65); }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 760px); justify-content: space-between; align-items: start; gap: 80px; padding-top: 90px; padding-bottom: 120px; }
.legal-toc { position: sticky; top: 130px; display: grid; gap: 8px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.legal-toc strong { margin-bottom: 8px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.legal-toc a { color: var(--muted); font-size: .87rem; text-decoration: none; }
.legal-toc a:hover { color: var(--blue); }
.legal-content section { margin-bottom: 64px; scroll-margin-top: 140px; }
.legal-content h2 { margin-bottom: 26px; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); }
.legal-content p, .legal-content li { color: #46505a; }
.legal-content a { color: var(--blue); }
.legal-data { margin: 30px 0 0; border-top: 1px solid var(--line); }
.legal-data > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 25px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.legal-data dt { color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.legal-data dd { margin: 0; overflow-wrap: anywhere; }
.legal-table-wrap { overflow-x: auto; }
.legal-content table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.legal-content th, .legal-content td { min-width: 200px; padding: 15px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-content th { background: var(--paper-2); color: var(--ink); }
.legal-content code { font-size: .78rem; }
.generic-content { min-height: 50vh; max-width: 850px; }

/* Footer */
.site-footer { padding-top: 80px; background: #09121e; color: rgba(255,255,255,.72); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr .65fr .55fr; gap: 60px; padding-bottom: 65px; }
.site-footer h2 { margin: 0 0 22px; color: var(--white); font-family: var(--sans); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.site-footer__brand img { width: 220px; max-height: 140px; object-fit: contain; object-position: left; }
.site-footer__brand p { max-width: 340px; margin-top: 24px; }
.site-footer address { font-style: normal; }
.site-footer address a { text-decoration: none; }
.footer-phone { display: inline-block; margin-top: 14px; color: var(--gold); font-family: var(--serif); font-size: 1.45rem; text-decoration: none; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: 7px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover, .site-footer address a:hover { color: var(--white); }
.social-links { display: flex; gap: 10px; }
.social-links a, .social-links span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: var(--white); }
.social-links span { opacity: .42; }
.social-links svg { width: 20px; height: 20px; fill: currentColor; }
.site-footer__bottom { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid rgba(255,255,255,.13); font-size: .76rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer__bottom a { text-decoration: none; }
.link-button { padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }

/* Consent */
[hidden] { display: none !important; }
.cookie-banner { position: fixed; z-index: 4000; right: 24px; bottom: 24px; left: 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; max-width: 1180px; max-height: calc(100vh - 48px); overflow-y: auto; box-sizing: border-box; margin: auto; padding: 26px 30px; border: 1px solid rgba(255,255,255,.15); background: var(--white); box-shadow: 0 25px 90px rgba(0,0,0,.3); }
.cookie-banner.is-open { display: grid !important; visibility: visible !important; opacity: 1 !important; pointer-events: auto !important; }
.cookie-banner[hidden], .cookie-banner__preferences[hidden] { display: none; }
.cookie-banner p { max-width: 710px; margin-bottom: 4px; color: #3f4852; font-size: .88rem; }
.cookie-banner .eyebrow { margin-bottom: 8px; }
.cookie-banner a { color: var(--blue); font-size: .78rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 9px; }
.cookie-banner__preferences { max-width: 710px; margin-top: 20px; border-bottom: 1px solid var(--line); }
.consent-option { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.consent-option strong { font-family: var(--serif); font-size: 1.2rem; }
.consent-option p { margin: 3px 0 0; color: var(--muted); font-size: .83rem; }
.consent-required { color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.consent-option input { position: absolute; right: 0; width: 48px; height: 26px; opacity: 0; cursor: pointer; }
.switch { position: relative; width: 48px; height: 26px; border-radius: 30px; background: #aeb3b9; pointer-events: none; transition: background .2s ease; }
.switch::after { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); content: ""; transition: transform .2s ease; }
.consent-option input:checked + .switch { background: var(--blue); }
.consent-option input:checked + .switch::after { transform: translateX(22px); }
.consent-option input:focus-visible + .switch { outline: 3px solid rgba(36,95,143,.28); outline-offset: 3px; }
.cookie-banner__preferences > .button { width: 100%; margin: 0 0 20px; }

/* Motion */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  :root { --shell: min(100% - 40px, 1000px); }
  .site-nav { gap: 20px; }
  .site-nav__list { gap: 20px; }
  .story__grid { grid-template-columns: 1fr 1fr; gap: 60px; }
  .menu-grid--wine { grid-template-columns: 1fr; }
  .daily-menu__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .site-footer__grid > div:last-child { grid-column: 2; }
}

@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .brand, .menu-toggle { z-index: 1200; }
  .site-nav { position: fixed; z-index: 1100; inset: 0; min-height: 100dvh; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 28px; overflow-y: auto; padding: max(122px, calc(env(safe-area-inset-top) + 104px)) 28px max(50px, calc(env(safe-area-inset-bottom) + 28px)); background: #09121e; opacity: 0; visibility: hidden; transform: translateY(-18px); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav__list a { padding: 11px 0; color: var(--white); font-family: var(--serif); font-size: clamp(2rem, 8vw, 3.6rem); font-weight: 400; letter-spacing: -.02em; text-shadow: 0 2px 12px rgba(0,0,0,.25); text-transform: none; }
  .site-nav__list a::after { display: none; }
  .site-nav .button { align-self: flex-start; margin-top: 10px; }
  .story__grid, .visit__card, .contact__grid, .faq__grid, .legal-layout { grid-template-columns: 1fr; }
  .story__visual { min-height: 620px; }
  .signature__grid { grid-template-columns: 1fr; }
  .dish-card { min-height: 690px; }
  .section-heading--split { grid-template-columns: 1fr; gap: 10px; }
  .visit__image { min-height: 600px; }
  .menu-grid, .drinks-grid { grid-template-columns: 1fr; }
  .gallery-grid { column-count: 2; }
  .gallery-video-note { grid-template-columns: 1fr; gap: 20px; }
  .gallery-videos__content { grid-template-columns: 1fr; }
  .contact__grid { gap: 60px; }
  .legal-toc { position: static; grid-template-columns: repeat(3, 1fr); }
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid > div:last-child { grid-column: auto; }
  .cookie-banner { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 30px); }
  body { font-size: 16px; }
  .section { padding: 78px 0; }
  .site-header__inner { min-height: 82px; }
  .brand { width: 168px; height: 62px; }
  .brand img { max-height: 62px; }
  .hero { min-height: 810px; }
  .hero__content { padding-top: 125px; }
  .hero h1 { font-size: clamp(3.5rem, 17vw, 5.6rem); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__meta { bottom: 21px; }
  .hero__location { display: none; }
  .hero__dots { width: 100%; justify-content: center; }
  .hero__dots button { width: 16px; }
  .hero__dots button[aria-pressed="true"] { width: 34px; }
  .story__visual { min-height: 490px; }
  .story__image--large { right: 11%; }
  .story__image--small { width: 48%; height: 41%; border-width: 7px; }
  .story__stamp { top: 3%; width: 92px; height: 92px; }
  .dish-card { min-height: 520px; }
  .visit__image { min-height: 430px; }
  .visit__copy { padding: 40px 28px 48px; }
  .page-hero { min-height: 560px; }
  .page-hero__content { padding: 150px 0 55px; }
  .page-hero h1 { font-size: clamp(3.7rem, 16vw, 5.7rem); }
  .menu-download__inner { flex-direction: column; align-items: flex-start; }
  .menu-jump { top: 81px; }
  .menu-jump .shell { gap: 24px; }
  .menu-card { padding: 27px 22px; }
  .menu-item { gap: 10px; }
  .menu-item dd { font-size: .8rem; }
  .daily-menu__grid { grid-template-columns: 1fr; }
  .extras__inner { grid-template-columns: 1fr; gap: 35px; }
  .gallery-grid { column-count: 1; }
  .gallery-item span { opacity: 1; transform: none; }
  .gallery-intro { align-items: flex-start; flex-direction: column; }
  .gallery-intro span { padding-bottom: 20px; }
  .gallery-video-note { padding: 28px 24px; }
  .lightbox { grid-template-columns: 48px minmax(0, 1fr) 48px; padding: 70px 8px 30px; }
  .lightbox figure { max-width: calc(100vw - 112px); }
  .lightbox__nav { width: 42px; height: 42px; }
  .map-card, .map-card iframe { min-height: 500px; }
  .map-placeholder { padding: 28px; }
  .faq__grid { gap: 25px; }
  .legal-hero { min-height: 380px; }
  .legal-hero__inner { padding: 150px 0 55px; }
  .legal-layout { gap: 50px; padding-top: 60px; padding-bottom: 80px; }
  .legal-toc { grid-template-columns: repeat(2, 1fr); }
  .legal-data > div { grid-template-columns: 1fr; gap: 2px; }
  .site-footer { padding-top: 65px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 45px; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; padding: 25px 0; }
  .site-footer__bottom nav { gap: 12px 18px; }
  /* Un único panel estable: Safari no tiene que abrir ni posicionar un segundo modal. */
  .cookie-banner { right: 8px; bottom: 0; left: 8px; width: auto; max-height: calc(100vh - 8px); max-height: calc(100svh - 8px); overflow-y: auto; -webkit-overflow-scrolling: touch; box-sizing: border-box; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); gap: 12px; }
  .cookie-banner p { margin-bottom: 0; font-size: .82rem; line-height: 1.5; }
  .cookie-banner .eyebrow { margin-bottom: 7px; }
  .cookie-banner__actions { position: static; display: grid !important; grid-template-columns: 1fr 1fr; padding: 0; background: var(--white); }
  .cookie-banner__actions .button { min-height: 46px; padding: 10px 12px; font-size: .67rem; }
  .cookie-banner__actions .button:last-child { grid-column: 1 / -1; }
  .cookie-banner__preferences { margin-top: 16px; }
  .consent-option { gap: 14px; padding: 16px 0; }
  .consent-option strong { font-size: 1rem; }
  .consent-option p { font-size: .76rem; line-height: 1.4; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
