/* ── TOPBAR ── */
.topbar { background: var(--green); color: #fff; text-align: center; padding: 9px 0; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.topbar .sep { opacity: .3; margin: 0 12px; }
.topbar a { color: var(--amber-light); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

/* ── SITE HEADER ── */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 999; transition: box-shadow var(--r); }
.site-header.scrolled { box-shadow: 0 4px 24px rgba(14,61,53,0.09); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; }

/* ── LOGO ── */
.site-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo-mark { background: var(--green); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.logo-text { line-height: 1.15; }
.logo-name { font-family: 'DM Sans', sans-serif; font-size: 18px; font-weight: 700; color: var(--text-dark); letter-spacing: .06em; text-transform: uppercase; display: block; }
.logo-tag  { font-size: 9px; color: var(--amber); font-weight: 600; letter-spacing: .05em; display: block; }

/* ── PRIMARY NAV ── */
.primary-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-list > li { position: relative; }
.nav-list > li > a,
.nav-dropdown-toggle {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px; font-weight: 500; color: var(--text-body);
    text-decoration: none; background: none; border: none; cursor: pointer;
    display: flex; align-items: center; gap: 5px; padding: 4px 0;
    transition: color var(--r); position: relative;
}
.nav-list > li > a::after,
.nav-dropdown-toggle::after {
    content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
    height: 2px; background: var(--amber);
    transform: scaleX(0); transform-origin: left;
    transition: transform var(--r);
}
.nav-list > li > a:hover, .nav-list > li > a.active,
.nav-dropdown-toggle:hover { color: var(--green); }
.nav-list > li > a:hover::after, .nav-list > li > a.active::after,
.nav-dropdown-toggle:hover::after { transform: scaleX(1); }
.nav-dropdown-toggle svg { transition: transform var(--r); }
.has-dropdown:hover .nav-dropdown-toggle svg { transform: rotate(180deg); }

/* ── DROPDOWN ── */
.dropdown-menu {
    position: absolute; top: calc(100% + 14px); left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: #fff; border: 1px solid var(--border);
    border-radius: 12px; padding: 10px; min-width: 290px;
    box-shadow: 0 16px 48px rgba(14,61,53,0.12);
    opacity: 0; pointer-events: none; list-style: none;
    transition: opacity var(--r), transform var(--r);
    z-index: 100;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
.dropdown-menu li a { display: flex; align-items: flex-start; gap: 12px; padding: 11px 13px; border-radius: 8px; text-decoration: none; transition: background var(--r); }
.dropdown-menu li a:hover { background: var(--green-pale); }
.dropdown-menu li a:hover::after { display: none; }
.dm-icon { width: 36px; height: 36px; background: var(--green-pale); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background var(--r); stroke: var(--green-mid); }
.dropdown-menu li a:hover .dm-icon { background: var(--green); }
.dropdown-menu li a:hover .dm-icon svg { stroke: #fff; }
.dm-icon svg { stroke: var(--green-mid); transition: stroke var(--r); }
.dm-text { line-height: 1.2; }
.dm-title { font-size: 13px; font-weight: 600; color: var(--text-dark); display: block; margin-bottom: 3px; }
.dm-sub   { font-size: 11.5px; color: var(--text-muted); display: block; }

/* ── HEADER RIGHT ── */
.header-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-phone { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.phone-icon { width: 36px; height: 36px; background: var(--amber); border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.phone-icon svg { stroke: var(--green); }
.phone-lbl { font-size: 10px; color: var(--text-muted); display: block; }
.phone-num { font-size: 14px; font-weight: 700; color: var(--green-mid); display: block; line-height: 1.2; }
.header-cta { padding: 11px 22px; font-size: 13px; }

/* ── MOBILE ── */
.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: var(--r); }
.mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 16px 20px 20px; border-top: 1px solid var(--border); background: #fff; box-shadow: 0 16px 40px rgba(14,61,53,0.1); }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 11px 16px; border-radius: 7px; font-size: 14px; font-weight: 500; color: var(--text-dark); text-decoration: none; transition: background var(--r); }
.mobile-menu a:hover { background: var(--green-pale); color: var(--green); }
.mobile-cta { background: var(--green) !important; color: #fff !important; text-align: center; margin-top: 8px; border-radius: 6px !important; }
.mobile-cta:hover { background: var(--green-dark) !important; }

@media (max-width: 960px) {
    .primary-nav, .header-phone { display: none; }
    .mobile-toggle { display: flex; }
    .site-header { position: relative; }
    .mobile-menu  { position: absolute; top: 100%; left: 0; right: 0; z-index: 998; }
}
