.hero-text__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.hero-text__subtitle, .hero-text__text {
    width: 50%;
}

.hero-text__subtitle {
    font-family: 'DIN Condensed';
    font-weight: 100;
    font-size: max(calc(100vw / 34), 1.5rem);
    line-height: 100%;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: #0F4382;
    padding-right: 1rem;
}

.hero-text__text p {
    font-size: 1.46rem;
    max-width: 48.5rem;
    margin: 0;
    margin-bottom: 2.2rem;
}

.hero-text--full-text .hero-text__title {
    margin-bottom: 4.375rem;
}

.hero-text--full-text {
    margin-bottom: 5rem;
}

.card-factoid__image--simple {
    max-width: 720px;
    height: 100%;
    top: 0;
}

.factoid__base {
    font-size: 5rem;
    word-wrap: normal;
    letter-spacing: 0;
    font-weight: 400;
    text-transform: uppercase;
}

.factoid__value {
    width: 100%;
}

.factoid__text-d {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 140%;
    letter-spacing: 0%;
}

.card-factoid__factoid {
    padding-right: 5rem;
    min-width: 37.5rem;
}

.layout-map--about-prom .factoid__base {
    font-size: 13.75rem;
    letter-spacing: -.625rem;
}


.hero-text__text .button__content {
    padding-left: 40px;
    padding-right: 40px;
}

.sw-actions .button {
    width: auto;
    margin: 0 auto;
    display: block;
}

.sw-actions .button__content {
    padding-left: 40px;
    padding-right: 40px;
}


@media (max-width: 990px) {
    .hero-text__subtitle, .hero-text__text {
        width: 100%;
    }

    .hero-text__row {
        flex-direction: column;
    }
}

@media (max-width: 768px){

    .hero-text--full-text .hero-text__title {
        margin-bottom: 1.8rem;
    }

    .hero-text--full-text {
        margin-bottom: 4.375rem;
    }

    .factoid__base {
        font-size: 2.1rem;
        margin-bottom: .66rem;
    }

    .hero-text__text p {
        font-size: 1rem;
        margin-top: 1.8rem;
        margin-bottom: 1.6rem;
    }

    .factoid__text-d {
        font-size: 0.85rem;
    }

    .scroll-slider__slide .card-factoid__image {
        top: auto;
        right: -94px;
        bottom: 0;
        width: 250px;
        height: auto;
        left: auto;
    }

    .card-factoid__factoid {
        min-width: 100%;
        padding-right: 24px;
    }
}

@media (max-width: 600px){
    .sw-support .block-brands {
        padding-top: 50px !important;
    }
    .sw-guarant .block-carousel__nav-arrows .button-circle {
        border-color: #fff !important;
        color: #fff !important;
    }

    .sw-guarant .block-carousel__bottom-action .button {
        border-color: #fff !important;
        color: #fff !important;
        padding-left: 40px !important;
        padding-right: 40px !important;
    }

    .sw-guarant .block-carousel {
        padding-bottom: 50px !important;
        margin-bottom: 50px !important;
    }

    .block-actions--industry .button {
        width: 100%;
        margin: 0 auto;
        display: flex;
        align-items: center;
    }
}

@media (max-width: 490px){
    .hero-text--full-text {
        margin-bottom: 3.3rem;
    }

    .hero-text__text p {
        font-size: .9375rem;
    }
}


