/* --- ОБЩИЕ СТИЛИ --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    margin: 0;
    position: relative;
}

/* --- СТИЛИ ДЛЯ НОВЫХ ЗАГОЛОВКОВ --- */
.section-heading, .calc-main-title {
    text-align: left;
    font-size: 2.2rem;
    color: #0a192f;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 50px;
    position: relative;
    text-transform: none;
}

.section-heading::after, .calc-main-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #0d6efd;
    margin-top: 15px;
}

/* --- СЕКЦИЯ ШАПКИ И ГЛАВНОГО ЭКРАНА --- */
.main-header {
    position: relative;
    color: white;
    background-color: #0a192f;
    background-image: url('bank1.png');
    background-size: cover;
    background-position: center;
    min-height: 700px;
    padding-bottom: 120px;
    display: flex;
    flex-direction: column;
}

.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.7);
    z-index: 0;
}

.main-header .container {
    position: relative;
    z-index: 2;
}


/* --- СТИЛИЗАЦИЯ НАВИГАЦИИ --- */
.navbar-brand {
    font-weight: bold;
    color: white !important;
}
.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active {
    color: white !important;
}
.phone-number {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
}
.social-icons a {
    text-decoration: none;
    margin-left: 8px;
}
.header-contacts .social-icons a i,
.mobile-header-contacts .social-icons a i {
    font-size: 1.5rem;
    vertical-align: middle;
    transition: color 0.2s ease-in-out;
    color: rgba(255, 255, 255, 0.8);
}
.header-contacts .social-icons a:hover i,
.mobile-header-contacts .social-icons a:hover i {
    color: #ffffff;
}
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.hero-main-content {
    flex-grow: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 80px;
}

.hero-text {
    max-width: 70%;
    text-align: center;
    margin: 0 auto;
}

.btn-consult {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.btn-consult:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
    transform: translateY(-3px) translateX(-50%);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-text h1 {
    font-size: 3.0rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
    line-height: 1.7;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
}

.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}
.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}
.wave-divider.wave-gray .shape-fill {
    fill: #FFFFFF;
}
.wave-divider.wave-white .shape-fill {
    fill: #FFFFFF;
}

.logo-wrapper {
    width: 65px;
    height: 65px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.logo-wrapper:hover {
    transform: scale(1.05);
}

.logo-image {
    height: 50px;
    width: auto;
}

.header-stats {
    width: 100%;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.header-stat-item {
    text-align: center;
    color: white;
}
.stat-number-header {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
}
.stat-description-header {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.info-section {
    position: relative;
    padding: 60px 0;
    background-color: transparent;
}

.advantages-section {
    position: relative;
    padding: 30px 0;
    background-repeat: no-repeat;
    background-position: top -80px right -100px;
    background-size: 400px;
    background-color: transparent;
}
.advantage-card {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 30px;
    height: 100%;
    border-left: 4px solid #0d6efd;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.advantage-card h4 {
    font-weight: 700;
    color: #0a192f;
    margin-bottom: 15px;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
}
.advantage-card h4 .fas,
.advantage-card h4 .far {
    margin-right: 1rem;
}
.advantage-card p {
    color: #333;
    line-height: 1.7;
    font-size: 0.95rem;
}

.pricing-section {
    position: relative;
    padding: 60px 0;
    background-color: transparent;
}
.pricing-card {
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: white;
}
.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.1);
}
.pricing-card.is-featured {
    border-color: #0d6efd;
    border-width: 2px;
    transform: scale(1.05);
}
.pricing-card .card-header h4 {
    font-weight: 700;
    color: #0a192f;
    font-size: 1.2rem;
}
.pricing-card .card-header p {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0;
}
.pricing-card .card-price {
    font-size: 3rem;
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 2rem;
}
.pricing-card .card-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
    text-align: left;
    flex-grow: 1;
}
.pricing-card .card-features li {
    margin-bottom: 1rem;
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
}
.pricing-card .card-features li::before {
    content: '✓';
    color: #198754;
    position: absolute;
    left: 0;
}
.pricing-footnotes {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
}
.pricing-footnotes p {
    margin-bottom: 0.5rem;
}

.workflow-section {
    position: relative;
    padding: 60px 0 120px;
    background-color: transparent;
}
.step-item {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 30px;
    border-left: 4px solid #0d6efd;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 25px;
}
.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.step-item h5 {
    font-weight: 700;
    color: #0a192f;
    margin-bottom: 15px;
    font-size: 1.25rem;
}
.step-item p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
}
.step-item .text-muted {
    font-size: 0.9em;
    display: block;
    margin-top: 5px;
}
.workflow-image-wrapper,
.workflow-image-wrapper .workflow-image-link {
    display: block;
    height: 100%;
}
.workflow-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* --- Стили для секции завершенных дел --- */
.cases-section {
    padding: 60px 0;
    background-color: transparent;
}

