/* ==========================================================================
   La Mesa — Mediterranean editorial
   ========================================================================== */

:root {
    --ink: #1d1a16;
    --ink-soft: #4a433b;
    --cream: #f6f0e6;
    --paper: #fbf8f2;
    --sand: #e9dfcf;
    --terracotta: #b5552d;
    --terracotta-deep: #963f1f;
    --olive: #5b6b3a;
    --deep-olive: #1f2a22;
    --deep-olive-2: #27342a;
    --gold: #c9a45c;
    --line: rgba(29, 26, 22, .14);
    --line-light: rgba(246, 240, 230, .16);

    --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
    --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --container: 1200px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);
    --section-y: clamp(4.5rem, 10vw, 8rem);
    --radius: 2px;
    --nav-h: 72px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 899px) {
    :root { --nav-h: 64px; }
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
    scroll-padding-top: calc(var(--nav-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    margin: 0;
    font-variant-numeric: lining-nums;
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.05;
    margin: 0;
    letter-spacing: -.01em;
}

h2 { font-size: clamp(2.25rem, 4.8vw, 3.75rem); }
h2 em, h1 em { font-style: italic; font-weight: 500; }

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

a { color: inherit; }

.icon {
    width: 1.1em;
    height: 1.1em;
    flex: none;
    vertical-align: -.2em;
}

.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 12px; left: 12px;
    z-index: 200;
    padding: .75rem 1.1rem;
    background: var(--ink);
    color: var(--cream);
    font-weight: 500;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform .2s;
}
.skip-link:focus { transform: none; }

:focus-visible {
    outline: 2px solid var(--terracotta);
    outline-offset: 3px;
}
.testimonials :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible,
.reserve-info :focus-visible { outline-color: var(--gold); }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .9rem;
    font-family: var(--sans);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--terracotta-deep);
    margin-bottom: 1.1rem;
}
.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
    opacity: .7;
}
.eyebrow-light { color: var(--gold); }

.section-head {
    max-width: 680px;
    margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.section-head h2 em { color: var(--terracotta); }
.section-head-light h2 { color: var(--cream); }
.section-head-light h2 em { color: var(--gold); }

.lead {
    margin-top: 1.25rem;
    font-size: 1.075rem;
    color: var(--ink-soft);
    max-width: 52ch;
}

/* ---------- Buttons ---------- */
.btn {
    --btn-bg: transparent;
    --btn-fg: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-height: 48px;
    padding: .8rem 1.6rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font: 500 .8rem/1 var(--sans);
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }

.btn-primary { --btn-bg: var(--terracotta); --btn-fg: #fff; }
.btn-primary:hover { --btn-bg: var(--terracotta-deep); }

.btn-ghost {
    --btn-fg: var(--cream);
    border-color: rgba(246, 240, 230, .55);
}
.btn-ghost:hover { --btn-bg: var(--cream); --btn-fg: var(--ink); border-color: var(--cream); }

.btn-outline { border-color: var(--ink); }
.btn-outline:hover { --btn-bg: var(--ink); --btn-fg: var(--cream); }

.btn-sm { min-height: 44px; padding: .65rem 1.2rem; font-size: .72rem; }
.btn-block { width: 100%; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--terracotta-deep);
    text-decoration: none;
    padding-block: .6rem;
}
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header / nav ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: var(--nav-h);
    color: var(--cream);
    transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.scrolled,
.site-header.menu-active {
    background: rgba(246, 240, 230, .9);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
    color: var(--ink);
    box-shadow: 0 1px 0 var(--line);
}

.nav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.logo {
    font-family: var(--serif);
    font-size: 1.85rem;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    letter-spacing: -.01em;
    margin-right: auto;
    padding-block: .5rem;
}
.logo em { font-style: italic; color: var(--gold); }
.scrolled .logo em, .menu-active .logo em { color: var(--terracotta); }

.nav-desktop ul { display: flex; gap: 2.2rem; }
.nav-desktop a {
    position: relative;
    display: inline-block;
    padding-block: .6rem;
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
}
.nav-desktop a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: .35rem;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .35s var(--ease);
}
.nav-desktop a:hover::after,
.nav-desktop a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    margin-right: -10px;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
    position: relative;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
    position: absolute;
    left: 11px;
    width: 22px;
    height: 1.5px;
    background: currentColor;
    transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle-bars { top: 50%; }
