/* ================================================================
   Homepage Expert block — тёмная секция: лид + бенефиты + форма + лояльность
   ================================================================ */

.expert-block {
  background: var(--ink);
  color: var(--paper);
}

.expert-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 80px;
  align-items: flex-start;
}

/* ── Левая колонка ─────────────────────────────── */

.expert-left { max-width: 720px; }

.expert-block .sec-num { color: var(--paper); }
.expert-block .sec-num__num {
  background: var(--paper);
  color: var(--ink);
}

.expert-title {
  margin: 18px 0 0 0;
  color: var(--paper);
}

.expert-title-accent {
  font-size: clamp(24px, 3vw, 36px);
  color: var(--orange);
  margin-top: 32px;
  line-height: 1.2;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0;
}

.expert-desc {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(244, 241, 234, 0.78);
  margin: 32px 0 0 0;
  max-width: 620px;
}

.expert-benefits {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.expert-benefit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.expert-benefit-num {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
}

.expert-benefit-text { color: var(--paper); }
.expert-benefit-text b { font-weight: 700; }
.expert-benefit-sub { opacity: 0.7; }

/* ── Правая колонка ─────────────────────────────── */

.expert-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 360px;
  width: 100%;
}

/* Карточка с формой */

.expert-form-card {
  background: var(--paper);
  border: 1.5px solid var(--paper);
  border-radius: 8px;
  padding: 24px;
  color: var(--ink);
}

.expert-form-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.expert-form-mono {
  font-size: 10px;
  letter-spacing: 0.12em;
}
.expert-form-chip {
  font-size: 9px;
  padding: 3px 8px;
}

.expert-form-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.1;
}

/* Сама форма (cf-public-form) — отступ сверху + плотные инпуты */
.expert-form-card .cf-public-form { margin-top: 18px; }
.expert-form-card .cf-public-form .input { padding: 14px 16px; }

.expert-form-empty {
  padding: 16px;
  border: 1px dashed var(--ink);
  border-radius: 4px;
  font-size: 11px;
  text-align: center;
  opacity: 0.7;
  margin: 18px 0 0;
}

.expert-form-note {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(14, 14, 14, 0.7);
}
.expert-form-note b { color: var(--ink); }

/* Лояльность */

.expert-loyalty {
  border-radius: 8px;
  padding: 16px;
  color: var(--paper);
  display: flex;
  gap: 16px;
  align-items: center;
}

.expert-loyalty-badge {
  min-width: 72px;
  height: 72px;
  flex: 0 0 72px;
  background: var(--mark);
  color: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  transform: rotate(-6deg);
}

.expert-loyalty-text { flex: 1; min-width: 0; }
.expert-loyalty-eyebrow {
  font-size: 10px;
  letter-spacing: 0.12em;
  opacity: 0.7;
}
.expert-loyalty-title {
  font-weight: 700;
  font-size: 14px;
  margin-top: 4px;
}
.expert-loyalty-sub {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 2px;
}
.expert-loyalty-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-weight: 700;
  font-size: 12px;
  color: var(--mark);
}

/* ── Editor adjustments ────────────────────────── */

.editor-styles-wrapper .expert-benefit-tools {
  display: inline-flex;
  gap: 4px;
  margin-left: auto;
}
.editor-styles-wrapper .expert-benefit-add {
  list-style: none;
  margin-top: 4px;
}

/* ── Responsive ───────────────────────────────── */

@media (max-width: 1024px) {
  .expert-grid { grid-template-columns: 1fr; }
  .expert-right { max-width: none; }
}
