/* ==========================================================================
   Cristina — Sistema de Diseño Premium (Estilo Lujo & Alta Gastronomía)
   ========================================================================== */

/* 1. Variables de Diseño (Tokens) */
:root {
    /* Paleta de Colores de Alta Gama */
    --color-bg-base: #050505;
    --color-gold-warm: #c5a059;       /* Oro mate sutil, elegante */
    --color-gold-hover: #e5bf75;      /* Brillo dorado */
    --color-text-white: #fdfcf7;      /* Blanco roto premium, reduce fatiga visual */
    --color-text-dim: rgba(255, 255, 255, 0.7);
    --color-text-muted: rgba(255, 255, 255, 0.4);
    
    /* Efecto Glassmorphism Premium */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4);
    
    /* Tipografías */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    
    /* Tiempos de Animación */
    --transition-speed-slow: 1500ms;
    --transition-speed-normal: 400ms;
    --transition-speed-fast: 150ms;
}

/* 2. Reseteo y Ajustes Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent; /* Quita el recuadro azul táctil en móviles */
}

html, body {
    width: 100vw;
    min-height: 100dvh; /* dvh asegura que encaje en pantallas móviles sin barras flotantes */
    overflow-x: hidden;
    overflow-y: auto;
    background-color: var(--color-bg-base);
    color: var(--color-text-white);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 3. Slider de Fondo Cinematográfico */
.bg-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    z-index: 1;
    overflow: hidden;
}

.bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.03); /* Efecto zoom ultra sutil */
    transition: opacity var(--transition-speed-slow) cubic-bezier(0.4, 0, 0.2, 1),
                transform var(--transition-speed-slow) cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

/* Estado activo para el fundido cruzado */
.bg-slide.active {
    opacity: 0.78;
    transform: scale(1);
}

/* Capa Oscura de Lujo */
.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente radial/lineal oscuro para mejorar el contraste sin perder el lujo de las fotos */
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0.75) 0%, 
        rgba(0, 0, 0, 0.82) 50%, 
        rgba(0, 0, 0, 0.95) 100%
    );
    z-index: 2;
    pointer-events: none;
}

/* 4. Layout Principal (Mobile-First) */
.main-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 440px; /* Ancho elegante para móviles */
    min-height: 100dvh;
    margin: 0 auto;
    padding: 32px 20px;
}

/* 5. Cabecera y Logo */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-top: 2dvh;
    margin-bottom: 3vh;
    animation: fadeInDown 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.logo {
    max-height: 100px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.45));
}

/* 6. Enrutador SPA - Vistas */
.route-view {
    display: none;
    width: 100%;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.route-view.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 1;
    transform: translateY(0);
}

/* --- VISTA: Selector de Sucursales --- */
.intro-section {
    width: 100%;
    margin-bottom: 3.5vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: fadeInUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.15s forwards;
    opacity: 0;
}

.intro-text {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.65;
    color: var(--color-text-white);
    margin-bottom: 28px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    max-width: 95%;
}

.select-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold-warm);
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.branches-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 28px;
    animation: fadeInUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.3s forwards;
    opacity: 0;
}

/* Agrupaciones por ciudad */
.city-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
}

.city-header {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-gold-warm);
    text-align: left;
    margin-bottom: 4px;
    padding-left: 4px;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.city-branches {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
}

/* Tarjetas de sucursales (tipo Linktree premium) */
.branch-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 80px;
    padding: 0 24px;
    text-decoration: none;
    border-radius: 16px;
    background: rgba(12, 12, 12, 0.52);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-speed-normal) cubic-bezier(0.25, 1, 0.5, 1);
}

.branch-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.branch-name {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-text-white);
    letter-spacing: 0.02em;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.branch-city {
    font-size: 0.75rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

.branch-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: transform var(--transition-speed-normal) ease, color var(--transition-speed-normal) ease;
}

.branch-arrow svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

/* Efectos Interactivos */
@media (hover: hover) {
    .branch-card:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(197, 160, 89, 0.35);
        transform: translateY(-2px);
        box-shadow: 0 16px 40px 0 rgba(0, 0, 0, 0.5), 0 0 15px rgba(197, 160, 89, 0.12);
    }
    
    .branch-card:hover .branch-arrow {
        color: var(--color-gold-hover);
        transform: translateX(4px);
    }
}

