@font-face {
  font-family: "Slovic";
  src: url("../fonts/Slovic_Demo-Serif.woff2") format("woff2"),
       url("../fonts/Slovic_Demo-Serif.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Component labels use the pre-Slovic typography; Slovic is reserved for real headings. */
.card__body .card__title,
.banner__title,
.cta__title,
.mclass-kids-schedule .mclass-card__title,
.mclass-other__card .mclass-card__title,
.bar-menu-card .component-title,
.cert-benefit .component-title,
.cert-card .component-title,
.cert-service-card .component-title,
.cert-cta__title,
.about-timeline__card .component-title { font-family: var(--sans); }
.feat__title,
.mclass-svc .mclass-card__title,
.article-card .article-title,
.about-why__card .component-title,
.bar-benefit .component-title,
.svc-price-card .component-title,
.svc-accessories .component-title,
.svc-masseur .component-title,
.cinfo .component-title { font-family: var(--sans); }

/* Reviews page */
.page-reviews { --reviews-ink:#344A33; --reviews-muted:#687268; --reviews-line:rgba(52,74,51,.16); background:var(--paper); }
.reviews-head { padding:112px 0 46px; background:var(--paper-2); }
.reviews-head__breadcrumbs { display:flex; align-items:center; gap:10px; margin-bottom:26px; color:var(--reviews-muted); font-size:14px; }
.reviews-head__breadcrumbs a:hover { color:var(--reviews-ink); }
.reviews-head__label, .reviews-contact__label { margin-bottom:10px; color:var(--reviews-ink); font-size:12px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; }
.reviews-head h1 { margin:0 0 16px; color:var(--reviews-ink); font:400 clamp(44px,6vw,76px)/1.02 var(--serif); }
.reviews-head__lead { max-width:700px; margin-bottom:8px; color:var(--reviews-muted); font-size:clamp(18px,2vw,22px); }
.reviews-head__note { color:var(--reviews-muted); font-size:14px; }
.reviews-directory { padding:66px 0 76px; }
.reviews-section-head { display:flex; align-items:center; justify-content:space-between; gap:32px; margin-bottom:28px; }
.reviews-section-head h2 { color:var(--reviews-ink); font:400 clamp(30px,4vw,46px)/1.08 var(--serif); }
.reviews-stats { display:flex; align-items:center; gap:24px; padding:13px 18px; border:1px solid var(--reviews-line); border-radius:10px; background:rgba(255,255,255,.32); }
.reviews-stat { display:grid; gap:2px; }
.reviews-stat + .reviews-stat { padding-left:24px; border-left:1px solid var(--reviews-line); }
.reviews-stat__value { color:var(--reviews-ink); font-size:22px; font-weight:600; line-height:1; }
.reviews-stat:first-child .reviews-stat__value { font-size:30px; }
.reviews-stat__label { color:var(--reviews-muted); font-size:12px; white-space:nowrap; }
.reviews-filters { display:inline-flex; gap:0; margin-bottom:28px; overflow-x:auto; border:1px solid var(--reviews-line); border-radius:8px; background:rgba(255,255,255,.28); scrollbar-width:none; }
.reviews-filters::-webkit-scrollbar { display:none; }
.reviews-filter { min-height:42px; padding:0 18px; border:0; border-right:1px solid var(--reviews-line); background:transparent; color:var(--reviews-muted); font:500 13px/1 var(--sans); cursor:pointer; white-space:nowrap; transition:background .2s ease,color .2s ease; }
.reviews-filter:last-child { border-right:0; }
.reviews-filter:hover { color:var(--reviews-ink); background:rgba(52,74,51,.07); }
.reviews-filter.is-active { background:var(--reviews-ink); color:#fff; }
.reviews-filter:focus-visible, .review-card__expand:focus-visible, .reviews-actions .btn:focus-visible { outline:2px solid var(--reviews-ink); outline-offset:3px; }
.reviews-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); grid-auto-rows:1fr; align-items:stretch; gap:18px; }
.review-card { display:flex; min-width:0; flex-direction:column; padding:25px 26px 22px; border:1px solid var(--reviews-line); border-radius:12px; background:rgba(255,255,255,.58); transition:border-color .2s ease,transform .2s ease; animation:review-card-in .22s ease both; animation-delay:var(--review-delay,0ms); }
.review-card:hover { border-color:rgba(52,74,51,.34); transform:translateY(-2px); }
.review-card__top, .review-card__author-row { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.review-card__top { margin-bottom:19px; }
.review-card__stars { color:var(--wine); font:600 15px/1 Arial,sans-serif; letter-spacing:2px; white-space:nowrap; }
.review-card__source { padding:5px 8px; border:1px solid var(--reviews-line); border-radius:6px; color:var(--reviews-muted); font-size:11px; line-height:1; white-space:nowrap; }
.review-card__source--2gis { color:var(--reviews-ink); }
.review-card__author-row { align-items:baseline; margin-bottom:14px; }
.review-card__author { color:var(--ink); font-size:16px; font-weight:600; }
.review-card__date { color:var(--reviews-muted); font-size:12px; white-space:nowrap; }
.review-card__body { flex:1; min-width:0; }
.review-card__text { display:-webkit-box; overflow:hidden; margin:0; color:var(--muted); font-size:14px; line-height:1.58; -webkit-box-orient:vertical; -webkit-line-clamp:14; }
.review-card.is-expanded .review-card__text { display:block; }
.review-card__expand { align-self:flex-start; margin-top:12px; padding:0; border:0; background:transparent; color:var(--reviews-ink); font:600 12px/1.4 var(--sans); cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.review-card__link { align-self:flex-start; margin-top:20px; color:var(--reviews-ink); font-size:12px; font-weight:600; transition:color .2s ease,transform .2s ease; }
.review-card__link:hover { color:var(--green-2); transform:translateX(2px); }
.reviews-ai-card { display:flex; min-width:0; min-height:490px; flex-direction:column; padding:22px 26px 18px; border:1px solid var(--reviews-line); border-radius:12px; background:var(--paper-2); }
.reviews-ai-card__header { margin-bottom:16px; }
.reviews-ai-card__header h3 { margin:0 0 8px; color:var(--reviews-ink); font:400 24px/1.12 var(--serif); }
.reviews-ai-card__header p { max-width:290px; margin:0; color:var(--reviews-muted); font-size:12px; line-height:1.45; }
.reviews-ai-card__visual { display:grid; gap:19px; }
.reviews-ai-card__item { display:grid; grid-template-columns:16px minmax(0,1fr); gap:10px; opacity:0; transform:translateY(5px); transition:opacity .22s ease,transform .22s ease; }
.reviews-ai-card__item.is-visible { opacity:1; transform:none; }
.reviews-ai-card__check { display:inline-flex; width:16px; height:16px; flex:0 0 16px; align-items:center; justify-content:center; align-self:start; border:1px solid var(--reviews-ink); border-radius:50%; color:var(--reviews-ink); line-height:1; }
.reviews-ai-card__check svg { display:block; width:11px; height:11px; }
.reviews-ai-card__check path { fill:none; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.5; }
.reviews-ai-card__item h4 { min-height:1.4em; margin:0 0 3px; color:var(--ink); font-size:13px; font-weight:600; line-height:1.4; }
.reviews-ai-card__item p { margin:0; color:var(--reviews-muted); font-size:12px; line-height:1.45; }
.reviews-ai-card__conclusion { position:relative; margin:0; padding-top:16px; color:var(--reviews-ink); font-size:13px; font-weight:500; line-height:1.5; opacity:0; visibility:hidden; }
.reviews-ai-card__conclusion::before { position:absolute; top:0; right:0; left:0; height:1px; background:var(--reviews-line); content:""; transform:scaleX(0); transform-origin:left center; transition:transform .32s ease; }
.reviews-ai-card__conclusion.is-visible { opacity:1; visibility:visible; }
.reviews-ai-card__conclusion.is-line-drawn::before { transform:scaleX(1); }
.reviews-empty { grid-column:1/-1; color:var(--reviews-muted); }
.reviews-actions { display:flex; justify-content:center; gap:12px; margin-top:32px; }
.reviews-actions .btn { min-width:148px; }
.reviews-contact { padding:0 0 96px; }
.reviews-contact__panel { display:grid; grid-template-columns:minmax(250px,.8fr) minmax(0,1.2fr); overflow:hidden; border:1px solid var(--reviews-line); border-radius:18px; background:var(--paper-2); }
.reviews-contact__photo { display:grid; min-height:560px; place-items:center; background:repeating-linear-gradient(135deg,#eef0e9 0 22px,#e3e7df 22px 44px); color:#9aa497; font-size:12px; font-weight:600; letter-spacing:.14em; }
.reviews-contact__photo span { transform:rotate(-12deg); }
.reviews-contact__photo > picture,
.faq-contact__photo > picture { display:block; width:100%; height:100%; }
.reviews-contact__photo img, .faq-contact__photo img { display:block; width:100%; height:100%; object-fit:cover; }
.reviews-contact__content { padding:48px clamp(24px,4vw,58px) 46px; }
.reviews-contact__content h2, .reviews-contact__title { display:block; margin-bottom:12px; color:var(--reviews-ink); font:400 clamp(30px,4vw,44px)/1.08 var(--serif); }
.reviews-contact__lead { margin-bottom:26px; color:var(--reviews-muted); font-size:15px; }
.reviews-form { max-width:640px; }
@keyframes review-card-in { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
@media (prefers-reduced-motion:reduce) { .review-card, .reviews-ai-card__item { animation:none; transition:none; } }
@media (max-width:1100px) { .reviews-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .reviews-section-head { align-items:flex-start; flex-direction:column; gap:18px; } .reviews-ai-card { min-height:540px; } }
@media (max-width:700px) {
  .reviews-head { padding:106px 0 34px; }
  .reviews-head__breadcrumbs { margin-bottom:20px; }
  .reviews-head h1 { font-size:42px; }
  .reviews-directory { padding:46px 0 58px; }
  .reviews-section-head { margin-bottom:20px; }
  .reviews-section-head h2 { font-size:32px; }
  .reviews-stats { width:100%; justify-content:space-between; gap:12px; padding:12px 14px; }
  .reviews-stat + .reviews-stat { padding-left:12px; }
  .reviews-stat:first-child .reviews-stat__value { font-size:26px; }
  .reviews-stat__value { font-size:18px; }
  .reviews-stat__label { font-size:10px; }
  .reviews-filter { min-height:44px; padding-inline:14px; }
  .reviews-grid { grid-template-columns:1fr; grid-auto-rows:auto; align-items:start; gap:14px; }
  .review-card { padding:22px 20px 20px; }
  .reviews-ai-card { padding:22px 20px 20px; }
  .reviews-ai-card__header h3 { font-size:22px; }
  .reviews-ai-card { min-height:0; }
  .review-card__author-row { align-items:flex-start; flex-direction:column; gap:4px; }
  .reviews-actions { align-items:stretch; flex-direction:column; margin-top:24px; }
  .reviews-actions .btn { width:100%; }
  .reviews-contact { padding-bottom:64px; }
  .reviews-contact__panel { grid-template-columns:1fr; border-radius:16px; }
  .reviews-contact__photo { display:none; }
  .reviews-contact__content { padding:32px 20px 28px; }
}

/* ========== FAQ page ========== */
.page-faq {
  --faq-ink: #344A33;
  --faq-muted: #687268;
  --faq-line: rgba(52, 74, 51, .16);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}
.faq-head {
  padding: 128px 0 44px;
  background: var(--paper-2);
}
.faq-head__breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: #7B8178;
  font-size: 13px;
}
.faq-head__breadcrumbs a { transition: color .2s ease; }
.faq-head__breadcrumbs a:hover { color: var(--faq-ink); }
.faq-head__label,
.faq-contact__label {
  margin-bottom: 10px;
  color: #5A774A;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.faq-head h1 {
  max-width: 760px;
  margin-bottom: 16px;
  color: var(--faq-ink);
  font-family: var(--serif);
  font-size: clamp(40px, 4.5vw, 58px);
  font-weight: 400;
  line-height: 1.08;
}
.faq-head > .container > p:last-child {
  max-width: 650px;
  color: #62675F;
  font-size: 16px;
}
.faq-directory { padding: 62px 0 80px; }
.faq-directory__title {
  margin-bottom: 26px;
  color: var(--faq-ink);
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 400;
  line-height: 1.15;
}
.faq-tabs {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  border-bottom: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(52,74,51,.28) transparent;
}
.faq-tabs__tab {
  position: relative;
  flex: 1 0 auto;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  background: transparent;
  color: #6A7268;
  font: 500 14px/1.2 var(--sans);
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.faq-tabs__tab:first-child { padding-left: 0; }
.faq-tabs__tab:hover { color: var(--faq-ink); }
.faq-tabs__tab.is-active {
  color: var(--faq-ink);
  background: transparent;
}
.faq-tabs__tab.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 120px;
  height: 24px;
  transform: translateX(-50%);
  background: url("../images/icons/divider-leaf.svg") center / contain no-repeat;
  pointer-events: none;
}
.faq-tabs__tab.is-active:focus-visible {
  /* The leaf divider is the active/focus indicator; avoid a rectangular focus ring here. */
  outline: 0;
}
.faq-tabs__tab:focus-visible,
.faq-question:focus-visible,
.faq-form input:focus-visible,
.faq-form textarea:focus-visible,
.faq-form__consent input:focus-visible {
  outline: 2px solid rgba(52,74,51,.42);
  outline-offset: 2px;
}
.faq-panels { margin-top: 8px; }
.faq-panel[hidden] { display: none; }
.faq-panel__list { border-top: 1px solid var(--faq-line); }
.faq-item { border-bottom: 1px solid var(--faq-line); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 70px;
  padding: 18px 0;
  border: 0;
  background: transparent;
  color: #263125;
  text-align: left;
  font: 600 17px/1.35 var(--sans);
  cursor: pointer;
}
.faq-question__icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(52,74,51,.28);
  border-radius: 50%;
  color: var(--faq-ink);
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 26px;
  text-align: center;
  transform: translateY(-1px);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.faq-item.is-open .faq-question__icon {
  background: var(--faq-ink);
  color: #fff;
  transform: translateY(-1px);
}
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .25s ease;
}
.faq-answer__inner { min-height: 0; overflow: hidden; }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-answer p {
  max-width: 760px;
  padding: 0 48px 22px 0;
  color: var(--faq-muted);
  font-size: 15px;
  line-height: 1.65;
}
.faq-contact { padding: 0 0 96px; }
.faq-contact__panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  min-height: 580px;
  overflow: hidden;
  border: 1px solid var(--faq-line);
  border-radius: 24px;
  background: var(--paper-2);
}
.faq-contact__photo {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(135deg, #e5e9e1 0 18px, #f0f2ed 18px 36px);
  color: #9aa297;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
}
.faq-contact__content { padding: 52px clamp(26px, 4vw, 64px) 48px; }
.faq-contact__label { margin-bottom: 8px; }
.faq-contact__content h2, .faq-contact__title {
  display: block;
  margin-bottom: 10px;
  color: var(--faq-ink);
  font-family: var(--serif);
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 400;
  line-height: 1.1;
}
.faq-contact__lead { margin-bottom: 28px; color: var(--faq-muted); font-size: 16px; }
.faq-form { display: grid; gap: 14px; }
.faq-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.faq-form__field { display: block; color: #354334; font-size: 13px; font-weight: 600; }
.faq-form__field > span { color: #9b5549; }
.faq-form__field input,
.faq-form__field textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 6px;
  border: 1px solid #c8cec5;
  border-radius: 8px;
  background: #fff;
  color: #1d241c;
  padding: 11px 13px;
  font: 400 15px/1.3 var(--sans);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-form__field textarea { min-height: 112px; resize: vertical; }
.faq-form__field input:focus,
.faq-form__field textarea:focus { border-color: var(--faq-ink); box-shadow: 0 0 0 2px rgba(52,74,51,.12); outline: 0; }
.faq-form__field input.is-invalid,
.faq-form__field textarea.is-invalid,
.faq-form__consent input.is-invalid { border-color: #b75a4e; box-shadow: 0 0 0 2px rgba(183,90,78,.14); }
.faq-form__error { display: block; min-height: 0; margin-top: 4px; color: #a24e43; font-size: 11px; font-weight: 400; }
.faq-form__consent { display: flex; align-items: flex-start; gap: 9px; color: var(--faq-muted); font-size: 11px; font-weight: 400; line-height: 1.45; }
.faq-form__consent input { flex: 0 0 18px; width: 18px; height: 18px; margin: 1px 0 0; appearance: none; -webkit-appearance: none; border: 1px solid #7d867b; border-radius: 3px; background: #fff center / 12px 12px no-repeat; cursor: pointer; }
.faq-form__consent input:checked { border-color: var(--faq-ink); background-color: var(--faq-ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3 3 7-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.faq-form__consent a { color: var(--faq-muted); text-decoration: underline; text-underline-offset: 2px; }
.faq-form__consent-error { margin: -8px 0 0 27px; }
.faq-form__submit { width: 100%; margin-top: 2px; }
.faq-form__status { margin-top: 2px; color: var(--faq-muted); font-size: 13px; line-height: 1.5; }

@media (max-width: 760px) {
  .faq-head { padding: 116px 0 34px; }
  .faq-head h1 { font-size: 38px; }
  .faq-directory { padding: 44px 0 58px; }
  .faq-directory__title { font-size: 30px; }
  .faq-tabs__tab { padding: 0 14px; }
  .faq-tabs__tab:first-child { padding-left: 0; }
  .faq-question { min-height: 64px; padding: 16px 0; font-size: 15px; }
  .faq-answer p { padding-right: 40px; font-size: 14px; }
  .faq-contact { padding-bottom: 64px; }
  .faq-contact__panel { grid-template-columns: 1fr; min-height: 0; border-radius: 18px; }
  .faq-contact__photo { display:none; }
  .faq-contact__content { padding: 32px 22px 28px; }
  .faq-contact__content h2, .faq-contact__title { font-size: 34px; }
  .faq-contact__lead { margin-bottom: 22px; }
  .faq-form__row { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .faq-head h1 { font-size: 34px; }
  .faq-directory__title { font-size: 28px; }
  .faq-contact__content { padding-inline: 18px; }
}

:root {
  --green: #354A32;
  --green-2: #2B3C29;
  --green-soft: #5A6F52;
  --red: #B52322;
  --cream: #f7f4ef;
  --cream-2: #f7f4ef;
  --card: #ffffff;
  --ink: #1d1a16;
  --muted: #6a645b;
  --footer: #0f0f0f;
  --white: #fff;
  --paper: #FBF8F2;
  --paper-2: #F4F0E7;
  --wine: #B42322;
  --line: rgba(52, 74, 51, 0.14);
  --max: 1180px;
  --wide: 1400px;
  --serif: "Slovic", serif;
  --sans: "Inter", sans-serif;
  --r: 6px;
  --r-lg: 28px;
  --shadow: 0 10px 36px rgba(29, 26, 22, 0.08);
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
html.request-modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream-2);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.shell-wide {
  width: min(100% - 40px, var(--wide));
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--r);
  border: 1.5px solid transparent;
  font: 600 14px/1 var(--sans);
  cursor: pointer;
  transition: 0.2s ease;
  white-space: nowrap;
}

.btn--green {
  background: var(--green);
  color: var(--white);
}
.btn--green:hover { background: var(--green-2); transform: translateY(-1px); }

.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}
.btn--ghost-light:hover { background: rgba(255,255,255,.1); }

.btn--outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn--outline:hover { background: var(--green); color: #fff; }

.btn--sm { min-height: 40px; padding: 0 14px; font-size: 13px; font-weight: 500; }
.btn--lg { min-height: 52px; padding: 0 30px; font-size: 15px; }

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 18px 0;
  transition: .25s ease;
}

.header.is-scrolled {
  padding: 10px 0;
  background: rgba(16,12,10,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(0,0,0,.28);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.logo--row img {
  width: 60px;
  height: 60px;
}

.logo--row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo--row strong { display: block; color: #fff; font-size: 17px; }
.logo--row small { color: rgba(255,255,255,.55); font-size: 12px; }

.nav { flex: 1; display: flex; justify-content: center; }
.nav__mobile-meta { display: none; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__list > li > a,
.nav__list > li > .nav__parent {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav__list > li > .nav__parent {
  cursor: default;
  user-select: none;
}
.nav__list > li > a.is-active,
.nav__list > li > .nav__parent.is-active {
  color: #fff;
  box-shadow: inset 0 -2px 0 var(--green-soft);
}
.nav__list > li > a i,
.nav__list > li > .nav__parent i {
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: .7;
}

.has-sub { position: relative; }
.submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 180px;
  background: #fff;
  border-radius: 10px;
  padding: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: .2s ease;
}
.page-home { --serif: "Slovic", serif; }
.submenu--gym { min-width: 236px; }
.submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
}
.submenu a:hover { background: var(--cream); color: var(--green); }
.has-sub:hover .submenu,
.has-sub:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.header__actions { display: flex; align-items: center; gap: 10px; }

.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 8px;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.burger span {
  display: block;
  flex: 0 0 2px;
  width: 18px;
  height: 2px;
  background: #fff;
  transition: .2s;
}
.burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
body.menu-open { overflow: hidden; }

.request-modal[hidden] { display: none; }
.request-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; overscroll-behavior: none; height: var(--request-vvh, 100vh); top: var(--request-vv-top, 0px); bottom: auto; }
.request-modal__backdrop { position: absolute; inset: 0; background: rgba(19, 27, 19, .58); backdrop-filter: blur(3px); touch-action: none; }
.request-modal__dialog { position: relative; width: min(100%, 460px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); max-height: calc(var(--request-vvh, 100vh) - 24px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; padding: 28px 30px; box-sizing: border-box; border-radius: 18px; background: #f7f6f1; box-shadow: 0 22px 70px rgba(0,0,0,.24); }
.request-modal__dialog::-webkit-scrollbar { display: none; width: 0; }
.request-modal__close { position: absolute; top: 10px; right: 14px; border: 0; background: none; color: #445144; font-size: 30px; line-height: 1; cursor: pointer; }
.request-modal__dialog h2, .request-modal__title { display:block; margin: 0 0 22px; font: 400 clamp(28px, 4vw, 38px)/1.1 var(--serif); color: #1d241c; }
.request-modal__lead { margin: 0 0 22px; color: #657064; font-size: 14px; line-height: 1.5; }
.request-modal__form { display: grid; gap: 11px; }
.request-modal__form label { display: block; color: #354334; font-size: 13px; font-weight: 600; }
.request-modal__form label > span { display: inline; color: #9b5549; }
.request-modal__form label .request-modal__required { display: inline; margin-left: 3px; }
.request-modal__form input, .request-modal__form select { display: block; width: 100%; box-sizing: border-box; margin-top: 6px; border: 1px solid #c8cec5; border-radius: 8px; background: #fff; color: #1d241c; padding: 10px 13px; font: 400 15px/1.2 var(--sans); }
@media (pointer: coarse), (max-width: 767px) {
  .request-modal__form input,
  .request-modal__form select,
  .request-modal__form textarea { font-size: 16px; }
}
.request-modal__form input.is-invalid, .request-modal__form select.is-invalid { border-color: #b75a4e; box-shadow: 0 0 0 2px rgba(183, 90, 78, .14); }
.request-modal__error { display: block; min-height: 15px; margin-top: 5px; color: #b75a4e; font-size: 11px; font-weight: 500; line-height: 1.35; }
.request-modal__consent-error { margin-top: -5px; }
.request-modal__form input:focus:not(.is-invalid), .request-modal__form select:focus:not(.is-invalid) { outline: 2px solid rgba(53, 74, 50, .24); border-color: var(--green); }
.request-modal__form .request-modal__consent { display: flex; align-items: flex-start; gap: 9px; margin-top: 2px; color: #657064 !important; font-size: 11px; line-height: 1.4; font-weight: 400; }
.request-modal__form .request-modal__consent > span { color: #657064 !important; }
.request-modal__form .request-modal__consent > span::first-letter { color: #657064 !important; }
.request-modal__consent input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #7d867b;
  border-radius: 3px;
  background: #fff center / 12px 12px no-repeat;
  cursor: pointer;
}
.request-modal__consent input[type="checkbox"]:checked {
  border-color: var(--green);
  background-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3 3 7-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.request-modal__consent input[type="checkbox"].is-invalid { border-color: #b75a4e; box-shadow: 0 0 0 2px rgba(183, 90, 78, .14); }
.request-modal__consent a { color: #657064 !important; text-decoration: underline; text-underline-offset: 2px; }
.request-modal__submit { width: 100%; margin-top: 4px; }
.request-modal__success { margin: 2px 0 0; color: #356044; font-size: 13px; }
body.request-modal-open { overflow: hidden; }

.cookie-banner { position: fixed; inset: auto 0 0; z-index: 950; padding: 16px; background: rgba(247,246,241,.98); border-top: 1px solid rgba(53,74,50,.16); box-shadow: 0 -8px 30px rgba(21,29,21,.12); }
.cookie-banner__inner { max-width: 1120px; margin: 0 auto; display: grid; gap: 14px; }
.cookie-banner__text { margin: 0; color: #4f5b4e; font-size: 14px; line-height: 1.55; }
.cookie-banner__text a { color: var(--c-green); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-banner__btn { min-height: 42px; }
.cookie-settings { position: fixed; inset: 0; z-index: 960; display: grid; place-items: center; padding: 20px; }
.cookie-settings__backdrop { position: absolute; inset: 0; background: rgba(21,29,21,.45); }
.cookie-settings__panel { position: relative; width: min(100%, 520px); max-height: calc(100vh - 40px); overflow: auto; padding: 24px; border-radius: 16px; background: #fff; box-shadow: 0 18px 50px rgba(21,29,21,.18); }
.cookie-settings__close { position: absolute; top: 10px; right: 12px; border: 0; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; color: #657064; }
.cookie-settings__title { margin: 0 0 12px; font-family: var(--serif); font-size: 28px; color: var(--ink); }
.cookie-settings__toggle { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; font-size: 15px; line-height: 1.5; }
.cookie-settings__toggle span { color: #657064; font-size: 13px; }
.cookie-settings__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cookie-settings__note { margin-top: 14px; font-size: 13px; }
.footer__cookie-settings { display: inline-block; margin-top: 10px; padding: 0; border: 0; background: none; color: #5A774A; font-size: 13px; text-decoration: underline; cursor: pointer; }
.footer__cookie-settings:hover { color: var(--c-green); }
.footer__legal .footer__cookie-settings {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: inherit;
}
.footer__legal .footer__cookie-settings:hover { color: rgba(255, 255, 255, 0.75); }
.faq-form__consent--optional { margin-top: 8px; opacity: .95; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero__media {
  position: absolute;
  inset: 0;
  background: #120e0c center right / cover no-repeat;
  transform: scale(1.04);
  animation: heroIn 16s ease-out forwards;
}
.hero__media--yamshik { background-position: center center; }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,8,6,.72) 0%, rgba(10,8,6,.35) 46%, rgba(10,8,6,.12) 70%, rgba(10,8,6,.25) 100%),
    linear-gradient(180deg, rgba(10,8,6,.4) 0%, transparent 24%, rgba(10,8,6,.45) 100%);
  pointer-events: none;
}

.hero__box {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin-left: max(24px, calc((100% - var(--max)) / 2));
  width: min(100% - 48px, 560px);
  animation: fadeUp .85s ease both;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 6.5vw, 70px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}

.hero__lead {
  font-family: var(--sans);
  font-size: clamp(18px, 2.2vw, 26px);
  margin-bottom: 16px;
}

.hero__text {
  max-width: 430px;
  font-size: 15px;
  color: rgba(255,255,255,.86);
  margin-bottom: 28px;
}

.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Section head */
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head__label {
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.sec-head h2,
.history__content h2,
.cta h2,
.banner h2,
.banner__title,
.cta__title {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
}
.sec-head h2 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 400;
  color: var(--ink);
}
.sec-head__leaf {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--green);
}
.sec-head__leaf span {
  width: 42px; height: 1px;
  background: rgba(62,105,45,.35);
}

/* Classes */
.classes {
  padding: 88px 0 72px;
  background: var(--cream);
}

.classes__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.card {
  position: relative;
  background: var(--card);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(29, 26, 22, 0.06);
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 44px rgba(29,26,22,.12);
}

.card__img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d9d1c4;
}
.card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform .55s ease;
}
.card__img--muzhskoy img { object-position: center center; }
.card__img--zhenskiy-obzhiy img { object-position: center center; }
.card__img--zhenskiy-luks img { object-position: 35% center; }
.card:hover .card__img img { transform: scale(1.04); }

.ribbon-wrap{
  position:absolute; top:0; left:0;
  width:160px; height:160px;
  overflow:hidden; pointer-events:none; z-index:3;
}
.ribbon{
  position:absolute; display:block;
  width:240px;              /* длиннее диагонали окна — иначе текст обрежется */
  left:-60px; top:46px;     /* даёт cx=cy=60 → лента симметрична диагонали угла */
  padding:7px 0;
  background:#354A32;       /* цвет круга логотипа */
  color:#FBF8F2;
  font:600 11px/1.2 Inter,sans-serif;
  letter-spacing:.06em;
  text-transform:uppercase;
  text-align:center;        /* центрирует текст на ленте */
  white-space:nowrap;       /* КРИТИЧНО: без этого текст переносится и режется */
  transform:rotate(-45deg);
  transform-origin:center;
  box-shadow:0 2px 6px rgba(0,0,0,.22);
}

.card__body {
  display: flex;
  flex-direction: column;
  padding: 20px 20px 22px;
}
.card__body h3,
.card__body .card__title {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 8px;
}
.card__title--nowrap {
  white-space: nowrap;
}
.card__body p {
  font-size: 14px;
  color: var(--muted);
  flex: 1;
  min-height: 42px;
  margin-bottom: 14px;
}
.card__body strong { font-size: 15px; }

a.card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card--soon {
  cursor: default;
}

.card--soon:hover {
  transform: none;
  box-shadow: 0 8px 28px rgba(29, 26, 22, 0.06);
}

.card--soon:hover .card__img img {
  transform: none;
  filter: grayscale(0) brightness(1.15);
}

.card--soon .card__img img {
  filter: grayscale(0.15) brightness(0.95);
  transition: filter .45s ease, transform .55s ease;
}

.card--soon .card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 15, 0.20);
  pointer-events: none;
  transition: background .45s ease;
}

.card--soon:hover .card__img::after {
  background: rgba(20, 24, 15, 0);
}

/* Разная лёгкая тонировка — одно фото не читается дублем */
.card--soon-lux .card__img::after { background: rgba(20, 24, 15, 0.20); }
.card--soon-volna .card__img::after { background: rgba(16, 22, 20, 0.20); }
.card--soon-atlant .card__img::after { background: rgba(24, 20, 14, 0.20); }
.card--soon-lux:hover .card__img::after,
.card--soon-volna:hover .card__img::after,
.card--soon-atlant:hover .card__img::after {
  background: rgba(20, 24, 15, 0);
}

.card__status {
  font-weight: 600;
  color: var(--muted);
}

/* Class page hero */
.class-hero {
  position: relative;
  min-height: min(72vh, 640px);
  display: flex;
  align-items: flex-end;
  padding: 120px 0 64px;
  background-color: #1a1612;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  overflow: hidden;
}
.class-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 8, 6, 0.35) 0%,
    rgba(10, 8, 6, 0.55) 45%,
    rgba(10, 8, 6, 0.88) 100%
  );
}
.class-hero--muzhskoy {
  background-image: image-set(url("../images/muzhskoy-obzhiy-1200.webp") 1x, url("../images/muzhskoy-obzhiy-1200.webp") 2x);
  background-position: center center;
}
.class-hero--zhenskiy-obzhiy {
  background-image: image-set(url("../images/zhenskiy-obzhiy-1200.webp") 1x, url("../images/zhenskiy-obzhiy-1200.webp") 2x);
  background-position: center center;
}
.class-hero--zhenskiy-luks {
  background-image: image-set(url("../images/zhenskiy-luks-1200.webp") 1x, url("../images/zhenskiy-luks-1200.webp") 2x);
  background-position: 35% center;
}
.class-hero__box {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.class-hero__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 12px;
}
.class-hero h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  color: #fff;
  margin-bottom: 14px;
}
.class-hero__meta {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 28px;
}
.class-hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.class-page {
  padding: 56px 0 72px;
  background: var(--cream);
}
.class-page__lead {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}

.class-other {
  padding: 72px 0 48px;
  background: #fff;
}
.class-other__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.class-other .card__body h3,
.class-other .card__body .card__title { font-size: 19px; }
.class-other .card__body p { min-height: 0; margin-bottom: 10px; }

/* History */
.history-wrap {
  padding: 12px 0 48px;
  background: var(--cream);
}

.history {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f3efe7;
  border-radius: 32px;
  overflow: hidden;
  min-height: 460px;
  box-shadow: 0 12px 40px rgba(29, 26, 22, 0.07);
}

.history__visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}
.history__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: left center;
  display: block;
}
.history__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 48%, #f3efe7 92%);
}

.history__content {
  position: relative;
  padding: 56px 180px 56px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.history__content .sec-head__label {
  text-align: left;
  margin-bottom: 10px;
  color: #5a564e;
}
.history__content h2 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 400;
  margin-bottom: 16px;
  max-width: 420px;
  position: relative;
  z-index: 2;
}
.history__content > p {
  font-size: 14.5px;
  color: var(--muted);
  max-width: 420px;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}
.history__content .btn {
  margin-top: 16px;
  align-self: flex-start;
  position: relative;
  z-index: 2;
}

.history__stamp {
  position: absolute;
  top: 36px;
  right: 40px;
  z-index: 2;
  box-sizing: border-box;
  width: 150px;
  height: 155px;
  padding: 18px;
  border: 1px solid #C9B896;
  border-radius: 8px;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.history__stamp img {
  width: 76px;
  height: auto;
  margin-bottom: 12px;
  display: block;
}
.history__stamp span {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.2;
  color: #8C8578;
  text-align: center;
  text-transform: none;
}

.history__branch {
  position: absolute;
  right: 24px;
  bottom: 36px;
  width: 200px;
  height: auto;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

/* Features */
.features {
  padding: 72px 0 48px;
  background: var(--cream);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
}

.feat {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.feat__ico {
  width: 56px;
  height: 56px;
  line-height: 0;
  flex-shrink: 0;
}
.feat__ico img,
.feat__ico svg {
  width: 56px;
  height: 56px;
  display: block;
}
.feat h3,
.feat__title { display: block; font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.feat p { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* Banners */
.banners {
  padding: 72px 0 0;
  background: var(--cream);
}
.banners__stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.banner {
  position: relative;
  min-height: 380px;
  border-radius: 28px;
  overflow: hidden;
  background: #1a1a16 center right / cover no-repeat;
  display: flex;
  align-items: center;
}
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16,20,12,.88) 0%, rgba(16,20,12,.62) 34%, rgba(16,20,12,.15) 62%, transparent 100%);
}
.banner--bar::before {
  background: linear-gradient(90deg, rgba(10,7,5,.9) 0%, rgba(10,7,5,.68) 32%, rgba(10,7,5,.18) 60%, transparent 100%);
}

.banner__content {
  position: relative;
  z-index: 1;
  max-width: 460px;
  padding: 56px 60px;
  color: #fff;
}
.banner__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #c4b59a;
  margin-bottom: 12px;
}
.banner h2,
.banner__title {
  display: block;
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 14px;
}
.banner__title--nowrap {
  white-space: nowrap;
}
.cta__title {
  display: block;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  margin-bottom: 14px;
}
.banner--bar .banner__content {
  max-width: 560px;
}
.banner__content > p {
  font-size: 15px;
  color: rgba(255,255,255,.84);
  margin-bottom: 16px;
  max-width: 360px;
}
.banner__price {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin-bottom: 20px !important;
}

/* CTA */
.cta {
  position: relative;
  margin: 22px 0 0;
  padding: 0;
  background: var(--cream);
}
.cta__panel {
  position: relative;
  height: clamp(280px, 23vw, 410px);
  border-radius: 32px 32px 0 0;
  overflow: hidden;
  background-color: #f3efe7;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px 48px;
}
.cta__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  left: -4.7%; /* центр текста ≈ 45.3% ширины блока — между листвой */
}
.cta h2,
.cta__title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 12px;
  color: var(--ink);
}
.cta p {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 16px;
}

/* Footer */
.footer {
  background: #111;
  color: rgba(255,255,255,.9);
  padding: 48px 0 40px;
}
.footer__inner {
  padding-inline: 8px;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(280px, 1.4fr) minmax(220px, 1fr);
  align-items: start;
  gap: 40px 48px;
}
.footer__brand {
  min-width: 0;
}
.footer .logo--row {
  margin-bottom: 14px;
  gap: 14px;
}
.footer .logo--row strong {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .01em;
}
.footer .logo--row small {
  color: rgba(255,255,255,.48);
  font-size: 12px;
}
.footer__brand p,
.footer__social {
  margin-left: 74px; /* ширина лого 60px + gap 14px */
}
.footer__brand p {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.45;
  max-width: 260px;
  color: rgba(255,255,255,.88);
}
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 34px;
  height: 34px;
  border: 1px solid #8FA67A;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .02em;
  color: rgba(255,255,255,.85);
}
.footer__social a:hover {
  border-color: #a3bc8f;
  color: #fff;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: center;
  gap: 12px 56px;
  padding-top: 6px;
}
.footer__cols > div {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer__cols a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.92);
}
.footer__cols a:hover { color: #fff; }

.footer__contacts {
  text-align: right;
  padding-top: 4px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.footer__phone {
  display: block;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .01em;
  margin-bottom: 10px;
  white-space: nowrap;
}
.footer__hours {
  color: #8FA67A;
  margin: 0 0 36px;
  font-size: 14px;
  font-weight: 500;
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
  margin-top: auto;
}
.footer__legal a {
  font-size: 12px;
  color: rgba(255,255,255,.38);
}
.footer__legal a:hover { color: rgba(255,255,255,.75); }
.footer__credit {
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.12);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: rgba(255,255,255,.42);
  font-size: 12px;
  line-height: 1.4;
}
.footer__credit-separator { color: rgba(255,255,255,.28); }
.footer__credit a {
  color: rgba(255,255,255,.72);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.footer__credit a:hover { color: #fff; }

/* Soft entrance — never hide content */
.reveal.is-visible {
  animation: fadeUp .7s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroIn {
  from { transform: scale(1.1); }
  to { transform: scale(1.04); }
}

/* Responsive */
@media (max-width: 1100px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 1;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    flex-direction: column;
    padding: 104px 28px 28px;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    background:
      radial-gradient(circle at 10% 0%, rgba(94, 73, 48, .24), transparent 34%),
      #191511;
  }
  .header.is-menu-open,
  .header:has(.nav.is-open) {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    transition: none;
  }
  .header.is-menu-open .logo,
  .header.is-menu-open .header__actions,
  .header:has(.nav.is-open) .logo,
  .header:has(.nav.is-open) .header__actions { position: relative; z-index: 2; }
  .nav.is-open .nav__list {
    width: 100%;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav.is-open .nav__list > li > a,
  .nav.is-open .nav__list > li > .nav__parent { padding: 12px 10px; }
  .nav.is-open .nav__list > li > .nav__parent { cursor: pointer; }
  .nav.is-open .submenu {
    display: none;
    position: static; transform: none; opacity: 1; visibility: visible;
    background: transparent; box-shadow: none; padding: 0 0 8px 12px;
  }
  .nav.is-open .has-sub.is-expanded .submenu { display: block; }
  .nav.is-open .has-sub.is-expanded > .nav__parent i { transform: rotate(180deg); }
  .nav.is-open .submenu a { color: rgba(255,255,255,.7); }
  .nav.is-open .submenu a[aria-current="page"] {
    background: var(--cream);
    color: #1d241c;
    font-weight: 700;
  }
  .nav.is-open .nav__list > li > a[aria-current="page"] {
    color: #fff;
    font-weight: 700;
  }
  .nav.is-open .submenu a:hover,
  .nav.is-open .submenu a:active {
    background: var(--cream);
    color: #1d241c;
  }
  .nav.is-open .nav__mobile-meta {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin-top: auto;
    padding: 24px 10px 0;
    border-top: 1px solid rgba(255,255,255,.16);
  }
  .nav__mobile-phone { color: #fff; font-size: 20px; font-weight: 600; }
  .nav__mobile-address { max-width: 280px; color: rgba(255,255,255,.65); font-size: 13px; line-height: 1.45; }
  .nav__mobile-vk {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
    padding: 8px 11px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
  }
  .nav__mobile-vk:hover { background: rgba(255,255,255,.1); }
  .burger { display: inline-flex; }
  .header__actions { margin-left: auto; }
  .header__actions .btn--ghost-light { display: none; }

  .classes__grid,
  .features__grid { grid-template-columns: repeat(2, 1fr); }

  .history { grid-template-columns: 1fr; }
  .history__visual { min-height: 280px; }
  .history__visual::after {
    background: linear-gradient(180deg, transparent 45%, #f3efe7 100%);
  }
  .history__content { padding: 36px 140px 56px 28px; }
  .history__stamp {
    width: 120px;
    height: 124px;
    padding: 14px;
    top: 24px;
    right: 24px;
  }
  .history__stamp img { width: 58px; margin-bottom: 8px; }
  .history__stamp span { font-size: 11px; }
  .history__branch {
    width: 150px;
    right: 16px;
    bottom: 24px;
    opacity: 0.4;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 32px;
  }
  .footer__cols {
    justify-content: flex-start;
    gap: 12px 36px;
  }
  .footer__contacts {
    grid-column: 1 / -1;
    text-align: left;
    align-items: flex-start;
  }
  .footer__legal { justify-content: flex-start; }
}

@media (max-width: 720px) {
  .classes__grid,
  .features__grid { grid-template-columns: 1fr; }
  .history-wrap { padding-bottom: 34px; }
  .features { padding-top: 50px; }
  .footer__grid { grid-template-columns: 1fr; row-gap: 0; }
  .footer__brand { order: 1; padding-bottom: 24px; }
  .footer__contacts { display: contents; }
  .footer__phone { order: 2; margin: 0; text-align: left; font-size: 20px; white-space: normal; }
  .footer__hours { order: 3; margin: 6px 0 24px; text-align: left; }
  .footer__cols {
    order: 4;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 28px;
    justify-content: stretch;
    padding-top: 0;
    margin-top: 4px;
  }
  .footer__cols > div { display: contents; }
  .footer__cols a { line-height: 1.35; }
  .footer__legal { order: 5; justify-content: flex-start; gap: 14px; margin-top: 26px; }
  .history__branch { display: none; }
  .history__stamp {
    display: none;
  }
  .history__visual img { object-position: 8% center; }
  .history__visual::after {
    background:
      linear-gradient(90deg, #f3efe7 0%, rgba(243, 239, 231, .82) 8%, transparent 22%),
      linear-gradient(180deg, transparent 45%, #f3efe7 100%);
  }
  .history__content {
    padding: 36px 28px 48px;
  }
  .history__content .btn { order: 4; }
  .class-other__grid { grid-template-columns: 1fr; }
  .class-hero { min-height: 58vh; padding-bottom: 48px; }
  .hero__box { margin-left: 24px; }
  .banner__content { padding: 36px 28px; }
  .banner { min-height: 400px; background-position: 70% center; }
  .banner::before {
    background: linear-gradient(180deg, rgba(16,20,12,.85) 0%, rgba(16,20,12,.5) 100%);
  }
  .header__actions .btn--green { display: none; }
  .cta__panel {
    height: clamp(240px, 42vw, 320px);
    padding: 28px 24px;
    border-radius: 24px 24px 0 0;
    background-position: center bottom;
  }
  .cta__inner {
    left: -2%;
  }
  .shell-wide { width: min(100% - 24px, var(--wide)); }
}

/* ========== Contacts page ========== */
.page-contacts {
  --ink: #344A33;
  --serif: "Slovic", serif;
  --sans: "Inter", sans-serif;
  /* olive green measured off the mockup — lighter than the site --green */
  --c-green: #4E6B3E;
  --c-green-d: #3F5730;
  --c-ring: rgba(78, 107, 62, 0.5);
  --c-line: rgba(52, 74, 51, 0.15);
  --c-shell: 1300px;
  background: var(--paper);
  color: #2A2A2A;
  font-family: var(--sans);
}
.page-contacts .btn--ghost-light {
  color: #344A33;
  border-color: rgba(52, 74, 51, 0.35);
  background: #fff;
}
.page-contacts .btn--ghost-light:hover {
  background: #344A33;
  color: #fff;
  border-color: #344A33;
}
.page-contacts .btn--outline {
  color: var(--c-green-d);
  border: 1.5px solid var(--c-ring);
  background: transparent;
  font-family: var(--sans);
  font-weight: 500;
  border-radius: 8px;
}
.page-contacts .btn--outline:hover {
  background: var(--c-green);
  color: #fff;
  border-color: var(--c-green);
}
.page-contacts .btn--green {
  background: var(--c-green);
  border-radius: 8px;
  font-family: var(--sans);
  font-weight: 600;
}
.page-contacts .btn--green:hover { background: var(--c-green-d); }

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  color: #9A948C;
}
.breadcrumbs a { color: #9A948C; }
.breadcrumbs a:hover { color: #344A33; }

.page-hero {
  --hdr-h: 100px;
  /* runway of bare steam between the header edge and the top of the still
     life — the art fades in across it, so the header never cuts the photo */
  --art-clear: 52px;
  /* raises the photo without touching the section height, so nothing below moves */
  --art-lift: 30px;
  /* the still life sits --art-clear below the header at every width; both
     values below derive from that, so the crop is identical 1024→2560 */
  --art-top: calc(var(--hdr-h) + var(--art-clear) - var(--art-lift) - 9.45vw);
  --art-hdr: max(0px, calc(9.45vw - var(--art-clear) + var(--art-lift)));
  position: relative;
  background: var(--paper);
  min-height: max(360px, calc(var(--hdr-h) + var(--art-clear) + 19.7vw));
  display: flex;
  align-items: center;
  /* top clears fixed header */
  padding: calc(var(--hdr-h) + 24px) 0 40px;
}
/* full-bleed backdrop: the whole frame, edge to edge, sprig on the left and
   still life on the right. Aspect stays native (100vw wide, height follows),
   the section crops it top and bottom — the board slides under the cards. */
.page-hero__art {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--art-top);
  /* runs on past the section edge and dies out behind the cards, so the crop
     is never exposed as a line — only mist thinning into the paper */
  bottom: -200px;
  background-color: transparent;
  background-image: url("../images/contakt-header.webp");
  background-image: -webkit-image-set(
    url("../images/contakt-header@1x.webp") 1x,
    url("../images/contakt-header.webp") 2x
  );
  background-image: image-set(
    url("../images/contakt-header@1x.webp") 1x,
    url("../images/contakt-header.webp") 2x
  );
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100% auto;
  pointer-events: none;
  z-index: 0;
  /* fade in from the header edge, fade out well past the section edge —
     no hard boundary anywhere */
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    transparent var(--art-hdr),
    #000 calc(var(--art-hdr) + var(--art-clear)),
    #000 calc(100% - 230px),
    rgba(0, 0, 0, 0.45) calc(100% - 120px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    transparent var(--art-hdr),
    #000 calc(var(--art-hdr) + var(--art-clear)),
    #000 calc(100% - 230px),
    rgba(0, 0, 0, 0.45) calc(100% - 120px),
    transparent 100%
  );
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(56px, 7vw, 76px);
  font-weight: 400;
  color: #1A1A1A;
  line-height: 0.92;
  margin: 0 0 14px;
  letter-spacing: -0.025em;
  max-width: 12ch;
}
.page-hero__sub {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  color: #344A33;
  margin: 0 0 16px;
  letter-spacing: 0.01em;
  max-width: 28ch;
}
.page-hero__rule {
  display: block;
  width: 120px;
  height: 24px;
  background: url("../images/icons/divider-leaf.svg") center / contain no-repeat;
}

.contacts {
  position: relative;
  padding: 0 0 88px;
  /* transparent, not --paper: the hero art runs on underneath and dissolves
     here. The page background supplies the same colour. */
  background: transparent;
  overflow: hidden;
}
/* decorative branch: anchored to the section (full width), so it runs off the
   right edge of the viewport and gets clipped by .contacts overflow */
.contacts__leaf-br {
  position: absolute;
  top: auto;
  left: auto;
  bottom: 82px;
  right: -56px;
  width: min(280px, 21vw);
  opacity: 0.9;
  /* above the card: .contacts-phones is positioned, so z-index 0 would lose */
  z-index: 1;
  pointer-events: none;
}
.contacts .shell-wide { width: min(100% - 40px, var(--c-shell)); }
.contacts__grid {
  display: grid;
  /* mockup: 567px / 704px columns with a 25px gutter */
  grid-template-columns: minmax(0, 0.806fr) minmax(0, 1fr);
  gap: 25px;
  align-items: stretch;
}

.contacts-card {
  /* barely lighter than the paper — the card reads as an outline, not a panel */
  background: #FCFAF6;
  border: 1px solid rgba(52, 74, 51, 0.11);
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(52, 74, 51, 0.045);
  overflow: hidden;
}

/* Stretch to the aside height; space rows evenly so dividers sit balanced */
.contacts-info {
  padding: 8px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.cinfo {
  display: grid;
  grid-template-columns: 41px 1fr;
  gap: 0 30px;
  flex: 1 1 0;
  padding: 18px 15px;
  border-bottom: 1px solid var(--c-line);
  align-items: center;
}
.cinfo:first-child { padding-top: 22px; }
.cinfo--last {
  border-bottom: 0;
  padding-bottom: 22px;
}
.cinfo__ico {
  width: 41px;
  height: 41px;
  margin-top: 1px;
  border: 1.5px solid var(--c-ring);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-green);
  flex-shrink: 0;
}
.cinfo__ico svg { width: 18px; height: 18px; }
.cinfo h2,
.cinfo .component-title {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  color: #1F1F1F;
  margin: 0 0 6px;
  line-height: 1.2;
}
.cinfo__main {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 400;
  color: #2E2E2E;
  margin: 0 0 2px;
  line-height: 1.4;
}
.cinfo__note {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  color: #8A847A;
  margin: 0 0 12px;
  line-height: 1.4;
}
.cinfo__line {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 400;
  color: #2E2E2E;
  margin: 0;
  line-height: 1.5;
}
.cinfo__mail {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--c-green);
  text-decoration: none;
}
.cinfo__mail:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cinfo__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.cinfo__title-row h2,
.cinfo__title-row .component-title { margin: 0; }
.cinfo__body--row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
}

.open-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  background: #DFEAD4;
  color: #3B5734;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}
.open-badge.is-closed {
  background: #E7E3DB;
  color: #7A746A;
}

.contacts-btn {
  gap: 9px;
  margin-top: 2px;
  min-height: 37px;
  padding: 0 17px;
  font-size: 12.5px;
  border-radius: 8px;
}

.contacts-social {
  display: flex;
  gap: 22px;
  margin-top: 4px;
}
.contacts-social a {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--c-ring);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-green);
}
.contacts-social a svg { width: 18px; height: 18px; }
.contacts-social a:hover {
  border-color: var(--c-green);
  background: rgba(78, 107, 62, 0.07);
}

.contacts-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contacts-map {
  /* above the branch, which passes behind it */
  position: relative;
  z-index: 2;
  border-radius: 20px;
  overflow: hidden;
  height: 293px;
  flex: none;
}
.contacts-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #E8E2D8;
}

.contacts-phones {
  padding: 24px 28px 26px;
  position: relative;
}
.contacts-phones__head {
  display: block;
  margin-bottom: 6px;
}
.contacts-phones__head h2,
.contacts-phones__head .component-title {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  color: #1F1F1F;
  margin: 0 0 0 62px;
}
.contacts-phones__head .cinfo__ico {
  position: absolute;
  left: 28px;
  top: 25px;
  margin-top: 0;
  width: 44px;
  height: 44px;
}
.contacts-phones__head .cinfo__ico svg { width: 19px; height: 19px; }
/* label and numbers hang off the title, not the card edge */
.contacts-phones__label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  color: #7A756C;
  margin: 0 0 1px 62px;
}
.contacts-phones__main {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 16px 62px;
}
.contacts-phones__main a {
  font-family: var(--sans);
  font-size: clamp(22px, 1.95vw, 27px);
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1.22;
  letter-spacing: -0.03em;
}
.contacts-phones__main a:hover { color: var(--c-green); }

.contacts-phones__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--c-line);
  margin-bottom: 17px;
}
.contacts-phones__grid > div {
  padding: 16px 0 4px;
  border-right: 1px solid var(--c-line);
}
.contacts-phones__grid > div + div { padding-left: 20px; }
.contacts-phones__grid > div:last-child { border-right: 0; }
.contacts-phones__grid span {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  color: #7A756C;
  margin-bottom: 2px;
  line-height: 1.25;
}
.contacts-phones__grid a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  color: #1A1A1A;
  white-space: nowrap;
}
.contacts-phones__grid a:hover { color: var(--c-green); }

.contacts-phones__cta {
  width: min(297px, 100%);
  gap: 10px;
  min-height: 40px;
  font-size: 14px;
  border-radius: 8px;
}

/* narrower than this the branch crosses the phone numbers instead of the gap */
@media (max-width: 1240px) {
  .contacts__leaf-br { display: none; }
}

@media (max-width: 1100px) {
  .contacts__grid { grid-template-columns: 1fr; }
  .contacts-info {
    height: auto;
    padding: 8px 24px;
  }
  .cinfo {
    flex: none;
    align-items: start;
  }
  .contacts-map { height: 280px; }
  .contacts-phones__grid { grid-template-columns: 1fr; }
  .contacts-phones__grid > div {
    border-right: 0;
    border-bottom: 1px solid var(--c-line);
    padding: 12px 0;
  }
  .contacts-phones__grid > div + div { padding-left: 0; }
  .contacts-phones__grid > div:last-child { border-bottom: 0; }
  .cinfo__body--row {
    flex-direction: column;
    align-items: stretch;
  }
  .contacts-btn { width: 100%; justify-content: center; }
  .contacts-phones__cta { width: 100%; }
}

@media (max-width: 620px) {
  .contacts-info { padding: 4px 14px; }
  .cinfo {
    grid-template-columns: 40px 1fr;
    gap: 0 18px;
    padding: 18px 8px;
  }
  .cinfo__ico { width: 40px; height: 40px; }
  .cinfo__ico svg { width: 18px; height: 18px; }
  .contacts-phones { padding: 22px 18px 24px; }
  /* no room to hang the copy off the title — put the icon back in the row */
  .contacts-phones__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
  }
  .contacts-phones__head .cinfo__ico {
    position: static;
    width: 40px;
    height: 40px;
  }
  .contacts-phones__head h2 { margin-left: 0; }
  .contacts-phones__label,
  .contacts-phones__main { margin-left: 0; }
}

@media (max-width: 700px) {
  /* the hat reaches the copy at this width — drop the art to a watermark */
  .page-hero__art {
    opacity: 0.80;
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0,
      transparent calc(var(--art-hdr) * 0.7),
      rgba(0, 0, 0, 0.75) calc(var(--art-hdr) + 26px),
      #000 calc(100% - 160px),
      rgba(0, 0, 0, 0.65) calc(100% - 80px),
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      transparent 0,
      transparent calc(var(--art-hdr) * 0.7),
      rgba(0, 0, 0, 0.75) calc(var(--art-hdr) + 26px),
      #000 calc(100% - 160px),
      rgba(0, 0, 0, 0.65) calc(100% - 80px),
      transparent 100%
    );
  }
}

@media (max-width: 560px) {
  .page-hero {
    min-height: 250px;
    padding: 116px 0 32px;
  }
}

/* ========== Shared light inner pages (about / services) ========== */
.page-about,
.page-services {
  --ink: #344A33;
  --serif: "Slovic", serif;
  --sans: "Inter", sans-serif;
  --c-green: #354A32;
  --c-green-d: #2B3C29;
  --c-green-soft: #4E6B3E;
  --c-ring: rgba(53, 74, 50, 0.45);
  --c-line: rgba(52, 74, 51, 0.14);
  --c-shell: 1240px;
  --page-bg: #F7F6F3;
  background: var(--page-bg);
  color: #2A2A2A;
  font-family: var(--sans);
}
.page-about .btn--ghost-light,
.page-services .btn--ghost-light {
  color: #344A33;
  border-color: rgba(52, 74, 51, 0.35);
  background: #fff;
}
.page-about .btn--ghost-light:hover,
.page-services .btn--ghost-light:hover {
  background: #344A33;
  color: #fff;
  border-color: #344A33;
}
.page-about .btn--outline,
.page-services .btn--outline {
  color: var(--c-green);
  border: 1.5px solid var(--c-ring);
  background: transparent;
  border-radius: 8px;
  font-weight: 500;
}
.page-about .btn--outline:hover,
.page-services .btn--outline:hover {
  background: var(--c-green);
  color: #fff;
  border-color: var(--c-green);
}
.page-about .btn--green,
.page-services .btn--green {
  background: var(--c-green);
  border-radius: 8px;
  font-weight: 600;
}
.page-about .btn--green:hover,
.page-services .btn--green:hover { background: var(--c-green-d); }
.page-about .btn--light,
.page-services .btn--light {
  background: #fff;
  color: var(--c-green);
  border: 1.5px solid transparent;
  border-radius: 8px;
  font-weight: 600;
}
.page-about .btn--light:hover,
.page-services .btn--light:hover {
  background: rgba(255,255,255,.9);
}
.page-about .shell-wide,
.page-services .shell-wide {
  width: min(100% - 48px, var(--c-shell));
}

.about-rule {
  display: block;
  width: 48px;
  height: 3px;
  margin: 14px 0 22px;
  background: var(--c-green);
  border-radius: 2px;
}
.about-rule--center { margin-inline: auto; }
.about-sec-head {
  text-align: center;
  margin-bottom: 40px;
}
.about-sec-head h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 400;
  color: var(--c-green);
  line-height: 1.2;
}

/* About hero */
.about-hero {
  position: relative;
  box-sizing: border-box;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  padding: 132px 0 64px;
  overflow: hidden;
  background-image: image-set(url("../tempp/foto/onas-hero-1200.webp") 1x, url("../tempp/foto/onas-hero-2000.webp") 2x);
  background-size: cover;
  background-position: 50% 14%;
}
.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(20,24,15,.84) 0%, rgba(20,24,15,.62) 34%, rgba(20,24,15,.28) 66%, rgba(20,24,15,.12) 100%), linear-gradient(180deg, rgba(20,24,15,.18), transparent 34%, rgba(20,24,15,.18));
}
.about-hero__grid {
  position: relative;
  z-index: 1;
}
.about-hero__content {
  position: relative;
  z-index: 1;
  max-width: 540px;
}
.about-hero__content h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.2vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  color: #1d241c;
  max-width: 14ch;
  margin-bottom: 18px;
}
.about-hero__lead {
  font-size: 16px;
  line-height: 1.6;
  color: #5a6258;
  max-width: 42ch;
  margin-bottom: 26px;
}
.about-hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.about-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: clamp(14px, 2vw, 30px);
}
.about-hero__facts li {
  display: flex;
  gap: 10px;
  align-items: center;
}
.about-hero__ico {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  color: var(--c-green);
  margin-top: 2px;
}
.about-hero__ico svg { width: 100%; height: 100%; }
.about-hero__facts li:nth-child(3) .about-hero__ico svg {
  transform: translateY(-3px) scale(1.15);
  transform-origin: center;
}
.about-hero__facts strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1d241c;
  line-height: 1.3;
  white-space: nowrap;
}
.about-hero__facts small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #7a8178;
}
.about-hero__content h1 { color: #fff; }
.about-hero__content h1 { font-size: clamp(34px, 4.2vw, 52px); }
.about-hero__lead { color: rgba(255,255,255,.86); }
.about-hero__facts strong { color: #fff; }
.about-hero__facts small { color: rgba(255,255,255,.72); }
.about-hero__ico { color: rgba(255,255,255,.92); }
.about-hero__btns .btn--outline {
  color: #fff;
  border-color: rgba(255,255,255,.62);
}
.about-hero__btns .btn--outline:hover {
  color: #1d241c;
  background: #fff;
  border-color: #fff;
}
.about-hero__visual {
  position: absolute;
  inset: 0 0 0 auto;
  width: 50vw;
  min-height: 0;
  overflow: hidden;
  z-index: 0;
  background: #eeeae3;
}
.about-hero__visual--photo { display: none; }
.about-hero__visual--placeholder {
  display: grid;
  place-items: center;
  background-color: #e4e6e0;
  background-image:
    repeating-linear-gradient(135deg, rgba(53, 74, 50, .045) 0 20px, transparent 20px 40px),
    linear-gradient(115deg, #e9ebe5 0%, #d9ddd5 100%);
}
.about-hero__visual--placeholder::after {
  content: attr(data-placeholder);
  padding: 14px 20px;
  border: 1px dashed rgba(53, 74, 50, .32);
  border-radius: 10px;
  color: rgba(53, 74, 50, .58);
  font: 600 11px/1 var(--sans);
  letter-spacing: .15em;
  text-transform: uppercase;
}
.about-hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: right center;
}

/* About complex */
.about-complex { padding: 24px 0 70px; }
.about-complex__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: center;
  padding: 40px 44px;
  background: #F0F1EE;
  border-radius: 28px;
}
.about-complex__text h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 400;
  color: #1d241c;
}
.about-complex__text p {
  font-size: 15px;
  line-height: 1.65;
  color: #5a6258;
  margin-bottom: 14px;
}
.about-quote {
  position: relative;
  margin-top: 22px;
  padding: 18px 20px 18px 22px;
  background: #fff;
  border-radius: 14px;
  border-left: 3px solid var(--c-green);
}
.about-quote__mark {
  display: block;
  font-family: var(--sans);
  font-size: 42px;
  line-height: 1;
  color: var(--c-green);
  margin-bottom: 4px;
}
.about-quote p {
  margin: 0;
  font-size: 15px;
  color: #2a3228;
  line-height: 1.5;
}
.about-complex__media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: #1d241c;
}
.about-complex__media--video {
  display: block;
  color: inherit;
  text-decoration: none;
}
.about-complex__media--video img {
  object-position: center center;
  opacity: 1;
  transition: transform .35s ease;
}
.about-complex__media--video:hover img,
.about-complex__media--video:focus-visible img {
  transform: scale(1.02);
}
.about-complex__media--placeholder {
  display: grid;
  place-items: center;
  background-color: #303a2f;
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .045) 0 24px, transparent 24px 48px),
    linear-gradient(125deg, #3d493a 0%, #273025 100%);
}
.about-complex__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .92;
}
.about-complex__label {
  position: absolute;
  top: 18px;
  left: 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
}
.about-complex__play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #1d241c;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.about-complex__media-note {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  padding: 8px 12px;
  border: 1px dashed rgba(255, 255, 255, .38);
  border-radius: 8px;
  color: rgba(255, 255, 255, .78);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Timeline */
.about-timeline { padding: 20px 0 80px; }
.about-timeline__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
}
.about-timeline__list::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 7px;
  height: 1px;
  background: rgba(53, 74, 50, 0.35);
}
.about-timeline__list li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding-top: 28px;
}
.about-timeline__dot {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--c-green);
  background: var(--page-bg);
  z-index: 1;
}
.about-timeline__card {
  width: 100%;
  min-height: 338px;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  padding: 18px 14px 16px;
  text-align: center;
  border: 1px solid rgba(52, 74, 51, 0.08);
  box-shadow: 0 6px 20px rgba(29, 26, 22, 0.04);
}
.about-timeline__card h3,
.about-timeline__card .component-title {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--c-green);
  margin-bottom: 4px;
}
.about-timeline__label {
  font-size: 13px;
  color: #6a7268;
}
.about-timeline__card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  margin: 12px 0;
}
.about-timeline__card--interactive {
  position: relative;
  cursor: pointer;
}
.about-timeline__media-wrap {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 12px 0;
  border-radius: 10px;
  overflow: hidden;
}
.about-timeline__media-wrap .about-timeline__media {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  margin: 0;
  transition: transform .22s ease;
}
.about-timeline__zoom {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #f7f6f1;
  background: rgba(20, 30, 20, .48);
  opacity: .78;
  pointer-events: none;
  transition: opacity .2s ease, background .2s ease;
}
.about-timeline__zoom svg { width: 18px; height: 18px; }
.about-timeline__card--interactive:hover .about-timeline__media,
.about-timeline__card--interactive:focus-visible .about-timeline__media { transform: scale(1.018); }
.about-timeline__card--interactive:hover .about-timeline__zoom,
.about-timeline__card--interactive:focus-visible .about-timeline__zoom { opacity: 1; background: rgba(52, 74, 51, .82); }
.about-timeline__card--interactive:focus-visible { outline: 2px solid rgba(52, 74, 51, .42); outline-offset: 4px; }

