﻿/* ============================================================
   AKSENTA — Новая секция услуг (3 блока) · 3 варианта дизайна
   Использует токены из styles.css
   ============================================================ */

.svc-sec {
  background: var(--bg);
  padding: 80px 0;
}
.svc-sec .svc-wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 56px;
}

/* Общая «шапка» секции */
.svc-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 44px;
}
.svc-head h2 {
  font-size: clamp(34px, 3.6vw, 46px);
  letter-spacing: -0.03em;
  line-height: 1.04;
  max-width: 640px;
}
.svc-head .svc-head-lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-mute);
  max-width: 560px;
  padding-bottom: 0;
}

/* Общий arrow-чип в правом верхнем углу карточек */
.svc-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ink);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.svc-arrow svg { width: 16px; height: 16px; transition: transform 0.18s ease; }

/* ============================================================
   ВАРИАНТ 1 — Editorial / hairline (минимализм, типографика)
   ============================================================ */
.v1-block1 {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 44px 48px;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  margin-bottom: 20px;
}
.v1-kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.v1-kicker::before {
  content: '';
  width: 18px; height: 1px;
  background: var(--ink-dim);
}
.v1-block1 h3 {
  font-size: 28px;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 16px;
}
.v1-block1 .v1-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-mute);
  max-width: 340px;
}
/* список подуслуг */
.v1-rows { border-top: 0.5px solid var(--border); }
.v1-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 4px 20px 0;
  border-bottom: 0.5px solid var(--border);
  cursor: pointer;
  transition: padding-left 0.2s ease;
}
.v1-row:hover { padding-left: 8px; }
.v1-row-main { min-width: 0; display: block; }
.v1-row-title {
  display: block;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 4px;
  transition: color 0.18s ease;
}
.v1-row:hover .v1-row-title { color: var(--navy-700); }
.v1-row-sub {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-mute);
}
.v1-row .svc-arrow { width: 34px; height: 34px; }
.v1-row .svc-arrow svg { width: 14px; height: 14px; }
.v1-row:hover .svc-arrow {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}
.v1-row:hover .svc-arrow svg { transform: translateX(2px); }
/* пометка "скоро/без страницы" */
.v1-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
  border: 0.5px solid var(--border-strong);
  border-radius: var(--r-pill);
  padding: 2px 9px;
  margin-left: 10px;
  vertical-align: middle;
}

.v1-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.v1-card {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease;
}
.v1-card:hover { border-color: var(--border-strong); }
.v1-card h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.v1-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-mute);
  margin-bottom: 28px;
  flex: 1;
}
.v1-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  align-self: flex-start;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--border-strong);
  transition: gap 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.v1-link svg { width: 14px; height: 14px; }
.v1-card:hover .v1-link { gap: 11px; color: var(--navy-700); border-color: var(--navy-700); }

/* ============================================================
   ВАРИАНТ 2 — Bento (крупная карта + 2 компактные, скругления)
   ============================================================ */
.v2-grid {
  display: grid;
  grid-template-columns: 1.32fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.v2-main {
  grid-row: 1 / 3;
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-top: 3px solid var(--navy-700);
  border-radius: var(--r-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
}
.v2-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.v2-card-num {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.v2-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-700);
}
.v2-kicker::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--navy-700);
  flex-shrink: 0;
}
.v2-main h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 14px;
  max-width: 440px;
}
.v2-main > p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-mute);
  max-width: 440px;
  margin-bottom: 28px;
}
.v2-subs {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.v2-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.v2-sub:hover {
  background: var(--bg-card);
  border-color: var(--navy-300);
  transform: translateY(-1px);
}
.v2-sub-title {
  display: block;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 3px;
}
.v2-sub-desc {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-mute);
}
.v2-sub .svc-arrow { width: 34px; height: 34px; background: var(--bg-card); }
.v2-sub:hover .svc-arrow {
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: #fff;
}
.v2-sub:hover .svc-arrow svg { transform: translateX(2px); }
.v2-pill-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--success);
  margin-left: 8px;
}