.branch-card:active {
    transform: scale(0.97);
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(197, 160, 89, 0.6);
}

/* --- VISTAS SUCURSALES (COMÚN Y ESPECÍFICO) --- */
.sucursal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 16px;
    border-radius: 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-decoration: none;
    color: var(--color-text-dim);
    font-size: 0.78rem;
    font-weight: 400;
    transition: all var(--transition-speed-normal) ease;
}

.back-arrow {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-speed-normal) ease;
}

@media (hover: hover) {
    .back-btn:hover {
        color: var(--color-text-white);
        border-color: var(--color-gold-warm);
        background: rgba(255, 255, 255, 0.06);
    }
    .back-btn:hover .back-arrow {
        transform: translateX(-3px);
    }
}

.back-btn:active {
    transform: scale(0.95);
}

.sucursal-logo {
    max-height: 28px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

/* Selector de Idioma (Switch Pill) */
.lang-switch {
    display: inline-flex;
    align-items: center;
    height: 38px;
    border-radius: 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3px 6px;
    gap: 4px;
    user-select: none;
    -webkit-user-select: none;
}

.lang-option {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 10px;
    border-radius: 20px;
    border: none;
    background: transparent;
    color: var(--color-text-muted);
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed-normal) ease;
    outline: none;
}

.lang-option.active {
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-text-white);
}

.lang-divider {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.75rem;
    font-weight: 300;
    pointer-events: none;
}

.header .lang-switch {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.header .lang-switch:active {
    transform: translateY(-50%) scale(0.98);
}

/* Hero Sucursal */
.sucursal-hero {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 18px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    margin-bottom: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(360deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0) 100%);
}

.hero-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    text-align: left;
    z-index: 5;
}

.hero-subtitle {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--color-gold-warm);
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 2.1rem;
    font-weight: 300;
    color: var(--color-text-white);
    margin-top: 4px;
}

/* Contenido Principal de Sucursales */
.sucursal-content-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 36px;
    animation: fadeInUp 1s cubic-bezier(0.25, 1, 0.5, 1) 0.15s forwards;
    opacity: 0;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 300;
    color: var(--color-text-white);
    letter-spacing: 0.02em;
    text-align: left;
    margin-bottom: 18px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 32px;
    height: 1px;
    background: var(--color-gold-warm);
}

/* Botones de acción (Llamar, Ubicación, etc) */
.action-buttons-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 14px;
}

.action-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 68px;
    padding: 0 20px;
    text-decoration: none;
    border-radius: 14px;
    background: rgba(12, 12, 12, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-speed-normal) cubic-bezier(0.25, 1, 0.5, 1);
}

.action-icon-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.action-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--color-gold-warm);
    transition: all var(--transition-speed-normal) ease;
}

.action-icon {
    width: 18px;
    height: 18px;
}

.action-text {
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--color-text-white);
    letter-spacing: 0.02em;
}

.action-double-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.action-subtext {
    font-size: 0.72rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}

.arrow-icon {
    width: 14px;
    height: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: transform var(--transition-speed-normal) ease, color var(--transition-speed-normal) ease;
}

/* Efectos hover para action-card */
@media (hover: hover) {
    .action-card:not(.disabled):hover {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(197, 160, 89, 0.3);
        transform: translateY(-2px);
    }
    
    .action-card:not(.disabled):hover .action-icon-wrapper {
        border-color: rgba(197, 160, 89, 0.35);
        color: var(--color-gold-hover);
        background: rgba(255, 255, 255, 0.06);
    }
    
    .action-card:not(.disabled):hover .arrow-icon {
        color: var(--color-gold-hover);
        transform: translateX(3px);
    }
}

.action-card:not(.disabled):active {
    transform: scale(0.98);
}

/* Deshabilitados */
.action-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* OpenTable Section */
.opentable-section {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-top: 16px;
    margin-bottom: 40px;
}

.opentable-section .section-title {
    margin-bottom: 16px;
}

