/* ─── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
body { zoom: 0.9; }

/* ─── Focus styles (keyboard nav) ───────────────────────────────────────── */
:focus-visible {
  outline: 2px solid #6B7C5C;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ─── NAV ────────────────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: transparent;
  padding: 0;
  transition: padding 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

nav.scrolled {
  padding: 10px 20px 0;
}

.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 32px;
  background: var(--nav-bg);
  border: 1px solid transparent;
  border-radius: 0;
  transition:
    height      0.45s cubic-bezier(0.16, 1, 0.3, 1),
    padding     0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    background  0.3s ease,
    border-color 0.3s ease,
    box-shadow  0.3s ease;
}

nav.scrolled .nav-inner {
  height: 58px;
  padding: 0 24px;
  border-radius: 16px;
  border-color: var(--border);
  background: rgba(250,248,245,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.03);
}

html.dark .nav-inner {
  background: #1A1A1A;
  border-bottom: 1px solid #242424;
}
html.dark nav.scrolled .nav-inner {
  background: rgba(22,22,22,0.92);
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 8px 48px rgba(0,0,0,0.5), 0 2px 12px rgba(0,0,0,0.3);
}

/* logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img {
  height: 64px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: height 0.3s ease;
}
nav.scrolled .logo img { height: 48px; }
.logo-dark  { display: none !important; }
.logo-light { display: block !important; }
html.dark .logo-light { display: none !important; }
html.dark .logo-dark  { display: block !important; }

/* nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav-links > li { position: relative; padding-bottom: 20px; margin-bottom: -20px; }
.nav-links a {
  color: var(--text-mid);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: color 0.2s, background 0.2s;
  padding: 8px 14px;
  border-radius: 8px;
  display: block;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); background: var(--bg2); }
.nav-links a.active { color: var(--sage); }

/* dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px) scale(0.97);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px;
  min-width: 210px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.16,1,0.3,1), visibility 0.2s;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  z-index: 300;
}
.dropdown::before {
  content: '';
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: var(--bg);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}
.nav-links li:hover .dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}
.dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  font-size: 13px;
  color: var(--text) !important;
  font-weight: 500 !important;
  border-radius: 8px;
  transition: background 0.15s !important;
  white-space: nowrap;
  background: none !important;
  padding-bottom: 9px !important;
  margin-bottom: 0 !important;
}
.dropdown a:hover { background: var(--bg2) !important; color: var(--sage) !important; }
.dropdown-divider { height: 1px; background: var(--border); margin: 6px 4px; }
.has-dropdown > a::after { content: " ▾"; font-size: 9px; opacity: 0.5; }
.dd-icon {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: var(--bg2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--sage);
}

/* ─── Language button ────────────────────────────────────────────────────── */
.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
  cursor: pointer;
  color: var(--text-mid);
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 10px;
}
.lang-btn:hover { background: var(--bg2, rgba(0,0,0,0.04)); border-color: var(--text-mute); }

/* Suppress Google Translate floating banner */
.goog-te-banner-frame, .goog-te-menu-frame { display: none !important; }
.skiptranslate { display: none !important; }
body { top: 0 !important; }

/* auth buttons */
.nav-auth-group { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

.nav-pro {
  color: var(--sage) !important;
  font-weight: 600 !important;
  border: 1px solid rgba(107,124,92,0.4);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  transition: border-color 0.2s, background 0.2s !important;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}
.nav-pro:hover { background: rgba(107,124,92,0.08) !important; border-color: var(--sage) !important; }

.nav-signin {
  color: var(--text-mid) !important;
  font-weight: 600 !important;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  transition: border-color 0.2s, color 0.2s !important;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}
.nav-signin:hover { border-color: var(--sage) !important; color: var(--sage) !important; }

.nav-cta {
  background: var(--sage);
  color: #ffffff !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 13px;
  transition: background 0.2s !important;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}
.nav-cta:hover { background: var(--sage-dk) !important; }

/* user state */
#nav-user { display: none; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
#nav-user.visible { display: flex; }
#nav-username { font-size: 13px; font-weight: 500; }
.btn-signout {
  font-size: 13px; font-weight: 500;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-mid);
  border-radius: 8px; padding: 7px 14px; cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  font-family: inherit; line-height: 1.4;
}
.btn-signout:hover { border-color: var(--sage); color: var(--sage); }
#nav-my-account {
  font-size: 13px; font-weight: 600; padding: 7px 14px;
  border: 1px solid var(--border); border-radius: 8px;
  color: var(--text-mid); transition: border-color 0.2s, color 0.2s;
}
#nav-my-account:hover { border-color: var(--sage); color: var(--sage); }

