/* ================= SERVICES ARCHIVE ================= */
.services-archive-hero {
  padding-top: 140px;
  padding-bottom: 32px;
}
.services-archive-hero .kicker { display: inline-block; margin-bottom: 16px; }
.archive-title {
  font-family: var(--font-display-alt, var(--font-sans));
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg-1);
  margin: 0 0 20px;
}
.archive-lead {
  font-size: 19px; line-height: 1.5; color: var(--fg-3);
  max-width: 780px; margin: 0 0 40px;
}

/* Category pills */
.services-cat-filter {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}
.cat-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fg-3);
  text-decoration: none;
  text-transform: uppercase;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease;
}
.cat-pill:hover { color: var(--fg-1); border-color: rgba(34,211,238,0.3); transform: translateY(-1px); }
.cat-pill.is-active {
  background: rgba(34,211,238,0.10);
  border-color: rgba(34,211,238,0.50);
  color: var(--accent-cyan);
}
.cat-pill .cat-count {
  font-size: 10px;
  padding: 2px 6px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--r-pill);
  color: var(--fg-4);
}
.cat-pill.is-active .cat-count {
  background: rgba(34,211,238,0.15);
  color: var(--accent-cyan);
}

/* Comparison table — все услуги в табличном виде */
.services-compare { padding: 56px 0 24px; }
.services-compare .kicker { display: inline-block; margin-bottom: 12px; }
.services-compare .section-title {
  font-family: var(--font-display-alt, var(--font-sans));
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.services-compare .section-sub { max-width: 720px; margin-bottom: 28px; }

.compare-wrap {
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--inset-top), 0 12px 28px rgba(0,0,0,0.30);
}
.compare-table-services {
  width: 100%;
  border-collapse: collapse;
}
.compare-table-services thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-4);
  padding: 14px 18px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
  font-weight: 500;
}
.compare-table-services tbody tr.ct-row {
  cursor: pointer;
  transition: background 200ms ease;
  border-bottom: 1px solid var(--border-faint);
}
.compare-table-services tbody tr.ct-row:last-child { border-bottom: none; }
.compare-table-services tbody tr.ct-row:hover { background: rgba(34,211,238,0.04); }
.compare-table-services td { padding: 16px 18px; vertical-align: top; }

td.ct-name { display: flex; flex-direction: column; gap: 2px; min-width: 240px; }
.ct-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}
.ct-title { font-size: 15px; color: var(--fg-1); font-weight: 500; line-height: 1.3; }
.ct-desc { font-size: 12px; color: var(--fg-4); line-height: 1.45; }

td.ct-price { white-space: nowrap; }
.ct-price-val {
  display: block;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--fg-1);
}
.ct-price-meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-4);
}

td.ct-time { font-family: var(--font-mono); font-size: 13px; color: var(--fg-2); white-space: nowrap; }
td.ct-cat  { font-size: 13px; color: var(--fg-3); white-space: nowrap; }

td.ct-cta { width: 44px; text-align: right; }
.ct-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--fg-3);
  text-decoration: none;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease, transform 200ms ease;
}
tr.ct-row:hover .ct-link {
  background: rgba(34,211,238,0.12);
  border-color: rgba(34,211,238,0.40);
  color: var(--accent-cyan);
  transform: translateX(2px);
}

@media (max-width: 720px) {
  .compare-table-services thead { display: none; }
  .compare-table-services tbody tr.ct-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    padding: 14px 16px;
  }
  .compare-table-services td { padding: 0; border: none; }
  td.ct-name { grid-column: 1 / 2; min-width: 0; order: 1; }
  td.ct-cta  { grid-column: 2 / 3; grid-row: 1; order: 2; align-self: start; }
  td.ct-price, td.ct-time, td.ct-cat {
    grid-column: 1 / -1;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--fg-4);
    margin-top: 4px;
  }
  td.ct-price::before { content: 'ОТ '; color: var(--fg-5); margin-right: 4px; }
  td.ct-time::before  { content: 'СРОК '; color: var(--fg-5); margin-right: 4px; }
  td.ct-cat::before   { content: 'КАТ. '; color: var(--fg-5); margin-right: 4px; }
}

/* Calculator — соберите свой пакет */
.services-calculator { padding: 24px 0 56px; }
.services-calculator .kicker { display: inline-block; margin-bottom: 12px; }
.services-calculator .section-title {
  font-family: var(--font-display-alt, var(--font-sans));
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.services-calculator .section-sub { max-width: 720px; margin-bottom: 28px; }

.calc-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 24px;
  align-items: start;
}
.calc-list {
  display: flex; flex-direction: column;
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  overflow: hidden;
}
.calc-item {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-faint);
  cursor: pointer;
  transition: background 200ms ease;
}
.calc-item:last-child { border-bottom: none; }
.calc-item:hover { background: rgba(34,211,238,0.04); }
.calc-item.is-active { background: rgba(34,211,238,0.06); }
.calc-cb {
  appearance: none;
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  background: var(--bg-elevated);
  position: relative;
  transition: border-color 200ms ease, background 200ms ease;
  flex-shrink: 0;
}
.calc-cb:checked {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
}
.calc-cb:checked::after {
  content: '';
  position: absolute;
  top: 4px; left: 7px;
  width: 5px; height: 10px;
  border: solid #06080e;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.calc-cb:disabled { cursor: default; opacity: 0.7; }
.calc-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.calc-name { font-size: 15px; color: var(--fg-1); font-weight: 500; line-height: 1.3; }
.calc-desc { font-size: 12px; color: var(--fg-4); line-height: 1.45; }
.calc-price {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-3);
  white-space: nowrap;
  text-align: right;
}

.calc-summary {
  position: sticky; top: 110px;
  padding: 22px 22px 18px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(34,211,238,0.08), transparent 60%),
    var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  box-shadow: var(--inset-top), 0 14px 30px rgba(0,0,0,0.35);
}
.calc-result { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.cr-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--fg-4);
  text-transform: uppercase;
}
.cr-sum {
  font-family: var(--font-mono);
  font-size: clamp(24px, 2.6vw, 34px);
  color: var(--fg-1);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.cr-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.calc-cta { width: 100%; justify-content: center; }
.calc-fine { font-size: 12px; color: var(--fg-4); margin: 12px 0 0; line-height: 1.5; text-align: center; }

@media (max-width: 980px) {
  .calc-wrap { grid-template-columns: 1fr; gap: 16px; }
  .calc-summary { position: static; }
}
@media (max-width: 720px) {
  .calc-item { grid-template-columns: 22px 1fr; row-gap: 6px; padding: 14px 16px; }
  .calc-price { grid-column: 2 / 3; text-align: left; }
}

/* Trust strip */
.services-trust { padding: 24px 0 0; }
.trust-strip {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  background:
    linear-gradient(135deg, rgba(34,211,238,0.04) 0%, rgba(167,139,250,0.04) 100%),
    var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
}
.trust-stat { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.trust-stat .trust-val {
  font-family: var(--font-mono);
  font-size: clamp(22px, 2.4vw, 32px);
  color: var(--fg-1);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.trust-stat .trust-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--fg-4);
}
.trust-divider {
  width: 1px;
  height: 32px;
  background: var(--border-subtle);
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .trust-strip { flex-wrap: wrap; gap: 16px; padding: 18px 20px; }
  .trust-divider { display: none; }
  .trust-stat { flex: 1 1 calc(50% - 16px); }
}

/* Cost factors на single-service */
.service-cost-lead { font-size: 16px; color: var(--fg-3); margin: 0 0 24px; line-height: 1.55; }
.cost-factors {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.cost-factor {
  padding: 22px 20px;
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  position: relative;
  transition: border-color 240ms ease, transform 240ms ease;
}
.cost-factor:hover { border-color: rgba(34,211,238,0.30); transform: translateY(-2px); }
.cost-factor .cf-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}
.cost-factor h4 {
  font-size: 17px;
  font-weight: 500;
  color: var(--fg-1);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.cost-factor p {
  font-size: 14px;
  color: var(--fg-3);
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 720px) {
  .cost-factors { grid-template-columns: 1fr; gap: 12px; }
}

/* Bundles */
.services-bundles {
  padding: 32px 0 48px;
  position: relative;
}
.services-bundles .kicker { display: inline-block; margin-bottom: 12px; }
.services-bundles .section-title {
  font-family: var(--font-display-alt, var(--font-sans));
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.services-bundles .section-sub { max-width: 720px; margin-bottom: 32px; }

.bundles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.bundle-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 28px 26px;
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  box-shadow: var(--inset-top), 0 12px 28px rgba(0,0,0,0.30);
  transition: transform 320ms cubic-bezier(0.22,1,0.36,1), border-color 240ms ease, box-shadow 320ms cubic-bezier(0.22,1,0.36,1);
}
.bundle-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.16);
  box-shadow: var(--inset-top), 0 20px 48px rgba(0,0,0,0.45);
}
.bundle-card.is-featured {
  border-color: rgba(167,139,250,0.40);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(167,139,250,0.10), transparent 60%),
    var(--bg-raised);
  box-shadow: var(--inset-top), 0 18px 40px rgba(0,0,0,0.40), 0 0 30px rgba(167,139,250,0.10);
}
.bundle-featured-badge {
  position: absolute;
  top: -10px; left: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet));
  color: #06080e;
  border-radius: var(--r-pill);
  font-weight: 500;
}

.bundle-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.bundle-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--accent-cyan);
}
.bundle-cyan    .bundle-icon { color: var(--accent-cyan);    border-color: rgba(34,211,238,0.30); background: rgba(34,211,238,0.06); }
.bundle-violet  .bundle-icon { color: var(--accent-violet);  border-color: rgba(167,139,250,0.30); background: rgba(167,139,250,0.06); }
.bundle-magenta .bundle-icon { color: var(--accent-magenta); border-color: rgba(244,114,182,0.30); background: rgba(244,114,182,0.06); }

.bundle-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-pill);
  color: var(--fg-3);
}
.bundle-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  color: var(--fg-1);
}
.bundle-desc { font-size: 14px; line-height: 1.55; color: var(--fg-3); margin: 0 0 18px; }

.bundle-items {
  list-style: none; padding: 0; margin: 0 0 22px;
  display: flex; flex-direction: column; gap: 8px;
  border-top: 1px solid var(--border-faint);
  padding-top: 16px;
}
.bundle-items li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; color: var(--fg-2);
}
.bundle-items li i { color: var(--accent-cyan); margin-top: 3px; flex-shrink: 0; }
.bundle-violet  .bundle-items li i { color: var(--accent-violet); }
.bundle-magenta .bundle-items li i { color: var(--accent-magenta); }

