:root {
  --navy: #1e3a5f;
  --ink: #102235;
  --steel: #5f6f7f;
  --warm-gray: #8b7e74;
  --warm-gray-soft: #eee9e4;
  --orange: #e67e22;
  --copper: #98571f;
  --green: #26735d;
  --paper: #fbfaf7;
  --line: #d8dedb;
  --white: #ffffff;
  --shadow: 0 16px 34px rgba(15, 35, 51, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  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;
  font-size: 16px;
  line-height: 1.58;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 247, 0.96);
  border-bottom: 1px solid rgba(16, 34, 53, 0.12);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  display: block;
  width: 248px;
  max-width: min(46vw, 280px);
  height: auto;
}

.links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  color: #33465a;
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 7px;
  font-weight: 850;
  white-space: nowrap;
}

.nav-cta {
  color: var(--white);
  background: var(--navy);
}

.button.primary {
  color: #17120d;
  background: var(--orange);
}

.button.secondary {
  color: var(--navy);
  border: 1px solid rgba(30, 58, 95, 0.25);
  background: var(--white);
}

.page-hero {
  padding: 92px 0 68px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 34, 53, 0.95), rgba(30, 58, 95, 0.9)),
    var(--hero-image, url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1800&q=82"));
  background-size: cover;
  background-position: center;
}

.page-hero-inner,
.section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  color: #ffe3c8;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section-kicker {
  color: var(--copper);
}

h1 {
  max-width: 900px;
  margin: 12px 0 0;
  font-size: clamp(2.8rem, 6.8vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.24rem);
}

.owner-quote {
  max-width: 760px;
  margin: 30px 0 0;
  padding: 18px 22px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.15rem;
  font-weight: 780;
}

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

.owner-voices {
  padding-bottom: 42px;
}

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

.quote-grid blockquote {
  margin: 0;
  min-height: 150px;
  padding: 22px;
  color: #24384b;
  background: var(--warm-gray-soft);
  border: 1px solid rgba(16, 34, 53, 0.12);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 820;
  line-height: 1.28;
}

.warning-panel,
.deliverables-panel {
  border-top: 4px solid var(--orange);
}

.warning-panel h2,
.deliverables-panel h2 {
  font-size: 1.45rem;
  line-height: 1.14;
}

section {
  padding: 76px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 36px;
  align-items: start;
}

.copy-block h2,
.panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.05;
}

.copy-block p {
  margin: 18px 0 0;
  color: var(--steel);
  font-size: 1.04rem;
}

.panel,
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(15, 35, 51, 0.07);
}

.panel {
  padding: 26px;
}

.panel ul,
.card ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--steel);
}

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

.band {
  background: #eef2ef;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.card {
  padding: 22px;
}

.card h3 {
  margin: 0;
  color: var(--orange);
  font-size: 1.08rem;
  line-height: 1.22;
}

.card p {
  margin: 10px 0 0;
  color: var(--steel);
}

.symptom-grid .card {
  min-height: 190px;
}

.diagnostic-section {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 34, 53, 0.98), rgba(30, 58, 95, 0.92)),
    url("https://images.unsplash.com/photo-1565008447742-97f6f38c985c?auto=format&fit=crop&w=1800&q=82");
  background-size: cover;
  background-position: center;
}

.diagnostic-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  gap: 36px;
  align-items: end;
}

.diagnostic-intro h2,
.page-contact-band h2 {
  color: var(--white);
}

.diagnostic-intro p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.diagnostic-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.diagnostic-card {
  min-height: 190px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.diagnostic-card h3 {
  margin: 0;
  color: #ffe3c8;
  font-size: 1.1rem;
  line-height: 1.2;
}

.diagnostic-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.field-section {
  background: #eef2ef;
  color: var(--ink);
}

.field-callout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 40px;
  align-items: center;
}

.field-callout p {
  margin: 0;
  color: var(--steel);
  font-size: 1.12rem;
  font-weight: 620;
  padding: 22px 24px;
  background: var(--white);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 10px 28px rgba(15, 35, 51, 0.07);
}

.first-step-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 36px;
  align-items: start;
}

.first-step-grid .button {
  margin-top: 24px;
}

.detail-faq {
  background: var(--paper);
}

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

details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(15, 35, 51, 0.05);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--orange);
  font-weight: 850;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--steel);
}

.faq-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--copper);
  font-weight: 850;
}

