/* =========================================================
   ROTONDA DE PEÑARANDA — Editorial restaurant theme
   Multi-page version
   ========================================================= */

:root {
    /* Palette */
    --burgundy: #5C1A24;
    --burgundy-deep: #3D0F18;
    --burgundy-soft: #7A2632;
    --cream: #F5EDE0;
    --cream-soft: #FAF5EC;
    --gold: #B89263;
    --gold-soft: #D4B98D;
    --gold-deep: #8F6F47;
    --charcoal: #1A1612;
    --charcoal-soft: #251F18;
    --ink: #2A211B;
    --muted: #8A7E70;
    --line: rgba(58, 38, 28, 0.12);
    --line-dark: rgba(58, 38, 28, 0.2);
    --line-light: rgba(255, 255, 255, 0.12);

    /* Type */
    --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* Layout */
    --max: 1240px;
    --max-narrow: 880px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);
    --radius: 2px;
    --radius-lg: 6px;

    /* Motion */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--cream-soft);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    opacity: 0;
    transition: opacity .6s var(--ease);
}
body.is-loaded { opacity: 1; }

img { max-width: 100%; display: block; background: linear-gradient(135deg, var(--cream-soft), var(--cream)); }

/* Missing-image fallback — keeps layout intact when a file isn't found */
img.img--missing {
    object-fit: contain;
    padding: 1rem;
    color: var(--muted);
    font-family: var(--font-display);
    font-style: italic;
    font-size: .9rem;
    text-align: center;
    background:
        repeating-linear-gradient(45deg, transparent 0 12px, rgba(184,146,99,.05) 12px 24px),
        linear-gradient(135deg, var(--cream-soft), var(--cream));
    border: 1px dashed rgba(184,146,99,.4);
}

a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--burgundy); }

::selection { background: var(--burgundy); color: var(--cream); }

/* Skip to content */
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 200; background: var(--cream); padding: .5rem 1rem; }

/* ===== Layout helpers ===== */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: var(--max-narrow); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(4rem, 9vw, 8rem) 0; }
.section--sm { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--dark { background: var(--charcoal); color: var(--cream); }
.section--cream { background: var(--cream); }
.section--burgundy { background: var(--burgundy); color: var(--cream); }

.section__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__sub { color: var(--muted); font-size: 1.05rem; margin-top: .75rem; max-width: 640px; }
.section__sub.center { margin-left: auto; margin-right: auto; }

.center { text-align: center; }
.muted { color: var(--muted); }

/* ===== Typography ===== */
.eyebrow {
    font-family: var(--font-body);
    font-size: .78rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1.25rem;
}
.eyebrow.center { display: block; }

.display {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.4rem, 5.5vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.section--dark .display, .section--burgundy .display { color: var(--cream); }
.display em { font-style: italic; color: var(--burgundy); font-weight: 400; }
.section--dark .display em, .section--burgundy .display em { color: var(--gold-soft); }

.lead {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.3rem, 2.2vw, 1.65rem);
    color: var(--burgundy);
    margin: 1.5rem 0 1.75rem;
    line-height: 1.4;
}
.section--dark .lead, .section--burgundy .lead { color: var(--gold-soft); }

blockquote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.25rem;
    line-height: 1.5;
    padding: 1.5rem 0 1.5rem 1.75rem;
    border-left: 2px solid var(--gold);
    margin-top: 2rem;
    color: var(--ink);
}
.section--dark blockquote, .section--burgundy blockquote { color: var(--cream); }

