/* ==========================================================================
   TRES GRADOS SUR — Design System
   Industrial Brewery | Loja, Ecuador
   ==========================================================================
   Palette:
     --ink      #18191F  Background profundo
     --forge    #21232D  Superficie oscura
     --anvil    #2C2E3C  Superficie media
     --amber    #D4942A  Acento principal vibrante
     --gold     #BCAC88  Dorado de marca
     --cream    #F0E3C4  Crema calida
     --smoke    #6B6355  Texto atenuado
     --white    #F5F0E8  Blanco calido
   ========================================================================== */

/* --- 1. Reset & Variables --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Core palette */
    --ink: #18191F;
    --forge: #21232D;
    --anvil: #2C2E3C;
    --amber: #D4942A;
    --amber-bright: #F0A830;
    --amber-dim: #9B6B1A;
    --gold: #BCAC88;
    --cream: #F0E3C4;
    --muted: #4A4740;
    --white: #F5F0E8;

    /* Light theme overrides */
    --bg: var(--ink);
    --bg-surface: var(--forge);
    --bg-elevated: var(--anvil);
    --text-primary: var(--white);
    --text-muted: var(--gold);
    --border: rgba(188, 172, 136, 0.15);

    /* Depth system — layered shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(188, 172, 136, 0.04);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.4), 0 6px 12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(188, 172, 136, 0.06);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.5), 0 12px 24px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(188, 172, 136, 0.08);
    --shadow-amber: 0 4px 20px rgba(212, 148, 42, 0.15), 0 2px 8px rgba(212, 148, 42, 0.1);
    --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.03), inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    --shadow-inset-deep: inset 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 2px rgba(0, 0, 0, 0.2);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 10rem;

    /* Type scale */
    --text-xs: 0.625rem;
    --text-sm: 0.75rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.5rem;
    --text-2xl: 2rem;
    --text-3xl: 2.5rem;
    --text-4xl: 3.5rem;
    --text-5xl: 5rem;
    --text-6xl: 7rem;

    /* Transitions */
    --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --duration: 0.35s;

    /* Layout */
    --nav-h: 4.5rem;
    --radius: 0px;
    /* Industrial: no rounded corners */
    --max-w: 1280px;
}

html[data-theme="light"] {
    --bg: #F0EBDE;
    --bg-surface: #E6DFD0;
    --bg-elevated: #D9D0BF;
    --text-primary: #18191F;
    --text-muted: #756442;
    --text-dim: #6B6355;
    --border: rgba(116, 100, 66, 0.2);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg);
    color: var(--text-primary);
    font-family: 'Barlow', system-ui, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
}

::selection {
    background-color: var(--amber);
    color: var(--ink);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--forge);
}

::-webkit-scrollbar-thumb {
    background: var(--amber-dim);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--amber);
}

/* Material Symbols default */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
    user-select: none;
}


/* --- 3. Typography Utilities --- */
h1,
h2,
h3,
h4 {
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -0.02em;
}

.eyebrow {
    font-family: 'Barlow', sans-serif;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--amber);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    text-shadow: 0 0 12px rgba(212, 148, 42, 0.2);
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 0.95;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 1px 0 rgba(255, 255, 255, 0.04);
}

.section-title--white {
    color: var(--white);
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.5),
        0 4px 16px rgba(0, 0, 0, 0.3);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--text-dim);
    max-width: 36rem;
    margin: 0 auto 3rem;
}

