/* =========================================
   1. CONFIGURACIÓN BASE
   ========================================= */
:root {
    --primary-color: #1ad458;
    --primary-dark: #15b348;
    --primary-glow: rgba(26, 212, 88, 0.35);
    --bg-body: #050505;
    --bg-card: #111111;
    --bg-card-hover: #1a1a1a;
    --text-main: #ffffff;
    --text-muted: #888;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    overflow-x: hidden;
}

/* =========================================
   2. PRELOADER
   ========================================= */
#preloader-vt {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.vt-container span {
    font-size: 6rem;
    font-weight: 900;
    margin: 0 5px;
    opacity: 0;
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.v {
    color: #ffffff;
    animation-delay: 0.2s;
}

.t {
    color: var(--primary-color);
    animation-delay: 0.5s;
    text-shadow: 0 0 30px rgba(26, 212, 88, 0.7);
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.hide-loader {
    opacity: 0;
    visibility: hidden;
}

/* =========================================
   3. ESTILOS GENERALES (FULL SCREEN)
   ========================================= */
.full-screen-bg,
.hero-section {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
}

.section-header-content {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    justify-content: flex-start;
    padding-top: 150px;
    padding-left: 8%;
}

.content-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
}

.section-title,
.content-wrapper p,
.content-wrapper h2,
.content-wrapper h3 {
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.9);
    color: #ffffff;
}

/* =========================================
   4. NAVBAR FLOTANTE (MEJORADO)
   ========================================= */
.pill-navbar {
    position: fixed;
    top: 28px;
    right: 40px;
    left: auto;
    transform: none;
    background-color: rgba(10, 12, 18, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 18px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.navbar-links a {
    text-decoration: none;
    color: #999;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.25s;
    padding: 7px 14px;
    border-radius: 30px;
}

.navbar-links a:hover {
    color: #fff;
    background: rgba(255,255,255,0.06);
}

.navbar-links a.active {
    color: var(--primary-color);
    background: rgba(26, 212, 88, 0.1);
    font-weight: 700;
    text-shadow: 0 0 12px var(--primary-glow);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid rgba(255,255,255,0.1);
}

.navbar-icon {
    display: none;
}

.login-btn {
    color: #ccc;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 7px 15px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.25s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.login-btn:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.06);
}

.user-profile-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #000;
    border: 2px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(26,212,88,0.3);
    transition: all 0.3s ease;
}

.user-profile-btn:hover {
    transform: scale(1.05);
}

.register-btn {
    background: var(--primary-color);
    color: #000;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 8px 16px;
    border-radius: 30px;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 12px var(--primary-glow);
}

.register-btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 20px rgba(26, 212, 88, 0.5);
    transform: translateY(-1px);
}

/* =========================================
   5. TIPOGRAFÍA Y TÍTULOS
   ========================================= */
.main-title {
    font-size: 7rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 0.9;
    margin-bottom: 20px;
    letter-spacing: -3px;
    text-transform: uppercase;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
.main-title span {
    color: var(--primary-color);
    text-shadow: 0 0 40px var(--primary-glow);
}

.big-text {
    font-size: 5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: #eee;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5rem;
    font-weight: 800;
}

.highlight-text {
    color: var(--primary-color);
    text-shadow: 0 0 30px var(--primary-glow);
}

/* =========================================
   6. HERO — ANIMACIONES DE ENTRADA
   ========================================= */
.hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
    opacity: 0;
    animation: slideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-animated .main-title {
    opacity: 0;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.hero-animated .hero-subtitle {
    opacity: 0;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

.hero-cta-group {
    display: flex;
    gap: 15px;
    margin-top: 35px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}

.hero-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 14px 28px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 5px 25px var(--primary-glow);
    transition: all 0.3s;
}

.hero-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(26, 212, 88, 0.55);
    background: var(--primary-dark);
}

.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 13px 28px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(8px);
    transition: all 0.3s;
}

.hero-cta-secondary:hover {
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}

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

/* =========================================
   7. SCROLL DOWN
   ========================================= */
.scroll-down-container {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    z-index: 10;
    animation: saltar 2s infinite ease-in-out;
    opacity: 0;
    animation: saltar 2s 1.5s infinite ease-in-out, fadeIn 0.5s 1.5s forwards;
}

.scroll-text {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 300;
}

.scroll-down {
    color: var(--primary-color);
    font-size: 1.3rem;
}

@keyframes saltar {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -10px); }
}

/* =========================================
   8. TARJETAS DE NEGOCIO (CON IMAGEN)
   ========================================= */
.business-img-container {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.business-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.business-card:hover .business-img {
    transform: scale(1.05);
}

.img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    pointer-events: none;
}

.business-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
    color: #ddd;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.premium-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.badge-empresarial {
    background: linear-gradient(135deg, #f6d365, #fda085);
    color: #000;
}