.nav-toggle-bars::before { content: ""; left: 0; top: -7px; }
.nav-toggle-bars::after { content: ""; left: 0; top: 7px; width: 14px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { width: 22px; transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 899px) {
    .nav-desktop, .nav-cta { display: none; }
    .nav-toggle { display: block; }
    .logo { font-size: 1.6rem; }
}

/* Mobile menu overlay */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 90;
    padding: calc(var(--nav-h) + 2rem) var(--gutter) 2rem;
    background: var(--cream);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu nav a {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: .85rem 0;
    font-family: var(--serif);
    font-size: clamp(2rem, 9vw, 2.75rem);
    line-height: 1.1;
    text-decoration: none;
}
.mobile-menu nav a span {
    font-family: var(--sans);
    font-size: .75rem;
    letter-spacing: .15em;
    color: var(--terracotta-deep);
}
.mobile-menu-foot { display: grid; gap: 1rem; padding-top: 2rem; }
.mobile-menu-foot .today-hours { font-size: .9rem; color: var(--ink-soft); text-align: center; }

@media (prefers-reduced-motion: no-preference) {
    .mobile-menu:not([hidden]) { animation: menu-in .4s var(--ease); }
    .mobile-menu:not([hidden]) li { animation: fade-up .5s var(--ease) backwards; }
    .mobile-menu li:nth-child(2) { animation-delay: .05s !important; }
    .mobile-menu li:nth-child(3) { animation-delay: .1s !important; }
    .mobile-menu li:nth-child(4) { animation-delay: .15s !important; }
    .mobile-menu li:nth-child(5) { animation-delay: .2s !important; }
}
@keyframes menu-in { from { opacity: 0; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--cream);
    background: var(--deep-olive);
    overflow: hidden;
    isolation: isolate;
}
.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}
.hero-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(20, 18, 14, .55) 0%, rgba(20, 18, 14, .1) 30%, rgba(20, 18, 14, .35) 58%, rgba(20, 18, 14, .92) 100%),
        linear-gradient(90deg, rgba(20, 18, 14, .6) 0%, rgba(20, 18, 14, 0) 70%);
}
.hero-content {
    padding-top: calc(var(--nav-h) + 3rem);
    padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.hero h1 {
    font-size: clamp(4.25rem, 13vw, 10rem);
    font-weight: 500;
    line-height: .88;
    letter-spacing: -.025em;
    margin-left: -.04em;
}
.hero h1 em { color: var(--gold); }
.hero-sub {
    margin-top: 1.4rem;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.35rem, 2.6vw, 1.9rem);
    line-height: 1.3;
    color: rgba(246, 240, 230, .9);
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    margin-top: 2.25rem;
}
.hero-strip {
    border-top: 1px solid var(--line-light);
    background: rgba(20, 18, 14, .35);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.hero-strip-inner {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 2.5rem;
    padding-block: 1.1rem;
    font-size: .88rem;
    color: rgba(246, 240, 230, .85);
}
.hero-strip p { display: flex; align-items: center; gap: .55rem; }
.hero-strip .icon { color: var(--gold); }
.hero-strip a { text-decoration: none; }
.hero-strip a:hover { text-decoration: underline; }

@media (max-width: 599px) {
    .hide-sm { display: none !important; }
    .hero-actions .btn { flex: 1 1 auto; }
    .hero-strip-inner { flex-direction: column; font-size: .84rem; }
    .eyebrow { letter-spacing: .18em; }
}

@media (prefers-reduced-motion: no-preference) {
    .hero-img { animation: hero-zoom 2.4s var(--ease) both; }
    .hero-content > * { animation: fade-up 1s var(--ease) both; }
    .hero-content > :nth-child(2) { animation-delay: .1s; }
    .hero-content > :nth-child(3) { animation-delay: .2s; }
    .hero-content > :nth-child(4) { animation-delay: .3s; }
}
@keyframes hero-zoom { from { transform: scale(1.08); } }

/* ---------- Frames (image hover) ---------- */
.frame {
    position: relative;
    overflow: hidden;
    background: var(--sand);
    border-radius: var(--radius);
}
.frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--ease);
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
    .menu-card:hover .frame img,
    .special:hover .frame img { transform: scale(1.05); }
}

