/* ==== /for-disability-services/ — shared styles for the hub + all 10 sub-pages ==== */

/* Hero product-photo card */
.hero__media--card {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.hero__media--card img { width: 100%; height: auto; display: block; }
.hero__media--card figcaption {
  font-family: 'Fraunces', serif;
  font-size: 0.95rem;
  color: var(--teal-900);
  text-align: center;
  padding: 12px 14px 14px;
}

/* Breadcrumb strip */
.breadcrumbs {
  padding: 14px 0 0;
  font-size: 0.88rem;
  color: var(--ink-3);
}
.breadcrumbs a { color: var(--ink-3); }
.breadcrumbs a:hover { color: var(--teal-700); }
.breadcrumbs span[aria-current] { color: var(--teal-900); font-weight: 600; }

/* Section intro shared blocks */
.section-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}
.section-intro .rule {
  display: block;
  width: 40px;
  height: 3px;
  background: var(--coral);
  border-radius: 2px;
  margin: 0 auto 16px;
}

/* ==== Category grid (used on hub) ==== */
.categories { padding: 72px 0; background: var(--paper); }
.categories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.1s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.cat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: var(--teal-200);
  text-decoration: none;
}
.cat-card__tag {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal-700);
}
.cat-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  margin: 0 0 4px;
  color: var(--teal-900);
}
.cat-card p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }
.cat-card__meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 0.88rem;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.cat-card__meta strong { color: var(--teal-900); font-weight: 600; }
.cat-card__cta {
  color: var(--coral);
  font-weight: 600;
  font-size: 0.95rem;
}
@media (max-width: 980px) { .categories__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .categories__grid { grid-template-columns: 1fr; } }

/* ==== Use-case list (sub-pages: "who transfers", "when") ==== */
.usecase { padding: 72px 0; background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.usecase__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}
.usecase__col h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--teal-900);
}
.usecase__col ul { list-style: none; padding: 0; margin: 0; }
.usecase__col li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1rem;
}
.usecase__col li:last-child { border-bottom: 0; }
.usecase__col li strong { color: var(--teal-900); font-weight: 600; }
@media (max-width: 780px) { .usecase__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ==== Benefits grid ==== */
.benefits { padding: 80px 0; background: var(--paper); }
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.benefit {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-1);
}
.benefit h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.benefit__lede { font-weight: 600; color: var(--teal-900); margin-bottom: 6px; }
.benefit p { margin: 0 0 8px; color: var(--ink-2); font-size: 0.98rem; }
.benefit p:last-child { margin-bottom: 0; }
@media (max-width: 780px) { .benefits__grid { grid-template-columns: 1fr; } }

