.intro {
    background-color: #F6F7F8;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.intro__inner {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    align-items: stretch;
}

.intro__text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.intro__title {
    font-size: 2rem;
    margin-bottom: 30px;
    line-height: 1.1;
}

.intro__list {
    list-style-type: none;
    padding-left: 5px;
}

.intro__list-item {}

.intro__list-item::before {
    content: '✓ ';
}

.intro__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.intro__img-block {
    width: 100%;
    max-width: 570px;
}

.intro__img {
    display: block;
    width: 100%;
    height: 427px;
    object-fit: cover;
    border-radius: 10px;
}

h1 {
    display: none;
}

div.callback.mt-auto>a {
    padding: 10px 16px;
}

@media (max-width:1200px) {
    .intro__title {
        font-size: 1.5rem;
    }
}

@media (max-width:1024px) {
    .intro {
        padding: 10px;
    }
    .intro__inner {
        flex-direction: column-reverse;
    }
    .intro__title {
        font-size: 1.5rem;
    }
    .intro__img-block {
        max-width: unset;
    }
    .intro__img {
        height: auto;
    }
}

section.py-4 {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
}

section.py-4 > h2:first-child {
    margin-top: 0;
}

section.py-4 p {
    margin-bottom: 14px;
}

section.py-4 p:last-child {
    margin-bottom: 0;
}

.detail-form {
    max-width: 100%;
    padding: 20px;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 5px;
    margin-top: 30px;
    margin-bottom: 0;
    display: block;
}

.detail-form .form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
}

.detail-form .field-drawing,
.detail-form .field-comment,
.detail-form .field-accept,
.detail-form .form-footer {
    grid-column: 1 / -1;
}

.detail-form .field-drawing {
    grid-column: 2;
}

.homes-icons-block .item-content {
    padding-right: 0 !important;
}

.homes-icons-block .row {
    display: flex;
    flex-wrap: wrap;
}

.homes-icons-block .item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
}

.homes-icons-block .item:nth-last-child(-n+2) {
    margin-bottom: 0;
}

.homes-icons-block .item-icon {
    width: 44px;
    flex: 0 0 44px;
    text-align: center;
}

.homes-icons-block .item-icon img {
    max-width: 34px;
    height: auto;
}

.homes-icons-block .item-title {
    margin-bottom: 6px;
    line-height: 1.25;
}

.homes-icons-block .item-text {
    line-height: 1.45;
}

.stages li {
    position: relative;
    margin: 0;
    min-height: 0;
    max-width: none;
    text-align: left;
    border: 0;
    padding: 18px 18px 18px 70px;
    box-sizing: border-box;
    background: #f6f7f8;
    border-left: 3px solid #fe6a00;
}

.stages {
    counter-reset: stages;
    list-style-type: none;
    padding-left: 0;
    margin-top: 18px;
    margin-bottom: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.stages li::before {
    counter-increment: stages;
    content: counter(stages);
    position: absolute;
    left: 18px;
    top: 18px;
    width: 34px;
    height: 34px;
    border-radius: 3px;
    background: #fe6a00;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.stages__item-title {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0;
}

.stages__item-title b {
    display: inline;
    padding-top: 0;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    font-weight: 700;
    text-transform: none;
}

.stages__item-title > div {
    line-height: 1.45;
    color: #333;
}

.page-catalog {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 18px;
    margin-bottom: 18px;
}

.page-catalog__item {
    border: 1px solid #ececec;
    padding: 18px;
    text-align: center;
    transition: .2s;
}

.page-catalog__item:hover {
    border-color: #fe6a00;
}

.page-catalog__item-img {
    max-width: 150px;
    display: block;
    margin: 0 auto;
    margin-bottom: 10px;
}

.page-catalog__item-name {
    display: block;
    line-height: 1.3;
}

.case-list {
    list-style: none;
    padding-left: 0;
    margin-top: 18px;
    margin-bottom: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.case-list li {
    margin: 0;
}

.case-list__item {
    position: relative;
    display: block;
    min-height: 310px;
    border: 1px solid rgba(0, 0, 0, .08);
    background: #2b2b2b;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.case-list__item:hover,
.case-list__item:focus {
    text-decoration: none;
}

.case-list__item::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, .05) 0%, rgba(0, 0, 0, .18) 42%, rgba(0, 0, 0, .78) 100%);
    transition: background .25s ease;
}

