@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --color--page: #0A1F44;;
    --color--page-secundary: #808080;
    --color-text-secundary-page: #4DA6FF;
    --color-text-title: white;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: var(--color--page);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--color-text-secundary-page);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-secundary-page);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.clearfix {
    clear: both;
}

.h2 {
    color: var(--color-text-title);
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* ---------------- SECTION 1 ------------------*/
/**/
.section-1 {
    position: relative;
    height: 100vh;
    overflow: hidden;
    padding: 0 20px;
}

.section-1::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/section1-principal.webp);
    background-size: cover;
    background-position: bottom;
    opacity: 0.05;
    z-index: 0;
}

.section-1 > * {
    position: relative;
    z-index: 1; /* Asegura que el contenido quede por encima de la imagen */
}

.header {
    display: flex;
    position: relative;
    z-index: 1000; /* nav visible */
}

.logo-img img {
    width: 100%;
    max-width: 200px;  /* tamaño máximo */
    height: auto;
}

.logo-img {
  padding-top: 15px;  /* empuja el logo hacia abajo */
}


.logo {
    color:#dcdada;
    font-weight: bold;
}

.logo span {
    color: var(--color-text-secundary-page);
}


nav {
    width: 100%;
    padding: 0 20px;
}

.nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

/*
.nav {
    display: flex;
    flex-wrap: wrap; Permite que los elementos bajen de línea si no entran 
    justify-content: space-between;
    align-items: center;
}
*/

.link-header {
    padding: 15px;
    transition: ease-in-out 0.5s;
}

.nav .link-header a {
    text-decoration: none;
    color: var(--color-text-title);
    font-size: 1rem;
    text-transform: uppercase;
    margin-left: 20px;
    transition: al 0.3s all 0s;
    line-height: 40px;
    border: transparent;
}

.nav .link-header a:hover {
    color: var(--color-text-secundary-page);
}

.get-btn {
    display: inline-block;
    padding: 10px 15px;
    font-size: 1.1rem;
    background: var(--color-text-secundary-page);
    color: var(--color-text-title);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all .3s;
}

.nav .link-header .get-btn:hover {
    background-color: var(--color--page-secundary);
}

.hamburguer {
    display: none;
    width: 80px;
    height: 80px;
    color: #ccc;
    text-align: center;
    z-index: 100;  /*Mostrar icono*/
    cursor: pointer;
    transition: color 0.5s ease-in;
}

.menu-icon {
    transition: transform 0.4s ease, color 0.4s ease;
}

.menu-icon .fa {
    font-size: 30px;
}


.banner-heading {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 60%;
    left: 50%;
    text-align: center;
}

.banner-heading {
    animation: fadeInUp 2s ease forwards;
}

.banner-heading h1 {
    color: var(--color-text-secundary-page);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -30%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}


.h1 {
    font-size: clamp(2rem, 5vw, 3.5rem); /*3.5rem;*/
    color: var(--color-text-title);
    font-weight: bold;
    margin: 0px;
}

.p1 {
    text-align: center;
    color: var(--color-text-title);
    font-size: 1.2rem;
}


.section-2 .container span{
    font-weight: bold;
    text-transform: uppercase;
}

.learn {
    font-size: 1.1rem;
    padding: 10px 50px;
    background: transparent;
    color: var(--color-text-title);
    border: 1px solid var(--color-text-title);
    border-radius: 5px;
    cursor: pointer;
}

.learn:hover {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(2px);
    border: 1px solid var(--color-text-secundary-page);
    color: var(--color-text-secundary-page)
}


/* ---------------- SECTION 2 ------------------*/
.section-2 {
    text-align: center;
    padding-top: 600px;
    background-size: cover;
    background-position: top;
    padding: 20px;
}

.col-section-2 {
    flex: 1 1 240px;  /*se adapta al espacio disponible, mínimo 240px */
    max-width: 300px;
    box-sizing: border-box;
    padding: 20px;
}


/* Animación en JS de los box*/
.col-section-2 {
    opacity: 0;
    transform: translateY(50px);
}


