/* Tailored Pros — Health ACA v2. Combined from the v1 component stylesheets. */

/* ===== index.css ===== */

:root {
  --green-50: #eef9f2;
  --green-100: #d9f1e1;
  --green-200: #b3e3c4;
  --green-500: #22a35d;
  --green-600: #1c8c4e;
  --green-700: #146b3b;
  --dark: #0a2417;
  --dark-2: #071a11;
  --dark-3: #06140d;
  --ink: #10241a;
  --body: #5c6d65;
  --muted: #8b9a92;
  --border: #e7ede9;
  --bg-soft: #f6f9f7;
  --orange: #ee9a12;
  --yellow: #fce300;
  --star: #f7b737;
  --white: #ffffff;
  --teal: #3c7d90;
  --track: #dde3df;

  --shadow-sm: 0 4px 18px rgba(10, 36, 23, 0.07);
  --shadow-md: 0 22px 50px rgba(10, 36, 23, 0.14);
  --shadow-lg: 0 34px 80px rgba(10, 36, 23, 0.22);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --container: 1240px;
  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-500);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--green-500);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(34, 163, 93, 0.35);
}

.btn-primary:hover {
  background: var(--green-600);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn-white {
  background: var(--white);
  color: var(--green-700);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.btn-white:hover {
  background: var(--green-50);
}

section {
  position: relative;
}

/* The JS toggles panels/icons with the hidden attribute; keep it winning over
   component display rules (e.g. .field-error is display: flex). */
[hidden] {
  display: none !important;
}

/* ===== Header.css ===== */

.site-header {
  background: var(--white);
  border-bottom: 5px solid var(--yellow);
  box-shadow: 0 4px 20px rgba(10, 36, 23, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* In-page links to the lead form land below the sticky header. */
#lead-form {
  scroll-margin-top: 110px;
}

/* Embossed icon pattern behind the logo and menu, shared with the main site
   (templates/site/_header_pattern.html). It fills the padding box, so it stops at the yellow rule. */
.site-header-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.site-header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.15;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-transform: uppercase;
}

.logo-text span:last-child {
  color: var(--green-500);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.main-nav a:hover {
  color: var(--green-500);
}

.main-nav a.is-active {
  color: var(--green-500);
}

.phone-btn {
  padding: 12px 22px 12px 12px;
  font-size: 14.5px;
}

.phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.nav-phone-btn {
  display: none;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--ink);
}

@media (max-width: 960px) {
  .desktop-only {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: 89px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 16px 30px rgba(10, 36, 23, 0.12);
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 24px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    border-top: 1px solid var(--border);
  }

  .main-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
  }

  .nav-phone-btn {
    display: inline-flex;
  }

  .menu-toggle {
    display: flex;
  }
}

/* ===== Hero.css ===== */

.hero {
  position: relative;
  background: var(--dark);
  overflow: hidden;
  padding-top: 88px;
  padding-bottom: 150px;
}

/* Call pages (every hero but the lead form's) sit tighter under the header,
   at every screen size. */
.hero:not(.hero-lead) {
  padding-top: 20px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* Even overlay (not a left-to-right fade) so the centered headline and
     form read cleanly over any part of the photo. The photo itself is set per
     vertical in static/verticals/<slug>/theme.css (same gradient + url). */
  background-color: #06120c;
  background-image: linear-gradient(
    180deg,
    rgba(6, 18, 12, 0.82) 0%,
    rgba(6, 18, 12, 0.72) 50%,
    rgba(6, 18, 12, 0.88) 100%
  );
  background-size: cover;
  background-position: center 35%;
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-content {
  max-width: 860px;
}

.hero-eyebrow {
  color: var(--green-500);
}

.hero-title {
  margin-top: 16px;
  font-size: 68px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

/* Call pages: long headings shrink to stay within three lines. The classes, set in
   partials/hero.html, carry the length of the longest line and of the whole heading;
   0.58 is the font's average character width in em. */
.hero:not(.hero-lead) .hero-content {
  width: 100%;
  max-width: 960px;
  container-type: inline-size;
}

.fit-line-20 { --line: 20; }
.fit-line-22 { --line: 22; }
.fit-line-24 { --line: 24; }
.fit-line-26 { --line: 26; }
.fit-line-28 { --line: 28; }
.fit-line-30 { --line: 30; }
.fit-line-32 { --line: 32; }
.fit-line-34 { --line: 34; }
.fit-line-36 { --line: 36; }
.fit-line-38 { --line: 38; }
.fit-line-40 { --line: 40; }
.fit-len-30 { --len: 30; }
.fit-len-35 { --len: 35; }
.fit-len-40 { --len: 40; }
.fit-len-45 { --len: 45; }
.fit-len-50 { --len: 50; }
.fit-len-55 { --len: 55; }
.fit-len-60 { --len: 60; }
.fit-len-65 { --len: 65; }
.fit-len-70 { --len: 70; }
.fit-len-75 { --len: 75; }
.fit-len-80 { --len: 80; }

.hero:not(.hero-lead) .hero-title {
  font-size: min(68px, 100cqi / (var(--line) * 0.58));
}

@media (max-width: 960px) {
  .hero:not(.hero-lead) .hero-title {
    font-size: min(50px, 100cqi / (var(--line) * 0.58));
  }
}

/* Phones: the words reflow evenly over three lines (a third of the length each, with
   room for uneven words) instead of keeping the authored line breaks. */
@media (max-width: 560px) {
  .hero:not(.hero-lead) .hero-title {
    font-size: min(36px, 100cqi / (var(--len) / 3 * 1.12 * 0.58));
    text-wrap: balance;
  }

  .hero:not(.hero-lead) .hero-title br {
    display: none;
  }
}

.hero-title .text-green {
  color: var(--green-500);
}

.hero-desc {
  margin: 22px auto 0;
  max-width: 680px;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.hero-desc-strong {
  margin: 8px auto 0;
  max-width: 720px;
  font-size: 19px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.5;
}

@media (max-width: 960px) {
  .hero-title {
    font-size: 50px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 56px;
    padding-bottom: 190px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-desc,
  .hero-desc-strong {
    font-size: 16px;
  }
}

/* ===== InspectionForm.css ===== */

.hero-card {
  width: 100%;
  max-width: 660px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px 36px;
  box-shadow: var(--shadow-lg);
  margin-top: 40px;
  text-align: left;
}

.hero-card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
}

.hero-card-title .text-green {
  color: var(--green-500);
}

.hero-card-sub {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.hero-card-question {
  margin-top: 22px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

.hero-card-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.avatar-stack {
  display: flex;
  flex-shrink: 0;
}

.avatar-stack img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--white);
  object-fit: cover;
  margin-left: -10px;
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.hero-card-social p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.hero-card-social strong {
  color: var(--ink);
}

/* --- Funnel header --- */

.form-eyebrow {
  color: var(--teal);
  font-size: 12px;
}

.hero-card-title + .stepper-progress {
  margin-top: 20px;
}

.form-eyebrow + .hero-card-title {
  margin-top: 6px;
}

.stepper-progress {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.stepper-segment {
  flex: 1;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--track);
}

.stepper-segment.is-complete {
  background: var(--green-700);
}

.stepper-segment.is-active {
  background: var(--orange);
}

.stepper-label {
  margin-top: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Courier New', monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
}

/* --- Step transition --- */

.form-step {
  animation: step-in 0.32s ease;
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* --- Option cards (radio-style) --- */

.option-grid {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.option-grid.two-col {
  grid-template-columns: 1fr 1fr;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  font-size: 13.5px;
  text-align: left;
  transition: all 0.15s ease;
}

.option-card.is-selected {
  background: var(--green-50);
  border-color: var(--green-500);
}

.option-radio {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  flex-shrink: 0;
  transition: border-color 0.15s ease;
}

.option-card.is-selected .option-radio {
  border-color: var(--green-500);
}

.option-radio-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green-600);
  opacity: 0;
  transform: scale(0.4);
  transition: all 0.15s ease;
}

.option-card.is-selected .option-radio-dot {
  opacity: 1;
  transform: scale(1);
}

/* --- Select dropdown --- */

.select-wrap {
  position: relative;
  margin-top: 8px;
}

.select-wrap select {
  width: 100%;
  appearance: none;
  padding: 13px 40px 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.select-wrap select:invalid,
.select-wrap select option[value=''] {
  color: var(--muted);
}

.select-wrap select:focus {
  outline: none;
  border-color: var(--green-500);
}

.select-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

/* --- Labeled text fields --- */

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

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

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
}

.field-grid .field {
  margin-top: 0;
}

.field > span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.15s ease;
}

.field input:focus {
  outline: none;
  border-color: var(--green-500);
}

.field.has-error input,
.field.has-field-error input {
  border-color: #d92d20;
}

.step-error {
  margin: 12px 0 0;
  font-size: 13px;
}

.field.is-verified input {
  border-color: var(--green-500);
}

.field-error,
.field-ok,
.field-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 6px;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.4;
}

.field-error svg,
.field-ok svg,
.field-note svg {
  flex-shrink: 0;
}

.field-error {
  color: #d92d20;
}

.field-ok {
  color: var(--green-600);
}

.field-note {
  color: var(--muted);
}

.field-note-spin {
  animation: field-note-spin 0.7s linear infinite;
}

@keyframes field-note-spin {
  to {
    transform: rotate(360deg);
  }
}

.field-fix-btn {
  padding: 2px 8px;
  border: 1px solid currentColor;
  border-radius: var(--radius-pill);
  background: none;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  color: #d92d20;
  line-height: 1.2;
}

.field-fix-btn:hover {
  background: #fdecea;
}

/* --- Consent + nav --- */

.consent-text {
  display: block;
  margin-top: 18px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}

/* TCPA consent checkbox (required) on the lead form's last step. */
.consent-field {
  margin-top: 18px;
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.consent-check input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--green-600);
  cursor: pointer;
}

.consent-check .consent-text {
  margin-top: 0;
}

.consent-field.has-field-error .consent-check input {
  outline: 2px solid #d92d20;
  outline-offset: 2px;
}

.consent-field .field-error {
  margin: 6px 0 0 28px;
}

.consent-text a {
  color: var(--green-600);
  text-decoration: underline;
}

.step-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
}

.step-back-btn {
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
}

.step-back-btn:hover:not(:disabled) {
  background: var(--bg-soft);
}

.step-back-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.step-continue-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--green-700);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}

