
.page {
  padding-top: var(--header-height);
  overflow-x: clip;
}

.page {
  --measure: 68ch;
}

.breadcrumbs {
  padding: 16px 15px 0;
}
@media (min-width: 768px) {
  .breadcrumbs {
    padding: 24px 20px 0;
  }
}
.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fg-muted);
}
.breadcrumbs__list a {
  color: var(--fg-muted);
  transition: color 0.2s;
}
.breadcrumbs__list a:hover {
  color: var(--primary);
}
.breadcrumbs__sep {
  color: var(--fg-soft);
}
.breadcrumbs__current {
  color: var(--fg);
}

.page-hero {
  padding: 24px 15px var(--section-gap);
}
@media (min-width: 768px) {
  .page-hero {
    padding: 32px 20px var(--section-gap-lg);
  }
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.06;
  letter-spacing: 0;
  max-width: 16ch;
  margin: 0;
}
.page-hero__lead {
  margin: 24px 0 0;
  max-width: var(--measure);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.62;
  color: var(--fg);
}
.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}
.page-hero__note {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--fg-muted);
}

@media (min-width: 1024px) {
  .page-hero--media .page-hero__main {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
  }
}
.page-hero__media {
  margin: 32px 0 0;
  overflow: hidden;
  border-radius: 32px;
  background: var(--bg-soft);
  aspect-ratio: 4 / 3;
}
@media (min-width: 1024px) {
  .page-hero__media {
    margin: 0;
    aspect-ratio: auto;
    height: clamp(440px, 42vw, 580px);
  }
}
.page-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 40px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--bg-card);
}
@media (min-width: 900px) {
  .page-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.page-fact {
  padding: 22px 24px;
  box-shadow: -1px -1px 0 var(--border);
}
.page-fact__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--fg-muted);
}
.page-fact__value {
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.3;
  color: var(--fg);
}

.page-body__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
@media (min-width: 1024px) {
  .page-body__grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
  }
}

.page-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: var(--bg-card);
  box-shadow: 0 18px 60px rgba(28, 28, 28, 0.05);
  overflow-wrap: break-word;
}
@media (min-width: 768px) {
  .page-card {
    padding: 48px;
  }
}
:is(.page-card, .proc__content) section + section {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border-soft);
}
:is(.page-card, .proc__content) h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(23px, 2.1vw, 31px);
  line-height: 1.18;
  letter-spacing: 0;
  max-width: 24ch;
  overflow-wrap: break-word;
}
:is(.page-card, .proc__content) h3 {
  margin: 24px 0 8px;
  font-size: 17px;
  line-height: 1.35;
  color: var(--fg);
}
:is(.page-card, .proc__content) p {
  margin: 0;
  max-width: var(--measure);
  color: var(--fg);
  font-size: 15px;
  line-height: 1.72;
}
:is(.page-card, .proc__content) p + p {
  margin-top: 16px;
}
:is(.page-card, .proc__content) ul,
:is(.page-card, .proc__content) ol {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-left: 0;
  max-width: var(--measure);
  list-style: none;
  counter-reset: step;
}
:is(.page-card, .proc__content) li {
  position: relative;
  padding-left: 24px;
  color: var(--fg);
  font-size: 15px;
  line-height: 1.62;
}
:is(.page-card, .proc__content) ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}
:is(.page-card, .proc__content) ol {
  gap: 16px;
}
:is(.page-card, .proc__content) ol li {
  padding-left: 40px;
  counter-increment: step;
}
:is(.page-card, .proc__content) ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.1em;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
:is(.page-card, .proc__content) a {
  color: var(--primary-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-aside {
  min-width: 0;
}
@media (min-width: 1024px) {
  .page-aside {
    position: sticky;
    top: calc(var(--header-height) + 24px);
  }
}
.page-aside__card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--bg-card);
  box-shadow: 0 18px 45px rgba(28, 28, 28, 0.04);
}
.page-aside__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
}
.page-aside__text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-muted);
}
.page-aside__btn {
  width: 100%;
  justify-content: center;
}
.page-aside__note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-soft);
  text-align: center;
}

