/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (max-width: 1400px) {

    html {
        font-size: 8px;
    }

}


@media (min-width: 1600px) {

    html {
        font-size: 11px;
    }

}


@media (min-width: 1800px) {

    html {
        font-size: 12px;
    }

}


@media (min-width: 2200px) {

    html {
        font-size: 13px;
    }

}



/* =========================================================
   SMALL DESKTOP / LARGE TABLET
========================================================= */

@media (max-width: 1200px) {


    /* -----------------
       PROJECTS HOME
    ------------------ */

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

    .projects-more {
        border-radius: 2rem;
    }


    /* -----------------
       CLIENTS
    ------------------ */

    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
    }

}



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

@media (max-width: 992px) {


    /* =====================================================
       GENERAL
    ===================================================== */

    .container {
        padding: 0 3rem;
    }


    /* =====================================================
       HEADER
    ===================================================== */

    .header {
        padding: 1.5rem 3rem;
    }

    .nav {
        display: none;
    }

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

    .navbar-inner {
        padding: 1.6rem 3rem;
    }

    .navbar .navbar-inner .logo {
        width: 18rem;
    }

    .header.scrolled .navbar {
        width: 100%;
    }

    .header.scrolled .navbar .navbar-inner {
        padding: 1.4rem 2.5rem;
    }

    .header.scrolled .navbar .navbar-inner .logo {
        width: 15rem;
    }


    /* =====================================================
       SIDE MENU + ACORDEÓN
    ===================================================== */

    .side-nav {
        display: flex;
    }

    .side-accordion-toggle {
        width: 100%;
        padding: 0;
        border: 0;
        background: none;

        display: flex;
        align-items: center;
        justify-content: space-between;

        font-family: inherit;
        font-size: 2.4rem;
        line-height: 3rem;
        font-weight: 600;
        color: var(--dark);

        cursor: pointer;
    }

    .side-accordion-icon {
        font-size: 2.4rem;
        line-height: 1;
        transition: transform .25s ease;
    }

    .side-accordion-content {
        max-height: 0;
        overflow: hidden;
        opacity: 0;

        display: flex;
        flex-direction: column;
        gap: 0;

        transition:
            max-height .3s ease,
            opacity .25s ease;
    }

    .side-accordion-content a {
        padding: 1rem 0 1rem 2rem;
        font-size: 1.8rem;
        line-height: 2.4rem;
        font-weight: 500;
    }

    .side-accordion.is-open .side-accordion-content {
        max-height: 30rem;
        opacity: 1;
    }

    .side-accordion.is-open .side-accordion-icon {
        transform: rotate(45deg);
    }


    /* =====================================================
       HERO
    ===================================================== */

    .hero {
        min-height: 75dvh;
    }

    .hero-int {
        min-height: 45rem;
    }

    .hero-content {
        width: 70%;
        padding: 5rem 3rem;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 3.6rem;
        line-height: 4.4rem;
    }

    .arrow {
        right: 3rem;
        bottom: 5rem;
    }


    /* =====================================================
       HOME - INTRO
    ===================================================== */

    .intro {
        padding: 5rem 0;
    }

    .intro-copy {
        margin-bottom: 6rem;
    }

    .intro-process {
        grid-template-columns: repeat(2, 1fr);
        gap: 5rem 3rem;
    }

    .intro-process-line {
        display: none;
    }

    .intro-process-head {
        min-height: auto;
    }

    .intro-process-dot {
        display: none;
    }


    /* =====================================================
       HOME - SERVICIOS
    ===================================================== */

    .servicios {
        padding: 5rem 0 0;
    }

    .servicios .head {
        width: 70%;
        margin-bottom: 5rem;
    }

    .servicios .wrap {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .servicio-card {
        min-height: 42rem;
        padding: 3rem 2.5rem;
    }

    .servicio-icon {
        width: 8rem;
        height: 8rem;
        margin-bottom: 3rem;
    }

    .servicio-card h3 {
        font-size: 2.2rem;
        line-height: 2.8rem;
    }


    /* =====================================================
       HOME - PROJECTS
    ===================================================== */

    .projects {
        padding: 6rem 3rem;
    }

    .projects-title {
        margin-bottom: 5rem;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .projects-more {
        min-height: 30rem;
        padding: 4rem;
        border-radius: 2rem;
    }


    /* =====================================================
       LOGOS
    ===================================================== */

    .logos-marquee {
        padding: 5rem 0;
    }

    .logos-group {
        gap: 7rem;
        padding-right: 7rem;
    }

    .logos-group img {
        max-width: 17rem;
    }


    /* =====================================================
       HOME - NEWS
    ===================================================== */

    .news {
        padding: 6rem 3rem;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .news-card {
        gap: 2rem;
    }


    /* =====================================================
       BANNER INTERNO
    ===================================================== */

    .banner-page {
        padding-top: 5rem;
    }

    .banner-page-intro {
        gap: 5rem;
    }


    /* =====================================================
       ABOUT
    ===================================================== */

    .about-top {
        gap: 4rem;
        margin-top: 5rem;
    }

    .about-why {
        padding: 3.5rem;
    }

    .about-why-item {
        grid-template-columns: 6rem 1fr;
        gap: 2rem;
    }

    .about-why-icon img {
        width: 5rem;
        height: 5rem;
    }

    .about-commitment {
        padding: 4rem;
    }

    .about-practices {
        padding: 0;
    }

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


    /* =====================================================
       GERENCIA
    ===================================================== */

    .management {
        min-height: auto;
        padding: 4rem;
        margin-top: 5rem;
        margin-bottom: 6rem;
    }

    .management-copy {
        max-width: 60rem;
    }

    .management-phases {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;

        grid-template-columns: repeat(2, 1fr);

        margin-top: 4rem;
    }

    .management-phase {
        min-height: 22rem;
    }

    .management-phase + .management-phase {
        border-left: 0;
    }

    .management-phase:nth-child(even) {
        border-left: .1rem solid var(--color-1);
    }

    .management-phase:nth-child(n+3) {
        border-top: .1rem solid var(--color-1);
    }


    /* ALCANCE */

    .scope {
        margin-top: 5rem;
        margin-bottom: 6rem;
    }

    .scope-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .scope-item {
        min-height: 8rem;
    }

    /* En responsive eliminamos el recorrido de flechas.
       Con 2 columnas ya no conserva la lógica desktop. */

    .scope-item::before,
    .scope-item::after {
        display: none;
    }


    /* =====================================================
       CONSULTORÍA
    ===================================================== */

    .consulting-grid {
        gap: 4rem;
        margin-top: 5rem;
    }

    .consulting-image {
        margin-bottom: 3rem;
    }


    /* =====================================================
       EJECUCIÓN
    ===================================================== */

    .execution-specialties {
        min-height: 42rem;
        padding: 4rem;
        margin-top: 5rem;
        margin-bottom: 5rem;

        background-position: center;
    }

    .execution-specialties-copy {
        max-width: 60%;
    }

    .execution-specialties-list {
        gap: 3rem;
    }

    .execution-info {
        gap: 6rem;
        padding: 0;
    }


    /* =====================================================
       CIERRE SERVICIOS
    ===================================================== */

    .closing {
        margin: 8rem auto;
    }


    /* =====================================================
       EMPTY PAGE
    ===================================================== */

    .empty-page {
        padding: 14rem 0 6rem;
    }

    .empty-page-head {
        gap: 4rem;
    }

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


    /* =====================================================
       BLOG
    ===================================================== */

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .blog-card {
        grid-template-columns: 40% 1fr;
        gap: 2rem;
    }


    /* =====================================================
       ARTICLE
    ===================================================== */

    .article {
        max-width: 85rem;
    }


    /* =====================================================
       CLIENTS
    ===================================================== */

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }


    /* =====================================================
       CONTACT
    ===================================================== */

    .contact {
        padding: 14rem 3rem 6rem;
    }

    .contact-info {
        width: 65%;
    }

    .contact-data {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .wcall {
        min-width: 21rem;
    }


    /* =====================================================
       CTA
    ===================================================== */

    .cta-content {
        grid-template-columns: 22rem 1fr;
        gap: 4rem;
        padding: 0 4rem;
    }

    .cta-character {
        min-height: 28rem;
    }

    .cta-character img {
        height: 110%;
    }


    /* =====================================================
       FOOTER
    ===================================================== */

    .footer-inner {
        flex-wrap: wrap;
    }

    .footer-left {
        gap: 4rem;
        flex-wrap: wrap;
    }

}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {


    html {
        font-size: 9px;
    }


    /* =====================================================
       GENERAL
    ===================================================== */

    .container {
        padding: 0 2rem;
    }


    /* =====================================================
       HEADER
    ===================================================== */

    .header {
        padding: 1.5rem 2rem;
    }

    .navbar {
        border-radius: 999rem;
    }

    .navbar-inner {
        padding: 1.4rem 2.5rem;
    }

    .navbar .navbar-inner .logo {
        width: 16rem;
    }

    .header.scrolled .navbar {
        width: 100%;
    }

    .header.scrolled .navbar .navbar-inner {
        padding: 1.2rem 2rem;
    }

    .header.scrolled .navbar .navbar-inner .logo {
        width: 14rem;
    }


    /* =====================================================
       SIDE MENU
    ===================================================== */

    .side-inner {
        padding: 3rem 2rem;
    }

    .side-top {
        margin-bottom: 5rem;
    }

    .side-top img {
        width: 16rem;
    }

    .side-nav {
        gap: 2.5rem;
    }

    .side-nav a,
    .side-accordion-toggle {
        font-size: 2.2rem;
        line-height: 2.8rem;
    }


    /* =====================================================
       HERO
    ===================================================== */

    .hero {
        min-height: 75dvh;
    }

    .hero-int {
        min-height: 38rem;
    }

    .hero-content {
        width: 100%;
        padding: 10rem 2rem 6rem;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 3rem;
        line-height: 3.8rem;
    }

    .hero .img {
        border-radius: 0 0 0 3rem;
    }

    .arrow {
        width: 4.5rem;
        height: 4.5rem;
        right: 2rem;
        bottom: 2rem;
    }


    /* =====================================================
       BUTTONS
    ===================================================== */

    .btn-primary {
        min-height: 5rem;
    }

    .btn-seccion {
        margin-left: 0;
    }


    /* =====================================================
       HOME - INTRO
    ===================================================== */

    .intro {
        margin-top: -3rem;
        padding: 5rem 0;
        border-radius: 0 3rem 0 0;
    }

    .intro::before {
        top: -3rem;
        width: 3rem;
        height: 3rem;
        --mordida: 3rem;
    }

    .intro-copy {
        max-width: 100%;
        margin-bottom: 5rem;
    }

    .intro-lead,
    .intro-text {
        font-size: 1.8rem;
        line-height: 2.6rem;
    }

    .intro-process {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .intro-process-item p {
        max-width: 40rem;
    }


    /* =====================================================
       HOME - SERVICIOS
    ===================================================== */

    .servicios .head {
        width: 100%;
        max-width: 55rem;
        margin-bottom: 4rem;
    }

    .servicios .head h2 {
        font-size: 2.8rem;
    }

    .servicios .wrap {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .servicio-card {
        min-height: auto;
        padding: 3rem 2rem;
    }

    .servicio-icon {
        width: 7rem;
        height: 7rem;
        margin-bottom: 2.5rem;
    }

    .servicio-card h3 {
        font-size: 2rem;
        line-height: 2.5rem;
    }


    /* =====================================================
       HOME - PROJECTS
    ===================================================== */

    .projects {
        padding: 5rem 2rem;
    }

    .projects-title {
        margin-bottom: 4rem;
        font-size: 2.8rem;
        line-height: 3.5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-card {
        min-height: auto;
    }

    .project-card-content {
        padding: 2.5rem 1.5rem 2rem;
    }

    .projects-more {
        min-height: 18rem;
        padding: 3rem;
    }


    /* =====================================================
       LOGOS
    ===================================================== */

    .logos-marquee {
        padding: 4rem 0;
    }

    .logos-group {
        gap: 5rem;
        padding-right: 5rem;
    }

    .logos-group img {
        max-width: 14rem;
    }


    /* =====================================================
       HOME - NEWS
    ===================================================== */

    .news {
        padding: 5rem 2rem;
    }

    .news-header {
        margin-bottom: 3rem;
    }

    .news-header h2 {
        font-size: 2.8rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .news-card {
        gap: 2rem;
    }

    .news-image {
        flex-basis: 35%;
    }


    /* =====================================================
       BANNER INTERNO
    ===================================================== */

    .banner-page {
        margin-top: -3rem;
        padding-top: 4rem;
        border-radius: 0 3rem 0 0;
    }

    .banner-page::before {
        top: -3rem;
        width: 3rem;
        height: 3rem;
        --mordida: 3rem;
    }

    .banner-page-intro {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .banner-page-intro > div:first-child,
    .banner-page-intro > div:last-child {
        max-width: 100%;
        justify-self: auto;
    }


    /* =====================================================
       ABOUT
    ===================================================== */

    .about-top {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-top: 4rem;
        margin-bottom: 5rem;
    }

    .about-why,
    .about-commitment {
        padding: 3rem;
    }

    .about-commitment {
        min-height: 48rem;
    }

    .about-practices-head {
        max-width: 100%;
        margin-bottom: 4rem;
    }

    .about-practices-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .practice-card {
        min-height: 16rem;
        padding: 2.5rem;
    }


    /* =====================================================
       GERENCIA
    ===================================================== */

    .management {
        padding: 3rem;
        margin-top: 4rem;
        margin-bottom: 5rem;

        background:
            linear-gradient(
                90deg,
                rgba(0, 65, 125, .95) 0%,
                rgba(0, 65, 125, .84) 100%
            ),
            url("images/img-gerencia.jpg");

        background-size: cover;
        background-position: center;
    }

    .management-phases {
        grid-template-columns: 1fr;
        margin-top: 3rem;
    }

    .management-phase {
        min-height: auto;
        padding: 2.5rem;
    }

    .management-phase:nth-child(even) {
        border-left: 0;
    }

    .management-phase:nth-child(n+3) {
        border-top: 0;
    }

    .management-phase + .management-phase {
        border-top: .1rem solid var(--color-1);
    }

    .management-phase h3 {
        margin-bottom: 2rem;
    }

    .management-phase p {
        margin-top: 2rem;
    }


    /* ALCANCE */

    .scope {
        margin-top: 4rem;
        margin-bottom: 5rem;
    }

    .scope > h2 {
        margin-bottom: 3rem;
    }

    .scope-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }


    /* =====================================================
       CONSULTORÍA
    ===================================================== */

    .consulting-grid {
        grid-template-columns: 1fr;
        gap: 5rem;
        margin-top: 4rem;
    }

    .consulting-image {
        aspect-ratio: 16 / 10;
        margin-bottom: 2.5rem;
    }

    .consulting-content h2 {
        margin-bottom: 2rem;
    }


    /* =====================================================
       EJECUCIÓN
    ===================================================== */

    .execution-specialties {
        min-height: auto;
        padding: 4rem 3rem;
        margin-top: 4rem;
        margin-bottom: 5rem;

        background:
            linear-gradient(
                90deg,
                rgba(0, 65, 125, .96) 0%,
                rgba(0, 65, 125, .82) 100%
            ),
            url("images/img-especialidades.jpg");

        background-size: cover;
        background-position: center;
    }

    .execution-specialties-copy {
        max-width: 100%;
    }

    .execution-specialties-copy h2 {
        font-size: 2.6rem;
        margin-bottom: 3rem;
    }

    .execution-specialties-copy > p {
        max-width: 100%;
        margin-bottom: 4rem;
    }

    .execution-info {
        grid-template-columns: 1fr;
        gap: 4rem;
    }


    /* =====================================================
       CIERRE SERVICIOS
    ===================================================== */

    .closing {
        margin: 7rem auto;
        padding: 0 2rem;
    }

    .closing img {
        width: 7rem;
    }

    .closing p {
        font-size: 1.8rem;
        line-height: 2.6rem;
    }


    /* =====================================================
       EMPTY PAGE
    ===================================================== */

    .empty-page {
        padding: 12rem 0 5rem;
    }

    .empty-page-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 3rem;
        margin-bottom: 5rem;
    }

    .empty-page-intro {
        max-width: 100%;
    }

    .empty-page-intro h1 {
        font-size: 3.2rem;
        line-height: 3.8rem;
    }

    .empty-page-filter {
        width: 100%;
        max-width: none;
        margin-left: 0;
    }

    .empty-page .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .select-wrap {
        width: 100%;
    }


    /* =====================================================
       BLOG
    ===================================================== */

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .blog-card {
        grid-template-columns: 35% 1fr;
        gap: 2rem;
    }


    /* =====================================================
       ARTICLE
    ===================================================== */

    .article {
        max-width: 100%;
    }

    .article h1 {
        font-size: 3.2rem;
        line-height: 3.8rem;
    }

    .article-content {
        margin-top: 4rem;
    }


    /* =====================================================
       CLIENTS
    ===================================================== */

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

    .client-card {
        padding: 2rem;
    }


    /* =====================================================
       CONTACT
    ===================================================== */

    body.contact-page {
        min-height: 100dvh;
    }

    .contact {
        min-height: 65rem;
        padding: 12rem 2rem 5rem;
        align-items: center;
    }

    .contact-info {
        width: 100%;
        max-width: 55rem;
    }

    .contact-info h1 {
        font-size: 2.8rem;
        line-height: 3.4rem;
    }

    .contact-info > p {
        font-size: 1.6rem;
        line-height: 2.4rem;
    }

    .contact-data {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 4rem;
        gap: 1.5rem;
    }

    .wcall {
        width: 100%;
        max-width: 28rem;
        min-width: 0;
    }

    .contact .img {
        background-position: 60% center;
    }


    /* =====================================================
       CTA
    ===================================================== */

    .cta {
        min-height: auto;
        padding: 5rem 0;
        overflow: hidden;
    }

    .cta-content {
        grid-template-columns: 1fr;
        padding: 0 2rem;
        text-align: center;
    }

    .cta-character {
        display: none;
    }

    .cta-info {
        align-items: center;
        gap: 3rem;
    }

    .cta h2 {
        font-size: 3rem;
        line-height: 3.8rem;
    }


    /* =====================================================
       FOOTER
    ===================================================== */

    .footer {
        padding: 4rem 0;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 4rem;
    }

    .footer-left {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    .footer-right {
        align-items: center;
    }

    .footer-text {
        padding-left: 0;
        padding-top: 3rem;
        background-position: center top;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

}



/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {


    html {
        font-size: 8px;
    }


    /* =====================================================
       HEADER
    ===================================================== */

    .header {
        padding: 1rem;
    }

    .navbar-inner {
        padding: 1.4rem 2rem;
    }

    .navbar .navbar-inner .logo {
        width: 14rem;
    }

    .whatsapp {
        width: 3.5rem;
        height: 3.5rem;
    }


    /* =====================================================
       HERO
    ===================================================== */

    .hero {
        min-height: 70dvh;
    }

    .hero-int {
        min-height: 34rem;
    }

    .hero-content {
        padding: 9rem 2rem 5rem;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 2.8rem;
        line-height: 3.4rem;
    }


    /* =====================================================
       HOME - SERVICIOS
    ===================================================== */

    .servicios .wrap {
        grid-template-columns: 1fr;
    }

    .servicio-card {
        padding: 3rem;
    }


    /* =====================================================
       HOME - NEWS
    ===================================================== */

    .news-card {
        align-items: flex-start;
        gap: 1.5rem;
    }

    .news-image {
        flex-basis: 36%;
    }

    .news-content h3 {
        font-size: 1.7rem;
        line-height: 2.2rem;
    }


    /* =====================================================
       ABOUT
    ===================================================== */

    .about-why-item {
        grid-template-columns: 5rem 1fr;
        gap: 1.5rem;
    }

    .about-why-icon img {
        width: 4.5rem;
        height: 4.5rem;
    }

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

    .practice-card {
        min-height: auto;
    }


    /* =====================================================
       GERENCIA
    ===================================================== */

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


    /* =====================================================
       EJECUCIÓN
    ===================================================== */

    .execution-specialties-list {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .execution-specialties-list > div + div {
        margin-top: 0;
    }


    /* =====================================================
       BLOG
    ===================================================== */

    .blog-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-image {
        aspect-ratio: 16 / 10;
    }


    /* =====================================================
       CLIENTS
    ===================================================== */

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }


    /* =====================================================
       CONTACT
    ===================================================== */

    .contact {
        min-height: 62rem;
    }

    .contact-data {
        width: 100%;
    }

    .wcall {
        max-width: none;
    }


    /* =====================================================
       CTA
    ===================================================== */

    .cta h2 {
        font-size: 2.7rem;
        line-height: 3.4rem;
    }


    /* =====================================================
       FOOTER
    ===================================================== */

    .footer-social {
        gap: 2rem;
    }

    .footer-social .redes {
        width: 3.8rem;
        height: 3.8rem;
    }

    .woohustudio {
        width: 4.5rem;
        height: 4.5rem;
    }

}