/* ── AUTH DROP TRAY ───────────────────────────────────────────────────────── */
.auth-drop-wrap { position: relative; flex-shrink: 0; }
.auth-drop-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px;
  border-radius: 10px;
  font-family: inherit; font-size: 13px; font-weight: 600;
  cursor: pointer; letter-spacing: 0.01em; user-select: none; white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.auth-drop-trigger .drop-chevron {
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1);
  opacity: 0.55; flex-shrink: 0;
}
.auth-drop-wrap.open .drop-chevron { transform: rotate(180deg); opacity: 1; }
.auth-drop-trigger.ghost {
  background: transparent;
  color: var(--text-mid);
  border: 1.5px solid var(--border);
}
.auth-drop-wrap:hover .auth-drop-trigger.ghost,
.auth-drop-trigger.ghost:hover { border-color: var(--sage); color: var(--text); }
.auth-drop-trigger.primary {
  background: #4E5C43;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 4px 20px rgba(107,124,92,0.3), inset 0 1px 0 rgba(255,255,255,0.18);
}
.auth-drop-wrap:hover .auth-drop-trigger.primary,
.auth-drop-trigger.primary:hover {
  background: #3d4835;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(107,124,92,0.4), inset 0 1px 0 rgba(255,255,255,0.22);
}
.auth-drop {
  position: absolute; top: 100%; right: 0;
  padding-top: 10px;
  min-width: 230px;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px) scale(0.97);
  transform-origin: top right;
  transition: opacity 0.18s ease, transform 0.22s cubic-bezier(0.16,1,0.3,1), visibility 0.18s;
  z-index: 400;
  pointer-events: none;
}
.auth-drop-wrap.open .auth-drop {
  opacity: 1; visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.auth-drop-inner {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.11), 0 4px 14px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.03);
}
html.dark .auth-drop-inner {
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 4px 14px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.06);
}
.tray-row {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 10px;
  border-radius: 9px;
  text-decoration: none;
  transition: background 0.14s;
  color: var(--text);
}
.tray-row:hover { background: var(--bg2); }
.tray-row-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--bg2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--sage);
  transition: background 0.14s;
}
html.dark .tray-row-icon { background: var(--bg3); }
.tray-row:hover .tray-row-icon { background: rgba(107,124,92,0.14); }
.tray-row-text { flex: 1; }
.tray-row-title { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.3; }
.tray-row-sub { font-size: 11px; color: var(--muted); margin-top: 1px; line-height: 1.4; }
.tray-row-arr { color: var(--muted); opacity: 0.4; flex-shrink: 0; transition: opacity 0.14s, transform 0.14s; }
.tray-row:hover .tray-row-arr { opacity: 0.9; transform: translateX(2px); }
.tray-row.accent .tray-row-icon { background: rgba(107,124,92,0.12); }
.tray-row.accent .tray-row-title { color: var(--sage); }
.tray-divider { height: 1px; background: var(--border); margin: 4px 2px; }
.tray-section-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); padding: 6px 10px 3px;
}

/* FLOATING THEME TOGGLE */
.theme-toggle {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  z-index: 500;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  color: var(--text-mid);
}
.theme-toggle:hover { background: var(--bg2); transform: scale(1.1); box-shadow: 0 6px 20px rgba(0,0,0,0.14); }
.icon-moon { display: block; }
.icon-sun  { display: none; }
html.dark .icon-moon { display: none; }
html.dark .icon-sun  { display: block; }