.v2-side {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-top: 3px solid var(--navy-700);
  border-radius: var(--r-xl);
  padding: 34px 34px 30px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.v2-side:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.v2-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
.v2-tag {
  font-size: 13px;
  white-space: nowrap;
  color: var(--ink-soft);
  border: 0.5px solid var(--border-strong);
  border-radius: var(--r-pill);
  padding: 6px 12px;
  line-height: 1.2;
  background: var(--bg);
  transition: border-color 0.18s ease, color 0.18s ease;
}
.v2-side:hover .v2-tag { border-color: var(--border-strong); }
.v2-tag--more {
  color: var(--ink-mute);
  border-style: dashed;
}
.v2-side h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.v2-side p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-mute);
  margin-bottom: 20px;
}
.v2-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: auto;
  white-space: nowrap;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 11px 18px;
  border-radius: var(--r-sm);
  border: 0.5px solid var(--ink);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.v2-btn svg { width: 14px; height: 14px; transition: transform 0.18s ease; }
.v2-side:hover .v2-btn { background: var(--navy-900); border-color: var(--navy-900); }
.v2-side:hover .v2-btn svg { transform: translateX(2px); }

/* ============================================================
   ВАРИАНТ 3 — Dark feature (темная главная карта + 2 светлые)
   ============================================================ */
.services { background: var(--bg-soft); }
.v3-main {
  background: var(--bg-dark);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: start;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.v3-main::before {
  content: '';
  position: absolute;
  top: -140px; right: -100px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--navy-700) 0%, transparent 65%);
  opacity: 0.4;
  pointer-events: none;
}
.v3-lead { position: relative; z-index: 1; }
.v3-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-300);
  margin-bottom: 20px;
}
.v3-eyebrow .dot { background: var(--navy-300); box-shadow: 0 0 0 4px rgba(133,183,235,0.14); }
.v3-main h3 {
  font-size: 30px;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 16px;
}
.v3-main .v3-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-on-dark-soft);
  max-width: 360px;
}
.v3-rows {
  position: relative;
  z-index: 1;
  border-top: 0.5px solid var(--border-dark);
}
.v3-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 4px 20px 0;
  border-bottom: 0.5px solid var(--border-dark);
  cursor: pointer;
  transition: padding-left 0.2s ease;
}
.v3-row:hover { padding-left: 8px; }
.v3-row-title {
  display: block;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 4px;
  transition: color 0.18s ease;
}
.v3-row:hover .v3-row-title { color: var(--navy-300); }
.v3-row-sub {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-on-dark-mute);
}
.v3-row .svc-arrow {
  width: 34px; height: 34px;
  border-color: rgba(133,183,235,0.32);
  color: var(--navy-300);
}
.v3-row:hover .svc-arrow {
  background: #fff;
  border-color: #fff;
  color: var(--bg-dark);
}
.v3-row:hover .svc-arrow svg { transform: translateX(2px); }
.v3-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-300);
  border: 0.5px solid var(--border-dark-strong);
  border-radius: var(--r-pill);
  padding: 2px 9px;
  margin-left: 10px;
  vertical-align: middle;
}

.v3-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.v3-card {
  background: var(--bg-card);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.v3-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 18px 40px -24px rgba(4, 44, 83, 0.28);
  transform: translateY(-2px);
}
.v3-card-ico {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--navy-100);
  color: var(--navy-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: background 0.18s ease, color 0.18s ease;
}
.v3-card:hover .v3-card-ico { background: var(--navy-900); color: #fff; }
.v3-card-ico svg { width: 22px; height: 22px; }
.v3-card h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--ink);
}
.v3-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-mute);
  margin-bottom: 20px;
}
.v3-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-700);
  align-self: flex-start;
  margin-top: auto;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--border-strong);
  transition: gap 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.v3-link svg { width: 14px; height: 14px; }
