/* ======================================================
   RESPONSIVE
   THE PRESTIGE
====================================================== */


/* ======================================================
   TABLET
====================================================== */

@media (max-width: 1024px){

    /* HEADER */

    .menu-btn{
        left: 25px;
    }

    .phone{
        right: 25px;
        font-size: .85rem;
    }

    .logo img{
        height: 40px;
    }


    /* HERO */

.hero{
    min-height: 100svh;

    width: 100%;

    padding: 120px 25px 60px;

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero::before{
    width: 100%;
}

    .hero-content{
        max-width: 600px;
    }

    .hero h1{
        font-size: 4rem;
    }


    /* ABOUT */

    .about-container{
        width: 90%;
        gap: 50px;
    }

}


/* ======================================================
   MOBILE
====================================================== */

@media (max-width: 768px){

    /* ==================================================
       HEADER
    ================================================== */

    .header-container{
        padding: 0;
    }

    .menu-btn{
        width: 55px;
        height: 55px;

        left: 20px;
        top: 50%;

        z-index: 1001;
    }

    .menu-btn span{
        width: 22px;
    }

    .logo img{
        height: 34px;
    }

    .phone{
        display: none;
    }


    /* ==================================================
       HERO
    ================================================== */

    .hero{
        min-height: 100svh;

        padding: 120px 25px 60px;

        background-position: center center;
    }

    .hero-content{
        width: 100%;
        max-width: 100%;

        margin: 0;
    }

    .hero-tag{
        font-size: .65rem;
        letter-spacing: 3px;
    }

    .hero h1{
        font-size: 3rem;
        line-height: 1.05;

        max-width: 100%;
    }

    .hero p{
        font-size: .9rem;
        line-height: 1.7;

        max-width: 330px;
    }

    .hero-buttons{
        flex-direction: column;
        align-items: flex-start;

        gap: 12px;
    }

    .hero-btn{
        width: 100%;
        max-width: 250px;

        justify-content: center;
    }


    /* ==================================================
       ABOUT
    ================================================== */

    .about{
        padding: 80px 20px;
    }

    .about-container{
        width: 100%;

        display: flex;
        flex-direction: column;

        gap: 45px;
    }

    .about-image{
        width: 100%;
    }

    .about-image img{
        width: 100%;
        height: auto;
    }

    .about-content{
        width: 100%;
    }

    .about-content h2{
        font-size: 2.3rem;
        line-height: 1.15;
    }

        /* ==================================================
       WHY US
    ================================================== */

    .why-us{
        padding: 80px 20px;
    }

    .why-us-container{
        display: flex;
        flex-direction: column;

        gap: 50px;

        width: 100%;
    }

    .why-us-image{
        width: 100%;
    }

    .why-us-image img{
        width: 100%;
        height: 500px;
    }

    .why-us-image::after{
        top: 15px;
        left: 15px;
    }

    .why-us-badge{
        right: -10px;
        bottom: 25px;

        width: 110px;
        height: 110px;
    }

    .why-us-content{
        width: 100%;
        max-width: 100%;
    }

    .why-us-content h2{
        font-size: 2.7rem;
        line-height: 1.1;
    }

    .why-us-intro{
        font-size: .9rem;
        line-height: 1.7;

        margin-bottom: 30px;
    }

    .why-us-point{
        grid-template-columns: 40px 1fr;

        gap: 15px;

        padding: 20px 0;
    }

    .why-us-number{
        font-size: 1.25rem;
    }

    .why-us-point h3{
        font-size: 1.45rem;
    }

    .why-us-point p{
        font-size: .85rem;
    }

    .why-us-btn{
        width: 100%;

        justify-content: center;

        margin-top: 30px;
    }


    /* ==================================================
       GALLERY
    ================================================== */

    .gallery{
        padding: 80px 20px;
    }

    .gallery-header{
        width: 100%;

        margin-bottom: 45px;
    }

    .gallery-header h2{
        font-size: 2.7rem;

        line-height: 1.1;

        white-space: normal;

        max-width: 100%;

        margin: 15px auto 20px;
    }

    .gallery-header p{
        font-size: .9rem;

        line-height: 1.7;
    }

    .gallery-grid{
        width: 100%;

        display: grid;

        grid-template-columns: repeat(2, 1fr);

        grid-auto-rows: 220px;

        gap: 10px;
    }

    .gallery-item-large{
        grid-row: span 2;
    }

    .gallery-item-wide{
        grid-column: span 2;
    }

    .gallery-overlay{
        padding: 15px;
    }

    .gallery-overlay span{
        font-size: .6rem;
    }

    .gallery-overlay h3{
        font-size: 1.35rem;
    }

    .gallery-button{
        margin-top: 40px;
    }

    .gallery-btn{
        width: 100%;

        justify-content: center;
    }


    /* ==================================================
       SERVICES
    ================================================== */

    .services{
        padding: 80px 20px;
    }

    .services-container{
        width: 100%;
    }

    .services-header{
        width: 100%;
    }

    .services-header h2{
        font-size: 2.7rem;

        line-height: 1.1;
    }

    .services-grid{
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .service-card{
        width: 100%;
    }
    .about-content p{
        font-size: .9rem;
        line-height: 1.7;
    }


    /* ==================================================
       SECCIONES GENERALES
    ================================================== */

    #services,
    #why-us,
    #gallery,
    #testimonials,
    #contact{
        width: 100%;
    }


    /* ==================================================
       MENU LATERAL
    ================================================== */

    .side-menu{
        width: 85%;
        max-width: 380px;
    }

}


/* ======================================================
   MOBILE PEQUEÑO
====================================================== */

@media (max-width: 480px){

    /* HEADER */

    .menu-btn{
        width: 50px;
        height: 50px;

        left: 15px;
    }

    .logo img{
        height: 30px;
    }


    /* HERO */

    .hero{
        padding: 110px 20px 50px;
    }

    .hero h1{
        font-size: 2.5rem;
    }

    .hero p{
        font-size: .85rem;
    }

    .hero-btn{
        max-width: 230px;
        padding: 13px 20px;
    }


    /* ABOUT */

    .about{
        padding: 65px 20px;
    }

    .about-content h2{
        font-size: 2rem;
    }

}

/* ======================================================
   CONTACT
   RESPONSIVE
====================================================== */


/* ======================================================
   TABLET
====================================================== */

@media (max-width: 1024px){

    .contact{
        padding: 110px 6%;
    }

    .contact-container{
        gap: 60px;
    }

    .contact-info h2{
        font-size: 3.4rem;
    }

    .contact-form{
        padding: 35px;
    }

}


/* ======================================================
   MOBILE
====================================================== */

@media (max-width: 768px){

    .contact{
        padding: 80px 20px;
    }

    .contact-container{
        width: 100%;

        display: flex;
        flex-direction: column;

        gap: 55px;
    }


    /* CONTACT INFO */

    .contact-info{
        width: 100%;
        padding-top: 0;
    }

    .contact-info .section-subtitle{
        font-size: .7rem;
        letter-spacing: 3px;
        margin-bottom: 16px;
    }

    .contact-info h2{
        font-size: 2.6rem;
        line-height: 1.1;

        margin-bottom: 25px;
    }

    .contact-info > p{
        width: 100%;

        font-size: .9rem;
        line-height: 1.7;

        margin-bottom: 40px;
    }


    /* CONTACT DETAILS */

    .contact-details{
        gap: 22px;
    }

    .contact-item{
        gap: 15px;
        width: 100%;
    }

    .contact-item > i{
        width: 45px;
        height: 45px;

        min-width: 45px;

        font-size: 14px;
    }

    .contact-item small{
        font-size: .65rem;
        letter-spacing: 2px;
    }

    .contact-item strong{
        font-size: .85rem;
    }


    /* FORM */

    .contact-form{
        width: 100%;
        padding: 30px 20px;
    }

    .form-row{
        grid-template-columns: 1fr;

        gap: 0;
    }

    .form-group{
        margin-bottom: 22px;
    }

    .form-group label{
        font-size: .75rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea{
        font-size: .85rem;

        padding: 14px;
    }

    .form-group textarea{
        min-height: 120px;
    }

    .contact-btn{
        min-height: 54px;

        font-size: .75rem;
    }

}


/* ======================================================
   MOBILE PEQUEÑO
====================================================== */

@media (max-width: 480px){

    .contact{
        padding: 65px 20px;
    }

    .contact-container{
        gap: 45px;
    }

    .contact-info h2{
        font-size: 2.2rem;
    }

    .contact-info > p{
        font-size: .85rem;
    }

    .contact-item > i{
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    .contact-item strong{
        font-size: .8rem;
    }

    .contact-form{
        padding: 25px 18px;
    }

}

/* ======================================================
   FIX FORMULARIO CONTACTO EN MOBILE
====================================================== */

@media (max-width: 768px){

    .contact-form{
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;

        width: 100% !important;
        max-width: 100% !important;

        padding: 30px 20px !important;

        margin-top: 0 !important;

        position: relative !important;
    }

    .contact-form form{
        display: block !important;
        width: 100% !important;
    }

}