/* ============================================================
   ГЛОБАЛЬНЫЕ ПЕРЕМЕННЫЕ
   ============================================================ */
:root {
  --body-bg: #060910;
  --bg: #0b0f14;
  --card: #11161d;
  --ink: #e8eef7;
  --muted: #9aa6b2;
  --blue: #4a92f3;
  --blue-2: #2b6de6;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
  --radius: 18px;
  --radius-lg: 22px;
  --max: 1200px;
  --card-bg: #0b0e17;
}

/* ============================================================
   СБРОС
   ============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Golos Text", sans-serif;
}

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  background: var(--body-bg);
  color: #fff;
  line-height: 1.6;
}

/* ============================================================
   HEADER
   ============================================================ */
.logo {
  position: relative;
  z-index: 1002;
}

@media (max-width: 768px) {
  .logo { position: relative; left: 16%; transform: translateX(-50%); }
}
@media (max-width: 390px) {
  .logo { max-width: 120px; }
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.header-hidden { transform: translateY(-100%); }

.navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.nav-menu {
  padding: 1rem 2rem;
  border-radius: 2rem;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.nav-menu ul {
  display: flex;
  gap: 3rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-menu a {
  text-decoration: none;
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-size: 1.1rem;
  border-radius: 1rem;
  transition: background 0.3s;
}
.nav-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2rem;
}
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #fff;
  z-index: 1001;
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    border-radius: 0;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(30px);
    padding-top: 5rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
  }
  .nav-menu.show { display: flex; }
  .nav-menu ul { flex-direction: column; gap: 2rem; align-items: center; }
  .nav-menu a { font-size: 1.8rem; font-weight: 500; }
  .menu-toggle {
    display: block;
    position: fixed;
    top: 1rem; right: 1rem;
    z-index: 1001;
    transition: transform 0.3s;
  }
  .menu-toggle.active { transform: rotate(90deg); }
  .navbar { padding: 1rem; }
  header { padding: 1rem; transition: transform 0.3s; }
  .nav-menu.show ~ .menu-toggle { position: fixed; top: 1rem; right: 1rem; }
}

/* ============================================================
   HERO
   ============================================================ */
.vdxhero-wrap {
  position: relative;
  min-height: 100vh;
  padding: 220px 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.vdxhero-lead {
  max-width: 800px;
  margin: 0 auto 50px;
  position: relative;
  z-index: 20;
}

.vdxhero-title {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 12px;
}

.vdxhero-subtitle {
  color: #888;
  margin-bottom: 30px;
}

.vdxhero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.vdxhero-btn {
  background: white;
  color: black;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
}

.vdxhero-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: white;
  transition: color 0.2s ease, gap 0.2s ease;
}
.vdxhero-link svg {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.vdxhero-link:hover svg { transform: translateX(5px); }

/* ============================================================
   HERO КАРУСЕЛЬ
   ============================================================ */
.vdxhero-carousel-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: 360px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.vdxhero-carousel-container::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, transparent 0%, rgba(6, 9, 16, 0.9) 100%);
  pointer-events: none;
  z-index: 10;
}

.vdxhero-track {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0;
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.vdxhero-item {
  flex: 0 0 480px;
  height: 280px;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 10px;
  opacity: 0.45;
  filter: grayscale(0.6) blur(1.5px);
  transform: scale(0.92);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}
.vdxhero-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.vdxhero-item.active {
  opacity: 1;
  filter: grayscale(0) blur(0);
  transform: scale(1.03);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55);
  z-index: 2;
}

/* --- Адаптив hero-карусели (порядок: 900 → 768 → 600 → 480) --- */
@media (max-width: 900px) {
  .vdxhero-item { flex: 0 0 340px; height: 250px; }
  .vdxhero-track { gap: 18px; }
}
@media (max-width: 768px) {
  .vdxhero-carousel-container { height: 300px; }
  .vdxhero-track { gap: 0; }
  .vdxhero-item { flex: 0 0 360px; height: 240px; margin: 0; padding: 8px; }
  .vdxhero-item img { border-radius: 12px; }
}
@media (max-width: 600px) {
  .vdxhero-carousel-container { height: 240px; }
  .vdxhero-item { flex: 0 0 240px; height: 180px; }
  .vdxhero-track { gap: 14px; }
}
@media (max-width: 480px) {
  .vdxhero-carousel-container { height: 260px; }
  .vdxhero-item {
    flex: 0 0 290px;
    height: 210px;
    margin: 0 4px;
    padding: 6px;
  }
  .vdxhero-item img { border-radius: 10px; }
}

