/* ═══════════════════════════════════════════════════════════════
   SHARED NAV + FOOTER STYLES
   Used by every page. Styles the markup injected from
   partials/nav.html and partials/footer.html via assets/nav-footer.js.
   Edit ONLY here — do not duplicate these rules per-page.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --gold: #F5C518;
  --gold-dark: #D4A800;
  --gold-light: #FDD835;
  --charcoal: #1C1C1C;
  --charcoal-mid: #2A2A2A;
  --charcoal-light: #3A3A3A;
  --white: #FFFFFF;
  --off-white: #F8F8F6;
  --text-muted: #888888;
  --text-body: #3D3D3D;
  --border: #E5E5E0;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --radius: 4px;
  --radius-md: 8px;
}

/* ─── PROMO BANNER ─── */
.promo-banner {
  background: var(--gold);
  color: var(--charcoal);
  text-align: center;
  padding: 9px 20px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── NAV ─── */
nav {
  background: var(--charcoal);
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--charcoal-mid);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-link:hover { color: var(--gold); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo_img { width: 160px; }

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.logo-text span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-phone {
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.nav-phone:hover { color: var(--gold); }
.nav-phone svg { width: 16px; height: 16px; color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: var(--charcoal);
  padding: 10px 22px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ─── NAV: SERVICES DROPDOWN + MOBILE MENU ─── */
.nav-dropdown { position: relative; }

.nav-dropdown-toggle {
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 8px 0;
  transition: color 0.2s;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.open,
.nav-dropdown:hover .nav-dropdown-toggle { color: var(--gold); }

.nav-dropdown-toggle svg { width: 12px; height: 12px; transition: transform 0.2s; }
.nav-dropdown-toggle.open svg,
.nav-dropdown:hover .nav-dropdown-toggle svg { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--charcoal-mid);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  min-width: 220px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 200;
}

.nav-dropdown-menu.open,
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown-menu a:hover { background: rgba(255,255,255,0.1); color: var(--gold); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--charcoal);
  z-index: 99;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mobile-menu.open { max-height: 420px; overflow-y: auto; }

.mobile-menu-inner { padding: 20px; display: flex; flex-direction: column; gap: 4px; }

.mobile-menu-link {
  display: block;
  padding: 14px 4px;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-menu-link:hover { color: var(--gold); }

.mobile-services-toggle {
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 4px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-services-toggle svg { width: 16px; height: 16px; color: var(--gold); transition: transform 0.2s; }
.mobile-services-toggle.open svg { transform: rotate(180deg); }

.mobile-services-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-services-list.open { max-height: 260px; }

.mobile-services-list a {
  display: block;
  padding: 12px 4px 12px 16px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.mobile-services-list a:hover { color: var(--gold); }

.mobile-menu-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 4px;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-menu-phone svg { width: 16px; height: 16px; color: var(--gold); }

.mobile-menu-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  width: 100%;
}

/* ─── FOOTER ─── */
footer {
  background: var(--charcoal);
  padding: 56px 40px 32px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-row .logo-icon { width: 38px; height: 38px; }

.footer-tagline {
  font-size: 14px;
  color: var(--white);
  line-height: 1.65;
  margin-bottom: 20px;
}

.footer-trust-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links li {
  font-size: 14px;
  color: var(--white);
}

.footer-links li a {
  font-size: 14px;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links li a:hover { color: var(--gold); }

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--white);
}

.footer-contact-item svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }

.footer-contact-item a { color: var(--white); text-decoration: none; }
.footer-contact-item a:hover { color: var(--gold); }

.footer-phone-link {
  color: #FFFFFF !important;
  text-decoration: none;
}

.footer-phone-link:hover { color: #F5C518 !important; }

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}

.footer-social svg { width: 16px; height: 16px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 13px;
  color: var(--white);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--gold); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .nav-inner { padding: 0 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .promo-banner { font-size: 12px; letter-spacing: 0.04em; padding: 9px 16px; }
  nav { height: 60px; }
  .nav-inner { padding: 0 20px; }
  .nav-phone { display: flex; font-size: 13px; }
  .logo_img { width: 130px; }
  .nav-right { display: none; }
  .nav-center { display: none; }
  .nav-hamburger { display: flex; }
  footer { padding: 40px 20px 24px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: center; gap: 12px; text-align: center; }
  .footer-logo-row { justify-content: center; }
  .footer-tagline { text-align: center; }
  .footer-trust-badges { justify-content: center; }
  .footer-col { text-align: center; }
  .footer-links { align-items: center; }
  .footer-contact-items { align-items: center; }
  .footer-contact-item { justify-content: center; }
  .footer-social { justify-content: center; }
}

@media (max-width: 480px) {
  .nav-inner { padding: 0 16px; }
  .nav-cta { padding: 9px 14px; font-size: 12px; }
  footer { padding: 32px 16px 20px; }
}