/* MOBILE MENU BUTTON */
.mobile-menu-btn {
  display: none;
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--bg2);
  border: 1px solid var(--border);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.mobile-menu-btn:hover { background: var(--bg3); border-color: var(--sage); }
.mobile-menu-btn span { width: 20px; height: 2px; background: var(--text); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); display: block; }
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE NAV BACKDROP */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.22);
  z-index: 198;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.nav-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.25s ease, visibility 0s linear 0s;
}
html.dark .nav-backdrop { background: rgba(0,0,0,0.5); }

/* MOBILE NAV DRAWER */
.nav-mobile {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 24px 20px 40px;
  z-index: 199;
  gap: 0;
  overflow-y: hidden;
  box-shadow: 0 24px 48px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: top 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.28s;
}
.nav-mobile.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: top 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0s;
}
html.dark .nav-mobile { box-shadow: 0 24px 48px rgba(0,0,0,0.4), 0 4px 12px rgba(0,0,0,0.3); }
.nav-mobile > a {
  color: var(--text);
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  padding: 18px 4px;
  width: 100%;
  box-sizing: border-box;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--sage); }
.nav-mobile .nm-pricing { padding-top: 16px; padding-bottom: 20px; }
.nav-mobile .nav-cta-mobile {
  margin-top: 20px;
  background: var(--sage);
  color: #ffffff !important;
  text-align: center;
  border-radius: 8px;
  padding: 14px 24px;
  border-bottom: none;
  font-weight: 600;
}
.nav-mobile .nav-cta-mobile:hover { background: var(--sage-dk) !important; }
.nav-mobile .nav-signin-mobile {
  margin-top: 8px;
  background: transparent;
  color: var(--text) !important;
  text-align: center;
  border-radius: 8px;
  border: 1px solid var(--border) !important;
  padding: 14px 24px;
  border-bottom: none;
  font-weight: 600;
  transition: border-color 0.2s;
}
.nav-mobile .nav-signin-mobile:hover { border-color: var(--sage) !important; color: var(--sage) !important; }
/* Language row inside mobile drawer */
.nm-lang-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 16px 4px;
  margin-top: auto;
  border: none;
  border-top: 1px solid var(--border);
  background: none;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-mid);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: color 0.2s;
}
.nm-lang-row:hover { color: var(--sage); }
/* Accordion sections — toggle looks identical to .nav-mobile > a */
.nm-section { }
.nm-section-toggle {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  color: var(--text);
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  padding: 18px 4px;
  text-align: left;
  font-family: inherit;
  transition: color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.nm-section-toggle:hover { color: var(--sage); }
.nm-section.open .nm-section-toggle { border-bottom: none; }
.nm-caret { transition: transform 0.2s; color: var(--text-mute, #7A7A7A); flex-shrink: 0; }
.nm-section.open .nm-caret { transform: rotate(180deg); }

/* ── Homeowner section — sage green ── */
/* How It Works accordion — inherits base nm-section-toggle styles, just tweak sub-items */
.nm-hiw .nm-sub-items { background: var(--bg2, #f5f4f1); padding: 4px 0 8px 16px; border-radius: 0; }

/* Sign Up / Get Started section label */
.nm-cta-header { padding: 22px 4px 4px; }
.nm-cta-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted, #999);
}
.nm-cta-divider { height: 1px; background: var(--border); margin-top: 8px; }

.nm-homeowner { margin-top: 6px; }
.nm-homeowner .nm-section-toggle {
  background: rgba(107,124,92,0.09);
  border: 1px solid rgba(107,124,92,0.22);
  border-radius: 10px;
  padding: 14px 14px;
  color: var(--sage-dk, #4E5C43);
  font-weight: 600;
  margin-bottom: 6px;
  transition: background 0.2s, color 0.2s;
}
.nm-homeowner .nm-section-toggle:hover { background: rgba(107,124,92,0.16); color: var(--sage-dk, #4E5C43); }
.nm-homeowner.open .nm-section-toggle { border-bottom-left-radius: 0; border-bottom-right-radius: 0; margin-bottom: 0; }
.nm-homeowner .nm-caret { color: var(--sage, #6B7C5C); }
.nm-homeowner .nm-sub-items { border-radius: 0 0 10px 10px; background: rgba(107,124,92,0.06); border: 1px solid rgba(107,124,92,0.18); border-top: none; }
.nm-homeowner .nm-sub-item { border-bottom-color: rgba(107,124,92,0.14) !important; }
.nm-homeowner .nm-sub-item:hover { background: rgba(107,124,92,0.1); }
.nm-homeowner .nm-si-icon { background: rgba(107,124,92,0.12); color: var(--sage, #6B7C5C); }

/* ── Contractor section — gold ── */
.nm-contractor { margin-top: 6px; }
.nm-contractor .nm-section-toggle {
  background: rgba(249,168,37,0.08);
  border: 1px solid rgba(249,168,37,0.28);
  border-radius: 10px;
  padding: 14px 14px;
  color: #b8860b;
  font-weight: 600;
  margin-bottom: 6px;
  transition: background 0.2s, color 0.2s;
}
.nm-contractor .nm-section-toggle:hover { background: rgba(249,168,37,0.14); color: #9a6f00; }
.nm-contractor.open .nm-section-toggle { border-bottom-left-radius: 0; border-bottom-right-radius: 0; margin-bottom: 0; }
.nm-contractor .nm-caret { color: #f9a825; }
.nm-contractor .nm-sub-items { border-radius: 0 0 10px 10px; background: rgba(249,168,37,0.05); border: 1px solid rgba(249,168,37,0.2); border-top: none; }
.nm-contractor .nm-sub-item { border-bottom-color: rgba(249,168,37,0.14) !important; }
.nm-contractor .nm-sub-item:hover { background: rgba(249,168,37,0.09); }
.nm-contractor .nm-si-icon { background: rgba(249,168,37,0.12); color: #f9a825; }

/* Dark mode adjustments */
html.dark .nm-homeowner .nm-section-toggle { background: rgba(107,124,92,0.22); border-color: rgba(107,124,92,0.45); color: #A8C295; }
html.dark .nm-homeowner .nm-section-toggle:hover { background: rgba(107,124,92,0.32); color: #A8C295; }
html.dark .nm-homeowner .nm-caret { color: #8A9E79; }
html.dark .nm-homeowner .nm-sub-items { background: #1C2419; border-color: rgba(107,124,92,0.35); }
html.dark .nm-homeowner .nm-sub-item { border-bottom-color: rgba(107,124,92,0.2) !important; }
html.dark .nm-homeowner .nm-sub-item:hover { background: rgba(107,124,92,0.15); }
html.dark .nm-homeowner .nm-si-icon { background: rgba(107,124,92,0.25); color: #8A9E79; }
html.dark .nm-homeowner .nm-si-title { color: #F0EDE8; }
html.dark .nm-homeowner .nm-si-sub { color: #8A8A8A; }

html.dark .nm-contractor .nm-section-toggle { background: rgba(249,168,37,0.18); border-color: rgba(249,168,37,0.38); color: #ffd54f; }
html.dark .nm-contractor .nm-section-toggle:hover { background: rgba(249,168,37,0.26); color: #ffd54f; }
html.dark .nm-contractor .nm-caret { color: #f9a825; }
html.dark .nm-contractor .nm-sub-items { background: #1e1a0e; border-color: rgba(249,168,37,0.28); }
html.dark .nm-contractor .nm-sub-item { border-bottom-color: rgba(249,168,37,0.16) !important; }
html.dark .nm-contractor .nm-sub-item:hover { background: rgba(249,168,37,0.1); }
html.dark .nm-contractor .nm-si-icon { background: rgba(249,168,37,0.2); color: #f9a825; }
html.dark .nm-contractor .nm-si-title { color: #F0EDE8; }
html.dark .nm-contractor .nm-si-sub { color: #8A8A8A; }

/* Sub-items panel */
.nm-sub-items {
  display: flex;
  flex-direction: column;
  background: var(--bg2);
  border-radius: 10px;
  overflow: hidden;
  max-height: 0;
  margin-bottom: 0;
  border-bottom: none;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), margin-bottom 0.3s ease, opacity 0.2s ease;
  opacity: 0;
}
.nm-section.open .nm-sub-items {
  max-height: 400px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border);
  opacity: 1;
}

.nm-sub-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  text-decoration: none;
  border-bottom: 1px solid var(--border, #E8E3DA) !important;
  transition: background 0.15s;
  color: var(--text) !important;
}
.nm-sub-item:last-child { border-bottom: none !important; }
.nm-sub-item:hover { background: rgba(0,0,0,0.04); }

.nm-si-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-mute, #7A7A7A);
}
.nm-si-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.nm-si-title { font-size: 14px; font-weight: 600; color: var(--text); display: block; }
.nm-si-sub { font-size: 11px; color: var(--text-mute, #7A7A7A); display: block; }

/* ─── NAV MOBILE RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 768px) {
  nav { position: sticky; width: 100%; }
  .nav-inner { height: 72px; padding: 0 16px 0 8px; position: relative; }
  .logo img { height: 68px; }
  nav.scrolled .logo img { height: 54px; }
  nav.scrolled .nav-inner { height: 60px; }
  .nav-mobile { top: 72px; }
  .nav-links { display: none !important; }
  .nav-auth-group { display: none !important; opacity: 0 !important; }
  .lang-btn { display: none !important; }
  .mobile-menu-btn {
    display: flex !important;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
  }
}

@media (max-width: 480px) {
  .nav-inner { height: 66px; }
  .logo img { height: 62px; }
  nav.scrolled .logo img { height: 50px; }
  nav.scrolled .nav-inner { height: 56px; }
  .nav-mobile { top: 66px; }
  .mobile-menu-btn { width: 36px; height: 36px; right: 14px; }
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
footer {
  background: #FAF8F5;
  padding: 64px 48px 36px;
  color: rgba(26,26,26,0.55);
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  margin-bottom: 28px;
}
.footer-brand img { height: 30px; width: auto; margin-bottom: 14px; }
.footer-tagline {
  font-size: 14px;
  color: rgba(26,26,26,0.5);
  line-height: 1.65;
  max-width: 260px;
}
.footer-nav { display: flex; gap: 80px; }
.footer-col-heading {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(26,26,26,0.35);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(26,26,26,0.6);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: #1A1A1A; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  color: rgba(26,26,26,0.4);
  font-size: 13px;
  transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(26,26,26,0.75); }

html.dark footer { background: #050505; color: rgba(250,248,245,0.5); }
html.dark .footer-grid { border-bottom-color: rgba(255,255,255,0.07); }
html.dark .footer-tagline { color: rgba(250,248,245,0.4); }
html.dark .footer-col-heading { color: rgba(250,248,245,0.3); }
html.dark .footer-col ul li a { color: rgba(250,248,245,0.55); }
html.dark .footer-col ul li a:hover { color: #FAF8F5; }
html.dark .footer-legal a { color: rgba(250,248,245,0.35); }
html.dark .footer-legal a:hover { color: rgba(250,248,245,0.7); }
html.dark .footer-brand img { content: url('logo-dark.png'); }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav { flex-wrap: wrap; gap: 40px; }
}
@media (max-width: 768px) {
  footer { padding: 48px 20px 24px; }
  .footer-nav { gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 480px) {
  footer { padding: 40px 16px 20px; }
  .footer-grid { gap: 28px; }
  .footer-nav { flex-direction: column; gap: 24px; }
  .footer-tagline { max-width: 100%; }
  .footer-legal { flex-wrap: wrap; gap: 12px; }
}
