/* LANDING V4 — светлая тема, B2B SaaS (Amplitude / Ramp) */
@import url('landing-base.css');

/*VARIABLES*/
:root {
  --v4-bg: #FFFFFF;
  --v4-bg-alt: #F7F8FA;
  --v4-surface: #FFFFFF;
  --v4-surface-2: #F3F4F6;
  --v4-text: #1A1A2E;
  --v4-text-secondary: #6B7280;
  --v4-primary: #D22D16;
  --v4-primary-light: #FEF2F0;
  --v4-primary-hover: #B82510;
  --v4-border: #E5E7EB;
  --v4-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --v4-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --v4-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --v4-radius: 16px;
  --v4-radius-sm: 10px;
  --v4-container: 1240px;
  --v4-section-py: 60px;
  --v4-gap: 24px;
}

/*BRAND / PRODUCT MARK*/
.v4-mark {
  font-style: normal;
  font-weight: inherit;
  padding: 0.05em 0.22em;
  border-radius: 0.25em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  color: inherit;
}
.v4-mark--brand,
.v4-mark--product {
  background: rgba(210, 45, 22, 0.12);
}

/*BASE*/
.v4-page {
  background: var(--v4-bg);
  color: var(--v4-text);
  font-family: var(--lp-font);
  overflow-x: hidden;
}

.v4-container {
  max-width: var(--v4-container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}

/*BUTTONS — светлая страница*/
.v4-page .lp-btn--outline {
  background: transparent;
  border-color: var(--v4-border);
  color: var(--v4-text);
}
.v4-header__actions .lp-btn--outline {
  background: #fff;
}
.v4-page .lp-btn--outline:hover {
  border-color: var(--v4-text);
  color: var(--v4-text);
  background: var(--v4-surface-2);
}
.v4-page .v4-header__actions .lp-btn--outline:hover {
  background: var(--v4-bg-alt);
}
.v4-page .lp-btn--primary:hover {
  background: var(--v4-primary-hover);
  border-color: var(--v4-primary-hover);
}
.v4-page .lp-btn--lg {
  padding: 15px 32px;
  font-size: 1rem;
  border-radius: var(--v4-radius-sm);
}

/*FORMS — светлая страница*/
.v4-page .lp-form .form-label { color: var(--v4-text); }
.v4-page .lp-form .form-control {
  background: #fff;
  border: 1px solid var(--v4-border);
  color: var(--v4-text);
}
.v4-page .lp-form .form-control::placeholder { color: #9CA3AF; }
.v4-page .lp-form .form-control:focus {
  background: #fff;
  border-color: var(--v4-primary);
  color: var(--v4-text);
  box-shadow: 0 0 0 3px rgba(210, 45, 22, 0.15);
}
.v4-page .lp-form .form-check-label { color: var(--v4-text-secondary); font-size: 0.82rem; line-height: 1.45; }
.v4-page .lp-form .form-check-label a { color: var(--v4-primary); text-decoration: underline; text-underline-offset: 2px; }
.v4-page .lp-form .form-check-label a:hover { color: var(--v4-primary-dark, #b82412); }
.v4-page .lp-form__checks { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 20px; }
.v4-page .lp-form__hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.v4-page .lp-form__alt { display: flex; flex-direction: column; gap: 8px; margin: 2px 0 4px; }
.v4-page .lp-form__alt-or {
  display: block;
  margin: 10px 0 2px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9CA3AF;
  text-align: center;
}
.v4-page .lp-form__alt-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: var(--v4-radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.v4-page .lp-form__alt-btn--tg {
  border: 1px solid #B8D9EE;
  background: linear-gradient(180deg, #F4FAFE 0%, #EAF5FC 100%);
  color: #1487C7;
}
.v4-page .lp-form__alt-btn--tg:hover {
  background: linear-gradient(180deg, #EAF5FC 0%, #DFF0FA 100%);
  border-color: #8EC5E8;
  color: #0F73AD;
  box-shadow: 0 4px 14px rgba(20, 135, 199, 0.14);
  transform: translateY(-1px);
}
.v4-page .lp-form__alt-btn--mail {
  border: 1px solid #D5DCE5;
  background: linear-gradient(180deg, #FAFBFC 0%, #F3F5F7 100%);
  color: #4B5563;
}
.v4-page .lp-form__alt-btn--mail:hover {
  background: linear-gradient(180deg, #F3F5F7 0%, #ECEFF3 100%);
  border-color: #C5CDD8;
  color: #374151;
  box-shadow: 0 4px 14px rgba(55, 65, 81, 0.1);
  transform: translateY(-1px);
}
.v4-page .lp-form__alt-btn--vk {
  border: 1px solid rgba(55, 112, 177, 0.35);
  background: linear-gradient(180deg, #F6F9FC 0%, #EDF3F9 100%);
  color: #3770b1;
}
.v4-page .lp-form__alt-btn--vk:hover {
  background: linear-gradient(180deg, #EDF3F9 0%, #E2EBF5 100%);
  border-color: #3770b1;
  color: #2d5f9a;
  box-shadow: 0 4px 14px rgba(55, 112, 177, 0.18);
  transform: translateY(-1px);
}
.v4-page .lp-form__alt-btn--max {
  border: 1px solid rgba(30, 22, 122, 0.35);
  background: linear-gradient(180deg, #F6F5FA 0%, #EDECF5 100%);
  color: #1e167a;
}
.v4-page .lp-form__alt-btn--max:hover {
  background: linear-gradient(180deg, #EDECF5 0%, #E3E1EF 100%);
  border-color: #1e167a;
  color: #17125f;
  box-shadow: 0 4px 14px rgba(30, 22, 122, 0.18);
  transform: translateY(-1px);
}
@media (min-width: 769px) {
  .v4-page .lp-form__alt {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }
  .v4-page .lp-form__alt-or {
    grid-column: 1 / -1;
    margin: 10px 0 0;
  }
  .v4-page .lp-form__alt-btn {
    min-width: 0;
    padding: 10px 10px;
    font-size: 0.82rem;
  }
}
.v4-page .lp-form .lp-smart-contact.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.12);
}

/*COOKIE CONSENT*/
.v4-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1080;
  padding: 12px clamp(12px, 3vw, 24px) clamp(12px, 2vw, 20px);
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.v4-cookie.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.v4-cookie__panel {
  max-width: var(--v4-container);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-radius-sm);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
}
.v4-cookie__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--v4-primary-light);
  color: var(--v4-primary);
  font-size: 1.25rem;
}
.v4-cookie__body { flex: 1; min-width: 0; }
.v4-cookie__title {
  margin: 0 0 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--v4-text);
}
.v4-cookie__text {
  margin: 0 0 6px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--v4-text-secondary);
}
.v4-cookie__text:last-child { margin-bottom: 0; }
.v4-cookie__text a { color: var(--v4-primary); text-decoration: underline; text-underline-offset: 2px; }
.v4-cookie__text a:hover { color: var(--v4-primary-hover); }
.v4-cookie__actions {
  flex-shrink: 0;
  align-self: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.v4-cookie__accept,
.v4-cookie__decline {
  white-space: nowrap;
  padding: 10px 18px;
  font-size: 0.88rem;
}
.v4-cookie__decline {
  background: transparent;
  border: 1px solid var(--v4-border);
  color: var(--v4-text-secondary);
}
.v4-cookie__decline:hover {
  border-color: var(--v4-text-secondary);
  color: var(--v4-text);
}
@media (max-width: 768px) {
  .v4-cookie__panel { flex-direction: column; align-items: stretch; }
  .v4-cookie__actions { width: 100%; }
  .v4-cookie__accept,
  .v4-cookie__decline { flex: 1; width: auto; }
}

/*MODAL — светлая страница*/
.v4-page .lp-modal .modal-content {
  background: #fff;
  border: 1px solid var(--v4-border);
}
.v4-page .lp-modal .modal-header {
  background: var(--v4-bg-alt);
  border-bottom: 1px solid var(--v4-border);
}
.v4-page .lp-modal .modal-title { color: var(--v4-text); }
.v4-page .lp-modal .btn-close {
  filter: none;
  opacity: 0.55;
}
.v4-page .lp-modal .btn-close:hover,
.v4-page .lp-modal .btn-close:focus {
  opacity: 0.85;
}
/* Форма заявки поверх попапа витрины (.ta-bd — z-index: 99999) */
.v4-page #leadModal.modal { z-index: 1000010; }
body.v4-page.modal-open .modal-backdrop { z-index: 1000009; }
.v4-page .lp-form__msg.is-success {
  background: #e8f7ec;
  color: #14532d;
  border: 1px solid #86d9a0;
}
.v4-page .lp-form__msg.is-error {
  background: #fdecec;
  color: #991b1b;
  border: 1px solid #f5b5b5;
}

/*PROMO*/
.v4-promo {
  background: var(--v4-bg-alt);
  border-bottom: 1px solid var(--v4-border);
  text-align: center;
  padding: 11px 20px;
  font-size: 0.85rem;
  color: var(--v4-text-secondary);
}
.v4-promo a {
  color: var(--v4-primary);
  font-weight: 600;
  margin-left: 8px;
  text-decoration: none;
  border-bottom: 1px solid rgba(210, 45, 22, 0.35);
  transition: color 0.2s, border-color 0.2s;
}
.v4-promo a:hover {
  color: var(--v4-primary-hover);
  border-color: var(--v4-primary-hover);
}

/*HEADER*/
.v4-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s, border-color 0.25s, background 0.25s;
}
.v4-header.is-scrolled {
  background: rgb(255 255 255 / 0%);
  border-bottom-color: var(--v4-border);
  box-shadow: var(--v4-shadow-sm);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.v4-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 16px 0;
  min-width: 0;
}
.v4-header__logo { position: relative; z-index: 2; flex: 0 0 auto; }
.v4-header__logo img { height: 32px; width: auto; display: block; }
.v4-header__nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 1;
}
.v4-header__nav a {
  color: var(--v4-text);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 8px 12px;
  white-space: nowrap;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.v4-header__nav a:hover { color: var(--v4-primary); background: var(--v4-primary-light); }
.v4-header__actions { display: flex; gap: 10px; align-items: center; position: relative; z-index: 2; flex: 0 0 auto; }
.v4-header__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-radius-sm);
  background: #fff;
  color: var(--v4-text);
  cursor: pointer;
  flex-shrink: 0;
}
.v4-header__burger i { font-size: 1.25rem; line-height: 1; }
.v4-header__burger [data-burger-close] { display: none; }
.v4-header.is-menu-open .v4-header__burger [data-burger-open] { display: none; }
.v4-header.is-menu-open .v4-header__burger [data-burger-close] { display: inline; }
html:has(.v4-page) { scroll-behavior: smooth; scroll-padding-top: 88px; }
.v4-section[id] { scroll-margin-top: 88px; }

/*SECTION*/
.v4-section {
  padding: var(--v4-section-py) 0;
}
.v4-section--alt {
  background: var(--v4-bg-alt);
}
.v4-section--compact {
  padding: 36px 0;
}

/*FIT — «Подходит, если…»*/
.v4-fit { text-align: center; }
.v4-head + .v4-fit {
  margin: -8px auto 36px;
  max-width: 900px;
}
.v4-fit__title {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  font-weight: 600;
  color: var(--v4-text-secondary);
  margin: 0 0 18px;
}
.v4-fit__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.v4-fit__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: var(--v4-surface);
  border: 1px solid var(--v4-border);
  border-radius: 999px;
  box-shadow: var(--v4-shadow-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--v4-text);
  line-height: 1.2;
  transition: box-shadow 0.2s, transform 0.2s;
}
.v4-fit__pill:hover {
  box-shadow: var(--v4-shadow);
  transform: translateY(-2px);
}
.v4-fit__pill i {
  font-size: 1.05rem;
  color: var(--v4-primary);
  flex-shrink: 0;
}

/*CTA BAND — переиспользуемые промежуточные CTA*/
.v4-cta-band {
  padding: 40px 0;
}
.v4-cta-band--alt {
  background: var(--v4-bg-alt);
}
.v4-cta-band__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 40px) clamp(24px, 4vw, 36px);
  background: var(--v4-surface);
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-radius);
  box-shadow: var(--v4-shadow);
  text-align: center;
}
.v4-cta-band--alt .v4-cta-band__inner {
  box-shadow: var(--v4-shadow-sm);
}
.v4-cta-band__h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 12px;
}
.v4-cta-band__p {
  font-size: 0.95rem;
  color: var(--v4-text-secondary);
  line-height: 1.55;
  margin: 0 auto 22px;
  max-width: 560px;
}
.v4-cta-band__inner .lp-btn { min-width: 220px; }
.v4-cta-band--inline {
  margin-top: clamp(28px, 4vw, 40px);
  padding: clamp(22px, 3vw, 28px) clamp(20px, 3vw, 32px);
  background: var(--v4-bg-alt);
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-radius);
  text-align: center;
}
.v4-cta-band--inline .v4-cta-band__p {
  margin-bottom: 16px;
  max-width: none;
}
.v4-cta-band--inline .v4-cta-band__h2 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  margin: 0 auto 10px;
  max-width: 560px;
}
.v4-section--alt .v4-cta-band--inline {
  background: var(--v4-surface);
  box-shadow: var(--v4-shadow-sm);
}

