@font-face {
    font-family: 'Tahoma';
    src: url('fonts/TAHOMA.TTF') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Tahoma';
    src: url('fonts/TAHOMABD.TTF') format('truetype');
    font-weight: 700;
}

html,
body {
    height: 100%;
    display: block;
    background-color: #111212;
    font-family: Tahoma, Arial, sans-serif;
    color: white;
    margin-left: auto;
    margin-right: auto;
}

header {
    margin-left: 30px;
    margin-right: 30px;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-content: center;
}

.header-logo {
    height: 48px;
    width: auto;
    margin-top: auto;
    margin-right: auto;
    vertical-align: center;
}

.header-link {
    display: flex;
    width: 24px;
    /* height: 100%; */
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 16px;
    vertical-align: center;
    justify-self: center;
    align-self: center;

    text-decoration: none;
}

.header-link {
    width: 20px;
    height: 20px;
}

.header-push-right {
    margin-right: 12px !important;
}

main {
    width: auto;
    margin-left: 30px;
    margin-right: 30px;
    justify-content: center;
    align-content: center;
}

.slider {
    width: 100%;
    height: auto;
    margin: 60px auto 0;
    overflow: hidden;
    position: relative;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    background-color: #000;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.slider-dots-container {
    width: 100%;
    height: auto;

    display: grid;
    grid-template-rows: 1fr;
    grid-gap: 7px;

    justify-content: center;

    margin-top: 11px;
}

.slider-dot {
    width: 10px;
    height: 10px;

    background-color: rgba(255, 255, 255, 0.15);

    border: white 0 solid;
    border-radius: 40px;

    cursor: pointer;
}

.slider-dot-selected {
    border-color: #398CCB;
    background-color: #398CCB;
}

.fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    touch-action: none;
    background-color: rgba(0, 0, 0, 0.95);
}

.fullscreen-close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-slide-button {
    position: absolute;
    top: 100px;
    left: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.next-slide-button {
    position: absolute;
    top: 50vh;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-slides {
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: left;
    /* align-items: center; */

    transition: transform 0.3s ease-out;
}

.fullscreen-slide {
    min-width: 100%;
    height: auto;
    touch-action: none;
    object-fit: contain;
}

.button-grid {
    width: 100%;
    height: 182px;
    margin-top: 35px;

    display: grid;

    align-items: center;
    justify-content: center;

    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;

    column-gap: 11px;
    row-gap: 10px;
}

.button {
    height: 100%;
    width: 100%;
    border-width: 1px;
    border-style: solid;
    border-color: white;
    border-radius: 40px;

    color: white;
    background-color: transparent !important;

    display: flex;

    justify-content: center;
    align-items: center;

    font-family: 'Tahoma', Arial, sans-serif;
    font-size: 12px;

    transition: 0.1s ease;
}

@media (hover: hover) {
    .button:hover {
        background-color: white !important;
        border: none;
        color: #111212 !important;
        cursor: pointer;
        transition: 0.1s ease;
    }
}

.button:active {
    background-color: #398CCB !important;
    color: white !important;
    cursor: pointer;
    transition: 0.1s ease;
    border: none
}

.button-wide {
    grid-column-start: 1;
    grid-column-end: 3;
}

.description-grid {
    width: 100%;
    margin-top: 30px;
    margin-bottom: auto;

    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, auto);

    font-family: 'Tahoma', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    font-synthesis: none;
    line-height: 1.5;
}

.description-grid div {
    width: 100%;
    margin-top: 34px;
    padding-bottom: 34px;
    border-bottom: 1px solid white;
}

.description-grid div:first-child {
    margin-top: 0;
}

.description-grid div:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.description-grid p {
    margin: 0;
}

.description-grid b {
    font-weight: 700 !important;
}

.card-container {
    width: 100%;

    display: grid;

    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-gap: 11px;

    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
}

.card {
    font-size: 12px;
    font-weight: 400;
    background-color: rgba(255, 255, 255, 0.08);
    color: white;
    height: 50px;
    text-align: center;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: inset 0 4px 4px rgba(0, 0, 0, 0.25);
}

.card-wide {
    grid-column-start: 1;
    grid-column-end: 3;
}

.list {}

.list p {
    margin-left: 24px;
    margin-right: 24px;
}

.list ul {
    margin: 0;
    padding: 0;
}

.list u {
    text-underline-offset: 2px;
    text-decoration-thickness: 2px;
    text-decoration-color: #398ccb;
}

.list li {
    margin-left: 48px;
    margin-right: 48px;
    margin-top: 10px;
}

.list li::marker {
    color: #398ccb;
}

#about-company {
    margin-top: 60px !important;
    scroll-margin-top: 30px;
}

