:root {
    --cooperation-bg: #061719;
    --cooperation-dark: #082426;
    --cooperation-card: rgba(8, 39, 40, 0.9);
    --cooperation-light: #f5f2e9;
    --cooperation-light-2: #fffdfa;
    --cooperation-text: #092426;
    --cooperation-muted: #4a5c58;
    --gold: #d6ad61;
    --gold-light: #f5dfae;
    --gold-dark: #9f6d22;
    --green: #2f936f;
    --berry: var(--gold);
    --berry-light: var(--gold-light);
}

.cooperation-header {
    background: rgba(2, 14, 16, 0.94);
}

.hero-berry-subtle {
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #061719;
    border-bottom: 1px solid rgba(214, 173, 97, 0.16);
}

.hero-berry-subtle > .hero-background-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(3, 22, 24, 0.92) 0%, rgba(3, 22, 24, 0.76) 48%, rgba(3, 22, 24, 0.56) 100%);
    pointer-events: none;
}

.hero-berry-subtle > .container { position: relative; z-index: 2; }

.hero-berry-subtle .row {
    min-height: 500px;
}

.hero-berry-subtle .col-lg-7 {
    max-width: 780px;
}

.hero-section .hero-image,
.hero-section .floating-badge {
    display: none !important;
}

.text-gold-light,
.text-berry-light {
    color: var(--gold-light) !important;
}

.text-primary-custom {
    color: #85d9b4 !important;
}

.text-danger {
    color: #f0b56b !important;
}

.active-berry,
.site-nav .nav-link.active {
    color: var(--gold-light) !important;
}

.active-berry::after {
    background-color: var(--gold-light) !important;
    width: 80% !important;
}

.btn-gold-custom,
.btn-berry-custom {
    background: linear-gradient(135deg, #d7ad5d 0%, #b47b28 100%);
    color: #071719;
    border: 0;
    box-shadow: 0 18px 34px rgba(159, 109, 34, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-gold-custom:hover,
.btn-berry-custom:hover {
    color: #071719;
    filter: brightness(1.05);
    transform: translateY(-2px);
    box-shadow: 0 22px 42px rgba(159, 109, 34, 0.3);
}

.btn-outline-light {
    border-color: rgba(245, 223, 174, 0.62);
    color: #fff;
}

.btn-outline-light:hover {
    background: rgba(245, 223, 174, 0.14);
    border-color: var(--gold-light);
    color: #fff;
}

.recruiting-cta {
    position: relative;
    z-index: 2;
    padding: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(47, 147, 111, 0.12), transparent 26%),
        linear-gradient(180deg, var(--cooperation-light) 0%, var(--cooperation-light-2) 100%);
}

.recruiting-cta .container {
    max-width: none;
    width: 100%;
    padding-inline: 0;
}

.recruiting-cta-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    margin-top: 0;
    padding: 30px clamp(24px, 6vw, 96px);
    border-radius: 0;
    background:
        radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.38), transparent 28%),
        linear-gradient(135deg, #f0cc7a 0%, #d2a34f 48%, #b87c26 100%);
    color: #071719;
    box-shadow: none;
}

.recruiting-cta-kicker {
    display: block;
    margin-bottom: 8px;
    color: rgba(7, 23, 25, 0.76);
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.recruiting-cta h2 {
    margin: 0;
    color: #071719;
    font-size: clamp(1.6rem, 2.4vw, 2.65rem);
    line-height: 1.1;
    font-weight: 850;
}

.recruiting-cta p {
    max-width: 760px;
    margin: 10px 0 0;
    color: rgba(7, 23, 25, 0.8);
    font-size: 1rem;
    line-height: 1.52;
}

.recruiting-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    min-width: min(100%, 560px);
}

.btn-cta-dark {
    background: #061719;
    color: #fff;
    border: 1px solid rgba(6, 23, 25, 0.9);
    border-radius: 8px;
    box-shadow: 0 16px 28px rgba(6, 23, 25, 0.18);
}

.btn-cta-dark:hover {
    background: #0b292b;
    color: #fff;
    transform: translateY(-2px);
}

.section-light,
.section-dark {
    position: relative;
}

.section-light {
    background:
        radial-gradient(circle at 12% 18%, rgba(47, 147, 111, 0.12), transparent 26%),
        linear-gradient(180deg, var(--cooperation-light) 0%, var(--cooperation-light-2) 100%);
    color: var(--cooperation-text);
}

.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4,
.section-light h5,
.section-light h6 {
    color: var(--cooperation-text) !important;
}

.section-light p,
.section-light li,
.section-light .text-light-muted {
    color: var(--cooperation-muted) !important;
}

.section-light .text-gold-light,
.section-light .text-berry-light {
    color: var(--gold-dark) !important;
}

