

/* ══════════════════════════════════════
   HEADER TOKENS
   Add these to your existing :root {}
   ══════════════════════════════════════ */
:root {
  --navy:        #1b2d3e;
  --navy-mid:    #22374a;
  --crimson:     #640505;
  --gold:        #c48416;
  --gold-light:  #dfa535;
  --off-white:   #e8e2d9;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-ui:      'Barlow Condensed', 'Arial Narrow', sans-serif;

  --header-top-h: 76px;
  --header-nav-h: 44px;
  --header-z:     5000;
}

/* ══════════════════════════════════════
   WRAPPER
   ══════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--header-z);
  background: var(--navy);
  border-bottom: 3px solid var(--crimson);
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0px, transparent 3px,
    rgba(255,255,255,.012) 3px, rgba(255,255,255,.012) 4px
  );
}

/* ══════════════════════════════════════
   ROW 1 — IDENTITY
   ══════════════════════════════════════ */
.header-row--top {
  height: var(--header-top-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(196,132,22,.22);
}

/* Logo */
.header-logo { display: flex; align-items: center; flex-shrink: 0; }
.header-logo img {
  display: block;
  width: 52px;
  height: auto;
  filter: brightness(1.15);
  transition: opacity .2s;
}
.header-logo:hover img { opacity: .8; }

/* Title */
.header-title { text-align: center; line-height: 1; user-select: none; }

#company-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.15rem, 2.8vw, 1.75rem);
  letter-spacing: 0.28em;
  color: #fff;
  white-space: nowrap;
}

.header-title-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 5px 0 4px;
}
.header-title-rule::before,
.header-title-rule::after {
  content: '';
  flex: 1;
  max-width: 48px;
  height: 1px;
  background: var(--gold);
  opacity: .55;
}
.header-title-rule-diamond {
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: .7;
}

#location-maker-1 {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: clamp(0.6rem, 1.2vw, 0.72rem);
  letter-spacing: 0.35em;
  color: var(--off-white);
  opacity: .65;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  flex-shrink: 0;
}

/* Phone pill */
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px 8px 12px;
  border: 1px solid rgba(196,132,22,.45);
  border-radius: 999px;
  color: var(--gold);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s;
}
.header-phone:hover {
  background: rgba(196,132,22,.12);
  border-color: var(--gold);
  color: var(--gold-light);
}
.header-phone:visited { color: var(--gold); }

.phone-icon {
  width: 14px; height: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 14px;
}
.phone-icon i { font-size: 13px; }

/* Hamburger — hidden on desktop, shown on mobile */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: transparent;
  align-items: center; justify-content: center;
  color: var(--off-white);
  font-size: 20px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.nav-toggle:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.35);
}
.nav-toggle[aria-expanded="true"] {
  background: rgba(196,132,22,.15);
  border-color: var(--gold);
  color: var(--gold);
}


/* ══════════════════════════════════════
   ROW 2 — DESKTOP NAV
   ══════════════════════════════════════ */
.header-row--nav {
  height: var(--header-nav-h);
  background: var(--navy-mid);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0 10px;
  display: flex;
  gap: 18px;
  align-items: center;
  height: var(--header-nav-h);
}

.nav-list a {
  display: inline-flex;
  text-decoration: none;
  align-items: center;
  height: var(--header-nav-h);
  padding: 0 10px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 100;
  border-radius: 0;
  background: var(--navy-mid);
}

@keyframes nav-flicker {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 200%; }
}

@media (hover:hover) and (pointer:fine) {
  .nav-list a:hover {
    background: linear-gradient(45deg, var(--navy-mid), var(--gold));
    background-size: 200% 200%;
    animation: nav-flicker .5s ease;
  }
}

/* Vertical separator between items */
.nav-list > li + li > a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: rgba(255,255,255,.10);
}

/* Active page */
.nav-list a[aria-current="page"] {
  background: var(--gold);
  color: #fff;
}