p + p { margin-top: 1rem; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 1rem 1.75rem;
    font-family: var(--font-body);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all .35s var(--ease);
    text-align: center;
}
.btn--primary {
    background: var(--burgundy);
    color: var(--cream);
}
.btn--primary:hover { background: var(--burgundy-deep); color: var(--cream); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(92,26,36,.35); }
.btn--ghost {
    background: transparent;
    color: var(--cream);
    border-color: rgba(255,255,255,.5);
}
.btn--ghost:hover { background: var(--cream); color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: var(--burgundy); color: var(--cream); }
.btn--gold { background: var(--gold); color: var(--charcoal); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-soft); color: var(--charcoal); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--cream); }
.btn--block { width: 100%; }
.btn--sm { padding: .65rem 1.2rem; font-size: .72rem; }

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.25rem 0;
    transition: all .4s var(--ease);
    background: transparent;
}
.nav.is-scrolled {
    background: rgba(26, 22, 18, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: .75rem 0;
    box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
/* On interior pages (no hero) — solid by default */
body.has-subhero .nav { background: rgba(26, 22, 18, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

.nav__container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.nav__brand {
    display: flex;
    align-items: center;
    color: var(--cream);
    flex-shrink: 0;
}
.nav__brand:hover { color: var(--cream); }

.nav__logo {
    height: 48px;
    width: auto;
    display: block;
    background: transparent;
    /* logo es negro → lo paso a crema cálido para que destaque sobre la nav oscura */
    filter: brightness(0) invert(1) sepia(35%) saturate(180%) hue-rotate(355deg) brightness(.96);
    transition: filter .35s var(--ease), transform .35s var(--ease);
}
.nav.is-scrolled .nav__logo,
body.has-subhero .nav__logo { height: 42px; }
.nav__brand:hover .nav__logo { transform: scale(1.03); filter: brightness(0) invert(1); }

@media (max-width: 560px) {
    .nav__logo { height: 38px; }
    .nav.is-scrolled .nav__logo,
    body.has-subhero .nav__logo { height: 34px; }
}

.nav__links {
    display: flex;
    gap: 1.5rem;
}
.nav__links a {
    color: var(--cream);
    font-size: .76rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    position: relative;
    padding: .5rem 0;
    white-space: nowrap;
}
.nav__links a::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width .35s var(--ease);
}
.nav__links a:hover { color: var(--gold-soft); }
.nav__links a:hover::after,
.nav__links a.is-current::after { width: 100%; }
.nav__links a.is-current { color: var(--gold-soft); }

.nav__cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1rem;
    border: 1px solid var(--gold);
    border-radius: var(--radius);
    color: var(--gold);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    transition: all .3s var(--ease);
    white-space: nowrap;
}
.nav__cta:hover { background: var(--gold); color: var(--charcoal); }

.nav__toggle {
    display: none;
    background: none; border: none;
    width: 32px; height: 32px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 0;
}
.nav__toggle span {
    height: 1.5px;
    background: var(--cream);
    transition: all .3s var(--ease);
}

@media (max-width: 1180px) {
    .nav__links { gap: 1.1rem; }
    .nav__links a { font-size: .72rem; }
}
@media (max-width: 1050px) {
    .nav__links {
        position: fixed;
        top: 0; right: 0;
        width: min(85vw, 380px);
        height: 100vh;
        background: var(--charcoal);
        flex-direction: column;
        justify-content: center;
        gap: 1.75rem;
        padding: 2rem;
        transform: translateX(100%);
        transition: transform .45s var(--ease);
        box-shadow: -10px 0 40px rgba(0,0,0,.3);
    }
    .nav__links.is-open { transform: translateX(0); }
    .nav__links a { font-size: 1rem; }
    .nav__cta { display: none; }
    .nav__toggle { display: flex; }
    .nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
    .nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* =========================================================
   HERO (home)
   ========================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    overflow: hidden;
    isolation: isolate;
}

.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.6s var(--ease), transform 8s linear;
    transform: scale(1.05);
}
.hero__slide.is-active { opacity: 1; transform: scale(1.12); }

.hero__veil {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(26,22,18,.55) 0%, rgba(26,22,18,.35) 40%, rgba(26,22,18,.85) 100%),
        radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,.4) 100%);
}

.hero__content {
    text-align: center;
    padding: 9rem var(--gutter) 7rem;
    max-width: 900px;
    animation: heroIn 1.4s var(--ease) both;
}

.hero__eyebrow {
    font-size: .78rem;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: var(--gold-soft);
    font-weight: 500;
    display: inline-block;
    padding: .5rem 1.25rem;
    border: 1px solid rgba(212, 185, 141, .35);
    border-radius: 50px;
    margin-bottom: 2rem;
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 0.95;
    margin-bottom: 2rem;
}
.hero__title-line {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-style: italic;
    color: var(--gold-soft);
    margin-bottom: .5rem;
    font-weight: 300;
}
.hero__title-name {
    display: block;
    font-size: clamp(3rem, 9vw, 7rem);
    letter-spacing: -0.015em;
    font-weight: 500;
    text-shadow: 0 4px 30px rgba(0,0,0,.5);
}
.hero__title-amp {
    font-style: italic; font-weight: 300;
    color: var(--gold-soft);
    margin: 0 .35em;
    font-size: .7em;
    vertical-align: middle;
}

