* {
    box-sizing: border-box;
}

body,main,div,ul,li,a,h1,h2,h3,h4,p {
    margin:0;
    padding:0;
}

body {
    font-family: 'Montserrat', sans-serif;
}

:root{ 
    --color-principal: #050000;
    --color-traslucer: #2e2d2d86;
    --bc-color: #e2eaff; 
    --text-color: #101632dd; 
    --text-color-dark: #fff; 
    --shadow-color: #5d5d5dc8;
    --text-secundary: #000000;
    --color-secundary: #a5a5a5;

    --color-primary: #22391789;
    --color-hover:#223917f7;
    --color-text: #fff;

    --color-fondo-productos: #2a0a0a;
    --color-whatsapp: #25d365;
    --color-whatsapp-trans: #25d36590;
    --color-productos-title: #b73737dc;
    --color-gradient-1: #180101a2;
    --color-gradient-2: #2503037c;
    --color-negro: #000;
    --color-blanco: #fff;
}


/* Video de fondo FIJO */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    display: none;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.video-background.activo {
    display: block;
    opacity: 1;
}

/* Filtro oscuro para que el texto se lea siempre */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.365);
    z-index: 1;
}

/*--- SPLASH / INDEX ---*/

.content-wrapper{
    margin-top: 25px;
    position: relative;
    z-index: 1;
}

.splash {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    font-family: 'Montserrat', sans-serif;
    
}

.scroll-arrow {
    font-size: 3rem;
    color: var(--color-blanco);
    animation: bounce 2s infinite;
    margin-top: 1rem;
    
}

.splash__logo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-secundary);
    background: var(--color-principal);
    margin-bottom: 1rem;
    box-shadow: 0 0 30px #00000040;
    
}

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

/* Transición suave logos */
.splash__logo {
    transition: opacity 0.8s ease;
}

.splash__title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-blanco);
    letter-spacing: 5px;
    filter: drop-shadow(0px 0px 15px var(--color-hover));
    margin-bottom: 0.3rem;
    
}

.splash__sub {
    font-size: 1rem;
    color: var(--color-blanco);
    filter: drop-shadow(0px 0px 20px var(--color-hover));
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    
}

.splash__btns {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
    max-width: 320px;
    
}

.splash__btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    border: none;
    width: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    
}



.splash__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px #00000066;
    
}

.splash__btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #00000026;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    
}

.splash__btn-icon img {
    width: 15px;
    height: 15px;
}

.splash__btn--wa {
    background: var(--color-whatsapp-trans);
    color: var(--color-blanco);
    
}

.splash__btn--wa:hover {
    background: var(--color-whatsapp);
    color: var(--color-blanco);
    
}

.splash__btn--ins {
    background: var(--color-traslucer);
    color: var(--color-blanco);
    border: 1.5px solid var(--color-blanco);
}

.splash__btn--ins:hover {
    background: var(--color-principal);
    color: var(--color-blanco);
}

.splash__btn--menu {
    background: var(--color-traslucer);
    color: var(--color-blanco);
    border: 1.5px solid var(--color-blanco);
    justify-content: space-between;
    
}

.splash__btn--menu:hover {
    background: var(--color-principal);
    color: var(--color-blanco);
    border: 1.5px solid var(--color-blanco);
    
}

.splash__btn-left {
    display: flex;
    align-items: center;
    gap: 12px;
    
}

.splash__arrow {
    font-size: 1rem;
    color: var(--color-blanco);
    transition: transform 0.3s ease;
    
}

.splash__btn--ubi {
    background: rgba(255,255,255,0.08);
    color: var(--color-blanco);
    border: 1.5px solid rgba(255,255,255,0.15);
}

/*--- ACORDEON SPLASH ---*/

/*--- ACORDEÓN ITEMS ESTADO HORARIO --- */

