﻿body{
    font-family: "Rubik", sans-serif;
    font-family: "Montserrat", sans-serif;
}



.cabecera-ayuda{
    height: 146px;
}

header{
    background: white;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}


.logotipo{
    text-align: center;
}
.logotipo img{
    width: 82%;
}


nav a{
    color: black;
    text-decoration: none;
}
nav ul{
    list-style: none;
    padding: 0;
}
nav ul li{
    width: 19%;
    margin: 0 0.5%;
}
.menu{
    border: 10px solid;
    background: #000000;
    width: 100%;
    color: #ffffff;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    border-image: linear-gradient(90deg, #d4d4d4, #ffffff, #a9a9a9, #d4d4d4) 1;
    padding: 12px 0;

    border-radius: 30px;
}

.menu:hover{
    border-image: linear-gradient(90deg, #ffffff, #c7c7c7, #e6e6e6, #ffffff) 1;
    color: #e6e6e6;
}


.btn-metal-wrap {
    background: linear-gradient(90deg, #d4d4d4, #ffffff, #c7c7c7, #9b9b9b, #d4d4d4);
    padding: 8px; /* grosor del borde */
    border-radius: 20px; /* redondeado del borde externo */
    display: inline-block;
    margin: 8px;
}

.btn-metal {
    background: #000;
    color: #fff;
    padding: 10px 20px;
    font-size: 20px;
    border: none;
    border-radius: 18px; /* debe ser ligeramente menor para encajar */
    cursor: pointer;
    display: block;

    transition: all 0.5s;
}

.btn-metal:hover {
    color: #e6e6e6;
    border-radius: 38px; /* debe ser ligeramente menor para encajar */
}


.datos{
    font-size: 22px;
    text-align: center;
}
.datos img{
    width: 30px;
}



.efecto{
    padding: 0;
}


.servicios{
    background: url(../images/fondo-servicios.webp) no-repeat center center;
    background-size: cover;
    padding-top: 40px;
    padding-bottom: 40px;
}

.titulo{
    text-align: center;
    font-size: 33px;
    font-weight: bold;
    margin-bottom: 40px;
}
.servicios .titulo{
    color: white;
}


.ser{
    text-align: center;
}
.ser img{
    height: 100px;
    filter: brightness(0) invert(1);
}
.ser strong{
    width: 100%;
    font-weight:400;
    font-size: 22px;
    color: white;
    display: inline-block;
}


.marcas{
    background: url(../images/fondo-marcas.webp) no-repeat center center;
    background-size: cover;
    padding-top: 60px;
    padding-bottom: 60px;
}

.logo-carousel {
    width: 100%;
    overflow: hidden;
}

.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;
    /* filter: grayscale(100%); */
    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;
    }
}


#inicio, #servicios, #marcas, #nosotros, #contacto{
    scroll-margin-top: 120px;
}


.nosotros{
    padding-top: 60px;
    padding-bottom: 60px;
}

.seccion{
    font-size: 19px;
    line-height: 32px;
}
.seccion strong{
    color: #163a4e;
    font-size: 23px;
}


.imagen img{
    width: 100%;
}


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

}

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

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

}

@media screen and (max-width:768px){
    #inicio, #servicios, #marcas, #nosotros, #contacto{
        scroll-margin-top: 0;
    }
    .btn-metal{
        padding: 10px 10px;
    }
    nav{
        margin: 20px 0 !important;
    }
}

@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 ----- */

.footer-gradient {
    background: linear-gradient(
        135deg,
        #060201 0%,
        #163a4e 35%,
        #1a4962 65%,
        #1e6886 100%
    );
    color: #ffffff;
}

.footer-logo {
    width: 180px;
    max-width: 100%;
    border-radius: 6px;
}

.footer-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
}

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

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

.footer-link {
    color: #dfe5e8;
    text-decoration: none;
    font-size: 16px;
    transition: color .3s ease;
}

.footer-link:hover {
    color: #ffffff;
} 