/* Форма расчёта — стили изолированы префиксом .rcf, чтобы тема сайта не ломала вид */
.rcf, .rcf * { box-sizing: border-box; }
.rcf {
  --rcf-blue: #0a5cff; --rcf-blue2: #0046e0; --rcf-ink: #0b0f1a; --rcf-muted: #5b6475;
  --rcf-line: #e3e7ef;
  position: relative; overflow: hidden; border-radius: 28px;
  font-family: "Manrope", "Montserrat", "Segoe UI", Arial, sans-serif;
  color: var(--rcf-ink); background: #eef3fb;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px;
  padding: 56px 40px; min-height: 640px; max-width: 1180px; margin: 0 auto;
}
.rcf-bg { position: absolute; inset: 0; background-size: cover; background-position: center bottom; z-index: 0; }
.rcf-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(240,245,252,.96) 0%, rgba(240,245,252,.88) 40%, rgba(240,245,252,0) 62%), linear-gradient(180deg, rgba(240,245,252,.9) 0%, rgba(240,245,252,0) 45%); }
.rcf-left, .rcf-card { position: relative; z-index: 1; }
.rcf-kicker { display: flex; align-items: center; gap: 16px; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: #1d2433; margin: 0 0 22px; }
.rcf-kicker::before { content: ""; width: 44px; height: 2px; background: var(--rcf-blue); }
.rcf-h1 { margin: 0; font-weight: 900; line-height: .95; font-size: clamp(38px, 5.4vw, 68px); text-transform: uppercase; letter-spacing: -.01em; color: var(--rcf-ink); }
.rcf-h1 span { display: block; color: var(--rcf-blue); }
.rcf-lead { margin: 18px 0 28px; font-size: clamp(17px, 1.8vw, 22px); color: #3a4254; }
.rcf-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.rcf-feat { display: flex; align-items: center; gap: 18px; }
.rcf-ico { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(20,40,90,.10); }
.rcf-ico svg { width: 30px; height: 30px; stroke: var(--rcf-blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rcf-feat b { display: block; font-size: 18px; }
.rcf-feat small { font-size: 16px; color: var(--rcf-muted); }

.rcf-card { align-self: center; background: #fff; border-radius: 26px; padding: 40px 36px 32px; box-shadow: 0 24px 60px rgba(20,40,90,.16); }
.rcf-h2 { margin: 0 0 30px; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.12; font-weight: 800; color: var(--rcf-ink); }
.rcf-h2 span { display: block; color: var(--rcf-blue); }
.rcf-field { position: relative; display: block; margin: 0 0 16px; }
.rcf-field svg { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; stroke: #5b6475; fill: none; stroke-width: 1.7; pointer-events: none; }
.rcf .rcf-input { width: 100%; height: 64px; border: 1.5px solid var(--rcf-line) !important; border-radius: 18px !important; background: #fff !important;
  padding: 0 20px 0 62px !important; font: inherit; font-size: 17px; color: var(--rcf-ink) !important; outline: none; box-shadow: none !important; margin: 0; }
.rcf .rcf-input::placeholder { color: #6b7385; }
.rcf .rcf-input:focus { border-color: var(--rcf-blue) !important; box-shadow: 0 0 0 4px rgba(10,92,255,.12) !important; }
.rcf .rcf-btn { width: 100%; height: 68px; margin: 12px 0 18px; border: 0 !important; border-radius: 20px !important; cursor: pointer;
  background: linear-gradient(90deg, var(--rcf-blue2), #1f7bff) !important; color: #fff !important; font: inherit; font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 14px; box-shadow: 0 14px 30px rgba(10,92,255,.30); transition: transform .12s, filter .12s; text-transform: none; }
.rcf .rcf-btn:hover { filter: brightness(1.06); }
.rcf .rcf-btn:active { transform: translateY(2px) scale(.99); }
.rcf .rcf-btn[disabled] { opacity: .7; cursor: wait; }
.rcf-btn svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; }
.rcf-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.4; color: var(--rcf-muted); cursor: pointer; }
.rcf-consent input { flex: 0 0 18px; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--rcf-blue); }
.rcf-consent a { color: var(--rcf-blue); text-decoration: underline; }
.rcf-error { display: none; margin: 0 0 10px; padding: 10px 14px; border-radius: 12px; background: #fff1f1; color: #b42318; font-size: 14px; }
.rcf-error.is-visible { display: block; }
.rcf-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.rcf-done { text-align: center; padding: 40px 0; }
.rcf-done svg { width: 72px; height: 72px; stroke: var(--rcf-blue); fill: none; stroke-width: 1.8; }
.rcf-done p { font-size: 24px; font-weight: 800; margin: 16px 0 0; }

/* v1.0.1: компактнее, раскладка по реальной ширине блока (тема может сужать колонку) */
.rcf-wrap { container-type: inline-size; width: 100%; max-width: 980px; margin: 0 auto; }
.rcf { max-width: none; min-height: 0; padding: 36px 28px; gap: 20px; border-radius: 22px; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.rcf-left, .rcf-card { min-width: 0; }
.rcf-kicker { font-size: 12px; margin-bottom: 16px; }
.rcf-h1 { font-size: clamp(28px, 5cqi, 48px); overflow-wrap: anywhere; }
.rcf-lead { font-size: 17px; margin: 12px 0 20px; }
.rcf-feats { gap: 12px; }
.rcf-ico { flex-basis: 48px; width: 48px; height: 48px; }
.rcf-ico svg { width: 24px; height: 24px; }
.rcf-feat b { font-size: 16px; } .rcf-feat small { font-size: 14px; }
.rcf-card { padding: 28px 24px 22px; border-radius: 20px; }
.rcf-h2 { font-size: clamp(20px, 2.8cqi, 26px); margin-bottom: 20px; }
.rcf .rcf-input { height: 54px; font-size: 16px; border-radius: 14px !important; padding-left: 54px !important; }
.rcf-field svg { left: 18px; width: 22px; height: 22px; }
.rcf .rcf-btn { height: 56px; font-size: 18px; border-radius: 16px !important; white-space: nowrap; }
@container (max-width: 700px) {
  .rcf { grid-template-columns: 1fr; padding: 24px 16px 200px; }
  .rcf-bg::after { background: linear-gradient(180deg, rgba(240,245,252,.96) 0%, rgba(240,245,252,.9) 70%, rgba(240,245,252,0) 90%); }
  .rcf-h1 { font-size: clamp(28px, 9cqi, 40px); }
  .rcf-h2 { font-size: 22px; }
  .rcf-card { padding: 22px 16px 18px; }
}
@container (max-width: 380px) { .rcf .rcf-btn { font-size: 16px; } .rcf { padding-bottom: 160px; } }
