* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}





body {
    min-width: 320px;

    font-family: Arial, Helvetica, sans-serif, Montserrat, Mulish;

    color: #332a22;

    background:
        url("img/background.jpg")
        center top / cover fixed;

    overflow-x: hidden;
}


.special-price{
    display: none;
}


/* =====================================================
   HEADER
===================================================== */

.header {
    width: 100%;
    height: 87px;

    background: #2B2622;
}

.header__inner {
    width: 1192px;
    height: 94px;

    margin: 0 auto;

    display: flex;
    align-items: center;
}


/* =====================================================
   ЛОГО
===================================================== */

.header__logo {
    width: 255px;
    height: 32px;

    display: flex;
    align-items: center;

    flex-shrink: 0;

    text-decoration: none;

}

.header__logo img {
    display: block;

    width: 255px;
    height: 50px;

    object-fit: contain;
}


/* =====================================================
   ГОРОД
===================================================== */

.header__city {
    width: 208px;
    height: 60px;

    font-family: "Mulish";
    margin-left: 30px;

    display: flex;
    align-items: center;

    flex-shrink: 0;
}

.header__city-icon {
    display: block;

    width: 44px;
    height: 44px;

    margin-right: 10px;

    border-radius: 50%;

    object-fit: cover;

}

.header__city-info {
    display: flex;
    flex-direction: column;
    font-family: "Mulish";

    color: #fff;

    line-height: 1.25;



    white-space: nowrap;
}

.header__city-info strong {
font-weight: 800;
font-style: ExtraBold;
font-size: 14px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

}

.header__city-info span {
    margin-top: 4px;
font-weight: 300;
font-style: Medium;
font-size: 14px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

}


/* =====================================================
   ТЕЛЕФОН
===================================================== */

.header__phone {
    width: 252px;

    margin-left: 0;

    color: #fff;

    text-decoration: none;

font-family: "Mulish";

font-weight: 700;
font-style: Bold;
font-size: 20px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

}


/* =====================================================
   КНОПКИ HEADER
===================================================== */

.header__button {
    width: 175px;
    height: 50px;


    padding: 0;

    border: none;
    border-radius: 5px;


    font-size: 11px;
    font-weight: 700;

    cursor: pointer;

    flex-shrink: 0;


}

.header__button--orange {
    margin-right: 22px;

    background: #c99358;

    color: #fff;


  font-family: "Mulish";
font-weight: 800;
font-style: ExtraBold;
font-size: 14px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;
vertical-align: middle;

}

.header__button--white {
    background: #f8f8f7;

    color: #171513;

  font-family: "Mulish";
font-weight: 700;
font-style: Bold;
font-size: 14px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;
vertical-align: middle;

}


/* =====================================================
   МЕНЮ
===================================================== */

.header__menu {
    height: 65px;

    margin-left: 17px;

    display: flex;
    align-items: center;

    flex-shrink: 0;
}


/* =====================================================
   ТЕКСТ МЕНЮ
===================================================== */

.header__menu-text {
    margin-right: 12px;

    writing-mode: vertical-rl;
    transform: rotate(180deg);

    color: #fff;

    font-family: "Mulish", sans-serif;
    font-size: 11px;
    font-weight: 300;
    font-style: normal;

    line-height: 100%;
    letter-spacing: 0;

    text-align: center;
}


/* =====================================================
   КНОПКА
===================================================== */

.header__menu-button {
    width: 67px;
    height: 55px;

    padding: 0;
    margin: 0;

    border: none;
    background: transparent;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;

    gap: 7px;

    cursor: pointer;
}


/* =====================================================
   ТРИ ПОЛОСКИ
===================================================== */

.header__menu-button span {
    width: 65px;
    height: 11px;

    background: #fff;

    border-radius: 2px;

    opacity: 1;

    display: block;
}

/* =====================================================
   HOVER
===================================================== */

.header__menu-button:hover span {
    opacity: 0.75;
}


/* =====================================================
   ACTIVE — КРЕСТИК
===================================================== */

.header__menu-button.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.header__menu-button.active span:nth-child(2) {
    opacity: 0;
}

.header__menu-button.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* =====================================================
   HERO
===================================================== */

.hero {
    position: relative;

    width: 100%;
    height: 743px;

    min-height: 716px;

    overflow: hidden;

    background-image: url("img/refusal.png");
    background-repeat: no-repeat;

    /* КАРТИНКА ВСЕГДА ОДНОГО РАЗМЕРА */
    background-size: 100% 100%;

    /* КАРТИНКА НЕ ПЕРЕСЧИТЫВАЕТСЯ ПРИ ZOOM */
    background-position: center top;
}


/* =====================================================
   NAVIGATION
===================================================== */




.navigation {
    width: 1192px;
    max-width: calc(100% - 32px);
    min-height: 66px;

    margin: 15px auto 0;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;

    box-sizing: border-box;
}

/* Переключатель города */
.gz-city-switch {
    flex: 0 0 auto;
    margin-left: 0;
}

/* Общий стиль основных кнопок */
.navigation > a,
.navigation__services > .navigation__services-link {
    height: 50px;
    width: auto !important;
    min-width: 0;

    flex: 0 1 auto;
    padding: 0 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
    border: none;
    border-radius: 10px;

    background: linear-gradient(
        380deg,
        #967968 0%,
        #C39980 100%
    );

    color: #fff;
    text-decoration: none;
    white-space: nowrap;

    font-family: "Mulish", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
}

/* Контейнер услуг */
.navigation__services {
    position: relative;
    flex: 0 1 auto;
    min-width: 0;
}


.navigation a {
    height: 50px;

    padding: 0 29px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background:
        linear-gradient(
            380deg,
            #967968 0%,
            #C39980 100%
        );

    color: #fff;

    text-decoration: none;
  white-space: nowrap;

font-family: "Mulish";
font-weight: 600;
font-style: SemiBold;
font-size: 17px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}


/* ТОЧНЫЕ ШИРИНЫ КНОПОК */

.navigation a:nth-child(1) {
    width: 109px;
}

.navigation a:nth-child(2) {
    width: 121px;
}

.navigation a:nth-child(3) {
    width: 157px;
}

.navigation a:nth-child(4) {
    width: 150px;
}

.navigation a:nth-child(5) {
    width: 125px;
}

.navigation a:nth-child(6) {
    width: 160px;
}

.navigation a:nth-child(7) {
    width: 143px;
}

.navigation a:nth-child(8) {
    width: 143px;
}



/* =====================================================
   MOBILE HEADER
===================================================== */

@media (max-width: 767px) {

    /* ================= HEADER ================= */

    .header {
        width: 100%;
        height: 47px;
        background: #2B2622;
    }

    .header__inner {
        width: 100%;
        height: 47px;

        margin: 0;
        padding: 0 17px 0 20px;

        display: flex;
        align-items: center;
    }


    /* ================= ЛОГОТИП ================= */

    .header__logo {
        width: 88px;
        height: 25px;

        margin: 0;

        display: flex;
        align-items: center;

        flex-shrink: 0;

        order: 1;
    }

    .header__logo img {
        display: block;

        width: 88px;
        height: 25px;

        object-fit: contain;
        object-position: left center;
    }


    /* ================= ГОРОД ================= */

    .header__city {
        display: none;
    }


    /* ================= КНОПКА "НАПИСАТЬ В МАХ" ================= */

    .header__button--white {
        width: 67px;
        height: 23px;

  margin: 0 16px 0 35px;
          padding: 0;

        border: none;
        border-radius: 4px;

        background: #f8f8f7;
        color: #171513;

        font-family: "Mulish", sans-serif;

        font-size: 7px;
        font-weight: 700;

        line-height: 1;
        text-align: center;

        

        cursor: pointer;

        flex-shrink: 0;

        order: 2;
    }


    /* ================= КНОПКА "ПОЗВОНИТЬ" ================= */

    .header__button--orange {
        display: none;
    }


    /* ================= ТЕЛЕФОН ================= */

    .header__phone {
        width: auto;

        margin: 0;

        color: #fff;

        text-decoration: none;

        font-family: "Mulish", sans-serif;

        font-size: 9px;
        font-weight: 700;

        line-height: 1;

        white-space: nowrap;

        flex-shrink: 0;

        order: 3;
    }


    /* ================= МЕНЮ ================= */

    .header__menu {
        height: 47px;

        margin-left: auto;

        display: flex;
        align-items: center;

        flex-shrink: 0;

        order: 4;
    }


    /* ================= ТЕКСТ "МЕНЮ" ================= */

    .header__menu-text {
        margin-right: 8px;

        writing-mode: vertical-rl;
        transform: rotate(180deg);

        color: #fff;

        font-family: "Mulish", sans-serif;

        font-size: 10px;
        font-weight: 300;

        line-height: 1;

        letter-spacing: 0;

        white-space: nowrap;

        text-align: center;
    }


    /* ================= КНОПКА ГАМБУРГЕР ================= */

    .header__menu-button {
        width: 36px;
        height: 39px;

        padding: 0;
        margin: 0;

        border: none;
        background: transparent;

        display: flex;
        flex-direction: column;

        justify-content: center;
        align-items: flex-end;

        gap: 5px;

        cursor: pointer;
    }


    /* ================= ТРИ ПОЛОСКИ ================= */

    .header__menu-button span {
        width: 36px;
        height: 6px;

        display: block;

        background: #fff;

        border-radius: 1px;

        opacity: 1;
    }


    /* ================= HOVER ================= */

    .header__menu-button:hover span {
        opacity: 0.75;
    }


    /* ================= ACTIVE — КРЕСТИК ================= */

    .header__menu-button.active span:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .header__menu-button.active span:nth-child(2) {
        opacity: 0;
    }

    .header__menu-button.active span:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

}


/* =====================================================
   МОБИЛЬНАЯ НАВИГАЦИЯ
   ЕДИНЫЙ ЭКРАН ПО ДИЗАЙНУ
===================================================== */

.mobile-navigation {
    display: none;
}

@media screen and (max-width: 767px) {

    /* =====================================================
       ОТКРЫТОЕ МОБИЛЬНОЕ МЕНЮ
    ===================================================== */

    .mobile-navigation {
        position: fixed;

        top: 0;
        left: 0;

        width: 100vw;
        height: 346px;

        margin: 0;
        padding: 0;

        box-sizing: border-box;

        background: #2B2622;

        z-index: 100000;

        display: none;

        overflow: hidden;
    }


    .mobile-navigation.active {
        display: block;
    }


    /* =====================================================
       НОВАЯ ШАПКА ВНУТРИ МЕНЮ

       ВАЖНО:
       ЭТО НЕ .header
    ===================================================== */

    .mobile-menu-header {
        position: absolute;

        top: 0;
        left: 0;

        width: 360px;
        height: 48px;

        display: flex;

        align-items: center;

        box-sizing: border-box;

        background: #2B2622;

        z-index: 10;
    }


    /* =====================================================
       ЛОГОТИП
    ===================================================== */

    .mobile-menu-header__logo {
        position: absolute;

        left: 29px;
        top: 10px;

        width: 29px;
        height: 29px;

        object-fit: contain;


        
    }


    /* =====================================================
       ГОРОД
    ===================================================== */

    .mobile-menu-header__city {
        position: absolute;

        left: 97px;
        top: 10px;

        width: 106px;
        height: 29px;

        display: flex;
        align-items: center;
    }


    .mobile-menu-header__city-icon {
        width: 23px;
        height: 23px;

        margin-right: 7px;

        border-radius: 50%;

        object-fit: cover;
    }


    .mobile-menu-header__city-info {
        display: flex;
        flex-direction: column;

        color: #FFFFFF;

        white-space: nowrap;
    }


    .mobile-menu-header__city-info strong {
        margin: 0;

        font-family: "Mulish";

    

        line-height: 9px;


font-weight: 800;
font-style: "ExtraBold";
font-size: 8px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

    }


    .mobile-menu-header__city-info span {
        margin: 2px 0 0;

        font-family: "Mulish";

        font-size: 6px;
        font-weight: 400;

        line-height: 7px;
    }


    /* =====================================================
       КНОПКА ПОЗВОНИТЬ
    ===================================================== */

    .mobile-menu-header__call {
        position: absolute;

        left: 226px;
        top: 10px;

        width: 87px;
        height: 24px;

        padding: 0;

        border: none;
        border-radius: 4px;

        background: #C6925C;

        color: #FFFFFF;

        font-family: "Mulish";

        font-size: 7px;
        font-weight: 800;

        line-height: 24px;

        text-align: center;
    }


     /* =====================================================
       МЕНЮ + КРЕСТИК

       ОСТАВЛЯЕМ СПРАВА,
       ГДЕ БЫЛ БУРГЕР
    ===================================================== */

    .mobile-menu-header__menu {
        position: absolute;

        top: 0;
        right: -17px;

        width: 25px;
        height: 25px;

        margin: 0;
        padding: 0;
    }


    /* =====================================================
       НАДПИСЬ МЕНЮ
    ===================================================== */

    .mobile-menu-header__menu > span {
        position: absolute;

        left: -25px;
        top: 8px;

        width: 7px;

        color: #fff;

        font-family: "Mulish";

        font-size: 10px;
        font-weight: 300;

        line-height: 1;

        writing-mode: vertical-rl;

        transform: rotate(180deg);

        text-align: center;
    }


    /* =====================================================
   КРЕСТИК — ТОЧНО НА МЕСТЕ БУРГЕРА
===================================================== */

.mobile-menu-header__close {
    position: absolute;

    /* такое же положение, как у .header__menu-button */
    right: 0;
    top: 4px;

    width: 36px;
    height: 39px;

    margin: 0;
    padding: 0;

    border: none;
    background: transparent;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}


/* =====================================================
   ЛИНИИ КРЕСТИКА
===================================================== */

.mobile-menu-header__close span {
    position: absolute;

    left: 0;
    top: 17px;

    width: 36px;
    height: 6px;

    margin: 0;

    background: #fff;

    border-radius: 1px;
}


/* первая линия */
.mobile-menu-header__close span:first-child {
    transform: rotate(45deg);
}


/* вторая линия */
.mobile-menu-header__close span:last-child {
    transform: rotate(-45deg);
}


/* =====================================================
   ПУНКТИРНАЯ РАМКА
===================================================== */

.mobile-navigation::before {
    content: "";

    position: absolute;

    top: 53px;
    left: 50%;

    width: 207px;
    height: 275px;

    transform: translateX(-50%);

    box-sizing: border-box;

    border: 1px dashed rgba(255, 255, 255, 0.85);

    opacity: 1;
}


/* =====================================================
   КНОПКИ НАВИГАЦИИ
===================================================== */

.mobile-navigation__links {
    position: absolute;

    top: 70px;
    left: 50%;

    width: 182px;

    transform: translateX(-50%);

    display: grid;

    grid-template-columns: 89px 89px;

    column-gap: 8px;
    row-gap: 15px;
}


.mobile-navigation__links a {
    width: 89px;
    height: 27px;

    padding: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    border-radius: 5px;

    background: linear-gradient(
        180deg,
        #CBA68F 0%,
        #A9826D 100%
    );

    color: #FFFFFF;

    text-decoration: none;

    font-family: "Montserrat", sans-serif;

    font-weight: 600;
    font-style: normal;

    font-size: 10px;

    line-height: 100%;
    letter-spacing: 0;

    text-align: center;
}


/* =====================================================
   НИЖНИЙ ЛОГОТИП
===================================================== */

.mobile-navigation__logo {
    position: absolute;

    top: 245px;
    left: 50%;

    width: 122px;
    height: 16px;

    transform: translateX(-50%);

    margin: 0;
    padding: 0;

    object-fit: contain;

    opacity: 1;
}


/* =====================================================
   НИЖНИЕ КОНТАКТЫ
===================================================== */

.mobile-navigation__contacts {
    position: absolute;

    top: 285px;
    left: 50%;

    width: 158px;
    height: 20px;

    transform: translateX(-50%);

    margin: 0;
    padding: 0;

    display: flex;

    align-items: center;

    justify-content: space-between;

    box-sizing: border-box;
}


/* =====================================================
   КНОПКА «НАПИСАТЬ В MAX»
===================================================== */

.mobile-navigation__max {
    width: 67px;
    height: 20px;

    margin: 0;
    padding: 3px 5px;

    box-sizing: border-box;

    border: 1px solid #2B2622;
    border-radius: 5px;

    background: #FFFFFF;

    color: #2B2622;

    font-family: "Mulish", sans-serif;

    font-weight: 700;
    font-style: normal;

    font-size: 6px;

    line-height: 100%;
    letter-spacing: 0;

    text-align: center;
    vertical-align: middle;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* =====================================================
   НОМЕР ТЕЛЕФОНА
===================================================== */

.mobile-navigation__phone {
    margin: 0;
    padding: 0;

    color: #FFFFFF;

    text-decoration: none;

    font-family: "Mulish", sans-serif;

    font-weight: 700;
    font-style: normal;

    font-size: 8px;

    line-height: 100%;
    letter-spacing: 0;

    white-space: nowrap;
}
    .navigation{
        display: none;

    }
}


/* =====================================================
   УБИРАЕМ ГОРИЗОНТАЛЬНЫЙ СКРОЛЛ НА ТЕЛЕФОНЕ
   ===================================================== */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}

