:root {
  --ink: #14211c;
  --muted: #516158;
  --field: #1f5f43;
  --field-dark: #174733;
  --work-blue: #255f7e;
  --clay: #8a5033;
  --gold: #c79a3a;
  --paper: #f7f8f4;
  --panel: #ffffff;
  --line: #d9e0d8;
  --danger: #b23b2e;
  --shadow: 0 14px 32px rgba(20, 33, 28, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: 6px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: 78px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

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

.brand strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: white;
  background: var(--field);
  font-weight: 800;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover {
  background: #eef3ef;
  color: var(--ink);
}

.phone-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--clay);
  color: white;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.phone-cta:hover,
.btn-primary:hover {
  filter: brightness(0.96);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}

.menu-toggle span[aria-hidden="true"],
.menu-toggle span[aria-hidden="true"]::before,
.menu-toggle span[aria-hidden="true"]::after {
  display: block;
  width: 21px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  content: "";
}

.menu-toggle span[aria-hidden="true"]::before {
  transform: translateY(-7px);
}

.menu-toggle span[aria-hidden="true"]::after {
  transform: translateY(5px);
}

.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;
}

.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 33, 28, 0.92) 0%, rgba(20, 33, 28, 0.68) 42%, rgba(20, 33, 28, 0.18) 100%),
    linear-gradient(0deg, rgba(20, 33, 28, 0.4), rgba(20, 33, 28, 0));
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.72fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 78px) 22px;
}

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

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

.hero-copy h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.15rem, 5vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 640px;
  font-size: 1.12rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 0;
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: #1f1705;
}

.btn-secondary {
  background: white;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-form .lead-form {
  box-shadow: var(--shadow);
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  width: 100%;
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.form-heading,
.lead-form .full,
.lead-form .form-note {
  grid-column: 1 / -1;
}

.form-heading h2,
.form-heading p {
  margin: 0;
}

.form-heading h2 {
  font-size: 1.45rem;
}

.form-heading p,
.form-note {
  color: var(--muted);
  font-size: 0.93rem;
}

.lead-form label {
  display: grid;
  gap: 5px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cbd6cd;
  border-radius: 6px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.lead-form textarea {
  min-height: 104px;
  resize: vertical;
}

.lead-form .check {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-weight: 700;
}

.lead-form .check input {
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 2px;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.wide,
.narrow {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(860px, calc(100% - 40px));
}

.page-hero {
  padding: clamp(46px, 7vw, 86px) 0;
  background: linear-gradient(180deg, #eef4ef 0%, var(--paper) 100%);
}

.page-hero h1 {
  color: var(--ink);
}

.page-hero p {
  color: var(--muted);
  font-size: 1.1rem;
}

.page-hero .btn-secondary {
  border-color: var(--line);
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: var(--field);
  font-weight: 800;
  text-decoration: none;
}

.content-section,
.service-grid-section,
.faq-section,
.form-band {
  padding: clamp(42px, 6vw, 76px) 0;
  background: var(--panel);
}

.section-muted,
.service-grid-section,
.faq-section {
  background: var(--paper);
}

.section-inner {
  display: grid;
  grid-template-columns: minmax(210px, 0.42fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 76px);
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.section-heading h2,
.service-grid-section h2,
.faq-section h2,
.form-band h2,
.site-footer h2 {
  margin: 0;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading h2,
.service-grid-section h2,
.faq-section h2,
.form-band h2 {
  font-size: clamp(1.65rem, 3vw, 2.7rem);
}

.section-copy p:first-child {
  margin-top: 0;
}

.section-copy p,
.section-copy li {
  color: var(--muted);
  font-size: 1.02rem;
}

.link-cluster,
.official-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.link-cluster a,
.official-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--field-dark);
  font-weight: 850;
  text-decoration: none;
}

.official-links {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf8;
}

.official-links strong {
  width: 100%;
}

.check-list {
  padding-left: 1.1rem;
}

.check-list li + li {
  margin-top: 8px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-top: 24px;
}

.service-card {
  min-height: 230px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20, 33, 28, 0.1);
}

.service-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #e5efe7;
  color: var(--field-dark);
  font-weight: 900;
}

.service-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

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

.split-form {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(360px, 1fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
}

.split-form > div:first-child p {
  color: var(--muted);
  font-size: 1.05rem;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

summary {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 14px 18px;
  font-weight: 900;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.site-footer {
  padding: 52px clamp(20px, 4vw, 56px) 98px;
  background: var(--ink);
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  max-width: 1180px;
  margin: 0 auto;
}

.footer-brand {
  color: white;
}

.site-footer p,
.site-footer small {
  color: #c5d2ca;
}

.site-footer h2 {
  font-size: 1rem;
  color: white;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

.site-footer li + li {
  margin-top: 8px;
}

.site-footer a:not(.phone-cta):not(.brand) {
  color: #dfe8e2;
  text-decoration: none;
}

.footer-email {
  display: inline-block;
  margin-top: 12px;
}

.site-footer a:not(.phone-cta):hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #c5d2ca;
  font-size: 0.92rem;
}

.mobile-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: none;
  grid-template-columns: 1fr 1fr;
  background: white;
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 22px rgba(20, 33, 28, 0.13);
}

.mobile-sticky a {
  min-height: 58px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.mobile-sticky a:first-child {
  background: var(--clay);
}

.mobile-sticky a:last-child {
  background: var(--field);
}

@media (max-width: 1030px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
    order: 3;
  }

  .header-phone {
    justify-self: end;
    order: 2;
  }

  .site-nav {
    grid-column: 1 / -1;
    display: none;
    justify-content: stretch;
    padding-top: 12px;
  }

  .site-nav.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav a {
    background: #f2f5f2;
  }

  .hero-inner,
  .split-form {
    grid-template-columns: 1fr;
  }

  .hero-form {
    max-width: 680px;
  }

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

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

@media (max-width: 720px) {
  .site-header {
    min-height: 66px;
    gap: 10px;
    padding: 10px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

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

  .header-phone {
    display: none;
  }

  .home-hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 42px 18px 34px;
  }

  .hero-overlay {
    background: rgba(20, 33, 28, 0.78);
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 2.28rem;
    line-height: 1.02;
  }

  .cta-row,
  .btn {
    width: 100%;
  }

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

  .section-inner {
    grid-template-columns: 1fr;
  }

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

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

  .wide,
  .narrow,
  .section-inner {
    width: min(100% - 30px, 1180px);
  }

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

  .site-nav.is-open {
    grid-template-columns: 1fr;
  }

  .mobile-sticky {
    display: grid;
  }
}
