:root {
  --ink: #111827;
  --muted: #536171;
  --line: #dfe5ea;
  --paper: #ffffff;
  --soft: #f3f6f8;
  --deep: #12221f;
  --green: #2f6f53;
  --green-dark: #174734;
  --orange: #f27829;
  --orange-dark: #c75012;
  --steel: #62717e;
  --shadow: 0 18px 50px rgba(18, 34, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img,
svg {
  display: block;
}

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

button,
input,
textarea {
  font: inherit;
}

.sr-only,
.hidden {
  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: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 229, 234, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand-logo {
  width: clamp(170px, 17vw, 218px);
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

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

.site-nav a {
  padding: 10px 12px;
  color: #24313d;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 760;
}

.site-nav a:hover {
  background: var(--soft);
}

.header-call {
  display: grid;
  gap: 1px;
  padding: 9px 14px;
  color: var(--deep);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.header-call span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
  text-transform: uppercase;
}

.header-call strong {
  font-size: 0.98rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

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

.hero {
  position: relative;
  display: grid;
  min-height: clamp(560px, calc(100vh - 132px), 690px);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  background:
    url("assets/site/hero-temp-fence.webp") center / cover no-repeat,
    #1d2927;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 17, 16, 0.88) 0%, rgba(9, 17, 16, 0.72) 43%, rgba(9, 17, 16, 0.18) 100%),
    linear-gradient(180deg, rgba(9, 17, 16, 0.18), rgba(9, 17, 16, 0.58));
}

.hero-content {
  width: min(760px, calc(100% - 36px));
  align-self: center;
  margin-left: clamp(18px, 7vw, 88px);
  padding: 64px 0 76px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.quote-section h2,
.thanks-card h1 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(3rem, 7.4vw, 6rem);
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.04rem, 1.7vw, 1.25rem);
}

.veteran-callout {
  display: grid;
  gap: 5px;
  max-width: 620px;
  margin-top: 22px;
  padding: 15px 18px;
  border-left: 4px solid var(--orange);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.veteran-callout strong {
  color: #fff;
  font-size: 1rem;
}

.veteran-callout span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 820;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 14px 30px rgba(199, 80, 18, 0.22);
}

.btn-primary:hover {
  background: var(--orange-dark);
}

.btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.hero-proof {
  display: grid;
  gap: 8px;
  max-width: 520px;
  margin-top: 24px;
}

.hero-proof span {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.96rem;
  font-weight: 760;
}

.hero-proof span::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 8px;
  height: 2px;
  background: var(--orange);
  content: "";
}

.quote-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 6vw, 76px);
  color: #fff;
  background: var(--deep);
}

.quote-strip div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.quote-strip span {
  color: rgba(255, 255, 255, 0.76);
}

.strip-link {
  min-width: max-content;
  color: #ffd6bf;
  font-weight: 850;
}

.section {
  padding: clamp(64px, 9vw, 110px) clamp(18px, 6vw, 76px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.7fr);
  gap: 32px;
  max-width: none;
  align-items: end;
}

.section-heading h2,
.quote-section h2 {
  font-size: clamp(2rem, 4.8vw, 4rem);
}

.section-heading p:not(.eyebrow),
.quote-copy p,
.coverage-card p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.intro-grid article,
.steps article {
  padding: 28px;
  border-top: 3px solid var(--green);
  background: #fff;
}

.intro-grid h3,
.steps h3,
.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

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

.services-section,
.coverage-section {
  background: var(--soft);
}

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

.service-card {
  display: flex;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(18, 34, 31, 0.04);
}

.service-card.featured {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

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

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 14px;
  background: #f8fafb;
}

.service-card h3,
.service-card p,
.service-card a,
.service-card ul {
  margin-left: 22px;
  margin-right: 22px;
}

.service-card h3 {
  margin-top: 22px;
}

.service-card p {
  flex: 1;
}

.service-card a {
  display: inline-flex;
  width: max-content;
  margin-top: 20px;
  margin-bottom: 22px;
  color: var(--green-dark);
  font-weight: 850;
}

.service-card a::after {
  margin-left: 8px;
  color: var(--orange);
  content: ">";
}

.add-on-card {
  padding-top: 8px;
  border-top: 5px solid var(--orange);
  background: #fbfcfc;
}

.add-on-card p {
  flex: 0;
}

.add-on-card ul {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.add-on-card li {
  padding-left: 16px;
  border-left: 3px solid var(--green);
  color: #25313b;
  font-weight: 760;
}

.process-section {
  background: #fff;
}

.steps article {
  position: relative;
  overflow: hidden;
}

.steps span {
  display: block;
  margin-bottom: 30px;
  color: var(--orange);
  font-size: 0.86rem;
  font-weight: 880;
}

.industries-section {
  background: #fff;
}

.industry-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.56fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.industry-heading {
  position: sticky;
  top: 108px;
  margin-bottom: 0;
}

.industry-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.industries {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.industries article {
  min-height: 178px;
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  border-radius: 8px;
  background: var(--soft);
}

.industries h3 {
  margin: 0 0 10px;
  font-size: 1.02rem;
}

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

.coverage-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: 36px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.coverage-card h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.03;
}

.coverage-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.coverage-list li {
  padding: 13px 14px;
  border-left: 4px solid var(--orange);
  background: var(--soft);
  font-weight: 780;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  padding: clamp(64px, 9vw, 112px) clamp(18px, 6vw, 76px);
  color: #fff;
  background: var(--deep);
}

.quote-copy {
  align-self: start;
  position: sticky;
  top: 108px;
}

.quote-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.quote-notes {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.quote-notes div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.quote-notes strong,
.quote-notes span {
  display: block;
}

.quote-notes span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.7);
}

.quote-form {
  display: grid;
  gap: 17px;
  padding: clamp(20px, 4vw, 34px);
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 14px;
}

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

label,
fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  color: #25313b;
  font-size: 0.88rem;
  font-weight: 780;
}