@media screen and (max-width: 767px) {

    html {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    /* Нельзя элементам расширять страницу */
    * {
        max-width: 100%;
    }

    /* Но картинки не должны ломать свои размеры */
    img {
        max-width: 100%;
    }
}

@media screen and (max-width: 767px) {

    html,
    body {
        width: 100%;
        max-width: 100vw;
        overflow-x: clip !important;
    }

    .navigation,
    .hero__content,
    .trust-container,
    .situations-header,
    .situations-list {
        max-width: 100%;
    }
}


@media (max-width: 600px) {

    .inheritance-problems__pause {
        width: 16px !important;
        height: 16px !important;

        margin-top: 50px;
        margin: 0 auto 20px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        flex-shrink: 0 !important;
    }

    .inheritance-problems__pause img {
        display: block !important;

        width: 16px !important;
        height: 16px !important;

        min-width: 16px !important;
        max-width: 16px !important;

        min-height: 16px !important;
        max-height: 16px !important;

        object-fit: contain !important;

        margin: 0 !important;
        padding: 0 !important;
        position: static !important;
        transform: none !important;
    }
}

/* =====================================
   БУРГЕР НА ПК — ВСЕГДА ТРИ ПОЛОСКИ
===================================== */

@media screen and (min-width: 768px) {

    .header__menu-button.active span:nth-child(1) {
        transform: none;
    }

    .header__menu-button.active span:nth-child(2) {
        opacity: 1;
    }

    .header__menu-button.active span:nth-child(3) {
        transform: none;
    }

}

/* =========================================================
   ПЕРВЫЙ ЭКРАН — НАСЛЕДСТВО
   ========================================================= */

.inheritance-hero {
    position: relative;

    width: 100%;
    height: 830px;

    overflow: hidden;

    box-sizing: border-box;

    background-image: url("img/inheritance-bg.jpg");
    background-repeat: no-repeat;

    background-size: 1920px 830px;

    /* СДВИГ КАРТИНКИ ВЛЕВО */
    background-position: calc(50% - 150px) top;

    color: #3d3023;
}
/* =========================================================
   ВЕРХНЯЯ ПОЛОСКА
   ========================================================= */

.inheritance-hero__top {
    position: absolute;

    top: 13px;
    left: 0;

    width: 100%;
    height: 67px;

    box-sizing: border-box;

    background: #967968CC 80%;

    z-index: 5;

    text-align: center;

    color: #fff;

    padding-top: 9px;
}


.inheritance-hero__top-line {
    font-family: Arial, sans-serif;

    font-size: 19px;
    line-height: 23px;

    font-weight: 700;
}


.inheritance-hero__top-text {
    margin-top: 2px;

    font-size: 19px;
    line-height: 23px;

    font-weight: 700;
}


/* =========================================================
   ЛЕВЫЙ КОНТЕНТ
   ========================================================= */

.inheritance-hero__content {
    position: absolute;

    left: calc(50% - 642px);
    top: 193px;

    width: 575px;

    z-index: 10;
}


/* =========================================================
   ЗАГОЛОВОК
   ========================================================= */

.inheritance-hero__content h1 {
    margin: 0;

    width: 599px;

    padding: 0;

    margin-top: -70px;
    margin-left: 55px;


    line-height: 43px;


    letter-spacing: -0.5px;

    color: #B88A4433 20%;

    font-family: "Montserrat";
font-weight: 800;
font-style: "ExtraBold";
font-size: 36px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

}


/* =========================================================
   СПИСОК
   ========================================================= */

.inheritance-hero__list {
    width: 537px;

    margin-top: 27px;
    margin-left: 50px;

    padding: 17px 14px 12px 0;

    box-sizing: border-box;

    background: #DAB5854D 30%;
}


.inheritance-hero__list-item {
    display: flex;

    align-items: center;

    height: 24px;

    margin: 0;
}


.inheritance-hero__list-item span {
    display: block;

    width: 24px;

    margin-right: 0;

    flex-shrink: 0;

    color: #aa8060;

    font-size: 20px;
    line-height: 20px;

    transform: translateX(-4px);
}


.inheritance-hero__list-item p {
    margin: 0;

    line-height: 23px;


    color: #493b2d;

    font-family: "Montserrat";
font-weight: 400;
font-style:"Regular";
font-size: 18px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

}


/* =========================================================
   ОПИСАНИЕ ПОД СПИСКОМ
   ========================================================= */

.inheritance-hero__description {
    display: flex;

    align-items: flex-start;

    margin-top: 28px;

    margin-left: 55px;
}


.inheritance-hero__description-icon {
    width: 35px;


    text-align: center;
}


.inheritance-hero__description-icon img {
    width: 35px;
    margin-top: 5px;

}


.inheritance-hero__description p {
    margin: 0 0 0 25px;

    line-height: 23px;


    color: #1F1F1F;

    font-family: "Montserrat";
font-weight: 400;
font-style: "Regular";
font-size: 16px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

}


/* =========================================================
   КНОПКИ
   ========================================================= */

.inheritance-hero__buttons {
    display: flex;

    align-items: center;

    gap: 30px;

    margin-top: 36px;

    margin-left: 50px;
}


.inheritance-hero__button {
    display: flex;

    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    border-radius: 10px;

    text-decoration: none;

    text-align: center;

    line-height: 21px;


    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


.inheritance-hero__button:hover {
    transform: translateY(-2px);

    opacity: 0.92;
}


/* ОРАНЖЕВАЯ */

.inheritance-hero__button--orange {
    width: 295px;
    height: 73px;

    background: #C6925C;

    color: #fff;

    font-family: "Montserrat";
font-weight: 600;
font-style: "SemiBold";
font-size: 18px;
leading-trim: NONE;
line-height: 20px;
letter-spacing: 0%;
text-align: center;

}


/* КОРИЧНЕВАЯ */

.inheritance-hero__button--brown {
    width: 259px;
    height: 73px;

    background: #4C3E29;

    color: #fff;

    font-family: "Montserrat";
font-weight: 700;
font-style: Bold;
font-size: 15px;
leading-trim: NONE;
line-height: 20px;
letter-spacing: 0%;
text-align: center;

}


.inheritance-hero__button--brown span {
    display: inline;
}
/* =========================================================
   КРАСНАЯ ПОЛОСА — ВНЕ СЕКЦИИ
   ========================================================= */

.inheritance-hero__bottom {
    width: 100%;
    height: 96px;

    box-sizing: border-box;

    background: #8D3B32;

    color: #fff;

    padding-top: 17px;

    text-align: center;
}


.inheritance-hero__bottom-title {
    line-height: 21px;


    font-family: "Montserrat";
font-weight: 600;
font-style: "SemiBold";
font-size: 16px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}


.inheritance-hero__bottom-text {
    margin-top: 2px;

    line-height: 20px;


    font-family: "Montserrat";
font-weight: 400;
font-style: "Regular";
font-size: 16px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}



/* =========================================
   БЛОК ПРЕИМУЩЕСТВ
   ========================================= */

.advantages {
    width: 100%;
    height: 105px;

    background: #FFFFFF;

    display: flex;
    align-items: center;
    justify-content: center;


    gap: 43px;

    padding: 0;
    margin: 0;

    box-sizing: border-box;
}


/* =========================================
   ОДИН ПОКАЗАТЕЛЬ
   ========================================= */

.advantages__item {
    display: flex;
    align-items: center;

    height: 55px;
        margin-left: -30px;


    white-space: nowrap;
}


/* =========================================
   БОЛЬШАЯ ЦИФРА
   ========================================= */

.advantages__number {
    position: relative;

    display: flex;
    align-items: center;

    color: #3D342A;

    font-family: "Montserrat";


    line-height: 1;

    letter-spacing: -0.5px;
    

font-weight: 700;
font-style: Bold;
font-size: 30px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

}


/* =========================================
   ЗВЁЗДОЧКА
   ========================================= */

.advantages__number img {
    position: absolute;

    width: 13px;
    height: 13px;

    object-fit: contain;

    top: -10px;
    right: -7px;

    margin-left: -20px;
}


/* =========================================
   ТЕКСТ СПРАВА
   ========================================= */

.advantages__text {
    margin-left: 18px;

    color: #5C534A;

    font-family: "Montserrat";

    font-size: 13px;
    font-weight: 400;

    line-height: 1.15;

    letter-spacing: 0;
}


.advantages__text strong {
    font-weight: 700;
}


/* =========================================
   ПРЕИМУЩЕСТВА — МОБИЛЬНАЯ ВЕРСИЯ
   ========================================= */

@media (max-width: 768px) {

    .advantages {
        width: 100%;
        height: 195px;

        padding: 26px 14px 16px;

        background: #f5f4f2;

        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 50px 50px 1fr;

        column-gap: 24px;
        row-gap: 10px;

        align-items: center;
        justify-content: stretch;

        box-sizing: border-box;
    }


    /* Один показатель */
    .advantages__item {
        width: 100%;
        height: auto;

        display: flex;
        align-items: center;

        margin: 0;

        white-space: normal;
    }


    /* Порядок элементов */

    /* 2015 */
    .advantages__item:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    /* +200 */
    .advantages__item:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    /* 97% */
    .advantages__item:nth-child(3) {
        grid-column: 1;
        grid-row: 2;
    }

    /* 0 руб. переносим вниз */
    .advantages__item:nth-child(4) {
        grid-column: 1 / 3;
        grid-row: 3;

        justify-self: center;
        justify-content: center;

        width: auto;

        margin-top: 2px;
    }

    /* 100% */
    .advantages__item:nth-child(5) {
        grid-column: 2;
        grid-row: 2;
    }


    /* Цифры */
    .advantages__number {
        flex-shrink: 0;

        font-size: 21px;
        font-weight: 700;

        line-height: 1;

        letter-spacing: 0;
    }


    /* Звёздочка */
    .advantages__number img {
        width: 9px;
        height: 9px;

        top: -7px;
        right: -5px;

        object-fit: contain;
    }


    /* Текст */
    .advantages__text {
        margin-left: 12px;

        color: #5c534a;

        font-size: 9px;
        font-weight: 400;

        line-height: 1.15;

        white-space: nowrap;
    }


    .advantages__text strong {
        font-weight: 700;
    }

}


/* =========================================================
   ЭКРАН 2
   ========================================================= */

.notary-reasons {
    position: relative;

    width: 100%;

    box-sizing: border-box;

    background-image: url("img/quiz-paper.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;

    color: #332a22;

    font-family: "Montserrat", Arial, sans-serif;

    overflow: hidden;
}


/* =========================================================
   ОСНОВНОЙ КОНТЕЙНЕР
   ========================================================= */

.notary-reasons__container {
    position: relative;

    width: 100%;
    max-width: 1400px;

    min-height: 1065px;

    margin: 0 auto;

    box-sizing: border-box;

    padding-top: 32px;
}


/* =========================================================
   ВЕРХНЯЯ ИКОНКА
   ========================================================= */

.notary-reasons__top-icon {
    width: 54px;
    height: 54px;

    margin: 0 auto;
}


.notary-reasons__top-icon img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* =========================================================
   ЗАГОЛОВОК
   ========================================================= */

.notary-reasons__title {
    margin: 27px 0 0;

    padding: 0;

    text-align: center;

    line-height: 39px;


    letter-spacing: -0.4px;

    color: #B88A4433 20%;


    font-family: "Montserrat";
font-weight: 800;
font-style: "ExtraBold";
font-size: 44px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}


/* =========================================================
   ТРИ ИЛЛЮСТРАЦИИ
   ========================================================= */

.notary-reasons__illustrations {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;

    margin-top: 31px;

    gap: 55px;
}


.notary-reasons__illustration {
    width: 350px;
    height: 245px;

    display: flex;

    align-items: center;
    justify-content: center;
}


.notary-reasons__illustration img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* =========================================================
   ТЕКСТ
   ========================================================= */

.notary-reasons__intro {
    width: 100%;

    margin-top: 22px;

    text-align: center;

}


.notary-reasons__intro p {

color: #000000;
    font-family: "Montserrat";
font-weight: 300;
font-style: Light;
font-size: 20px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

    margin: 0 0 15px;
}


.notary-reasons__intro-bold {
    margin-bottom: 17px !important;


    color: #000000;


    font-family: "Montserrat";
font-weight: 600 !important;
font-style: "SemiBold";
font-size: 20px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}


/* =========================================================
   ИКОНКА X
   ========================================================= */

.notary-reasons__cross {
    width: 50px;
    height: 50px;

    margin: 46px auto 0;
}


.notary-reasons__cross img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* =========================================================
   ЗАГОЛОВОК ПРИЧИН
   ========================================================= */

.notary-reasons__subtitle {
    margin: 25px 0 0;

    padding: 0;

    text-align: center;

    line-height: 27px;


    color: #15110d;

    font-family: "Montserrat";
font-weight: 700;
font-style: Bold;
font-size: 28px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}


/* =========================================================
   КАРТОЧКИ
   ========================================================= */

.notary-reasons__cards {
    display: flex;

    justify-content: center;

    gap: 21px;

    margin-top: 38px;
}


.notary-reasons__card {
    position: relative;

    width: 603px;
    min-height: 306px;

    box-sizing: border-box;

    padding: 25px 34px 25px 20px;

    border: 3px solid #C6925C;

    border-radius: 8px;

    background: rgba(255, 248, 231, 0.08);
}


/* =========================================================
   ПУНКТЫ В КАРТОЧКАХ
   ========================================================= */

.notary-reasons__card-list {
    display: flex;

    flex-direction: column;

    gap: 5px;
}


.notary-reasons__item {
    display: flex;

    align-items: flex-start;

    min-height: 24px;
}


.notary-reasons__item img {
    width: 24px;
    height: 24px;

    flex-shrink: 0;

    margin-top: 4px;
    margin-right: 10px;

    object-fit: contain;
}


.notary-reasons__item span {
    display: block;

    line-height: 21px;


    color: #000000;


    font-family: "Montserrat";
font-weight: 400;
font-style: "Regular";
font-size: 16px;
leading-trim: NONE;
line-height: 35px;
letter-spacing: 0%;

}


/* =========================================================
   БОЛЬШОЙ КРЕСТ В УГЛУ КАРТОЧКИ
   ========================================================= */

.notary-reasons__card-cross {
    position: absolute;

    right: 7px;
    bottom: 7px;

    width: 45px;
    height: 45px;
 opacity: 0.5;
    object-fit: contain;
}


/* =========================================================
   НИЖНИЙ БЕЛЫЙ БЛОК
   ========================================================= */

.notary-reasons__action {
    width: 1201px;

    min-height: 125px;

    margin: 30px auto 45px;

    box-sizing: border-box;

    padding: 13px 25px 17px;

    background: rgba(255, 255, 255, 0.65);

    border-radius: 10px;

    text-align: center;
}


.notary-reasons__action-title {
    margin: 0;

    line-height: 24px;


    color: #16120e;


    font-family: "Montserrat";
font-weight: 600;
font-style: "SemiBold";
font-size: 24px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}


.notary-reasons__action-text {
    margin-top: 17px;

    line-height: 23px;


    color: #1f1a15;

    font-family: "Montserrat";
font-weight: 400;
font-style: "Regular";
font-size: 24px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}


/* =========================================================
   НИЖНЯЯ ТЁМНАЯ ПОЛОСА
   ========================================================= */

.notary-reasons__bottom {
    width: 100%;

    min-height: 104px;

    box-sizing: border-box;

    padding: 25px 20px;

    background: #292521;

    color: #fff;

    text-align: center;

    line-height: 22px;



    font-family: "Montserrat";
font-weight: 500;
font-style: Medium;
font-size: 24px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}


/* =====================================
   ОСНОВА
===================================== */

.quiz-section {
    width: 100%;
    min-height: 100vh;

    padding: 35px 20px 40px;
}


.quiz-wrapper {
    width: 100%;
    max-width: 950px;

    margin: 0 auto;

    text-align: center;
}


/* =====================================
   ИКОНКА СВЕРХУ
===================================== */

.quiz-refresh {
    width: 51px;
    height: 51px;

    margin: 0 auto 25px;
}


.quiz-refresh img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
}


/* =====================================
   ЗАГОЛОВКИ
===================================== */

.quiz-title {

    color: #2B2622;

    font-family: "Montserrat";
    font-weight: 800;
    font-size: 44px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
}


.quiz-subtitle {

    margin-bottom: 25px;

    color: #2B2622;

    font-family: "Montserrat";
  

font-weight: 600;
font-style: "SemiBold";
font-size: 24px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}


.quiz-description {
    max-width: 968px;

    margin: 0 auto 45px;

    color: #2B2622;

    font-family: "Montserrat";
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
}


.quiz-description strong {
    font-weight: 700;
}


/* =====================================
   КОНТЕЙНЕР КВИЗА
===================================== */

.quiz-box {
    width: 100%;
    min-height: 453px;

    display: grid;

    grid-template-columns: 1fr 295px;

    text-align: left;

    border-radius: 10px;

    overflow: hidden;

    background:
        url("img/quiz-paper.png")
        center / cover no-repeat;

    box-shadow:
        0 5px 25px rgba(80, 60, 35, 0.05);
}


/* =====================================
   ЛЕВАЯ ЧАСТЬ
===================================== */

.quiz-content {
    padding: 34px 32px 30px;

    display: flex;
    flex-direction: column;

    min-width: 0;
}


.question-title {
    color: #2B2622;

    margin-bottom: 36px;

    font-family: "Montserrat";
    font-weight: 700;
    font-size: 26px;
    line-height: 100%;
    letter-spacing: 0%;
}


/* =====================================
   ПРОГРЕСС
===================================== */

.progress {
    width: 100%;
    height: 20px;

    background:
        rgba(255, 255, 255, 0.65);

    border-radius: 20px;

    overflow: hidden;

    margin-bottom: 40px;
}


.progress-fill {
    height: 100%;

    width: 20%;

    background: #bd8a3d;

    border-radius: 20px;

    transition:
        width 0.35s ease;
}


/* =====================================
   ОТВЕТЫ
===================================== */

.answers {
    display: flex;
    flex-direction: column;

    gap: 0px;
}


.answer {
    position: relative;

    display: flex;
    align-items: center;

    cursor: pointer;

    color: #2B2622;

    font-family: "Montserrat";
    font-weight: 400;
    font-size: 20px;
    line-height: 38px;
    letter-spacing: 0%;
}


.answer input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}


.answer-circle {
    width: 22px;
    height: 22px;

    flex: 0 0 22px;

    margin-right: 15px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.65);

    border:
        1px solid rgba(185, 148, 90, 0.12);

    position: relative;

    transition: 0.2s ease;
}


.answer input:checked + .answer-circle {
    background: #B88A44;
}


.answer:hover .answer-circle {
    box-shadow:
        0 0 0 3px
        rgba(189, 138, 61, 0.12);
}


/* =====================================
   НАВИГАЦИЯ
===================================== */

.quiz-navigation {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: auto;

    padding-top: 35px;
}


.back-button {
    border: 0;

    background: transparent;

    font-family: "Montserrat";

    font-weight: 400;

    font-size: 22px;

    color: #2B2622;

    cursor: pointer;

    padding: 10px 0;

    transition: 0.2s;
}


.back-button:hover {
    opacity: 0.65;
}


.next-button {
    border: 0;

    min-width: 142px;
    height: 48px;

    border-radius: 10px;

    background: #c88f4c;

    color: #fff;

    font-family: "Montserrat";

    font-size: 20px;

    font-weight: 700;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 16px;

    transition: 0.2s ease;
}


.next-button:hover {
    background: #b97e3c;

    transform:
        translateY(-1px);
}


.next-button:active {
    transform:
        translateY(0);
}


.fingerprint {
    width: 26px;
    height: 26px;

    object-fit: contain;
}


/* =====================================
   ПРАВАЯ ЧАСТЬ
===================================== */

.quiz-sidebar {
    display: flex;

    flex-direction: column;

    gap: 7px;

    padding-right: 5px;
}


.quiz-photo {
    width: 100%;
    height: 235px;

    overflow: hidden;

    border-radius: 10px;
}


.quiz-photo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* =====================================
   КАРТОЧКА
===================================== */

.quiz-contact {
    flex: 1;

    border:
        1px dotted #4d4a47;

    border-radius: 10px;

    background:
        #F7F7F7;

    height: 277px;

    padding: 12px 15px;

    text-align: center;

    display: flex;

    flex-direction: column;

    align-items: center;

    border-width: 1px;

    border-style: dashed;
}


.question-icon {
    width: 25px;
    height: 25px;

    object-fit: contain;

    margin-bottom: 8px;
}


.question-counter {

    margin-bottom: 17px;

    color: #2B2622;

    font-family: "Montserrat";

    font-weight: 500;

    font-size: 26px;

    line-height: 100%;

    letter-spacing: 0%;

    text-align: center;
}


.company-logo {
    width: 253px;
    max-width: 100%;

    height: 33px;

    object-fit: contain;

    margin-bottom: 12px;
}


.max-button {
    min-width: 175px;
    height: 50px;

    padding: 0 15px;

    margin-top: 20px;

    background:
        rgba(255, 255, 255, 0.7);

    border:
        1px solid #c7c1ba;

    border-radius: 5px;

    color: #302c29;

    font-family: "Mulish";

    font-weight: 700;

    font-size: 14px;

    cursor: pointer;

    margin-bottom: 20px;

    transition: 0.2s;
}


.max-button:hover {
    background: #fff;
}


.phoney {

    margin-top: auto;

    padding-bottom: 1px;

    font-family: "Mulish";

    font-weight: 500;

    font-size: 24px;

    line-height: 100%;

    text-align: center;
}


/* =====================================
   ОШИБКА
===================================== */

.answer-error {
    color: #a0442d;

    font-size: 14px;

    margin-top: 15px;

    display: none;
}


.answer-error.show {
    display: block;
}


/* =====================================
   ПОДСКАЗКА MULTIPLE
===================================== */

.multiple-hint {
    margin-top: -12px;

    margin-bottom: 20px;

    color: #2B2622;

    font-family: Montserrat;

    font-weight: 400;

    font-size: 18px;

    line-height: 100%;

    letter-spacing: 0%;
}


/* =====================================
   ФИНАЛЬНЫЙ ЭКРАН
===================================== */

.quiz-result {
    display: none;

    grid-column: 1 / -1;

    width: 100%;

    min-height: 453px;

    text-align: left;

    background:
        url("img/quiz-paper.png")
        center / cover no-repeat;
}


.quiz-result.active {
    display: grid;

    grid-template-columns: 1fr 295px;
}


/* =====================================
   ФОРМА ФИНАЛЬНОГО ЭКРАНА
===================================== */

.result-form {

    padding: 34px 32px 30px;

    display: flex;

    flex-direction: column;

    min-width: 0;
}


.result-form h2 {
    margin: 0 0 18px;

    color: #2B2622;

    font-family: "Montserrat";
    font-weight: 600;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
}

.result-form ol {
    margin: 0 0 18px;

    padding-left: 25px;

    color: #2B2622;

    font-family: "Montserrat";
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
}


.result-form input[type="text"],
.result-form input[type="tel"] {
    transform: translateY(20px);

    width: 256px;
    height: 54px;

    margin-bottom: 10px;
    padding: 0 16px;

    border: none;
    border-radius: 10px;
    outline: none;

    background: rgba(216, 174, 116, 0.20);

    color: #2B2622;

    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0;

    box-sizing: border-box;
}



.result-form input[type="text"]::placeholder,
.result-form input[type="tel"]::placeholder {
    color: #2B2622;

    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0;

    opacity: 1;
}

/* =====================================
   СОГЛАСИЕ
===================================== */

.result-checkbox {

    display: flex;

    align-items: flex-start;

    width: 210px;

    margin: 0 0 9px;

    cursor: pointer;
}


.result-checkbox input {

    position: absolute;

    opacity: 0;
}


.result-checkbox span {

    width: 10px;
    height: 10px;

    flex: 0 0 9px;

    margin-top: 30px;


    margin-right: 7px;

    border-radius: 50%;

    background: #B88A44;


}


.result-checkbox small {
width: 401px;
margin-top: 20px;
    color: #2B2622;

    font-family: "Montserrat";
font-weight: 400;
font-style: Regular;
font-size: 10px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

}


.result-checkbox input:not(:checked) + span {
    opacity: 0.55;
}


/* =====================================
   КНОПКА ПОЛУЧИТЬ
===================================== */

.result-submit {

    width: 252px;

    height: 60px;

    border: 0;

    border-radius: 7px;

    background: #C6925C;

    color: #fff;

    cursor: pointer;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    font-family: "Montserrat";

    transition: 0.2s ease;
}


.result-submit strong {

    font-family: "Montserrat";
font-weight: 900;
font-style: Black;
font-size: 15px;
leading-trim: NONE;
line-height: 20px;
letter-spacing: 0%;
text-align: center;

}


.result-submit span {

   font-family: "Montserrat";
font-weight: 600;
font-style: SemiBold;
font-size: 15px;
leading-trim: NONE;
line-height: 20px;
letter-spacing: 0%;
text-align: center;

}


.result-submit:hover {

    background: #B97E3C;
}


/* =====================================
   ПРАВАЯ ЧАСТЬ ФИНАЛА
===================================== */

.result-sidebar {

    width: 100%;

    display: flex;

    flex-direction: column;

    gap: 7px;

    padding-right: 5px;
}


/* =====================================
   ФОТО
===================================== */

.result-photo {

    width: 100%;

    height: 235px;

    overflow: hidden;

    border-radius: 10px;
}


.result-photo img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;
}


/* =====================================
   КАРТОЧКА
===================================== */

.result-contact {

    flex: 1;

    min-height: 200px;

    border: 1px dashed #4d4a47;

    border-radius: 10px;

    background: #F7F7F7;

    padding: 12px 15px;

    text-align: center;

    display: flex;

    flex-direction: column;

    align-items: center;
}


.result-question-icon {

    width: 25px;

    height: 25px;

    object-fit: contain;

    margin-bottom: 8px;
}


.result-contact-text {

    color: #5B5148;

    font-family: "Montserrat";

    font-weight: 500;

    font-size: 11px;

    line-height: 1.2;

    margin-bottom: 12px;
}


.result-company-logo {

    width: 180px;

    max-width: 100%;

    height: 25px;

    object-fit: contain;

    margin-bottom: 10px;
}


.result-max-button {

    min-width: 125px;

    height: 38px;

    padding: 0 12px;

    background: #fff;

    border: 1px solid #C7C1BA;

    border-radius: 5px;

    color: #302C29;

    font-family: "Montserrat";

    font-weight: 600;

    font-size: 10px;

    cursor: pointer;

    margin-bottom: 12px;
}


.result-phone {

    margin-top: auto;

    color: #2B2622;

    font-family: "Montserrat";

    font-weight: 500;

    font-size: 17px;

    line-height: 1;
}

.quiz-subtitle.result-subtitle {

    font-family: "Montserrat";
font-weight: 500;
font-style: Medium;
font-size: 28px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}

.result-checkbox small a {
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
}



/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ КВИЗА — ПО МАКЕТУ 360px
   ========================================================= */

@media screen and (max-width: 767px) {

    /* =====================================================
       ОСНОВА
       ===================================================== */

    .quiz-section {
        width: 100%;
        min-height: 100vh;
position: relative;
        bottom: -50px !important;

        padding: 0;
        margin: 0;

        box-sizing: border-box;

        background: #fff;

        overflow: hidden;
    }

    .quiz-wrapper {
        width: 100%;
        max-width: none;

        margin: 0;

        text-align: center;
    }


    /* =====================================================
       ИКОНКА СВЕРХУ
       ===================================================== */

    .quiz-refresh {
        width: 17px;
        height: 17px;

        margin: 20px auto 17px;
    }

    .quiz-refresh img {
        width: 17px;
        height: 17px;

        display: block;

        object-fit: contain;
    }


    /* =====================================================
       ВЕРХНИЙ ЗАГОЛОВОК
       ===================================================== */

    .quiz-title {
        width: calc(100% - 40px);

        margin: 0 auto 14px;

        color: #2B2622;

        font-family: "Montserrat";
        font-weight: 800;

        line-height: 1.15;

        letter-spacing: 0;

        text-align: center;


font-style: "ExtraBold";
font-size: 18px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

    }


    .quiz-subtitle {
        width: 257px;

        margin: 0 auto 13px;

        color: #2B2622;

        font-family: "Montserrat";
        font-weight: 500;

        line-height: 1.15;

        letter-spacing: 0;

        text-align: center;

font-style: Medium;
font-size: 16px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

    }


    .quiz-description {
        width: 291px;
        max-width: none;

        margin: 0 auto 18px;

        color: #2B2622;

        font-family: "Montserrat";
        font-weight: 400;

        font-size: 10px;
        line-height: 1.12;

        letter-spacing: 0;

        text-align: center;


leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

    }

    .quiz-description strong {
        font-weight: 700;
    }


    /* =====================================================
       ОСНОВНОЙ КОНТЕЙНЕР
       ===================================================== */

    .quiz-box {
        position: relative;

        width: 100%;
        

        min-height: 0;
        height: auto;

        display: block;

        border-radius: 10px 10px 0 0;

        overflow: visible;

        background:
            url("img/quiz-paper.png")
            center / cover no-repeat;

        box-shadow: none;

        text-align: left;
    }


    /* =====================================================
       ЛЕВАЯ ЧАСТЬ КВИЗА
       ===================================================== */

    .quiz-content {
        width: 100%;
        height: 380px;

        min-width: 0;

        box-sizing: border-box;

        padding: 16px 25px 0;

        display: flex;
        flex-direction: column;

        background:
            url("img/quiz-paper.png")
            center / cover no-repeat;

        border-radius: 10px 10px 0 0;
    }


    /* =====================================================
       ЗАГОЛОВОК ВОПРОСА
       ===================================================== */

    .question-title {
        width: 100%;

        margin: 0 auto 18px;

        color: #2B2622;

        font-family: "Montserrat";
        font-weight: 700;

        font-size: 18px;
        line-height: 1.15;

        letter-spacing: 0;

        text-align: center;


font-style: Bold;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

    }


    /* =====================================================
       ПРОГРЕСС
       ===================================================== */

    .progress {
        width: 100%;
        height: 14px;

        margin: 0 0 22px;

        background:
            rgba(255, 255, 255, 0.65);

        border-radius: 20px;

        overflow: hidden;
    }

    .progress-fill {
        height: 100%;

        width: 20%;

        background: #bd8a3d;

        border-radius: 20px;

        transition: width 0.35s ease;
    }


    /* =====================================================
       ОТВЕТЫ
       ===================================================== */

    .answers {
        width: 100%;

        display: flex;
        flex-direction: column;

        gap: 0;
    }


    .answer {
        position: relative;

        min-height: 25px;

        display: flex;
        align-items: center;

        cursor: pointer;

        color: #2B2622;

        font-family: "Montserrat";
        font-weight: 400;

        font-size: 12px;
        line-height: 1.15;

        letter-spacing: 0;

        text-align: left;


font-style: "Regular";
font-size: 12px;
leading-trim: NONE;
line-height: 25px;
letter-spacing: 0%;

    }


    .answer input {
        position: absolute;

        width: 1px;
        height: 1px;

        opacity: 0;

        pointer-events: none;
    }


    .answer-circle {
        width: 10px;
        height: 10px;

        flex: 0 0 10px;

        margin-right: 13px;

        border-radius: 50%;

        background:
            rgba(255, 255, 255, 0.65);

        border:
            1px solid rgba(185, 148, 90, 0.10);

        position: relative;

        transition: 0.2s ease;

        box-sizing: border-box;
    }


    .answer input:checked + .answer-circle {
        background: #B88A44;

        border-color: #B88A44;
    }


    .answer:hover .answer-circle {
        box-shadow:
            0 0 0 3px
            rgba(189, 138, 61, 0.10);
    }


    /* =====================================================
       ОШИБКА
       ===================================================== */

    .answer-error {
        color: #a0442d;

        font-family: "Montserrat", sans-serif;

        font-size: 10px;

        margin-top: 5px;

        display: none;
    }

    .answer-error.show {
        display: block;
    }


    /* =====================================================
       MULTIPLE HINT
       ===================================================== */

    .multiple-hint {
        margin: -8px 0 12px;

        color: #2B2622;

        font-family: "Montserrat", sans-serif;

        font-weight: 400;

        font-size: 11px;

        line-height: 1.1;

        text-align: center;
    }


    /* =====================================================
       НАВИГАЦИЯ
       ===================================================== */

    .quiz-navigation {
        width: 100%;

        display: flex;

        align-items: center;

        justify-content: space-between;

        margin-top: auto;

        padding-top: 8px;
    }


    .back-button {
        border: 0;

        background: transparent;

        font-family: "Montserrat", sans-serif;

        font-weight: 400;

        font-size: 13px;

        line-height: 1;

        color: #2B2622;

        cursor: pointer;

        padding: 7px 0;

        white-space: nowrap;
    }


    .next-button {
        min-width: 90px;
        width: 90px;

        height: 29px;

        padding: 0 8px;

        border: 0;

        border-radius: 6px;

        background: #c88f4c;

        color: #fff;

        font-family: "Montserrat", sans-serif;

        font-size: 12px;

        font-weight: 700;

        cursor: pointer;

        display: flex;

        align-items: center;

        justify-content: center;

        gap: 5px;

        transition: 0.2s ease;
    }


    .fingerprint {
        width: 15px;
        height: 15px;

        object-fit: contain;
    }


    /* =====================================================
   ПРАВАЯ ЧАСТЬ — МОБИЛЬНЫЙ ВИД
   ===================================================== */

.quiz-sidebar {
    width: 100%;
    height: 566px;

    margin: 0;

    display: flex;
    flex-direction: column;

    gap: 0;
    padding: 0;

    position: relative;
}


/* =====================================================
   ВОПРОС — В САМОМ ВЕРХУ
   ===================================================== */

.question-icon {
    position: absolute;

    top: -220px;
    left: 50%;

    transform: translateX(-72px);

    width: 20px;
    height: 20px;

    margin: 0;

    object-fit: contain;

    z-index: 10;
}


.question-counter {
    position: absolute;

    top: -220px;
    left: 50%;

    transform: translateX(-42px);

    margin: 0;

    color: #2B2622;

    font-family: "Montserrat", sans-serif;

    font-weight: 500;

    font-size: 16px;

    line-height: 20px;

    white-space: nowrap;

    text-align: left;

    z-index: 10;
}

/* =====================================================
   ФОТО — ОПУСКАЕМ НИЖЕ
   ===================================================== */

.quiz-photo {
    width: 100%;

    height: 181px;

    margin: 68px 0 0;

    padding: 0;

    overflow: hidden;

    border-radius: 8px 8px 0 0;

    flex-shrink: 0;
}


.quiz-photo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* =====================================================
   КОНТАКТНАЯ КАРТОЧКА
   ===================================================== */

.quiz-contact {
    position: relative;

    width: 100%;

    height: 218px;
    min-height: 218px;

    box-sizing: border-box;

    margin: 0;

    padding: 20px 15px 18px;

    border: 0;

    border-radius: 0 0 8px 8px;

    background: #F7F7F7;

    text-align: center;

    display: flex;

    flex-direction: column;

    align-items: center;
}


/* =====================================================
   ЛОГОТИП
   ===================================================== */

.company-logo {
    position: absolute;

    top: 20px;
    left: 50%;

    transform: translateX(-50%);

    width: 169px;
    max-width: 100%;

    height: auto;
    max-height: 22px;

    object-fit: contain;

    margin: 0;
}


/* =====================================================
   ТЕЛЕФОН
   ===================================================== */

.phoney {
    position: absolute;

    left: 23px;
    right: 23px;

 bottom: 165px;
    width: auto;
    height: 71px;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px dashed #4d4a47;
    border-radius: 9px;

    color: #2B2622;

    font-family: "Mulish";
    font-weight: 500;

    font-size: 23px;
    line-height: 1;

    text-align: center;
}


/* =====================================================
   MAX
   ===================================================== */

.max-button {
    position: absolute;

    left: 50%;
    bottom: 70px;

    transform: translateX(-50%);

    width: 242px;
    min-width: 242px;

    height: 69px;

    padding: 0 15px;
    margin: 0;

    background: #fff;

    border: 1px solid #BFBFBF;
    border-radius: 6px;

    color: #302c29;

    font-family: "Montserrat";
    font-weight: 700;

    font-size: 17px;

    cursor: pointer;
    transition: 0.2s;
}
}


