/* ============================================
   WRS Navigation — Unified Mobile + Desktop
   ============================================ */

/* --- Header --- */
.wrs-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 72px;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}

/* --- Brand / Logo --- */
.wrs-brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #124d3c;
  font-size: 17px;
}
.wrs-logo {
  height: 44px;
  width: auto;
  display: block;
}
.wrs-brand-name {
  font-size: 16px;
  font-weight: 700;
  color: #124d3c;
}

/* --- Desktop Nav --- */
.wrs-desktop-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.wrs-desktop-nav a {
  text-decoration: none;
  color: #124d3c;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 14px;
  position: relative;
  transition: color .2s;
}
.wrs-desktop-nav a::after {
  content: ""; position: absolute; bottom: 2px; left: 14px;
  width: 0; height: 2px; background: #124d3c;
  transition: width .25s ease;
  border-radius: 2px;
}
.wrs-desktop-nav a:hover { color: #0d382b; }
.wrs-desktop-nav a:hover::after { width: calc(100% - 28px); }

/* --- Hamburger Button --- */
.wrs-hamburger {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  border-radius: 6px;
  transition: background .2s;
}
.wrs-hamburger:hover { background: rgba(18,77,60,.07); }
.wrs-hamburger .wrs-bar {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #124d3c;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.wrs-nav-open .wrs-hamburger .wrs-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.wrs-nav-open .wrs-hamburger .wrs-bar:nth-child(2) { opacity: 0; }
.wrs-nav-open .wrs-hamburger .wrs-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* --- Overlay --- */
.wrs-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 9998;
}
.wrs-nav-open .wrs-overlay { opacity: 1; visibility: visible; }

/* --- Mobile Drawer --- */
.wrs-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(85vw, 320px);
  background: #fff;
  box-shadow: -4px 0 24px rgba(0,0,0,.15);
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  z-index: 9999;
  overflow-y: auto;
}
.wrs-nav-open .wrs-drawer { transform: translateX(0); }

.wrs-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
  background: #f9fafb;
}
.wrs-drawer-header strong {
  font-size: 15px;
  color: #124d3c;
  font-weight: 700;
}
.wrs-close {
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #666;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background .2s, color .2s;
}
.wrs-close:hover { background: #f0f0f0; color: #333; }

.wrs-navlist {
  list-style: none;
  margin: 0;
  padding: 12px 0;
  flex: 1;
}
.wrs-navlist li { border-bottom: 1px solid #f3f3f3; }
.wrs-navlist li:last-child { border-bottom: none; }
.wrs-navlist a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #222;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 24px;
  transition: background .2s, color .2s;
}
.wrs-navlist a:hover { background: rgba(18,77,60,.06); color: #124d3c; }

.wrs-drawer-cta {
  padding: 20px;
  border-top: 1px solid #eee;
}
.wrs-drawer-cta a {
  display: block;
  text-align: center;
  background: #124d3c;
  color: #fff;
  text-decoration: none;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  transition: background .2s;
}
.wrs-drawer-cta a:hover { background: #0d382b; }

.wrs-nav-open body { overflow: hidden; }

/* --- Breakpoints --- */
@media (max-width: 900px) {
  .wrs-hamburger { display: flex; }
  .wrs-desktop-nav { display: none; }
}
@media (min-width: 901px) {
  .wrs-hamburger { display: none !important; }
  .wrs-desktop-nav { display: flex; }
  .wrs-overlay, .wrs-drawer { display: none !important; }
}

html { scroll-padding-top: 70px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Mobile general improvements */
@media (max-width: 900px) {
  .hero { height: 60vh; min-height: 320px; }
  .hero h1 { font-size: 1.5rem; }
  .hero p { font-size: 1rem; }
  .cta-btn--hero { padding: 16px 28px; font-size: 1.1rem; }
  .section { padding: 36px 16px; }
  .grid { grid-template-columns: 1fr; gap: 14px; }
  .pricing-grid { flex-direction: column; }
  .price-card { max-width: 100%; }
  .form .row { flex-direction: column; gap: 0; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
}

/* Tagline next to logo */
.wrs-tagline {
  font-size: 12px;
  color: #6b7f78;
  font-weight: 500;
  letter-spacing: .2px;
  border-left: 1px solid #ddd;
  padding-left: 12px;
  margin-left: 4px;
  white-space: nowrap;
}
@media (max-width: 500px) { .wrs-tagline { display: none; } }

/* Get a Quote CTA button in nav */
.wrs-nav-cta {
  background: #124d3c;
  color: #fff !important;
  text-decoration: none !important;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  transition: background .2s;
  margin-left: 8px;
}
.wrs-nav-cta:hover { background: #0d382b; }
.wrs-nav-cta::after { display: none !important; }
