#navbar:not(.nav-scrolled) {
    background: linear-gradient(180deg, rgba(13, 59, 46, 0.68) 0%, rgba(13, 59, 46, 0.3) 58%, rgba(13, 59, 46, 0.04) 100%);
}

.services-nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-bottom: 18px;
    margin-bottom: -18px;
}

.services-nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.services-nav-caret {
    width: 0.75rem;
    height: 0.75rem;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.services-nav-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    z-index: 90;
    min-width: 228px;
    padding: 14px;
    background: #fff9ef;
    border: 1px solid rgba(185, 138, 68, 0.18);
    box-shadow: 0 18px 45px rgba(33, 27, 22, 0.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.services-nav-menu::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    width: 16px;
    height: 16px;
    background: #fff9ef;
    border-top: 1px solid rgba(185, 138, 68, 0.18);
    border-left: 1px solid rgba(185, 138, 68, 0.18);
    transform: translateX(-50%) rotate(45deg);
}

.services-nav-item:hover .services-nav-menu,
.services-nav-item:focus-within .services-nav-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.services-nav-item:hover .services-nav-caret,
.services-nav-item:focus-within .services-nav-caret {
    transform: rotate(180deg);
}

.services-nav-link {
    display: block;
    padding: 12px 14px;
    border: 1px solid rgba(185, 138, 68, 0.14);
    background: rgba(245, 235, 221, 0.86);
    color: #211b16;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.services-nav-link + .services-nav-link {
    margin-top: 8px;
}

.services-nav-link:hover,
.services-nav-link:focus-visible {
    background: #0d3b2e;
    border-color: #0d3b2e;
    color: #fff9ef;
    transform: translateY(-1px);
    outline: none;
}

.services-nav-link.is-current {
    background: rgba(13, 59, 46, 0.08);
    border-color: rgba(13, 59, 46, 0.24);
    color: #0d3b2e;
}

.services-nav-toggle.is-parent-current {
    color: #b98a44;
}

.mobile-services-children {
    display: grid;
    gap: 1px;
    background: rgba(185, 138, 68, 0.1);
}

.mobile-services-child {
    display: block;
    padding: 14px 24px 14px 42px;
    background: rgba(255, 249, 239, 0.76);
    color: #211b16;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.mobile-services-child:hover,
.mobile-services-child:focus-visible {
    background: rgba(13, 59, 46, 0.08);
    color: #0d3b2e;
    outline: none;
}

.mobile-services-child.is-current {
    background: rgba(13, 59, 46, 0.12);
    color: #0d3b2e;
    font-weight: 600;
}