/* ===== МОДАЛЬНОЕ ОКНО ОПРОСНОГО ЛИСТА ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.25rem;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch
}

.modal-content {
    background: #fff;
    border-radius: 1rem;
    width: 100%;
    max-width: 48.75rem;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.3);
    -webkit-overflow-scrolling: touch
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 2.5rem 1.5rem 2.5rem 2.5rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #257EB0;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.0312rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 1.875rem;
    height: 1.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #333;
}

.questionnaire-form {
    overflow-y: auto;
    max-height: 70vh;
    padding: 0 1.875rem 1.875rem 1.875rem;
    -webkit-overflow-scrolling: touch
}

.form-page {
    display: none;
}

.form-page.active {
    display: block;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 300;
    color: #212529;
    margin-bottom: 1.875rem;
    text-transform: uppercase;
    text-transform: uppercase;
    font-family: DIN Condensed;
}

.form-list {
    gap: 2.1875rem;
    display: flex;
    flex-direction: column;
}

.form-group {
    gap: 0.625rem;
    display: flex;
    flex-direction: column;
}

.form-group label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #257EB0;
    text-transform: uppercase;
}

.form-group input {
    width: 100%;
    padding: 0rem 0rem 0.9375rem;
    border: none;
    border-bottom: 0.0625rem solid #ddd;
    border-radius: 0rem;
    font-size: 1.125rem;
    background: transparent;
    outline: none;
    box-sizing: border-box;
}

.form-group input:focus {
    border-color: #0F4382;
}

.form-group input.error {
    border-color: #FF0000;
}

.form-group_hint {
    font-size: 0.9375rem;
    color: #D4D4D4;
    font-style: italic;
    line-height: 140%;
}

.error-message {
    margin: -0.3125rem 0rem 0.625rem;
    display: block;
    color: #FF0000;
    font-size: 0.9375rem;
}

.form-navigation__list {
    gap: 1.25rem;
    width: 100%;
    display: flex;
    margin-bottom: 1.25rem;
    align-items: center;
}

.form-navigation {
    display: flex;
    align-items: end;
    flex-direction: column;
}

.form-navigation__button {
    width: 100%;
    color: #0F4382;
    background: #FFF;
    border: 0.0625rem solid #0F4382;
    padding: 1.4375rem 1.875rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.form-navigation__button:disabled {
    color: #DFDEDE;
    cursor: not-allowed;
    border: 0.0625rem solid #DFDEDE;
    background: #F8F9FA;
}

.form-navigation__button:not(:disabled):hover {
    background: #0F4382;
    color: #FFF;
}

.page-indicator {
    font-size: 0.9375rem;
    color: #257EB0;
    font-weight: 500;
}

/* Стили для страницы успешной отправки */
.form-success {
    text-align: center;
    padding: 2.5rem 0;
}

.form-success p {
    font-size: 1.125rem;
    color: #333;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.form-success__close {
    background: #0F4382;
    color: #fff;
    border: none;
    padding: 0.9375rem 2.5rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.form-success__close:hover {
    background: #0a3566;
}

/* Скрытие навигации на странице успеха */
.form-page[data-page="7"].active ~ .form-navigation {
    display: none;
}

/* Скрытие заголовка на странице успеха */
.modal-header.hidden .modal-title {
    font-size: 0;
    opacity: 0;
}

.form-page .modal-title {
    text-align: center;
}


/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 0.625rem;
    }
    
    .modal-content {
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 1.25rem 1.25rem 0.9375rem 1.25rem;
    }
    
    .modal-title {
        font-size: 1.2rem;
    }
    
    .questionnaire-form {
        padding: 0 1.25rem 1.25rem 1.25rem;
    }
    
    .decanter-selector {
        margin: 0rem;
    }

    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-group input {
        padding: 0.625rem 0.875rem;
        font-size: 0.95rem;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 0.9375rem;
        align-items: stretch;
    }
    
    .form-navigation__button {
        width: 100%;
        padding: 0.875rem 1.25rem;
    }
    
    .page-indicator {
        text-align: center;
    }
}  

