/* ── Corporate Page ──────────────────────── */

/* Brand Statement */
.corp-brand {
    text-align: center;
    max-width: 800px;
    margin-inline: auto;
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

.corp-brand__title {
    font-family: var(--font-display);
    font-size: var(--font-size-4xl);
    font-weight: 400;
    line-height: var(--line-height-tight);
    color: var(--color-dark);
    margin-bottom: var(--space-lg);
}

.corp-brand__subtitle {
    font-size: var(--font-size-md);
    line-height: var(--line-height-loose);
    color: var(--color-text-light);
    max-width: 650px;
    margin-inline: auto;
}

/* Stats Row */
.corp-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding-block: var(--space-2xl);
    margin-top: var(--space-xl);
}

.corp-stats__item {
    text-align: center;
    position: relative;
    padding-inline: var(--space-lg);
}

.corp-stats__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: var(--color-border);
}

.corp-stats__number {
    display: block;
    font-family: var(--font-display);
    font-size: var(--font-size-3xl);
    font-weight: 400;
    color: var(--color-primary);
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-xs);
}

.corp-stats__label {
    display: block;
    font-size: var(--font-size-xs);
    font-weight: 700;
    letter-spacing: var(--tracking-editorial);
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* Team Image — Full-bleed */
.corp-team-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    max-height: 700px;
    overflow: hidden;
}

.corp-team-hero__image {
    position: absolute;
    inset: 0;
}

.corp-team-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.corp-team-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.85) 0%,
        rgba(15, 23, 42, 0.4) 50%,
        rgba(15, 23, 42, 0.2) 100%
    );
    display: flex;
    align-items: flex-end;
    padding-bottom: var(--space-4xl);
}

.corp-team-hero__quote {
    max-width: 600px;
    border-left: 3px solid var(--color-accent);
    padding-left: var(--space-xl);
    margin: 0;
}

.corp-team-hero__quote p {
    font-family: var(--font-display);
    font-size: var(--font-size-xl);
    font-style: italic;
    font-weight: 400;
    line-height: var(--line-height-normal);
    color: var(--color-white);
    margin: 0;
}

/* Mission & Vision — Purpose Cards */
.corp-purpose {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
}

.corp-purpose__card {
    display: flex;
    gap: var(--space-xl);
    padding: var(--space-2xl);
    background: var(--color-white);
    border-left: 3px solid var(--color-accent);
    transition: box-shadow var(--transition-base);
}

.corp-purpose__card:hover {
    box-shadow: var(--shadow-md);
}

.corp-purpose__icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-light-bg);
    color: var(--color-primary);
}

.corp-purpose__label {
    font-size: var(--font-size-xs);
    font-weight: 700;
    letter-spacing: var(--tracking-editorial);
    text-transform: uppercase;
    color: var(--color-primary);
    display: block;
    margin-bottom: var(--space-sm);
}

.corp-purpose__content h3 {
    font-size: var(--font-size-lg);
    color: var(--color-dark);
    margin-bottom: var(--space-md);
}

.corp-purpose__content .wysiwyg-content {
    color: var(--color-text-light);
    font-size: var(--font-size-base);
    line-height: var(--line-height-loose);
}

/* Core Values — Dark Section */
.corp-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
}

.corp-values__pillar {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color var(--transition-base), background-color var(--transition-base);
}

.corp-values__pillar:hover {
    border-color: rgba(0, 229, 255, 0.3);
    background: rgba(255, 255, 255, 0.03);
}

.corp-values__icon {
    color: var(--color-accent);
    margin-bottom: var(--space-lg);
}

.corp-values__title {
    font-size: var(--font-size-md);
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--color-white);
}

.corp-values__text {
    font-size: var(--font-size-base);
    line-height: var(--line-height-loose);
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

/* ── Certifications Enhancements ───────── */
.certifications-section {
    background: var(--color-light-bg);
}

.cert-tabs .tabs__nav--center {
    justify-content: center;
    border-bottom: none;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
    overflow: visible;
}

.cert-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-3xl);
    flex-wrap: wrap;
    flex-direction: row;
}

.cert-item img {
    max-height: 200px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.45;
    transition: filter var(--transition-base), opacity var(--transition-base);
}

.cert-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ── Responsive ────────────────────────── */
@media (max-width: 1024px) {
    .corp-stats {
        grid-template-columns: repeat(2, 1fr);
        row-gap: var(--space-2xl);
    }

    .corp-stats__item:nth-child(2)::after {
        display: none;
    }

    .corp-purpose {
        grid-template-columns: 1fr;
    }

    .corp-values {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .corp-brand__title {
        font-size: var(--font-size-2xl);
    }

    .corp-stats {
        grid-template-columns: 1fr 1fr;
        row-gap: var(--space-xl);
    }

    .corp-stats__number {
        font-size: var(--font-size-2xl);
    }

    .corp-team-hero {
        height: 50vh;
        min-height: 320px;
    }

    .corp-team-hero__overlay {
        padding-bottom: var(--space-2xl);
    }

    .corp-team-hero__quote p {
        font-size: var(--font-size-lg);
    }

    .corp-purpose__card {
        flex-direction: column;
        gap: var(--space-md);
    }

    .corp-values {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }

    .corp-values__pillar {
        padding: var(--space-xl) var(--space-md);
    }
}

@media (max-width: 480px) {
    .corp-stats {
        grid-template-columns: 1fr;
    }

    .corp-stats__item::after {
        display: none !important;
    }

    .corp-stats__item:not(:last-child) {
        padding-bottom: var(--space-xl);
        border-bottom: 1px solid var(--color-border);
    }

    .corp-values {
        grid-template-columns: 1fr;
    }
}
