/*
 * Блоки страницы услуги: калькулятор, прайс, вопросы.
 * Вопросы берут стили у блока с главной (.hb-faq), здесь только сетка.
 */

.uc,
.up,
.uf{
    margin-top: 60px;
}

/* ============ Калькулятор ============ */

.uc-form{
    margin-top: 26px;
    border: 1px solid #E6DDCE;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}

.uc-step + .uc-step{ border-top: 1px solid #E6DDCE; }

.uc-step_title{
    padding: 18px 26px;
    background: #F6F1E8;
    font-family: var(--heading-font);
    font-size: 19px;
    font-weight: 500;
}

.uc-fields{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 26px;
    padding: 26px;
}

.uc-field{ display: block; }

.uc-field_label{
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 500;
}

.uc-field select,
.uc-field input{
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #E6DDCE;
    border-radius: 10px;
    background: #fff;
    font: inherit;
    font-size: 15px;
    color: var(--title-color);
}

.uc-field select:focus,
.uc-field input:focus{ outline: none; border-color: var(--theme-color); }

.uc-field_hint{
    display: block;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.35;
    color: #7a7167;
}

.uc-check{
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 1.35;
    cursor: pointer;
}

.uc-check + .uc-check{ margin-top: 10px; }

.uc-check input[type="checkbox"]{
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    display: inline-block;
    opacity: 1;
    visibility: visible;
    position: static;
    -webkit-appearance: checkbox;
            appearance: checkbox;
    accent-color: var(--theme-color);
}

.uc-check_price{
    display: block;
    margin-top: 2px;
    font-size: 13px;
    color: #7a7167;
}

.uc-group_title{
    margin-bottom: 4px;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
}

.uc-group_note{
    margin-bottom: 10px;
    font-size: 13px;
    color: #7a7167;
}

.uc-total{
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
    gap: 26px;
    padding: 26px;
    border-top: 1px solid #E6DDCE;
    background: #F6F1E8;
}

.uc-total_row{
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 7px 0;
    border-bottom: 1px dashed #E6DDCE;
    font-size: 15px;
}

.uc-total_empty{ color: #7a7167; }

.uc-total_label{ font-size: 15px; color: #5A5148; }

.uc-total_price{
    margin: 4px 0 10px;
    font-family: var(--heading-font);
    font-size: 34px;
    font-weight: 500;
    color: var(--theme-color);
}

.uc-total_note{
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.4;
    color: #7a7167;
}

/* ============ Прайс ============ */

.up-list{
    margin-top: 26px;
    border: 1px solid #E6DDCE;
    border-radius: 16px;
    overflow: hidden;
}

.up-row{
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    gap: 20px;
    padding: 18px 26px;
    align-items: center;
}

.up-row:nth-child(odd){ background: #F6F1E8; }

.up-row_title{ font-size: 16px; line-height: 1.4; }
.up-row_title span{ font-weight: 500; }

.up-item{
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 15px;
}

.up-item + .up-item{ margin-top: 6px; }
.up-item_price{ white-space: nowrap; font-weight: 500; color: var(--theme-color); }

/* ============ Вопросы ============ */

.uf .hb-title{ text-align: left; }
.uf .hb-faq_list{ margin-top: 22px; }

@media (max-width: 991px){
    .uc-fields{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .uc-total{ grid-template-columns: 1fr; }
    .up-row{ grid-template-columns: 1fr; }
}

@media (max-width: 575px){
    .uc-fields,
    .uc-step_title,
    .uc-total,
    .up-row{ padding-left: 16px; padding-right: 16px; }
    .uc-fields{ grid-template-columns: 1fr; }
}

/* Вкладки на отдельной странице калькулятора */
.uc-page{ margin-top: 30px; }

.uc-tabs{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.uc-tab{
    padding: 11px 22px;
    border: 1px solid #E6DDCE;
    border-radius: 100px;
    background: #fff;
    font: inherit;
    font-size: 15px;
    color: var(--title-color);
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s;
}

.uc-tab:hover{ border-color: var(--theme-color); color: var(--theme-color); }

.uc-tab.is-active{
    background: var(--theme-color);
    border-color: var(--theme-color);
    color: #fff;
}
\n/* Первое фото на страницах — единый размер 850x392 */\n.elementor-element-f9937d8 img{width:100%;max-width:850px;height:auto;aspect-ratio:850/392;object-fit:cover;display:block}\n