/* ========================
   Базовые настройки 
   ======================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #000;
    background-color: #fcfcfc;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* ========================
   Основной контент
   ======================== */
.info-main {
    margin-top: 135px;
    padding-top: 0;
}

/* ========================
   Хлебные крошки
   ======================== */
.breadcrumbs {
    font-size: 18px;
    font-weight: 400;
    color: #929292;
    margin-bottom: 60px;
    padding-top: 0;
}

.breadcrumbs a {
    color: #929292;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: #D90D26;
}

.breadcrumbs__sep {
    margin: 0 2px;
}

.breadcrumbs__current {
    color: #929292;
}

/* ========================
   Заголовок и описание
   ======================== */
.info-hero__title {
    font-size: 50px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 30px;
    color: #000;
}

.info-hero__desc {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
    max-width: 1200px;
    margin-bottom: 60px;
    color: #000;
}

/* ========================
   Этапы обучения
   ======================== */
.steps {
    margin-bottom: 60px;
}

.steps__title {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 30px;
}

.steps__grid {
    display: flex;
    gap: 30px;
}

.steps__col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step {
    display: flex;
    align-items: center;
    gap: 30px;
}

.step__badge {
    width: 167px;
    height: 90px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fcfcfc;          
    position: relative;
    z-index: 0;
}

/* Градиентная обводка через псевдоэлемент */
.step__badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: linear-gradient(-41deg, #D90D26, #E94055, #D90D26);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 3px;               
    z-index: -1;
}

.step__num {
    font-size: 35px;
    font-weight: 500;
    color: #171717;              
    line-height: 1.2;
}

.step__label {
    font-size: 18px;
    font-weight: 300;
    color: #171717;             
}

.step__desc {
    width: 398px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
    color: #000;
}

/* ========================
   Преимущества
   ======================== */
.advantages {
    margin-bottom: 60px;
}

.advantages__title {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 30px;
}

.advantages__box {
    width: 1200px;
    height: 246px;
    background-color: #f7f7f7;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 30px;
    gap: 30px;
}

.advantage {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    flex: 1;                      
    min-width: 0;                
}

.advantage__icon-wrap {
    height: 67px;                 
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.advantage__icon {
    display: block;
    max-height: 100%;
    width: auto;
}

.advantage__text {
    font-size: 16px;             
    font-weight: 300;
    color: #000;
    line-height: 1.3;
    min-height: 48px;           
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 226px;
    padding: 0 2px;
}

/* ========================
   Водительские права категории А
   ======================== */
.rights {
    margin-bottom: 0;             
}

.rights__title {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 30px;
}

.rights__text {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
    color: #000;
    max-width: 1200px;
    margin-bottom: 20px;
}

.rights__list {
    margin: 20px 0 20px 20px;
    font-size: 18px;
    font-weight: 300;
    color: #000;
    line-height: 1.6;
    max-width: 620px;
}

.rights__list li {
    margin-bottom: 5px;
}

/* ========================
   Блок призыва к действию с мотоциклом
   ======================== */
.cta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 35px;
    margin-top: 20px;            
}

.cta__left {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 718px;
}

.cta__slogan {
    font-size: 18px;
    font-weight: 300;
    width: 680px;
    color: #000;
    line-height: 1.4;
}

.cta__actions {
    display: flex;
    gap: 30px;
    align-items: center;
}

/* Бейджи */
.badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 70px;
    padding: 0 30px;
    border-radius: 10px;
    background-color: #fcfcfc;
    font-size: 20px;
    font-weight: 500;
    color: transparent;
    background-image: linear-gradient(-41deg, #D90D26, #E94055, #D90D26);
    -webkit-background-clip: text;
    background-clip: text;
    white-space: nowrap;         
    z-index: 0;
}

.badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: linear-gradient(-41deg, #D90D26, #E94055, #D90D26);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 3px;
    z-index: -1;
}