.page-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .page-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .page-tiles--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.page-tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  background: var(--bg-card);
  color: var(--fg);
  transition: box-shadow 0.25s, border-color 0.25s;
}
.page-tile:hover,
.page-tile:focus-within {
  border-color: var(--primary-soft);
  box-shadow: 0 18px 45px rgba(28, 28, 28, 0.06);
}
.page-tile__link {
  color: inherit;
  text-decoration: none;
}
.page-tile__link::after {
  content: "";
  position: absolute;
  inset: 0;
}
.page-tile__link:hover {
  color: var(--primary-deep);
}
.page-tile__media {
  aspect-ratio: 3 / 2;
  background: var(--bg-soft);
  overflow: hidden;
}
.page-tile__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.page-tile__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 24px;
}
.page-tile__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.22;
}
.page-tile__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-muted);
}
.page-tile__meta {
  margin-top: auto;
  padding-top: 16px;
  font-size: 13px;
  color: var(--primary-deep);
}

.page-figure {
  margin: 24px 0 0;
}
.page-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  border: 1px solid var(--border-soft);
}
.page-figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-soft);
}

.page-ba {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}
@media (min-width: 640px) {
  .page-ba {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.page-ba figure {
  margin: 0;
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-soft);
}
.page-ba img {
  display: block;
  width: 100%;
  height: auto;
}
.page-ba figcaption {
  padding: 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-muted);
}

.page-hub__group + .page-hub__group {
  margin-top: var(--section-gap-lg);
}
.page-hub__group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.page-hub__group-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.page-hub__group-count {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--fg-soft);
  white-space: nowrap;
}
.page-hub__group-lead {
  margin: 8px 0 24px;
  max-width: var(--measure);
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-muted);
}

.page-hub__note {
  margin: 32px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-soft);
}

.page-related__title {
  margin: 0 0 16px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--fg-muted);
}
.page-related__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.page-related__links a {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  font-size: 14px;
  color: var(--fg);
  transition: border-color 0.2s, color 0.2s;
}
.page-related__links a:hover {
  border-color: var(--primary);
  color: var(--primary-deep);
}

.ba {
  --ba-pos: 50%;
  margin: 24px 0 0;
}
.ba__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  background: var(--bg-soft);
  aspect-ratio: 3 / 2;
  touch-action: pan-y;
}
.ba__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
.ba__img--before {
  clip-path: inset(0 calc(100% - var(--ba-pos)) 0 0);
}

.ba__label {
  position: absolute;
  top: 16px;
  z-index: 2;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(28, 28, 28, 0.55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  pointer-events: none;
}
.ba__label--before {
  left: 16px;
}
.ba__label--after {
  right: 16px;
}

.ba__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos);
  z-index: 3;
  width: 2px;
  margin-left: -1px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(28, 28, 28, 0.12);
  pointer-events: none;
}
.ba__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 20px rgba(28, 28, 28, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
}
@media (prefers-reduced-motion: no-preference) {
  .ba:not(.is-touched) .ba__knob {
    animation: ba-nudge 2.6s ease-in-out 1s 3;
  }
}
@keyframes ba-nudge {
  0%, 100% { transform: translate(-50%, -50%); }
  40% { transform: translate(calc(-50% - 7px), -50%); }
  70% { transform: translate(calc(-50% + 7px), -50%); }
}

.ba__range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}
.ba__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 48px;
  height: 100%;
}
.ba__range::-moz-range-thumb {
  width: 48px;
  height: 100%;
  border: 0;
  background: transparent;
}
.ba__range:focus-visible {
  outline: none;
}
.ba__range:focus-visible ~ .ba__divider .ba__knob {
  box-shadow: 0 0 0 3px var(--primary), 0 6px 20px rgba(28, 28, 28, 0.22);
}

.ba__caption {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-soft);
}

.page-tile__media .ba--compact {
  margin: 0;
  height: 100%;
}
.ba--compact .ba__frame {
  height: 100%;
  border: 0;
  border-radius: 0;
  aspect-ratio: auto;
}
.ba--compact .ba__label {
  top: 10px;
  padding: 4px 10px;
  font-size: 10px;
  letter-spacing: 0.14em;
}
.ba--compact .ba__label--before {
  left: 10px;
}
.ba--compact .ba__label--after {
  right: 10px;
}
.ba--compact .ba__knob {
  width: 36px;
  height: 36px;
}
.ba--compact .ba__knob svg {
  width: 17px;
  height: 17px;
}