.opentable-widget {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    min-width: 0;
    min-height: 320px;
    overflow: hidden;
    border-radius: 18px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.opentable-widget iframe {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    border: 0 !important;
    box-sizing: border-box !important;
    opacity: 0.92;
    transition: opacity var(--transition-speed-normal) ease;
}

.opentable-widget iframe:hover,
.opentable-widget iframe:focus {
    opacity: 1;
}

.widget-loader {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--color-text-dim);
    letter-spacing: 0.05em;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% { opacity: 0.4; }
    50% { opacity: 0.8; }
    100% { opacity: 0.4; }
}

/* Horario */
.horario-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 24px;
    border-radius: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: var(--glass-shadow);
}

.horario-days {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--color-gold-warm);
    letter-spacing: 0.05em;
}

.horario-hours {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--color-text-white);
    margin-top: 6px;
    letter-spacing: 0.03em;
}

/* WhatsApp */
.whatsapp-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 24px 20px;
    border-radius: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: var(--glass-shadow);
}

.whatsapp-title {
    font-family: var(--font-serif);
    font-size: 1.18rem;
    font-weight: 300;
    line-height: 1.4;
    color: var(--color-text-white);
    margin-bottom: 8px;
}

.whatsapp-subtitle {
    font-size: 0.78rem;
    font-weight: 300;
    color: var(--color-text-dim);
    margin-bottom: 20px;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 48px;
    border-radius: 12px;
    border: 1px solid rgba(197, 160, 89, 0.4);
    background: rgba(197, 160, 89, 0.06);
    color: var(--color-text-white);
    font-size: 0.88rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-speed-normal) cubic-bezier(0.25, 1, 0.5, 1);
}

.whatsapp-icon {
    width: 20px;
    height: 20px;
    color: var(--color-gold-warm);
    transition: transform var(--transition-speed-normal) ease;
}

@media (hover: hover) {
    .whatsapp-btn:hover {
        background: rgba(197, 160, 89, 0.15);
        border-color: var(--color-gold-warm);
        box-shadow: 0 8px 24px rgba(197, 160, 89, 0.1);
    }
    .whatsapp-btn:hover .whatsapp-icon {
        transform: scale(1.1);
    }
}

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

/* FAQ Accordion */
.faq-accordion-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
}

.faq-item {
    width: 100%;
    border-radius: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    overflow: hidden;
    transition: all var(--transition-speed-normal) cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-text-white);
    letter-spacing: 0.02em;
    gap: 16px;
}

.faq-arrow {
    width: 16px;
    height: 16px;
    color: var(--color-gold-warm);
    transition: transform var(--transition-speed-normal) cubic-bezier(0.25, 1, 0.5, 1);
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed-normal) cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-answer p {
    padding: 0 20px 18px 20px;
    font-size: 0.8rem;
    font-weight: 300;
    line-height: 1.5;
    color: var(--color-text-dim);
}

/* Active State Accordion */
.faq-item.active {
    border-color: rgba(197, 160, 89, 0.25);
    background: rgba(255, 255, 255, 0.05);
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 150px; /* Ajustable al contenido */
}

/* Footers */
.sucursal-footer {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 8px 0 16px 0;
    margin-top: 12px;
}

.sucursal-footer span {
    font-size: 0.68rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .branch-card {
        height: 72px;
        padding: 0 16px;
    }
    .action-card {
        height: 60px;
        padding: 0 16px;
    }
    .faq-question {
        padding: 14px 16px;
        font-size: 0.8rem;
    }
    .faq-answer p {
        padding: 0 16px 14px 16px;
        font-size: 0.76rem;
    }
}

/* ==========================================================================
   Nueva Sección: Cancún Modal & Descubre Nuestros Conceptos (Carousels)
   ========================================================================== */

/* 1. Modal Premium Glassmorphic */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-speed-normal) cubic-bezier(0.25, 1, 0.5, 1);
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    position: relative;
    width: 90%;
    max-width: 380px;
    background: rgba(18, 18, 18, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--glass-shadow);
    transform: scale(0.92);
    transition: transform var(--transition-speed-normal) cubic-bezier(0.25, 1, 0.5, 1);
}

