/* =========================================================
   REFRATERMIC S.R.L. - RESPONSIVE.CSS
========================================================= */

/* =========================================================
   LARGE DESKTOPS
========================================================= */
@media screen and (max-width: 1600px){

    .container{
        width: 92%;
    }

    .hero-content{

    padding-top: 80px;


}

    .hero-content h1{

        font-size: 3.1rem;

        line-height: .95;
       

    

    }

    .hero-buttons{

        display:flex;

        flex-direction: row;

        align-items: center;

        justify-content: flex-start;

        gap: 28px;

        width: auto;

        flex-wrap: nowrap;
        

    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary{

        width: auto;

        min-width: 230px;

        padding: 28px 36px;

    }

}

/* =========================================================
   LAPTOPS - 1366px
========================================================= */

@media screen and (max-width: 1366px){

    .container{
        width: 90%;
    }

    /* HERO */

  .hero-section{

    min-height: 600px;

    display:flex;
    align-items:center;

}

.hero-content{

    padding-top: 110px;

    max-width: 620px;

}

    .hero-content h1{
        font-size: 3rem;
        line-height: 1.05;
    }

    .hero-content p{
        font-size: 1.08rem;
        line-height: 1.7;
        max-width: 620px;
    }

    .hero-buttons{

    display:flex;

    flex-direction:row;

    gap:14px;

    width:100%;

    margin-top:24px;

    align-items:center;

}

.hero-buttons a{

    width:100%;

    max-width:320px;

    min-height:58px;

    padding:18px 20px;

    font-size:1rem;

    border-radius:10px;

    display:flex;

    align-items:center;

    justify-content:center;

}
.hero-buttons .btn-primary,
    .hero-buttons .btn-secondary{

        width: auto;

        min-width: 230px;

        padding: 16px 20px;

        

    }

    /* ABOUT */

    .about-grid{
        gap: 60px;
    }

    /* SERVICES */

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

        gap: 18px;
    }

    .service-card img{
        height: 170px;
    }

    /* CLIENTS */

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

    /* FOOTER */

    .footer-container{
        gap: 50px;
    }

}

/* =========================================================
   TABLETS LANDSCAPE
========================================================= */

@media screen and (max-width: 1180px){

    /* SERVICES */

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

    /* ABOUT */

    .about-grid{
        grid-template-columns: 1fr;
        gap: 70px;
    }

    /* CLIENTS */

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

    /* FOOTER */

    .footer-container{
        grid-template-columns:
        1fr 1fr;
    }

}

/* =========================================================
   TABLETS
========================================================= */

@media screen and (max-width: 1024px){

    section{
        padding: 90px 0;
    }

    /* HEADER */

    .header-container{
        height: 82px;
    }

    .logo img{
        width: 240px;
    }

    /* HERO */

    .hero-section{
        min-height: 82vh;
    }

    .hero-content h1{
        font-size: 3.2rem;
    }

    .hero-content p{
        font-size: 1rem;
    }

    /* MATERIALS */

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

    /* PROJECTS */

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

}

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