.pricing__grid--packages {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 0;
}
@media (min-width: 900px) {
  .pricing__grid--packages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }
}

.pkg-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}
.pkg {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  background: var(--bg-card);
  color: var(--fg);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pkg:hover {
  border-color: var(--primary-soft);
  box-shadow: 0 14px 36px rgba(28, 28, 28, 0.05);
}
:is(.page-card, .proc__content) a.pkg,
:is(.page-card, .proc__content) a.pkg * {
  text-decoration: none;
}
:is(.page-card, .proc__content) a.pkg:hover .pkg__name {
  color: var(--primary-deep);
}
@media (min-width: 720px) {
  .pkg {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
  }
}
.pkg__body {
  min-width: 0;
}
.pkg__tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--fg-soft);
}
.pkg__name {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.25;
  color: var(--fg);
}
:is(.page-card, .proc__content) .pkg__items {
  margin: 12px 0 0;
  gap: 6px;
}
:is(.page-card, .proc__content) .pkg__items li {
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-muted);
}
.pkg__price {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}
@media (min-width: 720px) {
  .pkg__price {
    align-items: flex-end;
    text-align: right;
  }
}
.pkg__price-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--fg-soft);
}
.pkg__price-value {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  color: var(--fg);
  white-space: nowrap;
}
.pkg__cities {
  font-size: 13px;
  color: var(--fg-muted);
  white-space: nowrap;
}

.pkg-includes {
  margin-top: 16px;
  padding: 20px 24px;
  border-radius: 20px;
  background: var(--bg-soft);
}
.pkg-includes__title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--fg-muted);
}
:is(.page-card, .proc__content) .pkg-includes ul {
  margin: 12px 0 0;
  gap: 6px;
}
:is(.page-card, .proc__content) .pkg-includes li {
  font-size: 14px;
  color: var(--fg);
}

:is(.page-card, .proc__content) .page-note {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  max-width: var(--measure);
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg-soft);
}

.clinic-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 24px;
}
@media (min-width: 640px) {
  .clinic-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .clinic-gallery__item--lead {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1024px) {
  .clinic-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .clinic-gallery__item--lead {
    grid-column: span 2;
    grid-row: span 2;
  }
}
.clinic-gallery__item {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  background: var(--bg-soft);
  aspect-ratio: 4 / 3;
}
.clinic-gallery__item--lead {
  aspect-ratio: 3 / 2;
}
.clinic-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.clinic-gallery__item:hover img {
  transform: scale(1.03);
}

.hospital-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hospital-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
}
.hospital-list li:first-child {
  border-top: 1px solid var(--border-soft);
}
.hospital-list__name {
  font-size: 16px;
  color: var(--fg);
}
.hospital-list__note {
  font-size: 13px;
  color: var(--fg-muted);
}


.page-hub__group-head + .page-tiles,
.page-hub__group-head + .hospital-list,
.page-hub__group-head + .pricing__grid {
  margin-top: 24px;
}


.section-head {
  margin-bottom: 32px;
}
.section-head .h2 {
  margin: 0;
}
.section-head__text {
  margin: 12px 0 0;
  max-width: var(--measure);
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-muted);
}
.section-more {
  margin: 24px 0 0;
  font-size: 15px;
}
.section-more a {
  color: var(--primary-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.clinic-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 1024px) {
  .clinic-hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
  }
}
.clinic-hero .page-hero__title {
  max-width: 14ch;
}

