.sampark-industries-mega-menu {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--sampark-industries-menu-top, 88px);
    width: 100vw;
    max-height: calc(100vh - var(--sampark-industries-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-industries-mega-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}

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

.sampark-industries-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: 20px 21px 16px;
    position: relative;
    overflow: hidden;
    border-right: 1px solid rgba(15, 107, 60, 0.12);
}

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

.sampark-industries-left::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    left: -78px;
    top: 46px;
    background: radial-gradient(circle, rgba(15, 107, 60, 0.08), rgba(15, 107, 60, 0));
}

.sampark-industries-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: 9px;
    font-weight: 800;
}

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

.sampark-industries-left p {
    position: relative;
    z-index: 1;
    margin: 0 0 14px;
    color: #415248;
    font-size: 12px;
    line-height: 1.38;
}

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

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

.sampark-industries-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-industries-group::after {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    bottom: 7px;
    width: 2px;
    background: #0f6b3c;
    opacity: 0;
    transition: opacity 0.16s ease;
}

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

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

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

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

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

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

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

.sampark-industries-panel-head {
    max-width: 860px;
    margin-bottom: 10px;
}

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

.sampark-industries-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.5px;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 800;
    white-space: nowrap;
    margin-top: 1px;
}

.sampark-industries-panel-head h4 {
    margin: 0;
    color: #12231c;
    font-size: 21px;
    line-height: 1.10;
    font-weight: 760;
}

.sampark-industries-panel-head p {
    margin: 0;
    max-width: 780px;
    color: #4e5b54;
    font-size: 12.5px;
    line-height: 1.34;
}

.sampark-industries-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    gap: 10px;
    max-width: 100%;
    margin-bottom: 12px;
}

.sampark-industries-card-grid a {
    display: block;
    min-height: 74px;
    padding: 9px 11px 9px;
    background: rgba(255, 255, 255, 0.92);
    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-industries-card-grid a::before {
    content: "";
    position: absolute;
    top: 9px;
    right: 9px;
    width: 7px;
    height: 7px;
    background: rgba(15, 107, 60, 0.22);
    border: 1px solid rgba(15, 107, 60, 0.12);
}

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

.sampark-industries-card-grid strong {
    display: block;
    color: #22352b;
    font-size: 11.2px;
    line-height: 1.15;
    font-weight: 560;
    padding-right: 14px;
    margin-bottom: 3px;
}

.sampark-industries-card-grid small {
    display: block;
    color: #5a6760;
    font-size: 10.1px;
    line-height: 1.17;
    font-weight: 420;
    margin-bottom: 5px;
}

.sampark-industries-card-grid em {
    display: block;
    color: #0f6b3c;
    font-size: 9.3px;
    line-height: 1.1;
    font-style: normal;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sampark-industries-group-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 8px 12px;
    background: #0f6b3c;
    border: 1px solid #0f6b3c;
    color: #ffffff;
    text-decoration: none;
    font-size: 12.2px;
    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-industries-group-link::after {
    content: "→";
    font-size: 15px;
    line-height: 1;
}

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

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

.sampark-industries-use-panel {
    display: none;
}

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

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

.sampark-industries-use-image {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: cover;
    object-position: center;
    border: 1px solid rgba(15, 107, 60, 0.14);
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.5);
}

.sampark-industries-use-panel h4 {
    margin: 0 0 9px;
    color: #12231c;
    font-size: 17px;
    line-height: 1.18;
    font-weight: 760;
}

.sampark-industries-use-panel p {
    margin: 0 0 14px;
    color: #4d5b53;
    font-size: 12.2px;
    line-height: 1.38;
    font-weight: 420;
}

.sampark-industries-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 8px 12px;
    background: transparent;
    border: 1px solid rgba(15, 107, 60, 0.42);
    color: #0f6b3c;
    text-decoration: none;
    font-size: 12.2px;
    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-industries-cta::after {
    content: "→";
    font-size: 15px;
    line-height: 1;
}

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

@media (max-width: 1180px) {
    .sampark-industries-menu-inner {
        grid-template-columns: 22% 56% 22%;
    }

    .sampark-industries-middle {
        padding-left: 20px;
        padding-right: 20px;
    }

    .sampark-industries-panel-head h4 {
        font-size: 20px;
    }

    .sampark-industries-card-grid {
        grid-template-columns: repeat(3, minmax(130px, 1fr));
    }
}

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