:root {
    --brand-blue: #0b2361;
    --brand-blue-light: #153a99;
    --brand-cream: #f4f2ea;
    --text-light: #ffffff;
    --text-dark: #0b2361;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--brand-blue);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 4vw;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease, padding 0.4s ease;
}

nav.scrolled {
    background: rgba(11, 35, 97, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 15px 4vw;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    text-decoration: none;
    z-index: 1002;
}

.logo-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--text-light);
    padding: 2px;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: var(--brand-cream);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

nav.scrolled .nav-links a { text-shadow: none; }
.nav-links a:hover { opacity: 1; }

.btn-pill {
    background: transparent;
    color: var(--brand-cream);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--brand-cream);
    transition: background-color 0.4s ease, color 0.4s ease;
    display: inline-block;
    cursor: pointer;
}

.btn-pill:hover, .btn-pill.active {
    background: var(--brand-cream);
    color: var(--brand-blue);
}

.desktop-only { display: inline-block; }
.mobile-only { display: none; }

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1002;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--brand-cream);
    transition: all 0.3s ease;
}

#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 4vw;
    clip-path: inset(0 0 0 0); 
    cursor: default;
}

.hero-bg-img {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('../imgs/hero.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform; 
}

.hero-overlay {
    position: absolute; 
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(11, 35, 97, 0.7);
    z-index: 2;
    transition: background 0.8s ease;
}

#hero:hover .hero-bg-img { transform: scale(1.05); }
#hero:hover .hero-overlay { background: rgba(11, 35, 97, 0.4); }
#hero:hover .hero-text h1 { letter-spacing: 0.05em; }

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    width: 100%;
    margin-top: 60px;
}