.clinic-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  aspect-ratio: 4 / 3;
}
.clinic-mosaic--two {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
}
.clinic-mosaic--single {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}
.clinic-mosaic__item {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: var(--bg-soft);
}
.clinic-mosaic__item--main {
  grid-row: 1 / -1;
}
.clinic-mosaic__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.clinic-hero__caption {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--fg-soft);
  text-align: right;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 48px 0 0;
  border-top: 1px solid var(--border);
}
@media (min-width: 768px) {
  .stat-strip {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}
.stat-strip__item {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
  padding: 24px 24px 0 0;
}
.stat-strip__value {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.05;
  color: var(--fg);
}
.stat-strip__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  font-size: 15px;
  line-height: 1.35;
  color: var(--fg);
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
a.chip:hover {
  border-color: var(--primary);
  color: var(--primary-deep);
  box-shadow: 0 10px 28px rgba(28, 28, 28, 0.05);
}
.chip__arrow {
  color: var(--primary-deep);
  transition: transform 0.2s;
}
a.chip:hover .chip__arrow {
  transform: translateX(3px);
}
.chip--static {
  color: var(--fg-muted);
  background: transparent;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  background: var(--bg-card);
}
.feature__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-deep);
}
.feature__text {
  padding-top: 7px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--fg);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 1024px) {
  .photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.photo-grid__item {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--bg-soft);
  aspect-ratio: 4 / 3;
}
.photo-grid__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.photo-grid__item:hover img {
  transform: scale(1.03);
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.step {
  padding: 28px 24px;
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  background: var(--bg-card);
}
.step__num {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  color: var(--primary-deep);
}
.step__title {
  margin: 20px 0 8px;
  font-size: 17px;
  line-height: 1.3;
  color: var(--fg);
}
.step__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-muted);
}

.clinic-hero + .section,
.clinic-hero ~ .section + .section,
.surgeon-hero + .section,
.surgeon-hero ~ .section + .section {
  padding-top: 0;
}

.surgeon-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .surgeon-hero__grid {
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 88px);
  }
}
.surgeon-hero__photo {
  margin: 0;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  box-shadow: 0 24px 60px rgba(28, 28, 28, 0.08);
}
@media (max-width: 899px) {
  .surgeon-hero__photo {
    max-width: 360px;
  }
}
@media (max-width: 639px) {
  .surgeon-hero__grid {
    gap: 24px;
  }
  .surgeon-hero__photo {
    max-width: none;
    aspect-ratio: 5 / 4;
    border-radius: 24px;
  }
  .surgeon-hero__photo img {
    object-position: 50% 18%;
  }
}
.surgeon-hero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.surgeon-hero .page-hero__title {
  max-width: 14ch;
}
.surgeon-hero__original {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 0;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.surgeon-hero__role {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 0;
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  font-size: 15px;
  line-height: 1.35;
  color: var(--primary-deep);
}
.surgeon-hero__role svg {
  flex-shrink: 0;
}
.surgeon-hero__lead {
  position: relative;
  margin: 28px 0 0;
  padding: 4px 0 4px 24px;
  max-width: 56ch;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.45;
  color: var(--fg);
}
.surgeon-hero__lead::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--primary), var(--primary-soft));
}

.profile-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 32px;
  margin: 40px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
@media (min-width: 640px) {
  .profile-list {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}
.profile-list__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.profile-list dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
}
.profile-list dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: var(--fg);
}
.profile-list dd a {
  color: var(--primary-deep);
  text-decoration: none;
}
.profile-list dd a:hover {
  text-decoration: underline;
}

.focus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 768px) {
  .focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}
.focus-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: 24px 28px;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  background: var(--bg-card);
  color: var(--fg);
  text-decoration: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.focus-card--link:hover {
  border-color: var(--primary-soft);
  box-shadow: 0 12px 32px rgba(28, 28, 28, 0.06);
}
.focus-card__num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--primary-deep);
}
.focus-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.35;
}
.focus-card__more {
  margin-top: auto;
  padding-top: 4px;
  font-size: 14px;
  color: var(--fg-muted);
  transition: color 0.2s;
}
.focus-card--link:hover .focus-card__more {
  color: var(--primary-deep);
}

.cred-groups {
  border-top: 1px solid var(--border);
}
.cred-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
  .cred-group {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 48px;
    padding: 28px 0;
  }
}
.cred-group__title {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.7;
  color: var(--fg-muted);
}
.cred-group__list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 760px;
}
.cred-group__list li {
  position: relative;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
}
.cred-group__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--primary-deep);
}