.bundle-price { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--border-faint); margin-bottom: 18px; }
.bp-main { display: flex; align-items: baseline; gap: 8px; }
.bp-from { font-family: var(--font-mono); font-size: 11px; color: var(--fg-4); text-transform: uppercase; letter-spacing: 0.14em; }
.bp-sum { font-family: var(--font-mono); font-size: 26px; color: var(--fg-1); font-weight: 500; }
.bp-meta { display: flex; gap: 10px; align-items: center; margin-top: 4px; }
.bp-orig {
  font-family: var(--font-mono); font-size: 12px; color: var(--fg-4);
  text-decoration: line-through;
}
.bp-discount {
  font-family: var(--font-mono); font-size: 11px;
  padding: 2px 8px;
  background: rgba(52,211,153,0.12);
  border: 1px solid rgba(52,211,153,0.30);
  border-radius: var(--r-pill);
  color: var(--success);
  letter-spacing: 0.04em;
}
.bp-time {
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-3);
  letter-spacing: 0.10em; text-transform: uppercase;
  margin-top: 8px;
}
.bundle-cta { width: 100%; justify-content: center; }

@media (max-width: 980px) {
  .bundles-grid { grid-template-columns: 1fr; gap: 14px; }
  .bundle-card { padding: 24px 22px; }
}

/* Grouped grid */
.services-archive-body { padding: 56px 0 60px; }
.services-group { margin-bottom: 64px; }
.services-group:last-child { margin-bottom: 0; }
.services-group-title {
  display: flex; align-items: baseline; gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  font-weight: 500;
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}
.services-group-count {
  font-size: 11px;
  color: var(--fg-4);
  background: var(--bg-raised);
  padding: 2px 8px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-subtle);
}

.services-bottom-cta { padding: 60px 0 100px; }

@media (max-width: 720px) {
  .services-archive-hero { padding-top: 110px; }
  .services-cat-filter { gap: 6px; }
  .cat-pill { padding: 7px 12px; font-size: 11px; }
}

/* ================= SERVICE SINGLE V2 ================= */
.service-hero {
  padding-top: 140px;
  padding-bottom: 32px;
  position: relative;
}
.service-hero .kicker { display: inline-block; margin-bottom: 16px; }
.service-title {
  font-family: var(--font-display-alt, var(--font-sans));
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg-1);
  margin: 0 0 20px;
  max-width: 880px;
}
.service-lead {
  font-size: 19px; line-height: 1.5; color: var(--fg-3);
  max-width: 780px; margin: 0 0 32px;
  text-wrap: pretty;
}

.service-meta {
  display: flex; gap: 24px; align-items: center; flex-wrap: wrap;
  padding: 22px 0; margin: 24px 0 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.service-meta .sm-item { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.service-meta .sm-lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; color: var(--fg-4); text-transform: uppercase; }
.service-meta .sm-val { font-size: 16px; color: var(--fg-1); font-weight: 500; }
.service-meta .sm-cta { margin-left: auto; }

/* Body 2-column layout */
.service-body-section { padding-top: 56px; padding-bottom: 80px; }
.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 56px;
  align-items: flex-start;
}
.service-main { min-width: 0; }
.service-section-block { margin-bottom: 56px; }
.service-section-block:last-child { margin-bottom: 0; }
.service-section-block h2 {
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--fg-1);
  margin: 0 0 20px;
}
.service-main .post-body p { font-size: 16px; line-height: 1.65; color: var(--fg-2); margin: 0 0 16px; }
.service-includes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.service-includes li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--fg-2); }
.service-includes li i { color: var(--accent-cyan); margin-top: 4px; flex-shrink: 0; }
.service-forwhom { font-size: 17px; line-height: 1.6; color: var(--fg-2); }

/* Sticky aside */
.service-aside {
  position: sticky; top: 110px;
  display: flex; flex-direction: column; gap: 16px;
}
.aside-card {
  padding: 24px;
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  box-shadow: var(--inset-top), 0 14px 30px rgba(0,0,0,0.35);
}
.aside-cta-card .aside-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 10px;
  background: rgba(52,211,153,0.10);
  border: 1px solid rgba(52,211,153,0.25);
  border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 10px; color: var(--fg-2);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 16px;
}
.aside-cta-card .aside-eyebrow .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 8px var(--success);
  animation: pulse 2.4s ease-in-out infinite;
}
.aside-cta-card h3 { font-size: 22px; font-weight: 500; color: var(--fg-1); margin: 0 0 8px; }
.aside-cta-card p { font-size: 14px; line-height: 1.5; color: var(--fg-3); margin: 0 0 18px; }

.aside-related-services { padding: 20px; }
.aside-rel-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin: 0 0 14px;
  font-weight: 500;
}
.aside-rel-list { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 2px; }
.aside-rel-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  grid-template-areas:
    'tag   arrow'
    'name  price';
  column-gap: 12px;
  row-gap: 4px;
  padding: 12px 10px;
  margin: 0 -10px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 200ms ease;
}
.aside-rel-link:hover { background: rgba(34,211,238,0.06); }
.aside-rel-link:hover i { color: var(--accent-cyan); transform: translateX(2px); }
.aside-rel-tag {
  grid-area: tag;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-4);
}
.aside-rel-name { grid-area: name; font-size: 14px; color: var(--fg-1); font-weight: 500; line-height: 1.3; }
.aside-rel-price {
  grid-area: price;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  text-align: right;
}
.aside-rel-link i { grid-area: arrow; align-self: center; color: var(--fg-4); transition: color 200ms ease, transform 200ms ease; }
.aside-rel-all {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
  text-decoration: none;
  padding-top: 12px;
  border-top: 1px solid var(--border-faint);
  width: 100%;
  transition: color 200ms ease;
}
.aside-rel-all:hover { color: var(--accent-cyan); }

.aside-stats-card { display: grid; grid-template-columns: 1fr; gap: 14px; }
.aside-stat { display: flex; flex-direction: column; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--border-faint); }
.aside-stat:last-child { border-bottom: none; padding-bottom: 0; }
.aside-stat .as-val { font-family: var(--font-mono); font-size: 17px; color: var(--fg-1); font-weight: 500; }
.aside-stat .as-lbl { font-size: 12px; color: var(--fg-4); }

/* «Часто заказывают вместе» */
.service-companions { padding: 64px 0 64px; border-top: 1px solid var(--border-subtle); }
.service-companions .kicker { display: inline-block; margin-bottom: 12px; }
.service-companions .section-title {
  font-family: var(--font-display-alt, var(--font-sans));
  font-size: clamp(26px, 2.8vw, 38px);
  margin: 0 0 12px;
  letter-spacing: -0.015em;
}
.service-companions .section-sub { max-width: 720px; margin-bottom: 28px; }

.companions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.companion-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 22px 22px 60px;
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
  transition: transform 320ms cubic-bezier(0.22,1,0.36,1), border-color 240ms ease, box-shadow 320ms cubic-bezier(0.22,1,0.36,1);
}
.companion-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34,211,238,0.30);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45), 0 0 24px rgba(34,211,238,0.10);
}
.cc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cc-tag {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-cyan);
}
.cc-num {
  font-family: var(--font-mono); font-size: 24px; color: var(--fg-5);
  font-weight: 500; line-height: 1;
}
.cc-title { font-size: 18px; font-weight: 500; color: var(--fg-1); margin: 0 0 8px; line-height: 1.25; letter-spacing: -0.01em; }
.cc-desc { font-size: 13px; color: var(--fg-3); margin: 0 0 16px; line-height: 1.55; }
.cc-foot {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-4); letter-spacing: 0.10em; text-transform: uppercase;
  margin-top: auto;
}
.cc-price { color: var(--fg-2); }
.cc-arrow {
  position: absolute;
  bottom: 18px; right: 18px;
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(34,211,238,0.08);
  border: 1px solid rgba(34,211,238,0.20);
  color: var(--accent-cyan);
  opacity: 0; transform: translateX(-4px);
  transition: opacity 240ms ease, transform 240ms ease;
}
.companion-card:hover .cc-arrow { opacity: 1; transform: translateX(0); }

@media (max-width: 980px) {
  .companions-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .companions-grid { grid-template-columns: 1fr; }
}

/* Related cases */
.service-related {
  padding: 80px 0 60px;
  border-top: 1px solid var(--border-subtle);
}
.service-related .kicker { display: inline-block; margin-bottom: 12px; }
.service-related .section-title { margin-bottom: 32px; }
.service-related .case-excerpt { font-size: 14px; color: var(--fg-3); margin: 8px 0 0; }

/* Сетка related-кейсов: адаптивная — 1 кейс центрируется, 2 рядом,
   3+ заполняют ширину. Минимальная ширина карточки 320px. */
.service-related .cases-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 380px));
  justify-content: center;
  gap: 16px;
  margin-top: 0;
}
.service-related .case-card {
  display: flex; flex-direction: column;
  padding: 24px 22px;
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  /* hover-эффект унаследован от общего правила .case-card:hover внизу файла */
}
.service-related .case-card .tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 10px;
}
.service-related .case-card h4 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg-1);
  margin: 0 0 10px;
  line-height: 1.3;
}
.service-related .case-card .kpi {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-cyan);
  margin: 0 0 8px;
  letter-spacing: 0.04em;
}
.service-related .case-card .case-live {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px;
  padding: 5px 10px 5px 8px;
  background: rgba(52,211,153,0.08);
  border: 1px solid rgba(52,211,153,0.25);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--success);
  align-self: flex-start;
}
.service-related .case-card .cl-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px rgba(52,211,153,0.6);
  animation: pulse 2.4s ease-in-out infinite;
}

/* Final CTA */
.service-final-cta { padding: 60px 0 100px; }
.final-cta-card {
  padding: 48px 40px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(34,211,238,0.10), transparent 60%),
    radial-gradient(120% 140% at 100% 100%, rgba(167,139,250,0.10), transparent 60%),
    var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  text-align: center;
  box-shadow: var(--inset-top), 0 24px 60px rgba(0,0,0,0.4);
}
.final-cta-card h2 {
  font-family: var(--font-display-alt, var(--font-sans));
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg-1);
  margin: 0 0 12px;
}
.final-cta-card p { font-size: 17px; color: var(--fg-3); margin: 0 0 28px; max-width: 600px; margin-left: auto; margin-right: auto; }
.final-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Глобальный sticky CTA-bar для всех страниц (кроме single-service) */
.global-mobile-bar {
  display: none;
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 50;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 8px;
  background: rgba(10,13,20,0.92);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-pill);
  box-shadow: 0 18px 40px rgba(0,0,0,0.5), var(--inset-top);
  transform: translateY(110%);
  transition: transform 360ms cubic-bezier(0.22,1,0.36,1);
}
.global-mobile-bar.is-visible { transform: translateY(0); }
.global-mobile-bar .gmb-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--fg-2);
  text-decoration: none;
  flex-shrink: 0;
  transition: border-color 200ms ease, color 200ms ease;
}
.global-mobile-bar .gmb-btn:hover { border-color: rgba(34,211,238,0.30); color: var(--accent-cyan); }
.global-mobile-bar .gmb-cta { flex: 1; justify-content: center; padding: 10px 14px; }

@media (max-width: 720px) {
  .global-mobile-bar { display: flex; }
  body.has-global-mobile-bar { padding-bottom: 76px; }
}

/* Sticky mobile CTA bar — внизу экрана на single-service */
.service-mobile-bar {
  display: none;
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 50;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 16px;
  background: rgba(10,13,20,0.92);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-pill);
  box-shadow: 0 18px 40px rgba(0,0,0,0.5), var(--inset-top);
  transform: translateY(110%);
  transition: transform 360ms cubic-bezier(0.22,1,0.36,1);
}
.service-mobile-bar.is-visible { transform: translateY(0); }
.smb-meta {
  display: flex; flex-direction: column; gap: 2px; min-width: 0;
}
.smb-price {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--fg-1);
  font-weight: 500;
  white-space: nowrap;
}
.smb-time {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-4);
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.smb-cta { margin-left: auto; padding: 10px 14px; flex-shrink: 0; }

