/* Three formats, with duration and total price selected inside one support card. */
.service-grid-priced { grid-template-columns: repeat(3,minmax(0,1fr)); }
.service-grid-priced .service-card { min-height: 440px; padding: 30px; }
.service-grid-priced .service-card > .eyebrow { color: var(--primary); font-size: 11px; letter-spacing: .055em; margin-bottom: 20px; }
.service-grid-priced .service-card h3 { font-size: 27px; margin-bottom: 18px; }
.service-grid-priced .service-card > p { margin-bottom: 0; }
.service-grid-priced .service-support { background: #f6f1fa; }
.service-grid-priced .card-bottom { gap: 13px; padding-top: 25px; }
.service-price, .result-price { font-size: 32px; line-height: 1.25; font-weight: 550; letter-spacing: 0; color: var(--ink); margin: 0; font-variant-numeric: tabular-nums; }
.price-amount { white-space: nowrap; }
.service-price .price-unit, .result-price span { display: block; margin-top: 7px; color: var(--muted); font-size: 13px; line-height: 1.5; font-weight: 550; letter-spacing: 0; }
.result-price { margin-block: 23px; font-size: 30px; }
.dialog-content .booking-price { font-size: 22px; line-height: 1.4; font-weight: 550; color: var(--primary); }
.service-grid-priced .duration-picker { margin-top: 22px; width: 100%; }
.service-grid-priced .duration-picker span { min-height: 44px; padding: 11px 7px; font-size: 12px; font-weight: 650; }
.service-grid-priced .card-bottom .text-link { background: var(--primary); color: white; border-color: var(--primary); }
.service-grid-priced .card-bottom .text-link:hover { background: var(--primary-hover); }
@media (max-width:960px) {
  .service-grid-priced { grid-template-columns: 1fr; }
  .service-grid-priced .service-card { min-height: 0; padding: 26px; }
}
@media (max-width:680px) {
  .service-grid-priced { grid-template-columns: 1fr; gap: 18px; }
  .service-grid-priced .service-card { min-height: 0; }
  .service-price { font-size: 30px; }
}

/* Page layouts share the foundations in styles.css. */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 27px; color: var(--muted); font-size: 12px; font-weight: 650; }
.breadcrumbs a { color: var(--primary); }
.breadcrumbs a:hover { text-decoration: underline; }
.page-heading { padding: 38px 0 46px; max-width: 880px; }
.page-heading .eyebrow { color: var(--primary); margin-bottom: 21px; }
.page-heading h1 { font-size: clamp(37px,4vw,54px); line-height: 1.13; }
.page-heading p { color: var(--muted); max-width: 740px; font-size: 17px; line-height: 1.8; margin: 23px 0 0; }
body:not([data-page='home']) main > .section:first-of-type { padding-top: 28px; }
body[data-page='about'] .about-section { padding-bottom: 68px; }
body[data-page='consultations'] #services { padding-top: 0; padding-bottom: 42px; }
body[data-page='consultations'] .chooser-section { background: var(--lavender); padding: 44px; border-radius: 32px; margin-bottom: 65px; }
body[data-page='consultations'] .chooser-section .section-intro h2 { font-size: 38px; }
body[data-page='contacts'] .contacts-section { padding-top: 0; padding-bottom: 55px; }
.home-profile { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 75px; padding: 46px; margin-bottom: 28px; background: var(--lavender); border-radius: 30px; }
.home-profile .eyebrow { color: var(--primary); margin-bottom: 20px; }
.home-profile h2 { font-size: 34px; line-height: 1.25; }
.home-profile p { font-size: 16px; color: var(--muted); margin-bottom: 16px; }
.related-pages { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 60px; margin-bottom: 60px; }
.related-pages a { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 25px; background: white; padding: 29px; transition: border-color .18s,background .18s; }
.related-pages a:hover { border-color: #bd9fd6; background: #f8f3fc; }
.related-pages .eyebrow { grid-column: 1; font-size: 11px; color: var(--muted); letter-spacing: .035em; }
.related-pages strong { grid-column: 1; font-size: 25px; font-weight: 800; letter-spacing: -.035em; }
.editorial-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 55px; }
.editorial-note { background: white; border: 1px solid var(--line); border-radius: 24px; padding: 30px; }
.editorial-note h2 { font-size: 26px; margin-bottom: 19px; line-height: 1.3; }
.editorial-note p { font-size: 15px; color: var(--muted); }
.editorial-note .eyebrow { margin-bottom: 18px; }
.faq-page { max-width: 900px; padding-top: 0 !important; padding-bottom: 55px; }
.faq-page .faq-list { display: grid; gap: 12px; }
.faq-page details { border: 1px solid var(--line); border-radius: 22px; background: white; padding-inline: 27px; }
.faq-page details[open] { background: var(--lavender); border-color: #ddcce9; }
.faq-page summary { font-size: 17px; padding-block: 24px; }
.faq-page details > p { font-size: 16px; }
.booking-steps { padding-top: 0; }
.booking-steps h2 { font-size: 35px; margin-bottom: 32px; }
.booking-steps ol { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; list-style: none; padding: 0; margin: 0; }
.booking-steps li { padding: 28px; border: 1px solid var(--line); border-radius: 25px; background: white; }
.booking-steps li > span { display: grid; place-items: center; background: var(--apricot); border-radius: 15px; width: 44px; height: 44px; color: #95684f; font-size: 18px; font-weight: 800; }
.booking-steps h3 { font-size: 20px; margin-block: 20px 14px; line-height: 1.4; }
.booking-steps p { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width:960px) {
  .home-profile { padding: 32px; gap: 35px; }
  .home-profile h2 { font-size: 29px; }
  .home-profile p { font-size: 15px; }
  body[data-page='consultations'] .chooser-section { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
  .booking-steps ol { gap: 15px; }
  .booking-steps li { padding: 23px; }
  .booking-steps h3 { font-size: 18px; }
}
@media (max-width:680px) {
  .breadcrumbs { padding-top: 21px; font-size: 11px; }
  .page-heading { padding: 30px 0 35px; }
  .page-heading h1 { font-size: clamp(32px,8.8vw,44px); }
  .page-heading .eyebrow { font-size: 10px; margin-bottom: 19px; }
  .page-heading p { font-size: 15px; margin-top: 20px; }
  .home-profile { grid-template-columns: 1fr; gap: 23px; padding: 27px; border-radius: 24px; }
  .home-profile h2 { font-size: 28px; }
  .home-profile p { font-size: 15px; }
  .related-pages { grid-template-columns: 1fr; gap: 14px; margin-top: 40px; margin-bottom: 40px; }
  .related-pages a { padding: 23px; border-radius: 22px; }
  .related-pages strong { font-size: 23px; }
  .related-pages .eyebrow { font-size: 10px; }
  .editorial-notes { grid-template-columns: 1fr; gap: 14px; padding-bottom: 35px; }
  .editorial-note { padding: 27px; }
  .editorial-note h2 { font-size: 25px; }
  body[data-page='consultations'] .chooser-section { padding: 24px 16px; border-radius: 25px; margin-bottom: 35px; }
  body[data-page='consultations'] .chooser-section .section-intro { padding-inline: 8px; }
  body[data-page='consultations'] .chooser-section .section-intro h2 { font-size: 30px; }
  .faq-page details { padding-inline: 20px; }
  .faq-page summary { font-size: 15px; gap: 12px; }
  .faq-page details > p { font-size: 15px; }
  .booking-steps ol { grid-template-columns: 1fr; gap: 13px; }
  .booking-steps h2 { font-size: 30px; }
  .booking-steps h3 { font-size: 20px; }
  .booking-steps li { padding: 26px; }
}

/* Professional history and source documents. */
.appointment-section { padding-bottom: 70px; }
.appointment-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 26px; }
.appointment-card { display: flex; flex-direction: column; align-items: flex-start; padding: 38px; border: 1px solid var(--line); border-radius: 30px; }
.appointment-clinic { background: var(--lavender); }
.appointment-direct { background: white; }
.appointment-card .eyebrow { color: var(--primary); margin-bottom: 24px; }
.appointment-card h2 { font-size: clamp(28px,2.8vw,37px); margin-bottom: 24px; }
.appointment-card > p { color: var(--muted); }
.clinic-phone { font-size: clamp(22px,2.5vw,30px); font-weight: 800; letter-spacing: -.035em; color: var(--primary); }
.clinic-phone:hover { text-decoration: underline; }
.appointment-card > .small-text { margin-bottom: 27px; }
.appointment-card > .button { margin-top: auto; }
.appointment-card .appointment-note { border-left: 3px solid #d7bfdc; padding-left: 18px; font-size: 14px; margin-bottom: 30px; }
.appointment-details { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 48px 6px 0; }
.appointment-details .eyebrow { color: var(--primary); margin-bottom: 16px; }
.appointment-details h2 { font-size: 27px; margin-bottom: 20px; }
.appointment-details address { font-style: normal; color: var(--muted); margin-bottom: 15px; }
.appointment-details p { color: var(--muted); }
.contact-community { display: inline-block; margin-top: 20px; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 900px) {
  .appointment-card { padding: 28px; }
  .appointment-details { gap: 30px; }
}
@media (max-width: 680px) {
  .appointment-grid, .appointment-details { grid-template-columns: 1fr; gap: 20px; }
  .appointment-card { padding: 27px 24px; border-radius: 26px; }
  .appointment-card h2 { font-size: 29px; }
  .appointment-card > p, .appointment-details { font-size: 15px; }
  .appointment-card > .button { width: 100%; font-size: 14px; padding-inline: 18px; }
  .appointment-card .eyebrow { font-size: 10px; margin-bottom: 20px; }
  .appointment-details { padding: 38px 5px 0; gap: 34px; }
  .appointment-section { padding-bottom: 45px; }
}

.about-links { display: flex; flex-wrap: wrap; gap: 4px 26px; margin-top: 24px; }
.about-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--primary); font-size: 14px; font-weight: 650; text-decoration: underline; text-decoration-color: #c9b7d9; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.about-links a:hover { color: var(--primary-hover); text-decoration-color: currentColor; }
.professional-section { padding-top: 0; }
.professional-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; align-items: start; }
.professional-panel { padding: 34px; border: 1px solid var(--line); border-radius: 28px; background: white; }
.professional-panel > h3 { margin-bottom: 28px; font-size: 26px; }
.professional-panel .timeline { margin-bottom: 0; }
.professional-panel .timeline li { display: grid; grid-template-columns: 52px minmax(0,1fr); gap: 24px; align-items: start; padding-bottom: 27px; }
.professional-panel .timeline time { display: block; min-width: 0; color: var(--primary); font-size: 15px; font-weight: 750; line-height: 1.6; font-variant-numeric: tabular-nums; }
.timeline-dates { display: grid; gap: 8px; }
.additional-education { border-top: 1px solid var(--line); border-bottom: 0; }
.additional-education summary { font-size: 14px; padding-bottom: 12px; }
.additional-education p { font-size: 14px; padding-right: 0; }
.professional-aside { display: grid; gap: 24px; }
.experience-panel { background: var(--lavender); }
.experience-list { padding: 0; margin: 0; list-style: none; }
.experience-list li { padding-bottom: 24px; }
.experience-list li > span { color: var(--primary); font-size: 12px; font-weight: 800; }
.experience-list h4 { font-size: 18px; line-height: 1.4; margin: 9px 0; }
.experience-list p { font-size: 14px; color: var(--muted); margin: 0; }
.experience-note { font-size: 14px; border-top: 1px solid #dcd0e8; padding-top: 22px; margin: 0; color: var(--muted); }
.accreditation-panel { background: var(--apricot); border-radius: 26px; padding: 30px; }
.accreditation-panel .eyebrow { color: #855b46; }
.accreditation-panel dl { display: grid; gap: 18px; margin-block: 21px; }
.accreditation-panel dt { font-weight: 750; }
.accreditation-panel dd { margin: 5px 0 0; font-size: 14px; color: var(--muted); }
.accreditation-panel .small-text { margin: 0; }
.credentials-section { padding-top: 0; }
.credentials-section .section-heading h2 { font-size: 37px; }
.documents-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.document-card { display: block; overflow: hidden; border-radius: 24px; background: white; border: 1px solid var(--line); transition: border-color .18s,box-shadow .18s; }
.document-card:hover { border-color: #bb9cd3; box-shadow: var(--shadow); }
.document-preview { position: relative; overflow: hidden; width: 100%; aspect-ratio: 1280 / 885; background: #f5f0e8; border-bottom: 1px solid var(--line); }
.document-preview img, .document-viewer-media img { width: 100%; height: 100%; object-fit: contain; }
.document-preview--rotated img { position: absolute; left: 50%; top: 50%; width: 69.140625%; height: 144.632768%; max-width: none; transform: translate(-50%,-50%) rotate(-90deg); object-fit: contain; }
.document-status { position: absolute; left: 14px; bottom: 14px; padding: 7px 12px; border-radius: 999px; background: #fcfaf8f5; color: var(--ink); font-size: 11px; font-weight: 750; box-shadow: 0 2px 16px #36283912; }
.document-card-copy { padding: 25px; }
.document-card-copy .eyebrow { color: var(--primary); font-size: 10px; letter-spacing: .04em; margin-bottom: 16px; }
.document-card-copy h3 { font-size: 22px; margin-bottom: 12px; }
.document-card-copy p { color: var(--muted); font-size: 12px; margin-bottom: 19px; }
.document-open { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 750; font-size: 13px; color: var(--primary); }
.document-dialog { width: min(1100px,calc(100% - 32px)); max-height: calc(100dvh - 32px); }
.document-viewer { padding: 25px 30px; }
.document-viewer-header { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-bottom: 20px; }
.document-viewer-header h2 { font-size: 25px; line-height: 1.3; }
.document-control { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); color: var(--primary); background: white; font-size: 24px; line-height: 1; }
.document-control:hover { background: var(--lavender); }
.document-control-text { width: auto; min-height: 44px; height: auto; padding: 11px 15px; border-radius: 999px; font-size: 13px; font-weight: 650; line-height: 1.4; }
.document-viewer-media { position: relative; overflow: hidden; width: min(100%,calc(62dvh * 1.446)); aspect-ratio: 1280 / 885; margin-inline: auto; background: white; }
#document-description { font-size: 13px; color: var(--muted); margin: 20px 0 12px; }
.document-viewer-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.document-paging { display: flex; align-items: center; gap: 13px; }
#document-counter { font-size: 13px; min-width: 40px; text-align: center; }
.document-viewer-footer .text-link { font-size: 13px; }

/* Detailed preparation is readable on screen and complete when printed. */
.prep-history { grid-column: 1 / -1; }
.prep-history .section-heading { margin-bottom: 25px; }
.prep-history h3 { font-size: 29px; }
.prep-history .eyebrow { margin-bottom: 16px; }
.prep-history .section-heading > p { font-size: 15px; max-width: 500px; }
.prep-history details { background: white; border: 1px solid var(--line); border-radius: 22px; padding-inline: 26px; margin-bottom: 12px; }
.prep-history details[open] { background: #f6f1fa; }
.prep-detail-content { color: var(--muted); font-size: 15px; padding-bottom: 23px; max-width: 940px; }
.prep-detail-content ul { margin: 0; padding-left: 22px; }
.prep-detail-content li + li { margin-top: 12px; }
.prep-detail-content p { margin: 0; }
@media(max-width:960px) {
  .professional-grid { grid-template-columns: 1fr; }
  .professional-aside { grid-template-columns: 1.2fr 1fr; align-items: start; }
  .documents-grid { grid-template-columns: 1fr 1fr; }
  .credentials-section .section-heading { display: block; }
  .credentials-section .section-heading > p { max-width: 650px; margin-top: 22px; }
}
@media(max-width:680px) {
  .about-links { gap: 2px 22px; }
  .professional-panel, .accreditation-panel { padding: 26px; border-radius: 24px; }
  .professional-panel > h3 { font-size: 24px; }
  .professional-panel .timeline li { grid-template-columns: 44px minmax(0,1fr); gap: 20px; }
  .professional-aside, .documents-grid { grid-template-columns: 1fr; }
  .credentials-section .section-heading h2 { font-size: 30px; }
  .document-card-copy { padding: 24px; }
  .document-viewer { padding: 20px 17px; }
  .document-viewer-header { gap: 16px; }
  .document-viewer-header h2 { font-size: 20px; }
  .document-viewer-footer { flex-wrap: wrap; gap: 12px; }
  .document-paging { width: 100%; display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 7px; }
  .document-control-text { padding: 11px 7px; font-size: 12px; }
  .document-viewer-media { width: 100%; }
  #document-description { font-size: 12px; }
  .prep-history h3 { font-size: 26px; }
  .prep-history details { padding-inline: 20px; }
  .prep-detail-content { font-size: 14px; }
}
@media print {
  .prep-history { margin-top: 35px; }
  .prep-history .section-heading { display: block; }
  .prep-history .section-heading > p { max-width: none; }
  .prep-history details { background: white; padding: 0; border: 0; }
  .prep-history summary { padding-block: 14px; }
  .prep-history summary .disclosure-icon { display: none; }
  .prep-detail-content { padding-bottom: 15px; }
  .prep-detail-content li { break-inside: avoid; }
}
