:root {
    --block-margin: 60px;    
    --title-txt: 24px;
    --heading-txt: 20px;
    --info-txt: 18px;
    --standart-txt: 14px;
}
@media (min-width: 1024px){
    :root {
        --block-margin: 120px;        
        --title-txt: 36px;
        --heading-txt: 24px;
        --info-txt: 24px;
        --standart-txt: 18px;
    }
}
.repatriation{
    font-family: "Inter", sans-serif;
    padding-top: 20px;
    line-height: 1.4;
}
.r-hero{
    margin-bottom: var(--block-margin);
}
.r-hero__badge{
    color: #728392;
    font-size: 9px;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
    padding: 8px 10px;
    border-radius: 6px;
    background: #EEF1F9;
    margin-bottom: 10px;
}
.r-hero__title{
    font-size: var(--title-txt);
    line-height: 1.2;
    color: #1A4FB0;
    font-weight: 600;
    margin-bottom: 20px;
}
.r-hero__desc{
    color: #728392;
    font-size: var(--standart-txt);
    line-height: 1.5;
    margin-bottom: 20px;
} 
.r-hero__right img{
    display: block;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
}
.r-hero__nav-btn{
    margin-bottom: 10px;
}
.lnk{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 48px;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    border-radius: 8px;
}
.lnk--blue{
    background: #1A4FB0;
    color: #fff;
}
.lnk--grey-light{
    background: #EEF1F9;
    border: 1px solid #EEF1F9;
    color: #1A4FB0;
}
.lnk--red{
    background: #CC0A0A;
    color: #fff;
}
.r-hero__info{
    color: #728392;
    font-size: 10px;
    margin-top: 10px;
}
.r-hero__grid{
    margin-top: 20px;
}
.r-hero__grid-item{
    position: relative;
    padding-left: 70px;
    margin-bottom: 10px;
}
.r-hero__grid-item:last-child{
    margin-bottom: 0;
}
.r-hero__grid-icon{
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #EEF1F9;
    display: flex;
    justify-content: center;
    align-items: center;
}
.r-hero__grid-item svg{
    display: block;
}
.r-hero__grid-title{
    color: #1A4FB0;
    font-size: var(--heading-txt);
    font-weight: 700;
}
.r-hero__grid-txt{
    color: #728392;
    font-size: 14px;
}
.r-items{
    margin-bottom: var(--block-margin);
    font-family: "Inter", sans-serif;
    line-height: 1.4;
}
.r-item{
    border-radius: 10px;
    border: 2px solid #EEF1F9;
    margin-bottom: 10px;
    padding: 20px;
}
.r-item:last-child{
    margin-bottom: 0;
}
.r-item__title{
    color: #1A4FB0;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}
.r-item__desc{
    font-size: 14px;
    color: #728392;
    margin-bottom: 10px;
}
.r-item__pic{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 53.16%;
    margin-left: auto;
    margin-right: auto;
}
.r-item__pic img{
    display: block;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
}
.r-fit{
    margin-bottom: var(--block-margin);
    font-family: "Inter", sans-serif;
    line-height: 1.4;
}
.heading{
    line-height: 1.2;
    font-size: var(--title-txt);
    font-weight: 700;
}
.r-fit__desc{
    color: #728392;
    font-size: var(--standart-txt);
    margin-top: 4px;
    margin-bottom: 20px; 
}
.r-fit__wrap{
    margin-bottom: 40px;
}
.r-fit__col{
    border-radius: 20px;
    background:#EEF1F9;
    padding: 20px;
    margin-bottom: 10px;
}
.r-fit__col:last-child{
    margin-bottom: 0;
}
.r-fit__title{
    color: #1A4FB0;
    font-weight: 700;
    font-size: var(--info-txt);
    margin-bottom: 10px;
}
.r-fit__txt{
    color: #728392;
    font-size: var(--standart-txt);
}
.r-fit__heading{
    font-size: var(--heading-txt);
    font-weight: 700;
    margin-bottom: 20px;
}
.r-fit__items{
    margin-bottom: 40px;
}
.r-fit__item{
    position: relative;
    padding-left: 30px;
    font-size: var(--standart-txt);
    margin-bottom: 20px;
}
.r-fit__item:last-child{
    margin-bottom: 0;
}
.r-fit__item svg{
    display: block;
    position: absolute;
    top: 5px;
    left: 0;
}
.r-fit__case{
    position: relative;
    padding: 20px 20px 78px 20px;
    border-radius: 20px;
    background: #EEF1F9;
}
.r-fit__case-title{
    font-weight: 700;
    font-size: var(--heading-txt);
    color: #1A4FB0;
    margin-bottom: 6px;
}
.r-fit__case-desc{
    color: #728392;
    font-size: var(--standart-txt);
    margin-bottom: 10px;
}
.f-fit__col2 img{
    display: block;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
}
.r-fit__case-btn{
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 1;
    max-width: calc(100% - 40px);
}
.r-way{
    margin-bottom: var(--block-margin);
    font-family: "Inter", sans-serif;
    line-height: 1.4;
}
.r-way__desc{
    margin-top: 4px;
    color: #728392;
    font-size: var(--standart-txt );
    margin-bottom: 30px;
}
.r-way__wrap{
    margin-bottom: 30px;
}
.r-way__col{
    padding: 16px 20px;
    border-radius: 20px;
    background-color: #EEF1F9;
    margin-bottom: 10px;
}
.r-way__col:last-child{
    margin-bottom: 0;
}
.r-way__col:nth-child(1){
    background-image: url('../../images/repatriation/way1.svg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
}
.r-way__col:nth-child(2){
    background-image: url('../../images/repatriation/way2.svg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
}
.r-way__col-title{
    font-size: 24px;
    font-weight: 700;
    color: #1A4FB0;
    margin-bottom: 10px;
}
.r-way__col-item{
    margin-bottom: 10px;
}
.r-way__col-item:last-child{
    margin-bottom: 0;
}
.r-way__col-heading{
    font-size: 18px;
    font-weight: 500;
    line-height: 150%;
    margin-bottom: 2px;
}
.r-way__col-txt{
    font-size: 14px;
    color: #728392;
}
.r-way__info{
    color: #728392;
    font-size: var(--standart-txt);
    margin-bottom: 10px;
}
.r-way__link{
    display: flex;
    align-items: center;
    width: fit-content;
    color: #1A4FB0 ;
    font-size: var(--standart-txt);
    margin-bottom: 10px;
}
.r-way__link span{
    display: block;
}
.r-way__link svg{
    display: block;
    margin-left: 10px;
}
.r-way__note{
    color: #728392;
    font-size: 14px; 
} 
.r-do{
    margin-bottom: var(--block-margin);
    font-family: "Inter", sans-serif;
    line-height: 1.4;
}
.r-do__heading{
    margin-top: 20px;
    font-size: var(--heading-txt);
    margin-bottom: 10px;
    font-weight: 700;
} 
.r-do__item{
    padding: 10px 0 10px 46px;
    position: relative;
}
.r-do__item-icon{
    position: absolute;
    top: 14px;
    left: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #EEF1F9;
    display: flex;
    justify-content: center;
    align-items: center;
}
.r-do__item-icon svg{
    max-width: 24px;
    max-height: 24px;
}
.r-do__item-txt{
    min-height: 40px;
    font-size: var(--standart-txt);
}
.r-do__items--red  .r-do__item-icon{
    background: rgba(204, 10, 10, 0.07);
}
.r-do__items--red  .r-do__item-txt{
    color: #728392;
}
.r-help{
    font-family: "Inter", sans-serif;
    line-height: 1.4;
}
.r-help__desc{
    margin-top: 4px;
    color: #728392;
    margin-bottom: 20px; 
    font-size: var(--standart-txt);
}
.r-help__heading{
    font-weight: 700;
    font-size: var(--heading-txt);
    margin-bottom: 20px;
}
.r-help__items{
    margin-bottom: 40px;
}
.r-help__item{
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
}
.r-help__item:last-child{
    margin-bottom: 0;
}
.r-help__item svg{
    display: block;
    position: absolute;
    left: 0;
    top: 4px;
}
.r-help__txt{
    font-size: var(--standart-txt);
}
.r-help__txt a{
    color: #1A4FB0;
    text-decoration: underline;
}
.r-end{
    margin-bottom: var(--block-margin);
    position: relative;
    padding: 20px 20px 78px 20px;
    border-radius: 20px;
    background: #EEF1F9;
}
.r-end__title{
    font-weight: 700;
    font-size: var(--heading-txt);
    color: #1A4FB0;
    margin-bottom: 6px;
}
.r-end__txt{
    color: #728392;
    font-size: var(--standart-txt);
    margin-bottom: 10px;
}
.r-end__col2 img{
    display: block;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
}
.r-end__btn{
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 1;
    max-width: calc(100% - 40px);
}
.r-promise{
    margin-bottom: var(--block-margin);
    font-family: "Inter", sans-serif;
    line-height: 1.4;
}
.r-promise__wrap{
    margin-top: 20px;
}
.r-promise__col{
    margin-bottom: 20px;
}
.r-promise__col:last-child{
    margin-bottom: 0;
}
.r-promise__title{
    color: #1A4FB0;
    font-weight: 700;
    font-size: var(--heading-txt );
    margin-bottom: 4px;
}
.r-promise__txt{
    font-size: var(--standart-txt);
}
.r-work{
    padding: 40px 0;
    margin-bottom: var(--block-margin);
    position: relative;
    overflow: hidden;
    font-family: "Inter", sans-serif;
    line-height: 1.4;
}
.r-work::after{
    position: absolute;
    content: '';
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.00) 100%), #1A4FB0;
    z-index: -1;
}
.r-work .heading{
    color: #fff;
}
.r-work__desc{
    margin-top: 4px;
    font-size: var(--standart-txt);
    color: #EEF1F9;
}
.r-work__items{
    margin-top: 20px;
    margin-bottom: 20px;
}
.r-work__item{
    border-radius: 20px;
    background: #FFF;
    padding: 20px;
    margin-bottom: 10px;
}
.r-work__item:last-child{
    margin-bottom: 0;
}
.r-work__count{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #1A4FB0;
    font-size: 14px;
    line-height: 1;
    color: #fff;
    margin-bottom: 10px;
}
.r-work__title{
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;  
}
.r-work__txt{
    font-size: 14px;
    color: #728392;
    margin-bottom: 10px;
}
.r-work__info{
    color: #1A4FB0;
    font-size: 14px;
}
.r-work__note{
    color: #EEF1F9;
    font-size: var(--standart-txt);
    margin-bottom: 10px;
}
.r-work__note:last-child{
    margin-bottom: 0;
}
.r-proof{
    margin-bottom: var(--block-margin);
    font-family: "Inter", sans-serif;
    line-height: 1.4;
}
.r-proof__desc{
    color: #728392;
    font-size: var(--standart-txt);
    margin-top: 4px;
}
.r-proof__items{
    margin-top: 20px;
}
.r-proof__item{
    border-radius: 20px;
    border: 2px solid #EEF1F9;
    padding: 16px;
    margin-bottom: 10px;
}
.r-proof__item:last-child{
    margin-bottom: 0;
}
.r-proof__title-block{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.r-proof__img{
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}
.r-proof__img img{
    display: block;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
}
.r-proof__title{
    width: calc(100% - 50px);
    color: #1A4FB0;
    font-weight: 700;
    font-size: 14px;  
}
.r-proof__item-desc{
    color: #728392;
    font-size: 14px;
    margin-bottom: 10px;
}
.r-proof__result{
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;  
}
.r-proof__modal-btn{
    display: flex;
    align-items: center;
    width: fit-content;
    font-size: 14px;
    color: #1A4FB0;
    font-weight: 700;
}
.r-proof__modal-btn span{
    display: block;    
}
.r-proof__modal-btn svg{
    display: block;
    margin-left: 10px;
}
.r-proof__modal{
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 300;
    background-color: rgba(26, 27, 29, 0.5);
    padding: 16px;
    animation: vanish 0.3s;
    display: none;
}
.r-proof__modal-close{
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.r-proof__modal-close span{
    display: block;
    width: 16px;
    height: 16px;
    position: relative;
}
.r-proof__modal-close span::after{
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #1a1b1d;
    transform: rotate(-45deg);
}
.r-proof__modal-close span::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #1a1b1d;
    transform: rotate(45deg);
}
.r-proof__modal.active{
    display: block;
    animation: appear 0.3s;
}
.r-proof__modal-body{
    position: absolute;
    width: 100%;
    max-width: calc(100% - 32px);
    min-height: 400px;
    max-height: 80vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(16, 38, 83, 0.2);
    padding: 40px 20px 24px;
    overflow-y: auto;
    background: #fff;
}
@keyframes appear {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes vanish {
    from {
        display: block;
        opacity: 1;
    }

    to {
        display: none;
        opacity: 0;
    }
}
.r-proof__modal-title{
    color:  #1A4FB0;
    font-size: var(--heading-txt);
    font-weight: 700;
    margin-bottom: 10px;
}
.r-proof__modal-txt{
    font-size: var(--standart-txt);
    font-weight: 500;
}
.r-proof__grid{
    margin-top: 20px;
}
.r-proof__grid-item{
    position: relative;
    padding-left: 70px;
    margin-bottom: 10px;
}
.r-proof__grid-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #EEF1F9;
    display: flex;
    justify-content: center;
    align-items: center;
}
.r-proof__grid-item svg {
    display: block;
}
.r-proof__grid-title{
    color: #1A4FB0;
    font-size: var(--heading-txt);
    font-weight: 700;
}
.r-proof__grid-txt{
    color: #728392;
    font-size: 14px; 
}
.r-cost{
    margin-bottom: var(--block-margin);
    font-family: "Inter", sans-serif;
    line-height: 1.4;
}
.r-cost__desc{
    color: #728392;
    font-size: var(--standart-txt); 
    margin-top: 4px;
}
.r-cost__items{
    margin-top: 30px;
}
.r-cost__item{
    padding: 20px;
    border-radius: 20px;
    border: 2px solid #EEF1F9;
    margin-bottom: 20px;
}
.r-cost__item:last-child{
    margin-bottom: 0;
}
.r-cost__title{
    color: #1A4FB0;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px; 
}
.r-cost__txt{
    color: #728392;
    font-size: 14px;
    margin-bottom: 10px;
}
.r-cost__img{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 65%;
    margin-left: auto;
    margin-right: auto;
}
.r-cost__img img{
    display: block;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
}
.r-cost__price{
    color: #1A4FB0;
    font-size: 18px;
    font-weight: 500;
    line-height: 150%;
}
.r-cost__info{
    font-size: 24px; 
    margin-top: 30px;
    font-weight: 700;
    margin-bottom: 20px; 
}
.r-cost__block{
    margin-bottom: 10px;
    position: relative;
    padding-left: 50px;
}
.r-cost__block:last-child{
    margin-bottom: 0;
}
.r-cost__icon{
    display: flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background: #EEF1F9;
    position: absolute;
    top: 0;
    left: 0;   
}
.r-cost__icon svg{
    display: block;
    max-width: 24px;
    max-height: 24px;
}
.r-cost__block-txt{
    font-size: var(--standart-txt );
    min-height: 40px;
}
.r-cost__cols{
    margin-top: 30px;
    margin-bottom: 20px;
}
.r-cost__col{
    padding: 20px;
    border-radius: 20px;
    background: #EEF1F9;
    margin-bottom: 10px;
}
.r-cost__col:last-child{
    margin-bottom: 0;
}
.r-cost__col-title{
    color: #1A4FB0;
    font-size: var(--heading-txt);
    font-weight: 700;
    margin-bottom: 10px;
} 
.r-cost__col-txt{
    color: #728392;
    font-size: var(--standart-txt);
}
.r-form{
    margin-bottom: var(--block-margin);
    border-radius: 20px;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.00) 100%), #1A4FB0;
    padding: 20px;
    font-family: "Inter", sans-serif;
    line-height: 1.4;
}
/* На странице репатриации форма стоит внутри .repatriation > .container и берёт
   ширину оттуда. На страницах агентства блоки выводятся прямо в main, своего
   контейнера у формы нет, и без этого правила она растягивается на всё окно.
   Ширина — как у .container темы: до 1180px, по бокам поля по 16px. */