.modal-backdrop.active .modal-card {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: transparent;
    border: none;
    color: var(--color-text-dim);
    font-size: 1.5rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition-speed-fast) ease;
    outline: none;
}

.modal-close:hover {
    color: var(--color-text-white);
}

#modal-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 300;
    color: var(--color-gold-warm);
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

#modal-text {
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.5;
    color: var(--color-text-dim);
    margin-bottom: 24px;
}

.modal-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 28px;
    border-radius: 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--color-text-white);
    font-family: var(--font-sans);
    font-size: 0.76rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-speed-normal) ease;
    outline: none;
}

@media (hover: hover) {
    .modal-action:hover {
        border-color: var(--color-gold-warm);
        background: rgba(255, 255, 255, 0.06);
    }
}

.modal-action:active {
    transform: scale(0.96);
}

/* 2. Sección de Conceptos */
.concepts-section {
    width: 100%;
    margin-top: 80px;
    margin-bottom: 64px;
}

.concepts-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--color-gold-warm);
    letter-spacing: 0.12em;
    text-align: center;
    margin-bottom: 8px;
}

.concepts-subtitle {
    font-size: 0.72rem;
    font-weight: 300;
    color: var(--color-text-dim);
    text-align: center;
    margin-bottom: 24px;
}

/* 3. Carruseles Horizontales */
.carousel-container {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 10px 0;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-container {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.carousel-container:active {
    cursor: grabbing;
}

.carousel-track {
    display: inline-flex;
    gap: 14px;
    padding: 0 20px;
    will-change: scroll-position;
}

.concept-card {
    position: relative;
    flex: 0 0 150px;
    aspect-ratio: 9 / 12;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease;
    user-select: none;
}

.concept-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

@media (hover: hover) {
    .concept-card:hover {
        border-color: var(--color-gold-warm);
        transform: translateY(-2px);
    }
    .concept-card:hover img {
        transform: scale(1.06);
    }
}

.concept-card:active {
    transform: scale(0.97);
}

#carousel-2 {
    margin-top: 8px;
}

.highlight-text {
    color: var(--color-gold-warm);
    font-weight: 600;
}

/* ==========================================================================
   Nueva Ruta: Vista de Menú Editorial (/menu-01)
   ========================================================================== */

.menu-view-wrapper {
    background-color: #F8F5EF; /* Fondo crema sólido y elegante */
    color: #433B37;
    min-height: 100dvh;
    font-family: 'Cormorant Garamond', serif;
    padding: 0;
    box-sizing: border-box;
}

.menu-header {
    position: relative;
    padding: 36px 24px 20px 24px; /* Altura de encabezado reducida ligeramente */
    text-align: center;
    background: transparent;
    overflow: hidden;
}

/* Ilustraciones botánicas de línea fina decorativas y estratégicas */
.menu-header::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 90px;
    height: 90px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23B96F60' stroke-width='1' stroke-linecap='round'%3E%3Cpath d='M100,0 Q70,30 50,60 T20,95 M70,30 Q80,50 90,70 M50,60 Q40,40 30,20'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.15;
    pointer-events: none;
}

.menu-back-btn {
    position: absolute;
    left: 24px;
    top: 36px;
    color: #433B37;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(185, 111, 96, 0.12);
    transition: all 0.3s ease;
    z-index: 10;
}

.menu-back-btn svg {
    width: 18px;
    height: 18px;
}

.menu-back-btn:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.95);
}

