/* =========================================
   CLIENTES.CSS
   Estilos exclusivos de clientes.html
   Se carga DESPUÉS de styles.css, así que
   hereda navbar, footer y utilidades globales.
========================================= */


/* =========================================
   HERO
========================================= */

.clientes-hero {
    padding: 150px 8% 120px;
    background: linear-gradient(
        135deg,
        #071521 0%,
        #0b2238 60%,
        #102d46 100%
    );
    position: relative;
    overflow: hidden;
}

.clientes-hero::before {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(
        circle,
        rgba(255,122,0,0.16) 0%,
        transparent 70%
    );
    top: -300px;
    right: -200px;
}

.clientes-hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.clientes-hero-content span {
    color: #ff7a00;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 13px;
    font-weight: 700;
    display: block;
    margin-bottom: 22px;
}

.clientes-hero-content h1 {
    font-size: 72px;
    line-height: 1.05;
    color: white;
    font-weight: 900;
    margin-bottom: 28px;
}

.clientes-hero-content p {
    max-width: 580px;
    color: rgba(255,255,255,0.72);
    line-height: 1.9;
    font-size: 17px;
}


/* =========================================
   SECCIÓN CARRUSEL
========================================= */

.clientes-carrusel {
    background: #eef2f7;
    padding: 110px 0 100px;
    overflow: hidden;
}

.clientes-section-header {
    text-align: center;
    padding: 0 8%;
    margin-bottom: 65px;
}

.clientes-section-header span {
    color: #ff7a00;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 12px;
    font-weight: 700;
    display: block;
}

.clientes-section-header h2 {
    font-size: 46px;
    font-weight: 800;
    color: #0b3b66;
    margin-top: 16px;
    line-height: 1.15;
}

/* Línea naranja bajo el título, igual que el resto del sitio */
.clientes-section-header h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: #ff7a00;
    margin: 18px auto 0;
    border-radius: 10px;
}

.clientes-section-header p {
    color: #66727d;
    font-size: 16px;
    line-height: 1.85;
    max-width: 560px;
    margin: 22px auto 0;
}


/* =========================================
   TRACK DEL CARRUSEL
========================================= */

.carrusel-track-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

/* Degradados laterales para suavizar el corte */
.carrusel-track-wrapper::before,
.carrusel-track-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 3;
    pointer-events: none;
}

.carrusel-track-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #eef2f7, transparent);
}

.carrusel-track-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #eef2f7, transparent);
}

/* Fila de logos — animación continua */
.carrusel-logos {
    display: flex;
    width: max-content;
    align-items: center;
    animation: scroll-logos 28s linear infinite;
}

.carrusel-logos.paused {
    animation-play-state: paused;
}

@keyframes scroll-logos {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* =========================================
   CADA LOGO INDIVIDUAL
========================================= */

.logo-item {
    width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 28px;
    transition: transform 0.35s ease;
}

.logo-item img {
    max-width: 140px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;

    /* Blanco y negro por defecto */
    filter: grayscale(100%) opacity(0.4);
    transition: filter 0.45s ease, transform 0.35s ease;
    display: block;
}

/* Al hacer hover: se detiene el carrusel Y el logo toma color */
.logo-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.08);
}


/* =========================================
   RESPONSIVE
========================================= */

@media(max-width: 991px) {
    .clientes-hero-content h1 {
        font-size: 50px;
    }
    .clientes-section-header h2 {
        font-size: 34px;
    }
}

@media(max-width: 768px) {
    .clientes-hero {
        padding: 120px 6% 90px;
    }
    .clientes-hero-content h1 {
        font-size: 38px;
    }
    .clientes-hero-content p {
        font-size: 15px;
    }
    .clientes-section-header h2 {
        font-size: 28px;
    }
    .logo-item {
        width: 150px;
        height: 90px;
    }
    .logo-item img {
        max-width: 100px;
        max-height: 52px;
    }
}
* 
/* ===== RESPONSIVE: TÍTULOS GRANDES ===== */
.hero-content h1{
    font-size: clamp(2.4rem, 9vw, 6rem);
}

.experiencia-left h2{
    font-size: clamp(2rem, 6vw, 4rem);
}

.mapa-header h2,
.contacto-global h2{
    font-size: clamp(1.8rem, 6vw, 3.5rem);
}

/* Red de seguridad: si algo se desborda igual, no rompe el layout */
html, body{
    overflow-x: hidden;
}

*{
    overflow-wrap: break-word;
}