/* ============================================================
   КАРБРОКЕР — page-specific visual system
   + Калькулятор кредита (HTML/CSS/JS)
   Обновлено: 2026-09-26
   ============================================================ */

/* ---------- 1. БАЗОВАЯ ПАЛИТРА И ФОНЫ СЕКЦИЙ ---------- */
:root {
  --cb-ink: #173249;
  --cb-deep: #10283b;
  --cb-muted: #536779;
  --cb-line: #dbe4e9;
  --cb-pale: #f1f5f7;
  --cb-gold: #d8b45b;
}

#rec2430227351,
#rec2430227431,
#rec2430227471,
#rec2430227521,
#rec2430227541 { background: #fff !important; }

#rec2430227421,
#rec2430227441,
#rec2430227501,
#rec2430227531 { background: var(--cb-pale) !important; }

#rec2430227351 .t-section__title,
#rec2430227421 .t-section__title,
#rec2430227431 .t-section__title,
#rec2430227441 .t-section__title,
#rec2430227501 .t-section__title,
#rec2430227521 .t-section__title,
#rec2430227531 .t-section__title,
#rec2430227541 .t-title { color: var(--cb-ink) !important; }

/* ---------- 2. КАРТОЧКИ АВТОМОБИЛЕЙ ---------- */
#rec2430227421 .t772__col {
  box-sizing: border-box;
  padding: 14px 14px 20px;
  background: #fff;
  border: 1px solid var(--cb-line);
  border-radius: 19px;
  box-shadow: 0 10px 28px rgba(18,46,67,.075);
  transition: transform .2s ease, box-shadow .2s ease;
}
#rec2430227421 .t772__col:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(18,46,67,.13);
}
#rec2430227421 .t772__imgwrapper,
#rec2430227421 .t772__img {
  border-radius: 12px !important;
  overflow: hidden;
}
#rec2430227421 .t772__textwrapper { padding: 17px 5px 0; }
#rec2430227421 .t-card__uptitle {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 7px;
  background: #f4ecd8;
  color: #74551f !important;
  font-size: 11px !important;
  letter-spacing: .04em;
}
#rec2430227421 .t-card__title {
  color: var(--cb-ink) !important;
  font-weight: 700;
  line-height: 1.3;
}
#rec2430227421 .t-card__descr {
  color: var(--cb-muted) !important;
  line-height: 1.55;
}
#rec2430227421 .t-card__btn-wrapper { padding: 0 5px; }
#rec2430227421 .t-btnflex.t-btnflex_type_button {
  background: var(--cb-ink) !important;
  color: #fff !important;
  border-radius: 9px !important;
  box-shadow: none !important;
}
#rec2430227421 .t772__col:hover .t-btnflex.t-btnflex_type_button {
  background: #244a64 !important;
}

/* ---------- 3. ДОВЕРИЕ И ПРОЦЕСС ---------- */
#rec2430227351 .t820__col_first,
#rec2430227351 .t820__container .t-item,
#rec2430227441 .t820__container .t-item,
#rec2430227521 .t820__container .t-item {
  box-sizing: border-box;
  padding: 22px 22px 20px;
  border: 1px solid var(--cb-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(18,46,67,.05);
}
#rec2430227351 .t820__bgimg,
#rec2430227441 .t820__bgimg,
#rec2430227521 .t820__bgimg {
  filter: hue-rotate(270deg) saturate(.8);
}
#rec2430227431 .t948__textwrapper {
  background: #fff !important;
  border: 1px solid var(--cb-line) !important;
  border-radius: 17px !important;
  box-shadow: 0 6px 18px rgba(18,46,67,.055);
}
#rec2430227431 .t948__circle {
  background: #f5ead0 !important;
  border-color: #fff !important;
}
#rec2430227501 .t812__col { color: var(--cb-ink); }

/* ---------- 4. ФОРМА ЗАЯВКИ (ФИНАЛЬНЫЙ БЛОК) ---------- */
#rec2430227571 { background: var(--cb-deep) !important; }
#rec2430227571 .t-section__title,
#rec2430227571 .t-section__descr { color: #fff !important; }
#rec2430227571 .t-input,
#rec2430227571 .t-input-phonemask__wrap {
  background: #fff !important;
  border: 1px solid #bdcbd5 !important;
  border-radius: 10px !important;
}
#rec2430227571 .t-input-group_nm { width: 100% !important; }
#rec2430227571 .t-btnflex.t-btnflex_type_submit {
  background: var(--cb-gold) !important;
  color: var(--cb-deep) !important;
  border-radius: 10px !important;
  font-weight: 700;
}
#rec2430227571 .t-btnflex.t-btnflex_type_submit:hover {
  background: #e6c77b !important;
}

