/* Associates page redesign - refined visual upgrade */
.associates-redesign {
    background: #fff;
    color: var(--yg-ink);
    overflow: hidden;
}

.associates-redesign .container {
    position: relative;
    z-index: 2;
}

.associates-redesign .section-padding {
    padding: 82px 0;
}

.associates-redesign .section-padding-sm {
    padding: 64px 0;
}

.associates-hero {
    min-height: 410px;
    display: flex;
    align-items: center;
    position: relative;
    padding: 74px 0 84px;
    background-image: var(--associates-hero-image);
    background-size: cover;
    background-position: center;
    color: #fff;
}

.associates-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 18%, rgba(255, 190, 24, 0.35), transparent 28%),
        linear-gradient(105deg, rgba(0, 63, 36, 0.95) 0%, rgba(0, 91, 37, 0.82) 42%, rgba(7, 55, 100, 0.70) 100%);
}

.associates-eyebrow,
.associates-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    font-size: 0.82rem;
    letter-spacing: 0.075em;
    text-transform: uppercase;
    color: var(--yg-gold);
}

.associates-eyebrow {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.26);
    padding: 9px 14px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
}

.associates-section-kicker::before,
.associates-section-kicker::after {
    content: '';
    width: 30px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--yg-green), var(--yg-yellow));
}

.associates-section-kicker.light {
    color: var(--yg-yellow);
}

.associates-section-kicker.light::before,
.associates-section-kicker.light::after {
    background: linear-gradient(90deg, #fff, var(--yg-yellow));
}

.associates-hero h1 {
    margin: 16px 0 18px;
    font-size: clamp(2.55rem, 5.2vw, 4.8rem);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: -0.055em;
    text-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.associates-hero p {
    max-width: 665px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.08rem;
    line-height: 1.65;
    font-weight: 600;
    margin-bottom: 26px;
}

.associates-primary-btn,
.associates-outline-btn {
    border: 0;
    border-radius: 14px;
    padding: 12px 24px;
    font-weight: 850;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.15);
}

.associates-primary-btn {
    background: linear-gradient(135deg, var(--yg-orange), #ff920f);
    color: #fff !important;
}

.associates-primary-btn:hover {
    color: #fff !important;
    transform: translateY(-1px);
}

.associates-outline-btn {
    background: #fff;
    color: var(--yg-green-dark) !important;
}

.associates-outline-btn:hover {
    background: var(--yg-yellow);
    color: #152033 !important;
}

.associates-hero-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 28px;
    padding: 30px;
    color: var(--yg-ink);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(12px);
}

.hero-card-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--yg-green), var(--yg-green-dark));
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 16px 28px rgba(8, 117, 47, 0.23);
    margin-bottom: 18px;
}

.associates-hero-card h5 {
    font-weight: 900;
    margin-bottom: 10px;
}

.associates-hero-card p {
    color: var(--yg-muted);
    text-shadow: none;
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.hero-card-grid div {
    background: #f6faf5;
    border: 1px solid rgba(8, 117, 47, 0.10);
    border-radius: 16px;
    padding: 14px 10px;
    text-align: center;
}

.hero-card-grid strong {
    display: block;
    color: var(--yg-green-dark);
    font-size: 0.95rem;
}

.hero-card-grid span {
    display: block;
    color: var(--yg-muted);
    font-size: 0.78rem;
    margin-top: 2px;
}

.associates-intro {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbf6 100%);
}

.associates-intro h2,
.associates-section-head h2,
.associates-expertise h2,
.cta-card h2 {
    font-weight: 900;
    letter-spacing: -0.035em;
    color: var(--yg-ink);
    margin: 12px 0 12px;
}

.associates-intro h2,
.associates-section-head h2 {
    font-size: clamp(2rem, 3vw, 3rem);
}

.associates-intro p,
.associates-section-head p,
.cta-card p {
    color: var(--yg-muted);
    line-height: 1.7;
    margin: 0 auto;
    max-width: 760px;
}

.associates-value-card,
.advisor-card,
.specialist-card,
.cta-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.08);
}

.associates-value-card {
    padding: 30px 26px;
    height: 100%;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.associates-value-card.featured {
    background: linear-gradient(135deg, var(--yg-green), var(--yg-green-dark));
    color: #fff;
}

.associates-value-card:hover,
.advisor-card:hover,
.specialist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.13);
}

.value-icon,
.advisor-icon,
.panel-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    background: rgba(8, 117, 47, 0.10);
    color: var(--yg-green);
    margin-bottom: 20px;
}

.associates-value-card.featured .value-icon {
    background: rgba(255, 255, 255, 0.16);
    color: var(--yg-yellow);
}

.associates-value-card h5 {
    font-weight: 900;
    color: var(--yg-ink);
    margin-bottom: 10px;
}

.associates-value-card.featured h5,
.associates-value-card.featured p {
    color: #fff;
}

.associates-value-card p {
    color: var(--yg-muted);
    line-height: 1.65;
    margin: 0;
}

.associates-advisors {
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 190, 24, 0.14), transparent 25%),
        #fff;
}