.step-continue-btn:hover:not(:disabled) {
  background: var(--dark);
}

.step-continue-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* --- Success state --- */

.form-success {
  text-align: center;
  padding: 6px 0 4px;
  animation: step-in 0.35s ease;
}

.form-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-500);
  margin-bottom: 16px;
}

.form-success-desc {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.form-success-desc strong {
  color: var(--ink);
}

.form-restart {
  margin-top: 22px;
  width: 100%;
  background: var(--bg-soft);
  color: var(--ink);
  border: 1.5px solid var(--border);
}

.form-restart:hover {
  background: var(--border);
}

/* --- Error state --- */

.form-error-icon {
  background: #fdecea;
  color: #d92d20;
}

.form-retry {
  margin-top: 22px;
  width: 100%;
}

.form-error .form-restart {
  margin-top: 10px;
}

@media (max-width: 420px) {
  .option-grid.two-col,
  .field-grid.two-col {
    grid-template-columns: 1fr;
  }
}

/* --- Step 1: ZIP --- */

.zip-step {
  text-align: center;
}

.zip-step .hero-card-title {
  font-size: 26px;
}

.zip-step .field {
  margin-top: 22px;
}

.zip-step .field-error {
  justify-content: center;
}

.zip-step .zip-input svg {
  left: 18px;
}

.zip-step .field .zip-input input {
  padding: 18px 18px 18px 48px;
  font-size: 18px;
  border-width: 2px;
  border-color: var(--green-500);
  border-radius: var(--radius-md);
  text-align: left;
  background: var(--green-50);
  box-shadow: 0 0 0 4px rgba(34, 163, 93, 0.12);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.zip-step .field .zip-input input:hover {
  box-shadow: 0 0 0 5px rgba(34, 163, 93, 0.18);
}

.zip-step .field .zip-input input:focus {
  background: var(--white);
  box-shadow: 0 0 0 6px rgba(34, 163, 93, 0.25);
}

.zip-step .field.has-error .zip-input input {
  border-color: #d92d20;
  box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.12);
}

.zip-step .step-full-btn {
  margin-top: 14px;
  padding: 18px 24px;
  font-size: 17px;
  font-weight: 700;
  border-radius: var(--radius-md);
}

/* "By clicking ..., I agree to the Terms and Privacy Policy." under the ZIP button */
.zip-disclosure {
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.5;
  text-align: center;
  color: var(--muted);
}

.zip-disclosure a {
  color: var(--green-600);
  text-decoration: underline;
}

.zip-perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-top: 20px;
}

