/**
 * Our Culture — eFormax IT company page
 * Brand: #00332B · #004236 · #F7D15E · #E6F4F9 · #F0F8FB
 */

.our-culture-page {
    --oc-primary: #00332b;
    --oc-primary-mid: #004236;
    --oc-accent: #f7d15e;
    --oc-bg: #e6f4f9;
    --oc-card: #f0f8fb;
    --oc-text: #1a3d36;
    --oc-muted: #4a6b65;
    --oc-white: #ffffff;
    --oc-radius: 16px;
    --oc-shadow: 0 16px 48px rgba(0, 51, 43, 0.1);
    display: block;
    width: 100%;
    color: var(--oc-text);
    font-family: var(--primary-font, 'Manrope', sans-serif);
    line-height: 1.6;
}

.section > .our-culture-page {
    display: block;
    width: 100%;
}

/* ── Hero ── */
.oc-hero {
    position: relative;
    padding: 5rem 0 4rem;
    background: var(--oc-bg);
    overflow: hidden;
}

.oc-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.oc-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 51, 43, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 51, 43, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
}

.oc-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.oc-hero__glow--1 {
    width: 420px;
    height: 420px;
    top: -120px;
    right: -80px;
    background: rgba(247, 209, 94, 0.22);
}

.oc-hero__glow--2 {
    width: 260px;
    height: 260px;
    bottom: -60px;
    left: -40px;
    background: rgba(0, 66, 54, 0.1);
}

.oc-hero__badge {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--oc-primary-mid);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 66, 54, 0.12);
    border-left: 3px solid var(--oc-accent);
    border-radius: 8px;
    padding: 0.625rem 1rem;
    margin-bottom: 1.25rem;
    max-width: 100%;
    box-shadow: 0 4px 16px rgba(0, 51, 43, 0.06);
}

.oc-hero__title {
    font-size: clamp(2.125rem, 4.8vw, 3.375rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: var(--oc-primary);
    margin: 0 0 1.25rem;
}

.oc-hero__lead {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--oc-muted);
    max-width: 38rem;
    margin-bottom: 2rem;
}

.oc-hero__lead p {
    margin: 0 0 1rem;
}

.oc-hero__lead p:last-child {
    margin-bottom: 0;
}

.oc-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    align-items: center;
}

/* How we work panel */
.oc-hero__panel {
    background: var(--oc-white);
    border-radius: 20px;
    box-shadow: var(--oc-shadow);
    border: 1px solid rgba(0, 51, 43, 0.08);
    padding: 1.75rem;
    position: relative;
}

.oc-hero__panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1.75rem;
    right: 1.75rem;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, var(--oc-primary), var(--oc-accent));
}

.oc-hero__panel-head {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1.5rem;
}

.oc-hero__panel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--oc-accent);
    box-shadow: 0 0 0 4px rgba(247, 209, 94, 0.3);
    flex-shrink: 0;
}

.oc-hero__panel-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--oc-primary);
}

.oc-hero__pillars {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.oc-hero__pillars li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 51, 43, 0.07);
}

.oc-hero__pillars li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.oc-hero__pillar-num {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--oc-primary);
    background: var(--oc-bg);
    border-radius: 12px;
    border: 1px solid rgba(0, 51, 43, 0.1);
}

.oc-hero__pillars strong {
    display: block;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--oc-primary);
    margin-bottom: 0.25rem;
}

.oc-hero__pillars p {
    font-size: 0.875rem;
    color: var(--oc-muted);
    margin: 0;
    line-height: 1.55;
}

/* ── Buttons ── */
.our-culture-page a.oc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9375rem 1.625rem;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.2;
    border-radius: 999px;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.our-culture-page a.oc-btn:hover {
    transform: translateY(-2px);
    text-decoration: none !important;
}

.our-culture-page a.oc-btn--primary {
    background: var(--oc-primary);
    color: var(--oc-white) !important;
    box-shadow: 0 10px 28px rgba(0, 51, 43, 0.22);
}

.our-culture-page a.oc-btn--primary:hover {
    background: var(--oc-primary-mid);
    color: var(--oc-white) !important;
}

.our-culture-page a.oc-btn--outline {
    background: var(--oc-white);
    color: var(--oc-primary) !important;
    border-color: rgba(0, 51, 43, 0.2);
    box-shadow: 0 4px 16px rgba(0, 51, 43, 0.06);
}

.our-culture-page a.oc-btn--outline:hover {
    border-color: var(--oc-primary);
    color: var(--oc-primary) !important;
}

.our-culture-page a.oc-btn--accent {
    background: var(--oc-accent);
    color: var(--oc-primary) !important;
    box-shadow: 0 10px 28px rgba(247, 209, 94, 0.45);
}

.our-culture-page a.oc-btn--accent:hover {
    background: #f5c842;
    color: var(--oc-primary) !important;
}

/* ── Stats bar ── */
.oc-stats {
    background: linear-gradient(135deg, var(--oc-primary) 0%, var(--oc-primary-mid) 100%);
    padding: 0;
    position: relative;
}