.menu-logo-container {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.menu-logo-glorifier {
    display: none; /* Glorificador ya no es necesario gracias al contraste natural de color */
}

.menu-logo-img {
    height: 64px; /* Logotipo principal */
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 2;
    filter: brightness(0) saturate(100%) invert(56%) sepia(21%) saturate(1637%) hue-rotate(310deg) brightness(87%) contrast(83%); /* Convierte el logo blanco en el color rosa terracota #C06E70 */
}

.menu-main-title {
    font-family: 'Allura', cursive;
    font-size: 2.1rem; /* Reducido un 25% adicional */
    color: #B96F60;
    margin: 0 auto;
    line-height: 1;
    font-weight: normal;
    position: relative;
    z-index: 2;
}

.menu-main-tagline {
    font-size: 0.86rem;
    color: #7A6E67; /* Contraste y lectura mejorados */
    margin: 10px auto 0 auto;
    font-weight: 300;
    max-width: 460px; /* Ancho de lectura optimizado */
    line-height: 1.6; /* Interlineado */
    letter-spacing: 0.02em;
    position: relative;
    z-index: 2;
}

.menu-header-botanical-bg {
    display: none; /* Eliminado el fondo general */
}

/* Buscador */
.menu-search-container {
    padding: 16px 24px 28px 24px; /* Incrementado el espacio superior */
    background: transparent;
}

.menu-search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.menu-search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #7A6E67;
    width: 13px;
    height: 13px;
}

#menu-search-input {
    width: 100%;
    height: 40px;
    padding: 0 40px 0 38px; /* Mayor padding */
    border-radius: 20px; /* Completamente redondeado */
    border: 1px solid rgba(185, 111, 96, 0.12); /* Borde más fino */
    background: rgba(255, 255, 255, 0.95);
    color: #433B37;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    box-shadow: 0 2px 6px rgba(185, 111, 96, 0.015); /* Sombra muy suave */
}

#menu-search-input::placeholder {
    color: rgba(122, 110, 103, 0.4);
}

#menu-search-input:focus {
    border-color: #B96F60;
    background: #ffffff;
    box-shadow: 0 3px 8px rgba(185, 111, 96, 0.04);
}

.menu-search-clear-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #7A6E67;
    font-size: 1.2rem;
    cursor: pointer;
    line-height: 1;
    display: none;
}

.menu-search-clear-btn.active {
    display: block;
}

/* Navegación por Pills de Categorías */
.menu-pills-nav {
    display: flex;
    flex-direction: column;
    gap: 12px; /* Más separación */
    padding: 0 24px 36px 24px; /* Incrementado el espacio inferior */
    align-items: center;
    background: transparent;
    box-sizing: border-box;
}

.menu-pills-row {
    display: flex;
    gap: 12px; /* Más separación entre pills */
    justify-content: center;
    width: 100%;
    max-width: 500px;
}

.menu-nav-pill {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px; /* Incrementado de 44px a 48px para más espacio vertical */
    border-radius: 24px; /* Proporcional a la nueva altura */
    font-family: 'Inter', sans-serif;
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #7A6E67;
    background: #FFFDF9;
    border: 1px solid rgba(185, 111, 96, 0.15);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    outline: none;
    box-sizing: border-box;
}

.menu-nav-pill:hover {
    border-color: #B96F60;
    color: #B96F60;
    background: #ffffff;
}

.menu-nav-pill.active {
    color: #ffffff;
    background: #A75C4E;
    border-color: #A75C4E;
    box-shadow: 0 3px 10px rgba(185, 111, 96, 0.1);
}

.protagonist-row {
    width: 100%;
}

.protagonist-pill {
    flex: 1;
    max-width: 100%;
}

/* Contenedor de contenido */
.menu-content-container {
    padding: 32px 24px; /* Incrementado espacio lateral y superior */
    max-width: 650px;
    margin: 0 auto;
    box-sizing: border-box;
}

.menu-category-panel {
    display: none;
}

.menu-category-panel.active {
    display: block;
    animation: menuFadeIn 0.35s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

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

.category-editorial-header {
    text-align: center;
    margin-bottom: 40px; /* Incrementado el espacio */
    position: relative;
}

.editorial-script-title {
    font-family: 'Allura', cursive;
    font-size: 2.8rem;
    color: #B96F60;
    line-height: 1;
    position: relative;
    display: inline-block;
    padding: 0 36px;
}

/* Detalles botánicos muy discretos junto al título de categoría */
.editorial-script-title::before,
.editorial-script-title::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.22;
}

.editorial-script-title::before {
    left: 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B96F60' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M2 22C8 20 18 15 22 2 M11 12c1-1 2-2.5 2-2.5s-1.5-.5-2.5.5-1 2.5-1 2.5s1 .5 1.5-.5z'/%3E%3C/svg%3E");
}

