:root {
  --forest: #063f25;
  --forest-2: #0f5634;
  --sage: #8ea781;
  --sage-soft: #edf3e7;
  --cream: #fbf7ee;
  --beige: #e9deca;
  --white: #ffffff;
  --ink: #15251d;
  --muted: #53635a;
  --line: #d9dfd3;
  --shadow: 0 18px 45px rgba(16, 41, 27, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  border: 0;
}

:focus-visible {
  outline: 3px solid rgba(15, 86, 52, 0.35);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 64px 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 50;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--forest);
  color: var(--white);
  padding: 10px 16px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(6, 63, 37, 0.12);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 86px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

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

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
  font-weight: 750;
  color: var(--ink);
}

.nav-links a {
  position: relative;
  padding: 30px 0 28px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 3px;
  border-radius: 999px;
  background: var(--forest-2);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.phone-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: 8px;
  font-weight: 850;
  line-height: 1;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.phone-button {
  min-width: 188px;
  padding: 0 20px;
  background: var(--forest);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(6, 63, 37, 0.16);
}

.phone-button svg,
.button svg,
.contact-link svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: currentColor;
}

.button {
  padding: 0 22px;
  cursor: pointer;
}

.button-primary {
  background: var(--forest);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(6, 63, 37, 0.18);
}

.button-secondary {
  border: 1px solid rgba(6, 63, 37, 0.55);
  background: rgba(255, 255, 255, 0.74);
  color: var(--forest);
}

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

.button-primary:hover,
.phone-button:hover {
  background: #052f1d;
  box-shadow: 0 14px 30px rgba(6, 63, 37, 0.22);
}

.button-secondary:hover {
  border-color: var(--forest);
  background: var(--white);
}

.hero {
  padding-top: 40px;
  padding-bottom: 50px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(251, 247, 238, 0.94)),
    var(--cream);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: 52px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: var(--forest-2);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero .section-kicker::before {
  display: none;
}

.section-kicker svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

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

h1,
h2 {
  margin: 0;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 0.98;
  font-weight: 700;
}

h1 {
  max-width: 640px;
  font-size: 4rem;
}

h2 {
  font-size: 2.45rem;
}

.hero-lede {
  max-width: 510px;
  margin: 24px 0 0;
  color: #405048;
  font-size: 1.16rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.hero-actions .button {
  min-width: 176px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.trust-list li {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #eef3e8;
  color: var(--ink);
  padding: 0 14px;
  font-size: 0.9rem;
  font-weight: 750;
}

.trust-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--forest-2);
}

.hero-media {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 1.12fr) minmax(240px, 0.88fr);
  gap: 10px;
  min-width: 0;
}

.hero-media img,
.gallery-grid img,
.about-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.hero-photo-main {
  aspect-ratio: 1 / 1.12;
}

.hero-photo-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(120px, 1fr);
  gap: 10px;
}

.hero-photo-stack img {
  aspect-ratio: 1 / 0.92;
}

.photo-note {
  position: absolute;
  left: 16px;
  bottom: 16px;
  max-width: calc(100% - 32px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(6, 63, 37, 0.88);
  color: var(--white);
  padding: 10px 14px;
  font-weight: 850;
  line-height: 1.1;
  box-shadow: 0 10px 24px rgba(6, 31, 19, 0.22);
}

.services-band {
  border-top: 1px solid rgba(6, 63, 37, 0.08);
  border-bottom: 1px solid rgba(6, 63, 37, 0.08);
  background: #f4f0e6;
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1.75fr);
  gap: 44px;
  align-items: start;
}

.section-heading h2 {
  max-width: 410px;
  font-size: 2.2rem;
  line-height: 1.08;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 14px;
}

.service-card {
  min-height: 86px;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(6, 63, 37, 0.08);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.82);
  padding: 14px;
  box-shadow: 0 14px 28px rgba(55, 55, 38, 0.06);
}

.service-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.2;
  overflow-wrap: normal;
  word-break: normal;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--forest-2);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.gallery-section {
  background: var(--cream);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 28px;
}

.split-heading h2 {
  max-width: 600px;
  font-size: 2.65rem;
}