@media (max-width: 720px) {
  .service-mobile-bar { display: flex; }
  body.has-mobile-bar { padding-bottom: 80px; }
}

/* Mobile */
@media (max-width: 980px) {
  .service-layout { grid-template-columns: 1fr; gap: 40px; }
  .service-aside { position: static; order: -1; flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .service-aside .aside-card { flex: 1 1 280px; }
  .aside-stats-card { grid-template-columns: repeat(3, 1fr); }
  .aside-stat { border-bottom: none; padding-bottom: 0; padding-right: 12px; border-right: 1px solid var(--border-faint); }
  .aside-stat:last-child { border-right: none; padding-right: 0; }
}
@media (max-width: 720px) {
  .service-hero { padding-top: 110px; }
  .service-meta .sm-cta { margin-left: 0; width: 100%; justify-content: center; }
  .service-includes { grid-template-columns: 1fr; }
  .aside-stats-card { grid-template-columns: 1fr; gap: 14px; }
  .aside-stat { border-right: none; padding-right: 0; padding-bottom: 12px; border-bottom: 1px solid var(--border-faint); }
  .aside-stat:last-child { border-bottom: none; padding-bottom: 0; }
  .final-cta-card { padding: 32px 22px; }
}

/* Compare table */
.compare-table { margin-top: 32px; overflow-x: auto; border: 1px solid var(--border-subtle); border-radius: var(--r-md); background: var(--bg-raised); }
.compare-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-table th, .compare-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border-subtle); }
.compare-table thead th { background: var(--bg-sunken); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); }
.compare-table tbody th { font-weight: 500; color: var(--fg-2); width: 220px; }
.compare-table tbody td { color: var(--fg-2); }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: none; }
.ct-good { color: var(--accent-cyan); font-weight: 600; }
.ct-mid  { color: var(--warning); font-weight: 600; }
.ct-bad  { color: var(--danger); font-weight: 600; }
.compare-cta { margin-top: 32px; padding: 24px; background: var(--bg-raised); border: 1px solid var(--border-subtle); border-radius: var(--r-md); display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.compare-cta p { margin: 0; flex: 1 1 320px; color: var(--fg-2); }

/* Detailed process page */
.process-detailed { list-style: none; padding: 0; margin: 48px 0 0; counter-reset: pd; }
.process-detailed .step-item { display: flex; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--border-subtle); }
.process-detailed .step-item:last-child { border-bottom: none; }
.process-detailed .step-num { font-family: var(--font-mono); font-weight: 300; font-size: 56px; color: var(--accent-cyan); line-height: 1; flex-shrink: 0; min-width: 80px; }
.process-detailed .step-dur { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--fg-4); text-transform: uppercase; display: inline-block; margin-bottom: 4px; }
.process-detailed .step-body h3 { font-size: 22px; color: var(--fg-1); margin: 0 0 8px; font-weight: 500; letter-spacing: -0.01em; }
.process-detailed .step-body p { font-size: 15px; color: var(--fg-3); line-height: 1.55; margin: 0; }

/* Blog sidebar layout */
.blog-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; margin-top: 56px; }
.blog-sidebar h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--fg-3); text-transform: uppercase; margin: 0 0 12px; font-weight: 500; }
.blog-cats, .blog-recent { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.blog-cats a { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; color: var(--fg-2); text-decoration: none; border-radius: var(--r-sm); font-size: 14px; transition: all var(--dur-base); }
.blog-cats a:hover { background: var(--glass-1); color: var(--fg-1); }
.blog-cats .is-active a { background: rgba(34,211,238,0.08); color: var(--accent-cyan); }
.blog-cats .cat-count { font-family: var(--font-mono); font-size: 11px; color: var(--fg-4); }
.blog-recent a { color: var(--fg-3); text-decoration: none; font-size: 13px; line-height: 1.4; padding: 4px 0; display: block; transition: color var(--dur-base); }
.blog-recent a:hover { color: var(--accent-cyan); }
@media (max-width: 720px) { .blog-layout { grid-template-columns: 1fr; gap: 24px; } }

/* Testimonials */
.testimonials-section { padding: 96px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.testimonial { margin: 0; padding: 28px 26px; background: var(--bg-raised); border: 1px solid var(--border-subtle); border-radius: var(--r-md); }
.testimonial blockquote { margin: 0 0 18px; font-size: 16px; color: var(--fg-1); line-height: 1.55; font-style: italic; }
.testimonial figcaption { display: flex; flex-direction: column; gap: 2px; padding-top: 16px; border-top: 1px solid var(--border-subtle); }
.testimonial figcaption strong { font-size: 14px; color: var(--fg-1); font-weight: 500; }
.testimonial figcaption span { font-family: var(--font-mono); font-size: 11px; color: var(--fg-4); letter-spacing: 0.06em; text-transform: uppercase; }
@media (max-width: 980px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* Contacts page */
.contacts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 56px 0 64px; }
.contact-card { display: flex; flex-direction: column; gap: 10px; padding: 28px 26px; background: var(--bg-raised); border: 1px solid var(--border-subtle); border-radius: var(--r-md); color: inherit; text-decoration: none; transition: all var(--dur-base); }
.contact-card:hover { border-color: var(--border); background: var(--bg-elevated); }
.contact-card .cc-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(34,211,238,0.08); border: 1px solid rgba(34,211,238,0.25); color: var(--accent-cyan); display: flex; align-items: center; justify-content: center; }
.contact-card h3 { font-size: 18px; color: var(--fg-1); margin: 0; font-weight: 500; }
.contact-card p { font-size: 14px; color: var(--fg-3); margin: 0; flex: 1; line-height: 1.5; }
.contact-card .cc-link { font-family: var(--font-mono); font-size: 11px; color: var(--accent-cyan); letter-spacing: 0.08em; text-transform: uppercase; }
.contacts-info h2 { font-size: 22px; color: var(--fg-1); margin: 32px 0 12px; font-weight: 500; }
@media (max-width: 980px) { .contacts-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Landing-specific additions for «сделано чисто» studio site
   Consumes tokens from colors_and_type.css + marketing.css
   ========================================================================== */

/* Подсветка <mark> в результатах поиска */
mark {
  background: rgba(34,211,238,0.18);
  color: var(--accent-cyan-soft);
  padding: 0 3px; border-radius: 3px;
  font-weight: 500;
}

/* Logo wordmark — крупный, ширина авто; SVG приходит с inline width/height */
.brand-wordmark { display: inline-flex; align-items: center; line-height: 0; color: var(--fg-1); text-decoration: none; }
.site-nav .brand-wordmark .sdc-logo-wordmark { display: block; height: 36px; width: auto; }
.footer-brand .brand-wordmark .sdc-logo-wordmark { display: block; height: 44px; width: auto; }
/* Скрываем span.name если оставлен где-то — wordmark уже содержит текст */
.brand .name { display: none; }
/* Шапка чуть выше под бо́льший логотип */
.site-nav { padding-top: 8px; padding-bottom: 8px; }

/* ===== A11Y ===== */

/* Skip link для клавиатурной навигации */
.skip-link {
  position: absolute; top: -40px; left: 8px;
  background: var(--accent-cyan); color: var(--btn-primary-fg);
  padding: 8px 16px; border-radius: var(--r-sm);
  font-weight: 500; font-size: 13px;
  z-index: 1000; text-decoration: none;
  transition: top var(--dur-base);
}
.skip-link:focus { top: 8px; }

/* Унифицированный focus-visible для интерактивных элементов */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.arc-node:focus-visible .arc-ico,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

/* prefers-reduced-motion: убираем decorative-анимации, оставляем только функциональные transitions */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  /* Pulse, strike-draw, bar-grow — отключаем полностью */
  .pulse, .step-pulse, .pulse-s, .status-dot { animation: none !important; }
  .strike-svg path, .pp-bar-fill { animation: none !important; }
}

/* Utility: monochrome neutral hairline grid inside surfaces */
.hair-grid {
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* Section divider kicker with trailing hairline */
.kicker-row {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 28px;
}
.kicker-row .rule {
  flex: 1; height: 1px; background: var(--border-subtle);
}

/* ================= AUDIENCE ================= */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-top: 56px;
}
.audience-cell {
  padding: 28px 26px 32px;
  background: var(--bg-base);
  display: flex; flex-direction: column; gap: 10px;
  min-height: 180px;
  transition: background var(--dur-base);
}
.audience-cell:hover { background: var(--bg-raised); }
.audience-cell .idx {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
  color: var(--fg-4); text-transform: uppercase;
}
.audience-cell h4 {
  font-family: var(--font-sans); font-weight: 500; font-size: 18px;
  color: var(--fg-1); margin: 0; letter-spacing: -0.01em;
}
.audience-cell p {
  font-size: 14px; color: var(--fg-3); margin: 0; line-height: 1.55;
}
.audience-cell .icon-wrap {
  width: 32px; height: 32px; border-radius: var(--r-sm);
  background: var(--glass-2); border: 1px solid var(--border-subtle);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent-cyan); margin-bottom: 8px;
}

/* ================= SERVICES ================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.service {
  position: relative;
  padding: 24px 22px 22px;
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  display: flex; flex-direction: column; gap: 12px;
  min-height: 180px;
  transition: border-color var(--dur-base), background var(--dur-base);
}
.service:hover { border-color: var(--border); background: var(--bg-elevated); }
.service .tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent-cyan);
  display: inline-flex; align-items: center; gap: 8px;
}
.service .tag::before {
  content: ""; width: 14px; height: 1px; background: var(--accent-cyan);
  box-shadow: 0 0 4px var(--accent-cyan);
}
.service h4 {
  font-family: var(--font-sans); font-weight: 500; font-size: 19px;
  color: var(--fg-1); margin: 0; letter-spacing: -0.01em; line-height: 1.25;
}
.service p {
  font-size: 14px; color: var(--fg-3); margin: 0; line-height: 1.55;
}
.service .foot {
  margin-top: auto; padding-top: 12px;
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-4);
  letter-spacing: 0.1em; text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: center;
}

/* Кликабельные карточки услуг (когда CPT-источник доступен) */
a.service.service-linked {
  text-decoration: none; color: inherit;
  cursor: pointer;
}
a.service.service-linked:hover {
  border-color: rgba(34,211,238,0.35);
  background: var(--bg-elevated);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.4), 0 0 18px rgba(34,211,238,0.10);
}
.service-arrow {
  position: absolute;
  top: 18px; right: 18px;
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(34,211,238,0.08);
  border: 1px solid rgba(34,211,238,0.20);
  color: var(--accent-cyan);
  opacity: 0; transform: translate(4px, -4px);
  transition: opacity 240ms ease, transform 240ms ease, background 240ms ease;
}
a.service.service-linked:hover .service-arrow {
  opacity: 1; transform: translate(0, 0);
  background: rgba(34,211,238,0.18);
}

