html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}
.medtochka-image {
  margin: 0;
}
@media (max-width: 720px) {
  .medtochka-page .medtochka-image img {
    height: auto;
    max-height: none;
  }
}
.trust-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-bottom: 26px;
}
.trust-section-heading h2 {
  margin: 0;
}
.trust-section-heading > p {
  font-size: 15px;
  line-height: 1.8;
  max-width: 390px;
  color: var(--muted);
}
.trust-platform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.trust-platform-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 270px;
  min-width: 0;
  background: white;
}
.trust-platform-card:hover {
  border-color: var(--lilac);
  background: #fbf8fa;
}
.trust-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}
.trust-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 8px;
}
.trust-brand strong {
  font-size: 17px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.trust-award {
  display: inline-flex;
  border: 1px solid #efc778;
  color: #775616;
  background: #fffaf0;
  border-radius: 10px;
  font-size: 11px;
  line-height: 1.5;
  padding: 8px 10px;
  margin-top: 18px;
}
.trust-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
}
.trust-rating > strong {
  font-size: 37px;
  line-height: 1.2;
  color: var(--purple);
  font-variant-numeric: tabular-nums;
}
.trust-stars {
  position: relative;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 1px;
  display: inline-block;
  white-space: nowrap;
}
.trust-stars > span:first-child {
  color: #ebe7e3;
}
.trust-stars > span:last-child {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  color: #efb734;
  white-space: nowrap;
}
.trust-counts {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 8px;
}
.trust-open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  font-size: 13px;
  color: var(--purple);
  font-weight: 600;
  margin-top: 20px;
}
.trust-open > span {
  font-size: 22px;
  font-weight: 400;
}
.trust-review-copy {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.trust-review-copy > span {
  font-size: 50px;
  color: var(--lilac);
  line-height: 1;
}
.trust-review-copy p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.trust-check-date {
  font-size: 11px;
  color: var(--muted);
  margin-top: 18px;
}
.clinic-trust {
  margin-bottom: 42px;
}
.patient-app-promo {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 24px;
  padding: 24px;
  border: 1px solid #d6e8df;
  background: #f3faf6;
  border-radius: 24px;
  margin-bottom: 30px;
}
.patient-app-promo > img {
  width: 150px;
  height: 32px;
  object-fit: contain;
}
.patient-app-promo h2 {
  font-size: 23px;
  margin: 0 0 6px;
}
.patient-app-promo p {
  font-size: 14px;
  color: var(--muted);
}
.patient-app-promo > span {
  color: var(--purple);
  font-size: 25px;
}
.medtochka-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40%;
  border-radius: 28px;
  background: #f1f8f4;
  overflow: hidden;
}
.medtochka-intro {
  padding: 42px;
}
.medtochka-brand {
  width: 180px;
  height: auto;
  margin-bottom: 28px;
}
.medtochka-hero h1 {
  font-size: 43px;
  line-height: 1.2;
  max-width: 640px;
}
.medtochka-intro .lead {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 26px;
}
.medtochka-intro .btn {
  margin-top: 8px;
}
.medtochka-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  background: #e5f2eb;
  min-width: 0;
}
.medtochka-image img {
  width: 100%;
  max-height: 470px;
  object-fit: contain;
}
.app-download-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 32px;
}
.app-download-section h2 {
  margin-bottom: 12px;
}
.app-download-section > div > p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 24px;
}
.app-stores {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.app-store-link {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.app-store-link small {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}
.app-store-link strong {
  font-size: 20px;
  line-height: 1.3;
}
.app-store-link > span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--purple);
  width: 100%;
  margin-top: 24px;
}
.app-store-link:hover {
  background: var(--soft);
  border-color: var(--lilac);
}
.app-alternative-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 22px;
  color: var(--purple);
  font-size: 14px;
}
.app-download-qr {
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  text-align: center;
}
.app-download-qr img {
  width: 150px;
  height: 150px;
  margin: 0 auto 14px;
}
.app-download-qr p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.medtochka-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.medtochka-features > article {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
}
.medtochka-features article > span {
  font-size: 12px;
  color: var(--purple);
  display: block;
  margin-bottom: 20px;
}
.medtochka-features h3 {
  font-size: 19px;
  line-height: 1.4;
  margin-bottom: 12px;
}
.medtochka-features p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.app-first-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.app-first-steps article {
  padding: 25px;
  border-radius: 22px;
  background: var(--soft);
}
.app-first-steps article > span {
  display: block;
  font-size: 12px;
  color: var(--purple);
  margin-bottom: 18px;
}
.app-first-steps h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.app-first-steps p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.app-help {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 42px;
}
.app-help article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
}
.app-help h3 {
  font-size: 21px;
  margin-bottom: 14px;
}
.app-help p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 18px;
}
.app-help a {
  color: var(--purple);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
}
.app-note {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 20px;
  max-width: 850px;
}
@media (max-width: 1000px) {
  .trust-platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .medtochka-intro {
    padding: 30px;
  }
  .medtochka-hero h1 {
    font-size: 36px;
  }
  .medtochka-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .app-download-section {
    grid-template-columns: minmax(0, 1fr) 165px;
  }
  .app-download-qr {
    padding: 14px;
  }
  .app-download-qr img {
    width: 135px;
    height: 135px;
  }
}
@media (max-width: 720px) {
  .trust-section-heading {
    display: block;
  }
  .trust-section-heading > p {
    margin-top: 14px;
    max-width: none;
  }
  .trust-platform-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .trust-platform-card {
    padding: 20px 15px;
    border-radius: 20px;
    min-height: 260px;
  }
  .trust-brand {
    display: block;
  }
  .trust-brand img {
    width: 34px;
    height: 34px;
    margin-bottom: 10px;
  }
  .trust-brand strong {
    font-size: 15px;
  }
  .trust-rating {
    gap: 8px;
    flex-wrap: wrap;
  }
  .trust-rating > strong {
    font-size: 32px;
  }
  .trust-stars {
    font-size: 14px;
    letter-spacing: 0;
  }
  .trust-counts {
    font-size: 11px;
  }
  .trust-open {
    font-size: 12px;
  }
  .trust-award {
    font-size: 10px;
    padding: 7px;
  }
  .patient-app-promo {
    grid-template-columns: minmax(0, 1fr) 24px;
    padding: 24px;
    gap: 18px;
  }
  .patient-app-promo > img {
    grid-column: 1/-1;
  }
  .patient-app-promo h2 {
    font-size: 23px;
  }
  .medtochka-hero {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }
  .medtochka-intro {
    padding: 28px 24px;
  }
  .medtochka-hero h1 {
    font-size: 36px;
  }
  .medtochka-intro .lead {
    font-size: 16px;
  }
  .medtochka-image {
    padding: 22px;
  }
  .medtochka-image img {
    height: 300px;
    max-height: 300px;
  }
  .app-download-section {
    grid-template-columns: 1fr;
  }
  .app-stores {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .app-store-link {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 6px 14px;
    padding: 20px;
  }
  .app-store-link small {
    margin: 0;
    grid-column: 1;
  }
  .app-store-link strong {
    grid-column: 1;
    font-size: 22px;
  }
  .app-store-link > span {
    grid-column: 2;
    grid-row: 1/3;
    width: auto;
    margin: 0;
    font-size: 13px;
  }
  .app-download-qr {
    display: none;
  }
  .app-alternative-links {
    display: grid;
    gap: 12px;
  }
  .app-alternative-links > a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .medtochka-features {
    grid-template-columns: 1fr;
  }
  .medtochka-features > article {
    padding: 24px;
  }
  .medtochka-features article > span {
    margin-bottom: 14px;
  }
  .app-first-steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .app-help {
    grid-template-columns: 1fr;
  }
  .app-help article {
    padding: 24px;
  }
  .app-note {
    font-size: 13px;
  }
}
.checkup-diagram {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  margin: 0 0 20px;
}
.checkup-graphic-note {
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
  margin: -10px 0 22px;
  max-width: 830px;
}
.checkup-detail-picker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 0 0 24px;
}
.checkup-detail-picker > a {
  font-size: 14px;
  color: var(--purple);
}
.checkup-detail-picker label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}
.checkup-detail-picker select {
  max-width: 340px;
  padding: 10px 34px 10px 14px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  color: var(--ink);
  font: inherit;
}
.checkup-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  background: var(--soft);
  border-radius: 28px;
  padding: 40px;
  align-items: start;
}
.checkup-detail-intro .checkup-audience {
  display: inline-block;
  background: white;
  margin-bottom: 20px;
}
.checkup-detail-hero h1 {
  color: var(--purple);
  font-size: 43px;
  line-height: 1.2;
  margin-bottom: 20px;
}
.checkup-detail-focus {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 600;
  max-width: 580px;
}
.checkup-detail-hero .lead {
  font-size: 16px;
  line-height: 1.8;
  margin-top: 14px;
  max-width: 600px;
}
.checkup-hero-anchor {
  display: inline-flex;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--purple);
}
.checkup-detail-overview .checkup-diagram {
  margin: 0 0 18px;
}
.checkup-detail-price {
  padding: 24px;
  border-radius: 20px;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.checkup-detail-price > span {
  font-size: 13px;
  color: var(--muted);
}
.checkup-detail-price > strong {
  font-size: 34px;
  line-height: 1.3;
  color: var(--purple);
  margin: 6px 0 18px;
}
.checkup-detail-price .btn {
  width: 100%;
  white-space: normal;
}
.checkup-detail-price > a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color:  #fff;
  margin-top: 16px;
}
.checkup-detail-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  margin-bottom: 38px;
}
.checkup-detail-nav > a {
  color: var(--purple);
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 24px;
  background: var(--soft);
}
.checkup-detail-nav > a:hover {
  background: #ead8e5;
}
.checkup-purpose {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.checkup-purpose > div > p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
}
.checkup-focus-points {
  display: grid;
  gap: 20px;
}
.checkup-focus-points > div {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.checkup-focus-points span {
  border-radius: 50%;
  background: var(--soft);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: var(--purple);
}
.checkup-focus-points p {
  font-size: 15px;
  line-height: 1.75;
}
.checkup-composition-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 24px;
}
.checkup-composition-heading h2 {
  margin: 0;
}
.checkup-composition-heading .note {
  max-width: 380px;
  color: var(--muted);
  line-height: 1.65;
}
.checkup-detail-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
}
.checkup-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.checkup-panel-heading > span {
  font-size: 13px;
  color: var(--muted);
}
.checkup-specialist-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
}
.checkup-specialist-list li {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--soft);
  font-size: 15px;
  line-height: 1.65;
  text-transform: none;
}
.checkup-specialist-list li:first-letter {
  text-transform: uppercase;
}
.checkup-laboratory {
  border: 1px solid var(--line);
  border-radius: 24px;
  margin-top: 20px;
  overflow: hidden;
}
.checkup-laboratory summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  cursor: pointer;
  padding: 24px 26px;
  background: #fbf8fa;
  font-size: 20px;
  font-weight: 600;
}
.checkup-laboratory summary::-webkit-details-marker {
  display: none;
}
.checkup-laboratory small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 5px;
}
.checkup-laboratory summary > b {
  font-size: 25px;
  color: var(--purple);
  font-weight: 400;
}
.checkup-laboratory[open] summary > b {
  transform: rotate(45deg);
}
.checkup-laboratory > div {
  padding: 10px 26px 26px;
}
.checkup-laboratory-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.checkup-laboratory-list li {
  font-size: 14px;
  line-height: 1.7;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.checkup-detail-panels {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
.checkup-instrument-list {
  font-size: 15px;
  line-height: 1.8;
  margin: 16px 0 0;
  padding-left: 20px;
}
.checkup-instrument-list li {
  margin-top: 10px;
}
.checkup-visit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.checkup-visit-grid article {
  padding: 26px;
  border-radius: 22px;
  background: var(--soft);
}
.checkup-visit-grid article > span {
  display: block;
  font-size: 13px;
  color: var(--purple);
  margin-bottom: 20px;
}
.checkup-visit-grid h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.checkup-visit-grid p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.checkup-preparation-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.checkup-preparation-links > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 14px;
  color: var(--purple);
}
.checkup-question-section details {
  border-bottom: 1px solid var(--line);
}
.checkup-question-section summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  padding: 20px 0;
}
.checkup-question-section summary span {
  font-size: 24px;
  color: var(--purple);
}
.checkup-question-section summary::-webkit-details-marker {
  display: none;
}
.checkup-question-section details[open] summary span {
  transform: rotate(45deg);
}
.checkup-question-section details > p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  padding-bottom: 24px;
  max-width: 850px;
}
.checkup-detail-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 32px;
  border-radius: 24px;
  background: var(--soft);
  margin-top: 44px;
}
.checkup-detail-cta h2 {
  font-size: 25px;
  margin-bottom: 12px;
}
.checkup-detail-cta p {
  font-size: 14px;
  color: var(--muted);
  max-width: 650px;
}
.checkup-detail-cta > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checkup-detail-source {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 18px;
}
.checkup-detail-source > a {
  color: var(--purple);
}
.checkup-alternative-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 44px;
}
.checkup-alternative-grid > a {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  min-width: 0;
}
.checkup-alternative-grid small {
  font-size: 12px;
  color: var(--purple);
  margin-bottom: 14px;
}
.checkup-alternative-grid h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.checkup-alternative-grid p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.checkup-alternative-grid strong {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  color: var(--purple);
  margin-top: auto;
}
.checkup-alternative-grid > a:hover {
  border-color: var(--lilac);
  background: #fbf8fa;
}
@media (max-width: 1000px) {
  .checkup-detail-hero {
    grid-template-columns: minmax(0, 1fr) 300px;
    padding: 28px;
    gap: 24px;
  }
  .checkup-detail-hero h1 {
    font-size: 37px;
  }
  .checkup-specialist-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .checkup-visit-grid {
    gap: 14px;
  }
  .checkup-alternative-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .checkup-detail-picker {
    display: block;
    margin-top: 10px;
  }
  .checkup-detail-picker label {
    display: block;
    margin-top: 20px;
  }
  .checkup-detail-picker label > span {
    display: block;
    margin-bottom: 8px;
  }
  .checkup-detail-picker select {
    width: 100%;
    max-width: none;
    font-size: 14px;
    min-height: 48px;
  }
  .checkup-detail-hero {
    grid-template-columns: 1fr;
    padding: 26px 22px;
    gap: 26px;
    border-radius: 24px;
  }
  .checkup-detail-hero h1 {
    font-size: 36px;
  }
  .checkup-detail-focus {
    font-size: 20px;
  }
  .checkup-detail-hero .lead {
    font-size: 16px;
  }
  .checkup-detail-price {
    padding: 22px;
  }
  .checkup-detail-price > strong {
    font-size: 34px;
  }
  .checkup-detail-price > a {
    font-size: 14px;
    flex-wrap: wrap;
  }
  .checkup-detail-nav {
    gap: 8px;
    padding: 18px 0;
  }
  .checkup-detail-nav > a {
    font-size: 13px;
    padding: 8px 10px;
  }
  .checkup-purpose {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .checkup-purpose h2 {
    font-size: 28px;
  }
  .checkup-composition-heading {
    display: block;
  }
  .checkup-composition-heading .note {
    margin-top: 16px;
    max-width: none;
  }
  .checkup-detail-panel {
    padding: 22px;
  }
  .checkup-panel-heading {
    align-items: flex-start;
  }
  .checkup-specialist-list {
    grid-template-columns: 1fr;
  }
  .checkup-laboratory summary {
    padding: 22px;
    font-size: 20px;
  }
  .checkup-laboratory > div {
    padding: 0 22px 22px;
  }
  .checkup-laboratory-list {
    grid-template-columns: 1fr;
  }
  .checkup-laboratory-list li {
    font-size: 15px;
  }
  .checkup-detail-panels {
    grid-template-columns: 1fr;
  }
  .checkup-visit-grid {
    grid-template-columns: 1fr;
  }
  .checkup-visit-grid article {
    padding: 22px;
  }
  .checkup-visit-grid article > span {
    margin-bottom: 14px;
  }
  .checkup-preparation-links {
    display: grid;
  }
  .checkup-question-section summary {
    font-size: 16px;
  }
  .checkup-detail-cta {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 22px;
  }
  .checkup-detail-cta h2 {
    font-size: 25px;
  }
  .checkup-alternative-grid {
    grid-template-columns: 1fr;
  }
  .checkup-alternative-grid h3 {
    font-size: 21px;
  }
  .checkup-graphic-note {
    margin-top: 0;
  }
}
.checkup-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.checkup-section-heading h2 {
  margin: 0 0 10px;
}
.checkup-section-heading p {
  font-size: 15px;
  color: var(--muted);
  max-width: 700px;
}
.checkup-section-heading > span {
  font-size: 13px;
  color: var(--purple);
  white-space: nowrap;
  padding-top: 8px;
}
.checkup-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.checkup-result {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  background: white;
  min-width: 0;
}
.checkup-result-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.checkup-audience {
  font-size: 12px;
  line-height: 1.4;
  color: var(--purple);
  background: var(--soft);
  border-radius: 20px;
  padding: 7px 12px;
}
.checkup-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--purple);
  border: 1px solid var(--line);
  border-radius: 50%;
  flex-shrink: 0;
}
.checkup-result h3 {
  font-size: 23px;
  line-height: 1.35;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.checkup-focus {
  color: var(--purple);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  margin-bottom: 10px;
}
.checkup-value {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}
.checkup-highlights {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  display: grid;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
}
.checkup-highlights li {
  display: grid;
  grid-template-columns: 6px minmax(0, 1fr);
  gap: 9px;
}
.checkup-highlights li:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lilac);
  margin-top: 8px;
}
.checkup-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-bottom: 16px;
}
.checkup-price span {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 95px;
}
.checkup-price strong {
  font-size: 23px;
  line-height: 1.2;
  color: var(--purple);
  white-space: nowrap;
}
.checkup-composition {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.checkup-composition summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 14px 0;
  font-size: 14px;
  color: var(--purple);
  font-weight: 600;
  min-height: 48px;
}
.checkup-composition summary::-webkit-details-marker {
  display: none;
}
.checkup-composition summary span {
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}
.checkup-composition[open] summary span {
  transform: rotate(45deg);
}
.checkup-composition > div {
  padding-bottom: 16px;
}
.checkup-composition h4 {
  font-size: 14px;
  line-height: 1.5;
  margin: 16px 0 9px;
  font-weight: 600;
}
.checkup-composition ul {
  font-size: 13px;
  line-height: 1.65;
  padding-left: 18px;
  margin: 0;
}
.checkup-composition li {
  margin: 6px 0;
  overflow-wrap: anywhere;
}
.checkup-program-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--purple);
  font-size: 14px;
  font-weight: 600;
  min-height: 34px;
}
.checkup-program-link span {
  font-size: 23px;
  font-weight: 400;
}
.checkup-program-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.checkup-source-note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 22px;
  max-width: 800px;
}
.checkup-help {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 30px;
  border-radius: 24px;
  background: var(--soft);
  margin-top: 30px;
}
.checkup-help h2 {
  font-size: 25px;
  margin: 0 0 10px;
}
.checkup-help p {
  font-size: 14px;
  color: var(--muted);
  max-width: 570px;
}
.checkup-help .btn {
  flex-shrink: 0;
}
.search-other-results {
  margin-top: 32px;
}
.search-other-results h2 {
  font-size: 26px;
}
.search-page #search-results {
  margin-bottom: 44px;
}
@media (max-width: 1000px) {
  .checkup-result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .checkup-section-heading {
    display: block;
    margin-bottom: 20px;
  }
  .checkup-section-heading h2 {
    font-size: 27px;
  }
  .checkup-section-heading > span {
    display: block;
    padding-top: 12px;
  }
  .checkup-result-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .checkup-result {
    padding: 22px;
    border-radius: 22px;
  }
  .checkup-result h3 {
    font-size: 25px;
  }
  .checkup-focus {
    font-size: 16px;
  }
  .checkup-value {
    font-size: 15px;
  }
  .checkup-highlights {
    font-size: 14px;
  }
  .checkup-price strong {
    font-size: 26px;
  }
  .checkup-composition summary {
    font-size: 15px;
    min-height: 50px;
  }
  .checkup-composition ul {
    font-size: 14px;
  }
  .checkup-help {
    display: block;
    padding: 24px;
  }
  .checkup-help .btn {
    margin-top: 22px;
    width: 100%;
    white-space: normal;
  }
  .checkup-source-note {
    font-size: 12px;
  }
  .checkup-section-heading p {
    font-size: 15px;
  }
}
.catalog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 28px 0 18px;
}
.catalog-heading h2 {
  font-size: 26px;
  margin: 0;
}
.catalog-count {
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}
.service-catalog {
  gap: 16px;
}
.service-catalog .service-category {
  min-height: 112px;
  padding: 22px 24px;
  border: 1px solid transparent;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.service-category-copy {
  min-width: 0;
  flex: 1;
}
.service-catalog h3 {
  font-size: 19px;
  line-height: 1.45;
  font-weight: 600;
}
.service-catalog .arrow {
  margin-left: 0;
  flex-shrink: 0;
}
.service-category:hover {
  background: #efe1eb;
  border-color: var(--lilac);
}
.service-catalog .tile-icon {
  width: 52px;
  height: 52px;
}
@media (max-width: 600px) {
  .catalog-heading {
    margin-top: 24px;
    gap: 12px;
  }
  .catalog-heading h2 {
    font-size: 21px;
  }
  .catalog-count {
    font-size: 12px;
  }
  .service-catalog {
    gap: 12px;
  }
  .service-catalog .service-category {
    min-height: 100px;
    padding: 18px 16px;
    gap: 14px;
  }
  .service-catalog h3 {
    font-size: 17px;
    line-height: 1.5;
  }
  .service-catalog .tile-icon {
    width: 42px;
    height: 42px;
  }
  .service-catalog .tile-icon svg {
    width: 24px;
    height: 24px;
  }
  .service-catalog .arrow {
    font-size: 22px;
  }
}
.body-text a.btn.primary {
  color: #fff;
  text-decoration: none;
}
.body-text a.btn.secondary {
  color: var(--purple);
  text-decoration: none;
}
.news-card .read {
  justify-content: flex-end;
}
.doctor-credentials {
  font-size: 14px;
  line-height: 1.5;
  color: var(--purple);
  margin-top: 10px;
}
.profile-credentials {
  display: grid;
  gap: 10px;
  background: var(--soft);
  border-radius: 16px;
  padding: 16px;
  margin-top: 20px;
}
.profile-credentials dt {
  font-size: 14px;
  color: var(--muted);
}
.profile-credentials dd {
  font-size: 16px;
  color: var(--purple);
  margin: 4px 0 0;
}
.doctor-card a.portrait {
  display: block;
}
.news-card .read b {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f6edf4;
  width: 40px;
  height: 40px;
  font-size: 22px;
  font-weight: 400;
}
button,
a,
input,
select,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #a6498c;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.header .nav {
  font-size: 14px;
  gap: 15px;
}
.header .city {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  white-space: nowrap;
}
.header .header-contact {
  font-size: 14px;
}
.header .write {
  background: none;
  padding: 0;
  font-size: 13px;
  cursor: pointer;
}
.header a:hover,
.footer a:hover {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.header .btn:hover {
  color: white;
  text-decoration: none;
  filter: brightness(1.08);
}
.search-icon {
  display: flex;
  align-items: center;
}
.brand {
  min-width: 82px;
}
.brand img {
  object-fit: contain;
}
.mobile-menu {
  align-items: center;
  justify-content: center;
}
.footer-brand > a > img {
  width: 128px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 12px;
}
.footer .socials img {
  width: 25px;
  height: 25px;
  margin: 0;
}
.footer li {
  font-size: 13px;
}
.footer h3 {
  font-size: 14px;
}
.footer-bottom {
  font-size: 12px;
}
.footer-brand p {
  font-size: 13px;
}
.mobile-actions > a,
.mobile-actions > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mobile-actions .btn {
  padding: 10px 22px;
}
.searchbox input {
  border: 0;
  background: transparent;
  outline: 0;
  width: 100%;
  min-width: 0;
  color: var(--ink);
  font-size: 16px;
  height: 100%;
}
.searchbox:focus-within {
  box-shadow: 0 0 0 3px #d8b4ce;
}
.searchbox input:focus-visible {
  outline: 0;
}
.searchbox input::placeholder {
  color: var(--muted);
}
.searchbox > span {
  font-size: 26px;
  color: var(--purple);
}
.link-row {
  width: 100%;
  text-align: left;
  color: var(--ink);
  background: transparent;
}
.link-row:hover {
  background: #fbf8fa;
}
.tile {
  width: 100%;
  text-align: left;
  color: var(--ink);
}
.tile:hover {
  background: #eee1eb;
}
.chip {
  cursor: pointer;
}
.tabs a:hover,
.tabs button:hover {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 7px;
}
.tabs button {
  background: none;
  color: var(--purple);
  padding: 0;
  font-size: 14px;
}
.doctor-card .actions a:hover {
  text-decoration: underline;
}
.document-row .download {
  padding: 8px;
}
.document-row a:hover {
  color: var(--purple);
}
.program-card small,
.program-card ul,
.tile p,
.chip,
.row-block small,
.doctor-card .role,
.doctor-card .actions {
  font-size: 14px;
}
.doctor-card .btn {
  font-size: 14px;
}
.note {
  font-size: 13px;
}
.news-card .meta {
  font-size: 12px;
}
.news-card p,
.news-card .read {
  font-size: 14px;
}
.role {
  font-size: 16px;
}
.btn {
  transition:
    background 0.15s ease,
    box-shadow 0.15s ease;
}
.btn:hover {
  box-shadow: 0 4px 14px #60154d1b;
}
.portrait .avatar-placeholder {
  font-size: 56px;
}
.filter-feedback {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 20px;
}
.filter-feedback:empty {
  display: none;
}
.filter-empty {
  margin: 18px 0;
}
.filter-empty .btn {
  margin-top: 22px;
}
.search-result-list {
  display: grid;
  gap: 14px;
}
.search-result {
  position: relative;
  padding: 24px 60px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.search-result:hover {
  border-color: var(--lilac);
  background: #fbf8fa;
}
.search-result small {
  color: var(--muted);
  font-size: 14px;
}
.search-result h3 {
  margin-top: 6px;
}
.search-result > span {
  position: absolute;
  right: 25px;
  top: 40px;
  color: var(--purple);
  font-size: 24px;
}
.back-to-hub {
  flex-shrink: 0;
  padding: 9px 0;
  color: var(--purple);
  font-size: 14px;
  font-weight: 600;
}
.prototype-page-label {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
}
.prototype-page-label > strong {
  color: var(--purple);
}
.prototype-page-label > span {
  white-space: nowrap;
}
.draft-status {
  font-size: 12px;
  color: var(--muted);
}
.tool-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--purple);
  font-size: 13px;
  line-height: 1.3;
}
.edit-tool {
  background: var(--soft);
  border-color: var(--soft);
}
.save-tool {
  background: var(--purple);
  border-color: var(--purple);
  color: white;
}
.draft-menu {
  position: relative;
}
.draft-menu summary {
  padding: 9px;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
  font-size: 13px;
}
.draft-menu summary::-webkit-details-marker {
  display: none;
}
.draft-menu > div {
  position: absolute;
  top: 44px;
  right: 0;
  min-width: 226px;
  background: #fff;
  box-shadow: 0 12px 30px #36202b20;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  padding: 7px;
  z-index: 70;
}
.draft-menu > div > button {
  display: block;
  background: none;
  padding: 12px;
  width: 100%;
  text-align: left;
  color: var(--ink);
  font-size: 14px;
  border-radius: 10px;
}
.draft-menu > div > button:hover {
  background: var(--soft);
}
.hide-toolbar {
  background: none;
  color: var(--muted);
  font-size: 24px;
  min-width: 30px;
  min-height: 36px;
  padding: 0;
}
.prototype-pill {
  position: fixed;
  bottom: 22px;
  left: 20px;
  background: var(--purple);
  color: #fff;
  padding: 10px 16px;
  border-radius: 25px;
  box-shadow: 0 5px 25px #60154d25;
  z-index: 80;
  font-size: 13px;
}
.prototype-sequence {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  border-top: 1px solid var(--line);
  margin-top: 52px;
  padding: 24px 0 0;
  font-size: 14px;
  color: var(--purple);
}
.prototype-sequence a {
  max-width: 48%;
}
.prototype-sequence a:hover {
  text-decoration: underline;
}
.editing-prototype [data-edit-id] {
  outline: 1px dashed #a6498c;
  outline-offset: 4px;
  cursor: text;
  border-radius: 3px;
  min-height: 1em;
}
.editing-prototype [data-edit-id]:focus {
  outline: 2px solid #60154d;
  background: #fff7fc;
}
#prototype-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: #2b2029;
  color: white;
  padding: 12px 20px;
  border-radius: 14px;
  font-size: 14px;
  box-shadow: 0 10px 30px #0002;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: 0.18s;
  max-width: min(90%, 600px);
  text-align: center;
}
#prototype-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.modal-open {
  overflow: hidden;
}
.clinic-dialog {
  border: 1px solid var(--line);
  border-radius: 26px;
  max-width: 550px;
  width: calc(100% - 32px);
  max-height: 85svh;
  padding: 34px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 20px 80px #2b202930;
}
.clinic-dialog::backdrop {
  background: #2b202966;
  backdrop-filter: blur(3px);
}
.clinic-dialog h2 {
  font-size: 28px;
  padding-right: 25px;
  margin-bottom: 20px;
}
.clinic-dialog p {
  margin-bottom: 18px;
  color: var(--muted);
}
.clinic-dialog .booking-context {
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
}
.dialog-close {
  position: absolute;
  right: 18px;
  top: 16px;
  font-size: 26px;
  color: var(--purple);
  background: var(--soft);
  border-radius: 50%;
  width: 36px;
  height: 36px;
}
.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}
.dialog-phone {
  font-size: 24px;
  color: var(--purple);
  display: block;
  margin: 24px 0 10px;
}
.contact-choices {
  display: grid;
  gap: 10px;
}
.contact-choice {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px;
}
.contact-choice > span:last-child {
  margin-left: auto;
  color: var(--purple);
}
.contact-choice .social {
  flex-shrink: 0;
}
.contact-choice:hover {
  background: var(--soft);
}
.dialog-nav {
  display: grid;
  gap: 0;
}
.dialog-nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  color: var(--purple);
}
.clinic-dialog .socials {
  margin-top: 20px;
}
.clinic-dialog .note {
  font-size: 13px;
  margin: 20px 0 0;
}
.field label {
  font-size: 14px;
}
.field input.input {
  display: block;
  width: 100%;
  min-width: 0;
  font-size: 16px;
  height: 50px;
  color: var(--ink);
  background: #fff;
}
.field input:focus {
  outline: 3px solid var(--lilac);
  outline-offset: 2px;
}
.field input[aria-invalid="true"] {
  border-color: #b52b3e;
}
.field-error {
  color: #a3283c;
  font-size: 13px;
  display: block;
  margin-top: 6px;
  line-height: 1.45;
}
.field-error:empty {
  display: none;
}
.form-prototype-note {
  background: var(--soft);
  padding: 16px 18px;
  border-radius: 14px;
  color: var(--purple);
  font-size: 14px;
  margin-bottom: 24px;
}
.form-result {
  padding: 18px;
  border-radius: 14px;
  margin-top: 20px;
  font-size: 15px;
}
.form-result.success {
  background: #eaf5ee;
  color: #255537;
}
.form-result.error {
  background: #fcf0f2;
  color: #9a273b;
}
#hub-count {
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.template-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 20px #60154d03;
  transition:
    border-color 0.15s,
    transform 0.15s;
}
.template-card:hover {
  transform: translateY(-2px);
  border-color: var(--lilac);
}
.template-cover {
  display: block;
  height: 200px;
  background: #f7f2f5;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 10px 12px 0;
}
.template-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border: 1px solid #eee6ec;
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
}
.template-copy {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.template-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
}
.template-meta strong {
  color: var(--purple);
  font-size: 13px;
}
.template-copy h2 {
  font-size: 22px;
  line-height: 1.35;
  font-weight: 500;
  min-height: 60px;
  margin-bottom: 22px;
  letter-spacing: -0.025em;
}
.template-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  margin-top: auto;
  margin-bottom: 12px;
  font-size: 14px;
}
.open-template {
  color: var(--purple);
  font-weight: 600;
  display: flex;
  gap: 14px;
}
.phone-template {
  font-size: 13px;
  color: var(--muted);
  padding: 8px;
  border-radius: 10px;
  background: #f8f5f7;
}
.template-copy > small {
  color: var(--muted);
  font-size: 12px;
}
#hub-empty {
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 22px;
}
@media (max-width: 1300px) {
  .prototype-page-label > span,
  .draft-status {
    display: none;
  }
}
@media (max-width: 1000px) {
  .header .mobile-menu {
    display: flex;
  }
  .template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #hub-count {
    margin-left: 0;
  }
}
@media (max-width: 720px) {
  .prototype-page-label {
    margin-left: auto;
  }
  .draft-menu summary {
    font-size: 12px;
    padding: 8px 5px;
  }
  .hide-toolbar {
    margin-left: auto;
  }
  .prototype-pill {
    bottom: 86px;
    left: 14px;
  }
  .prototype-sequence {
    font-size: 13px;
    line-height: 1.6;
  }
  .template-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .template-cover {
    height: 220px;
  }
  .template-copy h2 {
    min-height: 0;
  }
  .template-meta {
    font-size: 13px;
  }
  .template-actions {
    font-size: 15px;
  }
  .clinic-dialog {
    padding: 26px 22px;
    border-radius: 24px;
  }
  .clinic-dialog h2 {
    font-size: 26px;
  }
  .clinic-dialog p {
    font-size: 15px;
  }
  .dialog-actions .btn {
    white-space: normal;
    font-size: 14px;
  }
  .dialog-actions {
    gap: 10px;
  }
  .dialog-phone {
    font-size: 23px;
  }
  #prototype-toast {
    bottom: 85px;
    width: calc(100% - 28px);
    font-size: 13px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .footer li {
    font-size: 13px;
  }
  .footer-bottom {
    font-size: 11px;
  }
  .header .city {
    font-size: 12px;
  }
  .header .brand {
    min-width: 66px;
  }
  .field label {
    font-size: 14px;
  }
  body {
    font-size: 16px;
  }
  .doctor-card .role {
    font-size: 13px;
  }
  .doctor-card .btn {
    font-size: 13px;
  }
  .mobile-actions a:not(.btn),
  .mobile-actions button {
    font-size: 13px;
  }
  .footer-brand > a > img {
    width: 115px;
    height: 96px;
  }
  .news-card .meta {
    font-size: 12px;
  }
  .search-result {
    padding: 20px 50px 20px 20px;
  }
  .search-result h3 {
    font-size: 19px;
  }
  .search-result small {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}

/* Doctor appointment: the same clinic palette, one selection flow. */
.embedded-review {
  scroll-padding-top: 0;
}
.appointment-box {
  border: 1px solid var(--line);
  background: #fbf8fa;
  border-radius: 30px;
  padding: 32px;
  margin: 0 0 44px;
  scroll-margin-top: 20px;
}
.appointment-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}
.appointment-heading .eyebrow {
  margin-bottom: 10px;
}
.appointment-heading h2 {
  font-size: 32px;
  margin-bottom: 10px;
}
.appointment-heading p {
  color: var(--muted);
  font-size: 16px;
}
.appointment-heading h2:focus {
  outline: 0;
}
.appointment-preview {
  color: var(--purple);
  background: var(--soft);
  border-radius: 24px;
  padding: 7px 13px;
  white-space: nowrap;
  font-size: 12px;
}
.appointment-example-note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.appointment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 30px;
  align-items: start;
}
.appointment-options {
  min-width: 0;
}
.appointment-step + .appointment-step {
  margin-top: 26px;
}
.appointment-step-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.appointment-step-heading h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
}
.appointment-step-heading h3 > span {
  width: 28px;
  height: 28px;
  border: 1px solid var(--lilac);
  border-radius: 50%;
  color: var(--purple);
  display: grid;
  place-items: center;
  font-size: 13px;
}
.appointment-step-heading > small {
  font-size: 12px;
  color: var(--muted);
}
.appointment-dates {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}
.appointment-times {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.appointment-dates > button,
.appointment-times > button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 14px;
  min-width: 0;
  min-height: 69px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  padding: 10px 8px;
  line-height: 1.4;
  gap: 2px;
}
.appointment-dates strong {
  font-size: 22px;
}
.appointment-dates button > span,
.appointment-times button > span {
  font-size: 12px;
  color: var(--muted);
}
.appointment-times strong {
  font-size: 17px;
}
.appointment-dates > button:hover,
.appointment-times > button:hover {
  border-color: var(--purple);
}
.appointment-dates > button[aria-pressed="true"],
.appointment-times > button[aria-pressed="true"] {
  background: var(--purple);
  border-color: var(--purple);
  color: white;
}
.appointment-dates > button[aria-pressed="true"] > span,
.appointment-times > button[aria-pressed="true"] > span {
  color: #f2deec;
}
.appointment-groups {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.appointment-groups button {
  padding: 8px 14px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--purple);
  display: flex;
  gap: 8px;
  align-items: center;
}
.appointment-groups button[aria-pressed="true"] {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}
.appointment-groups button > span {
  font-size: 12px;
  opacity: 0.75;
}
.appointment-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.appointment-service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  cursor: pointer;
  min-width: 0;
}
.appointment-service.selected {
  background: var(--soft);
  border-color: var(--purple);
}
.appointment-service:hover {
  border-color: var(--purple);
}
.appointment-service:focus-within {
  outline: 3px solid var(--lilac);
  outline-offset: 3px;
}
.appointment-service input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  flex-shrink: 0;
  accent-color: var(--purple);
}
.appointment-service-copy {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  flex: 1;
}
.appointment-service-copy > strong {
  font-size: 14px;
  line-height: 1.5;
}
.appointment-service-copy > small {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.appointment-service-price {
  color: var(--purple);
  font-size: 17px;
  font-weight: 600;
  margin-top: 4px;
}
.appointment-summary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 23px;
  padding: 22px;
  min-width: 0;
}
.appointment-summary > h3 {
  font-size: 20px;
  margin-bottom: 18px;
}
.appointment-doctor {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.appointment-doctor > img {
  width: 54px;
  height: 66px;
  object-fit: contain;
  object-position: bottom;
  border-radius: 12px;
}
.appointment-doctor strong {
  display: block;
  font-size: 14px;
  line-height: 1.55;
}
.appointment-doctor small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 4px;
}
.appointment-selection dl {
  margin: 20px 0 0;
  display: grid;
  gap: 16px;
}
.appointment-selection dt {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}
.appointment-selection dd {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  font-weight: 500;
}
.appointment-total {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.appointment-total > span {
  font-size: 12px;
  color: var(--muted);
}
.appointment-total > strong {
  color: var(--purple);
  font-size: 26px;
  line-height: 1.3;
}
.appointment-summary .appointment-next {
  font-size: 13px;
  gap: 8px;
  padding: 12px 13px;
  width: 100%;
  min-height: 48px;
  white-space: normal;
  text-align: center;
  line-height: 1.45;
}
.appointment-next[aria-disabled="true"] {
  background: #eee8ec;
  color: #756974;
  cursor: default;
  box-shadow: none;
}
.appointment-summary-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 14px;
}
.doctor-biography {
  display: block;
}
.doctor-biography .body-text {
  max-width: 820px;
}
.doctor-biography .body-text h2 {
  scroll-margin-top: 90px;
}
.related-doctors {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.related-doctors .doctor-card .portrait {
  height: 190px;
}
.related-doctors .doctor-card .info {
  margin-bottom: 22px;
}
.related-doctors .doctor-card .role {
  min-height: 0;
  font-size: 13px;
}
.related-doctors .doctor-card h3 {
  min-height: 0;
  font-size: 18px;
}
.related-doctors .actions {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  gap: 12px;
  flex-wrap: wrap;
}
.related-doctors .doctor-profile-link {
  font-size: 14px;
  white-space: nowrap;
}
.related-doctors .doctor-profile-link > span {
  margin-left: 6px;
}

/* Saved article images stay whole; compact cards fill the section width. */
.publications-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 22px;
}
.publications-heading h2 {
  margin: 0;
}
.publications-heading > a {
  font-size: 14px;
  color: var(--purple);
  white-space: nowrap;
}
.publications-heading > a > span {
  margin-left: 8px;
}
.publication-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.publication-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  transition:
    border-color 0.15s,
    background 0.15s;
  min-height: 235px;
}
.publication-card:hover {
  border-color: var(--purple);
  background: #fbf8fa;
}
.publication-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  background: #f8f4f7;
  border-right: 1px solid var(--line);
}
.publication-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 13px;
}
.publication-copy {
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.publication-copy .meta {
  font-size: 12px;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 12px;
}
.publication-copy h3 {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.5;
}
.publication-arrow {
  margin-top: auto;
  padding-top: 1px;
  align-self: flex-end;
  color: var(--purple);
  display: grid;
  place-items: center;
  background: var(--soft);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 22px;
}
@media (max-width: 1100px) {
  .appointment-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 22px;
  }
  .appointment-box {
    padding: 26px;
  }
  .appointment-services {
    grid-template-columns: 1fr;
  }
  .publication-card {
    grid-template-columns: 135px minmax(0, 1fr);
  }
  .publication-copy {
    padding: 20px;
  }
  .publication-copy h3 {
    font-size: 18px;
  }
}
@media (max-width: 850px) {
  .appointment-layout {
    grid-template-columns: 1fr;
  }
  .appointment-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
  }
  .appointment-summary > h3,
  .appointment-summary .appointment-summary-note {
    grid-column: 1/-1;
  }
  .appointment-doctor {
    align-self: start;
    border: 0;
  }
  .appointment-selection {
    grid-column: 2;
    grid-row: 2/5;
  }
  .appointment-selection dl {
    margin-top: 0;
  }
  .appointment-summary .appointment-next {
    align-self: end;
  }
  .publication-grid {
    grid-template-columns: 1fr;
  }
  .publication-card {
    grid-template-columns: 180px minmax(0, 1fr);
    min-height: 220px;
  }
  .related-doctors .three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .appointment-box {
    padding: 22px 16px;
    border-radius: 24px;
    margin-bottom: 32px;
    scroll-margin-top: 16px;
  }
  .appointment-heading {
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
  }
  .appointment-heading h2 {
    font-size: 27px;
  }
  .appointment-heading .eyebrow {
    font-size: 10px;
  }
  .appointment-heading p {
    font-size: 15px;
  }
  .appointment-preview {
    padding: 5px 11px;
    font-size: 11px;
  }
  .appointment-example-note {
    font-size: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
  }
  .appointment-step-heading h3 {
    font-size: 18px;
  }
  .appointment-step-heading > small {
    font-size: 11px;
  }
  .appointment-dates {
    gap: 6px;
  }
  .appointment-dates > button {
    border-radius: 12px;
    padding: 8px 4px;
    min-height: 64px;
  }
  .appointment-dates strong {
    font-size: 20px;
  }
  .appointment-times {
    gap: 7px;
  }
  .appointment-times > button {
    border-radius: 12px;
    padding: 8px 4px;
    min-height: 62px;
  }
  .appointment-step + .appointment-step {
    margin-top: 24px;
  }
  .appointment-service {
    padding: 15px;
  }
  .appointment-service-copy > strong {
    font-size: 15px;
  }
  .appointment-service-copy > small {
    font-size: 12px;
  }
  .appointment-service-price {
    font-size: 18px;
  }
  .appointment-summary {
    display: block;
    padding: 20px;
    border-radius: 20px;
  }
  .appointment-doctor {
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
  }
  .appointment-selection dl {
    margin-top: 18px;
    gap: 14px;
  }
  .appointment-total {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }
  .appointment-total > span {
    max-width: 140px;
  }
  .appointment-total > strong {
    font-size: 24px;
  }
  .appointment-summary .appointment-next {
    font-size: 14px;
    min-height: 50px;
  }
  .doctor-biography .body-text h2 {
    scroll-margin-top: 16px;
  }
  .related-doctors .three {
    grid-template-columns: 1fr;
  }
  .related-doctors .doctor-card .portrait {
    height: 146px;
  }
  .related-doctors .doctor-card .info {
    margin: 0;
  }
  .related-doctors .doctor-card h3 {
    font-size: 17px;
  }
  .related-doctors .actions {
    padding-top: 16px;
    grid-column: 1/-1;
  }
  .publications-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .publications-heading h2 {
    font-size: 25px;
  }
  .publication-card {
    grid-template-columns: 100px minmax(0, 1fr);
    border-radius: 20px;
    min-height: 210px;
  }
  .publication-image {
    padding: 9px;
  }
  .publication-image img {
    border-radius: 9px;
  }
  .publication-copy {
    padding: 17px 15px;
  }
  .publication-copy .meta {
    font-size: 11px;
    gap: 4px;
  }
  .publication-copy h3 {
    font-size: 16px;
    line-height: 1.5;
  }
  .publication-arrow {
    margin-top: 12px;
    padding-top: 0;
    width: 30px;
    height: 30px;
    font-size: 20px;
  }
}