.zip-perks li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--body);
}

.zip-perks svg {
  color: var(--green-500);
  flex-shrink: 0;
}

.hero-card-sub + .stepper-progress {
  margin-top: 20px;
}

.zip-input {
  position: relative;
  display: block;
}

.zip-input svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--green-500);
  pointer-events: none;
}

.field .zip-input input {
  padding: 15px 16px 15px 42px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.field .zip-input input::placeholder {
  font-weight: 500;
  letter-spacing: normal;
  color: var(--muted);
}

.step-full-btn {
  width: 100%;
  justify-content: center;
  margin-top: 18px;
  padding: 15px 24px;
  font-size: 15px;
  background: var(--green-500);
  box-shadow: 0 14px 30px rgba(34, 163, 93, 0.3);
}

.step-full-btn:hover:not(:disabled) {
  background: var(--green-600);
}

/* --- Step 3: finding matches --- */

.matching {
  text-align: center;
  padding: 18px 0 4px;
  animation: step-in 0.35s ease;
}

.matching-ring {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-500);
}

.matching-ring-spin {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 3px solid var(--green-100);
  border-top-color: var(--green-500);
  animation: field-note-spin 0.9s linear infinite;
}

.matching-bar {
  height: 6px;
  margin-top: 22px;
  border-radius: var(--radius-pill);
  background: var(--track);
  overflow: hidden;
}

.matching-bar span {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: var(--green-500);
  transform-origin: left;
  animation: matching-fill linear forwards;
}

@keyframes matching-fill {
  from {
    transform: scaleX(0.04);
  }
  to {
    transform: scaleX(1);
  }
}

.matching-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  text-align: left;
}

.matching-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

.matching-list li.is-active,
.matching-list li.is-done {
  color: var(--ink);
}

.matching-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  color: var(--green-600);
  transition: all 0.2s ease;
}