@media screen and (max-width: 900px){

    body.menu-open{
        overflow: hidden;
    }

    .menu-toggle{

        display: flex;

        flex-direction: column;

        justify-content: center;

        gap: 6px;

        width: 42px;

        height: 42px;

        cursor: pointer;

        z-index: 999999;

    }

    .menu-toggle span{

        width: 100%;

        height: 3px;

        background: #003B8E;

        border-radius: 10px;

        transition: .3s ease;

    }

    /* NAV */


.nav-menu{

    position: fixed;

    inset: 0;

    width: 100%;

    height: 100vh;

    background: #686767 !important;

    display: flex;

    flex-direction: column;

    justify-content: flex-start;

    align-items: center;

    gap: 18px;

    padding:

    120px 32px 60px;

    overflow-y: auto;

    overflow-x: hidden;

    -webkit-overflow-scrolling: touch;

    transform:
    translateY(-100%);

    transition: .45s ease;

    z-index: 99999;

    opacity: 1 !important;

}
    
    .nav-menu li a{

    color: #0B1F3A;

    font-size: 1.15rem;

    font-weight: 600;

    letter-spacing: .02em;

    transition: .25s ease;

    }

 /* DROPDOWN MOBILE */

.dropdown-menu{

    display: none;

    opacity: 0;

    visibility: hidden;

    max-height: 0;

    overflow: hidden;

    transition: .3s ease;

}


.dropdown.active .dropdown-menu{

    display: flex;

    flex-direction: column;

    opacity: 1;

    visibility: visible;

    max-height: 900px;

    margin-top: 12px;

    gap: 8px;

    width: 100%;

    padding: 14px 18px;

    background: rgba(255,255,255,.10);

    border-radius: 18px;

    border: 1px solid rgba(255,255,255,.12);

    backdrop-filter: blur(10px);

    box-sizing: border-box;

}


.dropdown.active .dropdown-menu li a{

    font-size: .95rem;

    font-weight: 500;

    color: #1F2937;

    opacity: .95;

}

.dropdown-toggle{

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    width: 100%;

    font-weight: 700;

    color: #ffffff;

}

.dropdown-chevron{

    width: 14px;

    height: 14px;

    object-fit: contain;

    transition: .3s ease;

    opacity: .9;

}

.dropdown.active .dropdown-chevron{

    transform:
    rotate(180deg);

}

.dropdown.active .dropdown-icon{

    transform: rotate(180deg);

}




.menu-title{

    display: none;

}


      /* NAV */

    .nav-menu{

        position: fixed;

        inset: 0;

        width: 100%;

        height: 100vh;

         background: #686767 !important;

        display: flex;

        flex-direction: column;

        gap: 28px;

        transform:
        translateY(-100%);

        transition: .45s ease;

        z-index: 99999;

        overflow-y: auto;

        padding: 120px 30px 80px;
         transform:
        translateY(-100%);

        transition: .45s ease;

        z-index: 99999;

        opacity: 1 !important;
       
        
    }
    
    /* SCROLLBAR MOBILE MENU */

.nav-menu::-webkit-scrollbar{

    width: 6px;

}

.nav-menu::-webkit-scrollbar-track{

    background:
    rgba(255,255,255,.08);

}

.nav-menu::-webkit-scrollbar-thumb{

    background:
    rgba(255,255,255,.35);

    border-radius: 20px;

}

.nav-menu::-webkit-scrollbar-thumb:hover{

    background:
    rgba(255,255,255,.55);

}

    .nav-menu.active{

        transform:
        translateY(0);

    }

    .nav-menu li{

        width: auto;

    }

    .nav-menu li a{

        color: #ffffff;

        font-size: 1.2rem;

        font-weight: 600;

    }

    /* DROPDOWN */

   .dropdown-menu{

    position: static;

    opacity: 1;

    visibility: visible;

    transform: none;

    width: 100%;

    min-width: 100%;

    margin-top: 12px;

    padding: 14px 18px;

    border-radius: 18px;

    background:
    rgba(255,255,255,.10);

    border:
    1px solid rgba(255,255,255,.12);

    backdrop-filter:
    blur(12px);

    display: none;

    box-shadow: none;

}

    .dropdown.active .dropdown-menu{

        display: flex;

        flex-direction: column;

        gap: 10px;

    }

    .dropdown-menu li a{

        font-size: .95rem;

        color: #ffffff;
        

    }

    /* BUTTON */

    .header-container .btn-primary{
        display: none;
    }

}

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