/* Short-history modal */
.about-history-modal[hidden] { display: none; }
.about-history-modal { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: 24px; }
.about-history-modal__backdrop { position: absolute; inset: 0; background: rgba(20, 28, 20, .72); }
.about-history-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1160px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 18px 54px rgba(20, 24, 15, .18);
  scrollbar-width: thin;
  scrollbar-color: rgba(52, 74, 51, .35) transparent;
}
.about-history-modal__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); min-height: 600px; }
.about-history-modal__media { min-height: 600px; background: var(--paper-2); }
.about-history-modal__media img { display: block; width: 100%; height: 100%; min-height: 600px; object-fit: cover; }
.about-history-modal__content { display: flex; flex-direction: column; padding: 58px 62px 40px; }
.about-history-modal__close { position: absolute; top: 14px; right: 18px; z-index: 2; width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font: 300 32px/1 var(--sans); cursor: pointer; }
.about-history-modal__close:hover, .about-history-modal__close:focus-visible { background: rgba(52, 74, 51, .1); }
.about-history-modal__close:focus-visible { outline: 2px solid var(--c-green); outline-offset: 2px; }
.about-history-modal__kicker { margin: 0 0 12px; color: var(--c-green); font: 600 11px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.about-history-modal__content h2 { margin: 0 0 14px; color: var(--ink); font: 400 clamp(30px, 4vw, 46px)/1.08 var(--serif); }
.about-history-modal__lead { margin: 0 0 22px; color: #526050; font-size: 17px; line-height: 1.45; }
.about-history-modal__body { color: #5a6258; font-size: 14px; line-height: 1.65; }
.about-history-modal__body p { margin: 0 0 13px; }
.about-history-modal__callout { display: grid; gap: 3px; margin: 6px 0 18px; padding: 13px 16px; border-left: 3px solid var(--c-green); background: var(--paper-2); }
.about-history-modal__callout[hidden],
.about-history-modal__extra[hidden],
.about-history-modal__link[hidden] { display: none; }
.about-history-modal__callout strong { color: var(--c-green); font: 400 24px/1.1 var(--sans); }
.about-history-modal__callout span { color: #657064; font-size: 12px; line-height: 1.4; }
.about-history-modal__extra { margin: 4px 0 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.about-history-modal__extra h3 { margin: 0 0 8px; color: var(--c-green); font: 600 11px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.about-history-modal__extra ul { display: grid; gap: 5px; margin: 0; padding-left: 17px; color: #5a6258; font-size: 13px; line-height: 1.45; }
.about-history-modal__link { align-self: flex-start; margin-top: 2px; color: var(--c-green); font-size: 13px; font-weight: 600; text-decoration: none; }
.about-history-modal__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.about-history-modal__nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin-top: auto; padding-top: 28px; }
.about-history-modal__nav button { border: 0; padding: 7px 0; background: none; color: var(--c-green); font: 600 13px/1.2 var(--sans); cursor: pointer; }
.about-history-modal__nav button:last-child { justify-self: end; }
.about-history-modal__nav button:hover, .about-history-modal__nav button:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.about-history-modal__nav button:focus-visible { outline: 2px solid rgba(52, 74, 51, .4); outline-offset: 3px; }
.about-history-modal__nav > span { color: #7a8178; font: 600 11px/1 var(--sans); letter-spacing: .08em; }
body.about-history-modal-open { overflow: hidden; }

/* Component labels keep the pre-Slovic typography. Slovic is reserved for real headings. */
.card__body .card__title,
.banner__title,
.cta__title,
.mclass-kids-schedule .mclass-card__title,
.mclass-other__card .mclass-card__title,
.bar-menu-card .component-title,
.cert-benefit .component-title,
.cert-card .component-title,
.cert-service-card .component-title,
.cert-cta__title,
.about-timeline__card .component-title {
  font-family: var(--sans);
}
.feat__title,
.mclass-svc .mclass-card__title,
.article-card .article-title,
.about-why__card .component-title,
.bar-benefit .component-title,
.svc-price-card .component-title,
.svc-accessories .component-title,
.svc-masseur .component-title,
.cinfo .component-title {
  font-family: var(--sans);
}
.about-timeline__media {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 12px 0;
  border-radius: 10px;
}
.about-timeline__media--placeholder {
  background-color: #e5e7e1;
  background-image:
    repeating-linear-gradient(135deg, rgba(53, 74, 50, .045) 0 14px, transparent 14px 28px),
    linear-gradient(115deg, #ebede7, #dde1d9);
}
.about-timeline__media--placeholder::after {
  content: "Изображение";
  color: rgba(53, 74, 50, .55);
  font: 600 10px/1 var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.about-timeline__text {
  margin-top: auto;
  font-size: 13px;
  line-height: 1.45;
  color: #5a6258;
}

/* Why */
.about-why { padding: 10px 0 80px; }
.about-why__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.about-why__card {
  background: #fff;
  border: 1px solid rgba(52, 74, 51, 0.12);
  border-radius: 14px;
  padding: 22px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-height: 140px;
}
.about-why__card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.about-why__card h3,
.about-why__card .component-title {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-green);
  line-height: 1.35;
}

/* Feel */
.about-feel { padding: 10px 0 20px; }
.about-feel__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px;
  align-items: stretch;
}
.about-feel__visual {
  border-radius: 16px;
  overflow: hidden;
  align-self: stretch;
  min-height: 100%;
}
.about-feel__visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}
.about-feel__content h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 400;
  color: var(--c-green);
  line-height: 1.2;
  max-width: 16ch;
}
.about-feel__content > p {
  font-size: 15px;
  line-height: 1.65;
  color: #5a6258;
  margin-bottom: 14px;
}
.about-feel__note {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 22px;
  padding: 16px 18px;
  background: rgba(78, 107, 62, 0.1);
  border-radius: 12px;
}
.about-feel__note-ico {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.about-feel__note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #2a3228;
}

/* About atmosphere gallery: portrait cards with the same slider/lightbox behavior as the bar. */
.about-gallery { padding: 36px 0 50px; }
.about-gallery__frame {
  --gallery-gap: 9px;
  --gallery-per-view: 4;
  position: relative;
  width: 100%;
}
.about-gallery__viewport { overflow: hidden; }
.about-gallery__track {
  display: flex;
  gap: var(--gallery-gap);
  will-change: transform;
  transition: transform .5s ease;
}
.about-gallery__slide {
  flex: 0 0 calc((100% - (var(--gallery-per-view) - 1) * var(--gallery-gap)) / var(--gallery-per-view));
  min-width: 0;
}
.about-gallery__item {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 14px;
  background: #e7e9e2;
}
.about-gallery__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  cursor: zoom-in;
  transition: transform .25s ease, filter .25s ease;
}
.about-gallery__item:hover .about-gallery__photo { transform: scale(1.02); filter: brightness(.96); }
.about-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  transform: translateY(-50%);
  border: 1px solid rgba(52, 74, 51, .16);
  border-radius: 50%;
  background: rgba(247, 246, 241, .94);
  color: #344a33;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(21, 29, 21, .1);
}
.about-gallery__nav--prev { left: -20px; }
.about-gallery__nav--next { right: -20px; }
.about-gallery__nav:hover { background: #fff; }

/* About CTA */
.about-cta { padding: 20px 0 80px; }
.about-cta__panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 44px;
  background: #ECEDE9;
  border-radius: 24px;
  overflow: hidden;
}
.about-cta__branch {
  position: absolute;
  left: -10px;
  top: -18px;
  width: 120px;
  opacity: .85;
  pointer-events: none;
}
.about-cta__text {
  position: relative;
  z-index: 1;
  max-width: 560px;
}
.about-cta__text h2,
.about-cta__text .cert-cta__title {
  display: block;
  font-family: var(--sans);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 400;
  color: #1d241c;
  margin-bottom: 10px;
}
.about-cta__text h2 { font-family: var(--serif); }
.about-cta__text p {
  font-size: 14px;
  line-height: 1.55;
  color: #5a6258;
}
.about-cta__btns {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

/* ========== Services page ========== */
.svc-hero {
  position: relative;
  min-height: 676px;
  display: flex;
  align-items: stretch;
  padding: 132px 0 0;
  color: #fff;
  overflow: hidden;
  background: var(--c-green);
}
/* Заглушка вместо фотографии первого экрана */
.svc-hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 57%;
  z-index: 0;
}
.svc-hero__photo--image {
  background: none;
}
.svc-hero__photo--image picture > img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.svc-hero__photo--placeholder {
  background-color: #2f3a2d;
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 24px, rgba(255, 255, 255, 0) 24px 48px),
    linear-gradient(115deg, #414d3d 0%, #2b3427 55%, #1c2318 100%);
}
.svc-hero__photo::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 32%;
  z-index: 1;
  background: linear-gradient(90deg, var(--c-green) 0%, rgba(53, 74, 50, 0) 100%);
}
.svc-hero__photo--placeholder::after {
  content: attr(data-placeholder);
  position: absolute;
  left: 58%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 16px 26px;
  border: 1px dashed rgba(255, 255, 255, .32);
  border-radius: 12px;
  font: 500 12px/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  white-space: nowrap;
}
.svc-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 28px;
  max-width: 560px;
  margin-left: max(24px, calc((100% - var(--c-shell)) / 2));
  margin-right: auto;
  width: min(100% - 48px, 560px);
  padding: 16px 0 20px;
  min-height: calc(676px - 132px);
}
.svc-hero__label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(20, 28, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, .2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.svc-hero h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 16px;
  color: #fff;
}
.svc-hero__lead {
  font-size: 15px;
  line-height: 1.55;
  opacity: .94;
  max-width: 42ch;
  margin-bottom: 28px;
}
.svc-hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.svc-hero__btn {
  min-height: 48px;
  padding: 0 24px;
  border-radius: 10px;
  font-weight: 600;
  border: 1.5px solid transparent;
}
.svc-hero__btn--primary {
  background: rgba(32, 46, 30, 0.72);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.svc-hero__btn--primary:hover {
  background: rgba(24, 36, 22, 0.9);
  color: #fff;
}
.svc-hero__btn--light {
  background: #fff;
  color: #1d241c;
  border-color: #fff;
}
.svc-hero__btn--light:hover {
  background: #F7F4EF;
  color: #1d241c;
}
.svc-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  padding-top: 20px;
}
.svc-hero__facts li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  padding: 0 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}
.svc-hero__facts li:first-child { padding-left: 0; }
.svc-hero__facts li:last-child { border-right: 0; }
.svc-hero__facts li > span:first-child {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
}
.svc-hero__facts svg { width: 24px; height: 24px; }