/* =========================================================
   ЭКРАН 4 — СИТУАЦИИ
   ========================================================= */

.situations {
    position: relative;

    width: 100%;

    box-sizing: border-box;

    background-image: url("img/quiz-paper.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;

    color: #332a22;

    font-family: "Montserrat", Arial, sans-serif;

    overflow: hidden;
}


/* =========================================================
   ОСНОВНОЙ КОНТЕЙНЕР
   ========================================================= */

.situations__container {
    width: 100%;

    max-width: 920px;

    margin: 0 auto;

    box-sizing: border-box;

    padding-top: 32px;

    padding-bottom: 43px;
}


/* =========================================================
   ВЕРХНЯЯ ИКОНКА
   ========================================================= */

.situations__top-icon {
    width: 63px;
    height: 63px;

    margin: 0 auto;
}


.situations__top-icon img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* =========================================================
   ЗАГОЛОВОК
   ========================================================= */

.situations__title {
    margin: 22px 0 0;

    padding: 0;

    text-align: center;

    line-height: 38px;


    letter-spacing: -0.5px;

    color: #B88A4433 20%;


    font-family: "Montserrat";
font-weight: 800;
font-style: "ExtraBold";
font-size: 44px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}


/* =========================================================
   ВСТУПИТЕЛЬНЫЙ ТЕКСТ
   ========================================================= */

.situations__intro {
    margin-top: 25px;

    text-align: center;

    line-height: 21px;


    color: #2B2622;

    font-family: "Montserrat";
font-weight: 500;
font-style: Medium;
font-size: 28px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}



/* =========================================================
   ОБЩИЙ БЛОК СИТУАЦИИ
   ========================================================= */

.situations__item {
    display: flex;

    align-items: flex-start;

    width: 100%;

    margin-top: 42px;

    box-sizing: border-box;
}


/* =========================================================
   КАРТИНКА
   ========================================================= */

.situations__image {
     width: 360px;
    height: 229px;

    flex: 0 0 250px;

    border-radius: 20px;
}


.situations__image img {
    display: block;
    border-radius: 20px;

     width: 360px;
    height: 229px;

}


/* =========================================================
   ТЕКСТ СПРАВА
   ========================================================= */

.situations__content {
    padding-left: 30px;

    box-sizing: border-box;

    flex: 1;
}


.situations__content h3 {
    margin: 0;

    width: 715px;

    padding: 0;

    line-height: 27px;


    letter-spacing: -0.2px;

    color: #2B2622;

    font-family: "Montserrat";
font-weight: 600;
font-style: "SemiBold";
font-size: 30px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

}


.situations__content p {
    margin: 29px 0 0;

    padding: 0;

    max-width: 600px;

    line-height: 17px;


    color: #2B2622;

    font-family: "Montserrat";
font-weight: 400;
font-style: "Regular";
font-size: 20px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

}


/* =========================================================
   ТОЧКИ
   ========================================================= */

.situations__dots {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 8px;

    width: 100%;

    margin-top: 25px;
}


.situations__dots img {
    display: block;

    width: 14px;
    height: 14px;

    object-fit: contain;
}


/* =========================================================
   ТЕКСТ "МОЯ СИТУАЦИЯ ПОХОЖА"
   ========================================================= */

.situations__my-title {
    margin-top: 19px;

    text-align: center;

    line-height: 28px;


    color: #2B2622;


    font-family: "Montserrat";
font-weight: 500;
font-style: Medium;
font-size: 36px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}


/* =========================================================
   КНОПКА
   ========================================================= */

.situations__button {
    display: flex;

    align-items: center;
    justify-content: center;

    position: relative;

    width: 507px;
    height: 90px;

    margin: 19px auto 0;

    box-sizing: border-box;

    border-radius: 10px;

    background: #C6925C;

    color: #fff;

    text-decoration: none;

    line-height: 18px;


    transition:
        transform 0.2s ease,
        opacity 0.2s ease;


        font-family: "Montserrat";
font-weight: 600;
font-style:"SemiBold";
font-size: 20px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

}


.situations__button:hover {
    transform: translateY(-2px);

    opacity: 0.92;
}


.situations__button span {
    display: block;

    padding-right: 45px;
}


.situations__button img {
    position: absolute;

    right: 25px;
    top: 50%;

    width: 50px;
    height: 50px;

    transform: translateY(-50%);

    object-fit: contain;
}




/* =====================================================
   НАСЛЕДСТВЕННЫЙ КВИЗ
   ДИЗАЙН 1856 × 790
===================================================== */


/* =====================================================
   ОСНОВНАЯ СЕКЦИЯ
===================================================== */

.inheritance-quiz {
    width: 100%;
    min-height: 100vh;

    box-sizing: border-box;

    padding-top: 74px;
    padding-bottom: 80px;

    position: relative;

    overflow: hidden;

    background:
        url("img/bafff.png")
        center center /
        cover
        no-repeat;

    color: #302c29;

    font-family: "Montserrat", sans-serif;
}


/* =====================================================
   ОБЩИЙ КОНТЕЙНЕР
===================================================== */

.inheritance-quiz__wrapper {
    width: 874px;

    margin: 0 auto;
}


/* =====================================================
   ВЕРХНИЙ ЗАГОЛОВОК
===================================================== */

.inheritance-quiz__header {
    width: 100%;

    text-align: center;

    margin: 0 auto 28px;
}


/* =====================================================
   ГЛАВНЫЙ ЗАГОЛОВОК
===================================================== */

.inheritance-quiz__header h2 {

    width: 850px;

      white-space: nowrap;


    margin: 50px -20px;

    color: #2B2622;

    font-family: "Montserrat";

    font-weight: 800;

    font-style: normal;

    font-size: 42px;

    line-height: 100%;

    letter-spacing: 0;

    text-align: center;
}


/* =====================================================
   ПОДЗАГОЛОВОК
===================================================== */

.inheritance-quiz__header p {

    width: 940px;

    margin: 34px auto 0;

    color: #2B2622;

    font-family: "Montserrat";

    font-weight: 500;

    font-style: normal;
    margin-left: -30px;

    font-size: 24px;

    line-height: 100%;

    letter-spacing: 0;

    text-align: center;
}


/* =====================================================
   КАРТОЧКА КВИЗА
===================================================== */

.inheritance-quiz__card {

    width: 872px;

    box-sizing: border-box;

    padding:
        29px
        78px
        45px;

    margin: 0 auto;

    border-radius: 15px;

    /*
       Прозрачность карточки
    */

    background:
        url("img/quiz-paper.png")
        center center /
        cover
        no-repeat;
    /*
       Размытие фона за карточкой
    */

    backdrop-filter: blur(20px);

    -webkit-backdrop-filter: blur(20px);

    box-shadow:
        0 2px 15px rgba(80, 60, 40, 0.025);
}


/* =====================================================
   ВОПРОС
===================================================== */

.inheritance-quiz__question {

    width: 100%;

    margin:
        0
        0
        55px;
}


/* =====================================================
   ЗАГОЛОВОК ВОПРОСА
===================================================== */

.inheritance-quiz__question h3 {

    margin:
        0
        0
        49px;

    color: #302c29;

    font-family: "Montserrat";

    font-style: normal;

    font-size: 29px;

    line-height: 35px;

    letter-spacing: -0.3px;

    text-align: center;


    font-weight: 600;
font-style: SemiBold;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;
}


/* =====================================================
   ВАРИАНТЫ ОТВЕТА
===================================================== */

.inheritance-quiz__options {

    display: flex;

    flex-direction: column;

    gap: 12px;

    padding-left: 87px;
}


/* =====================================================
   ОДИН ВАРИАНТ
===================================================== */

.inheritance-quiz__option {

    display: flex;

    align-items: center;

    min-height: 22px;

    position: relative;

    cursor: pointer;

    user-select: none;
}


/* =====================================================
   НАСТОЯЩИЙ RADIO СКРЫВАЕМ
===================================================== */

.inheritance-quiz__option input {

    position: absolute;

    opacity: 0;

    width: 0;

    height: 0;

    pointer-events: none;
}


/* =====================================================
   КАСТОМНЫЙ RADIO
===================================================== */

.inheritance-quiz__radio {

    width: 22px;

    height: 22px;

    flex: 0 0 22px;

    margin-right: 25px;

    box-sizing: border-box;

    border-radius: 50%;

    background: #f1e6d3;

    border: 1px solid #eadcc5;

    transition:
        background 0.15s ease,
        border 0.15s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease;
}


/* =====================================================
   ВЫБРАННЫЙ RADIO
===================================================== */

.inheritance-quiz__option input:checked
+ .inheritance-quiz__radio {

    background: #c28a3d;

    border-color: #c28a3d;

    transform: scale(0.85);
}


/* =====================================================
   ТЕКСТ ОТВЕТА
===================================================== */

.inheritance-quiz__text {

    color: #3e3935;

    font-family: "Montserrat";


    font-style: normal;


    line-height: 27px;

    letter-spacing: 0;


font-weight: 400;
font-style: Regular;
font-size: 20px;
leading-trim: NONE;
line-height: 38px;
letter-spacing: 0%;


}


/* =====================================================
   ТЕКСТ ПЕРЕД ФОРМОЙ
===================================================== */

.inheritance-quiz__result {

    width:782px;

    margin:
        0
        0
        29px;

    color: #403a35;

    font-family: "Montserrat";


    font-style: normal;

    line-height: 23px;

    letter-spacing: 0;

    text-align: center;


font-weight: 500;
font-style: Medium;
font-size: 24px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}


/* =====================================================
   INPUT
===================================================== */

.inheritance-quiz__input {

    display: block;

    width: 553px;

    height: 87px;

    box-sizing: border-box;

    margin:
        0
        auto
        16px;

    padding:
        0
        23px;

    border: none;

    outline: none;

    border-radius: 10px;

    background: #f5e9d6;

    color: #514a44;

    font-family: "Montserrat";



    line-height: 58px;

font-weight: 400;
font-style: Regular;
font-size: 26px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;


 

}


/* =====================================================
   PLACEHOLDER
===================================================== */

.inheritance-quiz__input::placeholder {

    color: #716960;

    opacity: 1;
}


/* =====================================================
   INPUT — FOCUS
===================================================== */

.inheritance-quiz__input:focus {

    background: #f1e2cc;

    box-shadow:
        0 0 0 1px rgba(191, 139, 76, 0.2);
}


/* =====================================================
   СОГЛАСИЕ
===================================================== */

.inheritance-quiz__agreement {
    width: 368px;

    margin:
        25px
        0
        18px;

    transform: translateX(90px);

    display: flex;

    align-items: flex-start;

    position: relative;

    cursor: pointer;
}

/* =====================================================
   CHECKBOX СКРЫВАЕМ
===================================================== */

.inheritance-quiz__agreement input {

    position: absolute;

    opacity: 0;

    width: 0;

    height: 0;
}


/* =====================================================
   КРУЖОК СОГЛАСИЯ
===================================================== */

.inheritance-quiz__agreement-radio {

    width: 22px;

    height: 22px;

    flex: 0 0 22px;

    margin-top: 1px;

    margin-right: 12px;

    box-sizing: border-box;

    border-radius: 50%;

    background: #f0e4d1;

    border: 1px solid #e3d4bc;

    transition: 0.2s ease;
}


/* =====================================================
   СОГЛАСИЕ — ВЫБРАНО
===================================================== */

.inheritance-quiz__agreement input:checked
+ .inheritance-quiz__agreement-radio {

    background: #c58a43;

    border-color: #c58a43;
}


/* =====================================================
   ТЕКСТ СОГЛАСИЯ
===================================================== */

.inheritance-quiz__agreement span:last-child {

    color: #857d75;

    font-family: "Montserrat";

    line-height: 14px;

    letter-spacing: 0;


font-weight: 400;
font-style: Regular;
font-size: 14px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

}


/* =====================================================
   КНОПКА
===================================================== */

.inheritance-quiz__button {

    display: block;

    width: 553px;

    height: 97px;

    margin: 0 auto;

    padding: 0;

    border: none;

    border-radius: 10px;

    background: #C6925C;

    color: #fff;

    font-family: "Montserrat";


    line-height: 19px;

    letter-spacing: 0;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.15s ease;



font-weight: 500;
font-style: Medium;
font-size: 26px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}

.inheritance-quiz img {
    width: 55px;
    height: 55px;

    position: relative;
    left: 50%;
    transform: translateX(-50%);
}


/* =====================================================
   КНОПКА — HOVER
===================================================== */

.inheritance-quiz__button:hover {

    background: #b98046;
}


/* =====================================================
   КНОПКА — ACTIVE
===================================================== */

.inheritance-quiz__button:active {

    transform: scale(0.98);
}


/* =====================================================
   ОШИБКА INPUT
===================================================== */

.inheritance-quiz__input.error {

    box-shadow:
        0 0 0 2px #c86c55;
}

/* =========================================================
   НАСЛЕДСТВЕННЫЙ КВИЗ — МОБИЛЬНАЯ ВЕРСИЯ
   ПО МАКЕТУ 360px
   ========================================================= */

@media screen and (max-width: 767px) {

    /* =====================================================
       ОСНОВНАЯ СЕКЦИЯ
       ===================================================== */

    .inheritance-quiz {
        width: 100%;
        min-height: 100vh;

        padding-top: 47px;
        padding-bottom: 0;

        overflow: hidden;

        background:
            url("img/bafff.png")
            center center /
            cover
            no-repeat;

        font-family: "Montserrat", sans-serif;
    }


    /* =====================================================
       КОНТЕЙНЕР
       ===================================================== */

    .inheritance-quiz__wrapper {
        width: 100%;
        max-width: 100%;

        margin: 0 auto;
    }


    /* =====================================================
       ВЕРХНИЙ БЛОК
       ===================================================== */

    .inheritance-quiz__header {
        width: 100%;

        margin: 0 auto 25px;

        padding: 0 15px;

        box-sizing: border-box;

        text-align: center;
    }


    /* =====================================================
       ГЛАВНЫЙ ЗАГОЛОВОК
       ===================================================== */

    .inheritance-quiz__header h2 {

        width: 288px;

        margin: 0 auto;

        color: #2B2622;

        font-family: "Montserrat";


        line-height: 27px;

        letter-spacing: 0;

        text-align: center;
font-weight: 800;
font-style: ExtraBold;
font-size: 22px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;
    }


    /* =====================================================
       ПОДЗАГОЛОВОК
       ===================================================== */

    .inheritance-quiz__header p {

        width: 100%;

        margin: 17px auto 0;

        color: #2B2622;

        font-family: "Montserrat";

      
        line-height: 19px;

        letter-spacing: 0;

        text-align: center;
font-weight: 500;
font-style: Medium;
font-size: 16px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

    }


    /* =====================================================
       КАРТОЧКА
       ===================================================== */

    .inheritance-quiz__card {

        width: 100%;

        box-sizing: border-box;

        margin: 0;

        padding:
            26px
            15px
            37px;

        border-radius: 15px 15px 0 0;

        background: url(img/quiz-paper.png);

        backdrop-filter: blur(20px);

        -webkit-backdrop-filter: blur(20px);

        box-shadow:
            0 2px 15px rgba(80, 60, 40, 0.025);
    }

    .inheritance-quiz img{
        width: 26px;
        height: 26px;
    }


    /* =====================================================
       КАЖДЫЙ ВОПРОС
       ===================================================== */

    .inheritance-quiz__question {

        width: 100%;

        margin: 0 0 20px;
    }


    /* =====================================================
       ЗАГОЛОВОК ВОПРОСА
       ===================================================== */

    .inheritance-quiz__question h3 {

        width: 100%;

        margin:
            0
            0
            17px;

        padding: 0;

        color: #302c29;

        font-family: "Montserrat";

   

        line-height: 22px;

        letter-spacing: 0;

        text-align: center;

font-weight: 600;
font-style: SemiBold;
font-size: 18px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

    }


    /* =====================================================
       ВАРИАНТЫ
       ===================================================== */

    .inheritance-quiz__options {

        width: 100%;

        display: flex;

        flex-direction: column;

        gap: 7px;

        padding-left: 10px;

        box-sizing: border-box;
    }


    /* =====================================================
       ОДИН ВАРИАНТ
       ===================================================== */

    .inheritance-quiz__option {

        display: flex;

        align-items: center;

        min-height: 19px;

        width: 100%;

        position: relative;

        cursor: pointer;

        user-select: none;
    }


    /* =====================================================
       RADIO — СКРЫТ
       ===================================================== */

    .inheritance-quiz__option input {

        position: absolute;

        opacity: 0;

        width: 0;

        height: 0;

        pointer-events: none;
    }


    /* =====================================================
       КРУЖОК RADIO
       ===================================================== */

    .inheritance-quiz__radio {

        width: 14px;

        height: 14px;

        flex: 0 0 14px;

        margin-right: 14px;

        box-sizing: border-box;

        border-radius: 50%;

        background: #f1e6d3;

        border: 1px solid #eadcc5;

        transition:
            background 0.15s ease,
            border 0.15s ease,
            transform 0.15s ease,
            box-shadow 0.15s ease;
    }


    /* =====================================================
       ВЫБРАННЫЙ RADIO
       ===================================================== */

    .inheritance-quiz__option input:checked
    + .inheritance-quiz__radio {

        background: #c28a3d;

        border-color: #c28a3d;

        transform: scale(0.82);
    }


    /* =====================================================
       ТЕКСТ ОТВЕТА
       ===================================================== */

    .inheritance-quiz__text {

        color: #3e3935;

        font-family: "Montserrat";

  

        line-height: 18px;

        letter-spacing: 0;

font-weight: 400;
font-style: Regular;
font-size: 12px;
leading-trim: NONE;
line-height: 26px;
letter-spacing: 0%;

    }


    /* =====================================================
       ВОПРОС 1
       ===================================================== */

    .inheritance-quiz__question:nth-child(1) {
        margin-bottom: 19px;
    }


    /* =====================================================
       ВОПРОС 2
       ===================================================== */

    .inheritance-quiz__question:nth-child(2) {
        margin-bottom: 21px;
    }


    /* =====================================================
       ВОПРОС 3
       ===================================================== */

    .inheritance-quiz__question:nth-child(3) {
        margin-bottom: 24px;
    }


    /* =====================================================
       ВОПРОС 4
       ===================================================== */

    .inheritance-quiz__question:nth-child(4) {
        margin-bottom: 34px;
    }


    /* =====================================================
       ТЕКСТ ПЕРЕД ФОРМОЙ
       ===================================================== */

    .inheritance-quiz__result {

        width: 100%;

        margin:
            0
            auto
            32px;

        padding: 0 10px;

        box-sizing: border-box;

        color: #403a35;

        font-family: "Montserrat";



        line-height: 19px;

        letter-spacing: 0;

        text-align: center;

font-weight: 500;
font-style: Medium;
font-size: 16px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

    }


    /* =====================================================
       ПОЛЯ ИМЯ / ТЕЛЕФОН
       ===================================================== */

    .inheritance-quiz__input {

        display: block;

        width: 100%;

        height: 64px;

        box-sizing: border-box;

        margin:
            0
            auto
            9px;

        padding:
            0
            20px;

        border: none;

        outline: none;

        border-radius: 9px;

        background: #f5e9d6;

        color: #514a44;

        font-family: "Montserrat", sans-serif;

        font-weight: 400;

        font-size: 17px;

        line-height: 64px;

        letter-spacing: 0;
    }


    /* =====================================================
       PLACEHOLDER
       ===================================================== */

    .inheritance-quiz__input::placeholder {

        color: #716960;

        opacity: 1;
    }


    /* =====================================================
       FOCUS
       ===================================================== */

    .inheritance-quiz__input:focus {

        background: #f1e2cc;

        box-shadow:
            0 0 0 1px rgba(191, 139, 76, 0.2);
    }


    /* =====================================================
       СОГЛАСИЕ
       ===================================================== */

    .inheritance-quiz__agreement {

        width: 100%;

        margin:
            16px
            0
            21px;

        transform: none;

        display: flex;

        align-items: flex-start;

        position: relative;

        cursor: pointer;

        box-sizing: border-box;

        padding-left: 5px;
    }


    /* =====================================================
       CHECKBOX
       ===================================================== */

    .inheritance-quiz__agreement input {

        position: absolute;

        opacity: 0;

        width: 0;

        height: 0;
    }


    /* =====================================================
       КРУЖОК СОГЛАСИЯ
       ===================================================== */

    .inheritance-quiz__agreement-radio {

        width: 23px;

        height: 23px;

        flex: 0 0 23px;

        margin-top: 0;

        margin-right: 12px;

        box-sizing: border-box;

        border-radius: 50%;

        background: #f0e4d1;

        border: 1px solid #e3d4bc;

        transition: 0.2s ease;
    }


    /* =====================================================
       СОГЛАСИЕ — ВЫБРАНО
       ===================================================== */

    .inheritance-quiz__agreement input:checked
    + .inheritance-quiz__agreement-radio {

        background: #c58a43;

        border-color: #c58a43;
    }


    /* =====================================================
       ТЕКСТ СОГЛАСИЯ
       ===================================================== */

    .inheritance-quiz__agreement span:last-child {

        color: #857d75;

        font-family: "Montserrat";


        line-height: 13px;

        letter-spacing: 0;

font-weight: 400;
font-style: Regular;
font-size: 12px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

    }


    /* =====================================================
       КНОПКА
       ===================================================== */

    .inheritance-quiz__button {

        display: block;

        width: 100%;

        height: 73px;

        margin: 0 auto;

        padding: 0 15px;

        box-sizing: border-box;

        border: none;

        border-radius: 9px;

        background: #C6925C;

        color: #fff;

        font-family: "Montserrat";


        line-height: 21px;

        letter-spacing: 0;

        text-align: center;

        cursor: pointer;

        transition:
            background 0.2s ease,
            transform 0.15s ease;

font-weight: 500;
font-style: Medium;
font-size: 18px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

    }


    /* =====================================================
       HOVER
       ===================================================== */

    .inheritance-quiz__button:hover {

        background: #C6925C;
    }


    /* =====================================================
       ACTIVE
       ===================================================== */

    .inheritance-quiz__button:active {

        transform: scale(0.98);
    }


    /* =====================================================
       ОШИБКА INPUT
       ===================================================== */

    .inheritance-quiz__input.error,
    .inheritance-quiz__input.quiz-input-error {

        box-shadow:
            0 0 0 2px #c86c55;
    }


    /* =====================================================
       ОШИБКА RADIO
       ===================================================== */

    .inheritance-quiz__option.quiz-error
    .inheritance-quiz__radio {

        border-color: #c86c55;
    }


    /* =====================================================
       ОШИБКА СОГЛАСИЯ
       ===================================================== */

    .inheritance-quiz__agreement.quiz-agreement-error
    .inheritance-quiz__agreement-radio {

        border-color: #c86c55;
    }


    /* =====================================================
       ТЕКСТ ОШИБКИ
       ===================================================== */

    .inheritance-quiz__error {

        display: none;

        width: 100%;

        margin-top: 5px;

        color: #c86c55;

        font-family: "Montserrat", sans-serif;

        font-size: 11px;

        line-height: 14px;

        text-align: left;
    }


    .inheritance-quiz__error.active {

        display: block;
    }

}

/* =========================================================
   БЛОК «НАСЛЕДСТВО — ПОШАГОВО»
   ========================================================= */

.inheritance-slider {
    position: relative;

    width: 100%;
    height: 859px;

    box-sizing: border-box;

    overflow: hidden;

    background-image: url("img/quiz-paper.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}


/* =========================================================
   ЧЕРНЫЕ СЛЕДЫ НАД ЗАГОЛОВКОМ
   ========================================================= */

.inheritance-slider__top-footprints {
    position: absolute;

    top: 47px;
    left: 50%;

    width: 54px;
    height: auto;

    transform: translateX(-50%);

    object-fit: contain;

    z-index: 2;
}


/* =========================================================
   ЗАГОЛОВОК
   ========================================================= */

.inheritance-slider__title {
    position: absolute;

    top: 123px;
    left: 50%;

    width: 1100px;

    margin: 0;

    transform: translateX(-50%);

    text-align: center;

    color: #B88A4433 20%;


    line-height: 1.2;


    letter-spacing: -0.8px;

    z-index: 2;

    font-family: "Montserrat";
font-weight: 800;
font-style: "ExtraBold";
font-size: 44px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}


/* =========================================================
   ОКНО СЛАЙДЕРА
   ========================================================= */

.inheritance-slider__viewport {
    position: absolute;

    top: 337px;
    left: 0;

    width: 100%;
    height: 374px;

    overflow: visible;
}


/* =========================================================
   ЛЕНТА
   ========================================================= */

.inheritance-slider__track {
    display: flex;
    align-items: flex-start;

    gap: 15px;

    width: max-content;
    height: 374px;

    padding-left: 348px;
    padding-right: 300px;

    box-sizing: border-box;

    cursor: grab;

    user-select: none;

    touch-action: pan-y;

    transform: translate3d(0, 0, 0);

    will-change: transform;
}

.inheritance-slider__track.is-dragging {
    cursor: grabbing;
}


/* =========================================================
   ОДИН СЛАЙД
   ========================================================= */

.inheritance-slider__slide {
    position: relative;

    flex: 0 0 1060px;

    width: 1040px;
    height: 383px;
}


/* =========================================================
   КАРТОЧКА
   ========================================================= */

.inheritance-slider__card {
    position: relative;
    width: 1040px;
    height: 383px;

    box-sizing: border-box;

    overflow: visible;

    border-radius: 10px;

    background-image: url("img/bafff.png");
    background-repeat: no-repeat;

    /* КАРТИНКА ФИКСИРОВАННОГО РАЗМЕРА */
    background-size: 1201px 383px;

    /* НЕ ЦЕНТРИРУЕМ — от левого края */
    background-position: left top;
}

/* =========================================================
   ИКОНКА — ФОТО
   ========================================================= */

.inheritance-slider__icon {
    position: absolute;

    left: 52px;
    top: 147px;

    width: 147px;
    height: 147px;

    object-fit: contain;

    z-index: 3;

    pointer-events: none;
}


/* =========================================================
   ТЕКСТ
   ========================================================= */

.inheritance-slider__content {
    position: absolute;

    top: 59px;
    left: 255px;

    width: 755px;

    z-index: 4;
}


.inheritance-slider__step {
    margin: 0 0 32px;

    color: #2e2925;


    line-height: 1;


    font-family: "Montserrat";
font-weight: 800;
font-style: "ExtraBold";
font-size: 45px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

}


.inheritance-slider__text {
    margin: 0;

    color: #342e29;


    line-height: 1.37;


    font-family: "Montserrat";
font-weight: 500;
font-style: Medium;
font-size: 28px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

}


.inheritance-slider__text strong {
    font-weight: 600;
}


/* =========================================================
   СЕРЫЕ СЛЕДЫ НА КАРТОЧКЕ
   ========================================================= */

.inheritance-slider__footprints {
    position: absolute;

    top: -48px;
    right: 57px;

    width: 115px;
    height: 115px;

    object-fit: contain;
    object-position: center;
opacity: 0.2;
    z-index: 20;
    transform: rotate(41deg);

    pointer-events: none;
}


/* =========================================================
   ЧЕРНЫЕ СЛЕДЫ НАД ЗАГОЛОВКОМ
   ========================================================= */

.inheritance-slider__top-footprints {
    position: absolute;

    top: 47px;
    left: 50%;

    width: 54px;
    height: auto;

    transform: translateX(-50%);

    object-fit: contain;

    z-index: 5;

    pointer-events: none;
}

/* =========================================================
   ПУНКТИР + СТРЕЛКА — ФОТО
   ========================================================= */

.inheritance-slider__arrow {
    position: absolute;

    left: 1000px;
    top: 143px;

    width: 153px;
    height: 115px;

    object-fit: contain;

    z-index: 20;

    pointer-events: none;
}


/* =========================================================
   У ПОСЛЕДНЕЙ КАРТОЧКИ НЕТ СТРЕЛКИ
   ========================================================= */

.inheritance-slider__slide:last-child
.inheritance-slider__arrow {
    display: none;
}


/* =========================================================
   КАРТИНКИ НЕ ПЕРЕТАСКИВАЮТСЯ БРАУЗЕРОМ
   ========================================================= */

.inheritance-slider__track img {
    -webkit-user-drag: none;
}




/* =========================================
   БЛОК "РЕАЛЬНЫЕ ДЕЛА"
   ========================================= */

.cases-block {
    position: relative;

    width: 100%;
    min-height: 948px;

    box-sizing: border-box;

    padding-top: 24px;

    background: #f8f4ed;

    background-image: url("img/logofff.png");

    font-family: Arial, sans-serif;

    overflow: hidden;
}


/* =========================================
   ВЕРХНЯЯ ЧАСТЬ
   ========================================= */

.cases-block__header {
    width: 100%;

    text-align: center;
}


/* Иконка портфеля */

.cases-block__briefcase {
    display: block;

    width: 49px;
    height: 49px;

    object-fit: contain;

    margin: 0 auto 18px;
}


/* Заголовок */

.cases-block__title {
    margin: 0;

    color: #2B2622;

    line-height: 34px;


    letter-spacing: 0;


    font-family: "Montserrat";
font-weight: 800;
font-style: "ExtraBold";
font-size: 42px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}


/* Подзаголовок */

.cases-block__subtitle {
    margin: 22px 0 0;

    color: #2B2622;

    line-height: 27px;



    font-family: "Montserrat";
font-weight: 500;
font-style: Medium;
font-size: 32px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}


/* =========================================
   КЕЙС
   ========================================= */

.case {
    position: relative;

    width: 100%;
    max-width: 820px;

    margin: 31px auto 0;
}




/* =========================================
   КЕЙС 1
   ========================================= */

.case__number {
    margin: 0;

    color: #B18A72;

    font-family: "Montserrat", sans-serif;

    font-weight: 800;
    font-style: normal;

    font-size: 64px;

    line-height: 100%;

    letter-spacing: 0;

    text-align: left;

    background: linear-gradient(
        90deg,
        #967968 0%,
        #C39980 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    background-clip: text;
}

/* =========================================
   ВЕРХНЯЯ СТРОКА КЕЙСА
   ========================================= */

.case__top {
    position: relative;

    width: 925px;
    height: 68px;

    margin: 0 auto;

    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    box-sizing: border-box;
}

/* =========================================
   ГОРОД И ДАТА
   ========================================= */

.case__date {
    display: block;

    margin: 14px 8px 0 0;

    white-space: nowrap;

    color: #2B2622;

    font-family: "Montserrat", sans-serif;

    font-weight: 500;
    font-style: normal;

    font-size: 21px;

    line-height: 100%;

    letter-spacing: 0;

    text-align: right;
}
/* =========================================
   КАРТОЧКА
   ========================================= */

.case {
    position: relative;

    width: 1100px;
    max-width: none;

    margin: 31px auto 0;
}


/* =========================================
   КАРТОЧКА КЕЙСА
   ========================================= */

.case__card {
    position: relative;

    width: 925px;
    height: 462px;

    margin: 0 auto;

    margin-top: 20px;

    box-sizing: border-box;

    border-radius: 20px;

    overflow: visible;

    background:
         url("img/background.png")
        center top / cover;
}


/* =========================================
   ВЕРХНЯЯ ЧАСТЬ КАРТОЧКИ
   ========================================= */

.case__content {
    position: relative;

    width: 100%;
    height: 318px;

    box-sizing: border-box;

    padding: 27px 65px 10px;

    text-align: center;
}


/* =========================================
   ЗАГОЛОВОК
   ========================================= */

.case__title {
    margin: 0 0 27px;

    color: #302c29;

    font-family: "Montserrat", sans-serif;
    font-size: 34px;
    line-height: 41px;
    font-weight: 600;

    letter-spacing: 0;
}


/* =========================================
   ОСНОВНОЙ ТЕКСТ
   ========================================= */

.case__text {
    color: #413d39;

    font-family: "Montserrat", sans-serif;

    font-size: 19px;
    line-height: 24px;

    font-weight: 400;

    text-align: center;
}


.case__text p {
    margin: 0 0 28px;
}


.case__text p:last-child {
    margin-bottom: 0;
}


.case__text strong {
    font-weight: 700;
}


/* =========================================
   НИЖНЯЯ ТЁМНАЯ ЧАСТЬ
   ========================================= */

.case__result {
    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 144px;

    box-sizing: border-box;

    padding: 35px 25px 20px 305px;

    border-radius: 0 0 18px 18px;

    background: #2B2622;

    color: #fff;

    font-family: "Montserrat", sans-serif;

    font-size: 17px;
    line-height: 22px;

    font-weight: 400;
}


.case__result p {
    margin: 0;
}


.case__result strong {
    font-weight: 700;
}




/* =========================================
   СТРЕЛКА
   ========================================= */

.case__arrow {
    position: absolute;

    z-index: 10;

    right: -4px;
    top: 265px;

    width: 60px;
    height: 60px;

    padding: 0;


    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

}


.case__arrow img {
    width: 60px;
    height: 60px;

    object-fit: contain;
}
/* =========================================
   ЛЕВАЯ СТРЕЛКА
   ========================================= */

.case__arrow--left {
    left: -70px;
    right: auto;
    top: 265px;

    transform: rotate(180deg);
}

/* =========================================
   ОТЗЫВ
   ========================================= */

.case__review {
    display: flex;
    align-items: center;

    width: 875px;

    margin: 38px auto 0;

    min-height: 78px;



}


/* =========================================
   АВАТАР
   ========================================= */

.case__avatar {
    flex: 0 0 auto;

    width: 76px;
    height: 76px;

    margin-right: 28px;

    object-fit: contain;
}


/* =========================================
   ТЕКСТ ОТЗЫВА
   ========================================= */

.case__quote {
    margin: 0;

    width: 530px;

    color: #b18a72;

    font-family: "Montserrat";

    line-height: 24px;


font-weight: 600;
font-style: "SemiBold";
font-size: 22px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

}


/* =========================================
   ДАТА
   ========================================= */

.case__date {
    display: block;

    margin-left: auto;

    white-space: nowrap;

    color: #2B2622;

    font-family: "Montserrat";

    line-height: 22px;

  


font-weight: 500;
font-style: Medium;
font-size: 21px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}


/* =========================================
   КНОПКИ
   ========================================= */

.cases-block__buttons {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 109px;

    margin-top: 84px;
}


/* =========================================
   ОБЩАЯ КНОПКА
   ========================================= */

.cases-block__button {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 370px;
    height: 92px;

    box-sizing: border-box;

    border-radius: 10px;

    text-decoration: none;

    color: #fff;

    text-align: center;

    font-family: "Montserrat";

    line-height: 25px;


    transition: 0.2s ease;


font-weight: 500;
font-style: Medium;
font-size: 24px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}


.cases-block__button:hover {
    transform: translateY(-2px);
}


/* =========================================
   ПЕРВАЯ КНОПКА
   ========================================= */

.cases-block__button--orange {
    background: #C6925C;
}


/* =========================================
   ВТОРАЯ КНОПКА
   ========================================= */

.cases-block__button--brown {
    background: #967968;
}



.case__documents {
    position: absolute;

    z-index: 5;

    left: -153px;
    bottom: -73px;

    width: 450px;
    height: auto;

    object-fit: contain;

    pointer-events: none;
}

/* =========================================
   КЕЙС 1
   ========================================= */

.case__documents.documents--case1 {
    left: -153px;
    bottom: -73px;

    right: auto;
    top: auto;

    width: 450px;
    height: auto;
}


/* =========================================
   КЕЙС 2
   ========================================= */

.case__documents.documents--case2 {
    left: auto;
    bottom: auto;

    left: -164px;
    top: 175px;

    width: 384px;
    height: 317px;

    object-fit: contain;
}


/* =========================================
   КЕЙС 3
   ========================================= */

.case__documents.documents--case3 {
    left: auto;
    bottom: auto;

    left: -140px;
    top: 165px;

    width: 429px;
    height: 357px;

    object-fit: contain;
}


.case__documents.documents--case4 {
   
    left: auto;
    bottom: auto;

    left: -160px;
    top: 165px;

    width: 371px;
    height: 318px;

    object-fit: contain;
}

.case__documents.documents--case5 {
   
    left: auto;
    bottom: auto;

    left: -160px;
    top: 135px;

    width: 386px;
    height: 362px;

    object-fit: contain;
}


@media (max-width: 767px) {

    /* =========================================
       ОСНОВНОЙ БЛОК
       ========================================= */

    .cases-block {
        width: 100%;
        min-height: 0;
        height: auto;

        padding-top: 22px;
        padding-bottom: 70px;

        box-sizing: border-box;
        overflow: hidden;

        background-color: #f8f4ed;
        background-image: url("img/logofff.png");
        background-size: cover;
        background-position: center top;
    }


    /* =========================================
       ШАПКА
       ========================================= */

    .cases-block__header {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .cases-block__briefcase {
        width: 30px;
        height: 30px;

        margin: 0 auto 10px;
    }

    .cases-block__title {
        width: 100%;

        margin: 0;

        font-family: "Montserrat";


        text-align: center;

font-weight: 800;
font-style: "ExtraBold";
font-size: 18px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

    }

    .cases-block__subtitle {
        width: 100%;

        margin: 9px auto 0;

        font-family: "Montserrat";
        font-size: 14px;
        line-height: 17px;
        font-weight: 500;

        text-align: center;
    }


    /* =========================================
       CASE
       ========================================= */

    .case {
        position: relative;

        width: 100%;
        max-width: none;

        margin: 20px 0 0;
    }


    /* =========================================
       ВЕРХ: КЕЙС 1 + СТРЕЛКА
       ========================================= */

    .case__top {
        position: relative;

        width: 100%;
        height: 49px;

        margin: 0;
        padding: 0 55px;

        box-sizing: border-box;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    .case__number {
        margin: 0;

        font-family: "Montserrat", sans-serif;
        font-size: 40px;
        line-height: 40px;
        font-weight: 800;

        text-align: center;

        background: linear-gradient(
            90deg,
            #967968 0%,
            #C39980 100%
        );

        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }


    /* =========================================
       ДАТА
       HTML НЕ ТРОГАЕМ
       Просто визуально переносим вниз
       ========================================= */

    .case__date {
        position: absolute;

        z-index: 20;

        top: 692px;
        left: 0;

        width: 100%;

        margin: 0;

        color: #2B2622;

        font-family: "Montserrat", sans-serif;
        font-size: 14px;
        line-height: 17px;
        font-weight: 500;

        text-align: center;

        white-space: nowrap;
    }


    /* =========================================
       КАРТОЧКА
       ========================================= */

    .case__card {
        position: relative;

        width: 100%;
        height: 617px;

        margin: 0;

        box-sizing: border-box;

        border-radius: 20px;

        overflow: visible;

        background:
            url("img/background.png")
            center top / cover no-repeat;
    }


    /* =========================================
       ВЕРХ КАРТОЧКИ
       ========================================= */

    .case__content {
        position: relative;

        width: 100%;
        height: 366px;

        padding: 27px 27px 10px;

        box-sizing: border-box;

        text-align: center;
    }


    /* =========================================
       ЗАГОЛОВОК
       ========================================= */

    .case__title {
        margin: 0 0 27px;

        color: #302c29;

        font-family: "Montserrat";
    

        text-align: center;


font-weight: 600;
font-style: "SemiBold";
font-size: 20px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

    }


    /* =========================================
       ТЕКСТ
       ========================================= */

    .case__text {
        width: 100%;

        color: #413d39;

        font-family: "Montserrat";
font-weight: 400;
font-style: Regular;
font-size: 15px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;


        text-align: center;
    }

    .case__text p {
        margin: 0 0 38px;
    }

    .case__text p:last-child {
        margin-bottom: 0;
    }

    .case__text strong {
        font-weight: 700;
    }


    /* =========================================
       ТЁМНАЯ ЧАСТЬ
       ========================================= */

    .case__result {
        position: absolute;

        left: 0;
margin-top: -40px;

        width: 100%;
        height: 230px;

        padding: 18px 45px 20px;

        box-sizing: border-box;

        border-radius: 0 0 20px 20px;

        background: #2B2622;

        color: #fff;

        font-family: "Montserrat";
font-weight: 400;
font-style: Regular;
font-size: 14px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;


        text-align: center;

        z-index: 2;
    }

    .case__result p {
        margin: 0;
    }

    .case__result strong {
        display: block;

        margin-bottom: 2px;

        font-weight: 600;
    }


    /* =========================================
       ДОКУМЕНТЫ
       ========================================= */

    .case__documents {
        position: absolute;

        z-index: 5;

        left: 50%;
        bottom: -8px;

        width: 215px;
        height: auto;

        transform: translateX(-50%);

        object-fit: contain;

        pointer-events: none;
    }


    .case__documents.documents--case1 {
        left: 50%;
        right: auto;
        top: auto;
        bottom: -48px;

        width: 200px;
        height: 171px;

        transform: translateX(-50%);
    }


    .case__documents.documents--case2 {
        left: 50%;
        right: auto;
        top: auto;
        bottom: -28px;

        width: 191px;
        height: auto;

        transform: translateX(-50%);
    }


    .case__documents.documents--case3 {
        left: 50%;
        right: auto;
        top: auto;
        bottom: -28px;

        width: 178px;
        height: auto;

        transform: translateX(-50%);
    }



    /* =========================================
       СТРЕЛКА
       ========================================= */

    .case__arrow {
        position: absolute;

        z-index: 30;

        top: 9px;
        right: 29px;

        width: 30px;
        height: 30px;

        padding: 0;
        margin: 0;

        display: flex;
        align-items: center;
        justify-content: center;

        cursor: pointer;
    }

    .case__arrow img {
        width: 30px;
        height: 30px;

        object-fit: contain;
    }


    .case__arrow--left {
        display: none;

        left: 29px;
        right: auto;

        top: 9px;

        transform: rotate(180deg);
    }


    /* =========================================
       НЕ НУЖНО НА МОБИЛКЕ
       ========================================= */

    .case__review,
    .cases-block__buttons {
        display: none;
    }

}

/* =========================================================
   БЛОК «ПРОВЕРЬТЕ СРОК»
   ========================================================= */

.deadline-section {
    position: relative;

    width: 100%;
    min-height: 1304px;

    box-sizing: border-box;

    padding-top: 31px;
    padding-bottom: 35px;

    overflow: hidden;

    background-color: #f8f1e5;

    background-image: url("img/quiz-paper.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;

    color: #332d28;

    font-family: "Montserrat", sans-serif;
}


/* =========================================================
   ВЕРХНИЙ БЛОК
   ========================================================= */

.deadline-section__header {
    width: 100%;

    text-align: center;
}


/* =========================================================
   ИКОНКА ЧАСОВ НАД ЗАГОЛОВКОМ
   ========================================================= */

.deadline-section__top-icon {
    display: block;

    width: 51px;
    height: 51px;

    margin: 0 auto 23px;

    object-fit: contain;
}


/* =========================================================
   ЗАГОЛОВОК
   ========================================================= */

.deadline-section__title {
    margin: 0;

    color: #332d28;

    font-family: "Montserrat";

    font-style: normal;


    line-height: 1.16;

    letter-spacing: 0;

    text-align: center;

font-weight: 800;
font-style: "ExtraBold";
font-size: 44px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}


/* =========================================================
   ПОДЗАГОЛОВОК
   ========================================================= */

.deadline-section__subtitle {
    margin: 20px 0 0;

    color: #403a35;

    font-family: "Montserrat";


    line-height: 1.25;

    text-align: center;

font-weight: 500;
font-style: Medium;
font-size: 28px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}


/* =========================================================
   ЧАСЫ + ПРЕДУПРЕЖДЕНИЕ
   ========================================================= */

.deadline-warning {
    position: relative;

    display: flex;
    align-items: center;

    width: 660px;
    height: 170px;

    margin: 31px auto 0;
}


/* =========================================================
   ФОТО ЧАСОВ
   ========================================================= */

.deadline-warning__clock {
    position: absolute;

    left: -160px;
    bottom: -50px;

    width: 350px;
    height: 203px;

    object-fit: contain;

    z-index: 2;
}


/* =========================================================
   ПРАВАЯ ЧАСТЬ
   ========================================================= */

.deadline-warning__content {
    position: absolute;

    right: 0;
    top: 0;

    width: 495px;
}


/* =========================================================
   ЗАГОЛОВОК ПРЕДУПРЕЖДЕНИЯ
   ========================================================= */

.deadline-warning__title {
    margin: 0 0 12px;

    font-family: "Montserrat";



    line-height: 1.2;

    color: #332d28;

font-weight: 700;
font-style: Bold;
font-size: 24px;
leading-trim: NONE;
line-height: 35px;
letter-spacing: 0%;

}


/* =========================================================
   РАМКА СО СПИСКОМ
   ========================================================= */

.deadline-warning__list {
  width: 702px;
    box-sizing: border-box;

    padding: 11px 16px 10px;

    border: 2px solid #c9945f;

    border-radius: 6px;

    background: rgba(255, 250, 242, 0.28);
}


/* =========================================================
   ПУНКТ
   ========================================================= */

.deadline-warning__item {
    display: flex;
    align-items: center;

    min-height: 21px;

    color: #403a35;

    font-family: "Montserrat";



    line-height: 1.35;

font-weight: 500;
font-style: Medium;
font-size: 20px;
leading-trim: NONE;
line-height: 35px;
letter-spacing: 0%;

}


/* =========================================================
   СТРЕЛКА
   ========================================================= */

.deadline-warning__arrow {
    flex: 0 0 auto;

    margin-right: 10px;

    color: #c69b76;

    font-size: 14px;
}


/* =========================================================
   ИКОНКА РУКИ
   ========================================================= */

.deadline-section__hand {
    display: block;

    width: 51px;
    height: 51px;

    margin: 77px auto 14px;

    object-fit: contain;
}


/* =========================================================
   ПРОВЕРЬТЕ СЕБЯ
   ========================================================= */

.deadline-check__title {
    margin: 0;

    color: #332d28;

    font-family: "Montserrat";



    line-height: 1.2;

    text-align: center;

font-weight: 700;
font-style: Bold;
font-size: 40px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}


/* =========================================================
   СПИСОК СРОКОВ
   ========================================================= */

.deadline-status-list {
    display: flex;

    flex-direction: column;

    gap: 13px;

    width: 729px;
    height: 500px;

    margin: 24px auto 0;
}


/* =========================================================
   ОДНА СТРОКА
   ========================================================= */

.deadline-status {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
    height: 411px;

    box-sizing: border-box;

    padding: 0 28px;

    border-radius: 6px;

    background-image: url("img/bafff.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    box-shadow: 0 2px 8px rgba(70, 50, 35, 0.03);
}


/* =========================================================
   ИКОНКА СЛЕВА
   ========================================================= */

.deadline-status__icon {
    flex: 0 0 auto;

    width: 88px;
    height: 88px;

    margin-right: 28px;

    object-fit: contain;
}

/* Скрепка — поворот 28° */
.deadline-status__icon[src*="deadline-paperclip"] {
    transform: rotate(28deg);
}

/* Будильник — без поворота */
.deadline-status__icon[src*="deadline-alarm"] {
    transform: none;
}
/* =========================================================
   ТЕКСТ
   ========================================================= */

.deadline-status__text {
    flex: 1;

    min-width: 0;

    color: #39332e;

    font-family: "Montserrat";


    line-height: 1.25;

font-weight: 500;
font-style: Medium;
font-size: 24px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}


.deadline-status__text strong {
    display: block;

    margin-bottom: 14px;

    font-family: "Montserrat";
font-weight: 600;
font-style: "SemiBold";
font-size: 20px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}


.deadline-status__text p {
    margin: 0;


    line-height: 1.25;
 font-family: "Montserrat";
font-weight: 500;
font-style: "SemiBold";
font-size: 20px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;
}


/* =========================================================
   КРУЖОК СПРАВА
   ========================================================= */

.deadline-status__mark {
    flex: 0 0 auto;

    width: 70px;
    height: 70px;

    margin-left: 20px;

    object-fit: contain;
}


/* =========================================================
   ВОПРОС
   ========================================================= */

.deadline-question {
    width: 100%;

    margin-top: 28px;

    text-align: center;
}


/* =========================================================
   ИКОНКА ?
   ========================================================= */

.deadline-question__icon {
    display: block;

    width: 45px;
    height: 45px;

    margin: 0 auto 20px;

    object-fit: contain;
}


/* =========================================================
   ЗАГОЛОВОК ВОПРОСА
   ========================================================= */

.deadline-question__title {
    margin: 0;

    color: #332d28;

    font-family: "Montserrat";



    line-height: 1.18;

    text-align: center;

font-weight: 700;
font-style: Bold;
font-size: 30px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}

/* =========================================================
   4 ПРЕИМУЩЕСТВА
   ========================================================= */

.deadline-benefits {
    display: flex;

    align-items: flex-start;
    justify-content: center;

    width: 100%;

    gap: 80px;

    margin: 35px auto 0;
}


/* =========================================================
   ОДИН ПУНКТ
   ========================================================= */

.deadline-benefit {
    width: 220px;

    flex: 0 0 220px;

    text-align: center;
}


/* =========================================================
   ИКОНКА ГАЛОЧКИ
   ========================================================= */

.deadline-benefit__icon {
    display: block;

    width: 75px;
    height: 75px;

    margin: 0 auto 18px;

    object-fit: contain;
}


/* =========================================================
   ТЕКСТ — В ОДНУ СТРОКУ
   ========================================================= */

.deadline-benefit p {
    margin: 0;

    color: #403a35;

    font-family: "Montserrat", sans-serif;

    font-weight: 500;
    font-size: 20px;

    line-height: 100%;
    letter-spacing: 0;

    text-align: center;

    white-space: nowrap;
}

/* =========================================================
   НИЖНИЕ КНОПКИ
   ========================================================= */

.deadline-actions {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 22px;

    width: 100%;

    margin-top: 48px;
}


/* =========================================================
   КНОПКИ
   ========================================================= */

.deadline-actions__button {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 298px;
    height: 80px;

    box-sizing: border-box;

    border-radius: 7px;

    color: #fff;

    text-decoration: none;

    font-family: "Montserrat";


    line-height: 1.15;

    text-align: center;

    transition: transform 0.2s ease;

font-weight: 500;
font-style: Medium;
font-size: 24px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}


.deadline-actions__button:hover {
    transform: translateY(-2px);
}


/* =========================================================
   ОРАНЖЕВАЯ
   ========================================================= */

.deadline-actions__button--orange {
    background: #C6925C;
}


/* =========================================================
   КОРИЧНЕВАЯ
   ========================================================= */

.deadline-actions__button--brown {
    background: #967968;
}


/* =========================================================
   ТЕЛЕФОН
   ========================================================= */

.deadline-actions__phone {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-left: 8px;

    color: #1e1c1a;

    text-decoration: none;

    font-family: "Mulish";



    line-height: 1;

    white-space: nowrap;

font-weight: 700;
font-style: Bold;
font-size: 35px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

}


/* =========================================================
   ИКОНКА ТЕЛЕФОНА
   ========================================================= */

.deadline-actions__phone-icon {
    width: 50px;
    height: 50px;

    object-fit: contain;
}


/* ==========================================
   SECTION
   ========================================== */

.faq-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;

  padding: 27px 20px 104px;

 background-image: url("img/bafff.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}





/* ==========================================
   CONTAINER
   ========================================== */

.faq-container {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 1200px;

  margin: 0 auto;
}


/* ==========================================
   TOP ICON
   ========================================== */

.faq-icon {
  position: relative;

  width: 56px;
  height: 56px;

  margin: 0 auto 17px;
}

.faq-icon img{
    width: 56px;
    height: 56px;
}





/* ==========================================
   TITLE
   ========================================== */

.faq-title {
  margin: 0 0 57px;

  color: #342e27;

  text-align: center;

  line-height: 1.15;


  letter-spacing: -0.8px;

  font-family: "Montserrat";
font-weight: 800;
font-style: "ExtraBold";
font-size: 44px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}


/* ==========================================
   GRID
   ========================================== */

.faq-grid {
  display: grid;

  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

  column-gap: 55px;
  row-gap: 22px;
}


/* ==========================================
   FAQ ITEM
   ========================================== */

.faq-item {
  width: 100%;

  margin: 0;
  padding: 0;

  border: 0;

  border-radius: 17px;

  overflow: hidden;

   background-image: url("img/quiz-paper.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;

  box-shadow:
    inset 0 0 0 1px rgba(192, 159, 109, 0.05);
}


/* ==========================================
   SUMMARY
   ========================================== */

.faq-item summary {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 83px;

  padding: 7px 52px 7px 28px;

  cursor: pointer;

  list-style: none;

  color: #29251f;

  text-align: center;

  line-height: 1.14;

  border-radius: 20px;


  user-select: none;

  transition:
    background-color 0.2s ease;


    font-family: "Montserrat";
font-weight: 600;
font-style: "SemiBold";
font-size: 18px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}


/* Убираем стандартный треугольник */

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::marker {
  display: none;
  content: "";
}


/* Текст */

.faq-item summary span {
  display: block;

  width: 100%;
}


/* ==========================================
   ARROW
   ========================================== */

.faq-arrow {
  position: absolute;

  right: 14px;
  top: 50%;

  width: 0;
  height: 0;

  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid #090806;

  transform: translateY(-50%);

  transition: transform 0.25s ease;
}


/* Открытый вопрос */

.faq-item[open] .faq-arrow {
  transform:
    translateY(-50%)
    rotate(180deg);
}


/* ==========================================
   ANSWER
   ========================================== */

.faq-answer {
  padding: 20px 27px 25px;

  background: rgba(255, 255, 255, 0.84);

  color: #59544e;

  text-align: center;

  line-height: 1.38;


  font-family: "Montserrat";
font-weight: 400;
font-style: "Regular";
font-size: 16px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}


/* ==========================================
   HOVER
   ========================================== */

.faq-item summary:hover {
  background: rgba(255, 248, 233, 0.35);
}


/* ==========================================
   FOCUS
   ========================================== */

.faq-item summary:focus-visible {
  outline: 2px solid #8d7656;
  outline-offset: -2px;
}


/* ==========================================
   FULL WIDTH
   ========================================== */

.faq-full {
  grid-column: 1 / -1;
}


/* =========================================
   CONTACTS
========================================= */

.contacts {
    position: relative;
    width: 100%;
    overflow: hidden;

    background-color: #faf7f1;

    /* если у тебя есть текстура фона */
background-image: url("img/logofff.png");
    background-repeat: repeat;
    background-size: auto;

    color: #29241f;

}


.contact-item {
    display: flex;
    flex-direction: column;

    align-items: center;

    text-align: center;

    min-width: 0;
}


.contact-icon {
    width: 70px;
    height: 70px;

    margin-bottom: 15px;

    object-fit: contain;
}


.contact-text {
    width: 339px;
    max-width: 210px;

    display: flex;
    flex-direction: column;

    align-items: center;

    color: #2B2622;

    font-family: "Montserrat";
    font-weight: 500;
    font-style: normal;

    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;

    text-align: center;
}

.contact-text a {
    color: inherit;

    text-decoration: none;
}


.contact-text a:hover {
    text-decoration: underline;
}


/* =========================================
   MAP
========================================= */

.map-wrapper {
    width: 650px;
    max-width: 100%;

    margin: 100px auto 0;

    overflow: hidden;
}


.map-image {
    display: block;

    width: 100%;
    height: auto;

    object-fit: cover;
}



/* =========================================
   GUARANTEES SECTION
========================================= */

.guarantees-section {
    width: 100%;
    min-height: 100vh;

    position: relative;

    padding: 40px 20px 90px;

    box-sizing: border-box;

    overflow: hidden;
}


/* Текстура фона */

.guarantees-section::before {
    content: "";

    position: absolute;

    inset: 0;

    background-image: url("img/background.png");
    background-repeat: repeat;
    background-size: 700px auto;


    pointer-events: none;

    z-index: 0;
}


/* =========================================
   CONTAINER
========================================= */

.guarantees-container {
    position: relative;

    z-index: 1;

    width: 100%;
    max-width: 905px;

    margin: 0 auto;
}


/* =========================================
   HEADER
========================================= */

.guarantees-header {
    display: flex;
    flex-direction: column;

    align-items: center;

    text-align: center;

    margin-bottom: 32px;
}


.guarantees-header-icon {
    width: 72px;
    height: 72px;

    margin-bottom: 28px;

    object-fit: contain;
}


.guarantees-header h2 {
    width: 1000px;
    margin: 0;

    color: #B88A4433 20%;

    font-family: "Montserrat";

    line-height: 1.15;


    letter-spacing: 0;

    text-align: center;

font-weight: 800;
font-style: "ExtraBold";
font-size: 44px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}


.guarantees-header p {
    margin: 23px 0 0;

    color: #3b3025;

    font-family: "Montserrat";

    line-height: 1.25;


    text-align: center;


font-weight: 500;
font-style: Medium;
font-size: 28px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}


/* =========================================
   LIST
========================================= */

.guarantees-container {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 1201px;

    margin: 0 auto;
}


.guarantees-list {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 16px;
}


.guarantee-card {
    position: relative;

    width: 1201px;
    height: 231px;

    margin: 0 auto;

    display: flex;
    align-items: center;

    box-sizing: border-box;

    padding: 20px 45px 20px 30px;

    background: #FFFFFF;

    border-radius: 10px;

    opacity: 1;
}

/* Дополнительная текстура внутри карточек */

.guarantee-card::before {
    content: "";

    position: absolute;

    inset: 0;

    background-image: url("/img/bafff.png");
    background-repeat: repeat;
    background-size: 500px auto;

    opacity: 0.18;

    border-radius: 8px;

    pointer-events: none;

    z-index: 0;
}


/* =========================================
   LEFT ICON
========================================= */

.guarantee-icon {
    position: relative;

    z-index: 1;

    width: 105px;
    min-width: 105px;
    height: 105px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-right: 25px;
}


.guarantee-icon img {
    display: block;

    width: 105px;
    height: 105px;

    object-fit: contain;
}


/* =========================================
   CONTENT
========================================= */

.guarantee-content {
    position: relative;

    z-index: 1;

    flex: 1;

    min-width: 0;

    padding-right: 10px;
}


.guarantee-content h3 {
    margin: 0 0 2px;

    color: #342b23;

    font-family: "Montserrat";

    line-height: 1.2;


    letter-spacing: 0;


font-weight: 700;
font-style: Bold;
font-size: 24px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

}


.guarantee-content p {
    margin: 0;

    color: #342b23;

    font-family: "Montserrat";

    line-height: 1.25;


    letter-spacing: 0;


font-weight: 500;
font-style: Medium;
font-size: 24px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

}


/* =========================================
   RIGHT CHECK ICON
========================================= */

.guarantee-check {
    position: absolute;

    z-index: 3;

    top: 50%;
    right: -20px;

    transform: translateY(-50%);

    width: 60px;
    height: 60px;

    object-fit: contain;

    pointer-events: none;
}





/* =========================================
   CONTACTS
========================================= */


/* =========================================
   CONTAINER
========================================= */

.contacts__container {
    width: 1200px;
    max-width: calc(100% - 40px);

    margin: 0 auto;

    padding: 42px 20px 28px;

    box-sizing: border-box;
}


/* =========================================
   HEADER
========================================= */

.contacts__header {
    width: 100%;

    display: grid;

    /*
       Левая часть — логотип
       Центр — заголовок
       Правая часть — телефон
    */
    grid-template-columns: 320px 1fr 320px;

    align-items: start;

    margin-bottom: 32px;
}


/* =========================================
   LOGO
========================================= */

.contacts__logo {
    display: flex;

    align-items: flex-start;
    justify-content: center;

    padding-top: 86px;
}

.contacts__logo img {
    display: block;

    width: 302px;
    height: auto;

    max-width: none;

    object-fit: contain;
}


/* =========================================
   MAIN TITLE
========================================= */

.contacts__main-title {
    position: relative;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: flex-start;

    text-align: center;

    padding-top: 0;
}

.contacts__pin-top {
    display: block;

    width: 36px;
    height: 44px;

    object-fit: contain;

    margin: 0 0 28px;
}

.contacts__main-title h2 {
    margin: 0;

    padding: 0;

    line-height: 1.12;

    font-weight: 800;

    color: #1F1F1F;

    white-space: nowrap;


    font-family: "Montserrat";
font-weight: 800;
font-style: ExtraBold;
font-size: 30px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}


/* =========================================
   TOP PHONE
========================================= */

.contacts__phone-top {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 18px;

    padding-top: 84px;

    white-space: nowrap;
}

.contacts__phone-top img {
    display: block;

    width: 34px;
    height: 34px;

    flex: 0 0 38px;

    object-fit: contain;
}

.contacts__phone-top a {
    display: block;

    color: #161616;


    line-height: 1;


    font-family: "Mulish";
font-weight: 700;
font-style: Bold;
font-size: 26px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

}
.contacts__main-title h2 {
    margin: 0;

    font-family: "Montserrat";

    font-size: 28px;
    line-height: 1.13;

    font-weight: 800;

    color: #332c25;
}


/* =========================================
   TOP PHONE
========================================= */

.contacts__phone-top {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 18px;

    white-space: nowrap;
}

.contacts__phone-top img {
    width: 38px;
    height: 38px;

    object-fit: contain;
}

.contacts__phone-top a {
    color: #171717;

    text-decoration: none;

    font-family: Montserrat, Arial, sans-serif;

    font-size: 25px;
    line-height: 1;

    font-weight: 500;
}


/* =========================================
   MAIN GRID
========================================= */

.contacts__grid {
    display: grid;

    grid-template-columns:
        1fr
        1.18fr
        1fr;

    column-gap: 50px;

    align-items: start;
}


/* =========================================
   COLUMNS
========================================= */

.contacts__column {
    min-width: 0;

    display: flex;
    flex-direction: column;
}


/* =========================================
   COMMON ITEM
========================================= */

.contacts__item {
    text-align: center;

    font-family: Arial, sans-serif;

    font-size: 15px;
    line-height: 1.15;
}

.contacts__item h3 {
    margin: 8px 0 2px;

    font-size: 15px;
    line-height: 1.2;

    font-weight: 700;
}

.contacts__item p {
    margin: 0;

    font-family: "Montserrat";
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
}

.contacts__item a {
    color: #2c2926;

    text-decoration: none;

    font-size: 15px;
}


/* =========================================
   ICONS
========================================= */

.contacts__icon {
    display: block;

    width: 40px;
    height: 40px;

    margin: 0 auto;

    object-fit: contain;
}

.contacts__icon--map {
    width: 53px;
    height: 53px;
}

.contacts__icon--phone {
    width: 40px;
    height: 40px;
}


/* =========================================
   LEFT COLUMN
========================================= */

.contacts__item--schedule {
    min-height: 135px;
}

.contacts__item--schedule .contacts__icon {
    margin-bottom: 6px;
}


.contacts__item--how {
    margin-top: 8px;

    min-height: 295px;
}

.contacts__item--how .contacts__icon {
    margin-bottom: 25px;
}

.contacts__item--how .contacts__text {
    margin-bottom: 17px;
}


.contacts__item--details {
    margin-top: 4px;
}

.contacts__item--details .contacts__icon {
    margin-bottom: 18px;
}

.contacts__details {
    font-size: 18px !important;
    line-height: 1.18 !important;
}


/* =========================================
   CENTER COLUMN
========================================= */

.contacts__item--address {
    min-height: 135px;
}

.contacts__item--address .contacts__icon {
    margin-bottom: 7px;
}


/* =========================================
   MAP
========================================= */

.contacts__map {
    width: 100%;

    display: flex;
    justify-content: center;

    margin-top: 4px;
}

.contacts__map img {
    display: block;

    width: 350px;
    height: 265px;

    max-width: 100%;

    object-fit: cover;

    border-radius: 13px;
}


/* =========================================
   SPECIAL CONDITIONS
========================================= */

.contacts__special {
    text-align: center;

    margin-top: 17px;

    font-size: 13px;
    line-height: 1.35;
}

.contacts__special-icon {
    display: block;

    width: 34px;
    height: 34px;

    margin: 0 auto 12px;

    object-fit: contain;


}

.contacts__special h3 {
    margin: 0 0 3px;

    font-size: 12px;
    line-height: 1.2;

    font-weight: 700;
}

.contacts__special p {
    margin: 0;
}


/* =========================================
   RIGHT COLUMN
========================================= */

.contacts__item--email {
    min-height: 132px;
}

.contacts__item--email .contacts__icon {
    margin-bottom: 8px;
}


.contacts__item--tel {
    min-height: 145px;

    margin-top: 0;
}

.contacts__item--tel .contacts__icon {
    margin-bottom: 10px;
}


.contacts__item--messengers {
    min-height: 190px;

    margin-top: 0;
}

.contacts__item--messengers .contacts__icon {
    width: 43px;
    height: 43px;

    margin-bottom: 8px;
}


.contacts__item--time {
    margin-top: 12px;
}

.contacts__item--time .contacts__icon {
    width: 40px;
    height: 40px;

    margin-bottom: 12px;
}

.contacts__item--time p {
    font-size: 15px;
    line-height: 1.2;
}


/* =========================================
   STRONG
========================================= */

.contacts strong {
    font-weight: 700;
}



/* =========================================
   GALLERY
========================================= */

.contacts__gallery {
    width: 100%;

    margin-top: 38px;

    text-align: center;
}


/* =========================================
   GALLERY IMAGES
========================================= */

.contacts__gallery-images {
    width: 100%;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 40px;

    align-items: center;

    justify-content: center;
}

.contacts__gallery-images img {
    display: block;

    width: 100%;
    height: 184px;

    object-fit: cover;

    border-radius: 20px;
}


/* =========================================
   GALLERY TEXT
========================================= */

.contacts__gallery-text {
    margin: 51px 0 0;

    font-family: "Montserrat";

 

    line-height: 100%;

    letter-spacing: 0;

    text-align: center;

    color: #29241f;


font-weight: 500;
font-style: Medium;
font-size: 16px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    width: 100%;
    background: #ffffff;
    color: #171717;
    font-family: "Montserrat", Arial, sans-serif;
    box-sizing: border-box;
}

.footer *,
.footer *::before,
.footer *::after {
    box-sizing: border-box;
}


/* =========================================================
   CONTAINER
========================================================= */

.footer__container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 38px 0 39px;
}


/* =========================================================
   LOGO
========================================================= */

.footer__logo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.footer__logo img {
    display: block;
    width: 323px;
    height: auto;
    object-fit: contain;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.footer__description {
    width: 100%;
    text-align: center;

    font-family: "Montserrat";

    line-height: 1.35;

    color: #171717;

    margin: 0 auto 50px;


font-weight: 500;
font-style: Medium;
font-size: 12px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}


/* =========================================================
   COLUMNS
========================================================= */

.footer__columns {
    width: 100%;

    display: grid;

    grid-template-columns:
        1.9fr
        1fr
        1.35fr
        .95fr;

    column-gap: 38px;

    align-items: start;
}


/* =========================================================
   COLUMN
========================================================= */

.footer__column {
    min-width: 0;
}

.footer__column h3 {
    margin: 0 0 19px;

    font-family: "Montserrat";

    line-height: 1.2;

    color: #C6925C;

font-weight: 700;
font-style: Bold;
font-size: 20px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

}


/* =========================================================
   LIST
========================================================= */

.footer__column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__column li {
    position: relative;

    margin: 0 0 11px;
    padding-left: 16px;

    line-height: 1.25;

  white-space: nowrap;

    font-family: "Montserrat";
font-weight: 500;
font-style: Medium;
font-size: 12px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

}

.footer__column li::before {
    content: "—";

    position: absolute;
    left: 0;
    top: 0;

    color: #171717;
}

.footer__column a {
    color: #171717;
    text-decoration: none;
    transition: color .2s ease;
}

.footer__column a:hover {
    color: #b77d43;
}


/* =========================================================
   CONTACTS
========================================================= */

.footer__contact {
    margin: 0;
}

.footer__contact p {
    margin: 0 0 15px;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.25;

    color: #171717;
}


/* =========================================================
   PRIVACY
========================================================= */

.footer__privacy {
    width: 100%;
    text-align: center;

    margin-top: 21px;
}

.footer__privacy a {
    margin: 0 0 20px;
text-decoration: none;
    font-family: "Montserrat";
    line-height: 1.2;

    color: #171717;


font-weight: 700;
font-style: Bold;
font-size: 17px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}



.footer__privacy p {
    width: 760px;
    max-width: 100%;

    margin: 0 auto;

    font-family: "Montserrat";

    line-height: 1.25;

    color: #967968;

margin-top: 20px;
font-weight: 500;
font-style: Medium;
font-size: 10px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}


/* =========================================================
   COPYRIGHT
========================================================= */

.footer__copyright {
    width: 100%;

    margin-top: 31px;

    text-align: center;

    font-family: "Montserrat";

    line-height: 1.2;

    color: #171717;


font-weight: 700;
font-style: Bold;
font-size: 17px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

}


/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ — 360px
   ТОЧНАЯ ПОСЛЕДОВАТЕЛЬНОСТЬ КАК В ДИЗАЙНЕ
========================================================= */

@media (max-width: 600px) {

    /* =====================================================
       ОБЩЕЕ
    ===================================================== */

    .contacts {
        width: 100%;
        max-width: 100%;

        margin: 0;
        padding: 0;

 margin-top: -30px;

    

        overflow: hidden;

         background-color: #ffffff;
    background-image: none;
        background-repeat: repeat;
        background-position: center top;
        background-size: auto;

        color: #29241f;
    }

  


    /* =====================================================
       CONTACTS CONTAINER
    ===================================================== */

    .contacts__container {
        width: 100%;
        max-width: 360px;

        margin: 0 auto;

margin-left: 20px;
        padding: 12px 0 20px;

        box-sizing: border-box;
    }


    /* =====================================================
       HEADER
    ===================================================== */

    .contacts__header {
        width: 100%;

        display: block;

        margin: 0;
        padding: 0;
    }


    .contacts__logo,
    .contacts__phone-top {
        display: none;
    }


    /* =====================================================
       ЗАГОЛОВОК
    ===================================================== */

    .contacts__main-title {
        width: 100%;

        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: flex-start;

        margin: 0;
        padding: 0;

        text-align: center;
    }


    .contacts__pin-top {
        display: block;

        width: 33px;
        height: 33px;

        margin: 0 0 10px;

        object-fit: contain;
    }


   .contacts__main-title h2 {
    width: 100%;

    margin: 0;
    padding: 0 15px;

    box-sizing: border-box;

    font-family: "Montserrat";

    font-weight: 800;
    font-style: normal;

    font-size: 20px;
    line-height: 100%;

    letter-spacing: 0;

    text-align: center;

    color: #29241f;

    white-space: normal;
}


    /* =====================================================
       ОСНОВНАЯ СЕТКА
       
       ВАЖНО:
       display: contents убирает три колонки,
       чтобы все элементы можно было расположить
       строго по макету.
    ===================================================== */

    .contacts__grid {
        width: 100%;

        display: flex;

        flex-direction: column;

        align-items: center;

        gap: 0;

        margin: 0;
        padding: 0;
    }


    .contacts__column {
        display: contents;
    }


    /* =====================================================
       ОБЩИЕ СВОЙСТВА
    ===================================================== */

    .contacts__item {
        width: 100%;

        min-height: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        box-sizing: border-box;

        text-align: center;

        font-family: "Montserrat";

        color: #29241f;
    }


    .contacts__item h3 {
        margin: 0;

        font-family: "Montserrat";

        font-size: 12px;
        line-height: 100%;

        font-weight: 700;

        letter-spacing: 0;

        text-align: center;

        color: #29241f;
    }


    .contacts__item p {
        margin: 0;

        font-family: "Montserrat";

        font-size: 12px;
        line-height: 100%;

        font-weight: 400;

        letter-spacing: 0;

        text-align: center;

        color: #29241f;
    }


    .contacts__item a {
        color: #29241f;

        text-decoration: none;

        font-family: "Montserrat";
    }


    /* =====================================================
       ИКОНКИ
    ===================================================== */

    .contacts__icon {
        display: block;

        width: 25px;
        height: 25px;

        margin-left: auto;
        margin-right: auto;

        object-fit: contain;
    }


   /* =====================================================
   РЕЖИМ РАБОТЫ — 360px
===================================================== */

.contacts__item--schedule {
    width: 100%;

    margin: 19px 0 15px !important;
    padding: 0 !important;

    text-align: center;
}


/* ИКОНКА */

.contacts__item--schedule .contacts__icon {
    display: block;

    width: 24px;
    height: 24px;

    margin: 0 auto 7px;

    object-fit: contain;
}


/* РЕЖИМ РАБОТЫ: */

.contacts__item--schedule h3 {
    margin: 0 0 4px;
    padding: 0;

    font-family: "Montserrat";

    font-weight: 700;
    font-style: normal;

    font-size: 12px;
    line-height: 100%;

    letter-spacing: 0;

    text-align: center;

    color: #29241f;
}


/* Понедельник — Пятница... */

.contacts__item--schedule p {
    margin: 0;
    padding: 0;

    font-family: "Montserrat";

    font-weight: 400;
    font-style: normal;

    font-size: 12px;
    line-height: 100%;

    letter-spacing: 0;

    text-align: center;

    color: #29241f;
}

   /* =====================================================
   АДРЕС — 360px
===================================================== */

.contacts__item--address {
    order: 2;

    width: 100% !important;

    margin: 0 0 16px !important;
    padding: 0 !important;

    text-align: center !important;
}


/* ИКОНКА */

.contacts__item--address .contacts__icon {
    display: block !important;

    width: 25px !important;
    height: 25px !important;

    margin: 0 auto 7px !important;

    object-fit: contain !important;
}


/* АДРЕС: */

.contacts__item--address h3 {
    display: block !important;

    width: 100% !important;

    margin: 0 0 4px !important;
    padding: 0 !important;

    font-family: "Montserrat" !important;

    font-weight: 700 !important;
    font-style: normal !important;

    font-size: 12px !important;
    line-height: 100% !important;

    letter-spacing: 0 !important;

    text-align: center !important;

    color: #29241f !important;
}


/* ТЕКСТ АДРЕСА */

.contacts__item--address p {
    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family: "Montserrat" !important;

    font-weight: 500 !important;
    font-style: normal !important;

    font-size: 12px !important;
    line-height: 100% !important;

    letter-spacing: 0 !important;

    text-align: center !important;

    color: #29241f !important;
}

    /* =====================================================
   EMAIL — 360px
===================================================== */

.contacts__item--email {
    order: 3;

    width: 100%;

    margin: 0 0 16px !important;
    padding: 0 !important;

    text-align: center;
}


/* ИКОНКА */

.contacts__item--email .contacts__icon {
    display: block;

    width: 25px;
    height: 25px;

    margin: 0 auto 7px;

    object-fit: contain;
}


/* EMAIL: */

.contacts__item--email h3 {
    margin: 0 0 4px;
    padding: 0;

    font-family: "Montserrat", sans-serif;

    font-weight: 700;
    font-style: normal;

    font-size: 12px;
    line-height: 100%;

    letter-spacing: 0;

    text-align: center;

    color: #29241f;
}


/* ПОЧТА */

.contacts__item--email a {
    display: block;

    margin: 0;
    padding: 0;

    font-family: "Montserrat", sans-serif;

    font-weight: 400;
    font-style: normal;

    font-size: 12px;
    line-height: 100%;

    letter-spacing: 0;

    text-align: center;

    color: #29241f;

    text-decoration: none;
}

   /* =====================================================
   КАРТА — 360px
===================================================== */

.contacts__map {
    order: 4;

    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    margin: 0 0 16px;
    padding: 0;

    box-sizing: border-box;
}


/* ИЗОБРАЖЕНИЕ КАРТЫ */

.contacts__map img {
    display: block;

    width: 300px;
    height: 227px;

    max-width: none;

    margin: 0 auto;

    object-fit: cover;

    border-radius: 20px;
}


  /* =====================================================
   КАК ДОБРАТЬСЯ — 360px
===================================================== */

.contacts__item--how {
    order: 5;

    width: 100%;

    margin: 0 0 17px !important;
    padding: 0 20px !important;

    box-sizing: border-box;

    text-align: center;
}


/* ИКОНКА */

.contacts__item--how .contacts__icon {
    display: block;

    width: 30px;
    height: 30px;

    margin: 0 auto 10px;

    object-fit: contain;
}


/* ОСНОВНОЙ ТЕКСТ */

.contacts__item--how .contacts__text {
    width: 100%;

    margin: 0 0 9px;
    padding: 0;

    font-family: "Montserrat";

    font-weight: 500;
    font-style: normal;

    font-size: 12px;
    line-height: 100%;

    letter-spacing: 0;

    text-align: center;

    color: #29241f;
}


/* ПОСЛЕДНИЙ АБЗАЦ */

.contacts__item--how .contacts__text:last-child {
    margin-bottom: 0;
}


/* ЖИРНЫЙ ТЕКСТ */

.contacts__item--how strong,
.contacts__item--how b {
    font-family: "Montserrat";

    font-weight: 700;
    font-style: normal;

    font-size: 12px;
    line-height: 100%;

    letter-spacing: 0;

    text-align: center;
}

   /* =====================================================
   РЕКВИЗИТЫ — 360px
===================================================== */

.contacts__item--details {
    order: 6;

    width: 100%;

    margin: 0 0 17px !important;
    padding: 0 !important;

    text-align: center;
}


/* ИКОНКА */

.contacts__item--details .contacts__icon {
    display: block;

    width: 27px;
    height: 27px;

    margin: 0 auto 7px;

    object-fit: contain;
}


/* ТЕКСТ РЕКВИЗИТОВ */

.contacts__details {
    width: 100%;

    margin: 0 !important;
    padding: 0 !important;

    font-family: "Montserrat" !important;

    font-weight: 400 !important;
    font-style: normal !important;

    font-size: 12px !important;
    line-height: 100% !important;

    letter-spacing: 0 !important;

    text-align: center !important;

    color: #29241f;
}

  /* =====================================================
   ТЕЛЕФОН — 360px
===================================================== */

.contacts__item--tel {
    order: 7;

    width: 100%;

    margin: 0 0 16px !important;
    padding: 0 !important;

    text-align: center;
}


/* ИКОНКА */

.contacts__item--tel .contacts__icon {
    display: block;

    width: 25px;
    height: 25px;

    margin: 0 auto 7px;

    object-fit: contain;
}


/* ТЕЛЕФОН: */

.contacts__item--tel h3 {
    margin: 0 0 4px;
    padding: 0;

    font-family: "Montserrat";

    font-weight: 700;
    font-style: normal;

    font-size: 12px;
    line-height: 100%;

    letter-spacing: 0;

    text-align: center;

    color: #29241f;
}


/* НОМЕР ТЕЛЕФОНА */

.contacts__item--tel p {
    margin: 0;
    padding: 0;

    font-family: "Montserrat";

    font-weight: 400;
    font-style: normal;

    font-size: 12px;
    line-height: 100%;

    letter-spacing: 0;

    text-align: center;

    color: #29241f;
}

   /* =====================================================
   WHATSAPP / TELEGRAM — 360px
===================================================== */

.contacts__item--messengers {
    order: 8;

    width: 100%;

    margin: 0 0 16px !important;
    padding: 0 !important;

    text-align: center;
}


/* ИКОНКА */

.contacts__item--messengers .contacts__icon {
    display: block;

    width: 27px;
    height: 27px;

    margin: 0 auto 7px;

    object-fit: contain;
}


/* WHATSAPP / TELEGRAM: */

.contacts__item--messengers h3 {
    margin: 0 0 4px;
    padding: 0;

    font-family: "Montserrat";

    font-weight: 700;
    font-style: normal;

    font-size: 12px;
    line-height: 100%;

    letter-spacing: 0;

    text-align: center;

    color: #29241f;
}


/* ТЕКСТ */

.contacts__item--messengers p {
    margin: 0;
    padding: 0;

    font-family: "Montserrat";

    font-weight: 400;
    font-style: normal;

    font-size: 12px;
    line-height: 100%;

    letter-spacing: 0;

    text-align: center;

    color: #29241f;
}

  /* =====================================================
   ВРЕМЯ — 360px
===================================================== */

.contacts__item--time {
    order: 9;

    width: 100%;

    margin: 0 0 19px !important;
    padding: 0 !important;

    text-align: center;
}


/* ИКОНКА */

.contacts__item--time .contacts__icon {
    display: block;

    width: 26px;
    height: 26px;

    margin: 0 auto 7px;

    object-fit: contain;
}


/* ОСНОВНОЙ ТЕКСТ */

.contacts__item--time p {
    margin: 0;
    padding: 0;

    font-family: "Montserrat";

    font-weight: 500;
    font-style: normal;

    font-size: 12px;
    line-height: 100%;

    letter-spacing: 0;

    text-align: center;

    color: #29241f;
}


/* ЕСЛИ ЕСТЬ ДОПОЛНИТЕЛЬНЫЙ ТЕКСТ */

.contacts__item--time span {
    font-family: "Montserrat";

    font-weight: 400;
    font-style: normal;

    font-size: 12px;
    line-height: 100%;

    letter-spacing: 0;

    text-align: center;

    color: #29241f;
}
    /* =====================================================
   СПЕЦИАЛЬНЫЕ УСЛОВИЯ — 360px
===================================================== */

.contacts__special {
    order: 10;

    width: 100%;

    margin: 0 0 18px;
    padding: 0 20px;

    box-sizing: border-box;

    text-align: center;

    font-family: "Montserrat";
}


/* ИКОНКА */

.contacts__special-icon {
    display: block;

    width: 66px;
    height: 37px;

    margin: 0 auto 7px;

    object-fit: contain;
}


/* ЗАГОЛОВОК */

.contacts__special h3 {
    margin: 0 0 6px;
    padding: 0;

    font-family: "Montserrat";

    font-weight: 700;
    font-style: normal;

    font-size: 10px;
    line-height: 20px;

    letter-spacing: 0;

    text-align: center;

    color: #29241f;
}


/* ТЕКСТ */

.contacts__special p {
    margin: 0;
    padding: 0;

    font-family: "Montserrat";

    font-weight: 400;
    font-style: normal;

    font-size: 10px;
    line-height: 20px;

    letter-spacing: 0;

    text-align: center;

    color: #29241f;
}

   /* =====================================================
   ГАЛЕРЕЯ — ОТ КРАЯ ДО КРАЯ 360px
===================================================== */

.contacts__gallery {
    width: 100%;
    margin: 0;
    padding: 0;

    text-align: center;
}


/* КОНТЕЙНЕР ФОТО */

.contacts__gallery-images {
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 0;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}


/* ФОТО */

.contacts__gallery-images img {
    display: block;

    width: 72px;
    height: 129px;

    flex: 0 0 72px;

    object-fit: cover;

    border-radius: 10px;
}


   /* =====================================================
   ТЕКСТ ПОД ФОТО — 360px
===================================================== */

.contacts__gallery-text {
    width: 100%;

    margin: 14px 0 0;
    padding: 0 17px;

    box-sizing: border-box;

    font-family: "Montserrat";

    font-weight: 500;
    font-style: normal;

    font-size: 12px;
    line-height: 100%;

    letter-spacing: 0;

    text-align: center;

    color: #29241f;
}


    /* =====================================================
       FOOTER
    ===================================================== */

    .footer {
        width: 100%;

        margin: 0;
        padding: 0;

        background: #fff;

        color: #171717;

        font-family: "Montserrat", Arial, sans-serif;
    }


    .footer__container {
        width: 100%;

        max-width: 360px;

        margin: 0 auto;

        padding: 21px 15px 22px;

        box-sizing: border-box;
    }


    /* =====================================================
       FOOTER LOGO — ПЕРВЫЙ
    ===================================================== */

    .footer__logo {
        width: 100%;

        display: flex;

        justify-content: center;
        align-items: center;

        margin: 0 0 17px;
    }


    .footer__logo img {
        display: block;

        width: 302px;
        height: auto;

        object-fit: contain;
    }


    /* =====================================================
   ОПИСАНИЕ — 360px
===================================================== */

.footer__description {
    width: 100%;

    margin: 0 auto 26px;
    padding: 0 2px;

    box-sizing: border-box;

    font-family: "Montserrat";

    font-weight: 500;
    font-style: normal;

    font-size: 10px;
    line-height: 100%;

    letter-spacing: 0;

    text-align: center;

    color: #171717;
}


    /* =====================================================
       КОЛОНКИ FOOTER
       
       1 строка: УСЛУГИ
       2 строка: КОМПАНИЯ | КОНТАКТЫ
       3 строка: ПОЛЕЗНАЯ ИНФОРМАЦИЯ
    ===================================================== */

    .footer__columns {
        width: 100%;

        display: grid;

        grid-template-columns: 1fr 1fr;

        grid-template-areas:
            "services services"
            "company contacts"
            "useful useful";

        column-gap: 18px;

        row-gap: 18px;

        align-items: start;
    }


    .footer__column {
        width: 100%;

        min-width: 0;
    }


    /* Услуги */

    .footer__column--services {
        grid-area: services;
    }


    /* Компания */

    .footer__column:nth-child(2) {
        grid-area: company;
    }


    /* Полезная информация */

    .footer__column:nth-child(3) {
        grid-area: useful;
    }


    /* Контакты */

    .footer__column--contacts {
        grid-area: contacts;
    }


    /* =====================================================
       ЗАГОЛОВКИ FOOTER
    ===================================================== */

   .footer__column--services h3 {
    margin: 0 0 9px;

    font-family: "Montserrat";

    font-weight: 700;
    font-style: normal;

    font-size: 20px;
    line-height: 100%;

    letter-spacing: 0;

    color: #C6925C;
}


    /* =====================================================
       СПИСКИ
    ===================================================== */

    .footer__column ul {
        list-style: none;

        margin: 0;
        padding: 0;
    }


   
.footer__column--services li {
    position: relative;

    margin: 0 0 6px;
    padding-left: 8px;

    white-space: normal;

    font-family: "Montserrat";

    font-weight: 500;
    font-style: normal;

    font-size: 10px;
    line-height: 100%;

    letter-spacing: 0;
}


/* ССЫЛКИ */

.footer__column--services a {
    font-family: "Montserrat";

    font-weight: 500;
    font-size: 10px;
    line-height: 100%;

    color: #171717;

    text-decoration: none;
}


    /* =====================================================
       КОНТАКТЫ FOOTER
    ===================================================== */

   /* =====================================================
   КОНТАКТЫ FOOTER — 360px
===================================================== */

.footer__column--contacts {
    grid-area: contacts;
}


/* ТЕКСТ КОНТАКТОВ */

.footer__column--contacts,
.footer__column--contacts p,
.footer__column--contacts a {
    width: 174px;
    font-family: "Montserrat";

    font-weight: 500;
    font-style: normal;

    font-size: 10px;
    line-height: 100%;

    letter-spacing: 0;

    color: #171717;
}


/* ОТСТУПЫ МЕЖДУ КОНТАКТАМИ */

.footer__contact p {
    margin: 0 0 7px;
}


    /* =====================================================
       ПОЛЕЗНАЯ ИНФОРМАЦИЯ
    ===================================================== */

    .footer__column:nth-child(3) {
        margin-top: 0;
    }


    /* =====================================================
   ПОЛИТИКА — 360px
===================================================== */

.footer__privacy a {
    display: block;

    margin: 0 0 14px;

    font-family: "Montserrat";

    font-weight: 700;
    font-style: normal;

    font-size: 14px;
    line-height: 100%;

    letter-spacing: 0;

    text-align: center;

    color: #171717;

    text-decoration: none;
}
/* =====================================================
   ПОЛИТИКА — ТЕКСТ 360px
===================================================== */

.footer__privacy p {
    width: 100%;

    max-width: 320px;

    margin: 0 auto;

    font-family: "Montserrat", sans-serif;

    font-weight: 500;
    font-style: normal;

    font-size: 10px;
    line-height: 100%;

    letter-spacing: 0;

    text-align: center;

    color: #967968;
}

/* =====================================================
   КОПИРАЙТ — 360px
===================================================== */

.footer__copyright {
    width: 100%;

    margin-top: 20px;
    padding: 0 10px;

    box-sizing: border-box;

    font-family: "Montserrat", sans-serif;

    font-weight: 700;
    font-style: normal;

    font-size: 14px;
    line-height: 100%;

    letter-spacing: 0;

    text-align: center;

    color: #171717;
}

/* =====================================================
   НИЖНИЙ ЛОГО — ТОЛЬКО МОБИЛЬНАЯ ВЕРСИЯ
===================================================== */

.footer__logo--bottom {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    margin: 18px 0 0;
    padding: 0;
}


.footer__logo--bottom img {
    display: block;

    width: 177px;
    height: auto;

    object-fit: contain;
}
/* =====================================================
   ЗАЩИТА ОТ ГОРИЗОНТАЛЬНОГО СКРОЛЛА — 360px
===================================================== */

html,
body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;

    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.footer,
.contacts {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}
}

.footer__logo--bottom {
    display: none;
}

@media (max-width: 768px) {
    .footer__logo--bottom {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        text-align: center;
    }

    .footer__logo--bottom img {
        display: block;
        margin: 0 auto;
    }
}

/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ — НАСЛЕДСТВО
   ========================================================= */

.inheritance-hero-mobile {
    display: none;
}


@media screen and (max-width: 767px) {

    /* =====================================================
       ОСНОВА
       ===================================================== */

    .inheritance-hero {
        display: none;
    }

    .inheritance-hero-mobile {
        position: relative;

        display: block;

        width: 100%;
        height: 630px;

        overflow: hidden;

        box-sizing: border-box;

        color: #3d3023;

        /*
         * ВЕРХНЯЯ И НИЖНЯЯ ЧАСТЬ —
         * БУМАЖНЫЙ ФОН
         */
        background-image: url("img/inheritance-bg-mobile.jpg");
        background-repeat: repeat-y;
        background-position: center top;
        background-size: 100% auto;
    }


    /* =====================================================
       ВЕРХНЯЯ КОРИЧНЕВАЯ ПОЛОСКА
       ===================================================== */

    .inheritance-hero-mobile__top {
        position: absolute;

        top: 0;
        left: 0;

        width: 100%;
        height: 58px;

        padding: 10px 17px 0;

        box-sizing: border-box;

        background: #967968CC 80%;

        z-index: 10;

        text-align: center;

        color: #fff;
    }


    .inheritance-hero-mobile__top-line {
        margin: 0;


        line-height: 11px;
   font-family: "Montserrat";
font-weight: 700;
font-style: Bold;
font-size: 10px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;
    }


    .inheritance-hero-mobile__top-text {
        margin-top: 1px;


        line-height: 11px;



        font-family: "Montserrat";
font-weight: 700;
font-style: Bold;
font-size: 10px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

    }


    /* =====================================================
       ЗАГОЛОВОК
       ===================================================== */

    .inheritance-hero-mobile__title {
        position: absolute;

        top: 78px;
        left: 0;

        width: 100%;

        margin: 0;

        padding: 0 18px;

        box-sizing: border-box;

        z-index: 5;

        text-align: center;

        color: #B88A4433 20%;

        font-family: "Montserrat";

        line-height: 21px;


font-weight: 800;
font-style: "ExtraBold";
font-size: 18px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

    }


    /* =====================================================
       ЦЕНТРАЛЬНАЯ ФОТОГРАФИЯ
       ===================================================== */
.inheritance-hero-mobile__photo {
    position: absolute;

    top: 156px;
    left: 0;

    width: 100%;
    height: 215px;

    overflow: hidden;

    z-index: 2;
}

.inheritance-hero-mobile__photo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    /* сдвигаем саму фотографию вправо */
    object-position: 100% center;
}


    /* =====================================================
       СПИСОК
       ===================================================== */

    .inheritance-hero-mobile__list {
        position: absolute;

        top: 371px;
        left: 0;

        width: 100%;
        height: 121px;

        padding: 13px 8px 8px;

        box-sizing: border-box;

        background: rgba(218, 181, 133, 0.30);

        z-index: 4;
    }


    .inheritance-hero-mobile__item {
        display: flex;

        align-items: center;

        width: 100%;
        height: 25px;

        margin: 0;
        padding: 0;
    }


    .inheritance-hero-mobile__item span {
        display: block;

        width: 23px;
        min-width: 23px;

        color: #ad8567;

        font-size: 20px;
        line-height: 20px;

        transform: translateX(-1px);
    }


    .inheritance-hero-mobile__item p {
        margin: 0;

        color: #493b2d;

        font-family: "Montserrat";

        line-height: 13px;


        white-space: nowrap;

font-weight: 400;
font-style: "Regular";
font-size: 11px;
leading-trim: NONE;
line-height: 25px;
letter-spacing: 0%;

    }


    /* =====================================================
       ОПИСАНИЕ
       ===================================================== */

    .inheritance-hero-mobile__description {
        position: absolute;

        top: 510px;
        left: 0;

        display: flex;

        align-items: flex-start;

        width: 100%;

        padding: 0 20px 0 30px;

        box-sizing: border-box;

        z-index: 5;
    }


    .inheritance-hero-mobile__description-icon {
        width: 27px;
        min-width: 27px;
    }


    .inheritance-hero-mobile__description-icon img {
        display: block;

        width: 22px;

        margin: 5px auto 0;
    }


    .inheritance-hero-mobile__description p {
        margin: 0 0 0 15px;

        width: 258px;

        color: #1f1f1f;

        font-family: "Montserrat";

        line-height: 11px;


font-weight: 400;
font-style: "Regular";
font-size: 10px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

    }


    /* =====================================================
       КНОПКИ
       ===================================================== */

 .inheritance-hero-mobile__buttons {
    position: absolute;

    top: 566px;
    left: 0;

    display: flex;

    justify-content: center;

    width: 100%;

    padding: 0 21px;

    box-sizing: border-box;

    gap: 65px;

    z-index: 6;
}


    .inheritance-hero-mobile__button {
        display: flex;

        align-items: center;
        justify-content: center;

        width: 146px;
        height: 39px;

        box-sizing: border-box;

        border-radius: 5px;

        text-align: center;
        text-decoration: none;

        font-family: "Montserrat";

        line-height: 11px;


        color: #fff;

font-weight: 400;
font-style: "Regular";
font-size: 10px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

    }


    .inheritance-hero-mobile__button--orange {
        background: #C6925C;
    }


    .inheritance-hero-mobile__button--brown {
        width: 146px;

        background: #4C3E29;


font-weight: 400;
font-style: "Regular";
font-size: 10px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;


    }
 .hero {
        background: none !important;
    }
}


/* =========================================================
   НИЖНИЙ БЛОК — МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media screen and (max-width: 767px) {

    .inheritance-hero__bottom {
        width: 100%;

        height: auto;
        min-height: 121px;

        box-sizing: border-box;

        background: #8D3B32;

        color: #fff;

        padding: 14px 20px 16px;

        margin-top: -120px;

        text-align: center;
    }


    .inheritance-hero__bottom-title {
        margin: 0;

        margin-top: 15px;


        line-height: 15px;


        text-align: center;

        color: #fff;

        font-family: "Montserrat";
font-weight: 600;
font-style: SemiBold;
font-size: 10px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

    }


    .inheritance-hero__bottom-text {
        margin-top: 8px;

        font-family: "Montserrat";

        line-height: 13px;


        text-align: center;

        color: #fff;


font-weight: 400;
font-style: "Regular";
font-size: 10px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

    }

}

/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ — 360px
   ТОЧНО ПОД МАКЕТ
   ========================================================= */

@media (max-width: 600px) {

    /* ---------------------------------------------------------
       ОСНОВНОЙ БЛОК
       --------------------------------------------------------- */

    .notary-reasons {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        margin: 0;
        padding: 0;

        overflow: hidden;

        background-image: url("img/quiz-paper.png");
        background-repeat: repeat-y;
        background-position: center top;
        background-size: 100% auto;

        font-family: "Montserrat", sans-serif;
        color: #332a22;
    }


    /* ---------------------------------------------------------
       КОНТЕЙНЕР
       --------------------------------------------------------- */

    .notary-reasons__container {
        width: 100%;
        max-width: 360px;
        min-height: 1737px;

        margin: 0 auto;
        padding: 0;

        box-sizing: border-box;
    }


    /* ---------------------------------------------------------
       ВЕРХНЯЯ ИКОНКА
       В макете: маленькая иконка примерно 18x18
       --------------------------------------------------------- */

    .notary-reasons__top-icon {
        width: 19px;
        height: 19px;

        margin: 15px auto 0;
    }

    .notary-reasons__top-icon img {
        width: 19px;
        height: 19px;

        display: block;
        object-fit: contain;
    }


    /* ---------------------------------------------------------
       ЗАГОЛОВОК
       --------------------------------------------------------- */

    .notary-reasons__title {
        width: 100%;

        margin: 22px 0 0;
        padding: 0 15px;

        box-sizing: border-box;

        text-align: center;

        color: #332a22;

        font-family: "Montserrat";
        font-weight: 800;
        font-style: normal;
        font-size: 18px;
        line-height: 22px;
        letter-spacing: 0;



    }


    /* ---------------------------------------------------------
       ТРИ ИЛЛЮСТРАЦИИ
       --------------------------------------------------------- */

    .notary-reasons__illustrations {
        width: 100%;

        height: 80px;

        margin: 30px 0 0;

        padding: 0 9px;

        box-sizing: border-box;

        display: flex;

        align-items: center;
        justify-content: space-between;

        gap: 0;
    }


    .notary-reasons__illustration {
        width: 105px;
        height: 76px;

        flex: 0 0 105px;

        display: flex;
        align-items: center;
        justify-content: center;
    }


    .notary-reasons__illustration img {
        display: block;

        width: 100%;
        height: 100%;

        object-fit: contain;
    }


    /* ---------------------------------------------------------
       ВСТУПИТЕЛЬНЫЙ ТЕКСТ
       --------------------------------------------------------- */

    .notary-reasons__intro {
        width: 100%;

        margin: 27px 0 0;

        padding: 0 22px;

        box-sizing: border-box;

        text-align: center;
    }


    .notary-reasons__intro p {
        margin: 0 0 19px;

        color: #39332d;

        font-family: "Montserrat";
        font-weight: 300;
        font-style: normal;
        font-size: 16px;
        line-height: 20px;
        letter-spacing: 0;

        text-align: center;
    }


    .notary-reasons__intro-bold {
        margin-bottom: 20px !important;

        color: #17130f;

        font-family: "Montserrat";
        font-weight: 600 !important;
        font-style: normal;
        font-size: 16px;
        line-height: 21px;
        letter-spacing: 0;

        text-align: center;



    }


    /* ---------------------------------------------------------
       УБИРАЕМ DESKTOP <br> В ОПИСАНИИ
       Чтобы текст переносился как на мобильном макете
       --------------------------------------------------------- */

    .notary-reasons__intro p br {
        display: none;
    }


    /* ---------------------------------------------------------
       КРЕСТ ПОСЛЕ ВВОДНОГО ТЕКСТА
       --------------------------------------------------------- */

    .notary-reasons__cross {
        width: 29px;
        height: 29px;

        margin: 38px auto 0;
    }


    .notary-reasons__cross img {
        width: 29px;
        height: 29px;

        display: block;

        object-fit: contain;
    }


    /* ---------------------------------------------------------
       ЗАГОЛОВОК "САМЫЕ ЧАСТЫЕ..."
       --------------------------------------------------------- */

    .notary-reasons__subtitle {
        width: 100%;

        margin: 20px 0 0;
        padding: 0 25px;

        box-sizing: border-box;

        color: #15110d;

        font-family: "Montserrat", sans-serif;
        font-weight: 700;
        font-style: normal;
        font-size: 20px;
        line-height: 24px;
        letter-spacing: 0;

        text-align: center;
    }


    /* ---------------------------------------------------------
       КАРТОЧКИ
       --------------------------------------------------------- */

    .notary-reasons__cards {
        width: 100%;

        margin: 25px 0 0;
        padding: 0 15px;

        box-sizing: border-box;

        display: flex;
        flex-direction: column;

        gap: 34px;

        align-items: center;
    }


    .notary-reasons__card {
        position: relative;

        width: 330px;
        min-width: 330px;
        max-width: 330px;

        box-sizing: border-box;

        margin: 0;
        padding: 27px 28px 25px 7px;

        border: 3px solid #C6925C;
        border-radius: 9px;

        background: rgba(255, 248, 231, 0.08);
    }


    /* первая карточка */

    .notary-reasons__card:first-child {
        height: 306px;
        min-height: 306px;
    }


    /* вторая карточка */

    .notary-reasons__card:nth-child(2) {
        height: 308px;
        min-height: 308px;
    }


    /* ---------------------------------------------------------
       СПИСОК
       --------------------------------------------------------- */

    .notary-reasons__card-list {
        width: 100%;

        display: flex;
        flex-direction: column;

        gap: 0;
    }


    /* ---------------------------------------------------------
       ПУНКТ
       --------------------------------------------------------- */

    .notary-reasons__item {
        width: 100%;

        display: flex;

        align-items: flex-start;

        min-height: 0;

        margin: 0 0 5px;
    }


    .notary-reasons__item:last-child {
        margin-bottom: 0;
    }


    /* ---------------------------------------------------------
       МАЛЕНЬКИЙ КРЕСТ
       --------------------------------------------------------- */

    .notary-reasons__item img {
        width: 18px;
        height: 18px;

        flex: 0 0 18px;

        margin: 1px 10px 0 0;
        margin-top: 10px;

        object-fit: contain;
    }


    /* ---------------------------------------------------------
       ТЕКСТ ПУНКТОВ
       --------------------------------------------------------- */

    .notary-reasons__item span {
        display: block;

        width: auto;

        color: #302b27;

        font-family: "Montserrat";
        font-weight: 400;
        font-style: normal;
        font-size: 12px;
        line-height: 25px;
        letter-spacing: 0;

        text-align: left;


    }


    /* ---------------------------------------------------------
       БОЛЬШОЙ КРЕСТ В КАРТОЧКЕ
       --------------------------------------------------------- */

    .notary-reasons__card-cross {
        position: absolute;

        right: 8px;
        bottom: 8px;

        width: 35px;
        height: 35px;

        opacity: 0.5;

        object-fit: contain;
    }


    /* ---------------------------------------------------------
       БЕЛЫЙ БЛОК "ЧТО ДЕЛАТЬ"
       --------------------------------------------------------- */

    .notary-reasons__action {
        width: 100vw;
        max-width: 100vw;

        min-height: 245px;

        margin-top: 37px;
        margin-bottom: 45px;

        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);

        padding: 24px 25px 20px;

        box-sizing: border-box;

        background: rgba(255, 255, 255, 0.72);

        border-radius: 10px;

        text-align: center;
    }


    /* ---------------------------------------------------------
       ЗАГОЛОВОК БЕЛОГО БЛОКА
       --------------------------------------------------------- */

    .notary-reasons__action-title {
        margin: 0;

        color: #17130f;

        font-family: "Montserrat";

        text-align: center;

font-weight: 600;
font-style: "SemiBold";
font-size: 16px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

    }


    /* ---------------------------------------------------------
       ТЕКСТ БЕЛОГО БЛОКА
       --------------------------------------------------------- */
.notary-reasons__action-text {
    margin-top: 21px;

    color: #1f1a15;

    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0;

    text-align: center;
}

.notary-reasons__action-text br {
    line-height: 16px;
}


    /* ---------------------------------------------------------
       НИЖНЯЯ ТЁМНАЯ ПОЛОСА
       --------------------------------------------------------- */

    .notary-reasons__bottom {
        width: 100%;

        min-height: 134px;

        box-sizing: border-box;

        margin: 0;
        padding: 27px 42px 20px;

        background: #2B2622;

        color: #ffffff;

        font-family: "Montserrat";
        font-weight: 500;
        font-style: normal;
        font-size: 14px;
        line-height: 17px;
        letter-spacing: 0;

        text-align: center;
    }


    /* ---------------------------------------------------------
       УБИРАЕМ ФИКСИРОВАННЫЕ DESKTOP BR
       В ТЁМНОМ БЛОКЕ
       --------------------------------------------------------- */

    .notary-reasons__bottom br {
        display: none;
    }

}

/* =========================================================
   ЭКРАН 4 — МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media (max-width: 767px) {

    /* =====================================================
       СЕКЦИЯ
    ===================================================== */

    .situations {
        width: 100%;
        min-height: 2048px;

        background-image: url("img/quiz-paper.png");
        background-repeat: repeat-y;
        background-position: center top;
        background-size: auto 100%;

        overflow: hidden;
    }


    /* =====================================================
       КОНТЕЙНЕР
    ===================================================== */

    .situations__container {
        width: 100%;
        max-width: none;

        margin: 0;
        padding: 19px 15px 62px;

        box-sizing: border-box;
    }


    /* =====================================================
       ВЕРХНЯЯ ИКОНКА
    ===================================================== */

    .situations__top-icon {
        width: 32px;
        height: 32px;

        margin: 0 auto;
    }

    .situations__top-icon img {
        display: block;

        width: 32px;
        height: 32px;

        object-fit: contain;
    }


    /* =====================================================
       ЗАГОЛОВОК
    ===================================================== */

    .situations__title {
        width: 100%;

        margin: 20px 0 0;
        padding: 0;

        text-align: center;

        color: #2B2622;

        font-family: "Montserrat";
    

        box-sizing: border-box;

font-weight: 800;
font-style: "ExtraBold";
font-size: 20px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

    }


    /* =====================================================
       ВСТУПИТЕЛЬНЫЙ ТЕКСТ
    ===================================================== */

    .situations__intro {
        width: 288px;

        margin: 14px auto 0;
        padding: 0;

        text-align: center;

        color: #2B2622;

        font-family: "Montserrat";
    

        box-sizing: border-box;

font-weight: 500;
font-style: Medium;
font-size: 14px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

    }


    /* =====================================================
       КАЖДАЯ СИТУАЦИЯ
    ===================================================== */

    .situations__item {
        display: flex;

        flex-direction: column;
        align-items: center;

        width: 100%;

        margin: 29px 0 0;
        padding: 0;

        box-sizing: border-box;
    }


    /* =====================================================
       КАРТИНКА
    ===================================================== */

    .situations__image {
        width: 250px;
        height: 155px;

        flex: none;

        margin: 0 auto;

        border-radius: 16px;

        overflow: hidden;
    }


    .situations__image img {
        display: block;

        width: 250px;
        height: 155px;
        margin: 0;
        padding: 0;

        border-radius: 16px;

        object-fit: cover;
    }


    /* =====================================================
       ТЕКСТОВАЯ ЧАСТЬ
    ===================================================== */

    .situations__content {
        width: 100%;

        margin: 0;
        padding: 0;

        box-sizing: border-box;

        text-align: center;
    }


    /* =====================================================
       ЗАГОЛОВОК СИТУАЦИИ
    ===================================================== */

    .situations__content h3 {
        width: 100%;

        margin: 25px 0 0;
        padding: 0;

        color: #2B2622;

        font-family: "Montserrat";
      

        text-align: center;

        box-sizing: border-box;


font-weight: 600;
font-style: "SemiBold";
font-size: 18px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

    }


    /* =====================================================
       ОПИСАНИЕ СИТУАЦИИ
    ===================================================== */

    .situations__content p {
        width: 100%;
        max-width: 225px;

        margin: 15px auto 0;
        padding: 0;

        color: #2B2622;

        font-family: "Montserrat";
  

        text-align: center;

        box-sizing: border-box;


font-weight: 400;
font-style: "Regular";
font-size: 14px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;




    }


    /* =====================================================
       РАССТОЯНИЕ МЕЖДУ СИТУАЦИЯМИ
       ===================================================== */

    .situations__item + .situations__item {
        margin-top: 27px;
    }


    /* =====================================================
       ТОЧКИ
    ===================================================== */

    .situations__dots {
        display: flex;

        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 6px;

        width: 100%;

        margin: 30px auto 0;
        padding: 0;
    }


    .situations__dots img {
        display: block;

        width: 14px;
        height: 14px;

        margin: 0;
        padding: 0;

        object-fit: contain;
    }


    /* =====================================================
       МОЯ СИТУАЦИЯ ПОХОЖА
    ===================================================== */

    .situations__my-title {
        width: 100%;

        margin: 31px 0 0;
        padding: 0;

        text-align: center;

        color: #2B2622;

        font-family: "Montserrat";
    


font-weight: 500;
font-style: Medium;
font-size: 20px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

    }


    /* =====================================================
       КНОПКА
    ===================================================== */

    .situations__button {
        display: flex;

        align-items: center;
        justify-content: center;

        position: relative;

        width: 100%;
        max-width: 322px;
        height: 67px;

        margin: 18px auto 0;
        padding: 0;

        box-sizing: border-box;

        border-radius: 10px;

        background: #C6925C;

        color: #fff;

        text-decoration: none;

        font-family: "Montserrat";

font-weight: 600;
font-style: "SemiBold";
font-size: 12px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

 

        transition:
            transform 0.2s ease,
            opacity 0.2s ease;
    }


    .situations__button span {
        display: block;

        padding: 0 43px 0 0;

        white-space: nowrap;
    }


    .situations__button img {
        position: absolute;

        right: 12px;
        top: 50%;

        width: 40px;
        height: 40px;

        margin: 0;

        transform: translateY(-50%);

        object-fit: contain;
    }


    .situations__button:hover {
        transform: none;
        opacity: 1;
    }

}

/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ
   БЛОК «НАСЛЕДСТВО — ПОШАГОВО»
========================================================= */

@media (max-width: 767px) {

    /* =====================================================
       ВЕСЬ БЛОК
    ===================================================== */

    .inheritance-slider {
        width: 100%;
        height: 406px;

        overflow: hidden;

        background-image: url("img/quiz-paper.png");
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
    }


    /* =====================================================
       ЧЕРНЫЕ СЛЕДЫ НАД ЗАГОЛОВКОМ
    ===================================================== */

    .inheritance-slider__top-footprints {
        top: 52px;
        left: 50%;

        width: 31px;
        height: auto;

        transform: translateX(-50%);

        z-index: 5;
    }


    /* =====================================================
       ЗАГОЛОВОК
    ===================================================== */

    .inheritance-slider__title {
        top: 114px;
        left: 50%;

        width: 310px;

        margin: 0;

        transform: translateX(-50%);

        font-family: "Montserrat";
      

        text-align: center;

        color: #332a22;

        z-index: 5;


font-weight: 800;
font-style: "ExtraBold";
font-size: 20px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

    }


    /* =====================================================
       ОКНО СЛАЙДЕРА
    ===================================================== */

    .inheritance-slider__viewport {
        position: absolute;

        top: 223px;
        left: 0;

        width: 100%;
        height: 126px;

        overflow: visible;
    }


    /* =====================================================
       ЛЕНТА
    ===================================================== */

    .inheritance-slider__track {
        display: flex;
        align-items: flex-start;

        gap: 24px;

        width: max-content;
        height: 126px;

        padding-left: 6px;
        padding-right: 30px;

        box-sizing: border-box;

        cursor: grab;

        user-select: none;

        touch-action: pan-y;

        transform: translate3d(0, 0, 0);

        will-change: transform;
    }


    .inheritance-slider__track.is-dragging {
        cursor: grabbing;
    }


    /* =====================================================
       ОДИН СЛАЙД
    ===================================================== */

    .inheritance-slider__slide {
        position: relative;

        flex: 0 0 306px;

        width: 306px;
        height: 126px;
    }


    /* =====================================================
       КАРТОЧКА
    ===================================================== */

    .inheritance-slider__card {
        position: relative;

        width: 306px;
        height: 126px;

        box-sizing: border-box;

        overflow: visible;

        border-radius: 9px;

        background-image: url("img/bafff.png");
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }


    /* =====================================================
       ИКОНКА
    ===================================================== */

    .inheritance-slider__icon {
        position: absolute;

        left: 10px;
        top: 51px;

        width: 43px;
        height: 43px;

        object-fit: contain;

        z-index: 3;

        pointer-events: none;
    }


    /* =====================================================
       КОНТЕНТ
    ===================================================== */

    .inheritance-slider__content {
        position: absolute;

        top: 15px;
        left: 66px;

        width: 222px;

        z-index: 4;
    }


    /* =====================================================
       ШАГ 1.
    ===================================================== */

    .inheritance-slider__step {
        margin: 0 0 10px;

        color: #332a22;

        font-family: "Montserrat";
    

        letter-spacing: 0;

font-weight: 800;
font-style: "ExtraBold";
font-size: 12px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;

    }


    /* =====================================================
       ТЕКСТ
    ===================================================== */

    .inheritance-slider__text {
        margin: 0;

        color: #332a22;

        font-family: "Montserrat";
font-weight: 500;
font-style: Medium;
font-size: 10px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;


        letter-spacing: 0;
    }


    .inheritance-slider__text strong {
        font-weight: 600;
    }


    /* =====================================================
       СЕРЫЕ СЛЕДЫ НА КАРТОЧКЕ
    ===================================================== */

    .inheritance-slider__footprints {
        position: absolute;

        top: -16px;
        right: 14px;

        width: 28px;
        height: 28px;

        object-fit: contain;
        object-position: center;

        opacity: 0.2;

        z-index: 20;

        transform: rotate(41deg);

        pointer-events: none;
    }


    /* =====================================================
       ПУНКТИР + СТРЕЛКА
    ===================================================== */

    .inheritance-slider__arrow {
        position: absolute;

        left: 298px;
        top: 62px;

        width: 33px;
        height: 33px;

        object-fit: contain;

        z-index: 20;

        pointer-events: none;
    }


    /* =====================================================
       У ПОСЛЕДНЕЙ КАРТОЧКИ НЕТ СТРЕЛКИ
    ===================================================== */

    .inheritance-slider__slide:last-child
    .inheritance-slider__arrow {
        display: none;
    }


    /* =====================================================
       КАРТИНКИ НЕ ПЕРЕТАСКИВАЮТСЯ
    ===================================================== */

    .inheritance-slider__track img {
        -webkit-user-drag: none;
        user-drag: none;
    }

}

/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ
   БЛОК «ПРОВЕРЬТЕ СРОК»
   HTML НЕ ТРОГАЕМ
   ========================================================= */

@media (max-width: 767px) {

    /* =====================================================
       ОСНОВА
       ===================================================== */

    .deadline-section {
        position: relative;

        width: 100%;
        min-height: 0;
        height: auto;

        padding-top: 17px;
        padding-bottom: 35px;

        overflow: hidden;

        background-color: #f8f1e5;
        background-image: url("img/quiz-paper.png");
        background-repeat: repeat-y;
        background-position: center top;
        background-size: 100% auto;

        font-family: "Montserrat", sans-serif;
    }


    /* =====================================================
       ВЕРХ
       ===================================================== */

    .deadline-section__header {
        width: 100%;

        padding: 0 20px;

        box-sizing: border-box;

        text-align: center;
    }


    /* маленькие часы */

    .deadline-section__top-icon {
        display: block;

        width: 35px;
        height: 35px;

        margin: 0 auto 10px;

        object-fit: contain;
    }


    /* заголовок */
.deadline-section__title {
    width: 298px;

    margin: 0 auto;

    color: #332d28;

    font-family: "Montserrat";

    text-align: center;

    font-weight: 800;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0;
}


    /* подзаголовок */

  .deadline-section__subtitle {
    width: 326px;

    margin: 10px auto 0;

    color: #403a35;

    font-family: "Montserrat";
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;

    text-align: center;
}

    /* =====================================================
       ЧАСЫ + ПРЕДУПРЕЖДЕНИЕ
       ===================================================== */

    .deadline-warning {
        position: relative;

        display: block;

        width: 100%;
        height: 312px;

        margin: 12px auto 0;

        box-sizing: border-box;
    }


    /* =====================================================
       БОЛЬШИЕ ЧАСЫ
       ===================================================== */

    .deadline-warning__clock {
        position: absolute;

        left: 50%;
        top: 0;
        bottom: auto;

        width: 184px;
        height: 123px;

        transform: translateX(-50%);

        object-fit: contain;

        z-index: 2;
    }


    /* =====================================================
       ПРЕДУПРЕЖДЕНИЕ
       ===================================================== */

    .deadline-warning__content {
        position: absolute;

        left: 0;
        right: 0;
        top: 147px;

        width: 100%;

        padding: 0 10px;

        box-sizing: border-box;

        text-align: center;
    }


    /* заголовок */

    .deadline-warning__title {
        margin: 0 0 7px;

        color: #332d28;

        font-family: "Montserrat";


        text-align: center;

font-weight: 700;
font-style: Bold;
font-size: 14px;
leading-trim: NONE;
line-height: 22px;
letter-spacing: 0%;

    }


    /* =====================================================
       СПИСОК ОПАСНОСТЕЙ
       ===================================================== */

    .deadline-warning__list {
        width: 100%;

        padding: 7px 7px 8px;

        box-sizing: border-box;

        border: 1.5px solid #c9945f;

        border-radius: 6px;

        background: rgba(255, 250, 242, 0.35);

        text-align: left;
    }


    .deadline-warning__item {
        display: flex;
        align-items: flex-start;

        min-height: 0;

        margin: 0;


        color: #403a35;

        font-family: "Montserrat";
        

        text-align: left;

font-weight: 500;
font-style: Medium;
font-size: 12px;
leading-trim: NONE;
line-height: 22px;
letter-spacing: 0%;

    }


    .deadline-warning__item + .deadline-warning__item {
        margin-top: 1px;
    }


    .deadline-warning__arrow {
        flex: 0 0 auto;

        width: 10px;

        margin-right: 2px;
        margin-top: 5px;

        padding-top: 0;

        color: #c69b76;

        font-size: 12px;
        line-height: 12px;
    }


    /* =====================================================
       РУКА
       ===================================================== */

    .deadline-section__hand {
        display: block;

        width: 35px;
        height: 35px;

        margin: 3px auto 17px;

        object-fit: contain;
    }


    /* =====================================================
       ПРОВЕРЬТЕ СЕБЯ
       ===================================================== */

    .deadline-check__title {
        width: 100%;

        margin: 0;

        padding: 0 30px;

        box-sizing: border-box;

        color: #332d28;

        font-family: "Montserrat";
font-weight: 700;
font-style: Bold;
font-size: 22px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

        text-align: center;
    }


    /* =====================================================
       КАРТОЧКИ СРОКОВ
       ===================================================== */

    .deadline-status-list {
        display: flex;

        flex-direction: column;

        gap: 38px;

        width: 100%;
        height: auto;

        margin: 18px auto 0;

        padding: 0;

        box-sizing: border-box;
    }


    /* =====================================================
       ОДНА КАРТОЧКА
       ===================================================== */

    .deadline-status {
        position: relative;

        display: block;

        width: 100%;
        height: 324px;

        padding: 27px 25px 25px;

        box-sizing: border-box;

        border-radius: 7px;

        background-image: url("img/bafff.png");
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;

        box-shadow: 0 2px 8px rgba(70, 50, 35, 0.03);

        text-align: center;
    }


    /* =====================================================
       ИКОНКА КАРТОЧКИ
       ===================================================== */

    .deadline-status__icon {
        display: block;

        width: 79px;
        height: 78px;

        margin: 0 auto 12px;

        object-fit: contain;
    }


    .deadline-status__icon[src*="deadline-paperclip"] {
        transform: rotate(28deg);
    }


    .deadline-status__icon[src*="deadline-alarm"] {
        transform: none;
    }


    /* =====================================================
       ТЕКСТ КАРТОЧКИ
       ===================================================== */

    .deadline-status__text {
        width: 100%;

        color: #39332e;

        font-family: "Montserrat";
font-weight: 500;
font-style: Medium;
font-size: 18px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;


        text-align: center;
    }


    .deadline-status__text strong {
        display: block;

        margin: 0 0 14px;

        font-family: "Montserrat";
font-weight: 600;
font-style: "SemiBold";
font-size: 18px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

        text-align: center;
    }


    .deadline-status__text p {
        margin: 0;

         font-family: "Montserrat";
font-weight: 500;
font-style: Medium;
font-size: 18px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;


        text-align: center;
    }


    /* =====================================================
       ЦВЕТНОЙ КРУЖОК
       ===================================================== */

    .deadline-status__mark {
        position: absolute;

        left: 50%;
        bottom: -20px;

        width: 60px;
        height: 60px;

        margin: 0;

        transform: translateX(-50%);

        object-fit: contain;

        z-index: 5;
    }


    /* =====================================================
       ВОПРОС
       ===================================================== */

    .deadline-question {
        width: 100%;

        margin-top: 45px;

        padding: 0 20px;

        box-sizing: border-box;

        text-align: center;
    }


    /* иконка вопроса */

    .deadline-question__icon {
        display: block;

        width: 35px;
        height: 35px;

        margin: 0 auto 13px;

        object-fit: contain;
    }


    /* заголовок */

    .deadline-question__title {
        width: 100%;

        margin: 0;

        color: #332d28;

        font-family: "Montserrat";
font-weight: 700;
font-style: Bold;
font-size: 18px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;

        text-align: center;
    }


    /* =====================================================
       4 ПРЕИМУЩЕСТВА
       ===================================================== */

    .deadline-benefits {
        display: grid;

        grid-template-columns: repeat(2, 1fr);

        width: 100%;

        column-gap: 15px;
        row-gap: 22px;

        margin: 26px auto 0;

        padding: 0 24px;

        box-sizing: border-box;
    }


    /* =====================================================
       ОДНО ПРЕИМУЩЕСТВО
       ===================================================== */

    .deadline-benefit {
        width: 100%;

        text-align: center;
    }


    .deadline-benefit__icon {
        display: block;

        width: 64px;
        height: 64px;

        margin: 0 auto 8px;

        object-fit: contain;
    }


    .deadline-benefit p {
        margin: 0;

        color: #403a35;

        font-family: "Montserrat";
font-weight: 500;
font-style: Medium;
font-size: 14px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;


        text-align: center;
    }


    /* =====================================================
       КНОПКИ
       ===================================================== */

    .deadline-actions {
        display: flex;

        flex-direction: column;
        align-items: center;

        gap: 17px;

        width: 100%;

        margin-top: 34px;

        padding: 0 37px;

        box-sizing: border-box;
    }


    /* =====================================================
       ОБЩАЯ КНОПКА
       ===================================================== */

    .deadline-actions__button {
        display: flex;

        align-items: center;
        justify-content: center;

        width: 248px;
        height: 88px;

        box-sizing: border-box;

        border-radius: 6px;

        color: #fff;

        font-family: "Montserrat";
font-weight: 500;
font-style: Medium;
font-size: 20px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;


        text-align: center;

        text-decoration: none;
    }


    .deadline-actions__button:hover {
        transform: none;
    }


    /* оранжевая */

    .deadline-actions__button--orange {
        background: #C6925C;
    }


    /* коричневая */

    .deadline-actions__button--brown {
        background: #967968;
    }


    /* =====================================================
       ТЕЛЕФОН
       ===================================================== */

    .deadline-actions__phone {
        display: flex;

        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 8px;

        width: 100%;

        margin: 20px 0 0;

        color: #1e1c1a;

        text-decoration: none;

        font-family: "Mulish";
font-weight: 700;
font-style: Bold;
font-size: 30px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;


        text-align: center;

        white-space: nowrap;
    }


    .deadline-actions__phone-icon {
        width: 22px;
        height: 22px;

        object-fit: contain;
    }

}

/* ==========================================
   MOBILE FAQ — 360px
   ========================================== */

@media (max-width: 767px) {

  /* SECTION */
  .faq-section {
    min-height: 100vh;
    padding: 29px 0 72px;
    overflow: hidden;

    background-position: center top;
    background-size: cover;
  }


  /* CONTAINER */
  .faq-container {
    width: 100%;
    max-width: none;
    margin: 0;
  }


  /* ICON */
  .faq-icon {
    width: 35px;
    height:35px;

    margin: 0 auto 17px;
  }

  .faq-icon img {
    display: block;

    width: 35px;
    height: 35px;

    object-fit: contain;
  }


  /* TITLE */
  .faq-title {
    margin: 0 20px 20px;

    color: #342e27;

    font-family: "Montserrat";
font-weight: 800;
font-style: ExtraBold;
font-size: 22px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;
text-align: center;


    text-align: center;
  }


  /* GRID */
  .faq-grid {
    display: grid;

    grid-template-columns: 1fr;

    width: 100%;

    column-gap: 0;
    row-gap: 5px;
  }


  /* FAQ ITEM */
  .faq-item {
    width: 100%;

    margin: 0;
    padding: 0;

    border-radius: 12px;

    background-image: url("img/quiz-paper.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;

    overflow: hidden;
  }


  /* SUMMARY */
  .faq-item summary {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    width: 100%;
    min-height: 58px;

    box-sizing: border-box;

    padding: 8px 45px 8px 29px;

    border-radius: 12px;

    color: #29251f;

    font-family: "Montserrat";
font-weight: 600;
font-style: SemiBold;
font-size: 12px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;


    text-align: left;

    cursor: pointer;
  }


  /* TEXT */
  .faq-item summary span {
    display: block;

    width: 100%;

    text-align: left;
  }


  /* ARROW */
  .faq-arrow {
    position: absolute;

    right: 16px;
    top: 50%;

    width: 0;
    height: 0;

    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 8px solid #090806;

    transform: translateY(-50%);
  }


  /* OPEN ARROW */
  .faq-item[open] .faq-arrow {
    transform:
      translateY(-50%)
      rotate(180deg);
  }


  /* ANSWER */
  .faq-answer {
    box-sizing: border-box;

    width: 100%;

    padding: 19px 29px 21px;

    background: rgba(255, 255, 255, 0.86);

    color: #59544e;

    font-family: "Montserrat";
font-weight: 400;
font-style: Regular;
font-size: 10px;
leading-trim: NONE;
line-height: 100%;
letter-spacing: 0%;


    text-align: left;
  }


  /* HOVER */
  .faq-item summary:hover {
    background: transparent;
  }


  /* FOCUS */
  .faq-item summary:focus-visible {
    outline: 2px solid #8d7656;
    outline-offset: -2px;
  }


  /* LAST ITEM */
  .faq-full {
    grid-column: auto;
  }

   /* =========================================================
   МОБИЛЬНОЕ МЕНЮ — УСЛУГИ
   ========================================================= */

.mobile-navigation__services {
    position: relative;
    width: 89px;
    height: 27px;
}


/* Выпадающее окно */

.mobile-navigation__dropdown {
    position: absolute;

    top: 32px;
    left: 0;

    width: 190px;

    margin: 0;
    padding: 5px;

    box-sizing: border-box;

    display: none;

    background: #F6E5D0;

    border: 1px solid rgba(150, 121, 104, 0.25);

    border-radius: 7px;

    box-shadow: 0 5px 14px rgba(57, 51, 45, 0.12);

    z-index: 1000;
}


/* Открытие */

.mobile-navigation__services.is-open
.mobile-navigation__dropdown {
    display: block;

    animation: servicesDropdownOpen 0.18s ease;
}


/* Анимация */

@keyframes servicesDropdownOpen {

    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   ТЕКСТ ВЫПАДАЮЩЕГО МЕНЮ
   ========================================================= */

.mobile-navigation__dropdown a {
    display: flex;

    width: 100% !important;

    height: auto !important;

    min-height: 30px;

    margin: 0;

    padding: 7px 9px;

    box-sizing: border-box;

    align-items: center;
    justify-content: flex-start;

    background: transparent !important;

    color: #39332D;

    text-decoration: none;

    font-family: "Montserrat", sans-serif;

    font-size: 7px;

    font-weight: 500;

    line-height: 1.25;

    text-align: left;

    white-space: normal;

    border: none !important;

    border-radius: 4px;
}


/* Наведение */

.mobile-navigation__dropdown a:hover {
    background: rgba(150, 121, 104, 0.10) !important;
}


/* Между пунктами нет полос */

.mobile-navigation__dropdown a + a {
    border: none !important;
}
}

/* =========================================================
   ВЫПАДАЮЩЕЕ МЕНЮ — ПК
   ========================================================= */

.navigation__services {
    position: relative;
}


/* Само окно */

.navigation__dropdown {
    position: absolute;

    top: calc(100% + 12px);
    left: 50%;

    width: 400px;

    padding: 8px;

    box-sizing: border-box;

    background: #F6E5D0;

    border: 1px solid rgba(150, 121, 104, 0.25);

    border-radius: 10px;

    box-shadow:
        0 10px 25px rgba(57, 51, 45, 0.12);

    transform: translateX(-50%) translateY(8px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;

    z-index: 9999;
}


/* Маленький треугольник */

.navigation__dropdown::before {
    content: "";

    position: absolute;

    top: -6px;
    left: 50%;

    width: 11px;
    height: 11px;

    background: #F6E5D0;

    border-left: 1px solid rgba(150, 121, 104, 0.25);
    border-top: 1px solid rgba(150, 121, 104, 0.25);

    transform: translateX(-50%) rotate(45deg);
}


/* Открытие при наведении */

.navigation__services.is-open .navigation__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateX(-50%) translateY(0);
}


/* Пункты ПК */

.navigation__dropdown a {
    display: block;

    width: 100%;

    padding: 12px 14px;

    box-sizing: border-box;

    background: transparent !important;

    color: #39332D;

    text-decoration: none;

    font-family: "Montserrat", sans-serif;

    font-size: 13px;
    font-weight: 500;

    line-height: 1.35;

    border: none !important;
    border-radius: 6px;

    transition: background 0.2s ease;
}


/* Никаких коричневых полос */

.navigation__dropdown a:hover {
    background: rgba(218, 181, 133, 0.18) !important;
    width: 100%;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

body {
    padding-top: 80px;
}
@media (max-width: 767px) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }

    body {
        padding-top: 40px;
    }
}

/* =========================================================
   ФИКСИРОВАННЫЙ ФОН НАСЛЕДСТВА
   ========================================================= */

.inheritance-hero {
    position: relative !important;

    width: 100% !important;
    height: 830px !important;

    overflow: hidden !important;

    background-image: url("img/inheritance-bg.jpg") !important;
    background-repeat: no-repeat !important;

    /*
       Картинка НЕ растягивается по ширине окна.
       Она всегда остаётся одного размера.
    */
    background-size: 1920px 830px !important;

    /*
       Центр картинки всегда находится по центру блока.
       При изменении ширины браузера фон не пересчитывается.
    */

}


.quizx-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);

  display: none;
  align-items: center;
  justify-content: center;

  z-index: 99999;
}

.quizx-modal.active {
  display: flex;
}

.quizx-footer button {
  min-width: 110px;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}

/* Назад */
#quizx-prev {
  background: #fff;
  border: 1px solid #ccc;
  color: #333;
}

/* Далее */
#quizx-next {
  background: #C6925C;
  border: none;
  color: #fff;
  font-weight: 500;
}

/* disabled как на макете */
#quizx-next:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.quizx-box {
  width: 600px;
  max-width: 95%;
  background: #fff;
  border-radius: 14px;
  padding: 30px;
  animation: quizxFade 0.3s ease;
}

@keyframes quizxFade {
  from {opacity:0; transform: translateY(30px);}
  to {opacity:1; transform: translateY(0);}
}

.quizx-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.quizx-close {
  border: none;
  background: none;
  font-size: 22px;
  cursor: pointer;
}

.quizx-option {
  display: block;
  padding: 14px;
  margin-bottom: 10px;
  background: #f4f4f4;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s;
}

.quizx-option:hover {
  background: #e8e8e8;
}

.quizx-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}
.quizx-top-text {
  background: #f5f5f5;
  padding: 15px 18px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
  margin-bottom: 20px;
}

.quizx-final h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.quizx-final-text {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.5;
}

#quizx-phone {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
}

.quizx-agree {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #777;
  margin-top: 15px;
  line-height: 1.4;
}

.quizx-agree a {
  color: #f90;
  text-decoration: underline;
}

/* 👉 УБИРАЕМ стандартный вид */
.quizx-option input,
.quizx-agree input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  cursor: pointer;
  position: relative;
}

