:root {
  --zp-bg: #f7efe2;
  --zp-paper: #fffaf2;
  --zp-ink: #173d35;
  --zp-muted: #5d6c67;
  --zp-green: #214f45;
  --zp-green-deep: #153a33;
  --zp-sage: #94ad9e;
  --zp-gold: #c59a5c;
  --zp-line: rgba(23, 61, 53, .14);
  --zp-shadow-sm: 0 10px 30px rgba(23, 61, 53, .09);
  --zp-shadow-md: 0 22px 60px rgba(23, 61, 53, .14);
}

html {
  scroll-behavior: smooth;
  background: var(--zp-bg);
}

body,
#allrecords {
  background: var(--zp-bg) !important;
  color: var(--zp-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#allrecords .tn-atom,
#allrecords .t-title,
#allrecords .t-name,
#allrecords .t-text,
#allrecords .t-descr {
  font-family: TildaSans, Arial, sans-serif;
}

/* Header: visible from the first screen, compact and premium. */
#allrecords .t770.t770__positionfixed {
  opacity: 1 !important;
  transform: none !important;
  top: 0 !important;
  background: rgba(250, 242, 229, .94) !important;
  border-bottom: 1px solid var(--zp-line);
  box-shadow: 0 8px 30px rgba(23, 61, 53, .08);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

#allrecords .t770__bottomwrapper {
  border-top: 1px solid rgba(23, 61, 53, .08);
}

#allrecords .t770__list_item > .t-menu__link-item {
  color: var(--zp-ink) !important;
  font-size: 12px;
  letter-spacing: .075em !important;
  transition: color .2s ease, opacity .2s ease;
}

#allrecords .t770__list_item > .t-menu__link-item:hover {
  color: var(--zp-gold) !important;
  opacity: 1 !important;
}

#allrecords .t770__descr {
  color: var(--zp-muted) !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

#allrecords .t770__btn,
#allrecords .t770__btn-wrapper {
  cursor: pointer;
}

/* Hero. */
#rec1185684326 .t396__artboard {
  background:
    radial-gradient(circle at 78% 15%, rgba(197, 154, 92, .18), transparent 27%),
    linear-gradient(135deg, #fbf3e6 0%, #f5e3c7 100%) !important;
}

#rec1185684326 h1 {
  color: var(--zp-green-deep) !important;
  letter-spacing: -.035em !important;
  line-height: 1.08 !important;
  text-wrap: balance;
}

#rec1185684326 h1::before {
  content: "ПОДБОР ФИНАНСИРОВАНИЯ • ЧАСТНЫМ ЛИЦАМ И БИЗНЕСУ";
  display: block;
  margin-bottom: 18px;
  color: var(--zp-gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.3;
}

#rec1185684326 [data-elem-type="image"] .tn-atom {
  filter: drop-shadow(0 28px 36px rgba(23, 61, 53, .18));
}

/* One premium CTA system across all blocks. */
#allrecords [data-elem-type="button"] .tn-atom,
#allrecords .t-btn,
#allrecords .t-btnflex,
#allrecords .t-submit {
  border-radius: 999px !important;
  box-shadow: 0 12px 28px rgba(33, 79, 69, .20) !important;
  font-weight: 650 !important;
  letter-spacing: .01em;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease !important;
}

#allrecords [data-elem-type="button"] .tn-atom:hover,
#allrecords .t-btn:hover,
#allrecords .t-btnflex:hover,
#allrecords .t-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 17px 36px rgba(33, 79, 69, .26) !important;
}

/* Section titles. */
#rec1185709306 [field="tn_text_1753519988173"],
#rec1185733926 [data-elem-type="text"] .tn-atom,
#rec1185743901 [field="tn_text_1753521961189"],
#rec1185761046 [field="tn_text_1753523141502"],
#rec1217783521 [data-elem-type="text"] .tn-atom,
#rec1185861291 [data-elem-type="text"] .tn-atom {
  letter-spacing: -.025em !important;
  text-wrap: balance;
}

/* Benefit cards. */
#rec1185709306 [data-elem-id="1753519988199"] .tn-atom,
#rec1185709306 [data-elem-id="1753519988379"] .tn-atom,
#rec1185709306 [data-elem-id="1753519988297"] .tn-atom,
#rec1185709306 [data-elem-id="1753519988458"] .tn-atom {
  background: var(--zp-paper) !important;
  border: 1px solid var(--zp-line) !important;
  border-radius: 24px !important;
  box-shadow: var(--zp-shadow-sm) !important;
}

#rec1185709306 [data-elem-id="1753519988229"] .tn-atom,
#rec1185709306 [data-elem-id="1753519988397"] .tn-atom,
#rec1185709306 [data-elem-id="1753519988319"] .tn-atom,
#rec1185709306 [data-elem-id="1753519988468"] .tn-atom {
  background: rgba(33, 79, 69, .08) !important;
  border-radius: 18px !important;
}

/* Video and company story. */
#rec1185733926 iframe,
#rec1185733926 .t-video-lazyload {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 26px !important;
  box-shadow: var(--zp-shadow-md);
}

#rec1185735771 .t396__artboard {
  background-color: var(--zp-green-deep) !important;
  background-blend-mode: multiply;
}

#rec1185735771 [field="tn_text_1753521492344"] {
  color: rgba(255, 255, 255, .88) !important;
  line-height: 1.55 !important;
}

