/* =========================================================
   CLIENTES - HERO
========================================================= */

.clients-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 60px) 0 90px;
    overflow: hidden;
    background: radial-gradient( circle at 76% 38%, rgba(47, 153, 222, 0.15), transparent 32% ), radial-gradient( circle at 14% 74%, rgba(239, 37, 45, 0.09), transparent 30% ), linear-gradient( 135deg, #02080e, #061522 48%, #030b13 );
    isolation: isolate;
}

.clients-grid-background {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 0.11;
    background-image: linear-gradient( rgba(255,255,255,.035) 1px, transparent 1px ), linear-gradient( 90deg, rgba(255,255,255,.025) 1px, transparent 1px );
    background-size: 76px 76px;
}

.clients-hero-layout {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: minmax(0,.95fr) minmax(480px,1.05fr);
    align-items: center;
    gap: 75px;
}


/* =========================================================
   HERO TEXTO
========================================================= */

.clients-title {
    margin: 0;
    color: #fff;
    font-size: clamp(4rem,6vw,7rem);
    font-weight: 900;
    line-height: .87;
    letter-spacing: -.055em;
    text-transform: uppercase;
}

    .clients-title span {
        display: block;
    }

    .clients-title strong {
        display: block;
        margin-top: 10px;
        color: var(--lam-red);
    }

.clients-description {
    max-width: 640px;
    margin-top: 30px;
    color: #9dafba;
    line-height: 1.85;
}

.clients-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 35px;
}


/* =========================================================
   PANEL HERO
========================================================= */

.clients-hero-panel {
    min-height: 540px;
    display: flex;
    flex-direction: column;
    padding: 25px;
    border-radius: 30px;
    border: 1px solid rgba(84,178,238,.2);
    background: linear-gradient( 145deg, rgba(12,37,56,.83), rgba(4,16,27,.73) );
    box-shadow: 0 40px 95px rgba(0,0,0,.45);
}

.clients-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    color: #7893a5;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .16em;
}

    .clients-panel-header > div {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .clients-panel-header > i {
        color: var(--lam-red);
    }

.clients-live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #32d787;
    box-shadow: 0 0 15px rgba(50,215,135,.72);
    animation: clientPulse 1.8s ease-in-out infinite;
}


/* =========================================================
   ÓRBITA
========================================================= */

.clients-panel-center {
    flex: 1;
    display: grid;
    place-items: center;
}

.clients-orbit {
    position: relative;
    width: 330px;
    height: 330px;
    display: grid;
    place-items: center;
}

.clients-orbit-ring {
    position: absolute;
    border: 1px solid rgba(70,176,244,.15);
    border-radius: 50%;
}

.ring-one {
    width: 100%;
    height: 100%;
    animation: clientOrbitRotate 15s linear infinite;
}

.ring-two {
    width: 72%;
    height: 72%;
    border-color: rgba(239,37,45,.15);
    animation: clientOrbitRotate 11s linear infinite reverse;
}

.clients-orbit-core {
    position: relative;
    z-index: 4;
    width: 145px;
    height: 145px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.1);
    background: radial-gradient( circle, rgba(32,109,161,.2), rgba(5,18,29,.88) 65% );
    box-shadow: 0 0 50px rgba(47,153,222,.13);
}

    .clients-orbit-core img {
        width: 105px;
        max-height: 95px;
        object-fit: contain;
    }

.orbit-point {
    position: absolute;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #4db8ff;
    box-shadow: 0 0 15px rgba(77,184,255,.7);
}

.orbit-point-1 {
    top: 2%;
    left: 50%;
}

.orbit-point-2 {
    right: 5%;
    top: 45%;
    background: var(--lam-red);
}

.orbit-point-3 {
    bottom: 5%;
    left: 40%;
}

.orbit-point-4 {
    left: 8%;
    top: 38%;
    background: var(--lam-red);
}


/* =========================================================
   FOOTER PANEL
========================================================= */