/*CTA STRIP — встроенный split-CTA внутри секции*/
.v4-cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(32px, 4vw, 48px);
  padding: clamp(24px, 3vw, 32px) clamp(24px, 3vw, 36px);
  background: var(--v4-surface);
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-radius);
  box-shadow: var(--v4-shadow-sm);
}
.v4-section:not(.v4-section--alt) .v4-cta-strip {
  background: var(--v4-bg-alt);
  border-color: var(--v4-border);
  box-shadow: none;
}
.v4-cta-strip__content {
  flex: 1;
  min-width: 0;
  text-align: left;
}
.v4-cta-strip__content .v4-card__label {
  margin-bottom: 0;
}
.v4-cta-strip__h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 10px 0 8px;
  color: var(--v4-text);
}
.v4-cta-strip__p {
  font-size: 0.92rem;
  color: var(--v4-text-secondary);
  line-height: 1.55;
  margin: 0 0 14px;
  max-width: 540px;
}
.v4-cta-strip__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.v4-cta-strip__tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--v4-primary-light);
  color: var(--v4-primary);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
}
.v4-cta-strip__tags span i { font-size: 0.95rem; }
.v4-cta-strip__steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.v4-cta-strip__steps span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--v4-text);
}
.v4-cta-strip__steps span em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--v4-primary-light);
  color: var(--v4-primary);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
}
.v4-cta-strip__steps > i {
  color: #C4C9D1;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.v4-cta-strip__action {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/*HEAD*/
.v4-head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}
.v4-head__h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  color: var(--v4-text);
}
.v4-head__lead {
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  color: var(--v4-text-secondary);
  line-height: 1.5;
  margin: 0;
}
.v4-pricing-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--v4-primary-light);
  color: var(--v4-primary);
  font-size: 0.8rem;
  font-weight: 700;
}
.v4-pricing-promo-badge i {
  font-size: 1rem;
}
.v4-head--problem {
  max-width: 920px;
  margin-bottom: clamp(36px, 5vw, 52px);
}
.v4-head--problem .v4-head__h2 {
  line-height: 1.2;
}

/*LABEL — badge*/
.v4-card__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--v4-primary);
  background: var(--v4-primary-light);
  border-radius: 6px;
  padding: 4px 12px;
  margin-bottom: 10px;
}
.v4-head .v4-card__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: transparent;
  padding: 0;
}
.v4-head .v4-card__label::before,
.v4-head .v4-card__label::after {
  content: '';
  width: 80px;
  height: 2px;
  flex-shrink: 0;
}
.v4-head .v4-card__label::before {
  background: linear-gradient(to right, transparent, var(--v4-primary));
}
.v4-head .v4-card__label::after {
  background: linear-gradient(to left, transparent, var(--v4-primary));
}

/*HERO*/
.v4-hero {
  position: relative;
  overflow: hidden;
}
.v4-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(54, 77, 119, 0.2) 1px, transparent 1px);
  background-size: 18px 18px;
  background-position: 0 0;
  opacity: 0.55;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.45) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.45) 70%, transparent 100%);
}
.v4-hero .v4-container { position: relative; z-index: 1; }
.v4-hero__center {
  text-align: center;
  max-width: 900px;
  margin: 0 auto clamp(40px, 5vw, 56px);
}
.v4-hero__h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
  color: var(--v4-text);
}
.v4-hero__h1 em {
  font-style: normal;
  color: var(--v4-primary);
}
.v4-hero__sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--v4-text-secondary);
  line-height: 1.55;
  max-width: 640px;
  margin: 0 auto 36px;
}
.v4-hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.v4-hero__media {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(0px, 2vw, 24px);
}

/*GRID*/
.v4-grid {
  display: grid;
  gap: var(--v4-gap);
}
.v4-grid--2 { grid-template-columns: repeat(2, 1fr); }
.v4-grid--3 { grid-template-columns: repeat(3, 1fr); }
.v4-grid--stretch { align-items: stretch; }

/*CARD*/
.v4-card {
  background: var(--v4-surface);
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-radius);
  box-shadow: var(--v4-shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}
.v4-card:hover {
  box-shadow: var(--v4-shadow);
  transform: translateY(-4px);
}
.v4-card__body { padding: clamp(24px, 3vw, 36px); }
.v4-card__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.v4-card__top .v4-card__label { margin-bottom: 0; }
.v4-card__icon { font-size: 1.5rem; color: var(--v4-primary); }
.v4-card__h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.22;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.v4-card__p {
  font-size: 0.92rem;
  color: var(--v4-text-secondary);
  line-height: 1.55;
  margin: 0;
}

/*MEDIA*/
.v4-card__media {
  margin-top: auto;
  position: relative;
  background: var(--v4-surface-2);
  border-top: 1px solid var(--v4-border);
  min-height: 200px;
}
.v4-card__media--tall { min-height: 500px; margin-top: 24px; border-radius: var(--v4-radius); overflow: hidden; border: 1px solid var(--v4-border); }
.v4-card__media--tall .v4-media-ph--screen { position: relative; inset: auto; min-height: 280px; border: none; box-shadow: none; border-radius: 0; }
.v4-card__media img,
.v4-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}
.v4-media-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--v4-text-secondary);
  text-align: center;
  padding: 20px;
}
.v4-media-ph i { font-size: 2.25rem; color: var(--v4-primary); opacity: 0.9; }
.v4-media-ph b {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9CA3AF;
}
.v4-media-ph span { font-size: 0.85rem; opacity: 0.85; max-width: 260px; }

/*SHOWCASE*/
.v4-showcase {
  border-radius: var(--v4-radius);
  overflow: hidden;
  background: var(--v4-surface-2);
  border: 1px solid var(--v4-border);
  position: relative;
  box-shadow: var(--v4-shadow-lg);
}
.v4-showcase--hero {
  aspect-ratio: 16 / 8;
  min-height: 300px;
}
.v4-hero__media .v4-showcase--hero {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
  border-radius: calc(var(--v4-radius) + 2px);
}
.v4-media-ph--hero {
  position: absolute;
  inset: 0;
  min-height: 0;
  height: 100%;
  border: none;
  box-shadow: none;
  border-radius: 0;
  background: linear-gradient(160deg, #f3f4f6 0%, #e5e7eb 100%);
}

/*HERO STORY — реверсный путь: заявка → … → установка*/
.v4-hero-story {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #ffffff9e;
  /*background: linear-gradient(165deg, #f7f8fb 0%, #eef1f6 55%, #e8ecf3 100%);*/
  overflow: hidden;
}
.v4-hero-story__net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}
.v4-hero-story__stage {
  position: relative;
  flex: 1;
  min-height: 0;
  z-index: 1;
}
.v4-hero-story__frame {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 28px) clamp(16px, 3vw, 32px) 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.985);
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s;
  pointer-events: none;
}
.v4-hero-story__frame.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.v4-hero-story__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  margin: 0;
  text-align: center;
  font-size: clamp(0.78rem, 1.4vw, 0.92rem);
  font-weight: 600;
  color: var(--v4-text);
  letter-spacing: -0.01em;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
  padding: 0 16px;
  pointer-events: none;
  z-index: 3;
}
.v4-hero-story__caption.is-active { opacity: 1; visibility: visible; }
.v4-hero-story__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 3;
}
.v4-hero-story__dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(54, 77, 119, 0.22);
  transition: background 0.3s, transform 0.3s;
}
.v4-hero-story__dots span.is-active {
  background: var(--v4-primary);
  transform: scale(1.2);
}

/*frame 1 — lead + mail*/
.v4-hero-story__lead-stack {
  position: relative;
  width: min(420px, 100%);
  margin: 0 auto 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.v4-hero-story__mail {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--v4-border);
  box-shadow: var(--v4-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: var(--v4-primary);
  opacity: 0;
  transform: translateY(-10px) scale(0.9);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 2;
}
.v4-hero-story__mail.is-on {
  opacity: 1;
  transform: none;
}
.v4-hero-story__mail.is-open {
  transform: scale(0.92);
  opacity: 0.85;
}
.v4-hero-story__mail-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--v4-primary);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(210, 45, 22, 0.35);
  animation: v4-hero-badge-pulse 1.2s ease infinite;
}
@keyframes v4-hero-badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}
.v4-hero-story__lead {
  width: 100%;
  margin: 0;
  box-shadow: var(--v4-shadow);
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
.v4-hero-story__lead.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/*frame 2 — path*/
.v4-hero-story__path {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 720px;
  margin-bottom: 36px;
  flex-wrap: nowrap;
}
.v4-hero-story__path-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 72px;
  opacity: 0.35;
  transform: scale(0.92);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.v4-hero-story__path-step.is-on {
  opacity: 1;
  transform: none;
}
.v4-hero-story__path-step.is-done .v4-hero-story__path-icon {
  background: rgba(16, 129, 0, 0.12);
  color: #108100;
  border-color: rgba(16, 129, 0, 0.25);
}
.v4-hero-story__path-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--v4-border);
  box-shadow: var(--v4-shadow-sm);
  font-size: 1.35rem;
  color: var(--v4-primary);
}
.v4-hero-story__path-step strong {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--v4-text);
  letter-spacing: -0.01em;
}
.v4-hero-story__path-line {
  flex: 1;
  height: 3px;
  max-width: 56px;
  margin: 0 6px 22px;
  border-radius: 3px;
  background: rgba(54, 77, 119, 0.12);
  position: relative;
  overflow: hidden;
}
.v4-hero-story__path-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--v4-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.v4-hero-story__path-line.is-on::after { transform: scaleX(1); }

/*frame 3 — analytics*/
.v4-hero-story__dash {
  width: min(520px, 100%);
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.v4-hero-story__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.v4-hero-story__kpi {
  background: #fff;
  border: 1px solid var(--v4-border);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: var(--v4-shadow-sm);
}
.v4-hero-story__kpi span {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--v4-text-secondary);
  margin-bottom: 4px;
}
.v4-hero-story__kpi strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--v4-text);
  letter-spacing: -0.02em;
}
.v4-hero-story__kpi.is-accent {
  border-color: rgba(210, 45, 22, 0.25);
  background: rgba(210, 45, 22, 0.04);
}
.v4-hero-story__kpi.is-accent strong { color: var(--v4-primary); }
.v4-hero-story__top {
  background: #fff;
  border: 1px solid var(--v4-border);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: var(--v4-shadow-sm);
}
.v4-hero-story__top-head {
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--v4-text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.v4-hero-story__top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 7px 8px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--v4-text);
}
.v4-hero-story__top-row em {
  font-style: normal;
  font-weight: 800;
  color: var(--v4-text-secondary);
}
.v4-hero-story__top-row.is-hot {
  background: rgba(210, 45, 22, 0.06);
}
.v4-hero-story__top-row.is-hot em { color: var(--v4-primary); }

/*frame 4 — showcase vitrine from adaptive tab*/
.v4-hero-story__vitrine {
  width: min(720px, 104%);
  margin: 0 auto 40px;
  height: min(320px, 78%);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--v4-shadow-lg);
  border: 1px solid var(--v4-border);
  background: #fff;
  position: relative;
}
.v4-hero-story__vitrine .v4-ui-screen,
.v4-hero-story__vitrine .v4-ui {
  position: absolute;
  inset: 0;
  min-height: 0;
  height: 100%;
  width: 100%;
  border: none;
  box-shadow: none;
  border-radius: 0;
}
.v4-hero-story__vitrine .v4-ui-showcase__themes { display: none !important; }