/* =========================
   RADIO (ЖЁЛТЫЕ)
========================= */

.quizx-option input[type="radio"] {
  border: 2px solid #ccc;
  border-radius: 50%;
}

.quizx-option input[type="radio"]:checked {
  border-color: #B88A44;
}

.quizx-option input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: #B88A44;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* =========================
   CHECKBOX (ЧЁРНЫЙ)
========================= */

.quizx-agree input[type="checkbox"] {
  flex-shrink: 0;
  margin: 0;
  position: relative;
  top: 0;
}

.quizx-agree input[type="checkbox"]:checked {
  background: #B88A44;
  border-color: #B88A44;
}

.quizx-agree input[type="checkbox"]:checked::after {
  content: "✓";
  color: #fff;
  font-size: 14px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
}



.quizx-info {
  display: flex;
  gap: 12px;
  align-items: flex-start;

  background: #f3f4f6;
  padding: 16px 18px;
  border-radius: 8px;

  font-size: 14px;
  line-height: 1.5;
  color: #555;
}

.quizx-info-icon {
  font-size: 18px;
  margin-top: 2px;
}

.quizx-divider {
  height: 1px;
  background: #e5e5e5;
  margin: 20px 0;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .quizx-modal{
    padding:16px;
    align-items:flex-end;
  }

  .quizx-box{
    width:100%;
    max-width:100%;
    max-height:90vh;
    overflow-y:auto;

    padding:20px 18px;
    border-radius:20px 20px 0 0;

    animation:quizxMobile .3s ease;
  }

  @keyframes quizxMobile{
    from{
      transform:translateY(100%);
      opacity:0;
    }
    to{
      transform:translateY(0);
      opacity:1;
    }
  }

  .quizx-info{
    font-size:13px;
    padding:14px;
    gap:10px;
  }

  .quizx-info-icon{
    font-size:18px;
  }

  .quizx-header{
    margin-bottom:15px;
  }

  #quizx-step{
    font-size:16px;
    font-weight:700;
  }

  .quizx-close{
    font-size:30px;
    line-height:1;
  }

  #quizx-body h3,
  .quizx-final h3{
    font-size:22px;
    line-height:1.3;
    margin-bottom:18px;
  }

  .quizx-option{
    display:flex;
    align-items:center;

    padding:16px;
    margin-bottom:12px;

    font-size:15px;
    line-height:1.4;
  }

  .quizx-option input{
    flex-shrink:0;
  }

  .quizx-final-text{
    font-size:14px;
    line-height:1.6;
  }

  #quizx-phone{
    padding:16px;
    font-size:16px;
  }

  .quizx-agree{
    align-items:flex-start;
    font-size:12px;
    line-height:1.5;
  }

  .quizx-footer{
    gap:10px;
    margin-top:25px;
  }

  .quizx-footer button{
    flex:1;
    min-width:0;
    padding:15px;
    font-size:15px;
    border-radius:10px;
  }

}
/* =====================================================
   МОДАЛЬНОЕ ОКНО КОНСУЛЬТАЦИИ
===================================================== */

