
html a, p, span {
    color: #1E1E1E;
    text-decoration: none;

}

main, button {
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #f5f7f9;
}


h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    line-height: 1.2;
    color: #1E1E1E;
    text-transform: uppercase;

}

h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 30px;
    line-height: 1.2;
    color: #1E1E1E;
    text-transform: uppercase;
}

.breadcrumbs {
    padding: 0 8.5%;
}

.header-container-mobile {
    display: none;
}

.header-container {
    max-width: 1391px;
    margin: 23px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    line-height: 17px;
    color: #1E1E1E;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.header-container-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 181px;
    font-weight: 800;
    font-size: 15px;

}

.header-container-logo img {
    max-width: 150px;
}

.wrapper-header-text {
    display: flex;
    align-items: center;
    gap: 32px;
    flex: 0 0 660px;
    justify-content: space-between;
}

.header-container-info {
    flex: 0 0 259px;
}


.bankruptcy-advantages,need-consult{
    margin-bottom: 100px;
}
.header-separator {
    flex: 0 0 1px;
    height: 40px;
    background: rgba(0, 0, 0, 0.25);
}

.header-container-consult {
    flex: 0 0 350px;
}

.wrapper-header-contacts {
    display: flex;
    align-items: center;
    gap: 51px;
    flex: 0 0 auto;
}

.header-container-address .location-link {
    display: flex;
    align-items: center;
    gap: 26px;
    text-decoration: none;
    color: inherit;
}

.icon-location {
    width: 24px;
    height: 24px;
}

.location-text {
    margin: 0;
    font-weight: 600;
    font-size: 13px;
    line-height: 17px;
}

.header-container-contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.header-container-contacts-phone {
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    text-align: center;
    color: inherit;
}

.header-container-contacts-callback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 27px;
    border-radius: 15px;
    background-color: #BB0707;
    color: #FFFFFF;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 12px;
    line-height: 100%;
    cursor: pointer;
}


.main-wrapper {
    max-width: 1700px;
    margin: 0 auto;
    margin-top: 23px;
}

.footer-wrapper {
    max-width: 1700px;
    margin: -100px auto 20px auto;
    border-radius: 40px;
    overflow: hidden;
    position: relative;

}

.map-wrapper {
    width: 100%;
    height: 851px;
    border-radius: 40px;
}

.footer-map-card {
    position: absolute;
    top: 179px;
    left: 8%;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 24px 57px 8px;
    max-width: 487px;
    font-family: sans-serif;
    z-index: 10;
    text-align: center;

}


.footer-map-logo img, footer-map-address img {
    max-width: 35px;
}

.footer-map-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-bottom: 1px solid #E1E1E1;
    padding-bottom: 16px;

}

.footer-map-address {
    display: flex;
    gap: 26px;
    justify-content: center;
    text-align: left;
    margin: 10px 0;
}

.footer-map-photo {
    max-width: 100%;
}

.footer-wrapper-phone {
    margin-top: 23px;

}

.footer-wrapper-phone {
    gap: 10px;
    display: flex;
    border-bottom: 1px solid #E1E1E1;
    padding-bottom: 16px;
    margin-bottom: 16px;
    align-items: center;
    justify-content: center;

}

.footer-wrapper-phone a {
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
}

.footer-map-btn-red {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 27px;
    border-radius: 15px;
    background-color: #BB0707;
    color: #FFFFFF;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0;
    cursor: pointer;
    text-decoration: none;
}


.white-block {
    border-radius: 40px;
    max-width: 1700px;
    background: white;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
}

.main-banner-hero-section {
    display: flex;
    justify-content: space-between;
    margin-bottom: 27px;
    padding: 86px 98px 0 154px;
    align-items: flex-end;
    position: relative;
    background: #fff;
    border-radius: 40px;
    overflow: hidden;
    text-align: left;
}

.main-banner-hero-content {
    flex: 0 0 46%;
    margin-bottom: 112px;

}

h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    line-height: 1.2;

    color: #1E1E1E;
    text-transform: uppercase;
}

.red {
    color: #BB0707;
}

.main-banner-hero-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 24px;
    color: #1E1E1E;
    font-weight: 700;
}

.main-banner-hero-content .test-text {
    font-weight: 800;
    font-size: 18px;
}

.main-banner-btn-red {
    display: inline-block;
    padding: 19px 21px;
    background-color: #BB0707;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 15px;
    border-radius: 15px;
    text-decoration: none;
    margin-top: 33px;
}

.main-banner-hero-images {
    flex: 0 0 50%;
    max-width: 50%;


}

.main-banner-hero-images .main-banner-circle {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 23.53vw;
    height: 23.53vw;
    background-image: url('/spisat-kredity/assets/images/cirle-main.png');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
}

.main-banner-hero-images .main-banner-person {
    z-index: 2;
    max-width: 100%;
}


.ratings {
    max-width: 811px;
    margin: 0 auto 28px;
    display: flex;
    justify-content: space-between;
    gap: 27px;
}

.rating-item {
    flex: 1;
    background: #fff;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 17px 30px;

}

.rating-item img {
    max-width: 110px;
    display: block;
}


.bankruptcy-estimator {


}

.bankruptcy-estimator__title {

}

.bankruptcy-estimator__subtitle {
    font-size: 15px;
    margin-bottom: 66px;
    font-weight: 600;
    max-width: 1044px;
}

.bankruptcy-estimator__content {
    display: flex;
    gap: 68px;
}

.bankruptcy-estimator__profile {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 1 351px;
}

.bankruptcy-estimator__photo {
    max-width: 336px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.bankruptcy-estimator__details {
    font-size: 14px;
    width: 100%;
    background: white;
    border-radius: 40px;
    margin-top: -79px;
    display: flex;
    box-sizing: border-box;

    flex-direction: column;
    padding: 38px 51px 28px 39px;
}

.bankruptcy-estimator__name {
    font-weight: 600;
    font-size: 18px;
    margin: 0;
}

.bankruptcy-estimator__role {
    color: #666;
    font-size: 12px;
    font-weight: 500;
}

.bankruptcy-estimator__form {
    flex: 1;
}

.bankruptcy-estimator__progress {
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    height: 12px;
    margin-bottom: 16px;
}

.bankruptcy-estimator__progress-bar {
    background: #BB0707;
    height: 100%;
    width: 13%;
    transition: width 0.3s ease;
}

.bankruptcy-estimator__progress-text {
    font-size: 12px;
    margin-bottom: 40px;
    font-weight: 700;
    size: 15px;
}

.bankruptcy-estimator__fieldset {
    border: none;
    margin: 0 0 24px;
    padding: 0;
}

.bankruptcy-estimator__legend {
    font-weight: 600;
    margin-bottom: 18px;
}

.bankruptcy-estimator__options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    grid-auto-rows: 1fr;

}

