/*==========================================================
RESPONSIVE BAMBINO
==========================================================*/


/*==========================================================
TABLET
==========================================================*/

@media (max-width:1024px){

    /*======================================================
    CONTAINER
    ======================================================*/

    .container{

        width:88%;

    }


    /*======================================================
    HEADER
    ======================================================*/

    header .container{

        height:80px;

    }

    .logo img{

        width: 100px;

    }

    .logo span{

        font-size:1.1rem;

    }


    /*======================================================
    HERO
    ======================================================*/

    .hero{

        height:90vh;

        min-height:650px;

    }

    .hero-content{

        max-width:800px;

    }

    .hero h1{

        font-size:5rem;

    }

    .hero p{

        font-size:1.05rem;

        line-height:1.9;

    }


    /*======================================================
    HISTORY
    ======================================================*/

    .history{

        padding:110px 0;

    }

    .history .container{

        grid-template-columns:1fr 1fr;

        gap:55px;

    }

    .history-content h2{

        font-size:3.2rem;

    }

    .history-content p{

        font-size:.98rem;

    }


    /*======================================================
    VALUES
    ======================================================*/

    .values{

        padding:110px 0;

    }

    .section-title{

        margin-bottom:65px;

    }

    .section-title h2{

        font-size:3.3rem;

    }

    .values-grid{

        gap:25px;

    }

    .value-card{

        padding:45px 30px;

    }

    .value-card h3{

        font-size:1.8rem;

    }


    /*======================================================
    PROJECTS
    ======================================================*/

    .projects{

        padding:120px 0;

    }

    .project{

        grid-template-columns:52% 48%;

        gap:50px;

        margin-bottom:110px;

    }

    .project-content h3{

        font-size:2.6rem;

    }

    .project-content p{

        font-size:.98rem;

        line-height:1.9;

    }


    /*======================================================
    CTA
    ======================================================*/

    .cta h2{

        font-size:3.8rem;

    }

    .cta p{

        font-size:1rem;

    }

}


/*==========================================================
MOBILE
==========================================================*/