.consult-modal {
    position: fixed;

    inset: 0;

    z-index: 999999;

    display: none;

    align-items: center;
    justify-content: center;
}


/* ОТКРЫТО */

.consult-modal.active {
    display: flex;
}


/* ЗАТЕМНЕНИЕ */

.consult-modal__overlay {
    position: absolute;

    inset: 0;

    background: rgba(35, 27, 20, 0.48);

    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}


/* =====================================================
   САМО ОКНО
===================================================== */

.consult-modal__box {
    position: relative;

    z-index: 2;

    width: 630px;

    min-height: 407px;

    box-sizing: border-box;

    padding:
        48px
        56px
        31px;

    border-radius: 12px;

    background:
        url("img/bafff.png")
        center center /
        cover
        no-repeat;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.18);
}


/* =====================================================
   КРЕСТИК
===================================================== */

.consult-modal__close {
    position: absolute;

    top: 13px;
    right: 18px;

    width: 35px;
    height: 35px;

    padding: 0;

    border: none;

    background: transparent;

    color: #716960;

    font-family: Arial, sans-serif;

    font-size: 32px;

    font-weight: 300;

    line-height: 35px;

    cursor: pointer;

    transition: 0.2s ease;
}


.consult-modal__close:hover {
    color: #403a35;

    transform: rotate(90deg);
}


