/*==========================================================
RESPONSIVE.CSS
==========================================================*/
/*==========================================================
PANTALLAS GRANDES
1400px +
==========================================================*/
@media (min-width:1400px) {
    .container {
        max-width: 1320px;
    }

    .hero-section {
        min-height: 100vh;
    }

    .hero-section h1 {
        font-size: 5rem;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .hero-description {
        font-size: 18px;
    }

    .section-title {
        font-size: 3.2rem;
    }

    .service-card img {
        height: 320px;
    }

    .gallery-img {
        height: 320px;
    }

    .timeline-number {
        width: 100px;
        height: 100px;
        font-size: 38px;
    }
}

/*==========================================================
DESKTOP
1200px
==========================================================*/
@media (max-width:1200px) {
    .hero-section h1 {
        font-size: 3.8rem;
    }

    .section-title {
        font-size: 2.7rem;
    }

    .nav-link {
        margin-left: 12px;
    }

    .service-card img {
        height: 240px;
    }

    .gallery-img {
        height: 260px;
    }

    .timeline {
        gap: 20px;
    }
}

/*==========================================================
TABLET GRANDE
992px
==========================================================*/
@media(max-width:992px) {
    section {
        padding: 80px 0;
    }

    /*=========================
    NAVBAR
    =========================*/
    .navbar {
        background:var(--dark);
        padding: 15px 0;
    }

    .navbar-collapse {
        background:var(--dark);
        padding: 25px;
        margin-top: 20px;
        border-radius: 15px;
    }

    .nav-link {
        margin: 12px 0;
    }

    /*=========================
    HERO
    =========================*/
    .hero-section {
        min-height: auto;
        padding: 140px 0 90px;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 3rem;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-features {
        display: inline-block;
        text-align: left;
    }

    .hero-card {
        display: none;
    }

    /*=========================
    ESTADÍSTICAS
    =========================*/
    .stat-box {
        margin-bottom: 25px;
    }

    /*=========================
    NOSOTROS
    =========================*/
    .about-section img {
        margin-bottom: 40px;
    }

    /*=========================
    TIMELINE
    =========================*/
    .timeline {
        display: block;
    }

    .timeline::before {
        display: none;
    }

    .timeline-item {
        width: 100%;
        margin-bottom: 60px;
    }

    /*=========================
    CONTACTO
    =========================*/
    .contact-section .row {
        row-gap: 40px;
    }

    /*=========================
    FOOTER
    =========================*/
    .footer .row>div {
        margin-bottom: 40px;
    }
}

/*==========================================================
TABLET / CELULAR GRANDE
768px
==========================================================*/
@media(max-width:768px) {

    /*=========================
    TOPBAR
    =========================*/
    .topbar {
        padding: 8px 0;
        font-size: .85rem;
    }

    .topbar-info {
        display: none;
    }

    /*=========================
    GENERALES
    =========================*/
    section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .section-description {
        font-size: 1rem;
    }

    /*=========================
    NAVBAR
    =========================*/
    .navbar {
        padding: 12px 0;
    }

    .navbar-brand img {
        height: 60px;
    }

    .navbar-collapse {
        padding: 20px;
        border-radius: 15px;
    }

    .nav-link {
        padding: 12px 0;
        font-size: 1rem;
    }

    /*=========================
    HERO
    =========================*/
    .hero-section {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 70px;
    }

    .hero-overlay {
        background: rgba(0, 0, 0, .70);
    }

    .hero-section h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 320px;
    }

    .hero-features {
        width: 100%;
        margin-top: 25px;
    }

    .hero-features li {
        font-size: 15px;
    }

    /*=========================
    ESTADÍSTICAS
    =========================*/
    .stats-section {
        padding: 50px 0;
    }

    .stat-box {
        padding: 30px 20px;
    }

    .stat-box h2 {
        font-size: 2.5rem;
    }

    .stat-icon {
        font-size: 2.2rem;
    }

    /*=========================
    SERVICIOS
    =========================*/
    .service-card {
        margin-bottom: 25px;
    }

    .service-card img {
        height: 220px;
    }

    .service-body {
        padding: 25px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 25px;
        margin-top: -55px;
    }

    .service-card h4 {
        font-size: 1.25rem;
    }

    .service-card p {
        min-height: auto;
    }

    /*=========================
    NOSOTROS
    =========================*/
    .about-section {
        text-align: center;
    }

    .about-section img {
        margin-bottom: 35px;
    }

    .about-feature,
    .about-item {
        justify-content: center;
    }
}

/*==========================================================
SECCIONES INTERNAS
TABLET / CELULAR GRANDE
768px
==========================================================*/
@media(max-width:768px) {

    /*=========================
    CTA
    =========================*/
    .cta-section {
        text-align: center;
        padding: 70px 0;
    }

    .cta-section h2 {
        font-size: 2.1rem;
        line-height: 1.2;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .cta-section .btn {
        width: 100%;
        margin-top: 20px;
    }

    /*=========================
    POR QUÉ ELEGIRNOS
    =========================*/
    .why-card {
        padding: 30px;
        margin-bottom: 20px;
    }

    .why-card i {
        font-size: 45px;
    }

    .why-card h4 {
        font-size: 1.2rem;
    }

    /*=========================
    COBERTURA
    =========================*/
    .coverage-section {
        text-align: center;
    }

    .coverage-map img {
        margin: auto;
    }

    .coverage-card {
        padding: 20px;
        margin-bottom: 15px;
    }

    .coverage-card i {
        font-size: 28px;
    }

    .coverage-card h5 {
        font-size: 1.1rem;
    }

    /*=========================
    TIMELINE
    =========================*/
    .timeline {
        display: block;
        margin-top: 40px;
    }

    .timeline-item {
        width: 100%;
        margin-bottom: 45px;
    }

    .timeline-number {
        width: 70px;
        height: 70px;
        font-size: 26px;
    }

    .timeline-item h4 {
        margin-top: 20px;
        font-size: 1.2rem;
    }

    .timeline-item p {
        font-size: .95rem;
    }

    /*=========================
    GALERÍA
    =========================*/
    .gallery-img {
        height: 230px;
    }

    .gallery-section .row {
        row-gap: 25px;
    }

    /*=========================
    TESTIMONIOS
    =========================*/
    .testimonial-card {
        padding: 25px;
        margin-bottom: 20px;
    }

    .testimonial-card strong {
        margin-top: 20px;
    }

    /*=========================
    FAQ
    =========================*/
    .accordion-button {
        padding: 18px;
        font-size: .95rem;
    }

    .accordion-body {
        font-size: .95rem;
    }
}

/*==========================================================
CONTACTO / FOOTER / AJUSTES FINALES
768px
==========================================================*/
@media(max-width:768px) {

    /*=========================
    CONTACTO
    =========================*/
    .contact-card {
        padding: 18px;
        align-items: center;
    }

    .contact-card i {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .form-control {
        padding: 14px;
        font-size: .95rem;
    }

    textarea.form-control {
        min-height: 140px;
    }

    /*=========================
    FOOTER
    =========================*/
    .footer {
        text-align: center;
        padding: 60px 0 25px;
    }

    .footer img {
        margin: auto;
        margin-bottom: 20px;
    }

    .footer .row>div {
        margin-bottom: 35px;
    }

    .footer ul {
        padding-left: 0;
    }

    /*=========================
    BOTONES FLOTANTES
    =========================*/
    .floating-whatsapp,
    .floating-call {
        width: 60px;
        height: 60px;
    }

    /* WHATSAPP - DERECHA */
    .floating-whatsapp {
        right: 20px;
        bottom: 20px;
    }

    /* LLAMADA - IZQUIERDA */
    .floating-call {
        left: 20px;
        bottom: 20px;
    }
}

/*==========================================================
CELULARES PEQUEÑOS
390px
==========================================================*/
@media(max-width:390px) {
    html {
        font-size: 14px;
    }

    /*=========================
    CONTENEDOR
    =========================*/
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /*=========================
    TOPBAR
    =========================*/
    .topbar {
        font-size: .75rem;
    }

    /*=========================
    SECCIONES
    =========================*/
    section {
        padding: 60px 0;
    }

    /*=========================
    TÍTULOS
    =========================*/
    .section-title {
        font-size: 1.7rem;
    }

    .section-badge {
        font-size: .75rem;
        padding: 7px 16px;
    }

    /*=========================
    NAVBAR
    =========================*/
    .navbar-brand img {
        height: 50px;
    }

    .navbar-toggler {
        padding: 5px;
    }

    /*=========================
    HERO
    =========================*/
    .hero-section {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-description {
        font-size: .9rem;
    }

    .hero-features li {
        font-size: .9rem;
    }

    /*=========================
    ESTADÍSTICAS
    =========================*/
    .stat-box {
        padding: 20px;
    }

    .stat-box h2 {
        font-size: 2rem;
    }

    /*=========================
    SERVICIOS
    =========================*/
    .service-card img {
        height: 190px;
    }

    .service-body {
        padding: 18px;
    }

    .service-card h4 {
        font-size: 1.1rem;
    }

    /*=========================
    CTA
    =========================*/
    .cta-section h2 {
        font-size: 1.7rem;
    }

    /*=========================
    TIMELINE
    =========================*/
    .timeline-number {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }

    /*=========================
    GALERÍA
    =========================*/
    .gallery-img {
        height: 190px;
    }

    /*=========================
    CONTACTO
    =========================*/
    .contact-card {
        padding: 15px;
    }

    .contact-card i {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .form-control {
        padding: 12px;
    }

    /*=========================
    BOTONES FLOTANTES
    =========================*/
    .floating-whatsapp,
    .floating-call {
        width: 52px;
        height: 52px;
    }
}

/*==========================================================
PANTALLAS BAJAS
ALTURA MENOR A 650px
==========================================================*/
@media(max-height:650px) {
    .hero-section {
        min-height: auto;
        padding: 90px 0 50px;
    }
}

/*==========================================================
CELULAR LANDSCAPE
==========================================================*/
@media(max-width:850px) and (orientation:landscape) {
    .hero-section {
        min-height: auto;
        padding: 110px 0 60px;
    }

    .hero-card {
        display: none;
    }
}

/*==========================================================
UTILIDADES DESKTOP / MOBILE
==========================================================*/
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media(max-width:992px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }
}

/*==========================================================
ERROR 404 RESPONSIVE
==========================================================*/
@media (max-width: 768px) {

    /*=========================
    SECCIÓN
    =========================*/
    .error-section {
        padding: 60px 15px;
    }

    /*=========================
    LOGO
    =========================*/
    .error-logo img {
        max-width: 170px;
    }

    /*=========================
    NUMERO 404
    =========================*/
    .error-content h1 {
        font-size: 80px;
    }

    /*=========================
    TITULO
    =========================*/
    .error-content h2 {
        font-size: 30px;
    }

    /*=========================
    TEXTO
    =========================*/
    .error-content p {
        font-size: 16px;
        line-height: 1.6;
        padding: 0 10px;
    }

    /*=========================
    BOTONES
    =========================*/
    .error-content .buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .error-content .btn {
        width: 100%;
        max-width: 320px;
    }
}

/*==========================================================
TABLET / PANTALLAS MEDIANAS
==========================================================*/
@media (min-width: 769px) and (max-width: 991px) {
    .error-content h1 {
        font-size: 100px;
    }

    .error-content h2 {
        font-size: 36px;
    }
}