/* ============================================================
   СТАТИСТИКА
   ============================================================ */
.stats {
  max-width: var(--max);
  margin: 40px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.cardinfo {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cardinfo::after {
  content: "";
  position: absolute;
  inset: auto -20% -30% auto;
  width: 60%; height: 60%;
  background: radial-gradient(60% 60% at 60% 40%, rgba(255, 255, 255, 0.14), transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.cardinfo .icon {
  position: absolute;
  right: 14px; bottom: 12px;
  width: 28px; height: 28px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
}
.cardinfo h3 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
}
.cardinfo p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.icon svg {
  width: 16px; height: 16px;
  opacity: 0.9;
  fill: currentColor;
  color: #cfd6e4;
}

@media (max-width: 720px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 26px;
  }
  .stats .cardinfo:last-child { grid-column: 1 / -1; }
  .cardinfo { padding: 16px; border-radius: 18px; }
  .cardinfo h3 { font-size: clamp(20px, 6vw, 26px); }
  .cardinfo p { font-size: 13.5px; }
  .cardinfo .icon { right: 12px; bottom: 10px; width: 26px; height: 26px; border-radius: 9px; }
  .icon svg { width: 15px; height: 15px; }
}

/* ============================================================
   ПРЕИМУЩЕСТВА (BENTO)
   ============================================================ */
.bento-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 20px;
  align-items: start;
}
.bento-main {
  padding: 40px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 500px;
  position: relative;
  overflow: hidden;
}
.bento-main h3 { font-size: 32px; margin-top: 0; }
.bento-main p { color: #fff; opacity: 0.9; }

.bento-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  min-height: 500px;
}
.bento-card {
  background: var(--card-bg);
  padding: 24px;
  border-radius: 20px;
  border: 1px solid #1a1e2a;
}
.main-card-image {
  position: absolute;
  top: 0; right: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}
.main-card-image img { width: 100%; height: 100%; object-fit: cover; }
.bento-content { position: relative; z-index: 2; }

.card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.card-number { color: var(--blue); font-weight: bold; font-family: monospace; }
.bento-card h4 { margin: 0; font-size: 18px; }
.bento-card p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.4; }

@media (max-width: 900px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-subgrid { grid-template-columns: 1fr; min-height: auto; }
  .bento-main { min-height: 400px; justify-content: flex-end; }
}

/* ============================================================
   УСЛУГИ
   ============================================================ */
.services { overflow-x: hidden; overflow-y: visible; }
.services__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}
.services__nav { display: flex; gap: 10px; }

.nav-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-btn.prev svg { margin-top: -3px; }
.nav-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.services__slider {
  display: flex;
  gap: 20px;
  padding-top: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.services__slider::-webkit-scrollbar { display: none; }

.card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  min-height: 320px;
  min-width: calc(25% - 15px);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: #0b0f1a;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 140, 255, 0.5);
  box-shadow: 0 10px 30px rgba(0, 140, 255, 0.15);
}
.card__image {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 13, 0.2) 0%, rgba(5, 7, 13, 0.85) 100%);
  z-index: 1;
}
.card::after {
  content: "";
  position: absolute;
  bottom: -60px; right: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(0, 140, 255, 0.35) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
}
.card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
  gap: 10px;
}
.card__tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 12px;
  color: #cfd6ff;
  width: fit-content;
}
.card__title {
  font-size: 14px;
  line-height: 1.4;
  color: #e6ebff;
  max-width: 220px;
}
.card__btn {
  margin-top: auto;
  align-self: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #000;
  text-decoration: none;
  font-size: 13px;
  backdrop-filter: blur(6px);
  transition: 0.2s;
}
.card__btn:hover { transform: translateY(-2px); }