/* =====================================================
   ФОРМА
===================================================== */

.consult-modal__form {
    width: 100%;
}


/* =====================================================
   ТЕКСТ
===================================================== */

.consult-modal__text {

    width: 100%;

    margin:
        0
        auto
        22px;

    color: #403a35;

    font-family: "Montserrat", sans-serif;

    font-size: 20px;

    font-weight: 500;

    line-height: 115%;

    text-align: center;
}


/* =====================================================
   ПОЛЯ
===================================================== */

.consult-modal__input {

    display: block;

    width: 100%;

    height: 67px;

    margin:
        0
        auto
        10px;

    padding:
        0
        18px;

    box-sizing: border-box;

    border: none;

    outline: none;

    border-radius: 9px;

    background: #f5e9d6;

    color: #514a44;

    font-family: "Montserrat", sans-serif;

    font-size: 19px;

    font-weight: 400;
}


.consult-modal__input::placeholder {

    color: #716960;

    opacity: 1;
}


.consult-modal__input:focus {

    background: #f1e2cc;

    box-shadow:
        0 0 0 1px rgba(191, 139, 76, 0.25);
}


/* =====================================================
   СОГЛАСИЕ
===================================================== */

.consult-modal__agreement {

    display: flex;

    align-items: flex-start;

    width: 100%;

    margin:
        12px
        0
        15px;

    cursor: pointer;
}


