/* ═══════════════════════════════════════════════════════════════
   GRÃO NEGRO — main.css v4.1
   Urban bar · Counter-culture DNA · Lisboa
   Palette: near-black · warm off-white · dirty gold · rust red
   Type: Bebas Neue (display) · DM Sans (body) · Syne (UI/labels)
   ═══════════════════════════════════════════════════════════════ */

/* ─── VARS ──────────────────────────────────────────────────────── */
:root {
    --bg:         #000000;
    --surface:    #161616;
    --border:     #252525;
    --text:       #f0ebe3;
    --muted:      #888480;
    --accent:     #d4a843;
    --accent-d:   #b88c30;
    --rust:       #c94b2e;
    --spray:      #4a7c59;

    --ff-display: 'Bebas Neue', Impact, sans-serif;
    --ff-heading: 'DM Sans', system-ui, sans-serif;
    --ff-body:    'DM Sans', system-ui, sans-serif;
    --ff-ui:      'Syne', system-ui, sans-serif;

    --fs-hero:  clamp(4rem, 12vw, 10rem);
    --fs-h1:    clamp(2.5rem, 5vw, 4rem);
    --fs-h2:    clamp(1.8rem, 3vw, 2.5rem);
    --fs-h3:    clamp(1.2rem, 2vw, 1.5rem);
    --fs-body:  clamp(0.95rem, 1.5vw, 1.05rem);
    --fs-small: 0.825rem;
    --fs-label: 0.75rem;

    --track-tight: 0.06em;
    --track-mid:   0.12em;
    --track-wide:  0.20em;

    --max-w: 1200px;
    --nav-h:    64px;
    --banner-h: 28px;
    --ease:     cubic-bezier(0.2, 0, 0.4, 1);
}

/* ─── RESET ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    scroll-padding-top: calc(var(--nav-h) + var(--banner-h));
}

body {
    font-family: var(--ff-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--accent-d); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { background: none; border: none; cursor: pointer; font-family: inherit; }

/* ─── GRAIN OVERLAY ─────────────────────────────────────────────── */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-size: 250px 250px;
}

/* ─── REVEAL ANIMATION ──────────────────────────────────────────── */
[data-reveal], [data-reveal-img] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
[data-reveal].is-visible,
[data-reveal-img].is-visible {
    opacity: 1;
    transform: none;
}

/* ─── BUTTONS ───────────────────────────────────────────────────── */
.btn--primary {
    display: inline-block;
    font-family: var(--ff-ui);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    background: var(--accent);
    color: var(--bg);
    padding: 14px 36px;
    transition: background 0.25s ease, transform 0.15s ease;
}
.btn--primary:hover { background: var(--accent-d); color: var(--bg); }

.btn--ghost {
    display: inline-block;
    font-family: var(--ff-ui);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text);
    border: 1px solid rgba(240,235,227,0.3);
    padding: 13px 35px;
    transition: border-color 0.25s ease, color 0.25s ease;
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn--ghost-sm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ff-ui);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    border: 1px solid var(--border);
    padding: 9px 22px;
    transition: border-color 0.25s ease, color 0.25s ease;
}
.btn--ghost-sm:hover { border-color: var(--accent); color: var(--accent); }

/* ═══════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════ */
/* ─── DEMO BANNER ────────────────────────────────────────────── */
.demo-banner {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 2002;
    background: #000;
    color: rgba(255,255,255,0.65);
    font-family: var(--ff-ui);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-align: center;
    padding: 0.5rem 1rem;
    line-height: 1.4;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transform: translateY(0);
    transition: transform 0.35s cubic-bezier(0.2, 0, 0.4, 1);
}
body.banner-hidden .demo-banner {
    transform: translateY(-100%);
}
body.banner-hidden .nav {
    top: 0;
    transition: background 0.4s ease, height 0.3s ease, box-shadow 0.4s ease, top 0.35s cubic-bezier(0.2, 0, 0.4, 1);
}

.nav {
    position: fixed;
    top: var(--banner-h); left: 0; width: 100%;
    height: var(--nav-h);
    z-index: 2001;
    background: transparent;
    transition: background 0.4s ease, height 0.3s ease, box-shadow 0.4s ease;
}
.nav.is-scrolled {
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
    height: 56px;
}

