:root {
      --rd-red: #c71618;
      --rd-red-hover: #a51214;
      --rd-red-light: rgba(199, 22, 24, 0.06);
      --rd-dark: #1a1a1a;
      --rd-gray-bg: #f7f8fa;
      --rd-gray-border: #e5e7eb;
      --rd-gray-text: #6b7280;
      --rd-green: #059669;
      --rd-green-light: rgba(5, 150, 105, 0.06);
      --rd-blue: #2563eb;
      --rd-blue-light: rgba(37, 99, 235, 0.06);
      --rd-radius: 16px;
      --rd-radius-sm: 10px;
      --rd-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
      --rd-shadow-md: 0 4px 16px rgba(0,0,0,0.08);
      --rd-shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
      --rd-transition: 0.25s ease;
    }

    /* Скрываем элементы формы, управляемые lead.js */
    .standalone, .cloud { display: none; }
    .invoice { display: none; }

    /* ====== HERO ====== */
    .page-hero {
      padding: 48px 0 16px;
    }
    .hero-inner {
      display: flex;
      align-items: center;
      gap: 48px;
    }
    .hero-text {
      flex: 1;
    }
    .hero-visual {
      flex: 0 0 420px;
      position: relative;
    }
    .hero-visual img {
      width: 100%;
      border-radius: var(--rd-radius);
      box-shadow: var(--rd-shadow-lg);
    }
    .hero-os-icons {
      display: flex;
      gap: 12px;
      align-items: center;
      margin-top: 20px;
      flex-wrap: wrap;
    }
    .hero-os-icons img {
      height: 28px;
      width: auto;
      opacity: 0.6;
      transition: opacity var(--rd-transition);
      filter: grayscale(40%);
    }
    .hero-os-icons img:hover {
      opacity: 1;
      filter: grayscale(0%);
    }
    .hero-os-label {
      font-size: 12px;
      font-weight: 600;
      color: var(--rd-gray-text);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-right: 4px;
    }
    .page-hero h1 {
      font-size: 40px;
      font-weight: 800;
      line-height: 1.2;
      color: var(--rd-dark);
      margin: 0 0 16px;
      letter-spacing: -0.02em;
    }
    .page-hero .subtitle {
      font-size: 18px;
      color: var(--rd-gray-text);
      margin: 0 0 24px;
      line-height: 1.6;
      max-width: 560px;
    }
    .hero-badges {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      margin-bottom: 20px;
    }
    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      font-weight: 600;
      padding: 6px 14px;
      border-radius: 20px;
      background: var(--rd-green-light);
      color: var(--rd-green);
    }
    .hero-badge svg { width: 14px; height: 14px; }

    @media (max-width: 991px) {
      .hero-inner { flex-direction: column; text-align: center; }
      .hero-visual { flex: none; width: 100%; max-width: 400px; }
      .hero-os-icons { justify-content: center; }
      .hero-badges { justify-content: center; }
    }

    /* ====== ТАРИФНЫЕ КАРТОЧКИ ====== */
    .pricing-cards {
      padding: 40px 0 48px;
    }
    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      align-items: stretch;
    }
    .pricing-card {
      background: #fff;
      border: 2px solid var(--rd-gray-border);
      border-radius: var(--rd-radius);
      padding: 32px 24px 28px;
      display: flex;
      flex-direction: column;
      position: relative;
      transition: all var(--rd-transition);
      cursor: pointer;
    }
    .pricing-card:hover {
      border-color: #d1d5db;
      box-shadow: var(--rd-shadow-md);
      transform: translateY(-2px);
    }
    .pricing-card.is-active {
      border-color: var(--rd-red);
      box-shadow: 0 0 0 1px var(--rd-red), var(--rd-shadow-md);
    }
    .pricing-card.is-popular {
      border-color: var(--rd-red);
    }
    .pricing-card .card-badge {
      position: absolute;
      top: -13px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--rd-red);
      color: #fff;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      padding: 4px 16px;
      border-radius: 20px;
      white-space: nowrap;
    }
    .pricing-card .card-icon {
      width: 56px;
      height: 56px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
    }
    .pricing-card .card-icon svg {
      width: 28px;
      height: 28px;
    }
    .pricing-card .card-icon.icon-home { background: var(--rd-green-light); color: var(--rd-green); }
    .login-form {
      max-width: 400px;
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-bottom: 20px;
    }
    .login-field { display: flex; flex-direction: column; gap: 6px; }
    .login-field input {
      padding: 12px 14px;
      border: 1.5px solid var(--rd-gray-border);
      border-radius: var(--rd-radius-sm);
      font-size: 15px;
      outline: none;
      transition: border-color var(--rd-transition);
      color: var(--rd-dark);
    }
    .login-field input:focus { border-color: var(--rd-red); }
    .login-links {
      display: flex;
      gap: 20px;
      margin-bottom: 24px;
    }
    .login-links a {
      font-size: 14px;
      color: var(--rd-red);
      text-decoration: underline;
      text-decoration-color: rgba(199,22,24,0.3);
      transition: text-decoration-color var(--rd-transition);
    }
    .login-links a:hover { text-decoration-color: var(--rd-red); }
    .promo-row {
      margin-bottom: 20px;
    }
    .promo-row .form-label {
      display: block;
      font-size: 13px;
      font-weight: 600;
      color: var(--rd-gray-text);
      margin-bottom: 8px;
      text-transform: uppercase;
      letter-spacing: 0.03em;
    }
    .btn-apply-promo {
      padding: 12px 18px;
      background: var(--rd-red);
      color: #fff;
      border: none;
      border-radius: var(--rd-radius-sm);
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      white-space: nowrap;
      transition: background var(--rd-transition);
    }
    .btn-apply-promo:hover { background: var(--rd-red-hover); }
    .card-tip-wrap {
      position: relative;
      display: inline-flex;
      align-items: center;
      vertical-align: middle;
      margin-left: 4px;
    }
    .card-tip-icon {
      color: var(--rd-red);
      cursor: pointer;
      flex-shrink: 0;
    }
    .card-tip-text {
      display: none;
      position: absolute;
      bottom: calc(100% + 8px);
      left: 50%;
      transform: translateX(-50%);
      background: var(--rd-dark);
      color: #fff;
      font-size: 12px;
      font-weight: 500;
      line-height: 1.4;
      padding: 8px 12px;
      border-radius: 8px;
      white-space: normal;
      width: 150px;
      text-align: center;
      z-index: 100;
      pointer-events: none;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }
    .card-tip-text::after {
      content: '';
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      border: 5px solid transparent;
      border-top-color: var(--rd-dark);
    }
    .card-tip-wrap:hover .card-tip-text { display: block; }
    .card-tip-corner {
      position: absolute;
      top: 8px;
      right: 8px;
    }
    .card-only-notice {
      margin: 8px 0 0;
      font-size: 13px;
      color: #92400e;
      background: #fffbeb;
      border: 1px solid #fcd34d;
      border-radius: var(--rd-radius-sm);
      padding: 8px 14px;
      width: 100%;
    }
    .home-limit {
      display: inline-block;
      background: rgba(5, 150, 105, 0.12);
      color: var(--rd-green);
      font-size: 13px;
      font-weight: 700;
      padding: 3px 10px;
      border-radius: 20px;
      border: 1px solid rgba(5, 150, 105, 0.3);
      margin-top: 4px;
    }
    .trial-badge {
      display: inline-block;
      background: var(--rd-red-light);
      color: var(--rd-red);
      font-size: 13px;
      font-weight: 700;
      padding: 3px 10px;
      border-radius: 20px;
      border: 1px solid rgba(199, 22, 24, 0.25);
      text-decoration: none;
      transition: background var(--rd-transition), box-shadow var(--rd-transition);
    }
    .trial-badge:hover {
      background: rgba(199, 22, 24, 0.15);
      box-shadow: 0 2px 8px rgba(199, 22, 24, 0.2);
    }
    .pricing-card .card-icon.icon-cloud { background: var(--rd-red-light); color: var(--rd-red); }
    .pricing-card .card-icon.icon-server { background: var(--rd-blue-light); color: var(--rd-blue); }
    .pricing-card .card-icon.icon-uem { background: #f3e8ff; color: #7c3aed; }

    .pricing-card .card-illustration {
      width: 100%;
      height: 120px;
      object-fit: contain;
      margin-bottom: 16px;
      border-radius: var(--rd-radius-sm);
    }

    .pricing-card .card-title {
      font-size: 20px;
      font-weight: 700;
      color: var(--rd-dark);
      margin-bottom: 6px;
    }
    .pricing-card .card-price {
      font-size: 15px;
      color: var(--rd-gray-text);
      margin-bottom: 20px;
      line-height: 1.4;
    }
    .pricing-card .card-price strong {
      font-size: 28px;
      font-weight: 800;
      color: var(--rd-dark);
      display: block;
      margin-bottom: 2px;
    }
    .pricing-card .card-features {
      list-style: none;
      padding: 0;
      margin: 0 0 24px;
      flex: 1;
    }
    .pricing-card .card-features li {
      font-size: 14px;
      line-height: 1.5;
      color: #4b5563;
      padding: 6px 0 6px 24px;
      position: relative;
    }
    .pricing-card .card-features li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 10px;
      width: 16px;
      height: 16px;
      background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23059669'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E") no-repeat center;
      background-size: contain;
    }
    .pricing-card .card-btn {
      display: block;
      width: 100%;
      padding: 14px;
      border-radius: var(--rd-radius-sm);
      font-size: 15px;
      font-weight: 600;
      text-align: center;
      text-decoration: none;
      transition: all var(--rd-transition);
      border: 2px solid transparent;
    }
    .pricing-card .card-btn.btn-primary {
      background: var(--rd-red);
      color: #fff;
      border-color: var(--rd-red);
    }
    .pricing-card .card-btn.btn-primary:hover {
      background: var(--rd-red-hover);
      border-color: var(--rd-red-hover);
      box-shadow: var(--rd-shadow-md);
    }
    .pricing-card .card-btn.btn-secondary {
      background: #fff;
      color: var(--rd-dark);
      border-color: var(--rd-gray-border);
    }
    .pricing-card .card-btn.btn-secondary:hover {
      border-color: var(--rd-red);
      color: var(--rd-red);
    }
    .pricing-card .card-btn.btn-green {
      background: var(--rd-green);
      color: #fff;
      border-color: var(--rd-green);
    }
    .pricing-card .card-btn.btn-green:hover {
      background: #047857;
      border-color: #047857;
    }

    @media (max-width: 991px) {
      .pricing-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 575px) {
      .pricing-grid { grid-template-columns: 1fr; }
      .page-hero h1 { font-size: 28px; }
    }

    /* ====== ЛОГОТИПЫ ДОВЕРИЯ ====== */
    .renew-section {
      padding: 32px 0;
      background: var(--rd-gray-bg);
      border-top: 1px solid var(--rd-gray-border);
      border-bottom: 1px solid var(--rd-gray-border);
    }
    .renew-block {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      flex-wrap: wrap;
    }
    .renew-text h2 {
      font-size: 22px;
      font-weight: 700;
      color: var(--rd-dark);
      margin: 0 0 6px;
    }
    .renew-text p {
      font-size: 15px;
      color: var(--rd-gray-text);
      margin: 0;
    }
    .btn-renew {
      display: inline-block;
      background: var(--rd-red);
      color: #fff !important;
      font-size: 16px;
      font-weight: 700;
      padding: 14px 36px;
      border-radius: var(--rd-radius-sm);
      text-decoration: none;
      white-space: nowrap;
      transition: background var(--rd-transition), box-shadow var(--rd-transition);
      box-shadow: 0 4px 14px rgba(199,22,24,0.25);
    }
    .btn-renew-outline {
      background: #fff !important;
      color: var(--rd-red) !important;
      border: 2px solid var(--rd-red);
      box-shadow: none !important;
    }
    .btn-renew-outline:hover {
      background: var(--rd-red-light, #fff5f5) !important;
    }
    .btn-renew:hover {
      background: var(--rd-red-hover);
      box-shadow: 0 6px 20px rgba(199,22,24,0.35);
    }
    @media (max-width: 600px) {
      .renew-block { flex-direction: column; align-items: flex-start; }
    }
    .renew-pay-tabs {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }
    .renew-tab {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 20px;
      border: 2px solid var(--rd-gray-border);
      border-radius: var(--rd-radius-sm);
      background: #fff;
      font-size: 15px;
      font-weight: 600;
      color: var(--rd-dark);
      cursor: pointer;
      transition: all var(--rd-transition);
    }
    .renew-tab:hover { border-color: var(--rd-red); color: var(--rd-red); }
    .renew-tab.is-active { border-color: var(--rd-red); background: var(--rd-red-light); color: var(--rd-red); }
    .tstep-content { display: none; }
    .tstep-content.is-active { display: block; background: #fff; border-radius: var(--rd-radius); padding: 36px; box-shadow: var(--rd-shadow); animation: fadeSlideIn 0.3s ease; }
    .test-product-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-bottom: 8px;
    }
    .test-product-card {
      border: 2px solid var(--rd-gray-border);
      border-radius: var(--rd-radius-sm);
      padding: 20px 16px;
      text-align: center;
      cursor: pointer;
      transition: all var(--rd-transition);
      background: #fff;
    }
    .test-product-card:hover { border-color: var(--rd-red); background: var(--rd-red-light); }
    .test-product-card.is-selected { border-color: var(--rd-red); background: var(--rd-red-light); }
    .test-product-name { font-size: 16px; font-weight: 700; color: var(--rd-dark); margin-bottom: 8px; }
    .test-product-days { font-size: 13px; color: var(--rd-gray-text); font-weight: 500; }
    .test-product-card.is-selected .test-product-name { color: var(--rd-red); }
    .test-product-card.is-selected .test-product-days { color: var(--rd-red); }
    @media (max-width: 600px) { .test-product-grid { grid-template-columns: 1fr; } }
    .rstep-content { display: none; }
    .rstep-content.is-active { display: block; background: #fff; border-radius: var(--rd-radius); padding: 36px; box-shadow: var(--rd-shadow); animation: fadeSlideIn 0.3s ease; }
    .estep-content { display: none; }
    .estep-content.is-active { display: block; background: #fff; border-radius: var(--rd-radius); padding: 36px; box-shadow: var(--rd-shadow); animation: fadeSlideIn 0.3s ease; }
    .tstep-content { display: none; }
    .tstep-content.is-active { display: block; background: #fff; border-radius: var(--rd-radius); padding: 36px; box-shadow: var(--rd-shadow); animation: fadeSlideIn 0.3s ease; }

    /* Подписи к шагам прогресс-бара */
    .calc-step {
      position: relative;
    }
    .calc-step .step-label {
      position: absolute;
      top: 10px;
      left: 50%;
      transform: translateX(-50%);
      font-size: 11px;
      font-weight: 600;
      color: var(--rd-gray-text);
      white-space: nowrap;
      pointer-events: none;
    }
    .calc-step.is-done .step-label,
    .calc-step.is-current .step-label { color: var(--rd-red); }
    .trust-section {
      padding: 24px 0 40px;
      background: var(--rd-gray-bg);
    }
    .trust-label {
      text-align: center;
      font-size: 22px;
      font-weight: 700;
      color: var(--rd-dark);
      margin-bottom: 20px;
    }
    .trust-logos {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 32px;
      flex-wrap: wrap;
    }
    .trust-logos img {
      height: 61px;
      width: auto;
      opacity: 0.45;
      filter: grayscale(100%);
      transition: all var(--rd-transition);
    }
    .trust-logos img:hover {
      opacity: 0.8;
      filter: grayscale(0%);
    }

    /* ====== ПОШАГОВЫЙ КАЛЬКУЛЯТОР ====== */
    .calculator-section {
      padding: 48px 0;
      background: var(--rd-gray-bg);
      display: none; /* показывается JS-ом */
    }
    .calculator-section.is-visible {
      display: block;
      animation: fadeSlideIn 0.35s ease;
    }
    @keyframes fadeSlideIn {
      from { opacity: 0; transform: translateY(16px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .calc-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 32px;
    }
    .calc-header h2 {
      font-size: 24px;
      font-weight: 700;
      margin: 0;
    }
    .calc-back {
      font-size: 14px;
      font-weight: 600;
      color: var(--rd-gray-text);
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 6px;
      cursor: pointer;
      transition: color var(--rd-transition);
    }
    .calc-back:hover { color: var(--rd-dark); }
    .calc-back svg { width: 16px; height: 16px; }

    /* Шаги */
    .calc-steps {
      display: flex;
      gap: 8px;
      margin-bottom: 48px;
      padding-bottom: 16px;
    }
    .calc-step {
      flex: 1;
      height: 4px;
      background: #d1d5db;
      border-radius: 2px;
      transition: background var(--rd-transition);
    }
    .calc-step.is-done { background: var(--rd-red); }
    .calc-step.is-current { background: var(--rd-red); opacity: 0.5; }

    /* Контент шага */
    .step-content {
      display: none;
      background: #fff;
      border-radius: var(--rd-radius);
      padding: 36px;
      box-shadow: var(--rd-shadow);
    }
    .step-content.is-active { display: block; animation: fadeSlideIn 0.3s ease; }
    .step-title {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 24px;
      color: var(--rd-dark);
    }

    /* Опции выбора (срок лицензии и т.д.) */
    .option-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      gap: 12px;
      margin-bottom: 24px;
    }
    .option-card {
      border: 2px solid var(--rd-gray-border);
      border-radius: var(--rd-radius-sm);
      padding: 16px;
      text-align: center;
      cursor: pointer;
      transition: all var(--rd-transition);
      background: #fff;
      position: relative;
    }
    .option-card:hover {
      border-color: #d1d5db;
      background: var(--rd-gray-bg);
    }
    .option-card.is-selected {
      border-color: var(--rd-red);
      background: var(--rd-red-light);
    }
    .option-card .option-label {
      font-size: 15px;
      font-weight: 600;
      color: var(--rd-dark);
    }
    .option-card .option-price {
      font-size: 13px;
      color: var(--rd-gray-text);
      margin-top: 4px;
    }

    /* Количество подключений */
    .qty-control {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 24px;
    }
    .qty-control label {
      font-size: 15px;
      font-weight: 600;
      color: var(--rd-dark);
      min-width: 200px;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }
    .qty-spinner {
      display: flex;
      align-items: center;
      border: 2px solid var(--rd-gray-border);
      border-radius: var(--rd-radius-sm);
      overflow: hidden;
    }
    .qty-spinner button {
      width: 44px;
      height: 44px;
      border: none;
      background: var(--rd-gray-bg);
      font-size: 20px;
      font-weight: 600;
      color: var(--rd-dark);
      cursor: pointer;
      transition: background var(--rd-transition);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .qty-spinner button:hover { background: #e5e7eb; }
    .qty-spinner input {
      width: 80px;
      height: 44px;
      border: none;
      text-align: center;
      font-size: 18px;
      font-weight: 700;
      color: var(--rd-dark);
      outline: none;
    }

    /* Итог */
    .calc-summary {
      background: var(--rd-gray-bg);
      border-radius: var(--rd-radius-sm);
      padding: 20px 24px;
      margin-top: 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .calc-summary .summary-label {
      font-size: 14px;
      color: var(--rd-gray-text);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.03em;
    }
    .calc-summary .summary-price {
      font-size: 32px;
      font-weight: 800;
      color: var(--rd-dark);
    }

    /* Кнопки навигации */
    .calc-nav {
      display: flex;
      gap: 12px;
      margin-top: 24px;
      justify-content: flex-end;
    }
    .calc-nav .btn {
      padding: 14px 32px;
      border-radius: var(--rd-radius-sm);
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      transition: all var(--rd-transition);
      border: 2px solid transparent;
      text-decoration: none;
    }
    .calc-nav .btn-next {
      background: var(--rd-red);
      color: #fff;
      border-color: var(--rd-red);
    }
    .calc-nav .btn-next:hover {
      background: var(--rd-red-hover);
      border-color: var(--rd-red-hover);
    }
    .calc-nav .btn-prev {
      background: #fff;
      color: var(--rd-gray-text);
      border-color: var(--rd-gray-border);
    }
    .calc-nav .btn-prev:hover { border-color: #d1d5db; color: var(--rd-dark); }

    /* Форма контактов (шаг 3) */
    .contact-form .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      margin-bottom: 12px;
    }
    .contact-form .form-row.full { grid-template-columns: 1fr; }
    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form input[type="tel"],
    .contact-form input[type="password"] {
      width: 100%;
      padding: 14px 16px;
      border: 1.5px solid var(--rd-gray-border);
      border-radius: var(--rd-radius-sm);
      font-size: 15px;
      transition: all var(--rd-transition);
    }
    .contact-form input:focus {
      outline: none;
      border-color: var(--rd-red);
      box-shadow: 0 0 0 3px rgba(199, 22, 24, 0.08);
    }
    .contact-form input::placeholder { color: #9ca3af; }
    .contact-form .form-label {
      font-size: 13px;
      font-weight: 600;
      color: var(--rd-gray-text);
      margin-bottom: 6px;
      display: block;
      text-transform: uppercase;
      letter-spacing: 0.03em;
    }
    .invoice-fields { display: none; }
    .invoice-fields.is-visible { display: block; animation: fadeSlideIn 0.25s ease; }

    /* Финальные кнопки */
    .final-actions {
      display: flex;
      gap: 12px;
      margin-top: 24px;
      flex-wrap: wrap;
    }
    .final-actions .btn {
      padding: 16px 32px;
      border-radius: var(--rd-radius-sm);
      font-size: 16px;
      font-weight: 700;
      cursor: pointer;
      transition: all var(--rd-transition);
      border: 2px solid transparent;
      flex: 1;
      text-align: center;
      min-width: 180px;
    }
    .final-actions .btn-buy {
      background: var(--rd-red);
      color: #fff;
      border-color: var(--rd-red);
    }
    .final-actions .btn-buy:hover {
      background: var(--rd-red-hover);
      transform: translateY(-1px);
      box-shadow: var(--rd-shadow-lg);
    }
    .final-actions .btn-invoice {
      background: #fff;
      color: var(--rd-dark);
      border-color: var(--rd-gray-border);
    }
    .final-actions .btn-invoice:hover {
      border-color: var(--rd-red);
      color: var(--rd-red);
    }
    .final-actions .btn-trial {
      background: #fff;
      color: var(--rd-gray-text);
      border-color: var(--rd-gray-border);
    }
    .final-actions .btn-trial:hover {
      border-color: var(--rd-green);
      color: var(--rd-green);
    }

    .consent-text {
      text-align: center;
      font-size: 13px;
      color: var(--rd-gray-text);
      max-width: 600px;
      margin: 16px auto 0;
      line-height: 1.6;
    }
    .consent-text a {
      color: var(--rd-red);
      text-decoration: underline;
      text-decoration-color: rgba(199, 22, 24, 0.3);
    }
    .email-verify-row {
      display: flex;
      gap: 10px;
      align-items: center;
    }
    .email-verify-row input {
      flex: 1;
    }
    .btn-verify-email {
      flex-shrink: 0;
      padding: 12px 18px;
      background: var(--rd-red);
      color: #fff;
      border: none;
      border-radius: var(--rd-radius-sm);
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: background var(--rd-transition);
      white-space: nowrap;
    }
    .btn-verify-email:hover { background: var(--rd-red-hover); }
    .btn-verify-email:disabled { background: #9ca3af; cursor: default; }
    .verify-code-block {
      display: none;
      margin-top: 14px;
    }
    .verify-code-block.is-visible { display: block; animation: fadeSlideIn 0.25s ease; }
    .verify-code-hint {
      font-size: 13px;
      color: var(--rd-gray-text);
      display: block;
      margin-bottom: 10px;
    }
    .verify-code-inputs {
      display: flex;
      gap: 10px;
      margin-bottom: 10px;
    }
    .code-digit {
      width: 52px;
      height: 56px;
      text-align: center;
      font-size: 24px;
      font-weight: 700;
      border: 2px solid var(--rd-gray-border);
      border-radius: var(--rd-radius-sm);
      outline: none;
      transition: border-color var(--rd-transition);
      color: var(--rd-dark);
    }
    .code-digit:focus { border-color: var(--rd-blue); }
    .code-digit.is-error { border-color: var(--rd-red); }
    .btn-resend-code {
      font-size: 13px;
      color: var(--rd-blue);
      background: none;
      border: none;
      cursor: pointer;
      padding: 0;
      text-decoration: underline;
    }
    .btn-resend-code:disabled { color: var(--rd-gray-text); cursor: default; text-decoration: none; }
    .email-verified-badge {
      display: none;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      font-weight: 600;
      color: var(--rd-green);
      margin-top: 10px;
    }
    .email-verified-badge.is-visible { display: flex; animation: fadeSlideIn 0.25s ease; }
    .email-error-notice {
      display: none;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      font-weight: 600;
      color: #991b1b;
      background: #fee2e2;
      border: 1px solid #fca5a5;
      border-radius: var(--rd-radius-sm);
      padding: 10px 14px;
      margin-top: 10px;
    }
    .email-error-notice svg { flex-shrink: 0; width: 18px; height: 18px; }
    .email-error-notice.is-visible { display: flex; animation: fadeSlideIn 0.25s ease; }
    .field-error {
      display: none;
      font-size: 12px;
      font-weight: 600;
      color: #991b1b;
      background: #fee2e2;
      border: 1px solid #fca5a5;
      border-radius: 6px;
      padding: 6px 10px;
      margin-top: 6px;
    }
    .field-error.is-visible { display: block; animation: fadeSlideIn 0.2s ease; }
    input.is-error { border-color: var(--rd-red) !important; }
    .email-verify-row input.is-error,
    #v2-email.is-error { border-color: var(--rd-red) !important; }
    .review-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      margin-bottom: 24px;
    }
    @media (max-width: 600px) { .review-grid { grid-template-columns: 1fr; } }
    .review-card {
      background: var(--rd-gray-bg);
      border: 1.5px solid var(--rd-gray-border);
      border-radius: var(--rd-radius-sm);
      padding: 14px 16px;
    }
    .review-card-title {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--rd-gray-text);
      margin-bottom: 6px;
    }
    .review-card-value {
      font-size: 15px;
      font-weight: 600;
      color: var(--rd-dark);
    }
    .review-card.full { grid-column: 1 / -1; }
    .review-card.highlight {
      border-color: rgba(199,22,24,0.3);
      background: rgba(199,22,24,0.04);
    }
    .review-card.highlight .review-card-value { color: var(--rd-red); }
    .consent-checkbox {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 13px;
      color: var(--rd-gray-text);
      line-height: 1.6;
      margin: 16px 0 0;
      cursor: pointer;
    }
    .consent-checkbox input[type="checkbox"] {
      flex-shrink: 0;
      width: 18px;
      height: 18px;
      margin-top: 2px;
      accent-color: var(--rd-red);
      cursor: pointer;
    }
    .consent-checkbox a {
      color: var(--rd-red);
      text-decoration: underline;
      text-decoration-color: rgba(199, 22, 24, 0.3);
    }
    .consent-checkbox.is-error input[type="checkbox"] {
      outline: 2px solid var(--rd-red);
      border-radius: 3px;
    }
    .consent-checkbox.is-error span {
      color: var(--rd-red);
    }

    @media (max-width: 768px) {
      .contact-form .form-row { grid-template-columns: 1fr; }
      .final-actions { flex-direction: column; }
      .final-actions .btn { min-width: auto; }
      .qty-control { flex-direction: column; align-items: stretch; }
      .qty-control label { min-width: auto; }
      .calc-summary { flex-direction: column; gap: 8px; text-align: center; }
    }

    /* ====== СРАВНЕНИЕ (свернутое) ====== */
    .comparison-section {
      padding: 48px 0;
    }
    .comparison-toggle {
      display: flex;
      align-items: center;
      justify-content: space-between;
      cursor: pointer;
      padding: 20px 24px;
      background: #fff;
      border: 1.5px solid var(--rd-gray-border);
      border-radius: var(--rd-radius);
      transition: all var(--rd-transition);
    }
    .comparison-toggle:hover {
      border-color: #d1d5db;
      box-shadow: var(--rd-shadow);
    }
    .comparison-toggle h2 {
      font-size: 20px;
      font-weight: 700;
      margin: 0;
    }
    .comparison-toggle .toggle-icon {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--rd-gray-bg);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform var(--rd-transition);
    }
    .comparison-toggle.is-open .toggle-icon { transform: rotate(180deg); }
    .comparison-body {
      display: none;
      padding-top: 24px;
    }
    .comparison-body.is-visible { display: block; animation: fadeSlideIn 0.3s ease; }

    /* Таблица */
    .license-table {
      border-collapse: separate;
      border-spacing: 0;
      border-radius: var(--rd-radius);
      overflow: hidden;
      box-shadow: var(--rd-shadow-md);
      border: 1.5px solid var(--rd-gray-border);
      width: 100%;
      font-size: 14px;
      background: #fff;
    }
    /* Шапка: группы колонок */
    .license-table thead tr:first-child th {
      background: var(--rd-red);
      color: #fff;
      font-weight: 700;
      font-size: 13px;
      padding: 14px 16px;
      text-align: center;
      border-bottom: 1px solid rgba(255,255,255,0.15);
      letter-spacing: 0.01em;
    }
    .license-table thead tr:first-child th:first-child {
      background: #fff;
      color: var(--rd-dark);
      text-align: left;
      border-right: 1.5px solid var(--rd-gray-border);
      border-bottom: 1.5px solid var(--rd-gray-border);
    }
    /* Подзаголовки */
    .license-table thead tr:nth-child(2) th,
    .license-table thead tr:nth-child(3) th {
      background: rgba(199,22,24,0.06);
      color: var(--rd-red);
      font-weight: 600;
      font-size: 12px;
      padding: 9px 14px;
      text-align: center;
      border-bottom: 1.5px solid var(--rd-gray-border);
      white-space: nowrap;
    }
    /* Цветные метки колонок */
    .license-table .col-cloud { background: rgba(199,22,24,0.06); }
    .license-table .col-server { background: rgba(37,99,235,0.06); }
    .license-table .col-uem { background: rgba(124,58,237,0.06); }
    /* Строки данных */
    .license-table tbody tr td {
      padding: 13px 16px;
      text-align: center;
      border-bottom: 1px solid var(--rd-gray-border);
      color: #374151;
      vertical-align: middle;
      font-size: 14px;
    }
    .license-table tbody tr td:first-child {
      text-align: left;
      font-weight: 600;
      color: var(--rd-dark);
      background: var(--rd-gray-bg);
      border-right: 1.5px solid var(--rd-gray-border);
      white-space: nowrap;
    }
    .license-table tbody tr:last-child td { border-bottom: none; }
    .license-table tbody tr:hover td { background: rgba(199,22,24,0.03); }
    .license-table tbody tr:hover td:first-child { background: rgba(199,22,24,0.07); }
    /* Значения */
    .lt-included { color: var(--rd-green); font-weight: 700; }
    .lt-request { color: var(--rd-gray-text); font-style: italic; }
    .lt-price { font-weight: 700; color: var(--rd-dark); }
    .lt-na { color: #d1d5db; }
    .lt-inf { font-size: 18px; color: var(--rd-dark); font-weight: 700; }

    ._text_block { margin-top: 16px; text-align: center; }
    ._text_block p { font-size: 14px; color: var(--rd-gray-text); }
    ._text_block a { color: var(--rd-red); }
    .btn-license-policy,
    .btn-license-policy:hover,
    .btn-license-policy:visited,
    .btn-license-policy:active { color: #fff !important; }
    .btn-license-policy {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--rd-red);
      color: #fff;
      font-size: 14px;
      font-weight: 600;
      padding: 12px 22px;
      border-radius: var(--rd-radius-sm);
      text-decoration: none;
      transition: background var(--rd-transition), box-shadow var(--rd-transition);
    }
    .btn-license-policy:hover {
      background: var(--rd-red-hover);
      box-shadow: var(--rd-shadow-md);
      color: #fff;
    }

    /* ====== КАРТОЧКИ ИНФО (тест / дом) ====== */
    .info-section {
      padding: 48px 0;
    }
    .info-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }
    .info-card {
      background: #fff;
      border: 1.5px solid var(--rd-gray-border);
      border-radius: var(--rd-radius);
      padding: 28px;
      transition: box-shadow var(--rd-transition);
    }
    .info-card:hover { box-shadow: var(--rd-shadow-md); }
    .info-card .badge {
      display: inline-block;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      padding: 4px 12px;
      border-radius: 20px;
      margin-bottom: 16px;
    }
    .info-card .badge-red { background: var(--rd-red-light); color: var(--rd-red); }
    .info-card .badge-green { background: var(--rd-green-light); color: var(--rd-green); }
    .info-card .info-card-img {
      width: 100%;
      height: 160px;
      object-fit: cover;
      border-radius: var(--rd-radius-sm);
      margin-bottom: 20px;
    }
    .info-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
    .info-card p { font-size: 15px; line-height: 1.6; color: #4b5563; margin-bottom: 8px; }
    .info-card p:last-child { margin-bottom: 0; }
    .info-card .hl { font-weight: 600; color: var(--rd-dark); }

    @media (max-width: 768px) { .info-grid { grid-template-columns: 1fr; } }

    /* ====== ПОЧЕМУ RUDESKTOP ====== */
    .why-section { padding: 48px 0; }
    .why-section h2 { font-size: 28px; font-weight: 700; margin-bottom: 32px; text-align: center; }
    .why-layout {
      display: flex;
      gap: 40px;
      align-items: flex-start;
      justify-content: center;
    }
    .why-content { flex: 1; max-width: 1032px; }
    .why-illustration { display: none; }
    .why-grid {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 16px;
    }
    @media (max-width: 991px) {
      .why-layout { flex-direction: column; align-items: center; }
      .why-grid { grid-template-columns: 1fr 1fr; }
    }
    .why-card {
      background: #fff;
      border: 1.5px solid var(--rd-gray-border);
      border-radius: var(--rd-radius);
      padding: 24px;
      display: flex;
      gap: 16px;
      transition: all var(--rd-transition);
    }
    .why-card:hover {
      border-color: rgba(199, 22, 24, 0.2);
      box-shadow: var(--rd-shadow-md);
    }
    .why-card .why-icon {
      width: 44px;
      height: 44px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      background: var(--rd-red-light);
      color: var(--rd-red);
    }
    .why-card .why-icon svg { width: 22px; height: 22px; }
    .why-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
    .why-card p { font-size: 14px; line-height: 1.5; color: #4b5563; margin: 0; }

    @media (max-width: 768px) { .why-grid { grid-template-columns: 1fr; } }

    /* ====== ПРИМЕРЫ ====== */
    .examples-section { padding: 48px 0; background: var(--rd-gray-bg); }
    .examples-section h2 { font-size: 28px; font-weight: 700; margin-bottom: 32px; }
    .examples-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }
    .example-card {
      background: #fff;
      border: 1.5px solid var(--rd-gray-border);
      border-radius: var(--rd-radius);
      padding: 24px;
      transition: box-shadow var(--rd-transition);
    }
    .example-card:hover { box-shadow: var(--rd-shadow-md); }
    .example-card img {
      width: 100%;
      height: 140px;
      object-fit: contain;
      margin-bottom: 16px;
      background: var(--rd-gray-bg);
      border-radius: var(--rd-radius-sm);
      padding: 12px;
    }
    .example-card h5 { font-size: 17px; font-weight: 700; margin-bottom: 16px; }
    .example-card .example-item { padding: 12px 0; border-bottom: 1px solid var(--rd-gray-border); }
    .example-card .example-item:last-child { border-bottom: none; padding-bottom: 0; }
    .example-card .example-item strong { display: block; font-size: 14px; color: var(--rd-dark); margin-bottom: 4px; }
    .example-card .example-item p { font-size: 13px; line-height: 1.5; color: #4b5563; margin: 0; }
    .example-card .example-result {
      display: inline-block;
      font-size: 13px;
      font-weight: 700;
      color: var(--rd-red);
      margin-top: 6px;
    }

    @media (max-width: 768px) { .examples-grid { grid-template-columns: 1fr; } }

    /* ====== МОДАЛКИ ====== */
    ._modal_pres .modal-content {
      border-radius: var(--rd-radius);
      border: none;
      box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    }
    ._modal_pres .modal-body { padding: 40px; }
    ._modal_pres h4 { font-size: 24px; font-weight: 700; }
    ._modal_pres .form-control {
      border-radius: var(--rd-radius-sm);
      border: 1.5px solid var(--rd-gray-border);
      padding: 12px 16px;
    }