/* Shared catalogue: one device choice for all landing pages. */
#hub-device-note {
  font-size: 13px;
  color: var(--muted);
  flex: 1;
  min-width: 200px;
  max-width: 360px;
}
.open-template {
  font-size: 14px;
}
.phone-template {
  white-space: nowrap;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
@media (max-width: 720px) {
  #hub-device-note {
    min-width: 0;
    flex-basis: 100%;
    max-width: none;
  }
  .template-actions {
    gap: 10px;
  }
  .open-template {
    gap: 8px;
    font-size: 14px;
  }
}

/* The same verified facts remain visible on desktop and mobile. */
.doctor-specialty-mobile {
  display: none;
}
.doctor-directory-note {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 20px;
  line-height: 1.6;
}
.doctor-directory-card .doctor-card-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 10px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin: 18px 0 22px;
}
.doctor-card-facts div {
  min-width: 0;
}
.doctor-card-facts dt {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 5px;
}
.doctor-card-facts dd {
  font-size: 14px;
  font-weight: 600;
  color: var(--purple);
  line-height: 1.5;
  margin: 0;
  overflow-wrap: anywhere;
}
.doctor-card-facts .doctor-fact-wide {
  grid-column: 1/-1;
}
.doctor-directory-card .role {
  min-height: 40px;
}
.doctor-directory-card .info {
  min-height: 100px;
}
.doctor-directory-card .actions a {
  white-space: nowrap;
}
.doctor-specialties .chip {
  cursor: pointer;
}
@media (max-width: 720px) {
  .doctor-specialties {
    display: none;
  }
  .doctor-specialty-mobile {
    display: block;
    margin: 20px 0;
  }
  .doctor-specialty-mobile > span {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 8px;
  }
  .doctor-specialty-mobile select {
    width: 100%;
    max-width: 100%;
    min-height: 52px;
    padding: 12px 38px 12px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #f8f5f7;
    color: var(--purple);
    font: inherit;
    font-size: 16px;
  }
  .doctor-directory-card .doctor-card-facts {
    grid-column: 1/-1;
    margin: 0 0 4px;
    gap: 14px 20px;
  }
  .doctor-directory-card .doctor-card-facts dt {
    font-size: 13px;
  }
  .doctor-directory-card .doctor-card-facts dd {
    font-size: 15px;
  }
  .doctor-directory-card .role {
    min-height: 0;
  }
  .doctor-directory-card .info {
    min-height: 0;
  }
  .doctor-directory-note {
    font-size: 12px;
    line-height: 1.6;
  }
  .doctor-directory-card .actions {
    padding-top: 8px;
  }
  .doctor-directory-card .portrait {
    align-self: center;
  }
}

