/* EALD Living - Clients and Industries (Bootstrap-compatible; no Tailwind). */

.eald-clients-shell {
    background: #f7f9fb;
    color: #191c1e;
    font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    overflow-x: hidden;
}

.eald-clients-main {
    padding-top: clamp(0.75rem, 2vw, 1.75rem);
    padding-bottom: 0;
}

.eald-clients-container {
    width: min(1200px, 94vw);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 4vw, 3rem);
    padding-right: clamp(1rem, 4vw, 3rem);
}

.eald-clients-hero {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.eald-clients-eyebrow {
    display: block;
    font-family: Manrope, system-ui, sans-serif;
    font-size: 0.75rem;
    line-height: 1.33;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(69, 70, 77, 0.72);
    margin-bottom: 1rem;
}

.eald-clients-title {
    margin: 0 0 1.25rem;
    font-family: Newsreader, Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.12;
    font-weight: 600;
    color: #000000;
}

.eald-clients-title-rule {
    width: 4rem;
    height: 4px;
    margin: 0 auto;
    background: #131b2e;
    border: 0;
}

.eald-clients-bento {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 3vw, 2rem);
}

@media (min-width: 768px) {
    .eald-clients-bento {
        grid-template-columns: repeat(12, 1fr);
    }

    .eald-clients-bento-card--span-8 {
        grid-column: span 8;
    }

    .eald-clients-bento-card--span-4 {
        grid-column: span 4;
    }
}

.eald-clients-bento-card {
    border: 1px solid rgba(198, 198, 205, 0.45);
    border-radius: 0.5rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.25s ease;
}

.eald-clients-bento-card:hover {
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
}

.eald-clients-bento-card--muted {
    background: #f2f4f6;
}

.eald-clients-card-media {
    height: clamp(13rem, 28vw, 16rem);
    overflow: hidden;
}

.eald-clients-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.eald-clients-card-media--dual-theme .eald-clients-theme-img--dark {
    display: none;
}

[data-theme="dark"] .eald-clients-card-media--dual-theme .eald-clients-theme-img--light {
    display: none;
}

[data-theme="dark"] .eald-clients-card-media--dual-theme .eald-clients-theme-img--dark {
    display: block;
}

.eald-clients-bento-card:hover .eald-clients-card-media img {
    transform: scale(1.05);
}

.eald-clients-sector-gradient {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(19, 27, 46, 0.05) 100%);
}

.eald-clients-card-body {
    padding: clamp(1.75rem, 3.5vw, 2.5rem);
}

.eald-clients-card-body--flex {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.eald-clients-sector-index {
    display: block;
    font-family: Manrope, system-ui, sans-serif;
    font-size: 0.75rem;
    line-height: 1.33;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(69, 70, 77, 0.65);
    margin-bottom: 0.5rem;
}

.eald-clients-sector-title {
    margin: 0;
    font-family: Newsreader, Georgia, serif;
    font-weight: 500;
    color: #131b2e;
    font-size: clamp(1.35rem, 2.2vw, 2.05rem);
    line-height: 1.22;
}

.eald-clients-sector-title--md {
    font-size: clamp(1.2rem, 1.8vw, 1.45rem);
    line-height: 1.3;
}

.eald-clients-sector-head {
    margin-bottom: 1.75rem;
}

.eald-clients-list {
    list-style: none;
    margin: 0;
    padding: 1.75rem 0 0;
    border-top: 1px solid rgba(198, 198, 205, 0.35);
}

.eald-clients-list--grow {
    flex: 1 1 auto;
}

.eald-clients-list li {
    margin: 0 0 0.85rem;
    font-size: clamp(1rem, 1.15vw, 1.1rem);
    line-height: 1.45;
    color: #191c1e;
}

.eald-clients-list--compact li {
    margin-bottom: 0.4rem;
    font-size: 1rem;
    line-height: 1.5;
}

.eald-clients-list--muted li {
    color: #45464d;
}

.eald-clients-list li:last-child {
    margin-bottom: 0;
}

.eald-clients-body-text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #45464d;
}

.eald-clients-body-text--lg {
    font-size: clamp(1.02rem, 1.2vw, 1.1rem);
    line-height: 1.45;
    color: #191c1e;
}

.eald-clients-list--flush {
    border: 0;
    padding: 0;
}

.eald-clients-oil-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(198, 198, 205, 0.35);
}

.eald-clients-oil-cols .eald-clients-list {
    margin: 0;
}

@media (min-width: 576px) {
    .eald-clients-oil-cols {
        grid-template-columns: 1fr 1fr;
    }
}

.eald-clients-bento-accent-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 3vw, 2rem);
    margin-top: 0.25rem;
}

@media (min-width: 576px) {
    .eald-clients-bento-accent-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .eald-clients-bento-accent-row {
        grid-template-columns: repeat(4, 1fr);
    }
}

.eald-clients-accent-card {
    padding: 1.75rem;
    background: #ffffff;
    border: 1px solid rgba(198, 198, 205, 0.45);
    border-left: 4px solid #131b2e;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.2s ease;
}

.eald-clients-accent-card:hover {
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1);
}

.eald-clients-accent-title {
    margin: 0 0 0.85rem;
    font-family: Manrope, system-ui, sans-serif;
    font-size: 0.75rem;
    line-height: 1.33;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #131b2e;
}