.hero-text h1 {
    font-size: clamp(4rem, 10vw, 8rem);
    margin-bottom: 20px;
    color: var(--brand-cream);
    transition: letter-spacing 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.hero-text p {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-weight: 400;
    color: var(--brand-cream);
    margin: 0 auto 40px auto;
    max-width: 600px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* Editorial "Acerca De" */
#acerca {
    background-color: var(--brand-cream);
    color: var(--brand-blue);
    padding: 120px 4vw;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.acerca-bg-text {
    position: absolute;
    top: 10%; left: 0; width: 100%;
    display: flex; justify-content: space-between;
    padding: 0 2vw;
    font-size: clamp(8rem, 20vw, 25rem);
    font-weight: 900;
    color: rgba(11, 35, 97, 0.04);
    pointer-events: none; z-index: 0; user-select: none;
}

.acerca-container {
    max-width: 1200px; width: 100%;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
    position: relative; z-index: 2;
}

.acerca-img-wrapper {
    width: 100%;
    height: 600px;
    position: relative;
    clip-path: inset(0 0 0 0); 
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.acerca-imagen {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background-image: url('../imgs/fasties.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.acerca-texto h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    margin-bottom: 30px; line-height: 1.1;
    color: var(--brand-blue);
}

.acerca-texto p {
    font-size: 1.15rem; line-height: 1.8;
    font-weight: 500; margin-bottom: 20px;
    color: #333;
}

.acerca-texto strong { color: var(--brand-blue); font-weight: 900; }

section.contenedor { padding: 100px 4vw; max-width: 1400px; margin: 0 auto; }
.section-title { font-size: clamp(3rem, 5vw, 5rem); margin-bottom: 30px; color: var(--brand-cream); text-align: center; }

.menu-carousel {
    display: flex;
    gap: 30px;
    padding: 20px 4vw 60px 4vw;
    margin: 0 -4vw;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.menu-carousel::-webkit-scrollbar { display: none; }

.menu-card {
    flex: 0 0 340px;
    scroll-snap-align: center;
    background: var(--brand-cream); 
    color: var(--text-dark);
    border-radius: 20px; 
    padding: 40px;
    display: flex; flex-direction: column; justify-content: space-between;
    position: relative; 
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, opacity 0.4s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.menu-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.menu-card.oculto { 
    display: none; 
    opacity: 0;
}

.btn-carta {
    display: inline-block;
    background: var(--brand-cream);
    color: var(--brand-blue);
    font-weight: 900;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(244, 242, 234, 0.15);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 3px solid transparent;
}

.btn-carta:hover {
    background: var(--brand-blue);
    color: var(--brand-cream);
    border-color: var(--brand-cream);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(244, 242, 234, 0.3);
}

.menu-filtros { display: flex; justify-content: center; gap: 15px; margin-bottom: 60px; flex-wrap: wrap; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }

.card-tag {
    display: inline-block; background: var(--brand-blue); color: var(--brand-cream);
    padding: 6px 14px; border-radius: 50px; font-size: 0.75rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 25px; align-self: flex-start;
}

.menu-card h3 { font-size: 2rem; margin-bottom: 10px; color: var(--brand-blue); }
.menu-card .price { font-size: 1.5rem; font-weight: 700; margin-bottom: 15px; color: var(--brand-blue-light); }
.menu-card .desc { font-size: 1rem; color: #444; margin-bottom: 30px; line-height: 1.5; flex-grow: 1; }

.menu-card .btn-add {
    background: transparent; color: var(--brand-blue); border: 2px solid var(--brand-blue);
    padding: 14px; border-radius: 50px; font-size: 0.9rem; font-weight: 800; cursor: pointer;
    text-transform: uppercase; transition: background 0.4s ease, color 0.4s ease; width: 100%;
}
.menu-card .btn-add:hover { background: var(--brand-blue); color: var(--brand-cream); }

.card-img-container {
    margin: -40px -40px 25px -40px; height: 220px; overflow: hidden; border-radius: 20px 20px 0 0;
}
.card-img-container img { width: 100%; height: 100%; object-fit: cover; }

/* Carrusel de Reseñas */
#resenas {
    background-color: var(--brand-cream); color: var(--brand-blue);
    padding: 100px 0; overflow: hidden;
}
#resenas .section-title { color: var(--brand-blue); padding: 0 4vw; }
.carousel-track {
    display: flex; gap: 25px; padding: 20px 4vw 40px 4vw;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }

.review-card {
    flex: 0 0 350px; scroll-snap-align: start; background: #ffffff;
    padding: 40px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    opacity: 0; transform: translateX(30px) scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.review-card.materialized { opacity: 1; transform: translateX(0) scale(1); }
.stars { color: #fca311; font-size: 1.5rem; margin-bottom: 15px; letter-spacing: 2px; }
.review-card h4 { font-size: 1.4rem; margin-bottom: 15px; color: var(--brand-blue); }
.review-card p { font-size: 1.05rem; color: #555; margin-bottom: 25px; font-style: italic; }
.author { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 0.9rem; text-transform: uppercase; }
.author-icon {
    width: 30px; height: 30px; background: var(--brand-blue-light); color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem;
}

.info-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.info-box { background: transparent; border: 1px solid rgba(244, 242, 234, 0.2); padding: 60px; border-radius: 20px; color: var(--brand-cream); }
.info-box h3 { font-size: 2rem; margin-bottom: 30px; }
.info-box p { font-size: 1.1rem; margin-bottom: 20px; opacity: 0.9; }

.map-container {
    width: 100%;
    min-height: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(244, 242, 234, 0.2);
    display: flex;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
}

.horarios-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.horarios-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dotted rgba(244, 242, 234, 0.3);
    font-size: 1.05rem;
}

.horarios-list li:last-child {
    border-bottom: none;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

footer {
    text-align: center; padding: 40px; border-top: 1px solid rgba(255,255,255,0.1);
    font-weight: 700; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 2px;
    margin-top: 50px; color: var(--brand-cream); opacity: 0.7;
}


@media (max-width: 968px) {

    .menu-card { flex: 0 0 280px; padding: 30px; }

    .card-img-container { 
        margin: -30px -30px 20px -30px; 
        height: 180px;
    }

    .btn-carta { font-size: 1rem; padding: 15px 35px; width: 100%; text-align: center; }
    .menu-toggle { display: flex; }
    .desktop-only { display: none !important; }
    .mobile-only { display: inline-block; }

    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 100vw; height: 100vh;
        background: rgba(11, 35, 97, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1001;
    }
    
    .nav-links.active { right: 0; }
    .nav-links a { font-size: 1.5rem; margin-bottom: 25px; text-shadow: none; }

    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .hero-content { margin-top: 120px; }
    .hero-text h1 { font-size: clamp(3rem, 15vw, 5rem); }

    #acerca { padding: 80px 5vw; }
    .acerca-bg-text { display: none; }
    .acerca-container { grid-template-columns: 1fr; gap: 40px; }
    .acerca-img-wrapper { height: 350px; }

    section.contenedor { padding: 60px 5vw; }
    
    .menu-grid { grid-template-columns: 1fr; }
    .menu-filtros { gap: 10px; }
    .menu-filtros .btn-pill { padding: 8px 16px; font-size: 0.75rem; }

    .info-wrapper { grid-template-columns: 1fr; }
    .info-box { padding: 40px 30px; }

    .review-card { flex: 0 0 280px; padding: 30px; }
    .map-container iframe { min-height: 350px; }
}