/* СКРЫВАЕМ CHECKBOX */

.consult-modal__agreement input {

    position: absolute;

    opacity: 0;

    width: 0;

    height: 0;
}


/* КРУЖОК */

.consult-modal__circle {

    display: block;

    width: 18px;
    height: 18px;

    flex: 0 0 18px;

    margin:
        0
        9px
        0
        7px;

    box-sizing: border-box;

    border-radius: 50%;

    background: #f0e4d1;

    border: 1px solid #e3d4bc;
}


/* ВЫБРАН */

.consult-modal__agreement input:checked
+ .consult-modal__circle {

    background: #c58a43;

    border-color: #c58a43;
}


/* ТЕКСТ */

.consult-modal__agreement-text {

    color: #857d75;

    font-family: "Montserrat", sans-serif;

    font-size: 11px;

    font-weight: 400;

    line-height: 100%;
}


.consult-modal__agreement-text a {

    color: inherit;

    text-decoration: underline;
}


/* =====================================================
   КНОПКА
===================================================== */

.consult-modal__button {

    display: block;

    width: 100%;

    height: 73px;

    margin: 0 auto;

    padding: 0;

    border: none;

    border-radius: 9px;

    background: #C6925C;

    color: #fff;

    font-family: "Montserrat", sans-serif;

    font-size: 21px;

    font-weight: 500;

    line-height: 100%;

    text-align: center;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.15s ease;
}