/*frame 5 — install*/
.v4-hero-story__install {
  width: min(520px, 100%);
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.v4-hero-story__code {
  margin: 0;
  box-shadow: var(--v4-shadow);
}
.v4-hero-story__code pre {
  font-size: 0.72rem;
  line-height: 1.55;
  padding: 14px 16px;
  margin: 0;
  overflow: hidden;
}
.v4-hero-story__done {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(16, 129, 0, 0.1);
  color: #108100;
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.v4-hero-story__done.is-on {
  opacity: 1;
  transform: none;
}
.v4-hero-story__done i { font-size: 1.1rem; }

@media (max-width: 768px) {
  .v4-hero__center {
    margin-bottom: clamp(24px, 5vw, 36px);
  }
  .v4-hero__media {
    padding: 0 12px;
  }
  .v4-showcase--hero {
    aspect-ratio: auto;
    min-height: 0;
    height: clamp(404px, 98vw, 460px);
  }
  .v4-hero__media .v4-showcase--hero {
    border-radius: var(--v4-radius);
  }
  .v4-hero-story__stage {
    overflow: hidden;
  }
  .v4-hero-story__frame {
    padding: 6px 6px 28px;
  }
  .v4-hero-story__frame:has([data-hero-lead]) {
    align-items: flex-start;
  }
  .v4-hero-story__vitrine {
    width: min(268px, 86%);
    max-width: none;
    height: auto;
    min-height: 0;
    max-height: none;
    margin: 0 auto;
    flex-shrink: 0;
    transform: none;
    transform-origin: center center;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .v4-hero-story__vitrine .v4-ui-screen,
  .v4-hero-story__vitrine .v4-ui {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    flex: 1 1 auto;
    overflow: hidden;
  }
  .v4-hero-story__vitrine .v4-ui-wg-filters {
    display: none !important;
  }
  .v4-hero-story__vitrine .v4-ui {
    min-height: 0;
  }
  .v4-hero-story__vitrine .v4-ui-showcase__site {
    padding: 7px 10px 5px;
    flex-shrink: 0;
  }
  .v4-hero-story__vitrine .v4-ui-showcase__nav,
  .v4-hero-story__vitrine .v4-ui-showcase__cta-sk {
    display: none;
  }
  .v4-hero-story__vitrine .v4-ui-showcase__widget {
    padding-bottom: 0;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .v4-hero-story__vitrine .v4-ui-wg-layout {
    grid-template-columns: 1fr !important;
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
  }
  .v4-hero-story__vitrine .v4-ui-wg-toolbar {
    display: none;
  }
  .v4-hero-story__vitrine .v4-ui-wg-content {
    padding: 6px;
    gap: 0;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
  }
  .v4-hero-story__vitrine .v4-ui-wg-grid {
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
    min-width: 0;
  }
  .v4-hero-story__vitrine .v4-ui-wg-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .v4-hero-story__vitrine .v4-ui-wg-card.is-hero-card-hidden {
    display: none;
  }
  .v4-hero-story__vitrine .v4-ui-wg-card__img {
    height: 68px;
    font-size: 1.35rem;
  }
  .v4-hero-story__vitrine .v4-ui-wg-card__body {
    padding: 6px 8px 8px;
    gap: 2px;
  }
  .v4-hero-story__vitrine .v4-ui-wg-card__title {
    font-size: 0.72rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .v4-hero-story__vitrine .v4-ui-wg-card__sub {
    font-size: 0.6rem;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .v4-hero-story__vitrine .v4-ui-wg-price {
    font-size: 0.78rem;
    line-height: 1.1;
  }
  .v4-hero-story__vitrine .v4-ui-wg-card__actions {
    margin-top: 4px;
    gap: 0;
  }
  .v4-hero-story__vitrine .v4-ui-wg-card__actions .v4-ui-wg-btn {
    padding: 5px 6px;
    font-size: 0.58rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .v4-hero-story__vitrine .v4-ui-wg-card__actions .v4-ui-wg-btn--secondary {
    display: none;
  }
  .v4-hero-story__path {
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    width: min(228px, 92%);
    max-width: none;
    margin: 0 auto;
    gap: 0;
  }
  .v4-hero-story__path-step {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-width: 0;
    width: 100%;
  }
  .v4-hero-story__path-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 1.05rem;
  }
  .v4-hero-story__path-step strong {
    font-size: 0.78rem;
    text-align: left;
    line-height: 1.25;
  }
  .v4-hero-story__path-line {
    display: block;
    flex: 0 0 auto;
    width: 2px;
    height: 12px;
    max-width: none;
    margin: 3px 0 3px 17px;
    border-radius: 2px;
  }
  .v4-hero-story__path-line::after {
    transform: scaleY(0);
    transform-origin: top;
  }
  .v4-hero-story__path-line.is-on::after {
    transform: scaleY(1);
  }
  .v4-hero-story__lead-stack {
    width: min(300px, 94%);
    margin: 0 auto;
    gap: 4px;
    max-height: none;
    overflow: visible;
  }
  .v4-hero-story__mail {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 1.05rem;
  }
  .v4-hero-story__lead.v4-lead-mock--compact {
    padding: 8px 10px;
  }
  .v4-hero-story__lead .v4-lead-mock__head {
    margin-bottom: 8px;
  }
  .v4-hero-story__lead .v4-lead-mock__car {
    padding: 8px;
    margin-bottom: 6px;
  }
  .v4-hero-story__lead .v4-lead-mock__car-img {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .v4-hero-story__lead .v4-lead-mock__car-info strong {
    font-size: 0.78rem;
  }
  .v4-hero-story__lead .v4-lead-mock__car-info span {
    font-size: 0.68rem;
  }
  .v4-hero-story__lead .v4-lead-mock__car-info span:nth-child(3) {
    display: none;
  }
  .v4-hero-story__lead .v4-lead-mock__field {
    padding: 5px 0;
  }
  .v4-hero-story__lead .v4-lead-mock__field span,
  .v4-hero-story__lead .v4-lead-mock__field em {
    font-size: 0.74rem;
  }
  .v4-hero-story__lead .v4-lead-mock__ok {
    font-size: 0.7rem;
    padding: 6px 8px;
    margin-top: 2px;
  }
  .v4-hero-story__kpis {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .v4-hero-story__kpi {
    padding: 8px;
  }
  .v4-hero-story__kpi strong {
    font-size: 0.95rem;
  }
  .v4-hero-story__caption {
    bottom: 8px;
    font-size: 0.72rem;
  }
  .v4-cta-band--inline {
    padding: 20px 18px;
    margin-left: auto;
    margin-right: auto;
  }
  .v4-cta-band--inline .lp-btn {
    width: auto;
    min-width: 0;
    max-width: 100%;
    margin: 0 auto;
    display: inline-flex;
    justify-content: center;
  }
}
@media (max-width: 400px) {
  .v4-showcase--hero {
    height: clamp(396px, 99vw, 420px);
  }
  .v4-hero-story__vitrine {
    width: min(252px, 88%);
  }
  .v4-hero-story__path {
    width: min(210px, 94%);
  }
  .v4-hero-story__path-step strong {
    font-size: 0.72rem;
  }
}

.v4-showcase img,
.v4-showcase video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}

/*WIDGET DEMO*/
.v4-widget-demo {
  overflow: visible;
  background: transparent;
  padding: 0 72px 48px 0;
  min-height: 0;
}
.v4-widget-demo [data-widget-id],
.v4-widget-demo [data-ta-id] {
  overflow: visible !important;
  position: relative;
  background: #fff;
  border-radius: var(--v4-radius);
  box-shadow: var(--v4-shadow);
  border: 1px solid var(--v4-border);
}
#showcase {
  overflow: visible;
}
#showcase .v4-container,
#showcase .lp-reveal {
  overflow: visible;
}

/*TILE*/
.v4-tile {
  background: var(--v4-surface);
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-radius);
  box-shadow: var(--v4-shadow-sm);
  padding: clamp(24px, 3vw, 32px);
  height: 100%;
  transition: box-shadow 0.25s, transform 0.25s;
}
.v4-tile:hover {
  box-shadow: var(--v4-shadow);
  transform: translateY(-4px);
}
.v4-tile__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.v4-tile__top .v4-tile__label { margin-bottom: 0; }
.v4-tile__icon {
  font-size: 1.5rem;
  color: var(--v4-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--v4-primary-light);
  flex-shrink: 0;
}
.v4-tile__label {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--v4-text);
  margin: 0 0 10px;
  line-height: 1.15;
}
.v4-tile__label--accent { color: var(--v4-primary); }
.v4-tile__p {
  font-size: 0.92rem;
  color: var(--v4-text-secondary);
  line-height: 1.55;
  margin: 0;
}

/*COL BLOCK*/
.v4-col-block {
  background: var(--v4-surface);
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-radius);
  box-shadow: var(--v4-shadow-sm);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
}
.v4-col-block__h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.v4-col-block__p {
  font-size: 0.92rem;
  color: var(--v4-text-secondary);
  line-height: 1.55;
  margin: 0 0 8px;
}
.v4-col-block__note {
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.82rem;
  color: var(--v4-text-secondary);
  opacity: 0.75;
}
.v4-col-tiles {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}
.v4-col-tiles .v4-tile {
  background: var(--v4-bg-alt);
  box-shadow: none;
}
.v4-col-tiles .v4-tile:hover { transform: none; }

/*PTILE*/
.v4-ptile {
  background: var(--v4-surface);
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-radius-sm);
  padding: 20px 22px;
  transition: box-shadow 0.25s;
}
.v4-ptile:hover { box-shadow: var(--v4-shadow-sm); }
.v4-ptile--accent {
  background: var(--v4-primary-light);
  border-color: rgba(210, 45, 22, 0.2);
}
.v4-grid--3 .v4-ptile {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.v4-grid--3 .v4-ptile__num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--v4-primary-light);
  font-size: 0.85rem;
  margin-bottom: 0;
}
.v4-ptile__num {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--v4-primary);
  margin-bottom: 6px;
}
.v4-ptile__h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.3;
}
.v4-ptile__p {
  font-size: 0.92rem;
  color: var(--v4-text-secondary);
  line-height: 1.5;
  margin: 0;
}

/*FUNNEL*/
.v4-funnel-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--v4-surface);
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-radius);
  box-shadow: var(--v4-shadow-sm);
  padding: clamp(24px, 4vw, 36px);
}
.v4-funnel { width: 100%; }
.v4-funnel__row {
  display: flex;
  align-items: stretch;
}
.v4-funnel__label {
  flex: 0 0 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right;
  padding-right: 16px;
}
.v4-funnel__name {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--v4-text);
  line-height: 1.2;
}
.v4-funnel__sub {
  font-size: 0.7rem;
  color: var(--v4-text-secondary);
  line-height: 1.2;
}
.v4-funnel__bar-area {
  flex: 1;
  display: flex;
  justify-content: center;
}
.v4-funnel__trap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  min-height: 60px;
  padding: 10px 0;
  clip-path: polygon(calc((100% - var(--fw))/2) 0, calc((100% + var(--fw))/2) 0, calc((100% + var(--fw-next, var(--fw)))/2) 100%, calc((100% - var(--fw-next, var(--fw)))/2) 100%);
}
.v4-funnel__trap--last {
  clip-path: polygon(calc((100% - var(--fw))/2) 0, calc((100% + var(--fw))/2) 0, calc((100% + var(--fw))/2) 100%, calc((100% - var(--fw))/2) 100%);
  border-radius: 0 0 8px 8px;
}
.v4-funnel__val {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.v4-funnel__pct {
  font-size: 0.72rem;
  opacity: 0.9;
  font-weight: 500;
}
.v4-funnel__trap-head {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  width: 100%;
}
.v4-funnel__trap-head .v4-funnel__name {
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.2;
}
.v4-funnel__trap-head .v4-funnel__sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.68rem;
  line-height: 1.2;
}

/*PAIN — Ramp-style: визуал сверху, текст снизу*/
.v4-pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--v4-gap);
  align-items: stretch;
}
.v4-pain-card {
  background: var(--v4-surface);
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-radius);
  box-shadow: var(--v4-shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}
