@media (min-width:1500px) {
    .container {
        max-width: calc(var(--container) + (var(--container-padding) * 2))
    }
}

@media (min-width:992px) {
    /* Reducir imagen de founders en 20% para desktop */
    .about-founders-wrp .founder-img {
        max-width: 560px; /* 700px * 0.8 = 560px */
    }
}

@media (max-width:1399px) {
    :root {
        --h1-fs: 26px;
        --h2-fs: 24px;
        --h3-fs: 21px;
        --h4-fs: 19px
    }

    .about-founders-wrp .founders-content {
        margin: 0
    }

    .instagram {
        padding: 100px 0
    }

    .work .workSwiper .swiper-slide {
        width: 100%;
        max-width: fit-content
    }
}

@media (max-width:1199px) {
    :root {
        --h1-fs: 24px;
        --h2-fs: 22px;
        --h3-fs: 20px;
        --h4-fs: 18px;
        --h5-fs: 17px
    }

    .work-slide-img {
        height: 180px
    }

    .contact-wrp .contact-left {
        max-width: 390px
    }

    .custom-kitchens {
        padding-block: 100px 30px
    }

    .custom-kitchens .common-section-title {
        margin-bottom: 100px
    }

    .our-process {
        padding-block: 30px 60px
    }

    .contact-wrp .contact-right {
        max-width: 580px;
    }
}

@media (max-width:991px) {
    :root {
        --h1-fs: 22px;
        --h2-fs: 21px;
        --h3-fs: 19px;
        --h4-fs: 17px;
        --h5-fs: 16px
    }

    .about-founders {
        padding: 120px 0 110px 0;
    } 

    .about-founders-wrp {
        flex-direction: column;
        gap: 60px
    }

    .about-founders-wrp .founder-img {
        max-width: 100%;
        height: auto;
        aspect-ratio: 16/10
    }

    .about-founders-wrp .founders-content {
        max-width: 600px;
        margin: 0 auto;
        text-align: center;
        padding: 0 20px
    }

    .about-founder-main .founder-btn {
        margin-top: 30px;
    }

    .instagram {
        padding: 70px 0
    }

    .work-slide-img {
        height: 165px
    }

    .contact-wrp {
        flex-direction: column;
        gap: 50px
    }

    .contact-wrp .contact-left,
    .contact-wrp .contact-left .title {
        max-width: 100%
    }

    .contact-wrp .contact-right {
        max-width: 100%;
        height: 100%
    }

    .slider-controls-parent {
        padding-inline: 25px
    }

    .custom-kitchens {
        padding-block: 80px 30px
    }

    .custom-kitchens .common-section-title {
        margin-bottom: 80px
    }

    .testimonials .testimonials-card {
        max-width: 500px;
        width: 100%;
        margin-inline: auto
    }

    .testimonials .testimonials-block {
        max-width: 100%;
        width: 100%
    }
}

/* iPad Pro 11" y tablets similares (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    html,
    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    * {
        max-width: 100%;
    }

    .container-fluid {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    :root {
        --h1-fs: 24px;
        --h2-fs: 22px;
        --h3-fs: 20px;
        --h4-fs: 18px;
        --h5-fs: 17px
    }

    /* Hero banner optimizado para tablet */
    .home-banner .heading .title * {
        font-size: 28px;
        letter-spacing: 4px;
    }

    /* Secciones con mejor spacing */
    .custom-kitchens {
        padding-block: 90px 40px;
    }

    .custom-kitchens .common-section-title {
        margin-bottom: 70px;
        padding-inline: 40px;
    }

    /* Tarjetas de cocina con mejor proporción */
    .custom-kitchens .custom-kitchens-card .img-cover {
        min-height: 400px;
    }

    /* Testimonios centrados */
    .testimonials .testimonials-card {
        max-width: 600px;
    }

    /* Formulario de contacto optimizado */
    .contact-wrp .contact-right {
        padding: 40px 35px;
        max-width: 650px;
        margin: 0 auto;
    }

    /* Footer con mejor distribución */
    .footer-wrp .footer-menu ul {
        gap: 25px;
    }

    /* Instagram grid optimizado */
    .instagram-wrp .ig-img-block {
        flex: 0 0 calc(33.333% - 14px);
    }

    /* Slider con controles más visibles */
    .slider-controls-parent {
        padding-inline: 40px;
    }

    /* About founders con mejor balance */
    .about-founders-wrp .founder-img {
        max-width: 600px;
        margin: 0 auto;
    }

    .about-founders-wrp .founders-content {
        max-width: 650px;
        padding: 0 30px;
    }

    /* Header navbar spacing */
    .header .navbar .container-fluid {
        padding-inline: 40px;
    }

    /* Process section */
    .our-process {
        padding-block: 40px 70px;
    }

    .our-process .accordion-button {
        padding-inline: 20px;
        padding-block: 18px;
    }

    /* Work section */
    .work-slide-img {
        height: 150px;
    }
}