.svc-prices { padding: clamp(48px, 5vw, 64px) 0 40px; scroll-margin-top: 96px; }
.svc-prices__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.svc-prices__head h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 400;
  color: #1d241c;
  margin-bottom: 8px;
}
.svc-prices__head p {
  font-size: 14px;
  color: #6a7268;
  max-width: 42ch;
}
.svc-class-tabs {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid rgba(52, 74, 51, 0.18);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.svc-class-tabs button {
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  background: transparent;
  color: #2a3228;
  font: 500 13px/1 var(--sans);
  cursor: pointer;
  border-right: 1px solid rgba(52, 74, 51, 0.12);
}
.svc-class-tabs button:last-child { border-right: 0; }
.svc-class-tabs button.is-active {
  background: var(--c-green);
  color: #fff;
}
.svc-prices__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.svc-price-card {
  background: #fff;
  border: 1px solid rgba(52, 74, 51, 0.12);
  border-radius: 20px;
  padding: 24px 26px 18px;
}
.svc-price-card h3,
.svc-price-card .component-title {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: #1d241c;
  margin-bottom: 14px;
}
.svc-price-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 64px 82px;
  gap: 10px;
  align-items: start;
  padding: 6px 0;
  font-size: 14px;
}
.svc-price-list__ico {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  background: url("../images/icons/divider-leaf.svg") center / contain no-repeat;
  opacity: .75;
}
.svc-price-list__name {
  color: #1d241c;
  font-weight: 500;
  line-height: 1.35;
}
.svc-price-list__name small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 400;
  color: #7a8178;
}
.svc-price-list__meta {
  color: #7a8178;
  text-align: right;
  white-space: nowrap;
}
.svc-price-list strong {
  text-align: right;
  white-space: nowrap;
  font-weight: 700;
  color: #1d241c;
}