/* Cuervo Café activo (mañana) — verde */
.splash__acordeon-item.activo {
    background: rgba(74, 103, 65, 0.6); /* verde trasparente */
    border-left: 3px solid #4a6741;
    color: var(--color-blanco);
}

.splash__acordeon-item.activo:hover {
    background: #4a6741; /* verde sólido al hover */
    color: var(--color-blanco);
}

/* Menú ejecutivo — gris transparente, hover gris sólido */
.splash__acordeon-item.proxima {
    background: rgba(120, 120, 120, 0.3);
    color: rgba(255,255,255,0.6);
}

.splash__acordeon-item.proxima:hover {
    background: rgba(120, 120, 120, 0.85);
    color: var(--color-blanco);
}

.splash__details {
    width: 100%;
    max-width: 320px;
}

.splash__details summary {
    list-style: none;
}

.splash__details summary::-webkit-details-marker {
    display: none;
}

.splash__details[open] .splash__arrow {
    transform: rotate(180deg);
}

.splash__details .splash__acordeon-inner {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 0.4s ease, opacity 0.3s ease;
}

.splash__details[open] .splash__acordeon-inner {
    grid-template-rows: 1fr;
    opacity: 1;
}

.splash__acordeon-wrap {
    overflow: hidden;
    background: var(--color-traslucer);
    border: 1px solid var(--color-blanco);
    border-radius: 16px;
    margin-top: 0.5rem;
}

.splash__acordeon-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--color-blanco);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.2s;
}

.splash__acordeon-item:last-child {
    border-bottom: none;
}

.splash__acordeon-item:hover {
    background: var(--color-negro);
    color: var(--color-blanco);
}

.splash__acordeon-item i {
    font-size: 1rem;
    color: var(--color-secundary);
}

#toggle-productos {
    display: none;
}

#toggle-productos ~ .splash__acordeon-inner:first-of-type {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 0.4s ease, opacity 0.35s ease;
}

#toggle-productos:checked ~ .splash__acordeon-inner:first-of-type {
    grid-template-rows: 1fr;
    opacity: 1;
}

#toggle-productos:checked ~ label .splash__arrow {
    transform: rotate(180deg);
}

.splash__acordeon-item.activo {
    background: var(--color-primary);
    border-left: 3px solid var(--color-hover);
}

#toggle-redes {
    display: none;
}

#toggle-redes ~ .splash__acordeon-inner {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 0.4s ease, opacity 0.35s ease;
}

#toggle-redes:checked ~ .splash__acordeon-inner {
    grid-template-rows: 1fr;
    opacity: 1;
}



#toggle-redes:checked ~ label .splash__arrow {
    transform: rotate(180deg);
}

/*--- SKIP ---*/

.splash__skip {
    margin-top: 2rem;
    font-size: 0.68rem;
    color: #fffffff3;
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.2s;
    font-family: 'Montserrat', sans-serif;
}

.splash__skip:hover {
    color: var(--color-gold-light);
}

/*--- HEADER ---*/


/*--- pagina principal carta ---*/



.header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: min(900px, 92%);
    z-index: 1000;
    font-size: 0.9rem;
    font-weight: 600;
    background: var(--color-principaln);
    backdrop-filter: blur(10px);
    border: 1px solid #ffffff1a;
    padding: 0 30px;
    height: 65px;
    border-radius: 16px;

    /*--- animation ---*/

    container-type: inline-size;
    container-name: header;
    animation: header-movement both;
    animation-timeline: scroll();
    animation-range: 10px 80px;
}

#logo-nav-cafe {
    display: none;
}

.nav-list {
    display: flex;
    overflow: visible;
    list-style: none;
    margin: 0;
    gap: 20px;
    padding: 8px 10px 0;
}

.header .main-logo{
    width: 100px;
    padding: 0px;
    margin: 0;
}


.nav-list li {
    flex: 0 0 auto;
}

.nav-list a {
    display: block;
    padding: 14px 5px;
    color: var(--color-text);
    text-decoration: none;
}