.where-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  background: var(--bg-card);
  transition: box-shadow 0.25s, border-color 0.25s;
}
.where-card:hover,
.where-card:focus-within {
  border-color: var(--primary-soft);
  box-shadow: 0 18px 44px rgba(28, 28, 28, 0.06);
}
@media (min-width: 768px) {
  .where-card {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
}
.where-card__media {
  aspect-ratio: 3 / 2;
  background: var(--bg-soft);
}
.where-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.where-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}
@media (min-width: 768px) {
  .where-card__body {
    padding: 40px 48px;
  }
}
.where-card__city {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
}
.where-card__title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 400;
  line-height: 1.12;
}
.where-card__text {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-muted);
}
.where-card__more {
  margin-top: 24px;
  font-size: 15px;
  color: var(--primary-deep);
}

.source-note {
  margin: 32px 0 0;
  max-width: var(--measure);
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg-soft);
}

@media (min-width: 1024px) {
  .proc .page-body__grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 80px;
  }
}
.proc__content {
  min-width: 0;
  overflow-wrap: break-word;
}
.proc__content > section {
  scroll-margin-top: calc(var(--header-height) + 24px);
}
.proc__content > section + section {
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid var(--border);
}
@media (min-width: 768px) {
  .proc__content > section + section {
    margin-top: 72px;
    padding-top: 72px;
  }
}
.proc__content h2 {
  margin: 0 0 20px;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.12;
  max-width: 20ch;
}
.proc__content p,
.proc__content li {
  font-size: 16px;
  line-height: 1.7;
}
@media (min-width: 768px) {
  .proc__content p,
  .proc__content li {
    font-size: 17px;
  }
}

.proc__content > section > ul {
  gap: 12px 40px;
  margin-top: 24px;
  max-width: none;
}
@media (min-width: 768px) {
  .proc__content > section > ul:has(> li:nth-child(5)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.proc__content > section > ul > li {
  padding-left: 34px;
}
.proc__content > section > ul > li::before {
  top: 0.35em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E8F8C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

.proc__content > section > ol {
  gap: 0;
  margin-top: 28px;
}
.proc__content > section > ol > li {
  padding: 0 0 28px 60px;
}
.proc__content > section > ol > li:last-child {
  padding-bottom: 0;
}
.proc__content > section > ol > li::before {
  top: -0.1em;
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--primary);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
}
.proc__content > section > ol > li::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 38px;
  bottom: 2px;
  width: 1px;
  background: var(--border);
}
.proc__content > section > ol > li:last-child::after {
  display: none;
}
.proc__content > section > p + ul,
.proc__content > section > p + ol,
.proc__content > section > ul + p,
.proc__content > section > ol + p {
  margin-top: 24px;
}

.proc__content .ba,
.proc__content .page-figure {
  margin-top: 32px;
}

.proc__content #price .pkg-list {
  margin-top: 28px;
}
.proc__content .pkg {
  padding: 28px 32px;
  border-color: var(--border);
}
.proc__content .pkg__name {
  font-size: 21px;
}
.proc__content .pkg__price-value {
  font-size: 28px;
}
.proc__content .pkg-includes {
  margin-top: 20px;
  padding: 28px 32px;
}
.proc__content .pkg-includes ul {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px 32px;
  max-width: none;
}

.proc__content .faq__list {
  grid-template-columns: 1fr;
  margin-top: 28px;
}
.proc__content .faq-item__q {
  font-size: 17px;
}
.proc__content .faq-item__a {
  font-size: 16px;
}
.proc__content .page-note {
  margin-top: 64px;
}

.proc-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.proc-head h2 {
  margin: 0;
}

.proc__side {
  min-width: 0;
}
@media (min-width: 1024px) {
  .proc__side {
    position: sticky;
    top: calc(var(--header-height) + 32px);
    display: grid;
    gap: 16px;
  }
  .proc__side .page-aside {
    position: static;
  }
}
.proc-toc {
  display: none;
}
@media (min-width: 1024px) {
  .proc-toc {
    display: block;
    padding: 4px 0 8px;
  }
}
.proc-toc__title {
  margin-bottom: 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--fg-muted);
}
.proc-toc__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--border);
}
.proc-toc__list a {
  display: block;
  margin-left: -1px;
  padding: 7px 0 7px 16px;
  border-left: 1px solid transparent;
  font-size: 14px;
  line-height: 1.4;
  color: var(--fg-muted);
  transition: color 0.2s, border-color 0.2s;
}
.proc-toc__list a:hover,
.proc-toc__list a[aria-current="true"] {
  border-left-color: var(--primary-deep);
  color: var(--fg);
}

