html{
    scroll-behavior: smooth;
}

:root {
    --primary: #111;
    --secondary: #f5f5f5;
    --dark: #111;
    --light: #f5f5f5;
    --gray: #ccc;
    --accent: #ff6a00;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #fdfdfd;
    background-color: #111;
    line-height: 1.6;
}

.hero {
    background-image: url("HeroImage.jpg");
    height: 100vh;
    position: relative;
    margin-top: 70px;
    background-attachment: fixed;
}


.overlay {
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.45) 
    );
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.overlay h1 {
    font-size: 72px;
    margin: 0;
    font-weight: 700;
    letter-spacing: 2px;
    font-weight: 800;
    line-height: 1.1;
    max-width: 900px;
}

.overlay p {
    font-size: 22px;
    margin: 15px 0;
    color: #ccc;
}

.btn {
    margin-top: 25px;
    padding: 14px 30px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

.btn:hover {
    background: #162d66;
    transform: scale(1.05);
}

.process-step.active {
    background: var(--accent);
    color: white;
}

.process-step.active h3 {
    color: white;
}

section {
    padding: 70px 20px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.04);
}

/* =========================================
   SERVICIOS
========================================= */

.services{
    background: #020817;
    padding: 140px 0 0;
    position: relative;
}

/* TITULO */
.services-top{
    padding-left: 120px;
    margin-bottom: 70px;
}

.services-subtitle{
    color: #ff6a00;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    margin-bottom: 35px;
}

.services-top h2{
    font-size: 72px;
    color: white;
    max-width: 800px;
    line-height: 0.9;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-align: left;
    padding-top: 20px;
}

/* CARRUSEL */
.services-slider{
    overflow-x: auto;
    overflow-y: hidden;

    position: relative;

    scroll-behavior: smooth;
    scrollbar-width: none;
}

.services-slider::-webkit-scrollbar{
    display: none;
}
.services-track{
    display: flex;
    gap: 45px;

    width: max-content;

    padding-left: 120px;
    padding-bottom: 120px;
}

.services-slider:active{
    cursor: grabbing;
}

.services-slider::-webkit-scrollbar{
    display: none;
}

/* ITEMS */
.service-item{
    position: relative;
    min-width: 520px;
    height: 420px;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    border-radius: 6px;
}

/* IMAGEN */
.service-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
    will-change: transform;
}

/* OVERLAY */
.service-content{
    position: absolute;
    inset: 0;
    background:
    linear-gradient(
        to top,
        rgba(0,0,0,0.60),
        rgba(0,0,0,0.08)
        );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 35px;
}

/* TITULO */
.service-content h3{
    color: white;
    font-size: 28px;
    line-height: 1.1;
    margin-bottom: 15px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* DESCRIPCIÓN */
.service-hover{
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.4s ease;
}

.service-hover p{
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    font-size: 15px;
}

/* HOVER */
.service-item:hover img{
    transform: scale(1.05);
}

.service-item:hover .service-hover{
    max-height: 200px;
    opacity: 1;
}

/* FLECHAS FLOTANTES */
.services-arrows{
    position: absolute;
    right: 170px;
    bottom: 35px;

    display: flex;
    align-items: center;
    gap: 12px;

    z-index: 30;
}
/* BOTONES */
.arrow{
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    color: rgba(255,255,255,0.65);
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s ease;
    backdrop-filter: blur(10px);
}

/* HOVER */
.arrow:hover{
    background: #ff6a00;
    color: white;
    transform: translateY(-2px);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0; 
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px; 
    background: rgba(0, 5, 15, 0.999);
    backdrop-filter: blur(8px);
    z-index: 1000;
    box-sizing: border-box; 
    border-bottom: 1px solid rgba(255,255,255,0.05);

}

/* NAVBAR AL HACER SCROLL */
.navbar.scrolled{
    padding: 15px 30px; 

    background: rgba(0, 5, 15, 0.999);

    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.navbar a {
    color: white;
    margin-left: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    position: relative;
}

.navbar a:hover {
    color: #1f3c88;
}
.navbar a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;

    width: 0%;
    height: 2px;

    background: var(--accent);
    transition: 0.3s;
}

.navbar a:hover::after{
    width: 100%;
}

.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    padding: 15px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 20px;
}