.nav-list a:hover {
    border-radius: 8px;
    background: var(--color-primary-hover);
    color: #7b7b7b;
    transition: all 0.25s ease;
}

.nav-reserva {
    background: var(--color-secundary);
    color: var(--text-color);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition:background 0.25s;
    white-space: nowrap;
}

.nav-reserva:hover {
    background: var(--color-gold-light);
    color: var(--color-blanco);

}

/* DROPDOWN NAV */
.nav-dropdown {
    position: relative;
}

.nav-dropdown__label {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 14px 5px;
    color: var(--color-text);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    transition: color 0.2s;
}

.nav-dropdown__label:hover {
    color: var(--color-secundary);
}

.nav-dropdown__label i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

#toggle-carta-nav {
    display: none;
}

#toggle-carta-nav:checked ~ .nav-dropdown__label i {
    transform: rotate(180deg);
}

.nav-dropdown__menu {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: -50%;
    transform: translateX(-50%);
    background: #1112273c;
    border: 1px solid #ffffff1a;
    border-radius: 12px;
    padding: 8px 0;
    min-width: 200px;
    list-style: none;
    z-index: 1100;
    box-shadow: 0 8px 25px #00000066;
}

#toggle-carta-nav:checked ~ .nav-dropdown__menu {
    display: block;
    animation: menu-open 0.25s ease forwards;
}

.nav-dropdown__menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.2s;
}

.nav-dropdown__menu li a:hover {
    background: var(--color-secundary);
    color: var(--color-blanco);
}

.nav-dropdown__menu li a i {
    color: var(--color-secundary);
    font-size: 1rem;
}

/*---- HEADER ANIMATION ----*/

@keyframes header-movement {
    from {
        background: var(--color-principal);
        
    }

    to {
        background:#1112273c;
        box-shadow: 0 8px 25px #00000066;
        backdrop-filter: blur(8px);
        color:#fff;
    }
}

/*----- RESPONSIVE -----*/

.menu-toggle {
    display: none;
}

/* El ícono de hamburguesa solo se muestra en móvil */
.menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    padding: 0 15px;
    transition: color 0.25s ease;
}

.menu-icon:hover {
    color: var(--color-primary);
}

.menu-toggle:checked ~ .nav {
    display: block;
    animation: menu-open 0.3s ease forwards;
}

