/* Shared additions for the practitioner landing pages (/clinic-and-home/, /orthotics/) and /book/.
   Loaded after /care/care.css, which supplies the tokens, hero, steps and closing band. */

.lp-page .care-hero h1 { font-size: 62px; }
.lp-hero-centered .care-hero-inner { min-height: 0; padding-block: 140px 40px; justify-content: center; text-align: center; }
.lp-hero-centered .care-hero-copy { width: 100%; max-width: 860px; }
.lp-hero-centered .care-hero-subtitle { max-width: 720px; margin-inline: auto; }
.lp-hero-centered .care-actions { justify-content: center; }

/* Photo hero (orthotics): a framed photo on the right, copy kept clear of it */
.lp-hero-photo .care-hero-copy { width: 44%; }
.lp-hero-photo .care-hero-image { width: 48%; right: max(40px, calc((100% - 1240px) / 2 + 40px)); top: 112px; height: calc(100% - 160px); object-fit: cover; border-radius: 24px; }

/* Two doors: in the clinic / at home */
.lp-doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding-bottom: 88px; }
.lp-door { position: relative; display: block; border-radius: 24px; overflow: hidden; background: #eef1f7; color: var(--navy); text-decoration: none; }
.lp-door img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.lp-door:hover img { transform: scale(1.02); }
.lp-door-body { padding: 24px 28px 28px; background: #fff; border: 1px solid var(--border); border-top: 0; border-radius: 0 0 24px 24px; }
.lp-door-tag { display: inline-block; font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--lilac-deep); margin-bottom: 8px; }
.lp-door h2 { font-size: 26px !important; line-height: 1.25; margin-bottom: 8px; }
.lp-door p { color: var(--muted); font-size: 16px; }
.lp-door-link { display: inline-flex; gap: 10px; margin-top: 14px; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--border); }

/* Core sentence as a four-step flow */
.lp-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin-top: 40px; }
.lp-flow li { padding: 22px 22px 24px; background: #fff; border: 1px solid var(--border); border-radius: 18px; }
.lp-flow b { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 500; margin-bottom: 6px; }
.lp-flow span { color: var(--muted); font-size: 15px; line-height: 1.5; display: block; }
.lp-flow small { display: block; color: var(--lilac-deep); font-size: 13px; font-weight: 600; margin-bottom: 10px; }

/* Chips for use cases and programs */
.lp-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-top: 28px; }
.lp-chips li { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--border); color: var(--navy); font-size: 15px; font-weight: 500; }
.lp-chips-label { margin-top: 36px; font-size: 13px; font-weight: 600; text-transform: uppercase; color: var(--muted); }
.lp-chips-label + .lp-chips { margin-top: 12px; }

