:root { --pink-dark: #a92e57; }
[hidden] { display: none !important; }
.primary-btn { background: linear-gradient(#c2416d, #ad2f59); }
.primary-btn:hover { background: #a92e57; }
.secondary-btn, .map-link, .eyebrow, .section-link { color: #a92e57; }
.service-duration { font-size: 14px; color: #596b7b; }
.service-card__body { display: flex; flex-direction: column; }
.service-card__bottom { margin-top: auto; }
.service-card[data-service-id] > img { height: auto; max-height: 240px; aspect-ratio: 12 / 5; }
.service-grid--catalog .service-card { display: flex; flex-direction: column; }
.service-grid--catalog .service-card__body { flex: 1; }
.service-grid--catalog .service-card:last-child { grid-column: auto; }
.service-grid--catalog .service-card h3 { max-width: none; overflow-wrap: anywhere; }
.service-grid--catalog .service-card__bottom { padding-top: 16px; gap: 12px; flex-wrap: wrap; }
.service-card__offer { display: flex; min-height: 27px; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.service-card__offer strong { white-space: nowrap; }
.service-card__bottom .service-card__booking {
  width: auto; min-width: 0; min-height: 48px; max-width: 100%; padding: 8px 16px;
  gap: 8px; border-radius: 7px; box-shadow: none; font-size: 14px; white-space: normal; text-align: center;
}
.service-card__booking svg { flex: none; }
@media (min-width: 681px) {
  .service-grid--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.footer-meta { gap: 12px 20px; }
.hero .procedure-link { min-width: 0; white-space: nowrap; }
.hero--new-photos .hero__photo img { content: normal; filter: none; }
.about-photo img.about-photo__updated { object-position: 50% 20%; }
#contacts .map-link { display: none; }
.yandex-map {
  display: flex;
  flex-direction: column;
  background: #fff;
}
.yandex-map__viewport { position: relative; flex: 1 1 auto; min-height: 360px; }
.yandex-map__viewport iframe { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; border: 0; filter: none; }
@media (max-width: 680px) {
  .service-grid--catalog .service-card__bottom { align-self: stretch; }
  .service-grid--catalog .service-card__offer { display: none; }
  .service-grid--catalog .service-card__booking { width: 100%; }
  .hero { padding-top: 28px; }
  .hero h1 { margin-top: 20px; margin-bottom: 18px; font-size: 43px; line-height: 1.08; }
  .hero__lead { font-size: 15px; line-height: 1.6; }
  .hero__content ul { gap: 8px; margin-block: 20px; }
  .hero__content ul li:nth-child(n + 3) { display: none; }
  .hero__actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 22px; }
  .hero__actions > .primary-btn { grid-column: 1 / -1; }
  .hero__actions > .secondary-btn { min-width: 0; min-height: 48px; padding-inline: 10px; font-size: 13px; }
  .yandex-map__viewport { min-height: 390px; }
  .footer-meta { flex-direction: column; }
}

/* This portrait spans x45%-77%: width .32, centre .61, right background .23.
   Reserve a separate lane for the cards outside that silhouette. */
.hero--new-photos {
  --hero-details-width: 160px;
  --hero-details-edge: 14px;
  --hero-subject-gap: 24px;
  --hero-image-max: 980px;
}
.hero--new-photos .hero__details {
  position: absolute;
  z-index: 3;
  top: 190px;
  right: var(--hero-details-edge);
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: var(--hero-details-width);
}
.hero--new-photos .hero__bio,
.hero--new-photos .hero__experience {
  position: relative;
  top: auto;
  right: auto;
  grid-column: auto;
  grid-row: auto;
  align-self: stretch;
  width: 100%;
  margin: 0;
}
.hero--new-photos .hero__bio { padding: 14px 13px; }
.hero--new-photos .hero__bio h2 { font-size: 26px; }
.hero--new-photos .hero__bio > p { margin-top: 8px; font-size: 12px; }
.hero--new-photos .hero-address { max-width: none; white-space: nowrap; font-size: 11px; }
.hero--new-photos .hero__experience { min-height: 90px; padding: 16px 12px; gap: 12px; }
.hero--new-photos .hero__experience svg { flex: 0 0 28px; width: 28px; height: 36px; }
.hero--new-photos .hero__experience p { font-size: 13px; }
.hero--new-photos .hero__experience strong { font-size: 22px; white-space: nowrap; }
@media (min-width: 921px) {
  .hero--new-photos { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .hero--new-photos .hero__actions { width: max-content; max-width: none; flex-wrap: nowrap; }
  .hero--new-photos .hero__photo { grid-column: 2; align-self: start; min-height: 550px; }
  .hero--new-photos .hero__photo img {
    --hero-image-width: min(var(--hero-image-max), calc((100% - var(--hero-details-width) - var(--hero-details-edge) - var(--hero-subject-gap)) / .32));
    width: var(--hero-image-width);
    right: calc(var(--hero-details-width) + var(--hero-details-edge) + var(--hero-subject-gap) - var(--hero-image-width) * .23);
    top: -145px;
    transform: none;
  }
}
@media (min-width: 921px) and (max-width: 1180px) {
  .hero--new-photos { --hero-image-max: 820px; }
  .hero--new-photos .hero__photo img { top: -100px; }
  .hero--new-photos .hero__details { top: 160px; }
}
@media (max-width: 920px) {
  .hero--new-photos {
    --hero-details-width: 188px;
    --hero-details-edge: 18px;
  }
  .hero--new-photos .hero__details {
    position: relative;
    top: auto;
    right: auto;
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    justify-self: start;
    margin: 28px 0 0 var(--hero-details-edge);
  }
  .hero--new-photos .hero__photo { margin-top: 0; min-height: 0; height: 460px; }
  .hero--new-photos .hero__photo img {
    --hero-image-width: min(820px, calc((100% - var(--hero-details-width) - var(--hero-details-edge) * 2 - var(--hero-subject-gap)) / .32));
    width: var(--hero-image-width);
    left: calc((100% + var(--hero-details-width) + var(--hero-subject-gap)) / 2 - var(--hero-image-width) * .61);
    right: auto;
    top: -16px;
    transform: none;
  }
}
@media (max-width: 680px) {
  .hero--new-photos {
    --hero-details-width: 142px;
    --hero-details-edge: 8px;
    --hero-subject-gap: 12px;
  }
  .hero--new-photos .hero__details { margin-top: 22px; gap: 18px; }
  .hero--new-photos .hero__bio { padding: 12px 10px; }
  .hero--new-photos .hero__bio h2 { font-size: 22px; }
  .hero--new-photos .hero__bio > p { font-size: 11px; }
  .hero--new-photos .hero__photo { height: clamp(340px, calc(100vw - 32px), 440px); }
  .hero--new-photos .hero__photo img {
    --hero-image-width: min(720px, calc((100% - var(--hero-details-width) - var(--hero-details-edge) * 2 - var(--hero-subject-gap)) / .32));
    top: 0;
  }
}
@media (max-width: 374px) {
  .hero--new-photos { row-gap: 16px; }
  .hero--new-photos .hero__photo { height: 320px; }
  .hero--new-photos .hero__photo img {
    --hero-image-width: 560px;
    left: calc(50% - var(--hero-image-width) * .61);
  }
  .hero--new-photos .hero__details {
    grid-row: 3;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    width: 100%;
    gap: 12px;
    margin: 0;
  }
  .hero--new-photos .hero__experience { flex-direction: column; justify-content: center; text-align: center; gap: 8px; }
}