/* Verified public documents, preparation and clinic presentation. */
.header .header-phone-action,
.header .write {
  display: flex;
  align-items: center;
  gap: 7px;
}
.header .header-phone-action svg,
.header .write svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: var(--purple);
}
.header .write {
  margin-top: 6px;
}
.header .header-phone-action {
  white-space: nowrap;
}
.contacts-route-actions .btn .route-brand {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}
.contacts-route-actions .btn .route-label {
  flex: 1;
  text-align: left;
}
.contacts-route-actions .btn .route-arrow {
  flex-shrink: 0;
}
.schedule-directory {
  display: grid;
  gap: 12px;
}
.schedule-directory .schedule-row {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 18px;
}
.schedule-directory .schedule-photo {
  width: 56px;
  height: 70px;
  object-fit: contain;
  align-self: end;
}
.schedule-directory .schedule-row .btn {
  font-size: 13px;
  white-space: normal;
  min-height: 46px;
}
.schedule-directory .schedule-row small {
  font-size: 13px;
}
.schedule-directory .schedule-row a:hover {
  color: var(--purple);
}
.schedule-directory-note {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 22px;
}
.schedule-directory .schedule-profile {
  display: inline-flex;
  color: var(--purple);
  font-size: 13px;
  margin-top: 8px;
}
.schedule-directory .schedule-row h3 {
  font-size: 18px;
}
@media (max-width: 720px) {
  .schedule-directory .schedule-row {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    padding: 18px;
    border-radius: 18px;
  }
  .schedule-directory .schedule-photo {
    width: 48px;
    height: 58px;
    align-self: start;
  }
  .schedule-directory .schedule-row > .btn {
    grid-column: 1/-1;
    width: 100%;
    font-size: 14px;
    justify-self: stretch;
    margin-top: 4px;
  }
  .schedule-directory .schedule-row h3 {
    font-size: 17px;
    line-height: 1.5;
  }
  .schedule-directory .schedule-row small {
    font-size: 13px;
    line-height: 1.7;
  }
  .schedule-directory-note {
    font-size: 12px;
  }
  .contacts-route-actions .btn .route-brand {
    width: 29px;
    height: 29px;
  }
}
.contacts-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contacts-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  min-width: 0;
}
.contacts-panel h2 {
  font-size: 25px;
  margin-bottom: 16px;
}
.contacts-call {
  background: var(--soft);
  border-color: var(--soft);
}
.contacts-label {
  font-size: 13px;
  color: var(--muted);
  display: block;
}
.contacts-main-number {
  display: block;
  font-size: 31px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--purple);
  margin: 12px 0 22px;
  white-space: nowrap;
}
.contacts-call-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.contacts-call-actions .btn {
  padding: 12px 14px;
  white-space: normal;
  font-size: 14px;
  min-height: 50px;
}
.contacts-call-actions .secondary {
  background: #fff;
}
.contacts-other-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 24px;
  font-size: 14px;
}
.contacts-other-links a {
  color: var(--purple);
  overflow-wrap: anywhere;
}
.contacts-other-links a:hover,
.contacts-parking-details:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.contacts-location {
  margin: 0 0 20px;
}
.contacts-location span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 5px;
}
.contacts-location strong {
  display: block;
  font-size: 22px;
  line-height: 1.4;
}
.contacts-hours {
  margin: 0;
}
.contacts-hours > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 47px;
  border-top: 1px solid var(--line);
  padding: 10px 0;
}
.contacts-hours dt {
  font-size: 14px;
  color: var(--muted);
}
.contacts-hours dd {
  font-size: 15px;
  font-weight: 600;
  color: var(--purple);
  margin: 0;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hours-short {
  display: none;
}
.contacts-map {
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: var(--soft);
}
.contacts-map iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}
.contacts-route-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 20px;
  background: white;
}
.contacts-route-actions .btn {
  justify-content: space-between;
  padding: 12px 20px;
  min-height: 52px;
  white-space: normal;
  font-size: 14px;
}
.contacts-taxi {
  background: #ffe7a3;
  color: var(--ink);
}
.contacts-arrival {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 24px;
  margin-bottom: 30px;
}
.contacts-entrance {
  margin: 0;
  min-width: 0;
}
.contacts-entrance img {
  width: 100%;
  height: 315px;
  object-fit: cover;
  border-radius: 24px;
}
.contacts-entrance figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}
.contacts-parking {
  background: var(--soft);
  border-color: var(--soft);
}
.contacts-parking > p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}
.contacts-parking-call {
  position: relative;
  display: block;
  padding: 18px 46px 18px 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  margin: 22px 0;
  color: var(--purple);
}
.contacts-parking-call strong {
  display: block;
  font-size: 25px;
  line-height: 1.4;
  margin-top: 5px;
  white-space: nowrap;
}
.contacts-parking-arrow {
  position: absolute;
  right: 18px;
  top: 29px;
  font-size: 24px;
}
.contacts-parking-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  color: var(--purple);
  font-size: 14px;
  line-height: 1.6;
}
.contacts-parking-details > span {
  font-size: 23px;
  flex-shrink: 0;
}
@media (max-width: 1000px) {
  .contacts-overview,
  .contacts-arrival {
    gap: 18px;
  }
  .contacts-panel {
    padding: 24px;
  }
  .contacts-panel h2 {
    font-size: 23px;
  }
  .contacts-main-number {
    font-size: 27px;
  }
  .contacts-call-actions {
    grid-template-columns: 1fr;
  }
  .contacts-other-links {
    flex-direction: column;
    gap: 10px;
  }
  .contacts-location strong {
    font-size: 20px;
  }
  .contacts-parking-call strong {
    font-size: 23px;
  }
}
@media (max-width: 720px) {
  .contacts-overview,
  .contacts-arrival {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .contacts-panel {
    padding: 22px;
    border-radius: 22px;
  }
  .contacts-panel h2 {
    font-size: 22px;
    line-height: 1.35;
    margin-bottom: 14px;
  }
  .contacts-main-number {
    font-size: 27px;
    letter-spacing: -0.025em;
    margin: 12px 0 20px;
  }
  .contacts-call-actions {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .contacts-call-actions .btn {
    font-size: 13px;
    min-height: 48px;
    padding: 11px 12px;
  }
  .contacts-other-links {
    margin-top: 20px;
    font-size: 14px;
    gap: 12px;
  }
  .contacts-location {
    margin-bottom: 18px;
  }
  .contacts-location strong {
    font-size: 20px;
    line-height: 1.5;
  }
  .contacts-hours > div {
    min-height: 46px;
    padding: 12px 0;
    gap: 12px;
  }
  .contacts-hours dt,
  .contacts-hours dd {
    font-size: 15px;
  }
  .hours-long {
    display: none;
  }
  .hours-short {
    display: inline;
  }
  .contacts-route-section {
    margin-top: 32px;
  }
  .contacts-route-section > h2 {
    font-size: 26px;
    margin-bottom: 18px;
  }
  .contacts-map {
    border-radius: 22px;
  }
  .contacts-map iframe {
    height: 330px;
  }
  .contacts-route-actions {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px;
  }
  .contacts-route-actions .btn {
    min-height: 48px;
    font-size: 14px;
    padding: 12px 18px;
  }
  .contacts-arrival {
    margin-top: 28px;
  }
  .contacts-entrance img {
    height: auto;
    aspect-ratio: 3/2;
    border-radius: 22px;
  }
  .contacts-entrance figcaption {
    font-size: 12px;
    margin-top: 10px;
  }
  .contacts-parking > p {
    font-size: 14px;
  }
  .contacts-parking-call {
    margin: 18px 0;
    padding: 15px 42px 15px 15px;
  }
  .contacts-parking-call strong {
    font-size: 24px;
  }
  .contacts-parking-arrow {
    top: 26px;
    right: 15px;
  }
  .contacts-parking-details {
    font-size: 14px;
  }
  .contacts-parking .contacts-label {
    font-size: 12px;
  }
}
@media (max-width: 360px) {
  .contacts-panel {
    padding: 18px;
  }
  .contacts-main-number {
    font-size: 24px;
  }
  .contacts-parking-call strong {
    font-size: 22px;
  }
  .contacts-call-actions {
    grid-template-columns: 1fr;
  }
}
body[data-page="T12_contacts.html"] .parking {
  flex-wrap: wrap;
}
body[data-page="T12_contacts.html"] .parking > div {
  flex: 1 1 400px;
}
body[data-page="T12_contacts.html"] .parking .btn {
  white-space: normal;
}
@media (max-width: 720px) {
  body[data-page="T12_contacts.html"] .parking > div {
    flex-basis: auto;
  }
  body[data-page="T12_contacts.html"] .parking .btn {
    width: 100%;
  }
}
.document-shortcuts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.document-shortcuts > a {
  padding: 12px 18px;
  background: var(--soft);
  border-radius: 16px;
  color: var(--purple);
  font-size: 14px;
  min-height: 46px;
}
.document-shortcuts > a:hover {
  background: #eee1eb;
}
.document-library .document-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.document-copy {
  min-width: 0;
}
.document-copy h3 {
  font-size: 18px;
  line-height: 1.5;
}
.document-copy h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.document-copy small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 7px;
}
.document-library .document-icon {
  font-size: 12px;
  background: var(--soft);
  border-radius: 14px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 62px;
  color: var(--purple);
}
.document-library .download {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--purple);
  font-size: 13px;
  min-height: 46px;
  white-space: nowrap;
}
.document-library .download b {
  font-size: 24px;
}
.source-check {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin: 22px 0 0;
  overflow-wrap: anywhere;
}
.source-check a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.compact .document-row {
  padding: 16px 0;
  grid-template-columns: 45px minmax(0, 1fr) auto;
  gap: 14px;
}
.compact .document-copy h3 {
  font-size: 16px;
}
.compact .document-icon {
  width: 45px;
  height: 52px;
}
.patient-quick {
  gap: 16px;
}
.patient-quick .soft-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.patient-quick h3 {
  font-size: 18px;
}
.patient-quick p {
  font-size: 14px;
  color: var(--muted);
}
.patient-quick span {
  color: var(--purple);
  font-size: 24px;
  margin-top: auto;
}
.section-lead {
  font-size: 15px;
  margin-bottom: 24px;
}
.patient-topics {
  display: grid;
  gap: 10px;
}
.patient-topic {
  border: 1px solid var(--line);
  border-radius: 18px;
  scroll-margin-top: 24px;
  background: white;
  overflow: hidden;
}
.patient-topic summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  padding: 22px 24px;
  min-height: 70px;
}
.patient-topic summary::-webkit-details-marker {
  display: none;
}
.patient-topic summary > span {
  flex-shrink: 0;
  font-size: 24px;
  color: var(--purple);
  line-height: 1;
}
.patient-topic[open] summary {
  background: var(--soft);
}
.patient-topic[open] summary > span {
  transform: rotate(45deg);
}
.patient-topic summary:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: -4px;
}
.patient-topic-body {
  padding: 24px;
}
.patient-topic-body p,
.patient-topic-body li {
  font-size: 15px;
}
.patient-topic-body .btn {
  margin: 10px 0;
}
.patient-topic-body a {
  overflow-wrap: anywhere;
}
.patient-topic-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.patient-topic-body td {
  padding: 10px;
  border: 1px solid var(--line);
}
.patient-topic-body img {
  max-height: 360px;
  object-fit: contain;
}
.patient-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 40px 0;
}
.patient-help h2 {
  font-size: 25px;
  margin: 0 0 12px;
}
.patient-help p {
  color: var(--muted);
}
.download-first {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--soft);
  border-radius: 24px;
  padding: 30px;
  margin: 0 0 40px;
}
.download-first h2 {
  margin: 0 0 8px;
  font-size: 27px;
}
.download-first p {
  font-size: 14px;
  color: var(--muted);
}
.download-first .eyebrow {
  display: block;
  margin-bottom: 10px;
}
.trust-rules,
.legal-copy {
  max-width: 840px;
}
.parking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
}
.parking-map {
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  min-width: 0;
  background: var(--soft);
}
.parking-map iframe {
  display: block;
  border: 0;
  width: 100%;
  height: 440px;
}
.parking-map-caption {
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  background: white;
}
.parking-map-caption > a {
  color: var(--purple);
}
.map-legend {
  display: flex;
  gap: 18px;
}
.map-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.map-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.parking-dot {
  background: var(--purple);
}
.clinic-dot {
  background: #9e7d96;
}
.parking-entry {
  align-self: start;
  padding: 26px;
}
.parking-entry h2 {
  font-size: 28px;
}
.parking-entry p {
  font-size: 14px;
  color: var(--muted);
}
.parking-number {
  font-size: 24px;
  color: var(--purple);
  font-weight: 600;
  display: block;
  margin: 22px 0;
}
.parking-entry .btn {
  width: 100%;
  white-space: normal;
}
.parking-clinic-call {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 24px;
}
.parking-clinic-call span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}
.parking-clinic-call a {
  color: var(--purple);
  font-weight: 600;
}
.contact-grid .parking {
  flex-wrap: wrap;
  gap: 14px;
}
.contact-grid .parking .btn {
  white-space: normal;
}
.topic-collections {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.topic-collections > a {
  position: relative;
  padding: 22px;
  border-radius: 22px;
  background: var(--soft);
}
.topic-collections h3 {
  font-size: 18px;
  color: var(--purple);
}
.topic-collections p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  max-width: 90%;
}
.topic-collections span {
  display: block;
  font-size: 22px;
  color: var(--purple);
  margin-top: 14px;
}
.journal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.journal-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  min-height: 250px;
  background: white;
}
.journal-feature {
  grid-column: 1/-1;
  grid-template-columns: 42% minmax(0, 1fr);
  min-height: 340px;
  background: var(--soft);
}
.journal-image {
  padding: 16px;
  background: white;
  display: grid;
  place-items: center;
}
.journal-image img {
  width: 100%;
  height: 100%;
  max-height: 260px;
  object-fit: contain;
}
.journal-feature .journal-image {
  padding: 24px;
}
.journal-feature .journal-image img {
  max-height: 340px;
}
.journal-copy {
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.journal-copy .meta {
  font-size: 12px;
  gap: 10px;
  flex-wrap: wrap;
}
.journal-copy h2 {
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 20px;
}
.journal-feature h2 {
  font-size: 32px;
}
.journal-read {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--purple);
  font-size: 14px;
  margin-top: auto;
}
.journal-read b {
  font-size: 24px;
}
.preparation-feature {
  display: grid;
  grid-template-columns: 35% minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  border-radius: 24px;
  overflow: hidden;
  background: var(--soft);
  padding: 0 36px 0 0;
}
.preparation-feature > img {
  width: 100%;
  height: 310px;
  object-fit: cover;
}
.preparation-feature p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.about-hero {
  display: grid;
  grid-template-columns: 48% minmax(0, 1fr);
  border-radius: 30px;
  overflow: hidden;
  background: var(--soft);
}
.about-hero-copy {
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.about-hero h1 {
  font-size: 46px;
  color: var(--purple);
  line-height: 1.2;
  margin: 10px 0 22px;
}
.about-hero-copy > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  max-width: 400px;
}
.about-hero .btn {
  white-space: normal;
  margin-top: 28px;
}
.about-address {
  font-size: 13px;
  color: var(--muted);
  margin-top: 22px;
}
.about-hero figure {
  position: relative;
  margin: 0;
}
.about-hero figure img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: 64% center;
}
.about-hero figcaption {
  position: absolute;
  bottom: 18px;
  left: 20px;
  padding: 9px 14px;
  background: #fffffff0;
  border-radius: 20px;
  font-size: 12px;
  color: var(--purple);
}
.about-section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 28px;
}
.about-section-heading h2 {
  margin: 0;
}
.about-section-heading p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}
.about-advantages > article {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.about-advantages article > span {
  font-size: 13px;
  color: var(--purple);
  margin-bottom: 22px;
}
.about-advantages h3 {
  font-size: 20px;
  margin-bottom: 14px;
}
.about-advantages p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}
.about-advantages a {
  color: var(--purple);
  font-size: 14px;
  margin-top: auto;
}
.about-gallery {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
}
.about-gallery figure {
  margin: 0;
  min-width: 0;
}
.about-gallery .gallery-main {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}
.about-gallery img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 22px;
}
.about-gallery .gallery-main img {
  height: 100%;
  min-height: 490px;
  object-position: 58% center;
}
.about-gallery figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}
.about-visit {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 36px;
  padding: 36px;
}
.about-visit ol {
  list-style: none;
  counter-reset: steps;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
}
.about-visit li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 14px;
}
.about-visit li:before {
  content: counter(steps);
  grid-row: span 2;
  width: 32px;
  height: 32px;
  background: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--purple);
  font-size: 13px;
}
.about-visit li strong {
  font-size: 17px;
}
.about-visit li span {
  font-size: 14px;
  color: var(--muted);
}
.about-final {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 44px;
}
.about-final > div > p {
  color: var(--muted);
}
.about-phone {
  display: block;
  font-size: 29px;
  color: var(--purple);
  margin: 16px 0 22px;
}
.about-documents {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
}
.about-documents h3 {
  margin-bottom: 18px;
}
.about-documents > a {
  display: block;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--purple);
}
@media (max-width: 1000px) {
  .patient-quick,
  .topic-collections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .journal-card {
    grid-template-columns: 140px minmax(0, 1fr);
  }
  .journal-feature {
    grid-template-columns: 40% minmax(0, 1fr);
  }
  .parking-layout {
    grid-template-columns: minmax(0, 1fr) 285px;
  }
  .about-hero h1 {
    font-size: 38px;
  }
  .about-hero-copy {
    padding: 32px 25px;
  }
}
@media (max-width: 720px) {
  .document-library .document-row {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding: 22px 0;
  }
  .document-library .document-icon {
    width: 44px;
    height: 52px;
    font-size: 11px;
  }
  .document-copy h3 {
    font-size: 16px;
  }
  .document-copy small {
    font-size: 12px;
  }
  .document-library .download {
    grid-column: 2;
    justify-self: start;
    padding: 0 !important;
    min-height: 36px;
    margin-top: 0;
  }
  .document-shortcuts {
    flex-direction: column;
  }
  .document-shortcuts > a {
    font-size: 14px;
  }
  .patient-quick .soft-card {
    padding: 18px;
  }
  .patient-quick h3 {
    font-size: 16px;
  }
  .patient-quick p {
    font-size: 13px;
  }
  .patient-topic summary {
    padding: 19px 16px;
    font-size: 16px;
    gap: 16px;
  }
  .patient-topic-body {
    padding: 20px 16px;
  }
  .patient-topic-body p,
  .patient-topic-body li {
    font-size: 15px;
  }
  .patient-topic-body table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }
  .patient-help,
  .download-first {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
    gap: 20px;
  }
  .patient-help .btn,
  .download-first .btn {
    width: 100%;
  }
  .trust-rules h2 {
    font-size: 25px;
  }
  .parking-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .parking-map iframe {
    height: 340px;
  }
  .parking-map-caption {
    padding: 15px;
  }
  .parking-entry {
    padding: 24px;
  }
  .parking-entry h2 {
    font-size: 26px;
  }
  .parking-number {
    font-size: 25px;
  }
  .contact-grid .parking {
    display: flex;
    align-items: flex-start;
  }
  .contact-grid .parking .btn {
    width: 100%;
  }
  .topic-collections {
    gap: 10px;
  }
  .topic-collections > a {
    padding: 18px;
  }
  .topic-collections h3 {
    font-size: 16px;
  }
  .topic-collections p {
    font-size: 12px;
    max-width: none;
  }
  .journal-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .journal-card {
    grid-template-columns: 110px minmax(0, 1fr);
    min-height: 215px;
  }
  .journal-copy {
    padding: 20px 16px;
  }
  .journal-copy h2 {
    font-size: 18px;
  }
  .journal-copy .meta {
    font-size: 11px;
    gap: 5px;
  }
  .journal-feature {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
  .journal-feature .journal-image {
    padding: 20px;
    max-height: 300px;
  }
  .journal-feature .journal-image img {
    max-height: 260px;
  }
  .journal-feature h2 {
    font-size: 24px;
  }
  .journal-feature .journal-copy {
    padding: 24px;
  }
  .journal-read {
    font-size: 13px;
  }
  .preparation-feature {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 0;
  }
  .preparation-feature > img {
    height: 220px;
  }
  .preparation-feature > div {
    padding: 24px;
  }
  .preparation-feature h2 {
    font-size: 26px;
  }
  .preparation-feature p {
    font-size: 15px;
  }
  .about-hero {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }
  .about-hero-copy {
    padding: 30px 24px;
  }
  .about-hero h1 {
    font-size: 37px;
  }
  .about-hero-copy > p {
    font-size: 16px;
  }
  .about-hero .btn {
    font-size: 14px;
    margin-top: 24px;
  }
  .about-hero figure img {
    height: 300px;
    min-height: 0;
    object-position: 64% center;
  }
  .about-section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 22px;
  }
  .about-section-heading h2 {
    font-size: 27px;
  }
  .about-section-heading p {
    font-size: 15px;
  }
  .about-advantages {
    grid-template-columns: 1fr;
  }
  .about-advantages > article {
    padding: 24px;
  }
  .about-advantages article > span {
    margin-bottom: 14px;
  }
  .about-gallery {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-gallery .gallery-main {
    grid-row: auto;
  }
  .about-gallery img {
    height: auto;
    aspect-ratio: 3/2;
    object-fit: cover;
  }
  .about-gallery .gallery-main img {
    height: auto;
    min-height: 0;
    aspect-ratio: 3/2;
  }
  .about-visit {
    grid-template-columns: 1fr;
    padding: 26px;
    gap: 16px;
  }
  .about-visit h2 {
    font-size: 27px;
    margin: 0;
  }
  .about-final {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .about-phone {
    font-size: 27px;
  }
  .about-documents {
    padding: 24px;
  }
}

/* Programme groups and compact descriptions. */
.checkup-group-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}
.checkup-group-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-radius: 24px;
  background: var(--soft);
  color: var(--purple);
  font-size: 14px;
  min-height: 44px;
}
.checkup-group-nav a span {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  background: white;
  font-size: 12px;
}
.checkup-group-nav a:hover {
  background: #ead8e5;
}
.checkup-group {
  margin-top: 36px;
  scroll-margin-top: 130px;
}
.checkup-group + .checkup-group {
  margin-top: 48px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.checkup-group-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.checkup-group-heading h3 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0;
}
.checkup-group-heading > span {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.checkup-pair-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.checkup-pair-grid .checkup-diagram {
  max-width: 360px;
  margin-inline: auto;
}
.checkup-description > summary {
  display: none;
}
.checkup-description > div {
  display: block;
}
.checkup-description:not([open]) > div {
  display: block;
}
.checkup-description summary::-webkit-details-marker {
  display: none;
}
@media (max-width: 720px) {
  .checkup-result-grid,
  .checkup-pair-grid {
    grid-template-columns: 1fr;
  }
  .checkup-group-nav {
    gap: 8px;
  }
  .checkup-group-nav a {
    font-size: 13px;
    padding: 9px 12px;
  }
  .checkup-group-heading {
    align-items: flex-start;
    gap: 14px;
  }
  .checkup-group-heading h3 {
    font-size: 25px;
    line-height: 1.3;
  }
  .checkup-group-heading > span {
    font-size: 12px;
    padding-top: 5px;
  }
  .checkup-group {
    margin-top: 26px;
  }
  .checkup-group + .checkup-group {
    margin-top: 32px;
    padding-top: 24px;
  }
  .checkup-description {
    margin: 0 0 16px;
    border-top: 1px solid var(--line);
  }
  .checkup-description > summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    list-style: none;
    min-height: 48px;
    padding: 12px 0;
    cursor: pointer;
    color: var(--purple);
    font-size: 15px;
    font-weight: 600;
  }
  .checkup-description > summary span {
    font-size: 22px;
    font-weight: 400;
  }
  .checkup-description[open] > summary span {
    transform: rotate(45deg);
  }
  .checkup-description:not([open]) > div {
    display: none;
  }
  .checkup-description .checkup-highlights {
    margin-bottom: 18px;
  }
  .contacts-parking-route {
    width: 100%;
    margin-top: 16px;
    white-space: normal;
  }
  .contacts-parking-route img {
    width: 26px;
    height: 26px;
    object-fit: contain;
  }
}
.contacts-parking-route {
  margin-top: 16px;
}
.contacts-parking-route img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.tax-section-note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 18px;
}
.tax-live-form {
  padding-bottom: 24px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.tax-live-form .btn {
  font-size: 14px;
  width: 100%;
  white-space: normal;
}
.tax-related-documents {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.tax-related-documents a {
  font-size: 14px;
  line-height: 1.6;
  color: var(--purple);
  min-height: 36px;
  display: flex;
  align-items: center;
}
#tax-form [type="submit"] {
  min-height: 48px;
}
#tax-form .form-prototype-note {
  line-height: 1.7;
}
@media (max-width: 600px) {
  #tax-form [type="submit"] {
    width: 100%;
    justify-content: center;
  }
  .tax-live-form .btn {
    font-size: 15px;
    min-height: 48px;
  }
}