/* Кнопка Записаться */
.btn--cta {
    width: 320px;
    height: 70px;
    font-size: 20px;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    border: none;
    cursor: pointer;
    color: #fcfcfc;
    background: linear-gradient(-41deg, #D90D26, #E94055, #D90D26);
    border-radius: 10px;
    transition: opacity 0.3s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn--cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.cta__img {
    width: 506px;
    height: 500px;
    object-fit: contain;
    margin-top: -300px;
    align-self: flex-start;      
}

/* ========================
   Адаптивность 
   ======================== */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
        width: 100%;
    }

    body {
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
    }

    .info-main {
        margin-top: 83px;
        margin-bottom: 40px;
    }
    .breadcrumbs {
        font-size: 12px;
        margin-bottom: 30px;
    }
    .info-hero__title {
        font-size: 30px;
        margin-bottom: 15px;
    }
    .info-hero__desc {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .steps {
        margin-bottom: 40px;
        width: 100%;
    }
    .steps__title {
        font-size: 20px;
        font-weight: 500;
        margin-bottom: 15px;
    }
    .steps__grid {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    .steps__col {
        gap: 15px;
    }
    .step {
        display: flex;
        align-items: center;
        gap: 15px;
        width: 100%;
    }
    .step__badge {
        width: 122px;
        height: 65px;
        flex-shrink: 0;
    }
    .step__badge::after {
        padding: 2px;
    }
    .step__num {
        font-size: 22px;
        font-weight: 500;
    }
    .step__label {
        font-size: 12px;
        font-weight: 500;
    }
    .step__desc {
        width: auto;
        flex: 1;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.4;
    }
    .step__desc br {
        display: none;
    }

    .advantages {
        margin-bottom: 40px;
        width: 100%;
    }
    .advantages__title {
        font-size: 20px;
        font-weight: 500;
        margin-bottom: 15px;
    }
    .advantages__box {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        height: auto;
        background: transparent;
        padding: 0;
        border-radius: 0;
    }
    .advantage {
        width: 100%;
        max-width: 328px;
        margin: 0 auto;
        height: auto;
        min-height: 146px;
        background-color: #f7f7f7;
        border-radius: 10px;
        padding: 20px 10px;
        gap: 10px;
        flex: none;
    }
    .advantage__icon-wrap {
        height: 67px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .advantage__icon {
        max-width: 80px;
        max-height: 67px;
        width: auto;
        height: auto;
    }

    .advantage:nth-child(3) .advantage__icon {
        transform: scale(1.5);
    }
    .advantage__text {
        width: auto;
        max-width: 185px;
        font-size: 14px;
        font-weight: 300;
        line-height: 1.3;
        min-height: auto;
        text-align: center;
        overflow: hidden;
    }
    .advantage__text br {
        display: none;
    }

    .rights {
        margin-bottom: 30px;
        width: 100%;
    }
    .rights__title {
        font-size: 20px;
        font-weight: 500;
        margin-bottom: 15px;
    }
    .rights__text {
        font-size: 14px;
        font-weight: 300;
        margin-bottom: 15px;
        line-height: 1.4;
    }
    .rights__text br {
        display: none;
    }
    .rights__list {
        margin: 10px 0 10px 20px;
        font-size: 14px;
    }

    .cta {
        display: grid;
        grid-template-areas: 
            "slogan"
            "image"
            "actions";
        gap: 20px;
        margin-bottom: 60px;
        margin-top: 20px;
        width: 100%;
        align-items: center;
        justify-items: center;
    }
    .cta__slogan {
        grid-area: slogan;
        width: 100%;
        font-size: 14px;
        font-weight: 300;
        text-align: left;
        margin-top: -10px;
    }
    .cta__img {
        grid-area: image;
        width: 288px;
        height: auto;
        max-height: 240px;
        margin-top: 0;
        margin-bottom: 0;
        object-fit: contain;
    }
    .cta__left {
        display: contents; 
    }
    .cta__actions {
        grid-area: actions;
        display: flex;
        justify-content: center;
        gap: 16px;
        flex-wrap: wrap;
    }
    .badge {
        width: 156px;
        height: 50px;
        font-size: 14px;
        font-weight: 500;
        white-space: nowrap;
        padding: 0 10px;
    }
    .badge::after {
        padding: 2px;
    }
    .btn--cta {
        width: 328px;
        height: 50px;
        font-size: 16px;
        font-weight: 500;
        margin: 0 auto;
        margin-bottom: -10px;
    }
    .cta__slogan br {
        display: none;
    }
}