/* Product cards */
.lp-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.lp-product { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; background: #fff; }
.lp-product-media { aspect-ratio: 4 / 3; overflow: hidden; background: #f3f5fa; }
.lp-product-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-product-media--contain img { object-fit: contain; padding: 12px; }
.lp-product-body { padding: 22px 24px 26px; }
.lp-product h3 { font-size: 22px; margin-bottom: 4px; }
.lp-product-kind { color: var(--lilac-deep); font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.lp-product p:not(.lp-product-kind) { color: var(--muted); font-size: 15px; line-height: 1.55; }

/* Notes, status and cards */
.lp-note { margin-top: 32px; padding: 18px 22px; border-radius: 14px; background: #f8f9fc; border: 1px solid var(--border); color: var(--muted); font-size: 15px; line-height: 1.55; }
.lp-note strong { color: var(--navy); }
.lp-status { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: #f3effd; color: var(--lilac-deep); font-size: 14px; font-weight: 600; margin-bottom: 22px; }
.lp-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--lilac-deep); }
.lp-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; list-style: none; margin-top: 40px; }
.lp-card { padding: 26px 28px; border: 1px solid var(--border); border-radius: 18px; background: #fff; }
.lp-card h3 { font-size: 20px; margin-bottom: 8px; }
.lp-card p { color: var(--muted); font-size: 16px; }
.lp-card-tag { display: inline-block; margin-bottom: 12px; font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--muted); }
.lp-card-tag--live { color: #0f7a55; }
.lp-step-media--ui { background: #0e1a3a; }
.lp-step-media--ui img { object-fit: contain; }

/* Closing band buttons */
.lp-button-light { background: #fff; color: var(--navy); }
.lp-button-light:hover { background: #e8ecf7; }
.care-closing .care-actions { justify-content: center; }
.care-closing .care-text-link { color: #fff; text-decoration-color: rgba(255,255,255,.4); }
.lp-fine { margin-top: 28px; color: #d0d9eb; font-size: 12px; line-height: 1.6; max-width: 760px; margin-inline: auto; }

/* /book/ */
.bk-cases { list-style: none; display: grid; gap: 14px; }
.bk-cases li { padding: 18px 20px; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.bk-case-tag { font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--lilac-deep); margin-bottom: 4px; }
.bk-cases h3 { font-size: 18px !important; margin-bottom: 10px; }
.bk-case-steps { display: flex; flex-wrap: wrap; gap: 6px 4px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.bk-case-steps span { display: inline-flex; align-items: center; gap: 4px; }
.bk-case-steps span + span::before { content: '→'; color: var(--lilac-deep); margin-right: 4px; }
.bk-case-note { margin-top: 10px; font-size: 13px; color: var(--muted); }
.bk-main { padding-top: 120px; }
.bk-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: start; padding-bottom: 88px; }
.bk-copy h1 { font-size: 54px; font-weight: 500; line-height: 1.12; margin-bottom: 18px; }
.bk-copy h1 em { color: var(--lilac-deep); }
.bk-facts { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-top: 22px; }
.bk-facts li { padding: 8px 14px; border-radius: 999px; background: var(--blue-5); font-size: 14px; font-weight: 600; }
.bk-copy h2 { font-size: 22px !important; margin: 36px 0 14px; }
.bk-list { list-style: none; display: grid; gap: 14px; }
.bk-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; font-size: 16px; color: var(--muted); }
.bk-list li b { color: var(--navy); display: block; }
.bk-list li::before { content: '✓'; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #f3effd; color: var(--lilac-deep); font-size: 14px; font-weight: 700; }
.bk-who { color: var(--muted); font-size: 16px; }
.bk-embed { position: sticky; top: 96px; border: 1px solid var(--border); border-radius: 22px; background: #fff; overflow: hidden; }
.bk-embed-head { padding: 18px 20px 14px; border-bottom: 1px solid var(--border); }
.bk-embed-head p { font-size: 14px; color: var(--muted); margin-top: 8px; }
.bk-switch { display: inline-flex; padding: 4px; border-radius: 999px; background: #f3f5fa; gap: 4px; }
.bk-switch button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font: 600 14px/1.2 var(--font-body); color: var(--muted); cursor: pointer; min-height: 40px; }
.bk-switch button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.bk-frame { display: block; width: 100%; height: 860px; border: 0; background: #fff; }
.bk-fallback { padding: 12px 20px 16px; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }
.bk-fallback a { color: var(--navy); font-weight: 600; }
.bk-faq { border-top: 1px solid var(--border); margin-top: 36px; }
.bk-faq details { border-bottom: 1px solid var(--border); padding: 16px 0; }
.bk-faq summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; min-height: 28px; }
.bk-faq summary::after { content: '+'; color: var(--lilac-deep); font-size: 20px; line-height: 1; }
.bk-faq details[open] summary::after { content: '–'; }
.bk-faq details p { margin-top: 10px; color: var(--muted); font-size: 15px; }

@media (max-width: 1024px) {
  .lp-page .care-hero h1 { font-size: 50px; }
  .lp-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bk-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .bk-embed { position: static; }
  .bk-copy h1 { font-size: 46px; }
}

@media (max-width: 700px) {
  .lp-page .care-hero h1 { font-size: 40px; }
  .lp-hero-photo .care-hero-copy { width: 100%; }
  .lp-hero-photo .care-hero-image { width: calc(100% - 48px); margin-inline: 24px; right: auto; top: auto; height: 260px; }
  .lp-hero-centered .care-hero-inner { padding-block: 110px 24px; }
  .lp-doors, .lp-flow, .lp-products, .lp-cards { grid-template-columns: minmax(0, 1fr); }
  .lp-doors { padding-bottom: 52px; gap: 20px; }
  .lp-door h2 { font-size: 22px !important; }
  .bk-main { padding-top: 96px; }
  .bk-copy h1 { font-size: 38px; }
  .bk-frame { height: 1040px; }
  .bk-switch button { padding-inline: 12px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-door img { transition: none; }
  .lp-door:hover img { transform: none; }
}
