/* ───── Header + mobile off-canvas nav ───── */
.site-header { background: var(--tint-teal-10); }
.site-header .skin-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    padding-bottom: 32px;
}
.header-logo img { width: 320px; height: auto; }
.header-nav { display: flex; align-items: center; gap: 48px; }
.main-menu { display: flex; align-items: center; gap: 48px; list-style: none; margin: 0; padding: 0; }
.main-menu .menu-item { position: relative; }
.header-nav a:not(.btn) {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 17px;
    color: var(--brand-teal);
    text-decoration: none;
    white-space: nowrap;
}
.header-nav .menu-item > a:not(.btn) i { font-size: 12px; margin-left: 4px; }

/* ───── Desktop dropdown submenus (keyboard-accessible via :focus-within) —
   scoped to .header-nav only, since .mobile-nav reuses the same
   .main-menu/.menu-item/.sub-menu classes but needs the always-visible,
   static treatment further down instead. ───── */
.header-nav .sub-menu {
    position: absolute; top: 100%; left: 0; z-index: 10; min-width: 240px;
    margin: 0; padding: 12px 0; list-style: none; background: var(--brand-white);
    border-radius: 12px; box-shadow: 0 12px 32px rgba(15, 51, 52, 0.14);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.header-nav .sub-menu .sub-menu { top: -12px; left: 100%; }
.header-nav .menu-item-has-children:hover > .sub-menu,
.header-nav .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.header-nav .sub-menu .menu-item > a { padding: 10px 20px; font-size: 15px; white-space: nowrap; }
.header-nav .menu-item-has-children:hover > a i,
.header-nav .menu-item-has-children:focus-within > a i {
    transform: rotate(180deg);
}

/* ───── Mobile off-canvas: submenus are always-visible, indented, static —
   no hover/focus-within, no absolute positioning, no JS needed. ───── */
.mobile-nav .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: none; margin: 8px 0 8px 16px; padding: 0;
}
.mobile-nav .menu-item > a:not(.btn) i { display: none; }
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.hamburger span { display: block; width: 100%; height: 2px; background: var(--brand-teal); border-radius: 2px; }

.mobile-nav-overlay {
    position: fixed; inset: 0;
    background: rgba(15, 51, 52, 0.5);
    opacity: 0; pointer-events: none;
    transition: opacity 0.25s;
    z-index: 998;
}
.mobile-nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(320px, 84vw);
    background: var(--brand-white);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex; flex-direction: column;
    padding: 32px 28px;
    gap: 32px;
    overflow-y: auto;
}
body.mobile-nav-open .mobile-nav { transform: translateX(0); }
body.mobile-nav-open .mobile-nav-overlay { opacity: 1; pointer-events: all; }
body.mobile-nav-open { overflow: hidden; }
.mobile-nav-close {
    align-self: flex-end;
    width: 36px; height: 36px;
    border: none; background: var(--tint-teal-10); border-radius: 8px;
    color: var(--brand-teal); font-size: 20px; line-height: 1;
    cursor: pointer;
}
.mobile-nav .main-menu { display: flex; flex-direction: column; gap: 24px; list-style: none; margin: 0; padding: 0; align-items: flex-start;}
.mobile-nav nav a:not(.btn) { font-family: var(--font-body); font-weight: 600; font-size: 18px; color: var(--brand-teal); text-decoration: none; }
.mobile-nav .btn { justify-content: center; }

@media (max-width: 1199.98px) {
    .header-nav { gap: 28px; }
}

@media (max-width: 991.98px) {
    .header-nav { display: none; }
    .hamburger { display: flex; }
}

@media (max-width: 575.98px) {
    .header-logo img { width: 280px; }
}