.badge-emprendedor {
    background: linear-gradient(135deg, #a18cd1, #fbc2eb);
    color: #000;
}

.business-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.business-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.business-desc {
    font-size: 0.88rem;
    color: #888;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}

/* =========================================
   9. SECCIÓN EVENTOS (ENRIQUECIDA)
   ========================================= */
.eventos-header {
    text-align: center;
    padding: 80px 0 50px;
}

.eventos-eyebrow {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.eventos-subtitle {
    color: #888;
    font-size: 1rem;
    font-weight: 300;
    margin-top: 10px;
}

.evento-icon-col {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.evento-icon-circle {
    width: 46px;
    height: 46px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border: 1px solid rgba(255,255,255,0.08);
}

.evento-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    background: rgba(26,212,88,0.1);
    border: 1px solid rgba(26,212,88,0.2);
    padding: 2px 8px;
    border-radius: 20px;
    margin-bottom: 6px;
}

.patrias-tag {
    color: #ef4444;
    background: rgba(239,68,68,0.1);
    border-color: rgba(239,68,68,0.2);
}

.evento-status {
    flex-shrink: 0;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
}

.evento-status.upcoming {
    color: var(--primary-color);
    background: rgba(26,212,88,0.1);
    border: 1px solid rgba(26,212,88,0.25);
}

/* =========================================
   10. FOOTER REDISEÑADO
   ========================================= */
.site-footer {
    background: #070707;
    border-top: 1px solid var(--border-subtle);
    padding: 70px 0 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: #fff;
    text-transform: uppercase;
}

.footer-logo span {
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-glow);
}

.footer-tagline {
    color: #555;
    font-size: 0.9rem;
    font-weight: 300;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.25s;
}

.social-btn:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

.social-wa:hover {
    background: rgba(37, 211, 102, 0.15);
    color: #25D366;
    border-color: rgba(37, 211, 102, 0.3);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h4 {
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}

.footer-links a {
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding: 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #444;
}

.footer-credits span {
    color: var(--primary-color);
    font-weight: 700;
}

/* =========================================
   11. IMÁGENES DE FONDO
   ========================================= */
.bg-inicio {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.65)), url('/img/imagen_portada_principal.jpeg');
    background-position: center 40%;
}

.bg-inicio .hero-content {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bg-servicios {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/img/imagen4.jpeg');
}

.bg-eventos {
    background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.75)), url('/img/imagen5.jpeg');
}

/* =========================================
   12. RESPONSIVE
   ========================================= */
@media (max-width: 1100px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    /* Navbar en móvil */
    .pill-navbar {
        top: 8px;
        right: 12px;
        left: auto;
        transform: none;
        width: max-content;
        max-width: 95%;
        padding: 4px 10px;
        gap: 6px;
    }

    .navbar-links {
        gap: 2px;
    }

    .navbar-links a {
        font-size: 0.55rem;
        padding: 4px 7px;
        letter-spacing: 0.2px;
    }

    .navbar-actions {
        margin-left: 2px;
        padding-left: 4px;
        gap: 2px;
    }

    .btn-label {
        display: none;
    }

    .navbar-icon {
        display: block;
    }

    .login-btn, .register-btn {
        padding: 4px 6px;
        font-size: 0.58rem;
    }

    .user-profile-btn {
        width: 26px;
        height: 26px;
        font-size: 0.8rem;
        border-width: 1.5px;
        box-shadow: 0 2px 8px rgba(26,212,88,0.2);
    }

    /* Hero */
    .main-title {
        font-size: 3.5rem;
        letter-spacing: -1px;
    }

    .big-text {
        font-size: 3rem;
    }

    .hero-eyebrow {
        font-size: 0.75rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .section-header-content {
        align-items: flex-start;
        padding-left: 20px;
        padding-top: 120px;
        min-height: 40vh;
    }

    .content-wrapper {
        padding: 0 20px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 20px;
    }

    /* Eventos */
    .eventos-header {
        padding: 50px 0 30px;
    }
}

@media (max-width: 480px) {
    .pill-navbar {
        max-width: 96%;
    }
}

/* =========================================
   13. CORRECCIÓN SECCIÓN NEGOCIOS
   ========================================= */
#negocios .section-header-content {
    align-items: center;
    text-align: center;
    padding-left: 0;
    padding-top: 160px;
    width: 100%;
    margin-bottom: 0;
    min-height: auto !important;
    padding-bottom: 0 !important;
}

#negocios .main-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 40px;
    width: 90%;
    max-width: 1200px;
}

/* =========================================
   14. CORRECCIÓN SECCIÓN EVENTOS
   ========================================= */
#tocache-te-espera .section-header-content {
    min-height: auto !important;
    padding-bottom: 10px !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
}

#tocache-te-espera .section-header-content:empty {
    display: none !important;
}

.eventos-lista {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    padding-bottom: 80px;
}

.evento-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 20px 24px;
    color: #fff;
    transition: all 0.3s ease;
}

.evento-card:hover {
    transform: translateX(6px);
    border-color: rgba(26, 212, 88, 0.3);
    background: rgba(25, 25, 25, 0.95);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.evento-fecha {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 80px;
    padding-right: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.evento-fecha .mes {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
    margin-bottom: 2px;
}

.evento-fecha .dia {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 0.9;
}

.evento-fecha .rango {
    font-size: 11px;
    font-weight: 600;
    color: #777;
    margin-top: 4px;
}

.evento-info {
    flex: 1;
    text-align: left;
}

.evento-info h3 {
    margin: 4px 0 6px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

.evento-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #777;
}

/* =========================================
   15. AJUSTE RESPONSIVE NEGOCIOS Y EVENTOS
   ========================================= */
@media (max-width: 768px) {
    #negocios .main-title {
        font-size: 2.2rem;
        padding-top: 20px;
        margin-bottom: 25px;
    }

    #negocios .section-header-content {
        padding-top: 70px;
    }

    .evento-status {
        display: none;
    }
}

/* =========================================
   16. YC SCENES (HISTORIAS)
   ========================================= */
.yc-scene.active .yc-media-wrapper {
    opacity: 1;
    transform: scale(1);
    filter: blur(0) grayscale(0);
    z-index: 100;
    position: relative;
}