.nav__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    font-family: var(--ff-display);
    font-size: 1.4rem;
    letter-spacing: 0.06em;
    color: var(--accent);
    line-height: 1;
    transition: opacity 0.2s ease;
}
.nav__logo:hover { color: var(--accent); opacity: 0.8; }

.nav__links {
    display: flex;
    align-items: center;
}

.nav__links-list {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav__link {
    font-family: var(--ff-ui);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(240,235,227,0.6);
    position: relative;
    padding-bottom: 2px;
    transition: color 0.2s ease;
}
.nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width 0.25s var(--ease);
}
.nav__link:hover,
.nav__link.is-active { color: var(--text); }
.nav__link:hover::after,
.nav__link.is-active::after { width: 100%; }

.nav__link--cta {
    color: var(--accent);
    border: 1px solid rgba(212,168,67,0.4);
    padding: 7px 20px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg);
}

/* Burger */
.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}
.nav__burger span {
    display: block;
    width: 22px; height: 1.5px;
    background: var(--text);
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav__burger.is-open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ─── MOBILE OVERLAY ────────────────────────────────────────────── */
.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 120px clamp(2rem, 8vw, 5rem) 80px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.nav-overlay.is-open { opacity: 1; visibility: visible; }

.nav-overlay__close {
    position: absolute;
    top: 20px; right: clamp(1.5rem, 4vw, 2rem);
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
}
.nav-overlay__close span {
    position: absolute;
    display: block;
    width: 20px; height: 1.5px;
    background: var(--muted);
    transition: background 0.2s ease;
}
.nav-overlay__close span:nth-child(1) { transform: rotate(45deg); }
.nav-overlay__close span:nth-child(2) { transform: rotate(-45deg); }
.nav-overlay__close:hover span { background: var(--text); }

.nav-overlay__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-overlay__link {
    font-family: var(--ff-display);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    color: rgba(240,235,227,0.4);
    line-height: 1.15;
    display: flex;
    align-items: baseline;
    gap: 20px;
    transition: color 0.2s ease, padding-left 0.25s var(--ease);
}
.nav-overlay__link::before {
    content: attr(data-idx);
    font-family: var(--ff-ui);
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    color: var(--accent);
    opacity: 0.7;
    flex-shrink: 0;
    font-weight: 400;
}
.nav-overlay__link:hover { color: var(--text); padding-left: 10px; }

.nav-overlay__tagline {
    position: absolute;
    bottom: 32px; left: clamp(2rem, 8vw, 5rem);
    font-family: var(--ff-ui);
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════════
   SECTIONS — SHARED
   ═══════════════════════════════════════════════════════════════ */
.section { padding: 60px 0; }
.galeria  { padding: 40px 0 50px; }
.sobre    { padding: 70px 0; }
.contacto { padding: 0; }
.section__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.section__label {
    font-family: var(--ff-ui);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: rgba(212,168,67,0.65);
    display: block;
    margin-bottom: 16px;
}

.section__h2 {
    font-family: var(--ff-display);
    font-size: var(--fs-h1);
    font-weight: 400;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 24px;
}

.section__sub {
    font-size: var(--fs-body);
    color: var(--muted);
    max-width: 520px;
    line-height: 1.75;
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    height: 100dvh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    /* Cor de fallback visível enquanto a imagem carrega */
    background: #1a1a1a;
}
.hero__bg-img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    filter: saturate(80%);
}

.hero__bg-video {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    filter: saturate(65%) brightness(0.9);
}

@media (prefers-reduced-motion: reduce) {
    .hero__bg-video { animation: none; }
}

/* Gradient overlay por cima da imagem */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.9) 100%);
    /* z-index: 1 coloca o gradient acima da imagem mas abaixo do conteúdo (z-index: 2) */
    z-index: 1;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    max-width: var(--max-w);
    margin: 0 auto;
    width: 100%;
}

.hero__badge {
    font-family: var(--ff-ui);
    font-size: var(--fs-label);
    letter-spacing: var(--track-wide);
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(12px);
    animation: fadeUp 0.6s var(--ease) 0.3s forwards;
}

