/* ========================================
   Las 3 Estaciones — Inspired by Tatte Bakery
   Clean, editorial, sophisticated
   ======================================== */

:root {
    color-scheme: light only;
    --black: #1a1a1a;
    --dark: #2c2c2c;
    --text: #4a4a4a;
    --text-light: #888;
    --border: #e0e0e0;
    --light-bg: #f8f6f3;
    --cream: #faf8f5;
    --white: #ffffff;
    --brown: #5C3D2E;
    --brown-dark: #3E2723;
    --gold: #C8A96E;
    --gold-light: #D4BC8B;
    --pink: #F2DCDB;
    --green: #043927;

    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Nunito', -apple-system, sans-serif;

    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.wide { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
    background: var(--green);
    color: var(--white);
    text-align: center;
    padding: 10px 20px;
    font-size: 0.75rem;
    letter-spacing: 1px;
    font-weight: 400;
}

/* ========================================
   NAVBAR — Centered logo like Tatte
   ======================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s var(--ease);
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    position: relative;
}

.nav-left, .nav-right {
    display: flex;
    gap: 32px;
    flex: 1;
    align-items: center;
}

.nav-left { justify-content: flex-start; }
.nav-right { justify-content: flex-end; }

.nav-link {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--dark);
    transition: color 0.2s;
    padding: 4px 0;
}

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

.nav-link--icon { font-size: 1.3rem; }

.nav-link--icon .fa-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s;
}

.nav-link--icon:hover .fa-instagram {
    transform: scale(1.15);
}

.nav-brand {
    flex-shrink: 0;
    margin: 0 40px;
}

.nav-brand-img {
    height: 68px;
    width: auto;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    position: absolute;
    right: 40px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--black);
    transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 99;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.mobile-menu.active { display: flex; }

.mobile-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 500;
    color: var(--dark);
    transition: color 0.2s;
}

.mobile-link:hover { color: var(--brown); }

/* ========================================
   HERO — Video Background
   ======================================== */
.hero {
    position: relative;
    height: 90vh;
    min-height: 500px;
    max-height: 900px;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(0.3px) brightness(0.95) contrast(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(30, 20, 15, 0.35) 0%,
        rgba(30, 20, 15, 0.25) 40%,
        rgba(30, 20, 15, 0.50) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    max-width: 700px;
    padding: 0 80px;
    color: var(--white);
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.8;
}

.hero-content h1 {
    font-family: var(--font-serif);
    font-size: 4.5rem;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 32px;
}

.hero-content h1 em {
    font-style: italic;
    font-weight: 400;
}

.hero-cta {
    display: inline-block;
    padding: 14px 32px;
    border: 1.5px solid var(--white);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    transition: all 0.3s;
    align-self: flex-start;
}

.hero-cta:hover {
    background: var(--white);
    color: var(--brown-dark);
}

/* ========================================
   CARDS (3 columns — Tatte style)
   ======================================== */
.section-cards {
    padding: 80px 0;
}

.section-cards--alt {
    background: var(--pink);
}

.cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.card-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.card:hover .card-img img { transform: scale(1.05); }

.card h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 10px;
}

.card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.card-action {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--green);
    border: 1.5px solid var(--green);
    padding: 10px 24px;
    border-radius: 30px;
    transition: background 0.3s, color 0.3s;
    margin-top: 4px;
}

.card-action:hover {
    background: var(--green);
    color: #fff;
}

/* ========================================
   SPLIT SECTION (like Tatte "Our Cafés")
   ======================================== */
.split {
    padding: 100px 0;
    background: var(--light-bg);
}

.split-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.split-text h2 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.15;
    color: var(--black);
    margin-bottom: 24px;
}

.split-text p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 16px;
}

.btn-dark {
    display: inline-block;
    margin-top: 16px;
    padding: 14px 36px;
    background: var(--black);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    transition: background 0.3s;
}

.btn-dark:hover { background: var(--brown-dark); }

.split-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

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

/* ========================================
   MENU
   ======================================== */
.section-menu {
    padding: 100px 0;
    background: var(--white);
}

.menu-head {
    text-align: center;
    margin-bottom: 48px;
}

.menu-head h2 {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 12px;
}