.case-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.case-card .case-image-link {
    display: block;
    margin-bottom: 20px;
}

.case-card .case-image {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.case-card .case-name {
    font-weight: 700;
    font-size: 1.2rem;
    color: #0a192f;
    margin-bottom: 5px;
}

.case-card .case-status {
    color: #198754;
    font-weight: 500;
    margin-bottom: 15px;
    flex-grow: 1;
}

.case-card .case-debt {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.case-card .case-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    border-top: 1px solid #e9ecef;
    padding-top: 15px;
}

.case-card .case-link {
    color: #6c757d;
    font-size: 0.85rem;
    text-decoration: none;
}

.case-card .case-link .far,
.case-card .case-link .fas {
    margin-right: 5px;
}

/* Стили для КОМПАКТНЫХ карточек */
.case-card-compact {
    padding: 15px;
    text-align: left;
}

.case-card-compact .case-image-link {
    margin-bottom: 12px;
}

.case-card-compact .case-image {
    margin-bottom: 0;
}

.case-card-compact .case-name {
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 8px;
}

.case-card-compact .case-status {
    font-size: 0.8125rem;
    margin-bottom: 12px;
}

.case-card-compact .case-debt {
    font-size: 1.125rem;
    margin-bottom: 15px;
    text-align: center;
}

.case-card-compact .case-links {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
}

.case-card-compact .case-link {
    font-size: 0.75rem;
}

/* ФИНАЛЬНОЕ ИСПРАВЛЕНИЕ ДЛЯ СЛАЙДЕРА */

/* 1. Стили для ДЕСКТОПНОЙ версии (LG и больше) */
#casesCarouselDesktop .carousel-control-prev,
#casesCarouselDesktop .carousel-control-next {
    width: auto;
    background-color: rgba(10, 25, 47, 0.4);
    height: 45px;
    width: 45px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

#casesCarouselDesktop .carousel-control-prev:hover,
#casesCarouselDesktop .carousel-control-next:hover {
    opacity: 1;
}

#casesCarouselDesktop .carousel-control-prev {
    left: -25px;
}

#casesCarouselDesktop .carousel-control-next {
    right: -25px;
}

/* 2. Стили для МОБИЛЬНОЙ версии (до LG) */
#casesCarouselMobile .carousel-control-prev-icon,
#casesCarouselMobile .carousel-control-next-icon {
    filter: invert(1) grayscale(100);
}

.consequences-section {
    position: relative;
    padding: 60px 0;
    background-color: transparent;
}
.consequences-title {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
}
.consequences-title.pros {
    color: #198754;
    border-bottom: 2px solid #198754;
}
.consequences-title.cons {
    color: #dc3545;
    border-bottom: 2px solid #dc3545;
}
.consequences-title.info {
    color: #0d6efd;
    border-bottom: 2px solid #0d6efd;
}
.consequences-list {
    list-style-type: none;
    padding-left: 0;
}
.consequences-list li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.6;
}
.consequences-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
}
.pros-list li::before {
    content: '+';
    background-color: #198754;
}
.cons-list li::before {
    content: '–';
    background-color: #dc3545;
}
.consequences-list.info-list li::before {
    content: 'i';
    font-weight: bold;
    font-family: serif;
    background-color: #0d6efd;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 1050;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    cursor: default;
}
.lightbox:target {
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.3s ease-in-out;
    cursor: zoom-in;
}
.lightbox img.zoomed {
    transform: scale(1.5);
    cursor: zoom-out;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 45px;
    font-weight: bold;
    text-decoration: none;
    line-height: 1;
    cursor: pointer;
}

.calculator-section {
    padding: 60px 0;
    background-color: transparent;
}

.calculator-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 1rem 3rem rgba(0,0,0,.07);
}
.calc-group {
    margin-bottom: 25px;
}
.calc-label {
    display: block;
    font-weight: 500;
    margin-bottom: 15px;
    color: #495057;
}
.range-output {
    font-weight: 700;
    color: #0d6efd;
}
.delay-buttons .btn {
    margin-right: 10px;
    margin-bottom: 10px;
}
.debt-source-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.right-column-form h3 {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.right-column-form .form-check-label {
    font-size: 0.85rem;
    color: #6c757d;
}
.right-column-form .form-check-label a {
    color: #0d6efd;
    text-decoration: none;
}
.right-column-form .form-check-label a:hover {
    text-decoration: underline;
}

.contact-section {
    padding: 60px 0;
    position: relative;
    background-repeat: no-repeat;
    background-position: bottom -100px left -120px;
    background-size: 450px;
    background-color: transparent;
}
.contact-details h3 {
    font-weight: 700;
    color: #0a192f;
    margin-bottom: 20px;
}
.contact-details p {
    font-size: 1.1rem;
    line-height: 1.8;
}
.contact-details p strong {
    color: #343a40;
}
.contact-phones {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}
.contact-phones li a {
    font-size: 1.1rem;
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
}
.contact-phones li {
    margin-bottom: 0.5rem;
}
.contact-social-icons a {
    color: #0a192f;
    font-size: 1.8rem;
    margin-right: 20px;
    transition: color 0.3s ease;
}
.contact-social-icons a:hover {
    color: #0d6efd;
}
.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1rem 3rem rgba(0,0,0,.1);
    height: 100%;
}
.map-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.site-footer {
    background-color: #0a192f;
    color: #adb5bd;
    padding: 40px 0;
    font-size: 0.9rem;
    text-align: center;
}
.site-footer p {
    margin-bottom: 0.5rem;
}