.bankruptcy-estimator__option {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 15px;
    padding: 10px 24px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    gap: 20px;
    border: 1px solid #E7E9EB;
}

.bankruptcy-estimator__option input[type="checkbox"] {
    /* в любом состоянии — размер и радиус */
    width: 26px;
    height: 26px;
    border-radius: 5px;
    margin-right: 12px; /* отступ перед текстом */
    vertical-align: middle;
    cursor: pointer;
}


.bankruptcy-estimator__option input[type="checkbox"],
.bankruptcy-estimator__option input[type="checkbox"]:hover {
    accent-color: #BB0707 !important;
}

/* только для НЕ-отмеченного — убираем нативный вид и рисуем свою рамку */
.bankruptcy-estimator__option input[type="checkbox"]:not(:checked) {
    -webkit-appearance: none;
    appearance: none;
    flex-shrink: 0;
    border: 2px solid #E7E9EB;
    background-color: #FFFFFF;
}


.bankruptcy-estimator__button {
    background: #BB0707;
    color: #fff;
    padding: 19px 25px;
    border: none;
    border-radius: 15px;
    font-size: 15px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    gap: 7px;
    align-items: center;

}

.bankruptcy-estimator__button span {
    height: 15px;
}

.bankruptcy-weight {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.bankruptcy-normal {
    font-size: 15px;
    font-weight: 500;
    margin-top: 10px;
}

.bankruptcy-estimator__footer {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;

}


.bankruptcy-estimator__description {
    font-size: 12px;
    font-weight: 500;
}


.bankruptcy-eligible-debts {
    max-width: 1392px;
    margin: 0 auto 68px;
}

.bankruptcy-eligible-debts__title {
    margin-bottom: 36px;
}

.bankruptcy-eligible-debts__subtitle {
    font-size: 15px;
    line-height: 1.4;
    max-width: 800px;
    margin-bottom: 68px;
    font-weight: 500;
}

.bankruptcy-eligible-debts__slider-wrapper {
    position: relative;
    margin-bottom: 28px;
}

.bankruptcy-eligible-debts__swiper {
    overflow: hidden;
}

.bankruptcy-eligible-debts__swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.swiper-slide.bankruptcy-eligible-debts__card {
    background: #fff;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-shrink: 0;
    height: 100%;
    box-sizing: border-box;
}

.bankruptcy-eligible-debts__image {
    width: 100%;
    height: 188px;
    object-fit: cover;
    border-radius: 40px 40px 0 0;
    display: block;
    margin-bottom: 26px;
}

.bankruptcy-eligible-debts__caption {
    padding: 0 24px 32px;
    font-size: 15px;
    font-weight: 700;
    color: #1E1E1E;
    flex: 0 0 auto;
}

.bankruptcy-eligible-debts__pagination {
    margin-top: 46px;
    display: flex;
    gap: 8px;
    justify-content: center;
    z-index: 10;
    position: static !important;
}

.bankruptcy-eligible-debts__pagination .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: #ccc;
    border-radius: 50%;
    opacity: 1;
}

.bankruptcy-eligible-debts__pagination .swiper-pagination-bullet-active {
    background: #BB0707;
}


.bankruptcy-advantages {
    background: #fff;
    border-radius: 40px;
    padding: 74px 152px 82px 153px;
    margin-bottom: 69px;
}

.bankruptcy-advantages__title {


    margin: 0 0 50px;
    line-height: 1.2;
}

.bankruptcy-advantages__highlight {
    color: #BB0707;
}

.bankruptcy-advantages__content {
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: start;


}

.bankruptcy-advantages__column {
    flex: 1;
    min-width: 50%;
}

.bankruptcy-advantages__subtitle {
    font-size: 16px;
    margin: 0 0 16px;
}

.bankruptcy-advantages__subtitle--pros {
    color: #029215;
    font-size: 18px;
    margin-bottom: 35px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;


}

.bankruptcy-advantages__subtitle--cons {
    color: #BB0707;
    font-size: 18px;
    margin-bottom: 35px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.bankruptcy-advantages__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bankruptcy-advantages__item {
    display: flex;
    align-items: flex-start;
    gap: 39px;
    margin-bottom: 27px;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
}

.bankruptcy-advantages__icon {
    width: 31px;

    flex-shrink: 0;
    margin-top: 2px;
}

.bankruptcy-advantages__footer {
    margin-top: 52px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 45px;
    flex-wrap: wrap;

}

.bankruptcy-advantages__note {
    font-size: 15px;
    font-weight: 500;
    margin: 0;
}

.bankruptcy-advantages__button {
    background: #BB0707;
    color: #fff;
    padding: 21px 19px;
    border: none;
    border-radius: 15px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.right-advantages, .left-advantages {
    background: #F5F7F9;
    padding: 50px 57px 75px 71px;
    border-radius: 40px;

}

.rating-item.yandex {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.rating-item.yandex .rating-item__overlay {
    position: absolute;
    inset: 0;
    z-index: 10;

    background: transparent;
}

.rating-item.yandex .map-link__img {
    display: block;
    width: 110px;
    height: auto;
    z-index: 1;
}

.rating-item.yandex .rating-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    z-index: 1;
    margin-top: -10px;
}

.rating-item.yandex .rating-info__value {
    font-size: 16px;
    font-weight: bold;
}

.rating-item.yandex .rating-info__stars {
    font-size: 14px;
    color: gold;
}

.rating-item.yandex .rating-info__count {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: #666;
}


.rating-item.fns {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 0 1 251px;
}

.rating-item.fns .fns-info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    font-size: 12px;
    font-weight: 500;

}

.rating-item.fns img {
    width: 54px;
    height: auto;
}


.rating-item.gis {
    padding: 0;
    flex: 0 1 217px;
}

.rating-item.gis .gis-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.rating-item.gis .map-link__img {
    width: 87px;
    height: auto;
    display: block;
}

.rating-item.gis .rating-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
}

.rating-item.gis .rating-info__value {
    font-size: 16px;
    font-weight: bold;
}

.rating-item.gis .rating-info__stars {
    font-size: 14px;
    color: gold;
}

.rating-item.gis .rating-info__count {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: #666;
}

#scrollTopBtn {
    position: fixed;
    bottom: 1%;
    right: 24px;
    transform: translateY(-50%);
    width: 84px;
    height: 84px;
    background: #BB0707;
    border: none;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
}

#scrollTopBtn.visible {
    opacity: 1;
    visibility: visible;
}

#scrollTopBtn:hover {
    opacity: 1;
}

.write-offs {

    max-width: 1392px;
    margin: 0 auto 74px;
}

.write-offs__title {
    margin-bottom: 46px;

}