/*---- ANIMACION DEL MENU HAMBURGUESA ----*/
@keyframes menu-open {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {

    .header {
        flex-wrap: nowrap;
        width: 90%;
        height: 55px;
        overflow: visible;
        padding: 10px 20px;
        border-radius: 12px;
    }

    .menu-icon {
        display: block;
    }

    .nav {
        display: none;
        position: absolute;
        top: 60px;
        right: 0;      
        left: auto;      
        width: 220px;    
        background: #050000f7;
        border-radius: 12px;
        border: 1px solid var(--color-border);
        padding: 5px 0;
        box-shadow: 0 8px 25px #00000066;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }

    .nav-list a {
        padding: 14px 10px;
        border-bottom: 1px solid var(--color-border);
        text-align: left;
        font-size: 0.95rem;
        letter-spacing: 1px;
    }

    .nav-list li:last-child a {
        border-bottom: none;
    }

    .menu-toggle:checked ~ .nav {
        display: block;
        width: 220px;
    }

    /* DROPDOWN CARTA en móvil — se expande inline, no flotante */
    .nav-dropdown {
        position: static;
    }

    .nav-dropdown__menu {
        position: static;       /* ← ya no es flotante */
        transform: none;
        left: auto;
        min-width: 100%;
        border-radius: 8px;
        margin: 0 10px;
        box-shadow: none;
        border: none;
        background: rgba(255,255,255,0.05);
    }

    .nav-reserva {
        font-size: 0.8rem;
    }

    .header-right {
        display: flex;
        align-items: center;
        gap: 10px;
    }
}


/*--- SUBMENU CATEGORIAS CARRUSEL ---*/

.categorias-wrapper {
    position:sticky;
    top: 120px;
    bottom: auto;
    width: fit-content;
    max-width: 70%;
    margin: 30px auto 20px;
    z-index:100;
    background: var(--color-traslucer);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-color);
    border-radius: 16px;
    padding: 10px;
}

.categorias-carrusel {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; 
}


.caterorias-carrusel::-webkit-scrollbar {
    display: none; 
}

.categoria-card {
    flex:0 0 auto;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    background: var(--color-secundary);
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.25s ease;
    min-width: 80px;
}

.categoria-card i {
    font-size: 20px;
    color: var(--color-primary);
}

.categoria-card span {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
    white-space: nowrap;
}

.categoria-card:hover, .categoria-card:active {
    background: var(--color-secundary);
    border-color: var(--color-primary);
    color: #000;
}

.categoria-card.active i, .categoria-card:hover i {
    color: #000;
}


/*---- CARTA SECTION ----*/


.logo-section {
    display: flex;
    justify-content: center;
}

.logo-section img {
    width: 100px;
    height: 100px;
}

.carta {
    min-height: fit-content;
    padding-top: 5px;
    backdrop-filter: blur(10px);
    max-width: 700px;
    margin: 200px auto;
    position: relative;
    z-index: 1;
    border-radius: 20px;
    border:1.5px solid var(--color-hover);
}

.carta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.carta-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1.5px solid var(--color-secundary);
    border-radius: 16px;
    padding: 1.2rem;
    margin: 10px;
}

.carta-box h2 {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--color-hover);
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-hover);
}

.carta-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    gap: 10px;
}

.carta-item:last-child {
    border-bottom: none;
}

.item-nombre  {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-blanco);
}

.item-desc {
    color: var(--color-blanco);
}

.item-precio {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-secundary);
    white-space: nowrap;
}

.carta-box--full {
    margin-bottom: 1rem;
}

.carta-subtitle {
    font-size: 0.6rem;
    font-weight: 400;
    opacity: 0.7;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-left: 8px;
}

.carta-grid-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
}

@media (max-width: 768px) {
    .carta-grid-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .carta-grid {
        grid-template-columns: 1fr;
    }
}

/*---- section ejecutivo ----*/

.menu-precio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-hover);
}

.menu-precio-badge {
    background: var(--color-hover);
    color: var(--color-blanco);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.menu-opcion-badge {
    display: inline-block;
    border: 1px solid var(--color-hover);
    color: var(--color-hover);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.menu-seccion {
    margin-bottom: 0.8rem;
}

.menu-seccion-titulo {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--color-hover);
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.menu-lista {
    list-style: none;
    padding: 0;
}

.menu-lista li {
    font-size: 0.85rem;
    color: var(--color-blanco);
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.menu-lista li:last-child {
    border-bottom: none;
}

.menu-texto {
    font-size: 0.85rem;
    color: var(--color-blanco);
    line-height: 1.5;
}


/*--- FOOTER ----*/

/*--- FOOTER ---*/
.footer {
    position: relative;
    z-index: 2;
    background: var(--color-principal);
    border-top: 1px solid var(--color-hover);
    padding: 2rem 1rem;
    margin-top: 3rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.footer-logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-hover);
}

.footer-titulo {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--color-hover);
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.footer-col p,
.footer-col a {
    display: block;
    font-size: 0.8rem;
    color: var(--color-blanco);
    text-decoration: none;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.footer-col p span {
    color: var(--color-hover);
    font-weight: 700;
}

.footer-col a:hover {
    color: var(--color-hover);
}

.footer-col a i {
    margin-right: 5px;
}

.footer-pedidosya {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin-top: 0.5rem;
}

.footer-pedidosya img {
    width: 14px;
    height: 14px;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.7rem;
    color: var(--color-secundary);
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}