.ba-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  border-radius: 24px;
}
.ba-rail::-webkit-scrollbar {
  display: none;
}
.ba-rail:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}
.ba-rail__item {
  flex: 0 0 auto;
  margin: 0;
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: 20px;
  background: var(--bg-soft);
}
.ba-rail__item img {
  display: block;
  width: auto;
  height: 340px;
  max-width: 80vw;
  object-fit: cover;
}
@media (min-width: 768px) {
  .ba-rail__item img {
    height: 420px;
  }
}
.ba-rail__note {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--fg-soft);
}
.proc__content .ba-rail__note {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-soft);
}
.ba-rail__nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.ba-rail__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--fg);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, opacity 0.2s;
}
.ba-rail__btn:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary-deep);
}
.ba-rail__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.icon {
  display: block;
  flex-shrink: 0;
}

.page-fact__sub {
  margin-left: 6px;
  font-size: 14px;
  color: var(--fg-muted);
  white-space: nowrap;
}
.pkg__price-usd {
  font-size: 14px;
  color: var(--fg-muted);
  white-space: nowrap;
}
.pkg__cities {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.pkg__cities .icon {
  width: 15px;
  height: 15px;
  color: var(--primary-deep);
}

.incl-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 900px) {
  .incl-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
  }
}
.incl-tile {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  background: var(--bg-card);
}
.incl-tile__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--primary-deep);
}
.incl-tile__icon .icon {
  width: 26px;
  height: 26px;
}
.incl-tile__text {
  font-size: 15px;
  line-height: 1.45;
  color: var(--fg);
}
.incl-tile__text::first-letter {
  text-transform: uppercase;
}
.incl-tile--out {
  border-style: dashed;
  border-color: var(--border);
  background: transparent;
}
.incl-tile--out .incl-tile__icon {
  background: var(--bg-soft);
  color: var(--fg-muted);
}
.incl-tile--out .incl-tile__text {
  color: var(--fg-muted);
}
.pricing-note {
  margin: 20px 0 0;
  max-width: var(--measure);
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg-soft);
}

.pkg-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  scroll-margin-top: calc(var(--header-height) + 24px);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 28px;
  background: var(--bg-card);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.pkg-card:hover {
  border-color: var(--border);
  box-shadow: 0 20px 50px rgba(28, 28, 28, 0.06);
}
.pkg-card:target {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.pkg-card__head {
  padding: 26px 26px 0;
}
@media (min-width: 640px) {
  .pkg-card__head {
    padding: 32px 32px 0;
  }
}
.pkg-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 16px;
}
.pkg-card__num {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--primary-deep);
}
.pkg-card__cities {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--fg-muted);
}
.pkg-card__cities .icon {
  width: 17px;
  height: 17px;
  color: var(--primary-deep);
}
.pkg-card__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.28;
  color: var(--fg);
}
@media (min-width: 640px) {
  .pkg-card__name {
    font-size: 23px;
  }
}
.pkg-card__note {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--fg-soft);
}

.pkg-card__items {
  display: grid;
  gap: 12px;
  flex: 1;
  align-content: start;
  margin: 0;
  padding: 22px 26px 24px;
  list-style: none;
}
@media (min-width: 640px) {
  .pkg-card__items {
    padding: 24px 32px 28px;
  }
}
.pkg-card__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-muted);
}
.pkg-card__item--main {
  font-size: 15px;
  color: var(--fg);
}
.pkg-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  margin-top: -3px;
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--fg-muted);
}
.pkg-card__item--main .pkg-card__icon {
  background: var(--accent-soft);
  color: var(--primary-deep);
}
.pkg-card__icon .icon {
  width: 18px;
  height: 18px;
}

.pkg-card__foot {
  padding: 22px 26px 26px;
  background: var(--bg-soft);
}
@media (min-width: 640px) {
  .pkg-card__foot {
    padding: 24px 32px 30px;
  }
}
.pkg-card__foot-label {
  margin-bottom: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--fg-muted);
}
.pkg-card__prices {
  margin: 0;
}
.pkg-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}
.pkg-price + .pkg-price {
  border-top: 1px solid var(--border);
}
.pkg-price__who {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.pkg-price__city {
  font-size: 15px;
  color: var(--fg);
}
.pkg-price__age {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg-card);
  font-size: 12px;
  color: var(--fg-muted);
  white-space: nowrap;
}
.pkg-price__sum {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  margin: 0;
  text-align: right;
}
.pkg-price__rub {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.1;
  color: var(--fg);
  white-space: nowrap;
}
.pkg-price__usd {
  font-size: 13px;
  color: var(--fg-muted);
  white-space: nowrap;
}
.pkg-card__prices--single .pkg-price__rub {
  font-size: 28px;
}

