@font-face{
    font-family: 'LibreFranklin-regular';
    src: url('../fonts/LibreFranklin-Regular.ttf');
    font-weight: 400;
    font-style: normal;
}

@font-face{
    font-family: 'Montserrat-bold';
    src: url('../fonts/Montserrat-Bold.ttf');
    font-weight: 700;
    font-style: normal;
}

@font-face{
    font-family: 'Montserrat-medium';
    src: url('../fonts/Montserrat-Medium.ttf');
    font-weight: 500;
    font-style: normal;
}


html,
body {
    font-family: 'LibreFranklin-regular', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: inherit;
}

:root {
    --bg-color: #132855;
}

a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: #000;
    transition: all 0.3s;
}

#cookiesf_doc_msg{
    overflow: hidden!important;
}

.contacts a:hover {
    text-decoration: underline;
}

.contacts a:focus {
    color: rgba(255, 255, 255, 0.66);
}

span {
    display: inline-block;
}

li {
    list-style: none;
}

input,
button,
select,
textarea {
    outline: none;
}

header,
section,
main,
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.container {
    flex-basis: 1640px;
    max-width: 100%;
    padding: 0 10px;
}

.img img {
    width: 100%;
    height: 100%;
}

.obj_cover {
    object-fit: cover;
    object-position: center;
}

.obj_contain {
    object-fit: contain;
    object-position: center;
}

header .container,
footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 50px;
    padding-bottom: 10px;
}

footer .container {
    padding-top: 80px;
    padding-bottom: 90px;
}

.footer_inner {
    display: flex;
    align-items: flex-start;
    column-gap: 140px;
}

footer .contacts {
    flex-direction: column;
    align-items: flex-end;
    row-gap: 27px;
}

.bg {
    background-color: var(--bg-color);
    color: #fff;
}

.bg a {
    color: #fff;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo a:hover {
    text-decoration: none;
}

.logo .img {
    width: 259px;
    height: 64px;
}

/*политика конфиденциальности*/
.privacy{
    flex-direction: row-reverse;
    justify-content: center;
    padding: 15px;
}
.privacy span a{
    text-decoration: underline;
}
.privacy input{
    margin-right: 20px;
    width: 30px!important;
}
.privacy span{
    text-align: center;
}
/*политика конфиденциальности*/

.logo .line {
    width: 2px;
    height: 70px;
    background-color: #fff;
    margin: 0 28px 0 33px;
}

.logo span {
    font-size: 24px;
    color: #ADB4C4;
}

.logo span:hover {
    color: #fff;
}

.contacts {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    column-gap: 100px;
    row-gap: 11px;
    line-height: 1.18;
    white-space: nowrap;
}

header .menu ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 30px;
    row-gap: 20px;
    margin: 0 40px;
    font-size: 18px;
}

.hamburger {
    display: none;
}

.contacts .tels {
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    row-gap: 11px;
    text-align: right;
}

.icon {
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.icon svg {
    max-width: 20px;
    max-height: 20px;
}


.banner {
    position: relative;
    padding-top: 134px;
    padding-bottom: 138px;
    text-align: center;
    z-index: 1;
}

.banner .container {
    position: relative;
}

.banner .bg_img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 90px);
    z-index: -1;
}

.banner h1 {
    font-family: 'Montserrat-bold';
    font-size: 64px;
    margin-bottom: 29px;
}

.banner .subtitle {
    max-width: 550px;
    font-size: 24px;
    lighting-color: 1.37;
    color: #EBEBEB;
    margin: 0 auto;
    margin-bottom: 100px;
}

.networks {
    display: flex;
    align-items: center;
    column-gap: 43px;
    row-gap: 39px;
}

.banner .networks {
    position: absolute;
    top: 25px;
    right: 0;
    flex-direction: column;

}

.banner_cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 40px;
    row-gap: 40px;
}

.banner_cards .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 197px;
}

.banner_cards .card .img {
    max-width: 40px;
    height: 34px;
    margin-bottom: 18px;
}