.oc-stats__bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

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

.oc-stats__item {
    text-align: center;
    padding: 2.25rem 1.25rem;
    position: relative;
}

@media (min-width: 768px) {
    .oc-stats__item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 48px;
        background: rgba(255, 255, 255, 0.15);
    }
}

.oc-stats__value {
    display: block;
    font-size: clamp(1.875rem, 3.2vw, 2.5rem);
    font-weight: 800;
    color: var(--oc-accent);
    line-height: 1.1;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}

.oc-stats__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.4;
}

/* ── Section headings ── */
.oc-section-head__tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--oc-primary-mid);
    background: rgba(0, 66, 54, 0.08);
    padding: 0.4rem 0.875rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.oc-section-head__title {
    font-size: clamp(1.75rem, 3vw, 2.375rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--oc-primary);
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.oc-section-head__subtitle {
    font-size: 1.0625rem;
    color: var(--oc-muted);
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

.oc-section-head__subtitle--left {
    margin-left: 0;
    margin-right: 0;
    max-width: 36rem;
}

/* ── Team grid ── */
.oc-team {
    padding: 4.5rem 0;
    background: var(--oc-white);
}

.oc-team .oc-section-head {
    margin-bottom: 3rem;
}

.oc-team__grid {
    margin-top: 0;
}

.oc-team-card {
    background: var(--oc-white);
    border-radius: var(--oc-radius);
    overflow: hidden;
    border: 1px solid rgba(0, 51, 43, 0.08);
    box-shadow: 0 4px 24px rgba(0, 51, 43, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.oc-team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--oc-shadow);
}

.oc-team-card__photo {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: linear-gradient(180deg, var(--oc-bg) 0%, #d4ecf4 100%);
}

.oc-team-card__photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0, 51, 43, 0.55) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.oc-team-card:hover .oc-team-card__photo::after {
    opacity: 1;
}

.oc-team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.4s ease;
}

.oc-team-card:hover .oc-team-card__photo img {
    transform: scale(1.04);
}

.oc-team-card__body {
    padding: 1.25rem 1.25rem 1.5rem;
    text-align: center;
    background: var(--oc-card);
    border-top: 1px solid rgba(0, 51, 43, 0.06);
}

.oc-team-card__name {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--oc-primary);
    margin: 0 0 0.25rem;
}

.oc-team-card__role {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--oc-muted);
    margin: 0;
}

/* ── Values ── */
.oc-values {
    padding: 4.5rem 0;
    background: linear-gradient(180deg, var(--oc-bg) 0%, var(--oc-white) 60%);
}

.oc-value-card {
    position: relative;
    background: var(--oc-white);
    border-radius: var(--oc-radius);
    padding: 1.75rem 1.5rem 1.5rem;
    border: 1px solid rgba(0, 51, 43, 0.08);
    box-shadow: 0 4px 20px rgba(0, 51, 43, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    height: 100%;
}

.oc-value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--oc-shadow);
    border-color: rgba(0, 51, 43, 0.14);
}

.oc-value-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.125rem;
}

.oc-value-card__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--oc-bg) 0%, rgba(247, 209, 94, 0.2) 100%);
    color: var(--oc-primary);
    border-radius: 14px;
    border: 1px solid rgba(0, 51, 43, 0.08);
}

.oc-value-card__index {
    font-size: 1.75rem;
    font-weight: 800;
    color: rgba(0, 51, 43, 0.08);
    line-height: 1;
}

.oc-value-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--oc-primary);
    margin: 0 0 0.75rem;
    line-height: 1.35;
}

.oc-value-card__text {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--oc-muted);
    margin: 0;
}

/* ── CTA ── */
.oc-cta {
    padding: 0 0 5rem;
    background: var(--oc-white);
}

.oc-cta__inner {
    background: linear-gradient(135deg, var(--oc-primary) 0%, #002820 50%, var(--oc-primary-mid) 100%);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 24px 60px rgba(0, 51, 43, 0.25);
    position: relative;
    overflow: hidden;
}

.oc-cta__pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(247, 209, 94, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.oc-cta__eyebrow {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--oc-accent);
    margin-bottom: 0.75rem;
}

.oc-cta__title {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 800;
    color: var(--oc-white);
    margin: 0 0 0.875rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.oc-cta__text {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
    max-width: 36rem;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .oc-hero {
        padding: 3.5rem 0 3rem;
    }

    .oc-hero__panel {
        margin-top: 1rem;
    }

    .oc-stats__item {
        padding: 1.75rem 1rem;
    }

    .oc-values .oc-btn {
        width: 100%;
    }

    .oc-cta .text-lg-end {
        text-align: left !important;
    }

    .oc-cta .oc-btn {
        width: 100%;
    }

    .oc-cta__inner {
        padding: 2.25rem 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .oc-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .our-culture-page a.oc-btn {
        width: 100%;
    }
}
