/* FORTIS UI — новые блоки сайтов продуктов (fx-*):
   линейка препаратов, доказательная база, безопасность, характеристики FORTOX.
   Общие токены — в .fx; шрифт тот же, что у сайта (Instrument Sans). */

.fx {
  --fx-red: #fa4549;
  --fx-red-2: #e3343a;
  --fx-red-soft: #fff0f0;
  --fx-ink: #1b1b1f;
  --fx-ink-2: #45464d;
  --fx-muted: #7b7c84;
  --fx-bg: #f5f6f8;
  --fx-line: #e6e7eb;
  --fx-r-xl: 32px;
  --fx-r-lg: 24px;
  --fx-r-md: 16px;
  --fx-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  font-family: var(--fonts-family-Instrument-Sans, "Instrument Sans"), system-ui, -apple-system, sans-serif;
  color: var(--fx-ink);
  -webkit-font-smoothing: antialiased;
}

.fx *,
.fx *::before,
.fx *::after { box-sizing: border-box; }

.fx-line,
.fx-evidence,
.fx-spec { padding: 72px 0; }

.fx-wrap {
  width: 100%;
  max-width: 1208px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------- типографика ---------- */
.fx-eyebrow {
  display: inline-block;
  font-family: var(--fx-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fx-red);
}

.fx-eyebrow--light { color: rgba(255, 255, 255, 0.82); }

.fx-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 820px;
  margin-bottom: 40px;
}

.fx-h2 {
  margin: 0;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--fx-ink);
}

.fx-h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.fx-lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--fx-ink-2);
}

.fx-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--fx-red-soft);
  color: var(--fx-red-2);
  font-family: var(--fx-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.fx-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- кнопки ---------- */
.fx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
}

.fx-btn:hover { transform: translateY(-1px); }
.fx-btn svg { transition: transform 0.2s; }
.fx-btn:hover svg { transform: translateX(3px); }

.fx-btn--dark { background: var(--fx-ink); color: #fff; }
.fx-btn--dark:hover { background: var(--fx-red); color: #fff; }

.fx-btn--ghost { border: 1.5px solid var(--fx-line); color: var(--fx-ink); background: #fff; }
.fx-btn--ghost:hover { border-color: var(--fx-ink); color: var(--fx-ink); }

/* ================= ЛИНЕЙКА ПРЕПАРАТОВ ================= */
.fx-banner { margin-bottom: 28px; }
.fx-banner .video-item { display: none; }
.fx-banner .video-item.active { display: block; height: 100%; }

.fx-switch {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px;
}

.fx-switch::-webkit-scrollbar { display: none; }

.fx-switch__btn {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 8px;
  border: 1.5px solid var(--fx-line);
  border-radius: 999px;
  background: #fff;
  color: var(--fx-ink);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.fx-switch__btn:hover { border-color: var(--fx-ink); }
.fx-switch__btn[aria-selected="true"] { background: var(--fx-ink); border-color: var(--fx-ink); color: #fff; }
.fx-switch__btn:focus-visible { outline: 3px solid var(--fx-red); outline-offset: 2px; }

.fx-switch__thumb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--fx-bg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
}

.fx-switch__btn[aria-selected="true"] .fx-switch__thumb { background: #fff; }
.fx-switch__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.fx-switch__num { font-family: var(--fx-mono); font-size: 12px; font-weight: 500; opacity: 0.5; }

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

/* препарат — прежний слайдер (Phillex: стопка коробок, TwAc/APPeex: плавная смена) */
.fx-visual { min-width: 0; }

.fx-visual__swiper {
  width: 78%;
  max-width: 420px;
  height: 420px;
  margin: 0 auto;
  overflow: visible;
}

.fx-line[data-effect="fade"] .fx-visual__swiper { width: 100%; max-width: 520px; overflow: hidden; }

.fx-visual__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.fx-visual__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-user-drag: none;
  user-select: none;
}

.fx-line[data-effect="cards"] .fx-visual__slide { background: transparent; }

.fx-panels { min-width: 0; }

.fx-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fx-in 0.35s ease both;
}

.fx-panel[hidden] { display: none; }

@keyframes fx-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.fx-name {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.fx-intro { margin: 0; font-size: 17px; line-height: 1.6; color: var(--fx-ink-2); }

.fx-cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* до/после */
.fx-ba { border-radius: var(--fx-r-lg); background: var(--fx-bg); padding: 18px; }

.fx-ba__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin: 2px 4px 14px;
}

.fx-ba__intro { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fx-ba__title { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 600; color: var(--fx-ink); }
.fx-ba__text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--fx-muted); }
.fx-ba__nav { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }

.fx-ba__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--fx-line);
  background: #fff;
  color: var(--fx-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.fx-ba__arrow:hover { background: var(--fx-ink); border-color: var(--fx-ink); color: #fff; }
.fx-ba__count { font-family: var(--fx-mono); font-size: 13px; color: var(--fx-muted); min-width: 44px; text-align: center; }
.fx-ba__count b { color: var(--fx-ink); }

@media (max-width: 639px) {
  .fx-ba__head { flex-direction: column; gap: 12px; }
  .fx-ba__nav { align-self: stretch; justify-content: space-between; }
}

.fx-ba__pairs { touch-action: pan-y; }

.fx-ba__pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  animation: fx-in 0.3s ease both;
}

.fx-ba__pair[hidden] { display: none; }

.fx-ba__shot {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--fx-r-md);
  overflow: hidden;
  background: #e9e9ee;
}

.fx-ba__shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.fx-ba__shot:hover img { transform: scale(1.04); }

.fx-ba__label {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}

.fx-ba__label--before { background: rgba(255, 255, 255, 0.94); color: var(--fx-ink); }
.fx-ba__label--after { background: var(--fx-red); color: #fff; }

/* характеристики: короткие факты плитками + параметры со значками */
.fx-specs2 { margin-top: 14px; display: flex; flex-direction: column; gap: 20px; }

.fx-specs2__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fx-ink);
}