/* Original patient app and store branding with exact destination QR codes. */
.medtochka-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}
.medtochka-brand-row .medtochka-brand {
  margin: 0;
  width: 155px;
}
.medtochka-app-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: contain;
}
.app-store-original {
  padding: 20px 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  display: flex;
  align-items: center;
  flex-direction: column;
  min-width: 0;
}
.app-store-original > small {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}
.app-original-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  margin-bottom: 12px;
}
.app-original-badge img {
  width: 150px;
  max-width: 100%;
  height: 50px;
  object-fit: contain;
}
.app-original-qr {
  display: block;
  width: 132px;
  height: 132px;
  background: white;
}
.app-mobile-code {
  display: none;
}
@media (max-width: 720px) {
  .medtochka-brand-row {
    gap: 12px;
    margin-bottom: 22px;
  }
  .medtochka-app-icon {
    width: 48px;
    height: 48px;
  }
  .app-stores-original .app-store-original {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 75px;
    gap: 0 12px;
    padding: 14px 16px;
    align-items: center;
  }
  .app-store-original > small {
    grid-column: 1;
    margin: 0;
    font-size: 11px;
  }
  .app-original-badge {
    grid-column: 1;
    justify-content: flex-start;
    width: 150px;
    margin: 0;
  }
  .app-original-qr {
    display: none;
  }
  .app-mobile-code {
    display: block;
    grid-column: 2;
    grid-row: 1/3;
    color: var(--purple);
    font-size: 13px;
  }
  .app-mobile-code summary {
    display: flex;
    align-items: center;
    gap: 9px;
    list-style: none;
    cursor: pointer;
    min-height: 44px;
  }
  .app-mobile-code summary::-webkit-details-marker {
    display: none;
  }
  .app-mobile-code[open] {
    grid-column: 1/-1;
    grid-row: auto;
  }
  .app-mobile-code[open] summary {
    border-top: 1px solid var(--line);
    margin-top: 10px;
    justify-content: space-between;
  }
  .app-mobile-code[open] summary span {
    transform: rotate(45deg);
  }
  .app-mobile-code img {
    display: block;
    width: 132px;
    height: 132px;
    margin: 10px auto;
    background: white;
  }
}