/* Bottom-link «Все услуги» */
.services-bottom { margin-top: 40px; display: flex; justify-content: center; }
.services-all-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-2); text-decoration: none;
  transition: all 240ms ease;
}
.services-all-link:hover {
  border-color: rgba(34,211,238,0.40);
  color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
}
.services-all-link:hover i { transform: translateX(3px); }
.services-all-link i { transition: transform 200ms ease; }

/* ================= "ЧИСТО" PILLARS ================= */
/* Чередующаяся ширина по строкам:
   ряд 1 — левый широкий (7/5), ряд 2 — правый широкий (5/7), и т. д.
   Используем 12-колоночную сетку и grid-column: span N. */
.pillars {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.pillar:nth-child(4n+1) { grid-column: span 7; } /* row 1 left  → шире */
.pillar:nth-child(4n+2) { grid-column: span 5; } /* row 1 right → уже */
.pillar:nth-child(4n+3) { grid-column: span 5; } /* row 2 left  → уже */
.pillar:nth-child(4n+4) { grid-column: span 7; } /* row 2 right → шире */
.pillar {
  position: relative;
  padding: 32px 28px 30px;
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 200ms cubic-bezier(0.22,1,0.36,1), background 200ms cubic-bezier(0.22,1,0.36,1);
}
.pillar:hover {
  border-color: var(--border-accent, rgba(34,211,238,0.3));
  background: linear-gradient(180deg, rgba(34,211,238,0.03), transparent 60%), var(--bg-raised);
}
.pillar-head {
  display: flex; align-items: center; justify-content: space-between;
}
.pillar .mark {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-sunken);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent-cyan);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.pillar .n {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent-cyan);
}
.pillar h4 {
  font-family: var(--font-sans); font-weight: 500; font-size: 22px;
  color: var(--fg-1); margin: 0; letter-spacing: -0.02em;
  line-height: 1.15;
}
.pillar p {
  font-size: 15px; color: var(--fg-3); margin: 0; line-height: 1.55;
  text-wrap: pretty;
}

/* ================= PAIN / SOLUTION SPLIT ================= */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 56px;
}
.split-col {
  background: var(--bg-base);
  padding: 36px 32px 40px;
  display: flex; flex-direction: column; gap: 18px;
}
.split-col.problems { background: var(--bg-sunken); }
.split-col h3 {
  font-family: var(--font-sans); font-weight: 400; font-size: 26px;
  color: var(--fg-1); margin: 0 0 4px; letter-spacing: -0.015em;
}
.split-col .col-kicker {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
}
.split-col.problems .col-kicker { color: var(--fg-4); }
.split-col.solutions .col-kicker { color: var(--accent-cyan); }
.split-col .col-kicker::before {
  content: ""; width: 16px; height: 1px;
  background: currentColor; opacity: 0.7;
}
.pair-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
  border-top: 1px solid var(--border-subtle);
}
.pair-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 15px; line-height: 1.5;
  display: flex; gap: 12px; align-items: flex-start;
}
.pair-list li:last-child { border-bottom: none; }
.pair-list .bullet {
  flex-shrink: 0;
  font-family: var(--font-mono); font-size: 10px; color: var(--fg-4);
  width: 24px; padding-top: 4px; letter-spacing: 0.08em;
}
.problems .pair-list li { color: var(--fg-3); }
.problems .pair-list li::before {
  content: ""; width: 6px; height: 6px;
  background: var(--fg-5); margin-top: 9px; flex-shrink: 0;
  border-radius: 1px;
}
.solutions .pair-list li { color: var(--fg-2); }
.solutions .pair-list li .check {
  flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent-cyan);
}
.solutions .pair-list li strong {
  color: var(--fg-1); font-weight: 500; display: block; margin-bottom: 2px;
  letter-spacing: -0.005em;
}
.solutions .pair-list li .sub {
  color: var(--fg-3); font-size: 14px;
}

/* ================= PROCESS ================= */
.process {
  margin-top: 56px;
  position: relative;
}
.process-rail {
  position: absolute; top: 18px; left: 0; right: 0; height: 1px;
  background: var(--border-subtle);
}
.process-rail::before {
  content: ""; position: absolute; left: 0; top: 0; height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), transparent 85%);
  opacity: 0.5;
  box-shadow: 0 0 8px rgba(34,211,238,0.4);
}
.process-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  position: relative;
}
.step {
  padding: 0; display: flex; flex-direction: column; gap: 14px;
}
.step .dot {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  color: var(--fg-2);
  font-variant-numeric: tabular-nums;
  position: relative; z-index: 1;
}
.step:first-child .dot {
  background: var(--accent-cyan); color: var(--btn-primary-fg);
  border-color: transparent;
  box-shadow: var(--glow-cyan);
}
.step h5 {
  font-family: var(--font-sans); font-weight: 500; font-size: 15px;
  color: var(--fg-1); margin: 0; letter-spacing: -0.005em;
}
.step p {
  font-size: 13px; color: var(--fg-3); margin: 0; line-height: 1.5;
}
.step .dur {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-4);
  padding-top: 6px; border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

/* Pricing trust strip — 4 метрики проекта над матрицей тарифов */
.pricing-trust {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  margin: 24px auto 32px;
  max-width: 720px;
  background:
    linear-gradient(135deg, rgba(34,211,238,0.05) 0%, rgba(167,139,250,0.04) 100%),
    var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
}
.pt-stat { display: flex; flex-direction: column; gap: 2px; align-items: center; min-width: 0; }
.pt-stat .pt-val {
  font-family: var(--font-mono);
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--fg-1);
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.pt-stat .pt-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--fg-4);
  white-space: nowrap;
}
.pt-divider { width: 1px; height: 28px; background: var(--border-subtle); flex-shrink: 0; }
@media (max-width: 720px) {
  .pricing-trust { flex-wrap: wrap; gap: 14px; padding: 18px 18px; }
  .pt-divider { display: none; }
  .pt-stat { flex: 1 1 calc(50% - 14px); }
}

/* ================= PRICING MATRIX (сравнительная таблица) ================= */
.pricing-matrix-wrap {
  margin-top: 56px;
  padding: 32px 8px 8px;
}
.pricing-matrix-title {
  font-family: var(--font-display-alt, var(--font-sans));
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.015em;
  color: var(--fg-1);
  margin: 0 0 8px;
}
.pricing-matrix-sub { color: var(--fg-3); font-size: 14px; margin: 0 0 20px; max-width: 680px; }

.pricing-matrix {
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--inset-top), 0 12px 24px rgba(0,0,0,0.30);
}
.pricing-matrix table { width: 100%; border-collapse: collapse; }
.pricing-matrix thead th {
  padding: 16px 18px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
  font-weight: 500;
  vertical-align: middle;
}
.pricing-matrix th.pm-feature {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-4);
}
.pricing-matrix th.pm-tier {
  width: 22%;
  display: table-cell;
  position: relative;
}
.pricing-matrix th.pm-tier .pm-tier-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--accent-cyan);
  margin-bottom: 2px;
}
.pricing-matrix th.pm-tier .pm-tier-name {
  font-size: 16px;
  color: var(--fg-1);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.pricing-matrix th.pm-tier-featured {
  background: rgba(34,211,238,0.06);
  border-bottom-color: rgba(34,211,238,0.30);
}
.pricing-matrix th.pm-tier-featured .pm-tier-badge {
  position: absolute;
  top: 14px; right: 14px;
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
  color: #06080e;
  font-size: 12px;
  font-weight: 600;
}
.pricing-matrix tbody tr { border-bottom: 1px solid var(--border-faint); }
.pricing-matrix tbody tr:last-child { border-bottom: none; }
.pricing-matrix td {
  padding: 14px 18px;
  font-size: 14px;
  color: var(--fg-2);
  vertical-align: middle;
}
.pricing-matrix td.pm-feature {
  color: var(--fg-3);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  width: 28%;
}
.pricing-matrix td.pm-cell-featured { background: rgba(34,211,238,0.04); }
.pricing-matrix td.pm-yes { color: var(--accent-cyan); font-size: 18px; font-weight: 600; }
.pricing-matrix td.pm-no  { color: var(--fg-5); }
.pricing-matrix tr.pm-row-total td {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  padding-top: 18px; padding-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--fg-1);
  font-weight: 500;
}
.pricing-matrix tr.pm-row-total td.pm-feature { color: var(--fg-3); font-size: 11px; }
.pricing-matrix tr.pm-row-total td.pm-cell-featured { background: rgba(34,211,238,0.10); color: var(--accent-cyan); }

.pricing-matrix-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding: 14px 18px;
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  flex-wrap: wrap;
}
.pricing-matrix-cta span { color: var(--fg-3); font-size: 14px; }
.pm-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-decoration: none;
  transition: gap 200ms ease;
}
.pm-link:hover { gap: 10px; }

@media (max-width: 720px) {
  /* Скрываем сравнительную матрицу на мобиле полностью —
     информация дублируется в карточках тарифов, которые уже
     адаптированы под узкий экран. Таблица 4×12 на 320px нечитаема. */
  .pricing-matrix-wrap { display: none; }
}

/* ================= PRICING ================= */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.price {
  position: relative;
  padding: 32px 28px 32px;
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column; gap: 20px;
  min-height: 560px;
  transition: border-color var(--dur-base);
}
.price:hover { border-color: var(--border); }
.price.feature-plan {
  background: linear-gradient(180deg, rgba(34,211,238,0.05), transparent 60%), var(--bg-raised);
  border-color: var(--border-accent);
  box-shadow: var(--glow-cyan-sm), var(--inset-top);
}
.price .head {
  display: flex; flex-direction: column; gap: 12px;
  padding-bottom: 20px; border-bottom: 1px solid var(--border-subtle);
}
.price .head .descr {
  flex: 1;
  min-height: 84px;
}
.price .tier {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--fg-3);
  display: flex; justify-content: space-between; align-items: center;
}
.price.feature-plan .tier { color: var(--accent-cyan); }
.price .tier .badge {
  font-family: var(--font-mono); font-size: 10px; padding: 3px 8px;
  background: rgba(34,211,238,0.12); color: var(--accent-cyan);
  border-radius: var(--r-pill); border: 1px solid var(--border-accent);
  letter-spacing: 0.12em;
}
.price h4 {
  font-family: var(--font-sans); font-weight: 400; font-size: 28px;
  color: var(--fg-1); margin: 0; letter-spacing: -0.02em;
}
.price .descr {
  font-size: 14px; color: var(--fg-3); margin: 0; line-height: 1.5;
}
.price .amount {
  font-family: var(--font-mono); font-weight: 400; font-size: 40px;
  color: var(--fg-1); font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em; line-height: 1; margin-top: 4px;
  display: flex; align-items: baseline; gap: 8px;
}
.price .amount .unit {
  font-size: 13px; color: var(--fg-4); font-weight: 400;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.price .amount .from {
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-4);
  letter-spacing: 0.14em; text-transform: uppercase; margin-right: 4px;
  align-self: center;
}
.price ul.incl {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.price ul.incl li {
  font-size: 14px; color: var(--fg-2); line-height: 1.45;
  display: flex; gap: 10px; align-items: flex-start;
}
.price ul.incl li i {
  color: var(--accent-cyan); flex-shrink: 0; margin-top: 3px;
}
.price .fit {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-4);
  letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.5;
}
.price .fit-label {
  color: var(--fg-3); display: block; margin-bottom: 4px;
}
.price .fit-body {
  font-family: var(--font-sans); font-size: 13px; color: var(--fg-2);
  letter-spacing: 0; text-transform: none; line-height: 1.5;
}
.price .btn {
  width: 100%; justify-content: center;
}

