/**
 * WMSPL Company pages (About, Solutions) - shared styles.
 * Builds on custom-ot-pendant.css and custom-solution-card.css.
 */

/* Header / footer must always show */
body .wmspl-header-scope,
body .wmspl-footer-scope {
    display: block !important;
}

body header.wmspl-header-scope {
    position: sticky;
    top: 0;
    z-index: 999;
}

/* ===== HERO ===== */
.wmspl-co-hero {
    padding: 28px 0 60px;
    background:
        radial-gradient(circle at 88% 6%, rgba(15, 138, 166, 0.18) 0%, rgba(255, 255, 255, 0) 45%),
        linear-gradient(180deg, #F0F9FB 0%, #FFFFFF 100%);
    overflow: hidden;
}

.wmspl-co-hero-center {
    padding-bottom: 70px;
    background: radial-gradient(circle at 50% 0%, #12607a 0%, #0a3a48 45%, #06222b 100%);
    color: #fff;
    text-align: center;
}

.wmspl-co-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.wmspl-co-crumbs {
    font-size: 13px;
    color: var(--wmspl-slate-500);
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.wmspl-co-crumbs a {
    color: var(--wmspl-slate-500);
    text-decoration: none;
}

.wmspl-co-crumbs b {
    color: var(--wmspl-teal-dark);
}

.wmspl-co-hero-center .wmspl-co-crumbs {
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
}

.wmspl-co-hero-center .wmspl-co-crumbs a {
    color: rgba(255, 255, 255, 0.7);
}

.wmspl-co-hero-center .wmspl-co-crumbs b {
    color: #fff;
}

.wmspl-co-eyebrow {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--wmspl-teal);
    margin-bottom: 14px;
}

.wmspl-co-hero-center .wmspl-co-eyebrow {
    color: #5fd3ea;
}

.wmspl-co-h1 {
    font-size: clamp(38px, 4.6vw, 66px);
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 0 0 20px;
}

.wmspl-co-h1 span {
    display: block;
    color: var(--wmspl-teal);
}

.wmspl-co-hero-center .wmspl-co-h1 {
    color: #fff;
}

.wmspl-co-hero-center .wmspl-co-h1 span {
    color: #5fd3ea;
}

.wmspl-co-lead {
    font-size: 17.5px;
    line-height: 1.8;
    color: var(--wmspl-slate-600);
    max-width: 640px;
    margin: 0 0 30px;
}

.wmspl-co-lead strong {
    color: var(--wmspl-navy);
}

.wmspl-co-hero-center .wmspl-co-lead {
    color: rgba(255, 255, 255, 0.82);
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.wmspl-co-hero-center .wmspl-co-lead strong {
    color: #fff;
}

.wmspl-co-actions-center {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.wmspl-co-hero .wmspl-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.wmspl-co-btn-ghost {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
}

.wmspl-co-hero:not(.wmspl-co-hero-center) .wmspl-co-btn-ghost {
    background: #fff !important;
    color: var(--wmspl-navy) !important;
    border: 1px solid #dbe5ea !important;
}

.wmspl-co-btn-ghost:hover {
    background: #fff !important;
    color: var(--wmspl-teal-dark) !important;
}

.wmspl-co-btn-ghost-dark {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

.wmspl-co-btn-ghost-dark:hover {
    background: #fff !important;
    color: var(--wmspl-teal-dark) !important;
}

.wmspl-co-hero-img {
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid #dbe5ea;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.2);
    background: var(--wmspl-slate-100);
}

.wmspl-co-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== STATS ===== */
.wmspl-co-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 50px;
}

.wmspl-co-stats > div {
    padding: 22px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wmspl-co-stats strong {
    font-size: 26px;
    line-height: 1.2;
    color: #fff;
}

.wmspl-co-stats span {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.72);
}

.wmspl-co-stats-light > div {
    background: #fff;
    border-color: #dbe5ea;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    text-align: left;
}

.wmspl-co-stats-light strong {
    color: var(--wmspl-teal);
}

.wmspl-co-stats-light span {
    color: var(--wmspl-slate-500);
}

.wmspl-co-hero-center .wmspl-co-stats > div {
    text-align: center;
}

/* ===== SPLIT ===== */
.wmspl-co-split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.wmspl-co-split.is-reverse > :first-child {
    order: 2;
}

.wmspl-co-h2 {
    font-size: clamp(28px, 2.8vw, 40px);
    line-height: 1.2;
    letter-spacing: -0.4px;
    margin: 14px 0 18px;
}

.wmspl-co-split p {
    font-size: 16.5px;
    line-height: 1.85;
    color: var(--wmspl-slate-600);
    margin: 0 0 16px;
}

.wmspl-co-split p strong {
    color: var(--wmspl-navy);
}

.wmspl-co-tags {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wmspl-co-tags li {
    padding: 8px 16px;
    border-radius: 50px;
    background: var(--wmspl-teal-light);
    color: var(--wmspl-teal-dark);
    border: 1px solid var(--wmspl-teal-border);
    font-weight: 600;
    font-size: 14px;
}

.wmspl-co-photo-stack {
    position: relative;
    border-radius: 26px;
    overflow: visible;
}

.wmspl-co-photo-stack img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-radius: 26px;
    box-shadow: 0 28px 56px rgba(15, 23, 42, 0.18);
}

.wmspl-co-float {
    position: absolute;
    left: -22px;
    bottom: -22px;
    background: linear-gradient(135deg, #0a5c6f 0%, #0F8AA6 100%);
    color: #fff;
    padding: 18px 24px;
    border-radius: 18px;
    box-shadow: 0 18px 36px rgba(15, 138, 166, 0.35);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wmspl-co-float strong {
    font-size: 20px;
}

.wmspl-co-float span {
    font-size: 13px;
    opacity: 0.9;
}

/* ===== DARK ===== */
.wmspl-co-dark {
    background: linear-gradient(135deg, #06222b 0%, #0a3a48 100%);
}

.wmspl-co-dark .wmspl-section-title {
    color: #fff;
}

.wmspl-co-mv {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.wmspl-co-mv article {
    padding: 30px 26px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.wmspl-co-mv article:hover {
    transform: translateY(-6px);
    border-color: #5fd3ea;
    background: rgba(255, 255, 255, 0.1);
}

.wmspl-co-ic {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(95, 211, 234, 0.16);
    color: #5fd3ea;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.wmspl-co-mv h3 {
    color: #fff !important;
    font-size: 20px;
    margin: 0 0 10px;
}

.wmspl-co-mv p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.76);
}

.wmspl-co-mv p strong {
    color: #fff;
}

.wmspl-co-why {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.wmspl-co-why > div {
    padding: 28px 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.wmspl-co-why span {
    display: inline-block;
    background: #5fd3ea;
    color: #06222b;
    font-weight: 800;
    font-size: 14px;
    padding: 4px 12px;
    border-radius: 8px;
    margin-bottom: 14px;
}

.wmspl-co-why h3 {
    color: #fff !important;
    font-size: 19px;
    margin: 0 0 8px;
}

.wmspl-co-why p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.74);
}

/* ===== CARDS GRID (4 col variant) ===== */
.wmspl-sc-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.wmspl-co-more {
    text-align: center;
    margin: 40px 0 0;
}

/* ===== CHIPS ===== */
.wmspl-co-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.wmspl-co-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 50px;
    background: #fff;
    color: var(--wmspl-slate-700);
    border: 1px solid #dbe5ea;
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}

.wmspl-co-chip em {
    font-style: normal;
    font-size: 12px;
    background: var(--wmspl-slate-100);
    padding: 2px 9px;
    border-radius: 50px;
}

.wmspl-co-chip:hover {
    border-color: var(--wmspl-teal);
    color: var(--wmspl-teal-dark);
}

.wmspl-co-chip.is-active {
    background: var(--wmspl-teal);
    color: #fff;
    border-color: var(--wmspl-teal);
    box-shadow: 0 10px 22px rgba(15, 138, 166, 0.3);
}

.wmspl-co-chip.is-active em {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

/* ===== GALLERY ===== */
.wmspl-co-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.wmspl-co-gallery figure {
    margin: 0;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.wmspl-co-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.wmspl-co-gallery figure:hover img {
    transform: scale(1.08);
}

/* ===== CTA ===== */
.wmspl-co-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 46px 52px;
    border-radius: 28px;
    background: linear-gradient(135deg, #0a5c6f 0%, #0F8AA6 100%);
    color: #fff;
    box-shadow: 0 28px 56px rgba(15, 138, 166, 0.3);
}

.wmspl-co-cta h2 {
    color: #fff !important;
    font-size: clamp(24px, 2.4vw, 34px);
    margin: 0 0 8px;
}

.wmspl-co-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 16.5px;
}

.wmspl-co-cta-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.wmspl-co-cta .wmspl-btn-primary {
    background: #fff !important;
    color: var(--wmspl-teal-dark) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .wmspl-co-mv,
    .wmspl-co-why,
    .wmspl-sc-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .wmspl-co-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .wmspl-co-hero-grid,
    .wmspl-co-split {
        grid-template-columns: 1fr;
    }

    .wmspl-co-split.is-reverse > :first-child {
        order: 0;
    }

    .wmspl-co-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 34px 28px;
    }

    .wmspl-co-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .wmspl-co-float {
        left: 12px;
        bottom: -18px;
    }
}

@media (max-width: 640px) {
    .wmspl-co-mv,
    .wmspl-co-why,
    .wmspl-sc-grid-4,
    .wmspl-co-gallery {
        grid-template-columns: 1fr;
    }

    .wmspl-co-hero .wmspl-hero-actions .wmspl-btn {
        width: 100%;
        justify-content: center;
    }

    .wmspl-co-chips {
        justify-content: flex-start;
    }
}


/* ===== ABOUT: background-image hero + stats strip ===== */
.wmspl-ab-hero {
    position: relative;
    background-size: cover;
    background-position: center 40%;
    background-color: #06222b;
    color: #fff;
    padding: 26px 0 150px;
    overflow: hidden;
}
.wmspl-ab-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 34, 43, 0.92) 0%, rgba(8, 70, 88, 0.78) 48%, rgba(16, 141, 170, 0.35) 100%),
        linear-gradient(180deg, rgba(6, 34, 43, 0.25) 0%, rgba(6, 34, 43, 0.55) 100%);
}
.wmspl-ab-hero-inner { position: relative; z-index: 2; }
.wmspl-ab-hero .wmspl-co-crumbs,
.wmspl-ab-hero .wmspl-co-crumbs a { color: rgba(255, 255, 255, 0.75); }
.wmspl-ab-hero .wmspl-co-crumbs b { color: #fff; }
.wmspl-ab-hero-text { max-width: 720px; padding-top: 40px; }
.wmspl-ab-hero .wmspl-co-eyebrow { color: #7fe0f5; }
.wmspl-ab-hero .wmspl-co-h1 { color: #fff; }
.wmspl-ab-hero .wmspl-co-h1 span { color: #7fe0f5; }
.wmspl-ab-hero .wmspl-co-lead { color: rgba(255, 255, 255, 0.9); }
.wmspl-ab-hero .wmspl-co-lead strong { color: #fff; }
.wmspl-ab-hero .wmspl-co-btn-ghost { background: rgba(255, 255, 255, 0.12) !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, 0.55) !important; }
.wmspl-ab-hero .wmspl-co-btn-ghost:hover { background: #fff !important; color: var(--wmspl-teal-dark) !important; }

.wmspl-ab-stats-wrap { position: relative; z-index: 5; margin-top: -62px; }
.wmspl-ab-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    padding: 22px 24px;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.16);
    border: 1px solid #e6eef2;
}
.wmspl-ab-stat { display: flex; align-items: center; gap: 14px; padding: 6px 10px; min-width: 0; }
.wmspl-ab-stat-ic {
    width: 50px; height: 50px; flex: 0 0 50px;
    border-radius: 12px;
    background: #DDEBF1;
    color: #108DAA;
    display: flex; align-items: center; justify-content: center;
}
.wmspl-ab-stat strong { display: block; font-size: 26px; line-height: 1.1; color: #108DAA; font-weight: 700; }
.wmspl-ab-stat span:not(.wmspl-ab-stat-ic) { display: block; font-size: 13.5px; color: #1f2937; line-height: 1.35; }
@media (max-width: 1100px) { .wmspl-ab-stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) {
    .wmspl-ab-hero { padding-bottom: 110px; }
    .wmspl-ab-hero-text { padding-top: 20px; }
    .wmspl-ab-stats { grid-template-columns: repeat(2, 1fr); padding: 16px; gap: 14px 6px; }
    .wmspl-ab-stat { gap: 10px; padding: 4px; }
    .wmspl-ab-stat-ic { width: 42px; height: 42px; flex-basis: 42px; }
    .wmspl-ab-stat strong { font-size: 21px; }
    .wmspl-ab-stat span:not(.wmspl-ab-stat-ic) { font-size: 12.5px; }
}
@media (max-width: 420px) { .wmspl-ab-stats { grid-template-columns: 1fr; } }
