
/* =========================================================
   CLIENTI / TRUST WALL - SECUR E SERVICE
   ========================================================= */

.ses-clients-page {
    background:#fff;
    color:#0b263a;
}

/* HERO */
.ses-clients-hero {
    background:
        radial-gradient(circle at 78% 18%, rgba(43,100,142,.26), transparent 33%),
        linear-gradient(115deg, #ffffff 0%, #f7fafc 52%, #eaf0f4 100%);
    border-bottom:1px solid #dfe6eb;
    overflow:hidden;
}

.ses-clients-hero__grid {
    min-height:470px;
    display:grid;
    grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);
    align-items:stretch;
}

.ses-clients-hero__copy {
    padding:74px 50px 66px 0;
    align-self:center;
}

.ses-clients-hero .ses-kicker {
    color:#b54708;
    display:block;
    margin-bottom:10px;
    font-weight:800;
    letter-spacing:.08em;
}

.ses-clients-hero h1 {
    margin:0;
    font-size:clamp(3.2rem,5vw,5.6rem);
    line-height:.9;
    letter-spacing:-.06em;
    color:#0b263a;
}

.ses-clients-hero h2 {
    margin:15px 0 14px;
    font-size:clamp(1.55rem,2.5vw,2.5rem);
    line-height:1.05;
    letter-spacing:-.035em;
    color:#0b263a;
}

.ses-clients-hero p {
    margin:0;
    max-width:690px;
    font-size:1.05rem;
    line-height:1.7;
    color:#536776;
}

.ses-clients-stats {
    margin-top:32px;
    display:flex;
    gap:34px;
    flex-wrap:wrap;
}

.ses-clients-stats > div {
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    gap:9px;
    align-items:center;
}

.ses-clients-stats strong {
    font-size:2rem;
    line-height:1;
    color:#0b263a;
}

.ses-clients-stats span {
    max-width:100px;
    font-size:.78rem;
    line-height:1.3;
    color:#687b89;
}

.ses-clients-hero__graphic {
    position:relative;
    min-height:470px;
    background:
        linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.65) 19%, rgba(7,38,63,.08) 42%, rgba(7,38,63,.22) 100%),
        linear-gradient(135deg, #8fa5b5 0%, #516b7f 48%, #17384f 100%);
}

.ses-clients-hero__graphic::before,
.ses-clients-hero__graphic::after {
    content:"";
    position:absolute;
    border:1px solid rgba(255,255,255,.23);
}

.ses-clients-hero__graphic::before {
    width:260px;
    height:340px;
    right:45px;
    top:48px;
}

.ses-clients-hero__graphic::after {
    width:180px;
    height:260px;
    right:135px;
    top:95px;
}

.ses-clients-hero__panel {
    position:absolute;
    right:55px;
    top:115px;
    z-index:2;
    display:flex;
    flex-direction:column;
    gap:10px;
    color:#fff;
    font-size:1.55rem;
    letter-spacing:.2em;
    font-weight:300;
}

.ses-clients-hero__panel::after {
    content:"";
    width:64px;
    height:4px;
    margin-top:5px;
    background:#f46a1a;
}

/* TICKER */
.ses-clients-ticker {
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    align-items:center;
    border-bottom:1px solid #dfe6eb;
    background:#f7fafc;
    min-height:76px;
}

.ses-clients-ticker__label {
    padding:0 28px;
    font-size:.68rem;
    font-weight:800;
    letter-spacing:.12em;
    color:#586b78;
    white-space:nowrap;
    border-right:1px solid #dfe6eb;
}

.ses-clients-ticker__viewport {
    overflow:hidden;
}

.ses-clients-ticker__track {
    width:max-content;
    display:flex;
    align-items:center;
    gap:44px;
    padding:11px 30px;
    animation:ses-clients-ticker 36s linear infinite;
}

.ses-clients-ticker:hover .ses-clients-ticker__track {
    animation-play-state:paused;
}

.ses-clients-ticker__item {
    min-width:155px;
    height:52px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    flex-direction:column;
    color:#16364d;
}

.ses-clients-ticker__item img {
    width:145px;
    height:48px;
    object-fit:contain;
    filter:grayscale(1);
    opacity:.75;
    transition:filter .25s ease, opacity .25s ease;
}

.ses-clients-ticker__item:hover img {
    filter:none;
    opacity:1;
}

.ses-clients-ticker__item strong {
    font-size:.84rem;
    white-space:nowrap;
}

.ses-clients-ticker__item small {
    font-size:.65rem;
    color:#536775;
    text-transform:uppercase;
    letter-spacing:.07em;
}