/* ---------- 5. АДАПТАЦИЯ (ОБЩАЯ) ---------- */
@media (max-width: 960px) {
  #rec2430227421 .t772__col { margin-bottom: 22px; }
  #rec2430227351 .t820__container .t-item,
  #rec2430227441 .t820__container .t-item,
  #rec2430227521 .t820__container .t-item { margin-bottom: 14px; }
}
@media (max-width: 640px) {
  #rec2430227421 .t772__col { padding: 12px 12px 18px; border-radius: 16px; }
  #rec2430227421 .t-card__descr { font-size: 14px !important; }
  #rec2430227421 .t-card__title { font-size: 18px !important; }
  #rec2430227421 .t-btnflex.t-btnflex_type_button { width: 100%; justify-content: center; }
  #rec2430227571 .t-container { padding-left: 20px; padding-right: 20px; }
}

/* ============================================================
   6. ВИЗУАЛЬНОЕ ОБНОВЛЕНИЕ 2026-09-25 (обложка, карточки)
   ============================================================ */
:root {
  --cb-ink: #142b38;
  --cb-deep: #102530;
  --cb-muted: #586b73;
  --cb-line: #e1e8e8;
  --cb-pale: #f5f7f6;
  --cb-gold: #d9b56b;
}
html { scroll-behavior: smooth; }

/* Обложка */
#rec2430227341 .t-cover { background: #102530; }
#rec2430227341 .t-cover__carrier {
  background-position: 64% 50% !important;
  transform: scale(1.035);
  animation: cbHeroReveal 1.5s ease-out both;
}
#rec2430227341 .t-cover__filter {
  background-image: linear-gradient(90deg,
    rgba(8,27,39,.91) 0%,
    rgba(8,27,39,.78) 36%,
    rgba(8,27,39,.34) 75%,
    rgba(8,27,39,.20) 100%) !important;
}
#rec2430227341 .t001 { text-align: left; max-width: 760px; margin-left: 0; }
#rec2430227341 .t001__wrapper { padding-top: 60px; padding-bottom: 64px; }
#rec2430227341 .t001__uptitle {
  text-align: left;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #e6cb90 !important;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: .22em;
}
#rec2430227341 .t001__uptitle:before {
  content: "";
  width: 32px;
  height: 1px;
  background: #e6cb90;
}
#rec2430227341 .t001__title {
  text-align: left;
  font-weight: 650 !important;
  letter-spacing: -.045em !important;
  line-height: 1.08 !important;
  text-wrap: balance;
}
#rec2430227341 .t001__descr {
  text-align: left !important;
  margin-left: 0 !important;
  max-width: 650px;
  color: #d5e0e2 !important;
  line-height: 1.55 !important;
}
#rec2430227341 .t001__buttons {
  justify-content: flex-start !important;
  text-align: left;
}
#rec2430227341 .t001__button {
  min-width: 205px;
  transition: transform .25s ease, box-shadow .25s ease !important;
}
#rec2430227341 .t001__button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,.18) !important;
}
#rec2430227341 .t-btnflex_type_button {
  background: #e0bd73 !important;
  color: #142b38 !important;
}
#rec2430227341 .t-btnflex_type_button2 {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,.7) !important;
  color: #fff !important;
}
#rec2430227341 .t-cover__arrow { opacity: .65; }

/* Фоны секций */
#rec2430227351,
#rec2430227431,
#rec2430227471,
#rec2430227521,
#rec2430227541 { background: #fff !important; }
#rec2430227421,
#rec2430227441,
#rec2430227501,
#rec2430227531 { background: #f4f7f6 !important; }

#rec2430227351 .t-section__title,
#rec2430227421 .t-section__title,
#rec2430227431 .t-section__title,
#rec2430227441 .t-section__title,
#rec2430227501 .t-section__title,
#rec2430227521 .t-section__title,
#rec2430227531 .t-section__title {
  letter-spacing: -.035em !important;
  line-height: 1.14 !important;
}

