:root {
  --ink: #132033;
  --muted: #5b6675;
  --paper: #f7f5ef;
  --white: #ffffff;
  --blue: #0d3b66;
  --blue-dark: #082941;
  --teal: #1d7874;
  --gold: #d8a840;
  --line: rgba(19, 32, 51, 0.14);
  --shadow: 0 22px 60px rgba(8, 41, 65, 0.18);
  --radius: 8px;
}

* {
  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.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 245, 239, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-weight: 800;
  letter-spacing: 0;
}

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

.brand strong {
  font-size: 1rem;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 4px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.site-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
}

.site-nav a:hover {
  color: var(--blue-dark);
  background: var(--white);
}

.header-call {
  color: var(--white);
  background: var(--blue);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 750;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: max(620px, calc(100svh - 128px));
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero picture,
.hero img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 41, 65, 0.9), rgba(8, 41, 65, 0.62) 42%, rgba(8, 41, 65, 0.18)),
    linear-gradient(0deg, rgba(8, 41, 65, 0.32), rgba(8, 41, 65, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 90px);
  padding: 80px 0;
  color: var(--white);
}

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

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

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.55rem, 6vw, 4.75rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

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

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions,
.contact-list,
.site-footer div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

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

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

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

.section {
  padding: clamp(68px, 10vw, 126px) clamp(18px, 5vw, 70px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  background: var(--white);
}

.intro p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

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

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

.service-grid article {
  min-height: 280px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(19, 32, 51, 0.06);
}

.service-grid p,
.steps span,
.assurance-copy p,
.contact-copy p,
.form-note {
  color: var(--muted);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--blue);
  background: rgba(216, 168, 64, 0.2);
  border-radius: 50%;
  font-weight: 850;
}

.assurance {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  color: var(--white);
  background: var(--blue-dark);
}

.assurance-copy p {
  color: rgba(255, 255, 255, 0.76);
  max-width: 720px;
  margin: 22px 0;
}

.text-link {
  display: inline-flex;
  color: var(--white);
  border-bottom: 2px solid var(--gold);
  font-weight: 850;
}

.assurance-panel {
  display: grid;
  gap: 12px;
}

.assurance-panel div {
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.assurance-panel strong,
.assurance-panel span {
  display: block;
}

.assurance-panel strong {
  color: var(--gold);
  font-size: 2rem;
  line-height: 1;
}

.assurance-panel span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.process {
  background: var(--white);
}

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

.steps li {
  position: relative;
  padding: 28px 28px 28px 78px;
  border-top: 1px solid var(--line);
}

.steps li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 28px;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-weight: 850;
}

.steps strong,
.steps span {
  display: block;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  padding: clamp(68px, 10vw, 126px) clamp(18px, 5vw, 70px);
  background: var(--teal);
  color: var(--white);
}

.contact .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 640px;
}

.contact-list {
  margin-top: 28px;
}

.contact-list a,
.contact-list span {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 760;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  background: #fbfbf8;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(29, 120, 116, 0.22);
  border-color: var(--teal);
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 70px);
  color: rgba(255, 255, 255, 0.76);
  background: #071d2e;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong,
.site-footer a {
  color: var(--white);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .intro,
  .assurance,
  .contact {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .site-header {
    min-height: 70px;
    padding: 12px 14px;
  }

  .brand small,
  .header-call {
    display: none;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: max(640px, calc(100svh - 104px));
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(8, 41, 65, 0.9), rgba(8, 41, 65, 0.42)),
      linear-gradient(90deg, rgba(8, 41, 65, 0.85), rgba(8, 41, 65, 0.22));
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-inline: 16px;
  }

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

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

  .service-grid article {
    min-height: auto;
  }

  .contact-form {
    padding: 18px;
  }

  .site-footer {
    display: grid;
  }
}