.hero__title {
    font-family: var(--ff-display);
    font-size: var(--fs-hero);
    line-height: 0.95;
    color: var(--text);
    letter-spacing: 0.02em;
    margin-bottom: 28px;
}

.hero__title-line2 {
    display: block;
    color: var(--accent);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.7s var(--ease) 0.55s forwards;
}


.hero__sub {
    font-size: var(--fs-body);
    color: rgba(240,235,227,0.65);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 44px;
    opacity: 0;
    transform: translateY(12px);
    animation: fadeUp 0.6s var(--ease) 0.8s forwards;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.6s var(--ease) 1s forwards;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: clamp(1.5rem, 5vw, 4rem);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.hero__scroll-line {
    display: block;
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ═══════════════════════════════════════════════════════════════
   SOBRE
   ═══════════════════════════════════════════════════════════════ */
.sobre { background: var(--bg); }

.sobre__grid {
    display: grid;
    grid-template-columns: 55% 1fr;
    gap: 80px;
    align-items: center;
}

.sobre__text {
    font-size: var(--fs-body);
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.sobre__stats {
    display: flex;
    gap: 48px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.sobre__stat { display: flex; flex-direction: column; gap: 6px; }

.sobre__stat-n {
    font-family: var(--ff-display);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    color: var(--accent);
}
.sobre__stat-l {
    font-family: var(--ff-ui);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.sobre__image-col {
    position: relative;
    overflow: hidden;
}
.sobre__img {
    width: 100%;
    height: 580px;
    object-fit: cover;
    display: block;
    filter: saturate(85%);
    transition: filter 0.5s ease;
}
.sobre__img:hover { filter: saturate(105%); }

/* ═══════════════════════════════════════════════════════════════
   BEBIDAS DA CASA
   ═══════════════════════════════════════════════════════════════ */
.bebidas { background: var(--bg); padding: 50px 0 40px; }

.bebidas__header {
    margin-bottom: 56px;
    max-width: 600px;
}

.bebidas__layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 0 80px;
    align-items: start;
}

.bebidas__visual {
    position: sticky;
    top: calc(var(--nav-h) + 48px);
}

.bebidas__img-slot {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--border);
}

.bebidas__img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: saturate(70%) brightness(0.9);
    transition: opacity 0.5s ease, object-position 0.5s ease;
}

.bebidas__img.is-visible { opacity: 1; }
.bebidas__img--a         { opacity: 1; }
.bebidas__img--b         { opacity: 0; }

.bebidas__item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px 48px;
    padding: 36px 0;
    border-bottom: 1px solid var(--border);
    cursor: default;
    transition: background 0.3s ease;
}

.bebidas__item:first-child { border-top: 1px solid var(--border); }

.bebidas__item:hover { background: rgba(212,168,67,0.04); }

.bebidas__name {
    font-family: var(--ff-display);
    font-size: clamp(1.3rem, 2.2vw, 1.9rem);
    line-height: 1;
    letter-spacing: 0.03em;
    color: var(--text);
    margin-bottom: 10px;
    transition: color 0.25s ease;
}

.bebidas__item:hover .bebidas__name { color: var(--accent); }

.bebidas__ingredients {
    font-size: var(--fs-body);
    color: var(--muted);
    line-height: 1.5;
}

.bebidas__price {
    font-family: var(--ff-ui);
    font-size: clamp(1.2rem, 1.8vw, 1.6rem);
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
    letter-spacing: -0.01em;
    transition: color 0.25s ease;
}

.bebidas__item:hover .bebidas__price { color: var(--text); }

@media (max-width: 960px) {
    .bebidas__layout { grid-template-columns: 1fr; }
    .bebidas__visual { display: none; }
}

@media (max-width: 540px) {
    .bebidas__item { grid-template-columns: 1fr; gap: 12px 0; }
    .bebidas__price { font-size: 1.1rem; }
}

/* ═══════════════════════════════════════════════════════════════
   GALERIA
   ═══════════════════════════════════════════════════════════════ */
.galeria { background: var(--bg); }

.galeria__header {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    margin-bottom: 40px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.galeria__filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.galeria__filter {
    font-family: var(--ff-ui);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
    border: 1px solid var(--border);
    padding: 7px 16px;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.galeria__filter:hover { color: var(--text); border-color: rgba(240,235,227,0.3); }
.galeria__filter.is-active {
    color: var(--bg);
    background: var(--accent);
    border-color: var(--accent);
}

.galeria__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 4px;
    margin-bottom: 40px;
}
.galeria__item:nth-child(1) { grid-row: span 2; }

.galeria__item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    outline: none;
    transition: opacity 0.32s ease, transform 0.32s ease;
}
.galeria__item:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.galeria__item.is-exiting { opacity: 0; transform: translateX(-48px); pointer-events: none; }
.galeria__item.is-entering { opacity: 0; transform: translateX(48px); transition: none; }
.galeria__item.is-hidden { display: none; }

.galeria__img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: saturate(85%);
    transition: transform 0.6s var(--ease), filter 0.5s ease;
}
.galeria__item:hover .galeria__img {
    transform: scale(1.04);
    filter: saturate(110%);
}

