/*
 * El Chalán Aruba: hoja única de la web (rediseño 2026-11, maqueta boxed estilo Savory).
 * Sin frameworks ni librerías: tokens en :root, mobile-first, grid/flex en vez de envoltorios.
 * Orden: 1 tokens · 2 fuentes · 3 base · 4 caja y cabecera · 5 piezas comunes · 6 home · 7 carta ·
 *        8 páginas (nosotros, eventos, contacto) · 9 visor de fotos · 10 pie · 11 accesibilidad y movimiento
 */

/* 1 - tokens: paleta muestreada de las renders del interiorismo (Fase 3) */
:root {
    --c-linen: #F4EDE2;
    --c-paper: #FBF7F1;
    --c-sand: #F1E8DA;
    --c-line: #DCCDB6;
    --c-oak: #A1663A;
    --c-clay: #A34F1D;
    --c-clay-dark: #7A3912;
    --c-indigo: #26356B;
    --c-cocoa: #2E2420;
    --c-cocoa-soft: #4A3C33;
    --c-muted: #6B5A4C;
    --c-gold: #E9C9A4;
    --c-bg: #E6D6BC;

    --f-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --f-script: "Pinyon Script", "Brush Script MT", cursive;
    --f-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --box: 1240px;
    --gutter: clamp(16px, 4vw, 24px);
    --pad: clamp(20px, 5vw, 64px);
    --space: clamp(64px, 9vw, 112px);
    --arch: 999px 999px 0 0;
    --shadow-box: 0 0 0 1px rgb(46 36 32 / 6%), 0 30px 60px -30px rgb(46 36 32 / 35%);
}

