/* ============ Base ============ */
* {
  box-sizing: border-box;
}

:root {
  --bg: #ffffff;
  --ink: #102117;
  --muted: #52635a;
  --line: rgba(16, 33, 23, 0.1);
  --soft: #f5f8f4;
  --card: #ffffff;

  --accent: #2f7d4f;
  --accent-deep: #1f5c39;
  --accent-soft: #eaf4ec;
  --highlight: #d7ff70;
  --highlight-deep: #bfe85a;
  --olive-line: #a7c58a;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(16, 33, 23, 0.1);
  --container: 1120px;
  --gutter: 24px;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  color: var(--muted);
  margin: 0.6em 0;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 8, 7, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 200px;
}

.brand-mark {
  width: 72px;
  height: 44px;
  flex-shrink: 0;
  transform: translateX(-30px);
}

.logo-green {
  display: block;
}

.brand-name {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #ffffff;
  transform: translateX(-50px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.nav a {
  font-weight: 650;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.18s ease;
}

.nav a:hover {
  color: var(--highlight);
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 750;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  transition: transform 0.14s ease, background 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(47, 125, 79, 0.22);
}

.btn-primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  box-shadow: 0 16px 30px rgba(31, 92, 57, 0.24);
}

/* tighter desktop header contact button */
.nav .btn.btn-primary {
  padding: 8px 12px;
}

/* ============ Typography ============ */
h1,
h2,
h3 {
  color: var(--ink);
  margin: 0 0 10px;
}

h1 {
  font-size: 54px;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 28px;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 18px;
}

.lead {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 760px;
}

/* ============ Sections ============ */
section {
  padding: 76px 0;
}

.small {
  font-size: 14px;
  color: #64748b;
}

.tiny {
  font-size: 12px;
  color: #64748b;
  margin: 10px 0 0;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  height: calc(100vh - 68px);
  min-height: 640px;
  padding: 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 18, 12, 0.74) 0%, rgba(11, 31, 20, 0.5) 45%, rgba(12, 32, 20, 0.22) 100%),
    rgba(2, 6, 23, 0.12);
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(760px, calc(100vw - 48px));
  margin-left: max(24px, calc((100vw - var(--container)) / 2 + var(--gutter)));
  margin-right: 0;
  text-align: left;
  color: #ffffff;
}

.hero h1 {
  color: #ffffff;
  font-size: 54px;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}

.hero .lead {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 720px;
}

/* ============ Split section ============ */
.split {
  background: #070807;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 20px;
}

.split-grid-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.text-block {
  padding: 8px 0;
}

.text-block-divided {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 40px;
}

.section-accent,
.service-box-accent,
.contact-divider {
  width: 200px;
  height: 34px;
  margin-bottom: 26px;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}

/* fern divider used everywhere */
.accent-fern {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='34' viewBox='0 0 200 34'%3E%3Cpath d='M8 17 H58' stroke='%23a7c58a' stroke-width='2.1' stroke-linecap='round' opacity='.90'/%3E%3Cpath d='M58 17 C77 17 91 13 108 5' stroke='%23a7c58a' stroke-width='2.1' fill='none' stroke-linecap='round' opacity='.92'/%3E%3Cpath d='M69 15 C73 11 77 9 82 8' stroke='%23a7c58a' stroke-width='1.35' fill='none' stroke-linecap='round'/%3E%3Cpath d='M76 14 C80 10 85 8 90 7' stroke='%23a7c58a' stroke-width='1.35' fill='none' stroke-linecap='round'/%3E%3Cpath d='M84 13 C89 9 94 7 100 6' stroke='%23a7c58a' stroke-width='1.35' fill='none' stroke-linecap='round'/%3E%3Cpath d='M68 19 C72 17 76 15 80 13' stroke='%23a7c58a' stroke-width='1.2' fill='none' stroke-linecap='round' opacity='.92'/%3E%3Cpath d='M76 19 C81 16 86 14 91 11' stroke='%23a7c58a' stroke-width='1.2' fill='none' stroke-linecap='round' opacity='.92'/%3E%3Cpath d='M85 18 C91 14 96 11 102 8' stroke='%23a7c58a' stroke-width='1.2' fill='none' stroke-linecap='round' opacity='.92'/%3E%3Cpath d='M108 17 H194' stroke='%23a7c58a' stroke-width='2.1' stroke-linecap='round' opacity='.26'/%3E%3C/svg%3E");
}

