@media (max-width: 1024px) {

    .heroContent h1 {
        font-size: 42px;
    }

    .heroContent h2 {
        font-size: 28px;
    }

    .carouselVertical {
        gap: 20px;
    }

    .clientesGrid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 768px) {

    .serviceBody h3 {
        font-size: 28px !important;
    }

    .serviceBody h3 .serviceOrange {
        font-size: 28px !important;
    }

    .navbar {
        padding: 15px;
        flex-direction: row;
        justify-content: space-between;
    }

    .navbarButtons .navbarCta {
        display: none;
    }

    .heroContent {
        text-align: center;
        padding: 0 20px;
    }

    .heroContent h1 {
        font-size: 34px;
    }

    .heroContent h2 {
        font-size: 22px;
    }

    .heroBtn {
        width: 90%;
        justify-content: center;
    }

    .stackItem {
        font-size: clamp(28px, 7vw, 40px) !important;
        letter-spacing: -0.5px;
    }

    .serviceCard {
        flex-direction: column;
    }

    .serviceImg img {
        width: 100%;
        height: auto;
    }

    .serviceBody {
        padding: 20px;
    }

    .portafolioSection {
        padding: 40px 0 40px !important;
    }

    .carouselVertical {
        gap: 6px !important;
    }

    .carouselContainer {
        overflow: visible !important;
        max-height: none !important;
        width: 100% !important;
        border-radius: 0 !important;
    }

    .carouselVertical .portfolioCard {
        min-width: 420px !important;
        width: 420px !important;
        height: 740px !important;
        border-radius: 16px !important;
    }

    .portfolioCard img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .portafolioViewport {
        width: 100%;
    }

    .portafolioWrapper {
        width: 100%;
    }

    .portafolioGrid {
        gap: 0;
    }

    .portafolioCard {
        flex: 0 0 calc(100vw - 80px);
        width: calc(100vw - 80px);
        height: 65vh;

        border-radius: 16px !important;
        overflow: hidden !important;
    }

    #prevPortafolio {
        left: 10px;
    }

    #nextPortafolio {
        right: 10px;
    }

    .clientesGrid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clientesBoton {
        width: 100%;
        justify-content: center;
    }

    .clientesSection {
        margin: 40px auto !important;
        padding: 40px 20px 60px !important;
    }
    
    .footer {
        margin-top: 0 !important;

        flex-direction: column;

        align-items: center;
        justify-content: center;

        text-align: center;
    }

    .footerNav {
        width: 100%;

        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 10px;
    }

    .footerCopy {
        width: 100%;
        max-width: 100%;

        position: static !important;

        right: auto !important;
        left: auto !important;

        transform: none !important;

        text-align: center !important;

        align-items: center;
        justify-content: center;
    }

    .footerTop {
        width: 100%;

        display: flex;

        flex-wrap: wrap;

        align-items: center;
        justify-content: center;

        gap: 8px;

        text-align: center;
    }

    .footerBrand {
        width: 100%;

        text-align: center;

        white-space: normal;

        overflow-wrap: anywhere;
    }

    .footerSocial {
        width: 100%;

        flex-direction: row;

        flex-wrap: wrap;

        align-items: center;
        justify-content: center;

        gap: 10px;
    }
}