.logo {
    height: 80px;
    object-fit: contain;
} 

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.projects {
    box-shadow: inset 0 1px 0 rgba(0,0,0,0.05);
}
/* =========================================
   SOBRE NOSOTROS
========================================= */

.process{
    background: #f8fafc;
    padding: 80px 20px;
    color: #111;
    padding-bottom: 260px;
}

/* GRID PRINCIPAL */
.process-grid{
    display: grid;
    grid-template-columns: 540px 1fr;
    gap: 70px;
    align-items: center;
    padding-left: 40px;
}
/* TEXTO IZQUIERDA */
.process-text{
    flex: 1;
    max-width: 480px;
    padding-top: 20px;
    text-align: left;
}

.process-text h2{
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 72px;
    line-height: 0.9;
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 35px;
    max-width: 500px;
    text-align: left;
}

.process-text p{
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    line-height: 2;
    color: #667085;
    max-width: 500px;
    text-align: left;
}

/* DERECHA */
.process-right{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* STEPS */
.process-steps{
    display: flex;
    flex-direction: row;
    gap: 18px;
    align-items: stretch;
}

/* CUADROS */
.process-step{
    width: 140px;
    height: 170px;
    padding: 24px;
    border-radius: 6px;
    background: rgba(15,23,42,0.04);
    transition: 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}
.process-step span{
    font-size: 58px;
    font-weight: 700;
    color: #b0b7c3;
    letter-spacing: -3px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: 0.3s ease;
}

.process-step h3,
.process-step p{
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    font-weight: 600;
    margin: 0;
    transition: 0.3s ease;
}

/* NÚMEROS */
.process-step h3{
    font-size: 72px;
    font-weight: 700;
    color: #b0b7c3;
    letter-spacing: -4px;
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: 0.3s ease;
}
    

/* TEXTO */
.process-step p{
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    font-weight: 600;
}
/* ACTIVO */
.process-step.active p{
    color: #0f172a;
}
.process-step{
    position: relative;
    overflow: hidden;
}

.process-step.active span{
    color: white;
}

.process-step.active::before{
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background: transparent;
}

.process-step.active h3,
.process-step.active p{
    color: white;
}
.process-step.active{
    background: #ff6a00;

    transform: translateY(-6px);

    box-shadow:
    0 20px 50px rgba(255,106,0,0.22);
}


/* HOVER */
.process-step:not(.active):hover{
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(15,23,42,0.08);
    transition: 0.35s ease;
}

/* MENSAJE */
.process-message{
    margin-top: 35px;
    max-width: 620px;
    text-align: left;
    transition: 0.3s ease;
}

.process-message h3{
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 52px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -1.5px;
    color: #0f172a;
    margin: 0;
}

.process{
    position: relative;
    overflow: hidden;
}
.process::before{
    content: "";

    position: absolute;

    top: -150px;
    right: -150px;

    width: 350px;
    height: 350px;

    background: rgba(255,106,0,0.04);

    border-radius: 50%;
}

.process-right{
    padding-top: 20px;
}

.line{
    width: 80px;
    height: 4px;

    background: #ff6a00;

    margin-bottom: 30px;

    border-radius: 20px;
}
/* =========================================
   EMPRESAS
========================================= */

.clients{
    background: #f8fafc;
    padding: 120px 0;
}

/* TITULO */
.clients-top{
    text-align: center;
}

.clients-subtitle{
    color: #ff6a00;

    text-transform: uppercase;

    letter-spacing: 2px;

    font-size: 13px;

    margin-bottom: 20px;
}

.clients-top h2{
    font-size: 56px;

    color: #0f172a;

    line-height: 1;

    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* MARQUEE */
.clients-marquee{
    width: 100%;

    overflow: hidden;

    margin-top: 55px;
}

/* TRACK */
.clients-track{
    display: flex;

    align-items: center;

    gap: 110px;

    width: fit-content;
    padding-left: 120px;
    padding-right: 120px;
    animation: marquee 50s linear infinite;
}

/* LOGOS */
.clients-track img{
    height: 68px;

    width: auto;

    opacity: 0.38;

    transition: 0.4s ease;

    filter: grayscale(100%) brightness(0.4);
}

/* HOVER */
.clients-track img:hover{
    opacity: 0.95;

    filter: grayscale(0%) brightness(1);
}

/* =========================================
   UBICACIÓN
========================================= */

.location-section{
    background: #f8fafc;

    padding: 140px 0;
}

/* CONTENEDOR */
.location-container{
    width: 88%;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 80px;
}

/* TEXTO */
.location-info{
    max-width: 420px;
}

.location-subtitle{
    color: #ff6a00;

    font-size: 13px;

    letter-spacing: 2px;

    text-transform: uppercase;

    margin-bottom: 25px;
}

.location-info h2{
    font-size: 64px;

    line-height: 0.95;

    color: #0f172a;

    margin-bottom: 30px;

    font-family: 'Plus Jakarta Sans', sans-serif;
    text-align: left;
}

.location-description{
    color: #64748b;

    line-height: 1.8;

    font-size: 17px;

    margin-bottom: 40px;
    text-align: left;
}

/* DIRECCIÓN */
.location-address span{
    display: block;

    font-size: 28px;

    color: #0f172a;

    font-weight: 700;

    margin-bottom: 10px;
    text-align: left;
}

.location-address p{
    color: #64748b;

    line-height: 1.7;

    margin-bottom: 40px;
    text-align: left;
}

/* BOTÓN */
.location-btn{
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 18px 34px;

    border: 1px solid #ff6a00;

    border-radius: 60px;

    color: #ff6a00;

    text-decoration: none;

    font-weight: 600;

    transition: 0.3s ease;
}

.location-btn:hover{
    background: #ff6a00;

    color: white;

    transform: translateY(-3px);
}

/* MAPA */
.location-map{
    flex: 1;
    max-width: 1100px;
}

.location-map img{
    width: 100%;

    border-radius: 28px;

    box-shadow:
    0 30px 80px rgba(15,23,42,0.12);

    transition: 0.4s ease;
}

.location-map img:hover{
    transform: scale(1.02);
}

/* =========================================
   FOOTER
========================================= */

.footer{
    background: #020817;
    padding-top: 70px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* CONTENEDOR */
.footer-container{
    width: 88%;
    max-width: 1200px;

    margin: auto;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 120px;

    padding-bottom: 70px;
}

/* COLUMNAS */
.footer-column{
    flex: 1;
    min-width: 220px;
}

/* LOGO */
.footer-logo{
    width: 140px;
    margin-bottom: 25px;
}

/* TITULOS */
.footer-column h4{
    color: white;
    font-size: 18px;
    margin-bottom: 25px;

    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* TEXTOS */
.footer-column p,
.footer-column a{
    display: block;

    color: rgba(255,255,255,0.65);

    text-decoration: none;

    margin-bottom: 16px;

    line-height: 1.7;

    transition: 0.3s ease;
}

/* HOVER */
.footer-column a:hover{
    color: #ff6a00;
}

/* PARTE INFERIOR */
.footer-bottom{
    border-top: 1px solid rgba(255,255,255,0.05);

    text-align: center;

    padding: 28px 0;

    color: rgba(255,255,255,0.45);

    font-size: 13px;
    letter-spacing: 0.5px;
}

.footer-column:nth-child(2){
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-column:nth-child(3){
    display: flex;
    flex-direction: column;
    text-align: right;
}

@keyframes marquee{
    from{
        transform: translateX(0);
    }

    to{
        transform: translateX(-50%);
    }
}

/* =========================================
   MODAL SERVICIOS
========================================= */

.service-modal{
    position: fixed;

    inset: 0;

    background: rgba(2,8,23,0.72);

    backdrop-filter: blur(10px);

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0;

    visibility: hidden;

    transition: 0.35s ease;

    z-index: 9999;
}

/* ACTIVO */
.service-modal.active{
    opacity: 1;
    visibility: visible;
}

/* CAJA */
.modal-box{
    width: 92%;
    max-width: 1150px;

    background: white;

    border-radius: 22px;

    overflow: hidden;

    display: grid;

    grid-template-columns: 1fr 1fr;

    position: relative;

    transform: translateY(30px);

    transition: 0.35s ease;
}

/* ANIMACIÓN */
.service-modal.active .modal-box{
    transform: translateY(0);
}

/* IMAGEN */
.modal-image img{
    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* CONTENEDOR */
.modal-image{
    position: relative;

    overflow: hidden;
}

/* IMAGEN */
.modal-image img{
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: opacity 0.3s ease;
}

/* FLECHAS */
.modal-arrow{
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 52px;
    height: 52px;

    border-radius: 50%;

    border: none;

    background: rgba(255,255,255,0.15);

    color: white;

    cursor: pointer;

    z-index: 10;

    backdrop-filter: blur(8px);

    transition: 0.3s ease;
}

/* HOVER */
.modal-arrow:hover{
    background: #ff6a00;
}

/* IZQUIERDA */
.prev-modal{
    left: 20px;
}

/* DERECHA */
.next-modal{
    right: 20px;
}

/* CONTENIDO */
.modal-content{
    padding: 70px;
}

/* SUBTITLE */
.modal-subtitle{
    color: #ff6a00;

    text-transform: uppercase;

    letter-spacing: 2px;

    font-size: 13px;

    margin-bottom: 20px;
}

/* TITULO */
.modal-content h2{
    font-size: 58px;

    line-height: 0.95;

    color: #0f172a;

    margin-bottom: 30px;

    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* TEXTO */
.modal-text{
    color: #64748b;

    line-height: 1.9;

    font-size: 17px;

    margin-bottom: 40px;
}

/* FEATURES */
.modal-features{
    display: flex;

    flex-direction: column;

    gap: 16px;

    margin-bottom: 45px;
}

.modal-features span{
    color: #0f172a;

    font-weight: 500;
}

/* BOTÓN */
.modal-btn{
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 18px 34px;

    border-radius: 60px;

    background: #ff6a00;

    color: white;

    text-decoration: none;

    font-weight: 600;

    transition: 0.3s ease;
}

.modal-btn:hover{
    transform: translateY(-3px);
}

/* CERRAR */
.close-modal{
    position: absolute;

    top: 24px;
    right: 24px;

    width: 48px;
    height: 48px;

    border: none;

    border-radius: 50%;

    background: rgba(255,255,255,0.15);

    color: white;

    font-size: 18px;

    cursor: pointer;

    z-index: 20;

    transition: 0.3s ease;
}

.close-modal:hover{
    background: #ff6a00;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 768px){

    /* NAVBAR */
    .navbar{
        padding: 18px 25px;
    }

    .nav-links{
        gap: 20px;
    }

    .nav-links a{
        font-size: 14px;
    }

    /* HERO */
    .hero h1{
        font-size: 48px;
        line-height: 1.1;
    }

    /* SOBRE NOSOTROS */
    .about-container{
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 90px 25px;
    }

    .about h2{
        font-size: 42px;
    }

    /* SERVICIOS */
    .services{
        padding: 100px 0 0;
    }

    .services-top{
        padding-left: 25px;
        margin-bottom: 50px;
    }

    .services-top h2{
        font-size: 42px;
    }

    .services-slider{
        padding-left: 25px;
        padding-bottom: 100px;
        gap: 20px;
    }

    .service-item{
        min-width: 280px;
        height: 380px;
    }

    .service-content h3{
        font-size: 24px;
    }

    /* FLECHAS */
    .services-arrows{
        right: 25px;
        bottom: 40px;
    }

    /* CLIENTES */
    .clients{
        padding: 100px 0;
    }

    .clients h2{
        font-size: 42px;
        line-height: 1.1;
    }

    /* FOOTER */
    .footer-container{
        flex-direction: column;
        gap: 50px;
    }

    .footer-column:nth-child(2){
        align-items: flex-start;
    }

}