.split-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 0.72fr);
  grid-auto-rows: 170px;
  gap: 14px;
}

.gallery-grid figure {
  min-width: 0;
  margin: 0;
}

.gallery-grid .gallery-feature {
  grid-row: span 2;
}

.about-contact {
  padding-top: 28px;
  background: var(--cream);
}

.about-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(6, 63, 37, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.about-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(260px, 1fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  background: linear-gradient(90deg, #f1f6e9 0%, #fbf8ef 100%);
}

.about-card > img {
  min-height: 252px;
  box-shadow: 0 12px 26px rgba(16, 41, 27, 0.12);
}

.about-copy h2,
.contact-copy h2 {
  font-size: 2rem;
  line-height: 1.04;
}

.about-copy p:not(.section-kicker):not(.owner-line) {
  margin: 16px 0 0;
  color: #33443b;
  font-size: 0.98rem;
}

.owner-line {
  margin: 18px 0 0;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-style: italic;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.72fr 1.18fr;
  gap: 28px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.92);
}

.contact-copy {
  align-self: center;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 16px;
  color: var(--forest);
  font-size: 1.12rem;
  font-weight: 850;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: center;
}

.field {
  display: grid;
  gap: 6px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: #33443b;
  font-size: 0.86rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 12px 13px;
  font-size: 0.96rem;
}

.field input,
.field select {
  min-height: 48px;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--forest-2);
  outline: 3px solid rgba(15, 86, 52, 0.16);
}

.quote-form .button {
  width: 100%;
}

.hidden {
  display: none;
}

.site-footer {
  background: var(--forest);
  color: var(--white);
}

.footer-inner {
  min-height: 86px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.footer-brand img {
  width: 194px;
  height: auto;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.thank-you-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 0;
  background: var(--cream);
}

.thank-you-card {
  width: min(calc(100% - 40px), 680px);
  border: 1px solid rgba(6, 63, 37, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  padding: 42px;
  box-shadow: var(--shadow);
  text-align: center;
}

.thank-you-card img {
  width: 230px;
  margin: 0 auto 24px;
}

.thank-you-card p {
  max-width: 520px;
  margin: 18px auto 0;
  color: var(--muted);
}

.thank-you-card .button {
  margin-top: 26px;
}

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

  .nav-links {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    gap: 24px;
    padding-bottom: 14px;
    overflow-x: auto;
  }

  .nav-links a {
    padding: 0 0 10px;
    white-space: nowrap;
  }

  .nav-links a::after {
    bottom: 4px;
  }

  .phone-button {
    justify-self: end;
  }

  .hero-grid,
  .services-layout,
  .about-contact-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 3.55rem;
  }

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

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

  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 48px 0;
  }

  .header-inner {
    min-height: auto;
    padding: 14px 0;
    gap: 14px;
  }

  .brand img {
    width: 210px;
  }

  .phone-button {
    min-width: 52px;
    width: 52px;
    padding: 0;
  }

  .phone-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .nav-links {
    gap: 18px;
    padding-bottom: 8px;
    font-size: 0.94rem;
  }

  .hero {
    padding-top: 30px;
  }

  .hero-grid {
    gap: 34px;
  }

  h1 {
    font-size: 3.05rem;
    line-height: 1.02;
  }

  h2,
  .split-heading h2 {
    font-size: 2rem;
  }

  .hero-lede {
    font-size: 1.02rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .hero-media {
    grid-template-columns: 1fr;
  }

  .hero-photo-stack {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 130px;
  }

  .photo-note {
    top: 16px;
    bottom: auto;
    font-size: 0.9rem;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 22px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 210px;
  }

  .gallery-grid .gallery-feature {
    grid-column: 1 / -1;
    grid-row: span 2;
  }

  .about-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .contact-panel {
    padding: 20px;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
    padding: 26px 0;
    text-align: center;
  }
}

@media (max-width: 460px) {
  .brand img {
    width: 190px;
  }

  .hero-photo-stack,
  .service-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid .gallery-feature {
    grid-row: span 1;
  }

  .service-card {
    min-height: 78px;
  }

  .thank-you-card {
    padding: 30px 20px;
  }
}

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