.matching-list li.is-done .matching-check {
  border-color: var(--green-500);
  background: var(--green-500);
  color: var(--white);
}

.matching-list li.is-active .matching-check {
  border-color: var(--green-200);
}

/* --- Step 4: call now --- */

.call-now {
  padding-top: 18px;
}

.call-now-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  margin-top: 22px;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  background: var(--green-500);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(34, 163, 93, 0.35);
  animation: call-pulse 2s ease-out infinite;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.call-now-btn:hover {
  background: var(--green-600);
  transform: translateY(-2px);
}

@keyframes call-pulse {
  0% {
    box-shadow: 0 14px 30px rgba(34, 163, 93, 0.35), 0 0 0 0 rgba(34, 163, 93, 0.45);
  }
  70% {
    box-shadow: 0 14px 30px rgba(34, 163, 93, 0.35), 0 0 0 14px rgba(34, 163, 93, 0);
  }
  100% {
    box-shadow: 0 14px 30px rgba(34, 163, 93, 0.35), 0 0 0 0 rgba(34, 163, 93, 0);
  }
}

.call-now-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.call-now-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.call-now-text small {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 3px;
}

.call-now-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--muted);
}

.call-now-recording {
  margin-top: 6px;
  font-size: 11.5px;
  line-height: 1.4;
  text-align: center;
  color: var(--muted);
}

.call-now-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 3px var(--green-100);
}

@media (prefers-reduced-motion: reduce) {
  .call-now-btn,
  .matching-ring-spin {
    animation: none;
  }
}

@media (max-width: 560px) {
  .hero-card {
    padding: 26px 20px;
    margin-top: 30px;
  }

  .zip-step .hero-card-title {
    font-size: 22px;
  }
}

/* ===== TrustBar.css ===== */

.trust-bar-wrap {
  position: relative;
  z-index: 2;
  margin-top: -100px;
}

.trust-bar {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 34px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.local-eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
}

.local-name {
  margin-top: 6px;
  font-size: 28px;
}

.reviews-block {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.reviews-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
}

.reviews-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 6px;
  color: var(--star);
}

.reviews-score {
  margin-left: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}

.reviews-count {
  font-size: 13px;
  color: var(--muted);
}

.reviews-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.reviews-cta:hover {
  background: var(--bg-soft);
  border-color: var(--muted);
}

.local-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 17px;
  padding: 16px 20px 16px 28px;
  border-radius: var(--radius-pill);
  box-shadow: 0 14px 28px rgba(238, 154, 18, 0.35);
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.local-phone:hover {
  background: #d98a0f;
  transform: translateY(-2px);
}

.local-phone-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

@media (max-width: 960px) {
  .trust-bar-wrap {
    margin-top: -70px;
  }

  .trust-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }

  .reviews-block {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .reviews-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .local-phone {
    width: 100%;
    justify-content: space-between;
  }
}

/* ===== WhyChooseUs.css ===== */

.why-us {
  padding: 110px 0;
  background: var(--white);
  /* the graphic's tape overhangs its panel; clip it here, not at the page edge */
  overflow: hidden;
}

.why-us-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.why-us-title {
  margin-top: 16px;
  font-size: 38px;
}

.why-us-underline {
  display: block;
  width: 56px;
  height: 5px;
  border-radius: 4px;
  background: var(--yellow);
  margin-top: 22px;
}

.why-us-desc {
  margin-top: 22px;
  font-size: 16px;
  max-width: 460px;
  line-height: 1.75;
}

/* rows between hairlines, like the main site's About points */
.why-us-list {
  margin-top: 30px;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.why-us-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15.5px;
  color: var(--ink);
  font-weight: 600;
}

/* tape-style tick marks as the marker (matches the main site) */
.check-badge {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  background:
    linear-gradient(var(--green-500), var(--green-500)) 0 0 / 2px 16px no-repeat,
    linear-gradient(var(--green-500), var(--green-500)) 6px 0 / 2px 8px no-repeat,
    linear-gradient(var(--green-500), var(--green-500)) 12px 0 / 2px 11px no-repeat;
}

.check-badge svg {
  display: none;
}

/* inset stitching on the photo, same as the main site's photos */
.why-us-media {
  position: relative;
}

.why-us-media::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 2px dashed rgba(255, 255, 255, 0.75);
  border-radius: calc(var(--radius-lg) - 10px);
  pointer-events: none;
}

.why-us-media img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3.15;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* drawn graphic (why_us.graphic) for verticals without a photo: the main site's
   About graphic. Same 4:3.15 shape as the photos; the SVG viewBox matches it. */
/* not overflow: hidden, so the tape can overhang the panel (the section clips it) */
.why-graphic {
  aspect-ratio: 4 / 3.15;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background:
    radial-gradient(circle at 50% 46%, rgba(34, 163, 93, 0.45), transparent 55%),
    radial-gradient(ellipse at 100% 0%, rgba(34, 163, 93, 0.3), transparent 50%),
    var(--dark);
  --emboss-size: 480px;
}