@media (max-width: 1024px) { .card { min-width: calc(33.33% - 14px); } }
@media (max-width: 768px)  { .card { min-width: calc(50% - 10px); } }
@media (max-width: 480px)  { .card { min-width: 80%; } }

/* ============================================================
   ИЗБРАННЫЕ ПРОЕКТЫ
   ============================================================ */
.vdx-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.vdx-featured-projects { background: transparent; }
.vdx-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 20px;
}
.vdx-header-right {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.vdx-tabs { display: flex; gap: 20px; }
.vdx-tab-link {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s;
}
.vdx-tab-link:hover,
.vdx-tab-link.active { color: #fff; }
@media (max-width: 768px) { .vdx-tabs { display: none; } }

.vdx-read-more {
  color: #0066cc;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.vdx-project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  gap: 40px;
}
.vdx-project-card {
  position: relative;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(12px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.vdx-project-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.15);
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
}
.vdx-card-image {
  width: 100%;
  height: 320px;
  overflow: hidden;
  position: relative;
}
.vdx-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s;
}
.vdx-project-card:hover .vdx-card-image img { transform: scale(1.06); }

.vdx-card-content {
  padding: 35px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.vdx-card-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}
.vdx-category {
  color: #0066cc;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.vdx-project-tools {
  display: flex;
  gap: 10px;
  color: rgba(255, 255, 255, 0.25);
  font-size: 11px;
  font-weight: 700;
}
.vdx-project-title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}
.vdx-project-desc {
  color: #86868b;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}
.vdx-badge-new {
  position: absolute;
  top: 20px; left: 20px;
  z-index: 3;
  background: #0066cc;
  color: #fff;
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
  transition: transform 0.3s;
}
.vdx-project-card:hover .vdx-badge-new { transform: scale(1.1) translateY(-2px); }

.vdx-card-action { margin-top: auto; }
.vdx-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.4s;
}
.vdx-btn-primary::after {
  content: '→';
  margin-left: 8px;
  transition: transform 0.3s;
}
.vdx-project-card:hover .vdx-btn-primary {
  background: #fff;
  color: #000;
  transform: scale(1.02);
}
.vdx-project-card:hover .vdx-btn-primary::after { transform: translateX(4px); }

@media (max-width: 1024px) {
  .vdx-project-grid { grid-template-columns: 1fr; }
  .vdx-section-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  .vdx-container { padding: 0 24px; }
  .vdx-card-content { padding: 25px; }
  .vdx-project-title { font-size: 24px; }
}

/* ============================================================
   РЕШЕНИЯ ДЛЯ БИЗНЕСА
   ============================================================ */
.business-solutions { max-width: 1200px; margin: 0 auto; }

/* Базовый section-title — 36px (см. ниже общий блок) */
.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 32px;
}

.tabs-wrapper {
  display: flex;
  justify-content: center;
  margin: 0 auto 40px;
  width: fit-content;
  max-width: 100%;
  background: #0b1019;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  padding: 6px;
}
.tabs-container {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 100%;
}
.tabs-container::-webkit-scrollbar { display: none; }

.tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #7b889b;
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.tab-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.tab-btn.active {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.tabs-divider {
  width: 1px; height: 20px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 4px;
}
.hub-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff !important;
  background: transparent;
  border: 1px solid transparent;
  text-decoration: none;
}
.hub-link:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}
.hub-link svg { transition: transform 0.2s; }
.hub-link:hover svg { transform: translateX(3px); }

.solution-card {
  background: #0b1019;
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  overflow: hidden;
  position: relative;
  padding: 40px;
}
.solution-content {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  height: 100%;
}
.solution-title { font-size: 28px; font-weight: 600; color: #fff; margin-bottom: 16px; }
.solution-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 24px;
}
.solution-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 500;
}
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: rgba(74, 146, 243, 0.1);
  border: 1px solid rgba(74, 146, 243, 0.2);
  border-radius: 8px;
  color: var(--blue);
  flex-shrink: 0;
}
.solution-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #000 !important;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
  width: max-content;
}
.solution-btn:hover {
  transform: translateY(-2px);
  background: #f2f2f7;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.solution-image-container {
  position: relative;
  width: 100%;
  height: 400px;
  max-height: 400px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.015);
}
.solution-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.fade-element {
  transition: opacity 0.25s, transform 0.25s;
  opacity: 1;
  transform: translateY(0);
}
.fade-element.fade-out { opacity: 0; transform: translateY(6px); }