/* === ОБНОВЛЕННЫЕ СТИЛИ ДЛЯ МОБИЛЬНОЙ ВЕРСИИ === */
@media (max-width: 991.98px) {
  .main-header {
    min-height: auto;
    padding: 20px 0 100px;
  }

  .navbar {
    align-items: center;
  }

  .mobile-header-contacts {
      display: flex;
      flex-direction: row;
      align-items: center;
      margin: 0 auto;
  }
  .mobile-header-contacts .phone-number {
      font-size: 0.9rem;
      font-weight: bold;
      white-space: nowrap;
  }
  .mobile-header-contacts .social-icons {
      margin-left: 10px;
  }
  .mobile-header-contacts .social-icons a {
      margin: 0 4px;
  }
  .mobile-header-contacts .social-icons a i {
      font-size: 1.4rem;
  }

  .hero-main-content {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    margin-top: 40px;
    padding-top: 0;
  }
  .header-stats {
      margin-top: 30px;
      padding-top: 20px;
  }

  .hero-text {
    max-width: 100%;
    margin-bottom: 0;
  }
  .hero-text h1 {
    font-size: 2.2rem;
  }
  .hero-text p {
    font-size: 1.1rem;
    max-width: 100%;
  }

  .btn-consult {
    position: static;
    transform: none;
    margin-top: 30px;
    padding: 12px 30px;
    font-size: 0.9rem;
    align-self: center;
  }

  .btn-consult:hover {
      transform: translateY(-3px);
  }

  .main-header .navbar-collapse {
    align-items: flex-end;
  }
  .main-header .navbar-nav {
    margin-right: 0 !important;
    margin-left: auto !important;
    text-align: right;
  }

  .logo-wrapper {
      width: 55px;
      height: 55px;
  }
  .logo-image {
      height: 40px;
  }

  .debt-source-grid {
      grid-template-columns: repeat(2, 1fr);
  }

  .section-heading, .calc-main-title {
      font-size: 1.8rem;
  }

/* 1. Расположение и направление раскрытия */
.fab-container {
    flex-direction: row !important;
    align-items: center;
}

/* 2. Настройка блока с опциями */
.fab-options {
    display: flex;
    flex-direction: row !important;
    margin-bottom: 0;
    margin-right: 10px;
}

/* 3. Превращаем ссылки в круглые кнопки */
.fab-options .fab-link {
    position: relative; /* !!! Важно для абсолютного позиционирования иконки */
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin: 0 6px;
}

/* 4. Прячем текстовые подписи */
.fab-options .fab-link span {
    display: none;
}

/* 5. Точное центрирование иконки внутри круга */
.fab-options .fab-link i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Ключевой трюк для идеального центрирования */
    margin: 0; /* Убираем все отступы */
    font-size: 22px;
}

}

/* 1. Устанавливаем z-index, чтобы управлять слоями */

/* Секции с узорами делаем выше */
.advantages-section,
.workflow-section,
.contact-section {
    position: relative;
    z-index: 2;
}

/* Секции без узоров делаем ниже, чтобы узоры могли их перекрывать */
.info-section,
.pricing-section,
.cases-section,
.consequences-section,
.calculator-section,
.site-footer {
    position: relative;
    z-index: 1;
}


/* 2. Добавляем узоры на фон нужных секций */

.advantages-section {
    background-repeat: no-repeat;
    background-position: top -80px right -100px;
    background-size: 400px;
}

.workflow-section {
     background-repeat: no-repeat;
     background-position: bottom -120px left -150px;
     background-size: 450px;
}

.contact-section {
    background-repeat: no-repeat;
    background-position: bottom -100px right -120px;
    background-size: 450px;
}

/* --- СТИЛИ ДЛЯ ПЛАВАЮЩЕЙ КНОПКИ (FAB) --- */

