:root {
  --ink: #101820;
  --ink-2: #22313f;
  --paper: #f7f3ea;
  --white: #ffffff;
  --line: #d8d2c4;
  --muted: #65717c;
  --blue: #1f5f8b;
  --blue-dark: #17425f;
  --green: #416f53;
  --amber: #c8792a;
  --shadow: 0 24px 70px rgba(16, 24, 32, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  align-items: center;
  background: rgba(247, 243, 234, 0.94);
  border-bottom: 1px solid rgba(16, 24, 32, 0.08);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 54px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 6px;
  color: var(--white);
  display: inline-flex;
  font-size: 0.76rem;
  height: 34px;
  justify-content: center;
  width: 42px;
}

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

.site-nav a {
  color: var(--ink-2);
  font-weight: 700;
}

.nav-cta {
  background: var(--blue);
  border-radius: 6px;
  color: var(--white) !important;
  padding: 10px 14px;
}

.hero {
  min-height: calc(100svh - 72px);
  overflow: hidden;
  position: relative;
}

.hero-media {
  background-image: url("assets/hvac-service-van-hero.png");
  background-position: center;
  background-size: cover;
  inset: 0;
  position: absolute;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.92) 0%, rgba(16, 24, 32, 0.74) 42%, rgba(16, 24, 32, 0.24) 100%),
    linear-gradient(0deg, rgba(16, 24, 32, 0.35), rgba(16, 24, 32, 0.08));
  inset: 0;
  position: absolute;
}

.hero-inner {
  color: var(--white);
  max-width: 780px;
  padding: clamp(72px, 11vw, 132px) clamp(20px, 5vw, 74px) 58px;
  position: relative;
  z-index: 1;
}

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

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

h1 {
  font-size: clamp(2.7rem, 7vw, 5.9rem);
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0;
  max-width: 760px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
}

h3 {
  font-size: 1.28rem;
  line-height: 1.15;
  margin: 0;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.18rem;
  margin: 24px 0 0;
  max-width: 690px;
}

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

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

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

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

.button-primary:hover {
  background: #dc8b35;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.36);
  color: var(--white);
}

.trust-line {
  border-left: 4px solid var(--amber);
  color: rgba(255, 255, 255, 0.78);
  margin: 28px 0 0;
  max-width: 650px;
  padding-left: 14px;
}

.section {
  padding: clamp(70px, 10vw, 118px) clamp(20px, 5vw, 74px);
}

.section-grid {
  display: grid;
  gap: clamp(34px, 6vw, 88px);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  margin: 0 auto;
  max-width: 1180px;
}

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

.section-copy,
.section-intro,
.recovery-copy p,
.proof-copy,
.request-copy > p {
  color: var(--ink-2);
  font-size: 1.08rem;
}

.section-copy p:first-child {
  font-size: 1.32rem;
  font-weight: 800;
  margin-top: 0;
}

.section-copy p:last-child {
  margin-bottom: 0;
}

.service-lanes {
  background: #fffaf0;
  border-top: 1px solid var(--line);
}

.lane-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.lane-grid span {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-2);
  font-weight: 850;
  min-height: 52px;
  padding: 14px 12px;
  text-align: center;
}

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

.workflow-layout {
  align-items: center;
  display: grid;
  gap: clamp(30px, 5vw, 62px);
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1180px;
}