.case-list__content {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    z-index: 2;
    padding-left: 16px;
    border-left: 3px solid #fe6a00;
    color: #fff;
    transition: transform .25s ease;
}

.case-list__item h3 {
    font-size: 1.08rem;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 8px;
    color: #fff;
}

.case-list__item p {
    font-size: .95rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, .88);
    line-height: 1.45;
}

.case-list__img {
    position: absolute;
    inset: 0;
    display: block;
    height: auto;
    background: #f6f7f8;
    overflow: hidden;
}

.case-list__img img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .86;
    transform: scale(1.02);
    will-change: transform, opacity;
    transition: transform .65s ease, opacity .45s ease;
}

.case-list__item:hover {
    border-color: #fe6a00;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .14);
    transform: translateY(-2px);
}

.case-list__item:hover::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, .02) 0%, rgba(0, 0, 0, .1) 38%, rgba(0, 0, 0, .66) 100%);
}

.case-list__item:hover .case-list__img img {
    opacity: 1;
    transform: scale(1.08);
}

.case-list__item:hover .case-list__content {
    transform: translateY(-4px);
}

.faq-list.panel-group .panel {
    border-radius: 0;
    box-shadow: none;
    border-color: #ececec;
}

.faq-list.panel-group .panel + .panel {
    margin-top: 8px;
}

.faq-list .panel-heading {
    background: #f6f7f8;
    padding: 0;
}

.faq-list .panel-title {
    font-size: 1rem;
    line-height: 1.3;
}

.faq-list .panel-title a {
    display: block;
    padding: 14px 45px 14px 16px;
    color: inherit;
    position: relative;
}

.faq-list .panel-title a:hover,
.faq-list .panel-title a:focus {
    text-decoration: none;
}

.faq-list .panel-title a::after {
    content: "−";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #fe6a00;
    font-size: 20px;
}

.faq-list .panel-title a.collapsed::after {
    content: "+";
}

.faq-list .panel-body {
    line-height: 1.55;
}

.drawing-upload__input {
    display: none !important;
}

.drawing-upload__status {
    display: inline-block;
    margin-left: 10px;
}

.drawing-upload__hint {
    color: #666;
    font-size: 13px;
    margin-top: 5px;
}

#header .mail_header,
#header .replace_phone {
    color: #ffb68f;
}

.menu a,
.menubar a,
.page-heading .breadcrumbs a {
    color: #a94300;
}

.page-heading .breadcrumbs,
.page-heading .breadcrumbs li {
    color: #5f5f6f;
}

.btn-primary,
a.btn-primary,
button.btn-primary {
    background-color: #fe6a00;
    border-color: #fe6a00;
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus,
a.btn-primary:hover,
a.btn-primary:focus,
button.btn-primary:hover,
button.btn-primary:focus {
    background-color: #fe6a00;
    border-color: #fe6a00;
    color: #fff;
}

#footer a[href="/policy/"],
#footer a[href="/policy/pravo/"] {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
}

@media (max-width:767px) {
    .homes-icons-block .item:nth-last-child(-n+2) {
        margin-bottom: 24px;
    }

    .homes-icons-block .item:last-child {
        margin-bottom: 0;
    }

    .detail-form .form {
        grid-template-columns: 1fr;
    }

    .detail-form .field-drawing {
        grid-column: 1;
    }

    .stages {
        grid-template-columns: 1fr;
    }

    .case-list {
        grid-template-columns: 1fr;
    }
}