.menu-head p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.menu-lang-switch {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 24px;
}

.menu-lang-btn {
    padding: 8px 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-light);
    background: transparent;
    border: 1.5px solid #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
}

.menu-lang-btn:first-child { border-radius: 20px 0 0 20px; }
.menu-lang-btn:last-child { border-radius: 0 20px 20px 0; }
.menu-lang-btn:not(:first-child) { border-left: none; }

.menu-lang-btn.active,
.menu-lang-btn:hover {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
}

.menu-lang-btn.active + .menu-lang-btn {
    border-left-color: var(--green);
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
}

.menu-tab {
    padding: 10px 28px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-light);
    border: 1.5px solid var(--border);
    background: transparent;
    transition: all 0.2s;
}

.menu-tab:hover { border-color: var(--black); color: var(--black); }

.menu-tab.active {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
}

.menu-panel { display: none; }
.menu-panel.active { display: block; animation: fadeIn 0.4s; }

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 64px;
    max-width: 900px;
    margin: 0 auto;
}

.mi {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.mi-top {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.mi-top h4 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--black);
    white-space: nowrap;
}

.mi-dots {
    flex: 1;
    border-bottom: 1px dotted var(--border);
    min-width: 20px;
    margin-bottom: 4px;
}

.mi-price {
    font-weight: 600;
    color: var(--brown);
    font-size: 0.95rem;
    white-space: nowrap;
}

.mi p {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* ========================================
   GALLERY
   ======================================== */
.section-gallery {
    padding: 100px 0;
    background: var(--light-bg);
}

.gallery-head {
    text-align: center;
    margin-bottom: 48px;
}

.gallery-head h2 {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 12px;
}

.gallery-head p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 6px;
}

.gal-item {
    overflow: hidden;
    cursor: pointer;
    border-radius: 10px;
    transition: box-shadow 0.4s var(--ease);
}

.gal-item:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.gal-item:hover img { transform: scale(1.05); }

.gal-wide { grid-column: span 2; }

.gal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

/* ========================================
   CONTACT
   ======================================== */
.section-contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-text h2 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.15;
    color: var(--black);
    margin-bottom: 40px;
}

.contact-items { display: flex; flex-direction: column; gap: 24px; }

.ci-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 4px;
}

.ci p { font-size: 0.95rem; color: var(--dark); }

.ci a {
    color: var(--brown);
    font-weight: 500;
    transition: opacity 0.2s;
}

.ci a:hover { opacity: 0.7; }

.contact-map {
    width: 100%;
    min-height: 400px;
}

.map-ph {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: var(--light-bg);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-light);
}

.map-ph i { font-size: 2rem; opacity: 0.3; }
.map-ph p { font-size: 0.9rem; opacity: 0.4; }
.map-ph small { font-size: 0.75rem; opacity: 0.3; }

/* ========================================
   FOOTER — Dark like Tatte
   ======================================== */
.footer {
    background: var(--green);
    color: rgba(255,255,255,0.6);
    padding: 64px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    height: 56px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.footer-tagline {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(255,255,255,0.5);
    margin-bottom: 8px;
}

.footer-email {
    font-size: 0.85rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 8px;
}

.footer-col a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    transition: color 0.2s;
}

.footer-col a:hover { color: rgba(255,255,255,0.9); }

.footer-bottom {
    padding: 24px 0;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
}

/* ========================================
   BACK TO TOP
   ======================================== */
.btt {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--black);
    color: var(--white);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 90;
}

.btt.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.btt:hover { background: var(--brown); }

/* ========================================
   SPLASH SCREEN
   ======================================== */
.splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.6s var(--ease), visibility 0.6s;
}

.splash.hide {
    opacity: 0;
    visibility: hidden;
}

.splash-logo {
    width: 140px;
    height: auto;
    animation: splashPulse 1.4s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes splashPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.08); opacity: 1; }
}

