:root {
  --ink: #172026;
  --muted: #5b6872;
  --line: #d9e0e5;
  --paper: #f7f8f6;
  --white: #ffffff;
  --accent: #c84b31;
  --accent-dark: #993620;
  --steel: #2f5664;
  --green: #516f50;
  --shadow: 0 24px 70px rgba(23, 32, 38, 0.16);
}

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

img {
  max-width: 100%;
}

.site-header {
  min-height: 92vh;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(14, 22, 28, 0.91), rgba(14, 22, 28, 0.62), rgba(14, 22, 28, 0.28)),
    url("https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
}

.brand small,
.hero-panel span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 650;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-call {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.13);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: end;
  gap: 48px;
  width: min(1180px, calc(100% - 40px));
  min-height: calc(92vh - 94px);
  margin: 0 auto;
  padding: 80px 0 48px;
}

.hero-content {
  max-width: 760px;
}

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

.hero .eyebrow,
.cta .eyebrow {
  color: #ffbe63;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 8vw, 6.7rem);
  line-height: 0.94;
  letter-spacing: 0;
  max-width: 11ch;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.15rem;
}

.hero-actions,
.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

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

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

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

.hero-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(18, 24, 29, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero-panel div {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

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

.section-copy {
  max-width: 720px;
}

.section-copy.wide {
  max-width: 860px;
}

.section-copy p,
.service-card p,
.steps p,
.contact-details p,
.legal p {
  color: var(--muted);
}

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}

.intro-grid,
.service-grid {
  display: grid;
  gap: 18px;
}

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

.intro-grid article,
.service-card,
.contact-form,
.legal details {
  border: 1px solid var(--line);
  background: var(--white);
}

.intro-grid article {
  padding: 22px;
}

.image-band {
  min-height: 360px;
  display: flex;
  align-items: end;
  color: var(--white);
  background:
    linear-gradient(0deg, rgba(23, 32, 38, 0.82), rgba(23, 32, 38, 0.18)),
    url("https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.image-band div {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 46px 0;
}

.image-band span {
  display: block;
  margin-bottom: 8px;
  color: #ffbe63;
  font-weight: 800;
  text-transform: uppercase;
}

.image-band strong {
  display: block;
  max-width: 720px;
  font-size: clamp(1.8rem, 4vw, 3.8rem);
  line-height: 1.02;
}

.service-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 34px;
}

.service-card {
  min-height: 245px;
  padding: 24px;
}

.service-card span {
  display: block;
  margin-bottom: 42px;
  color: var(--steel);
  font-weight: 900;
}

.process {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  border-top: 1px solid var(--line);
}

.steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.steps span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--white);
  background: var(--steel);
  font-weight: 900;
}

.cta {
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 40px;
  padding: 42px;
  color: var(--white);
  background: var(--green);
}

.cta div {
  max-width: 760px;
}

.cta p {
  color: rgba(255, 255, 255, 0.8);
}

.contact {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}

.contact-details address {
  margin-bottom: 20px;
  font-style: normal;
  font-weight: 750;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 26px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

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

input:focus,
textarea:focus {
  outline: 2px solid rgba(47, 86, 100, 0.35);
  border-color: var(--steel);
}

.form-note,
.todo {
  margin: 0;
  font-size: 0.92rem;
}

.legal {
  display: grid;
  gap: 14px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 80px;
}

.legal details {
  padding: 18px 22px;
}

.legal summary {
  cursor: pointer;
  font-weight: 900;
}

.legal details div {
  padding-top: 18px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .nav {
    position: relative;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 82px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: rgba(18, 24, 29, 0.96);
  }

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

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

  .hero {
    align-items: start;
    gap: 28px;
    padding-top: 54px;
  }

  h1 {
    max-width: 10ch;
  }

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

@media (max-width: 620px) {
  .site-header {
    min-height: auto;
  }

  .nav,
  .hero,
  .section,
  .image-band div,
  .cta,
  .legal,
  .footer {
    width: min(100% - 28px, 1180px);
  }

  .brand strong {
    font-size: 0.96rem;
  }

  .hero {
    min-height: auto;
    padding: 44px 0 34px;
  }

  h1 {
    font-size: clamp(2.65rem, 15vw, 4.3rem);
  }

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

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

  .section {
    padding: 62px 0;
  }

  .service-card {
    min-height: 0;
  }

  .service-card span {
    margin-bottom: 24px;
  }

  .cta {
    padding: 28px 22px;
  }

  .footer {
    flex-direction: column;
  }
}
