/*====================Блок 1 - Баннер=================================*/
.credits-banner-section {
    width: 100%;
    background: linear-gradient(145deg, #e5e9f0, #cdd3dc);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
}

.credits-banner-container {
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    padding: 40px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.credits-banner-container:hover {
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.15);
}

/* ===== Контент блока ===== */
.credits-banner-content {
    max-width: 600px;
}

.credits-banner-title {
    font-size: 34px;
    margin-bottom: 20px;
    color: #333;
    animation: fadeIn 0.8s ease-out;
}

.credits-banner-description {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    animation: fadeIn 1.2s ease-out;
}

/* ===== Изображение ===== */
.credits-banner-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    animation: slideIn 1s ease-out;
}

#bannerImage {
    transition: opacity 0.4s ease;
}

.fade-image {
    transition: opacity 0.4s ease-in-out;
    opacity: 1;
}

.fade-image.fade-out {
    opacity: 0;
}

/* ===== Анимации ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== Адаптивность ===== */
@media (max-width: 992px) {
    .credits-banner-container {
        flex-direction: column;
        padding: 30px 20px;
        gap: 30px;
        max-width: 90%;
    }

    .credits-banner-content {
        max-width: 100%;
        text-align: center;
    }

    .credits-banner-title {
        font-size: 28px;
    }

    .credits-banner-description {
        font-size: 16px;
    }

    .credits-banner-image img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .credits-banner-section {
        padding: 40px 0;
    }

    .credits-banner-container {
        padding: 20px 15px;
        gap: 20px;
    }

    .credits-banner-title {
        font-size: 22px;
    }

    .credits-banner-description {
        font-size: 14px;
        line-height: 1.4;
    }
}


/*====================Блок 2 - Тарифы=================================*/
.credit-tarrifs-section {
  padding: 4rem 3rem;
  background: linear-gradient(to right, #f0f4f8, #ffffff);
  font-family: 'Segoe UI', sans-serif;
  color: #1a1a1a;
}

.credit-tarrifs-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #2b2d42;
  font-weight: 700;
}

.credit-tarrifs-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.credit-tarrifs-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e5e7eb;
}

.credit-tarrifs-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.credit-tarrifs-type {
  font-size: 1.5rem;
  color: #d90429;
  margin-bottom: 1.2rem;
  font-weight: 600;
	text-align: center;
}

.credit-tarrifs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.credit-tarrifs-list li {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.credit-tarrifs-list li strong {
  color: #2b2d42;
}

.credit-tarrifs-sublist {
  margin-top: 0.5rem;
  padding-left: 1rem;
  list-style: disc;
  color: #555;
  font-size: 0.95rem;
}
.credit-tarrifs-icon {
  width: 40px;
  height: 40px;
 margin: 0 auto 1rem;
	  display: block;
}

.credit-tarrifs-link {
  color: #d90429;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

.credit-tarrifs-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #d90429;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.credit-tarrifs-link:hover {
  color: #9e0020;
}

.credit-tarrifs-link:hover::after {
  transform: scaleX(1);
}

/*====================Блок 3 - Требования =================================*/
.credits-requirements-flow {
  background: #f9f9fb;
  padding: 80px 20px;
}

.credits-requirements-wrapper {
  max-width: 960px;
  margin: 0 auto;
}

.credits-requirements-heading {
  font-size: 30px;
  margin: 60px 0 30px;
  font-weight: 700;
  border-bottom: 2px solid #dcdce0;
  padding-bottom: 10px;
  color: #2c3e50;
}

.credits-requirements-line {
  display: flex;
  flex-direction: column;
  border-left: 4px solid #4a90e2;
  padding-left: 20px;
  gap: 30px;
  margin-bottom: 40px;
}

.credits-requirements-item {
  display: flex;
  flex-direction: column;
  position: relative;
}

.credits-requirements-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 1;
  width: 12px;
  height: 12px;
  background: #4a90e2;
  border-radius: 50%;
}

.label {
  font-weight: 600;
  font-size: 17px;
  color: #4a90e2;
}

.value {
  font-size: 16px;
  line-height: 1.6;
  margin-top: 4px;
}

.credits-requirements-column {
  padding: 20px 30px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 50px;
}

.credits-requirements-column p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.credits-requirements-column strong {
  color: #4caf50;
  margin-right: 10px;
  font-size: 18px;
}

.credits-requirements-grid-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.credits-requirements-grid-info .label {
  font-size: 16px;
  color: #4a90e2;
  font-weight: 600;
}

.credits-requirements-grid-info .value {
  font-size: 15px;
  color: #333;
  margin-top: 5px;
  line-height: 1.5;
}