.galeria__overlay {
    position: absolute;
    inset: 0;
    background: rgba(14,14,14,0.5);
    border: 2px solid transparent;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease, border-color 0.3s ease;
}
.galeria__item:hover .galeria__overlay,
.galeria__item:focus-visible .galeria__overlay {
    opacity: 1;
    border-color: var(--accent);
}
.galeria__caption {
    font-family: var(--ff-ui);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text);
}

.galeria__follow {
    text-align: center;
    padding: 0 0 8px;
}

/* ─── LIGHTBOX ──────────────────────────────────────────────────── */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox__close {
    position: absolute;
    top: 20px; right: 24px;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    z-index: 1;
}
.lightbox__close span {
    position: absolute;
    display: block;
    width: 22px; height: 1.5px;
    background: var(--muted);
    transition: background 0.2s ease;
}
.lightbox__close span:nth-child(1) { transform: rotate(45deg); }
.lightbox__close span:nth-child(2) { transform: rotate(-45deg); }
.lightbox__close:hover span { background: var(--text); }

.lightbox__prev,
.lightbox__next {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--muted);
    padding: 16px;
    z-index: 1;
    transition: color 0.2s ease;
}
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }
.lightbox__prev:hover,
.lightbox__next:hover { color: var(--text); }

.lightbox__content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.lightbox__img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}
.lightbox__caption {
    font-family: var(--ff-ui);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════════
   EVENTO MODAL
   ═══════════════════════════════════════════════════════════════ */
.ev-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.ev-modal.is-open {
    opacity: 1;
    visibility: visible;
}
.ev-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
}
.ev-modal__panel {
    position: relative;
    z-index: 1;
    background: var(--surface);
    width: 100%;
    max-width: 600px;
    max-height: 88vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
    transform: translateY(20px);
    transition: transform 0.35s var(--ease);
}
.ev-modal.is-open .ev-modal__panel {
    transform: translateY(0);
}
.ev-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    transition: background 0.2s ease;
}
.ev-modal__close:hover { background: rgba(0, 0, 0, 0.8); }
.ev-modal__close span {
    position: absolute;
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--text);
    transition: background 0.2s ease;
}
.ev-modal__close span:nth-child(1) { transform: rotate(45deg); }
.ev-modal__close span:nth-child(2) { transform: rotate(-45deg); }
.ev-modal__close:hover span { background: var(--accent); }

.ev-modal__img-wrap {
    position: relative;
    overflow: hidden;
}
.ev-modal__img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    filter: saturate(80%);
}
.ev-modal__date-pill {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent);
    color: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px;
    line-height: 1;
}
.ev-modal__body {
    padding: 32px;
}
.ev-modal__title {
    font-family: var(--ff-heading);
    font-size: var(--fs-h2);
    font-weight: 700;
    color: var(--text);
    line-height: 1.15;
    margin-bottom: 8px;
}
.ev-modal__meta {
    font-family: var(--ff-ui);
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 24px;
}
.ev-modal__desc {
    font-size: var(--fs-body);
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.ev-modal__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════
   EVENTOS
   ═══════════════════════════════════════════════════════════════ */
.eventos { background: var(--bg); }

.eventos__header { margin-bottom: 48px; }

.evento__tag {
    font-family: var(--ff-ui);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-block;
    margin-bottom: 12px;
}

.evento__time {
    font-family: var(--ff-ui);
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--muted);
    margin-bottom: 16px;
}

