.sampark-partners-mega-menu {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--sampark-partners-menu-top, 88px);
    width: 100vw;
    max-height: calc(100vh - var(--sampark-partners-menu-top, 88px) - 8px);
    overflow-y: auto;
    background: #ffffff;
    border-top: 1px solid rgba(15, 107, 60, 0.10);
    border-bottom: 1px solid rgba(15, 107, 60, 0.14);
    box-shadow: 0 22px 48px rgba(18, 35, 28, 0.13);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    transition: opacity 0.16s ease, visibility 0.16s ease;
}

.sampark-partners-mega-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}

.sampark-partners-menu-inner {
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: 21% 58% 21%;
    min-height: auto;
    background: #ffffff;
}

.sampark-partners-left {
    background:
        radial-gradient(circle at top right, rgba(214, 232, 141, 0.34), rgba(214, 232, 141, 0) 42%),
        linear-gradient(145deg, #eef5dc 0%, #e5edcd 52%, #dbe6bd 100%);
    color: #173627;
    padding: 22px 22px 18px;
    position: relative;
    overflow: hidden;
    border-right: 1px solid rgba(15, 107, 60, 0.12);
}

.sampark-partners-left::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -100px;
    bottom: -104px;
    border: 1px solid rgba(15, 107, 60, 0.10);
    transform: rotate(18deg);
}

.sampark-partners-left::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    left: -76px;
    top: 44px;
    background: radial-gradient(circle, rgba(15, 107, 60, 0.08), rgba(15, 107, 60, 0));
}

.sampark-partners-left-kicker {
    position: relative;
    z-index: 1;
    display: inline-block;
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #2f6f46;
    margin-bottom: 10px;
    font-weight: 800;
}

.sampark-partners-left h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 7px;
    color: #12231c;
    font-size: 21px;
    line-height: 1.14;
    font-weight: 760;
}

.sampark-partners-left p {
    position: relative;
    z-index: 1;
    margin: 0 0 16px;
    color: #415248;
    font-size: 12.3px;
    line-height: 1.4;
}

.sampark-partners-groups {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 3px;
}

.sampark-partners-group {
    width: 100%;
    appearance: none;
    border: 0;
    background: transparent;
    color: #243d30;
    text-align: left;
    padding: 10px 10px 10px 18px;
    font-size: 13px;
    line-height: 1.18;
    font-weight: 650;
    cursor: pointer;
    position: relative;
    transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.sampark-partners-group::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-50%) rotate(-45deg);
    opacity: 0.56;
}

.sampark-partners-group::after {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    bottom: 7px;
    width: 2px;
    background: #0f6b3c;
    opacity: 0;
    transition: opacity 0.16s ease;
}

.sampark-partners-group:hover {
    color: #0d3a24;
    background: rgba(15, 107, 60, 0.09);
    transform: translateX(1px);
}

.sampark-partners-group.is-active {
    color: #0d3321;
    background: rgba(15, 107, 60, 0.14);
    transform: translateX(1px);
}

.sampark-partners-group.is-active::after {
    opacity: 1;
}

.sampark-partners-middle {
    position: relative;
    overflow: hidden;
    padding: 20px 28px 20px;
    background:
        linear-gradient(135deg, rgba(247, 250, 239, 0.74), rgba(255, 255, 255, 0.94) 46%, rgba(255, 255, 255, 1)),
        #ffffff;
}

.sampark-partners-bg-graphic {
    position: absolute;
    right: 26px;
    bottom: 12px;
    width: 270px;
    max-width: 38%;
    opacity: 0.35;
    pointer-events: none;
}

.sampark-partners-panel {
    display: none;
    position: relative;
    z-index: 1;
}

.sampark-partners-panel.is-active {
    display: block;
}

.sampark-partners-panel-head {
    max-width: 820px;
    margin-bottom: 14px;
}

.sampark-partners-panel-head-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 6px;
}

.sampark-partners-panel-head h4 {
    margin: 0;
    color: #12231c;
    font-size: 23px;
    line-height: 1.12;
    font-weight: 760;
}

.sampark-partners-panel-head p {
    margin: 0;
    max-width: 760px;
    color: #4e5b54;
    font-size: 13px;
    line-height: 1.38;
}

.sampark-partners-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 5px 10px;
    background: rgba(214, 232, 141, 0.42);
    border: 1px solid rgba(15, 107, 60, 0.13);
    color: #0f6b3c;
    font-size: 9.7px;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 800;
    white-space: nowrap;
    margin-top: 1px;
}

.sampark-partners-logo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(165px, 1fr));
    gap: 14px;
    max-width: 100%;
    margin-bottom: 16px;
}

