html,
body {
    font-size: 16px;
}

.page-vtornik p {
    font-size: 1.275rem;
    font-weight: regular;
    line-height: 1.275;
}

/* Стили для Fancybox видео */
.fancybox__container {
    background: rgba(0, 0, 0, 0.9) !important;
}

.fancybox__content {
    padding: 0 !important;
    background: transparent !important;
    width: 450px !important;
    max-width: 90vw !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    transform: none !important;
}

.fancybox__iframe-container {
    width: 100% !important;
    height: 0 !important;
    padding-bottom: 177.78% !important;
    position: relative !important;
    background: #000 !important;
}

.fancybox__iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}

/* Скрываем ненужные элементы */
.fancybox__thumb-wrap,
.fancybox__thumbs,
.fancybox__image,
.fancybox__caption {
    display: none !important;
}

/* Убираем ненужные трансформации */
.fancybox__carousel {
    transform: none !important;
}

.fancybox__slide {
    padding: 0 !important;
    transform: none !important;
}

/* Стили для превью видео */
.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 177.78%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    overflow: hidden;
}

.play-button {
    position: absolute;
    top: 55%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    background: rgba(247, 168, 24, 0.9);
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.play-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent #fff;
}

.video-link:hover .play-button {
    -webkit-transform: translate(-50%, -50%) scale(1.1);
    -moz-transform: translate(-50%, -50%) scale(1.1);
    -ms-transform: translate(-50%, -50%) scale(1.1);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-title {
    margin-top: 1rem;
    font-size: 1rem;
    text-align: center;
}

.container {
    max-width: 1200px !important;
}

.s-5-text {
    display: none;
}

.s-5-text.s-5-text__active {
    display: block !important;
}

.s-5-btn {
    cursor: pointer;
}

.card-info .card-title {
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.275;
    margin-bottom: 1rem;
}

.card-info .card-text {
    font-size: 1rem;
    text-align: center;
}

.card-info img {
    border: 4px solid #f7a818;
    margin-bottom: 1rem;
    border-radius: 1rem;
}

.block-menu-header {
    display: none;
}

.font-lead {
    font-size: 1.125rem;
    font-weight: regular;
    line-height: 1.275;
}

.font-lead.lead-1 {
    font-size: 1.275rem;
    font-weight: regular;
    line-height: 1.275;
}

.font-lead.lead-2 {
    font-size: 1.375rem;
    font-weight: regular;
    line-height: 1.275;
}

.font-lead.lead-3 {
    font-size: 1.5rem;
    font-weight: regular;
    line-height: 1.275;
}

.font-lead.lead-4 {
    font-size: 1.675rem;
    font-weight: regular;
    line-height: 1.275;
}

.font-lead.lead-6 {
    font-size: 1.75rem;
    font-weight: regular;
    line-height: 1.275;
}

.color-active {
    color: #f7a818 !important;
}

.header-block-button,
#btn-pomoch-sejchas {
    display: none;
}

.footer {
    background-color: #fff;
}

.new-footer,
.footer__doc {
    margin-top: 40px;
}

.new-footer .new-footer__item {
    display: block;
}

.footer__offer {
    width: 100%;
}

body {
    background-color: #FFF !important;
}

body .vtornik-title__img img {
    width: 100%;
    height: auto;
}

body .fw-bold {
    font-weight: 700 !important;
}

body ul li {
    font-size: 1.25rem;
}

body .section-ttitle-styled {
    font-size: 1rem;
    font-weight: 400;
    width: 100%;
    text-align: center;
    margin-bottom: 0.75rem;
    text-align: left;
    color: #343a40;
}

.page-vtornik {
    font-size: 1.25rem;
}

.vtornik-title__img img {
    width: 13.25rem;
    height: 12.3125rem;
}

body .sub-title {
    text-align: center;
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
}

body .text-center {
    text-align: center;
}

@media (min-width: 768px) {
    .text-md-left {
        text-align: left !important;
    }
}

@media (max-width: 767.98px) {
    .text-md-left {
        text-align: center;
    }
}

@media (min-width: 992px) {
    .text-lg-left {
        text-align: left !important;
    }
}

@media (max-width: 991.98px) {
    .text-lg-left {
        text-align: center;
    }
}

body ol.ol-styled {
    list-style: none;
    margin: 0 0 0 0.75rem;
    padding: 0;
    counter-reset: steps;
}

body .children-image {
    width: 12.5rem !important;
    height: 12.5rem !important;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 0.25rem;
    -webkit-box-shadow: rgb(60 64 67 / 30%) 0px 1px 2px 0px, rgb(60 64 67 / 15%) 0px 2px 6px 2px;
    box-shadow: rgb(60 64 67 / 30%) 0px 1px 2px 0px, rgb(60 64 67 / 15%) 0px 2px 6px 2px;
}