.banner_cards .card h3 {
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 11px;
}

.banner_cards .card p {
    font-size: 16px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.49);
}

main {
    padding: 162px 0 152px;
}

main h2 {
    max-width: 756px;
    font-family: 'Montserrat-medium';
    font-size: 36px;
    line-height: 1.38;
    color: #2E2B2B;
    text-transform: uppercase;
    margin-bottom: 37px;
}

.info_block .top {
    display: flex;
    align-items: flex-start;
}

.info_block .content {
    max-width: 770px;
}

.info_block .content h3 {
    font-weight: 600;
    font-size: 22px;
    line-height: 1.54;
    color: #676767;
    margin-bottom: 38px;
}

.info_block p {
    font-size: 18px;
    line-height: 1.55;
    color: #929292;
    margin-bottom: 35px;
}

.info_block .content p.mini {
    max-width: 627px;
}

.info_block .top + p {
    max-width: 870px;
    margin-bottom: 53px;
}

.info_block .content ul,
.form_guide {
    font-weight: 600;
    font-size: 18px;
    line-height: 2.19;
    color: #676767;
    margin-bottom: 35px;
}

.form_guide {
    line-height: 1.55;
    margin-bottom: 52px;
}

.form_wrapper {
    display: flex;
    justify-content: center;
}

.form_container {
    display: flex;
    justify-content: center;
    flex-basis: 1310px;
    border-radius: 10px;
    padding: 80px 20px 98px;
}

