:root {
  color-scheme: light;
  --ink: #171b1f;
  --muted: #5f6872;
  --paper: #f7f5ef;
  --panel: #ffffff;
  --line: #dedbd0;
  --orange: #e86d22;
  --green: #2f5c48;
  --charcoal: #252b2f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.topbar {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px clamp(18px, 5vw, 64px);
  background: rgba(247, 245, 239, 0.91);
  border-bottom: 1px solid rgba(222, 219, 208, 0.8);
  backdrop-filter: blur(14px);
}

.brand {
  color: var(--orange);
  font-size: 25px;
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  gap: clamp(12px, 3vw, 28px);
  font-size: 15px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

.hero {
  min-height: 86vh;
  padding: 112px clamp(18px, 6vw, 80px) 52px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(247, 245, 239, 0.98) 0%, rgba(247, 245, 239, 0.87) 42%, rgba(247, 245, 239, 0.2) 76%),
    url("/assets/hero-recovery.png") center / cover no-repeat;
}

.hero__content {
  max-width: 690px;
}

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

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

h1 {
  margin: 0;
  font-size: clamp(42px, 6.4vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 570px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

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

.button {
  min-width: 168px;
  padding: 14px 20px;
  border: 1px solid var(--orange);
  border-radius: 6px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.button--primary {
  background: var(--orange);
  color: #ffffff;
}

.button--ghost {
  background: rgba(255, 255, 255, 0.68);
  color: var(--orange);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--charcoal);
  color: #ffffff;
}

.stats div {
  padding: 28px clamp(18px, 4vw, 42px);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.stats div:last-child {
  border-right: 0;
}

.stats strong {
  display: block;
  color: #ffb27d;
  font-size: 34px;
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 8px;
  color: #d6dde0;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.services article {
  min-height: 220px;
  padding: clamp(24px, 4vw, 42px);
  border-right: 1px solid var(--line);
}

.services article:last-child {
  border-right: 0;
}

.services span {
  color: var(--orange);
  font-weight: 800;
}

.services h2 {
  margin: 26px 0 12px;
  font-size: 24px;
  letter-spacing: 0;
}

.services p,
.area p,
footer span {
  color: var(--muted);
  line-height: 1.6;
}

.area {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(42px, 7vw, 86px) clamp(18px, 6vw, 80px);
  background: #ebe6d7;
}

.area h2 {
  margin: 0;
  max-width: 650px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

.area p {
  align-self: end;
  margin: 0;
  max-width: 700px;
  font-size: 18px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 6vw, 80px);
  background: var(--ink);
  color: #ffffff;
}

footer div {
  display: grid;
  gap: 6px;
}

footer a {
  color: #ffb27d;
  text-decoration: none;
}

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

  .hero {
    min-height: 82vh;
    background:
      linear-gradient(180deg, rgba(247, 245, 239, 0.98) 0%, rgba(247, 245, 239, 0.9) 48%, rgba(247, 245, 239, 0.35) 100%),
      url("/assets/hero-recovery.png") center / cover no-repeat;
  }

  .stats,
  .services,
  .area {
    grid-template-columns: 1fr;
  }

  .stats div,
  .services article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats div {
    border-bottom-color: rgba(255, 255, 255, 0.16);
  }

  .stats div:last-child,
  .services article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  nav {
    width: 100%;
    justify-content: space-between;
  }

  .button {
    width: 100%;
  }
}
