/* Variables de diseño inspiradas en tu logo */
:root {
    --bg-dark-core: #060608;
    --bg-dark-surface: #0f0f14;
    --neon-gold: #ffb74d;          
    --neon-gold-glow: rgba(255, 183, 77, 0.35);
    --text-primary: #ffffff;
    --text-secondary: #9da4b0;
    --border-cyber: rgba(255, 183, 77, 0.15);
    --neon-cyan: #00e5ff;          
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark-core);
    color: var(--text-primary);
    font-family: 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
}

.cyber-grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(255, 183, 77, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 183, 77, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    pointer-events: none;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(6, 6, 8, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-cyber);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container { display: flex; align-items: center; gap: 15px; }
.web-logo {
    width: 300px;  border-radius: 50%;
    border: 2px solid var(--neon-gold); box-shadow: 0 0 15px var(--neon-gold-glow);
    object-fit: cover;
}
.brand-text { display: flex; flex-direction: column; }
.brand-title { font-size: 1.25rem; font-weight: 800; letter-spacing: 3px; color: var(--neon-gold); }
.brand-subtitle { font-size: 0.65rem; letter-spacing: 5px; color: var(--text-secondary); }

nav { display: flex; gap: 30px; }
nav .nav-link {
    color: var(--text-secondary); text-decoration: none; font-size: 0.95rem;
    font-weight: 500; letter-spacing: 1px; transition: all 0.3s ease;
    position: relative; padding: 5px 0;
}
nav .nav-link:hover, nav .nav-link.active { color: var(--neon-gold); }
nav .nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--neon-gold); transition: width 0.3s ease;
}
nav .nav-link:hover::after, nav .nav-link.active::after { width: 100%; }

/* Botón Hamburguesa Oculto por defecto en Escritorio */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}
.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--neon-gold);
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px var(--neon-gold-glow);
}

.system-status {
    display: flex; align-items: center; gap: 8px; background: rgba(255, 183, 77, 0.05);
    padding: 6px 12px; border-radius: 20px; border: 1px solid rgba(255, 183, 77, 0.2);
}
.status-pulse {
    width: 8px; height: 8px; background-color: var(--neon-cyan); border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-cyan); animation: pulse 1.8s infinite;
}
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(0, 229, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}
.status-text { font-size: 0.7rem; font-weight: bold; color: var(--neon-cyan); }

.hero-section { min-height: 40vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; }
.hero-content { max-width: 800px; }
.hero-title { font-size: 2.8rem; font-weight: 900; margin-bottom: 20px; line-height: 1.2; }
.text-glow { color: var(--neon-gold); text-shadow: 0 0 15px var(--neon-gold-glow); }
.hero-desc { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 30px; }

.container-title, .catalog-header { text-align: center; margin-bottom: 35px; padding: 0 15px; }
.cyan-badge { color: var(--neon-cyan); font-size: 0.75rem; letter-spacing: 3px; font-weight: bold; border: 1px solid rgba(0, 229, 255, 0.3); padding: 4px 10px; border-radius: 4px; display: inline-block; margin-bottom: 10px; }
.section-title { font-size: 2rem; letter-spacing: 3px; line-height: 1.3; }

/* Carrusel Base */
.carousel-section { padding: 40px 5%; overflow: hidden; }
.carousel-container { display: flex; align-items: center; justify-content: center; position: relative; max-width: 1200px; margin: 0 auto; gap: 15px; }
.carousel-window { width: 310px; overflow: hidden; padding: 20px 5px; }
.carousel-track { display: flex; gap: 25px; transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1); }

.carousel-card {
    min-width: 300px; max-width: 300px; background: var(--bg-dark-surface); border: 1px solid var(--border-cyber);
    border-radius: 16px; padding: 25px; text-align: center; position: relative; overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.glow-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 50% 0%, rgba(255, 183, 77, 0.08), transparent 70%); }
