/* Self-Pay & Cash Visits: styles are scoped to the new page. */
.self-pay-page { --sp-header-height: 180px; --sp-teal: #0b5558; --sp-navy: #12304a; --sp-mint: #e8f4ef; --sp-gold: #c5a46d; --sp-text: #263a42; color: var(--sp-text); background: #faf9f6; }
.self-pay-page .main { padding-top: var(--sp-header-height); }
.self-pay-page .sp-section { padding: 52px 0; }
.self-pay-page .sp-container { width: min(100%, 1200px); padding-inline: 20px; margin-inline: auto; }
.self-pay-page .sp-eyebrow { display: inline-block; color: #3f7165; font-size: .71rem; font-weight: 700; letter-spacing: .13em; }
.self-pay-page :is(h1, h2, h3, h4) { color: var(--sp-navy); }
.self-pay-page h1 { margin: 12px 0 18px; font-size: clamp(2rem, 3.1vw, 2.65rem); line-height: 1.17; letter-spacing: -.025em; }
.self-pay-page h2 { margin: 10px 0 12px; font-size: clamp(1.6rem, 2.5vw, 2rem); line-height: 1.25; }
.self-pay-page p { line-height: 1.7; }
.self-pay-page a:focus-visible, .self-pay-page summary:focus-visible { outline: 3px solid #94713d; outline-offset: 4px; }
.self-pay-page .sp-hero { background: radial-gradient(ellipse at top right, #e7f2e9, transparent 60%), #faf9f6; }
.self-pay-page .sp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.self-pay-page .sp-lead { max-width: 590px; margin: 0 0 22px; color: #42575d; font-size: 1rem; }
.self-pay-page .sp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.self-pay-page .sp-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 11px 18px; border: 1px solid var(--sp-teal); border-radius: 999px; background: var(--sp-teal); color: #fff; font-size: .85rem; font-weight: 600; text-align: center; line-height: 1.5; transition: background-color 280ms ease, border-color 280ms ease, color 280ms ease; }
.self-pay-page .sp-button:hover { color: #fff; border-color: #247469; background: #247469; }
.self-pay-page .sp-button-outline { background: transparent; color: var(--sp-teal); border-color: #9bbcb1; }
.self-pay-page .sp-button-outline:hover { background: #e4f0e9; border-color: #4c8673; color: var(--sp-teal); }
.self-pay-page .sp-primary-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 10px; color: #2b685c; font-size: .84rem; font-weight: 600; }
.self-pay-page .sp-hero-photo { position: relative; margin: 0; min-width: 0; overflow: hidden; border: 1px solid #dce7df; border-radius: 18px; background: #edf2eb; box-shadow: 0 12px 32px rgba(18, 48, 74, .09); }
.self-pay-page .sp-hero-photo img { display: block; width: 100%; height: auto; max-height: 390px; aspect-ratio: 4 / 3; object-fit: cover; object-position: center top; }
.self-pay-page .sp-hero-photo figcaption { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #f1f7f0; color: #3b6559; font-size: .78rem; }
.self-pay-page .sp-section-heading { max-width: 780px; margin: 0 auto 26px; text-align: center; }
.self-pay-page .sp-section-heading p { margin: 0; color: #4e6365; font-size: .97rem; }
.self-pay-page .sp-visits { background: #fff; }
.self-pay-page .sp-visit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 940px; margin-inline: auto; }
.self-pay-page .sp-visit-card { --sp-card-accent: var(--sp-teal); display: flex; flex-direction: column; align-items: flex-start; position: relative; padding: 26px; border: 1px solid #dce5df; border-top: 3px solid var(--sp-card-accent); border-radius: 18px; background: #fcfdfa; box-shadow: 0 6px 22px rgba(18, 48, 74, .04); }
.self-pay-page .sp-first-visit { --sp-card-accent: var(--sp-gold); background: #fdfbf6; }
.self-pay-page .sp-card-icon { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border: 1px solid color-mix(in srgb, var(--sp-card-accent, var(--sp-teal)), transparent 75%); border-radius: 12px; background: #f1f5ed; color: var(--sp-card-accent, var(--sp-teal)); font-size: 1.15rem; }
.self-pay-page .sp-visit-card h3 { margin: 14px 0 8px; font-size: 1.3rem; }
.self-pay-page .sp-visit-card .sp-price { margin: 0 0 12px; color: var(--sp-teal); font-size: 3rem; font-weight: 700; line-height: 1.15; letter-spacing: -.04em; }
.self-pay-page .sp-price span { font-size: .85rem; font-weight: 400; letter-spacing: normal; color: #53665e; }
.self-pay-page .sp-visit-card p { margin: 0 0 14px; color: #526166; font-size: .92rem; }
.self-pay-page .sp-visit-card .sp-visit-description { color: var(--sp-text); font-weight: 600; }
.self-pay-page .sp-visit-card .sp-button { margin-top: auto; }
.self-pay-page .sp-disclosure { display: flex; gap: 8px; max-width: 940px; margin: 20px auto 0; color: #526361; font-size: .81rem; line-height: 1.65; }
.self-pay-page .sp-disclosure > i { flex-shrink: 0; padding-top: 2px; color: #497567; }
.self-pay-page .sp-laboratory { background: #f6f9f5; scroll-margin-top: calc(var(--sp-header-height) + 20px); }
.self-pay-page .sp-lab-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.self-pay-page .sp-lab-card { --sp-card-accent: #0b5558; padding: 22px; border: 1px solid #dbe6dd; border-top: 3px solid var(--sp-card-accent); border-radius: 17px; background: #fff; box-shadow: 0 5px 18px rgba(18, 48, 74, .035); transition: transform 280ms ease, box-shadow 280ms ease; }
.self-pay-page .sp-tone-gold { --sp-card-accent: #96733d; }
.self-pay-page .sp-tone-mint { --sp-card-accent: #50856d; }
.self-pay-page .sp-tone-dark { --sp-card-accent: #16474c; }
.self-pay-page .sp-tone-blue { --sp-card-accent: #3a788b; }
.self-pay-page .sp-tone-sage { --sp-card-accent: #6b8065; }
.self-pay-page .sp-lab-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.self-pay-page .sp-lab-top .sp-lab-price { margin: 0; color: var(--sp-teal); font-size: 2rem; font-weight: 700; line-height: 1.2; letter-spacing: -.03em; }
.self-pay-page .sp-lab-card h3 { margin: 0 0 10px; font-size: 1.12rem; line-height: 1.35; }
.self-pay-page .sp-lab-card p { margin: 0 0 16px; color: #526568; font-size: .87rem; line-height: 1.65; }
.self-pay-page .sp-lab-card h4 { margin: 0 0 10px; color: #3e6b5e; font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.self-pay-page .sp-lab-card ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.self-pay-page .sp-lab-card li { position: relative; padding-left: 15px; font-size: .86rem; line-height: 1.55; }
.self-pay-page .sp-lab-card li::before { position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--sp-card-accent); content: ""; }
.self-pay-page .sp-transparency { margin-top: 28px; padding-top: 24px; border-top: 1px solid #cfdfd3; }
.self-pay-page .sp-transparency > h3 { margin: 0 0 18px; color: var(--sp-teal); font-size: 1.25rem; }
.self-pay-page .sp-transparency-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.self-pay-page .sp-transparency-grid > div { display: flex; align-items: flex-start; gap: 12px; }
.self-pay-page .sp-transparency-grid > div > i { color: #4e806d; font-size: 1.25rem; }
.self-pay-page .sp-transparency-grid h4 { margin: 0 0 5px; font-size: .95rem; }
.self-pay-page .sp-transparency-grid p { margin: 0; color: #526568; font-size: .84rem; line-height: 1.65; }
.self-pay-page .sp-transparency .sp-disclosure { max-width: none; padding: 14px 16px; border-left: 2px solid var(--sp-gold); border-radius: 0 8px 8px 0; background: #eef3eb; }
.self-pay-page .sp-process { background: #fff; }
.self-pay-page .sp-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; padding: 0; margin: 0; list-style: none; counter-reset: steps; }
.self-pay-page .sp-steps::before { position: absolute; top: 22px; left: 22px; right: 22px; height: 1px; background: #d6e3d8; content: ""; }
.self-pay-page .sp-steps li { position: relative; }
.self-pay-page .sp-steps li > span { position: relative; display: grid; place-items: center; width: 45px; height: 45px; margin-bottom: 16px; border: 1px solid #c6dbcd; border-radius: 50%; background: #f0f7f0; color: var(--sp-teal); font-size: .9rem; font-weight: 700; }
.self-pay-page .sp-steps h3 { margin: 0 0 9px; font-size: 1rem; line-height: 1.35; }
.self-pay-page .sp-steps p { margin: 0; color: #526568; font-size: .87rem; line-height: 1.65; }
.self-pay-page .sp-faq { background: #faf9f6; }
.self-pay-page .sp-faq-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 40px; align-items: start; }
.self-pay-page .sp-faq-intro p { margin-bottom: 0; color: #526568; font-size: .94rem; }
.self-pay-page .sp-faq-list { display: grid; gap: 10px; }
.self-pay-page .sp-faq-list details { overflow: hidden; border: 1px solid #dce5dc; border-radius: 13px; background: #fff; }
.self-pay-page .sp-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 16px 18px; color: #204b4d; font-size: .92rem; font-weight: 600; line-height: 1.5; list-style: none; cursor: pointer; }
.self-pay-page .sp-faq-list summary::-webkit-details-marker { display: none; }
.self-pay-page .sp-faq-list summary i { flex-shrink: 0; color: #4a7967; transition: transform 250ms ease; }
.self-pay-page .sp-faq-list details[open] summary i { transform: rotate(45deg); }
.self-pay-page .sp-faq-list details > p { margin: 0; padding: 0 18px 18px; color: #526568; font-size: .9rem; line-height: 1.7; }
.self-pay-page .sp-closing { padding-top: 0; }
.self-pay-page .sp-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 32px; border: 1px solid #2b6262; border-radius: 20px; background: radial-gradient(circle at 95% 0, rgba(197, 164, 109, .12), transparent 40%), repeating-linear-gradient(135deg, rgba(255,255,255,.015) 0 1px, transparent 1px 20px), #0c454b; color: #e0eee8; }
.self-pay-page .sp-cta .sp-eyebrow { color: #c7dabe; }
.self-pay-page .sp-cta h2 { max-width: 550px; color: #fff; }
.self-pay-page .sp-cta p { max-width: 610px; margin: 0; color: #e0eee8; font-size: .94rem; }
.self-pay-page .sp-cta .sp-actions { flex-shrink: 0; flex-direction: column; align-items: stretch; }
.self-pay-page .sp-button-mint { background: #d5e9d9; border-color: #d5e9d9; color: #143f41; }
.self-pay-page .sp-button-mint:hover { background: #fff; border-color: #fff; color: #143f41; }
.self-pay-page .sp-button-light { border-color: #7eaaa3; background: transparent; color: #fff; }
.self-pay-page.sp-motion-ready .sp-reveal { opacity: 0; transform: translateY(12px); transition: opacity 420ms ease, transform 420ms ease; transition-delay: var(--sp-delay, 0ms); }
.self-pay-page.sp-motion-ready .sp-reveal.is-revealed { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) { .self-pay-page .sp-lab-card:hover, .self-pay-page.sp-motion-ready .sp-lab-card.is-revealed:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(18, 48, 74, .09); } }
@media (max-width: 1099px) { .self-pay-page .sp-lab-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1199px) { .self-pay-page { --sp-header-height: 100px; } }
@media (max-width: 991px) {
  .self-pay-page .sp-hero-grid { gap: 26px; }
  .self-pay-page .sp-faq-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .self-pay-page .sp-faq-intro { max-width: 650px; }
  .self-pay-page .sp-transparency-grid { gap: 18px; }
  .self-pay-page .sp-cta { flex-direction: column; align-items: flex-start; }
  .self-pay-page .sp-cta .sp-actions { flex-direction: row; }
}
@media (max-width: 767px) {
  .self-pay-page .sp-section { padding-block: 36px; }
  .self-pay-page .sp-container { padding-inline: 20px; }
  .self-pay-page .sp-hero-grid, .self-pay-page .sp-visit-grid, .self-pay-page .sp-lab-grid, .self-pay-page .sp-transparency-grid { grid-template-columns: minmax(0, 1fr); }
  .self-pay-page .sp-hero-grid { gap: 24px; }
  .self-pay-page h1 { font-size: 2rem; }
  .self-pay-page .sp-hero-photo img { max-height: 310px; }
  .self-pay-page .sp-visit-card, .self-pay-page .sp-lab-card { padding: 22px; }
  .self-pay-page .sp-visit-grid { gap: 18px; }
  .self-pay-page .sp-transparency-grid { gap: 16px; }
  .self-pay-page .sp-steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .self-pay-page .sp-steps::before { top: 0; bottom: 0; right: auto; left: 22px; width: 1px; height: auto; }
  .self-pay-page .sp-steps li { padding-left: 66px; min-height: 50px; }
  .self-pay-page .sp-steps li > span { position: absolute; left: 0; top: 0; margin: 0; }
  .self-pay-page .sp-steps h3 { margin-bottom: 6px; }
  .self-pay-page .sp-faq-list summary { padding: 15px 16px; }
  .self-pay-page .sp-cta { padding: 24px; }
  .self-pay-page .sp-closing { padding-top: 0; }
  .self-pay-page .sp-cta .sp-actions { flex-direction: column; align-items: stretch; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.self-pay-page) { scroll-behavior: auto !important; }
  .self-pay-page *, .self-pay-page *::before { transition: none !important; animation: none !important; }
  .self-pay-page.sp-motion-ready .sp-reveal { opacity: 1; transform: none; }
  .self-pay-page .sp-lab-card:hover, .self-pay-page.sp-motion-ready .sp-lab-card.is-revealed:hover, .self-pay-page .sp-faq-list details[open] summary i { transform: none; }
}

/* Primary care visit information: additional page-scoped components only. */
.self-pay-page .sp-care-intro { background: #faf9f6; }
.self-pay-page .sp-care-intro-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 36px; }
.self-pay-page .sp-care-intro h2 { max-width: 560px; color: var(--sp-teal); font-size: clamp(1.75rem, 2.5vw, 2.2rem); }
.self-pay-page .sp-care-intro p { margin: 0 0 15px; color: #42575d; font-size: .96rem; line-height: 1.7; }
.self-pay-page .sp-care-intro .sp-personalized-note { margin: 18px 0 0; padding: 13px 16px; border-left: 2px solid var(--sp-gold); border-radius: 0 10px 10px 0; background: #edf4ed; color: #365e54; font-size: .88rem; }
.self-pay-page .sp-care-photo { margin: 0; min-width: 0; overflow: hidden; border: 1px solid #dbe6dd; border-radius: 18px; background: #e8f0e9; box-shadow: 0 8px 24px rgba(18, 48, 74, .07); }
.self-pay-page .sp-care-photo img { display: block; width: 100%; height: auto; max-height: 350px; aspect-ratio: 4 / 3; object-fit: cover; object-position: center top; }
.self-pay-page .sp-care-expectations { background: #fff; }
.self-pay-page :is(.sp-care-expectations, .sp-care-visits, .sp-care-additional) .sp-section-heading h2 { color: var(--sp-teal); font-size: clamp(1.75rem, 2.5vw, 2.2rem); }
.self-pay-page .sp-expectations-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.self-pay-page .sp-info-reveal { min-width: 0; }
.self-pay-page .sp-expectation-card { height: 100%; padding: 20px; border: 1px solid #dce6de; border-radius: 16px; background: #fcfdfa; box-shadow: 0 4px 14px rgba(18, 48, 74, .03); transition: transform 280ms ease, box-shadow 280ms ease; }
.self-pay-page .sp-care-icon { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; margin-bottom: 16px; border-radius: 50%; background: #e8f4ef; color: #286959; font-size: 1.2rem; }
.self-pay-page .sp-expectation-card h3 { margin: 0 0 12px; color: #164c50; font-size: 1.18rem; line-height: 1.35; }
.self-pay-page .sp-expectation-card p { margin: 0; color: #42575d; font-size: .94rem; line-height: 1.65; }
.self-pay-page .sp-care-visits { background: #f4f8f3; }
.self-pay-page .sp-visit-types-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.self-pay-page .sp-visit-type { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; border: 1px solid #d7e4da; border-top: 3px solid #7ca38c; border-radius: 17px; background: #fff; box-shadow: 0 5px 18px rgba(18, 48, 74, .03); }
.self-pay-page .sp-visit-type h3 { margin: 0 0 10px; color: var(--sp-teal); font-size: 1.25rem; line-height: 1.35; }
.self-pay-page .sp-visit-type p { margin: 0 0 14px; color: #42575d; font-size: .94rem; line-height: 1.65; }
.self-pay-page .sp-visit-type .sp-visit-type-subtitle { color: #326358; font-weight: 600; }
.self-pay-page .sp-visit-type h4, .self-pay-page .sp-additional-panel h4 { margin: 0 0 10px; color: #3e6b5e; font-size: .75rem; font-weight: 700; letter-spacing: .05em; }
.self-pay-page .sp-visit-type ul { display: grid; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.self-pay-page .sp-visit-type li { position: relative; padding-left: 14px; color: #354f54; font-size: .93rem; line-height: 1.6; }
.self-pay-page .sp-visit-type li::before { position: absolute; left: 0; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: #69977e; content: ""; }
.self-pay-page .sp-visit-type .sp-visit-type-note { width: 100%; margin: auto 0 0; padding-top: 14px; border-top: 1px solid #e0e9e1; color: #526760; font-size: .84rem; }
.self-pay-page .sp-care-additional { background: #fff; }
.self-pay-page .sp-additional-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.self-pay-page .sp-additional-panel { display: flex; align-items: flex-start; gap: 16px; padding: 22px; border: 1px solid #dce6de; border-radius: 16px; background: #fafcf8; }
.self-pay-page .sp-additional-panel .sp-care-icon { margin: 0; }
.self-pay-page .sp-additional-panel > div { min-width: 0; }
.self-pay-page .sp-additional-panel h3 { margin: 0 0 12px; color: var(--sp-teal); font-size: 1.2rem; line-height: 1.35; }
.self-pay-page .sp-additional-panel p { margin: 0; color: #42575d; font-size: .94rem; line-height: 1.65; }
.self-pay-page .sp-additional-panel h4 { margin-top: 16px; }
.self-pay-page .sp-specialties { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; }
.self-pay-page .sp-specialties li { color: #43695b; font-size: .85rem; line-height: 1.6; }
.self-pay-page .sp-care-cost-note { display: flex; align-items: flex-start; gap: 12px; margin-top: 22px; padding: 18px 20px; border: 1px solid #d5e3d9; border-radius: 14px; background: #eaf3ec; }
.self-pay-page .sp-care-cost-note > i { flex-shrink: 0; margin-top: 2px; color: #3d7462; font-size: 1.1rem; }
.self-pay-page .sp-care-cost-note h3 { margin: 0 0 7px; color: #245850; font-size: 1rem; }
.self-pay-page .sp-care-cost-note p { margin: 0; color: #3c5b54; font-size: .87rem; line-height: 1.65; }
@media (hover: hover) and (pointer: fine) {
  .self-pay-page .sp-expectation-card:hover { transform: translateY(-3px); box-shadow: 0 9px 22px rgba(18, 48, 74, .07); }
}
@media (max-width: 1099px) {
  .self-pay-page .sp-expectations-grid, .self-pay-page .sp-visit-types-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .self-pay-page .sp-care-intro-grid { gap: 28px; }
}
@media (max-width: 767px) {
  .self-pay-page .sp-care-intro-grid, .self-pay-page .sp-expectations-grid, .self-pay-page .sp-visit-types-grid, .self-pay-page .sp-additional-grid { grid-template-columns: minmax(0, 1fr); }
  .self-pay-page .sp-care-intro-grid { gap: 24px; }
  .self-pay-page .sp-care-photo img { max-height: 300px; }
  .self-pay-page .sp-visit-type { padding: 22px; }
  .self-pay-page .sp-additional-panel { gap: 12px; padding: 18px; }
  .self-pay-page .sp-additional-panel .sp-care-icon { width: 34px; height: 34px; font-size: 1.05rem; }
  .self-pay-page .sp-care-cost-note { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .self-pay-page .sp-expectation-card { transition: none; }
  .self-pay-page .sp-expectation-card:hover { transform: none; }
}

/* Match Comprehensive Assessment’s desktop content grid. */
@media (min-width: 1400px) {
  .self-pay-page main .sp-container {
    width: 100%;
    max-width: 1320px;
    padding-inline: 12px;
  }
}
