/* Reset & CSS Variables */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --wrc-navy: #0b1a2c;
  --wrc-blue: #1b4985;
  --wrc-accent: #c59b27; /* Gold accent */
  --wrc-light-bg: #f8fafc;
  --wrc-border: #e2e8f0;
  --wrc-text: #1e293b;
  --wrc-text-muted: #64748b;
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body {
  font-family: var(--font-family);
  background-color: var(--wrc-light-bg);
  color: var(--wrc-text);
  min-height: 100vh;
}
.btn-submit {
  width: 100%;
  background-color: var(--wrc-blue);
  color: #ffffff;
  border: none;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-submit:hover {
  background-color: var(--wrc-navy);
  transform: translateY(-1px);
}

/* Navbar Header */
.navbar-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--wrc-border);
  width: 100%;
}

.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 76px;
}

/* Logo Styling & Containment */
.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  max-height: 48px;
}

.brand-logo img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Text fallback if image logo fails */
.logo-fallback {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.logo-fallback .firm-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--wrc-navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.logo-fallback .firm-tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--wrc-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Navigation Menu */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.875rem;
  text-decoration: none;
  color: var(--wrc-navy);
  font-weight: 600;
  font-size: 0.938rem;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--wrc-blue);
  background-color: #f1f5f9;
}

.chevron {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

/* Dropdown Menus */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.25rem;
  background: #ffffff;
  border: 1px solid var(--wrc-border);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 1010;
}

.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-item.dropdown:hover .chevron {
  transform: rotate(180deg);
}

/* Mega Menu (For Multi-column Services) */
.mega-menu {
  min-width: 480px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 0.875rem;
}

.menu-column-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--wrc-accent);
  margin-bottom: 0.375rem;
  padding-left: 0.5rem;
}

.menu-item {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0.625rem;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.15s ease;
}

.menu-item:hover {
  background-color: #f8fafc;
}

.item-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--wrc-navy);
}

.menu-item:hover .item-title {
  color: var(--wrc-blue);
}

.item-desc {
  font-size: 0.75rem;
  color: var(--wrc-text-muted);
  margin-top: 2px;
}

/* CTA Button */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-contact {
  background-color: var(--wrc-navy);
  color: #ffffff;
  padding: 0.55rem 1.125rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 6px;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.btn-contact:hover {
  background-color: var(--wrc-blue);
}

/* Mobile Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--wrc-navy);
  transition: all 0.2s ease;
}

/* Mobile Responsive Styles */
@media (max-width: 992px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    height: calc(100vh - 76px);
    background-color: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 0.5rem;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.25s ease-in-out;
    border-top: 1px solid var(--wrc-border);
  }

  .nav-links.is-open {
    transform: translateX(0);
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    font-size: 1.05rem;
    padding: 0.75rem 0.5rem;
  }

  .dropdown-menu,
  .mega-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    display: none;
    min-width: 100%;
    grid-template-columns: 1fr;
  }

  .nav-item.is-active .dropdown-menu {
    display: flex;
  }

  .nav-item.is-active .chevron {
    transform: rotate(180deg);
  }
}
.site-footer {
  font-family: var(--font-family);
  background-color: #ffffff;
  color: var(--wrc-text);
  border-top: 1px solid var(--wrc-border);
  margin-top: auto;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Footer Top Layout Grid */
.footer-top {
  padding: 4rem 0 3rem 0;
}

.footer-top .footer-container {
  display: grid;
  grid-template-columns: 2.2fr repeat(3, 1fr) 1.5fr;
  gap: 2rem;
}

/* Brand & Overview Column */
.brand-col {
  padding-right: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 1.25rem;
}

.footer-logo img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

.footer-logo-fallback {
  display: flex;
  flex-direction: column;
}

.footer-logo-fallback .firm-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--wrc-navy);
  letter-spacing: -0.02em;
}

.footer-logo-fallback .firm-tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--wrc-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.firm-description {
  font-size: 0.875rem;
  color: var(--wrc-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-contact-direct {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.direct-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--wrc-navy);
  text-decoration: none;
  transition: color 0.15s ease;
}

.direct-link:hover {
  color: var(--wrc-blue);
}

.direct-link .icon {
  width: 16px;
  height: 16px;
  fill: var(--wrc-accent);
}

/* Link Columns */
.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wrc-navy);
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: var(--wrc-text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--wrc-blue);
}

/* Locations Column */
.office-location {
  margin-bottom: 1rem;
}

.office-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--wrc-navy);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.25rem;
  transition: color 0.15s ease;
}

.office-title:hover {
  color: var(--wrc-blue);
}

.office-address {
  font-style: normal;
  font-size: 0.813rem;
  color: var(--wrc-text-muted);
  line-height: 1.4;
}

/* Legal Disclaimer */
.footer-disclaimer {
  background-color: var(--wrc-light-bg);
  border-top: 1px solid var(--wrc-border);
  border-bottom: 1px solid var(--wrc-border);
  padding: 1.25rem 0;
}

.footer-disclaimer p {
  font-size: 0.75rem;
  color: var(--wrc-text-muted);
  line-height: 1.6;
}

/* Bottom Bar */
.footer-bottom {
  padding: 1.5rem 0;
  font-size: 0.813rem;
  color: var(--wrc-text-muted);
}

.bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.bottom-links {
  display: flex;
  gap: 1.5rem;
}

.bottom-links a {
  color: var(--wrc-text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.bottom-links a:hover {
  color: var(--wrc-navy);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .footer-top .footer-container {
    grid-template-columns: repeat(3, 1fr);
  }
  .brand-col {
    grid-column: span 3;
    padding-right: 0;
    margin-bottom: 1rem;
  }
}

@media (max-width: 640px) {
  .footer-top .footer-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .brand-col {
    grid-column: span 1;
  }
  .bottom-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}