/* Featured event */
.evento-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border);
}
.evento-featured__img-wrap {
    position: relative;
    overflow: hidden;
}
.evento-featured__img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    filter: saturate(85%);
    transition: transform 0.6s var(--ease), filter 0.5s ease;
}
.evento-featured:hover .evento-featured__img {
    transform: scale(1.03);
    filter: saturate(100%);
}

.evento-featured__date-pill,
.evento-card__date-pill {
    position: absolute;
    top: 16px; left: 16px;
    background: var(--accent);
    color: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px;
    line-height: 1;
}
.date-pill__day {
    font-family: var(--ff-display);
    font-size: 1.6rem;
    line-height: 1;
}
.date-pill__mon {
    font-family: var(--ff-ui);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.evento-featured__title {
    font-family: var(--ff-body);
    font-size: var(--fs-h2);
    font-weight: 700;
    color: var(--text);
    line-height: 1.15;
    margin-bottom: 12px;
}
.evento-featured__desc {
    font-size: var(--fs-body);
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 28px;
}

/* Secondary event cards */
.eventos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.evento-card {
    background: var(--bg);
    transition: box-shadow 0.25s ease;
}

.evento-card__img-wrap {
    position: relative;
    overflow: hidden;
}
.evento-card__img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    filter: saturate(80%);
    transition: filter 0.4s ease, transform 0.5s var(--ease);
}
.evento-card:hover .evento-card__img { filter: saturate(100%); transform: scale(1.03); }

.evento-card__body {
    padding: 20px;
    border-left: 2px solid transparent;
    transition: border-color 0.2s ease;
}
.evento-card:hover .evento-card__body { border-left-color: var(--accent); }

.evento-card__title {
    font-family: var(--ff-heading);
    font-size: var(--fs-h3);
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 8px;
}
.evento-card__desc {
    font-size: var(--fs-small);
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 16px;
}
.evento-card__link {
    font-family: var(--ff-ui);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent);
    transition: letter-spacing 0.2s ease;
}
.evento-card:hover .evento-card__link { letter-spacing: 0.09em; }

/* ═══════════════════════════════════════════════════════════════
   CONTACTO
   ═══════════════════════════════════════════════════════════════ */
.contacto {
    background: var(--bg);
    border-top: 1px solid var(--border);
}

/* ── Section header row ────────────────────────────────────── */
.contacto__anchor {
    font-family: var(--ff-display);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    letter-spacing: 0.03em;
    color: var(--accent);
    line-height: 0.92;
    margin-bottom: 28px;
}

/* ── Act 1: Info strip ─────────────────────────────────────── */
.contacto__strip {
    padding: 60px 0 80px;
}

.contacto__strip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.contacto__strip-col {
    padding-right: 48px;
    border-right: 1px solid var(--border);
}
.contacto__strip-col:nth-child(2) { padding-left: 48px; }
.contacto__strip-col:last-child {
    padding-left: 48px;
    padding-right: 0;
    border-right: none;
}

.contacto__strip-label {
    font-family: var(--ff-ui);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 20px;
}

.contacto__address {
    font-style: normal;
    font-size: var(--fs-small);
    color: var(--muted);
    line-height: 1.85;
}

.contacto__hours-list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 20px;
}
.contacto__hours-list dt {
    font-family: var(--ff-ui);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--muted);
    white-space: nowrap;
}
.contacto__hours-list dd {
    font-family: var(--ff-ui);
    font-size: 0.75rem;
    color: var(--text);
}

.contacto__contacts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.contacto__contacts-list a {
    font-size: var(--fs-small);
    color: var(--muted);
    display: flex;
    align-items: center;
    min-height: 44px;
    transition: color 0.2s ease;
}
.contacto__contacts-list a:hover { color: var(--text); }

