
/* Mobile */
.menu-btn {
    display: none
}

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

    .grid3 {
        grid-template-columns: 1fr;
    }

    .split {
        grid-template-columns: 1fr;
    }

    .contact {
        grid-template-columns: 1fr;
    }

    nav ul {
        display: none
    }

    .menu-btn {
        display: inline-flex
    }

    .logo-img {
        height: 48px;
        /* ← cambiá este valor para agrandar o achicar */
        width: auto;
        display: block;
    }

}

/* Small polish */
.glow {
    position: absolute;
    inset: -120px -100px auto auto;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(46, 107, 255, .22), transparent 60%);
    filter: blur(2px);
    pointer-events: none;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .12), transparent);
    margin: 22px 0 0;
}

.section-divider {
    margin-bottom: 24px;
}

/* Header alineado a tu bg */
header {
    background: color-mix(in srgb, var(--bg) 72%, transparent);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

/* Botón principal usando variables */
.btn.primary {
    border-color: color-mix(in srgb, var(--accent) 45%, transparent);
    background: linear-gradient(135deg,
            color-mix(in srgb, var(--accent) 95%, transparent),
            color-mix(in srgb, var(--accent2) 85%, transparent));
    color: #071020;
    box-shadow: 0 16px 40px color-mix(in srgb, var(--accent) 28%, transparent);
}

/* Badge dot usando acento */
.badge .dot {
    background: var(--accent);
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 12%, transparent);
}

/* KPIs: fondo coherente */
.kpi {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .10);
}

/* Check bullets */
.check {
    background: color-mix(in srgb, var(--accent) 18%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
}

/* Mini icon (dejá SOLO esta versión) */
.mini-icon {
    width: 34px;
    height: 34px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--accent) 18%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    overflow: hidden;
}

.mini-icon i {
    font-size: 18px;
    color: var(--white);
    filter: drop-shadow(0 0 8px color-mix(in srgb, var(--accent) 40%, transparent));
}

.mini-icon img {
    display: none;
}

/* Glow del hero */
.glow {
    background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%);
}

/* Detalles: hover un poquito más premium */
.card {
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 55px rgba(0, 0, 0, .38);
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .16);
}

/* Forms */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    padding: 12px 14px;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: .2s ease;
}

.form-control:focus {
    border-color: rgba(46, 107, 255, .5);
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 0 0 4px rgba(46, 107, 255, .1);
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

select.form-control option {
    background-color: #0b1220;
    color: var(--text);
    padding: 10px;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--muted);
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .05);
    cursor: pointer;
    position: relative;
}

.checkbox-label input[type="checkbox"]:checked {
    background: var(--accent);
    border-color: var(--accent);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

.form-btn {
    width: 100%;
    margin-top: 8px;
}

/* Mobile Menu Implementation */
@media (max-width: 980px) {
    header {
        z-index: 1000;
    }

    .menu-btn {
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0;
        width: 44px;
        height: 44px;
        border-radius: 12px;
        color: var(--text);
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: .2s ease;
        z-index: 2001; /* Above overlay menu */
        position: relative;
    }

    .menu-btn:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .menu-btn:active {
        transform: scale(0.96);
    }
    
    .menu-btn i {
        font-size: 24px;
    }

    /* Mobile Menu - Full Screen Solid */
    
    /* Remove Backdrop (No longer needed) */
    nav.active::before {
        display: none;
    }

    nav.active ul {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        inset: 0; /* Cover full screen */
        width: 100%;
        height: 100vh;
        max-width: none;
        background: #032258e8; /* Solid Theme Dark Blue/Black */
        z-index: 2000;
        padding: 0 24px;
        align-items: center; /* Center items horizontally */
        justify-content: center; /* Center items vertically */
        gap: 32px;
        box-shadow: none;
        border-left: none;
        transform: translateY(20px);
        opacity: 0;
        animation: menuFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    
    nav.active ul li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    /* Staggered animation */
    nav.active ul li:nth-child(1) { animation-delay: 0.1s; }
    nav.active ul li:nth-child(2) { animation-delay: 0.15s; }
    nav.active ul li:nth-child(3) { animation-delay: 0.2s; }
    nav.active ul li:nth-child(4) { animation-delay: 0.25s; }
    nav.active ul li:nth-child(5) { animation-delay: 0.3s; }
    nav.active ul li:nth-child(6) { animation-delay: 0.35s; }

    nav.active ul li a {
        display: inline-block;
        font-size: 32px; /* Large, elegant font */
        font-weight: 600;
        color: var(--muted);
        text-decoration: none;
        padding: 10px;
        transition: all .3s ease;
        border-bottom: none;
        letter-spacing: -0.5px;
    }
    
    nav.active ul li a:hover {
        color: var(--white);
        transform: scale(1.05);
        text-shadow: 0 0 30px rgba(46, 107, 255, 0.4);
    }
    
    body.menu-open {
        overflow: hidden;
    }
}

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

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}