/* Requested profile details, booking completion, and related doctor facts. */
.profile-credentials.profile-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}
.profile-facts > div {
  min-width: 0;
}
.profile-facts dd {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.appointment-finish {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 24px;
  align-items: center;
  padding-top: 22px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.appointment-finish-selection {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.appointment-finish-selection strong {
  font-size: 15px;
  line-height: 1.5;
}
.appointment-finish-selection span {
  font-size: 13px;
  color: var(--muted);
}
.appointment-finish-selection b {
  font-size: 20px;
  color: var(--purple);
}
.appointment-submit {
  min-width: 190px;
  min-height: 52px;
}
.appointment-finish-note {
  grid-column: 1/-1;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 560px;
}
.related-doctors .doctor-card .info {
  margin-bottom: 0;
}
.related-doctors .doctor-card-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  border-top: 1px solid var(--line);
  margin: 20px 0;
  padding-top: 18px;
}
.related-doctors .doctor-card-facts dt {
  font-size: 12px;
}
.related-doctors .doctor-card-facts dd {
  font-size: 14px;
}
.related-doctors .actions {
  margin-top: auto;
}
@media (max-width: 600px) {
  .profile-credentials.profile-facts {
    gap: 14px;
    padding: 15px;
  }
  .profile-facts dt {
    font-size: 12px;
  }
  .profile-facts dd {
    font-size: 16px;
  }
  .appointment-finish {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
    margin-top: 22px;
    padding-top: 20px;
  }
  .appointment-submit {
    width: 100%;
    font-size: 16px;
    min-height: 52px;
  }
  .appointment-finish-selection strong {
    font-size: 15px;
  }
  .appointment-finish-note {
    font-size: 12px;
  }
  .related-doctors .doctor-card-facts {
    grid-column: 1/-1;
    margin: 18px 0 0;
    gap: 16px;
  }
  .related-doctors .actions {
    margin-top: 18px;
  }
  .related-doctors .doctor-card-facts dd {
    font-size: 15px;
  }
}

/* Desktop composition: short groups share a row; full analysis list stays below. */
@media (min-width: 1001px) {
  #checkup-composition {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
  }
  #checkup-composition .checkup-composition-heading {
    grid-column: 1/-1;
    margin-bottom: 4px;
    gap: 24px;
  }
  #checkup-composition .checkup-composition-heading .note {
    font-size: 12px;
    line-height: 1.55;
    max-width: 360px;
  }
  #checkup-composition .checkup-detail-panels {
    display: contents;
  }
  #checkup-composition .checkup-detail-panel {
    order: 1;
    padding: 20px;
    border-radius: 20px;
    min-width: 0;
  }
  #checkup-composition .checkup-detail-panel h3 {
    font-size: 18px;
    line-height: 1.35;
    margin: 0;
  }
  #checkup-composition .checkup-panel-heading {
    gap: 12px;
    margin-bottom: 12px;
    align-items: baseline;
  }
  #checkup-composition .checkup-panel-heading > span {
    white-space: nowrap;
    font-size: 12px;
  }
  #checkup-composition .checkup-specialist-list {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  #checkup-composition .checkup-specialist-list li {
    font-size: 14px;
    line-height: 1.5;
    padding: 7px 11px;
    border-radius: 9px;
  }
  #checkup-composition .checkup-instrument-list {
    font-size: 14px;
    line-height: 1.55;
    margin-top: 12px;
    padding-left: 18px;
  }
  #checkup-composition .checkup-instrument-list li {
    margin-top: 6px;
  }
  #checkup-composition .checkup-laboratory {
    order: 2;
    grid-column: 1/-1;
    margin: 0;
    border-radius: 20px;
  }
  #checkup-composition .checkup-laboratory summary {
    padding: 16px 20px;
    font-size: 18px;
    gap: 16px;
  }
  #checkup-composition .checkup-laboratory summary > span {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px 16px;
  }
  #checkup-composition .checkup-laboratory small {
    font-size: 12px;
    margin: 0;
  }
  #checkup-composition .checkup-laboratory > div {
    padding: 0 20px 16px;
  }
  #checkup-composition .checkup-laboratory-list {
    gap: 0 24px;
  }
  #checkup-composition .checkup-laboratory-list li {
    padding: 10px 0;
    font-size: 14px;
    line-height: 1.55;
  }
}