/* ─── MAPA ──────────────────────────────────────────────────────── */
.contacto__map {
    margin-top: 48px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.contacto__map iframe {
    width: 100%;
    height: 280px;
    border: none;
    display: block;
    filter: grayscale(1) brightness(0.75) contrast(1.1);
    transition: filter 0.4s ease;
}
.contacto__map:hover iframe {
    filter: grayscale(0.6) brightness(0.85) contrast(1.05);
}

/* ── Act 2: Proposta block ─────────────────────────────────── */
.contacto__proposta {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 80px 0 96px;
}

.contacto__proposta-grid {
    display: grid;
    grid-template-columns: 42% 1fr;
    gap: 0 80px;
    align-items: start;
}

.contacto__proposta-title {
    font-family: var(--ff-display);
    font-size: clamp(3.2rem, 7vw, 6.5rem);
    line-height: 0.9;
    letter-spacing: 0.02em;
    color: var(--text);
    margin: 10px 0 28px;
}

.contacto__proposta-sub {
    font-size: var(--fs-body);
    color: var(--muted);
    line-height: 1.75;
    max-width: 340px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

/* ─── FORM ──────────────────────────────────────────────────────── */
.contacto__form { display: flex; flex-direction: column; gap: 24px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-field { display: flex; flex-direction: column; gap: 8px; }

.form-label {
    font-family: var(--ff-ui);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--muted);
}
.form-req { color: var(--rust); }

.form-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    color: var(--text);
    font-family: var(--ff-body);
    font-size: 0.95rem;
    padding: 10px 0;
    transition: border-color 0.3s ease;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
}
.form-input::placeholder { color: var(--muted); font-size: 0.85rem; }
.form-input:focus { outline: none; border-bottom-color: var(--accent); }
.form-input option { background: var(--surface); color: var(--text); }

.form-field:has(select) { position: relative; }
.form-field:has(select)::after {
    content: '';
    position: absolute;
    bottom: 14px; right: 4px;
    width: 6px; height: 6px;
    border-right: 1px solid var(--muted);
    border-bottom: 1px solid var(--muted);
    transform: rotate(45deg);
    pointer-events: none;
}

.form-textarea { resize: vertical; min-height: 100px; }

.form-error {
    font-family: var(--ff-ui);
    font-size: 0.68rem;
    letter-spacing: 0.03em;
    color: var(--rust);
    display: block;
    min-height: 1em;
}

.form-submit-wrap { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

.form-feedback {
    font-family: var(--ff-ui);
    font-size: 0.75rem;
    letter-spacing: 0.03em;
    color: var(--muted);
}
.form-feedback.is-success { color: var(--spray); }
.form-feedback.is-error   { color: var(--rust); }

.form-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.form-date-group {
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--border);
    transition: border-color 0.3s ease;
    padding-bottom: 1px;
}
.form-date-group:focus-within { border-color: var(--accent); }
.form-date-part {
    border-bottom: none !important;
    padding: 10px 0;
    text-align: center;
    width: 36px;
    min-width: 0;
    flex-shrink: 0;
}
.form-date-year { width: 52px; }
.form-date-sep {
    color: var(--muted);
    font-size: 0.85rem;
    flex-shrink: 0;
    line-height: 1;
    user-select: none;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
    background: #000000;
    border-top: 1px solid var(--border);
    padding: 64px 0 0;
}

.footer__grid {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer__logo {
    font-family: var(--ff-display);
    font-size: 1.6rem;
    letter-spacing: 0.06em;
    color: var(--text);
    display: block;
    margin-bottom: 10px;
}
.footer__tagline {
    font-size: var(--fs-small);
    color: var(--muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.footer__social { display: flex; gap: 16px; align-items: center; }
.footer__social-link {
    color: var(--muted);
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}
.footer__social-link:hover { color: var(--accent); }

.footer__col-title {
    font-family: var(--ff-ui);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}

.footer__links nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer__links a {
    font-size: var(--fs-small);
    color: var(--muted);
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer__links a:hover { color: var(--text); padding-left: 4px; }

.footer__address {
    font-style: normal;
    font-size: var(--fs-small);
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer__hours-list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3px 12px;
}
.footer__hours-list dt {
    font-family: var(--ff-ui);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--muted);
}
.footer__hours-list dd {
    font-family: var(--ff-ui);
    font-size: 0.7rem;
    color: rgba(240,235,227,0.5);
}

.footer__bottom {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 20px clamp(1.5rem, 5vw, 4rem);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.footer__bottom p,
.footer__credit {
    font-family: var(--ff-ui);
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    color: var(--muted);
}
.footer__credit { color: var(--muted); }
.footer__credit:hover { color: var(--text); }

.footer__credit-brand {
    color: var(--accent);
    font-weight: 700;
    text-shadow:
        0 0 8px  rgba(212,168,67,0.65),
        0 0 24px rgba(212,168,67,0.30);
}
.footer__credit:hover .footer__credit-brand {
    text-shadow:
        0 0 10px rgba(212,168,67,0.85),
        0 0 32px rgba(212,168,67,0.45);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .sobre__grid { grid-template-columns: 1fr; gap: 48px; }
    .sobre__image-col { order: -1; }
    .sobre__img { height: 400px; }
    .contacto__proposta-grid { grid-template-columns: 1fr; gap: 48px; }
    .evento-featured { grid-template-columns: 1fr; gap: 32px; }
    .evento-featured__img { height: 320px; }
    .eventos-grid { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: span 2; }
    .galeria__grid { grid-template-rows: repeat(2, 240px); }
}

@media (max-width: 768px) {
    :root { --nav-h: 56px; }

    .nav__links { display: none; }
    .nav__burger { display: flex; }

    .section { padding: 40px 0; }
    .sobre    { padding: 50px 0; }
    .contacto__strip { padding: 44px 0; }
    .contacto__strip-grid { grid-template-columns: 1fr; gap: 40px; }
    .contacto__strip-col,
    .contacto__strip-col:nth-child(2),
    .contacto__strip-col:last-child { padding-left: 0; padding-right: 0; border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 32px; }
    .contacto__strip-col:last-child { border-bottom: none; padding-bottom: 0; }
    .contacto__proposta { padding: 56px 0 72px; }

    .hero__scroll { display: none; }
    .hero__actions { flex-direction: column; align-items: stretch; }
    .hero__actions .btn--primary,
    .hero__actions .btn--ghost { text-align: center; }

    .sobre__stats { gap: 28px; flex-wrap: wrap; }

    .menu-grid { grid-template-columns: 1fr; }

    .galeria__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 200px);
    }
    .galeria__item:nth-child(1) { grid-row: span 1; }
    .galeria__header { flex-direction: column; align-items: flex-start; }

    .eventos-grid { grid-template-columns: 1fr; }

    .form-row { grid-template-columns: 1fr; }

    .footer__grid { grid-template-columns: 1fr; gap: 40px; }
    .footer__brand { grid-column: span 1; }
    .footer__bottom { flex-direction: column; align-items: flex-start; }

    .hero__title { font-size: clamp(3rem, 14vw, 6rem); }
}

@media (max-width: 480px) {
    .galeria__grid { grid-template-columns: 1fr; grid-template-rows: repeat(5, 220px); }
    .menu-tab { padding: 10px 16px; font-size: 0.6rem; }
    .nav-overlay__link { font-size: clamp(2rem, 10vw, 3rem); }
    .section { padding: 30px 0; }
    .sobre    { padding: 40px 0; }
}

/* ─── EVENTO MODAL RESPONSIVE ───────────────────────────────── */
@media (max-width: 640px) {
    .ev-modal { padding: 0; align-items: flex-end; }
    .ev-modal__panel { max-width: 100%; max-height: 92vh; }
    .ev-modal__img { height: 200px; }
    .ev-modal__body { padding: 24px 20px; }
    .ev-modal__title { font-size: var(--fs-h3); }
    .ev-modal__actions { flex-direction: column; }
    .ev-modal__actions .btn--primary,
    .ev-modal__actions .btn--ghost { text-align: center; }
}

/* ─── REDUCED MOTION ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    [data-reveal], [data-reveal-img] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .hero__badge,
    .hero__title-line2,
    .hero__sub,
    .hero__actions {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    .hero__scroll-line { animation: none; opacity: 0.4; }
    body::after { display: none; }
}