/* Accessories */
.svc-accessories { padding: 10px 0 30px; }
.svc-accessories__panel {
  position: relative;
  background: #F2F3EF;
  border: 1px solid rgba(76, 91, 72, 0.13);
  border-radius: 18px;
  padding: 14px 24px 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 8px 28px rgba(41, 52, 38, 0.035);
}
.svc-accessories__panel > h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 400;
  color: #1d241c;
  margin-bottom: 14px;
}
.svc-accessories__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
}
.svc-acc-card {
  position: relative;
  overflow: hidden;
  background: transparent;
  border: 1px solid rgba(76, 91, 72, 0.14);
  border-radius: 14px;
  padding: 16px 18px 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 1px 3px rgba(41, 52, 38, 0.025);
}
.svc-accessories h3,
.svc-accessories .component-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #1d241c;
  margin-bottom: 16px;
}
.svc-accessories__rent { padding-right: 330px; }
.svc-accessories__rent > h3,
.svc-accessories__rent > .svc-acc-list {
  position: relative;
  z-index: 2;
}
.svc-acc-list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 6px 0;
  font-size: 14px;
}
.svc-accessories__rent .svc-acc-list li {
  grid-template-columns: 32px minmax(0, 1fr) auto;
}
.svc-acc-list__ico {
  width: 26px;
  height: 26px;
  color: #5a6258;
  display: grid;
  place-items: center;
}
.svc-accessories__rent .svc-acc-list__ico { font-size: 18px; line-height: 1; }
.svc-acc-list__ico svg { width: 22px; height: 22px; }
.svc-acc-list__ico--leaf {
  background: url("../images/icons/divider-leaf.svg") center / 130px auto no-repeat;
}
.svc-acc-list__name { font-weight: 600; color: #1d241c; }
.svc-acc-list__desc { color: #7a8178; text-align: center; }
.svc-acc-list strong { white-space: nowrap; font-weight: 700; color: #1d241c; }
.svc-accessories__art {
  position: absolute;
  right: -60px;
  bottom: 0;
  z-index: 1;
  width: 390px;
  aspect-ratio: 1492 / 1054;
  pointer-events: none;
}
.svc-accessories__art > picture {
  display: block;
  width: 100%;
  height: 100%;
}
.svc-accessories__art > img,
.svc-accessories__art > picture > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 10px 10px rgba(66, 48, 29, 0.12))
    drop-shadow(0 2px 3px rgba(66, 48, 29, 0.08));
}
.svc-accessories__mark {
  position: absolute;
  left: 14%;
  top: 68%;
  display: flex;
  align-items: center;
  gap: 2px;
  color: #a42f27;
  font-size: 7px;
  line-height: 1.05;
  font-family: var(--sans);
  transform: rotate(-1deg);
}
.svc-accessories__mark img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}
.svc-accessories__mark b { font-weight: 700; }
/* Masseurs */
.svc-masseurs { padding: 10px 0 30px; }
.svc-masseurs__panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 2fr);
  gap: 30px;
  align-items: center;
  padding: 28px;
  background: #FBFBF9;
  border: 1px solid rgba(52, 74, 51, 0.12);
  border-radius: 24px;
}
.svc-masseurs__intro h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 34px);
  font-weight: 400;
  color: #1d241c;
  margin-bottom: 14px;
}
.svc-masseurs__intro p {
  font-size: 14px;
  line-height: 1.6;
  color: #5a6258;
  margin-bottom: 22px;
}
.svc-masseurs__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.svc-masseur {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  min-height: 176px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(52, 74, 51, 0.1);
}
.svc-masseur img,
.svc-masseur__photo {
  width: 108px;
  height: 100%;
  min-height: 152px;
  object-fit: cover;
  border-radius: 10px;
}
/* Заглушки вместо портретов массажистов */
.svc-masseur__photo--placeholder {
  display: grid;
  place-items: center;
  color: rgba(53, 74, 50, .38);
  background-color: #E9E9E3;
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .55) 0 14px, rgba(255, 255, 255, 0) 14px 28px),
    linear-gradient(160deg, #EDEDE7 0%, #DEDFD8 100%);
  border: 1px dashed rgba(52, 74, 51, .22);
}
.svc-masseur__photo--placeholder svg { width: 40px; height: 40px; }
.svc-masseur h3,
.svc-masseur .component-title {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: #1d241c;
  margin-bottom: 4px;
}
.svc-masseur__exp {
  font-size: 12px;
  color: #7a8178;
  margin-bottom: 6px;
}
.svc-masseur p:not(.svc-masseur__exp) {
  font-size: 12px;
  line-height: 1.4;
  color: #5a6258;
  margin-bottom: 8px;
}
.svc-masseur a {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-green);
}

/* Team page */
body.page-team {
  --c-green: var(--green);
  --c-green-d: var(--green-2);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
body.page-team > #site-footer { margin-top: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.team-head {
  padding: 142px 0 52px;
  background: var(--paper);
}
.team-head__breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 30px;
  color: #8a9189;
  font-size: 13px;
}
.team-head__breadcrumbs a:hover { color: var(--c-green); }
.team-head__label {
  margin-bottom: 8px;
  color: var(--c-green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.team-head h1 {
  margin-bottom: 18px;
  color: var(--ink);
  font: 400 clamp(46px, 5vw, 64px)/1.04 var(--serif);
}
.team-head > .container > p:last-child {
  max-width: 720px;
  color: #626b62;
  font-size: 17px;
  line-height: 1.55;
}
.team-directory { padding: 36px 0 94px; }
.team-tabs {
  width: max-content;
  max-width: 100%;
  margin-bottom: 28px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.team-card {
  display: grid;
  grid-template-columns: minmax(118px, 42%) minmax(0, 1fr);
  min-height: 242px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease;
}
.team-card:hover,
.team-card:focus-visible {
  border-color: rgba(52, 74, 51, .4);
  transform: translateY(-2px);
}
.team-card:focus-visible { outline: 2px solid rgba(52, 74, 51, .45); outline-offset: 3px; }
.team-card__photo,
.team-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 242px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.team-card__photo--placeholder,
.team-modal__media--placeholder {
  display: grid;
  place-items: center;
  color: rgba(53, 74, 50, .4);
  background-color: #e9e9e3;
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .55) 0 14px, rgba(255, 255, 255, 0) 14px 28px),
    linear-gradient(160deg, #edede7 0%, #dedfd8 100%);
  border-right: 1px dashed rgba(52, 74, 51, .18);
}
.team-card__photo--placeholder svg { width: 48px; height: 48px; }
.team-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 18px 18px;
}
.team-card__name {
  margin-bottom: 5px;
  color: var(--ink);
  font: 600 19px/1.2 var(--sans);
}
.team-card__role {
  margin-bottom: 12px;
  color: var(--c-green);
  font-size: 12px;
  font-weight: 600;
}
.team-card__short {
  margin-bottom: 16px;
  color: #626b62;
  font-size: 13px;
  line-height: 1.45;
}
.team-card__link {
  margin-top: auto;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--c-green);
  font: 600 13px/1.2 var(--sans);
  cursor: pointer;
}
.team-card__link:hover { text-decoration: underline; text-underline-offset: 3px; }