@keyframes fadeUpOnly {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.col-section-2.animate {
    animation: fadeUpOnly 1s ease forwards;
}

/* Fin de de animación de los box */

/* Animación de los íconos de los box*/
.box i {
    opacity: 0;
    transform: scale(0.8);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Se activa cuando se hace scroll */
.col-section-2.animate .box i {
    opacity: 1;
    transform: scale(1.15);
}

/* Rebote final sutil */
.col-section-2.animate .box i {
    animation: bounceIn 0.5s ease forwards;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    60% {
        opacity: 1;
        transform: scale(1.25);
    }
    100% {
        transform: scale(1);
    }
}

/* Fin de la animación de los íconos de los box*/



.container-section-2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px; /* espacio entre columnas */
    padding: 20px 0;
    padding-bottom: 80px;
}

.p2 {
    color: var(--color-text-title);
    font-size: 1.1rem;
    letter-spacing: 0.8px;
    margin-bottom: 40px;
    text-align: justify;
}

.hr {
    height: 3px;
    background: var(--color-text-secundary-page);
    border: none;
    width: 150px;
    margin-top: -5px;
}

.box {
    background: var(--color--page-secundary);
    padding: 15px;
    width: 100%;   /* Esto hace que el box se adapte al ancho de su contenedor */
    height: 360px;
    box-sizing: border-box;
    border-radius: 20px;
    transition: 0.5s;
    border: 1px solid transparent; /* ocupa espacio pero invisible */
    /*box-shadow: 1px 1px 1px 0 rgba(194, 56, 67, 0.4);*/
}

.box {
    border: 1px solid transparent; transition: border-color 0.3s ease, box-shadow 0.3s ease; 
}

.box:hover {
    box-shadow: 0 4px 10px color-mix(in srgb, var(--color-text-secundary-page) 40%, transparent);
    border: 1px solid var(--color-text-secundary-page);
}

.h3 {
    color: var(--color-text-title);
    font-size: 18px;
    font-weight: 500;
}

.p3 {
    color: var(--color-text-title);
    font-size: 13px;
    letter-spacing: 0.6px;
    text-align: justify;
}

.fa {
    font-size: 50px;
    color: var(--color-text-secundary-page);
    padding-top: 25px;
}

/* ---------------- SECTION 3 ------------------*/
.section-3 {
    text-align: center;
    padding: 20px;
}
.gallery-service {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    padding-top: 30px;
}

.gallery-image {
    background: #2f2e33;
    width: 24%;
    height: 300px;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 0 6px 0 rgba(194, 56, 67, 0.4);
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-text {
    position: absolute;
    color: var(--color-text-title);
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity .5s ease;
    opacity: 1; /* Visible inicialmente */
}


.hover-image {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    
    background: hsla(207, 100%, 65%, 0.7);
    transition: opacity .5s ease, transform .5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0; /* Lo ocultamos inicialmente */
}



.hover-image img {
    width: 50px;
}

.hover-image p {
    color: var(--color-text-title);
}

.gallery-image:hover .hover-image{
    opacity: 1; /* Mostramos el fondo */
    transform: scale(1);
}

.gallery-image:hover .gallery-text {
    opacity: 0; /* No sostramos el texto al pasar el hover*/
}


/*

/* ---------------- SECTION 4 ------------------*/
.section-4 {
    position: relative;
    min-height: 60vh;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.section-4::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(194, 56, 67, 0.4), rgba(194, 56, 67, 0.4)), 
                url(../img/section4-construccion.webp);
    background-size: cover;
    background-position: bottom;
    opacity: 0.05;
    z-index: 0;
}

.section-4 .container {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 20px;
}


/* ✅ FLEXBOX RESPONSIVE OPTIMIZADO */
.project-ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start; /* Alinea los elementos en la parte superior */
    padding: 0;
    margin: 0;
}

.project-ul li {
    list-style: none;
    background: transparent;
    color: var(--color-text-title);
    flex: 1 1 200px; /* crece, encoge, ancho base */
    max-width: 270px;
    /* Nuevo: Usamos flexbox para alinear el contenido de cada li */
    display: flex;
    align-items: flex-start;
    padding-left: 0;
    margin: 10px; /* Agrega un pequeño margen para separar las tarjetas */
    text-align: left;
}


/* Estilos internos */
.square {
    width: 12px;
    height: 12px;
    background: var(--color-text-secundary-page);
    margin-right: 15px; /* Espacio entre el cuadrado y el texto */
    margin-top: 10px; /* Ajusta la posición vertical del cuadrado */
}

/* Contenedor para el numero y el texto */
.text-container {
    display: flex;
    flex-direction: column;
}