.text-block h2 {
  font-size: 36px;
  line-height: 1.1;
  margin-bottom: 18px;
  color: #ffffff;
}

.text-block .checklist,
.text-block .steps {
  margin: 0;
  padding-left: 22px;
}

.text-block .checklist li,
.text-block .steps li {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  line-height: 1.55;
}

.text-block .steps li strong {
  color: #ffffff;
}

/* ============ Services section ============ */
.services-page {
  padding-top: 28px;
  background: #070807;
}

.services-page h2 {
  color: #a7c58a;
  font-size: 36px;
  line-height: 1.1;
  margin-bottom: 26px;
  letter-spacing: -0.02em;
}

.services-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: calc(100% + 24px);
  margin-left: -24px;
}

.service-box {
  position: relative;
  min-height: 250px;
  padding: 30px 26px 28px;
  border: 1px solid transparent;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(18, 20, 18, 0.96) 0%, rgba(10, 12, 10, 0.96) 100%);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.service-box:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 255, 112, 0.28);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.34);
}

.service-box h3 {
  color: #ffffff;
  font-size: 25px;
  line-height: 1.18;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.service-box p {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

/* ============ Contact section ============ */
.contact {
  position: relative;
  border-top: 0;
  padding-top: 8px;
  padding-bottom: 76px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(110, 145, 116, 0.2), transparent 30%),
    radial-gradient(circle at 80% 30%, rgba(88, 120, 94, 0.16), transparent 28%),
    linear-gradient(180deg, #223329 0%, #1b2b22 18%, #142119 48%, #0d1711 100%);
}

.contact-split-style {
  padding-bottom: 76px;
}

.contact-split-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.contact-split-left {
  max-width: 760px;
  padding-top: 80px;
}

.contact-split-right {
  width: 100%;
  max-width: 100%;
  display: block;
}

.contact-divider {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='34' viewBox='0 0 200 34'%3E%3Cpath d='M8 17 H58' stroke='%23ffffff' stroke-width='2.1' stroke-linecap='round'/%3E%3Cpath d='M58 17 C77 17 91 13 108 5' stroke='%23ffffff' stroke-width='2.1' fill='none' stroke-linecap='round'/%3E%3Cpath d='M69 15 C73 11 77 9 82 8' stroke='%23ffffff' stroke-width='1.35' fill='none' stroke-linecap='round'/%3E%3Cpath d='M76 14 C80 10 85 8 90 7' stroke='%23ffffff' stroke-width='1.35' fill='none' stroke-linecap='round'/%3E%3Cpath d='M84 13 C89 9 94 7 100 6' stroke='%23ffffff' stroke-width='1.35' fill='none' stroke-linecap='round'/%3E%3Cpath d='M108 17 H194' stroke='%23ffffff' stroke-width='2.1' stroke-linecap='round' opacity='.35'/%3E%3C/svg%3E");
}

.contact-split-left h2 {
  font-size: 36px;
  line-height: 1.1;
  margin: 0 0 18px;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.quick-message-title {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
}

.contact-details-list {
  margin: 0;
  padding-left: 22px;
}

.contact-details-list li {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.5;
}

.leaf-bullets {
  list-style: none;
  padding-left: 0;
  margin: 0 0 26px;
}

.leaf-bullets li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.5;
}

.leaf-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 20px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='14' viewBox='0 0 20 14'%3E%3Cpath d='M1 7 H6' stroke='%23a7c58a' stroke-width='1.5' stroke-linecap='round' opacity='.95'/%3E%3Cpath d='M6 7 C8.2 7 9.8 5.8 11.8 3.2' stroke='%23a7c58a' stroke-width='1.5' fill='none' stroke-linecap='round' opacity='.95'/%3E%3Cpath d='M7.2 6 C7.9 5.2 8.6 4.7 9.5 4.4' stroke='%23a7c58a' stroke-width='1' fill='none' stroke-linecap='round'/%3E%3Cpath d='M8.5 5.8 C9.3 5 10.1 4.5 11 4.1' stroke='%23a7c58a' stroke-width='1' fill='none' stroke-linecap='round'/%3E%3Cpath d='M7.1 8 C7.9 7.6 8.6 7 9.4 6.2' stroke='%23a7c58a' stroke-width='1' fill='none' stroke-linecap='round' opacity='.92'/%3E%3Cpath d='M8.7 8 C9.6 7.3 10.4 6.7 11.4 5.9' stroke='%23a7c58a' stroke-width='1' fill='none' stroke-linecap='round' opacity='.92'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
}

.quote-form-card {
  display: block;
  width: min(82vw, calc(var(--container) - (var(--gutter) * 2)));
  max-width: none;
  margin-top: 0;
  padding: 30px 28px 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.quote-form-card form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  align-items: start;
}

.quote-form-card label:nth-of-type(3) {
  grid-column: 1 / -1;
}

.quote-form-card .btn {
  justify-self: start;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 750;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  font: inherit;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(215, 255, 112, 0.1);
  border-color: rgba(215, 255, 112, 0.42);
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

/* ============ Footer ============ */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  color: rgba(255, 255, 255, 0.6);
  background: #070807;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============ Page theme ============ */
body.services-dark {
  background: #070807;
  color: #ffffff;
}

body.services-dark p {
  color: rgba(255, 255, 255, 0.74);
}

/* ============ Responsive ============ */
@media (max-width: 980px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 26px;
  }

  .split-grid-text,
  .services-page-grid {
    grid-template-columns: 1fr;
  }

  .services-page-grid {
    margin-left: 0;
    width: 100%;
    max-width: 100%;
  }

  .hero {
    height: auto;
    min-height: 0;
  }

  .hero-overlay {
    position: relative;
    padding: 88px 0 54px;
  }

  .hero-bg {
    position: absolute;
    height: 100%;
  }

  .hero-copy {
    width: calc(100vw - 48px);
    margin-left: 32px;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .nav .btn.btn-primary {
    padding: 8px 12px;
    line-height: 1;
  }

  .contact-split-wrap {
    gap: 72px;
  }

  .quote-form-card {
    width: 100%;
    max-width: 100%;
  }

  .quote-form-card form {
    grid-template-columns: 1fr;
  }

  .quote-form-card label:nth-of-type(3) {
    grid-column: auto;
  }

  .text-block-divided {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 0;
    padding-top: 32px;
  }

  .text-block h2,
  .services-page h2,
  .contact-split-left h2 {
    font-size: 30px;
  }

  .text-block .checklist li,
  .text-block .steps li,
  .contact-details-list li {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 0 16px;
  }

  .site-header {
    padding-top: 6px;
  }

  .header-inner {
    padding: 10px 0 12px;
  }

  .brand {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
    gap: 8px;
    padding-left: 11px;
  }

  .brand-name {
    font-size: 1.5rem;
    transform: translate(-6px, 6px);
  }

  .brand-mark {
    width: 45px;
    height: 33px;
    transform: translate(-6px, 4px);
    margin-left: 0;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
    padding-left: 18px;
  }

  .nav .btn.btn-primary {
    padding: 4px 8px;
    font-size: 14px;
    line-height: 1;
  }

  .hero-copy {
    width: calc(100vw - 32px);
    margin-left: 16px;
  }

  .service-box {
    padding: 18px 16px;
    min-height: auto;
  }

  .text-block h2,
  .services-page h2,
  .contact-split-left h2 {
    font-size: 28px;
  }

  .contact-details-list li {
    font-size: 17px;
  }

  .quote-form-card {
    padding: 18px 16px 16px;
  }

  .text-block .checklist li,
  .text-block .steps li {
    font-size: 17px;
  }

  .section-accent,
  .service-box-accent,
  .contact-divider {
    margin-bottom: 20px;
    width: 150px;
    height: 28px;
  }
}

.service-box-accent {
  display: none;
}