body ol.ol-styled li {
    counter-increment: steps;
    font-size: 1.25rem;
    line-height: 1.275;
    font-weight: 400;
    position: relative;
    margin: 0;
    padding: 0.125rem 0 1rem 1.25rem;
}

body ol.ol-styled li .step {
    display: block;
    width: 100%;
    text-align: left;
    font-weight: 700;
    line-height: 1.275;
    margin-bottom: 0.25rem;
    color: #e6352b;
}

body ol.ol-styled li .step.green {
    color: #008ae0;
}

body ol.ol-styled li:last-child::before {
    content: none;
    display: none;
}

body ol.ol-styled li:last-child::after {
    background-color: #008ae0;
}

.img-fluid {
    max-width: 100% !important;
    width: 100% !important;
}

body ol.ol-styled li::before {
    display: block;
    content: "";
    position: absolute;
    z-index: 0;
    background: #e6352b;
    left: -0.25rem;
    top: 0.125rem;
    bottom: 0rem;
    width: 0.125rem;
    text-align: center;
}

body ol.ol-styled li::after {
    content: "";
    font-size: 1px;
    margin-right: 0.5rem;
    background: #e6352b;
    border: 0.25rem solid #FFFFFF;
    color: white;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: block;
    position: absolute;
    padding: 0;
    margin: 0;
    left: -1rem;
    top: 0;
    z-index: 1;
}

body .result-head {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 2.4rem;
    font-weight: 400;
    color: #e6352b;
    line-height: 1;
    margin-bottom: 0.25rem;
    text-align: center;
}

body .result-head small {
    font-size: 1rem;
    display: inline-block;
    padding-right: 0.5rem;
}

body .result-desc {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 1rem;
    font-weight: normal;
    color: grey;
    line-height: 1.5rem;
}

body ol.ol-styled ol li::before {
    background: darkorchid;
}

body .vtornik__text {
    text-align: center;
    line-height: 1.275;
    margin-bottom: 5rem;
}

body .vtornik__text h2 {
    font-size: 30px;
    margin-bottom: 1rem;
    color: #575757;
}

body .vtornik__bottom {
    width: 100%;
    padding: 5rem 0;
    margin-bottom: 0 !important;
}

body .vtornik__bottom img {
    width: 100%;
}

.block_form_help {
    height: 100%;
}

.form-img {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
}

.vtornik__text h2:nth-last-child(1) span {
    color: #f7a818 !important;
}

.vtornik .input_submit {
    background-color: #f7a818;
    box-shadow: 0px 1px 1px 1px #ffffff52;
}