.multi-paragraphs p {
    margin-bottom: 16px;
}

.multi-paragraphs p:last-child {
    margin-bottom: 0 !important;
}



/* фон белого блока */
.white-section {
    display: flow-root;
    width: 100%;
    color: #111212;
    background-color: white;

    margin-top: 34px;
    margin-bottom: 0px;
}

/* Заголовок белого сектора */
.white-title {
    text-align: start;

    width: auto;

    font-size: 21px;
    font-weight: 700;
    font-style: bold;
    line-height: 23px;

    margin-top: 26px;
    margin-bottom: 0px;

    margin-left: 30px;
    margin-right: 30px;
}

/* @media (max-width: 380px) {
    .white-title {
        font-size: 18px;
    }
} */

/* Отступ по бокам по 30px */
.mst-30 {
    margin-left: 30px;
    margin-right: 30px;
}

/* Секция с данными о матрице */
.matrix-data-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Надпись "Матрицы коммутации СВЧ..." */
.matrix-data-title {
    font-size: 13px;
    font-weight: 700;

    margin-top: 28px;
    margin-bottom: 0px;
}

.matrix-wrapper {
    display: flex;
    flex-direction: row;

    font-size: 12px;
    line-height: 15px;

    margin-top: 5px;
}

.matrix-wrapper>div:first-child {
    width: 175px;
    flex-shrink: 0;
}

.matrix-wrapper p {
    margin-bottom: 0px;
    margin-top: 0px;
    margin-top: 5px;
}

.matrix-control-block {
    margin-left: 20px;
}

/* Список "Управление" для матрицы */
.matrix-control-block p {
    margin-top: 4px;
    margin-bottom: 0px;
}

.matrix-control-block ul {
    list-style-position: inside;
    padding-left: 4px;
    margin-top: 0px;
    padding-right: 0px;
    margin-bottom: 0px;
    color: black;
}

.matrix-control-block ul li {
    margin-top: 3px;
    margin-bottom: 0;
    margin-left: -4px;
}

.matrix-control-block ul li {
    margin-top: 3px;
    margin-bottom: 0;
}

.matrix-control-block ul li span {
    margin-left: -5px;
}

/* Контейнер ссылок */
.link-container {
    display: flex;
    flex-direction: row;


    width: auto;
    margin-top: 20px;
}

/* Ссылки (основные характеристики, руководство эксплуатации, datasheet) */
.link-container a {
    font-size: 12px;
    font-weight: 400;
    text-decoration: underline;
    color: #111212;
    margin-top: auto;
}

/* При более езком экране уменьшаем шрифт ссылок */
/* @media (max-width: 400px) { */

/* Ссылки (основные характеристики, руководство эксплуатации, datasheet) */
/* .link-container a {
        font-size: 9px;
        font-weight: 400;
        text-decoration: underline;
    }
} */

/* Черная вертикальная линия */
.black-line-vertical {
    width: 1px;
    height: 11px;
    background-color: #111212;
    margin-top: auto;
}

/* Картинка матрицы */
.matrix-seria-one-img {
    margin-top: 20px;
    width: auto;
    width: -webkit-fill-available;
}

/* Черная, горизонтальная линия после матрицы */
.black-line-horizontal {
    width: 200px;
    height: 1px;

    background-color: #111212;
    margin-left: auto;
    margin-right: auto;

    margin-top: 30px;
}

/* Контейнер картинки конвертера */
.converter-img {
    /* Отступ 30px слева */
    width: calc(100% + 30px);
    overflow-x: hidden;
    z-index: 2;
    height: 81;

    margin-top: 20px;
    margin-bottom: 30px;
}

/* Картинка конвертера */
.converter-img img {
    height: 100%;
    width: 947px;
    z-index: 2;
    /* object-fit: cover; */
}

/* Заголовок темного блока
Другое оборудование */
.dark-title {
    text-align: center;
    font-size: 21px;
    font-weight: 700;
    text-align: left;

    margin-top: 34px;
    margin-bottom: 0px;
}

/* Контейнер блока ссылок на файлы */
.dark-link-container {
    width: auto;
    display: flex;
    justify-content: space-between;

    margin-top: 28px;
}

/* Ссылки на PDF файлы */
.dark-link {
    display: flex;
    flex-direction: row;
    text-decoration: none;
    color: white;
}