.project-ul-li {
    font-size: 35px;
    font-weight: bold;
    color: var(--color-text-secundary-page);
}

.head {
    display: block; /* Asegura que el texto ocupe su propia línea */
    font-weight: 400;
    letter-spacing: 1px;
    margin-top: 8px;
    padding: 0;
}

.counter {
    transition: all 0.3s ease-in-out;
}



/*------------------------ IMG Proyectos ----------------------------*/
.section-img-pr {
    display: flex;
    flex-direction: column;
    align-items: center; /* ← Esto centra horizontalmente */
    justify-content: center;
    padding: 20px;
    text-align: center;
}


.section-img-pr .container ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 auto 20px auto; /* ← centrado horizontal */
    padding: 0;
    max-width: 600px;         /* ← controla el ancho */
    width: 100%;
}



.section-img-pr .container ul li {
    list-style: none;
    background: var(--color-text-title);
    color: var(--color-text-secundary-page);
    padding: 12px 20px;
    font-size: 0.9rem;
    margin: 5px;
    letter-spacing: 5px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.section-img-pr .container ul li.active {
    background: var(--color-text-secundary-page);
    color: var(--color-text-title);
}

.img-services {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.img-services .itemBox {
    position: relative;
    margin: 5px;
    width: 290px;
    height: 290px;
    overflow: hidden;
    display: block;
}

/* Efecto desvanecimiento*/
/* Animación suave para ocultar */
.itemBox {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.itemBox.fade-out {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

/**/

.img-services .itemBox.hide {
    display: none;
}

.img-services .itemBox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.img-services .itemBox:hover img {
    transform: scale(1.15);
}

.itemBox .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: hsla(207, 100%, 65%, 0.7);
    color: var(--color-text-secundary-page);
    padding: 0;
    overflow: hidden;
    transition: opacity 0.2s ease-in-out;
    opacity: 0;
    text-align: center;

    pointer-events: none;  /*Esto hace que el overlay no bloquee los clics, y el evento llegue al <img>*/
}

.itemBox:hover .overlay {
    opacity: 1;
}

.itemBox .overlay a {
    margin: 0 auto;
    padding: 8px 16px;
    text-align: center;
    border: 2px solid var(--color-text-title);
    color: var(--color-text-title);
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.itemBox .overlay a:hover {
    border: 2px solid var(--color-text-secundary-page);
    color: var(--color-text-secundary-page);
}

.full-img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: hsla(207, 100%, 65%, 0.7);
    display: none;                /*flex*/
    align-items: center;
    justify-content: center;
    z-index: 9999; /* ← Esto la pone al frente */
    
}

.full-img img {
    width: 90vw;       /* ancho fijo relativo al viewport */
    height: 60vh;      /* alto fijo relativo al viewport */
    max-width: 500px;
    object-fit: cover; /* recorta para llenar el espacio sin deformar */
    border-radius: 8px;
}

.full-img span {
    position: absolute;
    top: 5%;
    right: 5%;
    font-size: 30px;
    color: var(--color-text-title);
    cursor: pointer;
}



@media (max-width: 768px) {
    .img-services .itemBox {
        width: 80%;
    }
}





/*------------------------ Section 5---------------------------------*/
.section-5 {
    position: relative;
    display: flex;
    flex-wrap: nowrap; /* Permite que se apile en móviles */
    width: 100%;
    min-height: 400px;
}

.right {
    width: 50%;
    background: var(--color-text-secundary-page);
    display: flex;                    /* NECESARIO para centrar */
    justify-content: center;         /* Centra horizontalmente */
    align-items: center;             /* Centra verticalmente */
    text-align: center;
    position: relative;
    padding: 20px;                   /* Añadido para espacio en responsive */
    z-index: 2; /* Asegura que el texto esté encima del rombo */
}

.left {
    width: 50%;
    /*height: 400px;*/
    background: url(../img/section5-construccion.webp) no-repeat center center;
    background-size: cover;
    /*background-position: center;*/
    position: relative;
    z-index: 1; /* Para que el rombo quede parcialmente encima */
    opacity: 0.6;
}

.content {
    padding: 50px;
    color: var(--color-text-title);
}

.content span {
    color: #dcdcdc;
}

.c-p1 {
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-text-title);
}

.c-p2{
    line-height: 25px;
    letter-spacing: 0.8px;
}

/* 🔺 Rombito decorativo entre las dos mitades */
.section-5::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--color-text-secundary-page);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    z-index: 1;
}
/*
.right::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--color-text-secundary-page);
    right: 48%;
    top: 165px;
    transform: rotate(45deg);
}
*/