.v3-card:hover .v3-link { gap: 11px; color: var(--navy-900); border-color: var(--navy-700); }

.v3-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.v3-chip {
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--navy-800);
  background: var(--bg-soft);
  border: 0.5px solid var(--border);
  border-radius: var(--r-pill);
  padding: 6px 12px;
}

/* ============================================================
   HOME — hero (hub) + service router panel
   ============================================================ */
.home-hero { padding: 72px 0 60px; }
.home-hero .vu-hero-grid {
  align-items: start;
  gap: 48px;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.88fr);
}
.home-hero .vu-hero-copy { justify-content: center; }
.home-hero h1 { margin-bottom: 0; font-size: clamp(34px, 4vw, 48px); }
.home-hero h1 .stack { white-space: normal; }
.home-hero .vu-hero-lede { margin: 22px 0 0; max-width: 520px; }
.home-hero .hero-cta { margin-top: 30px; gap: 12px; }
.home-hero .vu-hero-trust { margin-top: 24px; }
.home-hero .vu-hero-stage {
  padding: 0;
  align-items: center;
  justify-content: flex-end;
}

/* Service cards — two white cards routing visitors to the right service */
.home-cards {
  width: 100%;
  max-width: 444px;
  display: flex; flex-direction: column;
  gap: 16px;
}
.home-card {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: 0 24px 54px -20px rgba(0, 0, 0, 0.55);
  padding: 24px 26px;
}
.home-card--link {
  display: block; text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.home-card--link:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}
.home-card-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
}
.home-card-title {
  font-size: 20px; font-weight: 600;
  color: var(--ink); letter-spacing: -0.02em; line-height: 1.22;
}
.home-card-arrow {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--navy-700);
  display: grid; place-items: center;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.home-card-arrow svg { width: 16px; height: 16px; }
.home-card--link:hover .home-card-arrow {
  background: var(--navy-900); border-color: var(--navy-900); color: #fff;
}
.home-card-price {
  font-size: 15px; font-weight: 600;
  color: var(--navy-700);
  letter-spacing: -0.01em;
  margin-top: 6px;
}
.home-card-desc {
  font-size: 14px; line-height: 1.5;
  color: var(--ink-mute);
  margin-top: 10px;
}
.home-card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.home-card-tags span {
  font-size: 12.5px; font-weight: 500;
  color: var(--navy-700);
  padding: 6px 12px;
  border: 1px solid var(--navy-300);
  border-radius: var(--r-pill);
}
.home-card-desc a {
  color: var(--navy-700); font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--navy-300);
  text-underline-offset: 2px;
  transition: color 0.16s ease, text-decoration-color 0.16s ease;
}
.home-card-desc a:hover { color: var(--navy-900); text-decoration-color: var(--navy-700); }
.home-card--compact { padding: 18px 22px; }
.home-card--compact .home-card-title { font-size: 17px; }
.home-card--compact .home-card-desc { margin-top: 8px; font-size: 13.5px; }
.home-card--compact .home-card-arrow { width: 32px; height: 32px; }
.home-hero .vu-hero-metrics { margin-top: 48px; }

@media (max-width: 1000px) {
  .home-hero { padding: 48px 0 44px; }
  .home-hero .vu-hero-grid { gap: 40px; grid-template-columns: 1fr; }
  .home-hero h1 .stack { white-space: normal; }
  .home-hero .vu-hero-stage { justify-content: stretch; }
  .home-cards { max-width: none; }
}
@media (max-width: 560px) {
  .home-hero .hero-cta { flex-wrap: nowrap; align-items: stretch; gap: 8px; }
  .home-hero .hero-cta .btn {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    text-align: center;
    padding-left: 14px;
    padding-right: 14px;
    font-size: 14px;
    white-space: normal;
    line-height: 1.25;
  }
  .home-hero .hero-cta .btn svg { flex-shrink: 0; }
}
@media (max-width: 760px) {
  .home-hero h1 { font-size: clamp(34px, 8vw, 42px); }
}