@media screen and (max-width: 768px){

    /* MOBILE HEADER */

    .top-bar{

    display: none;

}

.header-wrapper{

    top: 0;

}

.main-header{

    height: 78px;

}

.header-container{

    height: 74px;

    padding: 0 18px;

}

.logo{

    height: 74px;

    padding: 6px 0;

}

.logo img{

    width: 185px;

}

    body{
        overflow-x: hidden;
    }

    section{
        padding: 80px 0;
    }

    /* HEADER */

    .header-container{
        height: 76px;
    }

    .logo{
        padding: 10px 0;
    }

    .logo img{
        width: 220px;
    }

    /* HERO */

 .hero-section{
    min-height: 720px;
}

.hero-content{
    padding-top: 50px;
    text-align: center;
}

.hero-content h1{

    font-size: 1.45rem;

    line-height: 1.15;

    margin-bottom: 20px;

}

.hero-content p{

    font-size: .92rem;

    line-height: 1.55;

    margin: 0 auto 22px;

    max-width: 95%;

}

.hero-buttons{

    flex-direction: column;

    width: 100%;

    gap: 12px;

}

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary{

        min-height: 50px;

        padding: 14px 20px;

        font-size: .92rem;

    }

    .hero-bar{

    height: auto;

    padding: 8px 10px;

}

.hero-features{

    gap: 28px;

}

.hero-feature{

    padding: 0;

}

.hero-feature i{

    font-size: 0.8rem;

    margin-bottom: 6px;

}

.hero-feature span{

    font-size: .78rem;

    line-height: 1.1;

}

      /* MOBILE BADGES */

.section-tag{

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 10px 18px;

    border-radius: 100px;

    font-size: .78rem;

    font-weight: 700;

    letter-spacing: .08em;

    text-align: center;

    line-height: 1.2;

    max-width: 100%;

    margin-bottom: 18px;

    color:#ffffff;

}

    

    /* ABOUT */

    .about-section{
        padding: 90px 0;
    }

    .about-grid{
        gap: 50px;
    }

    .about-content h2{
        font-size: 2.3rem;
    }

    /* ABOUT BRAND MOBILE */

.about-brand{

    width: 100%;

    max-width: 320px;

    margin: 0 auto 10px auto;

    padding: 18px 24px;

    border-radius: 999px;

}

.about-brand span{

    display: block;

    width: 100%;

    text-align: center;

    font-size: 1rem;

    letter-spacing: .28rem;

    line-height: 1.4;

    word-break: break-word;

}

/* ABOUT TITLE MOBILE */

.about-title{

    font-size: 1.4rem;

    line-height: 1.08;

    letter-spacing: -1px;

    max-width: 100%;

    font-weight: 700;

}

/* ABOUT MOBILE */

.about-section{

    padding: 50px 0;

}

.about-content h2{

    font-size: 0.9rem;

    line-height: 1.05;

    margin-bottom: 5px;

   

}

.about-content p{

    font-size: .65rem;

    line-height: 1;

    margin-bottom: 10px;
  

}

.about-text p{

    font-size: .98rem !important;

    line-height: 1.65 !important;

    text-align: justify !important;

    margin-bottom: 16px !important;

}

.about-text{

    width: 95%;

}

.about-features{

    gap: 10px;

}

.about-feature{

    padding: 10px;

}

.about-feature i{

    font-size: 1.3rem;

}

.about-feature h4{

    font-size: .85rem;

    margin-bottom: 6px;

}

.about-feature p{

    font-size: .85rem;

    margin-bottom: 0;

}

/* ABOUT FEATURES MOBILE */

.about-features{

    margin-top: 10px;


}

.feature-item{

    padding: 16px 0;

}

.feature-icon{

    min-width: 48px;

}

.feature-icon i{

    font-size: 2rem !important;

}

.feature-content h3{

    font-size: 1.15rem !important;

    line-height: 1.2;

    margin-bottom: 8px;

}

.feature-content p{

    font-size: .90rem !important;

    line-height: 1.55;
   

}

.feature-icon img{

    width: 38px !important;

    height: 38px !important;

}
.feature-icon{

    min-width: 40px !important;

    width: 40px !important;

}

    /* SERVICES */

    .services-section{
        padding: 60px 0;
         
    }

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

    .service-card img{
        height: 230px;
    }

    /* SERVICES MOBILE */

.services-header{

    margin-bottom: 30px;

}

.services-header h2{

    font-size: 1.6rem !important;

    line-height: 1.1;

    margin-bottom: 18px;

}

.services-header p{

    font-size: 1rem !important;

    line-height: 1.6;

    margin-bottom: 0;

    text-align: justify;

    width: 95%;

}

/* SERVICES CARDS MOBILE */

.service-content{

    padding: 20px 18px !important;

}

.service-content p{

    font-size: .92rem !important;

    line-height: 1.55 !important;

    margin-bottom: 16px !important;

}

.service-content ul{

    margin-bottom: 18px !important;

}

.service-content li{

    font-size: .90rem !important;

    margin-bottom: 8px !important;

}

.service-btn{

    height: 46px !important;

    padding: 0 20px !important;

    border-radius: 12px !important;

    font-size: .88rem !important;

}

    /* CTA */

    .cta-section{

        min-height: auto;

        padding: 70px 0;

    }

    .cta-content h2{

        font-size: 2.4rem;

    }

    /* CTA MOBILE */

.cta-section{

    min-height: auto;

    padding: 60px 0;

}

.cta-content{

    padding: 0 18px;

}

.cta-content h2{

    font-size: 1.85rem !important;

    line-height: 1.15 !important;

    margin-bottom: 16px !important;

}

.cta-content p{

    font-size: .95rem !important;

    line-height: 1.6 !important;

    margin-bottom: 24px !important;

}

.cta-button{

    height: 50px !important;

    padding: 0 20px !important;

    font-size: .9rem !important;

    border-radius: 12px !important;

}

    /* CLIENTS */

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

    /* TICKER */

    .ticker-track span{

        font-size: .9rem;

    }
    .clients-section .section-tag{

    display: inline-flex;

    justify-content: center;

    align-items: center;

    text-align: center;

    width: auto;

    max-width: 260px;

    margin: 0 auto 18px;

    padding: 14px 22px;

    font-size: .78rem;
    font-weight: 600;

    line-height: 1.5;

    letter-spacing: 3px;

    white-space: normal;

}

/* CLIENTES MOBILE */

.clients-section{

    padding: 50px 0;
}

.clients-header{

    margin-bottom: 25px;
}

.clients-header h2{

    font-size: 1.65rem !important;

    line-height: 1.1 !important;

    margin-bottom: 15px !important;
}

.clients-header p{

    font-size: .95rem !important;

    line-height: 1.6 !important;
}

.clients-grid{

    gap: 12px !important;
}

/* CLIENTES MOBILE */

.client-logo{

    padding: 10px 0 !important;

    min-height: auto !important;

}

.client-logo img{

    max-width: 190px !important;

    max-height: 78px !important;

    width: auto !important;

    height: auto !important;

}


/* SECTORES MOBILE */

.sectors-header .section-badge{

    padding: 10px 20px !important;

    font-size: .78rem !important;

    letter-spacing: .12em !important;

}

.sectors-header h2{

    font-size: 1.75rem !important;

    line-height: 1.1 !important;

    margin-bottom: 18px !important;

}
    

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

.footer-container{

    grid-template-columns: 1fr;

    gap: 18px;

    padding: 55px 22px 30px;

    box-sizing: border-box;

}

.footer-grid{

    grid-template-columns: 1fr;

    gap: 22px;

    padding: 0 26px;

    box-sizing: border-box;

}

.footer-column{

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    text-align: left;

    width: 100%;

}

.footer-column h4,
.footer-column p,
.footer-column a,
.footer-column li{

    margin-left: 12px;

}

.footer-logo{

    width: 100%;

}

.footer-logo img{

    width: 280px;

}

.footer-social{

    justify-content: flex-start;

}

.footer-bottom-container{

    flex-direction: column;

    align-items: flex-start;

    gap: 18px;

}

.footer-bottom-links{

    flex-wrap: wrap;

    gap: 18px;

}

/* FOOTER MOBILE */

.main-footer{

    padding-top: 45px !important;

}

.footer-container{

    gap: 25px !important;

}

.footer-logo img{

    width: 270px !important;

}

.footer-brand p{

    font-size: .92rem !important;

    line-height: 1.65 !important;

    margin-top: 18px !important;

    margin-bottom: 20px !important;

}

.footer-column h3{

    font-size: 1.45rem !important;

    margin-bottom: 16px !important;

}

.footer-links h4,
.footer-contact h4{

    font-size: 1.25rem !important;

    margin-bottom: 18px !important;

}

.footer-links ul li{

    margin-bottom: 10px !important;

}

.footer-links{

    margin-top: 10px !important;

}

.main-footer{

    padding-top: 35px !important;

    padding-bottom: 30px !important;

}

.footer-brand p{

    margin-bottom: 12px !important;

}


.footer-brand{

    margin-bottom: 5px !important;

}

.footer-container{

    display: flex !important;

    flex-direction: column !important;

    gap: 10px !important;

}

.footer-brand{

    margin-bottom: 0 !important;

    padding-bottom: 0 !important;

}

.footer-links{

    margin-top: 0 !important;

    padding-top: 0 !important;

}

    /* WHATSAPP */

 .floating-whatsapp{

    width: 58px;
    height: 58px;

    bottom: 12px;
    right: 12px;

}

    

    .floating-whatsapp img{

        width: 30px;

    }

    /* MODALS */

    .footer-modal-content{

        padding:
        42px 30px;

    }

    .footer-modal-content h2{

        font-size: 2rem;

    }

}

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

@media screen and (max-width: 480px){

    .container{
        width: 92%;
    }

    /* HERO */

    .hero-content h1{

        font-size: 2.2rem;

    }

    .hero-content p{

        font-size: .96rem;

    }

    /* SECTION TITLES */

    .section-header h2,
    .about-content h2,
    .services-section .section-header h2,
    .clients-header h2,
    .sectors-header h2{

        font-size: 2rem;

    }

    /* BUTTONS */

    .btn-primary,
    .btn-secondary{

        width: 100%;

    }

    /* SERVICE */

    .service-content{

        padding: 30px 24px;

    }

    /* FOOTER */

    .footer-logo img{

        width: 240px;

    }

    .footer-brand p{

        font-size: .98rem;

    }

    /* MODAL */

    .footer-modal-content{

        padding:
        36px 24px;

        border-radius: 22px;

    }

    .footer-modal-content h2{

        font-size: 1.8rem;

    }

    .footer-modal-content p{

        font-size: .96rem;

        line-height: 1.8;

    }

}

/* =========================================================
   END
========================================================= */
