﻿/* =========================================================
   LEGACYCORP - RESPONSIVE
========================================================= */

/* TABLETS Y LAPTOPS PEQUEÑAS */
@media (max-width: 1024px) {

    .hero {
        min-height: auto;
        padding: 90px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 50px;
    }

    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .section {
        padding: 80px 0;
    }

    /* NAV */

    .nav-menu {
        display: none;
    }

    .btn-header {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    /* HERO */

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

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

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-visual {
        max-width: 650px;
        width: 100%;
        margin: 25px auto 0;
    }

    .tech-panel {
        transform: none;
    }

    /* SOPORTE */

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

    /* NOSOTROS */

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

    /* CONTACTO */

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

    /* CTA */

    .evaluation-box {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* =========================================================
   CELULARES
========================================================= */

@media (max-width: 600px) {

    .container {
        width: min(90%, 1180px);
    }

    .navbar {
        min-height: 68px;
    }

    .brand-icon {
        width: 38px;
        height: 38px;
    }

    .brand-name {
        font-size: 18px;
    }

    .brand-tagline {
        font-size: 9px;
    }

    /* HERO */

    .hero {
        padding: 65px 0 75px;
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: -1.8px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

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

    /* PANEL */

    .panel-content {
        padding: 22px;
    }

    .status-item {
        align-items: flex-start;
    }

    /* CARDS */

    .value-grid,
    .services-grid,
    .process-grid,
    .about-stats {
        grid-template-columns: 1fr;
    }

    .value-card,
    .service-card,
    .process-card {
        padding: 25px;
    }

    /* CTA */

    .evaluation {
        padding: 60px 0;
    }

    .evaluation-box {
        padding: 35px 25px;
    }

    .evaluation-box .btn {
        width: 100%;
    }

    /* SUPPORT */

    .support-box {
        padding: 30px 25px;
    }

    /* CONTACT */

    .contact-card {
        padding: 30px 25px;
    }

    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer {
        padding-top: 55px;
    }

    /* BOTÓN FLOTANTE */

    .floating-contact {
        width: 50px;
        height: 50px;

        right: 17px;
        bottom: 17px;
    }
}


/* =========================================================
   CELULARES MUY PEQUEÑOS
========================================================= */

@media (max-width: 380px) {

    .hero h1 {
        font-size: 36px;
    }

    .section-heading h2,
    .support-content h2,
    .about-content h2,
    .contact-content h2 {
        font-size: 29px;
    }
}