main > .r-form{
    width: calc(100% - 32px);
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}
/* Интерлиньяж и насыщенность заголовка у формы свои: в мобильном макете
   24px/700/140%, в десктопном 36px/600/120%. Общий .heading не трогаем —
   он используется остальными блоками страницы. */
.r-form .heading{
    color: #fff;
    line-height: 140%;
}
.r-form__desc{
    margin-top: 4px;
    color: #EEF1F9;
    font-size: var(--standart-txt);
    margin-bottom: 30px;
}
.r-form form{
    display: block;
}
.r-form__input-info{
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    line-height: 150%;
    margin-bottom: 10px;
}
.r-form__input-item{
    margin-bottom: 20px;
}
.r-form__input-item input{
    display: block;
    width: 100%;
    height: 51px;
    border-radius: 8px;
    border: 1px solid #EEF1F9;
    background: #FFF;
    color: #1A1B1D;
    font-size: 18px;
    line-height: 1;
    font-weight: 500;
    outline: none;
    padding: 12px 16px;
}
.r-form__input-item input:user-invalid {
    border-color: red;
}

.r-form__input-item input:user-valid {
    border-color: #41E847;
}
.r-form__input-item input::placeholder, .r-form__input-item textarea::placeholder{
    color:  #728392;
    font-size: 18px;
    line-height: 1;
    line-height: 1.5;
    font-style: italic;
    font-weight: 300;
}
.r-form__input-item textarea{
    display: block;
    width: 100%;
    padding: 12px 16px;
    height: 200px;
    border-radius: 8px;
    border: 1px solid #EEF1F9;
    background: #FFF;
    color: #1A1B1D;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 500;
    outline: none;
    resize: none;
}
.r-form__checkbox-item{
    display: block;
    position: relative;
    height: 40px;
}
.r-form__checkbox-item input{
    position: absolute;
    z-index: -1;
    opacity: 0;
}
.r-form__checkbox-item label{
    display: block;
    width: 100%;
    max-width: 300px;
    height: 100%;
    position: relative;
    padding-left: 46px;
    font-size: 14px;
    color: #fff ;
    cursor: pointer;
}
.r-form__checkbox-item label a{
    text-decoration: underline;
}
.r-form__checkbox-item label::after{
    position: absolute;
    content: '';
    top: 5px;
    left: 0;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    border: 1px solid #EEF1F9;
    background: #FFF;
}
.r-form__checkbox-item label::before{
    position: absolute;
    content: '';
    top: 5px;
    left: 0;
    width: 30px;
    height: 30px;
    background: url('../../images/repatriation/tick.svg') no-repeat center;
    z-index: 1;
    opacity: 0;
    transition: 0.3s ease;
}
.r-form__checkbox-item input:checked + label::before{
    opacity: 1;
}
/* Выпадающий список выглядит как поле ввода: те же размеры и рамка.
   appearance: none убирает системную стрелку, вместо неё — своя фоном справа. */
