/* ==========================================================================
   logos.css — shared by clients.html and partners.html
   Same language as the homepage: navy hero, cyan accents, Outfit headings.
   Classes prefixed lg- so nothing collides with other pages.
   ========================================================================== */

.logos-page {
    background: #f4f9ff;
}

.lg-wrap {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
}

.lg-section {
    padding: 84px 0;
}

.lg-title {
    text-align: center;
    margin-bottom: 40px;
}

.lg-line {
    width: 80px;
    height: 4px;
    margin: 0 auto 18px;
    border-radius: 2px;
    background: linear-gradient(90deg, #0077a8, #00dcff);
}

.lg-title h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.9rem, 4.2vw, 2.8rem);
    font-weight: 800;
    color: #002b45;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

.lg-title p {
    color: #0077a8;
    font-size: 0.92rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.lg-grad {
    background: linear-gradient(135deg, #00dcff, #7ec8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 32px;
    border-radius: 50px;
    border: none;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background 0.25s ease;
}

.lg-btn-primary {
    background: linear-gradient(135deg, #00b8ff, #0077a8);
    color: #fff;
    box-shadow: 0 15px 40px rgba(0, 150, 220, 0.35);
}

.lg-btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(0, 180, 255, 0.5);
}

.lg-btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
}

.lg-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ============ HERO ============ */
.lg-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    text-align: center;
    padding: 140px 0 118px;
    background:
        radial-gradient(circle at 20% 28%, rgba(0, 184, 255, 0.22) 0%, transparent 45%),
        radial-gradient(circle at 82% 68%, rgba(0, 220, 255, 0.15) 0%, transparent 40%),
        linear-gradient(160deg, #001420 0%, #002b45 55%, #03446d 100%);
}

.lg-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 22px;
    border-radius: 50px;
    background: rgba(0, 200, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #d4f0ff;
    margin-bottom: 22px;
}

.lg-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.3rem, 5.4vw, 4rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -1.2px;
    margin-bottom: 18px;
    text-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
}

.lg-hero p {
    max-width: 64ch;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.86);
}

.lg-facts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 40px;
    margin-top: 36px;
    list-style: none;
}

.lg-facts li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.lg-facts strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    color: #00dcff;
}

.lg-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    line-height: 0;
}

.lg-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ============ FILTERS ============ */
.lg-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 34px;
}

.lg-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid #cfe3f0;
    background: #fff;
    color: #03446d;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lg-chip:hover {
    border-color: #00b8ff;
}

.lg-chip[aria-pressed="true"] {
    background: linear-gradient(135deg, #00b8ff, #0077a8);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 22px rgba(0, 150, 220, 0.3);
}

.lg-chip .n {
    min-width: 22px;
    padding: 1px 7px;
    border-radius: 20px;
    background: rgba(0, 119, 168, 0.12);
    font-size: 0.78rem;
}

.lg-chip[aria-pressed="true"] .n {
    background: rgba(255, 255, 255, 0.25);
}

/* ============ LOGO GRID ============ */
.lg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 20px;
}

.lg-item {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 26px 22px 22px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(0, 150, 210, 0.14);
    box-shadow: 0 12px 30px rgba(0, 60, 100, 0.06);
    text-decoration: none;
    color: inherit;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.lg-item:hover {
    transform: translateY(-8px);
    border-color: #00b4e6;
    box-shadow: 0 26px 50px rgba(0, 110, 160, 0.16);
}

/* The logo sits in a fixed box so different shapes line up neatly */
.lg-shot {
    position: relative;
    display: grid;
    place-items: center;
    height: 92px;
    padding: 6px;
    border-radius: 14px;
    background: #f7fbfe;
}

.lg-shot img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.lg-item:hover .lg-shot img {
    filter: none;
    opacity: 1;
}

/* No logo file yet → show the company's initials instead of a broken image */
.lg-shot.missing img {
    display: none;
}

.lg-mono {
    display: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #0077a8;
}

.lg-shot.missing .lg-mono {
    display: block;
}

.lg-name {
    font-weight: 700;
    font-size: 1rem;
    color: #002b45;
    line-height: 1.35;
}

.lg-cat {
    font-size: 0.78rem;
    font-weight: 600;
    color: #5a6b7c;
}

.lg-cat i {
    color: #00a6d6;
    margin-right: 6px;
}

.lg-ext {
    margin-top: auto;
    padding-top: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0077a8;
}

.lg-ext i {
    margin-left: 5px;
    font-size: 0.75rem;
}

/* ============ EMPTY STATE ============ */
.lg-empty {
    grid-column: 1 / -1;
    padding: 56px 28px;
    text-align: center;
    border-radius: 22px;
    background: #fff;
    border: 2px dashed #cfe3f0;
}

.lg-empty i {
    font-size: 2.2rem;
    color: #9cc8e2;
    margin-bottom: 14px;
}

.lg-empty h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    color: #002b45;
    margin-bottom: 8px;
}

.lg-empty p {
    max-width: 52ch;
    margin: 0 auto;
    color: #5a6b7c;
    line-height: 1.75;
}

/* ============ TRUST / NOTE STRIP ============ */
.lg-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 48px;
}

.lg-strip-item {
    padding: 26px 24px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(0, 150, 210, 0.14);
    box-shadow: 0 12px 30px rgba(0, 60, 100, 0.06);
}

.lg-strip-item .ico {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    font-size: 1.3rem;
    color: #005a8c;
    background: linear-gradient(145deg, #e6f4ff, #ccebff);
}

.lg-strip-item h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: #002b45;
    margin-bottom: 6px;
}

.lg-strip-item p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: #5a6b7c;
}

/* ============ CTA ============ */
.lg-cta {
    position: relative;
    overflow: hidden;
    padding: 84px 0;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(circle at 15% 20%, rgba(0, 220, 255, 0.25), transparent 40%),
        linear-gradient(135deg, #002b45, #03446d);
}

.lg-cta h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 4.2vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 14px;
}

.lg-cta p {
    max-width: 58ch;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.8;
}

.lg-cta-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
    .lg-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .lg-section {
        padding: 58px 0;
    }

    .lg-hero {
        padding: 118px 0 92px;
    }

    .lg-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 14px;
    }

    .lg-item {
        padding: 18px 16px 16px;
        gap: 10px;
    }

    .lg-shot {
        height: 74px;
    }

    .lg-name {
        font-size: 0.92rem;
    }

    /* Filter chips become one swipeable row */
    .lg-filters {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        margin-inline: -24px;
        padding: 4px 24px 14px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .lg-filters::-webkit-scrollbar {
        display: none;
    }

    .lg-chip {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }
}

/* Keep client/partner logos in their original colors */
.lg-shot img {
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Highlight logo on hover */
.lg-item:hover .lg-shot img {
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
    transform: scale(1.08);
}

@media (max-width: 480px) {
    .lg-cta-links .lg-btn {
        flex: 1 1 100%;
    }
}

/* Touch screens: no sticky hover, and show logos in colour straight away */
@media (hover: none) {
    .lg-item:hover {
        transform: none;
    }

    .lg-shot img {
        filter: none;
        opacity: 1;
    }
}
