:root {
  color-scheme: light;
  --ink: #172119;
  --muted: #5b675f;
  --leaf: #1f6f43;
  --leaf-dark: #124629;
  --mint: #d9ead7;
  --lime: #c7df6c;
  --gold: #dca20f;
  --cream: #f7f4e9;
  --paper: #ffffff;
  --line: rgba(23, 33, 25, 0.14);
  --shadow: 0 22px 54px rgba(21, 40, 27, 0.16);
  --radius: 8px;
}

* {
  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(--ink);
  background: var(--cream);
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #ffffff;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(247, 244, 233, 0.94);
  box-shadow: 0 10px 30px rgba(23, 33, 25, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  color: var(--lime);
}

.brand-mark span {
  width: 20px;
  height: 26px;
  border-radius: 80% 0 80% 0;
  background: currentColor;
  transform: rotate(35deg);
}

.site-header.is-scrolled .brand-mark {
  color: var(--leaf);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  margin-top: 2px;
  font-size: 0.74rem;
  opacity: 0.82;
}

.site-nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 0.9rem;
  font-weight: 850;
}

.site-nav a,
.header-call {
  position: relative;
}

.site-nav a::after,
.header-call::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.header-call:hover::after {
  transform: scaleX(1);
}

.header-call {
  font-weight: 900;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: end;
  gap: 24px;
  padding: 116px clamp(18px, 4vw, 56px) 42px;
  color: #ffffff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 26, 15, 0.86), rgba(10, 26, 15, 0.5) 47%, rgba(10, 26, 15, 0.12)),
    linear-gradient(0deg, rgba(10, 26, 15, 0.8), transparent 48%),
    url("https://images.unsplash.com/photo-1564013799919-ab600027ffc6?auto=format&fit=crop&w=2200&q=84") center / cover;
  transform: scale(1.02);
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 1;
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow {
  color: var(--lime);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 6.2rem;
  line-height: 0.92;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero h1 span {
  color: var(--gold);
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.28rem;
}

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

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 20px;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

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

.btn.primary {
  color: #ffffff;
  background: var(--leaf);
  box-shadow: 0 12px 24px rgba(31, 111, 67, 0.24);
}

.btn.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hero-panel {
  align-self: end;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(11, 25, 15, 0.42);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel strong {
  font-size: 1.12rem;
}

.hero-panel span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
}

.section {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 56px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
  background: var(--paper);
}

.section-kicker {
  color: var(--leaf);
}

.section h2 {
  max-width: 850px;
  margin: 0;
  font-size: 3.65rem;
  line-height: 1.02;
}

.intro p:last-child,
.split p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 720px;
}

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

.service-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 14px 34px rgba(23, 33, 25, 0.07);
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  line-height: 1.15;
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 6vw, 86px);
  background:
    linear-gradient(110deg, rgba(217, 234, 215, 0.92), rgba(247, 244, 233, 0.94)),
    url("https://images.unsplash.com/photo-1590856029826-c7a73142bbf1?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.split h2 {
  margin-bottom: 18px;
}

.call-area {
  margin-top: 26px;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline div {
  display: grid;
  grid-template-columns: 60px 120px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid rgba(23, 33, 25, 0.18);
}

.timeline span {
  color: var(--gold);
  font-weight: 900;
}

.timeline strong {
  font-size: 1.08rem;
}

.timeline p {
  font-size: 0.98rem;
}

.proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--leaf-dark);
}

.proof-item {
  min-height: 190px;
  padding: clamp(26px, 4vw, 44px);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.proof-item strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.proof-item span {
  color: rgba(255, 255, 255, 0.78);
}

.reviews {
  background: var(--cream);
}

.review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.review-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.review-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 28px rgba(23, 33, 25, 0.07);
}

.review-card strong,
.review-card span {
  display: block;
}

.review-card strong {
  font-size: 1.16rem;
}

.review-card p {
  margin: 14px 0;
  color: var(--muted);
}

.review-card span {
  color: var(--leaf-dark);
  font-weight: 850;
}

.review-form,
.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.7fr);
  gap: clamp(32px, 7vw, 94px);
  align-items: start;
  background: var(--paper);
}

.contact-copy h2 {
  margin-bottom: 18px;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  font-weight: 900;
}

.contact-lines a {
  color: var(--leaf-dark);
}

label {
  display: grid;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(23, 33, 25, 0.22);
  border-radius: var(--radius);
  padding: 11px 12px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(199, 223, 108, 0.55);
  border-color: var(--leaf);
}

.contact-form .btn,
.review-form .btn {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--leaf-dark);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.76);
  background: #111912;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #ffffff;
  font-weight: 900;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.thanks-page {
  background:
    linear-gradient(90deg, rgba(10, 26, 15, 0.84), rgba(10, 26, 15, 0.48)),
    url("https://images.unsplash.com/photo-1564013799919-ab600027ffc6?auto=format&fit=crop&w=2200&q=84") center / cover;
}

.thanks-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.thanks-card {
  width: min(100%, 620px);
  padding: 36px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.thanks-card h1 {
  margin: 0 0 16px;
  font-size: 3.4rem;
  line-height: 1;
}

.thanks-card p:not(.section-kicker) {
  margin: 0 0 26px;
  color: var(--muted);
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    justify-self: end;
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 6px;
    border: 1px solid currentColor;
    border-radius: var(--radius);
    color: inherit;
    background: transparent;
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 6px);
    left: 18px;
    right: 18px;
    display: none;
    grid-column: 1 / -1;
    padding: 16px;
    border-radius: var(--radius);
    color: var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

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

  .header-call {
    display: none;
  }

  .hero,
  .intro,
  .split,
  .review-layout,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 82vh;
    align-items: end;
  }

  .hero h1 {
    font-size: 4.25rem;
  }

  .hero-copy {
    font-size: 1.14rem;
  }

  .section h2 {
    font-size: 2.85rem;
  }

  .hero-panel {
    max-width: 520px;
  }

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

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

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
    padding: 12px 16px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand small {
    max-width: 150px;
  }

  .hero {
    min-height: 80vh;
    padding: 96px 16px 28px;
  }

  .hero h1 {
    font-size: 3.18rem;
  }

  .hero-actions,
  .site-footer {
    display: grid;
  }

  .footer-links {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 52px 16px;
  }

  .section h2 {
    font-size: 2.22rem;
  }

  .section-heading {
    display: block;
  }

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

  .service-card {
    min-height: auto;
  }

  .timeline div {
    grid-template-columns: 48px 1fr;
  }

  .timeline p {
    grid-column: 2;
  }

  .review-form,
  .contact-form {
    padding: 18px;
  }
}