.fx-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.fx-fact {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 2px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff5f5 0%, #fdf0f3 100%);
  border: 1px solid #fbe1e3;
}

.fx-fact__icon {
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #fff;
  color: var(--fx-red);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(250, 69, 73, 0.12);
}

.fx-fact__label { font-size: 13px; line-height: 1.3; color: var(--fx-muted); }
.fx-fact__value { font-size: 17px; line-height: 1.35; font-weight: 600; color: var(--fx-ink); }

.fx-feats { display: flex; flex-direction: column; }

.fx-feat {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--fx-line);
}

.fx-feat:first-child { border-top: 0; padding-top: 4px; }

.fx-feat__icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--fx-bg);
  color: var(--fx-red);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.fx-feat:hover .fx-feat__icon { background: var(--fx-red); color: #fff; }

.fx-feat__body h5 {
  margin: 2px 0 6px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--fx-ink);
}

.fx-feat__body p,
.fx-feat__body li {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fx-ink-2);
}

.fx-feat__body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.fx-feat__body li { position: relative; padding-left: 18px; }
.fx-feat__body li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fx-red);
}

@media (min-width: 1024px) {
  .fx-line, .fx-evidence, .fx-spec { padding: 112px 0; }

  .fx-body {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 56px;
    align-items: start;
  }

  .fx-visual { position: sticky; top: 110px; }
  .fx-visual__swiper { height: 640px; max-width: 440px; margin: 0 auto 0 0; }
  .fx-line[data-effect="fade"] .fx-visual__swiper { max-width: none; margin: 0; }
}

@media (min-width: 1280px) {
  .fx-wrap { padding: 0; max-width: 1176px; }
}

/* ================= ДОКАЗАТЕЛЬНАЯ БАЗА ================= */
.fx-stagecards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.fx-stagecard {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "num arrow" "title arrow" "count arrow";
  align-items: center;
  row-gap: 6px;
  text-align: left;
  padding: 22px 24px;
  border: 0;
  border-radius: var(--fx-r-lg);
  background: var(--fx-bg);
  color: var(--fx-ink);
  font: inherit;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.2s, box-shadow 0.25s;
}

.fx-stagecard:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(20, 20, 30, 0.07); }
.fx-stagecard:focus-visible { outline: 3px solid var(--fx-ink); outline-offset: 3px; }

