/* --- VARIABLES Y CONFIGURACIÓN --- */
:root {
    --color-primary: #D4AF37;
    /* Dorado clásico */
    --color-bg: #121212;
    /* Negro profundo */
    --color-bg-light: #1E1E1E;
    /* Gris oscuro para tarjetas */
    --color-text: #F0F0F0;
    --color-text-muted: #A0A0A0;

    --font-main: 'Montserrat', sans-serif;
    --font-serif: 'Playfair Display', serif;

    --spacing-section: 5rem;
    --transition: all 0.3s ease;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    position: relative;
}

/* Fondo parallax via pseudo-elemento: compositable GPU, no fuerza repaint en scroll */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(10, 10, 10, 0.7), rgba(18, 18, 18, 0.82)), url('../assets/mural_bruna_1.webp');
    background-size: cover;
    background-position: center;
    z-index: -1;
    will-change: transform;
    /* Promueve la capa a GPU */
}

/* Tipografía */
h1,
h2,
h3 {
    font-family: var(--font-serif);
    color: var(--color-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* --- COMPONENTES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn-primary {
    background: var(--color-primary);
    color: #000;
    padding: 8px 20px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-primary:hover {
    background: #fff;
}

.btn-primary:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

.btn-primary:active {
    transform: scale(0.97);
}

.section {
    padding: var(--spacing-section) 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.bg-darker {
    background-color: rgba(10, 10, 10, 0.5);
    /* Suprime backdrop-filter en secciones anchas: demasiado costoso para GPU */
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    /* Fondo transparente por defecto */
    background: rgba(0, 0, 0, 0);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    transition: all 0.4s ease;
}

/* Estado Sticky (al hacer scroll) */
.navbar.sticky {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Principal (Hero) */
.logo-bruna img {
    width: 90vw;
    /* Ocupa 90% del ancho de la ventana en móviles (muy grande) */
    max-width: 800px;
    /* Límite en escritorio (imponente pero seguro) */
    min-width: 200px;
    height: auto;
    margin: 0 auto 1rem;
    display: block;

    /* Animación de Entrada */
    opacity: 0;
    animation:
        logoEntrance 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards,
        floatLogo 6s ease-in-out infinite 1.5s;
    /* Flotar después de entrar */
}

/* Animaciones Keyframes */
@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
        /* Flotación suave arriba/abajo */
    }
}

.hero-subtitle {
    font-family: var(--font-serif);
    text-transform: uppercase;
    letter-spacing: 1rem;
    /* Aire entre letras para lujo */
    color: var(--color-primary);
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.highlight {
    color: var(--color-primary);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Enlace CTA destacado — Reservas */
.nav-link--cta {
    color: var(--color-primary);
    font-weight: 600;
    letter-spacing: 2px;
    position: relative;
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
    transition: text-shadow 0.3s ease, color 0.3s ease;
}

.nav-link--cta::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--color-primary);
    transform: scaleX(0.4);
    transform-origin: left;
    transition: transform 0.3s ease;
    opacity: 0.6;
}

.nav-link--cta:hover {
    color: #f0cc5a;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
}

.nav-link--cta:hover::after {
    transform: scaleX(1);
    opacity: 1;
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--color-text);
    transition: var(--transition);
}

/* --- HERO SECTION --- */
.hero-zoom-container {
    height: 300vh;
    /* Altura de scroll virtual */
    position: relative;
    background-color: transparent;
}

.hero-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

/* El logo centrado absoluto y redimensionable */
.hero-zoom-logo-wrap {
    position: absolute;
    inset: 0;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
}

.bruna-zoom-logo {
    width: auto;
    max-width: 45vw;
    /* Límite ancho máximo */
    height: 55vh;
    /* Controla por altura para logos verticales */
    max-height: 500px;
    object-fit: contain;
    will-change: transform, opacity;
    transform-origin: center center;
    filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.6));
}

