:root {
  --background: #fbf8f2;
  --surface: #ffffff;
  --surface-strong: #f1ece3;
  --foreground: #172523;
  --muted: #5b6966;
  --line: #ded6ca;
  --teal: #0d5b61;
  --teal-dark: #073d42;
  --coral: #e86f61;
  --gold: #c99a4a;
  --shadow: 0 22px 70px rgba(23, 37, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}

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

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.topbar {
  align-items: center;
  background: rgba(251, 248, 242, 0.94);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto;
  left: 0;
  padding: 18px clamp(20px, 4vw, 56px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand,
.nav-links,
.hero-actions,
.proof-band {
  align-items: center;
  display: flex;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  align-items: center;
  background: var(--teal);
  color: white;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.nav-links {
  color: var(--muted);
  gap: 24px;
  font-size: 0.94rem;
}

.nav-links a:hover,
.footer a:hover,
.care-section a:hover,
.test-card a:hover {
  color: var(--teal);
}

.hero,
.directory-hero {
  display: grid;
  gap: clamp(32px, 5vw, 68px);
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  min-height: calc(100vh - 72px);
  padding: clamp(52px, 8vw, 110px) clamp(20px, 5vw, 72px) 36px;
}

.directory-hero {
  min-height: 72vh;
}

.directory-hero img,
.hero-visual img {
  display: block;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  width: 100%;
}

.directory-hero img,
.hero-visual {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy,
.directory-hero > div {
  align-self: center;
  max-width: 680px;
}

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

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

h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.94;
  margin-bottom: 28px;
  max-width: 820px;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1;
  margin-bottom: 22px;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.hero-lede,
.section-copy p,
.test-card p,
.step-card p,
.care-section p,
.footer p {
  color: var(--muted);
  line-height: 1.58;
}

.hero-lede {
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
  margin-bottom: 28px;
  max-width: 670px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.primary-action,
.secondary-action,
.care-section a,
.test-card a {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
}

.primary-action {
  background: var(--coral);
  color: #230f0c;
}

.secondary-action,
.care-section a,
.test-card a {
  background: white;
  border: 1px solid var(--line);
}

.trust-note {
  border-left: 4px solid var(--gold);
  color: var(--muted);
  line-height: 1.55;
  max-width: 580px;
  padding-left: 16px;
}

.hero-visual {
  align-self: center;
  min-height: 420px;
  overflow: hidden;
  position: relative;
}

.availability-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  bottom: 20px;
  display: grid;
  gap: 6px;
  left: 20px;
  max-width: min(420px, calc(100% - 40px));
  padding: 18px;
  position: absolute;
}

.availability-card span {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.availability-card strong {
  font-size: 1.2rem;
  line-height: 1.28;
}

.proof-band {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.proof-item {
  background: var(--surface);
  border-right: 1px solid var(--line);
  min-height: 154px;
  padding: clamp(24px, 4vw, 42px);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  margin-bottom: 10px;
}

.proof-item span {
  color: var(--muted);
  line-height: 1.5;
}

.directory-section,
.how-section,
.care-section,
.request-section,
.response-page {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

.request-section {
  align-items: start;
  background: var(--surface-strong);
  display: grid;
  gap: clamp(32px, 6vw, 80px);
  grid-template-columns: minmax(0, 0.72fr) minmax(520px, 1.28fr);
}

.request-intro {
  max-width: 600px;
  position: sticky;
  top: 120px;
}

.request-intro > p {
  color: var(--muted);
  line-height: 1.6;
}

.privacy-note {
  border-left: 4px solid var(--teal);
  display: grid;
  gap: 8px;
  margin-top: 30px;
  padding: 4px 0 4px 18px;
}

.privacy-note span,
.field-help,
.form-note,
.optional {
  color: var(--muted);
}

.request-form {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 44px);
}

.request-form fieldset {
  border: 0;
  margin: 0 0 36px;
  padding: 0;
}

.request-form legend {
  border-bottom: 1px solid var(--line);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 24px;
  padding-bottom: 12px;
  width: 100%;
}

.request-form label:not(.check-row) {
  display: grid;
  font-size: 0.94rem;
  font-weight: 700;
  gap: 9px;
  margin-bottom: 20px;
}

.request-form input,
.request-form select {
  background: #fff;
  border: 1px solid #aaa49a;
  border-radius: 0;
  color: var(--foreground);
  font: inherit;
  min-height: 50px;
  padding: 11px 12px;
  width: 100%;
}

.request-form input:focus,
.request-form select:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(13, 91, 97, 0.18);
}

.field-grid {
  display: grid;
  gap: 16px;
}

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

.address-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(120px, 0.7fr) minmax(120px, 0.7fr);
}

.field-help,
.optional {
  font-size: 0.8rem;
  font-weight: 400;
}

.consent-group {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 16px;
  padding-top: 24px;
}

.check-row {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: 20px 1fr;
  line-height: 1.5;
}

.check-row input {
  margin-top: 3px;
  min-height: 18px;
  width: 18px;
}

.submit-button {
  background: var(--coral);
  border: 0;
  color: #230f0c;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  margin-top: 28px;
  min-height: 54px;
  padding: 14px 24px;
}

.submit-button:hover {
  background: #dd6255;
}

.form-note {
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 18px 0 0;
}

.honeypot {
  left: -10000px;
  position: absolute;
}

.response-page {
  margin: 0 auto;
  max-width: 920px;
  min-height: 68vh;
}

.response-page h1 {
  font-size: clamp(2.7rem, 6vw, 5.4rem);
}

.response-page > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
  max-width: 700px;
}

.response-page .primary-action {
  margin-top: 16px;
}

.section-copy {
  max-width: 760px;
}

.centered {
  margin: 0 auto 36px;
  text-align: center;
}

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

.test-card,
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  min-height: 260px;
  padding: clamp(24px, 3vw, 34px);
}

.test-card {
  display: flex;
  flex-direction: column;
}

.test-card h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.5rem);
}

.test-card a {
  margin-top: auto;
  width: fit-content;
}

.step-card span {
  color: var(--coral);
  display: block;
  font-weight: 800;
  margin-bottom: 28px;
}

.care-section {
  align-items: start;
  background: var(--teal-dark);
  color: white;
  display: grid;
  gap: 32px;
  grid-template-columns: 0.8fr 1fr auto;
}

.care-section .eyebrow,
.care-section p {
  color: rgba(255, 255, 255, 0.78);
}

.care-section a {
  align-self: start;
  color: var(--foreground);
}

.footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 72px);
}

.footer p {
  margin-bottom: 0;
}

.not-found {
  min-height: 60vh;
}

.not-found ul {
  line-height: 2;
  padding-left: 20px;
}

@media (max-width: 980px) {
  .hero,
  .directory-hero,
  .care-section,
  .request-section {
    grid-template-columns: 1fr;
  }

  .request-intro {
    position: static;
  }

  .test-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .proof-band {
    grid-template-columns: 1fr;
  }

  .proof-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .topbar {
    grid-template-columns: 1fr;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 16px;
  }

  h1 {
    font-size: 3rem;
  }

  .directory-hero img,
  .hero-visual img,
  .hero-visual {
    min-height: 300px;
  }

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

  .two-columns,
  .address-grid {
    grid-template-columns: 1fr;
  }
}