.form_container {
    background-image: url(../../img/bg.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.form_content {
    flex-basis: 837px;
}

.form_success .title,
.form_title {
    max-width: 744px;
    font-family: 'Montserrat-bold';
    font-size: 40px;
    line-height: 1.2;
    color: #fff;
    text-align: center;
    margin: 0 auto 60px;
}

.form_success .title {
    margin-bottom: 0;
}

.form_success .inner button {
    margin-top: 25px;
}

.form_success .subtitle {
    font-size: 24px;
    line-height: 1.2;
    color: #CDCDCD;
}

.form_success .popup_content {
    background-image: url(../../img/bg.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top left;
}

form {
    display: flex;
    flex-direction: column;
    row-gap: 26px;
    line-height: 1.25;
}

label {
    position: relative;
    display: flex;
    flex-direction: column;
    row-gap: 11px;
    z-index: 1;
}

input {
    font-size: 24px;
    color: #fff;
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 6px;
    padding: 25px 74px 26px 32px;
}

.inp_title {
    font-size: 24px;
    color: #fff;
}

input::-webkit-input-placeholder {
    color: #D3D3D3;
}
  
input:-ms-input-placeholder {
    color: #D3D3D3;
}

input::placeholder {
    color: #D3D3D3;
}

label i {
    position: absolute;
    top: 55px;
    right: 30px;
    display: none;
    width: 32px;
    height: 23px;
    z-index: 1;
}

label.success i {
    display: inline-block;
    pointer-events: none;
}

label.error i {
    display: inline-block;
    cursor: pointer;
}

label i img {
    object-fit: contain;
    object-position: center;
}

.error_text {
    visibility: hidden;
    font-size: 16px;
    color: #FF5B5B;
}

label.error input {
    border: 1px solid #FF5B5B;
    border-radius: 6px;
}

label.error .error_text {
    visibility: unset;
}

.form_success button,
form button {
    font-weight: 500;
    font-size: 32px;
    background-color: #fff;
    border: none;
    border-radius: 10px;
    padding: 35px 70px;
    margin-top: 75px;
    cursor: pointer;
    transition: all 0.3s;
}

form button:hover:not(button[disabled]),
.popup button:hover:not(button[disabled]) {
    color: #fff;
    background-color: #2C8DFF;
    box-shadow: 0px 4px 22px rgba(5, 25, 67, 0.38);
    border-radius: 10px;
}

form button:focus,
.popup button:focus {
    color: #fff;
    background-color: #74B4FF;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9;
    padding: 30px 10px;
}

.popup_inner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
}

.popup_content {
    flex-basis: 1230px;
    border-radius: 10px;
    padding: 80px 0 96px;
    margin: 20px 40px;
}

.popup_content .inner {
    display: flex;
    flex-direction: column;
    row-gap: 47px;
    max-width: 837px;
    text-align: center;
    margin: 0 auto;
    padding: 0 10px;
}

.infoTable_wrapper {
    display: flex;
    align-items: center;
    column-gap: 30px;
    margin-bottom: 50px;
}

.infoTable_wrapper .img {
    width: 110px;
    height: 110px;
}

.infoTable_wrapper.newstyle .img {width: 210px; height: 210px; display: flex; align-items: center; justify-content: center;}
.infoTable_wrapper.newstyle .img img {display: block; max-width: 100%; max-height: 100%;}
.infoTable_wrapper.newstyle .info_table {width: calc(100% - 210px);}
.infoTable_wrapper.newstyle .info_table .top {line-height: 150%;  padding: 10px; text-align: center; font-weight: 600; font-size: 20px; } 
.infoTable_wrapper.newstyle .info_table li {align-items: center; padding: 20px 0 10px; border: 0; border-bottom: 1px solid #DDDDDD;}
.infoTable_wrapper.newstyle .info_table span {padding: 0;}
.infoTable_wrapper.newstyle .info_table li .name {width: calc(100% - 325px); box-sizing: border-box; padding-right: 40px; line-height: 130%; font-size: 18px; line-height: 100%; font-weight: 600; color: #2D2B2B; border: 0;}
.infoTable_wrapper.newstyle .info_table li .name small {display: block; font-weight: normal; margin: 15px 0 0 0; font-size: 14px; line-height: 140%; color: #696969;}
.infoTable_wrapper.newstyle .info_table li .value {width: 175px; font-weight: bold; color: #132855; font-size: 20px;}
.infoTable_wrapper.newstyle .info_table li .btn {width: 150px; text-align: center; color: #fff; line-height: 40px; background: #FF3559; font-size: 16px; font-weight: bold;}


.info_table {
    width: 100%;
}

.info_table .top {
    background-color: var(--bg-color);
    color: #fff;
}

.info_table span {
    padding: 10px 10px 10px 15px;
}

.info_table li {
    display: flex;
    border: 1px solid #EFEFEB;
    border-top: none;
}

.info_table li .name {
    width: 100%;
    border-right: 1px solid #EFEFEB;
}

.info_table li .value {
    min-width: 140px;
}

@media (max-width: 1240px) {
    .banner .networks {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-bottom: 100px;
    }
}


@media (max-width: 1000px) {
.infoTable_wrapper.newstyle {display: block;}
.infoTable_wrapper.newstyle .img {margin: 0 auto 30px;}
.infoTable_wrapper.newstyle .info_table {width: 100%;}
}

@media (max-width: 991px) {

    header {
        position: relative;
    }

    header .menu {
        position: absolute;
        top: 120px;
        left: 0;
        transform: translateX(-110%);
        transition: transform 0.3s linear;
        z-index: 2;
        border: 1px solid #fff;
        background-color: #0b0b4d;
        border-left: none;
        padding: 20px 20px;
        min-width: 250px;
        min-height: 240px; width: 100vw; text-align: center;
    }
	header .menu li {display: block; text-align: center; width: 100%;}

    header .menu.active {
        transform: translateX(0);
    }

    header .menu ul {
        flex-direction: column;
        align-items: flex-start;
        min-width: 250px;
        min-height: 280px;
        margin: 0;
    }

    .hamburger{
        padding: 10px;
        display: inline-block;
        cursor: pointer;
        transition-property: opacity, filter;
        transition-duration: 0.15s;
        transition-timing-function: linear;
        font: inherit;
        color: inherit;
        text-transform: none;
        background-color: transparent;
        border: 0;
        margin: 0;
        overflow: visible;
        order: 1;
    }

    .hamburger.active .hamburger-inner,
    .hamburger.active .hamburger-inner::before,
    .hamburger.active .hamburger-inner::after{
        background-color: #fff;
    }

    .hamburger-box{
        width: 40px;
        height: 24px;
        display: inline-block;
        position: relative;
    }

    .hamburger-inner{
        display: block;
        top: 50%;
        margin-top: -2px;
    }

    .hamburger-inner,
    .hamburger-inner::before,
    .hamburger-inner::after{
        width: 40px;
        height: 4px;
        background-color: #fff;
        border-radius: 4px;
        position: absolute;
        transition-property: transform;
        transition-duration: 0.15s;
        transition-timing-function: ease;
    }

    .hamburger-inner::before,
    .hamburger-inner::after{
        content: "";
        display: block;
    }

    .hamburger-inner::before{
        top: -10px;
    }

    .hamburger-inner::after{
        bottom: -10px;
    }

    .hamburger--collapse .hamburger-inner{
        top: auto;
        bottom: 0;
        transition-duration: 0.13s;
        transition-delay: 0.13s;
        transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    }

    .hamburger--collapse .hamburger-inner::after{
        top: -20px;
        transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), opacity 0.1s linear;
    }

    .hamburger--collapse .hamburger-inner::before{
        transition: top 0.12s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    }

    .hamburger--collapse.active .hamburger-inner{
        transform: translate3d(0, -10px, 0) rotate(-45deg);
        transition-delay: 0.22s;
        transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }

    .hamburger--collapse.active .hamburger-inner::after{
        top: 0;
        opacity: 1;
        transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), opacity 0.1s 0.22s linear;
    }

    .hamburger--collapse.active .hamburger-inner::before{
        top: 0;
        transform: rotate(-90deg);
        transition: top 0.1s 0.16s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s 0.25s cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    
    .contacts {
        flex-direction: column;
        align-items: center;
    }

    .footer_inner {
        flex-direction: column;
        align-items: flex-end;
        row-gap: 25px;
    }

}

@media (max-width: 767px) {

    .banner h1 {
        font-size: 42px;
    }

    main h2 {
        font-size: 28px;
    }

    .info_block .top {
        flex-direction: column-reverse;
    }

    .info_block .top .img {
        margin-bottom: 30px;
        margin-right: 10vw;
    }
	.infoTable_wrapper.newstyle .info_table li {flex-direction: row; padding-bottom: 20px; flex-wrap: wrap; justify-content: flex-start;}
	.infoTable_wrapper.newstyle .info_table li .name {padding: 0; margin: 0 0 20px; width: 100%;}
	.infoTable_wrapper.newstyle .info_table li .btn {margin: 0;}
	.infoTable_wrapper.newstyle .info_table li .value {width: auto; margin: 0 15px 0 0; min-width: 1px;}

}

@media (max-width: 660px) {
    
    footer .container {
        flex-direction: column;
        align-items: center;
        row-gap: 40px;
    }

    header .container {
        flex-wrap: wrap;
        row-gap: 40px;
    }

    .contacts {
        order: 3;
        margin: 0 auto;
    }

    .footer_inner {
        align-items: center;
    }

    footer .contacts {
        align-items: center;
        row-gap: 27px;
    }

    .banner {
        padding-top: 90px;
        padding-bottom: 90px;
    }

    .banner .subtitle,
    .banner .networks {
        margin-bottom: 50px;
    }

    main {
        padding: 90px 0 80px;
    }

    .form_success .title, .form_title {
        font-size: 30px;
    }

    .form_title {
        margin-bottom: 30px;
    }

    .inp_title {
        font-size: 16px;
    }

    input {
        width: 100%;
        font-size: 18px;
        padding: 12px 50px 12px 24px;
    }

    label.success i,
    label.error i {
        top: 43px;
        right: 10px;
        transform: scale(0.8);
    }

    .error_text {
        font-size: 14px;
    }

    .form_success button,
    form button {
        font-weight: 500;
        font-size: 20px;
        border-radius: 10px;
        padding: 12px 24px;
        margin-top: 40px;
    }

    .form_success .title,
    .form_success button {
        margin: 0;
    }

    .popup_content {
        padding: 40px 0 50px;
    }

    .privacy{
        flex-direction: column;
        align-items: center;
    }
    .privacy input{
        margin: auto !important;
    }

    .infoTable_wrapper {
        flex-direction: column;
        row-gap: 30px;
    }

}

@media (max-width: 540px) {

    .info_block .content ul li {
        display: flex;
        flex-direction: column;
        line-height: 1.55;
        margin-bottom: 20px;
    }

    .banner h1 {
        font-size: 34px;
    }

    .banner .subtitle {
        font-size: 20px;
    }

    main h2 {
        font-size: 22px;
    }

    .info_block .content h3 {
        font-size: 18px;
    }

    .info_block p,
    .info_block .content ul,
    .form_guide {
        font-size: 16px;
    }

    .form_title {
        font-size: 23px;
    }

}

@media (max-width: 410px) {

    .logo .img {
        width: 180px;
        height: 40px;
    }

    .info_table li {
        flex-direction: column;
    }

    .info_table li .name {
        border: none;
        padding-bottom: 0;
    }

    .info_table li .value {
        font-weight: 700;
    }

    .banner h1 {
        font-size: 30px;
    }

    .banner .subtitle {
        font-size: 18px;
    }

    main h2,
    .form_title {
        font-size: 20px;
    }

    .popup_content .inner {
        row-gap: 30px;
    }

    .form_success .title {
        font-size: 20px;
    }

    .form_success .subtitle {
        font-size: 18px;
    }

}

.error .good{
    display: none;
}

.success .bad{
    display: none;
}

.form-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
    align-items: center;
    justify-content: center;
}

.form-popup.active {
    display: flex;
}

.form-popup .popup_content {
    max-width: 560px;
    width: 90%;
    padding: 30px;
    position: relative;
    background-image: url(../../img/bg.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transform: scale(0.9); /* Начальное состояние для анимации */
    transition: transform 0.3s ease;
}

.form-popup .popup_content .form_content {
    width: 100%;
}

.form-popup .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    font-size: 24px;
}

@media (max-width: 767px) {
    .form-popup .popup_content {
        padding: 20px;
    }
}
#license-name {
    width: 100%;
    font-size: 24px;
    color: #fff;
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 6px;
    padding: 25px 32px;
    resize: none; /* Запрещаем изменение размера */
    cursor: default; /* Курсор по умолчанию, а не текстовый */
    min-height: 100px; /* Минимальная высота */
    overflow-y: auto; /* Добавляем скролл при необходимости */
}

/* Стиль для read-only textarea */
#license-name[readonly] {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Стили для мобильных устройств */
@media (max-width: 767px) {
    #license-name {
        font-size: 18px;
        padding: 12px 24px;
        min-height: 80px;
    }
}

.form-popup {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-popup.active {
    display: flex;
    opacity: 1;
}

.popup_content {
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.form-popup.active .popup_content {
    transform: scale(1); /* Финальный размер */
}


.form-popup .inp_title {
    font-size: 18px; /* Было 24px */
}

.form-popup input,
.form-popup textarea {
    font-size: 18px; /* Было 24px */
    padding: 18px 25px; /* Было 25px 32px */
}

#license-name {
    font-size: 18px; /* Было 24px */
    min-height: 80px; /* Было 100px */
}

.form-popup button.sendForm {
    font-size: 24px; /* Было 32px */
    padding: 25px 50px; /* Было 35px 70px */
    margin-top: 40px; /* Было 75px */
}

/* Адаптация для мобильных */
@media (max-width: 767px) {
    .form-popup .popup_content {
        padding: 20px;
        max-width: 90%;
    }

    .form-popup .form_title {
        font-size: 22px;
    }

    .form-popup input,
    .form-popup textarea {
        font-size: 16px;
        padding: 12px 20px;
    }

    #license-name {
        min-height: 60px;
    }

    .form-popup button.sendForm {
        font-size: 18px;
        padding: 15px 30px;
        margin-top: 25px;
    }