:root {
  --ink: #17212b;
  --muted: #5a6672;
  --line: #d9e2ea;
  --paper: #f7f9fb;
  --white: #ffffff;
  --blue: #1769aa;
  --blue-dark: #0f4c81;
  --yellow: #f3b61f;
  --green: #21765b;
  --shadow: 0 18px 50px rgba(23, 33, 43, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: block;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(15, 76, 129, 0.2);
}

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

.brand strong {
  font-size: 15px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.top-nav a:hover {
  color: var(--blue-dark);
}

.hero {
  position: relative;
  display: grid;
  min-height: 620px;
  overflow: hidden;
  background: #102235;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 29, 44, 0.9), rgba(15, 29, 44, 0.62) 48%, rgba(15, 29, 44, 0.2)),
    url("https://images.unsplash.com/photo-1621905252507-b35492cc74b4?auto=format&fit=crop&w=1800&q=80")
      center / cover;
  transform: scale(1.01);
}

.hero-content {
  position: relative;
  align-self: center;
  width: min(760px, 100%);
  padding: 76px clamp(18px, 6vw, 76px) 96px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 630px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(23, 105, 170, 0.24);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 700;
}

.quote-band,
.content-section,
.steps-section,
.area-section {
  padding: clamp(52px, 7vw, 92px) clamp(18px, 6vw, 76px);
}

.quote-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: start;
  background: var(--white);
}

.section-copy {
  position: sticky;
  top: 96px;
}

.section-copy p,
.area-section p {
  max-width: 600px;
  color: var(--muted);
  font-size: 18px;
}

.notice {
  margin-top: 24px;
  border-left: 4px solid var(--yellow);
  padding: 14px 16px;
  background: #fff7df;
  color: #5f4810;
  border-radius: 0 8px 8px 0;
  font-weight: 700;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(20px, 4vw, 30px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: #33404d;
  font-size: 14px;
  font-weight: 800;
}

.optional {
  color: var(--muted);
  font-weight: 700;
}

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

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #c8d4df;
  border-radius: 8px;
  padding: 12px 13px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(23, 105, 170, 0.18);
}

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

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.content-section {
  background: #edf3f8;
}

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

.service-grid article {
  min-height: 172px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-grid p,
.steps p {
  margin: 0;
  color: var(--muted);
}

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

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--white);
  background: var(--blue-dark);
  border-radius: 50%;
  font-weight: 900;
}

.steps strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.area-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #14324c;
  color: var(--white);
}

.area-section p {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  padding: 24px clamp(18px, 6vw, 76px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.site-footer p {
  max-width: 980px;
  margin: 0;
}

.thanks-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(90deg, rgba(15, 29, 44, 0.9), rgba(15, 29, 44, 0.62)),
    url("https://images.unsplash.com/photo-1621905252507-b35492cc74b4?auto=format&fit=crop&w=1600&q=80")
      center / cover;
}

.thanks-panel {
  width: min(720px, 100%);
  padding: clamp(28px, 5vw, 48px);
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.thanks-panel h1 {
  color: var(--ink);
  font-size: clamp(34px, 6vw, 56px);
}

.thanks-panel p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

@media (max-width: 860px) {
  .top-nav {
    display: none;
  }

  .hero {
    min-height: 610px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(15, 29, 44, 0.9), rgba(15, 29, 44, 0.72)),
      url("https://images.unsplash.com/photo-1621905252507-b35492cc74b4?auto=format&fit=crop&w=1100&q=80")
        center / cover;
  }

  .quote-band,
  .service-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .section-copy {
    position: static;
  }

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

  .area-section {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand strong {
    font-size: 13px;
  }

  .brand small {
    display: none;
  }

  .hero-content {
    padding: 58px 18px 82px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .quote-band,
  .content-section,
  .steps-section,
  .area-section {
    padding: 44px 18px;
  }
}