@media (max-width: 768px) {
  .tabs-wrapper { width: 100%; border-radius: 20px; }

  .solution-card {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 480px;
  }
  .solution-image-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    max-height: none;
    border: none;
    border-radius: 0;
    z-index: 1;
  }
  .solution-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
  }
  .solution-image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(6, 9, 16, 0.25) 0%,
      rgba(6, 9, 16, 0.55) 35%,
      rgba(6, 9, 16, 0.85) 60%,
      rgba(6, 9, 16, 0.97) 80%,
      #060910 100%
    );
    z-index: 2;
    pointer-events: none;
  }
  .solution-content {
    position: relative;
    z-index: 3;
    padding: 40px 24px 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
  }
  .solution-title,
  .solution-desc,
  .feature-item { color: #fff; }
  .solution-desc {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
    text-overflow: unset;
    color: rgba(255, 255, 255, 0.75);
  }
  .solution-title { margin-bottom: 2px; }
}

/* ============================================================
   КАК Я РАБОТАЮ
   ============================================================ */
.workflow-section { max-width: 1200px; margin: 0 auto; }
.workflow-wrapper {
  background: #0b1019;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: 16px 20px;
}
.section-header { text-align: center; margin-bottom: 40px; }
.section-header .section-title {
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.section-subtitle { font-size: 15px; color: #8a99ad; }

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.workflow-card {
  background: #060910;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}
.workflow-card:hover {
  border-color: rgba(74, 146, 243, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}
.card-visual {
  position: relative;
  height: 160px;
  background: linear-gradient(135deg, #0f2347 0%, #071226 50%, #060910 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.card-visual::before {
  content: '';
  position: absolute;
  top: -50%; left: -30%;
  width: 160%; height: 200%;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.08) 50%, transparent 65%);
  transform: rotate(25deg);
  pointer-events: none;
}
.card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: 0.4;
  pointer-events: none;
}
.card-glow {
  position: absolute;
  width: 70px; height: 70px;
  background: rgba(74, 146, 243, 0.25);
  filter: blur(25px);
  border-radius: 50%;
}
.card-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(10, 18, 32, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 5px 10px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 500;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}
.badge-dot { color: var(--blue); font-family: monospace; font-weight: 600; }
.card-icon-placeholder { font-size: 28px; z-index: 2; }
.card-content {
  padding: 20px;
  background: #0b1019;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card-title { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.card-desc { font-size: 13px; line-height: 1.5; color: #8a99ad; }

.workflow-cta-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #060910;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px 36px;
  gap: 24px;
}
.workflow-cta-heading { font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.workflow-cta-sub { font-size: 14px; color: #8a99ad; }

@media (max-width: 1024px) { .workflow-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .workflow-wrapper { padding: 32px 20px; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-cta-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 24px 20px;
  }
  .workflow-cta-footer .solution-btn { width: 100%; justify-content: center; }
}

/* ============================================================
   ОТЗЫВЫ
   ============================================================ */
.reviews-section { max-width: 1100px; margin: 0 auto; color: #fff; }
.reviews-section .section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}
.reviews-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
  align-items: stretch;
}
.review-left-card {
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  min-height: 380px;
  border: 1px solid #1a1e2a;
}
.review-card-image {
  position: absolute;
  top: 0; right: 0; left: 0; bottom: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}
.review-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.review-metric {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}
.review-metric-text { font-size: 16px; opacity: 0.9; margin: 0; }

.review-right-wrapper {
  background: #0b0e17;
  border: 1px solid #1a1e2a;
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.review-slide { display: none; animation: fadeIn 0.4s ease-in-out; }
.review-slide.active { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
  gap: 20px;
}
.company-info h3 { font-size: 28px; margin: 0 0 8px; font-weight: 700; }
.company-info p {
  font-size: 14px;
  color: #a0a0a0;
  margin: 0;
  max-width: 400px;
  line-height: 1.4;
}
.author-badge {
  background: #131825;
  border: 1px solid #1f2638;
  padding: 10px 16px;
  border-radius: 14px;
  text-align: right;
  white-space: nowrap;
}
.author-name { display: block; font-size: 14px; font-weight: 600; }
.author-role { display: block; font-size: 12px; color: #a0a0a0; }
.review-body p {
  font-size: 15px;
  color: #c0c0c0;
  line-height: 1.6;
  margin: 0;
}

.slider-dots {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #1a1e2a;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s;
}
.dot.active { background: var(--blue); height: 24px; border-radius: 4px; }

@media (max-width: 850px) {
  .reviews-grid { grid-template-columns: 1fr; gap: 16px; }
  .reviews-section,
  .container { padding-left: 16px; padding-right: 16px; }
  .review-left-card { min-height: 240px; padding: 24px; }
  .review-right-wrapper { padding: 24px; }
  .slider-dots {
    position: static;
    flex-direction: row;
    justify-content: center;
    margin-top: 20px;
    transform: none;
  }
  .dot.active { height: 8px; width: 24px; }
  .review-header { flex-direction: column; margin-bottom: 20px; }
  .author-badge { text-align: left; width: 100%; }
}

/* ============================================================
   МНЕ ДОВЕРИЛИ
   ============================================================ */
.trusted-logos { background: #060910; text-align: center; overflow: hidden; }
.trusted-logos .section-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 30px;
  color: #fff;
}
.marquee { overflow: hidden; width: 100%; }
.marquee-track {
  display: flex;
  gap: 24px;
  animation: scroll-logos 40s linear infinite;
  width: max-content;
}
.logo-card {
  flex-shrink: 0;
  min-width: 180px;
  height: 100px;
  padding: 16px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}
.logo-card img {
  max-height: 40px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s;
}
.logo-card:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}
@keyframes scroll-logos {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   ФУТЕР
   ============================================================ */
.footer {
  position: relative;
  padding: 60px 20px;
  background: #060910;
  overflow: hidden;
}
.footer::after {
  content: "";
  position: absolute;
  bottom: -80px; right: -100px;
  width: 800px; height: 600px;
  background: radial-gradient(70% 60% at 90% 100%,
    rgba(59, 91, 140, 0.35) 0%,
    rgba(59, 91, 140, 0.15) 40%,
    rgba(59, 91, 140, 0.10) 70%,
    transparent 100%);
  pointer-events: none;
  z-index: 0;
}
.footer-content { max-width: 1200px; margin: 0 auto; position: relative; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.footer-logo img {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: #fff;
}
.footer-menu {
  display: flex;
  gap: 32px;
  font-size: 16px;
  flex-wrap: wrap;
}
.footer-menu a {
  color: #B0B8C2;
  text-decoration: none;
  transition: 0.3s;
}
.footer-menu a:hover { font-weight: 600; color: #fff; }

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 50px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 40px;
}
.footer-col h4 {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: #B0B8C2;
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s;
  display: inline-block;
}
.footer-col a:hover { color: #fff; transform: translateX(3px); }

@media (max-width: 900px) {
  .footer-links-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
}
@media (max-width: 550px) {
  .footer-links-grid { grid-template-columns: 1fr; gap: 25px; }
  .footer-col { border-bottom: 1px solid rgba(255, 255, 255, 0.05); padding-bottom: 15px; }
  .footer-col:last-child { border-bottom: none; }
}

.footer-cta h2 { font-size: 24px; font-weight: 600; margin-bottom: 20px; }
.footer-buttons { display: flex; flex-wrap: wrap; gap: 16px; }
.button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  background: #11141A;
  border: 1px solid #2A2B2E;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  transition: 0.2s;
}
.button:hover { background: #2b2c31; }
.button.vk { min-width: 85px; padding: 12px 16px; }
.button.vk img.icon-vk {
  width: 20px; height: 20px;
  display: inline-block;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 60px;
  border-top: 1px solid #2a2a2d;
  padding-top: 20px;
  font-size: 14px;
}
.crafted { display: flex; align-items: center; gap: 10px; }
.crafted img { height: 40px; }

.scroll-top {
  position: absolute;
  right: 0; bottom: 125px;
  color: #fff;
  text-decoration: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 24px;
  border-radius: 9999px;
  transition: background 0.3s;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.scroll-top:hover { background: #2a2b30; }

@media (max-width: 768px) {
  .footer { padding: 40px 16px; text-align: center; }
  .footer-top { flex-direction: column; align-items: center; gap: 24px; }
  .footer-menu { flex-direction: column; gap: 12px; }
  .footer-cta h2 { font-size: 20px; }
  .footer-buttons { flex-direction: column; align-items: center; gap: 12px; }
  .button { width: 100%; max-width: 280px; justify-content: center; }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    padding-top: 16px;
    text-align: center;
  }
  .crafted img { height: 32px; }
  .scroll-top {
    position: static;
    margin: 24px auto 0;
    width: 100%;
    max-width: 200px;
    display: block;
  }
}

/* ============================================================
   ПЕРЕКЛЮЧАТЕЛЬ ТЕМЫ
   ============================================================ */
.theme-toggle-wrapper {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9999;
}
.theme-toggle-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(8px);
}
.theme-toggle-btn:hover { transform: scale(1.08); }
.theme-icon { display: inline-block; transition: opacity 0.25s, transform 0.25s; }
html.dark .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
html.dark .theme-icon.sun { display: none; }
html.dark .theme-icon.moon { display: inline-block; }
html.light .theme-icon.sun { display: inline-block; }
html.light .theme-icon.moon { display: none; }

@media (max-width: 768px) {
  .theme-toggle-btn { width: 46px; height: 46px; font-size: 20px; }
  .theme-toggle-wrapper { bottom: 16px; right: 16px; }
}

/* ============================================================
   ОБЩИЕ УТИЛИТЫ
   ============================================================ */
.rotator {
  display: block;
  text-align: center;
  position: relative;
  min-height: 1.15em;
  margin-top: 0.1em;
}
.word {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  white-space: nowrap;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.word.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 720px) {
  .vdxhero-title { font-size: 2rem; }
  .vdxhero-item img { width: 200px; height: 140px; }
  .vdxhero-item.active img { width: 320px; height: 220px; }
  .vdxhero-cta { flex-direction: column; align-items: center; gap: 12px; }
}

/* ============================================================
   ЕДИНЫЕ ОТСТУПЫ МЕЖДУ СЕКЦИЯМИ
   ============================================================ */
.advantages-section,
.services,
.vdx-featured-projects,
.trusted-logos {
  padding: 80px 0;
}
.business-solutions,
.workflow-section {
  padding: 80px 20px;
}
.reviews-section {
  margin: 0 auto;
  padding: 80px 0;
}

/* ============================================================
   HERO DECORATIONS
   ============================================================ */
.hero-bg-decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
}
.hero-bg-decor::before {
  content: '';
  position: absolute;
  top: -30%; left: -20%;
  width: 160%; height: 200%;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.04) 50%, transparent 65%);
  transform: rotate(25deg);
  pointer-events: none;
}
.hero-bg-decor::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.4;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 400px; height: 400px;
  background: rgba(74, 146, 243, 0.06);
  filter: blur(80px);
  border-radius: 50%;
  top: 10%; right: 5%;
  z-index: 0;
  pointer-events: none;
}

/* ============================================================
   БЛОГ — ГОРИЗОНТАЛЬНЫЙ СЛАЙДЕР
   ============================================================ */
.blog-slider-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.blog-slider__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.blog-slider__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.blog-slider__eyebrow::before {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(74, 146, 243, 0.1);
  content: "";
}
.blog-slider__top .section-title { text-align: left; margin: 0; }

.blog-slider__nav-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}
.blog-slider__all {
  color: var(--blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.blog-slider__all:hover { color: #6aa8ff; }
.blog-slider__nav { display: flex; gap: 10px; }

/* Скролл-контейнер */
.blog-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 6px 4px 14px;
  scroll-snap-type: x mandatory;
}
.blog-slider::-webkit-scrollbar { display: none; }

/* Карточка статьи */
.blog-slider .post-card {
  flex: 0 0 calc(50% - 10px);
  scroll-snap-align: start;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.blog-slider .post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(74, 146, 243, 0.4);
  box-shadow: 0 20px 40px rgba(0, 140, 255, 0.12);
}
.blog-slider .post-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1920 / 740;
  background: #0a0d16;
}
.blog-slider .post-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  display: block;
}
.blog-slider .post-card:hover .post-card__media img { transform: scale(1.05); }

.blog-slider .post-card__badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(74, 146, 243, 0.95);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(74, 146, 243, 0.35);
  z-index: 2;
}

.blog-slider .post-card__body {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 20px;
  flex: 1;
}
.blog-slider .post-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}
.blog-slider .post-meta__sep { opacity: 0.5; }