.write-offs__slider-wrapper {
    position: relative;
    margin-bottom: 28px;
}

.write-offs__swiper {
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide.write-offs__card {
    background: #fff;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.write-offs__image {
    width: 100%;
    display: block;
    height: 188px;
    margin-bottom: 26px;
    border-radius: 40px;
    object-fit: cover;
}

.write-offs__body {
    margin: 0px 50px 31px;
    font-weight: 700;
    font-size: 18px;
}

.write-offs__name {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    margin: 0 0 8px;


}

.write-offs__amount {
    font-size: 18px;
    margin: 0 0 17px;
    color: #BB0707;
    font-weight: 700;

}

.write-offs__btn {
    background: #BB0707;
    color: #fff;
    border: none;
    margin-bottom: 17px;
    padding: 19px 21px;
    font-size: 15px;

    font-weight: 700;
    border-radius: 15px;
}


.write-offs__swiper {
    overflow: hidden;
}

.write-offs__pagination {


    position: unset !important;
    display: flex;
    gap: 8px;
    z-index: 10 !important;
    justify-content: center;
}

.write-offs__pagination .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: #ccc;
    border-radius: 50%;
    opacity: 1;
}

.write-offs__pagination .swiper-pagination-bullet-active {
    background: #BB0707;
}

.write-offs__actions {
    display: flex;
    flex-direction: column;
}

.turnkey {
    margin-bottom: 100px;
    padding: 76px 0 76px;
    background: white;
}

.turnkey__inner {
    display: flex;
    gap: 40px;
    align-items: center;
    max-width: 1392px;
    margin: 0 auto;
    justify-content: space-between;
}

.turnkey__left {
    flex: 0 1 659px;
}

.turnkey__right{
    max-width: 550px;
}

.turnkey__title {
    max-width: 560px;
    margin-bottom: 24px;
    margin-top: 18px;
    color: #222;
}

.turnkey__terms {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 8px;
    align-items: center;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 700;

    gap: 31px;
}


.turnkey__list li::marker {
    margin-right: 5px;

}

.turnkey__check {
    display: inline-block;
    font-size: 20px;
    line-height: 1;
    color: #BB0707;
    grid-column: 1;
    grid-row: 1;
}

.turnkey__terms p {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
}


.turnkey__list {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    list-style-type: none;
}

.turnkey__list {

    padding: 0;
    margin: 0;
}

.turnkey__list li {

}

.turnkey__list li::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #555;
    margin-right: 26px;
    vertical-align: middle;
}

.turnkey__list li {
    margin-bottom: 18px;
    font-size: 15px;
    font-weight: 600;

}

.turnkey__right {

}

.turnkey__img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 32px;
}

.turnkey__download-title {
    margin: 0 0 24px;


}

.turnkey__download-desc {
    font-size: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.turnkey__btn {
    background: #BB0707;
    color: #fff;
    border: none;
    padding: 19px 21px;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
}


.why-us {
    max-width: 1392px;
    margin: 0 auto 82px;
}


.why-us__title {
    max-width: 1700px;

}

.why-us__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(442px, 1fr));
    gap: 33px;
    padding: 0;
    list-style: none;

}

.why-us__item {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 40px;
    padding: 34px 52px 34px 41px;
    font-size: 15px;
    gap: 24px;
    min-height: 125px;
}

.why-us__icon {
    max-width: 100px;
    flex-shrink: 0;

}

.why-us__text {
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
    font-size: 15px;
}

.why-us__action {
    text-align: center;


}

.why-us__button {
    display: inline-block;
    background: #BB0707;
    color: #fff;
    border: none;
    padding: 19px 21px;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    margin-top: 46px;
}

.need-consult {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 77px;
}

.need-consult__title {
    margin: 0 0 32px 0;
}

.need-consult__subtitle {
    font-size: 18px;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.need-consult__note {
    font-size: 15px;
    margin: 0 0 47px 0px;
    font-weight: 500;

}

.need-consult__form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 21px;
}

.need-consult__input {
    padding: 19px 17px;
    font-size: 15px;
    border: 1px solid #E7E9EB;
    border-radius: 15px;
    background: #f0f2f5;
    color: #555;
}

.need-consult__agree {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #555;
    gap: 8px;
}