.hero__tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(245, 237, 224, .85);
    margin-bottom: 2.75rem;
}

.hero__actions {
    display: flex; gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 2rem; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column;
    align-items: center; gap: .75rem;
    color: var(--gold-soft);
}
.hero__scroll span {
    width: 1px; height: 50px;
    background: var(--gold-soft);
    animation: scrollLine 2s ease-in-out infinite;
    transform-origin: top;
}
.hero__scroll small {
    font-size: .65rem;
    letter-spacing: .3em;
    text-transform: uppercase;
}

@keyframes heroIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollLine {
    0%, 100% { transform: scaleY(.3); opacity: .4; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* =========================================================
   SUBHERO (interior pages)
   ========================================================= */
.subhero {
    position: relative;
    min-height: 60vh;
    padding: 11rem 0 5rem;
    display: flex;
    align-items: center;
    color: var(--cream);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    isolation: isolate;
}
.subhero::after {
    content: '';
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(26,22,18,.65) 0%, rgba(26,22,18,.5) 50%, rgba(26,22,18,.85) 100%);
}

.subhero__content { max-width: 800px; }
.subhero__crumbs {
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-bottom: 1.5rem;
}
.subhero__crumbs a { color: var(--gold-soft); opacity: .7; }
.subhero__crumbs a:hover { opacity: 1; color: var(--gold-soft); }
.subhero__crumbs span { margin: 0 .5rem; opacity: .5; }

.subhero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.015em;
    margin-bottom: 1.25rem;
}
.subhero__title em { font-style: italic; color: var(--gold-soft); font-weight: 400; }

.subhero__desc {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(245, 237, 224, .85);
    max-width: 600px;
}

/* =========================================================
   INTRO
   ========================================================= */
.intro__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: start;
}
@media (max-width: 880px) { .intro__grid { grid-template-columns: 1fr; } }

.intro__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.stat {
    background: var(--cream-soft);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: background .3s var(--ease);
}
.stat:hover { background: var(--cream); }
.stat--full { grid-column: 1 / -1; padding: 1.25rem; background: var(--ink); color: var(--cream); }
.stat--full .stat__label { color: var(--gold-soft); font-size: .85rem; }
.stat__num {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 500;
    color: var(--burgundy);
    line-height: 1;
    margin-bottom: .5rem;
}
.stat__label {
    font-size: .78rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--muted);
}

/* =========================================================
   FEATURES
   ========================================================= */
.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
@media (max-width: 880px) { .features__grid { grid-template-columns: 1fr; } }

.feature {
    text-align: center;
    padding: 3rem 2rem;
    border: 1px solid var(--line-light);
    border-radius: var(--radius);
    transition: all .4s var(--ease);
    background: rgba(255,255,255,.02);
}
.feature:hover {
    background: rgba(184, 146, 99, 0.06);
    border-color: var(--gold-soft);
    transform: translateY(-6px);
}
.feature__icon {
    width: 64px; height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--gold);
}
.feature__icon svg { width: 100%; height: 100%; }
.feature h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: .85rem;
    color: var(--cream);
}
.feature p { color: rgba(245, 237, 224, .7); }
.feature__link {
    display: inline-block;
    margin-top: 1.25rem;
    color: var(--gold);
    font-size: .82rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    font-weight: 600;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
}
@media (max-width: 880px) { .about__grid { grid-template-columns: 1fr; } }

.about__img {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: 0 30px 60px rgba(0,0,0,.15);
}
.about__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.5s var(--ease);
}
.about__img:hover img { transform: scale(1.05); }
.about__img figcaption {
    position: absolute;
    bottom: 1.25rem; left: 1.25rem;
    background: var(--cream);
    padding: .6rem 1rem;
    font-size: .75rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--burgundy);
    font-weight: 600;
}

