/* Редакционная структура: общие фирменные токены остаются прежними. */
.ref-page{--section-space:72px}
.ref-page .section-head{margin-bottom:36px;gap:32px}
.ref-page .section-head>p{max-width:46ch}
.ref-page .concern-layout{display:block}
.ref-page .concern-intro{max-width:660px;margin-bottom:40px}
.ref-page p{line-height:1.6}
.ref-page .v3-quick-path{display:block;padding-block:26px 30px}
.ref-page .v3-quick-path>div{display:flex;flex-wrap:wrap;gap:8px 30px;margin-top:12px}
.ref-page .v3-quick-path a{display:inline-flex;gap:16px;align-items:center;min-height:44px;padding:6px 0;border:0;background:none;font-size:18px;text-decoration:none}
.ref-page .v3-quick-path>a{margin-top:6px;font-size:16px;color:var(--ink-muted)}
.ref-page .ref-navigation{position:sticky;top:74px;z-index:20;background:var(--background);color:var(--text);border-bottom:1px solid var(--border);--focus:var(--champagne)}
.ref-page .nav-inner{display:block;min-height:0}
.ref-page .ref-contents{width:100%;position:relative}
.ref-page .ref-contents>summary{display:flex;justify-content:space-between;align-items:center;min-height:52px;list-style:none;font-size:16px}
.ref-page summary::-webkit-details-marker{display:none}
.ref-page .ref-contents>summary:after{content:'+';font-size:22px}
.ref-page .ref-contents[open]>summary:after{content:'−'}
.ref-page .ref-contents .mobile-links{position:static;display:grid;grid-template-columns:repeat(3,1fr);padding:8px 0 22px;gap:8px 30px;background:none;border:0}
.ref-page .ref-contents a{display:flex;align-items:center;min-height:44px;white-space:normal;text-decoration:none;font-size:17px}
.ref-page .ref-concerns{display:block}
.ref-page .ref-concern{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start;margin-bottom:52px;scroll-margin-top:152px}
.ref-page .v3-concern-visual{margin:0;background:none;min-height:0}
.ref-page .v3-concern-visual img{width:100%;height:auto;aspect-ratio:1.35;object-fit:cover}
.ref-page .v3-concern-visual figcaption{position:static;padding:12px 0 0;background:none;color:var(--ink-muted);font-size:14px;line-height:1.5}
.ref-page .ref-concern-copy{padding:8px 0 0}
.ref-page .ref-concern-copy h3{margin:12px 0 18px}
.ref-page .ref-context{margin-top:22px;border:0;border-top:1px solid var(--light-border)}
.ref-page .ref-context>summary{min-height:48px;display:flex;align-items:center;justify-content:space-between;list-style:none;font-size:16px}
.ref-page .ref-context>summary:after{content:'+'}
.ref-page .ref-context[open]>summary:after{content:'−'}
.ref-page .context-question{border:0;background:none;padding:12px 0}
.ref-page .context-question summary{font-size:17px}
.ref-page .v3-concern-path{border:0;padding:22px 0 0;margin-top:0;background:none}
.ref-page .v3-concern-path h4{font-size:26px;margin:10px 0}
.ref-page .vf-clinical-preview{margin-top:18px}
.ref-page .vf-clinical-preview figcaption{font-size:14px;line-height:1.5}
.ref-page .v2-source-note,.ref-page .note{font-size:15px;line-height:1.6}
/* Фотографии результатов и простые текстовые переключатели. */
.ref-page .gallery-controls{display:flex;gap:28px;border-bottom:1px solid var(--light-border);margin-bottom:28px}
.ref-page .gallery-controls button{border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:var(--ink-muted);font-size:18px;min-height:48px;padding:8px 0}
.ref-page .gallery-controls button[aria-pressed=true]{background:none;color:var(--ink);border-bottom-color:var(--accent-on-light)}
.ref-page .gallery-layout{grid-template-columns:1.5fr 1fr;align-items:start;gap:36px}
.ref-page .result-image{background:none}
.ref-page .result-image img{width:100%;height:auto;object-fit:contain}
.ref-page .result-image figcaption{font-size:14px;line-height:1.5;padding:12px 0}
.ref-page .result-meta{border:0;padding:0}
.ref-page .result-meta h3{margin:12px 0 18px}
.ref-page .result-meta dl{margin-top:24px}
.ref-page .result-meta dl>div{border:0;padding:0;margin-bottom:14px}
.ref-page .result-meta dt{font-size:13px;color:var(--ink-muted)}
.ref-page .result-meta dd{margin:4px 0 0;font-size:17px}
.ref-page .review-note{font-size:15px;line-height:1.6}
.ref-page .zoom-button{border:0;border-bottom:1px solid var(--ink-muted);padding:10px 0;min-height:44px;font-size:17px;margin-top:16px}
.ref-page .ref-explanation{margin-top:26px;max-width:52ch}
.ref-page .ref-explanation h3{font-size:28px}
.ref-page .ref-explanation p{margin-top:12px}
.ref-page .skin-stage .energy{opacity:1}
.ref-page .skin-stage .energy-c{opacity:.4}
.ref-page .skin-stage{border:0;min-height:330px}
.ref-page .skin-stage svg{display:block}
.ref-page .v3-device{padding-block:72px}
.ref-page .v3-device-heading{margin-bottom:36px}
.ref-page .v3-device-layout{grid-template-columns:1fr 1fr;gap:64px}
.ref-page .v3-device-stage{background:none;border:0;min-height:620px}
.ref-page .v3-device-credit{font-size:14px;line-height:1.5}
.ref-page .v3-device-controls{gap:28px}
.ref-page .v3-device-controls button{border:0;border-bottom:1px solid transparent;padding:10px 0;min-height:44px;background:none;color:var(--metal);font-size:16px}
.ref-page .v3-device-controls button[aria-pressed=true]{background:none;color:var(--text);border-color:var(--champagne)}
.ref-page .ref-technology{border-top:1px solid var(--border);padding-block:8px;margin-top:14px}
.ref-page .ref-technology>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:60px;list-style:none;font:400 27px/1.2 var(--font-display)}
.ref-page .ref-technology>summary:after{content:'+';font:22px var(--font-body)}
.ref-page .ref-technology[open]>summary:after{content:'−'}
.ref-page .ref-technology .vf-applicator{margin-top:14px;background:none;border:0}
.ref-page .ref-technology h3{margin:14px 0}
.ref-page .ref-technology .eyebrow{margin-top:22px}
.ref-page .v3-device-story{padding:0}
/* Journey и recovery: видимый текст вместо сетки закрытых виджетов. */
.ref-page .ref-stages{display:grid;grid-template-columns:1fr;gap:26px;border:0;padding:0;margin:0}
.ref-page .ref-stages article{padding:0;border:0;background:none;min-width:0}
.ref-page .ref-stages h3{font-size:29px;line-height:1.15;margin:0}
.ref-page .ref-stages .eyebrow{margin-bottom:8px;font-size:12px}
.ref-page .ref-stages p{margin-top:12px;font-size:18px}
.ref-page .v2-journey-layout{grid-template-columns:1fr 1fr;gap:56px;align-items:start}
.ref-page .v2-procedure-photo img{height:auto;aspect-ratio:1.15;object-fit:cover}
.ref-page .journey-caption{margin-top:32px}
.ref-page .recovery-layout{gap:56px;align-items:start}
.ref-page .recovery-note{font-size:15px;line-height:1.6;margin-top:20px}
.ref-page .v2-skin-study img{height:340px;object-fit:cover}
.ref-page .v2-skin-study figcaption{font-size:14px;line-height:1.5}
.ref-page .assessment-list{padding:0;list-style:none}
.ref-page .assessment-list li{display:block;padding:16px 0;border:0;font-size:18px}
.ref-page .assessment-list li+li{border-top:1px solid var(--light-border)}
.ref-page .eligibility{background:var(--pearl);border:0;padding:24px;margin-top:28px}
.ref-page .risk-note{border-top:1px solid var(--light-border);padding-top:32px;gap:32px}
.ref-page .compare-grid article{padding:24px 0;border:0;border-top:1px solid var(--light-border);background:none}
.ref-page .compare-grid h4{margin-bottom:16px}
.ref-page .compare-grid p{font-size:17px}
.ref-page .faq-list details{padding:0;border:0;border-bottom:1px solid var(--border)}
.ref-page .faq-list summary{display:flex;justify-content:space-between;align-items:baseline;gap:24px;font-size:20px;line-height:1.4;padding:23px 0;list-style:none}
.ref-page .faq-list summary:after{content:'+';font-size:24px;flex:none;line-height:1}
.ref-page .faq-list details[open] summary:after{content:'−'}
.ref-page .faq-list details[open]{border-left:0}
.ref-page .faq-list p{padding:0 26px 24px 0;margin:0;font-size:18px;line-height:1.65}
.ref-page .v2-hero-visual{border-radius:0}
.ref-page .v2-hero-visual figcaption{position:absolute;bottom:0;left:0;right:0;font-size:13px;padding:10px 14px}
.ref-page .v2-intro{gap:40px}
.ref-page .next-step{padding-block:64px}
.ref-page .vf-cta-visual img{width:100%;max-height:360px;object-fit:cover;object-position:50% 30%}
.ref-page .vf-cta-credit{display:block;font-size:14px;line-height:1.5;margin-top:10px;color:var(--ink-muted)}
.ref-page .vf-cta-visual>.eyebrow{margin-top:24px}
.ref-page .vf-cta-visual h2{margin-top:12px}
.ref-page :is(.dark,.ref-navigation) a:hover{color:var(--champagne)}
.ref-page a:hover{color:var(--accent-on-light)}
.ref-page .dark .ref-technology summary:focus-visible{outline-color:var(--champagne)}
/* Мобильная композиция: один столбец, меньше конкурирующих элементов. */
@media(max-width:800px){
.ref-page{--section-space:52px}
.ref-page .ref-navigation{top:74px}
.ref-page .ref-contents .mobile-links{grid-template-columns:1fr;max-height:60dvh;overflow:auto;gap:0}
.ref-page .section-head,.ref-page .split,.ref-page .gallery-layout,.ref-page .v3-device-layout,.ref-page .v2-journey-layout,.ref-page .recovery-layout,.ref-page .faq-layout{grid-template-columns:1fr;gap:28px}
.ref-page .ref-concern{grid-template-columns:1fr;gap:20px;margin-bottom:38px}
.ref-page .ref-concern-copy{padding:0}
.ref-page .ref-concern-copy h3{font-size:32px}
.ref-page .v3-concern-visual img{aspect-ratio:1.45}
.ref-page .concern-intro{margin-bottom:28px}
.ref-page .v3-device{padding-block:52px}
.ref-page .v3-device-stage{min-height:480px;height:480px}
.ref-page .v3-device-images{height:350px;inset:20px 0 auto}
.ref-page .v3-device-images img{height:350px;width:100%;object-fit:contain}
.ref-page .v3-device-heading{display:block}
.ref-page .v3-device-heading>p{margin-top:20px}
.ref-page .v3-device-credit{left:0;right:0;bottom:8px;padding:0;text-align:center}
.ref-page .v3-device-controls{bottom:52px}
.ref-page .ref-technology>summary{font-size:26px}
.ref-page .result-meta h3{font-size:32px}
.ref-page .result-meta dl{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}
.ref-page .skin-stage{min-height:290px}
.ref-page .ref-explanation{margin-top:24px}
.ref-page .ref-stages{gap:26px}
.ref-page .v2-procedure-photo img{aspect-ratio:1.4}
.ref-page .v2-skin-study img{height:250px}
.ref-page .risk-note{display:block;margin-top:30px}
.ref-page .risk-note>div{margin-top:20px}
.ref-page .faq-list{margin-top:0}
.ref-page .faq-list summary{font-size:19px;padding:21px 0}
.ref-page .compare-grid{grid-template-columns:1fr;gap:0}
.ref-page .comparison{margin-top:44px;padding-top:0;border:0}
.ref-page .section-head{margin-bottom:28px}
}
@media(max-width:700px){
.ref-page .v2-hero{gap:28px;padding:30px var(--gutter) 24px}
.ref-page .v2-hero-copy h1{font-size:68px;line-height:1;margin-block:20px}
.ref-page .v2-hero-line{font-size:28px;margin:20px 0 24px}
.ref-page .v2-hero-visual{grid-area:2/1;min-height:0;height:390px}
.ref-page .v2-intro{grid-template-columns:1fr;gap:18px;padding-block:8px 32px}
.ref-page .ref-navigation{top:68px}
.ref-page .v3-quick-path>div{display:grid;grid-template-columns:1fr;gap:0;margin-top:12px}
.ref-page .v3-quick-path>div a{justify-content:space-between}
.ref-page h2{font-size:38px;line-height:1.07}
.ref-page .result-meta dl{grid-template-columns:1fr}
.ref-page .gallery-controls{gap:28px}
.ref-page .gallery-controls button{font-size:18px}
.ref-page .ref-concern-copy>p:not(.eyebrow){font-size:18px}
.ref-page .skin-stage .diagram-label{position:static;padding:0 14px 18px;margin:0;font-size:13px}
.ref-page .skin-stage{display:block;min-height:0}
.ref-page .skin-stage svg{max-height:none}
}
/* Снимаем старое абсолютное позиционирование внутри фотографий. */
.ref-page .v3-concern-visual{max-height:none;height:auto;position:static}
.ref-page .v3-concern-visual img{position:static;inset:auto}
.ref-page .v3-concern-visual figcaption{inset:auto}
.ref-page .result-image{padding:0}
.ref-page .result-meta dl>div{display:block}
.ref-page .diagram-label{color:var(--metal)!important}
.ref-page .vf-applicator img{width:100%;height:240px;object-fit:contain;background:var(--pearl)}
.ref-page .vf-applicator figcaption{font-size:14px;line-height:1.5;margin-top:10px;color:var(--metal)}
.ref-page .loop-media figcaption{font-size:14px;line-height:1.5}
.ref-page .v2-procedure-photo figcaption{font-size:14px;line-height:1.5;margin-top:12px}
.ref-page .v2-skin-study{margin-top:24px}
.ref-page .v2-hero-line br{display:block}
.ref-page .v2-hero-foot{display:block;font-size:15px;line-height:1.6;margin-top:18px}
.ref-page .loop-media{overflow:visible;background:none}
.ref-page .loop-media figcaption{position:static;background:none;padding:12px 0;color:var(--metal)}
.ref-page .video-play{top:18px;left:16px;bottom:auto;transform:none;background:#252629ef;min-height:44px;font-size:15px;padding:8px 14px}
@media(max-width:700px){.ref-page .v2-hero-line{font-size:27px;letter-spacing:-.02em;line-height:1.2}}
.ref-page .context-question h4{font:500 18px/1.4 var(--font-body);letter-spacing:0;margin-bottom:12px}
.ref-page .ref-context[open]{padding-bottom:18px}
.ref-page .ref-technology .vf-device-film{margin-top:22px}
.ref-page .ref-technology .v3-device-link{display:inline-flex;align-items:center;min-height:44px}
.ref-page .comparison>h3{margin-bottom:22px}
/* На планшете изображение и текст делят строку, не растягивая историю. */
@media(min-width:701px) and (max-width:1000px){
.ref-page .ref-concern{grid-template-columns:.9fr 1.1fr;gap:28px}
.ref-page .v3-concern-visual img{aspect-ratio:1;object-fit:cover}
.ref-page .v2-hero-visual{min-height:460px}
.ref-page .v2-hero{gap:32px}
.ref-page .v2-procedure-photo img{max-height:360px}
.ref-page .v2-hero-copy h1{font-size:64px}
}
.ref-page .v2-hero-copy,.ref-page .v2-hero-visual{min-width:0}
.ref-page .v2-hero-copy h1{overflow-wrap:anywhere}
@media(max-width:350px){.ref-page .v2-hero-copy h1{font-size:56px}}
/* Схему показываем целиком: текст внутри SVG не обрезается квадратным кадром. */
.ref-page .v3-concern-visual img[src$='.svg']{object-fit:contain;background:var(--pearl)}
/* Светлая клиническая карточка задаёт и фон, и соответствующий цвет текста. */
.ref-page .eligibility{background:var(--pearl);color:var(--ink);--muted:var(--ink-muted);--focus:var(--accent-on-light)}
.ref-page .eligibility :is(strong,p){color:inherit}
/* Подпись над фотографией остаётся светлой на непрозрачной тёмной подложке. */
.ref-page .vf-cta-credit{color:var(--text);background:var(--background)}
.ref-page .vf-cta-visual{background:var(--background)}
.ref-page .vf-cta-visual>.eyebrow{color:var(--champagne)}
/* Старый резерв для отсутствующего декоративного элемента больше не нужен. */
.ref-page .v2-journey-media{padding-bottom:0;margin-bottom:0}
/* CTA сохраняет графитовый текст во всех состояниях на светлом акценте. */
.ref-page .button:is(:hover,:focus-visible,:active){color:var(--background);background:#f3c7a5}
/* Затемнение под нижним текстом CTA обеспечивает контраст поверх фотографии. */
.ref-page .vf-cta-visual:after{background:linear-gradient(0deg,#252629 0%,#252629f2 48%,#25262900 100%)}

.bes-inmode .bes-pricing table { width: 100%; margin: 1.5rem 0; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.bes-inmode .bes-pricing caption { text-align: left; font-weight: 600; margin-bottom: .6rem; }
.bes-inmode .bes-pricing th, .bes-inmode .bes-pricing td { text-align: right; padding: .8em .45em; border-bottom: 1px solid currentColor; }
.bes-inmode .bes-pricing th:first-child { text-align: left; }
.bes-inmode .bes-pricing .actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 32rem) {
  .bes-inmode .bes-pricing :is(th,td) { padding: .65em .2em; font-size: .875rem; }
}