/* ---------- Carta ---------- */
.carta { background: var(--cream); }

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}
.filter {
    min-height: 44px;
    padding: .55rem 1.2rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--ink-soft);
    font: 500 .85rem/1 var(--sans);
    cursor: pointer;
    transition: background-color .25s, color .25s, border-color .25s;
}
.filter { flex: none; }
@media (max-width: 599px) {
    .filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        margin-inline: calc(var(--gutter) * -1);
        padding-inline: var(--gutter);
        scroll-padding-inline: var(--gutter);
    }
    .filters::-webkit-scrollbar { display: none; }
    .filters::after { content: ""; flex: 0 0 1px; }
    .filter { padding-inline: 1rem; }
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
}
.menu-card .frame { aspect-ratio: 4 / 5; }
.card-cat {
    margin-top: 1.25rem;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--olive);
}

.dish-line {
    display: flex;
    align-items: baseline;
    gap: .75rem;
    margin-top: .35rem;
}
.dish-line h3, .dish-line h4 {
    font-size: clamp(1.6rem, 2.4vw, 1.9rem);
    line-height: 1.15;
}
.dish-line h4 { font-size: 1.5rem; }
.leader {
    flex: 1;
    min-width: 1.5rem;
    border-bottom: 1px dotted rgba(29, 26, 22, .45);
    transform: translateY(-.3em);
}
.price {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--terracotta-deep);
    white-space: nowrap;
    font-variant-numeric: lining-nums;
}
.dish-desc {
    margin-top: .4rem;
    color: var(--ink-soft);
    font-size: .95rem;
}

.menu-list-wrap {
    margin-top: clamp(3rem, 6vw, 4.5rem);
    padding: clamp(1.75rem, 4vw, 3rem);
    background: var(--paper);
    border: 1px solid var(--line);
    position: relative;
}
.menu-list-wrap::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(201, 164, 92, .45);
    pointer-events: none;
}
.menu-list-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem 1.5rem;
    padding-bottom: 1.25rem;
    margin-bottom: .5rem;
    border-bottom: 1px solid var(--line);
    position: relative;
}
.menu-list-head h3 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-style: italic;
}
.menu-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 clamp(1.5rem, 3vw, 2.5rem);
    position: relative;
}
.menu-list li { padding-top: 1.25rem; }
.menu-list .dish-line h4 { font-size: clamp(1.3rem, 2vw, 1.5rem); }

/* Filter states */
[data-cat].is-hidden { display: none; }
[data-group].is-empty { display: none; }
@media (prefers-reduced-motion: no-preference) {
    [data-cat].is-entering { animation: fade-up .5s var(--ease) both; }
}

@media (max-width: 899px) {
    .menu-grid { grid-template-columns: repeat(2, 1fr); }
    .menu-list { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
    .menu-grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 78%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--gutter);
        margin-inline: calc(var(--gutter) * -1);
        padding-inline: var(--gutter);
        padding-bottom: .75rem;
        gap: 1rem;
        scrollbar-width: none;
    }
    .menu-grid::-webkit-scrollbar { display: none; }
    .menu-card { scroll-snap-align: start; }
    .menu-grid.is-single { grid-auto-columns: 100%; }
    .dish-line h3 { font-size: 1.5rem; }
    .dish-line h4 { font-size: 1.3rem; }
    .price { font-size: 1.25rem; }
}