.consult-modal__button:hover {

    background: #b98046;
}


.consult-modal__button:active {

    transform: scale(0.98);
}


/* =====================================================
   МОБИЛЬНАЯ ВЕРСИЯ
===================================================== */

@media screen and (max-width: 767px) {

    .consult-modal {

        padding: 15px;

        box-sizing: border-box;
    }


    .consult-modal__box {

        width: 100%;

        min-height: auto;

        padding:
            42px
            20px
            25px;

        border-radius: 12px;
    }


    .consult-modal__close {

        top: 8px;
        right: 10px;

        font-size: 28px;
    }


    .consult-modal__text {

        font-size: 16px;

        line-height: 110%;

        margin-bottom: 22px;
    }


    .consult-modal__input {

        height: 64px;

        font-size: 17px;

        padding: 0 18px;

        margin-bottom: 9px;
    }


    .consult-modal__agreement {

        margin:
            14px
            0
            18px;
    }


    .consult-modal__circle {

        width: 20px;
        height: 20px;

        flex-basis: 20px;

        margin-left: 2px;
    }


    .consult-modal__agreement-text {

        font-size: 10px;

        line-height: 110%;
    }


    .consult-modal__button {

        width: 100%;

        height: 73px;

        font-size: 18px;
    }
}


/* =========================================
   ПЕРЕКЛЮЧАТЕЛЬ ГОРОДОВ
========================================= */

.gz-city-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: 0;
    font-family: "Mulish", sans-serif;
    z-index: 10000;
}

/* Кнопка города */
.gz-city-switch__button {
    height: 50px;
    min-width: 115px;
    padding: 0 16px;
    box-sizing: border-box;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border: none;
    border-radius: 10px;

    background: linear-gradient(
        380deg,
        #967968 0%,
        #C39980 100%
    );

    color: #ffffff;

    font-family: "Mulish", sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1;

    white-space: nowrap;
    cursor: pointer;

    transition: background .2s ease, transform .2s ease;
}

.gz-city-switch__button:hover {
    background: linear-gradient(
        380deg,
        #866957 0%,
        #B58970 100%
    );
}

/* Стрелка */
.gz-city-switch__arrow {
    width: 7px;
    height: 7px;
    flex-shrink: 0;

    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;

    transform: rotate(45deg);
    margin-top: -4px;

    transition: transform .2s ease;
}

.gz-city-switch.gz-city-switch--open
.gz-city-switch__arrow {
    transform: rotate(225deg);
    margin-top: 4px;
}

/* Выпадающий список */
.gz-city-switch__dropdown {
    display: none;

    position: absolute;
    top: calc(100% + 8px);
    left: 0;

    width: 180px;
    max-width: calc(100vw - 32px);
    padding: 6px;

    box-sizing: border-box;

    background: #ffffff;
    border: 1px solid #e8ded6;
    border-radius: 10px;

    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);

    flex-direction: column;
    gap: 4px;

    z-index: 10001;
}

/* Открытый список */
.gz-city-switch.gz-city-switch--open
.gz-city-switch__dropdown {
    display: flex;
}

/* Ссылки городов */
.gz-city-switch__link {
    display: flex;
    align-items: center;

    width: 100%;
    min-height: 42px;
    padding: 10px 12px;

    box-sizing: border-box;

    border-radius: 7px;
    background: transparent;
    color: #382f2a;

    font-family: "Mulish", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;

    text-decoration: none;
    white-space: nowrap;

    transition: background .2s ease, color .2s ease;
}

.gz-city-switch__link:hover {
    background: #f3e8df;
    color: #866957;
}

@media (max-width: 768px) {
    .gz-city-switch {
        margin-left: 8px;
    }

    .gz-city-switch__button {
        padding: 8px 10px;
        font-size: 12px;
    }

    .gz-city-switch__dropdown {
        width: 160px;
    }
}




.mobile-navigation .gz-mobile-city-switch {
    position: absolute;
    top: 265px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    margin: 0;
    padding: 0;
    z-index: 100001;
    pointer-events: none;
}

.mobile-navigation .gz-mobile-city-button {
    position: relative;
    display: flex;
    width: 150px;
    height: 22px;
    min-height: 22px;
    margin: 0;
    padding: 0 9px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: 7px;
    pointer-events: auto;
}

.mobile-navigation .gz-mobile-city-dropdown {
    pointer-events: auto;
}



.mobile-navigation .gz-mobile-city-switch {
    position: absolute;
    top: 265px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    margin: 0;
    z-index: 100001;
}

.mobile-navigation .gz-mobile-city-button {
    position: relative;
    display: flex;
    width: 150px;
    min-height: 18px;
    height: 18px;
    margin: 0;
    padding: 0 9px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    pointer-events: auto;
    cursor: pointer;
}

.mobile-navigation .gz-mobile-city-dropdown {
    display: none;
    position: absolute;
    bottom: calc(100% + 5px);
    top: auto;
    left: 0;
    transform: none;
    width: 150px;
    padding: 5px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 7px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .2);
    z-index: 100002;
    pointer-events: auto;
}

.mobile-navigation .gz-mobile-city-link {
    display: block;
    padding: 9px 10px;
    color: #333;
    background: #fff;
    text-decoration: none;
    font-size: 10px;
    pointer-events: auto;
}

.mobile-navigation .gz-mobile-city-switch.is-open
.gz-mobile-city-dropdown {
    display: block !important;
}
/* Убираем скачки переключателя городов при прокрутке */
.gz-city-switch {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    margin-left: 18px !important;
    z-index: 10 !important;
}