/* --- REGLAS PARA ESCRITORIO --- */
@media (min-width: 1025px) {
    .mobile-menu-btn, 
    .mobile-nav-overlay {
        display: none !important;
    }
}

/* --- REGLAS PARA MÓVIL --- */
@media (max-width: 1024px) {
    /* 1. LA BARRA SUPERIOR*/
    .toolbar-sticky {
        z-index: 9999 !important;
        position: sticky;
        top: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
    }

    /* 2. EL BOTÓN */
    .mobile-menu-btn {
        width: 40px; 
        height: 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        cursor: pointer;
        position: relative;
        z-index: 10000;
    }

    .mobile-menu-btn span {
        display: block;
        height: 3px;
        width: 28px;
        background-color: #fff;
        border-radius: 4px;
        transition: all 0.3s ease-in-out;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: #FF5F00;
    }
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: #FF5F00;
    }

    /* 3. EL MENÚ (Overlay) */
    .mobile-nav-overlay {
        position: fixed;
        z-index: 9000;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(10, 10, 10, 0.5);
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }

    .mobile-nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* TEXTO */
    .mobile-nav-overlay a {
        font-family: var(--font-titles);
        font-size: 1.85rem !important;
        font-weight: 800;
        color: #fff;
        text-transform: uppercase;
        text-decoration: none;
        letter-spacing: 2px;
    }

    /* --- 2. CALCULADORA --- */
    #calculadora, .calc-grid, .calc-card {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden;
    }

    .bus-inputs-row {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .bus-inputs-row input, .bus-inputs-row select {
        width: 100% !important;
        box-sizing: border-box;
    }

    .big-money {
        font-size: 3.5rem;
    }
    
    .result-big #total-ahorro {
        font-size: 3.5rem;
    }

    .calc-card label {
        display: block;
        width: 100%;
        word-wrap: break-word;
    }

    .calc-card input, 
    .calc-card select {
        width: 100% !important;
        min-width: 0 !important;
    }

    /* --- 3. AJUSTES GENERALES PARA MÓVIL --- */
    #hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-main {
        width: 100%;
        text-align: center;
    }

    /* Servicios */
    .service-item {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
        padding: 40px 0;
    }
    
    .num-outline {
        font-size: 4rem;
        margin-bottom: 10px;
    }

    .units-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .contact-grid, .location-grid {
        grid-template-columns: 1fr;
    }

    .social-widget {
        display: none; 
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 20px;
        padding: 40px 20px;
    }

    .correlimos-signature {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 8px;
        font-size: 0.85rem;
    }

    .footer-divider {
        width: 90%;
        margin: 0 auto;
    }
}