/* ============================================================
   v2-nav.css — Extracted nav styles for use on v1 pages
   Only the CSS variables and rules needed for the v2 nav bar.
   ============================================================ */

:root {
  --color-primary: #008BD9;
  --color-blue-light: #00A4E9;
  --color-blue-mid: #0062C0;
  --color-blue-dark: #002E5A;
  --color-cta-start: #F8C100;
  --color-cta-end: #EE3324;
  --color-white: #FFFFFF;
  --color-surface-light: #F2F2F2;
  --color-text-body: #1a1a1a;
  --color-text-muted: #555;

  --gradient-button: linear-gradient(90deg, #EE3324 0%, #F8C100 100%);

  --radius-button: 10px;
  --container-max: 1380px;
  --container-padding: clamp(1rem, 4vw, 3rem);

  --font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-nav: 0 4px 24px rgba(0, 0, 0, 0.10);
}

/* === NAV BAR === */
.v2-nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 10px var(--container-padding);
  background: transparent;
  pointer-events: none;
  transition: background 0.3s, transform 0.35s ease;
}
.v2-nav-wrap.nav-hidden {
  transform: translateY(-110%);
  pointer-events: none;
}
.v2-nav-wrap.nav-scrolled {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.v2-nav-pill {
  max-width: var(--container-max);
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius-button);
  box-shadow: var(--shadow-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 68px;
  gap: 16px;
  pointer-events: all;
  overflow: visible;
}
.v2-nav-logo { flex-shrink: 0; }
.v2-nav-logo img { display: block; }
.v2-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.v2-nav-links a {
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 400;
  color: var(--color-text-body);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.v2-nav-links a:hover { color: var(--color-primary); }
.v2-nav-dropdown { position: relative; }
.v2-nav-dropdown-toggle {
  font-family: var(--font);
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 400;
  color: var(--color-text-body);
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 0;
  white-space: nowrap;
  transition: color 0.2s;
}
.v2-nav-dropdown-toggle:hover { color: var(--color-primary); }
.v2-nav-chevron { transition: transform 0.2s; font-size: 20px; }
.v2-nav-dropdown.open .v2-nav-chevron { transform: rotate(180deg); }
.v2-nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 12px 0;
  min-width: 200px;
  z-index: 100;
}
.v2-nav-dropdown.open .v2-nav-dropdown-menu { display: block; }
.v2-nav-dropdown-menu li { list-style: none; }
.v2-nav-dropdown-menu a {
  display: block;
  padding: 8px 20px;
  font-size: 15px;
  color: var(--color-text-body);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.v2-nav-dropdown-menu a:hover {
  background: var(--color-surface-light);
  color: var(--color-primary);
}
.v2-nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.v2-nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  color: var(--color-text-body);
  text-decoration: none;
  white-space: nowrap;
}
.v2-nav-phone-icon { color: #EE3324; flex-shrink: 0; }
.v2-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 24px;
  background: var(--gradient-button);
  color: var(--color-white);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius-button);
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.2s;
}
.v2-nav-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.v2-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.v2-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-body);
  transition: 0.3s;
  border-radius: 2px;
}

/* === Responsive === */
@media (max-width: 768px) {
  .v2-nav-links { display: none; }
  .v2-mobile-toggle { display: flex; }
  .v2-nav-pill { flex-wrap: wrap; height: auto; padding: 14px 20px; }
  .v2-nav-wrap.nav-open .v2-nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 10;
    padding: 12px 0;
    gap: 10px;
    border-top: 1px solid #eee;
    margin-top: 10px;
  }
  .v2-nav-cta { margin-left: auto; }
  .v2-nav-phone { display: none; }
}
