html, body {
    width: 100%;
    margin: 0 auto;
    overflow-x: hidden;
    position: relative;
      display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    width: 100vw !important;
    overflow-x: hidden;
}

footer, header{
    width: 100%;
    margin: 0 auto;
}

footer{
    margin-top: auto;
}

.header{
    background: #3E3E3E;
    height: 136px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100% !important;
}

.header-logo{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#header-logo-text{
    font-family: Tahoma;
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #FFFFFF;
}

#header-logo-img{
    width: 62px;
    height: 53px;
}
.section-begin{
    min-height: 654px;
    height: auto;
    background-image: url(img/section-1.png);
    display: flex;
    flex-direction: column;
justify-content: center;
}

.section-begin-text-main{
    font-family: Montserrat;
    font-weight: 700;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: #3E3E3E;
    margin-bottom: 1rem;
}

.section-begin-text{
    font-family: Montserrat;
    font-weight: 700;
    font-size: 64px;
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: #1A94FF;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.section-begin-content{
    margin-left: 6rem;
    margin-right: 6rem;
}

.footer {
    width: 100%;
    height: 219px;
    background: #3E3E3E; /* Фон на всю ширину */
    display: flex;
    justify-content: center; /* Центрируем контейнер */
}

.footer-content {
    max-width: 1440px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10rem; /* Оставляем ваш большой отступ */
}

.socials{
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: flex-end;
    gap: 2rem;
    padding-right: 6rem;
}

.mail a{
    font-family: Tahoma;
    font-weight: 700;
    font-size: 30px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #FFFFFF !important;
    text-decoration: none !important;
    padding-left: 6rem;
}

.section-begin-text {
    flex-wrap: wrap;
}



iframe{
    width: 57vw;
    height: 461px;
    max-width: 819px;
}

.section-registration {
    height: 43.75rem;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
}

.section-registration-content {
    width: calc(100% - 10rem);
    max-width: 120rem;
    margin: 4rem 4rem 0 6rem;
    display: flex;
    flex-direction: column;
}

.form-name {
    font-family: Montserrat;
    font-weight: 500;
    font-size: 2.25rem;
    line-height: 100%;
    color: #000000;
    margin-bottom: 2rem;
}

.form-text {
    font-family: Montserrat;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 140%;
    color: #000000;
    margin-bottom: 2rem;
}

.form-solid {
    font-family: Montserrat;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 100%;
    color: #000000;
    margin-bottom: 3rem;
}

.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    width: 100%;
}

label {
    font-family: Montserrat;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 100%;
    text-align: right;
    color: #000000;
    margin-right: 2rem;
    width: 20rem;
    flex-shrink: 0;
}

input {
    width: 100%;
    height: 3.375rem;
    border: 1px solid #3E3E3E;
    font-family: Montserrat;
    font-size: 1.25rem;
    padding: 0 0.9375rem;
    
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 1.875rem;
    padding-right: 18.75rem;
}

.submit-btn {
    font-family: Montserrat;
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.625rem;
    text-align: center;
    color: #FFFFFF;
    width: 22.375rem;
    height: 3.75rem;
    border-radius: 0.625rem;
    background: #1A94FF;
    box-shadow: 0 0.625rem 1.25rem 0 rgba(251, 97, 53, 0.1);
    cursor: pointer;
    border: none;
    transition: background 0.3s ease;
}







.section-videos{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 5rem 0;
    gap: 4rem;
        background-image: url(img/section-3.png);
    background-repeat: no-repeat;
    background-position: right top;
}

.video-text{
    font-family: Montserrat;
font-weight: 700;
font-size: 36px;
line-height: 100%;
letter-spacing: 0%;
text-transform: uppercase;
color: rgba(62, 62, 62, 1);
}

.demo-button{
    width: 35vw;
    max-width: 515px;
height: 60px;
border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 1);
    font-family: Montserrat;
font-weight: 500;
font-size: 20px;
line-height: 100%;
letter-spacing: 2%;
text-align: center;
color: rgba(0, 0, 0, 1);
background: rgba(255, 255, 255, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}

a.demo-button {
    text-decoration: none;
}

.section-video{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin:  0;
    gap: 2rem;
        background-image: url(img/section-3.png);
    background-repeat: no-repeat;
    background-position: right bottom;
    height: auto;
}

.video-paragraph{
    font-family: Montserrat;
font-weight: 500;
font-size: 18px;
line-height: 100%;
letter-spacing: 2%;
color: rgba(96, 96, 96, 1);
width: 85%;
padding: 4rem 0 5rem 0;
}

.section-advantages {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 0;
    background-image: url(img/section-2.png);
    background-repeat: no-repeat;
    background-position: left center;
}

