:root {
  --ink: #27231c;
  --muted: #6d6658;
  --paper: #f8f3e8;
  --warm: #efe1c6;
  --line: rgba(58, 48, 35, 0.16);
  --green: #586f58;
  --green-dark: #314934;
  --gold: #c99a45;
  --blue: #6f91ad;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
}

a {
  color: inherit;
}

.page {
  min-height: 100vh;
}

.hero {
  min-height: 88vh;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.8fr);
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.hero__media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #dfecd4, #f2dfb8 55%, #d7e6e7);
}

.hero__content {
  align-self: center;
  min-width: 0;
  padding: clamp(32px, 6vw, 70px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(48px, 5.4vw, 72px);
  line-height: 0.92;
  font-weight: 700;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.45;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid var(--green-dark);
  border-radius: 6px;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.button--primary {
  color: #fff;
  background: var(--green-dark);
}

.button--secondary {
  color: var(--green-dark);
  background: transparent;
}

.note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
}

.paper-stack {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.paper-stack::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 24%, rgba(255, 244, 198, 0.9), transparent 18%),
    radial-gradient(circle at 74% 16%, rgba(255, 255, 255, 0.72), transparent 14%),
    linear-gradient(160deg, rgba(110, 145, 173, 0.35), transparent 55%);
}

.paper-stack__sheet {
  position: absolute;
  width: min(62%, 430px);
  aspect-ratio: 0.72;
  border: 1px solid rgba(58, 48, 35, 0.16);
  background: #fffaf0;
  box-shadow: 0 30px 80px rgba(61, 52, 35, 0.18);
}

.paper-stack__sheet--back {
  transform: translate(-28px, -24px) rotate(-5deg);
  background: #efe1c6;
}

.paper-stack__sheet--front {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 46px;
  transform: rotate(2deg);
}

.paper-stack__sheet--front span {
  display: block;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(58, 48, 35, 0.18);
  color: var(--green-dark);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
}

.section {
  padding: clamp(44px, 8vw, 90px) 24px;
}

.section__inner {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.section h2 {
  margin-bottom: 28px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

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

.steps article {
  min-height: 210px;
  padding: 28px;
  background: #fffaf0;
}

.steps span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.steps h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.steps p,
.details p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.section--quiet {
  background: var(--warm);
}

.details {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.45fr);
  gap: 40px;
  align-items: center;
}

.contact {
  padding-left: 28px;
  border-left: 1px solid rgba(58, 48, 35, 0.22);
}

.contact strong {
  display: inline-block;
  color: var(--green-dark);
  font-size: 24px;
  font-weight: 700;
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero__media {
    min-height: 46vh;
    order: -1;
  }

  .hero__content {
    padding: 36px 22px 46px;
  }

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

  .steps article {
    min-height: auto;
  }

  .contact {
    padding-left: 0;
    padding-top: 24px;
    border-left: 0;
    border-top: 1px solid rgba(58, 48, 35, 0.22);
  }
}
