:root {
  --ink: #12202b;
  --ink-soft: #455461;
  --paper: #f8faf7;
  --white: #ffffff;
  --navy: #10263a;
  --teal: #0d756d;
  --gold: #d99a2b;
  --clay: #b85d3b;
  --line: #dce4df;
  --shadow: 0 22px 60px rgba(17, 31, 43, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

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 {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.lead-panel,
.section,
.hero {
  scroll-margin-top: 88px;
}

.site-header {
  position: fixed;
  top: 0;
  z-index: 20;
  width: 100%;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: var(--white);
  background: rgba(16, 38, 58, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

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

.brand-wordmark {
  color: var(--gold);
  font-family: "Grand Hotel", "Brush Script MT", cursive;
  font-size: clamp(2.1rem, 3vw, 2.75rem);
  line-height: 0.86;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 32px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.nav-links a,
.phone-link {
  text-decoration: none;
}

.nav-links a:hover,
.phone-link:hover {
  color: var(--white);
}

.phone-link {
  padding: 10px 14px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 17, 27, 0.93) 0%, rgba(7, 17, 27, 0.72) 36%, rgba(7, 17, 27, 0.3) 70%),
    linear-gradient(0deg, rgba(7, 17, 27, 0.82) 0%, rgba(7, 17, 27, 0.05) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 122px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, 430px);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.hero-copy {
  padding-bottom: clamp(18px, 7vh, 80px);
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(2.65rem, 6.2vw, 5.95rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 4rem);
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.hero-subhead {
  max-width: 650px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 0;
  border-radius: 8px;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 14px 32px rgba(217, 154, 43, 0.28);
}

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

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.button-dark {
  color: var(--white);
  background: var(--navy);
}

.trust-strip {
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  list-style: none;
}

.trust-strip li {
  padding: 8px 10px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 750;
}

.lead-panel {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 28px);
  box-shadow: var(--shadow);
  transform: translateY(-46px);
}

.form-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.lead-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.form-intro {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.progress {
  height: 8px;
  margin-bottom: 20px;
  overflow: hidden;
  background: #e8efe9;
  border-radius: 999px;
}

.progress-bar {
  display: block;
  width: 33.333%;
  height: 100%;
  background: var(--teal);
  transition: width 180ms ease;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.form-step {
  display: none;
}

.form-step.is-active {
  display: block;
}

legend {
  margin-bottom: 14px;
  font-size: 1.12rem;
  font-weight: 850;
}

label {
  display: block;
  margin: 14px 0 7px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 780;
}

.field-label {
  display: block;
  margin: 14px 0 8px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 780;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cbd7d0;
  border-radius: 8px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(13, 117, 109, 0.22);
  border-color: var(--teal);
}

textarea {
  min-height: 86px;
  resize: vertical;
}

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

.service-options label {
  min-height: 44px;
  margin: 0;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  background: #f4f8f5;
  border: 1px solid #d5dfd8;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 750;
  cursor: pointer;
}

.service-options input {
  width: 16px;
  min-width: 16px;
  height: 16px;
  min-height: 16px;
  padding: 0;
  accent-color: var(--teal);
}

.optional {
  color: #74816f;
  font-weight: 650;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-step > .form-next {
  width: calc((100% - 12px) / 2);
  height: 52px;
  margin-top: 18px;
  margin-left: calc((100% + 12px) / 2);
  padding-inline: 12px;
  white-space: nowrap;
}

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

.form-row .button {
  width: 100%;
  min-width: 0;
  height: 52px;
  min-height: 52px;
  margin-top: 0;
  margin-left: 0;
  padding-inline: 12px;
  white-space: nowrap;
}

.lead-panel .button {
  font-size: clamp(0.86rem, 2.6vw, 0.96rem);
}

.lead-panel .button-secondary {
  color: var(--ink);
  background: #edf3ee;
  border-color: #d5dfd8;
}

.consent {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.consent-check {
  margin-top: 16px;
  padding: 12px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  color: var(--ink);
  background: #f4f8f5;
  border: 1px solid #d5dfd8;
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.35;
}

.consent-check input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--teal);
}

.form-success {
  display: none;
  padding: 16px;
  color: #123728;
  background: #e5f4ec;
  border: 1px solid #b8dec9;
  border-radius: 8px;
}

.form-success strong,
.form-success span {
  display: block;
}

.form-error {
  display: none;
  margin-top: 14px;
  padding: 14px;
  color: #6d2118;
  background: #fff0ed;
  border: 1px solid #f1b8ad;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 750;
}

.deadline-band {
  position: relative;
  z-index: 2;
  width: min(1080px, calc(100% - 36px));
  margin: 28px auto 0;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(16, 38, 58, 0.16);
}

.deadline-band strong,
.deadline-band span {
  display: block;
}

.deadline-band span {
  color: rgba(255, 255, 255, 0.83);
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(68px, 10vw, 118px) 0;
}

.split-section,
.report-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
}

.section-copy p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.risk-grid,
.trust-grid,
.keyword-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.risk-card,
.trust-grid article,
.keyword-grid article,
.process-grid article,
.faq-list article {
  min-height: 168px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(18, 32, 43, 0.05);
}

.risk-card p,
.trust-grid span,
.keyword-grid span,
.process-grid p,
.faq-list p {
  margin: 0;
  color: var(--ink-soft);
}

.process-section .section-heading {
  max-width: 820px;
}

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

.process-grid article {
  min-height: 184px;
}

.step-number {
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
  font-weight: 900;
}

.icon {
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--clay);
  border-radius: 8px;
  font-weight: 900;
}

.report-section {
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100vw - 1120px) / 2));
  background: #edf5f1;
}

.report-preview {
  min-height: 420px;
  display: grid;
  place-items: center;
}

.report-window {
  width: min(100%, 470px);
  overflow: hidden;
  background: var(--white);
  border: 1px solid #cfdcd5;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.report-header {
  height: 42px;
  padding: 14px;
  display: flex;
  gap: 8px;
  background: var(--navy);
}

.report-header span {
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 999px;
}

.report-body {
  padding: 22px;
}

.report-line {
  height: 12px;
  margin-bottom: 12px;
  background: #dbe7e2;
  border-radius: 999px;
}

.report-line.strong {
  width: 72%;
  height: 18px;
  background: var(--teal);
}

.report-line.short {
  width: 52%;
}

.report-photo {
  aspect-ratio: 16 / 9;
  margin-bottom: 16px;
  background:
    linear-gradient(135deg, rgba(16, 38, 58, 0.15), rgba(13, 117, 109, 0.08)),
    url("assets/hero-home-inspection.jpg") center / cover;
  border-radius: 8px;
}

.report-status {
  margin-top: 18px;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: #fff6e5;
  border: 1px solid #eed2a0;
  border-radius: 8px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.trust-section {
  padding-bottom: 70px;
}

.trust-grid article {
  min-height: 140px;
}

.trust-grid strong,
.trust-grid span,
.process-grid strong,
.process-grid span,
.keyword-grid strong,
.keyword-grid span {
  display: block;
}

.trust-grid strong,
.process-grid h3,
.keyword-grid strong {
  margin-bottom: 10px;
  font-size: 1.06rem;
}

.seo-section {
  padding-top: 24px;
}

.seo-section .section-heading {
  max-width: 820px;
}

.seo-section .section-heading p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

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

.keyword-grid article {
  min-height: 132px;
}

.faq-section {
  padding-top: 34px;
}

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

.faq-list article {
  min-height: 176px;
}

.faq-list h3 {
  font-size: 1.1rem;
}

.check-list {
  margin: 24px 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--ink);
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  content: "";
  color: var(--white);
  background: var(--teal);
  border-radius: 999px;
  font-size: 0.8rem;
}

.check-list li::after {
  position: absolute;
  left: 7px;
  top: 5px;
  width: 7px;
  height: 11px;
  content: "";
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.final-cta {
  width: min(860px, calc(100% - 36px));
  text-align: center;
}

.final-cta p:not(.eyebrow) {
  margin: 0 auto 28px;
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.site-footer {
  padding: 22px 18px 82px;
  color: rgba(255, 255, 255, 0.64);
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-disclaimer {
  margin: 0 auto;
  max-width: 980px;
  font-size: 0.78rem;
  line-height: 1.65;
  text-align: left;
}

.footer-disclaimer strong {
  color: rgba(255, 255, 255, 0.86);
}

.footer-disclaimer a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  text-decoration-color: rgba(255, 255, 255, 0.34);
  text-underline-offset: 3px;
}

.mobile-sticky {
  display: none;
}

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

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 96px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .lead-panel {
    transform: none;
  }

  .split-section,
  .report-section {
    grid-template-columns: 1fr;
  }

  .report-preview {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
    padding-bottom: 76px;
  }

  .site-header {
    padding: 12px 16px;
  }

  .brand {
    min-width: 218px;
  }

  .phone-link {
    display: none;
  }

  .brand-wordmark {
    font-size: 2rem;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 17, 27, 0.92) 0%, rgba(7, 17, 27, 0.74) 100%),
      linear-gradient(0deg, rgba(7, 17, 27, 0.88) 0%, rgba(7, 17, 27, 0.12) 55%);
  }

  .hero-content {
    width: calc(100% - 28px);
    padding-bottom: 28px;
  }

  .hero-copy,
  .lead-panel {
    min-width: 0;
  }

  h1 {
    max-width: 100%;
    font-size: 2.4rem;
    overflow-wrap: break-word;
  }

  .hero-subhead {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero-actions .button,
  .final-cta .button {
    width: 100%;
  }

  .trust-strip {
    display: grid;
    grid-template-columns: 1fr;
  }

  .deadline-band {
    width: calc(100% - 28px);
    margin-top: 22px;
    align-items: stretch;
    flex-direction: column;
  }

  .deadline-band .button {
    width: 100%;
  }

  .risk-grid,
  .trust-grid,
  .process-grid,
  .keyword-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

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

  .form-step > .form-next {
    width: 100%;
    margin-left: 0;
  }

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

  .section {
    width: calc(100% - 28px);
    padding: 58px 0;
  }

  .report-section {
    width: 100%;
    padding-inline: 14px;
  }

  .mobile-sticky {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 30;
    min-height: 50px;
    display: grid;
    place-items: center;
    color: var(--navy);
    background: var(--gold);
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(16, 38, 58, 0.26);
    font-weight: 900;
    text-decoration: none;
  }
}