.hero-content {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 100%;
    max-width: 800px;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Fix para mantener el centrado horizontal durante la animación fade-in */
.hero-content.fade-in {
    transform: translate(-50%, 30px);
}

.hero-content.fade-in.visible {
    transform: translate(-50%, 0);
}

/* Capa secundaria (subtítulo, botones, indicador de scroll) */
.hero-secondary {
    display: flex;
    flex-direction: column;
    align-items: center;
    will-change: opacity;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 3;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-arrow {
    width: 35px;
    height: 35px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
}

.scroll-arrow i {
    color: var(--color-primary);
    font-size: 0.9rem;
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    font-weight: 600;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-btns {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.btn-outline,
.btn-solid {
    padding: 12px 35px;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    transition: var(--transition);
    border: 1px solid var(--color-primary);
}

.btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    border-color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.btn-solid {
    background: var(--color-primary);
    color: #000;
}

.btn-solid:hover {
    background: transparent;
    color: var(--color-primary);
}

/* --- MENÚ GRID & TABS --- */
.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    /* Smooth scroll in iOS */
}

/* Ocultar barra de scroll en tabs horizontales */
.menu-tabs::-webkit-scrollbar {
    height: 4px;
}

.menu-tabs::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 4px;
}

.tab-btn {
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.tab-btn:hover {
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(30, 30, 30, 0.9);
}

.tab-btn.active {
    background: var(--color-primary);
    color: #000;
    border-color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
    transition: opacity 0.4s ease;
}

/* Ocultar elementos de categorías no seleccionadas */
.menu-item.hidden {
    display: none !important;
}

.menu-item {
    background: rgba(30, 30, 30, 0.75);
    /* más opaco → mismo efecto visual, sin blur */
    padding: 2.5rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.05), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.menu-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    background: rgba(30, 30, 30, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.menu-item:hover::before {
    transform: translateX(100%);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 0.8rem;
}

.item-header h3 {
    font-size: 1.3rem;
    font-family: var(--font-serif);
    color: #fff;
    margin: 0;
}

.price {
    color: var(--color-primary);
    font-weight: 700;
    font-family: var(--font-main);
    font-size: 1.1rem;
    white-space: nowrap;
}

.item-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
}

/* Signature Menu Item (Plato Destacado) */
.menu-item-signature {
    grid-column: span 2;
    /* Ocupa 2 columnas en el grid */
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(30, 30, 30, 0.6));
    border: 2px solid var(--color-primary);
    position: relative;
    padding: 3rem;
}

.menu-item-signature::before {
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.15), transparent);
}

.menu-item-signature:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.signature-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--color-primary);
    color: #000;
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
}

.signature-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    font-style: italic;
    color: var(--color-primary);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding-top: 1rem;
}

/* --- GALERÍA BENTO GRID --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 1.5rem;
    margin-top: 3rem;
}

/* Items por defecto - 1 columna, 1 fila */
.bento-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Variantes de tamaño */
.bento-large {
    grid-column: span 2;
    /* Ocupa 2 columnas */
}

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

.bento-tall {
    grid-row: span 2;
    /* Ocupa 2 filas */
}

/* Imagen de fondo */
.bento-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Caption con Glassmorphism */
.bento-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.7) 70%,
            transparent 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.bento-caption h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-serif);
    color: var(--color-primary);
}

.bento-caption p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* Hover Effects */
.bento-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.bento-item:hover .bento-image {
    transform: scale(1.1);
}

.bento-item:hover .bento-caption {
    transform: translateY(0);
}

/* --- SECCIÓN EL EQUIPO --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-card {
    background: rgba(30, 30, 30, 0.82);
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.2);
}

/* Contenedor de Foto */
.team-photo-container {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: grayscale(20%);
}

.team-card:hover .team-photo {
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* Overlay con Bio (aparece en hover) */
.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.85) 50%,
            rgba(0, 0, 0, 0.7) 100%);
    padding: 2rem;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-bio {
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Información del Miembro */
.team-info {
    padding: 2rem;
    text-align: center;
}

.team-name {
    font-size: 1.5rem;
    font-family: var(--font-serif);
    color: #fff;
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.team-specialty {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-style: italic;
    margin: 0;
}

/* Section Description Helper */
.section-desc {
    max-width: 600px;
    margin: 1rem auto 0;
    color: var(--color-text-muted);
    font-size: 1rem;
}

/* --- TRABAJA CON NOSOTROS --- */
.job-list {
    margin-top: 2rem;
}

.job-list li {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--color-primary);
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.job-list li:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.job-list h4 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.job-list p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.align-center {
    align-items: center !important;
}

.mt-2 {
    margin-top: 2rem;
}

/* --- SECCIÓN CONCEPTO (FILOSOFÍA) --- */
#concepto {
    min-height: 80vh;
    /* Ocupa casi toda la pantalla */
    display: flex;
    align-items: center;
    justify-content: center;
}

#concepto .text-col {
    padding-right: 2rem;
}

/* --- CONTACTO & FORMULARIO --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    /* Layout Asimétrico: 60/40 */
    gap: 4rem;
    align-items: start;
}

/* Imagen en sección concepto — overflow controlado en el padre */
.img-col {
    overflow: hidden;
}

.image-box {
    width: 110%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border: 2px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease;
    margin-left: -5%; /* Sangrado controlado: centra el desborde visual */
}

.image-box:hover {
    transform: scale(1.03);
}

/* Grid 50/50 para sección Concepto: la imagen es protagonista */
#concepto .grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.contact-wrapper {
    background: rgba(24, 24, 24, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    font-weight: 600;
}

input,
select {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    color: #fff;
    font-family: inherit;
    transition: var(--transition);
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.1);
}

.row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.map-box iframe {
    width: 100%;
    height: 350px;
    border: none;
    filter: grayscale(100%) invert(92%) contrast(83%);
    margin-top: 2rem;
    border: 1px solid #333;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.info-item i {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-top: 3px;
}

