:root {
  --ink: #17211b;
  --ink-soft: #516157;
  --paper: #fbfaf5;
  --paper-strong: #ffffff;
  --pine: #1f4b39;
  --pine-dark: #123426;
  --moss: #7c8f52;
  --river: #2c7485;
  --clay: #b8673b;
  --line: #dde3d7;
  --shadow: 0 18px 50px rgba(18, 52, 38, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.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: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  color: var(--ink);
  background: rgba(251, 250, 245, 0.94);
  box-shadow: 0 10px 30px rgba(23, 33, 27, 0.12);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 8px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.9);
}

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

.brand strong {
  font-size: 1.03rem;
  line-height: 1.15;
}

.brand small {
  color: currentColor;
  font-size: 0.72rem;
  opacity: 0.78;
}

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

.site-nav a {
  border-radius: 8px;
  padding: 9px 12px;
  color: currentColor;
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.18);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.nav-active .site-nav a:hover {
  background: #eef2e8;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: currentColor;
  background: transparent;
}

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

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 118px clamp(20px, 6vw, 78px) 72px;
  color: #fff;
}

.hero img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 23, 17, 0.84) 0%, rgba(8, 23, 17, 0.68) 38%, rgba(8, 23, 17, 0.22) 72%, rgba(8, 23, 17, 0.1) 100%),
    linear-gradient(0deg, rgba(8, 23, 17, 0.58) 0%, transparent 34%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0be80;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 680px;
  font-size: clamp(3rem, 6.8vw, 5.85rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 800;
}

h3 {
  font-size: 1.28rem;
}

.hero p:not(.eyebrow) {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

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

.button.primary:hover {
  background: var(--pine-dark);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.12);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

.section {
  padding: clamp(70px, 9vw, 116px) clamp(20px, 5vw, 72px);
}

.muted {
  background: #eef2e8;
}

.intro,
.split,
.area,
.quote {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.intro-text p,
.split p,
.area p,
.quote-copy p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.section-heading {
  width: min(820px, 100%);
  margin-bottom: 38px;
}

.service-grid,
.check-grid,
.why-grid {
  display: grid;
  gap: 18px;
}

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

.service-card,
.check-card,
.why-grid > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: 0 10px 30px rgba(23, 33, 27, 0.06);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 26px;
}

.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  border-radius: 8px;
  color: #fff;
  background: var(--river);
  font-weight: 800;
}

.service-card p,
.check-card p,
.why-grid p {
  color: var(--ink-soft);
}

ul {
  padding-left: 20px;
}

li + li {
  margin-top: 8px;
}

.check-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.check-card {
  position: relative;
  padding: 30px;
}

.check-card.featured {
  border-color: rgba(44, 116, 133, 0.45);
  box-shadow: var(--shadow);
}

.badge {
  display: inline-flex;
  margin-bottom: 16px;
  border-radius: 8px;
  padding: 6px 10px;
  color: #fff;
  background: var(--river);
  font-size: 0.77rem;
  font-weight: 800;
}

.notice {
  margin: 26px 0 0;
  border-left: 4px solid var(--clay);
  padding: 14px 18px;
  color: var(--ink-soft);
  background: #fff7ec;
}

.property-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.property-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--paper-strong);
  color: var(--ink-soft);
  font-weight: 700;
}

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

.why-grid > div {
  padding: 26px;
}

.area {
  align-items: stretch;
}

.area-panel {
  border-radius: 8px;
  padding: clamp(28px, 4vw, 44px);
  color: #fff;
  background: var(--pine-dark);
}

.area-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.steps {
  display: grid;
  gap: 14px;
}

.steps div {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 74px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 18px;
  background: var(--paper-strong);
}

.steps strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 8px;
  color: #fff;
  background: var(--moss);
}

.steps span {
  font-weight: 800;
}

.quote {
  background: #f5f1e8;
}

.quote-intro {
  padding-top: 16px;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 34px);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.quote-form .full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd7cb;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(44, 116, 133, 0.2);
  border-color: var(--river);
}

.form-note {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--ink-soft);
  font-weight: 700;
}

.email-note {
  margin: -4px 0 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  padding: 38px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.74);
  background: #101812;
}

.site-footer strong {
  color: #fff;
  font-size: 1.2rem;
}

.site-footer p {
  margin: 8px 0 0;
}

@media (max-width: 1100px) {
  .service-grid,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .site-header {
    padding: 14px 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 72px 14px auto 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    color: var(--ink);
    background: var(--paper-strong);
    box-shadow: var(--shadow);
  }

  .site-header.nav-active .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .hero {
    min-height: 760px;
    padding-top: 126px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(8, 23, 17, 0.76) 0%, rgba(8, 23, 17, 0.55) 48%, rgba(8, 23, 17, 0.78) 100%);
  }

  .intro,
  .split,
  .area,
  .quote,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .brand small {
    display: none;
  }

  h1 {
    font-size: 2.82rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .service-grid,
  .why-grid,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .section {
    padding-left: 18px;
    padding-right: 18px;
  }
}
