/* «Части Тела» — Массаж и стоунтерапия (шаблон категории услуги), префикс ms- */

#page-root {
  position: relative;
  background: var(--cream);
  overflow-x: clip;
}

/* курсивные акценты заголовков */
.ms-hero__title em,
.ms-price__h2 em,
.ms-qa__h2 em,
.ms-cta__h2 em {
  font-style: italic;
  color: var(--gold);
}

/* -------- hero -------- */

.ms-hero {
  padding-top: clamp(130px, 18vh, 190px);
  padding-bottom: clamp(50px, 7vw, 90px);
}

.ms-crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(16, 49, 47, .55);
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.ms-crumbs a {
  color: rgba(16, 49, 47, .55);
  text-decoration: none;
  transition: color .25s ease;
}
.ms-crumbs a:hover { color: var(--teal); }
.ms-crumbs__here { color: var(--teal); }

.ms-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}

.ms-hero__eyebrow {
  gap: 10px;
  margin-bottom: 22px;
}

.ms-hero__title {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5.8vw, 84px);
  line-height: 1.03;
  letter-spacing: -.015em;
}

.ms-hero__lead {
  margin: 0 0 16px;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--ink-80);
  max-width: 50ch;
}
.ms-hero__lead--last { margin-bottom: 32px; }

.ms-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.ms-btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: var(--pine);
  color: var(--cream);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: background .3s ease, color .3s ease;
}
.ms-btn-dark:hover {
  background: var(--gold);
  color: var(--pine);
}

.ms-hero__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-60);
}

.ms-hero__media { position: relative; }

.ms-hero__photo {
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #10403E;
  position: relative;
}
.ms-hero__photo-fill {
  position: absolute;
  inset: -30px;
  background:
    repeating-linear-gradient(45deg, rgba(247, 242, 233, .07) 0 12px, rgba(247, 242, 233, 0) 12px 26px),
    linear-gradient(160deg, #124542, var(--pine));
}
.ms-hero__photo-cap {
  position: absolute;
  left: 18px;
  bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cream-75);
  background: rgba(11, 50, 49, .6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 7px 12px;
  border-radius: 999px;
}

.ms-hero__sticker {
  position: absolute;
  right: -12px;
  top: -16px;
  background: var(--gold);
  color: var(--pine);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 24px 50px -28px rgba(185, 146, 79, .8);
  transform: rotate(3deg);
}
.ms-hero__sticker-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1;
}
.ms-hero__sticker-sub {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  margin-top: 4px;
  opacity: .75;
}

/* -------- прайс -------- */

.ms-price { padding-bottom: clamp(60px, 8vw, 100px); }

.ms-price__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.ms-price__h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.06;
}

.ms-legend {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.ms-legend__chip {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  padding: 6px 12px;
  border-radius: 999px;
}
.ms-legend__chip--master {
  border: 1px solid var(--line-25);
  color: var(--ink-70);
}
.ms-legend__chip--lead {
  background: var(--teal-mist);
  color: var(--teal);
}
.ms-legend__chip--exp {
  background: #F0E3CC;
  color: var(--gold-dark);
}

.ms-price__note {
  margin: 0 0 40px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-60);
  max-width: 64ch;
}

.ms-group {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 6px;
}
.ms-group--c { margin-bottom: 20px; }
.ms-group__letter {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--gold);
}
.ms-group__title {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--pine);
}
.ms-group__line {
  flex: 1;
  height: 1px;
  background: rgba(16, 60, 58, .14);
  align-self: center;
}

.ms-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px 28px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line-12);
  flex-wrap: wrap;
}
.ms-row--last { margin-bottom: 44px; }
.ms-row__info { max-width: 52ch; }
.ms-row__top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.ms-row__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
}
.ms-chip-dur {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--teal);
  border: 1px solid rgba(23, 116, 112, .3);
  padding: 3px 9px;
  border-radius: 999px;
}
.ms-chip-hit {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--pine);
  padding: 4px 10px;
  border-radius: 999px;
}
.ms-row__desc {
  margin: 7px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-60);
}

.ms-tiles {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ms-tile {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-radius: 12px;
  padding: 8px 14px;
  min-width: 74px;
}
.ms-tile--master { border: 1px solid var(--line-18); }
.ms-tile--lead { background: var(--teal-mist); }
.ms-tile--exp { background: #F0E3CC; }
.ms-tile__lvl {
  font-size: 10px;
  letter-spacing: .04em;
}
.ms-tile--master .ms-tile__lvl { color: rgba(16, 49, 47, .55); }
.ms-tile--lead .ms-tile__lvl { color: var(--teal); }
.ms-tile--exp .ms-tile__lvl { color: var(--gold-dark); }
.ms-tile__val {
  font-weight: 600;
  font-size: 15px;
}

/* -------- абонементы -------- */

.ms-abos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}
.ms-abo {
  border-radius: 22px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ms-abo--mist { background: var(--teal-mist); }
.ms-abo--pine {
  background: var(--pine);
  color: var(--cream);
}
.ms-abo--gift { background: linear-gradient(120deg, #F0E3CC, #EAD9BB); }

.ms-abo__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ms-abo__tag {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ms-abo__mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 30px;
}
.ms-abo--mist .ms-abo__tag,
.ms-abo--mist .ms-abo__mark { color: var(--teal); }
.ms-abo--pine .ms-abo__tag,
.ms-abo--pine .ms-abo__mark { color: var(--gold); }
.ms-abo--gift .ms-abo__tag,
.ms-abo--gift .ms-abo__mark { color: var(--gold-dark); }

.ms-abo__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 23px;
}
.ms-abo__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-70);
}
.ms-abo--pine .ms-abo__text { color: rgba(247, 242, 233, .72); }
.ms-abo--gift .ms-abo__text { margin-bottom: 6px; }
.ms-abo__link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold-dark);
  text-decoration: none;
  margin-top: auto;
  transition: color .25s ease;
}
.ms-abo__link:hover { color: var(--teal); }