.blog-slider .post-card__title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.25;
  color: var(--ink);
}
.blog-slider .post-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}
.blog-slider .post-card__title a:hover { color: var(--blue); }

.blog-slider .post-card__excerpt {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.blog-slider .post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 16px;
}
.blog-slider .post-tag {
  display: inline-flex;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.02em;
}
.blog-slider .post-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 18px;
  border: 1px solid var(--blue);
  border-radius: 100px;
  background: var(--blue-2);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition:
    background 0.25s ease,
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease;
}
.blog-slider .post-card__btn svg { transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1); }
.blog-slider .post-card__btn:hover { background: var(--blue); transform: translateY(-2px); }
.blog-slider .post-card__btn:hover svg { transform: translateX(3px); }

@media (max-width: 900px) {
  .blog-slider .post-card { flex: 0 0 calc(50% - 10px); }
  .blog-slider .post-card__title { font-size: 18px; }
}
@media (max-width: 768px) {
  .blog-slider__top { flex-direction: column; align-items: flex-start; gap: 20px; }
  .blog-slider__nav-wrap { width: 100%; justify-content: space-between; }
  .blog-slider .post-card { flex: 0 0 85%; }
}
@media (max-width: 480px) {
  .blog-slider .post-card { flex: 0 0 92%; }
}