/* Карточки авто — новая версия */
#rec2430227421 .t772__col {
  position: relative;
  padding: 0 0 22px !important;
  border: 1px solid #e5ebeb !important;
  border-radius: 22px !important;
  overflow: hidden;
  background: #fff !important;
  box-shadow: 0 8px 28px rgba(13,42,49,.055) !important;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease !important;
}
#rec2430227421 .t772__col:hover {
  transform: translateY(-7px) !important;
  box-shadow: 0 23px 55px rgba(13,42,49,.15) !important;
}
#rec2430227421 .t772__imgwrapper {
  padding-bottom: 76% !important;
  border-radius: 0 !important;
  overflow: hidden;
  background: #e9eeee;
}
#rec2430227421 .t772__img {
  border-radius: 0 !important;
  transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .35s ease !important;
}
#rec2430227421 .t772__col:hover .t772__img {
  transform: scale(1.045);
  filter: saturate(1.05);
}
#rec2430227421 .t772__imgwrapper:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,25,33,.18), transparent 36%, transparent 70%, rgba(7,25,33,.08));
  pointer-events: none;
}
#rec2430227421 .t772__col:nth-child(-n+10):before {
  content: "Наличие уточняется";
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 3;
  background: rgba(255,255,255,.95);
  color: #213d47;
  padding: 8px 11px;
  border-radius: 30px;
  font-size: 11px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: .015em;
  box-shadow: 0 4px 14px rgba(0,0,0,.1);
}
#rec2430227421 .t772__textwrapper { padding: 22px 22px 0 !important; }
#rec2430227421 .t-card__uptitle {
  background: #f2f5f3 !important;
  color: #556b68 !important;
  padding: 6px 10px !important;
  border-radius: 30px !important;
  text-transform: none !important;
  letter-spacing: .015em !important;
  font-size: 11px !important;
}
#rec2430227421 .t-card__title {
  font-size: 21px !important;
  line-height: 1.25 !important;
  letter-spacing: -.025em;
  margin-top: 11px !important;
  margin-bottom: 12px !important;
  min-height: 52px;
}
#rec2430227421 .t-card__descr {
  font-size: 13px !important;
  line-height: 1.68 !important;
  color: #62747b !important;
}
#rec2430227421 .t-card__btn-wrapper {
  padding: 0 22px !important;
  margin-top: 18px;
}
#rec2430227421 .t-btnflex.t-btnflex_type_button {
  width: 100% !important;
  justify-content: center;
  border-radius: 12px !important;
  min-height: 46px;
  background: #193b45 !important;
  transition: background .25s ease, transform .25s ease !important;
}
#rec2430227421 .t-btnflex.t-btnflex_type_button:hover {
  background: #2f5960 !important;
  transform: translateY(-2px);
}

#rec2430227431 .t-item,
#rec2430227441 .t-item,
#rec2430227521 .t-item {
  transition: transform .25s ease, box-shadow .25s ease;
}
#rec2430227431 .t-item:hover,
#rec2430227441 .t-item:hover,
#rec2430227521 .t-item:hover { transform: translateY(-3px); }

#rec2430227571 { background: #12313a !important; }
#rec2430227571 .t-title,
#rec2430227571 .t-descr { color: #fff !important; }
#rec2430227571 .t-input { border-radius: 11px !important; }
#rec2430227571 .t-btnflex_type_submit {
  background: #e0bd73 !important;
  color: #142b38 !important;
  border-radius: 11px !important;
}

@keyframes cbHeroReveal {
  from { opacity: .6; transform: scale(1.09); }
  to   { opacity: 1;  transform: scale(1.035); }
}

@media (max-width: 960px) {
  #rec2430227341 .t-cover__filter {
    background-image: linear-gradient(90deg, rgba(8,27,39,.9), rgba(8,27,39,.55)) !important;
  }
  #rec2430227421 .t772__col { margin-bottom: 24px; }
}
@media (max-width: 640px) {
  #rec2430227341 .t-cover__carrier { background-position: 65% center !important; }
  #rec2430227341 .t-cover__filter {
    background-image: linear-gradient(180deg, rgba(8,27,39,.72), rgba(8,27,39,.92)) !important;
  }
  #rec2430227341 .t001__wrapper { padding-top: 38px; padding-bottom: 44px; }
  #rec2430227341 .t001__title { font-size: 39px !important; }
  #rec2430227341 .t001__descr { font-size: 16px !important; }
  #rec2430227341 .t001__button { min-width: 0; }
  #rec2430227421 .t772__col { border-radius: 17px !important; }
  #rec2430227421 .t772__imgwrapper { padding-bottom: 72% !important; }
  #rec2430227421 .t772__textwrapper { padding: 19px 17px 0 !important; }
  #rec2430227421 .t-card__btn-wrapper { padding: 0 17px !important; }
  #rec2430227421 .t-card__title { font-size: 20px !important; min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #rec2430227341 .t-cover__carrier { animation: none !important; }
  #rec2430227421 .t772__col,
  #rec2430227421 .t772__img { transition: none !important; }
}