.sampark-partner-logo-card {
    display: grid;
    grid-template-columns: 86px 1fr;
    grid-template-rows: auto auto;
    column-gap: 13px;
    align-items: center;
    min-height: 96px;
    padding: 13px 14px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(15, 107, 60, 0.13);
    color: #172920;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(18, 35, 28, 0.032);
    position: relative;
    overflow: hidden;
    transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.sampark-partner-logo-card::before {
    content: "";
    position: absolute;
    top: 11px;
    right: 11px;
    width: 8px;
    height: 8px;
    background: rgba(15, 107, 60, 0.22);
    border: 1px solid rgba(15, 107, 60, 0.12);
}

.sampark-partner-logo-card:hover {
    border-color: rgba(15, 107, 60, 0.24);
    background: #ffffff;
    transform: translateY(-1px);
}

.sampark-partner-logo-card img {
    grid-row: 1 / span 2;
    width: 86px;
    height: 48px;
    object-fit: contain;
    object-position: center;
    background: #ffffff;
    border: 1px solid rgba(15, 107, 60, 0.09);
    padding: 7px;
}

.sampark-partner-logo-card strong {
    display: block;
    align-self: end;
    color: #22352b;
    font-size: 13px;
    line-height: 1.18;
    font-weight: 720;
    padding-right: 14px;
    margin-bottom: 4px;
}

.sampark-partner-logo-card small {
    display: block;
    align-self: start;
    color: #5a6760;
    font-size: 10.8px;
    line-height: 1.25;
    font-weight: 420;
}

.sampark-partner-logo-card.no-logo {
    grid-template-columns: 1fr;
    align-content: center;
}

.sampark-partner-logo-card.no-logo::before {
    opacity: 0.65;
}

.sampark-partner-logo-card.no-logo strong {
    align-self: end;
    margin-bottom: 6px;
    padding-right: 14px;
}

.sampark-partner-logo-card.no-logo small {
    align-self: start;
}

.sampark-partners-group-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 8px 12px;
    background: #0f6b3c;
    border: 1px solid #0f6b3c;
    color: #ffffff;
    text-decoration: none;
    font-size: 12.5px;
    line-height: 1;
    font-weight: 760;
    transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.sampark-partners-group-link::after {
    content: "→";
    font-size: 15px;
    line-height: 1;
}

.sampark-partners-group-link:hover {
    background: #0b5631;
    border-color: #0b5631;
    color: #ffffff;
    transform: translateX(2px);
}

.sampark-distribution-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 18px;
    max-width: 100%;
    margin-bottom: 18px;
}

.sampark-distribution-card {
    display: grid;
    grid-template-rows: 120px auto;
    min-height: 250px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(15, 107, 60, 0.13);
    color: #172920;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(18, 35, 28, 0.04);
    position: relative;
    overflow: hidden;
    transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.sampark-distribution-card::before {
    content: "";
    position: absolute;
    top: 13px;
    right: 13px;
    width: 9px;
    height: 9px;
    background: rgba(15, 107, 60, 0.22);
    border: 1px solid rgba(15, 107, 60, 0.12);
}

.sampark-distribution-card:hover {
    background: #ffffff;
    border-color: rgba(15, 107, 60, 0.24);
    transform: translateY(-1px);
}

.sampark-distribution-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid rgba(15, 107, 60, 0.10);
    padding: 18px;
}

.sampark-distribution-logo img {
    width: 100%;
    max-width: 190px;
    height: 72px;
    object-fit: contain;
    object-position: center;
}

.sampark-distribution-content {
    padding-top: 15px;
}

.sampark-distribution-content strong {
    display: block;
    color: #12231c;
    font-size: 18px;
    line-height: 1.18;
    font-weight: 760;
    margin-bottom: 8px;
}

.sampark-distribution-content small {
    display: block;
    color: #4f5f56;
    font-size: 12.4px;
    line-height: 1.42;
    font-weight: 420;
    margin-bottom: 10px;
}

.sampark-distribution-content em {
    display: block;
    color: #0f6b3c;
    font-size: 11px;
    line-height: 1.2;
    font-style: normal;
    font-weight: 700;
}

.sampark-partners-right {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(214, 232, 141, 0.50), rgba(214, 232, 141, 0) 40%),
        linear-gradient(180deg, #fbfdea 0%, #f5f8de 100%);
    padding: 22px 22px 20px;
    border-left: 1px solid rgba(15, 107, 60, 0.1);
}

.sampark-partners-right-kicker {
    display: inline-block;
    color: #0f6b3c;
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 14px;
}

.sampark-partners-logo-wall {
    display: none;
}

.sampark-partners-cert-row {
    display: grid;
    gap: 12px;
    margin: 0 0 14px;
}

.sampark-partners-cert-row span {
    display: grid;
    grid-template-columns: 58px 1fr;
    align-items: center;
    gap: 12px;
    padding: 12px 12px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(15, 107, 60, 0.14);
    color: #12231c;
}

.sampark-partners-cert-row img {
    width: 58px;
    height: 42px;
    object-fit: contain;
    object-position: center;
    background: #ffffff;
    border: 1px solid rgba(15, 107, 60, 0.08);
    padding: 5px;
}

.sampark-partners-cert-row strong {
    display: block;
    color: #12231c;
    font-size: 13px;
    line-height: 1.22;
    font-weight: 760;
}

.sampark-partners-process-box {
    margin: 14px 0 16px;
    padding: 13px 14px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(15, 107, 60, 0.13);
}

.sampark-partners-process-box h4 {
    margin: 0 0 7px;
    color: #12231c;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 760;
}

.sampark-partners-process-box p {
    margin: 0;
    color: #4d5b53;
    font-size: 12.2px;
    line-height: 1.42;
    font-weight: 420;
}

.sampark-partners-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 8px 12px;
    background: transparent;
    border: 1px solid rgba(15, 107, 60, 0.42);
    color: #0f6b3c;
    text-decoration: none;
    font-size: 12.5px;
    line-height: 1;
    font-weight: 760;
    transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.sampark-partners-cta::after {
    content: "→";
    font-size: 15px;
    line-height: 1;
}

.sampark-partners-cta:hover {
    background: #0f6b3c;
    color: #ffffff;
    border-color: #0f6b3c;
    transform: translateX(2px);
}

@media (max-width: 1180px) {
    .sampark-partners-menu-inner {
        grid-template-columns: 23% 53% 24%;
    }

    .sampark-partners-middle {
        padding-left: 22px;
        padding-right: 22px;
    }

    .sampark-partners-logo-grid {
        grid-template-columns: repeat(2, minmax(165px, 1fr));
    }

    .sampark-distribution-grid {
        grid-template-columns: 1fr;
    }

    .sampark-distribution-card {
        min-height: 220px;
    }
}

@media (max-width: 980px) {
    .sampark-partners-mega-menu {
        display: none;
    }
}