fieldset {
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 10px;
  padding: 0;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cfd8df;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
}

input {
  min-height: 47px;
  padding: 10px 12px;
}

textarea {
  resize: vertical;
  min-height: 116px;
  padding: 12px;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(242, 120, 41, 0.22);
  border-color: var(--orange);
}

.field-error {
  display: none;
  color: #a33c0f;
  font-size: 0.82rem;
  font-weight: 760;
}

.field-error.is-visible {
  display: block;
}

input.has-error {
  border-color: #c75012;
  background: #fff8f4;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.checkbox-grid label {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 11px;
  border: 1px solid #d7e0e6;
  border-radius: 8px;
  background: var(--soft);
  color: #25313b;
  font-size: 0.9rem;
  cursor: pointer;
}

.checkbox-grid input {
  flex: 0 0 auto;
  width: 17px;
  min-height: 17px;
  margin: 0 8px 0 0;
  accent-color: var(--green);
}

.form-summary {
  padding: 13px 14px;
  color: #315544;
  border: 1px solid #cfe3d8;
  border-radius: 8px;
  background: #edf7f2;
  font-size: 0.92rem;
  font-weight: 760;
}

.form-status {
  min-height: 0;
  color: #9f3f0e;
  font-size: 0.92rem;
  font-weight: 780;
}

.form-status:empty {
  display: none;
}

.form-button {
  width: 100%;
  min-height: 54px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(18px, 6vw, 76px);
  background: #0c1513;
  color: #fff;
}

.site-footer p {
  max-width: 520px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.footer-brand {
  padding: 8px 10px;
  border-radius: 6px;
  background: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  justify-content: flex-end;
  gap: 8px;
}

.footer-links a {
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
}

.thanks-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 20px;
  background:
    linear-gradient(rgba(18, 34, 31, 0.83), rgba(18, 34, 31, 0.88)),
    url("assets/site/hero-temp-fence.webp") center / cover no-repeat;
}

.thanks-card {
  width: min(620px, 100%);
  padding: clamp(28px, 5vw, 48px);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.thanks-card h1 {
  margin-top: 34px;
  font-size: clamp(2.2rem, 6vw, 4rem);
}

.thanks-card p {
  margin: 16px 0 26px;
  color: var(--muted);
  font-size: 1.06rem;
}

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

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav,
  .header-call {
    display: none;
  }

  .site-nav.is-open {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 4px;
    padding-top: 8px;
  }

  .site-nav.is-open a {
    padding: 13px 10px;
    background: var(--soft);
  }

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

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

@media (max-width: 860px) {
  .hero {
    min-height: 660px;
  }

  .hero-media {
    background-position: 63% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(9, 17, 16, 0.9), rgba(9, 17, 16, 0.62)),
      linear-gradient(180deg, rgba(9, 17, 16, 0.2), rgba(9, 17, 16, 0.62));
  }

  .hero-content {
    padding-bottom: 68px;
  }

  .quote-strip,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading.split,
  .process-inner,
  .industry-layout,
  .intro-grid,
  .steps,
  .coverage-card,
  .quote-section {
    grid-template-columns: 1fr;
  }

  .industry-heading {
    position: static;
  }

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

  .quote-copy {
    position: static;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 68px;
  }

  .brand-logo {
    width: 168px;
    max-height: 54px;
  }

  .hero {
    min-height: 650px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px;
    padding-top: 58px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 13.5vw, 4rem);
  }

  .veteran-callout {
    margin-top: 18px;
    padding: 12px 14px;
  }

  .veteran-callout span {
    font-size: 0.9rem;
  }

  .hero-proof {
    display: none;
  }

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

  .section,
  .quote-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .service-grid,
  .industries,
  .form-row.two,
  .checkbox-grid,
  .coverage-list {
    grid-template-columns: 1fr;
  }

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

  .intro-grid article,
  .steps article,
  .quote-form {
    padding: 20px;
  }
}