@media (max-width: 490px) {
    .decanter-slide__specs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem 1rem;
    }

    .decanter-slide__spec-label {
        font-size: 0.625rem;
    }

    .decanter-slide__spec-value {
        font-size: 0.625rem;
    }

    .page-detail__scroll-slider .block-carousel {
        display: flex;
        flex-direction: column;
        gap: 1.875rem;
        margin-bottom: 0 !important;
    }

    .first-block__button {
        margin-top: 1rem;
    }

    .detail-shaffle {
        gap: 3.125rem;
    }

    .page-detail {
        margin-top: 9.1rem;
    }

    .container {
        padding: 0rem 16px;
    }

    .page-detail__annotation {
        gap: 1.8rem;
    }

    .page-detail__annotation-desc {
        margin: 0px 20px 0px 0px;
    }

    .page-detail__annotation-desc {
        font-size: .9375rem;
    }

    .page-detail__annotation  {
        margin-bottom: 3.3rem;
    }

    .page-detail__tasks {
        margin-top: 3.5rem;
    }

    .page-detail__tasks.container {
        padding: 0px 1rem;
        margin-bottom: 3.5rem !important;
    }

    .page-detail__tasks .page-detail__annotation {
        margin-bottom: 1.8rem;
    }

    .block-activities__base {
        margin-top: 2.52rem;
    }
    
    .block-activities__item:last-child {
        margin-bottom: 1rem;
    }

    .card-activity__bottom {
        height: auto !important;
    }

    .card-activity__title {
        color: #0f4382;
        padding: 1.4rem 0rem 1.3rem;
    }

    .block-activities__item:first-child .card-activity {
        border: none;
    }

    .card-activity {
        padding-bottom: 1.3rem !important;
    }

    .block-projects__bottom .button,
    .block-activities__base .button  {
        height: 3.5rem;
    }

    .is-mobile-visible:not([data-scroll-section-id="section4"]) .section_blue, [data-scroll-section-id="section8"] .section_blue {
        padding: 3.5rem 1rem;
    }

    .block-projects__bottom .button__content,
    .block-activities__base .button__content {
        padding: 1.3rem 2.5rem;
        height: 3.5rem;
    }

    .block-projects__bottom .button__text,
    .block-activities__base .button__text {
        display: flex;
        font-size: 0.875rem;
        align-items: center;
    }

    .is-mobile-visible .section_blue {
        padding: 5.7rem 1rem;
    }

    .page-detail__scroll-slider .block-equipment__text {
        margin-bottom: 2.52rem;
    }

    [data-scroll-section-id="section8"] .page-detail__scroll-slider .block-carousel .page-detail__annotation-desc {
        margin: 0px 0px 0px 0px;
    }

    .detail-shaffle__title {
        font-size: 1.65rem;
        line-height: 1.8rem;
    }

    .page-detail__scroll-slider .page-detail__annotation {
        gap: 1.6rem;
    }

    .decanter-slide__series {
        font-size: 1.7rem;
    }

    .decanter-slide__specs {
        margin-top: 0rem;
    }

    .decanter-slide__series {
        margin-bottom: 0px;
    }

    .decanter-slide {
        min-width: 18.5rem;
        max-width: 18.5rem;
        min-height: 20.25rem;
        height: auto;
    }


    .is-mobile-visible[data-scroll-section-id="section4"] .decanter-slide__spec:first-child {
        grid-column: 1/3;
    }

    [data-scroll-section-id="section7"] .page-detail__scroll-slider .block-equipment__text {
        margin-bottom: 1.8rem;
    }

    [data-scroll-section-id="section7"] .page-detail__scroll-slider .page-detail__annotation {
        margin-bottom: 0px;
        margin-top: 36px;
    }

    .page-detail__annotation-subheader {
        font-size: 1.5rem;
    }

    [data-scroll-section-id="section7"] .page-detail__annotation-desc {
        margin: 0px 30px 0px 0px;
    }

    .page-detail__scroll-slider .block-carousel .page-detail__annotation-subheader {
        font-size: 1.7rem;
    }

    [data-scroll-section-id="section7"] .card-carousel {
        width: 19.5rem;
        height: 22.5rem;
    }

    [data-scroll-section-id="section7"] .card-carousel .card-carousel__title {
        font-size: 1.9rem;
        line-height: 1.8rem;
        margin-right: 40px;
    }

    [data-scroll-section-id="section7"] .card-carousel .card-carousel__inner {
        padding: 2.66rem 1.6rem;
    }

    [data-scroll-section-id="section7"] .card-carousel__text {
        min-height: 127px;
    }

    [data-scroll-section-id="section7"] .container {
        padding-bottom: 3.5rem;
    }

    .page-detail__scroll-slider .block-carousel .block-projects__bottom {
        max-width: 60%;
    }

    .card-accordion.active .card-accordion__toggle-wrapper {
        padding: 1.4375rem 1.4375rem 1.4375rem 1.5rem;
    }

    .card-accordion.active .card-accordion__toggle:hover .card-accordion__icon {
        background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 12.9951H5V10.9951H19V12.9951Z' fill='%230F4382'/%3E%3C/svg%3E%0A");
    }

    .link-action.link-action_static .line-wrapper .line {
        font-size: 0.875rem !important;
    }

    .detail-advantages {
        padding: 5.3rem 1rem 1rem;
    }

    .detail-advantages__title {
        font-size: 5rem;
        display: flex;
        gap: 1rem;
    }

    .detail-advantages__desc {
        font-size: 0.875rem;
        margin-left: 0;
    }

    .detail-advantages__info {
        margin-top: 1rem;
        gap: 0px;
    }

    [data-scroll-section-id="section10"] {
        margin-top: 40px;
    }

    .page-detail__scroll-slider-wrapper .container {
        padding: 0px;
    }

    .detail-advantages .page-detail__annotation .line {
        padding-right: 20px;
    }

    .detail-advantages .page-detail__annotation-desc {
        margin: 0px;
    }
    
    .detail-advantages__content {
        gap: 3.5rem;
    }

    .page-detail__scroll-slider.container {
        padding-right: 0rem !important;
    }

    .page-detail__scroll-slider.container .block-equipment__text,
    .page-detail__scroll-slider.container .block-carousel > *:not(.page-detail__scroll-slider-wrapper) {
        padding-right: 1rem;
    }
}