.v4-pain-card:hover {
  box-shadow: var(--v4-shadow);
  transform: translateY(-4px);
}
.v4-pain-card__visual {
  position: relative;
  min-height: 220px;
  padding: 28px 24px 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.v4-pain-card__visual--sand { background: linear-gradient(180deg, #F5F0E8 0%, #EDE6DA 100%); }
.v4-pain-card__visual--mint { background: linear-gradient(180deg, #EAF4EF 0%, #DDEEE4 100%); }
.v4-pain-card__visual--sky { background: linear-gradient(180deg, #EAF0F8 0%, #DDE6F2 100%); }
.v4-pain-card__visual--neg {
  background: linear-gradient(180deg, #FBF5F4 0%, #F5EAEA 100%);
}
.v4-pain-card__visual--pos {
  background: linear-gradient(180deg, #F4F9F5 0%, #EAF3EC 100%);
}
#solution .v4-pain-card__visual--pos {
  height: 248px;
  min-height: 248px;
  flex: none;
}
#solution .v4-solution-mock {
  max-height: 212px;
  box-sizing: border-box;
}
.v4-pain-card__body {
  padding: clamp(22px, 2.5vw, 28px) clamp(22px, 2.5vw, 28px) clamp(26px, 3vw, 32px);
}
.v4-pain-card__h3 {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.v4-pain-card__p {
  font-size: 0.92rem;
  color: var(--v4-text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* Мини-мокапы внутри pain-карточек */
.v4-pain-mock {
  width: min(100%, 260px);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px 12px 0 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  position: relative;
}
.v4-pain-mock--catalog { padding: 14px 14px 10px; }
.v4-pain-mock__bar {
  height: 8px;
  width: 42%;
  border-radius: 4px;
  background: #E5E7EB;
  margin-bottom: 12px;
}
.v4-pain-mock__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #F3F4F6;
}
.v4-pain-mock__row span:first-child {
  flex-shrink: 0;
  width: 36px;
  height: 28px;
  border-radius: 6px;
  background: #F3F4F6;
}
.v4-pain-mock__row span:last-child {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: #E5E7EB;
}
.v4-pain-mock__row.is-faded { opacity: 0.45; }
.v4-pain-mock__scroll {
  display: flex;
  justify-content: center;
  padding: 6px 0 2px;
  color: #9CA3AF;
  font-size: 1rem;
  animation: v4-pain-scroll 2s ease-in-out infinite;
}
@keyframes v4-pain-scroll {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(3px); opacity: 1; }
}

.v4-pain-mock--stale { padding: 16px; }
.v4-pain-mock--stale-list { padding: 14px 14px 10px; }
.v4-pain-mock__stock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #F3F4F6;
}
.v4-pain-mock__stock-row:last-child { border-bottom: none; padding-bottom: 2px; }
.v4-pain-mock__stock-thumb {
  flex-shrink: 0;
  width: 36px;
  height: 28px;
  border-radius: 6px;
  background: #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9CA3AF;
  font-size: 0.85rem;
}
.v4-pain-mock__stock-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.v4-pain-mock__stock-lines span {
  display: block;
  height: 6px;
  border-radius: 4px;
  background: #E5E7EB;
}
.v4-pain-mock__stock-lines span:first-child { width: 72%; }
.v4-pain-mock__stock-lines span:last-child { width: 46%; }
.v4-pain-mock__stock-badge {
  flex-shrink: 0;
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--v4-primary);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.2;
}
.v4-pain-mock__stock-row.is-sold { opacity: 0.78; }
.v4-pain-mock__stock-row.is-sold .v4-pain-mock__stock-thumb {
  background: #FEE8E4;
  color: var(--v4-primary);
}
.v4-pain-mock__car {
  display: flex;
  gap: 12px;
  align-items: center;
}
.v4-pain-mock__car-img {
  width: 72px;
  height: 52px;
  border-radius: 8px;
  background: #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9CA3AF;
  font-size: 1.5rem;
}
.v4-pain-mock__car-lines { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.v4-pain-mock__car-lines span {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: #E5E7EB;
}
.v4-pain-mock__car-lines span:nth-child(1) { width: 75%; }
.v4-pain-mock__car-lines span:nth-child(2) { width: 55%; }
.v4-pain-mock__car-lines span:nth-child(3) { width: 40%; }
.v4-pain-mock__badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  padding: 6px 14px;
  border-radius: 6px;
  background: var(--v4-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(210, 45, 22, 0.35);
}
.v4-pain-mock__clock {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--v4-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--v4-primary);
  font-size: 0.95rem;
}

.v4-pain-mock--lead { padding: 14px; }
.v4-pain-mock__form { display: flex; flex-direction: column; gap: 8px; }
.v4-pain-mock__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  background: #FAFAFA;
}
.v4-pain-mock__field span {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9CA3AF;
}
.v4-pain-mock__field em {
  font-style: normal;
  font-size: 0.78rem;
  color: #374151;
}
.v4-pain-mock__field.is-vague em { color: var(--v4-primary); font-weight: 600; }
.v4-pain-mock__field.is-missing {
  border-color: #FECACA;
  background: #FEF2F2;
}
.v4-pain-mock__field.is-missing em { color: #DC2626; }
.v4-pain-mock__warn {
  position: absolute;
  bottom: -10px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #FECACA;
  color: #DC2626;
  font-size: 0.68rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

/*SOLUTION — benefit mocks (neutral, one accent)*/
.v4-pain-card__visual--neutral {
  background: linear-gradient(180deg, #F4F5F7 0%, #E8EAEE 100%);
}
.v4-solution-mock {
  width: min(100%, 260px);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px 12px 0 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  position: relative;
}
.v4-solution-mock--pick { padding: 12px 12px 10px; }
.v4-solution-mock__filters {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.v4-solution-mock__filters span {
  height: 8px;
  border-radius: 4px;
  background: #E5E7EB;
}
.v4-solution-mock__filters span:nth-child(1) { width: 28%; }
.v4-solution-mock__filters span:nth-child(2) { width: 20%; }
.v4-solution-mock__filters span:nth-child(3) { width: 18%; }
.v4-solution-mock__tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.v4-solution-mock__tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #F3F4F6;
  background: #FAFAFA;
}
.v4-solution-mock__tile.is-dim { opacity: 0.38; }
.v4-solution-mock__tile.is-hot {
  opacity: 1;
  border-color: rgba(210, 45, 22, 0.28);
  background: rgba(210, 45, 22, 0.04);
}
.v4-solution-mock__tile-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border-radius: 6px;
  background: #F3F4F6;
  color: #D1D5DB;
  font-size: 1.15rem;
}
.v4-solution-mock__tile.is-hot .v4-solution-mock__tile-img {
  background: var(--v4-primary-light);
  color: var(--v4-primary);
}
.v4-solution-mock__tile-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.v4-solution-mock__tile-lines i {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: #E5E7EB;
  font-style: normal;
}
.v4-solution-mock__tile-lines i:first-child { width: 78%; }
.v4-solution-mock__tile-lines i:last-child { width: 48%; }
.v4-solution-mock__tile.is-hot .v4-solution-mock__tile-lines i:first-child {
  background: rgba(210, 45, 22, 0.35);
}
.v4-solution-mock__tile-btn {
  display: block;
  height: 10px;
  border-radius: 4px;
  background: var(--v4-primary);
  opacity: 0.85;
  margin-top: 2px;
}
.v4-solution-mock__bar {
  height: 7px;
  width: 36%;
  border-radius: 4px;
  background: #E5E7EB;
  margin-bottom: 10px;
}
.v4-solution-mock__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px;
  margin: 0 -2px;
  border-radius: 8px;
  border: 1px solid transparent;
}
.v4-solution-mock__row.is-dim { opacity: 0.38; }
.v4-solution-mock__row.is-hot {
  opacity: 1;
  border-color: rgba(210, 45, 22, 0.28);
  background: rgba(210, 45, 22, 0.05);
}
.v4-solution-mock__thumb {
  flex-shrink: 0;
  width: 34px;
  height: 26px;
  border-radius: 6px;
  background: #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D1D5DB;
  font-size: 0.9rem;
}
.v4-solution-mock__row.is-hot .v4-solution-mock__thumb {
  background: var(--v4-primary-light);
  color: var(--v4-primary);
}
.v4-solution-mock__lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.v4-solution-mock__lines i {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: #E5E7EB;
  font-style: normal;
}
.v4-solution-mock__lines i:first-child { width: 72%; }
.v4-solution-mock__lines i:last-child { width: 44%; }
.v4-solution-mock__row.is-hot .v4-solution-mock__lines i:first-child {
  background: rgba(210, 45, 22, 0.35);
}

.v4-solution-mock--leads {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.v4-solution-mock__lead {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 8px;
  border: 1px solid #F3F4F6;
  background: #FAFAFA;
}
.v4-solution-mock__lead.is-dim { opacity: 0.4; }
.v4-solution-mock__lead.is-hot {
  opacity: 1;
  border-color: rgba(210, 45, 22, 0.28);
  background: rgba(210, 45, 22, 0.05);
}
.v4-solution-mock__lead-dot {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #E5E7EB;
}
.v4-solution-mock__lead-ok {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--v4-primary);
  font-size: 1.05rem;
  line-height: 1;
}
.v4-solution-mock__lead-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.v4-solution-mock__lead-lines i {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: #E5E7EB;
  font-style: normal;
  width: 70%;
}
.v4-solution-mock__lead-lines i:last-child { width: 46%; }
.v4-solution-mock__lead-lines i.is-vin {
  width: 52%;
  height: 5px;
  background: rgba(210, 45, 22, 0.4);
}

.v4-solution-mock--dash { padding: 14px 14px 12px; }
.v4-solution-mock__dash-top {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.v4-solution-mock__dash-top span {
  height: 6px;
  border-radius: 3px;
  background: #E5E7EB;
  opacity: 0.7;
}
.v4-solution-mock__dash-top span:nth-child(1) { width: 28%; }
.v4-solution-mock__dash-top span:nth-child(2) { width: 18%; }
.v4-solution-mock__dash-top span:nth-child(3) { width: 22%; }
.v4-solution-mock__chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 88px;
  padding: 0 4px 2px;
  border-bottom: 1px solid #F3F4F6;
  background-image: repeating-linear-gradient(
    to top,
    transparent 0,
    transparent 21px,
    #F3F4F6 21px,
    #F3F4F6 22px
  );
}
.v4-solution-mock__col {
  flex: 1;
  height: var(--h, 40%);
  border-radius: 4px 4px 0 0;
  background: #E5E7EB;
  opacity: 0.55;
}
.v4-solution-mock__col.is-hot {
  opacity: 1;
  background: var(--v4-primary);
}
.v4-solution-mock__dash-leg {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.v4-solution-mock__dash-leg span {
  height: 5px;
  border-radius: 3px;
  background: #E5E7EB;
  opacity: 0.55;
}
.v4-solution-mock__dash-leg span:first-child { width: 40%; }
.v4-solution-mock__dash-leg span:last-child { width: 24%; }

/*PATH FLOW — sequence with arc arrows*/
.v4-path-flow {
  position: relative;
  padding-bottom: 36px;
}
.v4-path-flow__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--v4-gap);
  position: relative;
  z-index: 1;
}
.v4-path-flow__step {
  position: relative;
  background: var(--v4-surface);
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-radius);
  box-shadow: var(--v4-shadow-sm);
  padding: clamp(22px, 2.8vw, 28px) clamp(18px, 2.2vw, 24px);
  transition: box-shadow 0.25s, transform 0.25s;
}
.v4-path-flow__step:hover {
  box-shadow: var(--v4-shadow);
}
.v4-path-flow__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--v4-primary-light);
  color: var(--v4-primary);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  box-shadow: inset 0 0 0 1.5px rgba(210, 45, 22, 0.18);
}
.v4-path-flow__h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.25;
}
.v4-path-flow__p {
  font-size: 0.92rem;
  color: var(--v4-text-secondary);
  line-height: 1.5;
  margin: 0;
}
.v4-path-flow__link {
  position: absolute;
  left: calc(100% + (var(--v4-gap) / 2));
  bottom: -32px;
  width: 64px;
  height: 36px;
  transform: translateX(-50%);
  overflow: visible;
  pointer-events: none;
  z-index: 2;
}

/*STEPS + CODE*/
.v4-how {
  display: flex;
  flex-direction: column;
  gap: var(--v4-gap);
}
.v4-how__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--v4-gap);
}
.v4-how__install {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
  padding: clamp(24px, 4vw, 32px);
  background: var(--v4-bg-alt);
  border: 1px solid var(--v4-border);
  border-left: 3px solid var(--v4-primary);
  border-radius: var(--v4-radius);
  min-width: 0;
}
.v4-how__install-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.v4-how__install-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--v4-primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
}
.v4-how__install-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.25;
}
.v4-how__install-desc {
  font-size: 0.9rem;
  color: var(--v4-text-secondary);
  line-height: 1.5;
  margin: 0;
}
.v4-how__install-code .v4-codeblock {
  box-shadow: var(--v4-shadow);
  max-width: 100%;
  min-width: 0;
}
.v4-how__install-code {
  min-width: 0;
  max-width: 100%;
}
.v4-step {
  background: var(--v4-surface);
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-radius);
  box-shadow: var(--v4-shadow-sm);
  padding: clamp(24px, 3vw, 32px);
  transition: box-shadow 0.25s, transform 0.25s;
}
.v4-step:hover {
  box-shadow: var(--v4-shadow);
  transform: translateY(-4px);
}
.v4-step__num {
  display: inline-block;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--v4-primary);
  margin-bottom: 14px;
  line-height: 1;
}
.v4-step__h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.25;
}
.v4-step__p {
  font-size: 0.92rem;
  color: var(--v4-text-secondary);
  line-height: 1.5;
  margin: 0;
}

