:root {
  --bg: #07131f;
  --bg2: #06101a;
  --page: #071f33;
  --card: #0c1d2d;
  --card2: #0b1826;
  --text: #eaf2fb;
  --muted: #b7c7d8;
  --line: rgba(255, 255, 255, 0.10);
  --accent: #4fd1c5;
  --accent2: #60a5fa;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.14);
  --radius: 16px;
  --nav-bg: linear-gradient(180deg, rgba(18, 76, 148, 0.92), rgba(10, 46, 92, 0.82));
  --accent-stripe: linear-gradient(90deg, rgba(79, 209, 197, 0.90), rgba(96, 165, 250, 0.90));
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--page);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.92rem;
}

.sep {
  opacity: 0.6;
  margin: 0 0.4rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
}

/* Top header */
.topbar {
  padding: 5px 0;
  border-bottom: 1px solid var(--line);
  background: #0e3a5f;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  flex-wrap: nowrap;
}

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.topbar__center {
  font-weight: 1000;
  color: #ffffff;
  flex-shrink: 1;
  min-width: 0;
  text-align: center;
  font-size: clamp(0.7rem, 2.2vw, 1rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 4px;
}

.topbar__link {
  color: var(--text);
  text-decoration: none;
}

.topbar__link:hover {
  text-decoration: underline;
}

.topbar__logo {
  display: block;
  height: clamp(55px, 10vw, 100px);
  width: auto;
}

.topbar__bbb {
  display: block;
  height: clamp(42px, 7.5vw, 75px);
  width: auto;
}

.header-accent {
  height: 6px;
  width: 100%;
  background: var(--accent-stripe);
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand__text strong {
  display: block;
  line-height: 1.05;
}

.brand__text span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
}

.nav__links,
.nav__cta {
  display: flex;
  align-items: center;
}

.nav__links {
  gap: 1.1rem;
}

.nav__links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav__links a:hover {
  color: var(--text);
}

.nav__cta {
  gap: 0.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.12s ease, background 0.12s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: linear-gradient(135deg, rgba(79, 209, 197, 0.22), rgba(96, 165, 250, 0.22));
}

.btn--primary:hover {
  background: linear-gradient(135deg, rgba(79, 209, 197, 0.30), rgba(96, 165, 250, 0.30));
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
}

.hamburger {
  display: none;
  position: relative;
  z-index: 60;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 6px 0;
  background: var(--text);
  transition: transform 0.16s ease, opacity 0.16s ease;
}

.nav--open .hamburger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav--open .hamburger span:nth-child(2) {
  opacity: 0;
}

.nav--open .hamburger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobilemenu {
  border-top: 1px solid var(--line);
  background: rgba(6, 16, 26, 0.92);
}

.mobilemenu__inner {
  display: grid;
  gap: 0.85rem;
  padding: 1rem 0 1.2rem;
}

.mobilemenu a {
  padding: 0.55rem 0.2rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.mobilemenu a:hover {
  color: var(--text);
}

.mobilemenu__cta {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* Hero */
.hero {
  padding: 4.2rem 0 2.2rem;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3.2vw, 3.05rem);
  line-height: 1.08;
}

.lead {
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 1.2rem 0 1.6rem;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.metaCard,
.feature,
.trustCard,
.infoCard,
.formShell,
.step,
.reviewCard,
.callout,
.mini,
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.metaCard {
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
}

.metaCard__title,
.mini__label {
  color: var(--muted);
  font-size: 0.85rem;
}

.metaCard__value,
.mini__value {
  margin-top: 0.15rem;
  font-weight: 900;
}

.card {
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.card--glow {
  position: relative;
}

.card--glow::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: var(--radius);
  background: radial-gradient(600px 200px at 30% 0%, rgba(79, 209, 197, 0.25), transparent 60%);
}

.card__kicker {
  display: inline-block;
  padding: 0.50rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.card__title {
  margin: 0.9rem 0 0.8rem;
  font-size: 1.25rem;
  font-weight: 900;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0.2rem 0 0;
}

.checklist li {
  position: relative;
  margin: 0.55rem 0;
  padding-left: 1.35rem;
  color: var(--muted);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 900;
}

.card__note {
  margin-top: 0.9rem;
}

/* Sections */
.section {
  padding: 1.0rem;
}

.section--alt {
  background: transparent !important;
  border: 0 !important;
}

.section__head {
  margin-bottom: 1.0rem;
}

.section__head h2 {
  margin: 0 0 0.5rem;
  font-size: 1.85rem;
}

.section__head p,
.callout p,
.feature p,
.trustCard p {
  margin: 1;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.feature,
.trustCard,
.infoCard,
.formShell {
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.04);
}

.feature h3,
.trustCard h3,
.infoCard h3,
.callout h3 {
  margin: 0.1rem 0 0.5rem;
}

.feature p,
.trustCard p {
  color: var(--muted);
  line-height: 1.55;
}

#permit-types .feature,
#service-areas .trustCard,
.reviewCard {
  box-shadow: var(--shadow-soft);
}

/* How it works */
.steps {
  position: relative;
  display: grid;
  gap: 0.85rem;
}

.steps::before {
   display: none;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
}

.step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(79, 209, 197, 0.22), rgba(96, 165, 250, 0.22));
  font-weight: 900;
}

.step h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

.step p {
  margin: 0;
  color: var(--text);
  line-height: 1.55;
}

/* Chips and callouts */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.permitChips {
  margin-top: 1rem;
}

.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.2rem;
  background: linear-gradient(135deg, rgba(79, 209, 197, 0.10), rgba(96, 165, 250, 0.10));
}

.callout h3 {
  margin: 0 0 0.25rem;
}

/* Utilities used in sections */
.bullets {
  margin: 0.7rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.bullets li {
  margin: 0.35rem 0;
  line-height: 1.5;
}

.contact {
  align-items: start;
}

.miniGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 1rem 0;
}

.mini {
  padding: 0.75rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

/* Reviews */
.reviewGrid {
  margin-top: 0.5rem;
}

.reviewCard {
  height: 100%;
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.04);
}

.reviewCard h3 {
  margin: 0.35rem 0 0.45rem;
}

.reviewStars {
  color: #ffd166;
  letter-spacing: 0.12rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.reviewsCallout {
  margin-top: 1rem;
}

/* BBB seal */
.bbbSeal {
  margin-top: 0.9rem;
}

.bbbSeal__img {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
}

/* Form */
.formShell {
  overflow: hidden;
}

.formShell iframe {
  width: 100% !important;
  min-height: 980px;
  height: clamp(840px, 120vh, 1100px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer {
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.22);
}

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

.footer__brand {
  font-weight: 900;
}

.footer__links {
  display: flex;
  gap: 1rem;
}

.footer__links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.footer__links a:hover {
  color: var(--text);
}

/* Responsive */
@media (max-width: 920px) {
  .hero__inner,
  .grid--3,
  .grid--2,
  .hero__meta {
    grid-template-columns: 1fr;
  }

  .nav__links,
  .nav__cta {
    display: none;
  }

  .hamburger {
    display: inline-block;
  }

  .brand__text span {
    display: none;
  }

  .section {
    padding: 2.0 rem 0.5;
  }

  .callout {
    flex-direction: column;
    align-items: flex-start;
  }

  .bbbSeal__img {
    margin: 0 auto;
  }

  .formShell iframe {
    min-height: 1040px;
  }
}

@media (max-width: 768px) {
  .header-accent {
    height: 5px;
  }
}

@media (max-width: 520px) {
  .topbar__center {
    text-align: center;
  }

  .topbar__link {
    font-size: clamp(0.65rem, 2vw, 0.92rem);
  }

  .nav__inner {
    padding: 0.65rem 0;
  }

  .hero {
    padding: 2.6rem 0 1.4rem;
  }

  .lead {
    font-size: 1rem;
  }

  .hero__actions {
    gap: 0.6rem;
  }

  .hero__actions .btn,
  .mobilemenu__cta .btn {
    width: 100%;
  }

  .card,
  .callout,
  .formShell {
    padding: 1rem;
  }

  .section {
    padding: 1.65rem 0;
  }

  .step {
    grid-template-columns: 38px 1fr;
    gap: 0.75rem;
    padding: 0.9rem;
  }

  .steps::before {
    left: 18px;
  }

  .step__num {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .miniGrid {
    grid-template-columns: 1fr;
  }

  .mobilemenu {
    display: block;
  }

  .formShell iframe {
    min-height: 1120px;
    height: 1100px;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 1.85rem;
  }

  .btn {
    padding: 0.65rem 0.9rem;
  }
}