/* Profosmotry use the accepted service page layout and verified clinic content. */
.screening-banner .price-panel strong {
  font-size: 25px;
  line-height: 1.4;
  display: block;
  margin: 12px 0 18px;
}
.screening-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--purple);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}
.screening-banner .price-panel .btn {
  margin-top: 20px;
  width: 100%;
}
.screening-intro {
  max-width: 760px;
}
.screening-intro p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
}
.screening-composition-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  align-items: start;
}
.screening-studies {
  display: grid;
  gap: 20px;
}
.screening-composition-grid h3 {
  font-size: 19px;
  margin-bottom: 16px;
}
.screening-composition-grid ul {
  padding-left: 20px;
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}
.screening-composition-grid li + li {
  margin-top: 9px;
}
.screening-composition-grid .screening-specialist-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.screening-composition-grid .screening-specialist-list li {
  margin: 0;
}
.screening-composition-grid .note {
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.screening-booking {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  padding: 28px;
  border-radius: 24px;
  background: var(--soft);
  align-items: center;
}
.screening-booking h2 {
  margin-bottom: 14px;
}
.screening-booking p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.75;
}
.screening-booking-actions {
  display: grid;
  gap: 14px;
  justify-items: start;
}
.screening-booking-actions > a:last-child {
  color: var(--purple);
  font-size: 14px;
}
.screening-source {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 24px;
  max-width: 780px;
}
.screening-source a {
  color: var(--purple);
  text-decoration: underline;
}
.screening-questions .card > span {
  color: var(--purple);
  font-size: 13px;
}
.screening-questions h3 {
  font-size: 18px;
  margin: 12px 0;
}
.screening-questions p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.screening-price-label {
  font-size: 15px;
  color: var(--purple);
  display: block;
  margin: 0 0 24px;
}
.screening-programs h2 {
  font-size: 28px;
  margin-bottom: 14px;
}
.screening-programs p {
  max-width: 440px;
}
.checkup-catalogue .checkup-group-heading h2 {
  font-size: 27px;
  margin: 0;
  line-height: 1.3;
}
/* Colour mini-scenes explain the purpose of each certificate. */
.certificate-row {
  gap: 24px;
}
.certificate-row .certificate-visual {
  box-sizing: border-box;
  width: 96px;
  height: 96px;
  padding: 0;
  border-radius: 20px;
  background: transparent;
  object-fit: contain;
  flex-shrink: 0;
}
.certificate-row > span {
  flex: 1;
  min-width: 0;
  line-height: 1.55;
}
@media (max-width: 1000px) {
  .screening-composition-grid {
    grid-template-columns: 1fr 1fr;
  }
  .screening-composition-grid .screening-specialist-list {
    grid-template-columns: 1fr;
  }
  .screening-booking {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (max-width: 720px) {
  .screening-banner {
    padding: 24px;
  }
  .screening-banner .price-panel strong {
    font-size: 23px;
  }
  .screening-composition-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .screening-studies {
    gap: 16px;
  }
  .screening-composition-grid .screening-specialist-list {
    grid-template-columns: 1fr;
  }
  .screening-booking {
    padding: 24px;
    gap: 20px;
  }
  .screening-booking-actions {
    width: 100%;
  }
  .screening-booking-actions .btn {
    width: 100%;
    white-space: normal;
  }
  .screening-questions {
    grid-template-columns: 1fr;
  }
  .screening-questions .card {
    padding: 22px;
  }
  .screening-programs {
    grid-template-columns: 1fr;
  }
  .screening-programs h2 {
    font-size: 27px;
  }
  .checkup-catalogue .checkup-group-heading h2 {
    font-size: 25px;
  }
  .certificate-row {
    gap: 13px;
    padding: 18px 0;
  }
  .certificate-row .certificate-visual {
    width: 68px;
    height: 68px;
    padding: 0;
    border-radius: 14px;
  }
  .certificate-row > span {
    font-size: 15px;
  }
  .certificate-row > b {
    font-size: 22px;
  }
}
@media (min-width: 1001px) {
  #checkup-composition.checkup-composition-rich {
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 2fr);
    gap: 16px 20px;
  }
  #checkup-composition.checkup-composition-rich > .checkup-detail-panel {
    grid-column: 1;
    grid-row: 2;
  }
  #checkup-composition.checkup-composition-rich
    .checkup-detail-panels
    > .checkup-detail-panel:first-child {
    grid-column: 1;
    grid-row: 3;
  }
  #checkup-composition.checkup-composition-rich
    .checkup-detail-panels
    > .checkup-detail-panel:last-child {
    grid-column: 1;
    grid-row: 4;
  }
  #checkup-composition.checkup-composition-rich > .checkup-laboratory {
    grid-column: 2;
    grid-row: 2/5;
  }
}
/* Complete service search on Prices, using names from the official catalogue. */
.price-catalogue {
  margin-bottom: 40px;
}
.price-catalogue > h2 {
  font-size: 27px;
  margin-bottom: 18px;
}
.price-searchbox {
  margin: 0;
}
.price-searchbox input {
  min-width: 0;
  width: 100%;
}
.price-quick-search {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 13px;
  margin: 14px 0 28px;
}
.price-quick-search > span {
  color: var(--muted);
}
.price-quick-search button {
  background: var(--soft);
  border-radius: 20px;
  padding: 6px 13px;
  color: var(--purple);
  cursor: pointer;
}
.price-direction-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}
.price-direction-heading h3 {
  font-size: 20px;
}
.price-direction-heading > button,
.price-search-heading > button {
  background: none;
  color: var(--purple);
  font-size: 13px;
  cursor: pointer;
}
.price-directions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.price-direction {
  display: flex;
  text-align: left;
  align-items: center;
  gap: 13px;
  background: var(--soft);
  padding: 16px;
  border: 1px solid transparent;
  border-radius: 18px;
  color: var(--purple);
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
  min-width: 0;
}
.price-direction .tile-icon {
  width: 42px;
  height: 42px;
}
.price-direction .tile-icon svg {
  width: 24px;
  height: 24px;
}
.price-direction > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.price-direction-arrow {
  font-size: 21px;
}
.price-direction.active {
  border-color: var(--purple);
  background: #fff;
}
.price-more-directions {
  margin-top: 12px;
}
.price-more-directions > summary {
  list-style: none;
  cursor: pointer;
  font-size: 13px;
  color: var(--purple);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 42px;
  padding: 6px 0;
}
.price-more-directions > summary::-webkit-details-marker {
  display: none;
}
.price-more-directions > summary span {
  font-size: 22px;
}
.price-more-directions[open] > summary span {
  transform: rotate(45deg);
}
.price-more-directions[open] .price-directions {
  margin: 8px 0 16px;
}
.price-search-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  margin: 22px 0 12px;
}
.price-search-heading p {
  font-size: 13px;
  color: var(--muted);
}
.price-result-list {
  border-top: 1px solid var(--line);
}
.price-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px 100px;
  gap: 22px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.price-result-copy {
  min-width: 0;
}
.price-result-copy small {
  color: var(--muted);
  font-size: 12px;
}
.price-result-copy h3 {
  font-size: 16px;
  line-height: 1.55;
  margin-top: 5px;
  overflow-wrap: anywhere;
}
.price-result-copy h3 span {
  color: var(--purple);
  white-space: nowrap;
}
.price-result-values {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.price-result-values > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}
.price-result-values strong {
  color: var(--purple);
  font-size: 16px;
  white-space: nowrap;
}
.price-result-values .price-unconfirmed {
  font-size: 13px;
  line-height: 1.5;
}
.price-result-action {
  font-size: 13px;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-content: flex-end;
  min-height: 44px;
  color: var(--purple);
}
.price-result-action svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.price-show-more {
  margin-top: 20px;
  cursor: pointer;
}
.price-search-note {
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 22px;
  max-width: 850px;
}
@media (max-width: 1000px) {
  .price-directions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .price-result {
    grid-template-columns: minmax(0, 1fr) 200px;
    gap: 12px 20px;
  }
  .price-result-action {
    grid-column: 2;
    justify-content: flex-start;
  }
}
@media (max-width: 720px) {
  .price-catalogue > h2 {
    font-size: 25px;
  }
  .price-searchbox {
    padding: 0 14px;
    gap: 10px;
  }
  .price-searchbox input {
    font-size: 14px;
  }
  .price-quick-search {
    margin-bottom: 24px;
    gap: 8px;
  }
  .price-directions {
    grid-template-columns: 1fr;
  }
  .price-direction {
    padding: 13px 15px;
    font-size: 15px;
  }
  .price-direction .tile-icon {
    width: 40px;
    height: 40px;
  }
  .price-search-heading {
    align-items: flex-start;
    gap: 12px;
  }
  .price-search-heading > button {
    flex-shrink: 0;
    min-height: 32px;
  }
  .price-result {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 15px;
    padding: 18px 0;
  }
  .price-result-copy {
    grid-column: 1/-1;
  }
  .price-result-copy h3 {
    font-size: 16px;
  }
  .price-result-values {
    grid-column: 1;
    font-size: 12px;
    min-width: 0;
  }
  .price-result-values strong {
    font-size: 15px;
  }
  .price-result-action {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
  }
  .price-result-values .price-unconfirmed {
    font-size: 12px;
  }
  .price-result-values > span {
    gap: 12px;
  }
  .price-result-values:not(:has(strong)) {
    align-self: center;
  }
  .price-search-note {
    font-size: 12px;
  }
  .price-show-more {
    width: 100%;
  }
}
.price-direction-heading {
  margin-top: 28px;
}