/* ---------- Chef ---------- */
.chef {
    background: var(--sand);
    padding-block: var(--section-y);
    position: relative;
    overflow: hidden;
}
.chef::after {
    /* sun / tile motif */
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px solid rgba(181, 85, 45, .25);
    border-color: rgba(181, 85, 45, .35);
    box-shadow: 0 0 0 28px rgba(233, 223, 207, 1), 0 0 0 29px rgba(181, 85, 45, .26), 0 0 0 64px rgba(233, 223, 207, 1), 0 0 0 65px rgba(181, 85, 45, .18), 0 0 0 100px rgba(233, 223, 207, 1), 0 0 0 101px rgba(181, 85, 45, .1);
    pointer-events: none;
}
.chef-inner {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
    gap: clamp(2.5rem, 7vw, 6rem);
    position: relative;
    z-index: 1;
}
.chef-portrait {
    margin: 0;
    position: relative;
    max-width: 380px;
    width: 100%;
    justify-self: center;
}
.chef-portrait::before {
    content: "";
    position: absolute;
    inset: -14px -14px 14px 14px;
    border: 1px solid var(--terracotta);
    border-radius: 999px 999px 0 0;
    opacity: .55;
}
.chef-portrait img {
    position: relative;
    aspect-ratio: 4 / 5;
    width: 100%;
    object-fit: cover;
    border-radius: 999px 999px 0 0;
}
.chef-text h2 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: .95;
}
.chef-text h2 em { color: var(--terracotta); }
.chef-bio {
    margin-top: 1.75rem;
    font-family: var(--serif);
    font-size: clamp(1.35rem, 2.3vw, 1.75rem);
    line-height: 1.45;
    color: var(--ink);
    max-width: 36rem;
}
.ornament {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-top: 2rem;
    color: var(--gold);
}
.ornament::before, .ornament::after {
    content: "";
    height: 1px;
    width: 56px;
    background: currentColor;
}
.ornament span {
    width: 8px; height: 8px;
    transform: rotate(45deg);
    border: 1px solid currentColor;
}

@media (max-width: 767px) {
    .chef-inner { grid-template-columns: 1fr; }
    .chef-portrait { max-width: 320px; }
    .chef::after { width: 260px; height: 260px; right: -110px; top: -90px; }
}

/* ---------- Specials (zig-zag) ---------- */
.specials { background: var(--cream); }
.special {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
}
.special + .special {
    margin-top: clamp(3.5rem, 8vw, 6.5rem);
}
.special-rev .special-img { order: 2; }
.special-img { aspect-ratio: 5 / 4; }
.special-num {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.6rem;
    color: var(--terracotta-deep);
    line-height: 1;
    font-variant-numeric: lining-nums;
}
.special-num span {
    font-family: var(--sans);
    font-style: normal;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--olive);
    padding-left: 1rem;
    border-left: 1px solid var(--line);
}
.special-body h3 {
    margin-top: 1rem;
    font-size: clamp(2.1rem, 4vw, 3rem);
}
.special-body > p:not(.special-num) {
    margin-top: 1.1rem;
    color: var(--ink-soft);
    max-width: 52ch;
}
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1.5rem;
}
.chips li {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .4rem .85rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 500;
    color: var(--ink-soft);
    background: var(--paper);
}
.chips .icon { color: var(--terracotta); }
.special-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}
.pairing {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    font-size: .95rem;
}
.pairing .icon {
    width: 1.5rem; height: 1.5rem;
    color: var(--terracotta);
    margin-top: .1rem;
}
.pairing strong {
    display: block;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--olive);
}
.price-lg { font-size: 2.25rem; line-height: 1; }

@media (max-width: 899px) {
    .special { grid-template-columns: 1fr; gap: 1.75rem; }
    .special-rev .special-img { order: 0; }
}

/* ---------- Testimonials ---------- */
.testimonials {
    background: var(--deep-olive);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}
.testimonials::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(201, 164, 92, .09) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
    mask-image: linear-gradient(180deg, #000, transparent 70%);
    pointer-events: none;
}
.testimonials .container { position: relative; }

.stars { display: inline-flex; gap: .2rem; color: var(--gold); }
.stars .icon { width: 1rem; height: 1rem; }