/* ══════════════════════════════════════
   MOBILE SLIDE-DOWN PANEL
   ══════════════════════════════════════ */
.nav-panel {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  z-index: calc(var(--header-z) + 1);
  background: var(--navy);
  border-bottom: 2px solid var(--crimson);
  transform: translateY(-6px);
  opacity: 0;
  pointer-events: none;
  transition: transform .2s ease, opacity .2s ease;
}


.nav-panel.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-panel-list { padding: 6px 0 12px; }

.nav-panel-list a {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 13px 24px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--off-white);
  border-left: 3px solid transparent;
  transition: color .18s, border-color .18s, background .18s;
}

.nav-panel-list li + li a {
  border-top: 1px solid rgba(255,255,255,.07);
}

.nav-panel-list a:hover,
.nav-panel-list a:focus-visible {
  color: var(--gold);
  border-left-color: var(--gold);
  background: rgba(196,132,22,.07);
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 760px) {
  .header-row--top {
    grid-template-columns: 44px 1fr auto;
    padding: 0 14px;
    gap: 10px;
  }
  .header-logo img { width: 40px; }
  #company-title { font-size: clamp(0.95rem, 5vw, 1.35rem); letter-spacing: 0.18em; }

  /* Phone collapses to icon-only circle */
  .header-phone .phone-text { display: none; }
  .header-phone {
    padding: 0;
    width: 36px; height: 36px;
    border-radius: 50%;
    justify-content: center;
  }

  /* Show hamburger */
  .nav-toggle { display: inline-flex; }

  /* Hide desktop nav row */
  .header-row--nav { display: none; }
}

@media (max-width: 400px) {
  #company-title    { font-size: 0.95rem; letter-spacing: 0.12em; }
  #location-maker-1 { letter-spacing: 0.2em; }
  .header-title-rule::before,
  .header-title-rule::after { max-width: 24px; }
}

/* =========================
   SOCIAL ICONS FOOTER
   ========================= */
.fa {
  padding: 20px;
  font-size: 30px;
  width: 30px;
  text-align: center;
  border-radius: 50%;
}

footer .footer-social i {
  display: inline-block;
  width: 30px;        /* matches your .fa width */
  height: 30px;       /* reserves vertical space so no layout jump */
  line-height: 30px;  /* ensures the icon is vertically centered */
  font-size: 30px;    /* matches existing size */
  vertical-align: middle;
}

/* === FOOTER: final override — keep at very end === */
body footer { background:#2e5f84; color:#fff; padding:2rem 1rem; }
body footer a { color:#fff; text-decoration:none; }
body footer a:hover { color:#c48416; }

/* Kill global custom bullets inside footer */
body footer ul, body footer ol { list-style:none; margin:.75rem 0 0 0; padding:0; }
body footer li { padding-left:0; }
body footer li::before { content:none; }

/* Layout */
footer .footer-container { max-width:1200px; margin:0 auto; display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; }
footer .footer-info { flex:1; min-width:260px; margin-bottom:1rem; }
footer .footer-social { flex:1; min-width:200px; text-align:right; }
footer .footer-social a { margin-left:15px; font-size:1.5rem; transition:color .3s; }
footer .footer-social a:hover { color:#c48416; }

/* Low-key quick links */
#footer-links { border:0; text-transform:none; letter-spacing:normal; font-weight:300; font-size:.85rem; }
#footer-links .footer-quicklinks { display:flex; flex-wrap:wrap; flex-direction: column; gap:8px 14px; opacity:.8; }
#footer-links .footer-quicklinks a { color:#fff; font-weight:300; transition:color .3s, opacity .3s; }
#footer-links .footer-quicklinks a:hover { color:#c48416; opacity:1; }

/* Mobile */
@media (max-width:700px){
  footer .footer-container { flex-direction:column; text-align:center; }
  footer .footer-social { text-align:center; margin-top:1rem; }
}