/* Service prices and preparation notices, approved 19.10.2026. */
.price-panel .service-price-source {
  font-size: 12px;
  line-height: 1.6;
  margin: 10px 0 18px;
  color: var(--muted);
}
.service-price-source a,
.live-prices .price-search-note a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.checkup-timing {
  background: var(--soft);
  border-radius: 18px;
  padding: 18px 22px;
  margin: 22px 0;
  display: grid;
  gap: 6px;
  line-height: 1.6;
}
.checkup-timing > strong {
  font-size: 17px;
  color: var(--purple);
}
.checkup-timing > p {
  font-size: 14px;
  color: var(--ink);
  max-width: 900px;
}
.live-prices-heading {
  margin-bottom: 22px;
}
.live-prices-heading h2 {
  margin-bottom: 8px;
}
.live-prices-heading p {
  font-size: 14px;
  color: var(--muted);
}
.live-price-embed {
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
}
.live-price-embed iframe {
  display: block;
  width: 100%;
  border: 0;
  min-height: 180px;
}
.certificate-fast-track {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.certificate-fast-track > strong {
  display: block;
  color: var(--purple);
  font-size: 21px;
  line-height: 1.4;
}
.certificate-fast-track > p {
  font-size: 14px;
  line-height: 1.6;
  margin: 8px 0 14px;
  color: var(--muted);
}
.certificate-fast-track .btn {
  background: white;
  white-space: normal;
  text-align: center;
  gap: 10px;
}
@media (max-width: 720px) {
  .checkup-timing {
    padding: 16px;
    margin: 18px 0;
    gap: 7px;
  }
  .checkup-timing > strong {
    font-size: 16px;
  }
  .checkup-timing > p {
    font-size: 14px;
  }
  .certificate-fast-track > strong {
    font-size: 20px;
  }
  .certificate-fast-track .btn {
    width: 100%;
  }
  .live-price-embed {
    border-radius: 16px;
  }
}

.live-price-inline {
  margin-top: 20px;
}
.live-price-inline > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 44px;
  font-size: 14px;
  color: var(--purple);
  cursor: pointer;
  list-style: none;
}
.live-price-inline > summary::-webkit-details-marker {
  display: none;
}
.live-price-inline > summary > span {
  font-size: 22px;
}
.live-price-inline[open] > summary > span {
  transform: rotate(45deg);
}
.live-price-inline[open] .live-price-embed {
  margin-top: 14px;
}