/* Иконка PDF */
.dark-link img {
    width: 26px;
    height: 26px;

    margin-top: auto;
}

/* Текст справа от иконки */
.dark-link p {
    margin-left: 10px;
    font-size: 13px;
    font-weight: 400;

    margin-top: auto;
    margin-bottom: 0px;

    text-decoration: underline;

    text-decoration-thickness: 1.4px;
    text-underline-offset: 2px;
}

/* Белая, разделяющая линия ссылок */
.vertical-white-line {
    width: 1px;
    height: 26px;
    background-color: white;
    margin-top: auto;
}


.footer {
    margin-top: 89px;
    margin-left: 30px;
    margin-right: 30px;
    width: auto;
    padding: 0;

    display: flex;
    justify-content: center;
    align-content: center;
}

.footer img {
    width: 100%;
    object-fit: contain;
}

#scroll-to-top-btn {
    position: fixed;
    bottom: 20px;
    /* Изменил на относительное значение */
    right: 20px;
    /* Центрирование */
    transform: translateX(-50%);
    /* Точное центрирование */
    margin-left: 170px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: #398CCB;
    /* Сохранен оригинальный цвет */
    border-radius: 0;
    /* Сохранена квадратная форма */
}

#scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

#scroll-to-top-btn svg {
    width: 24px;
    height: 24px;
    margin-top: 2px;
}

.datasheet-link {
    display: flex;
    margin-left: 12px;
    margin-top: auto;
}

/* попап */

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    /* полупрозрачный чёрный фон */
    align-items: center;
    justify-content: center;
    z-index: 5;
    /* чтобы перекрывал всё */
}

.matrix-desktop-wrapper {
    display: flex;
    flex-direction: column-reverse;
}

.matrix-desktop-wrapper.converter {
    flex-direction: column;
}

/* .matrix-desktop-wrapper.converter {
    margin-top: 28px;
} */

.popup-body {

    position: fixed;
    top: 50%;
    left: 30px;
    right: 30px;
    transform: translateY(-50%);
    background: white;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;

    border-radius: 5px;

    width: auto;
    background-color: white;
}

.popup-title {
    font-size: 26px;
    font-weight: 700;
    color: black;

    text-align: center;
    margin-top: 37px;

    margin-bottom: 0px;
}

.request-form {
    margin-top: 30px;

    display: flex;
    flex-direction: column;
}

.form-inputs-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.one-line-input {
    width: auto;
    height: 45px;

    font-size: 15px;
    padding-left: 15px;

    border: none;

    background-color: rgba(17, 18, 18, 0.03);
}

.error-input {
    border: red 1px solid
}

.input-message {
    height: 47px;
    text-align: left !important;
    vertical-align: top !important;
    resize: none !important;
    font-family: Tahoma, Arial, sans-serif;
    padding-top: 10px;
    padding-left: 15px;
}

.error-message-wrapper {
    display: none;
    color: rgb(236, 84, 84);
}

.error-message-wrapper p {
    font-size: 12px;
    margin-top: -3px;
}

.checkbox-line {
    display: flex;
    flex-direction: row;
    color: black;
}

.checkbox-line span:last-child {
    font-size: 13px;
    margin: 0px;
    margin-left: 10px;
}

/* Контейнер */
.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* Скрытие оригинального чекбокса */
.custom-checkbox input[type="checkbox"] {
    display: none;
}

/* Стили кастомной галочки */
.checkbox-mark {
    width: 10px;
    height: 10px;
    border: 0.5px solid rgba(17, 18, 18, 1);
    border-radius: 0;
    position: relative;
    flex-shrink: 0;

    margin-bottom: auto;
    margin-top: 4px;
}

/* Галочка внутри */
.custom-checkbox input[type="checkbox"]:checked+.checkbox-mark::after {
    content: '';
    position: absolute;
    left: 2px;
    top: 2px;
    width: 6px;
    height: 6px;
    background: #398CCB;
}

.send-button-wrapper {
    width: 100%;
    margin-top: 35px;
    margin-bottom: 43px;
}

.send-button {
    width: 100%;
    height: 45px;
    font-size: 19px;
    border-radius: 20px;
    border: 0.5px solid rgba(17, 18, 18, 1);
    color: rgba(17, 18, 18, 1);
    background-color: white;
    transition: 0.1s ease;
    cursor: pointer;
}

.send-button:hover {
    transition: 0.1s ease;
    background-color: rgba(17, 18, 18, 1);
    color: white;
}

