/* RESET */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body{
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    font-weight: 400;
    overflow-x: hidden;
    padding-top: 75px;
}

img{
    max-width: 100%;
    display: block;
}

/* HEADER */

header{
    width: 100%;
    height: 80px;

    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;

    gap: clamp(20px, 3vw, 45px);

    padding: 0px clamp(25px, 4vw, 60px);

    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(47,50,117,0.08);

    position: fixed;
    top: 0;
    left: 0;

    z-index: 9999;

    transition: 0.3s;
}

.logo-section img{
    width: clamp(95px, 9vw, 140px);
}

/* CONTACTO */

.contact-section{
    position: static;
    justify-self: start;
}

.contact-section p{
    font-size: clamp(12px, 1.1vw, 16px);
    color: #555;
    margin-bottom: 10px;
}

.social-icons{
    display: flex;
    gap: 15px;
}

.social-icons a{
    color: black;
    font-size: clamp(18px, 2vw, 22px);
    transition: 0.3s;
}

.social-icons a:hover{
    color: #3c5cff;
}

/* NAV */

nav{
    display: flex;
    gap: clamp(18px, 3vw, 45px);
    justify-self: end;
}

nav a{
    text-decoration: none;
    color: #605e5e;
    font-size: 14px;
    letter-spacing: 1px;
    transition: 0.3s;
    white-space: nowrap;
}

nav a:hover{
    color: #3c5cff;
}

/* HERO */

.hero{
    width: 100%;
    height: calc(108vh - 110px);

    position: relative;

    background-image: url("img/Hero.jpg");
    background-size: cover;
    background-position: center 80%;
    background-repeat: no-repeat;

    overflow: hidden;
}