.team-modal[hidden] { display: none; }
.team-modal {
  position: fixed;
  inset: 0;
  z-index: 1150;
  display: grid;
  place-items: center;
  padding: 20px;
}
.team-modal__backdrop { position: absolute; inset: 0; background: rgba(20, 28, 20, .72); }
.team-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 960px);
  max-height: 84vh;
  overflow: auto;
  border: 1px solid rgba(52, 74, 51, .14);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(18, 24, 17, .28);
}
.team-modal__grid {
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  min-height: 480px;
}
.team-modal__media {
  min-height: 480px;
  background: #e9e9e3;
}
.team-modal__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 480px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.team-modal__media--placeholder { height: auto; }
.team-modal__media--placeholder svg { width: 78px; height: 78px; }
.team-modal__content { display: flex; flex-direction: column; padding: 50px 54px 38px; }
.team-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font: 300 32px/1 var(--sans);
  cursor: pointer;
}
.team-modal__close:hover,
.team-modal__close:focus-visible { background: rgba(52, 74, 51, .1); }
.team-modal__close:focus-visible { outline: 2px solid rgba(52, 74, 51, .45); outline-offset: 2px; }
.team-modal__kicker {
  margin-bottom: 12px;
  color: var(--c-green);
  font: 600 11px/1.2 var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.team-modal__content h2 {
  margin-bottom: 10px;
  color: var(--ink);
  font: 400 clamp(30px, 4vw, 46px)/1.08 var(--serif);
}
.team-modal__experience {
  margin-bottom: 14px;
  color: #626b62;
  font-size: 14px;
}
.team-modal__specialty {
  margin-bottom: 22px;
  color: var(--c-green);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}
.team-modal__bio { color: #5a6258; font-size: 14px; line-height: 1.65; }
.team-modal__bio p { margin-bottom: 13px; }
.team-modal__booking { align-self: flex-end; margin-top: auto; }
body.team-modal-open { overflow: hidden; }

/* Gym */
.svc-gym { padding: 10px 0 30px; }
.page-gym .svc-gym { padding: clamp(148px, 12vw, 176px) 0 clamp(64px, 8vw, 112px); }
.svc-gym__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 0;
  background: #F1F2EE;
  border-radius: 24px;
  overflow: hidden;
  min-height: 300px;
}
.svc-gym__visual img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}
.svc-gym__content {
  position: relative;
  padding: 26px 34px;
}
.svc-gym__content :is(h1, h2) {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 400;
  color: #1d241c;
  margin-bottom: 8px;
}
.svc-gym__content > p {
  font-size: 14px;
  line-height: 1.6;
  color: #5a6258;
  margin-bottom: 16px;
  max-width: 58ch;
}
.svc-gym__features {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}
.svc-gym__features li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: #2a3228;
}
.svc-gym__ico {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(53, 74, 50, 0.09);
  color: var(--c-green);
}
.svc-gym__ico svg { display: block; }
.svc-gym__branch {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 140px;
  opacity: .35;
  pointer-events: none;
}

/* Services CTA */
.svc-cta { padding: 10px 0 60px; }
.svc-cta__panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px 300px 20px 40px;
  background: var(--c-green);
  color: #fff;
  border-radius: 24px;
  overflow: hidden;
  min-height: 124px;
}
.svc-cta__text h2,
.svc-cta__text .svc-cta__title {
  display: block;
  font-family: var(--sans);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 400;
  margin-bottom: 8px;
}
.svc-cta__text h2 { font-family: var(--serif); }
.svc-cta__text p {
  font-size: 14px;
  line-height: 1.55;
  opacity: .9;
  max-width: 48ch;
}
.svc-cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
  position: absolute;
  left: 61%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.svc-cta .btn--ghost-light {
  color: #fff;
  border-color: rgba(255,255,255,.7);
  background: transparent;
}
.svc-cta .btn--ghost-light:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
}
.svc-cta__art {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 300px;
  height: 100%;
  pointer-events: none;
}
.svc-cta__art img {
  position: absolute;
  right: -8px;
  bottom: -28px;
  width: 230px;
  max-width: none;
  height: auto;
}

@media (max-width: 1100px) {
  .about-why__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .svc-masseurs__panel { grid-template-columns: 1fr; }
  .svc-accessories__rent { padding-right: 0; }
  .svc-accessories__art { display: none; }
}
@media (max-width: 900px) {
  .about-hero {
    min-height: 598px;
    display: block;
    padding-bottom: 40px;
    background-position: 50% 10%;
  }
  .about-hero__visual {
    position: relative;
    inset: auto;
    width: 100%;
    height: 360px;
    margin-top: 32px;
    border-radius: 18px;
  }
  .about-hero__grid,
  .about-complex__panel,
  .about-feel__grid,
  .svc-prices__grid,
  .svc-accessories__grid,
  .svc-gym__panel {
    grid-template-columns: 1fr;
  }
  /* На узких экранах факты идут вертикальным списком, как на странице услуг. */
  .about-hero__facts {
    grid-template-columns: 1fr;
    gap: 18px;
    width: min(100%, 360px);
  }
  .about-hero__facts li {
    align-items: center;
  }
  .about-timeline__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-timeline__list::before { display: none; }
  .about-gallery__frame { --gallery-per-view: 3; }
  .about-cta__panel,
  .svc-cta__panel,
  .svc-prices__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .svc-cta__panel { padding: 32px 28px 148px; }
  .svc-cta__btns {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
  }
  .svc-cta__art {
    inset: auto 0 0;
    width: 100%;
    height: 120px;
  }
  .svc-cta__art img {
    right: 10px;
    bottom: -15px;
    width: 150px;
  }
  .svc-hero__inner {
    margin-left: 24px;
  }
  .svc-hero { min-height: 598px; }
  .svc-hero__inner { min-height: calc(598px - 132px); }
  .svc-hero__photo { width: 46%; }
  .svc-hero__photo::before { width: 62%; }
  .svc-masseurs__cards { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .about-cta__panel { padding-inline: 24px; }
  .about-cta__btns {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 8px;
    width: calc(100% + 36px);
    margin-inline: -18px;
  }
  .about-cta__btns .btn {
    width: 100%;
    min-width: 0;
    padding-inline: 8px;
  }
}
@media (max-width: 640px) {
  .about-feel__visual img { object-position: 40% center; }
  .hero__media--yamshik { background-position: 80% center; }
  .about-hero {
    display: flex;
    align-items: stretch;
    padding: 0 0 28px;
    background-size: auto 120%;
    background-position: 50% 35%;
  }
	.about-hero__grid {
		display: flex;
		flex: 0 0 auto;
		width: min(100% - 40px, var(--wide));
		margin-inline: auto;
		transform: none;
	}
	.about-hero__content {
		display: flex;
		flex: 1;
		flex-direction: column;
		padding-top: 320px;
	}
  .about-hero__btns { gap: 6px; }
  .about-hero__facts { grid-template-columns: 1fr; padding-top: 0; }
  .about-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
   .about-timeline__list { grid-template-columns: 1fr; }
   .about-gallery__frame { --gallery-per-view: 2; }
   .about-gallery__nav--prev { left: 4px; }
   .about-gallery__nav--next { right: 4px; }
  .about-complex__panel,
  .svc-accessories__panel,
  .svc-gym__content { padding: 24px; }
  .svc-accessories__grid { gap: 20px; }
  .svc-acc-card {
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .svc-accessories .component-title { margin-bottom: 12px; }
  .svc-acc-list li {
    grid-template-columns: 26px minmax(0, 1.35fr) minmax(56px, .8fr) max-content;
    gap: 8px;
    padding: 7px 0;
    font-size: 13px;
  }
  .svc-acc-list__ico { width: 26px; height: 26px; }
  .svc-acc-list__desc { text-align: left; white-space: nowrap; }
  .svc-price-list li {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    row-gap: 7px;
  }
  .svc-price-list__ico { display: none; }
  .svc-price-list__meta { grid-column: 1; text-align: left; }
  .svc-price-list strong { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .svc-hero {
    min-height: 0;
    padding-top: 116px;
  }
  .svc-hero__inner {
    min-height: 0;
    gap: 32px;
    padding-top: 28px;
  }
  .svc-hero__facts li {
    flex: 1 1 0;
    min-width: 0;
    gap: 7px;
    padding: 0 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.28);
  }
  .svc-hero__facts li:first-child { padding-left: 0; }
  .svc-hero__facts li:last-child { padding-right: 0; border-right: 0; }
  .svc-hero__facts { flex-direction: row; flex-wrap: nowrap; }
  .svc-hero__facts li > span:last-child { font-size: 11px; line-height: 1.25; }
  .svc-hero__facts li > span:first-child { flex-basis: 22px; width: 22px; height: 22px; }
  .svc-hero__facts svg { width: 20px; height: 20px; }
  .svc-accessories__rent .svc-acc-list li {
    grid-template-columns: 28px minmax(0, 1fr) max-content;
    gap: 8px;
    padding-right: 12px;
  }
  .svc-accessories__rent .svc-acc-list strong {
    text-align: right;
  }
  .svc-hero__photo { width: 100%; }
  .svc-hero__photo::before {
    width: 100%;
    background: linear-gradient(90deg, rgba(53, 74, 50, .94) 0%, rgba(53, 74, 50, .74) 100%);
  }
  .svc-hero__photo--placeholder::after { display: none; }
  .svc-class-tabs { width: 100%; }
  .svc-class-tabs button { flex: 1 1 0; min-width: 0; padding-left: 8px; padding-right: 8px; border-bottom: 1px solid rgba(52,74,51,.12); }
}
.about-why__svg {
  width: 48px;
  height: 48px;
  color: var(--c-green);
  display: grid;
  place-items: center;
}
.about-why__svg svg { width: 48px; height: 48px; }
/* ========== Men's class page ========== */
.page-class-muzh,
.page-class {
  --ink: #2A2A2A;
  --serif: "Slovic", serif;
  --sans: "Inter", sans-serif;
  --c-green: #354A32;
  --c-green-d: #2B3C29;
  --c-shell: 1240px;
  --page-bg: #F7F4EF;
  background: var(--page-bg);
  color: var(--ink);
  font-family: var(--sans);
}
.page-class-muzh .btn--ghost-light,
.page-class .btn--ghost-light {
  color: #344A33;
  border-color: rgba(52, 74, 51, 0.35);
  background: #fff;
}
.page-class-muzh .btn--ghost-light:hover,
.page-class .btn--ghost-light:hover {
  background: #344A33;
  color: #fff;
}
.page-class-muzh .btn--green,
.page-class .btn--green {
  background: var(--c-green);
  border-radius: 8px;
  font-weight: 600;
}
.page-class-muzh .btn--green:hover,
.page-class .btn--green:hover { background: var(--c-green-d); }
.page-class-muzh .btn--light,
.page-class .btn--light {
  background: #F7F4EF;
  color: var(--c-green);
  border-radius: 8px;
  font-weight: 600;
  border-color: transparent;
}
.page-class-muzh .btn--light:hover,
.page-class .btn--light:hover { background: #fff; }
.page-class-muzh .shell-wide,
.page-class .shell-wide {
  width: min(100% - 48px, var(--c-shell));
}

.mclass-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: #1d241c;
  margin-bottom: 28px;
}

.mclass-decor {
  position: absolute;
  width: 160px;
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}
.mclass-decor--intro { right: 0; top: 20px; }
.mclass-decor--inside { left: -20px; top: 40px; transform: scaleX(-1); }
.mclass-decor--blocks { left: -10px; bottom: 10px; transform: scaleX(-1); width: 140px; }
.mclass-decor--gallery { right: 0; bottom: 20px; }
.mclass-decor--cta { right: -10px; top: 50%; transform: translateY(-50%); width: 200px; opacity: 0.16; }
.mclass-decor--other { right: 0; bottom: 24px; width: 180px; opacity: 0.22; }

/* Hero */
.mclass-hero {
  position: relative;
  min-height: 676px;
  display: flex;
  align-items: flex-end;
  padding: 140px 0 62px;
  color: #fff;
  overflow: hidden;
}
.mclass-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

/* Keep Slovic limited to semantic page headings; component labels retain the previous roles. */
.card__body .card__title,
.banner__title,
.cta__title,
.mclass-kids-schedule .mclass-card__title,
.mclass-other__card .mclass-card__title,
.bar-menu-card .component-title,
.cert-benefit .component-title,
.cert-card .component-title,
.cert-service-card .component-title,
.cert-cta__title,
.about-timeline__card .component-title { font-family: var(--sans); }
.feat__title,
.mclass-svc .mclass-card__title,
.article-card .article-title,
.about-why__card .component-title,
.bar-benefit .component-title,
.svc-price-card .component-title,
.svc-accessories .component-title,
.svc-masseur .component-title,
.cinfo .component-title { font-family: var(--sans); }
.mclass-hero__bg--female {
  background-image: image-set(url("../tempp/foto/zhenskij-obshchij-1200.webp") 1x, url("../tempp/foto/zhenskij-obshchij-2000.webp") 2x);
  background-position: 50% center;
}
.mclass-hero__bg--female-lux {
  background-image: image-set(url("../tempp/foto/zhenskij-luks-1200.webp") 1x, url("../tempp/foto/zhenskij-luks-2000.webp") 2x);
  background-position: 40% 28%;
}
.mclass-hero__bg--male {
  background-image: image-set(url("../tempp/foto/muzhskoj-obshchij-1200.webp") 1x, url("../tempp/foto/muzhskoj-obshchij-2000.webp") 2x);
  background-position: 50% 66%;
}
.mclass-hero__bg--certificate {
  background-image: image-set(url("../tempp/foto/sert-hero-1200.webp") 1x, url("../tempp/foto/sert-hero-2000.webp") 2x);
  background-position: 50% 53%;
}
.mclass-hero__bg--bar {
  background-image: image-set(url("../tempp/foto/bar-kvas-hero-2000.webp") 1x, url("../tempp/foto/bar-kvas-hero-2172.webp") 2x);
  background-position: 50% 50%;
}
/* Заглушка вместо фотографии первого экрана */
.mclass-hero__bg--placeholder {
  background-color: #2f3a2d;
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 24px, rgba(255, 255, 255, 0) 24px 48px),
    linear-gradient(115deg, #414d3d 0%, #2b3427 55%, #1c2318 100%);
}
.mclass-hero__bg--placeholder::before {
  content: attr(data-placeholder);
  position: absolute;
  right: 9%;
  top: 50%;
  transform: translateY(-50%);
  padding: 16px 26px;
  border: 1px dashed rgba(255, 255, 255, .32);
  border-radius: 12px;
  font: 500 12px/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.mclass-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16,20,14,.78) 0%, rgba(16,20,14,.45) 48%, rgba(16,20,14,.15) 100%);
}
.mclass-hero__bg--male::after {
  background:
    linear-gradient(90deg, rgba(20,24,15,.76) 0%, rgba(20,24,15,.54) 34%, rgba(20,24,15,.28) 67%, rgba(20,24,15,.10) 100%),
    linear-gradient(180deg, rgba(20,24,15,.14) 0%, rgba(20,24,15,0) 28%, rgba(20,24,15,0) 78%, rgba(20,24,15,.08) 100%);
}
.mclass-hero__inner {
  position: relative;
  z-index: 1;
}
.mclass-hero__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 0;
  padding: 5px 9px;
  border-radius: 7px;
  background: rgba(20,24,15,.30);
  border: 1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
  margin-bottom: 18px;
}
.mclass-hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.mclass-hero__lead {
  font-size: 16px;
  line-height: 1.55;
  max-width: 38ch;
  opacity: .92;
  margin-bottom: 28px;
}
.mclass-hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}
.mclass-hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 500;
}
.mclass-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.mclass-hero__meta i {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,.45);
}
.mclass-hero__meta em {
  font-style: normal;
  font-weight: 400;
  opacity: .8;
  margin-right: 6px;
}

/* Notice */
.mclass-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px auto 8px;
  padding: 16px 18px;
  background: #FBF8F2;
  border: 1px solid rgba(52, 74, 51, 0.14);
  border-radius: 14px;
}
.mclass-notice__ico {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(53, 74, 50, 0.1);
  color: var(--c-green);
}
.mclass-notice strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}
.mclass-notice p {
  margin: 0;
  font-size: 13px;
  color: #6a645b;
}
.mclass-notice__close {
  margin-left: auto;
  border: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: #8a847c;
  cursor: pointer;
}

/* Intro */
.mclass-intro {
  position: relative;
  padding: 24px 0 28px;
  overflow: hidden;
}
.page-class-muzh .mclass-hero__meta > span:last-child:not(:has(em))::before,
.page-class .mclass-hero__meta > span:last-child:not(:has(em))::before {
  content: "₽";
  display: inline-block;
  margin-right: 6px;
  font-weight: 600;
  line-height: 1;
}
.page-class-muzh .mclass-hero__currency,
.page-class .mclass-hero__currency { display: none; }

/* ========== Single header for all inner pages ========== */
.header.header--inner,
.header.header--inner.is-scrolled {
  padding: 18px 0;
  background: #F7F4EF;
  font-family: var(--sans);
  box-shadow: none;
}
.header.header--inner.is-scrolled {
  box-shadow: 0 4px 18px rgba(52, 74, 51, 0.06);
}
.header--inner .header__inner { gap: 20px; }
.header--inner .logo img {
  width: 64px;
  height: 64px;
}
.header--inner .nav__list { gap: 28px; }
.header--inner .nav__list > li > a,
.header--inner .nav__list > li > .nav__parent {
  position: relative;
  color: #2A2A2A;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  padding-bottom: 12px;
}
.header--inner .nav__list > li > a.is-active,
.header--inner .nav__list > li > .nav__parent.is-active {
  color: #5A774A;
  box-shadow: none;
}
.header--inner .nav__list > li > a.is-active::after,
.header--inner .nav__list > li > .nav__parent.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 78px;
  height: 16px;
  transform: translateX(-50%);
  background: url("../images/icons/divider-leaf.svg") center / contain no-repeat;
  pointer-events: none;
}
.header--inner .header__actions { gap: 10px; }
.header--inner .header__actions .btn {
  font-family: var(--sans);
}
.header--inner .header__actions .btn--sm {
  min-height: 40px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 500;
}
.header--inner .header__actions .btn--ghost-light {
  color: #344A33;
  border-color: rgba(52, 74, 51, 0.35);
  background: #fff;
}
.header--inner .header__actions .btn--ghost-light:hover {
  color: #fff;
  border-color: #344A33;
  background: #344A33;
}
.header--inner .header__actions .btn--green {
  color: #fff;
  border-radius: 8px;
  background: #354A32;
  font-weight: 600;
}
.header--inner .header__actions .btn--green:hover { background: #2B3C29; }
.header--inner .burger { border-color: rgba(52, 74, 51, 0.32); }
.header--inner .burger span { background: #354A32; }

/* Compact mobile header: keep the controls comfortable without taking over the first screen. */
@media (max-width: 640px) {
  .header,
  .header.is-scrolled,
  .header.header--inner,
  .header.header--inner.is-scrolled {
    padding: 10px 0;
  }
  .header__inner,
  .header--inner .header__inner { gap: 12px; }
  .logo img,
  .header--inner .logo img {
    width: 52px;
    height: 52px;
  }
  .burger {
    width: 40px;
    height: 40px;
    gap: 4px;
  }
  .burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .header .nav.is-open { padding: 84px 24px 24px; }
}

@media (max-width: 1100px) {
  .header--inner .nav.is-open .nav__list { gap: 2px; }
  .header--inner .nav.is-open .nav__list > li > a,
  .header--inner .nav.is-open .nav__list > li > .nav__parent {
    color: rgba(255, 255, 255, 0.92);
    padding: 12px 10px;
  }
  .header--inner .nav.is-open .nav__list > li > a.is-active,
  .header--inner .nav.is-open .nav__list > li > .nav__parent.is-active { color: #fff; }
  .header--inner .nav.is-open .nav__list > li > a.is-active::after,
  .header--inner .nav.is-open .nav__list > li > .nav__parent.is-active::after { display: none; }
}

/* ========== Articles ========== */
.page-articles,
.page-article {
  --ink: #344A33;
  --serif: "Slovic", serif;
  --sans: "Inter", sans-serif;
  --c-green: #354A32;
  --c-green-d: #2B3C29;
  --c-line: rgba(52, 74, 51, 0.14);
  --page-bg: #F7F6F3;
  background: var(--page-bg);
  color: #2A2A2A;
  font-family: var(--sans);
}
.page-articles .btn--ghost-light,
.page-article .btn--ghost-light {
  color: var(--c-green);
  border-color: rgba(52, 74, 51, 0.35);
}

.articles-head {
  padding: 126px 0 38px;
  text-align: left;
  background: #F0F0EA;
}
.articles-head .container { max-width: none; }
.articles-breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: #7B8178;
  font-size: 13px;
}
.articles-breadcrumbs a { transition: color .2s ease; }
.articles-breadcrumbs a:hover { color: var(--c-green); }
.articles-head__label,
.article-page__eyebrow {
  margin-bottom: 10px;
  color: #5A774A;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.articles-head__label {
  margin-bottom: 8px;
  font-weight: 600;
}
.articles-head h1,
.article-page__head h1 {
  font-family: var(--serif);
  font-weight: 400;
  color: #1D241C;
}
.articles-head h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 4.5vw, 58px);
  line-height: 1.05;
}
.articles-head > .container > p:last-child {
  max-width: 640px;
  color: #62675F;
  font-size: 16px;
}