/* ================= SINGLE-CASE PAGE (Behance-style) ================= */
.case-page { color: var(--fg-1); }

/* HERO */
.case-hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
}
.case-hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
}
.cb-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}
.cb-glow-a { width: 540px; height: 540px; top: -160px; right: -120px; background: radial-gradient(circle, rgba(34,211,238,0.22) 0%, rgba(34,211,238,0) 70%); }
.cb-glow-b { width: 460px; height: 460px; bottom: -120px; left: -100px; background: radial-gradient(circle, rgba(167,139,250,0.18) 0%, rgba(167,139,250,0) 70%); }
.cb-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right,  rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.45) 0%, transparent 70%);
          mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.45) 0%, transparent 70%);
}
.case-hero-inner { position: relative; z-index: 1; }

.case-hero-meta { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 24px; }
.case-tag-pill {
  display: inline-flex; align-items: center;
  padding: 6px 14px;
  background: rgba(34,211,238,0.10);
  border: 1px solid rgba(34,211,238,0.30);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent-cyan);
  text-transform: uppercase;
}
.case-tag-pill-soft {
  background: rgba(255,255,255,0.04);
  border-color: var(--border-subtle);
  color: var(--fg-3);
}

.case-title {
  font-family: var(--font-display-alt, var(--font-sans));
  font-weight: 500;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--fg-1);
  margin: 0 0 24px;
  max-width: 1100px;
}
.case-lead {
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.55;
  color: var(--fg-3);
  max-width: 780px;
  margin: 0 0 36px;
  text-wrap: pretty;
}

.case-kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 32px 0;
  padding: 24px 28px;
  background:
    linear-gradient(135deg, rgba(34,211,238,0.04) 0%, rgba(167,139,250,0.04) 100%),
    var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
}
.case-kpi-item {
  display: flex; flex-direction: column; gap: 4px;
  padding-left: 16px;
  border-left: 2px solid rgba(34,211,238,0.40);
}
.ck-num {
  font-family: var(--font-mono);
  font-size: clamp(16px, 1.8vw, 22px);
  color: var(--fg-1);
  font-weight: 500;
  letter-spacing: -0.005em;
}

.case-live-cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  background: rgba(34,211,238,0.08);
  border: 1px solid rgba(34,211,238,0.30);
  border-radius: var(--r-pill);
  text-decoration: none;
  color: var(--fg-1);
  margin-top: 16px;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.case-live-cta:hover {
  background: rgba(34,211,238,0.15);
  border-color: rgba(34,211,238,0.50);
  transform: translateY(-2px);
}
.case-live-cta .clc-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
  animation: pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
.case-live-cta .clc-text {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--success);
}
.case-live-cta .clc-host {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-2);
  padding-left: 10px;
  margin-left: 2px;
  border-left: 1px solid var(--border-subtle);
}
.case-live-cta i { color: var(--accent-cyan); }

/* COVER IMAGE — classic (вне hero, центрированная карточка) */
.case-cover {
  margin: 0; padding: 0 24px 24px;
}
.case-cover-img {
  display: block;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), var(--inset-top);
}

/* COVER — full-bleed вариант (внутри .case-hero, до краёв viewport) */
.case-cover-bleed {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 56px 0 0;
  padding: 0;
}
.case-cover-bleed .case-cover-img {
  display: block;
  width: 100%;
  max-width: 1400px;     /* кап ширины — соответствует исходному размеру обложки */
  height: auto;          /* пропорциональная высота, без обрезки композиции */
  margin: 0 auto;        /* центрирование на широких мониторах */
  border-radius: 0;
  border: 0;
  box-shadow: none;
}
/* Когда внутри hero лежит full-bleed cover — убираем нижний padding hero,
 * чтобы изображение шло встык с глоу/grid-фоном. */
.case-hero:has(> .case-cover-bleed) { padding-bottom: 0; }

/* SECTIONS */
.case-section { padding: 64px 0; }
.case-section + .case-section { padding-top: 32px; }

/* Info row (стек, дата, сайт, категория) */
.case-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.case-info-block { display: flex; flex-direction: column; gap: 8px; }
.cib-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-4);
}
.cib-value {
  font-size: 16px;
  color: var(--fg-1);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.cib-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent-cyan);
  text-decoration: none;
  transition: gap 200ms ease;
}
.cib-link:hover { gap: 10px; }
.cib-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cib-chip {
  padding: 5px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-2);
  letter-spacing: 0.04em;
}

/* Story 3-chapter grid: задача/что сделано/результат */
.case-story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-chapter {
  position: relative;
  padding: 32px 28px;
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color 240ms ease, transform 240ms ease;
}
.case-chapter:hover { border-color: rgba(255,255,255,0.14); transform: translateY(-2px); }
.cc-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent-cyan);
}
.cc-title {
  font-family: var(--font-display-alt, var(--font-sans));
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.015em;
  color: var(--fg-1);
  margin: 0;
}
.cc-body { font-size: 15px; line-height: 1.6; color: var(--fg-2); margin: 0; }

.case-chapter-task   { border-top: 3px solid var(--accent-cyan); }
.case-chapter-done   { border-top: 3px solid var(--accent-violet); }
.case-chapter-result {
  border-top: 3px solid var(--success);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(52,211,153,0.04), transparent 60%),
    var(--bg-raised);
}

/* Narrative body — основной контент post_content */
.case-narrative {
  max-width: 760px;
  margin: 0 auto;
}
.case-narrative p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-2);
  margin: 0 0 22px;
}
.case-narrative h2, .case-narrative h3 {
  font-family: var(--font-display-alt, var(--font-sans));
  font-weight: 500;
  color: var(--fg-1);
  margin: 40px 0 16px;
}
.case-narrative h2 { font-size: clamp(24px, 2.4vw, 32px); }
.case-narrative h3 { font-size: clamp(18px, 1.8vw, 22px); }
.case-narrative img {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 32px 0;
  border-radius: var(--r-md);
  border: 1px solid var(--border-subtle);
}

/* LIVE CTA section */
.case-live-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  gap: 48px;
  align-items: center;
  padding: 48px 48px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(34,211,238,0.10), transparent 60%),
    radial-gradient(120% 140% at 0% 100%, rgba(167,139,250,0.08), transparent 60%),
    var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
}
.clc-art { padding: 0; }
.cla-window {
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--inset-top), 0 24px 60px rgba(0,0,0,0.5);
  transform: rotate(-1deg);
  transition: transform 300ms cubic-bezier(0.22,1,0.36,1);
}
.cla-window:hover { transform: rotate(0deg) translateY(-4px); }
.cla-dots {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-subtle);
}
.cla-dots span { width: 12px; height: 12px; border-radius: 50%; background: var(--fg-5); display: inline-block; }
.cla-dots span:nth-child(1) { background: #fb7185; }
.cla-dots span:nth-child(2) { background: #fbbf24; }
.cla-dots span:nth-child(3) { background: #34d399; }
.cla-url {
  padding: 18px 22px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent-cyan);
}
.cla-url::before { content: 'https:// '; color: var(--fg-5); }

.cls-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--success);
  margin-bottom: 12px;
  display: inline-block;
}
.cls-title {
  font-family: var(--font-display-alt, var(--font-sans));
  font-weight: 500;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.02em;
  color: var(--fg-1);
  margin: 0 0 16px;
  line-height: 1.15;
}
.cls-sub { font-size: 16px; color: var(--fg-3); margin: 0 0 24px; }

/* NEXT cases grid */
.case-next-section .kicker { display: inline-block; margin-bottom: 12px; }
.case-next-section .section-title { margin-bottom: 32px; }
.case-next-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case-next-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform 320ms cubic-bezier(0.22,1,0.36,1), border-color 240ms ease, box-shadow 320ms cubic-bezier(0.22,1,0.36,1);
}
.case-next-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34,211,238,0.30);
  box-shadow: 0 20px 48px rgba(0,0,0,0.45), 0 0 24px rgba(34,211,238,0.10);
}
.cnc-thumb {
  aspect-ratio: 16 / 10;
  background: var(--bg-elevated);
  position: relative;
  overflow: hidden;
}
.cnc-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cnc-thumb-placeholder {
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(34,211,238,0.10), transparent 60%),
    radial-gradient(120% 140% at 100% 100%, rgba(167,139,250,0.08), transparent 60%),
    var(--bg-elevated);
  display: flex; align-items: center; justify-content: center;
}
.cnc-tag {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  opacity: 0.6;
}
.cnc-body {
  position: relative;
  padding: 22px 22px 24px;
}
.cnc-tag-line {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 8px;
  display: inline-block;
}
.cnc-title {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--fg-1);
  margin: 0 0 8px;
  line-height: 1.3;
}
.cnc-kpi {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-3);
  margin: 0;
}
.cnc-arrow {
  position: absolute;
  bottom: 18px; right: 18px;
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(34,211,238,0.08);
  border: 1px solid rgba(34,211,238,0.25);
  color: var(--accent-cyan);
  opacity: 0; transform: translateX(-4px);
  transition: opacity 240ms ease, transform 240ms ease;
}
.case-next-card:hover .cnc-arrow { opacity: 1; transform: translateX(0); }

.case-next-foot { margin-top: 24px; text-align: center; }
.cnf-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--fg-2);
  text-decoration: none;
  transition: border-color 200ms ease, color 200ms ease, gap 200ms ease;
}
.cnf-link:hover { border-color: rgba(34,211,238,0.40); color: var(--accent-cyan); gap: 12px; }

/* RESPONSIVE */
@media (max-width: 980px) {
  .case-hero { padding: 120px 0 60px; }
  .case-story-grid { grid-template-columns: 1fr; gap: 16px; }
  .case-next-grid { grid-template-columns: 1fr 1fr; }
  .case-live-card { grid-template-columns: 1fr; padding: 32px 28px; gap: 32px; }
  .case-live-card .clc-art { order: -1; }
}
@media (max-width: 720px) {
  .case-hero { padding: 100px 0 48px; }
  .case-title { font-size: clamp(32px, 9vw, 56px); }
  .case-lead { font-size: 16px; }
  .case-cover { padding: 0 16px 16px; }
  .case-cover-bleed { margin-top: 36px; padding: 0; }
  .case-section { padding: 48px 0; }
  .case-info-grid { gap: 22px; padding: 22px 0; }
  .case-chapter { padding: 24px 22px; }
  .case-narrative p { font-size: 15px; }
  .case-live-card { padding: 28px 20px; gap: 24px; }
  .case-next-grid { grid-template-columns: 1fr; }
  .case-live-cta { flex-wrap: wrap; gap: 8px; padding: 10px 14px; }
  .case-live-cta .clc-host { border-left: none; padding-left: 0; margin-left: 0; }
}

