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


.cabecera-ayuda{
    height: 96px;
}


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

.scrolled{
    box-shadow: 2px 2px 2px gray;
}
.scrolled{
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.logotipo img{
    width: 100%;
}

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

.menuR{
    display: none;
}

.menu, .menuR{
    text-align: center;
    font-size: 19px;
    padding: 0;
    cursor: pointer;
}
.menu:hover{
    color: #1f843a;
    font-weight: bold;
}

.unoMenu{
    padding: 14px 0;
}

.datos{
    text-align: center;
    color: #1f843a;
    font-size: 22px;
}


.efecto{
    padding: 0;
    margin: 20px 0;
}


.marcas{
    padding-top: 30px;
    padding-bottom: 30px;
}

.titulo{
    text-align: center;
    color: #1f843a;
    font-weight: bold;
    font-size: 33px;
    margin-bottom: 30px;
}

.texto{
    font-size: 18px;
}

.imagenes img{
    height: 33px;
    margin: 0 40px 20px 0;
}


.sectores{
    position: relative;
    background: url(../images/fondo-sectores.webp) no-repeat center center;
    background-size: cover;
    padding-top: 40px;
    padding-bottom: 40px;
}
.sectores .container{
    position: relative;
    z-index: 2;
}
.fondo-negro{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background: rgba(0,0,0,0.7);
    width: 100%;
    height: 100%;
}


.seccion{
    font-size: 20px;
}

.seccion strong{
    font-size: 31px;
}

.sectores .seccion{
    color: white !important;
}


.imagen img{
    width: 100%;
}


.imagensitas{
    text-align: center;
}
.imagensitas img{
    height: 70px;
    margin-bottom: 20px;
}


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

.icon{
    width: 100%;
    text-align: center;
    font-size: 33px;
    font-weight: bold;
    display: inline-block;
}
.icon span{
    background: white;
    width: 60px;
    height: 60px;
    display: inline-block;
    padding-top: 5px;

    border-radius: 50%;
}

.com{
    text-align: center;
    font-size: 18px;
    margin-top: 40px;
}


#marcas-que-manejamos, #sectores-que-atendemos, #contacto, #como-trabajamos{
    scroll-margin-top: 100px; /* altura del header */
}


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


@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){
    nav{
        margin: 22px  0 !important;
    }
}

@media screen and (max-width:768px){
    
    nav ul{
        display: none;
    }
    .menuR{
        display: block;
    }
    nav ul li{
        width: 100%;
    }
    .menu{
        padding: 12px 0;
    }
}

@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-negro{
    background: #000;
    color: #e0e0e0;
}

.footer-negro .footer-titulo,
.footer-negro .footer-miniTitulo{
    width: 100%;
    color: #1f843a;
    font-size: 22px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 20px;
}

.footer-negro .footer-texto,
.footer-negro .footer-nota,
.footer-negro .footer-sectores,
.footer-negro .footer-copy{
    color: #cfcfcf;
}

.footer-negro .footer-dato b{
    color: #1f843a;
}

.footer-negro a{
    color: #e0e0e0;
    text-decoration: none;
}

.footer-negro a:hover{
    color: #1f843a;
    font-weight: bold;
}

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

.footer-negro .footer-whats{
    background: #1f843a;
    color: white;
}

.footer-negro .footer-whats:hover{
    background: #166a2e;
}

.footer-linea{
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.15);
}


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

.logo-track {
    display: flex;
    width: max-content;                 /* clave: el track mide lo que sumen los sets */
    align-items: center;
    animation: scroll-logos 30s linear infinite;
    will-change: transform;
}

.logo-set {
    display: flex;
    align-items: center;
}

.logo-item {
    flex: 0 0 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    box-sizing: border-box;
}

.logo-item img {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    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%);
}

/* ahora -50% sí es EXACTAMENTE 1 set */
@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .logo-item {
        flex: 0 0 140px;
        padding: 10px;
    }

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



/* FAQS */
.faqs{
    padding-top: 40px;
    padding-bottom: 40px;
    background: #f8f6f2;
}

.faq-accordion{
    border-radius: 12px;
    overflow: hidden;
    background: transparent;
}

.faq-item{
    border: 0;
    margin-bottom: 12px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.faq-btn{
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #111;
    background: #fff;
    padding: 16px 18px;
}

.faq-btn:focus{
    box-shadow: none;
}

.accordion-button:not(.collapsed){
    color: #1f843a;
    background: #fff;
}

.faq-body{
    background: #fff;
    font-size: 17px;
    line-height: 1.6;
    color: #333;
    padding: 16px 18px;
}

.faq-nota{
    font-size: 16px;
    color: #333;
}

.faq-nota a{
    color: #1f843a;
    font-weight: bold;
    text-decoration: none;
}

.faq-nota a:hover{
    text-decoration: underline;
}

@media (max-width: 768px){
    .faq-btn{
        font-size: 16px;
        padding: 14px 16px;
    }
    .faq-body{
        font-size: 16px;
        padding: 14px 16px;
    }
}