/**
 * OtterQuote — Navigation & Footer Styles
 */

/* ── Header ── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 30, 44, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
}

.nav-logo-icon { font-size: 1.5rem; }
.nav-logo-text { font-family: var(--font-heading); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.nav-link {
  color: var(--slate);
  font-size: 0.9rem;
  font-weight: 500;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
  transition: all var(--duration) var(--ease);
  text-decoration: none;
}

.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.nav-link.active { color: var(--amber); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

/* ── Hamburger ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-2);
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

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

/* ── Footer ── */
#site-footer {
  background: var(--navy-2);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--sp-16) 0 var(--sp-8);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-10);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--sp-3);
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate);
  margin-bottom: var(--sp-4);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer-col a {
  color: var(--gray);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

.footer-col a:hover { color: var(--amber); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: var(--sp-6);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray);
  text-align: center;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy-2);
    flex-direction: column;
    padding: var(--sp-4);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-links.open { display: flex; }

  .nav-hamburger { display: flex; }

  .nav-actions { display: none; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
  }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