.disabled {
    border: 0.5px solid rgba(17, 18, 18, 0.38);
    color: rgba(17, 18, 18, 0.38);
    cursor: default;
}

.disabled:hover {
    background-color: white !important;
    color: rgba(17, 18, 18, 0.38) !important;
}

/* Кнопка закрытия попапа */
.close-btn {
    position: absolute;
    cursor: pointer;
    background-color: transparent;
    border: none;
    right: 10px;
    top: 10px;
    padding: 0px;
}

.header-link-text {
    max-width: 0;
    opacity: 0;
    transform: translateX(-10px);
    white-space: nowrap;
    overflow: hidden;
    font-size: 16px;
    color: #333;
    transition: max-width 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

.buttons-for-desktop {
    display: none;
}


.matrix-serial-one-img {
    max-width: 430px;
    margin-top: 20px;
    width: 100% !important;
    object-fit: contain !important;
}

br.medium {
    display: none !important;
}

br.desktop {
    display: none;
}

.matrix-desktop-wrapper.converter {
    margin-bottom: 28px;
}

br.desktop {
    display: none;
}

#captcha-container {
    margin-top: 10px;
}

.toast {
    width: max-content;
    padding: 20px;
    height: auto;
    position: fixed;

    top: 5%;
    /* сверху */
    left: 50%;
    /* по центру */
    transform: translateX(-50%) translateY(-50%);

    color: black;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;

    border-radius: 5px;
    background-color: white;

    opacity: 0;
    /* скрыт по умолчанию */
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* когда появляется */
.toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Планшеты и больше */
/* @media (min-width: 600px) {
} */

/* Планшеты и больше */
@media (min-width: 800px) {
    .popup-body {
        position: fixed;
        top: 50%;
        left: auto;
        right: auto;
        transform: translateY(-50%);
        background: white;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        border-radius: 5px;
        width: 75% !important;
        background-color: white;
    }

    /* .popup-body {
        width: 55% !important;
    } */
}

/* Десктопы */
@media (min-width: 1250px) {
    .popup-body {
        width: 35% !important;
        /* процент от экрана */
    }
}

@media (min-width: 900px) {
    html {
        background-color: #111212;
    }

    .header-logo {
        height: 65px;
    }

    .header-link {
        width: 30px;
        height: 30px;
    }

    body {
        max-width: 900px;
    }

    .matrix-desktop-wrapper {
        display: flex;
        flex-direction: row;
        margin-left: -30px;
        width: calc(100% + 30px);
    }

    .matrix-desktop-wrapper.converter {
        display: flex;
        flex-direction: column;
        width: calc(100% + 30px);
        padding-left: 30px;
        overflow-y: hidden;
        overflow-x: hidden;
        margin-bottom: 17px;
    }

    .matrix-wrapper.converter {
        flex-direction: row;
        margin-top: 25px;
    }

    .matrix-text-block-wrapper.converter {
        width: 100%;
        margin-left: 0px;
    }

    .matrix-img-wrapper {
        overflow-x: hidden;
        z-index: 2;
        height: 81;
        margin-top: 20px;
        margin-bottom: 30px;
        width: 50%;
    }

    .converter-img {
        overflow-y: hidden;
        overflow-x: hidden;
        margin-top: 31px;
        margin-bottom: 25px;
    }

    .converter-img img {
        height: auto;
        width: 1200px;
    }


    .matrix-control-block.converter {
        margin-top: 0px;
        margin-left: 100px;
    }

    #only-matrix {
        flex-direction: column !important;
    }

    .slider-dot {
        width: 15px;
        height: 15px;
    }

    .description-grid {
        font-size: 18px;
        line-height: 28px;
        /* 16px → 24px */
    }

    .card {
        font-size: 14px;
        /* 12px → 18px */
    }

    br {
        display: none;
    }

    br.desktop {
        display: block;
    }

    .white-title {
        font-size: 26px;
        line-height: normal;
        /* 21px → 32px */
        text-align: start;
    }

    .matrix-data-title {
        font-size: 20px;
        text-align: start;
        /* 13px → 20px */
    }

    .matrix-wrapper {
        margin-top: 37px;
        font-size: 16px;
        /* 13px → 19px */
    }

    .matrix-wrapper>div:first-child {
        width: auto;
    }

    .matrix-text-block-wrapper {
        width: 54%;
        margin-left: 1%;
    }

    .matrix-control-block {
        margin-top: 20px;
        margin-left: 0px;
    }

    .matrix-wrapper div {
        line-height: normal;
    }

    .link-container {
        width: max-content;
        margin-top: 35px;
    }

    .link-container.converter {
        margin-top: 10px;
        margin-left: 57.5%;
    }

    .link-container a {
        font-size: 14px;
        /* 11px → 16px */
    }

    .matrix-serial-one-img {
        width: 600px !important;
        max-width: none;
        /* height: 200px; */
        margin-left: -231px;
    }

    .dark-link-container {
        margin-top: 35px;
    }

    .dark-title {
        text-align: start;
        font-size: 26px;
        /* 21px → 32px */
    }

    .dark-link p {
        font-size: 18px;
    }

    .dark-link img {
        width: 22px;
        height: 22px;
    }

    .black-line-horizontal {
        margin-top: 7px;
    }

    .checkbox-line span:last-child {
        font-size: 14px;
    }

    .one-line-input {
        font-size: 18px;
    }

    button {
        font-size: 14px !important;
    }

    #scroll-to-top-btn {
        width: 45px;
        height: 45px;
    }

    #scroll-to-top-btn svg {
        width: 28px;
        height: 28px;
    }
}