/*TARIFF / PRICING*/
.v4-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--v4-gap);
  align-items: stretch;
  margin-bottom: clamp(32px, 5vw, 48px);
}
.v4-tariff {
  background: var(--v4-surface);
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-radius);
  box-shadow: var(--v4-shadow-sm);
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.v4-tariff:hover {
  box-shadow: var(--v4-shadow);
}
.v4-tariff--accent {
  border: 2px solid var(--v4-primary);
  box-shadow: var(--v4-shadow-lg);
  padding-top: clamp(28px, 3.5vw, 36px);
}
.v4-tariff__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--v4-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(210, 45, 22, 0.3);
}
.v4-tariff__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.v4-tariff--accent .v4-tariff__head {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(210, 45, 22, 0.12);
}
.v4-tariff__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--v4-primary-light);
  color: var(--v4-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.v4-tariff--accent .v4-tariff__icon {
  background: var(--v4-primary);
  color: #fff;
}
.v4-tariff__name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  line-height: 1.2;
}
.v4-tariff__desc {
  font-size: 0.88rem;
  color: var(--v4-text-secondary);
  margin: 0;
  line-height: 1.45;
}
.v4-tariff__price {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: var(--v4-radius-sm);
  background: var(--v4-bg-alt);
  border: 1px solid var(--v4-border);
}
.v4-tariff--accent .v4-tariff__price {
  background: var(--v4-primary-light);
  border-color: rgba(210, 45, 22, 0.15);
}
.v4-tariff__price-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--v4-text-secondary);
  margin-bottom: 4px;
}
.v4-tariff__price-value {
  display: inline;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--v4-text);
  line-height: 1.15;
}
.v4-tariff__price-old {
  display: inline;
  font-size: 1rem;
  font-weight: 600;
  color: var(--v4-text-secondary);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  opacity: 0.75;
  margin-right: 8px;
}
.v4-tariff__list {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 24px;
}
.v4-tariff__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--v4-text);
  line-height: 1.45;
}
.v4-tariff__list li i {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 1.05rem;
  color: var(--v4-primary);
}
.v4-pricing-grid--4 {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: clamp(24px, 4vw, 32px);
}
.v4-tariff__limits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.v4-tariff__limits span {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--v4-bg-alt);
  border: 1px solid var(--v4-border);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--v4-text-secondary);
}
.v4-tariff--accent .v4-tariff__limits span {
  background: var(--v4-primary-light);
  border-color: rgba(210, 45, 22, 0.12);
  color: var(--v4-text);
}
.v4-tariff__rates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.v4-tariff__rate {
  padding: 12px 10px;
  border-radius: var(--v4-radius-sm);
  background: var(--v4-bg-alt);
  border: 1px solid var(--v4-border);
  text-align: center;
}
.v4-tariff__rate--smart {
  background: #faf8ff;
  border-color: rgba(168, 85, 247, 0.18);
}
.v4-tariff--accent .v4-tariff__rate {
  background: #fff;
  border-color: rgba(210, 45, 22, 0.1);
}
.v4-tariff--accent .v4-tariff__rate--smart {
  background: #fff;
  border-color: rgba(168, 85, 247, 0.22);
}
.v4-tariff__rate-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--v4-text-secondary);
  margin-bottom: 4px;
}
.v4-tariff__rate--smart .v4-tariff__rate-label { color: #7c3aed; }
.v4-tariff__rate-value {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--v4-text);
  line-height: 1.1;
}
.v4-tariff__rate--smart .v4-tariff__rate-value { color: #7c3aed; }
.v4-tariff__rate-meta {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
  color: var(--v4-text-secondary);
}
.v4-pricing-promo {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: var(--v4-radius);
  background: var(--v4-primary-light);
  border: 1px solid rgba(210, 45, 22, 0.12);
}
.v4-pricing-promo__badge {
  flex-shrink: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--v4-primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.v4-pricing-promo__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--v4-text-secondary);
}
.v4-pricing-promo__text a {
  color: var(--v4-primary);
  font-weight: 600;
  text-decoration: none;
}
.v4-pricing-promo__text a:hover { text-decoration: underline; }
.v4-pricing-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: clamp(24px, 4vw, 32px);
}
.v4-pricing-legend__item {
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--v4-text-secondary);
}
.v4-pricing-legend__item strong { color: var(--v4-text); }
.v4-pricing-legend__item--vitrina::before,
.v4-pricing-legend__item--smart::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  transform: translateY(-1px);
}
.v4-pricing-legend__item--vitrina::before { background: #3b82f6; }
.v4-pricing-legend__item--smart::before { background: #a855f7; }
.v4-pricing-principle {
  margin: 0 0 clamp(24px, 4vw, 32px);
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--v4-text-secondary);
  text-align: center;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}
.v4-pricing-grid--2 {
  grid-template-columns: 1fr;
  align-items: stretch;
  margin-bottom: clamp(24px, 4vw, 32px);
}
.v4-pricing-grid--2 .v4-tariff {
  height: 100%;
  padding: clamp(24px, 3vw, 32px);
}
.v4-pricing-grid--2 .v4-tariff--accent {
  padding: clamp(24px, 3vw, 32px);
  border-width: 2px;
}
.v4-pricing-grid--2 .v4-tariff--accent .v4-tariff__head {
  padding-bottom: 0;
  margin-bottom: 20px;
  border-bottom: 0;
}
.v4-pricing-grid--2 .v4-tariff__head {
  min-height: 108px;
  margin-bottom: 20px;
}
@media (min-width: 992px) {
  .v4-pricing-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .v4-pricing-grid--2 .v4-tariff__head { min-height: 100px; }
}
.v4-pricing-slider-wrap {
  margin-bottom: clamp(20px, 3vw, 28px);
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-radius);
  background: var(--v4-surface);
  box-shadow: var(--v4-shadow-sm);
  --pricing-slider-index: 1;
  --pricing-slider-steps: 3;
  --pricing-slider-thumb: 22px;
  --pricing-slider-inset: 10px;
}
.v4-pricing-slider {
  max-width: 640px;
  margin: 0 auto;
}
.v4-pricing-slider__row {
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
  gap: 0;
}
.v4-pricing-slider__row--top {
  margin-bottom: 8px;
}
.v4-pricing-slider__row--bottom {
  margin-top: 8px;
}
.v4-pricing-slider__row--track {
  align-items: stretch;
}
.v4-pricing-slider__axis {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--v4-text-secondary);
  line-height: 1.2;
  padding-right: 12px;
  text-align: right;
  white-space: nowrap;
}
.v4-pricing-slider__axis--spacer {
  visibility: hidden;
}
.v4-pricing-slider__rail {
  position: relative;
}
.v4-pricing-slider__rail--marks {
  min-height: 22px;
}
.v4-pricing-slider__rail--control {
  min-height: 44px;
  cursor: pointer;
  touch-action: none;
  user-select: none;
}
.v4-pricing-slider__rail--control:focus {
  outline: none;
}
.v4-pricing-slider__rail--control:focus-visible {
  outline: 2px solid rgba(210, 45, 22, 0.35);
  outline-offset: 4px;
  border-radius: 8px;
}
.v4-pricing-slider__point {
  --pos: calc(var(--pricing-slider-inset) + var(--step) / var(--pricing-slider-steps) * (100% - 2 * var(--pricing-slider-inset)));
  position: absolute;
  left: var(--pos);
  transform: translateX(-50%);
}
.v4-pricing-slider__mark {
  top: 0;
  padding: 0;
  border: 0;
  background: none;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--v4-text-secondary);
  line-height: 1.2;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}