.about__text p { margin: 1rem 0; }
.about__text em { color: var(--burgundy); font-style: italic; }
.about__signature {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--muted);
    margin-top: 2rem !important;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

/* =========================================================
   TIMELINE
   ========================================================= */
.timeline {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding-left: 2.5rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: .5rem; top: .5rem; bottom: .5rem;
    width: 1px;
    background: linear-gradient(180deg, var(--gold), transparent);
}
.timeline__item {
    position: relative;
    padding-bottom: 3rem;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
    content: '';
    position: absolute;
    left: -2.5rem; top: .5rem;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--cream-soft);
    border: 2px solid var(--gold);
}
.timeline__year {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--burgundy);
    font-weight: 500;
    margin-bottom: .5rem;
}
.timeline__title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: .5rem;
    color: var(--ink);
    font-weight: 600;
}

/* =========================================================
   TEAM
   ========================================================= */
.team__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}
.team__card { text-align: center; }
.team__photo {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
    background: var(--cream);
    position: relative;
}
.team__photo img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1s var(--ease), filter .5s var(--ease);
    filter: grayscale(40%);
}
.team__card:hover .team__photo img { transform: scale(1.05); filter: grayscale(0); }
.team__placeholder {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
    background:
        radial-gradient(ellipse at top left, rgba(184,146,99,.15), transparent 60%),
        linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-deep) 100%);
    display: grid;
    place-items: center;
    color: var(--gold-soft);
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 500;
    letter-spacing: .05em;
    position: relative;
    overflow: hidden;
    transition: transform .6s var(--ease);
}
.team__placeholder::before {
    content: '';
    position: absolute;
    inset: 1rem;
    border: 1px solid rgba(212,185,141,.3);
    border-radius: var(--radius);
    pointer-events: none;
}
.team__card:hover .team__placeholder { transform: scale(1.02); }
.team__name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ink);
}
.team__role {
    font-size: .78rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: .35rem;
}

/* =========================================================
   SPACES (Eventos)
   ========================================================= */
.spaces__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
@media (max-width: 980px) { .spaces__grid { grid-template-columns: 1fr; } }

.space {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: var(--radius);
    isolation: isolate;
    cursor: pointer;
}
.space img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1.2s var(--ease);
}
.space:hover img { transform: scale(1.08); }
.space::after {
    content: '';
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, transparent 30%, rgba(26,22,18,.85) 100%);
}
.space__content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 2;
    padding: 2rem;
    color: var(--cream);
}
.space__name {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: .35rem;
}
.space__cap {
    font-size: .75rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-bottom: .85rem;
}
.space__desc { font-size: .95rem; color: rgba(245, 237, 224, .85); }

/* =========================================================
   EVENT TYPES
   ========================================================= */
.events__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    list-style: none;
}
.events__list li {
    padding: 1.5rem;
    background: var(--cream);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius);
    transition: all .3s var(--ease);
}
.events__list li:hover {
    background: #fff;
    transform: translateX(4px);
    box-shadow: 0 12px 30px rgba(0,0,0,.05);
}
.events__list h4 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--burgundy);
    margin-bottom: .35rem;
}
.events__list p { font-size: .92rem; color: var(--muted); }

/* =========================================================
   MENU
   ========================================================= */
.menu__tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
    margin-bottom: 3.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
}
.menu__tab {
    background: none;
    border: 1px solid transparent;
    padding: .65rem 1.2rem;
    font-family: var(--font-body);
    font-size: .78rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    border-radius: 50px;
    transition: all .3s var(--ease);
}
.menu__tab:hover { color: var(--burgundy); }
.menu__tab.is-active {
    background: var(--ink);
    color: var(--cream);
    border-color: var(--ink);
}

.menu__panel { display: none; animation: fadeUp .5s var(--ease); }
.menu__panel.is-active { display: block; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu__panel-head {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--line);
}
.menu__panel-head h3 {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 500;
    color: var(--burgundy);
    margin-bottom: .75rem;
}
.price-tag {
    display: inline-block;
    background: var(--burgundy);
    color: var(--cream);
    padding: .5rem 1.25rem;
    font-size: .82rem;
    letter-spacing: .15em;
    border-radius: 50px;
    font-weight: 600;
}

