:root {
  --blue-900: #0A2540;
  --blue-800: #1A4480;
  --blue-700: #005EA8;
  --blue-100: #D9E8F6;
  --blue-050: #F5F7FA;
  --red-800: #8B0000;
  --red-700: #B50909;
  --red-600: #C51616;
  --red-100: #F8D7DA;
  --red-050: #FFF5F5;
  --ink: #172033;
  --muted: #5e6b7d;
  --line: #D0D7DE;
  --surface: #FFFFFF;
  --success: #0c7a43;
  --error: #b42318;
  --warning: #8a5a00;
  --shadow: 0 8px 22px rgba(17, 46, 81, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

input,
textarea {
  width: 100%;
  border: 1px solid #c5d2e2;
  border-radius: 2px;
  padding: 0.85rem 0.9rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--red-700);
  box-shadow: 0 0 0 4px rgba(178, 29, 56, 0.14);
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

.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;
}

.site-header {
  position: sticky;
  top: 34px;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #a7b8cc;
  box-shadow: 0 2px 0 var(--red-700), 0 8px 26px rgba(17, 46, 81, 0.08);
  backdrop-filter: blur(12px);
}

.gov-banner {
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: 34px;
  color: #fff;
  background: var(--blue-900);
  border-bottom: 3px solid var(--red-700);
}

.gov-banner-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.83rem;
  font-weight: 700;
}

.utility-links {
  margin-left: auto;
  color: var(--blue-100);
  font-size: 0.78rem;
  font-weight: 800;
}

.usa-flag {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 30px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: repeating-linear-gradient(
    to bottom,
    #b21d38 0 1.38px,
    #fff 1.38px 2.76px
  );
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.usa-flag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 13px;
  height: 9.8px;
  background: var(--blue-900);
}

.usa-flag span {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    4px 0 #fff,
    8px 0 #fff,
    0 3px #fff,
    4px 3px #fff,
    8px 3px #fff,
    0 6px #fff,
    4px 6px #fff,
    8px 6px #fff;
}

.nav-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 230px;
}

.brand-logo {
  display: block;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border: 1px solid var(--line);
  background: #fff;
  object-fit: contain;
  padding: 4px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--red-800);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.primary-nav a {
  padding: 0.65rem 0.85rem;
  border-radius: 0;
  color: var(--blue-900);
  font-weight: 800;
  font-size: 0.95rem;
  border-bottom: 3px solid transparent;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--red-800);
  background: var(--red-050);
  border-bottom-color: var(--red-700);
  box-shadow: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--red-700);
}

