html {
    font-family: 'Montserrat Regular';
    font-size: 20px;
    line-height: 26px;
}

body, a, span, strong, p, input, button, select, option, ul, ol, li {
    font-family: 'Montserrat Regular';
    font-size: 1rem;
    line-height: 1.4;
    color: #262626;
}

ul, ol {
    margin-top: 16px;
    margin-bottom: 16px;
}

a, a:active, a:hover {
    color: #FF900D;
}

a[href^="mailto:"], a[href^="mailto:"]:hover {
    color: #FF900D !important;
    text-decoration: none;
}

a[href^="mailto:"]:hover {
    color: #FF900D !important;
    text-decoration: underline;
}

a:hover {
    text-decoration: underline;
}

.portfolio-service-list a, .portfolio-service-list a strong {
    color: #ff900e;
}

/* .descr p, .descr li {
    font-family: 'Montserrat Regular';
    font-size: 1rem;
    line-height: 1.4;
    color: #262626;
} */

.descr h2 {
    margin: 32px auto;
}

/* .descr p {
    margin: 16px auto;
    text-indent: 20px;
}
 */
/* .descr h3 {
    margin: 24px auto;
}

.descr-wrapper h2 {
    margin: 32px auto;
}

.descr-wrapper h3 {
    margin: 24px auto;
}
 */
.consultation-form__button {
    border-radius: 4px;
    font-size: 0.9rem;
    line-height: 1.1;
    font-family: 'Montserrat Regular';
    padding: 8px 16px;
    margin: 0 auto;
}

.consultation-form__button:hover, .registration__link:hover {
    text-decoration: none;
}

.registration__link {
    color: #fff;
    font-size: 0.9rem;
    line-height: 1;
    padding: 8px 16px;
}

/* Стиль для кнопки "Наверх" */
.scroll-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 24px;
    line-height: 50px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    display: none; /* по умолчанию скрыта */
    z-index: 1000;
    transition: background-color 0.3s, transform 0.3s;
}

.scroll-to-top:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/*main.document-page .descr-block.aos-init.aos-animate {*/
/*    display: none !important;*/
/*}*/

/*main.document-page .descr-wrapper {*/
/*    padding: 0;*/
/*}*/