@keyframes ses-clients-ticker {
    to { transform:translateX(-50%); }
}

/* CONTENT */
.ses-clients-content {
    padding:32px 0 78px;
}

.ses-client-filters {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:24px;
}

.ses-client-filters button {
    appearance:none;
    border:1px solid #e1e6ea;
    background:#f3f6f8;
    color:#405566;
    border-radius:8px;
    padding:11px 20px;
    font:inherit;
    font-size:.82rem;
    font-weight:700;
    cursor:pointer;
    transition:background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.ses-client-filters button:hover,
.ses-client-filters button:focus-visible {
    border-color:#f46a1a;
    color:#0b263a;
}

.ses-client-filters button.is-active {
    background:#c94800;
    border-color:#c94800;
    color:#fff;
    box-shadow:0 5px 14px rgba(201,72,0,.20);
}

/* TRUST GRID */
.ses-trust-grid {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px;
    align-items:stretch;
}

.ses-trust-card {
    position:relative;
    min-width:0;
    background:#fff;
    border:1px solid #e0e6ea;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 4px 15px rgba(9,36,57,.045);
    opacity:0;
    transform:translate3d(0,28px,0);
    transition:
        opacity .55s ease,
        transform .55s cubic-bezier(.22,.61,.36,1),
        box-shadow .28s ease,
        border-color .28s ease;
}

.ses-trust-card.is-visible {
    opacity:1;
    transform:translate3d(0,0,0);
}

.ses-trust-card:hover {
    transform:translateY(-4px);
    box-shadow:0 12px 28px rgba(9,36,57,.10);
    border-color:#cbd6dd;
}

.ses-trust-card.is-featured {
    grid-column:span 2;
    display:grid;
    grid-template-columns:minmax(0,1.05fr) minmax(260px,.95fr);
    background:#092943;
    color:#fff;
}

.ses-trust-card__featured {
    position:absolute;
    z-index:3;
    left:14px;
    top:14px;
    background:#c94800;
    color:#fff;
    padding:7px 10px;
    border-radius:5px;
    font-size:.64rem;
    line-height:1;
    font-weight:900;
    letter-spacing:.06em;
}

.ses-trust-card__visual {
    min-height:185px;
    background:#f3f6f8;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}

.ses-trust-card.is-featured .ses-trust-card__visual {
    min-height:100%;
}

.ses-trust-card__image {
    display:block;
    width:100%;
    height:100%;
    min-height:185px;
    object-fit:cover;
    transition:transform .5s ease, filter .35s ease;
}

/* Logo normalizzati: ogni marchio occupa lo stesso canvas visivo,
   indipendentemente dalle dimensioni del file caricato. */
.ses-trust-card.representation-logo .ses-trust-card__visual {
    height:220px;
    min-height:220px;
    padding:30px;
    background:#fff;
}

.ses-trust-card.representation-logo .ses-trust-card__image {
    width:auto;
    height:auto;
    min-height:0;
    max-width:220px;
    max-height:130px;
    object-fit:contain;
    padding:0;
    background:transparent;
}

.ses-trust-card.is-featured.representation-logo .ses-trust-card__visual {
    height:100%;
    min-height:260px;
}

.ses-trust-card.is-featured.representation-logo .ses-trust-card__image {
    max-width:260px;
    max-height:150px;
}

.ses-trust-card:hover .ses-trust-card__image {
    transform:scale(1.015);
}

.ses-trust-card.representation-logo:hover .ses-trust-card__image {
    transform:scale(1.025);
}

.ses-trust-card__icon {
    width:86px;
    height:86px;
    color:#173b55;
}

.ses-trust-card__icon svg {
    width:100%;
    height:100%;
    fill:none;
    stroke:currentColor;
    stroke-width:2.3;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.ses-trust-card__monogram {
    width:88px;
    height:88px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#0b263a;
    color:#fff;
    font-size:1.9rem;
    font-weight:800;
    letter-spacing:.03em;
}

.ses-trust-card__body {
    padding:17px;
    display:flex;
    flex-direction:column;
    min-width:0;
}

.ses-trust-card.is-featured .ses-trust-card__body {
    justify-content:center;
    padding:28px;
}

.ses-trust-card__accent {
    width:30px;
    height:3px;
    background:#f46a1a;
    margin-bottom:10px;
}

.ses-trust-card h2 {
    margin:0 0 7px;
    color:#0b263a;
    font-size:1.05rem;
    line-height:1.25;
    letter-spacing:-.018em;
}

.ses-trust-card.is-featured h2 {
    color:#fff;
    font-size:1.55rem;
}

.ses-trust-card__meta {
    display:flex;
    gap:7px 12px;
    flex-wrap:wrap;
    margin-bottom:11px;
    color:#697b88;
    font-size:.76rem;
}

.ses-trust-card__meta span + span::before {
    content:"";
    width:3px;
    height:3px;
    display:inline-block;
    vertical-align:middle;
    margin-right:9px;
    border-radius:50%;
    background:#f46a1a;
}

.ses-trust-card.is-featured .ses-trust-card__meta {
    color:#b9cad6;
}

.ses-trust-card p {
    margin:0 0 13px;
    color:#566b7a;
    line-height:1.5;
    font-size:.88rem;
}

.ses-trust-card.is-featured p {
    color:#d6e0e6;
}

.ses-trust-card__services {
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin-top:auto;
}

.ses-trust-card__services span {
    background:#eef3f6;
    color:#405566;
    padding:5px 8px;
    border-radius:5px;
    font-size:.68rem;
    line-height:1.2;
}

.ses-trust-card.is-featured .ses-trust-card__services span {
    background:rgba(255,255,255,.12);
    color:#e9f0f4;
}

.ses-trust-card__case {
    display:inline-flex;
    align-self:flex-start;
    margin-top:16px;
    border:1px solid #f46a1a;
    border-radius:6px;
    padding:8px 11px;
    color:#0b263a;
    text-decoration:none;
    font-size:.72rem;
    font-weight:800;
}

.ses-trust-card.is-featured .ses-trust-card__case {
    color:#fff;
}

.ses-trust-card__case:hover,
.ses-trust-card__case:focus-visible {
    background:#f46a1a;
    color:#fff;
}

/* LOADER */
.ses-clients-loader {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    min-height:72px;
    margin-top:14px;
    color:#71808d;
    font-size:.72rem;
    font-weight:700;
    letter-spacing:.09em;
    text-transform:uppercase;
}

.ses-clients-loader[hidden] {
    display:none!important;
}

.ses-clients-loader__spinner {
    width:18px;
    height:18px;
    border-radius:50%;
    border:2px solid #dbe3e9;
    border-top-color:#2855e7;
    animation:ses-clients-spin .8s linear infinite;
}

@keyframes ses-clients-spin {
    to { transform:rotate(360deg); }
}

/* STACCO PRIMA DEL CTA FOOTER */
.ses-clients-separator {
    width:100%;
    height:96px;
    background:#07263f;
    border-top:1px solid rgba(255,255,255,.06);
    border-bottom:1px solid rgba(0,0,0,.18);
}

/* RESPONSIVE */
@media (max-width:1180px) {
    .ses-trust-grid {
        grid-template-columns:repeat(3,minmax(0,1fr));
    }

    .ses-trust-card.is-featured {
        grid-column:span 2;
    }
}

@media (max-width:900px) {
    .ses-clients-hero__grid {
        grid-template-columns:1fr;
        min-height:auto;
    }

    .ses-clients-hero__copy {
        padding:58px 0 48px;
    }

    .ses-clients-hero__graphic {
        min-height:260px;
    }

    .ses-clients-ticker {
        grid-template-columns:1fr;
    }

    .ses-clients-ticker__label {
        padding:12px 18px 0;
        border-right:0;
    }

    .ses-trust-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media (max-width:620px) {
    .ses-clients-hero h1 {
        font-size:3rem;
    }

    .ses-clients-stats {
        gap:18px;
    }

    .ses-clients-stats > div {
        width:100%;
    }

    .ses-clients-hero__graphic {
        display:none;
    }

    .ses-client-filters {
        display:flex;
        overflow-x:auto;
        flex-wrap:nowrap;
        padding-bottom:5px;
        scrollbar-width:none;
    }

    .ses-client-filters::-webkit-scrollbar {
        display:none;
    }

    .ses-client-filters button {
        white-space:nowrap;
    }

    .ses-trust-grid {
        grid-template-columns:1fr;
    }

    .ses-trust-card.is-featured {
        grid-column:auto;
        display:block;
    }

    .ses-trust-card.is-featured .ses-trust-card__visual {
        min-height:210px;
    }

    .ses-clients-separator {
        height:64px;
    }
}

@media (prefers-reduced-motion:reduce) {
    .ses-clients-ticker__track,
    .ses-clients-loader__spinner {
        animation:none!important;
    }

    .ses-trust-card,
    .ses-trust-card__image {
        transition:none!important;
    }

    .ses-trust-card {
        opacity:1;
        transform:none;
    }
}