.clients-panel-footer {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
}

    .clients-panel-footer > div {
        padding: 14px;
        border: 1px solid rgba(255,255,255,.06);
        border-radius: 14px;
        background: rgba(255,255,255,.022);
    }

    .clients-panel-footer small {
        display: block;
        color: #688596;
        font-size: .55rem;
    }

    .clients-panel-footer strong {
        color: #fff;
        font-size: .76rem;
    }


/* =========================================================
   SHOWCASE
========================================================= */

.clients-showcase {
    position: relative;
    padding: 130px 0;
    background: radial-gradient( circle at 78% 20%, rgba(46,151,217,.09), transparent 30% ), linear-gradient( 180deg, #071522, #030a11 );
}


/* =========================================================
   CLIENT CARDS
========================================================= */


.client-brand-card:hover {
    transform: translateY(-9px);
    border-color: rgba(75,178,244,.3);
    box-shadow: 0 30px 75px rgba(0,0,0,.38);
}



.client-brand-logo img {
    max-width: 100%;
    max-height: 85px;
    object-fit: contain;
    filter: grayscale(1) brightness(1.8);
    opacity: .72;
    transition: filter .35s ease, opacity .35s ease, transform .35s ease;
}

.client-brand-card:hover
.client-brand-logo img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

.client-brand-card > span {
    margin-top: 20px;
    color: #879daa;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-align: center;
}


.client-brand-more strong {
    font-size: 1.5rem;
}


/* =========================================================
   MARQUEE
========================================================= */

.clients-marquee {
    overflow: hidden;
    padding: 27px 0;
    border-top: 1px solid rgba(255,255,255,.06);
    border-bottom: 1px solid rgba(255,255,255,.06);
    background: #06131f;
}

.clients-marquee-track {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 34px;
    color: rgba(255,255,255,.18);
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: .05em;
    animation: clientsMarquee 24s linear infinite;
}

    .clients-marquee-track i {
        color: var(--lam-red);
        font-size: .4rem;
    }


/* =========================================================
   VALUE
========================================================= */

.clients-value {
    padding: 130px 0;
    background: linear-gradient( 180deg, #030a11, #071522 );
}

.clients-value-grid {
    display: grid;
    grid-template-columns: minmax(0,.9fr) minmax(500px,1.1fr);
    align-items: center;
    gap: 75px;
}

.clients-value-content h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.8rem,4.6vw,5rem);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -.04em;
}

    .clients-value-content h2 strong {
        display: block;
        color: var(--lam-red);
    }

.clients-value-content p {
    margin-top: 26px;
    color: #95a8b5;
    line-height: 1.85;
}

.clients-value-cards {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 15px;
}

.clients-value-card {
    min-height: 210px;
    padding: 24px;
    border-radius: 19px;
}

    .clients-value-card > div {
        width: 48px;
        height: 48px;
        display: grid;
        place-items: center;
        border-radius: 13px;
        color: #4db8ff;
        background: rgba(50,157,225,.09);
    }

        .clients-value-card > div.red {
            color: var(--lam-red);
            background: rgba(239,37,45,.08);
        }

    .clients-value-card > span {
        display: block;
        margin-top: 25px;
        color: #607e91;
        font-size: .62rem;
    }

    .clients-value-card > strong {
        display: block;
        margin-top: 5px;
        color: #fff;
        font-size: 1.12rem;
    }

    .clients-value-card p {
        color: #8097a6;
        font-size: .8rem;
        line-height: 1.6;
    }


/* =========================================================
   CTA
========================================================= */

.clients-cta {
    padding: 90px 0 130px;
    background: #030910;
}


/* =========================================================
   ANIMACIONES
========================================================= */

@keyframes clientPulse {

    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: .5;
    }
}

@keyframes clientOrbitRotate {

    to {
        transform: rotate(360deg);
    }
}