/*@media (min-width: 900px) and (max-width: 1900px) {
/*    .matrix-serial-one-img {
/*        margin-right: 0px !important;
/*    }
/*
/*    br.medium {
/*        display: block !important;
/*    }
/*
/*}
/*
/*@media (min-width: 900px) and (max-width: 2000px) {
/*
/*    br.medium {
/*        display: block !important;
/*    }
/*
/*    .matrix-desktop-wrapper.converter {
/*        margin-bottom: 140px;
/*    }
/*
/*    #buttons-container {
/*        width: 35% !important;
/*        height: 100%;
/*        margin-left: auto;
/*    }
/*
/*    .button {
/*        height: 70px !important;
/*        font-size: 20px !important;
/*        border-radius: 100px;
/*    }
/*
/*    .slider-dot {
/*        width: 15px !important;
/*        height: 15px !important;
/*    }
/*
/*    .description-grid {
/*        font-size: 28px !important;
/*    }
/*
/*    .card {
/*        font-size: 23px !important;
/*    }
/*
/*    .white-title {
/*        font-size: 40px;
/*    }
/*
/*    .matrix-data-title {
/*        font-size: 35px !important;
/*        margin-top: 100px;
/*    }
/*
/*    .matrix-wrapper-matrix {
/*        line-height: 30px !important;
/*    }
/*
/*    .matrix-control-block {
/*        line-height: 30px !important;
/*    }
/*
/*    .converter-img {
/*        transform: translateX(8.45%) !important;
/*    }
/*
/*    .matrix-wrapper {
/*        font-size: 20px !important;
/*    }
/*
/*    .matrix-text-block-wrapper {
/*        margin-left: 5%;
/*    }
/*
/*    .matrix-text-block-wrapper.converter {
/*        margin-left: 0px !important;
/*    }
/*
/*    .matrix-serial-one-img {
/*        width: min-content !important;
/*        height: 200px !important;
/*        object-fit: contain !important;
/*        margin: auto 3% auto 0px;
/*
/*    }
/*
/*    .link-container a {
/*        font-size: 18px !important;
/*    }
/*
/*    .black-line-vertical {
/*        height: 27px !important;
/*    }
/*
/*    .dark-title {
/*        font-size: 40px !important;
/*    }
/*
/*    .dark-link-container {
/*        width: 90% !important;
/*    }
/*
/*    .dark-link img {
/*        height: 50px !important;
/*        width: 50px !important;
/*    }
/*
/*    .dark-link p {
/*        font-size: 28px !important;
/*        margin-left: 20px;
/*    }
/*
/*    .footer img {
/*        height: 67vh !important;
/*        object-fit: cover;
/*        object-position: top;
/*    }
/*}
/*
/*@media (max-width: 900px) {
/*
/*    .close-btn {
/*        width: 25px;
/*        height: 25px;
/*        right: 5px;
/*        top: 5px;
/*    }
/*
/*    .close-btn img {
/*        width: 25px;
/*        height: 25px;
/*    }
/*}
/*
/*@media (min-width: 900px) and (max-width: 1100px) {
/*    .white-title {
/*        font-size: 38px;
/*    }
/*}
/*
/*@media (min-width: 900px) and (max-width: 1100px) {
/*    .button {
/*        height: 70px !important;
/*        font-size: 15px !important;
/*        border-radius: 100px;
/*    }
/*}
/*
/*
/*@media (min-width: 900px) {
/*
/*    .buttons-for-desktop {
/*        display: block;
/*        height: 100%;
/*        display: flex;
/*        flex-direction: column;
/*        justify-content: space-between;
/*    }
/*
/*    header {
/*        width: 80%;
/*        margin-left: auto;
/*        margin-right: auto;
/*    }
/*
/*    main {
/*        margin-left: 0px;
/*        margin-right: 0px;
/*    }
/*
/*    .header-logo {
/*        width: 357px;
/*        height: 92px;
/*    }
/*
/*    .header-link {
/*        width: auto;
/*        display: flex;
/*        flex-direction: row;
/*        justify-content: center;
/*        align-items: center;
/*    }
/*
/*    .header-link img {
/*        height: 35px;
/*        width: 47px;
/*    }
/*
/*
/*    #main-img {
/*        width: 36.54px;
/*        height: 32.89px;
/*    }
/*
/*    .header-link p {
/*        color: white;
/*        font-size: 30px;
/*        text-decoration: none;
/*    }
/*
/*    .header-link {
/*        /* display: inline-flex; */
/*        align-items: center;
/*        /* gap: 20px; */
/*        margin-right: 35px;
/*        text-decoration: none;
/*        position: relative;
/*    }
/*
/*    .header-link-text {
/*        max-width: 0;
/*        opacity: 0;
/*        transform: translateX(-10px);
/*        white-space: nowrap;
/*        overflow: hidden;
/*        font-size: 16px;
/*        color: #333;
/*        margin-left: 0;
/*        transition:
/*            max-width 0.8s ease,
/*            opacity 0.8s ease,
/*            transform 0.8s ease,
/*            margin-left 0.8s ease;
/*    }
/*
/*    .header-link-text.focused {
/*        max-width: 300px;
/*        opacity: 1;
/*        transform: translateX(0);
/*        margin-left: 20px;
/*    }
/*
/*    #main-slide-block {
/*        display: flex;
/*        flex-direction: row;
/*        margin-top: 110px;
/*        margin-right: 10%;
/*    }
/*
/*    #slider-container {
/*        max-width: 56%;
/*        display: flex;
/*        flex-direction: row;
/*    }
/*
/*    .slider {
/*        display: flex;
/*        flex-direction: row;
/*        margin-top: 0px;
/*    }
/*
/*    #slider-dots-wrapper {
/*        height: auto;
/*        display: flex;
/*        justify-content: center;
/*        margin-left: 30px;
/*        margin-top: auto;
/*        margin-bottom: auto;
/*    }
/*
/*    /* .slider-dots-container {
/*        width: 100%;
/*        height: auto;
/*
/*        display: grid;
/*        grid-template-columns: 1fr;
/*        grid-gap: 7px;
/*
/*        justify-content: center;
/*    } */
/*
/*    #slider-dots-wrapper {
/*        height: 447px;
/*        /* фиксированная высота, как в вашем HTML */
/*        display: flex;
/*        justify-content: center;
/*        /* центрируем по горизонтали */
/*        align-items: center;
/*        /* центрируем по вертикали */
/*        margin-left: 30px;
/*    }
/*
/*    .slider-dots-container {
/*        display: grid;
/*        grid-auto-rows: min-content;
/*        /* каждая точка в своей строке */
/*        grid-gap: auto;
/*        /* отступы */
/*        justify-items: auto;
/*        /* центрируем по горизонтали */
/*    }
/*
/*
/*    /* .slider-dots-container {
/*        width: 100%;
/*        height: auto;
/*
/*        display: flex;
/*        flex-wrap: wrap;
/*        padding: auto;
/*        flex-direction: column;
/*        grid-template-rows: 1fr;
/*        grid-gap: 16px;
/*
/*        margin-top: 0px;
/*
/*        justify-content: baseline;
/*    } */
/*
/*    .slider-dot {
/*        width: 20px;
/*        height: 20px;
/*    }
/*
/*    .slide {
/*        /* object-fit: cover !important; */
/*        height: fit-content;
/*        margin: auto;
/*    }
/*
/*    #buttons-container {
/*        width: 30%;
/*        height: 100%;
/*        margin-left: auto;
/*        margin-top: auto;
/*        margin-bottom: auto;
/*    }
/*
/*    .button-grid {
/*        width: 100%;
/*        display: grid;
/*        height: 100%;
/*        grid-template-columns: 1fr 1fr;
/*        margin-top: 0px;
/*        /* column-gap: 11px; */
/*        row-gap: 5%;
/*        /* justify-content: space-between; */
/*        /* одинаковый отступ между всеми рядами */
/*
/*    }
/*
/*    .button-grid .button-wide {
/*        grid-column: span 2;
/*    }
/*
/*
/*    .button {
/*        height: 15% !important;
/*        font-size: 25px;
/*        border-radius: 100px;
/*
/*        height: 105px;
/*    }
/*
/*    .two-btn-container {
/*        height: 15% !important;
/*        display: flex;
/*        flex-direction: row;
/*        gap: 30px;
/*    }
/*
/*    .button.in-div {
/*        height: 100% !important;
/*    }
/*
/*    #white-line-desktop {
/*        width: 50%;
/*        margin-left: auto;
/*        margin-right: auto;
/*        height: 1px;
/*        background-color: #ffffff;
/*        margin-top: 125px;
/*        margin-bottom: 105px;
/*    }
/*
/*    .desktop-margins {
/*        width: 80%;
/*        margin-left: auto;
/*        margin-right: auto;
/*    }
/*
/*    .description-grid {
/*        font-size: 35px;
/*        margin-top: 70px !important;
/*    }
/*
/*    .white-section {
/*        margin-top: 140px;
/*    }
/*
/*    .card-container {
/*        width: auto;
/*
/*        display: grid;
/*
/*        grid-template-columns: repeat(3, 1fr);
/*        grid-template-rows: repeat(1, 1fr);
/*        grid-gap: 45px;
/*
/*        margin-top: 70px;
/*    }
/*
/*    .card {
/*        height: 160px;
/*        font-size: 30px;
/*    }
/*
/*    .card-wide {
/*        grid-column-start: auto;
/*        grid-column-end: auto;
/*    }
/*
/*    .multi-paragraphs p {
/*        display: inline;
/*        margin: 0;
/*        padding: 0;
/*    }
/*
/*    .multi-paragraphs p::after {
/*        content: " ";
/*    }
/*
/*    .multi-paragraphs p:last-child::after {
/*        content: "";
/*    }
/*
/*    .white-title {
/*        font-size: 52.5px;
/*        margin-top: 110px;
/*        line-height: normal;
/*
/*        margin-left: auto;
/*        margin-right: auto;
/*        width: 80%;
/*        text-align: start;
/*    }
/*
/*    .white-title br {
/*        display: none;
/*    }
/*
/*    .mst-30 {
/*        width: 80%;
/*        margin-left: auto;
/*        margin-right: auto;
/*    }
/*
/*    .matrix-desktop-wrapper {
/*        display: flex;
/*        flex-direction: row;
/*        margin-top: 50px;
/*    }
/*
/*    .matrix-data-title {
/*        font-size: 45px;
/*        margin-top: 100px;
/*    }
/*
/*    .matrix-serial-one-img {
/*        /* width: 650px !important; */
/*        width: min-content !important;
/*        height: 220px !important;
/*        margin-right: auto;
/*        margin: auto 150px auto 0px;
/*    }
/*
/*    .matrix-wrapper {
/*        font-size: 30px;
/*    }
/*
/*
/*    .matrix-wrapper>div:first-child {
/*        width: 69%;
/*        line-height: 35px;
/*    }
/*
/*    .matrix-wrapper-matrix {
/*        width: max-content !important;
/*        line-height: 35px;
/*    }
/*
/*    .matrix-control-block {
/*        line-height: 35px;
/*        margin-left: 60px;
/*    }
/*
/*    .matrix-text-block-wrapper {
/*        display: flex;
/*        flex-direction: column;
/*        /* width: 60%; */
/*    }
/*
/*    .datasheet-link {
/*        margin-left: 0px;
/*    }
/*
/*    .link-container {
/*        margin-top: auto;
/*    }
/*
/*    .link-container a {
/*        font-size: 25px;
/*        margin-right: 0px !important;
/*        margin-left: 0px !important;
/*    }
/*
/*    .black-line-vertical {
/*        position: relative;
/*
/*        top: 5px;
/*
/*        width: 2px;
/*        height: 35px;
/*
/*        margin-left: 41px;
/*        margin-right: 41px;
/*    }
/*
/*    .black-line-horizontal {
/*        width: 50%;
/*        height: 2px;
/*        margin-top: 78px;
/*    }
/*
/*    .matrix-desktop-wrapper.converter {
/*        flex-direction: row !important;
/*        margin-right: -5.57%;
/*    }
/*
/*    .matrix-data-wrapper.converter {
/*        margin-top: 0px;
/*    }
/*
/*    .matrix-data-title.converter {
/*        margin-top: 62px;
/*    }
/*
/*    .converter-text-block {
/*        width: auto !important;
/*    }
/*
/*    .converter-text-block br {
/*        display: none;
/*    }
/*
/*    .matrix-wrapper.converter {
/*        width: max-content !important;
/*    }
/*
/*    .converter-img {
/*        position: relative;
/*        display: block;
/*        width: 100vw !important;
/*        /* ровно на всю ширину экрана */
/*        max-width: none;
/*        transform: translateX(12.85%);
/*        /* сдвиг влево */
/*        overflow: hidden;
/*        margin: 0 auto;
/*        /* центрируем внутри родителя */
/*    }
/*
/*    .matrix-desktop-wrapper.converter {
/*        width: 112.5%;
/*        /* overflow-x: hidden; */
/*        overflow-x: clip;
/*        overflow-y: visible;
/*    }
/*
/*    .matrix-desktop-wrapper.converter::-webkit-scrollbar {
/*        display: none;
/*        /* Chrome, Safari */
/*    }
/*
/*    .vertical-white-line {
/*        height: 42px;
/*        width: 2px;
/*    }
/*
/*    #scroll-to-top-btn {
/*        width: 50px;
/*        height: 50px;
/*        bottom: 25px !important;
/*        right: 0px !important;
/*        margin-left: 0px;
/*    }
/*
/*    #scroll-to-top-btn svg {
/*        width: 35px;
/*        height: 35px;
/*    }
/*
/*
/*    .converter-img img {
/*        position: relative;
/*        margin-left: auto;
/*        margin-right: 50px;
/*        /* left: calc(200px - 50px); */
/*        /* сдвиг влево, чтобы часть картинки была за экраном */
/*        height: 194px !important;
/*        width: auto !important;
/*    }
/*
/*    .matrix-control-block {
/*        width: auto !important;
/*    }
/*
/*    .matrix-control-block br {
/*        display: none;
/*    }
/*
/*    .matrix-control-block.converter {
/*        margin-left: 60px !important;
/*    }
/*
/*    .matrix-desktop-wrapper.converter {
/*        margin-bottom: 125px;
/*    }
/*
/*    .matrix-data-wrapper {
/*        margin-top: 0px;
/*    }
/*
/*    .matrix-wrapper p {
/*        margin-top: 0px;
/*    }
/*
/*
/*    .dark-link-container {
/*        margin-top: 50px;
/*        width: 63%;
/*        display: flex;
/*        justify-content: space-between;
/*    }
/*
/*    .dark-under {
/*        margin-top: 125px;
/*    }
/*
/*    .footer {
/*        margin-top: 182px;
/*    }
/*
/*    .dark-title {
/*        font-size: 52px;
/*    }
/*
/*    .dark-link img {
/*        height: 35px !important;
/*        width: 35px !important;
/*    }
/*
/*    .dark-link p {
/*        font-size: 35px;
/*        margin-left: 20px;
/*
/*        text-decoration-thickness: 1.4px;
/*        text-underline-offset: 2px;
/*    }
/*
/*    .dark-link br {
/*        display: none;
/*    }
/*
/*    .footer {
/*        margin-left: 0px;
/*        margin-right: 0px;
/*    }
/*
/*    .footer img {
/*        height: 67vh;
/*        object-fit: cover;
/*        object-position: top;
/*        margin-left: 10%;
/*        margin-right: 10%;
/*    }
/*
/*
/*    br.desktop {
/*        display: block !important;
/*    }
/*
/*    .popup-body {
/*        width: 30%;
/*        left: auto;
/*        right: auto;
/*    }
/*
/*    .one-line-input {
/*        font-size: 18px;
/*    }
/*
/*    .error-message-wrapper p {
/*        font-size: 15px;
/*    }
/*
/*    .checkbox-mark {
/*        width: 20px;
/*        height: 20px;
/*    }
/*
/*    .checkbox-line span:last-child {
/*        font-size: 18px;
/*    }
/*
/*    /* Галочка внутри */
/*    .custom-checkbox input[type="checkbox"]:checked+.checkbox-mark::after {
/*        content: '';
/*        position: absolute;
/*        left: 4px;
/*        top: 4px;
/*        width: 12px;
/*        height: 12px;
/*        background: #398CCB;
/*    }
/*
/*}