.quote-featured {
    margin: 0;
    position: relative;
    padding: 0 0 clamp(2.5rem, 5vw, 3.5rem) clamp(0rem, 6vw, 5.5rem);
    border-bottom: 1px solid var(--line-light);
}
.quote-featured::before {
    content: "\201C";
    position: absolute;
    left: -.05em;
    top: -.2em;
    font-family: var(--serif);
    font-size: clamp(7rem, 14vw, 11rem);
    line-height: 1;
    color: var(--gold);
    opacity: .9;
}
.quote-featured blockquote { margin: 1.25rem 0 0; }
.quote-featured blockquote p {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.9rem, 4.2vw, 3.25rem);
    line-height: 1.2;
    max-width: 34ch;
}
.quotes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    padding-top: clamp(2.5rem, 5vw, 3.5rem);
}
.quote { margin: 0; }
.quote blockquote { margin: 1rem 0 0; }
.quote blockquote p {
    font-family: var(--serif);
    font-size: clamp(1.35rem, 2.2vw, 1.65rem);
    line-height: 1.35;
    color: rgba(246, 240, 230, .92);
}
.quote blockquote p::before { content: "\201C"; color: var(--gold); }
.quote blockquote p::after { content: "\201D"; color: var(--gold); }

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}
.author img {
    width: 56px; height: 56px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1px var(--deep-olive), 0 0 0 2px rgba(201, 164, 92, .6);
}
.quote-featured .author img { width: 64px; height: 64px; }
.author span {
    display: flex;
    flex-direction: column;
    font-size: .85rem;
    letter-spacing: .04em;
    color: rgba(246, 240, 230, .72);
}
.author strong {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--cream);
}

@media (max-width: 767px) {
    .quotes { grid-template-columns: 1fr; }
    .quote + .quote { padding-top: 2rem; border-top: 1px solid var(--line-light); }
    .quote-featured { padding-top: 3.5rem; }
    .quote-featured::before { top: -.15em; font-size: 6.5rem; }
}

/* ---------- Reservations ---------- */
.reservations { background: var(--cream); }
.reserve-card {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 30px 60px -30px rgba(29, 26, 22, .25);
}
.reserve-info {
    position: relative;
    padding: clamp(2rem, 5vw, 3.5rem);
    background: var(--deep-olive);
    color: var(--cream);
    overflow: hidden;
}
.reserve-info::after {
    /* arch motif */
    content: "";
    position: absolute;
    right: -40px;
    bottom: -150px;
    width: 200px;
    height: 260px;
    border: 1px solid rgba(201, 164, 92, .22);
    border-radius: 999px 999px 0 0;
    box-shadow: inset 0 0 0 18px var(--deep-olive), inset 0 0 0 19px rgba(201, 164, 92, .18);
    pointer-events: none;
}
.reserve-info > * { position: relative; z-index: 1; }
.reserve-info h2 em { color: var(--gold); }
.reserve-lead {
    margin-top: 1.1rem;
    color: rgba(246, 240, 230, .78);
    max-width: 38ch;
}
.mini-title {
    margin-top: 2.25rem;
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
}
.hours { margin: .75rem 0 0; }
.hours div, .footer-hours div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-block: .7rem;
    border-bottom: 1px solid var(--line-light);
}
.hours dt, .hours dd, .footer-hours dt, .footer-hours dd { margin: 0; }
.hours dd, .footer-hours dd { font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours .is-today dt::after {
    content: "Hoy";
    margin-left: .6rem;
    padding: .1rem .5rem;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--deep-olive);
    background: var(--gold);
    border-radius: 999px;
    vertical-align: .15em;
}
.reserve-contact { margin-top: 2rem; display: grid; gap: .6rem; }
.reserve-contact li { display: flex; align-items: center; gap: .7rem; }
.reserve-contact .icon { color: var(--gold); }
.reserve-contact a { text-decoration: none; padding-block: .3rem; }
.reserve-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }

