﻿body{
    font-family: "Google Sans", sans-serif;
    font-family: "Roboto", sans-serif;
}


.cabecera-ayuda{
    height: 120px;
}


header{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    padding-top: 12px;
    padding-bottom: 120px;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.75) 10%,
        rgba(0, 0, 0, 0.65) 20%,
        rgba(0, 0, 0, 0.55) 30%,
        rgba(0, 0, 0, 0.45) 40%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(0, 0, 0, 0.25) 60%,
        rgba(0, 0, 0, 0.18) 70%,
        rgba(0, 0, 0, 0.10) 85%,
        rgba(0, 0, 0, 0.00) 100%
    );

    transition: all 0.7s ease;
}
.scrolled{
    background: black !important;
    padding-bottom: 12px;
}


nav a{
    color: white;
    text-decoration: none;
}
nav ul{
    list-style: none;
    padding: 0;
}
nav ul li{
    width: 50%;
    float: left;
}

.menu{
    text-align: center;
    font-weight: lighter;
    font-size:20px;

    transition: 0.1s linear;
}
.menu:hover{
    font-size: 22px;
    font-weight: bold;
}


.logotipo{
    color: white;
    font-size: 43px;
    line-height: 43px;
}
.logotipo img{
    height: 80px;
}
.logotipo a{
    text-decoration: none;
    color: white;
}


.efecto{
    background: url(../images/efecto.jpg) no-repeat center center;
    background-size: cover;
    position: relative;
    height: 90vh;
}
/* Capa oscura */
.efecto::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* ajusta la oscuridad */
    z-index: 1;
}


.leyendita{
    position: relative;
    z-index: 100;
    width: 100%;
    text-align: center;
    display: inline-block;
    margin-top: -40px;
}
.leyendita span{
    background: white;
    color: blue;
    font-weight: bold;
    font-size: 30px;

    box-shadow: 10px 10px 10px gray;
}


.cuadros{
    padding-top: 40px;
}

.textito{
    text-align: center;
    font-size: 27px;
    margin: 30px 0 20px;
}


.cuadro{
    text-align: center;
    height: 250px;
}
.cuadro strong{
    position: relative;
    top: 110px;
    background: white;
    font-size: 23px;
    padding: 5px;
}

.cuadro1{background: url(../images/cuadro1.webp) no-repeat center center;background-size: cover;}
.cuadro2{background: url(../images/cuadro2.webp) no-repeat center center;background-size: cover;}
.cuadro3{background: url(../images/cuadro3.webp) no-repeat center center;background-size: cover;}
.cuadro4{background: url(../images/cuadro4.webp) no-repeat center center;background-size: cover;}

.texto{
    text-align: center;
    font-size: 21px;
    padding-top: 20px;
    padding-bottom: 20px;
}


.logos{
    background: #f7f7f7;
    padding-bottom: 90px;
}


.titulo{
    text-align: center;
    color: blue;
    font-size: 33px;
    font-weight: lighter;
    margin-bottom: 30px;
}



.logo-carousel {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.logo-track {
    display: flex;
    align-items: center;
    /* La animación hace que todo el track se desplace a la izquierda */
    animation: scroll-logos 30s linear infinite;
}

.logo-item {
    flex: 0 0 180px;              /* ancho base de cada “slide” */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    box-sizing: border-box;
}

.logo-item img {
    max-width: 100%;
    max-height: 70px;             /* controla la altura máxima del logo */
    width: auto;
    height: auto;
    object-fit: contain;          /* respeta el aspecto del logo */
    display: block;
    opacity: 0.85;
    transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

.logo-item img:hover {
    transform: scale(1.05);
    opacity: 1;
    filter: grayscale(0%);
}

/* Animación infinita */
@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive: logos un poco más pequeños en pantallas chicas */
@media (max-width: 768px) {
    .logo-item {
        flex: 0 0 140px;
        padding: 10px;
    }

    .logo-item img {
        max-height: 55px;
    }
}


.productos{
    padding-top: 40px;
    padding-bottom: 40px;
}

.pro{
    background: #f7f7f7;
    font-size: 22px;
    padding: 40px;

    border-radius: 20px;
}

.imagen img{
    width: 100%;
    height: 330px;

    object-fit: cover;
}

.imagen1 img{
    border-radius: 120px 100px 20px 140px;
}
.imagen2 img{
    border-radius: 20px 140px 120px 100px;
}




.proyectos{
    padding-top: 40px;
    padding-bottom: 40px;
}

.proyectos img{
    border-radius: 40px;
}



.cuatroImagenes{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
}
.tresImagenes{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.cuatroImagenes img, .tresImagenes img{
    width: 100%;
    height: auto;
    display: block;
}

.unoImagenes{
    text-align: center;
}
.unoImagenes img{
    width: 55%;
}


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

}

@media screen and (max-width:1200px){
    .cabecera-ayuda{
        display: none;
    }
    header{
        position: relative;
        background: black;
        padding-bottom: 12px
    }
}

@media screen and (max-width:992px){
    nav{
        margin-top: 20px !important;
    }
}

@media screen and (max-width:768px){
    .menu{
        padding: 12px 0;
    }

    .tresImagenes, .cuatroImagenes{
        grid-template-columns: repeat(1, 1fr);
    }
    .unoImagenes img{
        width: 100%;
    }
}

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



.chat{
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: #24d366;
    font-weight: normal;
    font-size: 20px;
    color: white;
    padding: 6px 17px;
    border-radius: 20px;

    animation-name: pulse;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-delay: 0s;
    animation-iteration-count: 100;
}
@keyframes pulse {
    from,to {
        transform: scale3d(1,1,1)
    }

    50% {
        transform: scale3d(1.05,1.05,1.05)
    }
}

.pulse {
    animation-name: pulse
}



.footer-crossflow{
    padding-top: 60px;
    padding-bottom: 20px;
    color: white;
    background: linear-gradient(
        to top,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,0.92) 35%,
        rgba(0,0,0,0.80) 70%,
        rgba(0,0,0,0.70) 100%
    );
}

.footer-brand .footer-logo{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-brand .footer-logo img{
    height: 55px;
    width: auto;
}

.footer-brand .footer-logo strong{
    font-size: 28px;
    line-height: 28px;
    font-weight: 600;
}

.footer-desc{
    margin: 0;
    max-width: 380px;
    opacity: 0.9;
    font-size: 16px;
    line-height: 22px;
}

.footer-title{
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    color: white;
}

.footer-links{
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li{
    margin-bottom: 10px;
}

.footer-links a{
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: 0.15s linear;
}

.footer-links a:hover{
    color: white;
    text-decoration: underline;
}

.footer-whats{
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(36, 211, 102, 0.15);
    border: 1px solid rgba(36, 211, 102, 0.35);
    color: white;
    text-decoration: none;
    transition: 0.2s ease;
}

.footer-whats:hover{
    transform: translateY(-2px);
    background: rgba(36, 211, 102, 0.22);
}

.footer-whats b{
    font-size: 22px;
}

.footer-note{
    margin-top: 12px;
    font-size: 14px;
    opacity: 0.85;
    line-height: 20px;
}

.footer-bottom{
    margin-top: 35px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 13px;
    opacity: 0.85;
}

/* Responsive */
@media (max-width: 768px){
    .footer-brand .footer-logo strong{
        font-size: 24px;
        line-height: 24px;
    }
}