:root {
  color-scheme: light;
  --bg: #f7f4ef;
  --surface: #ffffff;
  --surface-muted: #ebe7df;
  --text: #1f2522;
  --muted: #626a64;
  --line: #d7d1c5;
  --accent: #0f6b62;
  --accent-dark: #0a4d47;
  --accent-soft: #d9ebe7;
  --ink: #17201d;
  --shadow: 0 20px 60px rgb(31 37 34 / 10%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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(20px, 5vw, 72px);
  background: rgb(247 244 239 / 92%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand,
.nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: white;
  background: var(--accent);
  border-radius: 8px;
  font-size: 0.82rem;
}

.nav,
.site-footer {
  color: var(--muted);
  font-size: 0.96rem;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--accent-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: end;
  min-height: calc(100vh - 74px);
  padding: clamp(64px, 9vw, 118px) clamp(20px, 5vw, 72px) 56px;
  background:
    linear-gradient(135deg, rgb(15 107 98 / 8%), transparent 42%),
    linear-gradient(0deg, rgb(255 255 255 / 52%), transparent);
}

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

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

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

h1 {
  max-width: 980px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.7rem, 6.4vw, 6.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

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

h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.55vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 18px;
  font-weight: 700;
  cursor: pointer;
}

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

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

.button.secondary {
  color: var(--accent-dark);
  border-color: var(--line);
  background: rgb(255 255 255 / 55%);
}

.hero-panel,
.service-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 28px;
}

.hero-panel h2 {
  margin-bottom: 18px;
  font-size: 1.35rem;
}

.hero-panel ul,
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-panel li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.hero-panel li:first-child {
  border-top: 0;
}

.section {
  padding: clamp(64px, 8vw, 108px) clamp(20px, 5vw, 72px);
}

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

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

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

.service-card p,
.contact p,
.steps span {
  color: var(--muted);
}

.split,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 12px;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border-top: 1px solid var(--line);
}

.steps li::before {
  content: counter(step);
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 8px;
  font-weight: 800;
}

.steps strong,
.steps span {
  display: block;
  grid-column: 2;
}

.quote-band {
  color: white;
  background: var(--accent-dark);
}

blockquote {
  max-width: 1100px;
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 4.4rem);
  font-weight: 750;
  line-height: 1.08;
}

.contact {
  background: var(--surface-muted);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

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

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

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.legal-page {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 20px;
}

.legal-page h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

.legal-page h2 {
  margin-top: 42px;
  font-size: 1.55rem;
}

.legal-page a {
  color: var(--accent-dark);
  text-decoration: underline;
}

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

  .hero {
    min-height: auto;
  }

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

@media (max-width: 680px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    flex-wrap: wrap;
  }

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

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