.r-form__select{
    display: block;
    width: 100%;
    height: 51px;
    border-radius: 8px;
    border: 1px solid #EEF1F9;
    background-color: #FFF;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23728392' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    color: #1A1B1D;
    font-family: inherit;
    font-size: 18px;
    line-height: 1;
    font-weight: 500;
    outline: none;
    padding: 12px 44px 12px 16px;
    appearance: none;
    cursor: pointer;
}

/* Пункт-заглушка выглядит подсказкой, как placeholder у соседних полей. */
.r-form__select:has(option[value=""]:checked){
    color: #728392;
    font-style: italic;
    font-weight: 300;
}

.r-form__select option{
    color: #1A1B1D;
    font-style: normal;
    font-weight: 500;
}

.r-form__submit{
    margin-top: 20px;
}

.r-form__note{
    margin-top: 16px;
    color: #EEF1F9;
    font-size: 14px;
    line-height: 140%;
}
.r-form__desc br{
    display: none;
}
@media (min-width: 768px){
    .r-hero__nav{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .r-hero__nav-btn, .r-hero__nav-btn2{
        width: calc(50% - 10px);
    }
    .r-hero__info{
        width: 100%;
    }
    .r-hero__grid, .r-proof__grid{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 20px;
    }
    .r-items__wrapper, .r-fit__wrap, .r-fit__items, .r-way__wrap, .r-do__items, .r-help__items, .r-promise__wrap, .r-work__items, .r-proof__items, .r-cost__items, .r-cost__wrap, .r-cost__cols{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .r-item, .r-fit__col, .r-fit__item, .r-way__col, .r-do__item, .r-help__item, .r-promise__col, .r-work__item, .r-proof__item, .r-proof__grid-item, .r-cost__item, .r-cost__block, .r-cost__col, .r-hero__nav-btn, .r-hero__grid-item{
        margin-bottom: 0;
    }
    .r-fit__case{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        padding: 20px;
        width: 100%;
    }
    .r-fit__case-col{
        width: 70%;
    }
    .r-fit__case-col2{
        width: 30%;
    }
    .r-fit__case-btn {
        position: relative;
        left: auto;
        bottom: auto;
        z-index: 1;
        max-width: 230px;
    }
    .r-end{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        padding: 20px;
    }
    .r-end__col{
        width: 70%;
        padding-right: 10px;
    }
    .r-end__col2{
        width: 30%;
    }
    .r-end__btn{
        position: relative;
        left: auto;
        bottom: auto;
        z-index: 1;
        max-width: 230px;
    }

}
@media (min-width: 1024px){
    .r-form__row1{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 20px;
    }
    .r-form__input-item{
        margin-bottom: 0;
    }
    .r-form__row2{
        margin-bottom: 20px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-bottom: 20px;
    }
    .r-form__input-item textarea{
        height: 100px;
    }
    .r-form__row3{
        margin-top: 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .r-form__submit{
        max-width: 333px;
        margin-top: 0;
    }
    .r-form__checkbox-item label{
        max-width: 370px;
        line-height: 40px;
    }
}
@media (min-width: 1200px){
    .repatriation{
        padding-top: 40px;
    }
    .r-hero__badge{
        max-width: 484px;
        line-height: 11px;
    }
    .r-hero__wrap{
        display: flex;
        flex-wrap: wrap;
        width: 100%;        
    }
    .r-hero__left{
        width: 43.22%;
    }
    .r-hero__right{
        width: 56.78%;
        min-height: 352px;
    }
    .r-hero__nav{
        width: 43.22%;
        margin-top: -37px;
        justify-content: flex-start;
    }
    .r-hero__nav-btn{
        width: 100%;
        max-width: 246px;
        margin-right: 20px;
    } 
    .r-hero__nav-btn2{
        width: 100%;
        max-width: 182px;
    }
    .r-hero__info{
        margin-top: 6px;
    }
    .r-hero__grid{
        margin-top: 32px;
        column-gap: 70px;
        row-gap: 20px;
    }
    .r-items__wrapper{
        grid-template-columns: repeat(4, 1fr);
    }
    .r-item{
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: flex-start;
    }
    .r-item__pic{
        max-width: 230px;
        max-height: 230px;
        margin-top: auto;
    }    
    .r-fit__col{
        padding: 30px;
    }
    .r-fit__items{
        column-gap: 40px;
        row-gap: 20px;
    }
    .r-fit__case{
        padding: 30px;
    }
    .r-fit__case-desc{
        margin-bottom: 20px;
    }
    .r-fit__case-col{
        width: 67.1%;
        padding-right: 20px;
    }
    .r-fit__case-col2{
        width: 32.9%;
        margin-top: -30px;
        margin-bottom: -30px;
    }
    .r-way__col{
        padding: 26px 30px;
    }
    .r-way__link{
        margin-bottom: 0;
    }
    .r-fit__desc, .r-fit__txt, .r-fit__item, .r-fit__case-desc, .r-way__desc, .r-way__info, .r-do__item-txt, .r-help__desc, .r-help__txt, .r-end__txt, .r-promise__txt, .r-work__desc, .r-work__note, .r-proof__desc, .r-proof__modal-txt{
        line-height: 1.5;   
    }
    .r-do__heading{
        margin-top: 30px;
    }
    .r-do__items + .r-do__heading{
        margin-top: 40px;
        margin-bottom: 20px;
    }
    .r-do__items{
        grid-template-columns: repeat(3, 1fr);
        column-gap: 40px;
        row-gap: 20px;
    }
    .r-do__item{
        padding-top: 0;
        padding-bottom: 0;
        padding-left: 80px;
    }
    .r-do__item-icon{
        top: 0;
        width: 60px;
        height: 60px;
    }
    .r-do__item-icon svg{
        max-width: none;
        max-height: none;
    }
    .r-help__items{
        column-gap: 40px;
        row-gap: 20px;
    }
    .r-end{
        padding: 30px;
    }
    .r-end__col{
        width: 67.1%;
        padding-right: 20px;
    }
    .r-end__col2{
        width: 32.9%;
        margin-top: -30px;
        margin-bottom: -30px;
    }
    .r-promise__wrap{
        column-gap: 60px;
        row-gap: 20px;
    }
    .r-work{
        padding: 80px 0;
    }
    .r-work__items{
        margin-top: 30px;
        margin-bottom: 30px;
        grid-template-columns: repeat(5, 1fr);
    }
    .r-proof__title{
        font-size: 20px; 
    }
    .r-fit__desc, .r-fit__txt, .r-fit__item, .r-fit__case-desc, .r-way__desc, .r-way__info, .r-do__item-txt, .r-help__desc, .r-help__txt, .r-end__txt, .r-promise__txt, .r-work__desc, .r-work__note, .r-proof__desc, .r-proof__modal-txt, .r-cost__desc{
        line-height: 1.5;   
    }
    .r-proof__modal-body{
        max-width: 580px;
    }
    .r-proof__grid{
        margin-top: 30px; 
        grid-template-columns: auto auto;  
        justify-content: space-between;       
    }
    .r-cost__items{
        grid-template-columns: repeat(3, 1fr);
    }
    .r-cost__img{
        max-width: none;
    }
    .r-cost__item{
        position: relative;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: flex-start;
        min-height: 500px;
    }
    .r-cost__price{
        margin-top: auto;
    }
    .r-cost__img{
        position: absolute;
        left: 20px;
        bottom: 47px;
        width: calc(100% - 40px);
        z-index: 0;
    }
    .r-cost__title, .r-cost__txt{
        position: relative;
        z-index: 1;
    }
    .r-cost__info{
        margin-top: 50px;
    }
    .r-cost__wrap{
        grid-template-columns: repeat(3, 1fr);
    }
    .r-cost__icon svg{
        max-width: 34px;
        max-height: 34px;
    }
    .r-cost__icon{
        width: 60px;
        height: 60px;
    }
    .r-cost__block{
        padding-left: 80px;
    }
    .r-cost__cols{
        margin-top: 50px;
        margin-bottom: 40px;
    }
    .r-cost__col{
        padding: 30px;
    }
    .r-form{
        padding: 50px 60px;
    }
    .r-form .heading{
        font-weight: 600;
        line-height: 120%;
    }
    .r-form__desc, .r-form__input-info{
        line-height: 1.5;
    }
    .r-form__desc br{
        display: block;
    }
    .r-form__row1, .r-form__row2{
        margin-bottom: 30px;
    }
    .r-form__row3{
        margin-top: 30px;
    }
}
@media (hover: hover) {
    .lnk{
        transition: 0.2s ease;
    }
    .lnk--blue:hover{
        background: #4872C0;
    }
    .lnk--grey-light:hover{
        border-color: #4872C0;
    }
    .lnk--red:hover {
        background: #a80808;
    }
}