@media (max-width:767px) {

    .footer-wrp .title *,
    .intro-logo {
        font-size: 22px;
        letter-spacing: 7.26px
    }

    :root {
        --h1-fs: 20px;
        --h2-fs: 20px;
        --h3-fs: 18px;
        --h4-fs: 17px;
        --h5-fs: 16px;
        --h6-fs: 16px
    }

    .header .navbar .container-fluid {
        padding-inline: 30px
    }

    .header .menu-btn-group .menu-btn-text {
        display: none !important
    }

    .header .nav-item .nav-link {
        font-size: 20px;
        margin: 8px 0;
        letter-spacing: 3.58px;
        line-height: 130%
    }
    .intro-logo {
        text-align: center;
        max-width: 100%;
        word-break: keep-all
    }

    .home-banner .heading .title * {
        mix-blend-mode: 20PX
    }

    .about-founders {
        padding: 110px 0 110px 0;
    } 
    .contact,
    .instagram {
        padding: 60px 0
    }

    .instagram-wrp .heading {
        padding-bottom: 45px
    }

    .instagram-wrp .ig-btn {
        margin: 70px auto 0
    }

    .work-slide-img {
        height: 130px
    }

    .contact-wrp .contact-right {
        padding: 30px 25px
    }

    .footer {
        background-size: 200% auto;
        background-position: center center
    }

    .footer-wrp {
        padding-bottom: 20px
    }

    .footer-wrp .footer-menu ul {
        flex-direction: column;
        gap: 15px;
        align-items: center
    }

    .common-slider-next::after,
    .common-slider-prev::after {
        width: 20px;
        height: auto;
        background-repeat: no-repeat;
        background-size: 100%
    }

    .slider-controls {
        margin-top: 0
    }

    .custom-kitchens .container-fluid {
        padding-inline: 0
    }

    .custom-kitchens .custom-kitchens-card .img-cover {
        min-height: 480px
    }

    .custom-kitchens {
        padding-block: 100px 30px
    }

    .custom-kitchens .common-section-title {
        margin-bottom: 100px;
    }

    .our-process .plus-icon * {
        font-size: 24px
    }

    .our-process .accordion-button .title * {
        font-size: 16px
    }

    .our-process .common-section-title .title * {
        font-size: 26px
    }

    .our-process .action .btn {
        padding: 10px 25px;
    }

    .testimonials .testimonials-card .title * {
        font-size: 18px;
        letter-spacing: 0
    }

    .about-founders-wrp {
        gap: 30px;
    }

    .about-founders-wrp .founders-content {
        padding: 0 37px;
    }

    .brxe-section {
        padding-top: 100px;
    }

    .contact-form .btn-primary-outline {
        width: 100%;
    }

    .contact-form .row {
        row-gap: 24px;
    }
}

@media (max-width:575px) {
    .instagram {
        padding: 55px 0
    }

    .instagram-wrp .ig-img-block {
        aspect-ratio: 130/130;
        flex: 0 0 calc(50% - 10px)
    }

    .work {
        padding: 55px 0 30px
    }

    .work .title * {
        margin-bottom: 40px
    }

    .work-slide-img {
        height: 100px
    }

    .common-section-title .title * {
        font-size: 20px;
        letter-spacing: 2px
    }

    .common-section-title .disc * {
        font-size: 15px;
        letter-spacing: 0px;
    }

    .our-process .accordion-button {
        padding-inline: 10px;
        padding-block: 15px
    }

    .our-process .accordion-button .title * {
        font-size: 14px;
        letter-spacing: 1px
    }

    .our-process .accordion-body * {
        font-size: 15px;
        letter-spacing: 0px;
        line-height: 1.8;
        color: var(--secondary);
        margin-bottom: 30px;
        font-weight: 400;
        font-family: var(--font-primary)
    }

    .our-process .common-section-title .title * {
        font-size: 22px
    }

    .testimonials {
        padding-block: 50px
    }

    .custom-kitchens .common-section-title .title * {
        max-width: 250px;
    }

    .custom-kitchens .common-section-title {
        padding-inline: 20px;
    }

    .custom-kitchens .custom-kitchens-card .img-cover {
        min-height: auto;
        aspect-ratio: 8/12;
    }

    .about-founders {
        padding: 100px 0 ;
    }
    
    .about-founders-wrp {
        gap: 40px;
    }

    .about-founders-wrp .founders-content .detail *{
        font-size: 15px;
        letter-spacing: 0px;
    }

    .about-founders-wrp .founders-content{
        padding: 0;
        margin-bottom: 0px;
    }

    .about-founders-wrp .founder-img {
        max-width: 265px;
        /* height: 411px; */
        aspect-ratio: auto;
    }

    .about-founders-wrp .founder-img * {
        height: auto;
    }

    .about-founder-main .founder-btn {
        margin: 30px auto 0;
    }

    .contact-wrp .contact-right {
        padding: 25px 20px;
    }


}

@media (max-width:425px) {
    .header .navbar .container-fluid {
        padding-inline: 20px
    }

    .header .menu-btn-group .menu-btn-text {
        display: none !important
    }

}