.descr-block ul li, .descr-block ol li {
    padding-left: 16px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.descr-block ul li:before, .descr-block ol li:before {
    content: "❖";
    margin-right: 12px;
}

.dropdown-menu {
    position: absolute;
    top: 15px;
    left: 0;
    background: #fff;
    border: 1px solid #ccc;
    padding: 10px 0;
    min-width: 250px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none; /* по умолчанию скрыто */
    z-index: 1000;
    border-radius: 4px;
}

.dropdown-subitem {
    padding: 8px 20px;
}

.dropdown-subitem:hover {
    background-color: #ff900e;
}

.dropdown-subitem:hover a {
    color: #fff;
    text-decoration: none;
}

.dropdown-link {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    display: block;
}

.has-children > .dropdown-link::after {
    content: " ▼";
    font-size: 0.8em;
}

.intro-image-modified {
    position: absolute;
    width: auto;
    height: 650px;
    display: block;
    right: 0;
    bottom: -150px;
    overflow: hidden;
    border-radius: 10px 0 0 10px;
}

.intro-image-modified > img {
    max-width: 992px;
}

.intro-image-modified::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.intro-image::before {
    background: rgba(0, 0, 0, 0.6);
}

.descr-item__text {
    font-size: 1rem;
    line-height: 1.3;
}

.portfolio-service-item__text {
    font-size: 0.9rem;
    width: calc(100% - 46px);
    line-height: 1.3;
}

.portfolio-service-item__text b,
.portfolio-service-item__text strong {
    display: block;
    font-family: 'Montserrat SemiBold';
    font-size: 1rem;
    margin-bottom: 16px;
    padding-top: 7px;
}

.portfolio-service-item-icon {
    width: 42px;
    margin-right: 16px;
    height: 42px;
}

.advantages-item__text {
    font-size: 1rem;
    line-height: 1.3;
}

.advantages-dop-item__descr {
    font-size: 0.9rem;
    line-height: 1.2;
    text-align: left;
}

.advantages-dop-item {
    /*box-shadow: none;*/
}

.information-wrapper div blockquote p {
    background: #dfdfdf;
    font-family: 'Roboto Regular';
    font-style: normal;
    font-size: 1rem;
    line-height: 1.3;
    letter-spacing: 0;
    color: #797979;
    padding: 16px 32px;
    margin: 16px auto;
    border-radius: 19px;
}

.why-item-head__title {
    font-size: 1rem;
    line-height: 1.2;
}

.why-item__text {
    font-size: 0.9rem;
    line-height: 1.2;
}

/* Header */

.header-navigation a:hover {
    text-decoration: none;
}

.header-phone:hover {
    text-decoration: none;
}

.header-phone__text {
    font-size: 1rem;
    line-height: 1.2;
}

.header-phone svg {
    width: 42px;
    height: 42px;
    margin-right: 12px;
}

.header-item.dropdown {
    position: relative;
}

.header-item.dropdown {
    position: relative;
}

.header-item.dropdown:after {
    content: "";
    display: block;
    background-color: #ff900e;
    width: 100%;
    height: 2px;
    margin-top: 4px;
}

/* Mobile header */

.header-mobile.open {
    z-index: 999999;
}

.header-mobile.open > .container {
    width: 100%;
    padding: 0 10px;
    overflow: scroll;
    height: 1500px;
}

.header-mobile.open {
    overflow: scroll;
    height: 1000px;
    display: inline-flex;
}

.header-mobile-item.dropdown-mobile {
    margin-top: 12px;
}

.dropdown-menu-mobile .dropdown-subitem a {
    font-size: 0.9rem;
    line-height: 1.2;
}

.header-mobile-navigation a, .header-mobile-navigation a:active, .header-mobile-navigation a:focus, .header-mobile-navigation a:hover {
    color: #000 !important;;
}

/* Breadcrumb */

.breadcrumb {
    z-index: 99;
    position: relative;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.4;
    color: #fff;
    background: #262626;
    margin: 0 auto;
    padding: 15px 0;
}

.breadcrumb > .container {
    background: #454545;
    padding: 10px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.breadcrumb-item {
    margin-right: 8px;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb-item a, .breadcrumb-item a span, .breadcrumb-item span {
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.2;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
    pointer-events: none;
}

.breadcrumb-item::after {
    content: "›";
    margin-left: 8px;
    color: #6c757d;
}

.breadcrumb-item:last-child::after {
    content: "";
    margin: 0;
}

/* Blog */

.blog--item {
    padding: 16px;
    background: #e4e4e4;
    margin: 0 0 16px 0;
    border-radius: 10px;
}

/* FAQ */

/* Общий стиль блока */
.faq--item {
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
}

/* Заголовок вопроса */
.faq--question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
    margin: 0;
}

/* Стрелка */
.arrow {
    display: inline-block;
    transition: transform 0.3s;
    font-size: 1.2em;
}

/* Поворот стрелки на 180 градусов */
.rotated {
    transform: rotate(180deg);
}

/* Текст ответа по умолчанию скрыт */
.faq--text {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s;
    padding: 0 0;
}

/* Открытый ответ */
.faq--text.show {
    max-height: 500px; /* достаточно большое значение для содержимого */
    overflow: auto;
    padding: 10px 0;
}

/* Страница-документ */

.document-page h1 {
    margin-bottom: 32px;
}

main.document-page .information-points {
    display: none !important;
}

/* Footer */

.footer::before {
    opacity: 1;
    background: url("../img/main/background-footer.jpg") no-repeat center/cover;
}

.footer::after {
    content: '';
    z-index: 0;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
}

.footer__title {
    font-size: 1.4rem !important;
    line-height: 1.6;
}

.footer-contact-phone__text, .footer-block a,
.footer__copywriter {
    font-size: 1rem;
    line-height: 1.6;
}

.footer-block a {
    color: #fff;
}

.footer-list .footer-item a {
    font-size: 0.8rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    body {
        padding-top: 130px;
    }

    header.header {
        z-index: 99999;
        position: fixed;
        width: 100%;
        height: 130px;
        left: 0;
        top: 0;
    }

    .dop-container {
        transform: none;
    }

    .dropdown-menu {
        min-width: 460px;
    }

    body.scrolled header.header {
        border-bottom: 2px solid #fff;
    }

    .advantages-dop-item {
        min-height: 290px;
    }
}

@media (min-width: 1200px) {
}

@media (max-width: 992px) {
}

@media (max-width: 991px) {
    h1 {
        text-align: center;
    }

    .intro-image::before {
        opacity: 1;
    }

    .intro__slogan {
        font-size: 1rem;
    }

    .portfolio-service-item__text b, .portfolio-service-item__text strong {
        font-size: 1rem;
        line-height: 1.4;
    }

    .portfolio-service-item__text {
        font-size: 1rem;
        line-height: 1.4;
    }

    .advantages-item {
        margin-top: 24px;
    }

    .advantages-dop-item__title {
        font-size: 1rem;
        line-height: 1.5;
    }
}

@media (max-width: 767px) and (orientation: portrait) {
    body.mainpage .intro__title {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    body.mainpage .intro__descr {
        color: #fff;
        font-size: 1.2rem;
        line-height: 1.3;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 85px;
    }

    .information h1 {
        font-size: 1.4rem;
        line-height: 1.4;
    }

    .information h2 {
        font-size: 1.2rem;
        line-height: 1.3;
    }

    .information h3 {
        font-size: 1rem;
        line-height: 1.2;
    }

    header.header {
        z-index: 99999;
        position: fixed;
        width: 100%;
        height: 85px;
        left: 0;
        top: 0;
    }

    .breadcrumb > .container {
        border-radius: 0
    }

    .descr-item__number {
        font-size: 1rem;
        line-height: 1.2;
    }

    .descr-item__text {
        font-size: 0.9rem;
        line-height: 1.3;
    }
}