.eald-clients-logos-section {
    margin-top: clamp(4rem, 10vw, 7.5rem);
    padding-top: clamp(3rem, 6vw, 4.5rem);
    padding-bottom: clamp(3rem, 6vw, 4.5rem);
    background: #f2f4f6;
    border-top: 1px solid rgba(198, 198, 205, 0.25);
    border-bottom: 1px solid rgba(198, 198, 205, 0.25);
}

.eald-clients-logos-intro {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.eald-clients-logos-intro .eald-clients-sector-title {
    margin-top: 0.35rem;
}

.eald-clients-logo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: center;
}

@media (min-width: 768px) {
    .eald-clients-logo-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.eald-clients-logo-cell {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.75rem, 3vw, 2.75rem);
    background: #ffffff;
    border: 1px solid rgba(198, 198, 205, 0.35);
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.eald-clients-logo-cell:hover {
    border-color: #131b2e;
}

.eald-clients-logo-cell img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.eald-clients-cta-section {
    padding: clamp(3rem, 7vw, 5.5rem) 0;
    background: #131b2e;
    color: #ffffff;
    text-align: center;
}

.eald-clients-cta-inner {
    max-width: 48rem;
    margin: 0 auto;
    padding-left: clamp(1rem, 4vw, 3rem);
    padding-right: clamp(1rem, 4vw, 3rem);
}

.eald-clients-cta-title {
    margin: 0 0 1.25rem;
    font-family: Newsreader, Georgia, serif;
    font-size: clamp(1.65rem, 3vw, 2.1rem);
    line-height: 1.25;
    font-weight: 500;
    color: #ffffff;
}

.eald-clients-cta-lead {
    margin: 0 0 2.25rem;
    font-size: clamp(1.02rem, 1.4vw, 1.1rem);
    line-height: 1.55;
    color: rgba(224, 227, 229, 0.88);
}

.eald-clients-cta-btn {
    display: inline-block;
    padding: 0.95rem 2.35rem;
    font-family: Manrope, system-ui, sans-serif;
    font-size: 0.875rem;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    color: #ffffff;
    background: #a83900;
    border-radius: 0.5rem;
    border: 0;
    box-shadow: 0 2px 8px rgba(168, 57, 0, 0.25);
    transition:
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease,
        transform 0.2s ease;
}

.eald-clients-cta-btn:hover,
.eald-clients-cta-btn:focus {
    color: #ffffff;
    text-decoration: none;
    background: #a83900;
    box-shadow: 0 6px 16px rgba(168, 57, 0, 0.35);
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.eald-clients-cta-btn:focus {
    outline: none;
}

.eald-clients-cta-btn:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

[data-theme="dark"] .eald-clients-shell {
    background: #12151a;
    color: #e5e7eb;
}

[data-theme="dark"] .eald-clients-title {
    color: #f8fafc;
}

[data-theme="dark"] .eald-clients-eyebrow {
    color: rgba(148, 163, 184, 0.85);
}

[data-theme="dark"] .eald-clients-bento-card {
    background: #1a1f26;
    border-color: rgba(148, 163, 184, 0.22);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

[data-theme="dark"] .eald-clients-bento-card:hover {
    border-color: rgba(203, 213, 225, 0.55);
    box-shadow:
        0 14px 48px rgba(0, 0, 0, 0.58),
        0 0 0 1px rgba(203, 213, 225, 0.28),
        0 6px 28px rgba(148, 163, 184, 0.2);
}

[data-theme="dark"] .eald-clients-bento-card--muted {
    background: #141920;
}

[data-theme="dark"] .eald-clients-title-rule {
    background: #cbd5e1;
}

[data-theme="dark"] .eald-clients-sector-index {
    color: #cbd5e1;
}

[data-theme="dark"] .eald-clients-sector-gradient {
    background: linear-gradient(180deg, rgba(26, 31, 38, 0) 0%, rgba(255, 255, 255, 0.06) 100%);
}

[data-theme="dark"] .eald-clients-list {
    border-top-color: rgba(148, 163, 184, 0.4);
}

[data-theme="dark"] .eald-clients-oil-cols {
    border-top-color: rgba(148, 163, 184, 0.4);
}

[data-theme="dark"] .eald-clients-sector-title,
[data-theme="dark"] .eald-clients-accent-title {
    color: #f1f5f9;
}

[data-theme="dark"] .eald-clients-list li,
[data-theme="dark"] .eald-clients-body-text--lg {
    color: #f1f5f9;
}

[data-theme="dark"] .eald-clients-body-text,
[data-theme="dark"] .eald-clients-list--muted li {
    color: #cbd5e1;
}

[data-theme="dark"] .eald-clients-accent-card {
    background: #1a1f26;
    border-color: rgba(148, 163, 184, 0.22);
    border-left-color: #94a3b8;
}

[data-theme="dark"] .eald-clients-logos-section {
    background: #141920;
    border-color: rgba(148, 163, 184, 0.18);
}

[data-theme="dark"] .eald-clients-logo-cell {
    background: #1a1f26;
    border-color: rgba(148, 163, 184, 0.22);
}

[data-theme="dark"] .eald-clients-logo-cell:hover {
    border-color: #94a3b8;
}

@media (prefers-reduced-motion: reduce) {
    .eald-clients-bento-card,
    .eald-clients-bento-card:hover,
    .eald-clients-card-media img,
    .eald-clients-bento-card:hover .eald-clients-card-media img,
    .eald-clients-accent-card,
    .eald-clients-logo-cell,
    .eald-clients-cta-btn {
        transition: none;
    }

    .eald-clients-bento-card:hover .eald-clients-card-media img {
        transform: none;
    }

    .eald-clients-cta-btn:hover {
        transform: none;
    }
}