.editorial-script-title::after {
    right: 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B96F60' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M22 22C16 20 6 15 2 2 M13 12c-1-1-2-2.5-2-2.5s1.5-.5 2.5.5 1 2.5 1 2.5s-1 .5-1.5-.5z'/%3E%3C/svg%3E");
}

.editorial-divider {
    width: 28px;
    height: 1px;
    background: rgba(185, 111, 96, 0.16);
    margin: 8px auto 0 auto;
}

/* Acordeón Editorial tipo Tarjeta */
.menu-accordion {
    display: flex;
    flex-direction: column;
    gap: 22px; /* Espacio uniforme entre acordeones */
}

.menu-accordion-item {
    background: #FFFDF9; /* Fondo blanco cálido */
    border: 1px solid rgba(185, 111, 96, 0.12); /* Borde muy tenue */
    border-radius: 20px; /* Radio de 20 px */
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 2px 8px rgba(185, 111, 96, 0.012); /* Sombra extremadamente ligera */
}

.menu-accordion-item.active {
    border-color: rgba(185, 111, 96, 0.3); /* Aumentado ligeramente el contraste al abrir */
    box-shadow: 0 4px 12px rgba(185, 111, 96, 0.025);
}

.menu-accordion-header {
    width: 100%;
    padding: 22px 28px; /* Aumentado el padding interno */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    text-align: left;
    box-sizing: border-box;
}

.accordion-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.22rem;
    font-weight: 600; /* Peso tipográfico ligeramente mayor */
    color: #433B37; /* Color más oscuro */
    letter-spacing: 0.01em;
}

.accordion-status-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B96F60' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.menu-accordion-item.active .accordion-status-icon {
    transform: rotate(180deg);
}

.menu-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.menu-accordion-item.active .menu-accordion-body {
    max-height: 2000px;
}

/* Listado de Productos */
.products-list {
    padding: 12px 28px 28px 28px; /* Aumentado padding y mejorada separación con el header */
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
}

.product-item {
    display: flex;
    flex-direction: column;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(185, 111, 96, 0.12);
}

.product-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    line-height: 1.25;
}

.product-name {
    font-size: 1.02rem;
    font-weight: 500;
    color: #6F645D; /* Tono ligeramente más claro para contrastar con subsecciones */
}

.product-quantity {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: #8E827A; /* Menor contraste */
    margin-top: 3px;
    font-weight: 400;
}

.product-description {
    font-size: 0.85rem;
    font-style: italic;
    color: #8E827A; /* Menor contraste */
    margin-top: 4px;
    line-height: 1.4;
}

/* Subsecciones */
.menu-subsection-group {
    margin-bottom: 24px;
    box-sizing: border-box;
}

.menu-subsection-group:last-child {
    margin-bottom: 0;
}

.menu-subsection-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    color: #B96F60;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 12px 0;
    border-bottom: 1px solid rgba(185, 111, 96, 0.12);
    padding-bottom: 4px;
}

.nested-list {
    padding: 0 0 0 8px;
    gap: 12px;
}

/* Lista Directa Editorial (Mixología y Postres) */
.editorial-direct-list {
    padding: 0;
    gap: 20px;
}

.editorial-direct-list .product-item {
    border-bottom-style: solid;
    border-bottom-color: rgba(185, 111, 96, 0.12);
    padding-bottom: 16px;
}

/* Resultados de búsqueda */
.menu-search-results-container {
    display: none;
    padding: 28px 24px;
    max-width: 650px;
    margin: 0 auto;
    box-sizing: border-box;
}

.menu-search-results-container.active {
    display: block;
    animation: menuFadeIn 0.3s ease forwards;
}

.search-result-meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    color: #B96F60;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
    display: flex;
    gap: 6px;
}

/* Footer Editorial */
.menu-editorial-footer {
    text-align: center;
    padding: 48px 24px;
    margin-top: 56px;
    border-top: 1px solid rgba(185, 111, 96, 0.15);
    position: relative;
    background: transparent;
    box-sizing: border-box;
    overflow: hidden;
}

