:root {
  --bg: #eef3f6;
  --bg-soft: #f7fafc;
  --surface: #ffffff;
  --surface-2: #f3f7fa;
  --ink: #101828;
  --ink-soft: #263244;
  --muted: #667485;
  --line: #d8e2eb;
  --line-strong: #bdcbd8;
  --primary: #087f8f;
  --primary-dark: #075e69;
  --accent: #315f93;
  --accent-warm: #b66a2e;
  --success: #247a57;
  --danger: #b42318;
  --focus: rgba(8, 127, 143, 0.24);
  --shadow-strong: 0 28px 80px rgba(16, 24, 40, 0.16);
  --shadow-panel: 0 18px 48px rgba(16, 24, 40, 0.1);
  --shadow-soft: 0 10px 30px rgba(16, 24, 40, 0.07);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  background: linear-gradient(180deg, #fbfdff 0, #eef3f6 520px, #f8fafc 100%);
  overflow-x: hidden;
}

body,
button,
input,
textarea {
  letter-spacing: 0;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 0 28px;
  border-bottom: 1px solid rgba(216, 226, 235, 0.88);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 26px rgba(16, 24, 40, 0.05);
}

.site-header__inner {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  width: min(100%, 1220px);
  margin: 0 auto;
  padding: 10px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #152033;
  font-weight: 800;
}

.logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 32px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #102033, #0c5662);
  font-size: 12px;
}

.logo__text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.top-nav a:hover,
.site-footer a:hover {
  color: var(--primary-dark);
}

.header-cta,
.primary-button,
.secondary-button,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
  white-space: normal;
  transition:
    background-color 170ms ease,
    border-color 170ms ease,
    box-shadow 170ms ease,
    color 170ms ease,
    transform 170ms ease;
}

.header-cta,
.primary-button,
.submit-button {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 14px 30px rgba(8, 127, 143, 0.22);
}

.header-cta {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
  white-space: nowrap;
}

.primary-button {
  min-height: 50px;
  padding: 0 22px;
}

.secondary-button {
  min-height: 46px;
  padding: 0 18px;
  color: var(--primary-dark);
  border: 1px solid rgba(8, 127, 143, 0.28);
  background: #eef8fa;
}