.why-graphic-stitches {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.why-graphic-stitches path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 2;
  stroke-dasharray: 7 7;
  stroke-linecap: round;
  /* the SVG stretches with the panel (taller on phones); keep the stitches even */
  vector-effect: non-scaling-stroke;
}

.why-graphic-node,
.why-graphic-center {
  position: absolute;
  z-index: 1;
  transform: translate(-50%, -50%);
}

.why-graphic-node {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 10px;
  background: var(--white);
  color: var(--green-500);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.why-graphic-node > span {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.why-graphic-node.pos-1 { left: 22%; top: 20%; }
.why-graphic-node.pos-2 { left: 78%; top: 22%; }
.why-graphic-node.pos-3 { left: 22%; top: 62%; }
.why-graphic-node.pos-4 { left: 78%; top: 60%; }

.why-graphic-center {
  left: 50%;
  top: 46%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.why-graphic-center .dot {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--green-500);
  color: var(--white);
  box-shadow: 0 0 0 10px rgba(34, 163, 93, 0.25);
}

/* yellow tailor's tape, as on the home page: it overhangs both sides of the panel
   (long tick per number, half and eighth ticks between) and slides in once when
   it scrolls into view (landing.js adds .is-pending, then removes it) */
.why-graphic-tape {
  --unit: 48px;
  position: absolute;
  z-index: 1;
  left: -8%;
  right: -8%;
  bottom: 12%;
  height: 46px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 6px;
  overflow: hidden;
  background:
    linear-gradient(to right, var(--dark) 1.5px, transparent 1.5px) 0 0 / var(--unit) 15px repeat-x,
    linear-gradient(
        to right,
        transparent calc(50% - 0.5px),
        var(--dark) calc(50% - 0.5px),
        var(--dark) calc(50% + 0.5px),
        transparent calc(50% + 0.5px)
      )
      0 0 / var(--unit) 10px repeat-x,
    linear-gradient(to right, rgba(10, 36, 23, 0.5) 1px, transparent 1px) 0 0 / calc(var(--unit) / 8) 5px repeat-x,
    var(--yellow);
  box-shadow: 0 10px 24px rgba(10, 36, 23, 0.3);
  transform: rotate(-7deg);
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s, opacity 0.6s ease 0.2s;
}

.why-graphic-tape.is-pending {
  opacity: 0;
  transform: translateX(-24%) rotate(-7deg);
}

@media (prefers-reduced-motion: reduce) {
  .why-graphic-tape {
    transition: none;
  }
}

.why-graphic-tape span {
  flex: 0 0 var(--unit);
  padding-left: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--dark);
}

/* phones: a taller panel so the four cards and the centre label don't crowd */
@media (max-width: 480px) {
  .why-graphic {
    aspect-ratio: 4 / 4.6;
  }

  /* long labels ("Supplement plans") wrap instead of running past the panel edge */
  .why-graphic-node {
    gap: 6px;
    max-width: 42%;
    padding: 7px 9px;
    white-space: normal;
  }

  .why-graphic-node svg {
    flex-shrink: 0;
  }

  .why-graphic-node > span {
    font-size: 11.5px;
    line-height: 1.2;
  }

  .why-graphic-center {
    font-size: 12.5px;
    white-space: nowrap;
  }

  /* bottom cards sit a little lower so the centre label has room */
  .why-graphic-node.pos-3 { top: 68%; }
  .why-graphic-node.pos-4 { top: 66%; }

  /* a slimmer tape, lower, so it stays clear of those cards */
  .why-graphic-tape {
    --unit: 40px;
    bottom: 6%;
    height: 38px;
  }

  .why-graphic-center .dot {
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 900px) {
  .why-us-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .why-us-media {
    order: -1;
  }
}

@media (max-width: 560px) {
  .why-us {
    padding: 72px 0;
  }

  .why-us-title {
    font-size: 30px;
  }
}

/* ===== HowItWorks.css ===== */
/* Dark band; tape-yellow numbered markers joined by a stitched thread (the main site's
   "How it works"). The steps-N class on .steps sets --steps, the step count. */

.how-it-works {
  padding: 100px 0;
  color: rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(ellipse at 90% 0%, rgba(34, 163, 93, 0.35), transparent 55%),
    var(--dark);
}

.how-it-works-head h2 {
  margin-top: 14px;
  font-size: 38px;
  color: var(--white);
}

.steps {
  --gap: 40px;
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr));
  gap: var(--gap);
  margin-top: 56px;
}

.steps-2 { --steps: 2; }
.steps-3 { --steps: 3; }
.steps-4 { --steps: 4; }
.steps-5 { --steps: 5; }
.steps-6 { --steps: 6; }

/* first marker's centre to the last's */
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 28px;
  right: calc((100% - (var(--steps, 4) - 1) * var(--gap)) / var(--steps, 4) - 28px);
  border-top: 2px dashed rgba(255, 255, 255, 0.4);
}

