@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/outfit-400.woff2") format("woff2");
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/outfit-600.woff2") format("woff2");
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/outfit-700.woff2") format("woff2");
}

@font-face {
  font-family: Caveat;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/caveat-500.woff2") format("woff2");
}

:root {
  --orange: #f7a94e;
  --orange-deep: #e8942a;
  --orange-ink: #9a520e;
  --green: #99b251;
  --green-deep: #6e8528;
  --green-ink: #556b1c;
  --green-dark: #3e4e16;
  --gray: #737473;
  --anthracite: #2c2d2c;
  --ink: #2a2b2a;
  --muted: #5c5d5c;
  --cream: #f4f5f0;
  --paper: #f8f8f5;
  --white: #fff;
  --line: #e4e5dc;
  --road: #737473;
  --shadow: 0 18px 40px rgba(44, 45, 44, 0.08);
  --radius: 18px;
  --header: 116px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--green-ink);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--anthracite);
  color: #fff;
  padding: 8px 12px;
  z-index: 80;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(248, 248, 245, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(44, 45, 44, 0.06);
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.brand img {
  height: 88px;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  color: var(--anthracite);
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--orange-ink);
}

.site-nav a.btn-primary,
.site-nav a.btn-primary:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--anthracite);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--orange);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--orange-deep);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--anthracite);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange-ink);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100vh - var(--header));
  background: var(--cream);
}

.hero-copy {
  padding: 64px 8vw 64px max(20px, calc((100vw - var(--max)) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  color: var(--green-ink);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 16px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero h1 .tone-orange {
  color: var(--orange);
}

.hero h1 .tone-green {
  color: var(--green);
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38rem;
  margin: 22px 0 32px;
}

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

.script {
  font-family: Caveat, cursive;
  color: var(--green-ink);
  font-size: 1.8rem;
  margin-top: 28px;
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  position: absolute;
  inset: 0;
}

.section {
  padding: 88px 0;
}

.section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
}

.section-intro {
  max-width: 40rem;
  color: var(--muted);
  margin-bottom: 40px;
}

.services {
  background: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow);
}

.service-card:nth-child(3n + 2) {
  border-top-color: var(--gray);
}

.service-card:nth-child(3n) {
  border-top-color: var(--green);
}

.service-card svg {
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.about {
  max-width: 42rem;
}

.about-copy p {
  color: var(--muted);
}

.about-copy .script {
  color: var(--green-ink);
}

.process {
  background:
    linear-gradient(180deg, rgba(153, 178, 81, 0.16), transparent 42%),
    var(--cream);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  border-top: 3px dashed var(--road);
  opacity: 0.55;
}

.process-item {
  position: relative;
}

.process-item:nth-child(2) span {
  background: var(--gray);
  color: #fff;
}

.process-item:nth-child(3) span {
  background: var(--green);
  color: var(--ink);
}

.process-item span {
  display: inline-flex;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 16px;
}

.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.contact-grid:has(.form-card[hidden]) {
  grid-template-columns: minmax(0, 32rem);
}

.contact-card,
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
}

.contact-card h3,
.form-card h3 {
  margin-top: 0;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--muted);
}

.contact-list svg {
  width: 22px;
  height: 22px;
  margin-top: 2px;
}

a[href^="tel:"] {
  white-space: nowrap;
}

label {
  display: block;
  font-weight: 600;
  margin: 0 0 16px;
}

input,
textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid var(--green);
  border-color: transparent;
}

input.is-invalid,
textarea.is-invalid {
  border-color: #b42318;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.92rem;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.form-status {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
}

.form-status.is-error {
  background: #fde8e6;
  color: #8a1c13;
}

.form-status.is-ok {
  background: #eef3dc;
  color: var(--green-dark);
}

.site-footer {
  position: relative;
  background: var(--anthracite);
  color: #eceeed;
  padding: 48px 0 28px;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange) 0 42%, var(--gray) 42% 58%, var(--green) 58% 100%);
}

.wordmark {
  display: inline-block;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-tagline {
  margin: 6px 0 0;
}

.wm-w {
  color: var(--orange);
}

.wm-amp {
  color: #d5d5d3;
}

.wm-e {
  color: var(--green);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.site-footer a {
  color: #fff;
}

.footer-meta {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #c5c5c5;
  font-size: 0.92rem;
}

.legal {
  padding: 56px 0 88px;
}

.legal h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.legal h2 {
  margin: 36px 0 10px;
  font-size: 1.3rem;
}

.legal-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.note {
  background: #fff4e4;
  border-left: 4px solid var(--orange);
  padding: 14px 16px;
  border-radius: 8px;
  color: var(--anthracite);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.page-hero {
  background: var(--cream);
  padding: 48px 0 24px;
}

.page-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
}

@media (max-width: 900px) {
  :root {
    --header: 96px;
  }

  .brand img {
    height: 72px;
  }

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

  .hero-copy {
    padding: 40px 20px 24px;
  }

  .hero-visual {
    min-height: 280px;
  }

  .process-grid::before {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
  }

  .site-nav.is-open {
    display: flex;
  }
}