.articles-catalog { padding: 0 0 84px; }
.articles-catalog > .container::before {
  content: "";
  display: block;
  margin-bottom: 26px;
}
.articles-catalog__title {
  margin-bottom: 30px;
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 400;
  text-align: left;
  color: #1D241C;
  scroll-margin-top: 120px;
}
.articles-grid,
.article-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.article-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(52, 74, 51, 0.1);
  border-radius: 16px;
  background: #FFF;
  box-shadow: 0 8px 28px rgba(29, 26, 22, 0.055);
  transition: transform .25s ease, box-shadow .25s ease;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 36px rgba(29, 26, 22, 0.1);
}
.article-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px dashed rgba(52, 74, 51, 0.24);
  background-color: #E9EAE4;
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.54) 0 18px, transparent 18px 36px),
    linear-gradient(160deg, #F2F2EC 0%, #DFE2DA 100%);
}
.article-placeholder::after {
  content: attr(data-placeholder);
  padding: 10px 15px;
  border: 1px solid rgba(52, 74, 51, 0.14);
  border-radius: 8px;
  background: rgba(247, 246, 243, 0.74);
  color: rgba(52, 74, 51, 0.52);
  font: 600 11px/1 var(--sans);
  letter-spacing: .13em;
  text-transform: uppercase;
}
.article-card__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-width: 0 0 1px;
  border-radius: 0;
}
.article-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 156px;
  padding: 20px 20px 17px;
}
.article-card h3,
.article-card .article-title {
  display: block;
  margin-bottom: 22px;
  color: #252B24;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.38;
}
.article-card h3 a:hover { color: #5A774A; }
.article-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(52, 74, 51, 0.1);
  color: #969B93;
  font-size: 12px;
}
.article-card__meta > a {
  color: #5A774A;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.article-card__meta > a:hover { color: var(--c-green-d); }
.articles-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 44px;
}
.articles-pagination button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(52, 74, 51, 0.14);
  border-radius: 8px;
  background: #FFF;
  color: #4F554D;
  font: 600 13px/1 var(--sans);
  cursor: pointer;
  transition: .2s ease;
}
.articles-pagination button:hover:not(:disabled),
.articles-pagination button.is-active {
  border-color: var(--c-green);
  background: var(--c-green);
  color: #FFF;
}
.articles-pagination button:disabled { opacity: .35; cursor: default; }

.article-shell {
  width: min(100% - 40px, 850px);
  margin-inline: auto;
}
.article-page__head {
  padding: 142px 0 42px;
  text-align: center;
}
.article-page__head .articles-breadcrumbs { margin-bottom: 30px; }
.article-page__head h1 {
  max-width: 820px;
  margin: 0 auto 18px;
  font-size: clamp(34px, 5vw, 50px);
  line-height: 1.17;
}
.article-page__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #858A82;
  font-size: 13px;
}
.article-page__body { padding-bottom: 72px; }
.article-toc {
  margin: 0 auto 32px;
  padding: 26px 30px;
  border: 1px solid rgba(52, 74, 51, 0.13);
  border-radius: 14px;
  background: #FFF;
  box-shadow: 0 8px 26px rgba(29, 26, 22, 0.04);
}
.article-toc h2 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  color: #1D241C;
}
.article-toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 30px;
  padding-left: 21px;
  color: #5A774A;
  font-size: 14px;
}
.article-toc a { color: #4E554C; }
.article-toc a:hover { color: #5A774A; }
.article-page__cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 38px;
  border-radius: 16px;
}
.article-prose {
  width: min(100%, 760px);
  margin-inline: auto;
  color: #424840;
  font-size: 16px;
  line-height: 1.75;
}
.article-prose__lead {
  color: #2D332C;
  font-size: 18px;
  line-height: 1.65;
}
.article-prose p { margin-bottom: 18px; }
.article-prose h2 {
  margin: 42px 0 16px;
  scroll-margin-top: 125px;
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 32px);
  font-weight: 400;
  line-height: 1.3;
  color: #1D241C;
}
.article-prose ul {
  display: grid;
  gap: 8px;
  margin: 4px 0 24px;
  padding-left: 24px;
  list-style: disc;
}
.article-prose li::marker { color: #5A774A; }
.article-prose blockquote {
  margin: 28px 0;
  padding: 22px 26px;
  border-left: 3px solid #5A774A;
  border-radius: 0 12px 12px 0;
  background: #ECEFE9;
  color: #354A32;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
}
.article-prose__image {
  width: 100%;
  aspect-ratio: 16 / 8;
  margin: 34px 0 40px;
  border-radius: 14px;
}
.article-prose__image--small {
  width: min(100%, 520px);
  aspect-ratio: 4 / 3;
  margin-inline: auto;
}
.article-related {
  padding: 58px 0 82px;
  border-top: 1px solid var(--c-line);
  background: #F0F0EA;
}
.article-related__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.article-related__head h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 400;
  color: #1D241C;
}
.article-related__head > a {
  color: #5A774A;
  font-size: 14px;
  font-weight: 600;
}
.article-card--related .article-card__body { min-height: 140px; }

@media (max-width: 900px) {
  .articles-grid,
  .article-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .articles-head,
  .article-page__head { padding-top: 124px; }
  .articles-head { padding-bottom: 32px; }
  .articles-head h1 { font-size: 40px; }
  .articles-head > .container > p:last-child { max-width: none; }
  .articles-catalog { padding: 0 0 64px; }
  .articles-catalog > .container::before { margin-bottom: 24px; }
  .articles-grid,
  .article-related__grid { grid-template-columns: 1fr; }
  .article-card__body { min-height: 140px; }
  .article-toc { padding: 22px 20px; }
  .article-toc ol { grid-template-columns: 1fr; }
  .article-shell { width: min(100% - 24px, 850px); }
  .article-page__body { padding-bottom: 54px; }
  .article-page__cover { margin-bottom: 28px; }
  .article-prose { font-size: 15px; }
  .article-prose__lead { font-size: 17px; }
  .article-related { padding: 48px 0 64px; }
  .article-related__head { align-items: flex-end; }
}
.mclass-intro__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: start;
}
.mclass-intro__text {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: #2a3228;
  max-width: 58ch;
}
.mclass-intro__facts {
  position: relative;
  display: grid;
  gap: 14px;
  padding-left: 10px;
}
.mclass-intro__facts::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(52, 74, 51, 0.18);
}
.mclass-intro__facts li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #2a3228;
}
.mclass-intro__facts svg { flex: 0 0 22px; color: var(--c-green); }

/* Price */
.mclass-price { padding: 10px 0 50px; }
.mclass-price__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.mclass-price-card {
  position: relative;
  background: #F0EDE6;
  border-radius: 20px;
  min-height: 200px;
  overflow: hidden;
  padding: 0;
}
.mclass-price-card__tag {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 240px;
  height: 88px;
  box-sizing: border-box;
  background: var(--c-green);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  padding: 20px 72px 24px 28px;
  border-radius: 20px 0 64px 0;
}
.mclass-price-card__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 200px;
  padding: 124px 36px 32px;
  font-size: 15px;
}
.mclass-price-card__time {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #2a3228;
}
.mclass-price-card__time b {
  font-size: 16px;
  font-weight: 600;
}
.mclass-price-card__time small {
  font-size: 14px;
  font-weight: 400;
  color: #5a6258;
}
.mclass-price-card__body strong {
  font-size: 30px;
  font-weight: 700;
  white-space: nowrap;
  color: #1d241c;
}
.mclass-price-card__body strong small {
  font-size: 16px;
  font-weight: 500;
  color: #2a3228;
}
.mclass-price-card__kids {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 200px;
  padding: 124px 36px 32px;
  align-content: start;
}
.mclass-price-card__kids p {
  font-size: 15px;
  color: #2a3228;
}
.mclass-price-card__kids strong {
  font-weight: 700;
  letter-spacing: 0.02em;
}
.mclass-price-lines {
  display: grid;
  gap: 10px;
  min-height: 200px;
  padding: 112px 36px 26px;
  align-content: start;
}
.mclass-price-lines p {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(52, 74, 51, .12);
  font-size: 14px;
}
.mclass-price-lines strong { color: #1d241c; white-space: nowrap; }
.mclass-price-lines > small { color: #686d65; font-size: 12px; line-height: 1.5; }
.mclass-kids-schedule {
  margin-top: 18px;
  padding: 26px 30px;
  border: 1px solid rgba(52, 74, 51, .12);
  border-radius: 20px;
  background: #FBF8F2;
}
.mclass-kids-schedule h3,
.mclass-kids-schedule .mclass-card__title { display: block; margin-bottom: 18px; font-family: var(--serif); font-size: 21px; font-weight: 400; }
.mclass-kids-schedule__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mclass-kids-schedule__grid article { padding: 16px; border-radius: 12px; background: #F0EDE6; }
.mclass-kids-schedule__grid strong { display: block; margin-bottom: 7px; color: #1d241c; font-size: 14px; }
.mclass-kids-schedule__grid p { color: #5a6258; font-size: 13px; line-height: 1.5; }
.mclass-kids-schedule__tariff { margin-top: 18px; color: #2a3228; font-size: 14px; }

/* Inside */
.mclass-inside {
  position: relative;
  padding: 20px 0 50px;
  overflow: hidden;
}
.mclass-inside__list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
}
.mclass-inside__list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  gap: 12px;
  padding: 18px 12px;
  border: 1px solid rgba(52, 74, 51, .12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(41, 52, 38, .035);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--c-green);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.mclass-inside__list span {
  width: 60px;
  height: 60px;
  color: var(--c-green);
  display: grid;
  place-items: center;
}
.mclass-inside__list svg { width: 42px; height: 42px; }
.mclass-inside__list li small { display: block; margin-top: -4px; color: #7a8178; font-size: 10px; font-weight: 400; }
.mclass-inside__list--nine { grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px; }
.mclass-inside__list--nine li { min-height: 136px; padding: 14px 8px; font-size: 13px; }
@media (hover: hover) and (pointer: fine) {
  .mclass-inside__list li:hover {
    border-color: rgba(52, 74, 51, .22);
    box-shadow: 0 10px 24px rgba(41, 52, 38, .07);
    transform: translateY(-3px);
  }
}

/* Extras */
.mclass-extras { padding: 10px 0 28px; }
.mclass-section-heading { display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; }
.mclass-section-heading .mclass-title { margin-bottom: 8px; }
.mclass-section-heading p { margin-bottom: 24px; color: #6a645b; font-size: 14px; }
.mclass-section-heading a { color: var(--c-green); font-weight: 700; }
.mclass-service-price {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  padding: 18px;
  border: 1px solid rgba(52, 74, 51, .12);
  border-radius: 16px;
  background: #FBF8F2;
}
.mclass-service-price li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: baseline;
  gap: 14px;
  min-height: 44px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(52, 74, 51, .1);
}
.mclass-service-price span { color: #1d241c; font-size: 14px; font-weight: 600; }
.mclass-service-price time { color: #777c75; font-size: 12px; white-space: nowrap; }
.mclass-service-price strong { color: #1d241c; font-size: 14px; white-space: nowrap; }
.mclass-extras__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 27px;
}
.mclass-svc {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  min-height: 192px;
  padding: 14px;
  background: #FBF8F2;
  border: 1px solid rgba(52, 74, 51, 0.12);
  border-radius: 16px;
}
.mclass-svc img {
  width: 142px;
  height: 100%;
  min-height: 164px;
  object-fit: cover;
  border-radius: 12px;
}
.page-class-muzh .mclass-svc img { display: none; }
.page-class-muzh .mclass-svc::before,
.page-class-muzh .mclass-aroma__photo::before {
  display: grid;
  place-items: center;
  border: 1px dashed rgba(52, 74, 51, 0.24);
  border-radius: 10px;
  background-color: #EDEDE7;
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .58) 0 16px, transparent 16px 32px),
    linear-gradient(160deg, #F2F2EC 0%, #E2E3DC 100%);
  color: rgba(52, 74, 51, 0.48);
  font: 600 11px/1 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  content: "Фото";
}
.page-class-muzh .mclass-svc::before {
  grid-column: 1;
  grid-row: 1;
  min-height: 164px;
}
.page-class-muzh .mclass-svc__body { grid-column: 2; }
.mclass-svc__body {
  display: flex;
  flex-direction: column;
  min-height: 164px;
  padding: 2px 4px 2px 0;
}
.mclass-svc h3,
.mclass-svc .mclass-card__title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 10px;
  color: #1d241c;
}
.mclass-svc time {
  display: block;
  margin: -4px 0 8px;
  color: #777c75;
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
}
.mclass-svc p {
  font-size: 13px;
  line-height: 1.45;
  color: #6a645b;
  margin-bottom: 12px;
}
.mclass-svc strong {
  margin-top: auto;
  font-size: 16px;
  font-weight: 700;
  color: #1d241c;
}

/* Aroma + rent */
.mclass-blocks {
  position: relative;
  padding: 8px 0 56px;
  overflow: hidden;
}
.mclass-blocks__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.mclass-aroma,
.mclass-rent {
  background: #FBF8F2;
  border: 1px solid rgba(52, 74, 51, 0.12);
  border-radius: 16px;
  padding: 22px 26px 24px;
  min-height: 168px;
}
.mclass-aroma .mclass-title,
.mclass-rent .mclass-title {
  font-family: var(--sans);
  font-size: 20px;
  margin-bottom: 16px;
}
.mclass-aroma__inner {
  display: grid;
  grid-template-columns: 206px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}
.mclass-aroma__photo {
  position: relative;
  width: 206px;
}
.mclass-aroma__photo img {
  display: block;
  width: 206px;
  height: 112px;
  object-fit: cover;
  border-radius: 10px;
}
.page-class-muzh .mclass-aroma__photo img { display: none; }
.page-class-muzh .mclass-aroma__photo::before {
  width: 206px;
  height: 112px;
}
.mclass-aroma__ext {
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(52, 74, 51, 0.14);
  display: grid;
  place-items: center;
  color: #1d241c;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.mclass-aroma__text p {
  font-size: 14px;
  line-height: 1.45;
  color: #5a6258;
  margin-bottom: 14px;
}
.mclass-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #1d241c;
}
.mclass-link span {
  font-weight: 400;
}
.mclass-rent__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 28px;
  padding-right: 180px;
  min-height: 96px;
  align-content: start;
}
.mclass-rent__inner ul {
  display: grid;
  gap: 12px;
  border-right: 1px dotted rgba(52, 74, 51, 0.28);
  padding-right: 18px;
}
.mclass-rent__inner ul:last-of-type { border-right: 0; }
.mclass-rent__inner li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  color: #2a3228;
}
.mclass-rent__inner li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #8a847c;
}
.mclass-rent__placeholder {
  position: absolute;
  right: -4px;
  top: -16px;
  bottom: -8px;
  width: 160px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(52, 74, 51, 0.24);
  border-radius: 10px;
  background-color: #F0EFE9;
  background-image:
    repeating-linear-gradient(135deg, rgba(52, 74, 51, 0.055) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, #F5F3ED 0%, #E8E8E1 100%);
  color: rgba(52, 74, 51, 0.48);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}
.mclass-rent-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mclass-rent-list p { display: flex; justify-content: space-between; gap: 15px; padding: 13px 15px; border-radius: 10px; background: #F0EDE6; font-size: 14px; }
.mclass-rent-list strong { color: #1d241c; white-space: nowrap; }
.mclass-rent__placeholder::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(52, 74, 51, 0.16);
}

/* Shared class-page services: the same light price/accessories components as uslugi.html. */
.mclass-extras--services { padding: 28px 0 18px; }
.mclass-extras--services > .shell-wide > .mclass-title { margin-bottom: 18px; }
.mclass-svc-prices__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* Both service cards in a row share the height of the taller card,
     matching the price grid on the services page. */
  align-items: stretch;
}
.mclass-svc-prices__grid .svc-price-card {
  border-radius: 16px;
  padding: 18px 22px 14px;
}
.mclass-svc-prices__grid .component-title {
  font-family: var(--sans);
  font-size: 18px;
  margin-bottom: 10px;
}
.mclass-svc-prices__grid .svc-price-list li { padding: 7px 0; }
.mclass-aroma-callout { padding: 28px 0 18px; }
.mclass-aroma-callout__card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(52, 74, 51, 0.05);
  border: 1px solid rgba(52, 74, 51, 0.24);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(20, 24, 15, 0.07);
}
.mclass-aroma-callout__card > img {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 8px;
  box-sizing: border-box;
  border-radius: 50%;
  background: rgba(52, 74, 51, 0.1);
  object-fit: contain;
  color: #344A33;
}
.mclass-aroma-callout__card .component-title {
  display: block;
  margin-bottom: 4px;
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 700;
  color: #243022;
}
.mclass-aroma-callout__card p { margin: 0; color: #6a7268; font-size: 14px; line-height: 1.45; }
.mclass-aroma-callout__content { min-width: 0; }
.mclass-aroma-callout__schedule {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 10px 16px;
  white-space: nowrap;
  font-size: 13px;
}
.mclass-accessories { padding-top: 2px; }

/* Gallery */
.mclass-gallery {
  position: relative;
  padding: 20px 0 50px;
  overflow: hidden;
}
.mclass-gallery__frame {
  --gallery-gap: 12px;
  --gallery-per-view: 4;
  position: relative;
  z-index: 1;
  width: 100%;
}
.mclass-gallery__viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 12px;
  touch-action: pan-y;
}
.mclass-gallery__track {
  display: flex;
  gap: var(--gallery-gap);
  width: 100%;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}
.mclass-gallery__slide {
  flex: 0 0 calc((100% - (var(--gallery-per-view) - 1) * var(--gallery-gap)) / var(--gallery-per-view));
  min-width: 0;
  aspect-ratio: 3 / 2;
}
.mclass-gallery__slide picture {
  display: block;
  width: 100%;
  height: 100%;
}
.mclass-gallery__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  -webkit-user-drag: none;
  user-select: none;
}
.mclass-gallery__slide img.is-gallery-clickable,
.bar-gallery__grid img.is-gallery-clickable,
.about-gallery__slide .about-gallery__photo.is-gallery-clickable,
.about-gallery__grid img.is-gallery-clickable {
  cursor: zoom-in;
}
.mclass-gallery__slide img.is-gallery-clickable:focus-visible,
.bar-gallery__grid img.is-gallery-clickable:focus-visible,
.about-gallery__slide .about-gallery__photo.is-gallery-clickable:focus-visible,
.about-gallery__grid img.is-gallery-clickable:focus-visible {
  outline: 3px solid rgba(90, 119, 74, .6);
  outline-offset: -3px;
}
.mclass-gallery__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 150px;
  border: 1px dashed rgba(52, 74, 51, 0.24);
  border-radius: 12px;
  background-color: #EDEDE7;
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.58) 0 16px, transparent 16px 32px),
    linear-gradient(160deg, #F2F2EC 0%, #E2E3DC 100%);
  color: rgba(52, 74, 51, 0.48);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  user-select: none;
}
.mclass-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border-radius: 50%;
  border: 1px solid rgba(52, 74, 51, 0.18);
  background: #fff;
  color: #2a3228;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
  transition: opacity .2s ease, background .2s ease;
}
.mclass-gallery__nav--prev { left: -20px; }
.mclass-gallery__nav--next { right: -20px; }
.mclass-gallery__nav:hover:not(:disabled) { background: #F7F4EF; }
.mclass-gallery__nav:disabled {
  opacity: .35;
  cursor: default;
  box-shadow: none;
}
.mclass-gallery__nav svg { display: block; }

.gallery-lightbox[hidden] { display: none; }
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: grid;
  place-items: center;
  padding: 28px;
}
.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 14, 11, .94);
  backdrop-filter: blur(5px);
}
.gallery-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  align-items: center;
  width: min(100%, 1440px);
  max-height: calc(100vh - 56px);
  color: #fff;
}
.gallery-lightbox__figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  max-height: calc(100vh - 56px);
  margin: 0;
  touch-action: pan-y;
}
.gallery-lightbox__figure img {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 112px);
  object-fit: contain;
  user-select: none;
}
.gallery-lightbox__figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  color: rgba(255,255,255,.82);
  font-size: 13px;
}
.gallery-lightbox__nav,
.gallery-lightbox__close {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
}
.gallery-lightbox__nav { width: 44px; height: 44px; font: 300 36px/1 var(--sans); }
.gallery-lightbox__nav--prev { justify-self: start; }
.gallery-lightbox__nav--next { justify-self: end; }
.gallery-lightbox__close { position: absolute; top: -12px; right: 54px; z-index: 2; width: 42px; height: 42px; font: 300 30px/1 var(--sans); }
.gallery-lightbox__nav:hover,
.gallery-lightbox__close:hover { background: rgba(255,255,255,.24); }
.gallery-lightbox__nav:focus-visible,
.gallery-lightbox__close:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
body.is-gallery-lightbox-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .mclass-gallery__track { transition: none; }
}