.step {
  position: relative;
}

.step-num {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--dark);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 0 0 8px var(--dark);
}

.step-title {
  margin-top: 24px;
  font-size: 20px;
  color: var(--white);
}

.step-desc {
  margin-top: 8px;
  max-width: 280px;
  font-size: 15px;
  line-height: 1.65;
}

/* stacked steps; the thread runs down the left */
@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .steps::before {
    bottom: 28px;
    left: 27px;
    right: auto;
    border-top: none;
    border-left: 2px dashed rgba(255, 255, 255, 0.4);
  }

  .step {
    padding-left: 80px;
  }

  .step-num {
    position: absolute;
    left: 0;
    top: 0;
  }

  .step-title {
    margin-top: 12px;
  }
}

@media (max-width: 560px) {
  .how-it-works {
    padding: 72px 0;
  }

  .how-it-works-head h2 {
    font-size: 30px;
  }
}

/* ===== Testimonials.css ===== */

.testimonials {
  padding: 90px 0 110px;
  background: var(--white);
}

.testimonials-title {
  text-align: center;
  font-size: 32px;
}

.testimonials-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}

.review-stars {
  display: flex;
  gap: 3px;
  color: var(--star);
}

.review-quote {
  margin-top: 16px;
  font-size: 14.5px;
  color: var(--body);
  line-height: 1.65;
  min-height: 95px;
}

.review-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.review-person img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.review-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}

.review-location {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

@media (max-width: 960px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .testimonials {
    padding: 64px 0 72px;
  }

  .testimonials-title {
    font-size: 26px;
  }

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

  .review-quote {
    min-height: 0;
  }
}

/* ===== CTA.css ===== */
/* Green card with inset stitching (the main site's closing band). */

.cta {
  padding: 88px 0;
  background: var(--white);
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px 40px;
  flex-wrap: wrap;
  padding: 60px 64px;
  border-radius: var(--radius-md);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(255, 255, 255, 0.18), transparent 55%),
    var(--green-500);
}

.cta-inner::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 2px dashed rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  pointer-events: none;
}

.cta-copy {
  max-width: 580px;
}

.cta-title {
  color: var(--white);
  font-size: 34px;
  line-height: 1.15;
}

.cta-desc {
  margin-top: 12px;
  max-width: 480px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.65;
}

.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px 28px;
  flex-wrap: wrap;
}

.cta .btn-white:hover {
  background: var(--dark);
  color: var(--white);
}

.cta-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 17px;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.cta-phone:hover {
  color: var(--yellow);
}

@media (max-width: 560px) {
  .cta {
    padding: 56px 0;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 44px 30px;
  }

  .cta-title {
    font-size: 26px;
  }
}

/* ===== Footer.css ===== */

.site-footer {
  background: var(--dark-3);
  padding-top: 48px;
}

/* the header is white (dark wordmark); on the dark footer the wordmark stays white */
.site-footer .logo-text {
  color: var(--white);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 40px;
}

.footer-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14.5px;
  transition: color 0.15s ease;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
}

.footer-phone .phone-icon {
  background: rgba(255, 255, 255, 0.12);
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-legal a {
  color: var(--green-500);
}

/* Optional regulatory disclaimer (content.footer_disclaimer), e.g. the CMS TPMO notice on Medicare. */
.footer-disclaimer {
  margin: 0;
  padding: 0 0 24px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 700px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== EmbossIcons.css ===== */

/* Add to any dark green panel; it paints over the panel's background and under its content.
   --emboss-size sets the icon scale (a tile holds 16 icons). */
.emboss-icons {
  position: relative;
  isolation: isolate;
}

.emboss-icons::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: url(../emboss-icons.svg) center / var(--emboss-size, 800px);
  pointer-events: none;
}

@media (max-width: 640px) {
  .emboss-icons::before {
    background-size: min(var(--emboss-size, 800px), 560px);
  }
}

/* ===== PageHeader.css ===== */

.page-header {
  background:
    radial-gradient(circle at 85% 0%, rgba(34, 163, 93, 0.22), transparent 55%),
    var(--dark);
  padding: 72px 0 92px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header-inner {
  position: relative;
}

.page-header-eyebrow {
  display: block;
}

.page-header-title {
  margin-top: 16px;
  color: var(--white);
  font-size: 44px;
}

/* left-aligned variant: the lead sites' Services, Our Process, FAQ and Contact pages */
.page-header-left {
  text-align: left;
}

.page-header-left .page-header-title,
.page-header-left .page-header-subtitle {
  max-width: 560px;
  margin-left: 0;
}

.page-header-left .page-header-title::after {
  margin-left: 0;
}

/* short tape-yellow rule under the title (matches the Why section's underline) */
.page-header-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 5px;
  margin: 20px auto 0;
  border-radius: 4px;
  background: var(--yellow);
}

.page-header-subtitle {
  margin: 16px auto 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .page-header {
    padding: 56px 0 68px;
  }

  .page-header-title {
    font-size: 32px;
  }
}

/* ===== Legal.css ===== */

.legal-section {
  padding: 80px 0 110px;
  background: var(--white);
}

.legal-content {
  max-width: 720px;
}

.legal-content h2 {
  font-size: 20px;
  margin-top: 40px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.8;
}

.legal-content a {
  color: var(--green-600);
  text-decoration: underline;
}

@media (max-width: 600px) {
  .legal-section {
    padding: 56px 0 72px;
  }
}

/* ===== NotFound.css ===== */

.not-found {
  padding: 140px 0;
  background: var(--white);
}

.not-found-inner {
  text-align: center;
}

.not-found-inner h1 {
  margin-top: 12px;
  font-size: 36px;
}

.not-found-desc {
  margin: 16px auto 32px;
  max-width: 380px;
  font-size: 15.5px;
}

/* ===== Split hero (hero.layout: split) =====
   The home-services sites' hero: headline + buttons on the left, the form card
   in a 380px column on the right (claude/<vertical>/src/components/Hero.css).
   Overrides the centered hero above. The photo + its left-to-right fade are
   set per vertical in static/verticals/<slug>/theme.css. */

.hero-split {
  padding-top: 96px;
}

.hero-split .hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
  text-align: left;
}

