:root {
  --ink: #172026;
  --muted: #5d6870;
  --paper: #f7f5ef;
  --surface: #ffffff;
  --line: #d9dedf;
  --teal: #0d8f8a;
  --teal-dark: #09615e;
  --coral: #f06f55;
  --amber: #f2b84b;
  --shadow: 0 22px 70px rgba(23, 32, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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: 18px clamp(18px, 4vw, 56px);
  background: rgba(247, 245, 239, 0.9);
  border-bottom: 1px solid rgba(23, 32, 38, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.main-nav,
.hero-actions,
.hero-stats,
.section,
.contact-band,
.site-footer {
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
}

.brand {
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  box-shadow: inset -8px -8px 0 rgba(13, 143, 138, 0.5);
}

.main-nav {
  width: auto;
  display: flex;
  gap: clamp(14px, 3vw, 30px);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--muted);
}

.main-nav a:hover {
  color: var(--teal-dark);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  padding: 44px clamp(18px, 4vw, 56px) 68px;
}

.hero-copy {
  max-width: 620px;
}

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

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.hero-text {
  max-width: 560px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

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

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

.button.primary {
  color: #fff;
  background: var(--teal-dark);
  box-shadow: 0 12px 26px rgba(9, 97, 94, 0.22);
}

.button.secondary {
  border-color: rgba(23, 32, 38, 0.18);
  background: rgba(255, 255, 255, 0.62);
}

.hero-actions {
  width: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 34px;
}

.hero-stats {
  width: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.hero-stats div {
  padding-top: 16px;
  border-top: 3px solid var(--line);
}

.hero-stats dt {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-media {
  position: relative;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: auto 9% -18px 11%;
  height: 38px;
  background: rgba(23, 32, 38, 0.18);
  filter: blur(24px);
}

.hero-media img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section {
  padding: 86px 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(300px, 1.2fr);
  gap: clamp(24px, 5vw, 70px);
  border-top: 1px solid rgba(23, 32, 38, 0.12);
}

.intro p:last-child {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.15rem;
}

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

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

.service-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid rgba(23, 32, 38, 0.1);
  border-radius: 8px;
  background: var(--surface);
}

.card-icon {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 800;
}

.service-card p,
.timeline p,
.contact-copy p,
.site-footer {
  color: var(--muted);
}

.method {
  border-top: 1px solid rgba(23, 32, 38, 0.12);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  border-top: 3px solid var(--ink);
}

.timeline li {
  position: relative;
  padding: 26px 22px 0 0;
  counter-increment: step;
}

.timeline li::before {
  content: counter(step);
  position: absolute;
  top: -17px;
  left: 0;
  display: grid;
  place-items: center;
  width: 34px;
  aspect-ratio: 1;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.timeline span {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  margin-bottom: 78px;
  padding: clamp(28px, 5vw, 54px);
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-copy .eyebrow {
  color: var(--amber);
}

.contact-note {
  margin-top: 32px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-note strong,
.contact-note a {
  display: block;
}

.contact-note a,
.contact-note span {
  color: var(--amber);
  font-weight: 800;
}

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

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

.form-row.full,
.form-button,
.form-status {
  grid-column: 1 / -1;
}

label {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

select option {
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(242, 184, 75, 0.18);
}

.form-button {
  width: 100%;
  margin-top: 4px;
  border: 0;
  cursor: pointer;
}

.form-button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--amber);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 40px;
  border-top: 1px solid rgba(23, 32, 38, 0.12);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 800;
}

@media (max-width: 920px) {
  .hero,
  .intro,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 34px;
  }

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

  .hero-media {
    width: min(680px, 100%);
  }

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

  .timeline {
    row-gap: 34px;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: auto;
    padding-bottom: 48px;
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 3.35rem);
    line-height: 0.98;
  }

  .hero-stats,
  .service-grid,
  .timeline,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .contact-band {
    width: min(1120px, calc(100% - 24px));
    padding: 24px;
  }

  .site-footer {
    flex-direction: column;
  }

}