.related-section {
  background: #eef2ef;
}

.related-card {
  display: block;
  min-height: 190px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(239, 125, 34, 0.42);
  box-shadow: var(--shadow);
}

.related-card strong {
  display: block;
  color: var(--orange);
  font-size: 1.15rem;
  line-height: 1.22;
}

.related-card p {
  margin: 12px 0 0;
  color: var(--steel);
}

.related-card span {
  display: inline-block;
  margin-top: 18px;
  color: var(--copper);
  font-weight: 850;
}

.final-contact {
  background: #102235;
}

.page-contact-band {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  color: var(--white);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: 42px;
  align-items: start;
}

.page-contact-band p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
  max-width: 720px;
}

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

.contact-prompts li {
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  font-weight: 720;
}

.contact-panel {
  padding: 32px;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

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

.contact-form p {
  margin: 0;
}

.contact-field {
  display: grid;
  gap: 7px;
}

.contact-field label,
.encharge-form-group > label,
.consent-row label {
  color: var(--white);
  font-weight: 780;
}

.encharge-form-group label p,
.encharge-form-top-text p,
.encharge-form-submit-button p {
  margin: 0;
}

.required {
  color: #ff4a3d;
}

.contact-panel input,
.contact-panel textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(16, 34, 53, 0.34);
  border-radius: 7px;
  font: inherit;
}

.contact-panel textarea {
  min-height: 104px;
  resize: vertical;
}

.contact-panel input::placeholder,
.contact-panel textarea::placeholder {
  color: var(--warm-gray);
}

.spam-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.secure-note {
  color: var(--white);
  font-weight: 760;
}

.consent-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
}

.consent-row input {
  width: 22px;
  min-height: 22px;
  height: 22px;
  margin: 3px 0 0;
  padding: 0;
  accent-color: var(--orange);
}

.contact-submit {
  width: min(100%, 320px);
  margin: 2px auto 0;
  border: 0;
  cursor: pointer;
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  min-height: 20px;
  margin: -4px 0 0;
  color: #ffe3c8;
  font-size: 0.92rem;
  font-weight: 760;
}

.cta-band {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 42px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(30, 58, 95, 0.97), rgba(38, 115, 93, 0.86)),
    url("https://images.unsplash.com/photo-1565008447742-97f6f38c985c?auto=format&fit=crop&w=1600&q=82");
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.cta-band h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.cta-band p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.note-card {
  display: block;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.note-card strong {
  display: block;
  color: var(--orange);
  font-size: 1.15rem;
  line-height: 1.22;
}

.note-card span {
  display: block;
  margin-top: 8px;
  color: var(--steel);
}

footer {
  padding: 42px 0 34px;
  background: #102235;
  color: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  gap: 28px;
  font-size: 0.92rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.footer-logo {
  display: block;
  width: 220px;
  max-width: 60vw;
  height: auto;
  background: var(--white);
  border-radius: 6px;
}

.footer-summary {
  text-align: right;
}

.footer-summary strong,
.footer-summary span {
  display: block;
}

.footer-summary span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.footer-legal {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
}

.footer-legal-label {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 760;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 24px;
}

.legal-nav a {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 720;
}

@media (max-width: 980px) {
  .links {
    display: none;
  }

  .content-grid,
  .quote-grid,
  .card-grid,
  .diagnostic-intro,
  .diagnostic-grid,
  .field-callout,
  .first-step-grid,
  .related-grid,
  .notes-grid,
  .cta-band,
  .page-contact-band {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .topbar {
    position: static;
  }

  .nav,
  .page-hero-inner,
  .section-inner,
  .cta-band,
  .page-contact-band,
  .footer-inner {
    width: min(100% - 28px, var(--max));
  }

  .brand-logo {
    width: 220px;
    max-width: 68vw;
  }

  .page-hero {
    padding: 58px 0 50px;
  }

  h1 {
    font-size: clamp(2.48rem, 12vw, 4rem);
  }

  section {
    padding: 58px 0;
  }

  .cta-band {
    padding: 30px 22px;
  }

  .button {
    width: 100%;
  }

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

  .quote-grid blockquote {
    min-height: auto;
  }

  .contact-panel {
    padding: 26px 20px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .footer-top,
  .footer-legal {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-summary {
    text-align: left;
  }

  .legal-nav {
    justify-content: flex-start;
    gap: 10px 16px;
  }
}