.body-text {
    font-size: var(--text-base);
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.body-text--light {
    color: rgba(240, 227, 196, 0.75);
}

.diamond {
    color: var(--amber);
    font-size: 0.5em;
    vertical-align: middle;
}


/* --- 4. Layout Utilities --- */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container--split {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.section {
    padding: var(--space-lg) 0;
    position: relative;
}

.section--dark {
    background-color: var(--bg);
    /* Subtle top-edge highlight for surface separation */
    box-shadow: inset 0 1px 0 rgba(188, 172, 136, 0.06);
}

.section--forge {
    background-color: var(--bg-surface);
    /* Inset shadow: feels recessed/carved into page */
    box-shadow:
        inset 0 2px 12px rgba(0, 0, 0, 0.25),
        inset 0 -1px 0 rgba(188, 172, 136, 0.05),
        inset 0 1px 0 rgba(0, 0, 0, 0.3);
}

.section--season {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
    /* Deep inset for immersive feel */
    box-shadow:
        inset 0 4px 20px rgba(0, 0, 0, 0.5),
        inset 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-header .eyebrow {
    justify-content: center;
}


/* --- 5. Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}


/* --- 6. Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 2rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.08);
    opacity: 0;
    transition: opacity 0.2s;
}

.btn:hover::after {
    opacity: 1;
}

.btn:active {
    transform: scale(0.98);
}

.btn--amber {
    background-color: var(--amber);
    color: var(--ink);
    box-shadow:
        var(--shadow-md),
        var(--shadow-amber),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.btn--amber:hover {
    background-color: var(--amber-bright);
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 16px 40px rgba(212, 148, 42, 0.35),
        0 8px 16px rgba(212, 148, 42, 0.2),
        0 4px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.02);
    color: var(--white);
    border: 1.5px solid rgba(240, 227, 196, 0.3);
    box-shadow:
        var(--shadow-sm),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.btn--ghost:hover {
    border-color: var(--amber);
    color: var(--amber);
    background: rgba(212, 148, 42, 0.06);
    box-shadow:
        var(--shadow-md),
        0 0 20px rgba(212, 148, 42, 0.08),
        inset 0 1px 0 rgba(212, 148, 42, 0.08);
}

.btn--large {
    padding: 1.125rem 2.5rem;
    font-size: 1rem;
}


/* --- 7. Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 200;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    background: linear-gradient(to bottom, rgba(24, 25, 31, 0.85) 0%, rgba(24, 25, 31, 0) 100%);
    transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}

.navbar.scrolled {
    background: rgba(24, 25, 31, 0.78);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow:
        0 1px 0 rgba(188, 172, 136, 0.12),
        0 4px 24px rgba(0, 0, 0, 0.5),
        0 1px 3px rgba(0, 0, 0, 0.3),
        inset 0 -1px 0 rgba(212, 148, 42, 0.08);
}

.navbar.scrolled .nav-menu.is-open {}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.nav-logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.3s var(--ease);
}

.nav-logo-link:hover {
    opacity: 0.8;
}

.nav-logo {
    height: 2.25rem;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.nav-logo-wordmark {
    display: none;
    flex-direction: column;
    line-height: 1;
    border-left: 1px solid rgba(188, 172, 136, 0.25);
    padding-left: 0.75rem;
}

.nav-logo-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--white);
    line-height: 1;
}

.nav-logo-tag {
    font-family: 'Barlow', sans-serif;
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber);
    margin-top: 0.2rem;
}

@media (min-width: 600px) {
    .nav-logo-wordmark {
        display: flex;
    }
}

.nav-logo--dark {
    display: block;
}

.nav-logo--light {
    display: none;
}

html[data-theme="light"] .nav-logo--dark {
    display: none;
}

html[data-theme="light"] .nav-logo--light {
    display: block;
}

/* Mobile hamburger */
.nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.5rem;
    height: 2.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    z-index: 200;
}

.nav-hamburger span {
    display: block;
    height: 2px;
    background-color: var(--amber);
    transition: all 0.3s var(--ease);
    transform-origin: left center;
}

.nav-hamburger.is-open span:nth-child(1) {
    transform: rotate(40deg) translateY(-1px);
}

.nav-hamburger.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-hamburger.is-open span:nth-child(3) {
    transform: rotate(-40deg) translateY(1px);
}

/* Mobile nav menu */
.nav-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--bg-surface);
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    z-index: 150;
    padding: 3rem;
}

.nav-menu.is-open {
    display: flex;
}

.nav-link {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: var(--text-3xl);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: color 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    color: var(--amber);
}

.nav-link--soon {
    cursor: not-allowed;
    position: relative;
}

.nav-link--soon:hover {
    color: var(--smoke);
}

.soon-pill {
    font-family: 'Barlow', sans-serif;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(212, 148, 42, 0.1);
    color: var(--amber-dim);
    padding: 0.2rem 0.5rem;
    border: 1px solid rgba(212, 148, 42, 0.25);
    line-height: 1;
    white-space: nowrap;
    display: inline-block;
    box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(212, 148, 42, 0.05);
}

.nav-cta {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: var(--text-xl);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--amber);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid var(--amber);
    padding: 0.75rem 1.5rem;
    transition: all 0.3s var(--ease);
    box-shadow: 0 0 12px rgba(212, 148, 42, 0.1);
}

.nav-cta:hover {
    background: var(--amber);
    color: var(--ink);
    box-shadow:
        0 6px 20px rgba(212, 148, 42, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}


/* --- 8. Hero Section --- */
.hero {
    position: relative;
    height: 100svh;
    min-height: 640px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--nav-h);
    padding-bottom: var(--space-lg);
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: grayscale(15%) contrast(108%) brightness(85%);
}