.screening-age-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--soft);
  border-radius: 20px;
  padding: 22px 24px;
  margin: 0 0 24px;
  line-height: 1.6;
}
.screening-age-note > div {
  flex: 1;
  min-width: 0;
}
.screening-age-note strong {
  display: block;
  color: var(--purple);
  font-size: 18px;
}
.screening-age-note p {
  font-size: 14px;
  color: var(--ink);
  margin-top: 8px;
}
.screening-age-note .btn {
  max-width: 300px;
  gap: 10px;
  white-space: normal;
  text-align: center;
  flex-shrink: 0;
}
.screening-age-note svg {
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .screening-age-note {
    align-items: stretch;
    flex-direction: column;
    padding: 18px;
    gap: 16px;
  }
  .screening-age-note strong {
    font-size: 17px;
  }
  .screening-age-note .btn {
    max-width: none;
    width: 100%;
  }
}
/* F12, F13 — длинный текст в статьях и правовых страницах */
.body-text, .article, .legal-text {
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
}
.body-text table, .legal-text table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}
.body-text img, .legal-text img {
    max-width: 100%;
    height: auto;
}

/* F15 — 320px: кнопки и контактные блоки */
@media (max-width: 360px) {
    .contacts-grid,
    .hero-actions,
    .btn-row,
    .travel-actions {
        flex-wrap: wrap;
    }
    .contact-details,
    .contact-row,
    .contact-phone,
    .email-link {
        min-width: 0;
        overflow-wrap: anywhere;
    }
}
.doctor-awards{margin:36px 0;scroll-margin-top:110px}
.doctor-awards>h2{margin-bottom:20px}
.doctor-award-card{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:28px;align-items:center;padding:28px;border:1px solid var(--line,#e5dce3);border-radius:24px;background:var(--soft,#f5edf3)}
.doctor-award-card .doctor-award-kicker{margin:0 0 10px;color:var(--purple,#60154d);font-size:13px;line-height:1.5;font-weight:600}
.doctor-award-card .doctor-award-place{display:block;margin-bottom:12px;color:var(--purple,#60154d);font-size:30px;line-height:1.2;font-weight:600}
.doctor-award-card .doctor-award-description{margin:0;color:var(--ink,#2b2029);font-size:15px;line-height:1.7}
.doctor-award-card a.doctor-award-preview{display:grid;gap:12px;min-width:0;color:var(--purple,#60154d);text-decoration:none;font-size:14px;font-weight:600;line-height:1.5}
.doctor-award-preview img{display:block;width:100%;height:auto;border:1px solid var(--line,#e5dce3);border-radius:12px;background:#fff}
.doctor-award-preview span{display:flex;justify-content:space-between;gap:10px}
.doctor-award-preview:focus-visible{outline:3px solid var(--purple,#60154d);outline-offset:4px}
@media(max-width:600px){
  .doctor-awards{margin:28px 0;scroll-margin-top:24px}
  .doctor-award-card{grid-template-columns:1fr;gap:22px;padding:22px 18px;border-radius:20px}
  .doctor-award-card .doctor-award-place{font-size:27px}
  .doctor-award-card .doctor-award-description{font-size:14px}
  .doctor-award-card .doctor-award-preview{width:100%;max-width:300px}
}
.cms-booking{margin:32px 0}
.cms-booking h2{margin:0 0 12px;font-size:24px;line-height:1.3}
.cms-booking > p{margin:0 0 20px;color:var(--muted,#6b5f68);font-size:15px;line-height:1.6}
.cms-booking-message{margin:0 0 20px}
.cms-booking-success{padding:12px 16px;border:1px solid #1c9c7a;border-radius:12px;background:#eafaf4;color:#146b54;font-size:15px}
.cms-booking-error{padding:12px 16px;border:1px solid #d65b7c;border-radius:12px;background:#fdeef3;color:#a13054;font-size:15px}
.cms-booking-empty{padding:16px;border:1px dashed var(--line,#e5dce3);border-radius:12px;color:var(--muted,#6b5f68)}
.cms-booking-step{margin:0 0 24px}
.cms-booking-title{margin:0 0 12px;color:var(--purple,#60154d);font-size:14px;font-weight:600}
.cms-booking-tabs,.cms-booking-times,.cms-booking-services{display:flex;flex-wrap:wrap;gap:8px}
.cms-booking-times{display:none}
.cms-booking-times.active{display:flex}
.cms-booking-tab,.cms-booking-time,.cms-booking-choice{padding:8px 14px;border:1px solid var(--line,#e5dce3);border-radius:999px;background:#fff;color:var(--ink,#2b2029);font:inherit;font-size:14px;line-height:1.4;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.cms-booking-tab:hover,.cms-booking-time:hover,.cms-booking-choice:hover{border-color:var(--purple,#60154d);color:var(--purple,#60154d)}
.cms-booking-tab.active,.cms-booking-time.active,.cms-booking-choice.active{border-color:var(--purple,#60154d);background:var(--purple,#60154d);color:#fff}
.cms-booking-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.cms-booking-fields label{display:grid;gap:6px;font-size:14px;font-weight:600;color:var(--ink,#2b2029)}
.cms-booking-fields input,.cms-booking-fields textarea{width:100%;padding:10px 12px;border:1px solid var(--line,#e5dce3);border-radius:12px;background:#fff;color:var(--ink,#2b2029);font:inherit;font-size:15px}
.cms-booking-fields input:focus,.cms-booking-fields textarea:focus{outline:2px solid var(--purple,#60154d);outline-offset:2px}
.cms-booking-fields textarea{min-height:88px;resize:vertical}
.cms-booking-wide{grid-column:1 / -1}
.cms-booking .dialog-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}
@media(max-width:600px){
  .cms-booking{margin:24px 0}
  .cms-booking h2{font-size:20px}
  .cms-booking-fields{grid-template-columns:1fr}
  .cms-booking .dialog-actions{flex-direction:column;align-items:stretch}
  .cms-booking .dialog-actions .btn{justify-content:center;width:100%}
}.appointment-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;margin-top:12px}
.appointment-fields label{display:grid;gap:6px;font-size:14px;font-weight:600;color:var(--ink,#2b2029)}
.appointment-fields input,
.appointment-fields textarea{width:100%;padding:10px 12px;border:1px solid var(--line,#e5dce3);border-radius:12px;background:#fff;color:var(--ink,#2b2029);font:inherit;font-size:15px;line-height:1.4}
.appointment-fields input:focus,
.appointment-fields textarea:focus{outline:2px solid var(--purple,#60154d);outline-offset:2px}
.appointment-fields textarea{min-height:88px;resize:vertical}
.appointment-fields .appointment-field-wide{grid-column:1 / -1}
.appointment-msg-wrap{margin:0 0 16px}
.appointment-msg{padding:12px 16px;border-radius:12px;font-size:15px;line-height:1.5}
.appointment-msg-success{border:1px solid #1c9c7a;background:#eafaf4;color:#146b54}
.appointment-msg-error{border:1px solid #d65b7c;background:#fdeef3;color:#a13054}
@media(max-width:600px){
  .appointment-fields{grid-template-columns:1fr}
  .appointment-fields textarea{min-height:72px}
}