/* ==== Comparison table (AEO-optimized: clean, extractable) ==== */
.compare { padding: 72px 0; background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.compare__wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  border: 1px solid var(--line);
  overflow: hidden;
}
.compare table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.98rem;
  table-layout: fixed;
}
.compare thead th {
  background: var(--teal-900);
  color: var(--white);
  text-align: left;
  padding: 16px 18px;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  border-bottom: 2px solid var(--teal-700);
}
.compare thead th.col-vest {
  background: var(--teal-700);
  color: var(--white);
}
.compare tbody th {
  text-align: left;
  padding: 14px 18px;
  color: var(--teal-900);
  font-weight: 600;
  background: var(--paper-2);
  width: 28%;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.compare tbody td {
  padding: 14px 18px;
  vertical-align: top;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: var(--white);
}
.compare tbody td:last-child { border-right: 0; }
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody td.col-vest {
  background: var(--teal-50);
  color: var(--teal-900);
  font-weight: 500;
}
@media (max-width: 780px) {
  .compare { padding: 40px 0; }
  .compare__wrap { border-radius: var(--radius); }
  .compare table { font-size: 0.86rem; }
  .compare thead th, .compare tbody th, .compare tbody td { padding: 10px 12px; }
  .compare tbody th { width: 40%; }
}

/* ==== FAQ (AEO gold — FAQPage schema drives this markup) ==== */
.faq { padding: 80px 0; background: var(--paper); }
.faq__list { max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-1);
}
.faq summary {
  cursor: pointer;
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  color: var(--teal-900);
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 0;
  font-size: 1.4rem;
  color: var(--coral);
  transition: transform 0.15s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details[open] { border-color: var(--teal-200); }
.faq__answer { margin-top: 12px; color: var(--ink-2); }
.faq__answer p { margin: 0 0 8px; }
.faq__answer p:last-child { margin-bottom: 0; }

/* ==== Trust / founder callout ==== */
.founders { padding: 72px 0; background: var(--teal-900); color: var(--white); }
.founders .wrap { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center; }
.founders img { border-radius: var(--radius-lg); box-shadow: var(--shadow-2); }
.founders h2 { color: var(--white); }
.founders p { color: rgba(255,255,255,0.9); }
.founders__creds {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.founders__creds span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.9rem;
}
@media (max-width: 780px) { .founders .wrap { grid-template-columns: 1fr; gap: 24px; } }

/* ==== Included / trust bar ==== */
.trust { padding: 40px 0; background: var(--paper-2); }
.trust__row { display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; }
.trust__item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.trust__item strong { color: var(--teal-900); font-family: 'Fraunces', serif; font-size: 1.05rem; }
.trust__item span { color: var(--ink-3); font-size: 0.86rem; }
.trust__note { font-size: 0.84rem; color: var(--ink-3); text-align: center; margin-top: 18px; }

/* ==== Request / form (reuses styles.css .form) ==== */
.request {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  border-top: 1px solid var(--line);
}
.request__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.request__copy p { color: var(--ink-2); }
.request__direct {
  background: var(--white);
  border-left: 3px solid var(--coral);
  padding: 14px 18px;
  border-radius: 8px;
  margin-top: 14px;
  font-size: 0.98rem;
}
@media (max-width: 900px) { .request__row { grid-template-columns: 1fr; gap: 32px; } }

/* ==== Hero pills ==== */
.hero__pills {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero__pills li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.9rem;
  color: var(--teal-900);
  font-weight: 500;
}

/* ==== Sub-page hero row ==== */
.hero { padding: 60px 0 40px; background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.hero__row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.lede { font-size: 1.12rem; color: var(--ink-2); max-width: 620px; }
@media (max-width: 900px) { .hero__row { grid-template-columns: 1fr; } }

/* ==== Related-settings section (renamed .also) ==== */
.also { padding: 72px 0; background: var(--paper-2); border-top: 1px solid var(--line); }
.also .section-intro { margin-bottom: 32px; }
.also h2 { font-size: clamp(1.4rem, 1.4vw + 1rem, 1.8rem); text-align: center; margin: 0; }
.also__intro { text-align: center; color: var(--ink-3); max-width: 640px; margin: 8px auto 0; font-size: 0.98rem; }
.also__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1000px;
  margin: 0 auto;
}
.also__list a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.98rem;
  color: var(--teal-900);
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.08s ease;
}
.also__list a::after {
  content: "→";
  margin-left: auto;
  color: var(--coral);
  font-weight: 600;
  transition: transform 0.15s ease;
}
.also__list a:hover {
  border-color: var(--teal-200);
  background: var(--teal-50);
  text-decoration: none;
  transform: translateY(-1px);
}
.also__list a:hover::after { transform: translateX(2px); }
.also__all {
  display: block;
  text-align: center;
  margin: 24px auto 0;
  font-weight: 600;
  color: var(--teal-700);
  font-size: 0.98rem;
}
.also__all:hover { color: var(--coral); text-decoration: none; }
@media (max-width: 780px) { .also__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .also__list { grid-template-columns: 1fr; } }

/* ==== Services reference (Alvin's 10-category clinical list) ==== */
.services-reference { padding: 72px 0; background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services-reference__list {
  list-style: none;
  counter-reset: svcref;
  padding: 0;
  margin: 32px 0 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 32px;
}
.services-reference__list li {
  counter-increment: svcref;
  position: relative;
  padding: 18px 20px 18px 56px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}
.services-reference__list li::before {
  content: counter(svcref);
  position: absolute;
  left: 18px;
  top: 18px;
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--teal-700);
  line-height: 1;
}
.services-reference__list h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  margin: 0 0 6px;
  color: var(--teal-900);
}
.services-reference__list p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.additional-markets { margin: 32px 0 24px; padding: 24px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.additional-markets h3 { font-family: 'Fraunces', serif; margin: 0 0 12px; color: var(--teal-900); font-size: 1.1rem; }
.additional-markets ul { margin: 0; padding-left: 20px; color: var(--ink-2); }
.additional-markets li { margin-bottom: 6px; font-size: 0.98rem; }
.services-reference__note {
  background: #fff8ec;
  border: 1px solid #f0d9a8;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}
.services-reference__note strong { color: var(--teal-900); }
@media (max-width: 780px) { .services-reference__list { grid-template-columns: 1fr; } }