.hero-split .hero-content {
  padding-top: 24px;
  max-width: 620px;
}

.hero-split .hero-title {
  margin-top: 20px;
  font-size: 54px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.hero-split .hero-desc {
  margin: 22px 0 0;
  max-width: 480px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.hero-split .hero-card {
  max-width: none;
  margin-top: 16px;
  padding: 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .hero-split .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-split .hero-card {
    max-width: 400px;
  }

  .hero-split .hero-title {
    font-size: 42px;
  }
}

@media (max-width: 560px) {
  .hero-split .hero-title {
    font-size: 34px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-split .hero-card {
    padding: 24px;
  }
}

/* Call pages (/lp/call/...), either layout: the form card gets a green glow ring and
   a tape-yellow "Start here" tab, so it's the first thing the eye lands on. */
.hero:not(.hero-lead) .hero-card {
  position: relative;
  padding-top: 40px;
  box-shadow:
    0 0 0 8px rgba(34, 163, 93, 0.22),
    var(--shadow-lg);
}

.hero:not(.hero-lead) .hero-card::before {
  content: 'Start here';
  position: absolute;
  top: -15px;
  left: 30px;
  padding: 6px 14px;
  border-radius: 6px;
  background: var(--yellow);
  color: var(--dark);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

/* the hero paragraph, moved to the bottom of the call card (partials/card_note.html) */
.hero-card-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.hero-card-note p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--body);
}

.hero-card-note .hero-card-note-strong {
  margin-top: 6px;
  font-weight: 700;
  color: var(--ink);
}

/* Lead-form pages (?lead): the form card is 100px wider than on call pages. */
.hero-lead .hero-card {
  max-width: 760px;
}

@media (min-width: 961px) {
  .hero-split.hero-lead .hero-inner {
    grid-template-columns: 1fr 480px;
  }
}

.hero-split.hero-lead .hero-card {
  max-width: none;
}

/* Narrow desktops: the wider card leaves less room for the headline. */
@media (min-width: 961px) and (max-width: 1140px) {
  .hero-split.hero-lead .hero-title {
    font-size: 44px;
  }
}

@media (max-width: 960px) {
  .hero-split.hero-lead .hero-card {
    max-width: 500px;
  }
}

/* ===== Services.css (site pages: templates/pages/) ===== */

.services-section {
  padding: 90px 0 110px;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-50);
  border: 1.5px solid var(--green-200);
  color: var(--green-500);
}

.service-title {
  margin-top: 20px;
  font-size: 19px;
}

.service-desc {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.65;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--green-600);
}

.service-link:hover {
  color: var(--green-700);
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-section {
    padding: 64px 0 72px;
  }

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

/* ===== Process.css (site pages: templates/pages/) ===== */

.expect-section {
  padding: 90px 0;
  background: var(--bg-soft);
}

/* left, to line up with the left-aligned page header above it */
.expect-head {
  text-align: left;
}

.expect-head h2 {
  margin-top: 14px;
  font-size: 32px;
}

.expect-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.expect-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
}

.expect-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-500);
}

.expect-card h3 {
  margin-top: 18px;
  font-size: 16.5px;
}

.expect-card p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
}

.guarantee-section {
  padding: 90px 0;
  background: var(--white);
}

.guarantee-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.guarantee-inner h2 {
  margin-top: 14px;
  font-size: 32px;
  max-width: 460px;
}

.guarantee-desc {
  margin-top: 18px;
  max-width: 460px;
  font-size: 15.5px;
  line-height: 1.75;
}

.guarantee-stat {
  flex-shrink: 0;
  text-align: center;
  background: var(--green-50);
  border: 1.5px solid var(--green-200);
  border-radius: var(--radius-lg);
  padding: 36px 44px;
}