/* Service cards. */
#rec1185743901 [data-elem-id="1753521961230"] .tn-atom,
#rec1185743901 [data-elem-id="1753521961380"] .tn-atom,
#rec1185743901 [data-elem-id="1753521961475"] .tn-atom {
  background: var(--zp-paper) !important;
  border: 1px solid var(--zp-line) !important;
  border-radius: 26px !important;
  box-shadow: var(--zp-shadow-md) !important;
}

#rec1185743901 [data-elem-id="1753521961322"] .tn-atom,
#rec1185743901 [data-elem-id="1753521961413"] .tn-atom,
#rec1185743901 [data-elem-id="1753521961507"] .tn-atom {
  background: rgba(197, 154, 92, .16) !important;
  border-radius: 20px !important;
}

/* Collateral cards. */
#rec1185761046 [data-elem-id="1753523141539"] .tn-atom,
#rec1185761046 [data-elem-id="1753523141599"] .tn-atom,
#rec1185761046 [data-elem-id="1753523141668"] .tn-atom,
#rec1185761046 [data-elem-id="1753523141755"] .tn-atom,
#rec1185761046 [data-elem-id="1753526018292"] .tn-atom,
#rec1185761046 [data-elem-id="1753526018098"] .tn-atom,
#rec1185761046 [data-elem-id="1753526018746"] .tn-atom,
#rec1185761046 [data-elem-id="1753526018484"] .tn-atom {
  background: var(--zp-paper) !important;
  border: 1px solid var(--zp-line) !important;
  border-radius: 22px !important;
  box-shadow: var(--zp-shadow-sm) !important;
}

/* Safety section. */
#rec1185828916 {
  background: linear-gradient(145deg, var(--zp-green) 0%, var(--zp-green-deep) 100%) !important;
}

#rec1185828916 [data-elem-id="1753527164180"] .tn-atom,
#rec1185828916 [data-elem-id="1753527164229"] .tn-atom,
#rec1185828916 [data-elem-id="1753527164272"] .tn-atom,
#rec1185828916 [data-elem-id="1753527164307"] .tn-atom {
  background: rgba(255, 255, 255, .10) !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  border-radius: 24px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .10) !important;
}

/* FAQ. */
#rec1185851206 {
  background: var(--zp-bg) !important;
}

#rec1185851206 .t585__accordion {
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--zp-paper);
  border: 1px solid var(--zp-line);
  border-radius: 20px;
  box-shadow: var(--zp-shadow-sm);
}

#rec1185851206 .t585__header {
  border-top: 0 !important;
  padding: 0 24px;
}

#rec1185851206 .t585__title {
  color: var(--zp-ink) !important;
  font-size: 22px !important;
  line-height: 1.25 !important;
  text-transform: none !important;
}

#rec1185851206 .t585__content {
  padding: 0 24px 22px;
}

#rec1185851206 .t585__text {
  color: var(--zp-muted) !important;
  max-width: 720px !important;
}

#rec1185851206 .t585__border {
  display: none;
}

/* Lead form. */
#rec1185862956 .t-cover__carrier {
  background: linear-gradient(135deg, var(--zp-green) 0%, var(--zp-green-deep) 100%) !important;
}

#rec1185862956 .t-input,
#rec1205682706 .t-input {
  min-height: 58px;
  background: rgba(255, 255, 255, .97) !important;
  border: 1px solid rgba(23, 61, 53, .12) !important;
  border-radius: 14px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}

#rec1185862956 .t-input:focus,
#rec1205682706 .t-input:focus {
  border-color: var(--zp-gold) !important;
  box-shadow: 0 0 0 4px rgba(197, 154, 92, .18) !important;
}

#rec1205682706 .t-popup__container {
  overflow: hidden;
  border-radius: 26px !important;
  box-shadow: 0 30px 90px rgba(15, 42, 36, .26);
}

/* Partners, reviews and footer. */
#rec1185861566 .t595__item img {
  filter: saturate(.8) contrast(.92);
  opacity: .82;
  transition: filter .2s ease, opacity .2s ease;
}

#rec1185861566 .t595__item img:hover {
  filter: none;
  opacity: 1;
}

#rec1269567631 {
  background: linear-gradient(145deg, var(--zp-green) 0%, var(--zp-green-deep) 100%) !important;
}

#rec1269567631 .t-slds__wrapper {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 24px;
  background: rgba(255, 255, 255, .06);
}

#rec1214362181 {
  border-top: 1px solid rgba(255, 255, 255, .12);
}

#rec1185709306,
#rec1185735771,
#rec1185743901,
#rec1185761046,
#rec1185828916,
#rec1217783521,
#rec1185861291,
#rec1269567631 {
  scroll-margin-top: 132px;
}

/* Hide the obsolete calculator item on secondary pages. */
#allrecords a[href$="#calculator"] {
  display: none !important;
}

@media (max-width: 980px) {
  #allrecords .t770.t770__positionfixed {
    background: rgba(250, 242, 229, .97) !important;
  }

  #rec1185684326 h1::before {
    margin-bottom: 12px;
    font-size: 10px;
    letter-spacing: .09em;
  }
}

@media (max-width: 640px) {
  #rec1185684326 h1 {
    font-size: 30px !important;
    line-height: 1.12 !important;
  }

  #rec1185851206 .t585__header {
    padding: 0 16px;
  }

  #rec1185851206 .t585__title {
    font-size: 18px !important;
  }

  #rec1185851206 .t585__content {
    padding: 0 16px 18px;
  }

  #rec1205682706 .t-popup__container {
    border-radius: 20px 20px 0 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #allrecords * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