.section-advantages{
    font-family: Montserrat;
font-weight: 700;
font-size: 36px;
line-height: 100%;
letter-spacing: 0%;
text-transform: uppercase;
color: rgba(62, 62, 62, 1);

}

        .container {
            width: auto;
            max-width: 1239px;
            margin: 0 auto;
            padding: 20px;
        }
        
        .cards-row {
            display: flex;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            overflow: hidden;
            height: 261px;
            background: rgba(62, 62, 62, 1);

        }
        
        .card {
            flex: 1 0 20%; /* Фиксированно по 20% ширины */
            min-width: 0; /* Для корректного переноса текста */
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: relative;
        }
        
        .card:not(:last-child)::after {
            content: "";
            position: absolute;
            right: 0;
            top: 20%;
            bottom: 20%;
            width: 1px;
            background: rgba(255, 255, 255, 1)
        }
        
        .card h3 {
            font-family: Montserrat;
            font-weight: 600;
            font-size: 24px;
            line-height: 100%;
            letter-spacing: 0%;
            text-align: center;
            color: rgba(26, 148, 255, 1);
            margin:  1rem 0 !important;
            width: 100%;
            text-transform: none;
        }
        
        .card p {
            width: 90%;
            font-family: Montserrat;
            font-weight: 600;
            font-size: 16px;
            line-height: 125%;
            letter-spacing: 0%;
            text-align: center;
            color: rgba(255, 255, 255, 1);
            margin:  0 !important;
            text-transform: none;
        }

        .mail-btn{
            font-family: Montserrat;
font-weight: 600;
font-size: 18px;
line-height: 26px;
letter-spacing: 0%;
text-align: center;
color: rgba(255, 255, 255, 1);
background: rgba(26, 148, 255, 1);
box-shadow: 0px 10px 20px 0px rgba(251, 97, 53, 0.1);
display: flex;
align-items: center;
justify-content: center;
width: 287px;
height: 87px;
border-radius: 10px;
text-align: center;
        }

        .advantage-container{
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-top: 3rem;
            width: 100%;
        }
        
.section-main-text-container{
    margin-top: 8rem;
}

.section-begin-form-text-bottom{
    font-family: Montserrat;
font-weight: 400;
font-size: 20px;
line-height: 100%;
letter-spacing: 0%;
color: rgba(0, 0, 0, 1);
}

#text-link{
    font-family: Montserrat;
font-weight: 400;
font-size: 20px;
line-height: 100%;
letter-spacing: 0%;
text-align: center;
color: rgba(26, 148, 255, 1);
}

.mobile-button{
    display: none;
}

.mail-buttons{
    display: flex;
    flex-direction: row;
    gap: 1rem;
    width: 100%;
    flex-wrap: wrap;
}

/* Адаптивные стили */
@media (max-width: 1200px) {
    .section-registration-content {
        margin: 6rem 4rem 0;
        width: calc(100% - 8rem);
    }
    
    .form-actions {
        padding-right: 0;
    }
}

@media (max-width: 992px) {
    .section-registration-content {
        margin: 4rem 3rem 0;
        width: calc(100% - 6rem);
    }
    
    label {
        width: 15rem;
    }
}

@media (max-width: 768px) {

    .none{
    display: none !important;
}

    .section-registration {
        height: auto;
    }
    
    .section-registration-content {
        margin: 2rem;
        width: calc(100% - 4rem);
        align-items: center;
    }
    
    .form-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    label {
        text-align: left;
        margin-right: 0;
        margin-bottom: 0.5rem;
        width: 100%;
        color: rgba(57, 57, 57, 0.6);

    }
    
    input {
        max-width: 100%;
    }
    
    .form-actions {
        justify-content: center;
        padding-right: 0;
    }
    
    .submit-btn {
        width: 100%;
        max-width: 22.375rem;
    }
}