.v4-pricing-slider__mark--infty {
  font-size: 1.15rem;
  line-height: 1;
}
.v4-pricing-slider__mark.is-active {
  color: var(--v4-primary);
  transform: translateX(-50%) scale(1.04);
}
.v4-pricing-slider__segments {
  position: absolute;
  left: var(--pricing-slider-inset);
  right: var(--pricing-slider-inset);
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  height: 6px;
  pointer-events: none;
}
.v4-pricing-slider__segments span {
  height: 100%;
  background: var(--v4-bg-alt);
  border: 1px solid var(--v4-border);
  border-right: 0;
}
.v4-pricing-slider__segments span:first-child {
  border-radius: 999px 0 0 999px;
}
.v4-pricing-slider__segments span:last-child {
  border-right: 1px solid var(--v4-border);
  border-radius: 0 999px 999px 0;
}
.v4-pricing-slider__tick {
  top: 50%;
  z-index: 1;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  border: 2px solid var(--v4-border);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.v4-pricing-slider__tick.is-active {
  border-color: var(--v4-primary);
  background: var(--v4-primary);
  transform: translateX(-50%) scale(1.08);
}
.v4-pricing-slider__thumb {
  position: absolute;
  top: 50%;
  left: calc(var(--pricing-slider-inset) + var(--pricing-slider-index) / var(--pricing-slider-steps) * (100% - 2 * var(--pricing-slider-inset)));
  z-index: 3;
  width: var(--pricing-slider-thumb);
  height: var(--pricing-slider-thumb);
  border-radius: 50%;
  border: 3px solid #fff;
  background: var(--v4-primary);
  box-shadow: 0 2px 8px rgba(210, 45, 22, 0.35);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: left 0.15s ease;
}
.v4-pricing-slider__rail--control.is-dragging .v4-pricing-slider__thumb {
  transition: none;
}
.v4-pricing-slider__meta {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--v4-border);
}
.v4-pricing-slider__meta-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--v4-text-secondary);
}
.v4-pricing-slider__meta-value {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--v4-primary);
}
.v4-pricing-segments {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}
.v4-pricing-segments__btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-radius-sm);
  background: #fff;
  color: var(--v4-text);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.v4-pricing-segments__btn.is-active {
  border-color: rgba(210, 45, 22, 0.35);
  background: rgba(210, 45, 22, 0.04);
  box-shadow: 0 0 0 1px rgba(210, 45, 22, 0.08);
}
.v4-pricing-segments__name {
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.2;
}
.v4-pricing-segments__hint {
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--v4-text-secondary);
}
.v4-tariff[data-v4-pricing-tariff-v2] {
  display: flex;
  flex-direction: column;
}
.v4-tariff[data-v4-pricing-tariff-v2] .v4-tariff__head {
  min-height: 0;
  margin-bottom: 16px;
}
.v4-tariff[data-v4-pricing-tariff-v2] .v4-tariff__desc {
  font-size: 0.86rem;
  line-height: 1.5;
}
.v4-tariff[data-v4-pricing-tariff-v2] .v4-tariff__body--slider {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.v4-tariff[data-v4-pricing-tariff-v2] .v4-tariff__list {
  margin-bottom: 0;
  padding-bottom: 0;
  gap: 10px;
}
.v4-tariff[data-v4-pricing-tariff-v2] .v4-tariff__list li {
  font-size: 0.86rem;
}
.v4-tariff[data-v4-pricing-tariff-v2] .v4-tariff__foot {
  flex: 0 0 auto;
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.v4-tariff[data-v4-pricing-tariff-v2] .v4-tariff__segments {
  display: none;
  margin-bottom: 0;
}
.v4-tariff[data-v4-pricing-tariff-v2] .v4-tariff__foot .v4-tariff__price {
  margin-bottom: 0;
  padding: 16px 18px;
}
.v4-tariff[data-v4-pricing-tariff-v2] .v4-tariff__price-value.is-updated {
  animation: v4QuotaFlash 0.4s ease;
}
@media (max-width: 768px) {
  .v4-pricing-slider-wrap {
    display: none;
  }
  .v4-tariff[data-v4-pricing-tariff-v2] .v4-tariff__segments {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .v4-tariff[data-v4-pricing-tariff-v2] .v4-tariff__segments .v4-pricing-segments__btn {
    padding: 9px 10px;
  }
  .v4-tariff[data-v4-pricing-tariff-v2] .v4-tariff__segments .v4-pricing-segments__name {
    font-size: 0.82rem;
  }
  .v4-tariff[data-v4-pricing-tariff-v2] .v4-tariff__segments .v4-pricing-segments__hint {
    font-size: 0.62rem;
  }
  #pricing .v4-pricing-grid {
    margin-bottom: 16px;
  }
  .v4-pricing-grid--2 .v4-tariff {
    padding: 18px 16px;
  }
  .v4-tariff[data-v4-pricing-tariff-v2] .v4-tariff__desc {
    font-size: 0.82rem;
  }
  .v4-tariff[data-v4-pricing-tariff-v2] .v4-tariff__list li {
    font-size: 0.82rem;
  }
  .v4-tariff[data-v4-pricing-tariff-v2] .v4-tariff__foot {
    padding-top: 14px;
    gap: 14px;
  }
  .v4-tariff[data-v4-pricing-tariff-v2] .v4-tariff__foot .v4-tariff__price {
    padding: 12px 14px;
  }
}
@media (max-width: 575px) {
  .v4-pricing-slider__axis {
    font-size: 0.58rem;
    padding-right: 8px;
  }
  .v4-pricing-slider__mark {
    font-size: 0.72rem;
  }
}
.v4-tariff[data-v4-pricing-tariff] .v4-tariff__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.v4-tariff[data-v4-pricing-tariff] .v4-tariff__foot {
  flex: 0 0 auto;
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.v4-tariff[data-v4-pricing-tariff] .v4-tariff__foot .v4-tariff__price {
  margin-bottom: 0;
  padding: 16px 18px;
}
.v4-tariff__price-line {
  display: block;
  margin-top: 4px;
  line-height: 1.15;
}
.v4-tariff__packages-wrap {
  margin-bottom: 16px;
}
.v4-tariff__packages-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--v4-text-secondary);
}
.v4-tariff__packages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 0;
}
.v4-tariff__pkg {
  min-width: 0;
  padding: 10px 8px 9px;
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-radius-sm);
  background: #fff;
  color: var(--v4-text);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
}
.v4-tariff__pkg-name {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
}
.v4-tariff__pkg-hint {
  display: block;
  margin-top: 5px;
  font-size: 0.62rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--v4-text-secondary);
}
.v4-tariff__pkg.is-active .v4-tariff__pkg-hint {
  color: rgba(210, 45, 22, 0.7);
}
.v4-tariff__pkg:hover {
  border-color: rgba(54, 77, 119, 0.32);
  background: #fff;
}
.v4-tariff__pkg.is-active {
  color: var(--v4-primary);
  border-color: var(--v4-primary);
  background: var(--v4-primary-light);
  box-shadow: inset 0 0 0 1px rgba(210, 45, 22, 0.08);
}
.v4-tariff--accent .v4-tariff__pkg.is-active {
  color: var(--v4-primary);
  border-color: var(--v4-primary);
  background: var(--v4-primary-light);
}
.v4-tariff__quota {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
  margin-top: auto;
  padding: 18px 14px;
  border-radius: var(--v4-radius-sm);
  background: linear-gradient(180deg, #f8f9fb 0%, #fff 100%);
  border: 1px solid var(--v4-border);
}
.v4-tariff--accent .v4-tariff__quota {
  background: linear-gradient(180deg, #fff8f6 0%, #fff 100%);
  border-color: rgba(210, 45, 22, 0.12);
}
.v4-tariff__quota-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0 6px;
  text-align: center;
}
.v4-tariff__quota-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
}
.v4-tariff__quota-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--v4-border);
  color: var(--v4-primary);
  font-size: 0.95rem;
  line-height: 1;
}
.v4-tariff--accent .v4-tariff__quota-icon {
  background: #fff;
  border-color: rgba(210, 45, 22, 0.14);
}
.v4-tariff__quota-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--v4-text-secondary);
  line-height: 1.2;
}
.v4-tariff__quota-value {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--v4-text);
  line-height: 1.15;
  word-break: break-word;
}
.v4-tariff__quota-value--long {
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.v4-tariff__quota-value.is-updated {
  animation: v4QuotaFlash 0.4s ease;
}
.v4-tariff__quota-sep {
  width: 1px;
  align-self: stretch;
  margin: 6px 0;
  background: var(--v4-border);
}
.v4-tariff--accent .v4-tariff__quota-sep {
  background: rgba(210, 45, 22, 0.12);
}
@keyframes v4QuotaFlash {
  0% { opacity: 0.45; transform: translateY(2px); }
  100% { opacity: 1; transform: translateY(0); }
}
.v4-tariff__price-meta {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--v4-text-secondary);
  vertical-align: baseline;
}
.v4-tariff--accent .v4-tariff__price-meta { color: var(--v4-primary); opacity: 0.75; }
.v4-pricing-details {
  margin-bottom: clamp(24px, 4vw, 32px);
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-radius);
  background: var(--v4-surface);
  box-shadow: var(--v4-shadow-sm);
  overflow: hidden;
}
.v4-pricing-details__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--v4-text);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s ease, background 0.2s ease;
}
.v4-pricing-details__summary::-webkit-details-marker { display: none; }
.v4-pricing-details__summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
  opacity: 0.45;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.v4-pricing-details__summary:hover {
  color: var(--v4-primary);
  background: var(--v4-bg-alt);
}
.v4-pricing-details[open] .v4-pricing-details__summary {
  border-bottom: 1px solid var(--v4-border);
  background: var(--v4-bg-alt);
}
.v4-pricing-details[open] .v4-pricing-details__summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
  opacity: 0.8;
}
.v4-pricing-details .v4-pricing-matrix {
  margin-bottom: 0;
  padding: clamp(16px, 2.5vw, 24px);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.v4-pricing-matrix {
  margin-bottom: clamp(24px, 4vw, 32px);
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-radius);
  background: var(--v4-surface);
  box-shadow: var(--v4-shadow-sm);
}
.v4-pricing-matrix .v4-pricing-table-wrap { margin-bottom: 0; }
.v4-pricing-matrix__table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.86rem;
}
.v4-pricing-matrix__table th,
.v4-pricing-matrix__table td {
  padding: 11px 12px;
  border: 1px solid var(--v4-border);
  text-align: left;
  vertical-align: middle;
}
.v4-pricing-matrix__table thead th {
  background: var(--v4-bg-alt);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--v4-text-secondary);
}
.v4-pricing-matrix__table thead tr:first-child th {
  text-align: center;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.v4-pricing-matrix__table tbody th[scope="row"] {
  font-weight: 700;
  color: var(--v4-text);
  background: #fff;
}
.v4-pricing-matrix__table tbody td {
  color: var(--v4-text);
  background: #fff;
}
.v4-pricing-matrix__table tbody td:nth-child(n+4) {
  font-weight: 700;
  white-space: nowrap;
}
.v4-pricing-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.v4-price-note {
  margin: 0 0 clamp(28px, 4vw, 36px);
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--v4-text-secondary);
  text-align: center;
}
.v4-price-note a {
  color: var(--v4-primary);
  text-decoration: none;
  font-weight: 600;
}
.v4-price-note a:hover { text-decoration: underline; }
@media (min-width: 992px) {
  .v4-pricing-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1280px) {
  .v4-pricing-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/*FINAL CTA*/
.v4-final {
  background: var(--v4-bg-alt);
  position: relative;
  overflow: hidden;
}
.v4-final--light {
  background: var(--v4-bg);
}
.v4-final--light::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(54, 77, 119, 0.16) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.45;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.25) 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.25) 100%);
}
.v4-final .v4-container {
  position: relative;
  z-index: 1;
}
.v4-final__net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}
.v4-final__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.v4-final__info .v4-card__label {
  margin-bottom: 14px;
}
.v4-final__h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 16px;
  color: var(--v4-text);
  text-align: left;
}
.v4-final__p {
  color: var(--v4-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 28px;
  max-width: 520px;
  text-align: left;
}
.v4-final__list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.v4-final__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.v4-final__list-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--v4-surface);
  border: 1px solid var(--v4-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--v4-primary);
  font-size: 1.15rem;
  box-shadow: var(--v4-shadow-sm);
}
.v4-final__list-icon i {
  display: block;
  line-height: 1;
}
.v4-final__list li > div {
  flex: 1;
  min-width: 0;
}
.v4-final__list strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--v4-text);
  line-height: 1.3;
}
.v4-final__list li > div > span {
  display: block;
  font-size: 0.85rem;
  color: var(--v4-text-secondary);
  line-height: 1.45;
}
.v4-final__aside {
  padding-top: 20px;
  border-top: 1px solid var(--v4-border);
}
.v4-final__aside-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--v4-text-secondary);
  margin-bottom: 6px;
}
.v4-final__mail {
  font-size: 1rem;
  font-weight: 600;
  color: var(--v4-primary);
  text-decoration: none;
}
.v4-final__mail:hover {
  color: var(--v4-primary-hover);
  text-decoration: underline;
}
.v4-final__form {
  background: var(--v4-surface);
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-radius);
  box-shadow: var(--v4-shadow-lg);
  padding: clamp(24px, 3vw, 32px);
}
.v4-final__form-head {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--v4-border);
}
.v4-final__form-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.v4-final__form-lead {
  font-size: 0.88rem;
  color: var(--v4-text-secondary);
  margin: 0;
  line-height: 1.45;
}
.v4-final__form-note {
  margin: 14px 0 0;
  font-size: 0.78rem;
  color: var(--v4-text-secondary);
  line-height: 1.45;
  text-align: center;
}

/*FAQ*/
.v4-faq {
  max-width: 820px;
  margin: 0 auto;
}
.v4-faq--card {
  background: var(--v4-surface);
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-radius);
  box-shadow: var(--v4-shadow-sm);
  padding: 8px clamp(20px, 4vw, 32px);
}
.v4-faq__item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--v4-border);
}
.v4-faq__item:last-child { border-bottom: none; }
.v4-faq__btn {
  background: transparent !important;
  color: var(--v4-text);
  font-size: 1rem;
  font-weight: 600;
  padding: 20px 0;
  border: none;
  box-shadow: none !important;
}
.v4-faq__btn:focus { box-shadow: none !important; }
.v4-faq__btn::after { filter: none; opacity: 0.5; }
.v4-faq__btn:not(.collapsed) {
  background: transparent !important;
  color: var(--v4-primary);
}
.v4-faq__btn:not(.collapsed)::after { opacity: 1; }
.v4-faq__btn:hover { color: var(--v4-primary); }
.v4-faq__body {
  padding: 0 0 20px;
  color: var(--v4-text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/*FOOTER*/
.v4-footer {
  background: var(--v4-bg);
  color: var(--v4-text-secondary);
  padding: 48px 0 36px;
  border-top: 1px solid var(--v4-border);
}
.v4-footer__top {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--v4-border);
}
.v4-footer__logo {
  display: inline-block;
  margin-bottom: 12px;
}
.v4-footer__logo img { height: 36px; width: auto; display: block; }
.v4-footer__tagline {
  font-size: 0.9rem;
  color: var(--v4-text-secondary);
  margin: 0;
}
.v4-footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--v4-text-secondary);
}
.v4-footer__row a {
  color: var(--v4-text);
  text-decoration: none;
  transition: color 0.2s;
}
.v4-footer__row a:hover { color: var(--v4-primary); }
.v4-footer__links { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: flex-end; }
.v4-footer__legal { margin: 20px 0 0; font-size: 0.78rem; color: var(--v4-text-secondary); }
.v4-footer__legal a { color: var(--v4-text); text-decoration: none; transition: color 0.2s; }
.v4-footer__legal a:hover { color: var(--v4-primary); }
@media (max-width: 768px) {
  .v4-footer__links { justify-content: flex-start; }
}