/* -------- фото-стрип -------- */

.ms-photos { padding-bottom: clamp(60px, 8vw, 100px); }

.ms-photos__grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 16px;
}

.ms-shot {
  height: clamp(220px, 30vw, 360px);
  border-radius: 22px;
  position: relative;
}
.ms-shot--dark {
  background:
    repeating-linear-gradient(45deg, rgba(247, 242, 233, .07) 0 12px, rgba(247, 242, 233, 0) 12px 26px),
    linear-gradient(155deg, #124542, var(--pine));
}
.ms-shot--gold {
  background:
    repeating-linear-gradient(45deg, rgba(185, 146, 79, .12) 0 12px, rgba(185, 146, 79, 0) 12px 26px),
    linear-gradient(155deg, #F0E7D8, #E6D9C2);
}
.ms-shot--teal {
  background:
    repeating-linear-gradient(45deg, rgba(23, 116, 112, .1) 0 12px, rgba(23, 116, 112, 0) 12px 26px),
    linear-gradient(155deg, var(--teal-mist), #CFE0DC);
}
.ms-shot__cap {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
}
.ms-shot--dark .ms-shot__cap { color: rgba(247, 242, 233, .7); }
.ms-shot--gold .ms-shot__cap { color: var(--gold-dark); }
.ms-shot--teal .ms-shot__cap { color: var(--teal); }

/* -------- FAQ и противопоказания -------- */

.ms-qa { padding-bottom: clamp(70px, 9vw, 120px); }

.ms-qa__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: start;
}

.ms-qa__h2 {
  margin: 0 0 26px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.08;
}

.ms-faq-list { border-top: 1px solid rgba(16, 60, 58, .14); }
.ms-faq { border-bottom: 1px solid rgba(16, 60, 58, .14); }
.ms-faq__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: none;
  border: none;
  padding: 19px 4px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.ms-faq__ico {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--teal);
  transition: transform .35s ease;
  flex: none;
}
.ms-faq__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s cubic-bezier(.22, .61, .36, 1);
}
.ms-faq__text {
  margin: 0;
  padding: 0 4px 20px;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(16, 49, 47, .75);
  max-width: 56ch;
}

.ms-contra {
  border: 1.5px solid rgba(23, 116, 112, .35);
  background: var(--ivory);
  border-radius: 22px;
  padding: 28px;
}
.ms-contra__eyebrow {
  gap: 10px;
  letter-spacing: .28em;
  margin-bottom: 16px;
}
.ms-contra__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ms-contra__item {
  display: flex;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-80);
}
.ms-contra__dia {
  color: var(--gold);
  flex: none;
}
.ms-contra__note {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line-12);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-60);
}

/* -------- тёмная CTA -------- */

.ms-cta-sec {
  background: var(--pine);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.ms-cta-sec__glow {
  position: absolute;
  top: -220px;
  left: -120px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(59, 150, 143, .25), rgba(59, 150, 143, 0));
  pointer-events: none;
}
.ms-cta-sec__inner {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: clamp(70px, 10vw, 120px) var(--pad-x);
  text-align: center;
  position: relative;
}
.ms-cta__h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.06;
}
.ms-cta__sub {
  margin: 0 0 30px;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(247, 242, 233, .7);
}
.ms-cta__row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.ms-cta__gold {
  font-size: 15.5px;
  transition: background .3s ease;
}
.ms-cta__ghost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid rgba(247, 242, 233, .3);
  color: var(--cream);
  font-weight: 600;
  font-size: 15.5px;
  padding: 16px 29px;
  border-radius: 999px;
  text-decoration: none;
  transition: border-color .3s ease, color .3s ease;
}
.ms-cta__ghost:hover {
  border-color: rgba(185, 146, 79, .8);
  color: var(--gold);
}
.ms-cta__meta {
  margin: 26px 0 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(247, 242, 233, .45);
}

/* -------- мобильный брейкпоинт -------- */

@media (max-width: 920px) {
  .ms-hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .ms-hero__sticker { right: 6px; }
  .ms-photos__grid { grid-template-columns: 1fr; }
  .ms-qa__grid { grid-template-columns: 1fr; }
}
