/* Wexside 1:1 layout — Retribution v22 */
.wex-body { background: #000; color: #fff; }

.wex-wrap { width: min(1140px, calc(100% - 2.5rem)); margin-inline: auto; }

/* Header */
.wex-header {
  position: fixed; inset: 0 0 auto; z-index: 200;
  height: 64px; display: flex; align-items: center;
  background: rgba(0,0,0,.55); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.wex-header__inner {
  width: min(1140px, calc(100% - 2.5rem)); margin: 0 auto;
  display: grid; grid-template-columns: minmax(72px, auto) 1fr auto; align-items: center; gap: 1rem;
}
.wex-header__logo { display: flex; align-items: center; justify-content: flex-start; }
.wex-header__logo img,
.wex-header__logo .rc-logo {
  height: 58px;
  width: auto;
  max-height: 58px;
  object-fit: contain;
  display: block;
}
.rc-mark {
  display: inline-block;
  font-family: "Segoe UI Symbol", "Noto Sans Symbols 2", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  color: #fff;
  text-shadow: 0 0 18px rgba(255, 94, 26, 0.35);
  user-select: none;
}
.rc-mark--lg { font-size: 4.5rem; }
.rc-mark--modal { display: block; margin: 0 auto 12px; font-size: 2.5rem; }
.wex-products-hero__logo .rc-mark { font-size: clamp(3rem, 10vw, 4.5rem); }
.wex-footer__brand .rc-mark { font-size: 1.5rem; margin-bottom: 8px; }
.brand .rc-mark { font-size: 1.5rem; }
.wex-catalog-grid--4 { grid-template-columns: repeat(2, 1fr); }
.wex-legal-page { padding: 120px 0 80px; }
.wex-legal-page h1 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.wex-legal-meta { color: #666; font-size: 14px; margin: 0 0 32px; }
.wex-legal-body { max-width: 760px; color: #bbb; line-height: 1.65; font-size: 15px; }
.wex-legal-body h2 { color: #fff; font-size: 18px; margin: 28px 0 10px; }
.wex-legal-body p { margin: 0 0 12px; }
.wex-legal-body a { color: #ff5e1a; }
.wex-legal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.rc-support-modal[hidden] { display: none !important; }
.rc-support-modal {
  position: fixed; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center; padding: 24px;
}
.rc-support-modal__backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(6px);
}
.rc-support-modal__panel {
  position: relative; z-index: 1; width: min(420px, 100%); padding: 32px 28px; border-radius: 20px;
  background: #111; border: 1px solid rgba(255,255,255,.08); text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,.55);
}
.rc-support-modal__panel h2 { margin: 0 0 8px; font-size: 22px; }
.rc-support-modal__panel p { margin: 0 0 24px; color: #888; font-size: 14px; line-height: 1.5; }
.rc-support-modal__actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.rc-support-modal__actions .rc-support-modal__btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; text-align: center; box-sizing: border-box;
}
.rc-support-modal__close {
  position: absolute; top: 12px; right: 14px; width: 32px; height: 32px; border: none; border-radius: 50%;
  background: rgba(255,255,255,.06); color: #aaa; font-size: 22px; line-height: 1; cursor: pointer;
}
.rc-support-modal__close:hover { color: #fff; background: rgba(255,255,255,.12); }
body.rc-support-open { overflow: hidden; }
.wex-header__nav { display: flex; justify-content: center; gap: 1.35rem; flex-wrap: wrap; }
.wex-header__nav a {
  color: #a3a3a3; font-size: 14px; font-weight: 500; text-decoration: none;
}
.wex-header__nav a:hover, .wex-header__nav a.is-active { color: #fff; }
.wex-header__actions { display: flex; align-items: center; gap: 12px; }
.wex-theme {
  width: 52px; height: 28px; border-radius: 999px; border: 1px solid #333;
  background: #1a1a1a; cursor: pointer; position: relative; padding: 0;
}
.wex-theme::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  border-radius: 50%; background: #444; transition: transform .2s;
}
.wex-btn-orange {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 22px; border-radius: 999px; background: #ff5e1a;
  color: #fff !important; font-size: 14px; font-weight: 600; text-decoration: none;
  box-shadow: 0 4px 20px rgba(255,94,26,.4); border: none; cursor: pointer;
}
.wex-btn-orange:hover { background: #ff7029; color: #fff !important; }
.wex-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.04); color: #fff !important; font-size: 13px;
  font-weight: 600; text-decoration: none; cursor: pointer; font-family: inherit;
}
.wex-btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff !important; }
.wex-btn-ghost--danger {
  border-color: rgba(220, 70, 70, .45); color: #f08080 !important;
  background: rgba(220, 70, 70, .08);
}
.wex-btn-ghost--danger:hover { background: rgba(220, 70, 70, .16); color: #ffb0b0 !important; }
.wex-btn-outline {
  display: inline-flex; align-items: center; padding: 12px 28px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.35);
  color: #fff !important; font-size: 15px; font-weight: 500; text-decoration: none;
  backdrop-filter: blur(8px);
}
.wex-btn-outline:hover { background: rgba(255,255,255,.08); color: #fff !important; }
.wex-btn-text { color: #888; font-size: 14px; text-decoration: none; margin-left: 16px; }
.wex-btn-text:hover { color: #fff; }

/* Hero */
.wex-hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 80px 1.5rem 60px; overflow: hidden;
}
.wex-hero__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center 35%;
  transform: scale(1.05);
}
.wex-hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.55) 45%, #000 100%);
}
.wex-hero__content { position: relative; z-index: 2; max-width: 800px; }
.wex-hero h1 {
  margin: 0 0 20px; font-size: clamp(32px, 5.5vw, 52px); font-weight: 800;
  line-height: 1.12; letter-spacing: -0.03em;
}
.wex-hero__sub {
  margin: 0 auto 32px; max-width: 520px; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.75);
}
.wex-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Ticker */
.wex-ticker {
  overflow: hidden; padding: 18px 0; background: #000;
  border-block: 1px solid rgba(255,255,255,.06);
}
.wex-ticker__track {
  display: flex; gap: 48px; width: max-content;
  animation: wex-ticker 32s linear infinite;
  font-size: 13px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: #555;
}
.wex-ticker__track span { flex-shrink: 0; }
.wex-ticker__track span::after {
  content: "·"; margin-left: 48px; color: #ff5e1a; opacity: .6;
}
@keyframes wex-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Pillars — карточки «Совокупность / Обходы» */
.wex-pillar-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.wex-pillar {
  min-height: 220px; padding: 28px 26px; border-radius: 16px; text-align: left;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(165deg, rgba(18,18,18,.95), rgba(8,8,8,.98));
  transition: border-color .2s ease;
}
.wex-pillar:hover { border-color: rgba(255,94,26,.35); }
.wex-pillar--quote {
  background: linear-gradient(145deg, rgba(42,26,16,.95), rgba(12,8,6,.98));
  border-color: rgba(255,94,26,.2);
}
.wex-pillar__tag {
  display: inline-block; margin-bottom: 16px; padding: 5px 10px; border-radius: 6px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  background: rgba(255,94,26,.15); color: #ff8a4c;
}
.wex-pillar h3 {
  margin: 0 0 10px; font-size: 22px; font-weight: 800; letter-spacing: -.02em;
}
.wex-pillar p { margin: 0; font-size: 14px; line-height: 1.55; color: #888; }
.wex-pillar__quote { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.88); margin: 0; }
.wex-pillar__author { display: block; margin-top: 20px; font-size: 13px; color: #666; }
.wex-pillar--support-shot {
  display: flex; flex-direction: column; gap: 14px; padding: 22px 22px 18px;
}
.wex-pillar__support-title {
  margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: #fff;
}
.wex-support-shot { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.wex-support-shot img {
  display: block; width: 100%; height: auto; vertical-align: middle;
}

/* Категории модулей */
.wex-cat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.wex-cat {
  padding: 22px 20px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
}
.wex-cat strong {
  display: block; margin-bottom: 8px; font-size: 15px; font-weight: 700; color: #ff5e1a;
}
.wex-cat span { font-size: 13px; color: #666; line-height: 1.45; }

/* Section — единый фон без «плит» */
.wex-block { padding: 100px 0; background: #000; }
.wex-block--alt { background: #000; }
.wex-body main { background: #000; }
.wex-center { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.wex-center h2 {
  margin: 16px 0 16px; font-size: clamp(28px, 4vw, 42px); font-weight: 800;
  line-height: 1.15; letter-spacing: -0.03em;
}
.wex-center p { margin: 0; color: #888; font-size: 16px; line-height: 1.6; }
.wex-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.wex-chips--left { justify-content: flex-start; }
.wex-chip {
  padding: 8px 16px; border-radius: 999px; background: #141414;
  border: 1px solid #262626; color: #999; font-size: 13px;
}
.wex-chip--orange {
  background: rgba(255,94,26,.12); border-color: rgba(255,94,26,.35); color: #ff8a4c;
}
.wex-title-underline { position: relative; display: inline; }
.wex-title-underline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='20' viewBox='0 0 200 20'%3E%3Cpath d='M0 14 Q50 2 100 12 T200 8' stroke='%23ff5e1a' stroke-width='8' fill='none' stroke-linecap='round' opacity='.85'/%3E%3C/svg%3E") center bottom no-repeat;
  background-size: 100% 100%; z-index: -1;
}

/* 3 cards */
.wex-cards3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.wex-card-review {
  position: relative; min-height: 280px; padding: 28px; border-radius: 16px;
  overflow: hidden; border: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(145deg, #2a1a10, #120a06);
}
.wex-card-review::before {
  content: ""; position: absolute; inset: 0; opacity: .15;
  background-image: var(--tile-logo); background-size: 64px 64px;
}
.wex-card-review__badge {
  position: relative; display: inline-block; padding: 6px 12px; border-radius: 8px;
  background: #ff5e1a; color: #fff; font-size: 12px; font-weight: 700; margin-bottom: 20px;
}
.wex-card-review__quote {
  position: relative; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.9); margin: 0;
}
.wex-card-review__quote::before { content: "❝"; display: block; font-size: 28px; color: #ff5e1a; margin-bottom: 8px; }
.wex-card-review__author { position: relative; display: block; margin-top: 24px; font-size: 14px; color: #888; }
.wex-card-shot {
  position: relative; min-height: 280px; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column;
  justify-content: flex-end; padding: 28px;
}
.wex-card-shot__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.05); transition: transform .5s ease;
}
.wex-card-shot:hover .wex-card-shot__bg { transform: scale(1.1); }
.wex-card-shot__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.75) 70%, rgba(0,0,0,.95) 100%);
}
.wex-card-shot__tag {
  position: relative; z-index: 1; display: inline-block; margin-bottom: 12px;
  padding: 6px 12px; border-radius: 8px; background: rgba(255,94,26,.9);
  color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.wex-card-shot h3 {
  position: relative; z-index: 1; margin: 0 0 6px; font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 800; letter-spacing: -.03em; text-shadow: 0 4px 24px rgba(0,0,0,.8);
}
.wex-card-shot p {
  position: relative; z-index: 1; margin: 0; font-size: 14px; line-height: 1.45;
  color: rgba(255,255,255,.72); max-width: 260px;
}

/* Split */
.wex-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.wex-split h2 { margin: 16px 0; font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; letter-spacing: -.03em; }
.wex-split__lead { color: #888; font-size: 15px; line-height: 1.6; margin: 0 0 28px; }
.wex-accordion { border-top: 1px solid #222; }
.wex-acc-item { border-bottom: 1px solid #222; }
.wex-acc-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; background: none; border: none; color: #fff; font: inherit;
  font-size: 15px; font-weight: 600; text-align: left; cursor: pointer;
}
.wex-acc-btn span {
  color: #666; font-weight: 400; font-size: 22px; line-height: 1;
  transition: transform 0.35s ease, color 0.25s ease;
}
.wex-acc-item.is-open .wex-acc-btn span { transform: rotate(45deg); }
.wex-acc-body {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0;
  overflow: hidden;
  color: #888;
  font-size: 14px;
  line-height: 1.55;
  transition: grid-template-rows 0.4s ease, padding 0.4s ease, opacity 0.35s ease;
  opacity: 0;
}
.wex-acc-body__inner { min-height: 0; overflow: hidden; }
.wex-acc-item.is-open .wex-acc-body {
  grid-template-rows: 1fr;
  padding: 0 0 20px;
  opacity: 1;
}
.wex-split__actions { display: flex; flex-wrap: wrap; align-items: center; margin-top: 28px; gap: 8px; }
.wex-screen {
  border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,94,26,.35);
  box-shadow: 0 32px 80px rgba(0,0,0,.7);
  background: #111;
}
.wex-screen img { display: block; width: 100%; height: auto; }

/* Immersive — слитные полноэкранные секции */
.wex-imm {
  position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden;
  margin: 0; isolation: isolate;
}
.wex-imm + .wex-imm { margin-top: 0; }
.wex-imm__bg {
  position: absolute; inset: -2% 0;
  background-size: cover; background-position: center 40%;
  transform: scale(1.06);
  will-change: transform;
}
.wex-imm__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, #000 0%, rgba(0,0,0,.35) 18%, rgba(0,0,0,.2) 45%, rgba(0,0,0,.55) 82%, #000 100%),
    linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.35) 50%, rgba(0,0,0,.75) 100%);
}
.wex-imm--center .wex-imm__overlay {
  background:
    linear-gradient(180deg, #000 0%, rgba(0,0,0,.25) 22%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.92) 88%, #000 100%);
}
.wex-imm::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent);
  z-index: 3; pointer-events: none;
}
.wex-imm__body { position: relative; z-index: 2; padding: 80px 0; max-width: 520px; }
.wex-imm--center .wex-imm__body { max-width: 640px; margin: 0 auto; text-align: center; }
.wex-imm h2 { margin: 12px 0 16px; font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.wex-imm p { margin: 0 0 24px; color: rgba(255,255,255,.78); line-height: 1.6; font-size: 15px; }
.wex-imm__meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 28px;
}
.wex-imm--center .wex-imm__meta { text-align: left; max-width: 400px; margin-inline: auto; }
.wex-imm__meta kbd { display: block; font-size: 12px; color: #666; font-style: normal; margin-bottom: 4px; }
.wex-imm__meta strong { font-size: 15px; }
.wex-imm__list { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 20px; }
.wex-imm--center .wex-imm__list { justify-content: center; }
.wex-imm__list li { font-size: 14px; color: rgba(255,255,255,.7); }

/* Functions block */
.wex-func-head { text-align: center; max-width: 800px; margin: 0 auto 48px; }
.wex-func-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin: 0 0 16px; }
.wex-func-head p { color: #888; margin: 0; line-height: 1.6; }
.wex-priority {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: #222; border-radius: 16px; overflow: hidden; margin-top: 64px;
}
.wex-priority__cell {
  padding: 32px 24px; background: #0a0a0a; text-align: center;
}
.wex-priority__cell h4 { margin: 0 0 8px; font-size: 14px; color: #fff; }
.wex-priority__cell p { margin: 0; font-size: 13px; color: #666; }

.wex-func-chips {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px;
}
.wex-func-chips span {
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
  color: #8a8a8a; font-size: 13px; font-weight: 500;
}

.wex-feat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.wex-feat-card {
  position: relative; padding: 28px 26px; border-radius: 16px; text-align: left;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.wex-feat-card:hover {
  border-color: rgba(255, 94, 26, 0.35);
  background: rgba(255, 94, 26, 0.04);
}
.wex-feat-card__num {
  display: block; margin-bottom: 14px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; color: #ff5e1a; font-family: "IBM Plex Mono", ui-monospace, monospace;
}
.wex-feat-card strong {
  display: block; margin-bottom: 10px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em;
}
.wex-feat-card p { margin: 0; font-size: 14px; color: #737373; line-height: 1.55; }

/* FAQ — две колонки как на Wexside */
.wex-faq-block {
  padding: 100px 0; background: #000; border-top: 1px solid #141414;
}
.wex-faq-wrap {
  display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 56px 72px; align-items: start;
}
.wex-faq-intro h2 {
  margin: 14px 0 12px; font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; letter-spacing: -0.03em;
}
.wex-faq-intro p { margin: 0; color: #737373; font-size: 15px; line-height: 1.6; max-width: 320px; }
.wex-accordion--faq { border-top: 1px solid #222; }
.wex-accordion--faq .wex-acc-btn { font-size: 16px; padding: 22px 0; }
.wex-accordion--faq .wex-acc-item.is-open .wex-acc-btn span { color: #ff5e1a; }
.wex-accordion--faq .wex-acc-body__inner { max-width: 640px; }
.wex-accordion--faq .wex-acc-item.is-open .wex-acc-body { padding-bottom: 22px; }

/* Stats */
.wex-stats-title { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.wex-stats-title h2 { font-size: clamp(32px, 4vw, 44px); font-weight: 800; margin: 0 0 16px; }
.wex-stats-title h2 em { color: #ff5e1a; font-style: normal; }
.wex-stats-title p { color: #888; margin: 0; line-height: 1.6; font-size: 15px; }
.wex-stats { max-width: 760px; margin: 0 auto; }
.wex-stats__main { margin-bottom: 40px; }
.wex-stats__row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 15px; }
.wex-stats__row strong { color: #ff5e1a; }
.wex-stats__bar { height: 4px; background: #222; border-radius: 2px; overflow: hidden; }
.wex-stats__bar i { display: block; height: 100%; background: linear-gradient(90deg, #ff5e1a, #ff8a4c); }
.wex-stats__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; }
.wex-stats__note { text-align: center; margin-top: 40px; font-size: 12px; color: #555; line-height: 1.5; }
.wex-stat-mini p { margin: 4px 0 10px; font-size: 13px; color: #666; }

/* Module explorer */
.wex-modules { padding: 100px 0; background: #000; }
.wex-modules h2 { text-align: center; font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin: 0 0 40px; }
.wex-mod-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px;
}
.wex-mod-tabs button {
  padding: 10px 20px; border-radius: 999px; border: 1px solid #333; background: transparent;
  color: #888; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.wex-mod-tabs button.is-active {
  background: #ff5e1a; border-color: #ff5e1a; color: #fff;
}
.wex-mod-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px;
  max-height: 480px; overflow-y: auto; padding: 4px 10px 4px 4px;
}
.wex-mod-grid::-webkit-scrollbar { width: 6px; }
.wex-mod-grid::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
.wex-mod-card {
  padding: 20px; border-radius: 12px; background: #111; border: 1px solid #222;
}
.wex-mod-card h4 { margin: 0 0 8px; font-size: 15px; font-weight: 700; }
.wex-mod-card p { margin: 0; font-size: 13px; color: #666; line-height: 1.45; }
.wex-mod-card__tag { font-size: 11px; color: #ff5e1a; margin-top: 12px; display: block; }

/* Products catalog (как Wexside) */
.wex-catalog-page { padding-bottom: 80px; }
.wex-catalog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1100px; margin: 0 auto;
}
.wex-catalog-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wex-pcard {
  position: relative; min-height: 220px; padding: 32px 28px; border-radius: 16px;
  text-decoration: none; color: #fff !important; overflow: hidden;
  border: 1px solid rgba(255,255,255,.08); transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.wex-pcard:hover {
  transform: translateY(-4px); color: #fff !important;
  box-shadow: 0 20px 48px rgba(0,0,0,.45);
}
.wex-pcard::before {
  content: ""; position: absolute; inset: 0; opacity: .1;
  background-image: var(--tile-logo); background-size: 56px 56px;
}
.wex-pcard__brand {
  position: absolute; top: 24px; left: 28px; font-size: 13px; font-weight: 600;
  opacity: .75; letter-spacing: .02em;
}
.wex-pcard h3 {
  position: relative; margin: 0; font-size: clamp(36px, 5vw, 52px);
  font-weight: 800; line-height: 1; letter-spacing: -.03em;
}
.wex-pcard__cta {
  position: relative; margin-top: 12px; font-size: 14px; opacity: .9; font-weight: 600;
}
.wex-pcard--o { background: linear-gradient(135deg, #e85a20, #6b2808); }
.wex-pcard--p { background: linear-gradient(135deg, #6b4ce6, #2d1a6e); }
.wex-pcard--r { background: linear-gradient(135deg, #c42d4a, #5a1420); }
.wex-pcard--d { background: linear-gradient(135deg, #2a3544, #101820); min-height: 180px; }
.wex-pcard--d h3 { font-size: clamp(28px, 4vw, 40px); }

/* Products page */
.wex-products-hero {
  padding: 120px 0 60px; text-align: center; position: relative; overflow: hidden;
}
.wex-products-hero__grid {
  position: absolute; inset: 0; opacity: .08;
  background-image:
    linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px);
  background-size: 48px 48px;
}
.wex-products-hero__logo {
  position: relative;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 24px rgba(255, 255, 255, 0.15));
}
.wex-products-hero__logo img,
.wex-products-hero__logo .rc-logo {
  width: 132px;
  height: auto;
  max-width: min(40vw, 160px);
  object-fit: contain;
  display: block;
}
.wex-products-hero h1 { position: relative; margin: 0 0 12px; font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.wex-products-hero p { position: relative; color: #888; margin: 0; }
.wex-catalog-note { text-align: center; color: #666; font-size: 14px; margin: 28px auto 0; max-width: 640px; line-height: 1.55; }
.wex-catalog-note a { color: #ff5e1a; }

/* CTA final */
.wex-final {
  position: relative; padding: 120px 24px; text-align: center; overflow: hidden;
}
.wex-final__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; }
.wex-final__glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 80%, rgba(255,94,26,.35), #000 70%);
}
.wex-final__inner { position: relative; z-index: 2; max-width: 560px; margin: 0 auto; }
.wex-final h2 { margin: 0 0 16px; font-size: clamp(32px, 5vw, 48px); font-weight: 800; line-height: 1.1; }
.wex-final p { color: #888; margin: 0 0 32px; line-height: 1.55; }

/* Footer */
.wex-footer { background: #000; border-top: 1px solid #1a1a1a; padding: 64px 0 32px; }
.wex-footer__grid {
  display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; margin-bottom: 48px;
}
.wex-footer__brand .wex-footer__name { font-size: 20px; font-weight: 800; color: #fff; text-decoration: none; }
.wex-footer__brand p { color: #666; font-size: 14px; margin: 12px 0 16px; max-width: 240px; line-height: 1.5; }
.wex-badge-green {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(46,204,113,.1); border: 1px solid rgba(46,204,113,.3); color: #5dde8a;
  font-size: 12px; font-weight: 600;
}
.wex-badge-green::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2ecc71;
  box-shadow: 0 0 8px #2ecc71;
}
.wex-footer__col h5 { margin: 0 0 16px; font-size: 14px; font-weight: 700; }
.wex-footer__col a { display: block; color: #666; font-size: 14px; text-decoration: none; margin-bottom: 10px; }
.wex-footer__col a:hover { color: #fff; }
.wex-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 24px; border-top: 1px solid #1a1a1a; font-size: 12px; color: #555;
}

:root {
  --tile-logo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Ctext x='18' y='40' fill='white' font-size='28' font-weight='bold' opacity='.35'%3ER%3C/text%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
  .wex-acc-body,
  .wex-acc-btn span { transition: none; }
}

@media (max-width: 960px) {
  .wex-header__nav { display: none; }
  .wex-cards3, .wex-pillar-grid, .wex-cat-grid, .wex-split, .wex-feat-grid, .wex-faq-wrap,
  .wex-catalog-grid, .wex-catalog-wide { grid-template-columns: 1fr; }
  .wex-faq-intro p { max-width: none; }
  .wex-stats__grid { grid-template-columns: 1fr; }
  .wex-footer__grid { grid-template-columns: 1fr 1fr; }
  .wex-imm { min-height: auto; }
  .wex-imm__body { padding: 48px 0; }
}