/* 2 - fuentes propias (sin Google Fonts en tiempo de ejecución): variables, solo latin */
@font-face {
    font-family: "Cormorant Garamond";
    src: url("/fonts/cormorant-garamond.woff2") format("woff2");
    font-weight: 300 700;
    font-display: swap;
}
@font-face {
    font-family: "Instrument Sans";
    src: url("/fonts/instrument-sans.woff2") format("woff2");
    font-weight: 400 700;
    font-display: swap;
}
@font-face {
    font-family: "Pinyon Script";
    src: url("/fonts/pinyon-script.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}

/* 3 - base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
    margin: 0;
    padding: 0 var(--gutter) 48px;
    font: 400 1rem/1.6 var(--f-sans);
    color: var(--c-cocoa);
    background: var(--c-bg) url("/img/pattern-botanical.svg") 0 0 / 420px 420px;
    -webkit-font-smoothing: antialiased;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--f-serif); font-weight: 500; line-height: 1.05; text-wrap: balance; }
h2 { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.375rem); }
h3 { font-size: 1.6875rem; font-weight: 600; line-height: 1.15; }
p { text-wrap: pretty; }
a { color: var(--c-clay); text-underline-offset: 0.2em; }
a:hover { color: var(--c-clay-dark); }
:focus-visible { outline: 2px solid var(--c-clay); outline-offset: 3px; }
button, input, textarea, select { font: inherit; color: inherit; }

/* 4 - caja central y cabecera */
.site {
    max-width: var(--box);
    margin: 0 auto;
    background: var(--c-paper);
    box-shadow: var(--shadow-box);
}
.env-band { height: 6px; margin: 0 calc(var(--gutter) * -1); }

.site-header {
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 16px var(--gutter) 4px;
}
.site-header__info {
    justify-self: stretch;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 18px;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-muted);
}
.site-header__info a { font-weight: 600; text-decoration: none; }
.site-header__logo img { width: auto; height: clamp(56px, 12vw, 84px); }
/* bandera del Perú: 3 px, rojo · blanco · rojo; ancho = el del logo */
.site-header__flag {
    grid-column: 1 / -1;
    display: block;
    width: calc(clamp(56px, 12vw, 84px) * 480 / 171);
    height: 4px;
    background: linear-gradient(to right, #D91023 0 33.333%, #FFFFFF 33.333% 66.666%, #D91023 66.666%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

/* boton «subir»: circulo fijo abajo a la derecha; oculto (hidden) hasta bajar una pantalla */
.to-top { position: fixed; right: 1rem; bottom: 1rem; z-index: 50; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; background: #D91023; color: #fff; font-size: 1.3rem;
    font-weight: 700; line-height: 1; box-shadow: 0 4px 14px rgb(46 36 32 / 25%); cursor: pointer; }
.to-top[hidden] { display: none; }
.to-top:hover, .to-top:focus-visible { background: #A80E1B; outline: 2px solid #fff; outline-offset: -4px; }
@media print { .to-top { display: none; } }

.site-nav {
    justify-self: stretch;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 clamp(18px, 3.5vw, 44px);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: clamp(0.1em, 0.5vw, 0.2em);
    text-transform: uppercase;
    white-space: nowrap;
}
.site-nav a {
    padding: 10px 0;
    color: var(--c-cocoa);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--c-clay); border-bottom-color: var(--c-clay); }

/* selector de idioma: PAP · NL · EN · ES */
.lang-switch { display: flex; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; }
.lang-switch a {
    display: grid;
    place-items: center;
    min-width: 44px;
    height: 36px;
    padding: 0 6px;
    color: var(--c-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
}
.lang-switch a:hover, .lang-switch a[aria-current="true"] { color: var(--c-clay); border-bottom-color: var(--c-clay); }

@media (min-width: 720px) {
    .site-header { grid-template-columns: 1fr auto; column-gap: 24px; }
    .site-header__info { justify-content: space-between; align-self: center; }
    .lang-switch { justify-self: end; }
    .site-header__logo, .site-nav { grid-column: 1 / -1; }
}

/* 5 - piezas comunes */
.section { padding: var(--space) var(--pad); }
.section--sand { background: var(--c-sand); }
.section--center { display: grid; justify-items: center; gap: 48px; text-align: center; }

/* hgroup: palabra manuscrita sobre el título */
.heading { display: grid; gap: 10px; }
.heading p, .script {
    font: 400 clamp(2rem, 1.5rem + 1.6vw, 2.75rem)/1 var(--f-script);
    color: var(--c-clay);
}

.ornament {
    width: 120px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' fill='none' stroke='%23A1663A'%3E%3Cpath d='M0 7h46M74 7h46'/%3E%3Cpath d='M60 1c-4 3-4 9 0 12 4-3 4-9 0-12z' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 32px;
    border: 0;
    background: var(--c-clay);
    color: var(--c-paper);
    font: 600 0.8125rem/1.2 var(--f-sans);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s;
}
.btn:hover { background: var(--c-clay-dark); color: var(--c-paper); }
.btn--light { background: var(--c-paper); color: var(--c-cocoa); }
.btn--light:hover { background: var(--c-gold); color: var(--c-cocoa); }
.btn--blue { background: var(--c-indigo); }
.btn--blue:hover { background: #1F2B4D; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn--outline { background: transparent; color: var(--c-clay); box-shadow: inset 0 0 0 1px var(--c-clay); }
.btn--outline:hover { background: var(--c-sand); color: var(--c-clay-dark); }

/* cabecera de página interior: foto a sangre dentro de la caja */
.banner {
    display: grid;
    place-content: center;
    gap: 12px;
    min-height: clamp(260px, 38vw, 420px);
    margin: 16px var(--gutter) 0;
    padding: 48px var(--gutter);
    text-align: center;
    color: var(--c-paper);
    background: linear-gradient(rgb(46 36 32 / 50%), rgb(46 36 32 / 50%)), var(--banner-img, url("/img/home/slide-pasillo-1920.webp")) center / cover #3A2318;
}
.banner .script { color: var(--c-gold); }
.banner h1 {
    font-size: clamp(2.5rem, 1.5rem + 5vw, 5.5rem);
    letter-spacing: 0.16em;
    text-indent: 0.16em;
    text-transform: uppercase;
}
.banner p:last-child { font-size: 0.875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-linen); }

/* lista de carta con puntos guía: [foto][nombre][.....][precio] / descripción */
.menu-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
    gap: 30px 64px;
    text-align: left;
}
.menu-item {
    display: grid;
    grid-template-columns: auto auto minmax(24px, 1fr) auto;
    align-items: baseline;
    column-gap: 10px;
}
.menu-item::after {
    content: "";
    grid-area: 1 / 3;
    border-bottom: 1px dotted var(--c-oak);
}
.menu-item__photo { grid-area: 1 / 1 / span 2; align-self: start; margin-right: 10px; }
.menu-item__photo img, .menu-item__photo { width: 72px; height: 72px; border-radius: 50%; }
.menu-item__photo img { object-fit: cover; }
.menu-item h3 { grid-area: 1 / 2; font-size: 1.4375rem; }
.menu-item__price { grid-area: 1 / 4; font-weight: 600; color: var(--c-clay); white-space: nowrap; }
.menu-item p { grid-area: 2 / 2 / auto / -1; font-size: 0.875rem; color: #5A4A3F; }
.menu-item--plain { grid-template-columns: auto minmax(24px, 1fr) auto; }
.menu-item--plain::after { grid-area: 1 / 2; }
.menu-item--plain h3 { grid-area: 1 / 1; }
.menu-item--plain .menu-item__price { grid-area: 1 / 3; }
.menu-item--plain p { grid-area: 2 / 1 / auto / -1; }
button.menu-item__photo { padding: 0; border: 0; background: none; cursor: zoom-in; }

/* 6 - home */
.hero { position: relative; margin: 16px var(--gutter) 0; background: #3A2318; }
.hero__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}
.hero__track::-webkit-scrollbar { display: none; }
.hero__slide {
    position: relative;
    display: grid;
    grid-template-rows: 1fr repeat(4, auto) 1fr;
    justify-items: center;
    gap: 16px;
    height: clamp(460px, 60vw, 680px);
    padding: 24px clamp(24px, 8vw, 96px);
    text-align: center;
    color: var(--c-paper);
    scroll-snap-align: start;
    isolation: isolate;
}
.hero__slide img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero__slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse at center, rgb(46 36 32 / 40%), rgb(46 36 32 / 68%));
}
.hero__slide .script { grid-row: 2; color: var(--c-gold); }
.hero__title {
    grid-row: 3;
    font: 600 clamp(3rem, 1.2rem + 7vw, 6.5rem)/0.95 var(--f-serif);
    letter-spacing: 0.16em;
    text-indent: 0.16em;
    text-transform: uppercase;
}
.hero__slide p:not(.script) { grid-row: 4; max-width: 560px; font-size: clamp(1rem, 0.9rem + 0.4vw, 1.125rem); color: #EFE6D8; }
.hero__slide .btn { grid-row: 5; margin-top: 8px; }
.hero__arrow {
    position: absolute;
    top: 50%;
    width: 56px;
    height: 56px;
    border: 0;
    background: none;
    color: var(--c-paper);
    cursor: pointer;
    transform: translateY(-50%);
}
.hero__arrow svg { margin: auto; }
.hero__arrow--prev { left: 8px; }
.hero__arrow--next { right: 8px; }
.hero__dots { position: absolute; inset: auto 0 12px; display: flex; justify-content: center; }
.hero__dots button {
    width: 44px;
    height: 44px;
    border: 0;
    background: linear-gradient(var(--c-paper), var(--c-paper)) center / 18px 2px no-repeat;
    opacity: 0.55;
    cursor: pointer;
}
/* punto actual: la linea dorada se llena con --progress (0..1, lo pinta SliderView.js) antes de pasar a la siguiente */
.hero__dots button[aria-current="true"] {
    opacity: 1;
    background: linear-gradient(var(--c-gold), var(--c-gold)) left center / calc(var(--progress, 0) * 36px) 2px no-repeat,
                linear-gradient(var(--c-paper), var(--c-paper)) center / 36px 2px no-repeat;
}
.hero__arrow[hidden], .hero__dots:empty { display: none; }
@media (max-width: 719px) { .hero__arrow { display: none; } }

.entries {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: var(--gutter);
    padding: var(--gutter) var(--gutter) 0;
}
.entry {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 0.4em;
    flex-wrap: wrap;
    height: clamp(150px, 22vw, 220px);
    padding: 18px 22px;
    overflow: hidden;
    color: var(--c-paper);
    font: 600 1.875rem/1.1 var(--f-serif);
    text-decoration: none;
    background: #3A2318;
    isolation: isolate;
}
.entry img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.entry::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(46 36 32 / 85%), rgb(46 36 32 / 0%) 70%); }
.entry:hover { color: var(--c-paper); }
.entry:hover img { transform: scale(1.04); }
.entry small { font: 600 0.75rem/1.6 var(--f-sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-gold); }

.story {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    align-items: center;
    gap: clamp(40px, 6vw, 72px);
}
.story__media { position: relative; min-height: clamp(420px, 50vw, 560px); }
.story__media > img:first-child {
    width: 78%;
    height: clamp(380px, 44vw, 500px);
    object-fit: cover;
    object-position: 40% 50%;
    border-radius: var(--arch);
}
.story__media figcaption {
    position: absolute;
    left: 14px;
    top: clamp(350px, 40.5vw, 470px);
    font-size: 0.6875rem;
    color: var(--c-paper);
    text-shadow: 0 1px 2px rgb(0 0 0 / 60%);
}
.story__badge {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 46%;
    padding: clamp(20px, 3vw, 36px) clamp(14px, 2vw, 28px);
    background: var(--c-paper);
    outline: 1px solid var(--c-line);
    outline-offset: -10px;
    box-shadow: 0 0 0 10px var(--c-paper);
}
.story__text { display: grid; gap: 22px; }
.story__text p, .lead { font-size: 1.0625rem; color: var(--c-cocoa-soft); }

.dishes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 40px 28px;
    width: 100%;
}
.dish { display: grid; justify-items: center; align-content: start; gap: 12px; text-align: center; }
.dish img { width: 100%; max-width: 320px; height: clamp(240px, 64vw, 320px); object-fit: cover; border-radius: var(--arch); margin-bottom: 8px; }
.dish p { max-width: 260px; font-size: 0.9375rem; color: #5A4A3F; }
.dish__price { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.12em; color: var(--c-clay); }

.band {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    align-items: center;
    justify-items: center;
    gap: 40px 56px;
    margin: 0 var(--gutter);
    padding: clamp(64px, 9vw, 104px) var(--pad);
    color: var(--c-paper);
    background: linear-gradient(rgb(46 36 32 / 58%), rgb(46 36 32 / 58%)), url("/img/home/slide-barra-1920.webp") center / cover #3A2318;
}
.band__motto {
    padding: 26px 34px;
    background: var(--c-paper);
    color: var(--c-cocoa);
    font: 400 clamp(2rem, 1.6rem + 1.4vw, 2.6rem)/1.15 var(--f-script);
    text-align: center;
}
.band__text { display: grid; gap: 16px; max-width: 500px; }
.band__text p { font-size: 1.0625rem; color: #EFE6D8; }
.band__text a { color: var(--c-paper); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; }

.visit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    align-items: center;
    gap: 48px 56px;
}
.visit__text { display: grid; gap: 18px; }
.visit__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.facts {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 12px 20px;
    padding: clamp(24px, 4vw, 36px);
    background: var(--c-paper);
}
.facts dd { overflow-wrap: anywhere; }
@media (max-width: 479px) {
    .facts { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .facts dd { margin-bottom: 12px; }
}
.facts dt { padding-top: 3px; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-muted); }
.facts__share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 8px; font-size: 0.875rem; }
.facts__share-btn { font: inherit; font-size: 0.8125rem; padding: 6px 14px; border: 1px solid var(--c-clay); border-radius: 999px;
    background: none; color: var(--c-clay); cursor: pointer; }