.section-dark {
    background:
        radial-gradient(circle at 86% 10%, rgba(214, 173, 97, 0.1), transparent 24%),
        linear-gradient(180deg, #061719 0%, #082426 100%);
    color: #fff;
    border-block: 1px solid rgba(214, 173, 97, 0.1);
}

.section-dark .text-light-muted {
    color: rgba(232, 239, 235, 0.78) !important;
}

.section-card-light,
.section-light .bg-card-dark,
.section-light .section-card-dark {
    background: rgba(255, 255, 255, 0.88) !important;
    color: var(--cooperation-text);
    border: 1px solid rgba(8, 39, 40, 0.08) !important;
    box-shadow: 0 22px 58px rgba(8, 39, 40, 0.1);
}

.section-dark .bg-card-dark,
.section-dark .section-card-dark,
.section-card-dark {
    background: var(--cooperation-card) !important;
    color: #fff;
    border: 1px solid rgba(214, 173, 97, 0.18) !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.content-illustration {
    width: 100%;
    min-height: 300px;
    max-height: 420px;
    object-fit: cover;
    box-shadow: 0 26px 68px rgba(8, 39, 40, 0.18);
}

.team-model-copy > h2:not(.team-model-clean),
.team-model-copy > p:not(.team-model-clean) {
    display: none;
}

.border-top-berry {
    border-top: 5px solid var(--gold) !important;
}

.border-berry {
    border: 2px solid rgba(214, 173, 97, 0.58);
}

.border-light-muted {
    border: 2px solid rgba(142, 158, 168, 0.22);
}

.role-diagram .card {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.role-diagram .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 62px rgba(8, 39, 40, 0.18);
}

.list-icon {
    list-style: none;
    padding-left: 0;
}

.list-icon-check li::before,
.list-icon-x li::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-right: 10px;
    border-radius: 50%;
    font-weight: 800;
}

.list-icon-check li::before {
    content: "\2713";
    color: #05211e;
    background: #84d8b2;
}

.list-icon-x li::before {
    content: "\00d7";
    color: #fff;
    background: rgba(214, 173, 97, 0.74);
}

.timeline-v2 {
    position: relative;
    padding-left: 20px;
}

.timeline-v2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gold);
}

.timeline-item-v2 {
    position: relative;
    margin-bottom: 40px;
    padding-left: 30px;
}

.timeline-item-v2::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 5px;
    width: 14px;
    height: 14px;
    background: var(--gold);
    border-radius: 50%;
}

.time-mark {
    font-weight: 800;
    color: var(--gold-dark);
    margin-bottom: 5px;
}

.form-control-dark {
    background-color: rgba(2, 14, 16, 0.78);
    border: 1px solid rgba(214, 173, 97, 0.22);
    color: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control-dark:focus {
    background-color: rgba(2, 14, 16, 0.92);
    color: #fff;
    border-color: var(--gold-light);
    box-shadow: 0 0 0 0.25rem rgba(214, 173, 97, 0.2);
}

.form-control-dark::placeholder {
    color: rgba(232, 239, 235, 0.46);
}

.custom-checkbox:checked {
    background-color: var(--gold);
    border-color: var(--gold);
}

.custom-checkbox:focus {
    border-color: var(--gold-light);
    box-shadow: 0 0 0 0.25rem rgba(214, 173, 97, 0.2);
}

.footer-link {
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--gold-light) !important;
}

.onboarding-stepper-wrapper {
    max-width: 940px;
    margin: 0 auto;
}

.steps-nav {
    z-index: 1;
}

.steps-progress-line {
    position: absolute;
    top: 25px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(8, 39, 40, 0.16);
    z-index: -1;
}

.step-node {
    width: 20%;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.step-node:hover {
    transform: translateY(-2px);
}

.step-circle {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    border: 2px solid rgba(8, 39, 40, 0.16);
    border-radius: 50%;
    background: #fff;
    color: var(--cooperation-muted);
    font-weight: 800;
    transition: all 0.22s ease;
}

.step-title {
    font-size: 0.85rem;
    color: var(--cooperation-muted);
    font-weight: 700;
}

.step-node.active .step-circle {
    background: linear-gradient(135deg, #d7ad5d 0%, #b47b28 100%);
    border-color: var(--gold-light);
    color: #071719;
    box-shadow: 0 0 22px rgba(214, 173, 97, 0.35);
    transform: scale(1.08);
}

.step-node.active .step-title {
    color: var(--cooperation-text);
    font-weight: 800;
}

.step-detail-card {
    min-height: 340px;
}

.animate-fade-in {
    animation: stepFadeIn 0.5s ease forwards;
}

@keyframes stepFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .hero-berry-subtle {
        min-height: auto;
        padding-block: 72px !important;
    }

    .hero-berry-subtle .row {
        min-height: 0;
    }

    .content-illustration {
        min-height: 240px;
    }

    .recruiting-cta-box {
        grid-template-columns: 1fr;
        padding: 28px 24px;
    }

    .recruiting-cta-actions {
        justify-content: flex-start;
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .steps-progress-line {
        left: 5%;
        right: 5%;
    }

    .step-title {
        display: none;
    }

    .step-circle {
        width: 46px;
        height: 46px;
        font-size: 0.86rem;
    }

    .recruiting-cta-actions .btn {
        width: 100%;
    }
}