/* ============================================================
   LIGHT MODE — все переопределения в одном месте
   ============================================================ */
html.light {
  --body-bg: #f5f7fa;
  --bg: #f5f7fa;
  --card: #ffffff;
  --ink: #1a1a2e;
  --muted: #5a6a7a;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  --blue: #2563eb;
  --blue-2: #1d4ed8;
  background: #f5f7fa;
  color: #1a1a2e;
}
html.light body { background: #f5f7fa; color: #1a1a2e; }

/* Тексты */
html.light .lead h1,
html.light .section-title,
html.light .vdx-project-title,
html.light .card__title,
html.light .bento-main h3,
html.light .bento-card h4,
html.light .solution-title,
html.light .workflow-cta-heading,
html.light .card-title,
html.light .company-info h3,
html.light .author-name,
html.light .footer-col h4,
html.light .footer-cta h2,
html.light .review-metric { color: #1a1a2e; }

html.light .lead p,
html.light .vdx-project-desc,
html.light .bento-card p,
html.light .solution-desc,
html.light .card-desc,
html.light .company-info p,
html.light .author-role,
html.light .review-body p,
html.light .review-metric-text,
html.light .footer-col a,
html.light .footer-menu a,
html.light .footer-bottom p,
html.light .workflow-cta-sub { color: #5a6a7a; }

/* Hero-link */
html.light .vdxhero-link { color: #5a6a7a; }
html.light .vdxhero-link:hover { color: #1a1a2e; }
html.light .vdxhero-link svg { stroke: #5a6a7a; }
html.light .vdxhero-link:hover svg { stroke: #1a1a2e; }

/* Карточки */
html.light .cardinfo,
html.light .bento-main,
html.light .bento-card,
html.light .card,
html.light .vdx-project-card,
html.light .solution-card,
html.light .review-left-card,
html.light .review-right-wrapper,
html.light .workflow-wrapper,
html.light .workflow-card,
html.light .workflow-cta-footer {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
html.light .vdx-project-card:hover {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
html.light .cardinfo::after,
html.light .card::after {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
}
html.light .card::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.85) 100%);
}

/* Кнопки */
html.light .btn,
html.light .solution-btn {
  background: #1a1a2e;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
html.light .btn:hover,
html.light .solution-btn:hover {
  background: #2d2d44;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
html.light .vdx-btn-primary {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
  color: #1a1a2e;
}
html.light .vdx-project-card:hover .vdx-btn-primary { background: #1a1a2e; color: #fff; }
html.light .vdx-badge-new { background: #2563eb; }
html.light .vdx-category { color: #2563eb; }
html.light .vdx-tab-link { color: rgba(0, 0, 0, 0.4); }
html.light .vdx-tab-link:hover,
html.light .vdx-tab-link.active { color: #1a1a2e; }
html.light .vdx-read-more { color: #2563eb; }
html.light .vdx-project-tools { color: rgba(0, 0, 0, 0.3); }

/* Табы */
html.light .tabs-wrapper {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
html.light .tab-btn { color: #5a6a7a; }
html.light .tab-btn:hover { color: #1a1a2e; background: rgba(0, 0, 0, 0.04); }
html.light .tab-btn.active {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.1);
  color: #1a1a2e;
}
html.light .tabs-divider { background: rgba(0, 0, 0, 0.1); }
html.light .hub-link { color: #1a1a2e !important; }

/* Author badge */
html.light .author-badge {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
html.light .author-name { color: #1a1a2e; }
html.light .author-role { color: #5a6a7a; }

/* Workflow visual */
html.light .card-visual {
  background: linear-gradient(135deg, #e8edf5 0%, #d5dce8 50%, #f5f7fa 100%);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}
html.light .card-visual::before {
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.4) 50%, transparent 65%);
}
html.light .card-visual::after {
  background-image: radial-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px);
}
html.light .card-glow { background: rgba(37, 99, 235, 0.15); }
html.light .card-badge {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.08);
  color: #1a1a2e;
}
html.light .badge-dot { color: #2563eb; }
html.light .card-content { background: #ffffff; }

/* Feature items */
html.light .feature-icon {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.15);
  color: #2563eb;
}
html.light .feature-item { color: #1a1a2e; }

/* Dots */
html.light .dot { background: rgba(0, 0, 0, 0.12); }
html.light .dot.active { background: #2563eb; }

/* Logos */
html.light .logo-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
html.light .logo-card img { filter: grayscale(0%) !important; opacity: 0.7 !important; }
html.light .logo-card:hover img { opacity: 1 !important; filter: none !important; }

/* Footer */
html.light .footer { background: #f5f7fa; }
html.light .footer::after {
  background: radial-gradient(70% 60% at 90% 100%,
    rgba(37, 99, 235, 0.08) 0%,
    rgba(37, 99, 235, 0.04) 40%,
    transparent 70%);
}
html.light .button { background: #ffffff; border-color: rgba(0, 0, 0, 0.08); color: #1a1a2e; }
html.light .button:hover { background: #f0f2f5; }
html.light .footer-links-grid { border-top-color: rgba(0, 0, 0, 0.06); }
html.light .scroll-top { color: #1a1a2e; border-color: rgba(0, 0, 0, 0.12); }
html.light .scroll-top:hover { background: rgba(0, 0, 0, 0.04); }

/* Hero carousel затемнение */
html.light .vdxhero-carousel-container::after {
  background: linear-gradient(to bottom, transparent 0%, rgba(245, 247, 250, 0.95) 100%);
}

/* Hero decorations */
html.light .hero-bg-decor {
  background: radial-gradient(circle at 70% 20%, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
}
html.light .hero-bg-decor::before {
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.4) 50%, transparent 65%);
}
html.light .hero-bg-decor::after {
  background-image: radial-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px);
  opacity: 0.5;
}
html.light .hero-glow { background: rgba(37, 99, 235, 0.04); }

/* Блог — светлая тема */
html.light .blog-slider .post-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
html.light .blog-slider .post-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.08);
}
html.light .blog-slider .post-card__title { color: #1a1a2e; }
html.light .blog-slider .post-card__title a:hover { color: #2563eb; }
html.light .blog-slider .post-card__excerpt,
html.light .blog-slider .post-meta,
html.light .blog-slider .post-tag { color: #5a6a7a; }
html.light .blog-slider__all { color: #2563eb; }
html.light .blog-slider__all:hover { color: #1d4ed8; }
html.light .blog-slider .post-card__media { background: #eef1f6; }