@media (max-width: 480px) {

    .heroContent h1 {
        font-size: 26px;
    }

    .heroContent h2 {
        font-size: 18px;
    }

    .heroContent .title-light {
        font-size: 35px !important;
        line-height: 1.2 !important;
    }

    .heroContent .title-accent {
        font-size: 60px !important;

        line-height: 1.1 !important;

        letter-spacing: -1px !important;
    }

    .stackItem {
        font-size: clamp(24px, 6.5vw, 34px) !important;

        letter-spacing: -1px;
    }

    .clientesGrid {
        grid-template-columns: 1fr;
    }

    .clientesSection {
        margin-top: 0 !important;

        padding-top: 0 !important;
    }

    .clientesSection h2 {
        margin-bottom: 10px !important;
    }

    .pillButton {
        font-size: 14px;

        padding: 12px 18px;
    }

    .carouselVertical .portfolioCard {
        min-width: 320px !important;

        width: 320px !important;

        height: 420px !important;

        border-radius: 12px !important;

        overflow: hidden;

        display: flex;

        align-items: center;
        justify-content: center;

        background: #fff;
    }

    .carouselVertical .portfolioCard img {
        max-width: 100%;

        max-height: 100%;

        object-fit: contain !important;
    }

    .carouselContainer {
        max-height: 800px !important;

        width: 100% !important;
    }

    .reelsHero .title-light {
        font-size: 32px !important;

        line-height: 1.2 !important;

        letter-spacing: 0;

        margin-bottom: 0 !important;
    }

    .reelsHero .title-accent {
        font-size: 45px !important;

        line-height: 1.1 !important;

        letter-spacing: -1px !important;
    }

    .reelsDescripcion {
        font-size: 20px !important;

        line-height: 1.4 !important;

        margin-top: 12px !important;
    }

    .reelsPortafolio .portafolioTitulo {
        position: relative;

        right: 13px;
    }

    .reelsPortafolio .portafolioTitulo .title-light {
        position: relative;

        left: 10px;

        top: 25px;
    }

    .reelsPortafolio .portafolioTitulo .title-accent {
        position: relative;

        left: 15px;

        top: 40px;
    }

    .portafolioTitulo {
        top: 0 !important;

        margin-top: 100px !important;

        margin-bottom: 20px !important;
    }

    .portafolioArrow {
        z-index: 10;
    }

    .reelsHeroLeft {
        position: relative;

        left: -10px;
    }

    .reelsPage .clientesSection {
        margin-top: -180px !important;

        padding-top: 0 !important;

        padding-bottom: 20px !important;
    }

    .procesoCard {
        width: 100% !important;

        margin: 0 auto !important;

        padding: 20px 30px !important;
    }

    .procesoCard h3 {
        font-size: 35px !important;

        white-space: normal !important;

        text-align: center;

        margin-bottom: -20px !important;
    }

    .procesoCard p {
        margin-top: 0 !important;

        line-height: 1.4 !important;
    }

    .footer {
        width: calc(100% - 24px);

        max-width: calc(100% - 24px);

        margin-left: 12px !important;

        margin-right: 12px !important;

        margin-bottom: 12px !important;

        padding: 24px 16px !important;

        box-sizing: border-box;

        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 20px;

        text-align: center;

        overflow: hidden;
    }

    .footerNav {
        width: 100%;

        display: flex;

        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 10px;
    }

    .footerCopy {
        width: 100% !important;

        max-width: 100% !important;

        margin: 0 !important;

        padding: 0 !important;

        position: static !important;

        right: auto !important;

        left: auto !important;

        top: auto !important;

        transform: none !important;

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        gap: 10px;

        text-align: center !important;

        box-sizing: border-box;
    }

    .footerTop {
        width: 100% !important;

        max-width: 100% !important;

        margin: 0 !important;

        padding: 0 !important;

        display: flex;

        flex-direction: row;

        flex-wrap: wrap;

        align-items: center;

        justify-content: center;

        gap: 7px;

        text-align: center;

        box-sizing: border-box;
    }

    .footerTop span,
    .footerTop a {
        margin: 0;

        text-align: center;

        white-space: normal;
    }

    .footerPrivacy {
        font-size: 11px;

        white-space: normal;

        text-align: center;
    }

    .footerBrand {
        width: 100% !important;

        max-width: 100% !important;

        margin: 0 !important;

        padding: 0 !important;

        font-size: 11px;

        line-height: 1.5;

        text-align: center !important;

        white-space: normal !important;

        overflow-wrap: anywhere;

        word-break: normal;

        position: static !important;

        right: auto !important;

        left: auto !important;

        transform: none !important;
    }

    .footerSocial {
        width: 100%;

        display: flex;

        flex-direction: row;

        flex-wrap: wrap;

        align-items: center;

        justify-content: center;

        gap: 10px;

        margin: 0;

        padding: 0;
    }

    .footerSocial a {
        display: flex;

        align-items: center;

        justify-content: center;
    }
}

@media (max-width: 380px) {

    .footer {
        width: calc(100% - 16px);

        max-width: calc(100% - 16px);

        margin-left: 8px !important;

        margin-right: 8px !important;

        padding: 22px 12px !important;
    }

    .footerTop {
        gap: 6px;
    }

    .footerPrivacy {
        font-size: 10px;
    }

    .footerBrand {
        font-size: 10px;
    }

    .footerSocial {
        gap: 8px;
    }
}