/* ================= CASES STUB «В разработке» ================= */
.cases-stub { padding: 56px 0 16px; }
.cases-stub .kicker { display: inline-block; margin-bottom: 28px; }

.cs-card {
  position: relative;
  padding: 64px 48px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(34,211,238,0.06), transparent 60%),
    radial-gradient(120% 140% at 100% 100%, rgba(167,139,250,0.06), transparent 60%),
    var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  box-shadow: var(--inset-top), 0 24px 60px rgba(0,0,0,0.4);
  text-align: center;
  overflow: hidden;
}

/* Анимированный кружок-радар с орбами */
.cs-art {
  position: relative;
  width: 140px; height: 140px;
  margin: 0 auto 28px;
  display: flex; align-items: center; justify-content: center;
}
.cs-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(34,211,238,0.30);
  animation: csRing 3.2s cubic-bezier(0.22,1,0.36,1) infinite;
}
.cs-ring-1 { width: 60px; height: 60px; }
.cs-ring-2 { width: 100px; height: 100px; animation-delay: -1s; border-color: rgba(167,139,250,0.28); }
.cs-ring-3 { width: 140px; height: 140px; animation-delay: -2s; border-color: rgba(34,211,238,0.18); }
@keyframes csRing {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%      { transform: scale(1.08); opacity: 1; }
}
.cs-icon {
  position: relative;
  width: 60px; height: 60px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(10,13,20,0.92);
  border: 1px solid rgba(34,211,238,0.40);
  color: var(--accent-cyan);
  z-index: 2;
  box-shadow: 0 0 24px rgba(34,211,238,0.30);
}
.cs-orb {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,0.95), transparent 70%);
  box-shadow: 0 0 12px rgba(34,211,238,0.6);
  animation: csOrb 4s linear infinite;
}
.cs-orb-a { top: 0;     left: 50%; }
.cs-orb-b { top: 50%;   right: 0;  animation-delay: -1.3s; background: radial-gradient(circle, rgba(167,139,250,0.95), transparent 70%); box-shadow: 0 0 12px rgba(167,139,250,0.6); }
.cs-orb-c { bottom: 0;  left: 50%; animation-delay: -2.7s; }
@keyframes csOrb {
  0%   { transform: translate(-50%, 0) rotate(0deg) translateX(70px) rotate(0deg); }
  100% { transform: translate(-50%, 0) rotate(360deg) translateX(70px) rotate(-360deg); }
}

/* Status pill */
.cs-status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 12px;
  background: rgba(52,211,153,0.08);
  border: 1px solid rgba(52,211,153,0.30);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--success);
  margin-bottom: 24px;
}
.cs-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: pulse 2.4s ease-in-out infinite;
}

.cs-title {
  font-family: var(--font-display-alt, var(--font-sans));
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 48px);
  letter-spacing: -0.02em;
  color: var(--fg-1);
  margin: 0 0 16px;
  line-height: 1.1;
}
.cs-lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-3);
  max-width: 620px;
  margin: 0 auto 40px;
  text-wrap: pretty;
}

/* Чек-лист этапов */
.cs-checklist {
  display: flex; flex-direction: column; gap: 12px;
  max-width: 520px;
  margin: 0 auto 36px;
  text-align: left;
  padding: 22px 26px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-faint);
  border-radius: var(--r-md);
}
.cs-step { display: flex; align-items: center; gap: 14px; }
.cs-step-mark {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.cs-step-done {
  background: rgba(34,211,238,0.12);
  border: 1px solid rgba(34,211,238,0.40);
  color: var(--accent-cyan);
}
.cs-step-active {
  border: 1.5px solid var(--accent-cyan);
  background: rgba(34,211,238,0.08);
}
.cs-step-active .cs-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulse 1.8s ease-in-out infinite;
}
.cs-step-pending {
  border: 1px dashed var(--border);
  background: transparent;
}
.cs-step-text { font-size: 14px; color: var(--fg-2); line-height: 1.5; }
.cs-step:has(.cs-step-pending) .cs-step-text { color: var(--fg-4); }

.cs-cta-row {
  display: flex; gap: 12px; align-items: center; justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cs-note {
  font-size: 13px;
  color: var(--fg-4);
  margin: 0 auto;
  max-width: 540px;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .cs-card { padding: 40px 22px; }
  .cs-title { font-size: clamp(22px, 6vw, 32px); }
  .cs-lead { font-size: 15px; }
  .cs-checklist { padding: 18px 18px; }
  .cs-cta-row .btn { width: 100%; justify-content: center; }
}

/* ================= CASES ================= */
.cases-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 56px;
}
.case {
  position: relative;
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 520px;
  transition: border-color var(--dur-base);
}
.case:hover { border-color: var(--border); }
.case .thumb {
  height: 180px; position: relative;
  background: var(--bg-sunken);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}
.case .thumb::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 30%, transparent 90%);
}
.case .thumb .label {
  position: absolute; top: 14px; left: 16px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--fg-4);
  padding: 4px 8px; background: var(--bg-base); border: 1px solid var(--border-subtle);
  border-radius: var(--r-xs);
}
.case .thumb .placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--fg-4);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase;
}
.case .thumb .mock {
  position: absolute; inset: 24px 24px 0 24px;
  background: var(--bg-base); border: 1px solid var(--border);
  border-radius: 6px 6px 0 0;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.7);
  overflow: hidden;
}
.case .thumb .mock .bar {
  height: 16px; border-bottom: 1px solid var(--border-subtle);
  display: flex; align-items: center; gap: 4px; padding: 0 6px;
}
.case .thumb .mock .bar .b {
  width: 5px; height: 5px; border-radius: 50%; background: var(--fg-5);
}
.case .thumb .mock .content {
  padding: 10px; display: flex; flex-direction: column; gap: 6px;
}
.case .thumb .mock .content .line {
  height: 6px; background: var(--border-subtle); border-radius: 2px;
}
.case .thumb .mock .content .line.short { width: 40%; }
.case .thumb .mock .content .line.med { width: 65%; }
.case .thumb .mock .content .line.accent {
  width: 50px; height: 14px; background: var(--accent-cyan);
  box-shadow: var(--glow-cyan-sm); margin-top: 4px;
}
.case .body {
  padding: 22px 22px 24px;
  display: flex; flex-direction: column; gap: 14px; flex: 1;
}
.case .case-tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent-cyan);
}
.case h4 {
  font-family: var(--font-sans); font-weight: 500; font-size: 18px;
  color: var(--fg-1); margin: 0; letter-spacing: -0.01em;
}
.case .block {
  display: flex; flex-direction: column; gap: 4px;
}
.case .block .k {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--fg-4);
}
.case .block .v {
  font-size: 13px; color: var(--fg-2); line-height: 1.5;
}
.case .stack {
  margin-top: auto; padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex; flex-wrap: wrap; gap: 6px;
}
.case .stack .chip {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fg-3);
  padding: 4px 8px; background: var(--bg-sunken);
  border: 1px solid var(--border-subtle); border-radius: var(--r-xs);
}

/* ================= FAQ ================= */
.faq-wrap {
  margin-top: 56px;
  display: grid; grid-template-columns: 280px 1fr;
  gap: 64px;
}
.faq-aside {
  display: flex; flex-direction: column; gap: 14px;
  position: sticky; top: 100px; align-self: start;
}
.faq-aside p {
  font-size: 14px; color: var(--fg-3); line-height: 1.6; margin: 0;
}
.faq-aside .count {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--fg-4);
  padding-top: 14px; border-top: 1px solid var(--border-subtle);
}
.faq-list {
  border-top: 1px solid var(--border-subtle);
}
.faq {
  border-bottom: 1px solid var(--border-subtle);
}
.faq summary {
  list-style: none; cursor: pointer;
  padding: 22px 0; display: flex; gap: 20px; align-items: flex-start;
  transition: color var(--dur-base);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q-num {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--fg-4); flex-shrink: 0; padding-top: 3px; width: 30px;
}
.faq summary .q-text {
  flex: 1; font-size: 17px; color: var(--fg-1); font-weight: 400;
  letter-spacing: -0.01em; line-height: 1.35;
}
.faq summary .q-plus {
  width: 20px; height: 20px; flex-shrink: 0;
  color: var(--fg-3); transition: transform var(--dur-base), color var(--dur-base);
  margin-top: 2px;
}
.faq[open] summary .q-plus { transform: rotate(45deg); color: var(--accent-cyan); }
.faq:hover summary .q-text { color: var(--accent-cyan-soft); }
.faq .answer {
  padding: 0 0 26px 50px;
  font-size: 15px; color: var(--fg-3); line-height: 1.6; max-width: 640px;
}
.faq .answer p { margin: 0 0 10px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ================= MICROCOPY / UI KIT STRIP ================= */
.ui-strip {
  margin-top: 56px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-raised);
}
.ui-row {
  display: grid; grid-template-columns: 200px 1fr;
  border-bottom: 1px solid var(--border-subtle);
}
.ui-row:last-child { border-bottom: none; }
.ui-row .label {
  padding: 24px 22px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--fg-4);
  border-right: 1px solid var(--border-subtle);
  background: var(--bg-sunken);
}
.ui-row .content {
  padding: 22px; display: flex; flex-wrap: wrap; gap: 10px;
  align-items: center;
}
.ui-row .chip-pill {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fg-2);
  padding: 6px 12px; background: var(--bg-sunken);
  border: 1px solid var(--border-subtle); border-radius: var(--r-pill);
}
.ui-row .chip-pill.accent {
  color: var(--accent-cyan); border-color: var(--border-accent);
  background: rgba(34,211,238,0.06);
}
.ui-row .chip-soft {
  font-size: 14px; color: var(--fg-2);
  padding: 6px 14px; background: var(--bg-sunken);
  border: 1px solid var(--border-subtle); border-radius: var(--r-sm);
}
.ui-row .label-row {
  font-family: var(--font-mono); font-size: 12px; color: var(--fg-3);
  letter-spacing: 0.08em;
}

/* Контактная карточка с responsive паддингом */
.cta-card.cta-card-contact { padding: 56px 40px; }
@media (max-width: 720px) {
  .cta-card.cta-card-contact { padding: 32px 20px; }
}

/* Простые контакты вместо формы — две плитки email + telegram */
.contact-simple { display: flex; flex-direction: column; gap: 40px; align-items: stretch; }
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}
.contact-tile {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  grid-template-rows: auto auto;
  grid-template-areas:
    'icon  label arrow'
    'icon  value value';
  column-gap: 16px;
  row-gap: 4px;
  align-items: center;
  padding: 22px 22px;
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
  transition: transform 320ms cubic-bezier(0.22,1,0.36,1), border-color 240ms ease, box-shadow 320ms cubic-bezier(0.22,1,0.36,1);
}
.contact-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(34,211,238,0.40);
  box-shadow: 0 18px 36px rgba(0,0,0,0.4), 0 0 24px rgba(34,211,238,0.12);
}
.contact-tile .ct-icon {
  grid-area: icon;
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: rgba(34,211,238,0.08);
  border: 1px solid rgba(34,211,238,0.25);
  color: var(--accent-cyan);
}
.contact-tile .ct-label {
  grid-area: label;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-4);
}
.contact-tile .ct-value {
  grid-area: value;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--fg-1);
  font-weight: 500;
  word-break: break-all;
}
.contact-tile .ct-arrow {
  grid-area: arrow;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(34,211,238,0.10);
  border: 1px solid rgba(34,211,238,0.25);
  color: var(--accent-cyan);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 200ms ease, background 200ms ease;
}
.contact-tile:hover .ct-arrow { transform: translate(2px, -2px); background: rgba(34,211,238,0.20); }