.hero-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg,
            rgba(24, 25, 31, 0.85) 0%,
            rgba(24, 25, 31, 0.55) 35%,
            rgba(24, 25, 31, 0.15) 65%,
            rgba(24, 25, 31, 0.4) 100%),
        linear-gradient(180deg,
            rgba(24, 25, 31, 0.6) 0%,
            transparent 25%,
            transparent 70%,
            rgba(24, 25, 31, 0.85) 100%);
}


.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 0 var(--space-md);
    max-width: var(--max-w);
    margin: 0 auto;
}

.hero-kicker {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.hero-kicker-line {
    width: 2.5rem;
    height: 2px;
    background: var(--amber);
    box-shadow: 0 0 12px rgba(212, 148, 42, 0.4);
}

.hero-kicker-text {
    font-family: 'Barlow', sans-serif;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--amber);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-headline {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(3.5rem, 12vw, 8rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: -0.035em;
    color: var(--white);
    display: flex;
    flex-direction: column;
    margin-bottom: 1.75rem;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.5),
        0 6px 24px rgba(0, 0, 0, 0.4);
}

.hero-line--accent {
    color: var(--amber);
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.5),
        0 4px 24px rgba(212, 148, 42, 0.25);
}

.hero-sub {
    font-size: var(--text-lg);
    font-weight: 300;
    color: rgba(240, 227, 196, 0.92);
    max-width: 32rem;
    margin-bottom: 2.5rem;
    line-height: 1.55;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.hero-sub strong {
    color: var(--amber);
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-scroll-hint {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    z-index: 10;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.hero-scroll-hint span {
    font-family: 'Barlow', sans-serif;
    font-size: var(--text-xs);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--smoke);
    writing-mode: vertical-lr;
}

.scroll-line {
    width: 1px;
    height: 3rem;
    background: linear-gradient(to bottom, var(--amber), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.6);
        transform-origin: top;
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}


/* --- 9. Beer Gallery Section --- */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: var(--space-lg);
    justify-content: center;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.6rem 1.4rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    color: var(--gold);
    cursor: pointer;
    transition: all 0.25s var(--ease);
    box-shadow: var(--shadow-sm);
}

.filter-btn .material-symbols-outlined {
    font-size: 1rem !important;
}

.filter-btn:hover {
    border-color: var(--amber);
    color: var(--amber);
    background: rgba(212, 148, 42, 0.06);
    box-shadow: var(--shadow-md), 0 0 16px rgba(212, 148, 42, 0.12);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--amber);
    border-color: var(--amber);
    color: var(--ink);
    box-shadow:
        var(--shadow-md),
        var(--shadow-amber),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* Gallery Grid — staggered 3-column layout */
.beer-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    padding-bottom: 6rem;
}

/* Gallery Card */
.gallery-card {
    position: relative;
    overflow: hidden;
    background: var(--bg-elevated);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), outline-color 0.5s var(--ease);
    cursor: pointer;
    aspect-ratio: 4 / 5;
    container-type: inline-size;
    outline: 1px solid rgba(188, 172, 136, 0.06);
    outline-offset: -1px;
    box-shadow:
        var(--shadow-lg),
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.gallery-card:hover {
    z-index: 2;
    outline-color: rgba(212, 148, 42, 0.35);
    box-shadow:
        var(--shadow-xl),
        0 0 60px rgba(212, 148, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform: translateY(-6px);
}

.gallery-card.hidden {
    display: none;
}

/* Image wrapper — fills entire card */
.gallery-card__img-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gallery-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.7s var(--ease), transform 0.7s var(--ease), opacity 0.7s var(--ease);
}

.gallery-card:hover .gallery-card__img-wrap img {
    filter: grayscale(0%) contrast(105%);
    opacity: 1;
    transform: scale(1.03);
}

/* Gradient overlay from bottom */
.gallery-card__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(24, 25, 31, 0.95) 0%,
            rgba(24, 25, 31, 0.7) 30%,
            rgba(24, 25, 31, 0.1) 65%,
            transparent 85%);
    pointer-events: none;
    transition: opacity 0.5s var(--ease);
}

.gallery-card:hover .gallery-card__gradient {
    background: linear-gradient(to top,
            rgba(24, 25, 31, 0.98) 0%,
            rgba(24, 25, 31, 0.8) 35%,
            rgba(24, 25, 31, 0.2) 70%,
            transparent 90%);
}

/* Content overlay — positioned at the bottom */
.gallery-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 10;
    transition: transform 0.5s var(--ease);
}

.gallery-card:hover .gallery-card__content {
    transform: translateY(-0.5rem);
}

.gallery-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.gallery-card__name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 1.875rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--white);
}