.menu__cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}
@media (max-width: 880px) { .menu__cols { grid-template-columns: 1fr; gap: 2.5rem; } }
.menu__col h4 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--ink);
    margin-bottom: 1.25rem;
    font-weight: 600;
}
.menu__col h4 small { font-style: italic; color: var(--muted); font-weight: 400; font-size: .85rem; }

.menu__group { margin-bottom: 3rem; }
.menu__group:last-child { margin-bottom: 0; }
.menu__group-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--burgundy);
    margin-bottom: 1.5rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--line);
    font-weight: 500;
    font-style: italic;
}

.dish-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}
.dish-list li {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    padding: .85rem 0;
    border-bottom: 1px dotted var(--line);
}
.dish-list li:last-child { border-bottom: none; }
.dish-list li > span:first-child {
    font-size: 1.02rem;
    color: var(--ink);
}
.dish-list em { font-style: italic; color: var(--muted); font-size: .9em; }
.dish-list .dots {
    flex: 1;
    border-bottom: 1px dotted var(--line);
    margin: 0 .25rem;
    transform: translateY(-4px);
}
.dish-list .price {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--burgundy);
    white-space: nowrap;
}

.dish-list--simple li { display: block; border: none; padding: .5rem 0; position: relative; padding-left: 1.25rem; }
.dish-list--simple li::before {
    content: '';
    position: absolute;
    left: 0; top: 1.1rem;
    width: 6px; height: 1px;
    background: var(--gold);
}

.dish-note { color: var(--muted); font-style: italic; }

.menu__cta {
    text-align: center;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--line);
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2px;
    background: var(--ink);
}
@media (max-width: 880px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery__item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
}
.gallery__item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease), filter .5s var(--ease);
    filter: grayscale(20%) brightness(.85);
}
.gallery__item:hover img { transform: scale(1.08); filter: grayscale(0) brightness(1); }
.gallery__item figcaption {
    position: absolute;
    inset: 0;
    display: grid; place-items: center;
    color: var(--cream);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    background: rgba(26,22,18,.45);
    opacity: 0;
    transition: opacity .4s var(--ease);
}
.gallery__item:hover figcaption { opacity: 1; }

/* Gallery PAGE — masonry grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    grid-auto-flow: dense;
}
.gallery-grid__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 4/5;
    cursor: pointer;
    background: var(--cream);
}
.gallery-grid__item--wide { grid-column: span 2; aspect-ratio: 8/5; }
.gallery-grid__item--tall { grid-row: span 2; aspect-ratio: 4/10; }
@media (max-width: 600px) {
    .gallery-grid__item--wide,
    .gallery-grid__item--tall { grid-column: span 1; grid-row: span 1; aspect-ratio: 1; }
}
.gallery-grid__item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}
.gallery-grid__item:hover img { transform: scale(1.06); }
.gallery-grid__item::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.4) 100%);
    opacity: 0;
    transition: opacity .3s var(--ease);
}
.gallery-grid__item:hover::after { opacity: 1; }

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
    margin-bottom: 3rem;
}
.gallery-filter {
    background: none;
    border: 1px solid var(--line-dark);
    padding: .5rem 1.1rem;
    font-family: inherit;
    font-size: .75rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--muted);
    cursor: pointer;
    border-radius: 50px;
    transition: all .3s var(--ease);
}
.gallery-filter:hover { color: var(--burgundy); border-color: var(--burgundy); }
.gallery-filter.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.gallery-grid__item.is-hidden { display: none; }

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(10, 8, 6, 0.96);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    cursor: zoom-out;
}
.lightbox.is-open { display: flex; animation: fadeIn .3s var(--ease); }
.lightbox img {
    max-width: 100%; max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius);
}
.lightbox__close {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    width: 44px; height: 44px;
    background: none; border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 1.5rem; cursor: pointer;
    border-radius: 50%;
    transition: all .3s var(--ease);
}
.lightbox__close:hover { background: var(--gold); color: var(--charcoal); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* =========================================================
   RESERVE
   ========================================================= */
.reserve__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
}
@media (max-width: 880px) { .reserve__grid { grid-template-columns: 1fr; } }