.facts__share-btn:hover, .facts__share-btn:focus-visible { background: var(--c-clay); color: #fff; }

/* 7 - carta */
.menu-nav {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    justify-content: safe center;
    gap: 0 28px;
    margin: 0 var(--gutter);
    padding: 0 var(--gutter);
    overflow-x: auto;
    scrollbar-width: none;
    background: var(--c-sand);
    border-bottom: 1px solid var(--c-line);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
}
.menu-nav::-webkit-scrollbar { display: none; }
.menu-nav a { padding: 14px 0; color: var(--c-cocoa); text-decoration: none; }
.menu-nav a:hover { color: var(--c-clay); }

.menu-sections { display: grid; gap: var(--space); }
.menu-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    align-items: start;
    gap: 40px 56px;
}
.menu-section .menu-list { grid-column: 1 / -1; }
.menu-section__photo { display: none; }
@media (min-width: 960px) {
    .menu-section__photo { display: block; width: 100%; height: 360px; object-fit: cover; border-radius: 160px 160px 0 0; }
    .menu-section { grid-template-columns: 320px 1fr; }
    .menu-section .heading { position: sticky; top: 72px; min-width: 0; }
    .menu-section .heading h2 { font-size: clamp(2.25rem, 3.4vw, 2.75rem); line-height: 1.05; }
    .menu-section .menu-list { grid-column: 2; grid-row: 1 / span 2; }
}