@keyframes clientsMarquee {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-40%);
    }
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .clients-hero-layout,
    .clients-value-grid {
        grid-template-columns: 1fr;
    }

    .clients-logo-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 650px) {

    .clients-hero {
        min-height: auto;
        padding: calc(var(--header-height) + 50px) 0 80px;
    }

    .clients-title {
        font-size: clamp(3.3rem,15vw,5rem);
    }

    .clients-hero-actions {
        flex-direction: column;
    }

    .clients-hero-panel {
        min-height: 440px;
    }

    .clients-orbit {
        width: 270px;
        height: 270px;
    }

    .clients-panel-footer {
        grid-template-columns: 1fr;
    }

    .clients-showcase,
    .clients-value {
        padding: 85px 0;
    }

    .clients-logo-grid,
    .clients-value-cards {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {

    .clients-live-dot,
    .clients-orbit-ring,
    .clients-marquee-track {
        animation: none;
    }
}

/* =========================================================
   CLIENTES - CARRUSEL PREMIUM
========================================================= */

.clients-carousel-shell {
    position: relative;
    width: 100%;
    margin-top: 75px;
    overflow: hidden;
    padding: 45px 0 55px;
    perspective: 1400px;
}


    /* SOMBRAS LATERALES */

    .clients-carousel-shell::before,
    .clients-carousel-shell::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 150px;
        z-index: 10;
        pointer-events: none;
    }

    .clients-carousel-shell::before {
        left: 0;
        background: linear-gradient( 90deg, #071522, rgba(7,21,34,0) );
    }

    .clients-carousel-shell::after {
        right: 0;
        background: linear-gradient( -90deg, #071522, rgba(7,21,34,0) );
    }


/* TRACK */

.clients-carousel-track {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 26px;
    padding-left: 20px;
    animation: clientsInfiniteScroll 32s linear infinite;
    will-change: transform;
}


/* PAUSA AL PASAR EL CURSOR */

.clients-carousel-shell:hover
.clients-carousel-track {
    animation-play-state: paused;
}


/* TARJETA */

.client-carousel-card {
    position: relative;
    flex: 0 0 300px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(93,181,240,0.16);
    background: linear-gradient( 145deg, rgba(15,42,64,0.76), rgba(4,17,29,0.66) );
    box-shadow: 0 28px 70px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.06);
    backdrop-filter: blur(20px) saturate(125%);
    -webkit-backdrop-filter: blur(20px) saturate(125%);
    transform: perspective(1000px) rotateY(-4deg) scale(0.96);
    opacity: 0.82;
    transition: transform 0.45s cubic-bezier(.16,1,.3,1), opacity 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}


    /* SELECCIÓN */

    .client-carousel-card:hover {
        z-index: 20;
        transform: perspective(1000px) translateY(-18px) rotateY(0deg) scale(1.08);
        opacity: 1;
        border-color: rgba(77,184,255,0.36);
        background: linear-gradient( 145deg, rgba(20,54,81,0.9), rgba(5,20,33,0.84) );
        box-shadow: 0 45px 100px rgba(0,0,0,0.5), 0 0 36px rgba(50,159,225,0.13);
    }


    /* BRILLO SUPERIOR */

    .client-carousel-card::before {
        content: "";
        position: absolute;
        left: 12%;
        right: 12%;
        top: 0;
        height: 1px;
        background: linear-gradient( 90deg, transparent, rgba(255,255,255,0.55), transparent );
        opacity: 0.35;
    }


/* LOGO */

.client-carousel-logo {
    width: 205px;
    height: 130px;
    display: grid;
    place-items: center;
    margin-bottom: 25px;
}

    .client-carousel-logo img {
        max-width: 100%;
        max-height: 120px;
        object-fit: contain;
        filter: grayscale(1) brightness(1.25) contrast(1.04);
        opacity: 0.62;
        transition: filter 0.4s ease, opacity 0.4s ease, transform 0.5s cubic-bezier(.16,1,.3,1);
    }


/* AL SELECCIONAR RECUPERA COLOR */

.client-carousel-card:hover
.client-carousel-logo img {
    filter: grayscale(0) brightness(1.05) saturate(1.08);
    opacity: 1;
    transform: scale(1.1);
}


/* NÚMERO */

.client-carousel-card > span {
    color: var(--lam-red);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}


/* NOMBRE */

.client-carousel-card > strong {
    margin-top: 8px;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}


/* =========================================================
   LOOP
========================================================= */

@keyframes clientsInfiniteScroll {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX( calc(-50% - 13px) );
    }
}

/* =========================================================
   CLIENTES - TEMA AZUL HIELO
   OVERRIDES FINALES
   Mantiene carrusel, órbitas y animaciones existentes
========================================================= */

.clients-hero,
.clients-showcase,
.clients-value,
.clients-cta {
    background: radial-gradient(circle at 50% 20%, rgba(255,255,255,.72), transparent 42%), radial-gradient(circle at 90% 30%, rgba(64,161,220,.13), transparent 34%), radial-gradient(circle at 10% 75%, rgba(239,37,45,.05), transparent 30%), linear-gradient(135deg, #d9eef9 0%, #c5e4f4 48%, #add8ed 100%) !important;
    color: #102432;
}

.clients-title,
.clients-title span {
    color: #102432 !important;
}

    .clients-title strong {
        color: var(--lam-red) !important;
    }

.clients-description {
    color: #405f72 !important;
}

.clients-grid-background {
    opacity: .16;
    background-image: linear-gradient(rgba(26,103,151,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(26,103,151,.07) 1px, transparent 1px);
}

.clients-hero-panel {
    border: 1px solid rgba(255,255,255,.76) !important;
    background: linear-gradient(145deg, rgba(255,255,255,.66), rgba(219,239,249,.42)) !important;
    box-shadow: 0 30px 80px rgba(31,77,107,.16) !important;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.clients-panel-header {
    border-bottom: 1px solid rgba(31,105,151,.10) !important;
    color: #58788b !important;
}

.clients-orbit-ring {
    border-color: rgba(36,127,184,.18);
}

.ring-two {
    border-color: rgba(239,37,45,.18);
}

.clients-orbit-core {
    border: 1px solid rgba(255,255,255,.72) !important;
    background: radial-gradient(circle, rgba(255,255,255,.82), rgba(209,235,248,.62) 66%) !important;
    box-shadow: 0 0 55px rgba(47,153,222,.14) !important;
}

.clients-panel-footer > div {
    border: 1px solid rgba(31,105,151,.11) !important;
    background: rgba(255,255,255,.34) !important;
}

.clients-panel-footer small {
    color: #5b7b8e !important;
}

.clients-panel-footer strong {
    color: #102432 !important;
}

.clients-showcase .section-heading h2,
.clients-showcase .section-heading h3 {
    color: #102432 !important;
}

.clients-showcase .section-heading p {
    color: #405f72 !important;
}

.clients-carousel-shell::before {
    background: linear-gradient(90deg, #d3eaf6 0%, rgba(211,234,246,.78) 35%, rgba(211,234,246,0) 100%) !important;
}

.clients-carousel-shell::after {
    background: linear-gradient(-90deg, #d3eaf6 0%, rgba(211,234,246,.78) 35%, rgba(211,234,246,0) 100%) !important;
}

.client-carousel-card {
    border: 1px solid rgba(255,255,255,.74) !important;
    background: linear-gradient(145deg, rgba(255,255,255,.62), rgba(219,239,249,.40)) !important;
    box-shadow: 0 24px 60px rgba(31,77,107,.13) !important;
    backdrop-filter: blur(20px) saturate(125%);
    -webkit-backdrop-filter: blur(20px) saturate(125%);
    opacity: .90;
}

    .client-carousel-card:hover {
        border-color: rgba(49,151,211,.32) !important;
        background: linear-gradient(145deg, rgba(255,255,255,.82), rgba(215,239,251,.58)) !important;
        box-shadow: 0 35px 85px rgba(31,77,107,.18), 0 0 32px rgba(50,159,225,.10) !important;
    }

    .client-carousel-card::before {
        background: linear-gradient(90deg, transparent, rgba(255,255,255,.88), transparent) !important;
        opacity: .7 !important;
    }

.client-carousel-logo img {
    filter: grayscale(1) brightness(.92) contrast(1.04) !important;
    opacity: .68;
}

.client-carousel-card:hover .client-carousel-logo img {
    filter: grayscale(0) brightness(1.02) saturate(1.08) !important;
    opacity: 1;
}

.client-carousel-card > strong {
    color: #102432 !important;
}

.clients-marquee {
    border-top: 1px solid rgba(31,105,151,.10) !important;
    border-bottom: 1px solid rgba(31,105,151,.10) !important;
    background: rgba(255,255,255,.22) !important;
}

.clients-marquee-track {
    color: rgba(16,36,50,.16) !important;
}

.clients-value-content h2 {
    color: #102432 !important;
}

    .clients-value-content h2 strong {
        color: var(--lam-red) !important;
    }

.clients-value-content p {
    color: #405f72 !important;
}

.clients-value-card {
    border: 1px solid rgba(255,255,255,.72) !important;
    background: linear-gradient(145deg, rgba(255,255,255,.58), rgba(219,239,249,.36)) !important;
    box-shadow: 0 20px 50px rgba(31,77,107,.12) !important;
}

    .clients-value-card > span {
        color: #58788b !important;
    }

    .clients-value-card > strong {
        color: #102432 !important;
    }

    .clients-value-card p {
        color: #405f72 !important;
    }

.clients-cta .glass-panel {
    border: 1px solid rgba(255,255,255,.74) !important;
    background: linear-gradient(145deg, rgba(255,255,255,.62), rgba(219,239,249,.40)) !important;
    box-shadow: 0 24px 60px rgba(31,77,107,.14) !important;
}

.clients-cta h2,
.clients-cta h3 {
    color: #102432 !important;
}

.clients-cta p {
    color: #405f72 !important;
}

.client-brand-card {
    border: 1px solid rgba(255,255,255,.72) !important;
    background: linear-gradient(145deg, rgba(255,255,255,.58), rgba(219,239,249,.36)) !important;
    box-shadow: 0 20px 50px rgba(31,77,107,.12) !important;
}

    .client-brand-card:hover {
        border-color: rgba(49,151,211,.30) !important;
        box-shadow: 0 28px 70px rgba(31,77,107,.17) !important;
    }

    .client-brand-card > span {
        color: #58788b !important;
    }

.client-brand-logo img {
    filter: grayscale(1) brightness(.90) contrast(1.04) !important;
}

.client-brand-card:hover .client-brand-logo img {
    filter: grayscale(0) brightness(1.02) saturate(1.06) !important;
}

/* =========================================================
   CLIENTES - MARQUEE INFERIOR AZUL CLARO
========================================================= */

.clients-marquee {
    position: relative;
    overflow: hidden;
    padding: 27px 0;
    border-top: 1px solid rgba(31, 105, 151, 0.12) !important;
    border-bottom: 1px solid rgba(31, 105, 151, 0.12) !important;
    background: linear-gradient( 90deg, rgba(215, 237, 248, 0.92) 0%, rgba(236, 247, 252, 0.96) 50%, rgba(207, 232, 245, 0.92) 100% ) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.70), inset 0 -1px 0 rgba(255, 255, 255, 0.42);
}


/* TEXTO DEL CARRUSEL */

.clients-marquee-track {
    color: rgba(16, 36, 50, 0.55) !important;
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

    /* PUNTOS ROJOS */

    .clients-marquee-track i {
        color: var(--lam-red) !important;
        opacity: 0.90;
        font-size: 0.4rem;
    }