.fab-container {
    position: fixed; /* Плавающее позиционирование */
    bottom: 15px;    /* Изменено: ближе к краю */
    right: 15px;     /* Изменено: ближе к краю */
    z-index: 1000;   /* Поверх всех элементов */
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}

.fab-main-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ff9800; /* Яркий оранжевый цвет */
    border: none;
    color: white;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
    /* Анимация свечения */
    animation: fab-glow 2s infinite ease-out;
}

.fab-main-button:hover {
    transform: scale(1.1);
    background-color: #f57c00;
}

.fab-main-button .fas {
    transition: transform 0.3s ease;
}

/* Вращение иконки при открытии */
.fab-container.active .fab-main-button .fas {
    transform: rotate(135deg);
}

.fab-options {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* Скрываем опции по умолчанию */
    opacity: 0;
    transform: translateY(10px) scale(0.9);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none; /* Нельзя кликнуть, когда скрыто */
}

/* Показываем опции, когда контейнер активен */
.fab-container.active .fab-options {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.fab-options .fab-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    white-space: nowrap; /* Чтобы текст не переносился */
    transition: transform 0.2s ease;
}

.fab-options .fab-link:hover {
    transform: translateX(-5px);
}

.fab-options .fab-link i {
    font-size: 20px;
    margin-right: 12px;
}

.fab-link.whatsapp {
    background-color: #25D366;
}

.fab-link.telegram {
    background-color: #0088cc;
}


/* Анимация свечения */
@keyframes fab-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 152, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 152, 0, 0);
    }
}

/* Коррекция положения плавающей кнопки на мобильных */
  .fab-container {
      bottom: 5px;
      right: 5px;
  }


/* --- СТИЛИ ДЛЯ ВОДЯНЫХ ЗНАКОВ (ИСПРАВЛЕННЫЕ) --- */
.watermark {
    position: fixed; 
    opacity: 0.07; 
    background-image: url('fon.png');
    background-repeat: no-repeat;
    background-size: contain;
    width: 250px; 
    height: 250px;
    z-index: -1; 
    pointer-events: none; 
    transition: top 1.5s ease-out, left 0.8s ease-out, right 0.8s ease-out; 
}

/* --- СТИЛИ ДЛЯ СИНИХ КАРТОЧЕК ПРЕИМУЩЕСТВ (ОБНОВЛЕННЫЕ) --- */

.advantage-card--blue {
    background-color: #4A72FF; /* Единый синий фон для всех карточек */
    border-left: none;         /* Убираем стандартную левую границу */
    padding: 30px;
}

/* Делаем весь текст и иконки внутри синих блоков белыми */
.advantage-card--blue h4,
.advantage-card--blue p,
.advantage-card--blue h4 .fas,
.advantage-card--blue h4 .far {
    color: #ffffff;
}

/* --- СТИЛИ ДЛЯ КАЛЬКУЛЯТОРА НА СИНЕМ ФОНЕ --- */

/* 1. Основной контейнер калькулятора */
.calculator-container {
    background-color: #4A72FF; /* Меняем фон на синий */
    box-shadow: none;          /* Убираем тень, на синем фоне она не нужна */
}

/* 2. Весь текст внутри делаем белым */
.calculator-container .calc-label,
.calculator-container .right-column-form h3,
.calculator-container .form-check-label,
.calculator-container .range-output {
    color: #ffffff;
}

/* 3. Ссылки в тексте согласия делаем светло-голубыми */
.calculator-container .right-column-form .form-check-label a {
    color: #d1eaff;
}

/* 4. Поля для ввода имени и телефона */
.calculator-container .form-control {
    background-color: rgba(255, 255, 255, 0.1); /* Полупрозрачный белый фон */
    border: 1px solid rgba(255, 255, 255, 0.4);  /* Светлая граница */
    color: #ffffff; /* Белый цвет для вводимого текста */
}

.calculator-container .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7); /* Светлый цвет для плейсхолдера */
}

/* 5. Кнопки выбора просрочки */
.calculator-container .delay-buttons .btn {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.calculator-container .delay-buttons .btn.active,
.calculator-container .delay-buttons .btn:hover {
    background-color: #ffffff; /* При наведении и выборе фон становится белым */
    color: #0d6efd;           /* А текст - синим */
}

/* 6. Чекбоксы "Перед кем долги?" */
.calculator-container .form-check-input {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.6);
}

.calculator-container .form-check-input:checked {
    background-color: #ffffff;
    border-color: #ffffff;
    /* Галочка внутри будет стандартного синего цвета */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%230d6efd' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

/* 7. Ползунки (делаем "бегунок" белым) */
.calculator-container .form-range::-webkit-slider-thumb {
    background-color: #ffffff;
}

.calculator-container .form-range::-moz-range-thumb {
    background-color: #ffffff;
}