.header-cta:hover,
.primary-button:hover,
.submit-button:hover {
  background: linear-gradient(135deg, #09788a, #064e5a);
  box-shadow: 0 18px 36px rgba(8, 127, 143, 0.28);
  transform: translateY(-2px);
}

.secondary-button:hover {
  border-color: rgba(8, 127, 143, 0.48);
  background: #e2f4f6;
  box-shadow: 0 12px 28px rgba(8, 127, 143, 0.12);
  transform: translateY(-1px);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.82;
  transform: none;
}

.hero {
  padding: 42px 28px 46px;
  background: linear-gradient(135deg, #fbfdff 0%, #f3f8fb 58%, #edf4f7 100%);
  border-bottom: 1px solid rgba(216, 226, 235, 0.7);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 580px) minmax(420px, 520px);
  gap: 48px;
  align-items: start;
  width: min(100%, 1220px);
  margin: 0 auto;
}

.hero__copy {
  padding-top: 16px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: #0d1728;
  font-size: 46px;
  line-height: 1.04;
  overflow-wrap: anywhere;
}

h2 {
  color: #111827;
  font-size: 32px;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

h3 {
  color: #142033;
  font-size: 18px;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.hero__lead {
  max-width: 700px;
  margin-bottom: 22px;
  color: var(--ink-soft);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.value-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.value-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  color: #284055;
  border: 1px solid rgba(49, 95, 147, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 750;
}

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

.request-form {
  position: relative;
  display: grid;
  gap: 15px;
  width: 100%;
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(216, 226, 235, 0.92);
  border-top: 4px solid var(--primary);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-panel);
}

.request-form.is-highlighted {
  box-shadow:
    0 0 0 5px var(--focus),
    var(--shadow-strong);
}

.form-heading {
  display: grid;
  gap: 2px;
}

.form-heading h2 {
  margin-bottom: 0;
  font-size: 26px;
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.field > span,
.fieldset legend,
.provider-search span {
  color: #263244;
  font-size: 14px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea,
.provider-search input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.field input,
.field select,
.provider-search input {
  min-height: 46px;
  padding: 0 13px;
}

.field select {
  appearance: none;
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--primary-dark) 50%),
    linear-gradient(135deg, var(--primary-dark) 50%, transparent 50%);
  background-position:
    calc(100% - 21px) 20px,
    calc(100% - 15px) 20px;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
}

.field select:invalid {
  color: #8793a3;
}

.field select option {
  color: var(--ink);
}

.field textarea {
  min-height: 132px;
  padding: 12px 13px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder,
.provider-search input::placeholder {
  color: #8793a3;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.provider-search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--focus);
  outline: 0;
}

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

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

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-choice {
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #364458;
  background: #fff;
  font-size: 13px;
  font-weight: 750;
  text-align: left;
}

.category-list--secondary .category-choice {
  color: #59687a;
  background: #f7fafc;
}

.category-choice.is-active {
  color: #fff;
  border-color: var(--primary-dark);
  background: var(--primary-dark);
}

.category-hint,
.form-note,
.form-trust,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.category-details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.category-details summary {
  padding: 10px 12px;
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.category-details .category-list {
  padding: 0 12px 12px;
}

.submit-button {
  min-height: 50px;
  width: 100%;
  padding: 0 18px;
}

.form-trust {
  color: var(--success);
  font-weight: 750;
}

.form-status[data-type="error"] {
  color: var(--danger);
}

.form-status[data-type="notice"] {
  color: var(--accent-warm);
}

.request-target-note {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(8, 127, 143, 0.24);
  border-radius: 8px;
  background: #eef8fa;
}

.request-target-note p {
  margin: 0;
  color: #284055;
  font-size: 13px;
}

.request-target-note__label {
  color: #4f6578;
  font-size: 12px;
  font-weight: 800;
}

.request-target-note__name {
  display: block;
  max-width: 100%;
  margin-top: -2px;
  color: #102033;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.request-target-note button {
  justify-self: start;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(8, 127, 143, 0.28);
  border-radius: 999px;
  color: var(--primary-dark);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

.request-target-note button:hover {
  border-color: rgba(8, 127, 143, 0.48);
  background: #f7feff;
}

.section {
  padding: 64px 28px;
}

.section__inner {
  width: min(100%, 1220px);
  margin: 0 auto;
}

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

.section-heading h2 {
  margin-bottom: 10px;
}

.section-heading p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.section-heading--wide {
  max-width: 920px;
}

.providers-section {
  position: relative;
  z-index: 2;
  padding: 64px 28px;
  background: linear-gradient(180deg, #f8fafc, #eef3f6);
}

.providers-section__inner {
  width: min(100%, 1220px);
  margin: 0 auto;
}

.providers-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

.providers-head h2 {
  margin-bottom: 10px;
}

.providers-head p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.providers-toolbar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.provider-search {
  position: relative;
  display: block;
  width: 100%;
}

.provider-search input {
  padding-right: 46px;
}

.provider-search-clear {
  position: absolute;
  top: 50%;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(102, 117, 138, 0.24);
  border-radius: 999px;
  color: #526278;
  background: #f4f7fa;
  transform: translateY(-50%);
}

.provider-search-clear::before,
.provider-search-clear::after,
.provider-filter-summary__close::before,
.provider-filter-summary__close::after {
  position: absolute;
  width: 10px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.provider-search-clear::before,
.provider-filter-summary__close::before {
  transform: rotate(45deg);
}

.provider-search-clear::after,
.provider-filter-summary__close::after {
  transform: rotate(-45deg);
}

.provider-search-clear:hover {
  color: var(--primary-dark);
  border-color: rgba(8, 127, 143, 0.24);
  background: #eef8fa;
}

.provider-filter-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.provider-filter-menu {
  position: relative;
}

.provider-filter-toggle,
.provider-filter-summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--primary-dark);
  background: #fff;
  font-size: 14px;
  font-weight: 800;
}

.provider-filter-toggle:hover,
.provider-filter-toggle.is-active,
.provider-filter-summary:hover {
  border-color: rgba(8, 127, 143, 0.4);
  background: #eef8fa;
}

.provider-filter-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.provider-filter-summary {
  color: #172033;
  border-color: rgba(8, 127, 143, 0.24);
  background: #eef8fa;
}

.provider-filter-summary__close {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: rgba(8, 127, 143, 0.1);
}

.provider-filter-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  width: min(520px, calc(100vw - 56px));
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-strong);
}

.provider-filter-panel p {
  margin-bottom: 10px;
  color: #263244;
  font-size: 14px;
  font-weight: 850;
}

.provider-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 2px;
}

.provider-filter-option {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #425065;
  background: #fff;
  font-size: 13px;
  font-weight: 750;
  text-align: left;
  transition:
    border-color 150ms ease,
    background-color 150ms ease,
    color 150ms ease,
    box-shadow 150ms ease;
}

.provider-filter-option:hover {
  color: var(--primary-dark);
  border-color: rgba(8, 127, 143, 0.36);
  background: #f1fafb;
}

.provider-filter-option.is-active {
  color: #fff;
  border-color: var(--primary-dark);
  background: var(--primary-dark);
}

.provider-filter-option.is-active:hover {
  color: #fff;
  border-color: #0a5f6a;
  background: #0a5f6a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.provider-filter-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.provider-filter-actions .primary-button,
.provider-filter-actions .secondary-button {
  min-height: 42px;
  padding: 0 14px;
}

.providers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.provider-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
}

.provider-filters {
  position: sticky;
  top: 84px;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.provider-filters summary {
  margin-bottom: 14px;
  color: #172033;
  font-size: 16px;
  font-weight: 850;
  cursor: pointer;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 0 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.filter-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.filter-group p {
  flex-basis: 100%;
  margin-bottom: 0;
  color: #263244;
  font-size: 14px;
  font-weight: 850;
}

.filter-chip {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #425065;
  background: #fff;
  font-size: 13px;
  font-weight: 750;
}

.filter-chip:hover,
.filter-chip.is-active {
  color: #fff;
  border-color: var(--primary-dark);
  background: var(--primary-dark);
}

.provider-results {
  min-width: 0;
  padding: 18px;
}

.provider-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.provider-card {
  display: grid;
  gap: 14px;
  min-height: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(16, 24, 40, 0.05);
}

.provider-card__header {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.provider-card__top {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.provider-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #1d344d, #0f6671);
  font-size: 13px;
  font-weight: 850;
}

.provider-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #1d344d, #0f6671);
  font-size: 13px;
  font-weight: 850;
}

.provider-card h3 {
  margin-bottom: 3px;
  overflow-wrap: anywhere;
}

.provider-card__top p,
.provider-card__header p,
.provider-description,
.provider-meta dd,
.provider-geo,
.provider-inline-cta p,
.provider-cta-card p,
.providers-empty p,
.no-results p {
  margin-bottom: 0;
  color: var(--muted);
}

.provider-card__top p,
.provider-card__header p {
  font-size: 13px;
  font-weight: 750;
}

.provider-description {
  color: var(--ink-soft);
  font-size: 15px;
}

.tag-row,
.provider-category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span,
.provider-category-chips span {
  padding: 5px 8px;
  border: 1px solid rgba(216, 226, 235, 0.9);
  border-radius: 999px;
  color: #425065;
  background: #f7fafc;
  font-size: 12px;
  font-weight: 750;
}

.provider-category-chips span {
  color: var(--primary-dark);
  border-color: rgba(8, 127, 143, 0.22);
  background: #eef8fa;
}

.provider-geo {
  font-size: 14px;
}

.provider-geo strong {
  color: #263244;
}

.provider-meta {
  display: grid;
  gap: 10px;
  margin: 0;
}

.provider-meta div {
  display: grid;
  gap: 3px;
}

.provider-meta dt {
  color: #263244;
  font-size: 13px;
  font-weight: 850;
}

.provider-meta dd {
  margin-left: 0;
  font-size: 14px;
}

.provider-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 2px;
}

.provider-request {
  min-height: 44px;
  padding: 0 16px;
  font-size: 14px;
}

.profile-link {
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.profile-link:not(.profile-link--unavailable):hover {
  color: var(--accent);
}

.profile-link--unavailable {
  color: var(--muted);
  cursor: default;
}

.provider-inline-cta,
.provider-cta-card,
.providers-empty,
.no-results {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(8, 127, 143, 0.2);
  border-radius: 8px;
  background: #eef8fa;
}

.provider-inline-cta {
  grid-column: 1 / -1;
}

.provider-cta-card {
  grid-column: span 3;
}

.providers-empty {
  margin-top: 16px;
  background: #fff;
}

.provider-inline-cta h3,
.provider-cta-card h3,
.providers-empty h3,
.no-results h3 {
  margin-bottom: 4px;
}

.no-results {
  margin-top: 16px;
  background: #fff;
}

.workflow {
  background: var(--surface);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #fff;
  background: var(--primary-dark);
  font-weight: 850;
}

.steps strong {
  color: #142033;
  font-size: 16px;
}

.steps p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.trust-section {
  background: #f8fafc;
}

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

.trust-list article {
  min-height: 120px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.trust-list h3 {
  margin-bottom: 0;
  font-size: 16px;
}

.faq-section {
  background: var(--surface);
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 920px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.faq-question {
  position: relative;
  width: 100%;
  min-height: 58px;
  padding: 16px 56px 16px 18px;
  border: 0;
  color: #172033;
  background: transparent;
  font-weight: 850;
  text-align: left;
}

.faq-question::after {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background:
    linear-gradient(var(--primary-dark), var(--primary-dark)) center / 2px 12px no-repeat,
    #f8fbfc;
  transform: translateY(-50%);
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    background-size 160ms ease;
  content: "";
}

.faq-question::before {
  position: absolute;
  top: 50%;
  right: 25px;
  z-index: 1;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary-dark);
  content: "";
  transform: translateY(-50%);
}

.faq-question:hover::after {
  border-color: rgba(8, 127, 143, 0.32);
  background-color: #eef8fa;
}

.faq-question[aria-expanded="true"]::after {
  background-image: none;
}

.faq-answer {
  max-height: 0;
  color: var(--muted);
  overflow: hidden;
  transition: max-height 230ms ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 18px 18px;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  width: min(calc(100% - 56px), 1220px);
  margin: 0 auto 64px;
  padding: 28px;
  border: 1px solid rgba(8, 127, 143, 0.22);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #162235, #0c5662);
  box-shadow: var(--shadow-panel);
}

.final-cta .eyebrow,
.final-cta h2,
.final-cta p {
  color: #fff;
}

.final-cta h2 {
  margin-bottom: 8px;
}

.final-cta p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.final-cta .primary-button {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 56px), 1220px);
  margin: 0 auto;
  padding: 24px 0 34px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.site-footer a {
  color: var(--primary-dark);
  font-weight: 800;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1160px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    max-width: 860px;
  }

  .hero__copy {
    padding-top: 0;
  }

  .provider-layout {
    grid-template-columns: 1fr;
  }

  .provider-filters {
    position: static;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .provider-list {
    grid-template-columns: 1fr;
  }

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

  .provider-cta-card {
    grid-column: span 2;
  }

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

@media (max-width: 820px) {
  html {
    scroll-padding-top: 72px;
  }

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

  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .top-nav {
    display: none;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
    max-width: 170px;
    white-space: normal;
  }

  .hero {
    padding: 30px 16px 34px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  h2 {
    font-size: 26px;
  }

  .hero__lead {
    font-size: 16px;
  }

  .hero__actions,
  .provider-actions,
  .provider-inline-cta,
  .provider-cta-card,
  .providers-empty,
  .no-results,
  .final-cta,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    display: grid;
  }

  .hero__inner,
  .hero__copy,
  .request-form {
    max-width: 100%;
    min-width: 0;
  }

.primary-button,
.secondary-button,
.submit-button,
.provider-request {
    width: 100%;
  }

  .request-form {
    padding: 18px;
  }

  .section {
    padding: 42px 16px;
  }

  .providers-section {
    padding: 42px 16px;
  }

  .providers-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
  }

  .providers-head .secondary-button {
    width: 100%;
  }

  .section-heading {
    margin-bottom: 20px;
  }

  .provider-toolbar {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 12px;
  }

  .providers-toolbar {
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 12px;
  }

  .provider-filter-panel {
    width: calc(100vw - 32px);
  }

  .provider-filter-actions {
    grid-template-columns: 1fr;
  }

  .provider-filters {
    padding: 14px;
  }

  .provider-results {
    padding: 14px;
  }

  .provider-card__top {
    grid-template-columns: 44px minmax(0, 1fr);
  }

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

  .provider-cta-card {
    grid-column: auto;
  }

  .profile-link {
    justify-self: center;
  }

  .steps,
  .trust-list {
    grid-template-columns: 1fr;
  }

  .final-cta {
    width: calc(100% - 32px);
    margin-bottom: 42px;
    padding: 22px;
  }

  .site-footer {
    width: calc(100% - 32px);
  }
}

@media (max-width: 480px) {
  .logo__text {
    display: none;
  }

  .header-cta {
    max-width: 158px;
    padding: 0 10px;
    font-size: 12px;
    white-space: normal;
  }

  h1 {
    max-width: 100%;
    font-size: 28px;
    word-break: break-word;
  }

  .value-chips {
    gap: 8px;
  }

  .value-chips span,
  .category-choice,
  .filter-chip {
    font-size: 12px;
  }

  .field input,
  .field select,
  .provider-search input,
  .field textarea {
    font-size: 16px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
