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

:root {
    --main-red: #C8102E;
    --main-black: #000;
    --main-white: #FFF;

    --main-gray: #AAAFBD;
    --main-beige: #FFD8B4;
    --main-white-bg: #F8F8F833;
    --main-white-bg-min: #F8F8F80D;
    --main-gray-bg: #ADADAD33;
    --main-gray-line: #D8DEED33;
    --main-gray-bg-mod: #F8F8F8;
    
    --main-gradient: linear-gradient(141.39deg, rgba(255, 255, 255, 0) 16.79%, rgba(239, 239, 239, 0.119039) 49.26%, rgba(234, 234, 234, 0.2) 59.15%, rgba(228, 228, 228, 0.2) 94.77%),
    linear-gradient(0deg, #C8102E, #C8102E),
    linear-gradient(93.46deg, rgba(200, 16, 46, 0.2) 8.97%, rgba(255, 255, 255, 0.2) 42.29%, rgba(255, 255, 255, 0.188) 59.57%, rgba(255, 255, 255, 0) 84.96%);

    --video-btn-size: 107px;
    --video-btn-icon-size: 43px;
    --video-btn-bg-opacity: 0.5;
    --video-btn-hover-opacity: 0.9;
    --video-icon-color: #ffffff;
}

@font-face {
    font-family: 'Bebas Neue Cyrillic';
    src: url('../fonts/BebasNeueCyrillic-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Sans Condensed';
    src: url('../fonts/IBMPlexSansCondensed-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Sans Condensed';
    src: url('../fonts/IBMPlexSansCondensed-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Sans Condensed';
    src: url('../fonts/IBMPlexSansCondensed-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Sans Condensed';
    src: url('../fonts/IBMPlexSansCondensed-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Racama';
    src: url('../fonts/Racama.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

button {
    font-family: 'IBM Plex Sans Condensed', sans-serif;
    font-weight: 400 !important;
}

h2 {
    font-family: 'Bebas Neue Cyrillic', sans-serif;
    font-weight: 400 !important;
}

h4 {
    font-family: 'IBM Plex Sans Condensed', sans-serif;
    font-weight: 700 !important;
}

h5 {
    font-family: 'IBM Plex Sans Condensed', sans-serif;
    font-weight: 600 !important;
}

p {
    font-family: 'IBM Plex Sans Condensed', sans-serif;
    font-weight: 400 !important;
}

span {
    font-family: 'IBM Plex Sans Condensed', sans-serif;
    font-weight: 400 !important;
}

body {
    font-family: 'IBM Plex Sans Condensed', sans-serif;
    font-weight: 400 !important;
}

body.menu-open {
    overflow: hidden;
    touch-action: none; 
    -ms-touch-action: none;
}

section {
    input {
        width: 458px;
        border: 1px solid var(--main-white);
        color: var(--main-white);
        border-radius: 40px;
        padding: 10px 18px;

        background: rgba(248, 248, 248, 0.2);
        outline: none;
    }
    input::placeholder {
        color: var(--main-gray);
    }
    input[type="number"]::-webkit-outer-spin-button,
    input[type="number"]::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    input[type="number"] {
        -moz-appearance: textfield;
    }
    .white-btn {
        padding: 4px 6px 4px 23px;
        background: var(--main-white);
        display: flex;
        align-items: center;
        justify-content: center;
        column-gap: 10px;
        border-radius: 100px;
        cursor: pointer;

        font-size: 18px;

        font-family: 'IBM Plex Sans Condensed', sans-serif;

        b {
            width: 32px;
            height: 32px;
            border-radius: 100px;
            background: #000;
            display: flex;
            align-items: center;
            justify-content: center;

            img {
                width: 20px;
                height: 20px;
            }
        }

        border: none;
    }

    .white-btn:hover {
        b {
            background: var(--main-gray);
        }
    }

    .white-btn:disabled {
        background: #AAAFBD;
        color: var(--main-black);
        cursor: not-allowed;
    }

    .white-btn:disabled b {
        background: var(--main-white);
    }

    .white-btn:disabled b img {
        filter: invert(50%) brightness(100%);
        transform: rotate(-90deg);
    }

    .white-btn:disabled:hover {
        background: var(--main-gray);
    }

    .black-btn {
        padding: 4px 6px 4px 23px;
        background: var(--main-black);
        display: flex;
        align-items: center;
        justify-content: center;
        column-gap: 10px;
        border-radius: 100px;
        color: var(--main-white);
        cursor: pointer;

        font-size: 18px;

        b {
            width: 32px;
            height: 32px;
            border-radius: 100px;
            background: #fff;
            display: flex;
            align-items: center;
            justify-content: center;

            img {
                width: 20px;
                height: 20px;
                filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(180deg);
            }
        }

        border: none;
    }

    .black-btn:hover {
        background: var(--main-white);
        color: var(--main-black);
        b {
            background: var(--main-black);
            img {
                filter: none;
            }
        }
    }
}

    .gradient-btn {
        background: var(--main-red);
        border: 1px solid var(--main-white);
        border-radius: 80px;
        padding: 20px 30px;

        font-size: 22px;
        font-weight: 400 !important;
        color: var(--main-white);
        cursor: pointer;
        position: relative;
        z-index: 0;
    }

    .gradient-btn::before {
        content: '';
        position: absolute;
        inset: 0;
      
        background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
        background-size: 200% 100%;
        border-radius: inherit;
      
        animation: shine 2s infinite;
      
        pointer-events: none;
        z-index: -1;
    }

    .gradient-btn:hover::before {
        animation: none;
    }
        
    .gradient-btn:hover {
        border: 1px solid var(--main-red);
        background: var(--main-white);
        color: var(--main-red);
    }

@keyframes arrowBounce {
    0%, 100% { 
        transform: translateY(0);
     }
    50% { 
        transform: translateY(-10px);
     }
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes shine {
    0% { background-position: -100% 0; }
    100% { background-position: 100% 0; }
}

@keyframes gradientFade {
    0% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

video::-webkit-media-controls {
    display: none !important;
}

video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

label[class~=error] {
    display: none !important;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 24px 45px;

    .header-inner {
        display: flex;
        column-gap: 20px;
        border-radius: 40px;
        border: 1px solid var(--main-gray);
        padding: 10px 18px;

        span {
            padding: 6px 10px;
        }

        a {
            text-decoration: none;
            color: var(--main-black);
        }
    }

    .header-logo.first {
        width: 231px;
        height: 90px;

        img {
            width: 100%;
            height: 100%;
        }
    }
    .header-logo.second {
        width: 167px;
        height: 52px;

        img {
            width: 100%;
            height: 100%;
            filter: invert(1);
        }
    }
}

.header-title {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 75px 0;

    h1 {
        width: 554px;
        text-align: center;
        font-size: 72px;
        font-family: "Bebas Neue Cyrillic";
    }
}

.container {
    width: 100%;
    padding: 24px 0;
    margin: 0 auto;
    max-width: 1392px;
}

.container.outside {
    ul {
        padding-left: 15px;
    }
    
    ol {
        padding-left: 15px;
    }
}

.first-block {
    width: 100%;
    height: 893px;
    overflow: hidden;
    position: relative;
    border-radius: 60px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.first-block.desktop {
        display: block;
    }

.first-block.tablet {
    display: none;
}

.sections {
    padding: 24px;
    display: flex;
}

.mobile-burger-menu {
    display: none;
}

/* Верхний слой */
.top-layer-doctors {
    top: 0;
    position: absolute;
    z-index: 10;
    left: 48%;
    transform: translateX(-50%);
}

.top-layer-line {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    position: absolute;
    z-index: 20;
    border-radius: 0 0 60px 60px;
    backdrop-filter: blur(10px);
}

/* Левая часть */
.left-section {
    width: 50%;
}

.left-section__logo {
    width: 231px;
    height: 90px;
}

.left-section__title,
.right-section__title {
    max-width: 402px;
    margin: 85px 0 0;
    font-size: 110px;
    font-weight: normal;
    text-transform: uppercase;
    font-family: 'Bebas Neue Cyrillic', sans-serif;
}

.left-section__desc,
.right-section__desc {
    max-width: 330px;
    font-size: 22px;
    color: var(--main-gray);
}

.async-format-block,
.live-vebinar-block {
    margin: 26px 38px 0 0;
    display: flex;
}

.async-format,
.live-vebinar {
    max-width: 207px;
    box-sizing: border-box;
    font-size: 14px;
    padding: 10px 10px;
    text-align: center;
    border-radius: 40px;
}

.async-format-icon-block,
.live-vebinar-icon-block {
    width: 40px;
    display: flex;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: var(--main-black);
}

.async-format-icon,
.live-vebinar-icon {
    width: 24px;
}


/* Правая часть */
.right-section {
    width: 50%;
    display: flex;
    color: var(--main-white);
    align-items: end;
    flex-direction: column;
}

.right-section__logo {
    margin: 18px;
    width: 167px;
    height: 52px;
}

.right-section__title {
    margin: 209px 0 0;
    max-width: 463px;
}

.right-section__desc {
    max-width: 300px;
    color: var(--main-white);
}

.live-vebinar {
    max-width: 253px;
    border-color: var(--main-white);
}

.live-vebinar-icon-block {
    background: var(--main-white);
    color: var(--main-black);
}

.live-vebinar-icon {
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(180deg);
}

.menu-tablet,
.menu {
    z-index: 20;
    font-size: 16px;
    display: flex;
    margin: 10px auto 0;
    max-width: 608px;
    border-radius: 40px;
    position: absolute;
    bottom: 65px;
    left: 31%;
    column-gap: 32px;
    padding: 9px 28px;
    box-sizing: border-box;
    background: var(--main-white);
    backdrop-filter: blur(6px);
    border: 1px solid var(--main-white);

    .menu-item {
        position: relative;
        cursor: pointer;
        padding: 6px 5.5px;
        border-radius: 20px;
        border: 1px solid transparent;

        overflow: hidden;
        z-index: 1;
    }
    
    .menu-item:hover {
        border: 1px solid var(--main-red);
    }

    .menu-item::after {
        content: '';
        position: absolute;
        inset: 0; 
        border-radius: 50%;
        width: 45px;
        height: 45px;
        left: 60%;
        top: -10px;
        
        background: rgba(200, 16, 46, 1);
        
        filter: blur(20px);
        
        box-shadow: 4px 3px 14px 3px rgb(255, 216, 180);
        
        opacity: 0;
        transition: opacity 0.3s ease, transform 0.3s ease;
        z-index: -1;
        animation: circleOne 8s linear infinite;
    }

    .menu-item::before {
        content: '';
        position: absolute;
        inset: 0; 
        border-radius: 50%;
        width: 45px;
        height: 45px;
        left: 5%;
        top: -10px;
        
        background: rgba(200, 16, 46, 1);
        
        filter: blur(20px);
        
        box-shadow: 4px 3px 14px 3px rgb(255, 216, 180);
        
        opacity: 0;
        transition: opacity 0.3s ease, transform 0.3s ease;
        z-index: -1;
        animation: circleTwo 8s linear infinite;
    }

    .menu-item:hover::before {
        opacity: 1;
    }

    .menu-item:hover::after {
        opacity: 1;
    }
}

@keyframes circleOne {
    0%   { top: -10px; left: 5%; }
    25%  { top: -10px; left: 65%; }
    50%  { top: 20px;  left: 65%; }
    75%  { top: 20px;  left: 5%; }
    100% { top: -10px; left: 5%; }
}

@keyframes circleTwo {
    0%   { top: 20px;  left: 65%; }
    25%  { top: 20px;  left: 5%; }
    50%  { top: -10px; left: 5%; }
    75%  { top: -10px; left: 65%; }
    100% { top: 20px;  left: 65%; }
}

.order-inner  {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    row-gap: 40px;
}

.order-icon {
    margin-top: -90px;
    z-index: 20;
    position: relative;

    width: 100px;
    height: 100px;
    border-radius: 10000px;
    background: var(--main-red);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;

    img {
        width: 43.8px;
        height: 43.8px;
        animation: arrowBounce 1s infinite;
        position: relative;
        z-index: 2;
    }
}

.order-icon::before {
    content: '';
    position: absolute;
    inset: 0;
  
    background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    border-radius: inherit;
  
    animation: gradientFade 0.7s ease-in-out infinite alternate;
  
    pointer-events: none;
    z-index: 1;
}

.order-btn {
    button {
        background: var(--main-gradient);
        border: 1px solid var(--main-white);
        border-radius: 80px;
        padding: 20px 30px;

        font-size: 22px;
        font-weight: 400 !important;
        color: var(--main-white);

        position: relative;
        z-index: 0;
    }

    button::before {
        content: '';
        position: absolute;
        inset: 0;
      
        background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
        background-size: 200% 100%;
        border-radius: inherit;
      
        animation: shine 2s infinite;
      
        pointer-events: none;
        z-index: -1;
    }

    button:hover::before {
        animation: none;
    }
}

.how-it-works-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.how-it-works-text {
    width: 496px;

    text-transform: uppercase;
    color: var(--main-black);

    h2 {
        font-size: 110px;
    }

    margin-right: 88px;
}

.how-it-works-content {
    width: 745px;
    height: 420px;
    display: flex;
    justify-content: center;
    align-items: center;

    iframe {
        width: 100%;
        height: 100%;
        border: none;
        border-radius: 60px;
    }
}

.check-quality-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    padding: 59px 0;

    background-size: cover;
    border-radius: 60px;
    position: relative;
    overflow: hidden;
}

.check-quality-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: 0;
}

.check-quality-title {
    display: flex;
    flex-direction: column;

    text-align: center;
    color: var(--main-white);
    text-transform: uppercase;

    h2 {
        font-size: 110px;
    }

    .check-quality-span {
        font-family: 'Bebas Neue Cyrillic', sans-serif;
        color: var(--main-beige);
    }

    .check-quality-description {
        margin-top: 24px;
        font-size: 28px;
    }
}

.check-quality-form {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    row-gap: 15px;
    align-items: center;

    .check-quality-field {
        display: flex;
        flex-direction: column;
        gap: 10px;

        label {
            color: var(--main-white);
            font-family: 'IBM Plex Sans Condensed', sans-serif;
            font-size: 15px;
        }
    }
}

.check-quality-title,
.check-quality-form {
    position: relative;
    z-index: 1;
}

.check-quality-btn {
    margin-top: 15px;
}

.results-title {
    text-align: center;
    color: var(--main-black);
    font-size: 70px;
    text-transform: uppercase;

    span {
        font-family: 'Bebas Neue Cyrillic', sans-serif;
        color: var(--main-red);
    }
}

.results-cards {
    margin-top: 50px;
    display: flex;
    column-gap: 27px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    touch-action: pan-x;

    &.is-dragging {
        scroll-snap-type: none;
        scroll-behavior: auto;
        cursor: grabbing;
        user-select: none;
    }

    &::-webkit-scrollbar {
        display: none;
    }
}

.results-card {
    flex-shrink: 0;
    scroll-snap-align: start;
    border-radius: 30px;
    border: 1px solid var(--main-white);
    background: var(--main-black);

    padding: 24px 34px;

    display: flex;
    flex-direction: column;

    .results-card-title {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .results-card-icon {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 62px;
        height: 62px;
        border-radius: 100px;
        background: var(--main-beige);

        img {
            width: 37.2px;
            height: 37.2px;
            filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(180deg);
        }
    }

    .results-card-desc {
        width: 376px;
        margin-top: 24px;
        color: var(--main-white);
        
        h4 {
            font-weight: 700 !important;
            font-size: 32px;
        }

        p {
            margin-top: 10px;
            font-size: 14px;
        }
    }
}

.ai-assistant-inner {
    padding: 27px 0;
    border-radius: 60px;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    color: var(--main-white);

    display: flex;
    flex-direction: column;
    align-items: center;

    .ai-assistant-title {
        text-align: center;
        margin-top: 33px;
        h2 {
            font-size: 110px;
            text-transform: uppercase
        }

        h5 {
            margin-top: 40px;
            font-size: 36px;
        }
    }

    .ai-assistant-list {
        display: flex;
        justify-content: space-between;
        width: 884px;
        margin-top: 55px;
    }

    .ai-assistant-points {
        display: flex;
        flex-direction: column;
        row-gap: 20px;

        .ai-assistant-point {
            width: 400px;

            display: flex;
            align-items: flex-start;
            justify-content: space-between;

            h5 {
                font-size: 36px;
                margin-right: 20px;
                margin-top: -6px;
            }

            p {
                font-size: 16px;
                font-weight: 400 !important;

                span {
                    font-weight: 600 !important;
                    font-size: 18px;
                }
            }
        }
    }
    
    .ai-assistant-subtitle {
        margin-top: 55px;
        text-align: center;
        font-size: 32px;
        font-weight: 600 !important;
    }
}

.course-inner {
    border-radius: 60px;
    padding: 40px 50px;
    position: relative;
    overflow: hidden;

    .course-title {
        margin-top: 20px;
        text-align: center;
        font-size: 68px;
        font-weight: 400 !important;
        color: var(--main-white);
        position: relative;
        z-index: 1;
    }

    .course-cards {
        margin-top: 55px;
        display: flex;
        column-gap: 20px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        touch-action: pan-x;
        position: relative;
        z-index: 1;

        &.is-dragging {
            scroll-snap-type: none;
            scroll-behavior: auto;
            cursor: grabbing;
            user-select: none;
        }

        &::-webkit-scrollbar {
            display: none;
        }

        .course-card {
            width: 417px;
            height: 352px;
            scroll-snap-align: start;
            border-radius: 30px;
            border: 1px solid var(--main-white);
            background: var(--main-black);
            row-gap: 40px;
            transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    
            padding: 24px 34px;
    
            display: flex;
            flex-direction: column;
            justify-content: space-between;
    
            .course-card-title {
                display: flex;
                align-items: center;
                justify-content: flex-end;
            }
    
            .course-card-icon {
                display: flex;
                align-items: center;
                justify-content: center;
    
                width: 62px;
                height: 62px;
                border-radius: 100px;
                background: var(--main-white);
                transition: background 0.3s ease;
    
                img {
                    width: 37.2px;
                    height: 37.2px;
                    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(180deg);
                    transition: filter 0.3s ease, transform 0.3s ease;
                }
            }
    
            .course-card-desc {
                width: unset;
                margin-top: 24px;
                color: var(--main-white);
                display: flex;
                flex-direction: column;
                height: 100%;
                transition: color 0.3s ease;
                
                h4 {
                    display: flex;
                    align-items: flex-end;
                    justify-content: flex-start;
                    font-weight: 600 !important;
                    font-size: 32px;
                    height: 82px;
                }
    
                p {
                    margin-top: 10px;
                    font-size: 20px;
                }
            }

            &:hover {
                background: var(--main-white);
                border-color: var(--main-black);

                .course-card-desc {
                    color: var(--main-black);
                }

                .course-card-icon {
                    background: var(--main-black);

                    img {
                        filter: none;
                    }
                }
            }
        }
        .course-card.white{
            background: var(--main-white);

            .course-card-desc {
                color: var(--main-black);
            } 

            .course-card-icon {
                background: var(--main-black);

                img {
                    filter: none;
                }
            }

            &:hover {
                background: var(--main-black);
                border-color: var(--main-white);

                .course-card-desc {
                    color: var(--main-white);
                }

                .course-card-icon {
                    background: var(--main-white);

                    img {
                        filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(180deg);
                    }
                }
            }
        }
    }
}

.course-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: 0;
    border-radius: 60px;
}

.form {
    background-repeat: no-repeat;
    background-size: cover;

    .form-inner {
        padding: 52px 50px;

        display: flex;
        justify-content: space-between;

        .form-title {
            text-align: center;
            font-size: 52px;
            text-transform: uppercase;

            color: var(--main-white);

            span {
                font-family: 'Bebas Neue Cyrillic', sans-serif;
                color: var(--main-red);
            }

            .form-title-beige {
                color: var(--main-beige);
                
            }

            .form-arrow-icon {
                display: inline-block;
                width: 64px;
                height: 64px;
                background-color: #FFD8B4;
            }
        }

        .form-content {
            background-color: var(--main-white-bg-min);
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 40px 25px;
            border-radius: 30px;
            border: 2px solid var(--main-white);

            input {
                width: 394px;
            }

            #agreement {
                width: 20px;
                height: 20px;
                padding: 0;
                appearance: none;
                -webkit-appearance: none;
                -moz-appearance: none;
                background-color: transparent;
                border: 1px solid var(--main-white);
                border-radius: 5px;
                margin-top: 3px;
                cursor: pointer;
                position: relative;
                transition: all 0.3s ease;
            }

            #agreement:checked {
                border-color: var(--main-white);
            }

            #agreement:checked::after {
                content: '✓';
                position: absolute;
                top: 48%;
                left: 49%;
                transform: translate(-50%, -50%);
                color: var(--main-white);
                font-size: 14px;
                font-weight: bold;
            }

            #agreement:hover {
                border-color: var(--main-white);
            }

            #agreement:focus {
                outline: none;
                box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
            }

            .form-contact-checkbox {
                display: flex; 
                align-items: flex-start;
                gap: 10px; 
                margin-top: 15px;

                label {
                    font-size: 12px; 
                    color: var(--main-gray); 
                    cursor: pointer; 
                    line-height: 1.4;
                    width: 360px;

                    a {
                        color: var(--main-red); 
                        text-decoration: underline;
                    }
                }
            }

            row-gap: 15px;

            .form-btn {
                margin-top: 10px;
            }
        }
    }
}

.course-program-inner {
    display: flex;
    flex-direction: column;
    align-items: center;

    .course-program-title {
        margin-top: 30px;
        width: 100%;
        display: flex;
        justify-content: space-evenly;
        align-items: flex-end;

        .title-text {
            text-align: center;
            color: var(--main-black);

            h2 {
                font-size: 110px;
                text-transform: uppercase;
            }
            p {
                margin-top: 24px;
                font-size: 32px;
                font-weight: 400 !important;
            }
        }
        .empty {
            width: 167px;
            height: 52px;
        }
        .course-program-logo {
            width: 195px;
            height: 76px;
            margin-bottom: 20px;

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

    .course-program-list {
        margin-top: 40px;
        border-radius: 60px;
        background: var(--main-gray-bg-mod);
        padding: 50px 73px;

        .course-program-module {
            border-radius: 10px;
            /* border-top: 1px solid var(--main-gray-line); */
            border-bottom: 1px solid var(--main-gray-line);
            width: 1246px;
        }

        .module-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
            /* background: var(--main-gray-bg); */
            cursor: pointer;
            transition: background 0.3s;

            .module-title {
                display: flex;
                column-gap: 40px;
                align-items: center;

                .module-title-text {
                    font-weight: 500 !important;
                    font-size: 24px;
                    color: var(--main-black);
                }
            }

            .module-number {
                padding: 12px 26.5px;
                border-radius: 100px;
                font-size: 18px;
                color: var(--main-white);
                background-color: var(--main-black);
            }
        }

        .toggle-btn {
            position: relative;
            width: 40px;
            height: 40px;
            background: none;
            border: none;
            cursor: pointer;
            color: var(--main-black);
            filter: invert(1);
            padding: 0;
        }

        .toggle-btn .icon {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 100%;
            height: 100%;
            max-width: 24px;
            max-height: 24px;
            transform: translate(-50%, -50%) scale(1);
            transform-origin: center center;
            transition: transform 0.25s ease, opacity 0.25s ease;
            opacity: 1;
        }

        .toggle-btn .icon-plus {
            transform: translate(-50%, -50%) scale(1, 1);
            opacity: 1;
        }

        .toggle-btn .icon-minus {
            transform: translate(-50%, -50%) scale(0.75, 0.2);
            opacity: 0;
        }

        .toggle-btn.open .icon-plus {
            transform: translate(-50%, -50%) scale(0.75, 0.2);
            opacity: 0;
        }

        .toggle-btn.open .icon-minus {
            transform: translate(-50%, -50%) scale(1, 1);
            opacity: 1;
        }

        .lessons-list {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            padding: 10px 20px;
            /* border-bottom: 1px solid var(--main-gray-line); */

            .lessons-title {
                padding: 15px 15px 15px 150px;
                display: flex;
                column-gap: 250px;
                align-items: center;
                border-bottom: 1px solid var(--main-gray-line);

                span {
                    font-size: 18px;
                    color: var(--main-gray);
                }
            }

            .lesson-item {
                position: relative;
                display: flex;
                align-items: center;
                gap: 195px;
                padding-left: 150px;
                border-bottom: 1px solid var(--main-gray-line);
                padding-bottom: 20px;
                padding-top: 20px;

                .lesson-number {
                    flex: 0 0 90px;
                    max-width: 90px;
                    font-size: 18px;
                    color: var(--main-black);
                    font-weight: 500 !important;
                }

                .lesson-title {
                    max-width: 300px;
                    font-size: 18px;
                    color: var(--main-black);
                    font-weight: 500 !important;
                }

                .lesson-icon {
                    position: absolute;
                    right: 140px;
                    z-index: 10;

                    width: 185px;
                    height: 165px;
                    border-radius: 20px;
                    object-fit: contain;
                    opacity: 0;
                    animation: lessonImageDissolve 0.3s ease forwards;
                }

                &:last-child {
                    padding-bottom: 20px;
                    border-bottom: none;

                    .lesson-icon {
                        top: -105px;
                    }
                }
                @media (hover: hover) {
                    &:hover .lesson-icon {
                        opacity: 1;
                        visibility: visible;
                        transform: translateY(0) rotate(-9.66deg);
                        box-shadow: -29px -10px 0px rgba(0, 0, 0, 1);
                    }
                }
            }

            @keyframes lessonImageDissolve {
                from {
                    opacity: 0;
                    transform: translateY(-6px);
                }
                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }
        }

        .lessons-list.open {
            max-height: 1200px;
        }
    }

    .lesson-item .lesson-icon {
        flex: 0 0 185px;
        width: 185px;
        height: 165px;
        object-fit: cover;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-6px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    }

    @keyframes lessonImageDissolve {
        from {
            opacity: 0;
            transform: translateY(-6px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .course-program-btn {
        margin-top: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        
        button {
            font-size: 24px;

            padding: 16px 20px;
        }
    }

    .course-program-info {
        margin-top: 40px;
        padding: 0px 80px;

        display: flex;
        justify-content: center;
        align-items: center;
        column-gap: 90px;

        .vert-line {
            width: 2px;
            height: 217px;
            background-color: var(--main-gray-line);
            margin: 0 10px;
        }

        .info-column {
            text-align: center;
            width: 158px;

            h3 {
                font-family: 'Racama', sans-serif;

                font-size: 96px;
            }
            p {
                font-size: 24px;
                color: var(--main-gray);
            }
        }

        @media (hover: hover) {
            .info-column:hover {
                transform: scale(1.3);
                transition: all 0.5s ease;
            }
        }
    }
}

.members-inner {
    display: flex;
    flex-direction: column;
    padding: 0 0 60px 48px;

    .members-title {
        text-align: center;
        font-size: 72px;
        text-transform: uppercase;
        color: var(--main-black);
    }

    .members-list {
        display: flex;
        column-gap: 40px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        touch-action: pan-x;
        cursor: grab;
        margin-top: 50px;
        padding-right: 40px;

        &.is-dragging {
            scroll-snap-type: none;
            scroll-behavior: auto;
            cursor: grabbing;
            user-select: none;
        }

        .members-card {
            flex-shrink: 0;
            scroll-snap-align: start;
            width: 372px;
            height: 495px;
            display: flex;
            align-items: flex-end;
            justify-content: center;
            border-radius: 20px;
            padding: 0px 32px;

            background-color: var(--main-gray-bg-mod);
            background-repeat: no-repeat;
            background-size: cover;
            background-position: bottom;

            .members-card-desc {
                background-color: var(--main-white);
                width: 308px;
                height: 126px;
                padding: 14px;
                border-radius: 15px;
                margin-bottom: 30px;
                display: flex;
                flex-direction: column;

                h4 {
                    font-size: 24px;
                    font-weight: 400 !important;
                }

                p {
                    margin-top: auto;
                    font-size: 14px;
                    color: var(--main-gray);
                }
            }
        }

        &::-webkit-scrollbar {
            display: none;
        }
    }
}

.documents-inner {
    background-color: #F6F6F6;
    border-radius: 60px;
    padding: 40px 50px;

    .documents-title {
        margin-top: 20px;
        text-align: center;
        font-size: 96px;
        font-weight: 400 !important;
        text-transform: uppercase;
        color: var(--main-black);

        span {
            font-family: 'Bebas Neue Cyrillic', sans-serif;
            color: var(--main-red);
        }
    }

    .documents-imgs.tablet {
        display: none;
    }

    .documents-imgs {
        display: flex;
        column-gap: 50px;
        margin-top: 50px;
        justify-content: space-between;
        align-items: flex-end;

        .documents-logo {
            width: 130px;
            height: 50px;

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

        .documents-logo.invert {
            img {
                filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(180deg);
            }
        }

        .documents-svid {
            width: 360px;
            height: 515px;
            position: relative;
            overflow: hidden;

            img {
                width: 100%;
                height: 100%;
                display: block;
                transition: transform 0.3s ease;
            }
        }

        @media (hover: hover) {
            .documents-svid:hover {
                position: relative;
                z-index: 5;
                transform: scale(1.50);
                transition: ease-in-out 0.3s;
            }
        }

        .documents-svid.is-first::after {
            content: '';
            position: absolute;
            inset: 0;
            border: 4px solid #000;
            pointer-events: none;
        }
    }
}

.documents .documents-svid img {
    cursor: pointer;
}

.documents-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.documents-lightbox.is-open {
    display: flex;
}

.documents-lightbox-backdrop {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.documents-lightbox-panel {
    position: relative;
    z-index: 1;
    width: 540px;
    max-width: calc(100vw - 48px);
    height: 772px;
    max-height: calc(100vh - 48px);
    flex-shrink: 0;
    pointer-events: none;
}

.documents-lightbox-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    pointer-events: auto;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}

.contact-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.contact-modal.is-open {
    display: flex;
}

.contact-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.contact-modal-panel {
    position: relative;
    z-index: 1;
    width: 480px;
    max-width: calc(100vw - 48px);
    height: 378px;
    max-height: calc(100vh - 48px);
    background: white;
    border-radius: 18px;
    padding: 50px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    h4 {
        font-size: 24px;
        font-weight: 500 !important;
        margin-top: 33px;
    }

    a {
        color: #2094F9;
        font-weight: 500 !important;
        font-size: 18px;
        text-decoration: none;
    }

    .contact-modal-contacts {
        margin-top: 10px;
        display: flex;
        justify-content: center;
        column-gap: 20px;

        a {
            color: var(--main-gray);
            font-weight: 400 !important;
            font-size: 16px;
            text-decoration: none;
        }

        .modal-contact {
            display: flex;

            .contact-icon {
                margin-right: 8px;
            }

            .contact-icon.phone{
                width: 20px;
                height: 20px;
                margin-right: 8px;
                background-color: var(--main-gray);
                border-radius: 50%;

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

                img {
                    width: 80%;
                    height: 80%;
                }
            }
        }
    }
}

.contact-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;

    img {
        width: 100%;
        height: 100%;
        filter: invert(50%) sepia(100%) saturate(0%) hue-rotate(180deg);
    }
}

.success-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.success-modal.is-open {
    display: flex;
}

.success-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 18px;

    h3 {
        font-family: "Bebas Neue Cyrillic", sans-serif;
        font-size: 44px;
        text-align: center;
    }

    p {
        font-size: 12px;
        font-family: "IBM Plex Sans Condensed", sans-serif;
        text-align: center;
    }

    .gradient-btn {
        padding: 12px 30px;

        font-size: 16px;
    }
}

.success-modal-panel {
    position: relative;
    z-index: 1;
    width: 480px;
    max-width: calc(100vw - 48px);
    height: 464px;
    max-height: calc(100vh - 48px);
    background: white;
    border-radius: 18px;
    padding: 16px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);

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

    .success-img {
        width: 371px;
        height: 200px;

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

.documents-lightbox-close {
    position: absolute;
    top: -30px;
    right: -30px;
    z-index: 2;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.documents-lightbox-close img {
    display: block;
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

.join-us {
    position: relative;

    height: 887px;
    background-repeat: no-repeat;
    background-size: cover;
}

.join-us-inner {
    display: flex;
    justify-content: flex-end;
    margin-right: 30px;

    .join-us-doctor {
        position: absolute;
        bottom: -4px;
        left: 0;

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

    .join-us-content {
        text-align: center;

        .join-us-price {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .join-us-price-after {
            display: flex;
            flex-direction: column;
            margin-right: 20px;

            p {
                margin-top: 20px;
                font-size: 36px;
                color: var(--main-white);
                text-align: left;

            }

            h3 {
                font-family: 'Bebas Neue Cyrillic', sans-serif;

                color: var(--main-white);
                font-size: 128px;
                display: flex;
                align-items: center;
                height: 120px;
                font-weight: 400;

                span {
                    font-family: 'Bebas Neue Cyrillic', sans-serif;
                    font-size: 72px;
                }
            }
        }

        .join-us-price-before {
            display: flex;
            flex-direction: column;

            .old-price {
                    font-size: 32px;
                    color: var(--main-gray);
                    text-decoration: line-through var(--main-red);
                    margin-top: 90px;
                    font-family: 'Bebas Neue Cyrillic', sans-serif;
                    margin-bottom: -20px;
                    margin-right: -35px;
                }

            .ruble-icon {
                font-size: 88px;
                color: var(--main-white);
            }
        }

        h2 {
            margin-top: 33px;
            font-size: 110px;
            text-transform: uppercase;
            color: var(--main-white);

            span {
                font-family: 'Bebas Neue Cyrillic', sans-serif;
                color: var(--main-beige);
            }
        }

        .join-us-btn {
            margin-top: 55px;

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

            button {
                padding: 21.5px 74px;
            }
        }
    }
}

@supports (-webkit-appearance: none) {
    .join-us-price-after p {
        margin-bottom: 20px !important;
    }
}

footer {
    background: #1E1E21;
}

.footer-inner.tablet {
    display: none;
}

.footer-inner.mobile {
    display: none;
}

.footer-inner {
    padding: 20px 30px;
    color: var(--main-white);

    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    .footer-logos {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        row-gap: 24px;

        .footer-logo1 {
            height: 62px;
            width: 160px;

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

        .footer-logo2 {
            height: 35px;
            width: 112px;

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

    .footer-contacts {
        display: flex;
        flex-direction: column;
        row-gap: 11px;

        .contacts-content {
            display: flex;
            align-items: center;
            column-gap: 50px;
        }

        a {
            text-decoration: underline;
            color: var(--main-white);
        }
    }

    .footer-politics {
        width: 162px;
        display: flex;
        flex-direction: column;
        row-gap: 20px;

        a {
            color: var(--main-white);
            text-decoration: none;
        }
    }

    .footer-info {
        width: 217px;
        a {
            color: var(--main-white);
        }
    }

    .footer-rights {
        width: 183px;
    }
}

.show-in-desktop {
        display: block;
    }

.show-in-mobile {
    display: none;
}

.countdown-banner {
    background: #C8102E;
    color: #FFFFFF;
    padding: 20px 0;
}

.countdown-banner-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 1398px;
    margin: 0 auto;
    padding: 0 20px;
}

.countdown-banner-text {
    font-size: 52px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    font-family: "Bebas Neue Cyrillic", sans-serif;
}

.countdown-banner-timer {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.countdown-value {
    font-size: 52px;
    font-weight: 400 !important;
    font-family: "Bebas Neue Cyrillic", sans-serif !important;
}

.countdown-item.days {
    margin-right: 60px;
}

.countdown-label {
    font-size: 36px;
    font-family: "Bebas Neue Cyrillic", sans-serif !important;
    font-weight: 400 !important;
}

.countdown-label.dots {
    font-size: 52px;
    margin: 0 8px;
}

@media (max-width: 1461px) {
    .container {
        max-width: 1392px;
    }
}

/* Адаптивность для экранов шириной 960px и меньше */
@media (max-width: 981px) {
    .container {
        max-width: 912px;
    }

    .show-in-desktop {
        display: none;
    }

    .show-in-mobile {
        display: block;
    }

    .sections {
        padding: 15px;
    }

    .white-btn:disabled b img {
        transform: none !important;
    }

    header {
        padding: 24px;

        .header-logo.first {
            width: 165px;
            height: 65px;
        }

        .header-inner {
            column-gap: 8px;
            padding: 5px 10px;

            span {
                padding: 6px 8px;
                font-size: 14px;
            }
        }

        .header-logo.second {
            width: 125px;
            height: 50px;
        }
    }

    .first-block {
        height: 746px;
        border-radius: 40px;
    }

    .top-layer-doctors {
        left: 50%;
        height: 100%;
    }

    .top-layer-line {
        display: none;
    }

    .left-section__logo {
        width: 143px;
        height: 56px;
    }

    .left-section__title {
        position: relative;
        z-index: 30;
        font-size: 72px;
        max-width: 200px;
        margin: 171px -10px 0 0;
    }

    .left-section__desc {
        position: relative;
        z-index: 30;
        font-size: 16px;
        max-width: 230px;
        margin-top: 32px;
    }

    .right-section__logo {
        width: 124px;
        height: 39px;
    }

    .right-section__title {
        font-size: 72px;
        max-width: 200px;
        margin: 167px 23px 0 0px;
    }

    .right-section__desc {
        font-size: 16px;
        max-width: 170px;
        margin-right: 15px;
    }

    .live-vebinar {
        z-index: 30;
    }

    .menu {
        bottom: 42px;
        left: 20%;
    }

    .async-format-block {
        margin-top: 104px;
    }

    .how-it-works-inner {
        flex-direction: column;
        row-gap: 50px;

        .how-it-works-text {
            width: 100%;
            text-align: center;
            margin-right: 0;

            br {
                display: none;
            }

            h2 {
                width: 650px;
                margin: 0 auto;
                font-size: 96px;
            }
        }

        .how-it-works-content {
            width: 912px;
            height: 512px;
        }
    }

    .check-quality-inner {
        .check-quality-title {
            h2 {
                font-size: 96px;
            }

            .check-quality-description {
                font-size: 30px;
            }
        }
    }

    .results-title {
        margin-top: 30px;
        font-size: 62px;
    }

    .results-cards {
        margin-top: 20px;
        column-gap: 20px;
        cursor: grab;

        .results-card {
            .results-card-desc {
                margin-top: auto;
                width: 289px;
            }
        }
    }

    .ai-assistant-inner {
        .ai-assistant-title {
            h2 {
                font-size: 96px;
            }

            h5 {
                font-size: 30px;
            }
        }

        .ai-assistant-list {
            width: 100%;
            column-gap: 50px;
            justify-content: center;

            .ai-assistant-points {
                width: 390px;
            }
        }
    }

    .course-inner {

        .course-title {
            font-size: 62px;
        }

        .course-cards {
            margin-top: 70px;
            column-gap: 20px;
            position: relative;
            z-index: 30;
            width: 109%;
            cursor: grab;

            .course-card {
                min-width: 372px;
                flex-shrink: unset;
                .course-card-desc {
                    width: unset;
                }
            }
        }
    }

    .form {
        margin-top: 30px;
        .form-inner {
            flex-direction: column;
            align-items: center;

            .form-title {
                font-size: 44px;

                .form-title-beige {
                    margin-top: 30px;
                }
            }

            .form-content {
                margin-top: 50px;
            }
        }
    }

    .course-program-inner {
        .course-program-title {
            .title-text {
                width: 630px;
                h2 {
                    font-size: 94px;
                }

                p {
                    margin-top: 0;
                    font-size: 24px;
                }
            }

            .course-program-logo {
                width: 160px;
                height: 62px;
            }
        }
        .course-program-list {
            padding: 50px 26px;

            .lessons-list {
                .lessons-title {
                    padding: 15px 15px 15px 130px;
                }
                .lesson-item {
                    padding-left: 130px;
                }
            }

            .module-header {
                .module-title {
                    .module-title-text {
                        font-size: 22px;
                        width: 400px;
                    }
                }
            }

            .course-program-module {
                width: 860px;
            }
        }
        .course-program-info {
            margin-top: 50px;
            padding: 0;
            column-gap: 40px;
            .info-column {
                width: 144px;
            }
        }
    }

    .members-inner {
        padding: 10px 0px 40px 24px;

        .members-title {
            font-size: 58px;
            h2 {
                br {
                    display: none;
                }
            }
        }

        .members-list {
            column-gap: 20px;

            .members-card {
                .members-card-desc {
                    height: 104px;
                }
            }
        }
    }

    .documents-inner {
        padding: 45px 15px;
        .documents-title {
            br {
                display: none;
            }
        }
                .documents-imgs.desktop {
            display: none;
        }

        .documents-imgs.tablet {
            display: flex;
            justify-content: space-between;
            flex-direction: column;
            row-gap: 42px;

            .documents-imgs-left {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 100%;
                column-gap: 50px;
            }
            .documents-imgs-right {
                display: flex;
                align-items: center;
                justify-content: space-around;
                width: 100%;
                column-gap: 390px;
            }

            .documents-svid {
                width: 359px;
                height: 513px;
            }
        }
    }

    .join-us-inner {
        .join-us-doctor {
            height: 68%;
            bottom: 0;
        }

        .join-us-content {
            h2 {
                margin-top: 20px;
                font-size: 96px;
            }
            h3 {
                margin-top: 0;
            }
            p {
                margin-top: 0;
            }
            .join-us-btn {
                margin-top: 10px;
            }
        }
    }

    footer {
        .footer-inner {
            padding: 24px 15px 14px;
            font-size: 14px;

            .footer-logos {
                .footer-logo1 {
                    width: 101px;
                    height: 39px;
                }
                .footer-logo2 {
                    width: 100px;
                    height: 31px;
                }
            }

            .footer-contacts {
                width: 125px;
                .contacts-content {
                    flex-direction: column;
                    row-gap: 13px;
                    align-items: flex-start;
                }

                .show-in-mobile {
                    display: block;
                }
            }

            .footer-info {
                display: flex;
                flex-direction: column;
                row-gap: 15px;

                a {
                    color: var(--main-white);
                }
            }
        }
    }

    .countdown-banner-text {
        font-size: 36px;
    }

    .countdown-item {
        display: flex;
        align-items: baseline;
        gap: 8px;
    }

    .countdown-value {
        font-size: 36px;
    }

    .countdown-item.days {
        margin-right: 0;
    }

    .countdown-label {
        font-size: 36px;
    }

    .countdown-label.dots {
        font-size: 36px;
    }
}

@media (max-width: 835px) {
    .container {
        max-width: 728px;
        padding: 24px 0;
    }

    .first-block.desktop {
        display: none;
    }

    .first-block.tablet {
        display: block;
        height: 783px;

        .top-layer-doctor-one {
            position: absolute;
            top: 0;
            left: 170px;
            z-index: 30;
            height: 470px;
        }

        .top-layer-doctor-two {
            position: absolute;
            bottom: 0;
            right: 85px;
            height: 480px;
        }
    }

    .sections {
        padding: 16px 34px;
    }

    .right-section {
        align-items: flex-start;
    }

    .right-section__logo {
        margin: 315px 0 0;
    }

    .right-section__title {
        margin: 0;
        font-size: 64px;
        max-width: 272px;
        margin-top: 14px;
    }

    .right-section__desc {
        font-size: 12px;
    }

    .live-vebinar-block {
        margin-top: 12px;
        column-gap: 8px;
    }

    .live-vebinar-icon-block {
        width: 30px;
        height: 30px;
    }

    .live-vebinar-tablet {
        width: 100px;
        font-size: 12px;
    }

    .left-section {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    .left-section__title {
        margin: 0;
        max-width: 237px;
        font-size: 64px;
    }

    .left-section__desc {
        margin-top: 0;
        max-width: 237px;
        font-size: 12px;
    }

    .async-format-block {
        margin-top: 12px;
        width: 198px;
        column-gap: 8px;
    }

    .async-format-icon-block {
        min-width: 30px;
        width: 30px;
        height: 30px;
    }

    .async-format-icon {
        width: 20px;
    }

    .async-format-tablet {
        font-size: 12px;
        width: 88px;
        font-family: 'IBM Plex Sans Condensed', sans-serif;
    }

    .menu-tablet {
        background: var(--main-white);
        border: 1px solid var(--main-white);
        bottom: 85px;
        left: 12%;
    }

    .top-layer-line {
        display: block;
        height: 85px;
    }
    
    .order-icon {
        margin-top: -110px;
    }

    .how-it-works-inner {
        .how-it-works-content {
            width: 728px;
            height: 410px;

            iframe {
                border-radius: 40px;
            }
        }
    }

    .check-quality-inner { 
        border-radius: 40px;
    }

    .results {
        /* .container {
            max-width: 100%;
            padding-right: 0;
        } */
    }

    .results-title {
        h2 {
            br {
                display: none;
            }
        }
    }

    .results-cards {
        margin-top: 40px;
        column-gap: 14px;

        .results-card {
            .results-card-desc {
                width: 273px;
            }
        }
    }

    .ai-assistant-inner {
        border-radius: 40px;
        .ai-assistant-title {
            h5 {
                margin-top: 25px;
            }
        }

        .ai-assistant-list {
            margin-top: 25px;
            flex-direction: column;
            align-items: center;

            .ai-assistant-points {
                margin-top: 20px;
            }
        }
        
        .ai-assistant-subtitle {
            margin-top: 43px;
        }
    }

    .course {
        /* .container {
            margin-right: 0;
            padding-right: 0;
        } */
    }

    .course-inner {
        padding: 55px 0 40px 26px;
        border-radius: 40px;

        .course-cards {
            column-gap: 14px;
            width: 100%;
            padding-right: 20px;
            .course-card {
                min-width: 302px;
                height: 352px;
                padding: 24px 18px;
                .course-card-desc {
                    width: unset;
                    margin-top: 0;
                }
            }
        }
    }

    .form {
        margin-top: 0;
        .form-inner {
            padding: 40px 0;

            .form-title {
                .form-title-beige {
                    margin-top: 25px;
                }

                .form-arrow-icon {
                    transform: rotate(90deg) translateX(10px);
                }
            }

            .form-content {
                margin-top: 30px;
                padding: 40px 35px;

                input {
                    width: 390px;
                }

                .form-btn {
                    margin-top: 25px;
                }
            }
        }
    }

    .course-program-inner {
        .course-program-title {
            flex-direction: column;
            align-items: center;

            .empty {
                display: none;
            }
        }

        .course-program-list {
            padding: 26px 20px;

            .course-program-module {
                width: 684px;
                border-top: none;

                .lessons-list {
                    .lessons-title {
                        column-gap: 52px;
                        margin-bottom: 20px;
                    }
                    .lesson-item {
                        column-gap: 0px;
                        padding-bottom: 20px;
                    }
                }
            }
        }
        .course-program-info {
            column-gap: 20px;

            .info-column {
                width: 160px;

                h3 {
                    font-size: 64px;
                }

                p {
                    font-size: 22px;
                }
            }

            .vert-line {
                margin: 0;
            }
        }
    }

    .members-inner {
        .members-list {
            column-gap: 14px;
            .members-card {
                width: 309px;
                padding: 0 16px;
            }
        }
    }

     .documents-inner {
        padding: 40px 45px;
        border-radius: 40px;
        .documents-title {
            font-size: 72px;
            max-width: 661px;
            margin: 0 auto;
        }

        .documents-imgs.tablet {
            .documents-imgs-left {
                .documents-svid {
                    width: 301px;
                    height: 430px;
                }
            }

            .documents-imgs-right {
                column-gap: 375px;
            }
        }
    }

     .join-us-inner {
        .join-us-doctor {
            height: 73%;
            width: 50%;
        }

        .join-us-content {
            h2 {
                margin-top: 20px;
                font-size: 72px;
            }
        }
    }

    footer {
        .footer-inner {
            padding: 20px 22px;

            .footer-logos {
                row-gap: 103px;
            }
        }
        .footer-inner.desktop {
            display: none;
        }
        .footer-inner.tablet {
            display: flex; 
            align-items: flex-start;

            .footer-rights {
                display: flex;
                flex-direction: column;
                row-gap: 12px;

                a {
                    color: var(--main-white);
                }
            }

            .footer-politics {
                width: 197px;
            }
        }
    }

    .countdown-banner-inner {
        flex-direction: row;
        padding: 0 12px;
    }

    .countdown-banner-text {
        font-size: 28px;
    }

    .countdown-item {
        display: flex;
        align-items: baseline;
        gap: 8px;
    }

    .countdown-value {
        font-size: 36px;
    }

    .countdown-item.days {
        margin-right: 0;
    }

    .countdown-label {
        font-size: 24px;
    }

    .countdown-label.dots {
        font-size: 36px;
        margin: 0;
    }
}

@media (max-width: 441px) {
    header {
        display: none;
    }

    .container {
        max-width: 400px;
        padding: 10px 0;
    }

    .first-block {
        border-radius: 20px;
    }

    section {
        input {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(6px);
        }
    }

    .menu-tablet,
    .menu {
        display: none;
    }

    .top-layer-line {
        display: none;
    }

    .first-block.tablet {
        .top-layer-doctor-one {
            left: 20px;
            height: 420px;
        }
        .top-layer-doctor-two {
            right: -2px;
            height: 400px;
        }
    }

    .sections {
        padding: 16px 10px;
    }

    .right-section__logo {
        width: 84px;
        height: 26px;
        margin: 455px 0 0;
    }

    .left-section__logo {
        width: 110px;
        height: 43px;
        align-self: flex-end;
    }

     .right-section__title {
        font-size: 44px;
        max-width: 207px;
     }

     .right-section__desc {
        font-size: 12px;
     }

    .live-vebinar-block {
        gap: 8px;
    }

    .left-section__title {
        font-size: 44px;
        margin: 30px 0 0 20px;
    }

    .left-section__desc {
        margin-left: 20px;
    }

    .left-section {
        align-items: flex-start;
    }

    .async-format-block {
        gap: 8px;
        padding-left: 20px;
        width: 126px;
    }

    .async-format-icon, .live-vebinar-icon {
        width: 18px;
    }

    .mobile-burger-menu {
        position: relative;
        display: flex;
        width: 100%;
        justify-content: flex-end;

        .menu-icon {
            width: 32px;
            height: 32px;

            img {
                width: 100%;
                height: 100%;
                filter: invert(1);
            }
        }

        .mobile-menu {
            position: fixed;
            top: 0px;
            right: 0;
            left: 0px;
            z-index: 99;

            height: 100vh;
            height: 100dvh;

            opacity: 0;
            visibility: hidden;
            transform: translateX(-10px);

            transition: all 0.5s ease;

            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background-size: cover;
            background-repeat: no-repeat;
            overflow: hidden;

            .mobile-menu-close {
                position: absolute;
                top: 18px;
                right: 18px;
                z-index: 2;
                width: 40px;
                height: 40px;
                padding: 0;
                border: none;
                border-radius: 50%;
                background: transparent;
                cursor: pointer;
                display: flex;
                align-items: center;
                justify-content: center;

                img {
                    width: 100%;
                    height: 100%;
                    filter: invert(0) sepia(100%) saturate(0%) hue-rotate(180deg);
                }
            }

            .mobile-menu-item {
                position: relative;
                z-index: 10;

                font-size: 22px;
                color: var(--main-white);
                padding: 8px 8px 8px;
            }

            .mobile-menu-item.active {
                font-weight: 500 !important;
                transition: font-weight 0.2s ease;
            }
        }
        .mobile-menu::after {
            content: "";
            position: absolute;
            top: -40%;
            left: 30%;
            width: 550px;
            height: 550px;
            border-radius: 50%;

            background: rgba(200, 16, 46, 0.5);
            filter: blur(80px);
            box-shadow: 4px 3px 14px 3px rgb(255, 216, 180);
            animation: orbitOne 20s linear infinite;
            z-index: -1;

            pointer-events: none;
            user-select: none;
        }
        .mobile-menu::before {
            content: "";
            position: absolute;
            bottom: -40%;
            right: 30%;
            width: 550px;
            height: 550px;
            border-radius: 50%;

            background: rgba(200, 16, 46, 0.5);
            filter: blur(80px);
            box-shadow: 4px 3px 14px 3px rgb(255, 216, 180);
            animation: orbitTwo 20s linear infinite;
            z-index: -1;

            pointer-events: none;
            user-select: none;
        }
    }

    .header-title {
        padding: 50px 0;

        h1 {
            font-size: 48px;
            width: 400px;
        }
    }

    .mobile-burger-menu.outside {
        .menu-icon {
            margin-right: 24px;
            margin-top: 24px;
        }

        .mobile-menu {
            .mobile-menu-item {
                color: var(--main-black);
                text-decoration: none;
                font-size: 22px;
            }
        }
    }

    @keyframes orbitTwo {
        0%   { transform: translate(0%, 0%); }
        25%  { transform: translate(90%, 0%); }
        50%  { transform: translate(90%, -180%); }
        75%  { transform: translate(0%, -180%); }
        100% { transform: translate(0%, 0%); }
    }
    
    @keyframes orbitOne {
        0%   { transform: translate(0%, 0%); }
        25%  { transform: translate(-90%, 0%); }
        50%  { transform: translate(-90%, 180%); }
        75%  { transform: translate(0%, 180%); }
        100% { transform: translate(0%, 0%); }
    }

    .mobile-burger-menu.open .mobile-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .order-icon {
        width: 100px;
        height: 100px;
        margin-top: -60px;
    }

    section {
        .gradient-btn {
            font-size: 16px;
        }
        input {
            width: 290px;
        }
        .white-btn {
            b {
                img {
                    transform: rotate(-90deg);
                }
            }
        }
    }

    .how-it-works-inner {
        row-gap: 20px;
        .how-it-works-text {
            h2 {
                font-size: 64px;
                width: 100%;
            }
        }
        & .how-it-works-content {
            width: 400px;
            height: 225px;

            iframe {
                border-radius: 20px;
            }
        }
    }

    .check-quality-inner {
        padding: 30px 38px;
        border-radius: 20px;
        .check-quality-title {
            h2 {
                font-size: 64px;
            }
            .check-quality-description {
                margin-top: 14px;
                font-size: 24px;
            }
        }
    }

    .results-title {
        h2 {
            font-size: 60px;
        }
    }

    .results-cards {
        margin-top: 20px;
    }

    .ai-assistant-inner {
        background: var(--main-red) !important;
        padding: 27px 20px;
        border-radius: 20px;
        .ai-assistant-title {
            display: flex;
            flex-direction: column;
            align-items: center;

            h2 {
                font-size: 64px;
            }
            h5 {
                font-size: 24px;
                font-weight: 500 !important;
                width: 240px;
            }
        }
        .ai-assistant-list {
            .ai-assistant-points {
                width: 333px;
                .ai-assistant-point {
                    width: 333px;
                }
            }
        }
        .ai-assistant-subtitle {
            margin-top: 30px;
            font-size: 18px;
        }
    }

    .course-inner {
        padding: 30px 0 30px 26px;
        border-radius: 20px;
        .course-title {
            font-size: 42px;
            padding-right: 26px;
            
            h2 {
                br {
                    display: none;
                }
            }
        }
        .course-cards {
            margin-top: 20px;
            .course-card {
                row-gap: 0;
                height: 232px;

                .course-card-desc {
                    h4 {
                        height: 60px;
                        font-size: 24px;
                    }
                    p {
                        font-size: 16px;
                    }
                }
            }
        }
    }

    .course-video {
        border-radius: 20px;
    }

    .form {
        .form-inner {
            .form-title {
                h2 {
                    br {
                        display: none;
                    }
                }
            }
            .form-content {
                padding: 40px 20px;
                input {
                    width: 320px;
                }

                .form-contact-checkbox {
                    label {
                        width: 290px;
                    }
                }
            }

            .form-btn {
                b {
                    img {
                        transform: rotate(0deg);
                    }
                }
            }
        }
    }

    .success-modal-panel {
        .success-img {
            width: 351px;
            height: 180px;

            img {
                object-fit: contain;
            }
        }
    }

    .success-body {
        h3 {
            font-size: 34px;
            margin-top: 22px;
        }
    }

     .course-program-inner {
        .course-program-title {
            .title-text {
                width: 385px;
                h2 {
                    font-size: 60px;
                }
                p {
                    font-size: 18px;
                }
            }
        }
        .course-program-logo {
            width: 119px;
            height: 46px;
        }
        .course-program-list {
            border-radius: 0px;
            margin-top: 20px;
            .course-program-module {
                width: 380px;
            }
            .module-header {
                .module-number {
                    font-size: 16px;
                    padding: 8px 18px;
                }
                .module-title {
                    column-gap: 20px;
                    .module-title-text {
                        font-size: 16px;
                        max-width: 170px;
                    }
                }
            }

            .course-program-module {
                .lessons-list {
                    .lessons-title {
                        padding: 15px 15px 15px 105px;
                    }
                    .lesson-item {
                        column-gap: 0px;
                        padding-left: 105px;
                    }
                }
            }

            .course-program-btn {
                button {
                    font-size: 14px;
                    padding: 14.5px 20px;
                }
            }
        }
        .course-program-info {
            margin-top: 20px;
            flex-wrap: wrap;
            column-gap: 0;
            .vert-line {
                display: none;
            }

            .info-column {
                padding: 20px;
            }

            .info-column.first {
                border-right: 0.5px solid rgba(216, 222, 237, 0.2);
                border-bottom: 0.5px solid rgba(216, 222, 237, 0.2);
            }
            .info-column.second {
                border-left: 0.5px solid rgba(216, 222, 237, 0.2);
                border-bottom: 0.5px solid rgba(216, 222, 237, 0.2);
            }
            .info-column.third {
                border-right: 0.5px solid rgba(216, 222, 237, 0.2);
                border-top: 0.5px solid rgba(216, 222, 237, 0.2);
            }
            .info-column.fourth {
                border-left: 0.5px solid rgba(216, 222, 237, 0.2);
                border-top: 0.5px solid rgba(216, 222, 237, 0.2);
            }
        }
    }

    .members-inner {
        padding: 0 0 30px 10px;
        .members-title {
            font-size: 44px;
            padding-right: 24px;
            padding-left: 14px;
        }
    }

    .documents-inner {
        padding: 30px 18px;
        border-radius: 20px;

        .documents-title {
            font-size: 64px;
        }

        .documents-imgs.tablet {
            .documents-imgs-left {
                width: 360px;
                overflow-y: scroll;
                scrollbar-width: none;
                justify-content: unset;
                column-gap: 20px;
                .documents-svid {
                    min-width: 301px;
                    min-height: 432px;
                }
                &::-webkit-scrollbar {
                    display: none;
                }
            }

            .documents-imgs-right {
                column-gap: 0px;
            }
        }
    }

    .join-us {
        margin-top: 20px;
        height: 100%;
    }

    .join-us-inner {
        margin-right: 0;
        padding: 20px 0;
        .join-us-doctor {
            display: none;
        }

        .join-us-content {
            h2 {
                margin-top: 0;
                font-size: 62px;

                br {
                    display: none;
                }
            }

            & .join-us-price-before {
                & .old-price {
                    font-size: 32px;
                    color: var(--main-gray);
                    text-decoration: line-through var(--main-red);
                    margin-top: 70px;
                    font-family: 'Bebas Neue Cyrillic', sans-serif;
                    margin-bottom: 2px;
                    margin-left: -60px;
                }
            }

            .join-us-price-after {
                & h3 {
                    display: block;
                    margin-top: 10px;
                    font-size: 110px;
                }
            }

            .join-us-btn {
                button {
                    margin-top: 26px;
                    font-size: 24px;
                }
            }
        }
    }

    footer {
        .footer-inner.tablet {
            display: none;
        }

        .footer-inner.mobile {
            display: flex;
            padding: 15px 26px;
            .footer-logos {
                width: 162px;
                row-gap: 10px;

                .footer-logo1 {
                    width: 124px;
                    height: 48px;
                }
                .footer-logo2 {
                    width: 100px;
                    height: 31px;
                }

                p {
                    a {
                        color: var(--main-white);   
                    }
                }
            }
            .footer-contacts {
                width: 162px;
            }
        }
    }

    .countdown-banner-inner {
        flex-direction: column;
        padding: 0 12px;
        gap: 8px;
    }
}

@media (max-width: 402px) {
    .container {
        max-width: 355px;
    }

    .first-block.tablet {
        .top-layer-doctor-one {
            left: 0;
            height: 400px;
        }
        .top-layer-doctor-two {
            right: -20px;
            height: 380px;
        }
    }

    .right-section__logo {
        margin: 440px 0 0;
    }
    .right-section__title {
        font-size: 38px;
    }
    .left-section__title {
        font-size: 38px;
        margin-left: 35px;
    }
    .left-section__desc {
        margin-left: 35px;
    }

    .how-it-works-inner {
        .how-it-works-text {
            h2 {
                font-size: 52px;
                width: 100%;
            }
        }
        .how-it-works-content {
            width: 355px;
            height: 200px;
            border-radius: 20px;
        }
    }

    .check-quality-inner {
        padding: 30px 17px;
        border-radius: 20px;
        .check-quality-title {
            h2 {
                font-size: 50px;
            }

            .check-quality-description {
                font-size: 22px;
            }
        }
    }

    .results-title {
        h2 {
            font-size: 52px;
        }
    }

    .results-cards {
        flex-direction: column;
        overflow: hidden;
        row-gap: 15px;
        scroll-snap-type: none;
        scroll-behavior: auto;
        cursor: default;
        touch-action: auto;

        .results-card {
            height: 275px;
            flex-shrink: 1;
            scroll-snap-align: unset;
        }
    }

    .ai-assistant-inner {
        border-radius: 20px;
        padding: 30px 20px;

        .ai-assistant-list {
            .ai-assistant-points {
                width: 299px;
                .ai-assistant-point {
                    width: 299px;
                }
            }
        }

        .ai-assistant-title {
            margin-top: 0;
            h2 {
                font-size: 52px;
            }
        }

        .ai-assistant-subtitle {
            font-size: 17px;
        }
    }

    .course-inner {
        padding: 30px 25px;
        background-size: contain !important;
        .course-title {
            font-size: 38px;
            padding-right: 0;
        }
        .course-cards {
            overflow: hidden;
            flex-direction: column;
            row-gap: 20px;
            scroll-snap-type: none;
            scroll-behavior: auto;
            cursor: default;
            touch-action: auto;

            .course-card {
                flex-shrink: 1;
                scroll-snap-align: unset;
                padding: 18px;
                width: unset;
                height: 232px;

                .course-card-desc {
                    h4 {
                        font-size: 24px;
                    }
                    p {
                        font-size: 16px;
                    }
                }
            }
        }
    }

    .form {
        .form-inner {
            .form-title {
                h2 {
                    font-size: 58px;
                }
            }
        }
    }

    .course-program-inner {
        .course-program-title {
            .title-text {
                width: 340px;
                h2 {
                    font-size: 48px;
                }
                p {
                    font-size: 16px;
                }
            }
        }  
        .course-program-list {
            padding: 26px 30px;
            .course-program-module {
                width: 335px;

                .lessons-list {
                    .lessons-title {
                        padding: 15px;
                    }
                    .lesson-item {
                        padding: 15px;
                    }
                }
            }
            .module-header {
                & .module-title {
                    & .module-title-text {
                        font-size: 16px;
                        width: 150px;
                    }
                }
            }

            .course-program-btn {
                button {
                    font-size: 12px;
                }
            }
        }
    }

    .members-inner {
        .members-title {
            h2 {
                font-size: 48px;
            }
        }

        .members-list {
            margin-top: 15px;

            .members-card {
                width: 296px;
            }
        }
    }

    .documents-inner {
        & .documents-title {
            font-size: 48px;
        }

        .documents-imgs.tablet {
            align-items: center;
            margin-top: 15px;

            .documents-imgs-left {
                width: unset;
                overflow: hidden;
                flex-direction: column;
                row-gap: 25px;
            }
        }
    }

    .join-us-inner {
        .join-us-content {
            h2 {
                font-size: 48px;
            }

            .join-us-btn {
                margin-top: 30px;
                .gradient-btn {
                    margin-top: 0;
                    font-size: 18px;
                }
            }

            .join-us-price-after {
                & h3 {
                    display: block;
                    margin-top: 10px;
                    font-size: 100px;
                }
            }

             & .join-us-price-before {
                & .ruble-icon {
                    font-size: 80px;
                    color: var(--main-white);
                }
            }
        }
    }

    footer {
        .footer-inner.mobile {
            font-size: 13px;
            .footer-contacts {
                width: 145px;
                p {
                    display: inline;
                }
            }
        }
    }

    .countdown-banner-timer {
        gap: 8px;
    }
}

@media (min-width: 1600px) {
    .how-it-works-inner {
        margin: 50px 0;
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    .results-inner {
        margin: 50px 0;
    }

    .results-cards {
        justify-content: center;
    }

    .course {
        margin-top: 50px;
    }

    .course-inner {
        .course-cards {
            justify-content: center;
            column-gap: 50px;
        }
    }

    .form {
        margin-top: 50px;
        & .form-inner {
            padding: 52px 50px;
            display: flex;
            justify-content: center;
            column-gap: 260px;
        }
    }

    .course-program-inner {
        & .course-program-list {
            width: 100%;

            .course-program-module {
                width: 100%;
            }
        }
    }
}

input.invalid {
    border: 1px solid red;
}