
.promo-fon {
    padding: 0 8px;
    width: 100%;
}
.promo-banner {
    position: relative;
    /* Фоновая картинка */
    background-image: url('/assets/img/loan/loan_possibilities.svg');
    background-size: cover; /* Заполнить весь блок */
    background-position: center;
    background-repeat: no-repeat;
    max-width: 1000px; 
    min-height: 400px;
    width: 100%;
    margin: 40px auto; 
    padding: 40px; 
    border-radius: 15px;
    overflow: hidden;
}

.promo-title {
    display: block;
    max-width: 350px; /* Ограничиваем размер заголовка */
    margin-bottom: 70px; /* Отступ от заголовка до кнопок */
}

.promo-tags {
    display: flex;
    flex-direction: column; /* Ставим блоки вертикально */
    gap: 15px; /* Расстояние между белыми блоками */
}

.promo-tag {
    background: #fff;
    padding: 12px 20px;
    border-radius: 8px; /* Скругление самих блоков */
    width: fit-content; /* Блок не растягивается на всю ширину */
    color: #333;
    font-weight: bold;
}

.pledge-fon {
    background: #F9FAFB;
}

.pledge-section {
    max-width: 1000px;
    text-align: center;
    padding: 20px 0;
    margin: 0 auto;
}

.pledge-title {
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: bold;
    text-align: left;
    color: #000;
    margin-left: 8px;
}

.pledge-grid {
    display: flex;
    gap: 30px;
    padding: 0 8px;
}

.pledge-card {
    flex: 1; /* Карточки занимают равную ширину */
    height: 300px; /* Высота карточки */
    min-height: 300px; /* Замени height на min-height */

    border-radius: 15px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative; /* Чтобы позиционировать надпись внутри */
    overflow: hidden;
      background-color: transparent;
      transition: background-color 0.3s ease;
}


.pledge-card:hover {
  background-color: rgba(255, 255, 255, 0.5);
  background-blend-mode: screen; /* или overlay / lighten */
}

/* Указываем конкретные картинки */
.rings-card {
    background-image: url('/assets/img/loan/rings.svg');
}

.furs-card {
    background-image: url('/assets/img/loan/furs.svg');
}

/* Позиционируем тег внутри карточки */
.pledge-card .promo-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    margin: 0; /* Сбрасываем внешние отступы если были */
}

.loan-terms {
    max-width: 1000px;
    margin: 10px auto;
    padding: 20px 15px;
    background: #fff;
    border-radius: 15px;
}

.terms-title {
    font-size: 32px;
    margin-bottom: 30px;
    color: #1a1a1a;
    font-weight: bold;
}

.terms-list {
    padding: 0;
    margin: 0;
    margin-left: 15px;

}

.terms-list li {
    padding: 5px 0;
    position: relative;
    color: #444;
}

.terms-list li:last-child {
    border-bottom: none;
}

.nested-list ul {
    list-style: none;
    padding-left: 20px;
}

.nested-list ul li {
    border-bottom: none;
}

.nested-list ul li::before {
    content: "–";
    color: #999;
    margin-right: 10px;
}

.documents-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
    background: #f8f9fa;
    border-radius: 15px;
    text-align: center;
}

.documents-title {
    font-size: 32px;
    color: #1a1a1a;
    font-weight: bold;
    text-align: left;
    padding: 10px 0;
    margin-bottom: 15px;
}

.documents-buttons {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
    background: #fff;
    padding: 10px;
    border-radius: 15px;
}

.btn-zaem {
    display: inline-block;
    padding: 12px 24px;
    background: #e9ecef;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: background 0.3s;
    margin-top: 0;
}

.btn-zaem:hover {
    background: #757574;
}
/* Обертка заголовка и переключателя */
.pledge-header-wrapper {
    margin-bottom: 40px;
}

.pledge-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1D1D1F; /* Темный цвет текста */
}

/* Контейнер для кнопок (серая подложка) */
.pledge-tabs {
    display: inline-flex;
    background-color: #F2F2F7; /* Светло-серый фон */
    border-radius: 12px;       /* Скругление углов контейнера */
    padding: 16px;              /* Отступ внутри контейнера */
    gap: 4px;                  /* Расстояние между кнопками */
}

