.hero__header.is-mega-open .hero__nav-link--dropdown img {
    transform: rotate(180deg);
}

.hero__mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    color: #1b1b1b;
    border-top: 1px solid #e6e6e6;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14), 0 0 2px rgba(0, 0, 0, 0.12);
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    max-width: 1440px;
}

.hero__header.is-mega-open .hero__mega-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hero__mega-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    gap: 24px;
}

.mega-menu__sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 0;
}

.mega-menu__item {
    width: 350px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid transparent;
    color: #242424;
    text-align: left;
}

.mega-menu__item.is-active {
    background: #11875c;
    color: #ffffff;
}

.mega-menu__item.is-active .mega-menu__item-icon img,
.mega-menu__item.is-active .mega-menu__item-chevron img {
    filter: brightness(0) invert(1);
}

.mega-menu__item-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mega-menu__item-icon img {
    width: 20px;
    height: 20px;
}

.mega-menu__item-label {
    flex: 1;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

.mega-menu__item-chevron {
    width: 12px;
    height: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.mega-menu__item.is-active .mega-menu__item-chevron {
    opacity: 1;
}

.mega-menu__item-chevron img {
    width: 8px;
    height: 8px;
}

.mega-menu__panel {
    flex: 1;
    background: #fafafa;
    border-radius: 12px;
    padding: 12px 24px;
    min-height: 403px;
    display: none;
    flex-direction: column;
}

.mega-menu__panel.is-active {
    display: flex;
}

.mega-menu__header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mega-menu__header h3 {
    margin: 0;
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    color: #000000;
}

.mega-menu__header p {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    color: #424242;
    max-width: 400px;
}

.mega-menu__divider {
    display: block;
    width: 100%;
    height: 1px;
    background: #e0e0e0;
    margin: 12px 0 16px;
}

.mega-menu__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 244px));
    column-gap: 24px;
    row-gap: 24px;
}

.mega-menu__card {
    padding: 12px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mega-menu__card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    color: #242424;
}

.mega-menu__card-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mega-menu__card-icon img {
    width: 20px;
    height: 20px;
}

.mega-menu__card p {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    color: #707070;
}
