:root {
  --ink: #172331;
  --muted: #5f6d7a;
  --navy: #0f2d46;
  --blue: #1e5d8a;
  --teal: #1d8a8a;
  --green: #4f7f45;
  --gold: #c6922e;
  --line: #d9e1e7;
  --soft: #f3f7f8;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(15, 45, 70, 0.14);
  --radius: 8px;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}

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

a:hover,
a:focus {
  color: var(--blue);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 12px;
}

.top-strip {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
}

.top-strip__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}

.brand-logo {
  width: min(248px, 46vw);
  height: auto;
}

.brand-logo--footer {
  width: min(230px, 100%);
  filter: brightness(1.12);
}

.brand strong {
  display: block;
  font-size: 1.18rem;
  line-height: 1.05;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
}

.brand--footer {
  color: var(--white);
  margin-bottom: 18px;
}

.brand--footer small {
  color: rgba(255, 255, 255, 0.68);
}

.brand--footer .brand-mark {
  background: var(--gold);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--ink);
  font-size: 0.95rem;
}

.site-nav a {
  white-space: nowrap;
}

.nav-utility {
  color: var(--blue);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.button--primary {
  background: var(--navy);
  color: var(--white);
}

.button--primary:hover,
.button--primary:focus {
  color: var(--white);
  background: #123b5e;
}

.button--secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
}

.button--secondary:hover,
.button--secondary:focus {
  background: var(--soft);
  color: var(--navy);
}

.button--light {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.26);
}

.button--light:hover,
.button--light:focus {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero {
  padding: 78px 0;
  background: #f3f7f8;
}

.hero--dark {
  background:
    linear-gradient(135deg, rgba(15, 45, 70, 0.94), rgba(25, 87, 118, 0.9)),
    #0f2d46;
  color: var(--white);
}

.hero--image {
  min-height: 620px;
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.hero--home {
  background-image:
    linear-gradient(90deg, rgba(15, 45, 70, 0.9) 0%, rgba(15, 45, 70, 0.72) 48%, rgba(15, 45, 70, 0.22) 100%),
    url("../images/optimized/home/banner1-1.jpg");
}

.hero__content {
  max-width: 790px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 46px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero--dark .eyebrow,
.hero--dark .lead,
.hero--image .eyebrow,
.hero--image .lead {
  color: rgba(255, 255, 255, 0.8);
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  line-height: 1.14;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 5vw, 4.75rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.7rem);
}

h3 {
  font-size: 1.18rem;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-panel {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(15, 45, 70, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.hero--dark .hero-panel {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.panel-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}

.image-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.image-panel__body {
  padding: 18px;
}

.media-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: center;
}

.media-strip img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.metric,
.mini-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.metric strong {
  display: block;
  color: var(--navy);
  font-size: 1.55rem;
  line-height: 1;
}

.metric span,
.mini-card p {
  color: var(--muted);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-stats p {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
}

.hero-stats strong {
  margin-right: 4px;
  color: var(--white);
  font-size: 1.25rem;
}

.hero--dark .metric,
.hero--dark .mini-card {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.section {
  padding: 76px 0;
}

.section--soft {
  background: var(--soft);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section--navy .section-heading p {
  color: rgba(255, 255, 255, 0.75);
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.three-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card {
  height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

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

.card__tag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(29, 138, 138, 0.12);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
}

.card-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin-bottom: 14px;
}

.service-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 18px;
}

.icon-card {
  position: relative;
  padding-top: 58px;
}

.icon-card::before {
  content: attr(data-step);
  position: absolute;
  left: 24px;
  top: 22px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: 0.86rem;
}

.roadmap {
  display: grid;
  gap: 12px;
}

.roadmap-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.roadmap-item span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--navy);
  font-weight: 800;
}

.roadmap-item p {
  margin: 7px 0 0;
  color: var(--muted);
}

.form-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field--full {
  grid-column: 1 / -1;
}

label {
  font-weight: 700;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #c9d4dc;
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

.checkbox-line {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
}

.checkbox-line input {
  margin-top: 4px;
}

.validation-summary,
.field-error {
  color: #a13625;
  font-weight: 700;
}

.status-message {
  margin-top: 18px;
  padding: 14px;
  border-radius: var(--radius);
  background: #edf7ee;
  color: #24572d;
  font-weight: 700;
}

.status-message--error {
  background: #fff1ed;
  color: #9d2f1f;
}

.recaptcha-disclosure {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.recaptcha-disclosure a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.grecaptcha-badge {
  visibility: hidden;
}

.form-divider {
  margin: 30px 0;
  border-top: 1px solid var(--line);
}

.bot-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.disclaimer {
  margin-top: 26px;
  padding: 18px;
  border-left: 4px solid var(--gold);
  background: #fff8e8;
  color: #5a4720;
  font-size: 0.92rem;
}

.legacy-content {
  max-width: 920px;
  margin: 0 auto;
}

.legacy-content h1,
.legacy-content h2,
.legacy-content h3,
.legacy-content h4 {
  margin-top: 26px;
  color: var(--navy);
}

.legacy-content p,
.legacy-content li {
  color: var(--muted);
}

.legacy-content ul,
.legacy-content ol {
  padding-left: 24px;
}

.cta-band {
  padding: 44px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  background: #101d2a;
  color: rgba(255, 255, 255, 0.78);
  padding-top: 58px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 32px;
}

.footer-grid h2 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 1rem;
}

.footer-grid a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid a:hover,
.footer-grid a:focus {
  color: var(--white);
}

.footer-bottom {
  margin-top: 42px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

@media (max-width: 920px) {
  .top-strip__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero__grid,
  .split-grid,
  .three-grid,
  .footer-grid,
  .media-strip {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 58px 0;
  }

  .hero--image {
    min-height: 560px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .metric-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 26px;
  }

  .section {
    padding: 56px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