.kartochka_sbora {
    border: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.href_kartochka_sbora .block_info::before {
    content: none;
}

.block_info p:nth-child(2) {
    font-size: 18px;
    line-height: 20px;
    height: 0;
}

.href_kartochka_sbora .text {
    font-size: 15px;
}

.rounded {
    border-radius: 0.25rem;
}

body .main-text {
    font-weight: 400;
    line-height: 1.271;
    font-size: 1.25rem;
}

.image-wrapper {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.content-wrapper {
    padding: 15px;
}

.text-lead {
    font-size: 1.1rem;
    line-height: 1.6;
}

.color-active {
    color: #f7a818;
    font-weight: 500;
}

@media (min-width: 992px) {
    .text-lg-left {
        text-align: left !important;
    }

    .content-wrapper {
        padding: 0 15px;
    }
}

@media (max-width: 991.98px) {
    .text-lg-left {
        text-align: center;
    }

    .image-wrapper {
        max-width: 100%;
    }
}

.stats-highlight {
    padding: 2rem;
    background: rgba(255, 107, 0, 0.05);
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.font-lead.lead-4 {
    font-size: 1.5rem;
    line-height: 1.6;
    font-weight: 400;
    color: #2c3e50;
}

.highlight-number {
    color: #f7a818;
    font-weight: 700;
    font-size: 1.6rem;
}

@media (max-width: 768px) {
    .font-lead.lead-4 {
        font-size: 1.25rem;
    }

    .highlight-number {
        font-size: 1.35rem;
    }

    .stats-highlight {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f7a818;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.card-text-wrapper {
    padding: 0.5rem;
}

.card-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 0;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.highlight-text {
    color: #1a365d;
    display: block;
    margin-bottom: 0.8rem;
    font-size: 1.15rem;
}

.important-note {
    color: #e53e3e;
    font-weight: 500;
}

/* Адаптивность */
@media (max-width: 768px) {
    .card-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .card-info .card-body .card-text {
        font-size: 1.25rem;
        line-height: 1.275;
        text-align: center;
    }

    .highlight-text {
        font-size: 1.05rem;
        margin-bottom: 0.6rem;
    }
}

.card {
    border-radius: 12px;
    border: none;
}

.card-body {
    padding: 1.5rem;
}

.mission-block {
    background: -webkit-linear-gradient(rgba(255, 107, 0, 0.05), rgba(255, 107, 0, 0.02));
    background: -moz-linear-gradient(rgba(255, 107, 0, 0.05), rgba(255, 107, 0, 0.02));
    background: -o-linear-gradient(rgba(255, 107, 0, 0.05), rgba(255, 107, 0, 0.02));
    background: linear-gradient(rgba(255, 107, 0, 0.05), rgba(255, 107, 0, 0.02));
    padding: 3rem 0;
    margin: 2rem 0;
}

.mission-content {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    -webkit-box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    -moz-box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.mission-text {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.6;
    color: #2c3e50;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.mission-highlight {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f7a818;
    margin: 2rem 0;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 107, 0, 0.2);
    border-bottom: 1px solid rgba(255, 107, 0, 0.2);
}

@media (max-width: 768px) {
    .mission-block {
        padding: 2rem 0;
    }

    .mission-content {
        padding: 1.5rem;
    }

    .mission-text {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .mission-highlight {
        font-size: 1.25rem;
        margin: 1.5rem 0;
    }
}

.section-header {
    text-align: center;
    margin: 3rem 0;
    position: relative;
}

.main-heading {
    font-size: 2.2rem;
    font-weight: 700;
    color: #f7a818;
    line-height: 1.3;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.main-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #f7a818;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .main-heading {
        font-size: 1.8rem;
    }

    .section-header {
        margin: 2rem 0;
    }
}

.video-slider {
    padding: 20px 40px;
    margin-bottom: 3rem;
}

.video-card {
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
}

.video-card {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.video-title {
    font-size: 1rem;
    color: #2c3e50;
    margin-top: 1rem;
    text-align: center;
    line-height: 1.4;
}

.swiper-button-next,
.swiper-button-prev {
    color: #ff6b00;
    width: 40px;
    height: 40px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 24px;
}

.swiper-pagination-bullet-active {
    background: #ff6b00;
}

.swiper-pagination {
    position: relative;
    bottom: -1rem !important;
    margin-top: 1rem;
}

@media (max-width: 767.98px) {
    .video-slider {
        padding: 15px 30px;
    }

    .video-title {
        font-size: 0.9rem;
    }
}

.block_vybor_perioda {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
}

.radio_vibor {
    flex: 1;
    padding: 12px 20px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border-color: #f7a818;
    color: #f7a818;
    background: transparent;
}

.radio_vibor.active {
    background: #f7a818 !important;
    color: white;
}

.radio_vibor:hover:not(.active) {}

@media (max-width: 768px) {
    .radio_vibor {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

.block_vibor_summa .summa {
    padding: 12px 20px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border-color: #f7a818 !important;
    color: #f7a818;
    background: transparent;
}

.block_vibor_summa .summa.active {
    background: #f7a818 !important;
    border-color: #f7a818 !important;
    color: white;
    -webkit-box-shadow: 0 2px 4px rgba(247, 168, 24, 0.2);
    -moz-box-shadow: 0 2px 4px rgba(247, 168, 24, 0.2);
    box-shadow: 0 2px 4px rgba(247, 168, 24, 0.2);
}

.block_vibor_summa .summa:hover:not(.active) {
    background: rgba(247, 168, 24, 0.1);
}

@media (max-width: 768px) {
    .block_vibor_summa .summa {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

.emphasis-block {
    background: rgba(247, 168, 24, 0.03);
    padding: 0 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.emphasis-text {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    text-transform: uppercase;
    -webkit-text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    -moz-text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

.emphasis-text.highlight {
    color: #f7a818;
    font-size: 1.8rem;
    position: relative;
    padding: 1rem 0;
}

.emphasis-text.highlight::before,
.emphasis-text.highlight::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: rgba(247, 168, 24, 0.2);
}

.emphasis-text.highlight::before {
    top: 0;
}

.emphasis-text.highlight::after {
    bottom: 0;
}

@media (max-width: 768px) {
    .emphasis-text {
        font-size: 1.2rem;
    }

    .emphasis-text.highlight {
        font-size: 1.4rem;
    }
}

.block_form_help.block_form_help-pom {
    border: none !important;
    box-shadow: none !important;
    padding: 0;
}