.reserve-form-wrap { padding: clamp(2rem, 5vw, 3.5rem); }
.reserve-form fieldset {
    border: 0;
    margin: 0 0 1.25rem;
    padding: 0;
    min-width: 0;
}
.reserve-form legend {
    padding: 0;
    margin-bottom: 1rem;
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.5rem;
}
.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.25rem;
}
.field { margin-bottom: 1rem; min-width: 0; }
.field label {
    display: block;
    margin-bottom: .4rem;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.optional { text-transform: none; letter-spacing: 0; font-weight: 400; }
.field input,
.field select,
.field textarea,
.newsletter-row input {
    width: 100%;
    min-height: 48px;
    padding: .7rem .9rem;
    border: 1px solid rgba(29, 26, 22, .22);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
    font: 400 1rem/1.4 var(--sans);
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none;
    appearance: none;
}
.field input[type="date"], .field input[type="time"] { min-width: 0; }
.field select {
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%234a433b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .8rem center;
    background-size: 1.1rem;
}
.field textarea { resize: vertical; min-height: 96px; }
.field ::placeholder { color: #8a8076; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(29, 26, 22, .45); }
.field input:focus, .field select:focus, .field textarea:focus, .newsletter-row input:focus {
    outline: none;
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(181, 85, 45, .22);
}
.field [aria-invalid="true"] { border-color: #b3261e; }
.field-hint { margin-top: .35rem; font-size: .8rem; color: #6b6259; }
.field-error { margin-top: .35rem; font-size: .82rem; font-weight: 500; color: #a3221b; }
.field-error:empty { display: none; }
.demo-note { margin-top: .9rem; font-size: .8rem; color: #6b6259; text-align: center; }

.reserve-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100%;
    padding: 2rem 0;
    gap: .9rem;
}
.reserve-success[hidden] { display: none; }
.reserve-success:focus { outline: none; }
.reserve-success h3 { font-size: 2.4rem; font-style: italic; }
.reserve-success p[data-success-msg] { font-size: 1.05rem; max-width: 40ch; }
.success-icon {
    display: grid;
    place-items: center;
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--olive);
    color: #fff;
}
.success-icon .icon { width: 28px; height: 28px; }
@media (prefers-reduced-motion: no-preference) {
    .reserve-success:not([hidden]) { animation: fade-up .6s var(--ease); }
}

@media (max-width: 899px) {
    .reserve-card { grid-template-columns: 1fr; }
}
@media (max-width: 519px) {
    .field-row { grid-template-columns: 1fr; }
    .reserve-card { margin-inline: calc(var(--gutter) * -1); border-inline: 0; }
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink);
    color: rgba(246, 240, 230, .75);
    font-size: .95rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.25fr 1.35fr;
    gap: 3rem;
    padding-block: clamp(3.5rem, 8vw, 5.5rem);
}
.logo-light { color: var(--cream); font-size: 2.4rem; display: inline-block; }
.footer-brand p { margin: .75rem 0 1.5rem; max-width: 26ch; }
.footer-title {
    margin-bottom: 1.25rem;
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
}
.footer-list { display: grid; gap: .7rem; }
.footer-list li { display: flex; align-items: center; gap: .7rem; }
.footer-list .icon { color: var(--gold); }
.footer-list a, .footer-bottom a { text-decoration: none; color: var(--cream); }
.footer-list a:hover, .footer-bottom a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-hours { margin: 0; }
.footer-hours div { padding-block: .55rem; }
.footer-hours div:first-child { padding-top: 0; }
.footer-hours dd { color: var(--cream); }
.footer-hours dt { white-space: nowrap; }

.newsletter-form { margin-top: 1rem; }
.newsletter-row { display: flex; gap: .5rem; }
.newsletter-row input {
    flex: 1;
    min-width: 0;
    background: rgba(246, 240, 230, .06);
    border-color: rgba(246, 240, 230, .25);
    color: var(--cream);
}
.newsletter-row input::placeholder { color: rgba(246, 240, 230, .55); }
.newsletter-row .btn { padding-inline: 1.1rem; font-size: .72rem; }
.newsletter-msg { margin-top: .6rem; font-size: .85rem; min-height: 1.3em; }
.newsletter-msg.is-error { color: #f0a58f; }
.newsletter-msg.is-ok { color: var(--gold); }

.footer-bottom { border-top: 1px solid var(--line-light); }
.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .5rem 2rem;
    padding-block: 1.5rem;
    font-size: .82rem;
    color: rgba(246, 240, 230, .6);
}

@media (max-width: 999px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 559px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .newsletter-row { flex-direction: column; }
}

/* ---------- Reveal on scroll (only with JS + motion allowed) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .js [data-reveal] {
        opacity: 0;
        transform: translateY(28px);
        transition: opacity .9s var(--ease), transform .9s var(--ease);
        transition-delay: calc(var(--d, 0) * 120ms);
    }
    .js [data-reveal].is-visible {
        opacity: 1;
        transform: none;
    }
}