.associates-section-head {
    max-width: 820px;
    margin: 0 auto 34px;
}

.advisor-card {
    padding: 28px 22px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.advisor-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--yg-green), var(--yg-yellow), var(--yg-orange));
}

.advisor-card .advisor-icon {
    margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(8, 117, 47, 0.12), rgba(255, 190, 24, 0.16));
    color: var(--yg-green-dark);
}

.advisor-card h6 {
    color: var(--yg-green-dark);
    font-weight: 900;
    line-height: 1.45;
    margin-bottom: 12px;
}

.advisor-card p {
    margin: 0;
    color: var(--yg-muted);
    font-size: 0.92rem;
    font-weight: 650;
}

.advisor-card p i {
    color: var(--yg-orange);
}

.associates-specialists {
    background: #f7faf5;
}

.specialist-panel {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 30px;
    padding: 28px;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
}

.specialist-panel::after {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    right: -70px;
    top: -70px;
    background: rgba(8, 117, 47, 0.08);
}

.finance-panel::after {
    background: rgba(255, 190, 24, 0.14);
}

.panel-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
    position: relative;
    z-index: 2;
}

.panel-heading span {
    display: block;
    color: var(--yg-orange);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.075em;
    margin-bottom: 3px;
}

.panel-heading h3 {
    margin: 0;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.035em;
}

.panel-icon {
    flex: 0 0 auto;
    margin-bottom: 0;
    background: linear-gradient(135deg, var(--yg-green), var(--yg-green-dark));
    color: #fff;
}

.finance-panel .panel-icon {
    background: linear-gradient(135deg, var(--yg-orange), var(--yg-yellow));
}

.specialist-card {
    padding: 24px 22px;
    position: relative;
    z-index: 2;
}

.specialist-card i {
    display: inline-flex;
    color: var(--yg-green);
    font-size: 2rem;
    margin-bottom: 16px;
}

.finance-panel .specialist-card i {
    color: var(--yg-orange);
}

.specialist-card h5 {
    color: var(--yg-ink);
    font-weight: 900;
    font-size: 1.02rem;
    line-height: 1.4;
    margin-bottom: 8px;
}

.specialist-card p {
    color: var(--yg-muted);
    line-height: 1.55;
    margin: 0;
    font-size: 0.93rem;
}

.associates-expertise {
    background: #fff;
}

.expertise-box {
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 190, 24, 0.28), transparent 28%),
        linear-gradient(135deg, var(--yg-green-dark), var(--yg-green-deep));
    border-radius: 34px;
    padding: clamp(30px, 5vw, 58px);
    color: #fff;
    box-shadow: 0 24px 70px rgba(0, 63, 36, 0.24);
    position: relative;
    overflow: hidden;
}

.expertise-box::before {
    content: '';
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 26px;
    pointer-events: none;
}

.associates-expertise h2 {
    color: #fff;
    font-size: clamp(2rem, 3.6vw, 3.45rem);
    max-width: 760px;
}

.associates-expertise p {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.72;
    max-width: 680px;
    margin: 0;
}

.expertise-list {
    display: grid;
    gap: 14px;
}

.expertise-list div {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: 16px 18px;
    color: #fff;
    font-weight: 750;
    backdrop-filter: blur(8px);
}

.expertise-list i {
    color: var(--yg-yellow);
    margin-top: 2px;
}

.associates-cta {
    background: linear-gradient(180deg, #fff 0%, #f7faf5 100%);
}

.cta-card {
    padding: clamp(30px, 5vw, 54px);
    background:
        radial-gradient(circle at 10% 20%, rgba(8, 117, 47, 0.10), transparent 25%),
        radial-gradient(circle at 90% 15%, rgba(255, 190, 24, 0.20), transparent 27%),
        #fff;
}

.cta-card h2 {
    font-size: clamp(1.85rem, 3vw, 3rem);
}

.cta-card p {
    margin-bottom: 24px;
}

@media (max-width: 991.98px) {
    .associates-hero {
        min-height: auto;
        padding: 64px 0;
    }

    .associates-hero-card {
        margin-top: 8px;
    }

    .associates-redesign .section-padding {
        padding: 62px 0;
    }

    .associates-redesign .section-padding-sm {
        padding: 48px 0;
    }
}

@media (max-width: 767.98px) {
    .associates-hero h1 {
        font-size: clamp(2.25rem, 14vw, 3.35rem);
    }

    .associates-hero p {
        font-size: 1rem;
    }

    .hero-card-grid {
        grid-template-columns: 1fr;
    }

    .panel-heading {
        align-items: flex-start;
    }

    .associates-section-kicker::before,
    .associates-section-kicker::after {
        width: 20px;
    }

    .specialist-panel {
        padding: 22px;
        border-radius: 24px;
    }

    .expertise-box {
        border-radius: 24px;
    }
}

@media (max-width: 575.98px) {
    .associates-primary-btn,
    .associates-outline-btn {
        width: 100%;
        justify-content: center;
    }

    .cta-card .btn,
    .associates-hero .btn {
        display: inline-flex;
        align-items: center;
    }
}