/* CTA + other classes */
.mclass-bottom {
  position: relative;
  overflow: hidden;
}
.mclass-cta {
  position: relative;
  z-index: 1;
  color: #F7F4EF;
  padding: 34px 0;
  background: var(--c-green);
  overflow: hidden;
}
.mclass-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 0.9fr);
  align-items: center;
  gap: 28px 40px;
}
.mclass-cta h2,
.mclass-cta__title {
  font-family: var(--sans);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: #F7F4EF;
}
.mclass-cta h2 { font-family: var(--serif); }
.mclass-cta p {
  font-size: 14px;
  line-height: 1.45;
  opacity: .92;
  max-width: 34ch;
  color: #F7F4EF;
}
.mclass-cta__btn {
  justify-self: center;
  min-width: 180px;
  min-height: 48px;
  padding: 0 28px;
  background: #F7F4EF;
  color: #2a3228;
  border-radius: 10px;
  font-weight: 600;
}
.mclass-cta__btn:hover { background: #fff; }
.mclass-cta__phone {
  text-align: right;
  justify-self: end;
}
.mclass-cta__phone span {
  display: block;
  font-size: 13px;
  opacity: .85;
  margin-bottom: 6px;
}
.mclass-cta__phone a {
  font-family: var(--sans);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #F7F4EF;
}

/* Other classes */
.mclass-other {
  position: relative;
  z-index: 1;
  padding: 64px 0 80px;
  overflow: hidden;
}
.mclass-other__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.mclass-other__card {
  position: relative;
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(52, 74, 51, 0.12);
  border-radius: 14px;
  transition: .2s ease;
}
.mclass-other__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(29, 26, 22, 0.08);
}
.mclass-other__card img {
  width: 126px;
  height: 100%;
  min-height: 112px;
  object-fit: cover;
  border-radius: 10px;
}
.page-class-muzh .mclass-other__card:not(.mclass-other__card--soon) img { display: block; }
.page-class-muzh .mclass-other__body { grid-column: 2; }
.mclass-other__body {
  display: flex;
  flex-direction: column;
  min-height: 112px;
  padding: 2px 2px 2px 0;
}
.mclass-other__card h3,
.mclass-other__card .mclass-card__title {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.25;
  color: #1d241c;
  margin-bottom: 6px;
}
.mclass-other__card p {
  font-size: 13px;
  color: #6a645b;
  line-height: 1.4;
  min-height: 36px;
  margin-bottom: 8px;
}
.mclass-other__card strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1d241c;
}
.mclass-other__body > .mclass-card__title {
  margin-top: 0;
  min-height: 21px;
}
.mclass-other__body > span:not(.mclass-card__title) {
  margin-top: auto;
  font-size: 13px;
  font-weight: 500;
  color: #1d241c;
}
.mclass-other__card--soon { cursor: default; opacity: 1; }
.mclass-other__card--soon:hover { transform: none; box-shadow: none; }
.mclass-other__card--soon .ribbon-wrap { position: absolute; top: 0; left: 0; }
.mclass-other__card--soon .ribbon {
  color: #FBF8F2;
  font-weight: 600;
}

@media (max-width: 1240px) {
  .mclass-gallery__nav--prev { left: 4px; }
  .mclass-gallery__nav--next { right: 4px; }
}
@media (max-width: 1100px) {
  .mclass-inside__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .mclass-inside__list--nine { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
  .mclass-extras__grid,
  .mclass-other__grid { grid-template-columns: 1fr; }
  .mclass-gallery__frame { --gallery-per-view: 4; }
}
@media (max-width: 900px) {
  .mclass-intro__grid,
  .mclass-price__grid,
  .mclass-blocks__grid { grid-template-columns: 1fr; }
  .mclass-intro__facts::before { display: none; }
  .mclass-gallery__frame { --gallery-per-view: 3; }
  .mclass-cta__inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .mclass-cta__btn { justify-self: start; }
  .mclass-cta__phone {
    text-align: left;
    justify-self: start;
  }
  .mclass-hero { min-height: 598px; }
  .mclass-hero__bg--male { background-position: 48% center; }
  .mclass-hero__bg--female-lux { background-position: 40% 28%; }
  .mclass-kids-schedule__grid { grid-template-columns: 1fr; }
  .mclass-service-price { grid-template-columns: 1fr; }
  .mclass-svc-prices__grid { grid-template-columns: 1fr; }
  .mclass-rent-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .mclass-extras--services { padding-top: 22px; }
  .mclass-svc-prices__grid .svc-price-card { padding: 16px 18px 12px; }
  .mclass-aroma-callout__card { align-items: flex-start; padding: 15px 16px; flex-wrap: wrap; }
  .mclass-aroma-callout__card > img { flex-basis: 36px; width: 36px; height: 36px; padding: 7px; }
  .mclass-aroma-callout__card .component-title { font-size: 18px; }
  .mclass-aroma-callout__schedule { width: calc(100% - 46px); margin: 4px auto 0; }
  .mclass-inside__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .mclass-inside__list li { min-height: 142px; padding: 18px 10px; font-size: 14px; }
  .mclass-inside__list--nine { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .mclass-inside__list--nine li { min-height: 142px; padding: 16px 9px; font-size: 13px; }
  .mclass-svc { grid-template-columns: 96px 1fr; min-height: 0; }
  .mclass-svc img { width: 96px; min-height: 110px; }
  .page-class-muzh .mclass-svc::before { min-height: 110px; }
  .mclass-svc__body { min-height: 110px; }
  .mclass-aroma,
  .mclass-rent { padding: 20px 22px 22px; }
  .mclass-aroma .mclass-title,
  .mclass-rent .mclass-title { margin-bottom: 18px; }
  .mclass-aroma__photo img { height: 168px; }
  .mclass-aroma__text { padding-top: 2px; }
  .mclass-aroma__text p { margin-bottom: 12px; }
  .mclass-rent__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    min-height: 0;
    padding-right: 0;
  }
  .mclass-rent__inner ul { gap: 10px; padding-right: 12px; }
  .mclass-rent__inner li { padding-left: 11px; font-size: 13px; line-height: 1.4; }
  .mclass-rent__placeholder { display: none; }
  .mclass-price-card__body {
    flex-direction: column;
    align-items: flex-start;
  }
  .mclass-hero h1 { font-size: 36px; }
  .mclass-hero__bg--male { background-position: 42% center; }
  .mclass-hero__bg--female-lux { background-position: 38% center; }
  .mclass-hero__bg--certificate { background-position: 45% 50%; }
  .mclass-hero__bg--bar { background-position: 62% 50%; }
  .mclass-gallery__frame { --gallery-per-view: 2; }
  .gallery-lightbox { padding: 12px; }
  .gallery-lightbox__dialog { display: block; width: 100%; max-height: calc(100vh - 24px); }
  .gallery-lightbox__figure { max-height: calc(100vh - 24px); }
  .gallery-lightbox__figure img { max-height: calc(100vh - 92px); }
  .gallery-lightbox__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 38px;
    height: 38px;
    font-size: 30px;
    transform: translateY(-50%);
  }
  .gallery-lightbox__nav--prev { left: 8px; }
  .gallery-lightbox__nav--next { right: 8px; }
  .gallery-lightbox__close { top: 8px; right: 8px; background: rgba(12,14,11,.5); }
  .gallery-lightbox__figure figcaption { padding: 10px 4px 0; font-size: 11px; }
  .mclass-hero__bg--placeholder::before { display: none; }
  .mclass-aroma__inner { grid-template-columns: 1fr; }
  .mclass-aroma__photo,
  .mclass-aroma__photo img { width: 100%; }
  .page-class-muzh .mclass-aroma__photo::before { width: 100%; height: 168px; }
  .mclass-price-lines { padding: 112px 22px 24px; }
  .mclass-price-lines p { align-items: flex-start; flex-direction: column; gap: 4px; }
  .mclass-kids-schedule { padding: 22px 18px; }
  .mclass-service-price { padding: 10px; }
  .mclass-service-price li { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; }
  .mclass-service-price time { grid-column: 1; grid-row: 2; }
  .mclass-service-price strong { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .mclass-rent-list { grid-template-columns: 1fr; }
  .page-class--lux .mclass-hero h1 { font-size: 30px; }
}
@media (max-width: 480px) {
  .mclass-gallery__frame { --gallery-per-view: 1; }
}

/* ========== Certificates page ========== */
.page-certificates {
  --ink: #2A2A2A;
  --serif: "Slovic", serif;
  --sans: "Inter", sans-serif;
  --c-green: #354A32;
  --c-green-d: #2B3C29;
  --c-gold: #B98248;
  --c-shell: 1240px;
  --page-bg: #F7F4EF;
  background: var(--page-bg);
  color: var(--ink);
  font-family: var(--sans);
}
.page-certificates .shell-wide {
  width: min(100% - 48px, var(--c-shell));
}
.page-certificates .btn--ghost-light {
  color: #344A33;
  border-color: rgba(52, 74, 51, 0.35);
  background: #fff;
}
.page-certificates .btn--ghost-light:hover {
  color: #fff;
  background: #344A33;
}
.page-certificates .btn--green {
  border-radius: 8px;
  background: var(--c-green);
  font-weight: 600;
}
.page-certificates .btn--green:hover { background: var(--c-green-d); }
.page-certificates .btn--light {
  border-color: transparent;
  border-radius: 8px;
  background: #F7F4EF;
  color: var(--c-green);
  font-weight: 600;
}
.page-certificates .btn--light:hover { background: #fff; }

.certificate-hero h1 {
  max-width: 620px;
  text-transform: none;
}
.certificate-hero .mclass-hero__lead { max-width: 46ch; }

.cert-benefits {
  padding: 28px 0 24px;
  background: #FBFAF7;
}
.cert-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 24px 26px;
  border: 1px solid rgba(52, 74, 51, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(29, 26, 22, 0.04);
}
.cert-benefit {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 2px 16px;
}
.cert-benefit + .cert-benefit { border-left: 1px solid rgba(52, 74, 51, 0.1); }
.cert-benefit__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: #F4EEE5;
  color: var(--c-gold);
}
.cert-benefit__icon svg { width: 30px; height: 30px; }
.cert-benefit h2,
.cert-benefit .component-title {
  display: block;
  margin-bottom: 5px;
  color: #252A24;
  font-size: 15px;
  font-weight: 600;
}
.cert-benefit p {
  color: #6C7169;
  font-size: 12px;
  line-height: 1.55;
}

.cert-values {
  padding: 46px 0 30px;
  scroll-margin-top: 100px;
}
.cert-section-head { margin-bottom: 24px; }
.cert-section-head h2 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: clamp(27px, 3.2vw, 34px);
  font-weight: 400;
  color: #1D241C;
}
.cert-section-head p {
  color: #5F655D;
  font-size: 14px;
}
.cert-values__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.cert-card {
  display: flex;
  flex-direction: column;
  min-height: 184px;
  padding: 25px 25px 22px;
  border: 1px solid rgba(52, 74, 51, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.52);
}
.cert-card__main {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0 auto 20px;
  width: min(100%, 250px);
}
.cert-card__icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  color: var(--c-gold);
}
.cert-card__icon svg { width: 100%; height: 100%; }
.cert-card h3,
.cert-card .component-title {
  display: block;
  margin-bottom: 3px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: #1E241D;
}
.cert-card p {
  color: #73786F;
  font-size: 12px;
}
.cert-card button,
.cert-service-card button {
  width: 100%;
  min-height: 42px;
  margin-top: auto;
  border: 0;
  border-radius: 7px;
  background: var(--c-green);
  color: #fff;
  font: 600 13px/1 var(--sans);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.cert-card button:hover,
.cert-service-card button:hover {
  background: var(--c-green-d);
  transform: translateY(-1px);
}

.cert-services { padding: 42px 0 30px; }
.cert-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.cert-service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(52, 74, 51, 0.15);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.58);
}
.cert-service-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #E4E0D8;
}
.cert-service-card__placeholder {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #E7E9E2;
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,.55) 0 18px, transparent 18px 36px),
    linear-gradient(160deg, #F1F1EB 0%, #DDE1D8 100%);
}
.cert-service-card__placeholder::after {
  content: attr(data-placeholder);
  padding: 10px 14px;
  border: 1px dashed rgba(52,74,51,.25);
  border-radius: 8px;
  color: rgba(52,74,51,.52);
  font: 600 10px/1 var(--sans);
  letter-spacing: .13em;
  text-transform: uppercase;
}
.cert-service-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 228px;
  padding: 16px 16px 15px;
}
.cert-service-card h3,
.cert-service-card .component-title {
  display: block;
  margin-bottom: 7px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  color: #1D241C;
}
.cert-service-card p {
  margin-bottom: 15px;
  color: #61675F;
  font-size: 12px;
  line-height: 1.5;
}
.cert-service-card strong {
  display: block;
  margin: auto 0 15px;
  color: #20261F;
  font-size: 14px;
}

.cert-cta { padding: 0 0 34px; }
.cert-cta__panel {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 128px;
  padding: 24px 48px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--c-green);
  color: #F7F4EF;
}
.cert-cta__panel::after {
  content: "";
  position: absolute;
  inset: 0 0 0 58%;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 18px, transparent 18px 36px),
    radial-gradient(circle at 70% 50%, rgba(255,255,255,.06), transparent 58%);
  pointer-events: none;
}
.page-certificates .cert-cta__panel::after { display: none; }
.cert-cta__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(255,255,255,.07);
  color: #D3B07E;
}
.cert-cta__icon svg { width: 38px; height: 38px; }
.cert-cta__text { position: relative; z-index: 1; }
.cert-cta h2,
.cert-cta__title {
  display: block;
  margin-bottom: 7px;
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 27px);
  font-weight: 400;
  color: #F7F4EF;
}
.cert-cta p {
  color: rgba(247,244,239,.86);
  font-size: 13px;
  line-height: 1.5;
}
.cert-cta__button {
  position: relative;
  z-index: 1;
  min-width: 220px;
  min-height: 48px;
}

@media (max-width: 900px) {
  .cert-benefits__grid,
  .cert-values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cert-benefit + .cert-benefit { border-left: 0; }
  .cert-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cert-cta__panel {
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 28px;
  }
  .cert-cta__button {
    grid-column: 2;
    justify-self: start;
  }
}
@media (max-width: 640px) {
  .page-certificates .shell-wide { width: min(100% - 24px, var(--c-shell)); }
  .certificate-hero { min-height: 598px; }
  .certificate-hero h1 { font-size: 38px; }
  .certificate-hero .mclass-hero__lead br { display: none; }
  .cert-benefits { padding-top: 18px; }
  .cert-benefits__grid,
  .cert-values__grid,
  .cert-services__grid { grid-template-columns: 1fr; }
  .cert-benefits__grid { padding: 14px; }
  .cert-benefit { padding: 10px 6px; }
  .cert-card { min-height: 168px; }
  .cert-service-card__body { min-height: 210px; }
  .cert-cta__panel {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 17px;
    padding: 26px 24px;
  }
  .cert-cta__button { grid-column: auto; width: 100%; }
  .cert-cta p br { display: none; }
}

/* ========== Bar page ========== */
.page-bar {
  --ink: #2A2A2A;
  --serif: "Slovic", serif;
  --sans: "Inter", sans-serif;
  --c-green: #354A32;
  --c-green-d: #2B3C29;
  --c-shell: 1240px;
  --page-bg: #F7F4EF;
  background: var(--page-bg);
  color: var(--ink);
  font-family: var(--sans);
}
.page-bar .shell-wide { width: min(100% - 48px, var(--c-shell)); }
.page-bar .btn--ghost-light {
  color: #344A33;
  border-color: rgba(52, 74, 51, 0.35);
  background: #fff;
}
.page-bar .btn--ghost-light:hover { color: #fff; background: #344A33; }
.page-bar .btn--green {
  border-radius: 8px;
  background: var(--c-green);
  font-weight: 600;
}
.page-bar .btn--green:hover { background: var(--c-green-d); }
.page-bar .btn--light {
  border-color: transparent;
  border-radius: 8px;
  background: #F7F4EF;
  color: var(--c-green);
  font-weight: 600;
}
.page-bar .btn--light:hover { background: #fff; }

.bar-hero h1 { max-width: 730px; }
.bar-hero .mclass-hero__lead { max-width: 46ch; }
.bar-hero__meta { margin-bottom: 27px; }
.bar-hero__meta svg,
.bar-hero__currency {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  position: relative;
  top: 1px;
}
.bar-hero__currency {
  display: inline-grid;
  place-items: center;
  font: 500 20px/1 var(--sans);
}
.bar-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.bar-hero .bar-hero__menu-link {
  gap: 10px;
  color: #fff;
  border-color: rgba(255,255,255,.58);
  background: transparent;
}
.bar-hero .bar-hero__menu-link:hover { background: rgba(255,255,255,.1); }
.bar-pdf-icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 29px;
  border: 1px solid currentColor;
  border-radius: 3px;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .03em;
}
.bar-hero__gallery-link {
  position: absolute;
  top: -105px;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
  color: rgba(255,255,255,.88);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bar-benefits {
  padding: 28px 0 24px;
  background: #FBFAF7;
}
.bar-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 27px 24px;
  border: 1px solid rgba(52, 74, 51, 0.11);
  border-radius: 18px;
  background: rgba(255,255,255,.7);
  box-shadow: 0 14px 34px rgba(29,26,22,.04);
}
.bar-benefit {
  display: grid;
  grid-template-columns: 53px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-width: 0;
  padding: 3px 21px;
}
.bar-benefit + .bar-benefit { border-left: 1px solid rgba(52, 74, 51, 0.13); }
.bar-benefit__icon {
  display: grid;
  place-items: center;
  width: 53px;
  height: 48px;
  color: #4E7252;
  transform: translateY(-7px);
}
.bar-benefit__icon svg { width: 48px; height: 48px; }
.bar-benefit h2,
.bar-benefit .component-title {
  display: block;
  margin-bottom: 8px;
  color: #252A24;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}
.bar-benefit p {
  color: #6C7169;
  font-size: 11px;
  line-height: 1.55;
}

.bar-gallery {
  padding: 54px 0 34px;
  scroll-margin-top: 100px;
}
.bar-section-head {
  margin-bottom: 26px;
}
.bar-section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.bar-section-head h2,
.bar-menu__head h2 {
  font-family: var(--serif);
  font-size: clamp(27px, 3.2vw, 34px);
  font-weight: 400;
  color: #1D241C;
  text-transform: uppercase;
}
.bar-section-head a {
  padding-bottom: 5px;
  border-bottom: 1px solid #6F8C6E;
  color: #4E6B4E;
  font-size: 13px;
  font-weight: 600;
}
.bar-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}
.bar-gallery__item {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 14px;
  background: #E7E9E2;
}
.bar-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  cursor: zoom-in;
  transition: transform .25s ease, filter .25s ease;
}
.bar-gallery__item:hover img { transform: scale(1.02); filter: brightness(.96); }
.bar-gallery__item--hidden { display: none; }
.bar-gallery__item--more::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(20, 24, 15, .28);
}
.bar-gallery__more {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: .02em;
  pointer-events: none;
}
.bar-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px dashed rgba(52, 74, 51, 0.25);
  border-radius: 14px;
  background-color: #E7E9E2;
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,.55) 0 18px, transparent 18px 36px),
    linear-gradient(160deg, #F1F1EB 0%, #DDE1D8 100%);
}
.bar-placeholder::after {
  content: attr(data-placeholder);
  padding: 10px 14px;
  border: 1px solid rgba(52,74,51,.14);
  border-radius: 8px;
  background: rgba(247,246,243,.76);
  color: rgba(52,74,51,.52);
  font: 600 10px/1 var(--sans);
  letter-spacing: .13em;
  text-transform: uppercase;
}
.bar-gallery__item--wide { grid-column: span 2; }