.menu-footer-logo-wrapper {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.menu-footer-logo {
    height: 36px;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 2;
    margin: 0 auto;
    filter: brightness(0) saturate(100%) invert(56%) sepia(21%) saturate(1637%) hue-rotate(310deg) brightness(87%) contrast(83%); /* Convierte el logo del footer en el color rosa terracota #C06E70 */
}

.menu-footer-glorifier {
    display: none;
}

.menu-footer-hours {
    font-size: 0.85rem;
    color: #756A64;
    margin: 0 0 10px 0;
    font-weight: 300;
}

.menu-footer-copyright {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    color: rgba(117, 106, 100, 0.5);
    margin: 0;
}

/* Detalle botánico discreto en el footer */
.menu-footer-botanical {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 50' fill='none' stroke='%23B96F60' stroke-width='1'%3E%3Cpath d='M10,50 Q30,10 50,45 T90,50 M30,50 Q50,25 70,50' opacity='0.15'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
}

/* Botón volver arriba */
.menu-top-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(185, 111, 96, 0.15);
    color: #A75C4E;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 999;
    box-shadow: 0 4px 12px rgba(185, 111, 96, 0.08);
    outline: none;
}

.menu-top-btn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.menu-top-btn svg {
    width: 16px;
    height: 16px;
}

.menu-top-btn:active {
    transform: scale(0.92);
}

@media (min-width: 768px) {
    .menu-content-container,
    .menu-search-results-container {
        max-width: 800px;
    }
    
    .menu-pills-nav {
        max-width: 800px;
        margin: 0 auto;
    }
    
    .products-list:not(.nested-list) {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 40px;
        row-gap: 20px;
    }
    
    .editorial-direct-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 40px;
        row-gap: 24px;
    }
}

/* ==========================================================================
   Sección de Instagram Dinámica
   ========================================================================== */

.menu-instagram-section {
    padding: 56px 0 24px 0;
    max-width: 100%; /* Evita salirse del contenedor y causar cortes horizontales en la pantalla */
    overflow: hidden; /* Corta cualquier desborde horizontal para que el texto y layout encajen */
    box-sizing: border-box;
}

.menu-instagram-header {
    text-align: center;
    margin-bottom: 28px;
    padding: 0 24px;
}

.menu-instagram-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #433B37;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0 0 8px 0;
}

.menu-instagram-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: #7A6E67;
    margin: 0;
    line-height: 1.5;
}

.menu-instagram-single-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 24px 28px 24px;
    width: 100%;
    box-sizing: border-box;
}

.instagram-card {
    width: 100%;
    max-width: 340px; /* Ancho del 100% hasta un máximo de 340px */
    background: #FFFDF9;
    border: 1px solid rgba(185, 111, 96, 0.15);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(185, 111, 96, 0.02);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    animation: menuFadeIn 0.35s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.instagram-card-header {
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(185, 111, 96, 0.08);
}

.instagram-card-category-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    color: #A75C4E; /* Color terracota destacado */
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.instagram-card-embed {
    width: 100%;
    height: 380px; /* Reducida la altura del contenedor para ocultar el footer del iframe */
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.instagram-iframe {
    width: 100%;
    height: 470px; /* Iframe más alto que el contenedor para forzar el recorte del link de Instagram */
    border: none;
    display: block;
}

.instagram-card-footer {
    padding: 14px 18px;
    background: #FFFDF9;
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(185, 111, 96, 0.08);
}

.instagram-view-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    color: #B96F60;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.instagram-view-btn:hover {
    color: #A75C4E;
}

/* Fallback elegant card */
.instagram-fallback-body {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    background: linear-gradient(135deg, #FFFDF9 0%, #F5EFEB 100%);
    color: #7A6E67;
    text-align: center;
}

.instagram-fallback-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    color: #B96F60;
    opacity: 0.8;
}

.instagram-fallback-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #433B37;
    margin: 0 0 6px 0;
}

.instagram-fallback-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    line-height: 1.4;
    margin: 0 0 16px 0;
}

@media (min-width: 768px) {
    .menu-instagram-section {
        max-width: 800px;
    }
    .menu-instagram-single-container {
        padding: 12px 24px 28px 24px;
    }
}