.reserve__intro p { color: rgba(245, 237, 224, .85); }
.reserve__notes { list-style: none; margin: 2rem 0; }
.reserve__notes li {
    padding: 1rem 0 1rem 1.75rem;
    position: relative;
    color: rgba(245, 237, 224, .85);
    border-bottom: 1px solid var(--line-light);
    font-size: .95rem;
}
.reserve__notes li::before {
    content: '';
    position: absolute;
    left: 0; top: 1.4rem;
    width: 12px; height: 1px;
    background: var(--gold);
}
.reserve__notes strong { color: var(--gold-soft); }

.reserve__phone {
    display: inline-flex;
    flex-direction: column;
    margin-top: 1.5rem;
    padding: 1.25rem 1.75rem;
    border: 1px solid var(--gold);
    color: var(--cream);
}
.reserve__phone small {
    font-size: .7rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-bottom: .35rem;
}
.reserve__phone strong {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--cream);
}
.reserve__phone:hover { background: var(--gold); color: var(--charcoal); }
.reserve__phone:hover small, .reserve__phone:hover strong { color: var(--charcoal); }

.reserve__form {
    background: var(--cream);
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: var(--radius);
    box-shadow: 0 30px 80px rgba(0,0,0,.3);
    color: var(--ink);
}

/* Form fields */
.field { margin-bottom: 1.25rem; }
.field label {
    display: block;
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: .5rem;
}
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: .85rem 1rem;
    border: 1px solid var(--line);
    background: var(--cream-soft);
    font-family: var(--font-body);
    font-size: .95rem;
    color: var(--ink);
    border-radius: var(--radius);
    transition: all .25s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--burgundy);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(92,26,36,.1);
}
.field textarea { resize: vertical; min-height: 90px; }

.field-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.field-row .field { margin-bottom: 0; }

.form__success {
    margin-top: 1rem;
    padding: .85rem 1rem;
    background: rgba(184, 146, 99, .15);
    color: var(--burgundy);
    border-left: 3px solid var(--gold);
    font-size: .9rem;
    font-weight: 500;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: clamp(2rem, 5vw, 4rem);
}
@media (max-width: 880px) { .contact__grid { grid-template-columns: 1fr; } }

.contact__block {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--line);
}
.contact__block:first-child { padding-top: 0; }
.contact__block h4 {
    font-size: .72rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .65rem;
    font-weight: 600;
}
.contact__block p {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--ink);
    line-height: 1.5;
}
.contact__block a { color: var(--burgundy); }
.contact__block a:hover { color: var(--burgundy-deep); }

.contact__form {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}

.contact__map {
    height: 100%;
    min-height: 480px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,.12);
    border: 1px solid var(--line);
}
.contact__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(20%); }

/* How to arrive */
.arrive__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}
.arrive__card {
    padding: 2rem;
    background: var(--cream);
    border-radius: var(--radius);
    text-align: center;
}
.arrive__icon {
    width: 48px; height: 48px;
    margin: 0 auto 1rem;
    color: var(--burgundy);
}
.arrive__card h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: .5rem;
}
.arrive__card p { font-size: .92rem; color: var(--muted); }

/* =========================================================
   BLOG
   ========================================================= */
.blog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    transition: all .4s var(--ease);
    border: 1px solid var(--line);
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0,0,0,.08);
}
.blog-card__img {
    aspect-ratio: 16/10;
    overflow: hidden;
}
.blog-card__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}
.blog-card:hover .blog-card__img img { transform: scale(1.06); }
.blog-card__body { padding: 2rem; flex: 1; display: flex; flex-direction: column; }
.blog-card__meta {
    display: flex; gap: 1rem;
    font-size: .72rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}
.blog-card__title {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--ink);
    margin-bottom: .75rem;
}
.blog-card__excerpt { color: var(--muted); font-size: .95rem; flex: 1; }
.blog-card__link {
    margin-top: 1.25rem;
    color: var(--burgundy);
    font-size: .78rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    font-weight: 600;
}