@media (max-width: 576px) {
    .section-registration-content {
        margin: 1.5rem;
        width: calc(100% - 3rem);
    }
    
    .form-name {
        font-size: 1.75rem;
    }
    
    .form-text, 
    .form-solid,
    label,
    input {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .section-registration {
        height: auto;
        justify-content: center;
        align-items: center;
    }
    
    .section-registration-content {
        margin: 2rem;
        width: calc(100% - 4rem);
        max-width: 100%;
        align-items: center;
        text-align: center;
    }
    
    .form-group {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    label {
        text-align: left;
        margin-right: 0;
        margin-bottom: 0.5rem;
        width: 100%;
    }
    
    input {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .form-actions {
        justify-content: center;
        padding-right: 0;
        width: 100%;
    }
    
    .submit-btn {
        width: 100%;
        max-width: 100%;
    }
    
    .form-name,
    .form-text,
    .form-solid {
        text-align: center;
    }

    #registrationForm{
        width: 100%;
    }
}

        
        @media (max-width: 900px) {
            .section-advantages{
                display: none;
            }
        }

        a, a:active, a:hover {
            text-decoration: none;
        }

.section-begin-form-text{
    font-family: Montserrat;
font-weight: 700;
font-size: 20px;
line-height: 100%;
letter-spacing: 0%;
color: rgba(0, 0, 0, 1);
}

        /* Основные стили формы */
        .auth-form-horizontal {
            display: flex;
            align-items: flex-start;
            gap: 1.5rem;
            width: 100%;
            max-width: 1200px;
            
        }

        .auth-form-group {
            display: flex;
            align-items: center;
            margin-bottom: 0;
            width: 37%;
            max-width: 430px;
        }

        .auth-form-label {
            font-family: Montserrat;
            font-weight: 400;
            font-size: 1.25rem;
            line-height: 100%;
            color: #000000;
            margin-right: 2rem;
            width: 40%;
            flex-shrink: 0;
            text-align: right;
        }

        .auth-form-input {
            width: 100%;
            height: 3.375rem;
            max-height: 54px;
            border: 1px solid #3E3E3E;
            font-family: Montserrat;
            font-size: 1.25rem;
            padding: 0 0.9375rem;
            max-width: 100%;
        }

        .auth-form-actions {
            display: flex;
            gap: 1rem;
            align-items: center;
            flex-shrink: 0;
        }

        .auth-form-btn {
            font-family: Montserrat;
            font-weight: 700;
            font-size: 1.125rem;
            line-height: 1.625rem;
            text-align: center;
            color: #FFFFFF;
            width: 20rem;
            max-width: 287px;
            height: 3.75rem;
            border-radius: 0.625rem;
            background: #1A94FF;
            box-shadow: 0 0.625rem 1.25rem 0 rgba(251, 97, 53, 0.1);
            cursor: pointer;
            border: none;
            transition: background 0.3s ease;
            flex-shrink: 0;
        }

        .auth-form-btn.secondary {
            background: #f0f0f0;
            color: #3E3E3E;
        }

        .auth-form-btn.tertiary {
            background: transparent;
            color: #1A94FF;
            box-shadow: none;
            text-decoration: underline;
        }

        /* Адаптивные стили */
        @media (max-width: 1200px) {
            .auth-form-horizontal {
                padding: 1rem;
                gap: 1rem;
            }
            
            .auth-form-label {
                width: 8rem;
                margin-right: 1rem;
                font-size: 1.1rem;
            }
            
            .auth-form-btn {
                width: 8rem;
                font-size: 1rem;
            }
        }

        @media (max-width: 992px) {
            .auth-form-label {
                width: 7rem;
                font-size: 1rem;
            }
            
            .auth-form-input {
                font-size: 1rem;
                height: 3rem;
            }
            
            .auth-form-btn {
                width: 7rem;
                height: 3.25rem;
            }
        }






@media (max-width: 768px) {
    .mobile-button{
        display: flex;
        width: 100%;
        height: 60px;
    }

    .pc-button{
        display: none;
    }

    .section-main-text-container{
        margin: 0;
    }

    .section-begin-form-text{
        font-weight: 400;
        text-align: center;
    }

    .section-begin-form-text-bottom{
        font-weight: 400;
        text-align: center;
    }

    .advantage-container{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 90%;
        margin-top: 2rem;
    }

    .mail-buttons{
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .auth-form-horizontal{
        flex-direction: column;
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .auth-form-group{
        width: 100%;
        max-width: 100%;
    }

    .auth-form-btn{
        width: 100%;
        max-width: 100%;
    }

    .auth-form-actions{
        width: 100%;
        max-width: 100%;
    }
}

 @media (max-width: 824px){
        /* Футер */
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }
        .footer {
        height: 185px;
    }

    .mail{
    font-family: Tahoma;
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
    margin-top: 2rem;
}

    .socials {
        justify-content: center !important;
       padding-right: 0 !important;
    }

        .mail a {
        padding-left: 0 !important;
        font-size: 1.5rem !important;
        text-align: center;
        display: block;
    }

}


@media (max-width: 768px) {
    /* Общие стили для секций */
    .section-begin {
        background-image: none !important;
        height: auto;
        padding: 1.5rem 0rem !important;
        margin: 0 !important;
        width: 100% !important;
    }

    .section-begin{
        margin-bottom: 1rem !important;
    }

    /* Заголовок */
    .header {
        height: 113px;
    }

    /* Контент секций */
    .section-begin-content {
        margin: 0rem;
        margin-bottom: 2rem !important;
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    /* Текст */
    .section-begin-text-main{
        margin: 0 0 0.5rem 0 !important;
    }
    .section-begin-text {
        font-family: Montserrat;
        font-weight: 700;
        font-size: 36px;
        gap: 0.5rem;
        text-align: center;
        text-transform: uppercase;
        width: 100%;
        margin-bottom: 1rem;
    }
}