.abv-tag {
    font-family: 'Barlow', sans-serif;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--amber);
    background: rgba(24, 25, 31, 0.7);
    padding: 0.2rem 0.5rem;
    white-space: nowrap;
    flex-shrink: 0;
    border: 1px solid rgba(212, 148, 42, 0.25);
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(212, 148, 42, 0.06);
}

.gallery-card__desc {
    font-size: var(--text-sm);
    color: var(--gold);
    margin-bottom: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery-card__notes {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

/* Large faded index number — top right */
.gallery-card__index {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1.25rem 1.5rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2.5rem, 4vw, 3.25rem);
    font-weight: 900;
    line-height: 1;
    color: var(--amber);
    opacity: 0.5;
    user-select: none;
    pointer-events: none;
    letter-spacing: -0.05em;
    z-index: 5;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.gallery-card:hover .gallery-card__index {
    opacity: 0.85;
    transform: translateY(-2px);
}

/* Badge for limited/special */
.gallery-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 20;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: var(--text-xs);
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: var(--amber);
    color: var(--ink);
    padding: 0.3rem 0.875rem;
    box-shadow:
        var(--shadow-md),
        0 2px 12px rgba(212, 148, 42, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Featured card — subtle border accent */
.gallery-card--featured {
    outline: 2px solid rgba(212, 148, 42, 0.2);
    outline-offset: -2px;
    transition: outline-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
    box-shadow:
        var(--shadow-xl),
        0 0 30px rgba(212, 148, 42, 0.06),
        inset 0 1px 0 rgba(212, 148, 42, 0.08);
}

.gallery-card--featured:hover {
    outline-color: rgba(212, 148, 42, 0.5);
    box-shadow:
        var(--shadow-xl),
        0 0 50px rgba(212, 148, 42, 0.12),
        inset 0 1px 0 rgba(212, 148, 42, 0.12);
}

/* Coming Soon placeholder card */
.gallery-card--soon {
    background: var(--ink);
    border: 1px solid rgba(188, 172, 136, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 5;
}

.gallery-card__soon-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.gallery-card__soon-icon {
    font-size: 2.5rem !important;
    color: var(--smoke);
    margin-bottom: 1.5rem;
}

.gallery-card__soon-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--smoke);
    margin-bottom: 1rem;
}

.gallery-card__soon-text {
    font-family: 'Barlow', sans-serif;
    font-size: var(--text-xs);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--smoke);
    max-width: 200px;
    line-height: 1.6;
}

.note-icon {
    color: var(--amber);
    font-size: 1rem !important;
}

.notes-text {
    font-family: 'Barlow', sans-serif;
    font-size: var(--text-xs);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--smoke);
}


/* --- 10. Historia Section --- */
.historia-media {
    position: relative;
}

.historia-img-wrap {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    box-shadow:
        var(--shadow-xl),
        0 0 0 1px rgba(188, 172, 136, 0.06);
    /* Subtle top-left inner light edge */
}

.historia-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3),
        inset 1px 0 0 rgba(255, 255, 255, 0.03),
        inset -1px 0 0 rgba(0, 0, 0, 0.2);
}

.historia-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.historia-badge {
    position: absolute;
    bottom: -1px;
    right: -1px;
    background: var(--amber);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    box-shadow:
        -4px -4px 16px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(212, 148, 42, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 1px 0 0 rgba(255, 255, 255, 0.1);
}

.historia-badge__num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--ink);
    line-height: 1;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.15);
}

.historia-badge__label {
    font-family: 'Barlow', sans-serif;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(24, 25, 31, 0.7);
    text-align: center;
}

.historia-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.stat {
    text-align: center;
    padding: 1.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(188, 172, 136, 0.06);
    box-shadow:
        var(--shadow-sm),
        var(--shadow-inset);
    transition: all 0.3s var(--ease);
}

.stat:hover {
    background: rgba(212, 148, 42, 0.04);
    border-color: rgba(212, 148, 42, 0.12);
    box-shadow:
        var(--shadow-md),
        var(--shadow-amber),
        inset 0 1px 0 rgba(212, 148, 42, 0.06);
    transform: translateY(-2px);
}

.stat__num {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--amber);
    line-height: 1;
    margin-bottom: 0.375rem;
    text-shadow: 0 2px 8px rgba(212, 148, 42, 0.2);
}

.stat__label {
    font-family: 'Barlow', sans-serif;
    font-size: var(--text-xs);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--smoke);
}


/* --- 11. Temporada Section --- */
.season-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.season-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%) contrast(120%) brightness(40%);
}