.overlay{
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-content{
    position: absolute;

    top: clamp(25px, 5vh, 131px);
    left: 50%;

    transform: translateX(-50%);

    text-align: center;

    z-index: 10;

    width: min(90%, 1200px);
}

.hero-content h1{
    font-size: clamp(48px, 8vw, 120px);
    letter-spacing: clamp(8px, 2.4vw, 35px);

    color: #262b75;

    font-weight: 600;
}

.hero-content p{
    margin-top: 20px;

    font-size: clamp(14px, 1.8vw, 26px);
    letter-spacing: clamp(3px, 1vw, 14px);

    color: rgba(0,0,0,0.4);
}

/* ABOUT */

.about{
    width: 100%;
    background: #efefef;
    padding: 90px 20px;
}

.about-wrapper{
    width: min(1220px, 100%);
    margin: 0 auto;

    position: relative;

    min-height: 560px;
}

.about-image{
    width: 58%;
}

.about-image img{
    width: 100%;
    height: 560px;
    object-fit: cover;
}

.about-card{
    width: 56%;

    position: absolute;
    top: 60px;
    right: 0;

    background: #f8f8f8;

    padding: clamp(50px, 5vw, 80px);

    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.about-card h2{
    font-size: clamp(70px, 7vw, 105px);
    color: #2f3275;
    margin-bottom: 35px;
    letter-spacing: 4px;
}

.about-card p{
    font-size: clamp(17px, 1.5vw, 22px);
    line-height: 2;
    color: #444;
    text-align: justify;
    letter-spacing: 1px;
}

/* =========================
   SERVICES INTRO
========================= */

.services-intro{
    width: 100%;
    background: #efefef;
    padding: 120px clamp(25px, 5vw, 80px) 40px;
}

.services-intro-container{
    max-width: 1100px;
    margin: 0 auto;
}

.services-intro-container h2{
    font-size: clamp(46px, 6vw, 80px);
    color: #2f3275;
    margin-bottom: 35px;
}

.services-intro-container p{
    font-size: clamp(16px, 2vw, 23px);
    line-height: 2;
    text-align: justify;
    color: #555;
    letter-spacing: 0.5px;
}

/* =========================
   SERVICES
========================= */

.services{
    width: 100%;
    background: #efefef;

    padding: 80px clamp(25px, 5vw, 80px) 120px;

    display: flex;
    flex-wrap: wrap;

    justify-content: center;
    align-items: stretch;

    gap: 35px 28px;

    overflow: hidden;
}

.service-card{
    width: clamp(280px, 22vw, 300px);

    display: flex;
    flex-direction: column;

    background: #f7f7f7;

    transition: .4s;
    cursor: pointer;
}

.service-card:hover{
    transform: translateY(-10px);

    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.service-card img{
    width: 100%;
    height: 340px;

    object-fit: cover;

    transition: 0.5s;
}

.service-card:hover img{
    transform: scale(1.05);
}

.service-content{
    padding: 28px;

    display: flex;
    flex-direction: column;

    flex: 1;
}

.service-content h3{
    font-size: 22px;

    color: #1f2c5c;

    margin-bottom: 25px;
}

.service-content p{
    font-size: 16px;

    line-height: 1.8;

    color: #333;

    text-align: justify;
    text-justify: inter-word;
}

/* PROJECTS */

.projects{
    width: 100%;
    padding: 120px clamp(20px, 5vw, 80px);
    background: #ffffff;
}

.projects-header{
    max-width: 1000px;
    margin-bottom: 60px;
}

.projects-header h2{
    font-size: clamp(46px, 6vw, 80px);
    color: #2f3275;
    margin-bottom: 30px;
}

.projects-header p{
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* CARRUSEL */

.projects-carousel-wrapper{
    position: relative;
}

.projects-grid{
    display: grid;

    grid-auto-flow: column;
    grid-template-rows: repeat(2, 320px);
    grid-auto-columns: 380px;

    gap: 30px;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;

    padding: 10px 5px 25px;

    scrollbar-width: none;
}

.projects-grid::-webkit-scrollbar{
    display: none;
}

/* CARD */

.project-card{

    width: 100%;
    height: 320px;

    position: relative;
    overflow: hidden;
    cursor: pointer;

    scroll-snap-align: start;
}

.project-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.project-card:hover img{
    transform: scale(1.08);
}

/* FLECHAS */

.projects-arrow{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    z-index: 20;

    width: 55px;
    height: 55px;

    border: none;
    border-radius: 50%;

    background: rgba(255,255,255,0.95);
    color: #2f3275;

    font-size: 28px;

    cursor: pointer;

    box-shadow: 0 8px 25px rgba(0,0,0,0.12);

    transition: 0.3s;
}

.projects-arrow:hover{
    background: #2f3275;
    color: white;
}

.projects-arrow.left{
    left: -25px;
}

.projects-arrow.right{
    right: -25px;
}

/* OVERLAY */

.project-overlay{
    position: absolute;

    bottom: 0;
    left: 0;

    width: 100%;
    height: 100%;

    pointer-events: none;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.75),
        rgba(0,0,0,0.15)
    );

    display: flex;
    align-items: flex-end;

    padding: clamp(25px, 3vw, 40px);

    opacity: 0;

    transition: 0.4s;
}

.project-card:hover .project-overlay{
    opacity: 1;
}

.project-title{
    position: absolute;

    top: 30px;
    left: 30px;

    transition: 0.4s;

    opacity: 1;
    
    z-index: 10;

    background: rgba(0, 0, 0, 0.55);

    backdrop-filter: blur(1px);

    padding: 12px 18px;

    border-radius: 4px;

    pointer-events: none;
}

.project-card:hover .project-title{
    opacity: 0;

    transform: translateY(-15px);

    pointer-events: none;
}

.project-title h3{
    color: #ffffff;

    font-size: clamp(20px, 2vw, 30px);

    letter-spacing: 1px;
}

.project-overlay p{
    color: #fff;

    font-size: 15px;

    line-height: 1.8;

    text-align: justify;
    text-justify: inter-word;

    width: 100%;
}

.project-card:hover .project-overlay p{
    transform: translateY(0);
}

/* MODAL */

.editorial-modal{
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100vh;

    background: #f4f4f2;

    display: none;

    justify-content: center;
    align-items: center;

    z-index: 99999;
}

.editorial-container{
    width: 90%;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: clamp(30px, 5vw, 80px);
}

.editorial-image{
    width: 65%;
}

.editorial-image img{
    width: 100%;
    height: 75vh;

    object-fit: contain;
}

.editorial-info{
    width: 25%;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.editorial-info h3{
    font-size: clamp(24px, 3vw, 38px);

    font-weight: 300;

    margin-bottom: 30px;

    color: #222;

    font-style: italic;
}

.editorial-info p{
    font-size: clamp(15px, 1.5vw, 20px);

    line-height: 1.9;

    color: #444;

    margin-bottom: 60px;
}

.editorial-controls{
    display: flex;
    gap: 20px;
}

.editorial-controls button{
    width: 60px;
    height: 60px;

    border: 1px solid #ccc;

    background: transparent;

    font-size: 28px;

    cursor: pointer;

    transition: 0.3s;
}

.editorial-controls button:hover{
    background: #222;
    color: white;
}

.close-editorial{
    position: absolute;

    top: 40px;
    right: 50px;

    font-size: 45px;

    cursor: pointer;

    color: #444;

    transition: 0.3s;
}

.close-editorial:hover{
    transform: rotate(90deg);
}

#carouselImage{
    transition: opacity 0.3s ease;
}

/* =========================
   PROCESS
========================= */


.process{
    width: 100%;
    padding: 130px clamp(20px, 6vw, 90px);
    background: linear-gradient(180deg, #ffffff, #f8f9fc);
    overflow: hidden;
}

.process-header{
    max-width: 850px;
}

.process-header span{
    display: block;
    color: #3c5cff;
    font-size: 13px;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.process-header h2{
    font-size: clamp(48px, 7vw, 90px);
    color: #2f3275;
    margin-bottom: 30px;
}

.process-header p{
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 2;
    color: #555;
    text-align: justify;
}

.process-timeline{
     position: relative;

    display: grid;

    grid-template-columns: repeat(5, minmax(180px, 1fr));

    gap: clamp(25px, 3vw, 45px);

    max-width: 1200px;

    margin: 0 auto;
}

.process-line{

    position: absolute;

    top: 35px;

    left: 40px;

    right: 40px;

    height: 2px;

    background: rgba(47,50,117,0.25);

    z-index: 1;
}

.process-step{
    position: relative;
    padding-top: 80px;
    min-width: 0;
    text-align: center;
}


.process-step span{
    display: block;
    font-size: 48px;
    font-weight: 600;
    color: rgba(47,50,117,0.14);
    margin-bottom: 20px;
}

.process-step h3{
    font-size: 22px;
    color: #2f3275;
    margin-bottom: 18px;
}

.process-step p{
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

/* =========================
   FINAL CTA
========================= */

.final-cta{
    width: 100%;
    padding: 120px clamp(20px, 6vw, 90px);
    background: linear-gradient(135deg, #f8f9fc, #ffffff);
}

.final-cta-content{
    max-width: 1100px;
    margin: auto;

    padding: 80px clamp(30px, 6vw, 90px);

    background: white;

    border: 1px solid rgba(47,50,117,0.08);

    box-shadow: 0 20px 60px rgba(0,0,0,0.06);

    text-align: center;
}

.final-cta-content span{
    display: block;

    color: #3c5cff;

    font-size: 13px;

    letter-spacing: 4px;

    margin-bottom: 20px;

    text-transform: uppercase;
}

.final-cta-content h2{
    font-size: clamp(42px, 6vw, 78px);

    color: #2f3275;

    margin-bottom: 30px;
}

.final-cta-content p{
    max-width: 720px;

    margin: 0 auto 45px;

    font-size: 23px;

    line-height: 2;

    color: #555;
}

.final-cta-buttons{
    display: flex;

    justify-content: center;

    gap: 20px;

    flex-wrap: wrap;
}

.cta-btn{
    min-width: 230px;

    padding: 18px 28px;

    display: inline-flex;

    justify-content: center;
    align-items: center;

    gap: 12px;

    text-decoration: none;

    font-size: 15px;

    letter-spacing: 1px;

    transition: 0.35s;
}

.cta-btn.whatsapp{
    background: #25D366;

    color: white;
}

.cta-btn.email{
    background: #2f3275;
    cursor: pointer;
    color: white;
}

.cta-btn:hover{
    transform: translateY(-5px);

    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

/* =========================
   FER
========================= */

.architect-section{
    width: 100%;

    padding: 120px 8%;

    background: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 80px;

    flex-wrap: wrap;
}

.architect-image{
    flex: 1;
    min-width: 320px;
}

.architect-content{
    flex: 1;
    min-width: 320px;

    max-width: 859px;
}

.architect-content span{
    color: #3c5cff;

    letter-spacing: 3px;

    font-size: 13px;

    font-weight: 600;
}

.architect-content h2{
    font-size: clamp(42px, 5vw, 72px);

    color: #2f3275;

    margin: 20px 0 35px;
}

.architect-content p{
    font-size: 16px;

    line-height: 2;

    color: #555;

    margin-bottom: 25px;

    text-align: justify;
}

.architect-data{
    margin-top: 40px;

    display: flex;

    gap: 40px;

    flex-wrap: wrap;
}

.architect-data div{
    display: flex;

    flex-direction: column;
}

.architect-data strong{
    color: #2f3275;

    font-size: 15px;

    margin-bottom: 6px;
}

.architect-data span{
    color: #666;

    letter-spacing: 0;

    font-size: 14px;
}

/* ANIMACION */

.reveal{
    opacity: 0;
    transform: translateY(35px);
    transition: 0.8s ease;
}

.reveal.active{
    opacity: 1;
    transform: translateY(0);
}

.process-step i{

    width: 70px;
    height: 70px;

    display: flex;

    justify-content: center;
    align-items: center;

    font-size: 28px;

    color: #2f3275;

    background: white;

    border-radius: 50%;

    box-shadow:
        0 0 0 10px rgba(47,50,117,0.08),
        0 10px 30px rgba(0,0,0,0.05);

    margin: 0 auto 30px;

    position: relative;

    z-index: 5;

    transition: .35s;
}

.process-step:hover i{

    transform: translateY(-6px);

    background: #2f3275;

    color: white;
}

.process-step:hover i{

    transform: translateY(-5px);

    color: #2f3275;
}

/* RESPONSIVE */

@media(max-width: 1024px){

    .process-timeline{
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .process-line{
        top: 0;
        left: 8px;
        width: 1px;
        height: 100%;
    }

    .process-step{
        padding-top: 0;
        padding-left: 50px;
    }

    .process-step::before{
        top: 5px;
        left: 0;
    }
}


/* FOOTER */

.footer{
    width: 100%;

    background: #f8f9fc;

    padding-top: 110px;

    border-top: 1px solid rgba(47,50,117,0.08);
}

.footer-container{
    width: 90%;

    margin: auto;

    display: flex;

    justify-content: space-between;

    gap: clamp(40px, 6vw, 100px);

    flex-wrap: wrap;

    padding-bottom: 70px;
}

.footer-left,
.footer-right{
    flex: 1;
    min-width: 300px;
}

.footer-left h2{
    font-size: clamp(42px, 5vw, 70px);

    color: #2f3275;

    margin-bottom: 25px;

    letter-spacing: 2px;
}

.footer-left h3{
    font-size: clamp(22px, 3vw, 30px);

    font-weight: 300;

    line-height: 1.7;

    color: #555;
}

.footer-right{
    display: flex;

    flex-direction: column;

    gap: 28px;
}

.footer-right p{
    font-size: 17px;

    line-height: 1.9;

    color: #555;
}

.footer-right strong{
    color: #2f3275;

    font-size: 18px;

    font-weight: 600;
}

/* SOCIALS */

.footer-socials{
    display: flex;

    gap: 18px;

    margin-top: 10px;

    flex-wrap: wrap;
}

.footer-socials a{
    width: 55px;
    height: 55px;

    border-radius: 50%;

    background: white;

    border: 1px solid rgba(47,50,117,0.08);

    display: flex;
    justify-content: center;
    align-items: center;

    text-decoration: none;

    color: #2f3275;

    font-size: 21px;

    transition: 0.35s;

    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
}

.footer-socials a:hover{
    transform: translateY(-6px) scale(1.05);
}

.footer-socials .whatsapp:hover{
    background: #25D366;

    color: white;

    border-color: #25D366;
}

.footer-socials .facebook:hover{
    background: #1877F2;

    color: white;

    border-color: #1877F2;
}

.footer-socials .twitter:hover{
    background: #111;

    color: white;

    border-color: #111;
}

.footer-socials .instagram:hover{
    background: linear-gradient(
        45deg,
        #f09433,
        #e6683c,
        #dc2743,
        #cc2366,
        #bc1888
    );

    color: white;

    border: none;
}

.footer-socials .tiktok:hover{
    background: linear-gradient(
        135deg,
        #25F4EE,
        #000000,
        #FE2C55
    );

    color: white;

    border: none;
}

.footer-socials .whatsapp:hover i,
.footer-socials .facebook:hover i,
.footer-socials .twitter:hover i,
.footer-socials .instagram:hover i,
.footer-socials .tiktok:hover i{
    color: white;
}

.footer-bottom{
    text-align: center;

    padding: 28px 20px;

    border-top: 1px solid rgba(47,50,117,0.08);
}

.footer-bottom p{
    color: #777;

    font-size: 14px;

    letter-spacing: 1px;
}

/* HAMBURGUESA */

.menu-toggle{
    display: none;
}

/* WHATSAPP FLOAT */

.whatsapp-float{
    position: fixed;

    right: 25px;
    bottom: 25px;

    display: flex;
    align-items: center;

    gap: 15px;

    z-index: 99999;

    opacity: 0;

    visibility: hidden;

    transform: translateY(20px);

    transition: 0.4s;
}

.whatsapp-float.show{
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}

.whatsapp-float a{
    width: 65px;
    height: 65px;

    border-radius: 50%;

    background: #25D366;

    display: flex;
    justify-content: center;
    align-items: center;

    text-decoration: none;

    color: white;

    font-size: 34px;

    box-shadow: 0 10px 30px rgba(37,211,102,0.35);

    transition: 0.35s;
}

.whatsapp-float a:hover{
    transform: scale(1.08);
}

.whatsapp-bubble{
    background: rgb(241, 229, 189);

    padding: 14px 18px;

    border-radius: 40px;

    font-size: 14px;

    color: #333;

    box-shadow: 0 5px 20px rgba(0,0,0,0.08);

    white-space: nowrap;

}

@keyframes bubbleFade{

    0%{
        opacity: 0;
        transform: translateX(10px);
    }

    10%{
        opacity: 1;
        transform: translateX(0);
    }

    70%{
        opacity: 1;
    }

    100%{
        opacity: 0;
    }
}

/* ZOOM / LAPTOP */

@media(max-width: 1350px){

    .about{
        min-height: auto;
    }

    .about-image{
        width: 100%;
    }

    .about-card{
        position: relative;

        width: 100%;

        top: auto;
        right: auto;

        margin-top: -60px;
    }

    .services{
        grid-template-columns: repeat(3, 300px);
    }

}

/* TABLET */

@media(max-width: 1024px){

    body{
        padding-top: 75px;
    }


    .logo-section img{
        width: 110px;
    }

    nav{
        gap: 20px;
    }

    nav a{
        font-size: 13px;
    }

    .contact-section p{
        font-size: 14px;
    }

    .social-icons a{
        font-size: 20px;
    }

    .hero-content h1{
        font-size: 80px;

        letter-spacing: 12px;
    }

    .hero-content p{
        font-size: 17px;

        letter-spacing: 5px;
    }

    .about-wrapper{
        min-height: auto;
    }

    .about-image{
        width: 100%;
    }

    .about-image img{
        height: 350px;
    }

    .about-card{
        position: relative;
        top: auto;
        right: auto;

        width: 100%;

        margin-top: 0;
    }

    .services{
        justify-content: center;
        grid-template-columns: repeat(2, 300px);
    }

    .projects{
        padding: 100px 40px;
    }

    .projects-grid{
    grid-template-rows: repeat(2, 300px);
    grid-auto-columns: 340px;
    gap: 25px;
    }

    .project-card{
    height: 300px;
    }

    .editorial-container{
        flex-direction: column;

        gap: 30px;
    }

    .editorial-image{
        width: 100%;
    }

    .editorial-image img{
        height: 50vh;
    }

    .editorial-info{
        width: 100%;
    }
    
    .process-grid{
    grid-template-columns: repeat(2,1fr);
    }

}

/* MOBILE */

@media(max-width: 768px){

    
    body{
        padding-top: 75px;
    }

    header{
        height: auto;

        padding: 12px 20px;

        display: flex;

        justify-content: space-between;
        align-items: center;

        flex-wrap: wrap;
    }

    .logo-section img{
        width: 85px;
    }

    .contact-section{
        width: 100%;

        text-align: center;

        margin-top: 5px;

        position: relative;

        left: auto;
        top: auto;
    }

    .contact-section p{
        font-size: 10px;

        margin-bottom: 8px;

        line-height: 1.4;
    }

    .social-icons{
        justify-content: center;

        gap: 10px;
    }

    .social-icons a{
        font-size: 16px;
    }

    .menu-toggle{
        display: flex;

        flex-direction: column;

        gap: 6px;

        cursor: pointer;

        z-index: 10001;
    }

    .menu-toggle span{
        width: 28px;
        height: 3px;

        background: #222;

        transition: 0.3s;
    }

    nav{
        position: absolute;

        top: 90px;
        right: 20px;

        width: 240px;

        background: rgba(255,255,255,0.96);

        backdrop-filter: blur(12px);

        border-radius: 12px;

        padding: 30px;

        display: flex;

        flex-direction: column;

        gap: 25px;

        box-shadow: 0 10px 40px rgba(0,0,0,0.12);

        opacity: 0;

        visibility: hidden;

        transform: translateY(-10px);

        transition: 0.35s;

        z-index: 9999;
    }

    nav.active{
        opacity: 1;

        visibility: visible;

        transform: translateY(0);
    }

    nav a{
        font-size: 14px;

        letter-spacing: 2px;

        color: #222;

        text-decoration: none;

        transition: 0.3s;
    }

    nav a:hover{
        transform: translateX(5px);

        color: #2f3275;
    }

    .menu-toggle.active span:nth-child(1){
        transform: rotate(45deg) translateY(12px);
    }

    .menu-toggle.active span:nth-child(2){
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3){
        transform: rotate(-45deg) translateY(-12px);
    }

    .hero{
        height: calc(100vh - 150px);
    }

    .hero-content{
        top: 180px;
        width: 90%;
    }

    .hero-content h1{
        display: block;
        font-size: 42px;
        letter-spacing: 10px;
        line-height: 1.2;
        color: #262b75;
    }

    .hero-content p{
        margin-top: 12px;
        font-size: 11px;
        letter-spacing: 4px;
        color: rgba(0,0,0,0.45);
    }

    .about{
        padding: 60px 20px;
    }

    .about-image img{
        height: 260px;
    }

    .about-card{
        padding: 40px 30px;
    }

    .about-card h2{
        font-size: 48px;
    }

    .about-card p{
        font-size: 16px;
        line-height: 1.9;
    }

    .services-intro{
        padding: 80px 20px 20px;
    }

    .services-intro-container h2{
        font-size: 46px;
    }

    .services-intro-container p{
        font-size: 16px;
        line-height: 1.9;
    }

    .services{
        padding: 60px 20px 90px;
        grid-template-columns: 300px;
    }

    .service-card{
        width: 100%;
    }

    .projects{
        padding: 80px 20px;
    }

    .projects-header h2{
        font-size: 46px;
    }

    .projects-header p{
        font-size: 23px;
    }

    .projects-grid{
        grid-template-rows: repeat(2, 260px);
        grid-auto-columns: 85%;
        gap: 20px;
    }

    .project-card{
        height: 260px;
    }

    .projects-arrow{
        width: 45px;
        height: 45px;
        font-size: 22px;
    }

    .projects-arrow.left{
        left: -5px;
    }

    .projects-arrow.right{
        right: -5px;
    }
    .project-title h3{
        font-size: 20px;
    }

    .project-overlay{
        padding: 25px;
    }

    .projects-filter{
        gap: 8px;
        margin-bottom: 25px;
        justify-content: center;
    }

    .filter-btn{
        font-size: 11px;
        padding: 6px 9px;
        letter-spacing: 0.5px;
    }

    .editorial-modal{
        padding: 20px;
    }

    .editorial-image img{
        height: 35vh;
    }

    .editorial-info h3{
        font-size: 24px;
    }

    .editorial-info p{
        font-size: 15px;
    }

    .editorial-controls button{
        width: 50px;
        height: 50px;
    }

    .footer{
        padding-top: 70px;
    }

    .footer-left h2{
        font-size: 42px;
    }

    .footer-left h3{
        font-size: 22px;
    }

    .footer-right p{
        font-size: 15px;
    }
    
    .process-grid{
    grid-template-columns: 1fr;
    }

     .carousel-counter{
        right: 15px;
        bottom: 15px;

        min-width: 60px;
        height: 36px;

        font-size: 16px;
    }
}

/*Filtro*/

.projects-filter{
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.filter-btn{
    background: transparent;
    border: none;
    color: #555;

    font-family: "Raleway", sans-serif;
    font-size: 14px;

    padding: 8px 14px;

    cursor: pointer;

    border-radius: 4px;

}

.filter-btn:hover,
.filter-btn.active{
    color: #2f3275;
    border: 1px solid #2f3275;
}

 .whatsapp-float{
        right: 15px;
        bottom: 15px;

        gap: 10px;
    }

    .whatsapp-bubble{
        display: block;

        opacity: 1;

        animation: none;

        white-space: normal;

        max-width: 180px;

        padding: 10px 14px;

        font-size: 12px;

        line-height: 1.4;
    }

    .whatsapp-float a{
        width: 58px;
        height: 58px;

        font-size: 28px;
    }

    /* =========================
   CONTACT MODAL
========================= */

.contact-modal{
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100vh;

    background: rgba(0,0,0,0.45);

    display: none;

    justify-content: center;
    align-items: center;

    padding: 30px;

    z-index: 999999;
}

.contact-modal.active{
    display: flex;
}

.contact-modal-content{
    width: 100%;
    max-width: 720px;

    max-height: 90vh;

    overflow-y: auto;

    background: #ffffff;

    padding: clamp(35px, 5vw, 65px);

    position: relative;

    box-shadow: 0 25px 80px rgba(0,0,0,0.18);

    animation: contactModalFade 0.35s ease;
}

@keyframes contactModalFade{
    from{
        opacity: 0;
        transform: translateY(30px);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }
}

.close-contact-modal{
    position: absolute;

    top: 25px;
    right: 30px;

    font-size: 38px;

    color: #444;

    cursor: pointer;

    transition: 0.3s;
}

.close-contact-modal:hover{
    transform: rotate(90deg);
    color: #2f3275;
}

.contact-modal-label{
    display: block;

    color: #3c5cff;

    font-size: 13px;

    letter-spacing: 4px;

    margin-bottom: 20px;
}

.contact-modal-content h2{
    font-size: clamp(34px, 5vw, 58px);

    color: #2f3275;

    margin-bottom: 25px;
}

.contact-modal-content p{
    font-size: 16px;

    line-height: 1.9;

    color: #555;

    margin-bottom: 35px;

    text-align: justify;
}

/* FORM */

.contact-form{
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 22px;
}

.form-group{
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.form-group label{
    font-size: 14px;

    color: #2f3275;

    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea{
    width: 100%;

    padding: 15px 16px;

    border: 1px solid rgba(47,50,117,0.18);

    background: #f8f9fc;

    font-family: "Raleway", sans-serif;

    font-size: 14px;

    color: #333;

    outline: none;

    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
    border-color: #2f3275;

    background: #ffffff;
}

.form-group textarea{
    resize: vertical;
}

.form-group:nth-child(5){
    grid-column: 1 / -1;
}

.contact-submit-btn{
    grid-column: 1 / -1;

    margin-top: 10px;

    padding: 18px 28px;

    border: none;

    background: #2f3275;

    color: white;

    font-family: "Raleway", sans-serif;

    font-size: 15px;

    letter-spacing: 1px;

    cursor: pointer;

    transition: 0.35s;
}

.contact-submit-btn:hover{
    transform: translateY(-4px);

    box-shadow: 0 12px 35px rgba(47,50,117,0.25);
}

/* RESPONSIVE MODAL */

@media(max-width: 768px){

    .contact-modal{
        padding: 20px;
    }

    .contact-modal-content{
        max-height: 88vh;

        padding: 40px 25px;
    }

    .contact-form{
        grid-template-columns: 1fr;
    }

    .form-group:nth-child(5){
        grid-column: auto;
    }

    .close-contact-modal{
        top: 18px;
        right: 22px;

        font-size: 34px;
    }
}

.footer-map{
    width: 100%;

    max-width: 520px;

    height: 260px;

    margin-top: 35px;

    overflow: hidden;

    border-radius: 18px;

    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.footer-map iframe{
    width: 100%;
    height: 100%;

    border: 0;

    display: block;
}

/*CONTADOR*/

.editorial-image{
    position: relative;
}

.carousel-counter{
    position: absolute;

    right: 25px;
    bottom: 25px;

    min-width: 72px;
    height: 42px;

    padding: 0 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.92);

    color: #2f3275;

    font-family: "Georgia", serif;
    font-size: 20px;
    font-weight: 400;

    letter-spacing: 1px;

    border-radius: 50px;

    box-shadow: 0 8px 25px rgba(0,0,0,0.12);

    z-index: 20;
}