/* aviso en la carta: no todos los platos estan publicados; invita a llamar o escribir */
.menu-note {
    justify-self: center;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: clamp(28px, 4vw, 48px) var(--pad);
    background: var(--c-paper);
    border-top: 3px solid var(--c-clay);
    text-align: center;
}
.menu-note .lead { margin-inline: auto; }
.menu-note__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 24px 0 0; }

.cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 72px var(--pad);
    color: var(--c-linen);
    background: var(--c-indigo);
}
.cta .heading p { color: var(--c-gold); }
.cta h2 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.75rem); }

/* 8 - páginas interiores */
.about { display: grid; gap: var(--space); }
.about__block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    align-items: center;
    gap: 40px 64px;
}
.about__block img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--arch); }
.about__block:nth-child(even) img { order: 1; }
.about__block > div { display: grid; gap: 18px; }

.events {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 24px;
    width: 100%;
    counter-reset: event;
}
.event {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 36px 24px;
    background: var(--c-paper);
    border-top: 3px solid var(--c-clay);
    counter-increment: event;
}
.event::before {
    content: counter(event, decimal-leading-zero);
    font: 500 1.5rem/1 var(--f-serif);
    color: var(--c-oak);
}
.event p { color: #5A4A3F; }
.event__link { display: grid; gap: 10px; color: inherit; text-decoration: none; }
.event:hover, .event:focus-within { background: var(--c-sand); }
.event__link:focus-visible { outline: 2px solid var(--c-clay); outline-offset: 4px; }

.contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    align-items: start;
    gap: 48px 56px;
}
.form {
    display: grid;
    gap: 20px;
    padding: clamp(24px, 4vw, 36px);
    background: var(--c-paper);
}
.form label {
    display: grid;
    gap: 6px;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-muted);
}
.form input, .form textarea {
    min-height: 44px;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid var(--c-oak);
    border-radius: 0;
    background: transparent;
    color: var(--c-cocoa);
    font-size: 1rem;
    letter-spacing: normal;
    text-transform: none;
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible { outline: 0; border-bottom: 2px solid var(--c-clay); }
.form .btn { justify-self: start; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.map { width: 100%; height: 420px; border: 0; margin-top: 8px; filter: sepia(0.25); }

/* 9 - visor de fotos de platos (<dialog> nativo) */
.viewer {
    max-width: min(92vw, 640px);
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--c-paper);
}
.viewer::backdrop { background: rgb(26 20 18 / 88%); }
.viewer img { max-height: 80vh; margin: 0 auto; }
.viewer p { padding: 12px 0; text-align: center; font-size: 0.9375rem; }
.viewer button {
    position: fixed;
    top: 12px;
    right: 12px;
    width: 48px;
    height: 48px;
    border: 0;
    background: none;
    color: var(--c-paper);
    font-size: 2.25rem;
    line-height: 1;
    cursor: pointer;
}

/* hoja del telefono: llamar · compartir · copiar (<dialog>, PhoneSheetView.js) */
.sheet {
    width: min(92vw, 380px);
    padding: 40px 24px 20px;
    border: 0;
    background: var(--c-paper);
    color: var(--c-cocoa);
    box-shadow: var(--shadow-box);
}
.sheet[open] { display: grid; gap: 12px; }
.sheet::backdrop { background: rgb(26 20 18 / 60%); }
.sheet h2 { margin-bottom: 4px; font-size: 2rem; text-align: center; }
.sheet__close {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 44px;
    height: 44px;
    border: 0;
    background: none;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
}
.sheet__status { min-height: 1.6em; font-size: 0.875rem; text-align: center; color: var(--c-muted); }
@media (max-width: 479px) {
    .sheet { width: 100%; max-width: none; margin: auto 0 0; }
}

/* 10 - pie */
.site-footer {
    display: grid;
    gap: 40px;
    padding: 64px var(--pad) 28px;
    color: #E4DCCF;
    background: var(--c-indigo);
    text-align: center;
}
.site-footer { position: relative; }
.site-footer__version { position: absolute; right: 1rem; bottom: .5rem; font-size: .7rem; opacity: .55; }
.site-footer__brand { display: grid; justify-items: center; gap: 8px; }
.site-footer__brand img { width: auto; height: 84px; }
.site-footer__brand p { font: 400 1.875rem/1.2 var(--f-script); color: var(--c-gold); }
.site-footer__cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    font-size: 0.9375rem;
}
.site-footer__cols h2 {
    margin-bottom: 6px;
    font: 400 0.75rem/1.6 var(--f-sans);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-gold);
}
.site-footer a { color: var(--c-paper); }
.site-footer__cols ul { display: grid; gap: 4px; }
.site-footer address { font-style: normal; }
.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding-top: 22px;
    border-top: 1px solid rgb(251 247 241 / 25%);
    font-size: 0.8125rem;
    text-align: left;
}

/* 11 - accesibilidad y movimiento */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 10; padding: 10px 16px; background: var(--c-cocoa); color: var(--c-paper); }
.skip-link:focus { top: 8px; color: var(--c-paper); }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
@media print {
    body { padding: 0; background: none; }
    .site { box-shadow: none; }
    .site-nav, .menu-nav, .hero__arrow, .hero__dots, .cta, .map { display: none; }
}
