.lp-nav-dropdown {
    position: relative;
}

.lp-nav-dropdown summary,
.lp-mobile-services summary {
    display: flex;
    align-items: center;
    gap: 5px;
    list-style: none;
    cursor: pointer;
}

.lp-nav-dropdown summary::-webkit-details-marker,
.lp-mobile-services summary::-webkit-details-marker { display: none; }
.lp-nav-dropdown summary > svg { width: 15px; transition: transform .2s ease; }
.lp-nav-dropdown[open] summary > svg { transform: rotate(180deg); }
.lp-nav-dropdown summary:hover { color: var(--blue); }

.lp-service-dropdown {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    width: 590px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 24px 65px rgba(8, 26, 47, .18);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.lp-service-dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 24px;
}

.lp-nav-dropdown[open] .lp-service-dropdown,
.lp-nav-dropdown:hover .lp-service-dropdown,
.lp-nav-dropdown:focus-within .lp-service-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.lp-nav-dropdown.is-closing .lp-service-dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -7px);
    pointer-events: none;
}

.lp-nav .lp-service-all {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px;
    margin-bottom: 8px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0b2949, #176b95);
    color: #fff;
}

.lp-service-all > span,
.lp-service-dropdown-grid a > span {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: rgba(255, 255, 255, .13);
}

.lp-service-all svg { width: 19px; }
.lp-service-all > svg { width: 17px; }
.lp-service-all strong,
.lp-service-all small,
.lp-service-dropdown-grid strong,
.lp-service-dropdown-grid small { display: block; }
.lp-service-all small { color: #c8deea; font-size: 11px; font-weight: 500; }

.lp-service-dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}

.lp-nav .lp-service-dropdown-grid a {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px;
    padding: 11px;
    border-radius: 12px;
}

.lp-nav .lp-service-dropdown-grid a:hover { background: #eff6fb; }
.lp-service-dropdown-grid a > span { background: #e7f1f9; color: var(--blue); }
.lp-service-dropdown-grid a > span svg { width: 18px; }
.lp-service-dropdown-grid strong { color: var(--navy); font-size: 13px; }
.lp-service-dropdown-grid small { color: var(--muted); font-size: 10px; font-weight: 500; line-height: 1.35; }

.lp-mobile-services { display: none; }

@media (max-width: 980px) {
    .lp-mobile-services { display: block; }
    .lp-mobile-services summary {
        justify-content: space-between;
        padding: 7px 0;
        color: #41536a;
        font-size: 14px;
        font-weight: 750;
    }
    .lp-mobile-services summary svg { width: 17px; transition: transform .2s ease; }
    .lp-mobile-services[open] summary svg { transform: rotate(180deg); }
    .lp-mobile-submenu {
        display: grid;
        gap: 2px;
        padding: 7px 0 5px 13px;
        border-left: 2px solid #d7e5f1;
    }
    .lp-mobile-submenu a {
        padding: 8px 10px;
        border-radius: 9px;
        color: #58697d;
        font-size: 13px;
        font-weight: 650;
    }
    .lp-mobile-submenu a:hover { background: #eff6fb; color: var(--blue); }
    .lp-mobile-submenu .lp-mobile-all {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 3px;
        background: #eaf3fb;
        color: var(--blue);
        font-weight: 850;
    }
    .lp-mobile-all svg { width: 17px; }
}