.rank-tag { position: absolute; top: 15px; right: 15px; background: rgba(255, 183, 77, 0.15); border: 1px solid var(--neon-gold); color: var(--neon-gold); font-size: 0.75rem; font-weight: bold; padding: 3px 8px; border-radius: 6px; }
.carousel-card img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; margin-bottom: 20px; transition: transform 0.4s ease; }
.carousel-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card-desc { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 15px; height: 36px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.price { font-size: 1.4rem; color: var(--neon-gold); font-weight: 800; margin-bottom: 20px; }
.carousel-card:hover { transform: translateY(-8px); border-color: var(--neon-gold); box-shadow: 0 12px 30px rgba(255, 183, 77, 0.15); }
.carousel-card:hover img { transform: scale(1.03); }

.carousel-btn { background: rgba(15, 15, 20, 0.8); border: 1px solid var(--neon-gold); color: var(--neon-gold); border-radius: 50%; width: 50px; height: 50px; cursor: pointer; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; flex-shrink: 0; }
.carousel-btn:hover { background: var(--neon-gold); color: var(--bg-dark-core); box-shadow: 0 0 15px var(--neon-gold); }

.btn-cyber-primary { display: inline-block; background: var(--neon-gold); color: var(--bg-dark-core); padding: 14px 30px; border-radius: 8px; font-weight: bold; text-decoration: none; letter-spacing: 2px; box-shadow: 0 0 20px rgba(255, 183, 77, 0.3); transition: all 0.3s ease; text-align: center; }
.btn-cyber-primary:hover { background: transparent; color: var(--neon-gold); box-shadow: 0 0 25px rgba(255, 183, 77, 0.15); transform: translateY(-2px); }

.btn-cyber { width: 100%; background: transparent; border: 1px solid var(--neon-gold); color: var(--neon-gold); padding: 12px 20px; border-radius: 8px; cursor: pointer; font-weight: bold; position: relative; overflow: hidden; transition: all 0.3s ease; }
.btn-cyber::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 183, 77, 0.4), transparent); transition: 0.5s; }
.btn-cyber:hover::before { left: 100%; }
.btn-cyber:hover { background: rgba(255, 183, 77, 0.08); }

/* ==========================================================================
   NUEVOS ESTILOS OPTIMIZADOS PARA UBICACIÓN Y REDES (LOGOS CON ANIMACIÓN NEÓN)
   ========================================================================== */
.contact-section { padding: 60px 5%; max-width: 1200px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 20px; }
.social-box, .map-box { background: var(--bg-dark-surface); border: 1px solid var(--border-cyber); border-radius: 16px; padding: 30px; }
.social-box h3, .map-box h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--neon-gold); letter-spacing: 1px; }
.social-box p, .map-box p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 25px; line-height: 1.5; }

.social-buttons { display: flex; flex-direction: column; gap: 20px; }

/* Tarjeta contenedora de red social */
.social-item {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    border-radius: 12px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

/* Envoltura circular animada del icono */
.social-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 20px;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.05);
}

.social-text { display: flex; flex-direction: column; flex-grow: 1; }
.social-title { font-size: 1.1rem; font-weight: 700; letter-spacing: 0.5px; transition: color 0.3s ease; }
.social-subtitle { font-size: 0.78rem; color: var(--text-secondary); margin-top: 2px; transition: color 0.3s ease; }

.arrow-link { font-size: 0.9rem; opacity: 0.3; transform: translateX(0); transition: all 0.3s ease; }

/* --- DINÁMICAS INDIVIDUALES POR RED (COLORES Y NEÓN) --- */

