/* ===== SITE NAVIGATION (static HTML replacement for Gutenberg nav blocks) ===== */

/* ---- Header wrapper layout ---- */
.lheader-wrap {
  font-family: var(--lh-sans);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.lheader-topbar {
  background: var(--lh-navy-deep);
  color: rgba(255,255,255,0.85);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  font-size: 13px;
  line-height: 1.4;
}
.lheader-topbar p { margin: 0; font-size: 13px; letter-spacing: 0.02em; }
.lheader-topbar a { color: var(--lh-teal); text-decoration: none; transition: color 0.2s; }
.lheader-topbar a:hover { color: #fff; }
.lheader-sep { opacity: 0.4; margin: 0 8px; }

.lheader-mainbar {
  background: #fff;
  border-bottom: 1px solid var(--lh-line);
  box-shadow: 0 2px 8px -4px rgba(11,60,93,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 40px;
  position: relative;
}

/* ---- Logo ---- */
.lheader-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.lheader-logo img {
  display: block;
  width: clamp(148px, 11vw, 190px);
  height: auto;
}
.lheader-logo-text {
  font-family: var(--lh-sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--lh-navy);
  margin: 0;
  text-decoration: none;
}
.lheader-logo-thin {
  font-weight: 300;
  color: var(--lh-ink-3);
  letter-spacing: 0.14em;
  font-size: 12px;
  margin-left: 4px;
}

/* ---- Nav ---- */
.lheader-nav { margin-left: 24px; }
.lheader-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0;
  align-items: center;
}
.lheader-nav > ul > li { position: relative; margin-right: 30px; }
.lheader-nav > ul > li:last-child { margin-right: 0; }
.lheader-nav a {
  color: var(--lh-ink-2);
  text-decoration: none;
  font-family: var(--lh-sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.lheader-nav a:hover,
.lheader-nav li.active > a { color: var(--lh-navy); }

/* dropdown arrow */
.lheader-nav > ul > li.has-submenu > a::after {
  content: " ▾";
  font-size: 9px;
  vertical-align: middle;
  opacity: 0.6;
}

/* Submenu */
.lheader-nav .submenu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: -16px;
  background: #fff;
  border: 1px solid var(--lh-line);
  box-shadow: 0 8px 32px -8px rgba(11,60,93,0.18);
  min-width: 200px;
  z-index: 1001;
  padding: 8px 0;
  list-style: none;
  margin: 0;
  flex-direction: column;
  gap: 0;
  border-radius: 2px;
}
.lheader-nav > ul > li.has-submenu:hover .submenu { display: flex; }
.lheader-nav .submenu li { width: 100%; }
.lheader-nav .submenu li a {
  display: block;
  padding: 11px 20px;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--lh-ink-2);
}
.lheader-nav .submenu li a:hover { color: var(--lh-navy); background: var(--lh-paper); }

/* ---- Header CTA buttons (static, no WP wrapper needed) ---- */
.lheader-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.lheader-btn-ghost-link,
.lheader-btn-primary-link {
  display: inline-flex;
  align-items: center;
  padding: 11px 20px;
  border-radius: 2px;
  font-family: var(--lh-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  line-height: 1;
}
.lheader-btn-ghost-link {
  background: #fff;
  color: var(--lh-navy);
  border-color: var(--lh-line);
}
.lheader-btn-ghost-link:hover { border-color: var(--lh-navy); transform: translateY(-1px); }
.lheader-btn-primary-link {
  background: var(--lh-teal);
  color: #fff;
}
.lheader-btn-primary-link:hover {
  background: var(--lh-teal-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -12px rgba(15,27,42,0.4);
}

/* ---- Hamburger button ---- */
.lheader-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.lheader-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--lh-navy);
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 1px;
}
.lheader-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lheader-hamburger.open span:nth-child(2) { opacity: 0; }
.lheader-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Footer nav link override (plain <a> tags, not WP blocks) ---- */
.lfoot-links a {
  font-size: 14.5px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.lfoot-links a:hover { color: #fff; }
.lfoot-cta a.lfoot-btn-link,
.lfoot-main .lfoot-btn-link {
  display: inline-flex;
  align-items: center;
  padding: 14px 24px;
  border-radius: 2px;
  font-family: var(--lb-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.lfoot-btn-white-link,
.lfoot-btn-outline-link {
  display: inline-flex;
  align-items: center;
  padding: 11px 20px;
  font-family: var(--lb-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  line-height: 1;
}
/* teal filled — matches header Schedule button */
.lfoot-btn-white-link {
  background: var(--lb-teal);
  color: #fff !important;
  border-color: var(--lb-teal);
}
.lfoot-btn-white-link:hover { background: var(--lb-teal-deep); border-color: var(--lb-teal-deep); color: #fff !important; transform: translateY(-1px); }
/* ghost — matches header Call Now button */
.lfoot-btn-outline-link {
  background: #fff;
  color: var(--lb-navy) !important;
  border-color: rgba(255,255,255,0.9);
}
.lfoot-btn-outline-link:hover { background: #f0f0f0; color: var(--lb-navy) !important; transform: translateY(-1px); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .lheader-topbar,
  .lheader-mainbar { padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 860px) {
  .lheader-hamburger { display: block; }
  .lheader-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--lh-line);
    border-bottom: 1px solid var(--lh-line);
    padding: 16px 24px 24px;
    z-index: 998;
    margin-left: 0;
    box-shadow: 0 8px 16px -4px rgba(11,60,93,0.1);
  }
  .lheader-nav.open { display: block; }
  .lheader-nav ul { flex-direction: column; align-items: flex-start; gap: 0; }
  .lheader-nav > ul > li { margin-right: 0; width: 100%; border-bottom: 1px solid var(--lh-line); }
  .lheader-nav > ul > li:last-child { border-bottom: 0; }
  .lheader-nav a { padding: 12px 0; display: block; }
  .lheader-nav > ul > li.has-submenu > a::after { content: " +"; }
  .lheader-nav .submenu {
    position: static;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    border: none;
    padding: 0 0 8px 16px;
    min-width: 0;
    background: transparent;
  }
  .lheader-nav .submenu li a { padding: 8px 0; color: var(--lh-ink-3); }
  .lheader-actions { gap: 8px; }
  .lheader-btn-ghost-link,
  .lheader-btn-primary-link { padding: 9px 14px; font-size: 12px; }
}

@media (max-width: 480px) {
  .lheader-topbar { display: none; }
  .lheader-actions .lheader-btn-ghost-link { display: none; }
}