/*TABS — блок «Решение» (Amplitude) */
.v4-tabs {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(320px, 1.3fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.v4-tabs__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.v4-tabs__nav { display: flex; flex-direction: column; gap: 6px; }
.v4-tabs__btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 20px;
  min-height: 68px;
  border: 1px solid transparent;
  border-radius: var(--v4-radius-sm);
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  color: var(--v4-text);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  position: relative;
}
.v4-tabs--autoplay .v4-tabs__btn { padding-right: 48px; }
.v4-tabs__btn:hover { background: var(--v4-bg-alt); }
.v4-tabs__btn.is-active {
  background: var(--v4-surface);
  border-color: var(--v4-border);
  box-shadow: var(--v4-shadow-sm);
}
.v4-tabs__timer {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 22px;
  height: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.v4-tabs.is-demo .v4-tabs__btn.is-active .v4-tabs__timer {
  opacity: 1;
  visibility: visible;
}
.v4-tabs__timer svg {
  display: block;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.v4-tabs__timer-track {
  fill: none;
  stroke: var(--v4-border);
  stroke-width: 2;
}
.v4-tabs__timer-progress {
  fill: none;
  stroke: var(--v4-primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 50.27;
  stroke-dashoffset: 0;
}
.v4-tabs__timer.is-running .v4-tabs__timer-progress {
  animation: v4-tabs-timer var(--tabs-interval, 5s) linear forwards;
}
.v4-tabs.is-demo-paused .v4-tabs__timer.is-running .v4-tabs__timer-progress {
  animation-play-state: paused;
}
@keyframes v4-tabs-timer {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: 50.27; }
}
.v4-tabs__label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--v4-primary);
  margin-bottom: 6px;
}
.v4-tabs__title {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  min-height: 2.6em;
  margin: 0;
  letter-spacing: -0.01em;
}
.v4-tabs__descs {
  position: relative;
  min-height: 96px;
}
.v4-tabs__desc {
  position: absolute;
  inset: 0;
  margin: 0;
  font-size: 0.95rem;
  color: var(--v4-text-secondary);
  line-height: 1.55;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.v4-tabs__desc.is-active {
  opacity: 1;
  visibility: visible;
}
.v4-tabs__panel {
  position: relative;
  height: 360px;
}
.v4-tabs__screen {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.v4-tabs__screen.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.v4-tabs__screen img {
  width: 100%;
  border-radius: var(--v4-radius);
  box-shadow: var(--v4-shadow-lg);
  border: 1px solid var(--v4-border);
  display: block;
}
.v4-media-ph--screen {
  position: relative;
  inset: auto;
  min-height: 360px;
  border-radius: var(--v4-radius);
  border: 1px solid var(--v4-border);
  box-shadow: var(--v4-shadow-lg);
  background: linear-gradient(160deg, #f3f4f6 0%, #e5e7eb 100%);
}
.v4-tabs__screen .v4-media-ph--screen {
  position: absolute;
  inset: 0;
  min-height: 0;
  height: 100%;
}

/*DEMO SWITCHER — блок «Аналитика» (Supabase) */
.v4-demo-switcher {
  /*max-width: 960px;*/
  margin: 0 auto;
  text-align: center;
}
.v4-demo-switcher__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}
.v4-demo-switcher__btn {
  padding: 10px 20px;
  border: 1px solid var(--v4-border);
  border-radius: 999px;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--v4-text);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.v4-demo-switcher__btn:hover {
  border-color: var(--v4-text-secondary);
}
.v4-demo-switcher__btn.is-active {
  background: var(--v4-primary);
  border-color: var(--v4-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(210, 45, 22, 0.25);
}
.v4-demo-switcher__body {
  background: var(--v4-surface);
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-radius);
  box-shadow: var(--v4-shadow-lg);
  padding: clamp(24px, 4vw, 36px);
  text-align: left;
}
.v4-demo-switcher__text {
  display: none;
  font-size: 0.95rem;
  color: var(--v4-text-secondary);
  line-height: 1.55;
  margin: 0 0 20px;
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.v4-demo-switcher__text.is-active { display: block; }
.v4-demo-switcher__text p { margin: 0; }
.v4-demo-switcher__panels {
  position: relative;
  aspect-ratio: 16 / 8;
  min-height: 280px;
}
.v4-demo-switcher__screen {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.v4-demo-switcher__screen.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/*CODEBLOCK*/
.v4-codeblock {
  border-radius: var(--v4-radius-sm);
  overflow: hidden;
  background: #1E1E2E;
  border: 1px solid #2D2D3D;
  box-shadow: var(--v4-shadow);
}
.v4-codeblock__header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #16161f;
  border-bottom: 1px solid #2D2D3D;
}
.v4-codeblock__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3D3D4D;
}
.v4-codeblock__dot:nth-child(1) { background: #FF5F57; }
.v4-codeblock__dot:nth-child(2) { background: #FEBC2E; }
.v4-codeblock__dot:nth-child(3) { background: #28C840; }
.v4-codeblock__filename {
  margin-left: auto;
  font-size: 0.75rem;
  color: #8E8E93;
}
.v4-codeblock pre {
  margin: 0;
  padding: 16px 18px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #E5E7EB;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.v4-codeblock code {
  font-family: 'SF Mono', 'Fira Code', Consolas, monospace;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.v4-codeblock .tok-tag { color: #7DD3FC; }
.v4-codeblock .tok-attr { color: #A5B4FC; }
.v4-codeblock .tok-str { color: #86EFAC; }
.v4-codeblock__copy {
  margin: 0 14px 14px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid #3D3D4D;
  border-radius: 6px;
  background: transparent;
  color: #8E8E93;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s, border-color 0.2s;
}
.v4-codeblock__copy:hover { color: #fff; border-color: #6B7280; }

/*LOGOS BAR — бегущая строка (social proof)*/
.v4-logos-bar {
  padding: 20px 0 40px;
  background: var(--v4-bg);
}
.v4-logos-bar__title {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--v4-text-secondary);
  margin: 0 0 28px;
}

/*MARQUEE — бесконечная карусель квадратных лого*/
.v4-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.v4-marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: v4-marquee-scroll 32s linear infinite;
  will-change: transform;
}
.v4-marquee:hover .v4-marquee__track {
  animation-play-state: paused;
}
.v4-marquee__item {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  margin-right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--v4-surface);
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-radius-sm);
  color: #9CA3AF;
  opacity: 0.85;
  transition: opacity 0.2s, box-shadow 0.2s;
}
.v4-marquee__item:hover {
  opacity: 1;
  box-shadow: var(--v4-shadow-sm);
}
.v4-marquee__item i { font-size: 1.6rem; }
.v4-marquee__item span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
@keyframes v4-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-1 * var(--marquee-distance, 50%))); }
}
@media (prefers-reduced-motion: reduce) {
  .v4-marquee__track { animation: none; }
}

/*STATS BAND — крупные цифры (Ramp)*/
.v4-stats {
  background: var(--v4-primary-light);
}
.v4-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 32px);
}
.v4-stat {
  text-align: center;
  padding: 8px 12px;
  position: relative;
}
.v4-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 56px;
  background: rgba(210, 45, 22, 0.15);
}
.v4-stat__num {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--v4-primary);
  line-height: 1;
  margin-bottom: 10px;
}
.v4-stat__label {
  display: block;
  font-size: 0.9rem;
  color: var(--v4-text-secondary);
  line-height: 1.4;
  max-width: 200px;
  margin: 0 auto;
}

/*INTEGRATIONS GRID (Datadog)*/
.v4-integrations {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--v4-gap);
}
.v4-integration {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 16px;
  background: var(--v4-surface);
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-radius);
  box-shadow: var(--v4-shadow-sm);
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
}
.v4-integration:hover {
  box-shadow: var(--v4-shadow);
  transform: translateY(-4px);
}
.v4-integration i {
  font-size: 2rem;
  color: var(--v4-primary);
}
.v4-integration span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--v4-text);
  line-height: 1.3;
}

/*INTEGRATIONS SPLIT*/
.v4-integrations-split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--v4-gap);
  align-items: stretch;
}
.v4-integrations-col {
  background: var(--v4-surface);
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-radius);
  box-shadow: var(--v4-shadow-sm);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.v4-integrations-col--ready {
  border-top: 3px solid var(--v4-primary);
}
.v4-integrations-col--custom {
  border-top: 3px solid #94A3B8;
}
.v4-integrations-col__head {
  margin-bottom: clamp(18px, 2.5vw, 24px);
}
.v4-integrations-col__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 6px;
  padding: 4px 10px;
  margin-bottom: 12px;
}
.v4-integrations-col--ready .v4-integrations-col__badge {
  color: var(--v4-primary);
  background: var(--v4-primary-light);
}
.v4-integrations-col--custom .v4-integrations-col__badge {
  color: #475569;
  background: #F1F5F9;
}
.v4-integrations-col__title {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--v4-text);
}
.v4-integrations-col__lead {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--v4-text-secondary);
}
.v4-integrations-col__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.v4-integrations-col__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-radius-sm);
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
}
.v4-integrations-col__item:hover {
  box-shadow: var(--v4-shadow-sm);
  transform: translateY(-2px);
}
.v4-integrations-col__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.v4-integrations-col--ready .v4-integrations-col__icon {
  color: var(--v4-primary);
  background: var(--v4-primary-light);
}
.v4-integrations-col--custom .v4-integrations-col__icon {
  color: #475569;
  background: #F8FAFC;
}
.v4-integrations-col__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--v4-text);
  line-height: 1.3;
}

/*VARIANT SWITCHER — переиспользуемая механика A/B/C*/
.v4-variant-switcher {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  margin: 0 auto 28px;
  background: var(--v4-bg-alt);
  border: 1px solid var(--v4-border);
  border-radius: 999px;
  box-shadow: var(--v4-shadow-sm);
}
.v4-head + .v4-variant-switcher {
  display: flex;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.v4-variant-switcher__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: none;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  color: var(--v4-text-secondary);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.v4-variant-switcher__btn:hover { color: var(--v4-text); background: rgba(255, 255, 255, 0.7); }
.v4-variant-switcher__btn.is-active {
  background: var(--v4-surface);
  color: var(--v4-text);
  box-shadow: var(--v4-shadow-sm);
}
.v4-variant-switcher__key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--v4-border);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
.v4-variant-switcher__btn.is-active .v4-variant-switcher__key {
  background: var(--v4-primary);
  color: #fff;
}
.v4-variant-switcher__label {
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}
.v4-variants { position: relative; }
.v4-variant-panel {
  animation: v4-variant-in 0.35s ease;
}
.v4-variant-panel[hidden] { display: none !important; }
@keyframes v4-variant-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/*LEAD QUALITY — контент вариантов A / B / C*/
.v4-lead-mock {
  background: #fff;
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-radius-sm);
  box-shadow: var(--v4-shadow);
  padding: 18px;
  position: relative;
}
.v4-lead-mock--bad { border-color: #FECACA; }
.v4-lead-mock--good { border-color: rgba(210, 45, 22, 0.15); }
.v4-lead-mock--compact { padding: 14px; box-shadow: var(--v4-shadow-sm); }
.v4-lead-mock--large { padding: 22px 24px; max-width: 520px; margin: 0 auto; }
.v4-lead-mock__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--v4-border);
}
.v4-lead-mock__head span {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--v4-text-secondary);
}
.v4-lead-mock__head em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--v4-text-secondary);
}
.v4-lead-mock__car {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: var(--v4-radius-sm);
  background: var(--v4-primary-light);
  border: 1px solid rgba(210, 45, 22, 0.12);
}
.v4-lead-mock--good .v4-lead-mock__car {
  background: #ECFDF5;
  border-color: rgba(5, 150, 105, 0.18);
}
.v4-lead-mock__car-img {
  width: 56px;
  height: 44px;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--v4-primary);
  font-size: 1.4rem;
  flex-shrink: 0;
}
.v4-lead-mock--good .v4-lead-mock__car-img {
  color: #059669;
}
.v4-lead-mock__car-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.v4-lead-mock__car-info strong { font-size: 0.88rem; font-weight: 700; line-height: 1.3; }
.v4-lead-mock__car-info span { font-size: 0.75rem; color: var(--v4-text-secondary); line-height: 1.35; }
.v4-lead-mock__field {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 0;
  border-bottom: 1px solid #F3F4F6;
}
.v4-lead-mock__field:last-of-type { border-bottom: none; }
.v4-lead-mock__field span {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9CA3AF;
}
.v4-lead-mock__field em {
  font-style: normal;
  font-size: 0.82rem;
  color: var(--v4-text);
  line-height: 1.4;
}
.v4-lead-mock__field.is-vague em { color: var(--v4-primary); font-weight: 600; }
.v4-lead-mock__field.is-missing em { color: #DC2626; }
.v4-lead-mock__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 16px;
  margin-bottom: 14px;
}
.v4-lead-mock__warn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #DC2626;
  font-size: 0.72rem;
  font-weight: 700;
}
.v4-lead-mock__ok {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #059669;
  font-size: 0.72rem;
  font-weight: 700;
}
.v4-lead-mock__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}
.v4-lead-mock__action {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--v4-border);
  color: var(--v4-text-secondary);
  background: var(--v4-bg-alt);
}
.v4-lead-mock__action.is-primary {
  background: var(--v4-primary);
  border-color: var(--v4-primary);
  color: #fff;
}

