/* Shared behavior, copied into each page folder for independent updates. */
.nav-service {
    position: relative;
}
.nav-service-top {
    display: flex;
    align-items: center;
    gap: 2px;
}
.submenu-toggle {
    display: grid;
    place-items: center;
    width: 32px;
    height: 36px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #073f22;
    cursor: pointer;
}
.submenu-toggle:hover, .submenu-toggle[aria-expanded="true"] {
    background: #f57f20;
    color: #13231a;
}
.service-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: -10px;
    min-width: 205px;
    padding: 12px;
    background: #fff;
    box-shadow: 0 18px 40px #073f2230;
    border: 1px solid #dbe8de;
    border-top: 3px solid #f57f20;
    border-radius: 0 0 14px 14px;
    z-index: 60;
}
.nav-service.is-open .service-submenu {
    display: grid;
    gap: 4px;
}
.menu .service-submenu a {
    display: block;
    padding: 11px 14px;
    border-radius: 8px;
    color: #073f22;
}
.menu .service-submenu a::before, .menu .service-submenu a::after {
    display: none;
}
.menu .service-submenu a:hover, .menu .service-submenu a:focus-visible {
    background: #eef5f0;
    color: #073f22;
    box-shadow: inset 3px 0 #f57f20;
}
@media (max-width: 980px) {
    .nav {
        gap: 12px;
    }
    .menu {
        display: none;
    }
    .hamb {
        display: block;
    }
    .menu.open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 20px;
        margin: 0;
        background: #fff;
        max-height: calc(100dvh - 110px);
        overflow-y: auto;
        gap: 8px;
    }
    .nav-service-top {
        justify-content: space-between;
    }
    .nav-service-top > a {
        flex: 1;
    }
    .submenu-toggle {
        width: 44px;
        height: 44px;
    }
    .service-submenu {
        position: static;
        min-width: 0;
        box-shadow: none;
        margin-top: 6px;
    }
    .nav-actions {
        margin-left: auto;
    }
}
