:root {
  color-scheme: light;
  --ink: #16211a;
  --muted: #5f6c63;
  --paper: #faf8f1;
  --panel: #ffffff;
  --green: #2f6f42;
  --green-dark: #1f4d2e;
  --gold: #d99f2b;
  --rust: #a6532d;
  --line: #dfe4dc;
  --shadow: 0 24px 70px rgba(14, 24, 18, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
}

.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: 16px clamp(18px, 4vw, 52px);
  color: #fff;
  background: linear-gradient(to bottom, rgba(9, 17, 11, 0.72), rgba(9, 17, 11, 0));
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  background: rgba(18, 31, 21, 0.68);
  font-size: 14px;
  font-weight: 800;
}

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

.brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 30px);
  font-size: 14px;
  font-weight: 700;
}

nav a {
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 94vh;
  padding: 112px clamp(18px, 4vw, 52px) 42px;
  background:
    linear-gradient(90deg, rgba(8, 16, 10, 0.88), rgba(8, 16, 10, 0.54) 45%, rgba(8, 16, 10, 0.1)),
    url("assets/stump-grinding-hero.png") 35% center / cover no-repeat;
  color: #fff;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  max-width: 1180px;
  min-height: calc(94vh - 154px);
  margin: 0 auto;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.button {
  min-height: 48px;
  padding: 13px 18px;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--gold);
  color: #23190a;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.button.full {
  width: 100%;
}

.quote-panel,
.booking-form {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.quote-panel {
  display: grid;
  gap: 15px;
  padding: 22px;
}

.panel-heading h2,
.section-heading h2,
.booking-copy h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.06;
  letter-spacing: 0;
}

label,
.field-label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 64px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7f8f4;
}

.input-row input {
  border: 0;
  border-radius: 0;
}

.input-row span {
  display: grid;
  place-items: center;
  min-height: 46px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.segmented label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px;
  background: #fff;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.segmented label:last-child {
  border-right: 0;
}

.segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented label:has(input:checked) {
  background: #e5f1e8;
  color: var(--green-dark);
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox input {
  width: 18px;
  min-height: 18px;
}

.quote-total {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid #d7e4d9;
  border-radius: 8px;
  background: #f0f7f1;
}

.quote-total span {
  color: var(--muted);
  font-weight: 800;
}

.quote-total strong {
  font-size: 38px;
  line-height: 1;
}

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

.trust-band div {
  padding: 26px clamp(18px, 4vw, 46px);
  background: #fff;
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.section,
.booking-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px clamp(18px, 4vw, 52px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

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

.service-grid article {
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-grid h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.service-grid p,
.booking-copy p {
  color: var(--muted);
  line-height: 1.55;
}

.service-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  background: #fff;
}

.service-callout h3 {
  margin-bottom: 10px;
  font-size: 26px;
}

.service-callout p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.booking-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.booking-copy {
  position: sticky;
  top: 100px;
}

.note {
  margin-top: 24px;
  padding: 16px;
  border-left: 5px solid var(--rust);
  background: #fff;
  color: var(--muted);
  line-height: 1.5;
}

.booking-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  box-shadow: 0 18px 48px rgba(14, 24, 18, 0.12);
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

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

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 52px);
  border-top: 1px solid var(--line);
  background: #16211a;
  color: #fff;
}

footer span {
  color: rgba(255, 255, 255, 0.72);
}

.thank-you-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(8, 16, 10, 0.86), rgba(8, 16, 10, 0.5)),
    url("assets/stump-grinding-hero.png") 35% center / cover no-repeat;
}

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

.thanks-panel {
  width: min(680px, 100%);
  padding: clamp(28px, 6vw, 56px);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.thanks-panel h1 {
  margin-bottom: 16px;
  color: var(--ink);
}

.thanks-panel p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.page-hero {
  display: grid;
  min-height: 56vh;
  align-items: end;
  padding: 120px clamp(18px, 4vw, 52px) 56px;
  background:
    linear-gradient(90deg, rgba(8, 16, 10, 0.9), rgba(8, 16, 10, 0.58) 52%, rgba(8, 16, 10, 0.18)),
    url("assets/stump-grinding-hero.png") 35% center / cover no-repeat;
  color: #fff;
}

.page-hero-content {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 760px;
  margin-bottom: 0;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(24px, 5vw, 64px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px clamp(18px, 4vw, 52px);
}

.about-story {
  color: var(--ink);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.68;
}

.about-story p {
  margin-bottom: 24px;
}

.about-callout {
  align-self: start;
  padding: 26px;
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(14, 24, 18, 0.12);
}

.about-callout h2 {
  margin-bottom: 22px;
  font-size: 28px;
  line-height: 1.15;
}

.services-page-section,
.services-split,
.services-cta {
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px clamp(18px, 4vw, 52px);
}

.services-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
  padding-top: 0;
}

.services-split h2,
.services-cta h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.05;
}

.services-split p,
.services-cta p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.services-list {
  padding: 26px;
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(14, 24, 18, 0.12);
}

.services-list h3 {
  margin-bottom: 16px;
  font-size: 24px;
}

.services-list ul {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.45;
}

.services-cta {
  margin-bottom: 76px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.button.secondary.dark {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

@media (max-width: 880px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 0;
    padding-top: 104px;
  }

  .hero-content,
  .booking-section,
  .about-section,
  .services-split,
  .service-callout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 17px;
  }

  .trust-band,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .booking-copy {
    position: static;
  }
}

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

  .hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .quote-panel,
  .booking-form {
    padding: 18px;
  }

  .two-column,
  .segmented {
    grid-template-columns: 1fr;
  }

  .segmented label {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .segmented label:last-child {
    border-bottom: 0;
  }

  footer {
    display: grid;
  }
}