.contact-hint {
  text-align: center;
  font-size: 14px;
  color: var(--fg-4);
  margin: 0 auto;
  max-width: 540px;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .contacts-grid { grid-template-columns: 1fr; }
  .contact-tile { padding: 18px 18px; column-gap: 14px; }
  .contact-tile .ct-icon { width: 48px; height: 48px; border-radius: 12px; }
  .contact-tile .ct-icon svg { width: 22px !important; height: 22px !important; }
  .contact-tile .ct-value { font-size: 16px; }
}

/* Contact form (старый стиль, оставлен на случай возврата формы) */
.contact-form-wrap {
  display: grid; grid-template-columns: 1fr 420px;
  gap: 56px; align-items: start;
}
.contact-lead h2 {
  font-family: var(--font-sans); font-weight: 300;
  font-size: clamp(40px, 5vw, 64px); line-height: 1.05;
  letter-spacing: -0.03em; color: var(--fg-1); margin: 16px 0 20px;
  text-wrap: pretty;
}
.contact-lead p {
  font-size: 18px; color: var(--fg-3); line-height: 1.55;
  max-width: 480px; margin: 0 0 32px;
}
.contact-stats {
  display: flex; gap: 40px; padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}
.contact-stats .s {
  display: flex; flex-direction: column; gap: 4px;
}
.contact-stats .s .lbl {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--fg-4);
}
.contact-stats .s .val {
  font-family: var(--font-mono); font-weight: 500; font-size: 22px;
  color: var(--fg-1); font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
}

.contact-card {
  padding: 32px 28px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--inset-top), var(--shadow-lg);
  display: flex; flex-direction: column; gap: 18px;
  position: relative; overflow: hidden;
}
.contact-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 400px 300px at 100% 0%, rgba(34,211,238,0.10), transparent 60%);
}
.contact-card > * { position: relative; }
.contact-card .form-head {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent-cyan);
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 14px; border-bottom: 1px solid var(--border-subtle);
}
.contact-card .form-head .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 8px var(--success);
}
.field {
  display: flex; flex-direction: column; gap: 6px;
}
.field label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--fg-4);
}
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--bg-sunken);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  color: var(--fg-1);
  font-family: var(--font-sans); font-size: 14px;
  transition: border-color var(--dur-base), box-shadow var(--dur-base);
  outline: none;
}
.field input::placeholder, .field textarea::placeholder {
  color: var(--fg-4);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 3px rgba(34,211,238,0.12);
}
.field textarea { min-height: 90px; resize: vertical; font-family: inherit; }
.field .hint {
  font-family: var(--font-mono); font-size: 10px; color: var(--fg-4);
  letter-spacing: 0.08em;
}

.budget-opts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
}
.budget-opts input { display: none; }
.budget-opts label {
  display: flex; align-items: center; justify-content: center;
  padding: 10px 6px; font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-3); background: var(--bg-sunken);
  border: 1px solid var(--border-subtle); border-radius: var(--r-sm);
  cursor: pointer; letter-spacing: 0.05em;
  transition: all var(--dur-base);
  text-align: center; text-transform: none;
}
.budget-opts label:hover { color: var(--fg-1); border-color: var(--border); }
.budget-opts input:checked + label {
  background: rgba(34,211,238,0.08); color: var(--accent-cyan);
  border-color: var(--border-accent);
}

.form-foot {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  color: var(--fg-4); text-align: center; margin-top: 4px;
}
.form-foot a { color: var(--fg-3); text-decoration: underline; text-underline-offset: 2px; }

/* Фильтр-чипы для архива кейсов */
.case-type-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 24px; }
.case-type-filter .ctf-chip {
  display: inline-flex; align-items: center; height: 32px; padding: 0 14px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--fg-3); background: var(--glass-2);
  border: 1px solid var(--border-subtle); border-radius: var(--r-pill);
  text-decoration: none; transition: all var(--dur-base);
}
.case-type-filter .ctf-chip:hover { color: var(--fg-1); border-color: var(--border); }
.case-type-filter .ctf-chip.is-active {
  background: rgba(34,211,238,0.08); color: var(--accent-cyan);
  border-color: var(--border-accent);
}

/* Хлебные крошки */
.sdc-crumbs {
  margin: 0 0 28px; padding-top: 8px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.06em; color: var(--fg-4);
}
.sdc-crumbs ol {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.sdc-crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.sdc-crumbs li + li::before {
  content: "/"; color: var(--fg-5); font-size: 10px;
}
.sdc-crumbs a {
  color: var(--fg-3); text-decoration: none;
  transition: color var(--dur-base);
}
.sdc-crumbs a:hover { color: var(--accent-cyan); }
.sdc-crumbs li[aria-current="page"] span { color: var(--fg-2); }

/* TOC (содержание) для long-form */
.post-toc {
  margin: 32px 0 48px; padding: 24px 24px 22px;
  background: var(--bg-raised); border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
}
.post-toc .toc-kicker {
  display: block; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-cyan); margin-bottom: 14px;
}
.post-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.post-toc li { counter-increment: toc; padding: 5px 0; line-height: 1.5; }
.post-toc li::before {
  content: counter(toc, decimal-leading-zero) " · ";
  color: var(--fg-4); font-family: var(--font-mono); font-size: 12px;
}
.post-toc li.toc-l3 { padding-left: 20px; counter-reset: none; }
.post-toc li.toc-l3::before { content: "— "; color: var(--fg-5); }
.post-toc a { color: var(--fg-2); text-decoration: none; font-size: 14px; transition: color var(--dur-base); }
.post-toc a:hover { color: var(--accent-cyan); }
/* Smooth scroll включаем ТОЛЬКО когда пользователь явно кликнул якорь —
   через JS, см. initSmoothAnchors. На html scroll-behavior:smooth
   на Mac/Safari тормозит обычный wheel/touchpad скролл. */
html { scroll-padding-top: 96px; }
:target { scroll-margin-top: 96px; }

/* Related posts на single */
.related-posts { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--border-subtle); }
.related-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-cyan); margin: 0 0 24px; }
.related-posts .post-list { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
.related-posts .post-card-link { padding: 18px 16px; }
.related-posts .post-card h3 { font-size: 15px; margin: 8px 0 6px; }
.related-posts .post-card p { font-size: 12px; }
@media (max-width: 720px) { .related-posts .post-list { grid-template-columns: 1fr; } }

/* 404 — страница не найдена */
.error-section { padding: 200px 0 96px; text-align: center; position: relative; }
.error-suggest { padding: 0 0 120px; }
.error-suggest .kicker { display: inline-block; margin-bottom: 12px; }
.error-suggest .section-title { font-size: clamp(24px, 2.6vw, 36px); margin: 0 0 28px; }
.error-wrap    { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.error-glow {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -20%);
  width: 600px; height: 600px; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(34,211,238,0.18) 0%, transparent 60%);
  filter: blur(60px);
}
.error-code {
  font-family: var(--font-sans); font-weight: 200;
  font-size: clamp(120px, 22vw, 240px); line-height: 1;
  letter-spacing: -0.04em; color: var(--fg-1);
  margin: 24px 0 16px;
  background: linear-gradient(180deg, var(--fg-1) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.error-line   { font-family: var(--font-sans); font-weight: 300; font-size: clamp(28px, 3vw, 38px); color: var(--fg-1); margin: 0 0 12px; letter-spacing: -0.02em; }
.error-line em{ font-style: normal; color: var(--accent-cyan); }
.error-sub    { font-size: 17px; color: var(--fg-3); line-height: 1.55; max-width: 520px; margin: 0 auto 36px; }
.error-cta-row{ display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.error-links  { list-style: none; padding: 0; margin: 0; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; padding-top: 32px; border-top: 1px solid var(--border-subtle); }
.error-links li a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border: 1px solid var(--border-subtle); border-radius: var(--r-pill);
  background: var(--glass-1); color: var(--fg-2); text-decoration: none; font-size: 13px;
  transition: all var(--dur-base);
}
.error-links li a:hover { color: var(--fg-1); border-color: var(--border); background: var(--glass-2); }
.error-links li a i { color: var(--accent-cyan); }

/* Blog post-card list (archive, search) */
.post-section { padding: 160px 0 96px; }
.post-wrap    { max-width: 760px; }
.post-thumb   { margin: 32px 0; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border-subtle); }
.post-thumb img { width: 100%; height: auto; display: block; }
.post-list    { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 56px; }
.post-card    { background: var(--bg-raised); border: 1px solid var(--border-subtle); border-radius: var(--r-md); transition: border-color var(--dur-base), background var(--dur-base); }
.post-card:hover { border-color: var(--border); background: var(--bg-elevated); }
.post-card-link { display: block; padding: 24px 22px; color: inherit; text-decoration: none; }
.post-card .post-meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-cyan); }
.post-card h3 { font-family: var(--font-sans); font-weight: 500; font-size: 19px; color: var(--fg-1); margin: 10px 0 10px; line-height: 1.3; letter-spacing: -0.01em; }
.post-card p  { font-size: 14px; color: var(--fg-3); line-height: 1.55; margin: 0; }
.post-more    { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; color: var(--accent-cyan); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 16px; transition: gap var(--dur-base); }
.post-card-link:hover .post-more { gap: 10px; }
.pagination   { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border-subtle); justify-content: center; }
.pagination span a, .pagination span span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; border-radius: var(--r-sm); border: 1px solid var(--border-subtle); color: var(--fg-3); text-decoration: none; font-size: 14px; transition: all var(--dur-base); }
.pagination span a:hover { color: var(--fg-1); border-color: var(--border); }
.pagination span .current { background: var(--accent-cyan); color: var(--btn-primary-fg); border-color: transparent; }
@media (max-width: 720px) { .post-list { grid-template-columns: 1fr; } }

/* Legal pages (политика, оферта, реквизиты) */
.legal-section { padding: 160px 0 96px; }
.legal-wrap { max-width: 760px; }
.legal-wrap .section-title { font-size: 44px; margin: 16px 0 32px; }
.legal-body { color: var(--fg-2); font-size: 16px; line-height: 1.7; }
.legal-body h2 { font-size: 24px; color: var(--fg-1); margin: 36px 0 12px; font-weight: 500; letter-spacing: -0.015em; }
.legal-body h3 { font-size: 18px; color: var(--fg-1); margin: 24px 0 8px; font-weight: 500; }
.legal-body p { margin: 0 0 14px; }
.legal-body ul, .legal-body ol { padding-left: 22px; margin: 0 0 14px; }
.legal-body li { margin-bottom: 6px; }
.legal-body a { color: var(--accent-cyan); text-decoration: underline; text-underline-offset: 2px; }
.legal-back { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--border-subtle); }
.legal-back a { color: var(--fg-3); text-decoration: none; font-size: 14px; transition: color var(--dur-base); }
.legal-back a:hover { color: var(--accent-cyan); }