@media (max-width:768px){

    /*======================================================
    GENERAL
    ======================================================*/

    .container{

        width:90%;

    }


    /*======================================================
    HEADER
    ======================================================*/

    header{

        height:72px;

    }

    header .container{

        height:72px;

    }

    .logo{

        gap:10px;

    }

    .logo img{

        width: 100px;

    }

    .logo span{

        font-size:1rem;

        letter-spacing:2px;

    }

    .menu-toggle{

        display:flex;

        align-items:center;

        justify-content:center;

        width:42px;

        height:42px;

        border:1px solid var(--border);

        background:white;

        color:var(--primary);

        cursor:pointer;

        font-size:1.1rem;

    }


    /*======================================================
    HERO
    ======================================================*/

    .hero{

        height:auto;

        min-height:100vh;

        padding:120px 0 80px;

    }

    .hero-content{

        width:90%;

        max-width:600px;

    }

    .hero-content span{

        letter-spacing:3px;

        font-size:.75rem;

        margin-bottom:20px;

    }

    .hero h1{

        font-size:4rem;

        line-height:1;

        margin-bottom:22px;

    }

    .hero p{

        font-size:.95rem;

        line-height:1.8;

        margin-bottom:35px;

    }


    /*======================================================
    HERO BUTTON
    ======================================================*/

    .hero .btn{

        padding:14px 30px;

    }


    /*======================================================
    HISTORY
    ======================================================*/

    .history{

        padding:80px 0;

    }

    .history .container{

        display:flex;

        flex-direction:column;

        gap:45px;

    }

    .history-content{

        max-width:none;

    }

    .history-content span{

        font-size:.78rem;

        letter-spacing:3px;

        margin-bottom:15px;

    }

    .history-content h2{

        font-size:2.7rem;

        line-height:1.15;

        margin-bottom:25px;

    }

    .history-content p{

        font-size:.92rem;

        line-height:1.9;

        margin-bottom:20px;

    }

    .history-image{

        width:100%;

        border-radius:6px;

    }

    .history-image img{

        width:100%;

        height:auto;

        object-fit:cover;

    }


    /*======================================================
    VALUES
    ======================================================*/

    .values{

        padding:80px 0;

    }

    .section-title{

        margin-bottom:50px;

    }

    .section-title span{

        font-size:.78rem;

        letter-spacing:3px;

        margin-bottom:15px;

    }

    .section-title h2{

        font-size:2.7rem;

        line-height:1.15;

    }

    .section-title p{

        font-size:.92rem;

        line-height:1.9;

    }

    .values-grid{

        grid-template-columns:1fr;

        gap:20px;

    }

    .value-card{

        padding:40px 30px;

    }

    .value-card h3{

        font-size:1.8rem;

        margin-bottom:15px;

    }

    .value-card p{

        font-size:.92rem;

        line-height:1.9;

    }


    /*======================================================
    PROJECTS
    ======================================================*/

    .projects{

        padding:90px 0;

    }

    .projects .section-title{

        margin-bottom:60px;

    }

    .project{

        display:flex;

        flex-direction:column;

        gap:30px;

        margin-bottom:80px;

    }

    /*
    Quitamos el cambio de orden de escritorio.
    En móvil primero aparece la imagen y después
    la información en todos los proyectos.
    */

    .project.reverse .project-image{

        order:1;

    }

    .project.reverse .project-content{

        order:2;

    }

    .project-image{

        width:100%;

        border-radius:8px;

    }

    .project-image img{

        width:100%;

        height:280px;

        object-fit:cover;

    }

    .project-content{

        max-width:none;

    }

    .project-content span{

        font-size:.78rem;

        letter-spacing:3px;

        margin-bottom:15px;

    }

    .project-content h3{

        font-size:2.5rem;

        line-height:1.1;

        margin-bottom:20px;

    }

    .project-content p{

        font-size:.92rem;

        line-height:1.9;

        margin-bottom:30px;

    }

    .project-content .btn{

        padding:14px 30px;

    }


    /*======================================================
    CTA
    ======================================================*/

    .cta{

        padding:80px 0;

    }

    .cta .container{

        width:90%;

    }

    .cta h2{

        font-size:3rem;

        line-height:1.15;

        margin-bottom:20px;

    }

    .cta p{

        font-size:.95rem;

        line-height:1.9;

        margin-bottom:30px;

    }

    .cta .btn{

        padding:15px 32px;

    }


    /*======================================================
    FOOTER
    ======================================================*/

    footer{

        padding:60px 0 30px;

    }

    footer .container{

        gap:20px;

    }

    .footer-logo{

        gap:10px;

    }

    .footer-logo img{

        width: 100px;

    }

    .footer-logo span{

        font-size:1.2rem;

        letter-spacing:2px;

    }

    footer p{

        font-size:.85rem;

        line-height:1.8;

    }

}


/*==========================================================
SMALL MOBILE
==========================================================*/

@media (max-width:480px){

    /*======================================================
    HEADER
    ======================================================*/

    .logo img{

        width: 85px;

    }

    .logo span{

        font-size:.9rem;

    }


    /*======================================================
    HERO
    ======================================================*/

    .hero{

        padding:110px 0 70px;

    }

    .hero-content{

        width:92%;

    }

    .hero h1{

        font-size:3.2rem;

    }

    .hero p{

        font-size:.9rem;

        line-height:1.8;

    }


    /*======================================================
    HISTORY
    ======================================================*/

    .history{

        padding:70px 0;

    }

    .history-content h2{

        font-size:2.35rem;

    }

    .history-content p{

        font-size:.88rem;

    }


    /*======================================================
    HISTORY IMAGE
    ======================================================*/

    .history-image img{

        height:260px;

        object-fit:cover;

    }


    /*======================================================
    VALUES
    ======================================================*/

    .values{

        padding:70px 0;

    }

    .section-title h2{

        font-size:2.3rem;

    }

    .value-card{

        padding:35px 25px;

    }

    .value-card h3{

        font-size:1.65rem;

    }


    /*======================================================
    PROJECTS
    ======================================================*/

    .projects{

        padding:75px 0;

    }

    .projects .section-title{

        margin-bottom:50px;

    }

    .project{

        gap:25px;

        margin-bottom:70px;

    }

    .project-image img{

        height:230px;

    }

    .project-content h3{

        font-size:2.15rem;

    }

    .project-content p{

        font-size:.88rem;

    }


    /*======================================================
    CTA
    ======================================================*/

    .cta{

        padding:70px 0;

    }

    .cta h2{

        font-size:2.5rem;

    }

    .cta p{

        font-size:.9rem;

    }


    /*======================================================
    FOOTER
    ======================================================*/

    footer{

        padding:50px 0 25px;

    }

    footer p{

        font-size:.8rem;

    }

}