/* Article (single post) */
.article {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 5rem) var(--gutter);
}
.article__meta {
    display: flex;
    gap: 1rem;
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}
.article h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    color: var(--ink);
}
.article__lead {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.4rem;
    line-height: 1.5;
    color: var(--burgundy);
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--line);
}
.article__cover {
    margin: 0 0 3rem;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16/9;
}
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.article__body { font-size: 1.08rem; line-height: 1.8; }
.article__body p { margin: 1.25rem 0; }
.article__body h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    margin: 3rem 0 1rem;
    color: var(--burgundy);
}
.article__body h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
}
.article__body blockquote {
    font-size: 1.5rem;
    margin: 2.5rem 0;
    padding: 0 0 0 2rem;
}
.article__body ul, .article__body ol { margin: 1.25rem 0 1.25rem 1.5rem; }
.article__body li { margin: .5rem 0; }

.article__author {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.article__avatar {
    width: 64px; height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--cream);
}
.article__avatar img { width: 100%; height: 100%; object-fit: cover; }
.article__avatar--brand {
    background: var(--burgundy);
    color: var(--gold-soft);
    display: grid; place-items: center;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    border: 1px solid var(--gold);
}
.article__author strong { font-family: var(--font-display); font-size: 1.15rem; display: block; }
.article__author span { color: var(--muted); font-size: .85rem; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { max-width: 760px; margin: 0 auto; }
.faq__item {
    border-bottom: 1px solid var(--line);
}
.faq__q {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 0;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink);
    transition: color .25s var(--ease);
}
.faq__q:hover { color: var(--burgundy); }
.faq__q-icon {
    width: 24px; height: 24px;
    position: relative;
    flex-shrink: 0;
    color: var(--gold);
}
.faq__q-icon::before,
.faq__q-icon::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 14px; height: 1.5px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform .3s var(--ease);
}
.faq__q-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__q-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease);
    color: var(--muted);
}
.faq__a-inner { padding: 0 0 1.5rem; line-height: 1.7; }

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner {
    position: relative;
    padding: clamp(4rem, 8vw, 6rem) 0;
    background-image: linear-gradient(rgba(26,22,18,.7), rgba(26,22,18,.85)), url('images/barra-tapas.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--cream);
    text-align: center;
}
.cta-banner h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    margin-bottom: 1rem;
    font-weight: 500;
}
.cta-banner h2 em { font-style: italic; color: var(--gold-soft); font-weight: 400; }
.cta-banner p {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(245, 237, 224, .85);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    background: var(--charcoal);
    color: rgba(245, 237, 224, .75);
    padding: 5rem 0 1.5rem;
}
.footer__top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--line-light);
}
@media (max-width: 880px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; } .footer__col--brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }

.footer__brand { display: inline-block; margin-bottom: 1rem; }
.footer__logo {
    height: 52px;
    width: auto;
    background: transparent;
    filter: brightness(0) invert(1) sepia(35%) saturate(180%) hue-rotate(355deg) brightness(.96);
    transition: filter .35s var(--ease);
}
.footer__brand:hover .footer__logo { filter: brightness(0) invert(1); }
.footer__tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1rem;
    color: var(--gold-soft);
    margin-bottom: 1rem;
}
.footer__about { font-size: .9rem; line-height: 1.6; color: rgba(245, 237, 224, .65); max-width: 320px; }

.footer__col h5 {
    font-size: .72rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
    font-weight: 600;
}
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: .65rem; }
.footer__col a {
    color: rgba(245, 237, 224, .75);
    font-size: .92rem;
}
.footer__col a:hover { color: var(--gold-soft); }
.footer__col address { font-style: normal; font-size: .92rem; line-height: 1.6; margin-bottom: 1.5rem; }
.footer__col address p { margin-bottom: .5rem; }
.footer__hours-title { margin-top: 1.5rem; }
.footer__hours { font-size: .92rem; line-height: 1.6; }
.footer__hours .muted { color: rgba(245, 237, 224, .4); }

.footer__bottom {
    padding-top: 1.5rem;
    margin: 0 var(--gutter);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: .78rem;
    color: rgba(245, 237, 224, .45);
}
.footer__legal a { color: rgba(245, 237, 224, .45); margin: 0 .25rem; }
.footer__legal a:hover { color: var(--gold-soft); }

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    body { opacity: 1; }
}