.fx-stagecard__num { grid-area: num; font-family: var(--fx-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; color: var(--fx-muted); }
.fx-stagecard__title { grid-area: title; font-size: 28px; line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; }
.fx-stagecard__count { grid-area: count; display: flex; align-items: baseline; gap: 8px; font-size: 15px; color: var(--fx-ink-2); }
.fx-stagecard__count b { font-size: 34px; line-height: 1; font-weight: 600; color: var(--fx-ink); }

.fx-stagecard__arrow {
  grid-area: arrow;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--fx-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s, background 0.25s, color 0.25s;
}

.fx-stagecard[aria-selected="true"] {
  background: var(--fx-red);
  color: #fff;
  box-shadow: 0 16px 36px rgba(250, 69, 73, 0.28);
}

.fx-stagecard[aria-selected="true"] .fx-stagecard__num,
.fx-stagecard[aria-selected="true"] .fx-stagecard__count { color: rgba(255, 255, 255, 0.85); }
.fx-stagecard[aria-selected="true"] .fx-stagecard__count b { color: #fff; }
.fx-stagecard[aria-selected="true"] .fx-stagecard__arrow { transform: rotate(90deg); color: var(--fx-red); }

.fx-stagepanel {
  margin-top: 16px;
  border-radius: var(--fx-r-xl);
  background: var(--fx-bg);
  padding: 28px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  animation: fx-in 0.35s ease both;
}

.fx-stagepanel[hidden] { display: none; }

.fx-stagepanel__intro { display: flex; flex-direction: column; gap: 12px; }

.fx-stagepanel__intro h3 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--fx-red);
}

.fx-stagepanel__intro p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--fx-ink-2); }
.fx-stagepanel__count { color: var(--fx-muted) !important; font-size: 15px !important; }
.fx-stagepanel__count b { font-size: 22px; color: var(--fx-ink); }

.fx-effects {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.fx-effect {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--fx-ink);
}

.fx-effect__name { min-width: 0; overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 767px) {
  .fx-stagecards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .fx-stagecard {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "title" "count";
    padding: 14px 12px;
    border-radius: 18px;
    row-gap: 8px;
  }
  .fx-stagecard__num, .fx-stagecard__arrow { display: none; }
  .fx-stagecard__title { font-size: 14px; letter-spacing: -0.01em; hyphens: auto; }
  .fx-stagecard__count { flex-direction: column; gap: 2px; font-size: 12px; }
  .fx-stagecard__count b { font-size: 26px; }
  .fx-stagepanel { margin-top: 10px; }
}

@media (min-width: 768px) {
  .fx-stagecards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .fx-stagecard { padding: 26px 26px 24px; min-height: 170px; align-content: space-between; }
  .fx-stagepanel { padding: 40px; }
  .fx-effects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .fx-stagepanel { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; padding: 48px; align-items: start; }
}

/* ================= БЕЗОПАСНОСТЬ ================= */
.fx-safety {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.fx-safety__hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--fx-r-xl);
  padding: 32px 28px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background:
    radial-gradient(70% 60% at 85% 10%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(150deg, #ff5a5e 0%, #fa4549 45%, #d92f35 100%);
}

.fx-safety__hero::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, 0.08);
}

.fx-safety__hero h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #fff;
}