.need-consult__checkbox {
    width: 16px;
    height: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.need-consult__button {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    justify-self: start;
    background: #BB0707;
    color: #fff;
    border: none;
    padding: 19px 21px;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
}

.need-consult__image img {
    display: block;
    max-width: 677px;
    border-radius: 40px;
    float: right;

}

.need-consult__content {
    margin: 88px 0 0 56px;
}

.need-consult__input[type="text"] {
    background: #F5F7F9 url("/assets/images/user-ico.svg") no-repeat 16px center;
    background-size: 23px auto;
    padding-left: 48px;
}

.need-consult__input[type="tel"] {
    background: #F5F7F9 url("/assets/images/phone-ico.svg") no-repeat 16px center;
    background-size: 22px auto;
    padding-left: 48px;
}

.need-consult__link {
    text-decoration: underline;
    text-underline-offset: 4px;

}

.need-consult__text {
    max-width: 322px;
    font-weight: 500;

}


.useful-articles {
    max-width: 1392px;
    margin: 0 auto 81px;
}

.useful-articles__title {
    margin-bottom: 46px;
}

.useful-articles__slider-wrapper {
    position: relative;
    margin-bottom: 28px;
}


.useful-articles__swiper {
    overflow: hidden;
}

.useful-articles .swiper-wrapper {
    display: flex;
}

.write-offs__swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.swiper-slide.useful-articles__card {
    background: #fff;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    text-align: center;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    height: unset !important;
}

/* 1) Все слайды — ровной высоты */
.write-offs__swiper .swiper-wrapper {
    align-items: stretch !important;
}

.write-offs__swiper .swiper-slide {
    align-self: stretch;
}

/* 2) Карточке (которая же и слайд) даём флекс и высоту 100% */
.write-offs__swiper .swiper-slide.write-offs__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

/* 3) <a> растягиваем на всю карточку */
.write-offs__swiper .swiper-slide.write-offs__card > .write-offs__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

/* 4) Тело карточки — растягиваем, чтобы футер «пушился» вниз */
.write-offs__swiper .write-offs__body {
    flex: 1;
}

/* 5) Футер прижимаем низ — margin-top:auto */
.write-offs__swiper .write-offs__actions {
    margin-top: auto;
}


.useful-articles__image {
    width: 100%;
    height: 188px;
    display: block;
    border-bottom: 1px solid #eee;
    margin-bottom: 26px;
    border-radius: 40px;
    object-fit: cover;
}

.useful-articles__body {
    padding: 0 24px 32px;
}

.useful-articles__subtitle {
    margin: 0 0 12px;
    font-weight: 700;
    color: #333;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
}

.useful-articles__text {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

.useful-articles__pagination {
    position: static !important;
    margin-top: 46px !important;
    display: flex;
    gap: 8px;
    justify-content: center;
}

.useful-articles__pagination .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: #ccc;
    border-radius: 50%;
    opacity: 1;
}

.useful-articles__pagination .swiper-pagination-bullet-active {
    background: #BB0707;
}


.faq {
    position: relative;
    z-index: 1;
    padding: 45px 152px 50px 154px;
}

.faq__title {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    margin-bottom: 38px;
}

.faq__container {
    padding: 16px;
}

.faq__item {
    margin-bottom: 19px;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

.faq__header {
    display: flex;
    align-items: center;
    padding: 8px 28px;
    background: #F1F4F6;
    border-radius: 15px;
    cursor: pointer;
    border: 1px solid #E7E9EB;
    gap: 39px;

}

.faq__item--active .faq__header {
    background: #BB0707;
    color: #FFFFFF;

}

.faq__number {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #0000001F;
    font-weight: 700;
    font-size: 33px;
    font-family: 'Montserrat', sans-serif;
}

.faq__item--active .faq__number {

}

.faq__question {
    flex: 1;
    font-size: 15px;
    font-weight: 700;
}

.faq__icon {
    width: 16px;
    height: 16px;
    background-image: url('/assets/images/arrow-top.svg');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    transition: transform .3s, filter .3s;
    filter: brightness(0) saturate(100%) opacity(0.5);
}

.faq__item--active .faq__icon {
    transform: rotate(180deg);
    filter: brightness(0) saturate(100%) invert(100%);

}

.faq__content {
    display: none;
    background: #F1F4F6;
    border-radius: 15px;
    padding: 25px 101px;
    font-size: 15px;
    line-height: 1.5;

}

.faq__item--active .faq__content {

    display: block;
    border: 1px solid #E7E9EB;
    margin-top: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;
}

.faq__header:hover {
    background: #BB0707;
    color: #FFFFFF;
}

.faq__header:hover .faq__icon {
    filter: brightness(0) invert(1);
}
.faq__header {
    touch-action: manipulation;
}


.consult {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    max-width: 942px;

    padding: 72px 59px 69px 81px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, transform .3s ease;
    z-index: 1001;
    background: #F5F7F9;
}

.consult--open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.consult__overlay--open.consult__overlay--open {
    opacity: 1;
    visibility: visible;

}

.consult__close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
    color: #999;
}

.consult__content {
    margin: 0 auto;
}

.consult__title {
    margin: 0 0 32px;
}

.consult__subtitle {
    font-size: 18px;
    margin: 0 0 10px;
    font-weight: 700;
}

.consult__note {
    font-size: 15px;
    margin: 0 0 47px;
    font-weight: 500;
}

.consult__form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 21px;
}

.consult__input {
    padding: 19px 17px;
    font-size: 15px;
    border: 1px solid #E7E9EB;
    border-radius: 15px;
    background: #f0f2f5;
    color: #555;
}

.consult__input[type="text"] {
    background: #F5F7F9 url("/assets/images/user-ico.svg") no-repeat 16px center;
    background-size: 23px auto;
    padding-left: 48px;
}

.consult__input[type="tel"] {
    background: #F5F7F9 url("/assets/images/phone-ico.svg") no-repeat 16px center;
    background-size: 22px auto;
    padding-left: 48px;
}

.consult__agree {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #555;
    gap: 8px;
}

.consult__checkbox {
    width: 16px;
    height: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.consult__text {
    max-width: 322px;
    font-weight: 500;
}

.consult__link {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.consult__button {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    justify-self: start;
    background: #BB0707;
    color: #fff;
    border: none;
    padding: 19px 21px;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
}

.consult__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    transition: opacity .3s ease, visibility .3s ease;
}

.consult__content {
    font-family: 'Montserrat', sans-serif;
}


.check-yourself-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.check-yourself-popup--active {
    display: block;
}

.check-yourself-popup__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.check-yourself-popup__content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 700px;
    max-width: 90%;
    background: #fff;
    border-radius: 40px;
    padding: 40px 30px 30px;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
}

.check-yourself-popup__close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

.check-yourself-popup__step {
    display: none;
    text-align: center;
}

.check-yourself-popup__step--active {
    display: block;
}

.check-yourself-popup__header {
    font-size: 14px;
    color: #000;
    margin-bottom: 20px;
}

.check-yourself-popup__title {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin: 0 auto 12px;
    max-width: 420px;
    line-height: 1.2;
}

.check-yourself-popup__text {
    font-size: 15px;
    color: #808080;
    margin: 0 auto 30px;
    max-width: 420px;
    line-height: 1.4;
}

.check-yourself-popup__options {
    list-style: none;
    padding: 0;
    margin: 0 auto 30px;
    max-width: 700px;
}

.check-yourself-popup__option {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.check-yourself-popup__radio {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #C4C4C4;
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    cursor: pointer;
}

.check-yourself-popup__radio:checked {
    border-color: #BB0707;
}

.check-yourself-popup__radio:checked::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    background: #BB0707;
    border-radius: 50%;
}

.check-yourself-popup__label {
    font-size: 15px;
    color: #000;
    cursor: pointer;
}

.check-yourself-popup__button {
    display: inline-block;
    background: #BB0707;
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 15px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin: 0 auto;
}

.check-yourself-popup__input {
    display: block;
    width: 100%;
    padding: 15px;
    font-size: 15px;
    margin-bottom: 20px;
    box-sizing: border-box;
    border: 1px solid #C4C4C4;
    border-radius: 4px;
}

.check-yourself-popup__buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.needConsultMessage {
    margin: 20px 0;
}

.bankruptcy-estimator {
    margin: 0 auto 68px;
    padding: 77px 152px 81px;
    background: #fff;
    border-radius: 40px;
}

.bankruptcy-estimator__title {

}

.bankruptcy-estimator__subtitle {
    font-size: 15px;
    margin-bottom: 66px;
    font-weight: 600;
    max-width: 1044px;
}

.bankruptcy-estimator__content {
    display: flex;
    gap: 68px;
}

.bankruptcy-estimator__profile {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 1 351px;
}