/** ------------------------ Como trabajamos --------------------------- **/
/* Estilos generales */
.section-4 {
    padding: 50px 0;
}


.container-section-4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left-section {
    width: 60%;
}

.right-section {
    width: 35%;
}

.card-1, .card-2, .card-3 {
    background-color: var(--color--page-secundary);
    color: var(--color-text-title);
    border-radius: 15px 15px 15px 15px;
    box-shadow: 0px 0px 20px 0px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card-2.red {
    background-color: var(--color-text-secundary-page);
    color: var(--color-text-title);
}

.card-2.red h3 {
    color: var(--color-text-title);
}

.card-2.red p {
    color: var(--color-text-title);
}

.right-section img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}


.card-1, .card-3 {
    border: 1px solid transparent; transition: border-color 0.3s ease, box-shadow 0.5s ease; 
}

.card-1:hover, .card-3:hover {
    box-shadow: 0 4px 10px color-mix(in srgb, var(--color-text-secundary-page) 40%, transparent);
    border: 1px solid var(--color-text-secundary-page);
}


/* --- Estilos iniciales (elementos ocultos y fuera de posición) --- */
.card-1,
.card-2,
.card-3 {
    opacity: 0; /* Oculto inicialmente */
    transform: translateX(-100px); /* Ligeramente fuera de la pantalla a la izquierda */
    transition: none; /* Asegura que no haya transiciones antes de la animación */
}

.right-section img {
    opacity: 0; /* Oculto inicialmente */
    transform: translateX(100px); /* Ligeramente fuera de la pantalla a la derecha */
    transition: none; /* Asegura que no haya transiciones antes de la animación */
}

/* --- Definición de las animaciones Keyframes --- */

/* Animación para los cards (vienen de izquierda a derecha) */
@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animación para la imagen (viene de derecha a izquierda) */
@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- Clases para activar las animaciones --- */
/* Estas clases se añadirán con JavaScript cuando la sección sea visible */

.card-1.animated {
    animation: slideInFromLeft 0.8s ease-out forwards; /* Duración, aceleración, mantiene estado final */
    animation-delay: 0.2s; /* Retraso para que aparezca después del scroll */
}

.card-2.animated {
    animation: slideInFromLeft 0.8s ease-out forwards;
    animation-delay: 0.4s; /* Retraso escalonado */
}

.card-3.animated {
    animation: slideInFromLeft 0.8s ease-out forwards;
    animation-delay: 0.6s; /* Retraso escalonado */
}

.right-section img.animated {
    animation: slideInFromRight 0.8s ease-out forwards;
    animation-delay: 0.8s; /* Aparece después de los cards */
}






/* Media Queries para dispositivos móviles */
@media (max-width: 768px) {
    .container-section-4 {
        flex-direction: column;
    }

    .left-section, .right-section {
        width: 90%;
    }

    .card-1, .card-2, .card-3 {
        margin-bottom: 15px;
    }

    .right-section img {
        max-width: 100%;
        height: auto;
    }
}




/*------------------------ Slider ---------------------------------*/

.section-6 {
    text-align: center;
    padding: 20px;
}

.section-6 .container .p2 span {
    font-weight: bold;
    text-align: justify;
}

.slider {
    height: auto;
    margin: auto;
    overflow: hidden;
}

.slider .slider-track {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: scroll 40s linear infinite;
    -webkit-animation: scroll 40s linear infinite;
    width: calc(250px * 14);

}

.slider .slide {
    width: 250px;
    margin: 50px;
}

.slider .slide img {
    width: 100%;
}

@keyframes scroll {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        -webkit-transform: translateX(calc(-250px * 7));
        transform: translateX(calc(-250px * 7));
    }
}

/** ------------------------ Contacto --------------------------------- **/
/* Estilos base */
.section-7 {
    text-align: center ;
}

form.formulario {
    background-color: var(--color--page-secundary);
    padding: 5rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px color-mix(in srgb, var(--color-text-secundary-page) 40%, transparent);
}



/* Posicionamiento inicial (invisible hasta que se active) */
.formulario {
    opacity: 0;
    transform: translateX(0);
}