.page-tiles--people .page-tile__media {
  aspect-ratio: 4 / 5;
}
.page-tiles--people .page-tile__media img {
  object-position: 50% 0;
}

.reviews-block__count { color: var(--fg-muted); margin: 0 0 18px; }
.reviews-block__more { margin-top: 24px; }
.review-list { display: grid; gap: 18px; max-width: 860px; }
.review-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 24px; padding: 26px 28px; }
.review-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 10px; }
.review-card__name { font-family: var(--font-display); font-size: 22px; line-height: 1.2; }
.review-card__meta { color: var(--fg-muted); font-size: 14px; margin-top: 2px; }
.review-card__badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--primary-deep); font-size: 13px; font-weight: 600; white-space: nowrap; }
.review-card__refs { display: flex; flex-wrap: wrap; gap: 6px 8px; font-size: 14px; color: var(--fg-soft); margin-bottom: 12px; }
.review-card__refs a { color: var(--primary-deep); text-decoration: none; border-bottom: 1px solid var(--primary-soft); }
.review-card__refs a:hover { border-bottom-color: var(--primary-deep); }
.review-card__text p { margin: 0 0 12px; line-height: 1.65; }
.review-card__text p:last-child { margin-bottom: 0; }
.review-card__shots { display: flex; gap: 10px; overflow-x: auto; padding: 4px 0 6px; margin-top: 14px; scroll-snap-type: x mandatory; }
.review-card__shot { flex: 0 0 auto; display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--border-soft); background: var(--bg-soft); scroll-snap-align: start; }
.review-card__shot img { display: block; height: 180px; width: auto; max-width: none; object-fit: cover; }
.review-card__shot--chat img { height: 240px; object-position: top; }
.review-card__note { margin-top: 18px; padding: 14px 18px; border-radius: 16px; background: var(--bg-soft); font-size: 15px; }
.review-card__note p { margin: 0; line-height: 1.6; }
.review-card__note-title, .review-card__chats-title { font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 6px; }
.review-card__chats { margin-top: 18px; }
.review-card__chats-title span { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--fg-soft); margin-left: 6px; }
.review-shot-dialog { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
.review-shot-dialog::backdrop { background: rgba(28, 28, 28, .82); }
.review-shot-dialog img { display: block; max-width: 96vw; max-height: 92vh; width: auto; height: auto; border-radius: 12px; }
.review-shot-dialog button { position: fixed; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 22px; cursor: pointer; }
.review-shot-dialog__scroll { max-height: 92vh; overflow: auto; }
@media (max-width: 640px) {
  .review-card { padding: 20px 18px; border-radius: 20px; }
  .review-card__head { flex-direction: column; gap: 8px; }
  .review-card__shot img { height: 150px; }
  .review-card__shot--chat img { height: 210px; }
}

.level-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 1024px) {
  .level-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.level-card {
  padding: 24px;
}
.level-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-bottom: 12px;
}
.level-card__level {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.1;
  color: var(--primary-deep);
}
.level-card__note {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
}
.level-card__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg);
}
.level-extra {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-muted);
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.profile-card {
  padding: 24px;
}
.profile-card__title {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
}
.profile-card__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg);
}

.legal-list {
  margin: 0;
  border-top: 1px solid var(--border);
}
.legal-list__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
  .legal-list__row {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 24px;
  }
}
.legal-list__term {
  font-size: 14px;
  color: var(--fg-muted);
}
.legal-list__value {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--fg);
  overflow-wrap: anywhere;
}
.license-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}
@media (min-width: 640px) {
  .license-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.license-grid__item {
  margin: 0;
}
.license-grid__item img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: var(--bg-soft);
}
.license-grid__item figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--fg-muted);
}