.bankruptcy-estimator__photo {
    max-width: 336px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.bankruptcy-estimator__details {
    font-size: 14px;
    width: 100%;
    background: #fff;
    border-radius: 40px;
    margin-top: -79px;
    display: flex;
    flex-direction: column;
    padding: 38px 51px 28px 39px;
    box-sizing: border-box;
}

.bankruptcy-estimator__name {
    font-weight: 600;
    font-size: 18px;
    margin: 0;
}

.bankruptcy-estimator__role {
    color: #666;
    font-size: 12px;
    font-weight: 500;
}

.bankruptcy-estimator__description {
    font-size: 12px;
    font-weight: 500;
}

.bankruptcy-estimator__form {
    flex: 1;
}

.bankruptcy-estimator__progress {
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    height: 12px;
    margin-bottom: 16px;
}

.bankruptcy-estimator__progress-bar {
    background: #BB0707;
    height: 100%;
    width: 13%;
}

.bankruptcy-estimator__progress-text {
    font-size: 12px;
    margin-bottom: 40px;
    font-weight: 700;
}

.bankruptcy-estimator__fieldset {
    border: none;
    margin: 0 0 24px;
    padding: 0;
}

.bankruptcy-estimator__legend {
    font-weight: 600;
    margin-bottom: 18px;
}

.bankruptcy-estimator__options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    min-height: 54px;
}

.bankruptcy-estimator__option {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 15px;
    padding: 10px 24px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    gap: 20px;
    border: 1px solid #E7E9EB;
}

.bankruptcy-estimator__option input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 5px;
    border: 2px solid #E7E9EB;
    background-color: #FFFFFF;
    cursor: pointer;
    position: relative;
}

.bankruptcy-estimator__option input[type="checkbox"]:checked {
    background-color: #BB0707;
    border-color: #BB0707;
}

.bankruptcy-estimator__option input[type="checkbox"]:checked::after {
    content: '';
    display: block;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%) rotate(45deg);
}

.bankruptcy-estimator__option input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #E7E7E7;
    background-color: #FFFFFF;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.bankruptcy-estimator__option input[type="radio"]:checked {
    background-color: #BB0707;
    border-color: #BB0707;
}

.bankruptcy-estimator__option input[type="radio"]:checked::after {
    content: '';
    display: block;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bankruptcy-estimator__button {
    background: #BB0707;
    color: #fff;
    padding: 19px 21px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    gap: 7px;
    align-items: center;
}

.bankruptcy-estimator__footer {
    display: flex;
    align-items: center;

    margin-top: 24px;
}

.bankruptcy-estimator__help-text {
    margin: 0 30px 0 0;
    flex: 0 1 216px;
    font-weight: 500;
    font-size: 15px;
}

.bankruptcy-estimator__help-next-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: flex-end;
}

.bankruptcy-estimator__footer-left {
    flex: 0 0 auto;
}

.bankruptcy-estimator__footer-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
    justify-content: flex-end;
}

.bankruptcy-estimator__text-input {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 15px;
    padding: 10px 24px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    gap: 20px;
    border: 1px solid #E7E9EB;
    width: 100%;
    min-height: 20px;


}


/* === Блок с карточками-опциями для выбора «Телефон» / «WhatsApp» === */
.bankruptcy-estimator__contact-options {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.bankruptcy-estimator__contact-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px;
    padding: 16px;
    border: 1px solid #E7E9EB;
    border-radius: 15px;
    background-color: #FFF;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bankruptcy-estimator__contact-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Скрываем реальный радио-инпут, заменяя его кастомными стилями у родителя */
.bankruptcy-estimator__contact-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Иконка внутри карточки */
.bankruptcy-estimator__contact-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
}

.bankruptcy-estimator__contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Текстовая метка */
.bankruptcy-estimator__contact-label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

/* Когда радио-опция выбрана — подчёркиваем рамку красным и ставим красный фон у иконки */
.bankruptcy-estimator__contact-input:checked + .bankruptcy-estimator__contact-icon img {
    /* Можно, к примеру, закрасить саму svg-иконку по необходимости */
}

.bankruptcy-estimator__contact-input:checked ~ .bankruptcy-estimator__contact-label {
    color: #BB0707;
}

.bankruptcy-estimator__contact-input:checked + .bankruptcy-estimator__contact-icon {
    /* Оборачиваем последующий селектор, чтобы показать активное состояние */
}

.bankruptcy-estimator__contact-card input:checked + .bankruptcy-estimator__contact-icon,
.bankruptcy-estimator__contact-card input:checked ~ .bankruptcy-estimator__contact-label {
    /* Вариант: подчеркнуть рамку карточки красным */
    border-color: #BB0707;
}

.bankruptcy-estimator__contact-card input:checked ~ .bankruptcy-estimator__contact-label,
.bankruptcy-estimator__contact-card input:checked + .bankruptcy-estimator__contact-icon {
    /* Если нужно, можно добавить цветовой фон иконке, если SVG позволяет */
}

/* Если radio «Телефон» выбран, самой карточке добавить класс ._checked (можно через JS),
   либо ориентироваться на input:checked и селекторы ~ и + */
.bankruptcy-estimator__contact-card input:checked ~ .bankruptcy-estimator__contact-label {
    color: #BB0707;
}

/* Поле ввода телефона — стандартный стиль из прежних шагов */
.bankruptcy-estimator__input-wrapper {
    margin-bottom: 24px;
}

.bankruptcy-estimator__text-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 15px;
    border: 1px solid #E7E9EB;
    border-radius: 20px;
    background: #F5F5F5;
    outline: none;
    transition: border-color 0.2s ease;
}

/* Если поле некорректно заполнено, можно добавить класс ._error через JS,
   который окрасит рамку в красный */
.bankruptcy-estimator__text-input._error {
    border-color: #BB0707;
}

/* === Футер — кнопки «Назад» и «Готово» === */
.bankruptcy-estimator__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding: 0;
}

.bankruptcy-estimator__footer-left {
    flex: 0 0 auto;
}

.bankruptcy-estimator__footer-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

.bankruptcy-estimator__help-text {
    font-size: 15px;
    color: #666;
    margin: 0;
}

/* Кнопка «Готово» (аналог «Далее») */
.bankruptcy-estimator__button--next {
    background: #BB0707;
    color: #FFFFFF;
    border: none;
    border-radius: 15px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.bankruptcy-estimator__button--next:hover {
    background: #A30606;
}

/* Кнопка «Назад» */
.bankruptcy-estimator__button--back {
    background: #BB0707;
    color: #FFFFFF;
    border: none;
    border-radius: 15px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.bankruptcy-estimator__button--back:hover {
    background: #A30606;
}

.bankruptcy-estimator__contact-card:has(input:checked) {
    border-color: #BB0707;
    box-shadow: 0 0 0 2px rgba(187, 7, 7, 0.15);
}

.breadcrumb {
    list-style: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 15px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    max-width: 1391px;
    margin: 32px auto;

}

.breadcrumb li {
    margin-right: 8px;
}

.breadcrumb-item {
    display: inline-block;
    padding: 6px 14px;
    background-color: #f0f0f0;
    color: #555555;
    text-decoration: none;
    font-size: 14px;
    border-radius: 50px;
    transition: background-color 0.2s ease;
}

.breadcrumb-item:hover {
    background-color: #e0e0e0;
}

.breadcrumb-item--active {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #dddddd;
}

.breadcrumb li span {
    padding: 3px 23px;
    border-radius: 15px;
    background: white;
    margin-right: 9px;
    color: #1E1E1E78;
}

.breadcrumb li:last-child span {
    color: #1E1E1E !important;
}

.write-offs__body a {
    text-decoration: underline;
    text-underline-offset: 3px;
}


.article-detail {
    margin-bottom: 70px;
    padding: 76px 152px 84px 154px;
}

.article-detail__title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 20px;

}

.container-article {
    margin: 0 auto;
    max-width: 1280px;
    overflow: hidden;
}

.article-detail__image {
    max-width: 50%;
    float: right;
    margin: 0 0 20px 20px;
}

.article-detail__image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 40px;
}