.fx-safety__sub {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.fx-safety__sub .element { color: #fff; }

.fx-safety__stat {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.fx-safety__stat b {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.fx-safety__stat span {
  max-width: 340px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}

.fx-safety__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.fx-tile {
  border-radius: var(--fx-r-lg);
  background: #fff;
  border: 1px solid var(--fx-line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fx-tile__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--fx-red-soft);
  color: var(--fx-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.fx-tile h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--fx-ink);
}

.fx-tile p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fx-ink-2);
}

@media (min-width: 640px) {
  .fx-safety__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .fx-safety { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 20px; }
  .fx-safety__hero { padding: 44px 40px; min-height: 100%; }
  .fx-safety__grid { gap: 16px; }
  .fx-tile { padding: 28px; }
}

/* ================= FORTOX: характеристики и шприц ================= */
.fx-vtabs {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.fx-vtabs__list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.fx-vtabs__list::-webkit-scrollbar { display: none; }

.fx-vtab {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 0;
  border-radius: var(--fx-r-md);
  background: var(--fx-bg);
  color: var(--fx-ink);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.fx-vtab > svg { display: none; margin-left: auto; opacity: 0.6; }
.fx-vtab:hover { background: #eceef2; }
.fx-vtab[aria-selected="true"] { background: var(--fx-ink); color: #fff; }
.fx-vtab[aria-selected="true"] .fx-vtab__icon { filter: brightness(0) invert(1); }
.fx-vtab:focus-visible { outline: 3px solid var(--fx-red); outline-offset: 2px; }
.fx-vtab__icon { width: 24px; height: 24px; flex: 0 0 24px; }

.fx-vpanel {
  border-radius: var(--fx-r-xl);
  background: var(--fx-bg);
  padding: 28px 22px;
  animation: fx-in 0.3s ease both;
}

.fx-vpanel[hidden] { display: none; }

.fx-vpanel__title {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.fx-rich p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--fx-ink-2);
}

.fx-rich p:last-child { margin-bottom: 0; }
.fx-rich strong { color: var(--fx-ink); font-weight: 600; }

.fx-rich ul {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px 28px;
}

.fx-rich li {
  position: relative;
  padding-left: 32px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fx-ink-2);
}

.fx-rich li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--fx-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.fx-syringe { margin-top: 72px; }

.fx-head--sub { margin-bottom: 24px; }

.fx-bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.fx-bento__photo {
  position: relative;
  margin: 0;
  min-height: 260px;
  border-radius: var(--fx-r-xl);
  overflow: hidden;
  background: var(--fx-bg);
}

.fx-bento__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fx-bento__tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-family: var(--fx-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.fx-bento__kpi {
  border-radius: var(--fx-r-xl);
  padding: 28px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(150deg, #ff5a5e 0%, #fa4549 50%, #d92f35 100%);
}

.fx-bento__kpi b {
  font-size: clamp(56px, 7vw, 88px);
  line-height: 0.95;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin-top: 6px;
}

.fx-bento__kpi-cap {
  font-family: var(--fx-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.fx-bento__kpi p {
  margin: auto 0 0;
  padding-top: 12px;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
}

.fx-bento__tile {
  border-radius: var(--fx-r-xl);
  background: var(--fx-bg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.fx-bento__tile p {
  margin: 0;
  font-size: clamp(19px, 1.7vw, 24px);
  letter-spacing: -0.01em;
  line-height: 1.4;
  font-weight: 500;
  color: var(--fx-ink);
}

.fx-subhead {
  margin: 48px 0 16px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 600;
}

.fx-vols {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.fx-vol {
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.fx-vol:hover { border-color: #d4d6dc; box-shadow: 0 10px 30px rgba(20, 20, 30, 0.06); }

.fx-vol__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fx-vol__top b {
  font-size: 40px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
}

/* шкала шприца: число делений = числу единиц */
.fx-scale {
  position: relative;
  height: 34px;
  border-radius: 10px;
  border: 1.5px solid #d9dbe1;
  overflow: hidden;
  background:
    repeating-linear-gradient(to right, rgba(27, 27, 31, 0.55) 0 1px, transparent 1px calc(100% / (var(--ticks) / 10))) left bottom / 100% 60% no-repeat,
    repeating-linear-gradient(to right, rgba(27, 27, 31, 0.3) 0 1px, transparent 1px calc(100% / var(--ticks))) left bottom / 100% 32% no-repeat,
    #fff;
}

.fx-scale__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, rgba(250, 69, 73, 0.12), rgba(250, 69, 73, 0.32));
  border-right: 2px solid var(--fx-red);
  transition: width 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.fx-vol.is-visible .fx-scale__fill,
.fx-vol:hover .fx-scale__fill { width: 100%; }

.fx-vol__div {
  margin: 0;
  font-size: 14px;
  color: var(--fx-muted);
}

.fx-vol__div span { font-family: var(--fx-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }

.fx-vol__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fx-ink-2);
}

@media (min-width: 768px) {
  .fx-vpanel { padding: 36px 40px; }
  .fx-rich ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-vols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .fx-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-bento__photo { grid-column: 1 / -1; min-height: 320px; }
}

@media (min-width: 1024px) {
  .fx-vtabs { grid-template-columns: 340px minmax(0, 1fr); gap: 20px; align-items: start; }
  .fx-vtabs__list { flex-direction: column; overflow: visible; position: sticky; top: 104px; }
  .fx-vtab { padding: 20px 22px; border-radius: 20px; font-size: 17px; }
  .fx-vtab > svg { display: block; }
  .fx-vpanel { min-height: 100%; }

  .fx-bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(210px, auto);
    gap: 16px;
  }

  .fx-bento__photo { grid-column: 1 / 2; grid-row: 1 / 3; min-height: 0; }
  .fx-bento__kpi { grid-column: 2 / 4; grid-row: 1; }
  .fx-bento__tile--1 { grid-column: 4; grid-row: 1; }
  .fx-bento__tile--2 { grid-column: 2; grid-row: 2; }
  .fx-bento__tile--3 { grid-column: 3 / 5; grid-row: 2; }
}

@media (prefers-reduced-motion: reduce) {
  .fx-panel, .fx-ba__pair, .fx-vpanel { animation: none; }
  .fx-scale__fill { transition: none; width: 100%; }
}