/* WhatsApp */
.social-item.whatsapp { border: 1px solid rgba(37, 211, 102, 0.15); .social-title { color: #ffffff; } .social-icon-wrapper { color: #25d366; border: 1px solid rgba(37, 211, 102, 0.3); } }
.social-item.whatsapp:hover {
    background: rgba(37, 211, 102, 0.04);
    border-color: #25d366;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.2), inset 0 0 10px rgba(37, 211, 102, 0.05);
    transform: translateY(-4px);
}
.social-item.whatsapp:hover .social-icon-wrapper {
    background: #25d366; color: #060608;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.6);
    animation: bounceIcon 0.5s ease-in-out;
}

/* Instagram */
.social-item.instagram { border: 1px solid rgba(225, 48, 108, 0.15); .social-title { color: #ffffff; } .social-icon-wrapper { color: #e1306c; border: 1px solid rgba(225, 48, 108, 0.3); } }
.social-item.instagram:hover {
    background: rgba(225, 48, 108, 0.04);
    border-color: #e1306c;
    box-shadow: 0 0 20px rgba(225, 48, 108, 0.2);
    transform: translateY(-4px);
}
.social-item.instagram:hover .social-icon-wrapper {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(225, 48, 108, 0.6);
    animation: bounceIcon 0.5s ease-in-out;
}

/* Facebook */
.social-item.facebook { border: 1px solid rgba(24, 119, 242, 0.15); .social-title { color: #ffffff; } .social-icon-wrapper { color: #1877f2; border: 1px solid rgba(24, 119, 242, 0.3); } }
.social-item.facebook:hover {
    background: rgba(24, 119, 242, 0.04);
    border-color: #1877f2;
    box-shadow: 0 0 20px rgba(24, 119, 242, 0.2);
    transform: translateY(-4px);
}
.social-item.facebook:hover .social-icon-wrapper {
    background: #1877f2; color: #ffffff;
    box-shadow: 0 0 15px rgba(24, 119, 242, 0.6);
    animation: bounceIcon 0.5s ease-in-out;
}

/* Efectos Globales al pasar el cursor */
.social-item:hover .arrow-link { opacity: 1; transform: translateX(4px); color: inherit; }
.social-item:hover .social-subtitle { color: #ffffff; }

@keyframes bounceIcon {
    0% { transform: scale(1); }
    30% { transform: scale(1.18) rotate(-10deg); }
    65% { transform: scale(0.9) rotate(6deg); }
    100% { transform: scale(1) rotate(0deg); }
}

/* Mapa Interactivo de Coordenadas */
.map-container { overflow: hidden; border: 1px solid rgba(255, 183, 77, 0.2); border-radius: 12px; width: 100%; height: 250px; }
.map-container iframe { filter: grayscale(1) invert(0.9) contrast(1.2); transition: filter 0.5s ease; }
.map-box:hover .map-container iframe { filter: grayscale(0) invert(0) contrast(1); }

/* ==========================================================================
   SECCIÓN CATÁLOGO
   ========================================================================== */
.catalog-section { padding: 40px 5%; max-width: 1300px; margin: 0 auto; }
.catalog-counter { margin-top: 10px; font-size: 0.9rem; color: var(--text-secondary); }
#counter-current { color: var(--neon-cyan); font-weight: bold; }
.search-container { display: flex; flex-direction: column; align-items: center; gap: 25px; margin-bottom: 50px; width: 100%; }
.search-box { position: relative; width: 100%; max-width: 600px; }
.search-box input { width: 100%; background: var(--bg-dark-surface); border: 1px solid var(--border-cyber); padding: 16px 24px; border-radius: 30px; color: white; font-size: 1rem; outline: none; transition: all 0.3s ease; }
.search-box input:focus { border-color: var(--neon-gold); box-shadow: 0 0 15px rgba(255, 183, 77, 0.2); }
.filter-tabs { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; width: 100%; }
.filter-btn { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); color: var(--text-secondary); padding: 8px 18px; border-radius: 20px; cursor: pointer; font-size: 0.85rem; font-weight: 600; transition: all 0.3s ease; white-space: nowrap; }
.filter-btn:hover, .filter-btn.active { border-color: var(--neon-gold); color: var(--neon-gold); background: rgba(255, 183, 77, 0.05); }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }

footer { border-top: 1px solid rgba(255, 255, 255, 0.05); padding: 40px 20px; text-align: center; color: var(--text-secondary); font-size: 0.85rem; margin-top: 60px; }
.footer-tech { margin-top: 10px; color: rgba(255, 183, 77, 0.4); font-size: 0.75rem; line-height: 1.4; }

/* Modales */
.cyber-modal {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(6, 6, 8, 0.8); backdrop-filter: blur(12px);
    display: flex; align-items: center; justify-content: center; z-index: 2000;
    opacity: 0; pointer-events: none; transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 20px;
}
.cyber-modal.active { opacity: 1; pointer-events: auto; }
.modal-content {
    background: var(--bg-dark-surface); border: 2px solid var(--neon-gold);
    box-shadow: 0 0 30px rgba(255, 183, 77, 0.2); border-radius: 20px;
    width: 100%; max-width: 550px; padding: 30px; position: relative;
    transform: translateY(20px) scale(0.95); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh; overflow-y: auto;
}
.cyber-modal.active .modal-content { transform: translateY(0) scale(1); }
.close-modal-btn { position: absolute; top: 15px; right: 20px; background: transparent; border: none; color: var(--text-secondary); font-size: 1.8rem; cursor: pointer; transition: color 0.3s ease; }
.close-modal-btn:hover { color: var(--neon-gold); }
.modal-body { display: flex; flex-direction: column; gap: 20px; text-align: center; }
.modal-body img { width: 100%; height: 240px; object-fit: cover; border-radius: 12px; border: 1px solid rgba(255, 183, 77, 0.2); }
.modal-badge-container { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.modal-title { font-size: 1.6rem; color: var(--neon-gold); letter-spacing: 1px; }
.modal-spec-box { background: rgba(255, 183, 77, 0.03); border: 1px solid var(--border-cyber); border-radius: 8px; padding: 15px; text-align: left; font-size: 0.9rem; line-height: 1.5; }
.modal-spec-item { margin-bottom: 8px; color: var(--text-secondary); }
.modal-spec-item strong { color: var(--text-primary); }
.modal-price { font-size: 1.8rem; color: var(--neon-cyan); font-weight: 800; }


/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Tabletas y Pantallas Medianas (Ancho mínimo: 768px) */
@media (min-width: 768px) {
    .carousel-window { width: 630px; }
    .hero-title { font-size: 3.5rem; }
    .contact-grid { grid-template-columns: 1fr 1fr; }
}

/* Escritorio (Ancho mínimo: 1050px) */
@media (min-width: 1050px) { 
    .carousel-window { width: 950px; } 
}

/* Celulares y Dispositivos Móviles (Ancho máximo: 767px) */
@media (max-width: 767px) {
    header { padding: 12px 4%; }
    
    .brand-title { font-size: 1.1rem; letter-spacing: 2px; }
    .brand-subtitle { font-size: 0.55rem; letter-spacing: 3px; }
    .web-logo { width: 45px; height: 45px; }

    .system-status { display: none; }
    .menu-toggle { display: flex; }

    nav {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background: rgba(15, 15, 20, 0.98);
        backdrop-filter: blur(20px);
        border-left: 1px solid var(--border-cyber);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;
        padding: 40px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1050;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    nav.active { right: 0; }
    nav .nav-link { font-size: 1.2rem; letter-spacing: 2px; width: 100%; text-align: center; padding: 10px 0; }

    .menu-toggle.open .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.open .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.open .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .hero-section { min-height: 50vh; padding: 60px 15px 30px 15px; }
    .hero-title { font-size: 1.9rem; }
    .hero-desc { font-size: 0.95rem; }
    .btn-cyber-primary { width: 100%; font-size: 0.9rem; padding: 12px 20px; }

    .section-title { font-size: 1.5rem; letter-spacing: 1.5px; }
    
    /* Adaptabilidad Móvil de Redes Sociales */
    .social-box, .map-box { padding: 20px; }
    .social-item { padding: 12px 16px; }
    .social-icon-wrapper { width: 40px; height: 40px; font-size: 1.2rem; margin-right: 12px; }
    .social-title { font-size: 0.95rem; }
    .social-subtitle { font-size: 0.7rem; }

    .carousel-container { gap: 5px; }
    .carousel-window { width: 100%; max-width: 310px; }
    .carousel-card { min-width: 280px; max-width: 280px; padding: 20px; }
    .carousel-btn { width: 40px; height: 40px; font-size: 1.1rem; }

    .modal-content { padding: 20px; border-radius: 14px; }
    .modal-title { font-size: 1.3rem; }
    .modal-body img { height: 180px; }
    .modal-spec-box { padding: 10px; font-size: 0.85rem; }
}












/* --- DISEÑO DE INFORMACIÓN DE INVITACIÓN (STAND) --- */
.location-details {
    background: rgba(255, 183, 77, 0.03);
    border-left: 3px solid var(--neon-gold);
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 20px;
    text-align: left;
}
.location-place { font-size: 1.1rem; color: #ffffff; margin-bottom: 4px !important; }
.location-building { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.4; }

.schedule-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 229, 255, 0.02);
    border: 1px dashed rgba(0, 229, 255, 0.2);
    padding: 12px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}
.schedule-item { display: flex; flex-direction: column; text-align: left; }
.schedule-days { font-size: 0.75rem; font-weight: 800; color: var(--neon-cyan); letter-spacing: 1px; }
.schedule-hours { font-size: 1rem; color: #ffffff; font-weight: bold; margin-top: 2px; }
.schedule-divider { width: 1px; height: 35px; background: rgba(0, 229, 255, 0.15); }

/* Ajuste responsive para los horarios en pantallas muy chicas */
@media (max-width: 400px) {
    .schedule-box { flex-direction: column; gap: 10px; text-align: center; }
    .schedule-item { text-align: center; }
    .schedule-divider { width: 60%; height: 1px; }
}