/* Сами кнопки */
.pledge-tab {
    text-decoration: none;
    color: #6E6E73;            /* Цвет неактивной кнопки */
    font-size: 16px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 8px;        /* Скругление кнопок */
    transition: all 0.3s ease; /* Плавная анимация */
    cursor: pointer;
}

/* Активная кнопка (желтая) */

.pledge-title {
    font-size: 45px;
    font-weight: 700;
    margin: 15px auto 30px;
    color: #1D1D1F;
}

.pledge-tabs {
    display: inline-flex;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 20px;
    gap: 15px;
    margin-bottom: 30px;
    width: 100%;

}

.pledge-tab {
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    cursor: pointer;
    transition: 0.2s;
}

.pledge-tab.active {
    background: #FFD600;
    color: #1D1D1F;
    font-weight: 600;
}

.pledge-panel { 
    display: none; 
}
.pledge-panel.active { 
    display: block; 
    animation: fadeIn 0.3s ease;
}

.jewelry-content {
    max-width: 1000px;
    margin: 0 auto;
}

.jewelry-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
}

.jewelry-image img {
    width: 100%;
    height: auto;
    display: block;
}

.jewelry-block {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-align: justify;
}

.jewelry-block-title {
    font-size: 18px;
    font-weight: 600;
    color: #1D1D1F;
    margin-bottom: 16px;
    line-height: 1.4;
}

.jewelry-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.jewelry-list li {
    padding: 8px 0 8px 24px;
    position: relative;
    color: #555;
    font-size: 15px;
    line-height: 1.5;
}

.jewelry-list li:before {
    content: "•";
    color: #000000;
    font-weight: bold;
    position: absolute;
    left: 8px;
    font-size: 18px;
    line-height: 1.2;
}

.jewelry-notice {
    background: #F3F4F6;
    padding: 20px 20px;
    border-radius: 8px;
    font-size: 14px;
    color: #000000;
    line-height: 1.5;
    font-size: 15px;
    margin-top: 16px;
    text-align: center;
    font-weight: 600;
}

.jewelry-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-top: 16px;
    text-align: justify;

}

.steps-section {
    max-width: 1000px;
    margin: 0 auto 60px;
    padding: 25px 15px;
}

.steps-main-title {
    font-size: 40px;
    font-weight: 700;
    color: #1D1D1F;
    margin-bottom: 45px;
    text-align: left;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: justify;
}

.step-item {
    display: flex;
    align-items: flex-start; /* Иконка сверху, текст не центрируется */
    gap: 20px;
}

.step-icon {
    width: 90px; /* Размер иконки номера */
    height: auto;
    flex-shrink: 0; /* Чтобы иконка не сжималась */
}

.step-content {
    flex-grow: 1;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    color: #1D1D1F;
    margin: 0 0 10px 0;
}

.step-content p,
.step-content li {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 10px;
}

.step-content p:last-child,
.step-content li:last-child {
    margin-bottom: 0;
}

.step-list {
    padding-left: 20px;
    margin: 0;
}

.step-list li {
    list-style-type: disc;
    color: #555;
}

.step-list li::marker {
    color: #1D1D1F; /* Цвет маркеров списка */
}

.card-click-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Ссылка перекрывает фон */
    cursor: pointer;
}

@media (max-width: 1000px) {
    .documents-title {
        text-align: center;
    }

    .documents-buttons {
        justify-content: center;
    }

    .jewelry-image {
        margin: auto 10px;
    }
}

@media (max-width: 768px) {
    .promo-title {
        margin-top: 15px;
        height: 50px;
    }

    .promo-banner {
        min-height: 300px;
        padding: 15px;
    }
    
    .promo-tag {
        padding: 4px 8px;
    }

    .pledge-grid {
        flex-direction: column;
        padding: 0 8px;
    }

    .pledge-card {
        flex: none; /* Убираем flex: 1 для мобильных */
        width: 100%; /* Явно задаем ширину */
        min-height: 250px; /* Можно уменьшить высоту на мобильных */
    }

    .pledge-title {
        text-align: center;
        margin-left: 0;
        font-size: 25px;
        margin: 10px auto 10px;
    }

    .pledge-tabs {
        flex-direction: column;
    }

    .step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-icon {
        margin-bottom: 15px;
    }
    
    .step-list {
        text-align: justify;
    }

    .steps-main-title {
        text-align: center;
        font-size: 25px;
    }

}