/* =============================================================================
   RESPONSIVE DESIGN
   Media queries para tablet, móvil y diferentes tamaños de pantalla
   ============================================================================= */

/* --- TABLET/LAPTOP PEQUEÑO (880px) --- */
@media (max-width: 880px) {
    .nav-links a {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .nav-cta {
        padding: 10px 18px !important;
        font-size: 0.85rem;
    }

    .nav-cta:after {
        content: "";
    }
}

/* --- CAMBIO A 2x2 EN REQUISITOS (992px) --- */
@media (max-width: 992px) {
    .requirements .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- TABLET (768px) --- */
@media (max-width: 768px) {
    /* Tipografía */
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    section { padding: 60px 0; }

    /* Menu móvil */
    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    /* Logo ajustes */
    .logo {
        font-size: 1.4rem;
        padding-left: 47px;
    }

    .logo-img {
        width: 35px;
        height: 35px;
    }

    /* Hero ajustes */
    .hero {
        padding-top: 130px;
        padding-bottom: 50px;
        min-height: 100vh;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 14px;
        margin-bottom: 15px;
    }

    .hero-illustration {
        order: -1;
        flex-shrink: 0;
    }

    .hero-icons {
        max-width: 250px;
    }

    .hero-icon {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }

    .hero-icon-center {
        width: 80px;
        height: 80px;
        font-size: 2.3rem;
    }

    /* Beneficios */
    .benefits .grid {
        grid-template-columns: 1fr;
    }

    .benefits-image {
        margin-top: 40px;
    }

    /* Calculadora */
    .calculator-wrapper {
        padding: 30px 20px;
    }

    .calculator-results {
        grid-template-columns: 1fr;
    }

    /* Requisitos - columna única en móvil */
    .requirements .grid {
        grid-template-columns: 1fr;
    }

    /* FAQ */
    .faq-question {
        font-size: 1.1rem;
    }
}

/* --- MÓVIL (480px) --- */
@media (max-width: 480px) {
    .hero {
        padding-top: 110px;
        padding-bottom: 40px;
        min-height: 100vh;
    }

    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 5px 12px;
        margin-bottom: 12px;
    }

    .hero-content {
        gap: 25px;
    }

    .hero-icons {
        max-width: 200px;
    }

    .hero-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        border-radius: 14px;
    }

    .hero-icon-center {
        width: 65px;
        height: 65px;
        font-size: 1.8rem;
        border-radius: 18px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    .mobile-nav {
        width: 90%;
    }

    .logo {
        font-size: 1.2rem;
        padding-left: 42px;
    }

    .logo-img {
        width: 32px;
        height: 32px;
    }
}

/* --- PRINT STYLES --- */
@media print {
    .header,
    .cta .btn,
    .mobile-menu-toggle,
    .calculator {
        display: none;
    }

    body {
        font-size: 12pt;
    }

    a {
        text-decoration: underline;
    }
}