.article-detail__content {
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    color: #1E1E1E;
    overflow-wrap: break-word;
    font-weight: 500;
    line-height: 1.4;
}

.procedures-bankruptcy {
    max-width: 1398px;
    margin: 0 auto 142px;

}

.procedures-bankruptcy__title {
    margin-bottom: 15px;
}

.procedures-bankruptcy__content {
    display: flex;
    gap: 95px;
    flex-wrap: wrap;
}

.procedures-bankruptcy__column {
    flex: 1;
}

.procedures-bankruptcy__text {
    font-size: 15px;
    margin: 0;
    font-weight: 500;
}

.case-information {
    max-width: 1398px;
    margin: 0 auto 142px;
}

.case-information__title {
    margin-bottom: 15px;
}

.case-information__content {
    display: flex;
    gap: 95px;
}

.case-information__column {
    flex: 1;
}

.case-information__text {
    font-size: 15px;
    margin: 0;
    font-weight: 500;
}


.we-wrote-off {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 27px;
    position: relative;
    background: #fff;
    border-radius: 40px;
    overflow: hidden;
    padding: 86px 8% 3% 7%;
    gap: 10px;
}

.we-wrote-off__content {
    flex: 0 1 500px;

    padding-bottom: 112px;
}

.we-wrote-off__highlight {
    color: #BB0707;
}

.we-wrote-off__text--test {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 24px;
    color: #1E1E1E;
}

.we-wrote-off__btn--red {
    display: inline-block;
    padding: 19px 21px;
    background-color: #BB0707;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 15px;
    border-radius: 15px;
    text-decoration: none;
    margin-top: 33px;
    border: none;
    cursor: pointer;
}

.we-wrote-off__images {
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    height: 0;
}

.we-wrote-off__person {
    position: absolute;
    bottom: 0;
    right: 98px;
    height: auto;
    z-index: 2;
}

.we-wrote-off__content p {
    font-size: 15px;
    font-weight: 600;
}


.we-wrote-off__photo {
    flex: none;
    width: 23.53vw;
    height: 23.53vw;
    border-radius: 50%;
    overflow: hidden;


}

.we-wrote-off__photo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-wrap: wrap;
}


/* Контейнер-обёртка для центрирования содержимого */
.thank-you-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

/* Стили для иконки «галочка в круге» */
.icon-circle-check {
    margin-bottom: 30px;
}

.icon-circle-check svg {
    width: 50%;

}

/* Заголовок */
.thank-you-title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}


.thank-you-subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: #555555;
    margin-bottom: 24px;
}


.thank-you-text {
    max-width: 600px;
    font-size: 0.95rem;
    color: #333333;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Номер телефона */
.thank-you-phone {
    font-size: 1.5rem;
    font-weight: 600;
    color: #BB0707;
    text-decoration: none;
}

.thank-you-phone:hover {
    text-decoration: underline;
}

.bankruptcy-estimator__footer--mobile {
    display: none;
}




@media (max-width: 1600px) {
    h2 {
        font-size: 36px;
        margin-top: 0;
        margin-bottom: 3%!important;

    }

    .main-banner-hero-content {
        margin-bottom: 7%;
    }

    .bankruptcy-estimator, .bankruptcy-eligible-debts, .bankruptcy-advantages, .write-offs, .turnkey, .useful-articles, .faq, .case-information, .procedures-bankruptcy, .article-detail, .write-offs, .useful-articles {
        padding: 8.5% 8.5%;
    }



    .bankruptcy-eligible-debts, .bankruptcy-advantages, .write-offs, .turnkey, .need-consult, .useful-articles, .case-information, .we-wrote-off, .procedures-bankruptcy {
        margin-bottom: 0;
    }

    .bankruptcy-advantages,.need-consult{
        margin-bottom: 5.5%!important;
    }

    .bankruptcy-eligible-debts, .bankruptcy-estimator, .bankruptcy-advantages, .write-offs, .turnkey, .useful-articles, .faq, .case-information, .procedures-bankruptcy {
        padding: 5.5% 8.5%;
    }





    .why-us__title,.useful-articles {
        padding: 5.5% 8.5% 0;
    }
    .need-consult{

    }

    .bankruptcy-estimator {
        margin: 0 auto;

    }


}

@media (max-width: 1440px) {
    .bankruptcy-eligible-debts__slider-wrapper{
        margin-bottom: 0;
    }

    .need-consult__content {
        flex: 1 1 auto;

    }
    .need-consult__image {
        display: none;
    }
    #scrollTopBtn {
        width: 64px;
        height: 64px;
    }

    .article-detail {
        padding: 4.5% 8.5% 6.5%;
    }

    .bankruptcy-estimator {
        margin: 0 auto;

    }


    .why-us__title {
        padding-top: 5.5%;
    }

    .bankruptcy-eligible-debts, .bankruptcy-advantages, .write-offs, .turnkey, .need-consult, .useful-articles, .case-information, .we-wrote-off, .procedures-bankruptcy {
        margin-bottom: 0;
    }

    .bankruptcy-advantages,.need-consult{
        margin-bottom: 5.5%!important;
    }
    .bankruptcy-eligible-debts, .bankruptcy-estimator, .bankruptcy-advantages, .write-offs, .turnkey, .useful-articles, .faq, .case-information, .procedures-bankruptcy,.useful-articles {
        padding: 5.5% 8.5%;
    }

    .need-consult__content {
        margin: 5.5% 8.5%;
    }


}

@media (max-width: 1366px) {



}