/* ============================================================
   WHY — «Не просто услуги» (light 2×2 with featured dark card)
   ============================================================ */
.why { background: var(--bg); padding: var(--gap-section) 0; }
.why-title { margin-bottom: 40px; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px -28px rgba(4, 44, 83, 0.25);
}
.why-card {
  background: #fff;
  padding: 38px 38px 42px;
  display: flex; flex-direction: column;
}
.why-card--feature { background: var(--bg-dark); color: #fff; }
.why-feature-badge {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  margin-bottom: 26px;
}
.why-feature-badge svg { width: 26px; height: 26px; }
.why-num {
  align-self: flex-start;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  line-height: 1;
  color: var(--navy-500);
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}
.why-card-title {
  font-size: 20px; font-weight: 600;
  letter-spacing: -0.015em; line-height: 1.25;
  color: var(--ink);
}
.why-card--feature .why-card-title { font-size: 24px; color: #fff; }
.why-card-rule { display: block; height: 1px; background: var(--border); margin: 18px 0; }
.why-card--feature .why-card-rule { background: rgba(255, 255, 255, 0.15); }
.why-card-desc { font-size: 14.5px; line-height: 1.55; color: var(--ink-mute); }
.why-card--feature .why-card-desc { color: rgba(255, 255, 255, 0.72); }

@media (max-width: 760px) {
  .why-title { margin-bottom: 22px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    align-items: center;
    padding: 22px 22px 24px;
  }
  .why-num {
    grid-column: 1; grid-row: 1;
    margin-bottom: 0;
    align-self: center;
  }
  .why-feature-badge {
    grid-column: 1; grid-row: 1;
    width: 46px; height: 46px;
    margin-bottom: 0;
  }
  .why-feature-badge svg { width: 23px; height: 23px; }
  .why-card-title { grid-column: 2; grid-row: 1; align-self: center; }
  .why-card--feature .why-card-title { font-size: 20px; }
  .why-card-rule { grid-column: 1 / -1; margin: 14px 0; }
  .why-card-desc { grid-column: 1 / -1; }
}

/* ── Мобильная компактность секции услуг ─────────────────── */
@media (max-width: 640px) {
  .v2-grid          { grid-template-columns: 1fr; grid-template-rows: auto; }
  .v2-main          { grid-column: 1; grid-row: auto; }
  .v2-side          { grid-column: 1; grid-row: auto; }
  .v2-main > p,
  .v2-side > p      { display: none; }
  .v2-sub-desc      { display: none; }
  .v2-tags          { display: none; }
}

/* ── Вариант 3 (Dark feature) — адаптив ───────────────────── */
@media (max-width: 860px) {
  .v3-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 30px;
  }
  .v3-main h3 { font-size: 26px; }
  .v3-rows { border-top: none; }
}
@media (max-width: 640px) {
  .v3-duo { grid-template-columns: 1fr; gap: 14px; }
  .v3-main { padding: 22px 20px; gap: 22px; margin-bottom: 14px; }
  .v3-main h3 { font-size: 22px; margin-bottom: 10px; }
  .v3-main .v3-desc { font-size: 14.5px; line-height: 1.55; }
  .v3-row { padding: 14px 2px 14px 0; gap: 16px; }
  .v3-row-sub { display: none; }
  .v3-row-title { font-size: 16.5px; margin-bottom: 0; }
  .v3-card { padding: 22px 22px 22px; }
  .v3-card h3 { font-size: 20px; margin-bottom: 8px; }
  .v3-card p { font-size: 14.5px; line-height: 1.55; margin-bottom: 14px; }
  .v3-chips { gap: 7px; margin-bottom: 16px; }
  .svc-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .svc-head .svc-head-lede { padding-bottom: 0; }
}