.hero {
  min-height: calc(100vh - 112px);
  display: flex;
  align-items: center;
  padding: 4.5rem 0;
  background:
    linear-gradient(90deg, rgba(17, 46, 81, 0.96), rgba(17, 46, 81, 0.86)),
    linear-gradient(135deg, #0A2540 0%, #1A4480 70%, #B50909 100%);
  color: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(330px, 0.78fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-logo {
  display: block;
  width: 122px;
  height: 122px;
  margin: 0 0 1rem;
  border: 2px solid rgba(255, 255, 255, 0.75);
  background: #fff;
  object-fit: contain;
  padding: 8px;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 720px;
  font-size: clamp(2.35rem, 4.6vw, 4.2rem);
}

.hero-lead {
  max-width: 570px;
  margin: 1.25rem 0 0;
  font-size: 1.18rem;
  color: #e9f4ff;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--blue-700);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffffff;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.7rem 0;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 38px;
  padding: 0.42rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 2px;
  background: rgba(10, 37, 64, 0.58);
  color: #fff;
  font-weight: 700;
}

.trust-row span::before {
  content: "";
  width: 8px;
  height: 14px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(45deg);
  font-weight: 900;
}

.hero-visual {
  width: min(520px, 100%);
  margin: 1.6rem 0 1.2rem;
  border: 3px solid rgba(253, 224, 230, 0.88);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: none;
}

.hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.cta-note,
.secure-notice {
  margin: 0;
  color: #ffffff;
  font-weight: 700;
}

.form-note {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.service-form {
  background: var(--surface);
  color: var(--ink);
  border-radius: 2px;
  padding: 1.5rem;
  border-top: 5px solid var(--red-700);
  box-shadow: none;
}

.form-heading {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--red-100);
}

.form-heading h2,
.static-form h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.25;
}

.form-heading p,
.static-form p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.form-logo {
  display: block;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  object-fit: contain;
  padding: 3px;
}

.service-form label {
  display: block;
  margin-top: 0.9rem;
  font-weight: 800;
  color: var(--red-800);
}

.service-form label span {
  display: block;
  margin-bottom: 0.3rem;
}

.form-alert,
.confirmation {
  display: none;
  margin: 0 0 1rem;
  padding: 0.85rem;
  border-radius: 2px;
  font-weight: 700;
}

.form-alert.error,
.confirmation.error {
  display: block;
  color: var(--error);
  background: #fff1f0;
  border: 1px solid #ffccc7;
}

.confirmation.success {
  display: block;
  color: var(--success);
  background: #eefaf3;
  border: 1px solid #b7ebc9;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 0.75rem 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  box-shadow: none;
}

.btn-primary {
  background: var(--red-700);
  color: #fff;
}

.btn-primary:hover {
  background: var(--red-800);
}

.btn-secondary {
  border-color: var(--red-700);
  color: var(--red-800);
  background: #fff;
}

.btn-full {
  width: 100%;
  margin-top: 1rem;
}

.section {
  padding: 4.5rem 0;
}

.section-soft,
.page-hero {
  background: #f7f9fb;
}

.section-heading {
  margin-bottom: 1.7rem;
}

.section-heading h2,
.contact-band h2,
.content-page h2,
.info-panel h2 {
  margin: 0;
  color: var(--blue-900);
  line-height: 1.15;
}

.section-heading h2::after,
.content-page h2::after,
.info-panel h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 0.65rem;
  border-radius: 0;
  background: var(--red-700);
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.split-heading,
.contact-grid,
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.steps-grid,
.preview-grid,
.package-grid {
  display: grid;
  gap: 1.1rem;
}

.steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.step-card,
.preview-card,
.package-card,
.info-panel {
  border: 1px solid #c8d2df;
  border-radius: 2px;
  background: #fff;
  padding: 1.25rem;
  box-shadow: none;
}

.step-card,
.preview-card {
  border-top: 4px solid var(--red-700);
}

.step-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 2px;
  background: var(--red-700);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 900;
}

.step-card h3,
.preview-card h3,
.package-card h2 {
  margin: 1rem 0 0.45rem;
  color: var(--red-800);
  line-height: 1.2;
}

.step-card p,
.preview-card p,
.package-card p,
.content-page p,
.info-panel p {
  color: var(--muted);
}

.preview-card ul {
  padding-left: 1.2rem;
  color: #34445a;
}

.preview-card li {
  margin: 0.3rem 0;
}

.preview-card li::marker {
  color: var(--red-700);
}

.preview-card.featured,
.package-card.highlighted {
  border-color: var(--red-700);
  box-shadow: inset 0 0 0 1px var(--red-700);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
  color: var(--red-800);
  background: var(--red-100);
  font-size: 0.78rem;
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  margin-top: 0.4rem;
  color: var(--blue-800);
  font-weight: 900;
}

.text-link::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  margin: 0.48rem 0 0 0.35rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 2rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

details {
  border: 1px solid #c8d2df;
  border-radius: 2px;
  background: #fff;
  padding: 0.2rem 1rem;
}

summary {
  padding: 0.9rem 0;
  color: var(--red-800);
  font-weight: 900;
  cursor: pointer;
}

details p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.contact-band {
  background: var(--blue-900);
  color: #fff;
}

.contact-band .eyebrow,
.contact-band h2 {
  color: #fff;
}

.contact-band p {
  max-width: 620px;
  color: #e7f2ff;
}

.contact-list {
  min-width: min(100%, 360px);
  padding: 1.1rem;
  border: 2px solid rgba(253, 224, 230, 0.55);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.page-hero {
  padding: 4rem 0 3rem;
  border-bottom: 5px solid var(--red-700);
  border-top: 1px solid #fff;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: var(--red-800);
}

.page-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.flow-warning {
  margin-bottom: 1.2rem;
  border: 1px solid #ffd666;
  border-radius: 2px;
  padding: 1rem;
  background: #fffbe6;
  color: var(--warning);
}

.flow-warning p {
  margin: 0.25rem 0 1rem;
}

.package-card {
  display: flex;
  flex-direction: column;
  border-top: 5px solid var(--red-700);
}

.package-card ul {
  padding-left: 1.2rem;
  margin: 0.8rem 0;
  color: #34445a;
}

.package-card li {
  margin: 0.35rem 0;
}

.package-card li::marker {
  color: var(--red-700);
}

.delivery {
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 2px solid var(--red-100);
}

.package-card.selected {
  outline: 3px solid rgba(178, 29, 56, 0.22);
  border-color: var(--red-700);
  background: #fff;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.4rem;
  align-items: start;
}

.static-form {
  box-shadow: none;
}

.muted {
  color: var(--muted);
  font-size: 0.95rem;
}

.content-page {
  max-width: 860px;
}

.content-page h2 {
  margin-top: 2rem;
}

.content-page h2:first-child {
  margin-top: 0;
}

.site-footer {
  padding: 1.6rem 0;
  color: #dbeaff;
  background: #071f3c;
  border-top: 4px solid var(--red-700);
}

.site-footer p {
  margin: 0.35rem 0 0;
}

.footer-brand-title {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
}

.footer-logo {
  display: block;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: #fff;
  object-fit: contain;
  padding: 3px;
}

.footer-flag {
  width: 34px;
  height: 20px;
}

.footer-flag::before {
  width: 15px;
  height: 10.8px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-contact p {
  margin: 0 0 0.35rem;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.mobile-sticky-cta {
  display: none;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 3rem 0;
  }

  .hero-grid,
  .faq-layout,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid,
  .preview-grid,
  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-heading,
  .contact-grid,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 64px;
  }

  .nav-shell {
    min-height: 66px;
  }

  .site-header {
    top: 34px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 66px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.65rem;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: #fff;
    box-shadow: none;
  }

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

  .primary-nav a {
    width: 100%;
  }

  .hero-copy h1 {
    font-size: 2.55rem;
  }

  .service-form {
    padding: 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .steps-grid,
  .preview-grid,
  .package-grid {
    grid-template-columns: 1fr;
  }

  .mobile-sticky-cta {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 60;
    display: flex;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1rem;
    border-radius: 2px;
    background: var(--red-700);
    color: #fff;
    font-weight: 900;
    box-shadow: none;
  }
}

@media (max-width: 430px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .hero-copy h1 {
    font-size: 2.15rem;
  }

  .hero-lead,
  .page-hero p:not(.eyebrow) {
    font-size: 1rem;
  }

  .trust-row span {
    width: 100%;
  }

  .gov-banner-inner {
    font-size: 0.76rem;
  }
}