@media (max-width: 1280px) {

    .bankruptcy-advantages__content {
        flex-wrap: wrap;
    }

    .wrapper-header-text {
        gap: 10px;
        justify-content: space-evenly;
        flex: 1 1 30%;

    }

    .wrapper-header-contacts {
        gap: 20px;
    }

    .wrapper-header-text {
        flex: 1 1 30%;

    }

    .header-container-consult {
        flex: 1 1 30%;
        margin-right: 20px;
    }

    .header-container-info {
        flex: 1 1 30%;
    }

    .header-separator {
        display: none;
    }



    .main-banner-hero-content {
        flex: unset;
        margin-bottom: 112px;
    }

    .ratings {
        flex-wrap: wrap;
    }

    .rating-item.yandex .rating-item__overlay, .rating-item.fns, .rating-item.gis {
        flex: 1 1 auto;
    }

    .bankruptcy-estimator__profile {
        display: none;
    }


    .bankruptcy-eligible-debts__list {
        grid-template-columns: repeat(3, 1fr);
    }

    .turnkey__inner {
        justify-content: center;


    }

    .turnkey__check {
        display: none;
    }

    .turnkey__left, .turnkey__right {
        flex: 1 1 659px;
    }

    .turnkey__terms p, .turnkey__list {
        grid-column: 1;
    }

    .turnkey__title {
        max-width: unset;
    }

    .faq__container {
        padding: unset;
    }

    .we-wrote-off {
        padding: 8%;
        flex-wrap: wrap;
        flex-direction: column-reverse;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .we-wrote-off__content {
        padding-bottom: unset;
        flex: unset;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .case-information {
        margin-bottom: 50px;
    }

    .procedures-bankruptcy {



    }


}

@media (max-width: 1279px){
.main-banner-hero-images {
    display: none;
}
}

@media (max-width: 960px) {
    .turnkey__inner {
        flex-wrap: wrap;
    }

    .header-container-info {
        display: none;
    }

    .main-banner-hero-section, .case-information, .bankruptcy-estimator, .bankruptcy-eligible-debts, .bankruptcy-advantages, .write-offs, .turnkey, .useful-articles, .faq, .case-information, .procedures-bankruptcy, .article-detail, .write-offs, .useful-articles {
        padding: 5.5% 5.5%;
    }

    .main-banner-hero-content, .we-wrote-off, .bankruptcy-estimator__final-message, .bankruptcy-eligible-debts, .bankruptcy-advantages, .write-offs, .useful-articles {
        margin-bottom: 0;
    }
    .bankruptcy-advantages,.need-consult{
        margin-bottom: 5.5%!important;
    }

    #scrollTopBtn {
        width: 44px;
        height: 44px;
    }

    .bankruptcy-estimator__title, .bankruptcy-eligible-debts__title, .main-banner-hero-content h2, .turnkey__title {
        margin-top: 0;
    }

    .right-advantages, .left-advantages {
        padding: 50px 57px 23px 71px;
    }

    .why-us__title {
        padding: 0 5.5%;
    }

    .turnkey__inner {
        gap: 20px;
    }

    .turnkey, .need-consult {
        margin-bottom: 11%;
    }

    .we-wrote-off__content p {
        text-align: center;
    }

    .we-wrote-off__photo {
        width: 40.53vw;
        height: 40.53vw;
    }


    .why-us__title {
        padding-top: 5.5%;
    }

    .bankruptcy-eligible-debts, .bankruptcy-advantages, .write-offs, .turnkey, .need-consult, .useful-articles, .case-information, .we-wrote-off, .procedures-bankruptcy {
        margin-bottom: 0;
    }
    .bankruptcy-advantages,.need-consult{
        margin-bottom: 5.5%!important;
    }

    .bankruptcy-eligible-debts, .bankruptcy-estimator, .bankruptcy-advantages, .write-offs, .turnkey, .useful-articles, .faq, .case-information, .procedures-bankruptcy {
        padding: 5.5% 8.5%;
    }

    .need-consult__content {
        margin: 5.5% 8.5%;
    }



}


@media (max-width: 750px) {


    .wrapper-header-text {
        display: none;
    }

    .wrapper-header-contacts {
        gap: 8vw;
        display: contents;
    }

    .header-container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        align-items: center;
    }

    .header-container-address .location-link {
        justify-content: center;
    }

    .main-banner-hero-section {
        padding: 43px 49px 56px 77px;

    }

    .main-banner-hero-content {
        margin-bottom: unset;
    }


    .main-banner-hero-content p {
        font-size: 14px;
    }

    .main-banner-hero-content .test-text {
        font-size: 17px;
    }


    .ratings {

        display: grid;
        grid-template-columns: minmax(0, 240px) minmax(0, 240px);
        grid-auto-rows: auto;
        grid-gap: 20px;
        justify-content: center;
    }

    .rating-item.yandex {
        grid-column: 1;
        grid-row: 1;

    }

    .rating-item.gis {
        grid-column: 2;
        grid-row: 1;

    }

    .rating-item.fns {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: center;
        min-height: 83px;

    }

    .bankruptcy-estimator__options {
        grid-template-columns: 1fr;
    }

    .bankruptcy-estimator__footer {
        display: none;
    }

    .bankruptcy-estimator__footer--mobile {
        display: flex;
        flex-direction: column;
        width: 100%;

    }

    .bankruptcy-estimator__footer--mobile .bankruptcy-estimator__footer-controls {
        display: flex;
        width: 100%;
        gap: 20px;
    }

    .bankruptcy-estimator__footer--mobile .bankruptcy-estimator__button {
        flex: 1;
        padding: 12px 21px;
        border-radius: 15px;
        border: none;
        background: #BB0707;
        color: #fff;
        font-weight: 700;
        font-size: 15px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
    }

    .bankruptcy-estimator__footer--mobile .bankruptcy-estimator__help-text {
        width: 100%;
        text-align: center;
        margin-top: 12px;
        font-size: 15px;
        font-weight: 500;
    }


    .bankruptcy-estimator__footer--mobile {
        display: flex;
        flex-direction: column;
        width: 100%;

    }

    .bankruptcy-estimator__footer--mobile .bankruptcy-estimator__footer-controls {
        display: flex;
        width: 100%;
        gap: 20px;
    }


    .bankruptcy-estimator__footer--mobile .bankruptcy-estimator__help-text {
        width: 100%;
        text-align: center;
        margin-top: 12px;
        font-size: 15px;
        font-weight: 500;
        flex: unset;
    }

    .bankruptcy-advantages__icon {
        width: 26px;
    }

    .bankruptcy-advantages__item {
        gap: 5%;
    }

    .right-advantages, .left-advantages {
        padding: 8%;
    }

    .turnkey__check {
        display: none;
    }

    .turnkey__terms {
        gap: unset;
    }

    .why-us__list {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .why-us__item {
        flex-wrap: wrap;
        justify-content: center;
    }

    .why-us__text {
        text-align: center;
    }

    .need-consult__form {
        grid-template-columns: 1fr;
    }


    .need-consult__message,
    .need-consult__agree,
    .need-consult__button {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
    }

    #scrollTopBtn {
        width: 48px;
        height: 48px;
    }


    .consult {
        width: 90%;
        max-width: 942px;
        box-sizing: border-box;
    }

    .consult__form {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 21px;
        width: 100%;
        box-sizing: border-box;
    }

    .consult__input {
        width: 100%;
        box-sizing: border-box;
    }

    .consult__agree,
    .consult__button {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
    }

    .container-article {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .article-detail__image {
        float: none;
        max-width: 100%;
        margin-left: 0;
    }

    .article-detail__content {
        width: 100%; /* Текст занимает всю ширину */
    }

    .bankruptcy-eligible-debts__card {
        width: 100%;
    }
    .bankruptcy-eligible-debts, .bankruptcy-estimator, .bankruptcy-advantages, .write-offs, .turnkey, .useful-articles, .faq, .case-information, .procedures-bankruptcy,.why-us,.useful-articles {
        padding: 45px 8.5%;
    }

    .useful-articles__pagination{
        margin-top: 28px !important;
    }


    .useful-articles__slider-wrapper{
        margin-bottom: 0;
    }

}


@media (max-width: 600px) {

    h2 {
        font-size: 26px;
        text-align: center;
    }

    .article-detail__title {
        font-size: 32px;
        text-align: center;
    }

    .header-container {
        display: none;
    }

    .header-container-mobile {
        display: block;
    }


    .main-banner-hero-section {
        padding: 20px 20px 40px;
        text-align: center;
    }


    .header-container-mobile {
        box-sizing: border-box;
        width: 100%;
        padding: 0 16px;
        text-align: center;
        font-family: 'Montserrat', sans-serif;
        color: #1E1E1E;
    }

    .mobile-logo {
        display: inline-block;
        margin: 16px auto 12px;
    }

    .mobile-logo img {
        max-width: 120px;
        height: auto;
    }

    .mobile-logo-text {
        margin: 8px 0 0;
        font-weight: 800;
        font-size: 18px;
        line-height: 1.2;
    }

    .mobile-phones {
        margin: 0 0 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }


    .mobile-phone {
        display: inline-block;
        font-size: 18px;
        font-weight: 700;
        color: #BB0707;
        text-decoration: none;
        margin: 4px 0;
    }

    .mobile-main-text {
        margin-top: 16px;
    }

    .mobile-title {
        font-size: 20px;
        font-weight: 800;
        line-height: 1.2;
        margin: 0 0 12px;
    }

    .highlight-red {
        color: #BB0707;
    }

    .mobile-subtext {
        font-size: 14px;
        line-height: 1.4;
        margin: 0 0 12px;
    }

    .mobile-prompt {
        font-size: 14px;
        line-height: 1.4;
        margin: 0 0 16px;
    }

    .mobile-cta {
        display: inline-block;
        padding: 12px 24px;
        border-radius: 8px;
        background: #BB0707;
        color: #FFFFFF;
        font-weight: 700;
        font-size: 16px;
        border: none;
        cursor: pointer;
        margin-bottom: 16px;
    }

    .mobile-footer {
        font-size: 12px;
        color: #777777;
        margin-bottom: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .eye-icon {
        display: inline-block;
        width: 16px;
        height: 16px;
        background: url('/assets/images/eye-icon.svg') no-repeat center center;
        background-size: contain;
        margin-right: 8px;
    }

    .bankruptcy-estimator__subtitle {
        text-align: center;
    }


    .faq {

        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }

    .faq__header {
        gap: 10px;
        padding: 12px 13px;
    }

    .faq__content {
        padding: 12px 13px;
    }

    .faq__number {
        font-size: 26px;
    }


    .footer-map-card {
        position: absolute;
        top: 179px;
        left: 0;
        right: 0;
        margin: 0 auto;
        width: 100%;
        max-width: 487px;
        box-sizing: border-box;
        padding: 24px;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }

    .footer-wrapper-phone {
        flex-wrap: wrap;
    }

    .consult {

        box-sizing: border-box;
        padding: 72px 8% 69px;
    }

    .case-information__content, .procedures-bankruptcy__content {
        flex-direction: column;
        gap: 20px;
    }

    .consult__button{
        margin: 0 auto;
    }


}

@media (max-width: 560px) {
.check-yourself-popup__label{
    text-align: left;
}

    .check-yourself-popup__radio{
        flex: 0 0 20px
    }
    .why-us{
        margin-bottom: 0;
    }

    .bankruptcy-estimator__text-input {
        box-sizing: border-box;
    }

    .bankruptcy-advantages__button, .need-consult__button {
        margin: 0 auto;
    }

    .turnkey__btn {
        display: flex;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        font-size: 12px;
    }

    .icon-circle-check {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }

    .thank-you-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .thank-you-subtitle {
        font-size: 0.9rem;
        margin-bottom: 18px;
    }

    .thank-you-text {
        font-size: 0.9rem;
        margin-bottom: 24px;
    }

    .thank-you-phone {
        font-size: 1.3rem;
    }

    .turnkey__terms p {
        margin-bottom: 24px;
    }

    .article-detail,.main-banner-hero-section, .bankruptcy-eligible-debts, .bankruptcy-estimator, .bankruptcy-advantages, .write-offs, .turnkey, .useful-articles, .faq, .case-information, .procedures-bankruptcy, .why-us, .useful-articles {
        padding: 10.5% 5.5%;
    }
}


.consult__agree.custom {
    align-items: normal;
}

.consult__agree.custom .consult__text, .consult__agree.cost .consult__text {
    max-width: unset;
    text-align: left;

}

.bankruptcy-estimator__final-message h3 {
    color: #BB0707;
}


.site-policy {
    max-width: 1700px;
    margin: 0 auto 75px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

.error404 {
    background-color: rgb(245, 247, 249);
    margin: 64px 16px 96px;
    text-align: center;
}
.error404__code {
    font-size: 240px;
    margin: 0;
    color: rgb(187, 7, 7);
}@media (max-width: 1200px) {
    .error404__code { font-size: 150px; }
}
@media (max-width: 768px) {
    .error404__code { font-size: 100px; }
}
@media (max-width: 500px) {
    .error404__code { font-size: 60px;
        }
    .error404__actions{
        flex-direction: column;
    }

}

.error404__message {
    font-size: 32px;
    margin: 8px 0;
    color: rgb(187, 7, 7);
}
.error404__desc {
    font-size: 16px;
    margin-bottom: 32px;
}
.error404__actions a {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    text-decoration: none;
}
.error404__actions .btn-primary {
    background-color: rgb(187, 7, 7);
    color: #fff;
    border: none;
}
.error404__actions .btn-secondary {
    background: none;
    color: rgb(187, 7, 7);
    border: 2px solid rgb(187, 7, 7);
}

.error404__actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

