:root {
  --ink: #111312;
  --muted: #5a615c;
  --line: #d9ded9;
  --paper: #f7f8f4;
  --white: #ffffff;
  --green: #256b4a;
  --green-dark: #163b2c;
  --blue: #1f5d7a;
  --red: #b33a2f;
  --yellow: #f0c34a;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(10, 18, 14, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.wrap {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 20;
  background: var(--yellow);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 248, 244, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0;
}

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

.brand strong {
  font-size: 1rem;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
  color: #28302b;
}

.site-nav a:hover {
  color: var(--green);
}

.nav-cta {
  padding: 10px 14px;
  border: 1px solid var(--green);
  border-radius: var(--radius);
  color: var(--green-dark) !important;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  padding: 10px 12px;
  font: inherit;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 130px));
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.page-hero {
  padding: 86px 0;
  background: var(--green-dark);
  color: var(--white);
}

.page-hero .eyebrow {
  color: var(--yellow);
}

.page-hero__inner {
  max-width: 860px;
}

.page-hero p:not(.eyebrow) {
  max-width: 680px;
  color: #d7e4db;
  font-size: 1.16rem;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 13, 11, 0.91), rgba(8, 13, 11, 0.68) 46%, rgba(8, 13, 11, 0.22));
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__inner {
  position: relative;
  padding: 92px 0 126px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--yellow);
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0;
}

h1 {
  max-width: 780px;
  font-size: 5.6rem;
}

h2 {
  font-size: 3.45rem;
}

h3 {
  font-size: 1.25rem;
}

.hero__lead {
  max-width: 660px;
  margin: 22px 0 0;
  color: #e3ece5;
  font-size: 1.2rem;
}

.hero__actions,
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 800;
  line-height: 1.2;
}

.button--primary {
  background: var(--yellow);
  color: var(--ink);
}

.button--secondary {
  border: 1px solid currentColor;
  color: inherit;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 820px;
  margin: 56px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero__stats div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.09);
}

.hero__stats dt {
  color: var(--yellow);
  font-weight: 800;
}

.hero__stats dd {
  margin: 4px 0 0;
  color: #f2f5f0;
}

.section {
  padding: 92px 0;
}

.section--intro {
  background: var(--white);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.8fr);
  gap: 56px;
  align-items: start;
}

.split p,
.section-heading p,
.fault-layout p,
.cta p,
.site-footer p {
  color: var(--muted);
  font-size: 1.04rem;
}

.symptom-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #eef4ef;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--green);
}

.media-band {
  background: #e9ece5;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

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

figure {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(23, 33, 28, 0.1);
}

figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
}

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

.process-grid article,
.brand-grid article {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.process-grid span {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--red);
  font-weight: 900;
}

.process-grid p,
.brand-grid p {
  color: var(--muted);
}

.brand-grid a {
  display: inline-block;
  margin-top: 8px;
  color: var(--yellow);
  font-weight: 800;
}

.section--dark {
  background: var(--green-dark);
  color: var(--white);
}

.section--dark .eyebrow {
  color: var(--yellow);
}

.section--dark p {
  color: #d7e4db;
}

.section--dark .brand-grid article {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
}

.fault-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 48px;
  align-items: center;
}

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

.code-list span {
  display: grid;
  place-items: center;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 900;
  color: var(--blue);
}

.service-area {
  background: var(--white);
}

.seo-hub {
  background: #edf2ee;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.hub-grid a {
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
}

.hub-grid span {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hub-grid strong {
  color: var(--green-dark);
  line-height: 1.15;
}

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

.coverage-list span {
  min-height: 62px;
  display: flex;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f1f6f0;
  color: var(--green-dark);
  font-weight: 900;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.38fr);
  gap: 34px;
  align-items: start;
}

.content-main,
.content-side,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.content-main {
  padding: 34px;
}

.content-main h2 + p,
.content-main p + h2,
.content-main ul + h2 {
  margin-top: 28px;
}

.content-side {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 12px;
  padding: 24px;
}

.content-side .button {
  width: 100%;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px 24px;
}

.faq-list summary {
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 900;
}

.faq-list p,
.content-main p,
.content-side p {
  color: var(--muted);
}

.cta-section {
  padding: 72px 0;
  background: var(--blue);
  color: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 32px;
  align-items: start;
}

.contact-panel,
.contact-form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-methods a,
.contact-methods div {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  background: #f6f8f4;
}

.contact-methods span,
.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form label {
  margin-top: 6px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cbd3cc;
  border-radius: var(--radius);
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #fbfcfa;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  border: 0;
  margin-top: 12px;
  cursor: pointer;
  font: inherit;
}

.cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.cta .eyebrow {
  color: var(--yellow);
}

.cta p {
  color: #e1eef4;
  max-width: 680px;
}

.site-footer {
  padding: 54px 0 24px;
  background: #111312;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 36px;
}

.brand--footer .brand__mark {
  background: var(--yellow);
  color: var(--ink);
}

.site-footer h2 {
  margin-bottom: 14px;
  font-size: 1rem;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .split,
  .fault-layout,
  .contact-layout,
  .cta,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split,
  .fault-layout {
    gap: 30px;
  }

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

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

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

  .content-side {
    position: static;
  }

  .cta {
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 28px, 1180px);
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: calc(100vh - 120px);
  }

  .hero__inner {
    padding: 44px 0 54px;
  }

  h1 {
    font-size: 2.42rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__media::after {
    background: linear-gradient(180deg, rgba(8, 13, 11, 0.8), rgba(8, 13, 11, 0.86));
  }

  .hero__stats,
  .image-grid,
  .process-grid,
  .brand-grid,
  .hub-grid,
  .coverage-list,
  .code-list {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .button {
    width: 100%;
  }
}