.workflow-media {
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.workflow-media img {
  aspect-ratio: 16 / 9;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.workflow-copy p:not(.eyebrow) {
  color: var(--ink-2);
  font-size: 1.08rem;
  margin-bottom: 0;
}

.leak-section {
  background: var(--ink);
  color: var(--white);
}

.section-heading {
  margin: 0 auto 34px;
  max-width: 920px;
  text-align: center;
}

.leak-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.leak-card {
  background: #172432;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  min-height: 360px;
  padding: 28px;
}

.card-number {
  color: var(--amber);
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 900;
  margin-bottom: 42px;
}

.leak-card p {
  color: rgba(255, 255, 255, 0.78);
  min-height: 52px;
}

.leak-card ul {
  color: rgba(255, 255, 255, 0.78);
  margin: 18px 0 0;
  padding-left: 20px;
}

.leak-card li + li {
  margin-top: 10px;
}

.checklist-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  list-style: none;
  margin: 0;
  padding: 18px;
}

.check-item {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 14px;
  grid-template-columns: 18px minmax(0, 1fr);
  min-height: 58px;
}

.check-item:last-child {
  border-bottom: 0;
}

.check-item span {
  background: var(--green);
  border-radius: 50%;
  height: 10px;
  width: 10px;
}

.check-item p {
  font-weight: 750;
  margin: 0;
}

.recovery-section {
  background: #e9e2d2;
}

.recovery-layout {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  margin: 0 auto;
  max-width: 1180px;
}

.deliverables {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  overflow: hidden;
  padding: 0;
}

.deliverables li {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  min-height: 150px;
  padding: 26px;
}

.deliverables li:nth-child(2n) {
  border-right: 0;
}

.deliverables li:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.deliverables strong {
  color: var(--blue-dark);
  display: block;
  font-size: 1.55rem;
  line-height: 1;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}

.deliverables span {
  color: var(--muted);
  display: block;
  font-weight: 700;
}

.proof-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 38px;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(26px, 5vw, 54px);
}

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

.proof-copy p:last-child {
  margin-bottom: 0;
}

.request-section {
  background: var(--ink);
  color: var(--white);
  display: grid;
  gap: clamp(30px, 5vw, 70px);
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.88fr);
}

.request-copy {
  max-width: 690px;
}

.request-copy > p {
  color: rgba(255, 255, 255, 0.78);
}

.about-box {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  margin-top: 30px;
  padding: 24px;
}

.about-box p {
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: 0;
}

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

.form-heading p {
  color: var(--muted);
  margin: 8px 0 0;
}

label {
  color: var(--ink-2);
  display: grid;
  font-size: 0.88rem;
  font-weight: 850;
  gap: 7px;
}

input,
select,
textarea {
  background: #fbfaf6;
  border: 1px solid #cfc7b8;
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 11px 12px;
  width: 100%;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 95, 139, 0.18);
  outline: 0;
}

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

.form-button {
  border: 0;
  width: 100%;
}

.form-note {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

.form-note[data-state="success"] {
  color: #247a4a;
  font-weight: 850;
}

.form-note[data-state="error"] {
  color: #a63b2d;
  font-weight: 850;
}

.form-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.site-footer {
  align-items: center;
  background: #0b1117;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  justify-content: space-between;
  min-height: 92px;
  padding: 24px clamp(20px, 5vw, 74px);
}

.site-footer p {
  color: var(--white);
  font-weight: 900;
  margin: 0;
}

.site-footer a {
  color: var(--amber);
  font-weight: 850;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    position: relative;
  }

  .site-nav {
    gap: 10px;
  }

  .site-nav a {
    font-size: 0.86rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 72px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(16, 24, 32, 0.94) 0%, rgba(16, 24, 32, 0.82) 60%, rgba(16, 24, 32, 0.54) 100%),
      linear-gradient(0deg, rgba(16, 24, 32, 0.42), rgba(16, 24, 32, 0.12));
  }

  .section-grid,
  .workflow-layout,
  .recovery-layout,
  .proof-panel,
  .request-section {
    grid-template-columns: 1fr;
  }

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

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

  .card-number {
    margin-bottom: 22px;
  }
}

@media (max-width: 560px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    padding-left: 14px;
    padding-right: 14px;
    text-align: center;
  }

  .deliverables,
  .lane-grid,
  .leak-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .workflow-layout {
    gap: 24px;
  }

  .deliverables li,
  .deliverables li:nth-child(2n),
  .deliverables li:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }

  .deliverables li:last-child {
    border-bottom: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}
