:root {
  --site-green: #009949;
  --font-family: 'Montserrat', sans-serif;
}

body {
  font-family: var(--font-family);
  background-color: var(--site-green);
  margin: 0;
  padding: 0;
  color: #fff;
  overflow-x: hidden;
}

/* Первый экран */
.hero-screen {
  background-color: var(--site-green);
  min-height: 100vh;
}

.fw-extrabold {
  font-weight: 800;
}

.fs-xs {
  font-size: 0.78rem;
}

.tracking-wider {
  letter-spacing: 0.5px;
}

/* Логотип со спидометром */
.rating-badge {
  position: relative;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gauge-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: rotate(90deg);
}

.segment {
  fill: none;
  stroke-width: 9;
}

.seg-red { stroke: #e8382c; }
.seg-orange { stroke: #f28b20; }
.seg-lightgreen { stroke: #8cc63f; }
.seg-darkgreen { stroke: #006837; }

.badge-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.badge-inner .score {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.badge-inner .badge-sub {
  font-size: 0.42rem;
  font-weight: 700;
  color: #fff;
  margin-top: 2px;
}

/* Навигация */
.nav-link-custom {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.nav-link-custom:hover {
  opacity: 0.8;
  color: #ffffff;
}

.phone-link {
  font-size: 1.25rem;
  letter-spacing: 0.2px;
}

/* Кнопки соцсетей */
.messenger-btn {
  width: 44px;
  height: 44px;
  background-color: #ffffff;
  color: var(--site-green);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.messenger-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: var(--site-green);
}

/* Типографика Hero */
.hero-title {
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.hero-subline {
  color: rgba(255, 255, 255, 0.65);
}

.hero-desc {
  font-size: clamp(1.1rem, 1.8vw, 1.6rem) !important;
  opacity: 0.95;
}

/* --- Секция 2: Шаги и Табы --- */
.steps-section {
  background-color: var(--site-green);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section-heading {
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
}

/* Кнопки переключения табов */
.step-tabs {
  scrollbar-width: none;
}
.step-tabs::-webkit-scrollbar {
  display: none;
}

.step-tab-btn {
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.step-tab-btn:hover {
  background: rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

.step-tab-btn.active {
  background: transparent;
  border-color: transparent;
  color: #ffffff;
  font-weight: 800;
}

/* Белая плашка контента */
.tab-card {
  min-height: 290px;
}

.step-title {
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
}

.step-desc {
  font-size: 1rem;
  line-height: 1.6;
}

.final-check-icon {
  font-size: 4.5rem;
  color: #00a651;
}

/* Действия внизу таб-карточки */
.btn-card-consult {
  background-color: #00873e;
  border: none;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-card-consult:hover {
  background-color: #006830;
  color: #ffffff;
  transform: translateY(-1px);
}

.card-icon-btn {
  width: 38px;
  height: 38px;
  background-color: var(--site-green);
  color: #ffffff;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.card-icon-btn:hover {
  opacity: 0.85;
  color: #ffffff;
}

.card-phone {
  color: #1a1a1a;
  font-size: 1.15rem;
}

/* Нижние промо-блоки */
.promo-block h3 {
  font-size: clamp(1.25rem, 1.7vw, 1.65rem);
  line-height: 1.35;
}

.promo-desc {
  font-size: 0.95rem;
  line-height: 1.6;
}

.btn-light {
  color: #222;
  border: none;
  transition: transform 0.15s ease;
}

.btn-light:hover {
  transform: translateY(-1px);
  background-color: #f1f3f5;
}

/* Инпуты модалки */
.form-control:focus {
  border-color: #00873e;
  box-shadow: 0 0 0 0.25rem rgba(0, 135, 62, 0.2);
}

/* --- Секция 3: Факторы ухудшающие кредитный рейтинг --- */
.factors-section {
  background-color: #f7f9fa;
}

.factors-card {
  background-color: #ffffff;
  border: 1.5px solid #eaeaea;
  border-radius: 44px;
  max-width: 1340px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
}

.factors-title {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.15;
  color: #0b0b0b;
  letter-spacing: -0.5px;
}

/* Маркер списка: концентрическая зелёная мишень */
.target-bullet {
  width: 22px;
  height: 22px;
  border: 2.5px solid var(--site-green);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
}

.target-bullet::after {
  content: '';
  width: 7px;
  height: 7px;
  background-color: var(--site-green);
  border-radius: 50%;
}

.factors-text {
  font-size: clamp(0.95rem, 1.15vw, 1.12rem);
  font-weight: 500;
  color: #2b2f32;
  line-height: 1.4;
}

/* Кликабельный блок решения с галочкой */
.solve-action {
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
  user-select: none;
}

.solve-action:hover {
  opacity: 0.85;
  transform: translateX(4px);
}

.solve-text {
  font-size: clamp(1.25rem, 1.9vw, 1.75rem);
  color: #000000;
  letter-spacing: -0.3px;
}

.solve-icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solve-check-svg {
  width: 100%;
  height: 100%;
}

/* --- Секция 4: Когда стоит обратиться --- */
.when-section {
  background-color: #121517;
}

.when-heading {
  font-size: clamp(2rem, 3.2vw, 3rem);
  letter-spacing: -0.5px;
}

.when-subheading {
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  color: #6c757d;
  letter-spacing: -0.3px;
}

/* Зеленые плашки ситуаций */
.situation-card {
  background-color: var(--site-green);
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  user-select: none;
}

.situation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0, 153, 73, 0.35);
  filter: brightness(1.05);
}

.card-headline {
  font-size: clamp(1.15rem, 1.4vw, 1.42rem);
  line-height: 1.25;
}

.card-subtext {
  font-size: clamp(0.9rem, 1.05vw, 1.02rem);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

/* --- Секция 5: Стоимость услуг --- */
.pricing-section {
  background-color: #ffffff;
}

.pricing-main-title {
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  line-height: 1.1;
  color: #111417;
  letter-spacing: -0.5px;
}

/* Карточка тарифа */
.pricing-card {
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid #e9ecef;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.09);
}

.pricing-badge {
  font-size: 0.88rem;
  color: #8c939b;
  letter-spacing: 0.5px;
}

.price-value {
  font-size: clamp(1.6rem, 2vw, 2.1rem);
  color: #111417;
}

.pricing-footnote {
  font-size: 0.78rem;
}

.pricing-divider {
  border-top: 1px solid #e9ecef;
  opacity: 1;
}

/* Пункты списка */
.pricing-features li {
  font-size: 0.88rem;
  color: #495057;
  line-height: 1.45;
  font-weight: 500;
}

.pricing-features .plus {
  font-weight: 700;
}

/* Кнопка заказа внутри карточки */
.btn-pricing-order {
  background-color: #009949;
  color: #ffffff;
  border: none;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-pricing-order:hover {
  background-color: #00803d;
  color: #ffffff;
  transform: translateY(-1px);
}

/* --- Секция 6: FAQ --- */
.faq-section {
  background-color: #f7f9fa;
}

.faq-title {
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  line-height: 1.12;
  color: #111417;
  letter-spacing: -0.5px;
}

.faq-title-muted {
  color: #5d636a;
}

.faq-card {
  background-color: #ffffff;
  border: 1.5px solid #e7e9ec;
  border-radius: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.faq-item {
  background: transparent;
  border: none;
  border-bottom: 1px dotted #cfd4d9;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-btn {
  background: transparent !important;
  color: #1a1e21;
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  padding: 1.5rem 0;
  box-shadow: none !important;
  border: none;
}

.faq-btn:not(.collapsed) {
  color: #111417;
  border-bottom: 1px dotted #cfd4d9;
  padding-bottom: 1.25rem;
}

/* Скрываем стандартную стрелку Bootstrap, чтобы соответствовать минималистичному виду макета */
.faq-btn::after {
  display: none;
}

.faq-body {
  padding: 1.25rem 0 1.5rem 0;
  font-size: 0.96rem;
  line-height: 1.65;
  color: #2f3438 !important;
}

/* --- Секция: Подвал --- */
.site-footer {
  background-color: #000000;
}

.footer-cta-title {
  font-size: clamp(2.2rem, 4.4vw, 4.4rem);
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.footer-cta-muted {
  color: #72777e;
}

.footer-start-btn {
  font-size: 1.05rem;
  padding: 10px 28px !important;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.15);
  opacity: 1;
}

/* Логотип со спидометром в подвале */
.footer-gauge-badge {
  position: relative;
  width: 105px;
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-gauge-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: rotate(90deg);
}

.f-segment {
  fill: none;
  stroke-width: 10;
}

.f-seg-red { stroke: #e8382c; }
.f-seg-orange { stroke: #f28b20; }
.f-seg-lightgreen { stroke: #009949; }
.f-seg-darkgreen { stroke: #006837; }

.gauge-label {
  fill: #ffffff;
  font-size: 5px;
  font-weight: 700;
  transform: rotate(-90deg);
  transform-origin: center;
}

.footer-badge-inner {
  position: relative;
  z-index: 2;
  line-height: 1.05;
}

.footer-score {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  display: block;
}

.footer-badge-sub {
  font-size: 0.55rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* Ссылки и копирайт */
.footer-links li {
  font-size: 0.95rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-link:hover {
  color: #ffffff;
  opacity: 0.7;
}

.footer-copy {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Плавающая кнопка вверх */
.btn-scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background-color: #ffffff;
  color: #111417;
  border-radius: 50%;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
}

.btn-scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.btn-scroll-top:hover {
  transform: translateY(-3px);
  background-color: #f1f3f5;
}

/* Логотип картинкой */
.site-logo {
  height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.site-logo-icon {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.footer-logo {
  height: 60px;
  width: auto;
}

.footer-logo-icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
}