/* Stepper для multi-step формы */
.sdc-stepper {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; color: var(--accent-cyan);
  text-transform: uppercase;
  padding: 6px 12px; margin-bottom: 12px;
  display: inline-block;
  background: rgba(34,211,238,0.08);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-pill);
}
.sdc-stepper .step-current { color: var(--fg-1); font-weight: 500; }

/* File input в форме заявки */
.file-input {
  display: flex; flex-direction: column; gap: 6px; cursor: pointer;
}
.file-input input[type="file"] {
  position: absolute; opacity: 0; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.file-input-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--bg-sunken); border: 1px dashed var(--border-subtle);
  border-radius: var(--r-sm); color: var(--fg-3);
  font-size: 13px;
  transition: all var(--dur-base);
}
.file-input:hover .file-input-cta { color: var(--fg-1); border-color: var(--border); border-style: solid; }
.file-input input:focus-visible + .file-input-cta {
  outline: 2px solid var(--accent-cyan); outline-offset: 3px;
}

/* Consent checkbox row */
.consent-row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12px; color: var(--fg-3); line-height: 1.4;
  cursor: pointer;
  padding: 4px 0;
}
.consent-row input[type="checkbox"] {
  flex-shrink: 0; width: 16px; height: 16px; margin-top: 1px;
  accent-color: var(--accent-cyan);
  cursor: pointer;
}
.consent-row a { color: var(--accent-cyan); text-decoration: underline; text-underline-offset: 2px; }
.consent-row a:hover { color: var(--accent-cyan-soft); }

/* Toast-like success pulse line */
.response-strip {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-3);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.response-strip .pulse-s {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 8px var(--success);
  animation: pulse 2.4s ease-in-out infinite;
}

/* ================= RESPONSIVE tweaks ================= */
@media (max-width: 1100px) {
  /* На средних экранах сохраняем 12-колоночную сетку с чередованием —
     соотношения те же (7/5 ↔ 5/7), просто общий контейнер уже */
  .process-grid { grid-template-columns: repeat(4, 1fr); }
  .process-rail { display: none; }
  .services-grid, .cases-grid, .pricing-grid, .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
  .faq-aside { position: static; }
  .contact-form-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .services-grid, .cases-grid, .pricing-grid, .audience-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }
  /* Mobile: pillars в одну колонку — каждый span на всю ширину */
  .pillars { grid-template-columns: 1fr; }
  .pillar:nth-child(n) { grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr; }
  .ui-row { grid-template-columns: 1fr; }
  .ui-row .label { border-right: none; border-bottom: 1px solid var(--border-subtle); }
  .contact-stats { flex-wrap: wrap; gap: 20px; }
}

/* ================= GLOBAL ANIMATIONS ================= */

/* Promo-bar сверху страницы (над навбаром) */
.promo-bar {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 8px 16px;
  background: linear-gradient(90deg, rgba(34,211,238,0.10) 0%, rgba(167,139,250,0.10) 100%);
  border-bottom: 1px solid rgba(34,211,238,0.20);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fg-1);
  text-decoration: none;
  position: relative;
  z-index: 51;
  transition: background 240ms ease;
}
.promo-bar:hover { background: linear-gradient(90deg, rgba(34,211,238,0.16) 0%, rgba(167,139,250,0.16) 100%); }
.promo-bar .pb-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px rgba(34,211,238,0.6);
  animation: pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
.promo-bar .pb-text { text-align: center; }
.promo-bar i { color: var(--accent-cyan); transition: transform 200ms ease; }
.promo-bar:hover i { transform: translateX(3px); }
@media (max-width: 720px) {
  .promo-bar { padding: 7px 12px; font-size: 11px; gap: 8px; }
}

/* Поднимаем nav на высоту promo-bar если он есть */
.promo-bar ~ .site-nav { top: 56px; }
@media (max-width: 720px) {
  .promo-bar ~ .site-nav { top: 44px; }
}

/* Floating Telegram-кнопка слева снизу */
.floating-tg {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 55;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px;
  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
  color: #fff;
  text-decoration: none;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 28px rgba(42,171,238,0.30), 0 0 0 1px rgba(255,255,255,0.08) inset;
  transition: transform 240ms cubic-bezier(0.22,1,0.36,1), box-shadow 240ms ease;
}
.floating-tg:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(42,171,238,0.45), 0 0 0 1px rgba(255,255,255,0.12) inset;
}
.floating-tg .ftg-text { white-space: nowrap; }
@media (max-width: 720px) {
  .floating-tg {
    left: 12px;
    bottom: 80px; /* над sticky service-mobile-bar */
    padding: 10px 14px 10px 12px;
  }
  .floating-tg .ftg-text { display: none; }
}

/* Floating «Наверх» */
.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 55;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(10,13,20,0.92);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--fg-2);
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0,0,0,0.4), var(--inset-top);
  transition: transform 240ms cubic-bezier(0.22,1,0.36,1), border-color 200ms ease, color 200ms ease, background 200ms ease;
}
.back-to-top:hover {
  border-color: rgba(34,211,238,0.40);
  color: var(--accent-cyan);
  transform: translateY(-2px);
  background: rgba(34,211,238,0.06);
}
.back-to-top[hidden] {
  display: inline-flex !important;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}
@media (max-width: 720px) {
  .back-to-top {
    right: 12px;
    bottom: 80px; /* над sticky service-mobile-bar если есть */
  }
}

/* Page-particles — глобальный фиксированный слой с дрейфующими орбами */
.page-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  contain: strict;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.p-orb {
  position: absolute;
  left: var(--x, 50%);
  bottom: -40px;
  width: var(--s, 4px);
  height: var(--s, 4px);
  border-radius: 50%;
  /* filter: blur(0.4px) убран — на каждой частице создавал свой
     композит-слой. Глоу даёт сама radial-gradient + box-shadow. */
  opacity: 0;
  animation: pageOrbDrift var(--t, 30s) linear infinite;
  animation-delay: var(--d, 0s);
  /* will-change убран — частицы анимируются непрерывно, браузер
     сам поднимет в композит. Phantom GPU-layers убираем. */
}
.p-orb-cyan        { background: radial-gradient(circle, rgba(34,211,238,0.9)  0%, rgba(34,211,238,0)  70%); box-shadow: 0 0 10px rgba(34,211,238,0.45); }
.p-orb-cyan-soft   { background: radial-gradient(circle, rgba(103,232,249,0.8) 0%, rgba(103,232,249,0) 70%); box-shadow: 0 0 12px rgba(103,232,249,0.4); }
.p-orb-violet      { background: radial-gradient(circle, rgba(167,139,250,0.85) 0%, rgba(167,139,250,0) 70%); box-shadow: 0 0 10px rgba(167,139,250,0.45); }
.p-orb-violet-soft { background: radial-gradient(circle, rgba(196,181,253,0.8) 0%, rgba(196,181,253,0) 70%); box-shadow: 0 0 12px rgba(196,181,253,0.4); }

@keyframes pageOrbDrift {
  0%   { transform: translate(0, 0)                       scale(0.5); opacity: 0; }
  8%   { opacity: 0.85; }
  50%  { transform: translate(var(--sw, 12px), -55vh)     scale(1); opacity: 0.85; }
  92%  { opacity: 0; }
  100% { transform: translate(calc(var(--sw, 12px) * -0.4), -110vh) scale(0.5); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .page-particles { display: none; }
}

/* Scroll-progress bar — фиксированная сверху, scaleX по % прокрутки */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 60;
  pointer-events: none;
  background: rgba(255,255,255,0.04);
}
.scroll-progress span {
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent-cyan) 0%, var(--accent-violet) 100%);
  box-shadow: 0 0 8px rgba(34,211,238,0.55);
  /* без transition — обновляется на каждом rAF из JS, должен идти 1:1 со скроллом */
}

/* Навбар при скролле — чуть плотнее и темнее */
.site-nav.is-scrolled {
  background: rgba(8,11,17,0.78);
  border-color: rgba(255,255,255,0.10);
  box-shadow: var(--inset-top), 0 14px 40px rgba(0,0,0,0.55);
}

/* Reveal-анимация: стартовое состояние — невидим, при is-visible — fade-up */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 480ms cubic-bezier(0.22,1,0.36,1),
    transform 480ms cubic-bezier(0.22,1,0.36,1);
  transition-delay: calc(min(var(--i, 0), 5) * 40ms);
  /* will-change убран — он создавал GPU-layers для 30+ статических
     элементов, что просаживало скролл. Браузер сам решит когда
     композитить во время короткой transition'ы. */
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .scroll-progress span { transition: none; }
}

/* Section-glows — мягкие декоративные пульсы под секциями.
   Подключаются автоматически через ::before/::after к ключевым секциям. */
section { position: relative; }
section#audience::before,
section#pricing::before,
section#cases::before,
section#process::after {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  /* blur уменьшен 110px → 50px: на каждом scroll-frame GPU блюрил
     огромные радиусы — это главный виновник лагов. Эффект glow
     визуально остался благодаря radial-gradient. */
  filter: blur(50px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.55;
  /* contain: paint — изолирует repaint этой области */
  contain: paint;
}
section#audience::before {
  top: 10%; right: -180px;
  background: radial-gradient(circle, rgba(34,211,238,0.18) 0%, rgba(34,211,238,0) 70%);
}
section#pricing::before {
  top: 40%; left: -160px;
  background: radial-gradient(circle, rgba(167,139,250,0.18) 0%, rgba(167,139,250,0) 70%);
}
section#cases::before {
  top: 20%; right: -160px;
  background: radial-gradient(circle, rgba(244,114,182,0.13) 0%, rgba(244,114,182,0) 70%);
}
section#process::after {
  bottom: -80px; left: 30%;
  background: radial-gradient(circle, rgba(34,211,238,0.14) 0%, rgba(34,211,238,0) 70%);
}

/* Hover-микро-анимации на универсальных карточках */
.service-card, .case-card, .pricing-card, .testimonial-card,
.audience-grid > *, .why-grid > * {
  transition:
    transform 360ms cubic-bezier(0.22,1,0.36,1),
    border-color 240ms ease,
    box-shadow 360ms cubic-bezier(0.22,1,0.36,1);
}
.service-card:hover, .case-card:hover, .pricing-card:hover, .testimonial-card:hover,
.audience-grid > *:hover, .why-grid > *:hover {
  transform: translateY(-4px);
  border-color: rgba(34,211,238,0.30);
  box-shadow: 0 18px 40px rgba(0,0,0,0.5), 0 0 24px rgba(34,211,238,0.10);
}

/* Кикеры — лёгкое свечение при появлении */
.kicker.is-visible {
  animation: kickerGlow 1.6s ease-out 0.1s both;
}
@keyframes kickerGlow {
  0%   { text-shadow: 0 0 0 rgba(34,211,238,0); }
  40%  { text-shadow: 0 0 14px rgba(34,211,238,0.55); }
  100% { text-shadow: 0 0 0 rgba(34,211,238,0); }
}