/* Splash Birds (black seagull silhouettes) */
.splash-bird {
    position: absolute;
    opacity: 0;
}
.splash-bird-1 {
    width: 36px;
    top: 18%;
    left: 15%;
    animation: birdFly1 2.8s ease-in-out 0.2s forwards;
}
.splash-bird-2 {
    width: 28px;
    top: 14%;
    left: 28%;
    animation: birdFly2 3s ease-in-out 0.5s forwards;
}
.splash-bird-3 {
    width: 22px;
    top: 24%;
    left: 22%;
    animation: birdFly1 2.6s ease-in-out 0.8s forwards;
}
.splash-bird-4 {
    width: 18px;
    top: 20%;
    right: 28%;
    animation: birdFly2 3.2s ease-in-out 0.4s forwards;
}
.splash-bird-5 {
    width: 24px;
    top: 12%;
    right: 18%;
    animation: birdFly1 2.9s ease-in-out 0.7s forwards;
}
@keyframes birdFly1 {
    0%   { opacity: 0; transform: translate(0, 30px) scale(0.6); }
    15%  { opacity: 0.7; }
    40%  { opacity: 0.55; transform: translate(50px, -30px) scale(0.85); }
    70%  { opacity: 0.35; transform: translate(110px, -60px) scale(0.7); }
    100% { opacity: 0; transform: translate(180px, -100px) scale(0.5); }
}
@keyframes birdFly2 {
    0%   { opacity: 0; transform: translate(0, 20px) scale(0.6); }
    15%  { opacity: 0.65; }
    40%  { opacity: 0.5; transform: translate(-40px, -35px) scale(0.9); }
    70%  { opacity: 0.3; transform: translate(-90px, -65px) scale(0.75); }
    100% { opacity: 0; transform: translate(-160px, -100px) scale(0.5); }
}

/* Splash Book Pages */
.splash-page {
    position: absolute;
    opacity: 0;
}
.splash-page-1 {
    width: 32px;
    top: 55%;
    right: 16%;
    animation: pageFloat1 2.8s ease-in-out 0.3s forwards;
}
.splash-page-2 {
    width: 26px;
    top: 60%;
    right: 30%;
    animation: pageFloat2 3s ease-in-out 0.6s forwards;
}
.splash-page-3 {
    width: 22px;
    top: 50%;
    left: 18%;
    animation: pageFloat3 2.6s ease-in-out 0.5s forwards;
}
@keyframes pageFloat1 {
    0%   { opacity: 0; transform: translate(0, -10px) rotate(-5deg); }
    20%  { opacity: 0.7; }
    50%  { opacity: 0.5; transform: translate(-30px, 40px) rotate(25deg); }
    80%  { opacity: 0.25; transform: translate(-50px, 70px) rotate(50deg); }
    100% { opacity: 0; transform: translate(-60px, 100px) rotate(70deg); }
}
@keyframes pageFloat2 {
    0%   { opacity: 0; transform: translate(0, -10px) rotate(8deg); }
    25%  { opacity: 0.65; }
    55%  { opacity: 0.45; transform: translate(20px, 45px) rotate(-20deg); }
    80%  { opacity: 0.2; transform: translate(35px, 75px) rotate(-45deg); }
    100% { opacity: 0; transform: translate(45px, 100px) rotate(-60deg); }
}
@keyframes pageFloat3 {
    0%   { opacity: 0; transform: translate(0, -5px) rotate(0deg) scale(0.9); }
    20%  { opacity: 0.6; }
    50%  { opacity: 0.4; transform: translate(15px, 35px) rotate(30deg) scale(1); }
    80%  { opacity: 0.2; transform: translate(25px, 65px) rotate(55deg) scale(0.85); }
    100% { opacity: 0; transform: translate(30px, 90px) rotate(70deg) scale(0.7); }
}