/* A — До / После */
.v4-lead-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(16px, 3vw, 32px);
  align-items: center;
  margin-bottom: var(--v4-gap);
}
.v4-lead-compare__side { display: flex; flex-direction: column; gap: 12px; }
.v4-lead-compare__tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.v4-lead-compare__tag.is-bad { background: #FEF2F2; color: #DC2626; border: 1px solid #FECACA; }
.v4-lead-compare__tag.is-good { background: #ECFDF5; color: #059669; border: 1px solid #A7F3D0; }
.v4-lead-compare__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--v4-surface);
  border: 1px solid var(--v4-border);
  box-shadow: var(--v4-shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--v4-primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.v4-lead-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--v4-gap);
}
.v4-lead-chip {
  background: var(--v4-surface);
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-radius-sm);
  padding: 18px 16px;
  text-align: center;
  box-shadow: var(--v4-shadow-sm);
}
.v4-lead-chip i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--v4-primary-light);
  color: var(--v4-primary);
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.v4-lead-chip span {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.v4-lead-chip p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--v4-text-secondary);
  line-height: 1.4;
}

/* B — Поток */
.v4-lead-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: clamp(12px, 2vw, 20px);
  align-items: start;
}
.v4-lead-flow__step {
  background: var(--v4-surface);
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-radius);
  box-shadow: var(--v4-shadow-sm);
  overflow: hidden;
  height: 100%;
}
.v4-lead-flow__num {
  display: block;
  padding: 14px 18px 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--v4-primary);
}
.v4-lead-flow__visual {
  min-height: 180px;
  padding: 16px 16px 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.v4-lead-flow__visual--sand { background: linear-gradient(180deg, #F5F0E8 0%, #EDE6DA 100%); }
.v4-lead-flow__visual--mint { background: linear-gradient(180deg, #EAF4EF 0%, #DDEEE4 100%); }
.v4-lead-flow__visual--sky { background: linear-gradient(180deg, #EAF0F8 0%, #DDE6F2 100%); }
.v4-lead-flow__h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  padding: 16px 18px 6px;
  line-height: 1.3;
}
.v4-lead-flow__p {
  font-size: 0.85rem;
  color: var(--v4-text-secondary);
  line-height: 1.5;
  margin: 0;
  padding: 0 18px 18px;
}
.v4-lead-flow__connector {
  align-self: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--v4-surface);
  border: 1px solid var(--v4-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--v4-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 80px;
}
.v4-lead-flow__pick {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px 12px 0 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
  padding: 12px;
}
.v4-lead-flow__pick-car {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 6px;
  font-size: 0.78rem;
  color: var(--v4-text-secondary);
  border: 1px solid transparent;
}
.v4-lead-flow__pick-car i { color: #9CA3AF; font-size: 1rem; }
.v4-lead-flow__pick-car.is-active {
  background: var(--v4-primary-light);
  border-color: rgba(210, 45, 22, 0.2);
  color: var(--v4-text);
  font-weight: 600;
}
.v4-lead-flow__pick-car.is-active i { color: var(--v4-primary); }
.v4-lead-flow__pick-btn {
  margin-top: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--v4-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}
.v4-lead-flow__transfer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px 12px 0 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
  padding: 20px 12px;
}
.v4-lead-flow__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--v4-text-secondary);
  text-align: center;
}
.v4-lead-flow__node i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--v4-primary-light);
  color: var(--v4-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.v4-lead-flow__pulse {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--v4-primary-light), var(--v4-primary), var(--v4-primary-light));
  border-radius: 2px;
  opacity: 0.6;
}

/* C — CRM + callouts */
.v4-lead-crm__stage {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0 40px;
}
.v4-lead-callout {
  position: absolute;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 220px;
  padding: 12px 14px;
  background: var(--v4-surface);
  border: 1px solid var(--v4-border);
  border-radius: var(--v4-radius-sm);
  box-shadow: var(--v4-shadow);
  font-size: 0.78rem;
  line-height: 1.4;
}
.v4-lead-callout i {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--v4-primary-light);
  color: var(--v4-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.v4-lead-callout strong { display: block; font-size: 0.82rem; margin-bottom: 2px; }
.v4-lead-callout span { color: var(--v4-text-secondary); font-size: 0.75rem; }
.v4-lead-callout--flex { top: 8%; right: -4%; }
.v4-lead-callout--bind { top: 38%; left: -6%; }
.v4-lead-callout--accuracy { bottom: 22%; right: -8%; }
.v4-lead-callout--transparency { bottom: 6%; left: -4%; }

/*RESPONSIVE*/
@media (max-width: 991px) {
  .v4-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .v4-stat:nth-child(2)::after { display: none; }
  .v4-integrations { grid-template-columns: repeat(3, 1fr); }
  .v4-integrations-split { grid-template-columns: 1fr; }
  .v4-grid--3,
  .v4-grid--2 { grid-template-columns: 1fr; }
  .v4-pain-grid { grid-template-columns: 1fr; }
  .v4-how__steps { grid-template-columns: repeat(2, 1fr); }
  .v4-path-flow { padding-bottom: 0; }
  .v4-path-flow__steps { grid-template-columns: repeat(2, 1fr); }
  .v4-path-flow__link { display: none; }
  .v4-how__install { grid-template-columns: 1fr; }
  .v4-how__install-code .v4-codeblock pre {
    padding: 14px 12px;
    font-size: 0.72rem;
    line-height: 1.5;
  }
  .v4-showcase--hero { aspect-ratio: 16/11; min-height: 280px; }
  .v4-header { overflow: visible; }
  .v4-header__inner { position: static; }
  .v4-header__actions .lp-btn--outline { display: none; }
  .v4-header__actions .v4-header__login { display: inline-flex; }
  .v4-header__burger { display: inline-flex; }
  .v4-header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    transform: none;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px clamp(16px, 4vw, 32px) 20px;
    background: #fff;
    border-bottom: 1px solid var(--v4-border);
    box-shadow: var(--v4-shadow-sm);
    overflow: hidden;
  }
  .v4-header.is-menu-open .v4-header__nav { display: flex; }
  .v4-header__nav a {
    padding: 14px 0;
    border-radius: 0;
    white-space: normal;
  }
  .v4-header__nav a + a { border-top: 1px solid var(--v4-border); }
  .v4-tabs { grid-template-columns: 1fr; }
  .v4-tabs__panel { height: 280px; }
  .v4-pricing-grid { grid-template-columns: 1fr; }
  .v4-pricing-grid--4 { grid-template-columns: 1fr; }
  .v4-funnel__label { flex: 0 0 120px; }
  .v4-lead-compare { grid-template-columns: 1fr; }
  .v4-lead-compare__arrow { justify-self: center; transform: rotate(90deg); }
  .v4-lead-chips { grid-template-columns: repeat(2, 1fr); }
  .v4-lead-flow {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .v4-lead-flow__connector {
    justify-self: center;
    margin-top: 0;
    transform: rotate(90deg);
  }
  .v4-lead-crm__stage { padding-bottom: 0; }
  .v4-lead-callout {
    position: static;
    max-width: none;
    margin-top: 12px;
  }
  .v4-lead-crm__stage .v4-lead-mock--large { margin-bottom: 8px; }
}
@media (max-width: 575px) {
  .v4-hero__cta { flex-direction: column; align-items: stretch; }
  .v4-fit__pills { gap: 8px; }
  .v4-fit__pill { width: 100%; justify-content: center; }
  .v4-cta-band { padding: 32px 0; }
  .v4-cta-band__inner .lp-btn { min-width: 0; width: 100%; }
  .v4-cta-band--inline {
    padding: 18px 16px;
  }
  .v4-cta-band--inline .lp-btn {
    width: auto;
    min-width: 0;
    max-width: 100%;
    padding-left: 22px;
    padding-right: 22px;
  }
  .v4-cta-strip {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .v4-cta-strip__content { text-align: center; }
  .v4-cta-strip__p { margin-left: auto; margin-right: auto; }
  .v4-cta-strip__tags,
  .v4-cta-strip__steps { justify-content: center; }
  .v4-cta-strip__action .lp-btn { width: 100%; }
  .v4-final__grid { grid-template-columns: 1fr; }
  .v4-final__h2 br { display: none; }
  .v4-stats__grid { grid-template-columns: 1fr; gap: 24px; }
  .v4-stat::after { display: none !important; }
  .v4-integrations { grid-template-columns: repeat(2, 1fr); }
  .v4-how__steps { grid-template-columns: 1fr; }
  .v4-path-flow__steps { grid-template-columns: 1fr; }
  .v4-path-flow__step + .v4-path-flow__step {
    position: relative;
  }
  .v4-path-flow__step + .v4-path-flow__step::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 50%;
    width: 1px;
    height: 12px;
    background: #D1D5DB;
    transform: translateX(-50%);
  }
  .v4-card__media { min-height: 170px; }
  .v4-widget-demo {
    padding: 48px 16px 40px 0;
  }
  .v4-media-ph--screen { min-height: 260px; }
  .v4-demo-switcher__panels { min-height: 240px; aspect-ratio: 16 / 9; }
  .v4-lead-chips { grid-template-columns: 1fr; }
  .v4-lead-mock__grid { grid-template-columns: 1fr; }
  .v4-variant-switcher { width: 100%; justify-content: center; border-radius: var(--v4-radius); }
  .v4-variant-switcher__label { display: none; }
  .v4-variant-switcher__btn { padding: 10px 14px; }
}

/* funnel mobile + hero showcase height */
@media (max-width: 768px) {
  .v4-funnel-wrap {
    padding: 16px 12px;
  }
  .v4-funnel__row {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  .v4-funnel__label--side {
    display: none;
  }
  .v4-funnel__bar-area {
    width: 100%;
    justify-content: center;
  }
  .v4-funnel__trap {
    width: 100%;
    min-height: 84px;
    padding: 8px 12px 6px;
    gap: 2px;
    margin: 0;
    border-radius: 0;
  }
  .v4-funnel__trap--last {
    margin-bottom: 0;
    border-radius: 0 0 8px 8px;
  }
  .v4-funnel__trap-head {
    display: flex;
    margin-bottom: 0;
    padding: 0 4px;
  }
  .v4-funnel__trap-head .v4-funnel__name {
    font-size: 0.72rem;
  }
  .v4-funnel__trap-head .v4-funnel__sub {
    font-size: 0.62rem;
  }
  .v4-funnel__val {
    font-size: 1.1rem;
    line-height: 1.1;
    text-align: center;
  }
  .v4-funnel__pct {
    text-align: center;
    font-size: 0.64rem;
  }
  .v4-funnel__row:nth-child(3) .v4-funnel__trap {
    min-height: 88px;
  }
  .v4-funnel__row:nth-child(4) .v4-funnel__trap {
    min-height: 92px;
    padding-top: 10px;
  }
  .v4-funnel__row:nth-child(4) .v4-funnel__trap-head .v4-funnel__name {
    font-size: 0.68rem;
  }
  .v4-funnel__row:nth-child(4) .v4-funnel__trap-head .v4-funnel__sub {
    font-size: 0.58rem;
  }
  .v4-showcase--hero {
    aspect-ratio: auto;
    min-height: 0;
    height: clamp(404px, 98vw, 460px);
  }
}
@media (max-width: 400px) {
  .v4-showcase--hero {
    height: clamp(396px, 99vw, 420px);
  }
}