.season-vignette {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(24, 25, 31, 0.92) 0%,
            rgba(24, 25, 31, 0.7) 60%,
            rgba(212, 148, 42, 0.1) 100%);
}

.season-content {
    position: relative;
    z-index: 10;
    padding: var(--space-xl) var(--space-md);
}

.season-inner {
    max-width: 40rem;
}

.eyebrow--light {
    color: var(--cream);
}

.season-events {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 2rem 0;
}

.event-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Barlow', sans-serif;
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--cream);
    background: rgba(240, 227, 196, 0.06);
    border: 1px solid rgba(240, 227, 196, 0.18);
    padding: 0.5rem 1rem;
    transition: all 0.25s var(--ease);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow:
        var(--shadow-sm),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.event-chip:hover {
    background: rgba(212, 148, 42, 0.12);
    border-color: var(--amber);
    color: var(--amber);
    box-shadow:
        var(--shadow-md),
        0 0 16px rgba(212, 148, 42, 0.12),
        inset 0 1px 0 rgba(212, 148, 42, 0.1);
    transform: translateY(-2px);
}

.event-chip .material-symbols-outlined {
    font-size: 1rem !important;
}


/* --- 12. Footer --- */
.footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    box-shadow:
        inset 0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(188, 172, 136, 0.04);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
}

.footer-logo {
    height: 5rem;
    width: auto;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer-tagline {
    font-size: var(--text-sm);
    color: var(--smoke);
    line-height: 1.6;
}

.footer-col-title {
    font-family: 'Barlow', sans-serif;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 1.5rem;
}

.footer-links nav {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.footer-link {
    font-size: var(--text-sm);
    color: var(--smoke);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--amber);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    font-size: var(--text-sm);
    color: var(--smoke);
}

.contact-item .material-symbols-outlined {
    font-size: 1.125rem !important;
    color: var(--amber);
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 1.5rem 0;
    box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.15);
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

.footer-copy {
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    color: var(--muted);
    text-transform: uppercase;
}

.footer-age {
    font-size: var(--text-xs);
    color: var(--muted);
    opacity: 0.6;
}


/* --- 13. WhatsApp FAB --- */
.wa-fab {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    z-index: 90;
    width: 3.5rem;
    height: 3.5rem;
    background: var(--forge);
    color: var(--amber);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1.5px solid rgba(212, 148, 42, 0.3);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.3),
        0 0 16px rgba(212, 148, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: all 0.35s var(--ease);
    border-radius: 50%;
}

.wa-fab:hover {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
    transform: scale(1.12) translateY(-3px);
    box-shadow:
        0 20px 40px rgba(37, 211, 102, 0.35),
        0 8px 16px rgba(37, 211, 102, 0.2),
        0 4px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.wa-fab:active {
    transform: scale(0.95);
}

.wa-fab svg {
    width: 1.875rem;
    height: 1.875rem;
}


/* --- 14. Responsive --- */
@media (min-width: 600px) {
    .beer-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .nav-hamburger {
        display: none;
    }

    .nav-menu {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: auto;
        height: var(--nav-h);
        width: 100%;
        max-width: var(--max-w);
        margin: 0 auto;
        background: transparent;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 1.5rem;
        padding: 0 var(--space-md);
        z-index: 201;
        /* Higher than navbar (200) */
        pointer-events: none;
    }

    .nav-menu>* {
        pointer-events: auto;
    }

    .nav-link {
        font-size: var(--text-base);
        font-weight: 700;
        flex-direction: row;
        letter-spacing: 0.08em;
        color: var(--text-primary);
        opacity: 0.75;
        transition: color 0.2s, opacity 0.2s;
    }

    .nav-link:hover {
        color: var(--amber);
        opacity: 1;
    }

    .nav-link--soon {
        font-size: var(--text-sm);
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }

    .nav-link--soon .soon-pill {
        font-size: 0.55rem;
        padding: 0.15rem 0.45rem;
        position: relative;
        top: -0.1rem;
    }

    .nav-cta {
        font-size: var(--text-sm);
        padding: 0.5rem 1.25rem;
        border-width: 2px;
    }
}

@media (min-width: 768px) {

    .container--split {
        grid-template-columns: 1fr 1fr;
    }

    .footer-inner {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .beer-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Staggered vertical offsets for 2nd and 3rd columns */
    .gallery-card--offset-1 {
        margin-top: 3rem;
    }

    .gallery-card--offset-2 {
        margin-top: 6rem;
    }

    .hero {
        align-items: center;
    }

    .hero-content {
        top: 3rem;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .hero-img {
        transform: none !important;
    }
}