/* Clase que se activa cuando se ve en scroll */
.formulario.animate {
    opacity: 1;
    animation: shakeIn 0.8s ease forwards;
}

/* Keyframes del efecto tambaleo horizontal */
@keyframes shakeIn {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    30% {
        transform: translateX(15px);
    }
    50% {
        transform: translateX(-10px);
    }
    70% {
        transform: translateX(5px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}






fieldset {
    border: none;
    padding: 0;
}

legend {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: block;
    color: var(--color-text-secundary-page);
}

label {
    color: var(--color-text-secundary-page);
}

.contenedor-campos {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.campo {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
}

.campo textarea {
    min-height: 100px;
    resize: vertical;
}

.input-text {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 0.5rem;
    font-size: 1rem;
}

.alinear-derecha {
    display: flex;
    justify-content: center;    /*flex-end;*/
    margin-top: 2rem;
}

/*
.boton {
    background-color: #007BFF;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.boton:hover {
    background-color: #0056b3;
}
*/

.alinear-derecha .get-btn {
    width: 50%;
    padding: 10px;
}

.alinear-derecha .get-btn:hover {
    background-color: var(--color--page);
}


/* -----------------------  FOOTER  --------------------------------*/
.footer {
    padding: 20px;
}
.footer-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 20px;
}

.footer-column {
    flex: 1 1 240px;
    /* Se adapta al ancho disponible con un mínimo de 240px */
    max-width: 350px;
    box-sizing: border-box;
    
}

.footer-p {
    color: #ccc;
    font-size: 14px;
    letter-spacing: 1px;
    width: 240px;
    line-height: 22px;
    text-align: justify;
}

.footer-ul {
    margin-left: -40px;
}

.footer-column .footer-ul .contact li{
    display: flex;
}

.r {
    display: inline-block;
    justify-content: center;
    align-items: center;
}

.t {
    display: inline-block;
}

.footer-ul li {
    list-style: none;
}

.footer-ul li a {
    color: #ccc;
    text-decoration: none;
    line-height: 28px;
    font-size: 14px;
}

.footer-ul li p {
    display: inline-block;
    margin-left: 10px;
    color:#fff;
    font-size: 14px;
    font-weight: bold;
}

.footer-ul li p span {
    font-weight: 300;
    font-size: 13px;
    color: #ccc;
}

.footer-ul .fa{
    font-size: 20px;
    margin-bottom: -6px;
}

h4 {
    color: var(--color-text-secundary-page);
}

.footer-img {
    margin-left:10PX;
    margin-top: 10px;
}

.footer-column .footer-nav a:hover {
    color: var(--color-text-secundary-page);
    padding-left:6px;
}

.footer-column .footer-services a:hover {
    color: var(--color-text-secundary-page);
}

.social-networks {
    text-align: center;
    padding: 40px;
}

.social-networks a {
    display: inline-block;
    text-align: center;
    font-size: 30px;
    width: 50px;
    line-height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(2px);
    color:#dcdada;;
    transition: all .5s ease;
    padding: 5px;
    margin-right: 25px; /* Ajusta este valor según necesites */
}

/* Elimina el margen derecho del último ícono para que no haya espacio extra al final */
.social-networks a:last-child {
    margin-right: 0;
}

.social-networks a:hover {
    color: var(--color-text-secundary-page);
    box-shadow: 0 4px 10px color-mix(in srgb, var(--color-text-secundary-page) 40%, transparent);
}


.footer-bottom {
    padding: 20px;
    height: 40px;
    background: var(--color--page-secundary);
}

.footer-bottom-p {
    text-align: center;
    color: #ccc;
    font-size: 15px;
}

/*  whatsapp  */
.whatsapp{
	width: 60px;
	height: 60px;
	position: fixed;
	bottom: 80px;
	right: 5%;
}

.whatsapp:hover {
	background-color: #008f39;
	border-radius: 100%;
}


/* ------------------------------------------------------------*/
/*                            RESPONSIVE                       */
/* ------------------------------------------------------------*/

/* --------- MEDIA QUERIES LOGO IMG --------- */
@media (max-width: 768px) {
    .logo-img img {
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .logo-img img {
        max-width: 80px;
    }
}



/* --------- MEDIA QUERIES SECTION 1 --------- */
@media (max-width: 1100px){
    .nav {
        padding: 0 10px;
    }

    .link-header {
        position: fixed;
        top: 0;
        right: 0;
        width: 100vw;
        height: 100vh;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: space-evenly;

        /* Fondo degradado celeste-azul */ 
        background: #4DA6FF; /* fallback para navegadores antiguos */ 
        background: -webkit-linear-gradient(to left, #0A1F44, #4DA6FF); /* Chrome 10-25, Safari 5.1-6 */
        background: linear-gradient(to left, #0A1F44, #4DA6FF); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ 
        clip-path: circle(0.0% at 100% 0%); 
        transition: clip-path 0.6s ease-in-out;
        z-index: 10;
    }

    .nav .menutwo {

        -webkit-clip-path: circle(150% at 100% 0);
        clip-path: circle(150% at 100% 0);
    }
    
    .hamburguer {
        display: block;
    }

}

@media (max-width: 768px) {
    

    .col-div-3 {
        width: 100%;
        margin-top: 10px;
    }

    .banner-heading {
        top: 65%; /* Ajuste fino para móviles */
    }
}

.section-7 {
    text-align: center;
    padding-top: 600px;
    padding: 20px;
}

/* --------- MEDIA QUERIES SECTION 2 --------- */

@media (max-width: 1028px) {
    .container-section-2 {
        padding: 20px 0;
    }
    .h2 {
        font-size: 1.5rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .h2 {
        font-size: 1.5rem;
    }

    .p2 {
        font-size: 1rem;
    }


    .col-section-2 {
        flex: 0 1 45%;
        max-width: 45%;
    }

}

/* Mobile */
@media (max-width: 580px) {
    .welcome {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    

    .col-section-2 {
        flex: 1 1 100%;
        max-width: 350px;
        margin: 0 auto; /* centrado */
    }
    
    .h2 {
        font-size: 1.2rem;
    }

    .box {
        width: 100%;
    }

    .p2 {
        font-size: 0.95rem;
    }

    .fa {
        font-size: 40px;
    }
}

/* --------- MEDIA QUERIES SECTION 3 --------- */

@media (max-width: 900px) {
    .gallery-image {
        width: 44%;
    }
}

@media (max-width: 580px) { 
    .gallery-image {
        width: 95%;
    }
}


/* ----------- MEDIA QUERIES SECTION 5 ----------- */

@media (max-width: 768px) {
    .section-5 {
        flex-wrap: wrap; /* ✅ Se apilan en pantallas chicas */
    }

    .right,
    .left {
        width: 100%;
        height: auto;
        min-height: 250px; /* <--- este valor asegura que la imagen se vea */
    }

    .right::after {
        display: none;
        /* Opcional: oculta el rombo en pantallas pequeñas */
    }

    .content {
        padding: 20px;
        text-align: center;
    }

    .section-5::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .c-p1 {
        font-size: 16px;
    }

    .c-p2 {

        font-size: 13px;
    }

    .content {
        padding: 15px;
    }
}

/*------------ MEDIA QUERIES CONTACTO ------------*/
/* Responsive: tablets */
@media (max-width: 768px) {
    form.formulario {
    padding: 2rem;
    }
    
    .contenedor-campos {
        flex-direction: column;
    }

    .campo {
        flex: 1 1 100%;
    }

    .alinear-derecha {
        justify-content: center;
    }

    /*.boton-w-sm {
        width: 100%;
    }*/
    .alinear-derecha .get-btn {
    width: 100%;
    }
}

/* Responsive: móviles pequeños */
@media (max-width: 480px) {

    form.formulario {
        padding: 1rem;
    }
    
    .h2 {
        font-size: 1.5rem;
    }

    .input-text,
    .campo textarea {
        font-size: 0.95rem;
    }

    .boton {
        font-size: 1rem;
    }
}



/* --------- MEDIA QUERIES FOOTER --------- */
@media (max-width: 768px) {
    .section-4 {
        padding: 60px 20px;
        min-height: auto;
    }

    .project-ul-li {
        font-size: 40px;
    }

    .head {
        font-size: 14px;
        letter-spacing: 1.2px;
    }

    .square {
        top: 25px;
    }
}

@media (max-width: 480px) {
    .project-ul {
        flex-direction: column;
        align-items: center;
    }

    .project-ul li {
        max-width: 100%;
        padding-left: 25px;
    }

    .project-ul-li {
        font-size: 36px;
    }

    .square {
        top: 30px;
    }
}

