:root {
  --ink: #121615;
  --muted: #5d6762;
  --line: #dde2dd;
  --paper: #ffffff;
  --soft: #f4f7f2;
  --green: #163f2b;
  --green-2: #246b48;
  --yellow: #f3c23c;
  --steel: #202827;
  --shadow: 0 24px 70px rgba(18, 22, 21, 0.16);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

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

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

.site-header {
  align-items: center;
  background: rgba(17, 21, 20, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  left: 0;
  padding: 16px clamp(20px, 5vw, 68px);
  position: fixed;
  right: 0;
  top: 0;
  transition: box-shadow 160ms ease, background 160ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  background: rgba(17, 21, 20, 0.98);
  box-shadow: 0 12px 30px rgba(18, 22, 21, 0.08);
}

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

.brand-mark {
  align-items: center;
  background: var(--green);
  border-radius: 6px;
  color: var(--yellow);
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  width: 42px;
}

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

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

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.nav-links a,
.header-cta {
  font-size: 0.9rem;
  font-weight: 750;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
}

.header-cta {
  background: var(--yellow);
  border-radius: 6px;
  color: #171612;
  padding: 11px 15px;
}

.hero {
  display: grid;
  min-height: 820px;
  overflow: hidden;
  padding-top: 74px;
  position: relative;
}

.hero-media {
  inset: 0;
  position: absolute;
}

.hero-media::after {
  background:
    linear-gradient(90deg, rgba(17, 21, 20, 0.9) 0%, rgba(17, 21, 20, 0.74) 36%, rgba(17, 21, 20, 0.2) 70%, rgba(17, 21, 20, 0.06) 100%),
    linear-gradient(0deg, rgba(17, 21, 20, 0.36), rgba(17, 21, 20, 0.04) 52%);
  content: "";
  inset: 0;
  position: absolute;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center right;
  width: 100%;
}

.hero-content {
  align-self: center;
  max-width: 690px;
  padding: 62px clamp(20px, 5vw, 68px) 58px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: white;
  font-size: clamp(3.2rem, 8vw, 7.35rem);
  letter-spacing: 0;
  line-height: 0.88;
  margin: 0 0 28px;
  max-width: 680px;
}

.hero p {
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  margin: 0;
  max-width: 580px;
}

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

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--yellow);
  box-shadow: 0 14px 24px rgba(95, 74, 15, 0.18);
  color: #15140e;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.58);
  color: white;
}

.hero-stats {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 52px 0 0;
  max-width: 560px;
  padding-top: 22px;
}

.hero-stats div {
  min-width: 0;
}

.hero-stats dt {
  color: white;
  font-size: clamp(1.12rem, 2vw, 1.4rem);
  font-weight: 850;
}

.hero-stats dd {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  margin: 4px 0 0;
}

.section {
  padding: clamp(72px, 10vw, 126px) clamp(20px, 5vw, 68px);
}

.section-heading {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.96fr) minmax(260px, 0.62fr);
  margin: 0 auto 42px;
  max-width: 1180px;
}

.section-heading h2,
.process-copy h2,
.proof-panel h2,
.quote-copy h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
}

.section-heading p,
.process-copy p,
.proof-panel p,
.quote-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

.service-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.service-grid article {
  background: var(--soft);
  min-height: 270px;
  padding: 28px;
}

.service-grid article:first-child {
  border-radius: 8px 0 0 8px;
}

.service-grid article:last-child {
  border-radius: 0 8px 8px 0;
}

.service-number {
  color: var(--green-2);
  display: block;
  font-size: 0.8rem;
  font-weight: 900;
  margin-bottom: 48px;
}

.service-grid h3 {
  font-size: 1.22rem;
  line-height: 1.1;
  margin: 0 0 12px;
}

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

.process-band {
  background: var(--green);
  color: white;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  padding: clamp(72px, 10vw, 118px) clamp(20px, 5vw, 68px);
}

.process-copy {
  max-width: 540px;
}

.process-copy p {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 24px;
}

