/* ── Дополнения к шаблону: телефон в шапке, квиз, WhatsApp, статусы ── */

/* Текстовый логотип */
.cs_text_brand { display: inline-flex; flex-direction: column; line-height: 1.05; text-decoration: none; font-family: var(--secondary-font); }
.cs_brand_l1 { font-size: 23px; font-weight: 700; color: var(--primary-color); letter-spacing: .3px; text-transform: uppercase; }
.cs_brand_l2 { font-size: 13px; font-weight: 600; color: var(--accent-color); letter-spacing: 6px; text-transform: uppercase; align-self: flex-end; margin-top: 3px; }
.cs_text_brand_footer { align-items: center; }
.cs_text_brand_footer .cs_brand_l1 { font-size: 30px; }
.cs_text_brand_footer .cs_brand_l2 { letter-spacing: 10px; }
@media (max-width: 575px) { .cs_brand_l1 { font-size: 18px; } .cs_brand_l2 { font-size: 11px; letter-spacing: 4px; } }


/* Телефон в шапке */
.cs_header_phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--primary-color); text-decoration: none; white-space: nowrap;
  transition: color .25s;
}
.cs_header_phone i { color: var(--accent-color); }
.cs_header_phone:hover { color: var(--accent-color); }
.cs_header_btns_wrapper { display: flex; align-items: center; gap: 24px; }
@media (max-width: 991px) { .cs_header_phone span { display: none; } }

/* Статус формы */
.cs_form_status { margin: 14px 0 0; font-weight: 600; min-height: 20px; }
.cs_form_status.is-success { color: #1a8f3c; }
.cs_form_status.is-error { color: var(--red-color); }

/* ── Квиз-калькулятор ── */
.qz_overlay {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(13,13,13,.78); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.qz_overlay.open { display: flex; }
.qz_modal {
  background: #fff; width: 100%; max-width: 620px; padding: 48px 44px 36px;
  position: relative; box-shadow: 0 30px 80px rgba(0,0,0,.35);
  animation: qzIn .3s ease;
}
@keyframes qzIn { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.qz_close {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px;
  border: none; background: var(--gray-color); border-radius: 50%; cursor: pointer;
  font-size: 18px; color: var(--primary-color); transition: background .25s;
}
.qz_close:hover { background: var(--accent-color); color: #fff; }
.qz_progress { height: 6px; background: var(--gray-color); border-radius: 50px; overflow: hidden; margin-bottom: 32px; }
.qz_progress_bar { height: 100%; width: 25%; background: var(--accent-color); border-radius: 50px; transition: width .35s ease; }
.qz_step { display: none; }
.qz_step.active { display: block; animation: qzIn .3s ease; }
.qz_q { margin: 0 0 24px; color: var(--primary-color); text-transform: uppercase; }
.qz_options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .qz_options { grid-template-columns: 1fr; } }
.qz_opt { position: relative; cursor: pointer; margin: 0; }
.qz_opt input { position: absolute; opacity: 0; }
.qz_opt span {
  display: flex; flex-direction: column; gap: 4px;
  padding: 18px 20px; border: 2px solid var(--border-color); border-radius: 10px;
  font-weight: 600; color: var(--primary-color); transition: all .2s;
}
.qz_opt span small { font-weight: 600; color: var(--secondary-color); font-size: 13px; }
.qz_opt:hover span { border-color: var(--accent-color); }
.qz_opt input:checked + span { border-color: var(--accent-color); background: var(--gray-color); }
.qz_range { width: 100%; accent-color: var(--accent-color); margin: 10px 0 18px; }
.qz_area_val { text-align: center; font-size: 40px; font-weight: 700; color: var(--accent-color); font-family: var(--secondary-font); }
.qz_estimate {
  background: var(--gray-color); padding: 24px; text-align: center; margin-bottom: 22px;
  display: flex; flex-direction: column; gap: 6px;
}
.qz_est_label { font-weight: 600; color: var(--secondary-color); }
.qz_est_value { font-size: 32px; font-weight: 700; color: var(--accent-color); font-family: var(--secondary-font); }
.qz_est_note { font-size: 13px; color: var(--secondary-color); }
.qz_form .cs_form_field { width: 100%; margin-bottom: 14px; }
.qz_nav { display: flex; gap: 12px; margin-top: 28px; }
.qz_btn {
  flex: 1; padding: 16px 24px; border: none; border-radius: 50px; cursor: pointer;
  font-weight: 700; font-family: var(--primary-font); font-size: 14px; text-transform: uppercase;
  transition: opacity .25s;
}
.qz_btn.cs_accent_bg { color: #fff; }
.qz_back { background: var(--gray-color); color: var(--primary-color); flex: 0 0 auto; padding-inline: 28px; }
.qz_btn:hover { opacity: .88; }
.qz_submit { display: none; }
.qz_shake { animation: qzShake .4s; }
@keyframes qzShake { 0%,100%{transform:none} 25%{transform:translateX(-8px)} 75%{transform:translateX(8px)} }

/* Иконки в iconbox (FontAwesome вместо SVG шаблона) */
.cs_iconbox_style_5 .cs_iconbox_icon i { font-size: 26px; color: #fff; line-height: 1; transition: color .4s ease; }
.cs_iconbox_style_5:hover .cs_iconbox_icon i { color: var(--accent-color); }
.cs_iconbox_style_3 .cs_iconbox_icon { display: inline-flex; align-items: center; justify-content: center; }
.cs_iconbox_style_3 .cs_iconbox_icon i { font-size: 46px; color: var(--accent-color); line-height: 1; }

/* Бейдж и акцент популярного тарифа */
.cs_pricing_table_style_1 { height: 100%; }
.cs_pricing_badge { display: inline-block; padding: 6px 16px; margin-bottom: 14px; }
.cs_pricing_table_style_1.cs_popular .cs_pricing_table_font { outline: 2px solid var(--accent-color); outline-offset: -2px; }
.cs_mt_40 { margin-top: 40px; }

/* Плавающая кнопка WhatsApp */
.wa_float {
  position: fixed; right: 22px; bottom: 22px; z-index: 9998;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 30px; box-shadow: 0 8px 24px rgba(37,211,102,.45);
  transition: transform .25s;
}
.wa_float:hover { transform: scale(1.08); color: #fff; }
@media (max-width: 520px) { .wa_float { width: 52px; height: 52px; font-size: 26px; } }