.bar-menu {
  padding: 42px 0 30px;
  scroll-margin-top: 100px;
}
.bar-menu__head {
  display: grid;
  justify-items: center;
  margin-bottom: 30px;
  text-align: center;
}
.bar-menu__head > div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: #5C795B;
}
.bar-menu__head > div span {
  width: 84px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(52,74,51,.4));
}
.bar-menu__head > div span:last-child { transform: scaleX(-1); }
.bar-menu__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.bar-menu-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 470px;
  overflow: hidden;
  padding: 40px 50px 38px;
  border: 1px solid rgba(52,74,51,.13);
  border-radius: 17px;
  background: rgba(255,255,255,.48);
}
.bar-menu-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -35px;
  width: 260px;
  height: 260px;
  background: url("../images/branch-grey.svg") right bottom / contain no-repeat;
  opacity: .2;
  pointer-events: none;
}
.bar-menu-card__top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 26px;
}
.bar-menu-card__icon {
  color: #426A49;
}
.bar-menu-card__icon svg { width: 68px; height: 68px; }
.bar-menu-card h3,
.bar-menu-card .component-title {
  display: block;
  margin: 6px 0 9px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  color: #1D241C;
  text-transform: uppercase;
}
.bar-menu-card__top p {
  color: #62685F;
  font-size: 13px;
  line-height: 1.6;
}
.bar-menu-card ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 13px;
  margin: 0 0 34px 10px;
}
.bar-menu-card li {
  position: relative;
  padding-left: 16px;
  color: #4F564D;
  font-size: 13px;
}
.bar-menu-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #5F825F;
}
.bar-download {
  position: relative;
  z-index: 1;
  display: inline-grid;
  grid-template-columns: 38px auto;
  align-items: center;
  gap: 13px;
  width: fit-content;
  min-width: 250px;
  min-height: 68px;
  margin-top: auto;
  padding: 9px 18px;
  border: 1px solid #5D7B5C;
  border-radius: 8px;
  background: rgba(255,255,255,.56);
  color: #29452F;
  font-family: var(--sans);
  text-align: left;
  cursor: pointer;
}
.bar-download__pdf {
  display: grid;
  place-items: center;
  width: 34px;
  height: 42px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
}
.bar-download strong,
.bar-download small { display: block; }
.bar-download strong { margin-bottom: 4px; font-size: 13px; }
.bar-download small { color: #70766E; font-size: 11px; font-weight: 400; }
.bar-menu__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  color: #777C75;
  font-size: 13px;
}
.bar-menu__note svg { color: #547455; }
.bar-cta { padding-top: 20px; }
.bar-cta .cert-cta__panel::after { display: none; }

@media (max-width: 1000px) {
  .bar-benefits__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bar-benefit + .bar-benefit { border-left: 0; }
  .bar-benefit:nth-child(even) { border-left: 1px solid rgba(52,74,51,.13); }
  .bar-gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bar-menu-card { padding: 32px; }
}
@media (max-width: 760px) {
  .bar-menu__grid { grid-template-columns: 1fr; }
  .bar-menu-card { min-height: 430px; }
}
@media (max-width: 640px) {
  .page-bar .shell-wide { width: min(100% - 24px, var(--c-shell)); }
  .bar-hero { min-height: 598px; }
  .bar-hero .mclass-hero__bg--bar { background-position: 70% 50%; }
  .bar-hero h1 { font-size: 38px; }
  .bar-hero__gallery-link { display: none; }
  .bar-hero .mclass-hero__lead br { display: none; }
  .bar-hero__meta {
    flex-wrap: wrap;
    gap: 10px 14px;
  }
  .bar-hero__meta i { display: none; }
  .bar-hero__buttons { align-items: stretch; }
  .bar-hero__buttons .btn { width: 100%; }
  .bar-benefits__grid { grid-template-columns: 1fr; padding: 14px; }
  .bar-benefit,
  .bar-benefit:nth-child(even) { padding: 12px 5px; border-left: 0; }
  .bar-section-head--row { align-items: flex-start; flex-direction: column; }
  .bar-gallery { padding-top: 44px; }
  .bar-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bar-gallery__item--wide { grid-column: auto; }
  .bar-menu-card {
    min-height: 0;
    padding: 26px 22px;
  }
  .bar-menu-card__top { grid-template-columns: 58px minmax(0, 1fr); gap: 14px; }
  .bar-menu-card__icon svg { width: 54px; height: 54px; }
  .bar-menu-card h3,
  .bar-menu-card .component-title { font-size: 20px; }
  .bar-download { width: 100%; min-width: 0; }
  .bar-menu__note { align-items: flex-start; }
}

/* ========== Long-form content pages ========== */
.page-legal {
  background: var(--paper);
  color: #2A2A2A;
  font-family: var(--sans);
}
.legal-page__intro {
  padding: 130px 0 42px;
  background: var(--paper-2);
}
.legal-page__intro .articles-breadcrumbs {
  justify-content: flex-start;
  margin-bottom: 20px;
}
.legal-page__kicker {
  margin-bottom: 8px;
  color: #5A774A;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.legal-page__intro h1 {
  max-width: 900px;
  overflow-wrap: anywhere;
  hyphens: auto;
  font-family: var(--serif);
  font-size: clamp(46px, 4.5vw, 58px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--ink);
}
.legal-page__body { padding: 52px 0 96px; }
.legal-document {
  max-width: none;
  width: 100%;
  overflow-wrap: anywhere;
}
.legal-document__name {
  margin-bottom: 48px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.55;
  text-transform: uppercase;
}
.legal-section + .legal-section {
  margin-top: 56px;
  padding-top: 52px;
  border-top: 1px solid var(--line);
}
.legal-section h2 {
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 31px);
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
}
.legal-section p,
.legal-section li {
  color: #3E433D;
  font-size: 16px;
  line-height: 1.75;
}
/* Keep long-form paragraphs visually aligned on the right edge. */
@media (min-width: 641px) {
  .legal-section p,
  .legal-section li {
    text-align: justify;
    text-justify: inter-word;
  }
}
.legal-section p + p { margin-top: 14px; }
.legal-list {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
  padding-left: 24px;
  list-style: decimal;
}
.legal-list--paren { list-style: none; counter-reset: legal-item; padding-left: 0; }
.legal-list--paren > li {
  position: relative;
  padding-left: 34px;
  counter-increment: legal-item;
}
.legal-list--paren > li::before {
  content: counter(legal-item) ")";
  position: absolute;
  left: 0;
  color: var(--ink);
  font-weight: 500;
}
.legal-list--dash { list-style: none; padding-left: 0; }
.legal-list--dash > li { position: relative; padding-left: 20px; }
.legal-list--dash > li::before { content: "–"; position: absolute; left: 0; }
.legal-appendix__images {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}
.legal-appendix__images img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: #fff;
}

.legal-page__back {
  margin: 0 0 12px;
  font-size: 14px;
}
.legal-page__back a {
  color: #5A774A;
  text-decoration: none;
  transition: color .2s ease;
}
.legal-page__back a:hover { color: var(--c-green); }

.legal-page__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
  color: #657064;
  font-size: 14px;
}
.legal-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}
.legal-page__toc {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.legal-page__toc-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #657064;
}
.legal-page__toc-list {
  margin: 0;
  padding-left: 18px;
  color: #3E433D;
  font-size: 14px;
  line-height: 1.55;
}
.legal-page__toc-list a { color: #5A774A; text-decoration: none; }
.legal-page__toc-list a:hover { color: var(--c-green); text-decoration: underline; }
@media (min-width: 992px) {
  .legal-page__layout { grid-template-columns: 260px minmax(0, 1fr); align-items: start; }
  .legal-page__toc { position: sticky; top: 110px; }
}
.docs-index__group + .docs-index__group { margin-top: 42px; }
.docs-index__group-title {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 34px);
  font-weight: 400;
  color: var(--ink);
}
.docs-index__updated {
  margin: 8px 0 0;
  color: #657064;
  font-size: 13px;
}
.docs-index__intro {
  max-width: 720px;
  margin-top: 18px;
  color: #3E433D;
  font-size: 17px;
  line-height: 1.65;
}
.docs-index__list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.docs-index__item {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.docs-index__title {
  display: inline-block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.2;
  text-decoration: none;
}
a.docs-index__title:hover { color: var(--c-green); }
.docs-index__excerpt {
  margin: 10px 0 0;
  color: #3E433D;
  font-size: 15px;
  line-height: 1.6;
}
.docs-index__link {
  display: inline-block;
  margin-top: 14px;
  color: #5A774A;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.docs-index__link:hover { color: var(--c-green); }
.docs-index__item--draft {
  opacity: .72;
  border-style: dashed;
}
.docs-index__item--draft .docs-index__title { font-family: var(--sans); font-size: 18px; font-weight: 600; }
.docs-index__status {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f3efe6;
  color: #6b6b6b;
  font-size: 12px;
  font-weight: 600;
  vertical-align: middle;
}
.docs-index__empty {
  color: #3E433D;
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .legal-page__intro { padding: 120px 0 32px; }
  .legal-page__intro h1 { font-size: 38px; }
  .legal-page__body { padding: 40px 0 68px; }
  .docs-index__item { padding: 18px 16px; }
  .legal-document__name { margin-bottom: 36px; }
  .legal-section + .legal-section { margin-top: 44px; padding-top: 40px; }
  .legal-section h2 { margin-bottom: 20px; font-size: 25px; }
  .legal-section p,
  .legal-section li { font-size: 15px; line-height: 1.7; }
}

/* Sport hall content page */
.sport-hall-content { max-width: none; width: 100%; }
.sport-hall-summary { padding-top: 0; }
.page-sport-hall .legal-section + .legal-section {
  margin-top: 64px;
  padding-top: 0;
  border-top: 0;
}
.sport-hall-equipment {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 44px;
  margin: 0;
  padding: 28px 30px;
  border-radius: 12px;
  background: var(--paper-2);
  list-style: none;
}
.sport-hall-equipment li {
  position: relative;
  padding: 0 0 0 20px;
}
.sport-hall-equipment li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5A774A;
}
.sport-hall-rates {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.sport-hall-rate {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-height: 116px;
  padding: 22px;
  border-radius: 10px;
  background: var(--paper-2);
  color: #3E433D;
  font-size: 16px;
}
.sport-hall-rate span {
  color: #6B7068;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .03em;
}
.sport-hall-rate strong {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
}
.sport-hall-age {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px;
  margin-top: 56px;
  padding: 24px 28px;
  border: 1px solid rgba(49, 81, 50, .28);
  border-radius: 4px;
  background: rgba(90, 119, 74, .07);
}
.sport-hall-age strong {
  color: var(--green);
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
}
.sport-hall-age p {
  margin: 0;
  color: #3E433D;
  font-size: 16px;
  line-height: 1.6;
}
.sport-hall-gallery {
  margin-top: 88px;
}
.sport-hall-gallery h2 {
  margin-bottom: 28px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.25;
}
.sport-hall-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.sport-hall-gallery__grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper-2);
}
.sport-hall-gallery__grid button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.sport-hall-gallery__grid button > picture {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
}
.sport-hall-gallery__grid button > picture > img {
  height: 100%;
}
.sport-hall-gallery__grid button > span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(251, 248, 242, .92);
  color: var(--green);
  font-size: 19px;
  box-shadow: 0 5px 18px rgba(17, 22, 16, .16);
}
.sport-hall-gallery__grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .35s ease;
}
.sport-hall-gallery__grid button:hover img { transform: scale(1.025); }
.sport-hall-gallery__grid button:focus-visible {
  outline: 3px solid rgba(90, 119, 74, .55);
  outline-offset: -3px;
}

.sport-lightbox[hidden] { display: none; }
.sport-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 28px;
}
.sport-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 14, 11, .92);
  backdrop-filter: blur(5px);
}
.sport-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  align-items: center;
  width: min(100%, 1440px);
  max-height: calc(100vh - 56px);
  color: #fff;
}
.sport-lightbox__figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  max-height: calc(100vh - 56px);
  margin: 0;
  min-width: 0;
  touch-action: pan-y;
}
.sport-lightbox__figure img {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 112px);
  object-fit: contain;
  user-select: none;
}
.sport-lightbox__figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  color: rgba(255,255,255,.82);
  font-size: 13px;
}
.sport-lightbox__nav,
.sport-lightbox__close {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease;
}
.sport-lightbox__nav {
  width: 44px;
  height: 44px;
  font: 300 36px/1 var(--sans);
}
.sport-lightbox__nav--prev { justify-self: start; }
.sport-lightbox__nav--next { justify-self: end; }
.sport-lightbox__close {
  position: absolute;
  top: -12px;
  right: 54px;
  z-index: 2;
  width: 42px;
  height: 42px;
  font: 300 30px/1 var(--sans);
}
.sport-lightbox__nav:hover,
.sport-lightbox__close:hover { background: rgba(255,255,255,.24); }
.sport-lightbox__nav:focus-visible,
.sport-lightbox__close:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
body.is-sport-lightbox-open { overflow: hidden; }

@media (max-width: 1000px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .team-head { padding: 112px 0 36px; }
  .team-head__breadcrumbs { margin-bottom: 22px; }
  .team-head h1 { margin-bottom: 14px; font-size: 46px; }
  .team-head > .container > p:last-child { font-size: 15px; }
  .team-directory { padding: 24px 0 64px; }
  .team-tabs {
    display: grid;
    width: 100%;
    margin-bottom: 20px;
    gap: 8px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .team-tabs.team-tabs--single { width: 100%; }
  .team-tabs button {
    width: 100%;
    min-height: 50px;
    padding: 10px 16px;
    border: 1px solid rgba(52,74,51,.18);
    border-radius: 10px;
    background: #fff;
    color: #2a3228;
    text-align: left;
    white-space: normal;
    font-size: 14px;
    line-height: 1.25;
  }
  .team-tabs button:last-child { border-right: 1px solid rgba(52,74,51,.18); }
  .team-tabs button.is-active { border-color: var(--c-green); background: var(--c-green); color: #fff; }
  .team-grid { grid-template-columns: 1fr; gap: 14px; }
  .team-card { grid-template-columns: 39% minmax(0, 1fr); min-height: 220px; }
  .team-card__photo,
  .team-card__photo img { min-height: 220px; }
  .team-card__body { padding: 18px 15px 16px; }
  .team-card__name { font-size: 17px; }
  .team-card__short { font-size: 12px; }
  .team-modal { padding: 10px; }
  .team-modal__dialog { max-height: calc(100vh - 20px); border-radius: 14px; }
  .team-modal__grid { display: block; min-height: 0; }
  .team-modal__media,
  .team-modal__media img { min-height: 0; height: 220px; }
  .team-modal__content { padding: 38px 22px 24px; }
  .team-modal__content h2 { font-size: 32px; }
  .team-modal__specialty { font-size: 15px; }
}

@media (max-width: 640px) {
  .about-history-modal { padding: 10px; }
  .about-history-modal__dialog { max-height: calc(100vh - 20px); border-radius: 14px; }
  .about-history-modal__grid { display: block; min-height: 0; }
  .about-history-modal__media,
  .about-history-modal__media img { min-height: 0; height: 220px; }
  .about-history-modal__media img { object-fit: cover; }
  .about-history-modal__content { padding: 38px 22px 22px; }
  .about-history-modal__content h2 { font-size: 32px; }
  .about-history-modal__lead { font-size: 15px; }
  .about-history-modal__body { font-size: 13px; line-height: 1.55; }
  .about-history-modal__nav { padding-top: 20px; }
  .about-history-modal__nav button span { display: none; }
}

@media (max-width: 640px) {
  .sport-hall-equipment { grid-template-columns: 1fr; }
  .page-sport-hall .legal-section + .legal-section { margin-top: 50px; }
  .sport-hall-equipment { gap: 15px; padding: 22px; }
  .sport-hall-rates { grid-template-columns: 1fr; }
  .sport-hall-rate { min-height: 0; padding: 20px; }
  .sport-hall-age {
    gap: 14px;
    margin-top: 44px;
    padding: 20px;
  }
  .sport-hall-age strong { font-size: 28px; }
  .sport-hall-age p { font-size: 15px; }
  .sport-hall-gallery {
    margin-top: 60px;
  }
  .sport-hall-gallery__grid { grid-template-columns: 1fr; gap: 14px; }
  .sport-lightbox { padding: 12px; }
  .sport-lightbox__dialog {
    display: block;
    width: 100%;
    max-height: calc(100vh - 24px);
  }
  .sport-lightbox__figure { max-height: calc(100vh - 24px); }
  .sport-lightbox__figure img { max-height: calc(100vh - 92px); }
  .sport-lightbox__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 38px;
    height: 38px;
    font-size: 30px;
    transform: translateY(-50%);
  }
  .sport-lightbox__nav--prev { left: 8px; }
  .sport-lightbox__nav--next { right: 8px; }
  .sport-lightbox__close { top: 8px; right: 8px; background: rgba(12,14,11,.5); }
  .sport-lightbox__figure figcaption { padding: 10px 4px 0; font-size: 11px; }
}

/* Component labels use the pre-Slovic typography; Slovic is reserved for real headings. */
.card__body .card__title,
.banner__title,
.cta__title,
.mclass-kids-schedule .mclass-card__title,
.mclass-other__card .mclass-card__title,
.bar-menu-card .component-title,
.cert-benefit .component-title,
.cert-card .component-title,
.cert-service-card .component-title,
.cert-cta__title,
.about-timeline__card .component-title { font-family: var(--sans); }
.feat__title,
.mclass-svc .mclass-card__title,
.article-card .article-title,
.about-why__card .component-title,
.bar-benefit .component-title,
.svc-price-card .component-title,
.svc-accessories .component-title,
.svc-masseur .component-title,
.cinfo .component-title { font-family: var(--sans); }


/* Responsive image backgrounds: keep the existing crop and position. */
@media (max-width: 767px) {
  .class-hero--muzhskoy { background-image: url("../images/muzhskoy-obzhiy-768.webp"), url("../images/muzhskoy-obzhiy.jpg"); }
  .class-hero--zhenskiy-obzhiy { background-image: url("../images/zhenskiy-obzhiy-768.webp"), url("../images/zhenskiy-obzhiy.jpg"); }
  .class-hero--zhenskiy-luks { background-image: url("../images/zhenskiy-luks-768.webp"), url("../images/zhenskiy-luks.jpg"); }
  .about-hero { background-image: image-set(url("../tempp/foto/onas-hero-mobile-1600.webp") 1x, url("../tempp/foto/onas-hero-mobile-3200.webp") 2x); }
  .mclass-hero__bg--female { background-image: image-set(url("../tempp/foto/zhenskij-obshchij-mobile-1200.webp") 1x, url("../tempp/foto/zhenskij-obshchij-mobile-2400.webp") 2x); }
  .mclass-hero__bg--female-lux { background-image: image-set(url("../tempp/foto/zhenskij-luks-mobile-1200.webp") 1x, url("../tempp/foto/zhenskij-luks-mobile-2400.webp") 2x); }
  .mclass-hero__bg--male { background-image: image-set(url("../tempp/foto/muzhskoj-obshchij-mobile-1200.webp") 1x, url("../tempp/foto/muzhskoj-obshchij-mobile-2400.webp") 2x); }
  .mclass-hero__bg--certificate { background-image: image-set(url("../tempp/foto/sert-hero-mobile-1200.webp") 1x, url("../tempp/foto/sert-hero-mobile-2400.webp") 2x); }
  .mclass-hero__bg--bar { background-image: image-set(url("../tempp/foto/bar-kvas-hero-2000.webp") 1x, url("../tempp/foto/bar-kvas-hero-2172.webp") 2x); }
}


/* Responsive inline-background delivery; legacy originals are isolated from modern browsers. */
.hero__media--yamshik { background-image: image-set(url("../tempp/foto/yamshik-hero-1200.webp") 1x, url("../tempp/foto/yamshik-hero-2000.webp") 2x) !important; }
.banner--sert { background-image: image-set(url("../img/sert2-1200.webp") 1x, url("../img/sert2-2000.webp") 2x) !important; }
.banner--bar { background-image: image-set(url("../tempp/foto/bar-kvas-hero-1200.webp") 1x, url("../tempp/foto/bar-kvas-hero-2000.webp") 2x) !important; background-position: center right; }
.cta__panel { background-image: image-set(url("../img/cta-bg-1200.webp") 1x, url("../img/cta-bg-2000.webp") 2x) !important; }
@media (max-width: 767px) {
  .hero__media--yamshik { background-image: image-set(url("../tempp/foto/yamshik-hero-mobile-1600.webp") 1x, url("../tempp/foto/yamshik-hero-mobile-3200.webp") 2x) !important; }
  .banner--sert { background-image: url("../img/sert2-768.webp") !important; }
  .banner--bar { background-image: image-set(url("../tempp/foto/bar-kvas-hero-1200.webp") 1x, url("../tempp/foto/bar-kvas-hero-2172.webp") 2x) !important; background-position: 68% center; }
  .cta__panel { background-image: url("../img/cta-bg-768.webp") !important; }
}
@supports not (background-image: image-set(url("") 1x)) {
  .hero__media--yamshik { background-image: url("../tempp/foto/yamshik-hero.jpg") !important; }
  .banner--sert { background-image: url("../img/sert2.png") !important; }
  .banner--bar { background-image: url("../tempp/bar-kvas-hero.png") !important; }
  .cta__panel { background-image: url("../img/cta-bg.png") !important; }
  @media (max-width: 767px) {
    .hero__media--yamshik { background-image: url("../tempp/foto/yamshik-hero.jpg") !important; }
    .banner--sert { background-image: url("../img/sert2.png") !important; }
    .banner--bar { background-image: url("../tempp/bar-kvas-hero.png") !important; }
    .cta__panel { background-image: url("../img/cta-bg.png") !important; }
  }
}

/* Branded 404 page */
body.error404 {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.error404 #site-header,
body.error404 #site-footer {
  flex-shrink: 0;
}

body.error404 .error404-page {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  padding: calc(100px + 24px) 0 64px;
  background: var(--paper);
}

.error404-page__inner {
  position: relative;
  width: min(100%, 640px);
  margin-inline: auto;
  text-align: center;
}

.error404-page__code {
  position: absolute;
  inset: -18px 0 auto;
  z-index: 0;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(112px, 22vw, 220px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: rgba(53, 74, 50, 0.07);
  pointer-events: none;
  user-select: none;
}

.error404-page__eyebrow,
.error404-page__title,
.error404-page__text,
.error404-page__actions,
.error404-page__links,
.error404-page__mark {
  position: relative;
  z-index: 1;
}

.error404-page__eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.error404-page__title {
  margin: 0 0 16px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  line-height: 1.12;
  max-width: 14ch;
  margin-inline: auto;
}

.error404-page__text {
  max-width: 42ch;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
}

.error404-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.error404-page__links {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.error404-page__links-label {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.error404-page__links-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.error404-page__link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.58);
  color: var(--green);
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.error404-page__link:hover {
  border-color: rgba(53, 74, 50, 0.34);
  background: #fff;
  color: var(--green-2);
}

.error404-page__link:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.error404-page__mark {
  display: block;
  width: 120px;
  height: 24px;
  margin: 28px auto 0;
  background: url("../images/icons/divider-leaf.svg") center / contain no-repeat;
}

@media (max-width: 768px) {
  body.error404 .error404-page {
    padding: calc(92px + 16px) 0 52px;
  }

  .error404-page__code {
    inset: -8px 0 auto;
    font-size: clamp(96px, 28vw, 160px);
  }

  .error404-page__title {
    max-width: none;
  }

  .error404-page__actions .btn {
    flex: 1 1 100%;
    max-width: 320px;
  }
}

@media (max-width: 430px) {
  body.error404 .error404-page {
    padding-top: calc(88px + 12px);
  }

  .error404-page__links-row {
    gap: 8px;
  }

  .error404-page__link {
    min-height: 44px;
    padding-inline: 14px;
  }
}

@media print {
  #site-header, #site-footer, .cookie-banner, .cookie-settings, .legal-page__back, .legal-page__toc, .articles-breadcrumbs, .request-modal, .footer__cookie-settings { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .legal-page__intro { padding-top: 0 !important; }
  .legal-page__intro h1, .legal-section h2, .legal-document__name { color: #000 !important; }
  .legal-page__layout { display: block !important; }
  .legal-section p, .legal-section li { color: #000 !important; text-align: left !important; }
  a { color: #000 !important; text-decoration: underline !important; }
}