.process-list {
  counter-reset: step;
  display: grid;
  gap: 1px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.process-list li {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 10px;
  grid-template-columns: 80px minmax(0, 0.6fr) minmax(220px, 1fr);
  padding: 22px;
}

.process-list li::before {
  color: var(--yellow);
  content: counter(step, decimal-leading-zero);
  counter-increment: step;
  font-weight: 900;
}

.process-list strong {
  line-height: 1.15;
}

.process-list span {
  color: rgba(255, 255, 255, 0.74);
}

.proof-section {
  background:
    linear-gradient(135deg, rgba(32, 40, 39, 0.04), rgba(22, 63, 43, 0.07)),
    #fff;
}

.proof-panel {
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  margin: 0 auto;
  max-width: 1120px;
  padding: clamp(28px, 5vw, 56px);
}

.proof-panel h2 {
  max-width: 720px;
}

.proof-panel p {
  margin-top: 24px;
  max-width: 650px;
}

.proof-list {
  display: grid;
  gap: 14px;
}

.proof-list p {
  border-left: 4px solid var(--yellow);
  margin: 0;
  padding-left: 18px;
}

.proof-list strong,
.proof-list span {
  display: block;
}

.proof-list span {
  color: var(--muted);
  margin-top: 6px;
}

.quote-section {
  background: var(--steel);
  color: white;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.76fr) minmax(320px, 0.82fr);
  padding: clamp(72px, 10vw, 118px) clamp(20px, 5vw, 68px);
}

.quote-copy {
  max-width: 600px;
}

.quote-copy p {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 24px;
}

.phone-link {
  color: var(--yellow);
  display: inline-block;
  font-size: 1.35rem;
  font-weight: 850;
  margin-top: 30px;
}

.quote-form {
  background: white;
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
}

.quote-form label {
  color: #37413d;
  display: grid;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 7px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  border: 1px solid #cbd3cc;
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  min-height: 46px;
  padding: 11px 12px;
  width: 100%;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--green-2);
  outline: 3px solid rgba(36, 107, 72, 0.18);
}

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

.site-footer {
  align-items: center;
  background: #111514;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 68px);
}

.site-footer p {
  margin: 0;
}

.site-footer strong,
.site-footer a {
  color: white;
}

@media (max-width: 920px) {
  .site-header {
    gap: 18px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 820px;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(17, 21, 20, 0.82) 0%, rgba(17, 21, 20, 0.72) 48%, rgba(17, 21, 20, 0.36) 100%),
      linear-gradient(0deg, rgba(17, 21, 20, 0.42), rgba(17, 21, 20, 0));
  }

  .hero-media img {
    object-position: 65% center;
  }

  .hero-content {
    align-self: start;
    padding-top: 118px;
  }

  .section-heading,
  .process-band,
  .proof-panel,
  .quote-section {
    grid-template-columns: 1fr;
  }

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

  .service-grid article:first-child,
  .service-grid article:last-child {
    border-radius: 0;
  }

  .service-grid article:nth-child(1) {
    border-radius: 8px 0 0 0;
  }

  .service-grid article:nth-child(2) {
    border-radius: 0 8px 0 0;
  }

  .service-grid article:nth-child(3) {
    border-radius: 0 0 0 8px;
  }

  .service-grid article:nth-child(4) {
    border-radius: 0 0 8px 0;
  }

  .process-list li {
    grid-template-columns: 56px 1fr;
  }

  .process-list span {
    grid-column: 2;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
  }

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

  .brand small {
    display: none;
  }

  .header-cta {
    padding: 10px 12px;
  }

  .hero {
    min-height: 830px;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 17vw, 4.6rem);
  }

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

  .service-grid article,
  .service-grid article:nth-child(n) {
    border-radius: 0;
    min-height: auto;
  }

  .service-grid article:first-child {
    border-radius: 8px 8px 0 0;
  }

  .service-grid article:last-child {
    border-radius: 0 0 8px 8px;
  }

  .service-number {
    margin-bottom: 28px;
  }

  .site-footer {
    align-items: start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