address {
    font-style: normal;
}

/* --- FOOTER --- */
.footer {
    background: rgba(8, 8, 8, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    color: #000;
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

.copyright {
    color: #555;
    font-size: 0.8rem;
    margin-top: 1rem;
}

/* --- UTILIDADES DE ANIMACIÓN --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        width: 25px;
    }

    .logo-bruna img {
        max-width: 280px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 0.3rem;
    }

    .nav-menu {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        gap: 2rem;
        flex-direction: column;
        justify-content: center;
        background: #000;
        width: 100%;
        text-align: center;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
        padding: 2rem;
    }

    .nav-menu.active {
        transform: translateX(0%);
    }

    .nav-item {
        margin: 0;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 1rem;
        padding: 0 2rem;
    }

    .contact-wrapper {
        padding: 1.5rem;
    }

    /* Responsive - Bento Grid */
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 250px;
        gap: 1rem;
    }

    .bento-large,
    .bento-wide {
        grid-column: span 1;
        /* En móvil todas ocupan 1 columna */
    }

    .bento-tall {
        grid-row: span 1;
        /* En móvil todas ocupan 1 fila */
    }

    /* Corrección #7: signature item no puede hacer span 2 en mobile */
    .menu-item-signature {
        grid-column: span 1;
    }

    /* Corrección #8: campos del formulario apilados en mobile */
    .row-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* Mobile Bottom Navigation Bar */
    .mobile-bottom-bar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(18, 18, 18, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 1rem;
        border-top: 1px solid rgba(212, 175, 55, 0.2);
        z-index: 1000;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
    }

    .bottom-reserve-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        font-size: 1.1rem;
        padding: 12px;
        border-radius: 4px;
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
        margin: 0;
        /* Remove default margin */
    }

    /* Padding to body to prevent hidden content behind bottom nav bar */
    body {
        padding-bottom: 80px;
    }

    /* Responsive - Team Cards */
    .team-grid {
        grid-template-columns: 1fr;
        /* Una columna en móvil */
        gap: 2rem;
    }

    .team-photo-container {
        height: 300px;
    }
}

/* --- MOBILE BOTTOM NAVIGATION BAR (Desktop Hidden) --- */
.mobile-bottom-bar {
    display: none;
}

/* =========================================================
   MEJORA #1: PANEL DE ÉXITO DE RESERVA (BRANDED)
   Reemplaza el alert() por una confirmación premium
   ========================================================= */
.reservation-success-panel {
    padding: 3rem 2.5rem;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.07), rgba(18, 18, 18, 0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    /* Animación de entrada */
    opacity: 0;
    transform: translateY(15px) scale(0.98);
    transition: opacity 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reservation-success-panel.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.success-ornament {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    display: block;
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.8;
    }
}

.success-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.success-details {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.success-detail-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1rem;
    color: var(--color-text);
}

.success-detail-item i {
    color: var(--color-primary);
    font-size: 1.1rem;
}

.success-email {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.success-email strong {
    color: var(--color-text);
}

.btn-whatsapp-confirm {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 14px 32px;
    background: #25D366;
    color: #fff;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: var(--transition);
    margin-bottom: 1.5rem;
}

.btn-whatsapp-confirm:hover {
    background: #1DA851;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
    color: #fff;
}

.btn-whatsapp-confirm i {
    font-size: 1.2rem;
}

.success-footer {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.success-footer a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* =========================================================
   SISTEMA DE TOASTS — Notificaciones no-bloqueantes
   ========================================================= */
#toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
    max-width: 380px;
}

.toast {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 0.875rem;
    line-height: 1.5;
    color: #fff;
    pointer-events: all;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-left: 3px solid currentColor;

    /* Entrada: slide desde la derecha */
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.toast.toast-visible {
    opacity: 1;
    transform: translateX(0);
}

.toast i {
    flex-shrink: 0;
    font-size: 1rem;
    margin-top: 1px;
}

.toast-success {
    background: rgba(20, 30, 20, 0.92);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.toast-success span {
    color: var(--color-text);
}

.toast-error {
    background: rgba(30, 10, 10, 0.92);
    border-color: #e07b54;
    color: #e07b54;
}

.toast-error span {
    color: var(--color-text);
}

.toast-warning {
    background: rgba(30, 25, 10, 0.92);
    border-color: #d4a017;
    color: #d4a017;
}

.toast-warning span {
    color: var(--color-text);
}

/* Toast responsivo en mobile */
@media (max-width: 900px) {
    #toast-container {
        bottom: 6rem;
        /* Sobre el mobile bottom bar */
        right: 1rem;
        left: 1rem;
        max-width: none;
    }

    .success-details {
        gap: 1rem;
    }

    .success-title {
        font-size: 1.5rem;
    }
}