/* Финальная полировка */
#rec2430227421 .t772__col:nth-child(-n+10):before {
  font-family: Arial, sans-serif !important;
  font-size: 12px !important;
  letter-spacing: 0 !important;
}
#rec2430227421 .t-card__descr {
  font-size: 14px !important;
  color: #52656d !important;
  line-height: 1.65 !important;
}
#rec2430227341 a.t-btnflex.t-btnflex_type_button2 {
  border: 1px solid rgba(255,255,255,.78) !important;
  border-style: solid !important;
  border-width: 1px !important;
  border-radius: 30px !important;
  padding-left: 25px !important;
  padding-right: 25px !important;
  min-width: 160px !important;
  justify-content: center !important;
}
@media (max-width: 640px) {
  #rec2430227421 .t-card__descr { font-size: 14px !important; }
  #rec2430227341 a.t-btnflex.t-btnflex_type_button2 { min-width: 0 !important; }
}

/* ============================================================
   7. КАЛЬКУЛЯТОР КРЕДИТА
   ============================================================ */
.cb-calc {
  --cb-ink: #142b38;
  --cb-deep: #102530;
  --cb-muted: #586b73;
  --cb-line: #e1e8e8;
  --cb-pale: #f5f7f6;
  --cb-gold: #d9b56b;
  max-width: 980px;
  margin: 0 auto;
  padding: 34px 28px 30px;
  background: #fff;
  border: 1px solid var(--cb-line);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(16,37,48,.07);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--cb-ink);
  box-sizing: border-box;
}
.cb-calc * { box-sizing: border-box; }

.cb-calc__uptitle {
  color: #a98941;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  margin-bottom: 10px;
}
.cb-calc__title {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -.03em;
  color: var(--cb-ink);
}
.cb-calc__descr {
  margin: 0 0 26px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--cb-muted);
}
.cb-calc__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 18px;
  margin-bottom: 24px;
}
.cb-calc__field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--cb-muted);
  margin-bottom: 7px;
}
.cb-calc__field input,
.cb-calc__field select {
  width: 100%;
  padding: 13px 14px;
  font-size: 16px;
  color: var(--cb-ink);
  background: var(--cb-pale);
  border: 1px solid var(--cb-line);
  border-radius: 11px;
  transition: border-color .2s ease, box-shadow .2s ease;
  appearance: none;
}
.cb-calc__field select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23586b73' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 38px;
}
.cb-calc__field input:focus,
.cb-calc__field select:focus {
  outline: none;
  border-color: #9db4bd;
  box-shadow: 0 0 0 3px rgba(20,43,56,.08);
  background: #fff;
}

.cb-calc__result {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 20px;
  background: var(--cb-deep);
  border-radius: 16px;
  margin-bottom: 16px;
}
.cb-calc__result-item { display: flex; flex-direction: column; gap: 5px; }
.cb-calc__result-item span { font-size: 12px; color: #9fb3bb; }
.cb-calc__result-item strong {
  font-size: 17px;
  color: #fff;
  font-weight: 700;
  letter-spacing: -.02em;
}
.cb-calc__result-item--main strong { color: var(--cb-gold); font-size: 20px; }

.cb-calc__note {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--cb-muted);
  margin-bottom: 20px;
}
.cb-calc__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 52px;
  padding: 0 24px;
  background: var(--cb-gold);
  color: var(--cb-deep);
  text-decoration: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  transition: background .25s ease, transform .25s ease;
}
.cb-calc__cta:hover {
  background: #e6c77b;
  transform: translateY(-2px);
  color: var(--cb-deep);
}
@media (max-width: 768px) {
  .cb-calc { padding: 24px 18px; border-radius: 18px; }
  .cb-calc__grid { grid-template-columns: 1fr; }
  .cb-calc__result { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cb-calc__title { font-size: 22px; }
}

/* ---------- 8. HTML-БЛОК КАЛЬКУЛЯТОРА (T123) ---------- */
/* Вставьте HTML ниже в блок T123 (HTML-код) в Tilda — в нужное место страницы. */
/* <div class="cb-calc"> ... </div> +  из отдельного файла */