/* Splash Coffee Beans */
.splash-bean {
    position: absolute;
    opacity: 0;
}
.splash-bean-1 {
    width: 14px;
    top: 40%;
    left: 25%;
    animation: beanFall1 2.5s ease-in-out 0.3s forwards;
}
.splash-bean-2 {
    width: 11px;
    top: 35%;
    right: 22%;
    animation: beanFall2 2.8s ease-in-out 0.5s forwards;
}
.splash-bean-3 {
    width: 13px;
    top: 65%;
    left: 32%;
    animation: beanFall1 2.6s ease-in-out 0.7s forwards;
}
.splash-bean-4 {
    width: 10px;
    top: 45%;
    right: 35%;
    animation: beanFall2 2.4s ease-in-out 0.4s forwards;
}
.splash-bean-5 {
    width: 12px;
    bottom: 28%;
    left: 40%;
    animation: beanFall1 3s ease-in-out 0.6s forwards;
}
@keyframes beanFall1 {
    0%   { opacity: 0; transform: translate(0, -20px) rotate(0deg); }
    20%  { opacity: 0.7; }
    50%  { opacity: 0.55; transform: translate(10px, 30px) rotate(60deg); }
    80%  { opacity: 0.3; transform: translate(15px, 60px) rotate(120deg); }
    100% { opacity: 0; transform: translate(20px, 90px) rotate(180deg); }
}
@keyframes beanFall2 {
    0%   { opacity: 0; transform: translate(0, -15px) rotate(0deg); }
    20%  { opacity: 0.65; }
    50%  { opacity: 0.5; transform: translate(-12px, 25px) rotate(-50deg); }
    80%  { opacity: 0.25; transform: translate(-18px, 55px) rotate(-110deg); }
    100% { opacity: 0; transform: translate(-22px, 85px) rotate(-170deg); }
}

/* ========================================
   MENU EXTRAS
   ======================================== */
.menu-extras {
    text-align: center;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px dashed var(--border);
    font-size: 0.82rem;
    color: var(--text-light);
    font-style: italic;
}

/* ========================================
   MOBILE BOTTOM NAV
   ======================================== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
    justify-content: space-around;
    align-items: center;
}

.mbn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 0.65rem;
    color: var(--text-light);
    text-decoration: none;
    background: none;
    border: none;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: color 0.2s;
    padding: 4px 8px;
}

.mbn-item i { font-size: 1.15rem; }

.mbn-item:hover,
.mbn-item:active { color: var(--green); }

.mbn-item--ig i {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   LIGHTBOX MODAL
   ======================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
    cursor: zoom-out;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transform: scale(0.92);
    transition: transform 0.4s var(--ease);
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 28px;
    font-size: 2.2rem;
    color: rgba(255,255,255,0.7);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    z-index: 2;
    line-height: 1;
    padding: 8px;
}

.lightbox-close:hover {
    color: #fff;
    transform: scale(1.15);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .cards-row { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .split-inner { gap: 48px; }
    .gallery-mosaic { grid-auto-rows: 200px; }
}

@media (max-width: 768px) {
    .wide { padding: 0 24px; }

    /* Nav */
    .nav-left, .nav-right { display: none; }
    .nav-toggle { display: flex; }
    .nav-brand { margin: 0 auto; }
    .nav-inner { justify-content: center; }

    /* Mobile bottom nav */
    .mobile-bottom-nav { display: flex; }
    body { padding-bottom: 64px; }
    .btt { bottom: 80px; }

    /* Hero */
    .hero { height: 70vh; min-height: 400px; }
    .hero-content { padding: 0 32px; }
    .hero-content h1 { font-size: 3rem; }

    /* Cards */
    .cards-row { grid-template-columns: 1fr; gap: 48px; }
    .card-img { aspect-ratio: 16 / 10; }

    /* Split */
    .split { padding: 64px 0; }
    .split-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .split-text h2 { font-size: 2.5rem; }

    /* Menu */
    .section-menu { padding: 64px 0; }
    .menu-head h2 { font-size: 2.5rem; }
    .menu-grid { grid-template-columns: 1fr; }
    .menu-tabs { flex-wrap: wrap; }

    /* Gallery */
    .section-gallery { padding: 64px 0; }
    .gallery-head h2 { font-size: 2.5rem; }
    .gallery-mosaic {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 220px;
    }
    .gal-wide { grid-column: span 2; }

    /* Contact */
    .section-contact { padding: 64px 0; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-text h2 { font-size: 2.5rem; }

    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero { height: 60vh; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-cta { padding: 12px 24px; font-size: 0.72rem; }

    .top-bar { font-size: 0.65rem; letter-spacing: 0.5px; }

    .split-text h2,
    .menu-head h2,
    .gallery-head h2,
    .contact-text h2 { font-size: 2rem; }

    .gallery-mosaic {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
    }
    .gal-wide { grid-column: span 1; }
}