.guarantee-stat span {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 48px;
  color: var(--green-600);
}

.guarantee-stat p {
  margin-top: 10px;
  max-width: 180px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

@media (max-width: 900px) {
  .expect-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .expect-section,
  .guarantee-section {
    padding: 64px 0;
  }

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

  .guarantee-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== WhyUs.css (site pages: templates/pages/) ===== */

.stats-section {
  background: var(--white);
  padding: 64px 0 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-value {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 36px;
  color: var(--green-600);
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}

.badges-section {
  background: var(--bg-soft);
  padding: 70px 0;
}

.badges-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--green-200);
  color: var(--green-500);
  flex-shrink: 0;
}

.badge-text {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 32px;
  }

  .badges-grid {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .stats-section {
    padding: 56px 0 12px;
  }

  .badges-section {
    padding: 48px 0;
  }

  .badges-grid {
    flex-direction: column;
  }
}

/* ===== Faq.css (site pages: templates/pages/) ===== */

.faq-section {
  padding: 90px 0 110px;
  background: var(--white);
}

/* questions as cards; the open one in green (the main site's FAQ look) */
/* full container width so the list starts at the same left edge as the left-aligned
   page header; each question card is capped at a readable width */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  width: 100%;
  max-width: 820px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: var(--green-200);
}

.faq-item.is-open {
  border-color: var(--green-500);
  background: var(--bg-soft);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16.5px;
  color: var(--ink);
}

.faq-question:focus-visible {
  outline: 2px solid var(--green-500);
  outline-offset: 2px;
}

.faq-toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-600);
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.faq-item.is-open .faq-toggle-icon {
  background: var(--green-500);
  color: var(--white);
}

.faq-answer {
  padding: 0 22px 22px;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--body);
}

@media (max-width: 600px) {
  .faq-section {
    padding: 64px 0 72px;
  }

  .faq-question {
    font-size: 15px;
  }
}

/* ===== Contact.css (site pages: templates/pages/) ===== */
/* The form card overlaps the header on the right; the header copy is left-aligned
   so it never runs under the card. */

/* alignment comes from .page-header-left (PageHeader.css); this only adds room
   under the copy for the overlapping form card */
.page-header-split {
  padding-bottom: 132px;
}

.contact-section {
  padding: 0 0 110px;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 64px;
  align-items: start;
}

/* not sticky: the later form steps are taller than a laptop screen, and a pinned
   card would hide its own submit button */
.contact-form-wrap {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 2;
  margin-top: -220px;
}

.contact-form-wrap .hero-card {
  margin-top: 0;
  /* the home-services card size (the shared .hero-card is the wider insurance one) */
  max-width: none;
  padding: 32px;
}

.contact-info {
  grid-column: 1;
  grid-row: 1;
  padding-top: 64px;
}

.contact-heading {
  font-size: 26px;
  color: var(--ink);
}

/* what happens next: yellow markers on a stitched thread, like How It Works */
.contact-steps {
  position: relative;
  list-style: none;
  margin-top: 28px;
  max-width: 560px;
}

.contact-steps::before {
  content: '';
  position: absolute;
  top: 20px;
  bottom: 40px;
  left: 19px;
  border-left: 2px dashed var(--green-200);
}

.contact-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  padding-bottom: 24px;
}

.contact-step-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--dark);
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 0 0 6px var(--white);
}

.contact-steps h3 {
  margin-top: 7px;
  font-size: 17px;
  color: var(--ink);
}

.contact-steps p {
  margin-top: 4px;
  font-size: 14.5px;
  line-height: 1.6;
}

/* "prefer to talk?" card with inset stitching */
.contact-card {
  position: relative;
  max-width: 560px;
  margin-top: 16px;
  padding: 30px 32px;
  border-radius: var(--radius-md);
  background: var(--green-50);
}

.contact-card::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 2px dashed var(--green-200);
  border-radius: 14px;
  pointer-events: none;
}

.contact-card-title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}

.contact-detail {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 20px;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--green-200);
  color: var(--green-500);
  flex-shrink: 0;
}

.contact-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.contact-value {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

/* the phone number is the second way in, so it reads big */
.contact-value-link {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 24px;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 4px;
  text-underline-offset: 7px;
}

.contact-value-link:hover {
  color: var(--green-600);
}

@media (max-width: 960px) {
  .page-header-split {
    padding-bottom: 120px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form-wrap,
  .contact-info {
    grid-column: auto;
    grid-row: auto;
  }

  .contact-form-wrap {
    max-width: 520px;
    margin-top: -80px;
  }

  .contact-info {
    padding-top: 56px;
  }
}

@media (max-width: 600px) {
  .contact-section {
    padding-bottom: 72px;
  }

  .contact-form-wrap {
    max-width: none;
    margin-top: -64px;
  }

  .contact-form-wrap .hero-card {
    padding: 26px 22px;
  }

  .contact-card {
    padding: 26px 24px;
  }

  .contact-value-link {
    font-size: 21px;
  }
}
