/* Страница услуги: поверх Aspro (шапка/подвал не трогаем) */

/* wide_page / WIDE_PAGE: контент услуги на всю ширину внутри Aspro */
.wrapper_inner.wide_page > .middle > .service-page,
#content.wraps .middle > .container > .service-page,
#content.wraps .middle > .container > .maxwidth-theme > .service-page {
    width: 100%;
    max-width: none;
}

/* Снять ограничения Aspro (max-width: 1760px и padding у container) */
#content.wraps:has(.service-page) .wrapper_inner.wide_page,
#content.wraps:has(.service-page) .wrapper_inner.wide_page > .container_inner,
#content.wraps:has(.service-page) .middle,
#content.wraps:has(.service-page) .middle > .container,
#content.wraps:has(.service-page) .middle > .container > .maxwidth-theme {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

/* Fallback без :has() — full-bleed breakout */
.service-page {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Aspro: .wrapper_inner { padding-bottom: 20px } — белый разрыв перед футером */
#content.wraps > .wrapper_inner.wide_page,
#content.wraps:has(.service-page) > .container_inner {
    padding-bottom: 0;
}

#footer {
    margin-top: 0;
}

.service-page {
    --service-blue: #257de3;
    --service-overlay: #2d2828cc;
    font-family: "Golos Text", "Open Sans", Arial, sans-serif;
    padding: 0;
}

/* Секции вплотную друг к другу, без зазоров от Aspro rounded/box-shadow/bordered */
.service-page > .service-hero,
.service-page > .service-block {
    margin: 0;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: 0 !important;
}

/* Aspro hr { background: grey } — сброс для декоративных линий */
.service-page hr {
    height: 0;
    background: none !important;
    background-color: transparent !important;
}

.service-page .ordered-block {
    margin-bottom: 32px;
}

.service-page .ordered-block.with-title .ordered-block__title.service-block__title {
    padding-bottom: 0;
    margin-bottom: 32px;
}

.service-block__title {
    margin: 0;
    font-family: inherit;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #fff;
}

.service-block__title--dark {
    color: #333;
    color: var(--white_text_black, #333);
}

/* ---------- Hero ---------- */

.service-hero {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    aspect-ratio: 1440 / 631;
}

/* Aspro .box-shadow:hover { transform: translateY(-1px) } — отступ снизу при hover */
.service-hero,
.service-hero:hover {
    transform: none !important;
    box-shadow: none !important;
    border: 0 !important;
    background-color: transparent !important;
    transition: none !important;
}

.service-hero__media,
.service-hero__overlay,
.service-hero:hover .service-hero__media,
.service-hero:hover .service-hero__overlay {
    transform: none !important;
    transition: none !important;
}

.service-hero__media {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #2d2828;
}

.service-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--service-overlay);
    opacity: 0.7;
    pointer-events: none;
}

.service-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    height: 100%;
    padding: 94px 60px 60px;
    color: #fff;
}

.service-hero__title {
    margin: 0 0 20px;
    max-width: 791px;
    font-family: inherit;
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    color: #fff;
}

.service-hero__line,
.service-feature__line {
    display: block;
    height: 0;
    padding: 0;
    margin: 0 0 23px;
    border: 0;
    background: none !important;
    background-color: transparent !important;
    opacity: 1;
}

.service-hero__line {
    width: min(778px, 100%);
    border-top: 2px solid var(--theme-base-color, var(--service-blue));
}

.service-hero__price,
.service-hero__note {
    margin: 0 0 8px;
    font-size: 32px;
    font-weight: 500;
    line-height: 1;
    color: #fff;
}

.service-hero__price {
    text-transform: capitalize;
}

.service-hero__note {
    margin-bottom: 40px;
}

.service-hero .banner_buttons {
    margin: 0;
}

/* ---------- Blocks ---------- */

.service-block {
    position: relative;
    overflow: hidden;
}

/* Стоимость: меню селектов не должно обрезаться / уходить под следующий блок */
.service-block.service-price {
    overflow: visible;
    z-index: 20;
}

.service-block.service-price.is-dropdown-open {
    z-index: 40;
}

.service-block--plain {
    padding: 48px 60px;
}

.service-block--plain.bordered {
    padding: 40px 48px;
    background: #fff;
    background-color: var(--black_bg_black, #fff);
}

.service-block--blue,
.service-block--dark {
    padding: 0;
}

.service-block__inner {
    position: relative;
    z-index: 2;
    padding: 64px 48px 48px;
}

.service-block--blue {
    background: var(--theme-base-color, var(--service-blue));
    color: #fff;
}

.service-block--blue .service-block__inner {
    padding: 119px 60px 48px;
}

.service-block--blue .ordered-block.with-title {
    margin-bottom: 89px;
}

.service-block--blue .ordered-block.with-title .ordered-block__title.service-block__title {
    margin-bottom: 0;
}

.service-block--blue .ordered-block__title,
.service-block--blue .ordered-block__title.service-block__title,
.service-block--blue .item-views.tizers .title,
.service-block--blue .item-views.tizers .inner-text,
.service-block--blue .item-views.tizers .value {
    color: #fff !important;
}

.service-block--blue .ordered-block__title.service-block__title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
}

.service-block--blue .item-views.tizers.top > .items > .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
}

.service-block--blue .item-views.tizers.top .item-wrapper {
    flex: 0 0 316px;
    width: 316px;
    max-width: 316px;
    padding: 0;
    margin: 0 231px 0 0;
}

.service-block--blue .item-views.tizers.top .item-wrapper:last-child {
    margin-right: 0;
}

.service-block--blue .item-views.tizers .image {
    margin-bottom: 27px;
}

.service-block--blue .service-feature__line {
    margin-bottom: 14px;
}

.service-block--blue .item-views.tizers .title {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
    min-height: 97px;
    text-transform: capitalize;
}

.service-block--blue .item-views.tizers .value {
    max-width: 316px;
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
}

.service-block--dark .service-block__bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
}

.service-block--dark .service-block__overlay {
    position: absolute;
    inset: 0;
    background: var(--service-overlay);
    opacity: 0.7;
}

.service-block--dark .ordered-block__title,
.service-block--dark .ordered-block__title.service-block__title,
.service-block--dark .item-views.tizers .title,
.service-block--dark .title,
.service-block--dark .text,
.service-block--dark .inner-text {
    color: #fff !important;
}

.service-block--dark .form.inline {
    background: rgba(255, 255, 255, 0.92);
    color: #333;
    padding: 32px;
}

.service-block--dark .form.inline .form-control > label,
.service-block--dark .form.inline .font_xs,
.service-block--dark .form.inline .muted777 {
    color: #666;
}

/* ---------- Преимущества ---------- */

.service-block--advantages {
    min-height: 741px;
}

.service-block--advantages .service-block__bg {
    background-position: center bottom;
    background-size: cover;
}

.service-block--advantages .service-block__inner {
    padding: 126px 0 64px;
    min-height: 741px;
    box-sizing: border-box;
}

.service-block--advantages .ordered-block.with-title {
    margin: 0 60px 97px;
}

.service-block--advantages .ordered-block.with-title .ordered-block__title.service-block__title {
    margin-bottom: 0;
}

.service-advantages__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 89px;
    column-gap: 16px;
    /* Figma: left calc(8.33% + 52px) ≈ 172px на 1440 */
    --advantages-side: calc(8.33% + 52px);
    width: calc(100% - 2 * var(--advantages-side));
    margin-left: var(--advantages-side);
    margin-right: var(--advantages-side);
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

.service-advantages__item {
    min-width: 0;
    margin: 0;
    padding: 0;
}

.service-advantages__item .item {
    margin-bottom: 0;
}

.service-advantages__item .image {
    width: 32px;
    height: 32px;
    margin: 0 0 22px;
    float: none;
    text-align: left;
}

.service-advantages__item .image img {
    width: 32px;
    height: 32px;
    max-width: 32px;
    max-height: 32px;
    vertical-align: top;
}

.service-advantages__item .service-feature__line {
    margin-bottom: 14px;
}

.service-advantages__item .title {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: #fff !important;
}

/* ---------- Features (tizers override) ---------- */

.service-page .item-views.tizers .item {
    margin-bottom: 28px;
}

.service-page .item-views.tizers .image {
    width: 32px;
    height: 32px;
    margin: 0 0 12px;
    float: none;
    text-align: left;
}

.service-page .item-views.tizers .image img,
.service-page .item-views.tizers .image svg {
    width: 32px;
    height: 32px;
    max-width: 32px;
    max-height: 32px;
    vertical-align: top;
}

/* «Что такое…» — иконки, линия и текст по левому краю колонки */
.service-block--blue .item-views.tizers.top .item {
    display: block;
    text-align: left;
}

.service-block--blue .item-views.tizers.top .image,
.service-block--blue .item-views.tizers.top .service-feature__line,
.service-block--blue .item-views.tizers.top .inner-text {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}

.service-page .item-views.tizers .title {
    margin: 0 0 12px;
    font-weight: 500;
    line-height: 1.2;
}

.service-page .item-views.tizers .value {
    line-height: 1.45;
}

.service-feature__line {
    width: 92px;
    margin-bottom: 14px;
    border-top: 2px solid #fff;
}

.service-feature__line--center {
    margin-left: auto;
    margin-right: auto;
}

.service-feature__line--blue {
    border-top-color: var(--theme-base-color, var(--service-blue));
}

/* ---------- Порядок работы ---------- */
/* Figma Desktop-8: 489px; title x=59 y=116; steps from x=172 */

.service-block--steps {
    min-height: 489px;
}

.service-block--steps .service-block__bg {
    background-position: center bottom;
    background-size: cover;
}

.service-block--steps .service-block__inner {
    padding: 116px 0 56px;
    min-height: 489px;
    box-sizing: border-box;
}

.service-block--steps .ordered-block.with-title {
    margin: 0 60px 102px;
}

.service-block--steps .ordered-block.with-title .ordered-block__title.service-block__title {
    margin-bottom: 0;
}

.service-block--steps .service-steps__grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 60px 0 172px;
    padding: 0;
    box-sizing: border-box;
}

.service-block--steps .service-steps__item {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    text-align: left;
}

.service-block--steps .service-steps__icon {
    display: block;
    width: 32px;
    height: 32px;
    margin: 0 0 27px;
}

.service-block--steps .service-steps__icon img {
    display: block;
    width: 32px;
    height: 32px;
    max-width: 32px;
    max-height: 32px;
}

.service-block--steps .service-steps__line {
    display: block;
    width: 92px;
    height: 0;
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    border-top: 2px solid #fff;
    background: none !important;
}

.service-block--steps .service-steps__label {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
}

.service-block--plain .item-views.tizers .image img {
    /* SVG icons are already white; invert for light bg */
    filter: brightness(0) saturate(100%) invert(35%) sepia(90%) saturate(1500%) hue-rotate(190deg);
}

.service-block--plain .service-feature__line--blue + .inner-text .title,
.service-block--plain .item-views.tizers .title {
    color: #333;
    color: var(--white_text_black, #333);
}

/* ---------- Требования к чертежам ---------- */
/* Figma Desktop-9: bg #a4a2a2; текст/иконки/линии белые; icons 32px;
   title 40 Bold; item title 20 Medium (2 строки → h=48); value 14 */

.service-block--reqs {
    background: #a4a2a2;
    padding: 105px 0 80px;
    min-height: 584px;
    box-sizing: border-box;
    color: #fff;
}

.service-block--reqs .ordered-block.with-title {
    margin: 0 60px 60px;
}

.service-block--reqs .ordered-block.with-title .ordered-block__title.service-block__title {
    margin-bottom: 0;
    color: #fff !important;
}

.service-page .service-reqs.item-views.tizers {
    margin-left: 172px;
    margin-right: 60px;
    padding: 0;
    box-sizing: border-box;
}

.service-page .service-reqs.item-views.tizers .service-reqs__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
}

.service-page .service-reqs.item-views.tizers .item-wrapper {
    float: none;
    flex: 0 0 315px;
    width: 315px;
    max-width: 315px;
    padding: 0;
    margin: 0 20px 0 0; /* pitch 335 − width 315 */
}

.service-page .service-reqs.item-views.tizers .item-wrapper:last-child {
    margin-right: 0;
}

.service-page .service-reqs.item-views.tizers .item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-page .service-reqs.item-views.tizers .item .image {
    display: block;
    float: none !important;
    width: 32px;
    height: 32px;
    max-height: 32px;
    margin: 0 0 27px;
}

.service-page .service-reqs.item-views.tizers .item .image img {
    display: block;
    width: 32px;
    height: 32px;
    margin: 0;
    filter: none; /* SVG stroke уже white */
}

.service-page .service-reqs.item-views.tizers .item .service-feature__line,
.service-page .service-reqs.item-views.tizers .item .service-feature__line--blue {
    width: 92px;
    margin: 0 0 18px;
    border-top: 2px solid #fff;
}

.service-page .service-reqs.item-views.tizers .item .title {
    margin: 0 0 18px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: #fff !important;
}

.service-page .service-reqs.item-views.tizers .item .value {
    margin: 0;
    max-width: 315px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    color: #fff !important;
}

/* ---------- Gallery ---------- */

.service-gallery {
    margin-top: 40px;
}

.service-gallery--strip {
    display: flex;
    flex-direction: row;
    margin-top: 48px;
}

.service-gallery--strip > .service-gallery__item {
    flex: 1 1 0;
    min-width: 0;
}

.service-gallery__item {
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
    background: #111;
}

.service-gallery--strip .service-gallery__item {
    margin-bottom: 0;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.service-gallery__item img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.service-gallery--strip .service-gallery__item img {
    height: 360px;
}

.service-gallery__num {
    position: absolute;
    z-index: 2;
    top: 28px;
    right: 28px;
    left: auto;
    font-size: 32px;
    font-weight: 500;
    line-height: 1;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.service-gallery__caption {
    position: absolute;
    z-index: 2;
    bottom: 28px;
    left: 28px;
    margin: 0;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
    text-transform: capitalize;
}

/* ---------- Наши работы (Desktop-10) ---------- */
/* title y=126; photos y=225 h=360 w=420/480/480; nums top-right;
   labels below: «/1 матрицы» at y=650; block h=782 */

.service-block--works {
    background: var(--theme-base-color, var(--service-blue));
    padding: 126px 0 94px;
    min-height: 782px;
    box-sizing: border-box;
    color: #fff;
}

.service-block--works .ordered-block.with-title {
    margin: 0 60px 51px;
}

.service-block--works .ordered-block.with-title .ordered-block__title.service-block__title {
    margin-bottom: 0;
    color: #fff !important;
}

.service-works {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
    margin: 0 60px;
    width: calc(100% - 120px);
    box-sizing: border-box;
}

.service-works__item {
    flex: 0 0 calc(480 / 1380 * 100%);
    width: calc(480 / 1380 * 100%);
    min-width: 0;
    box-sizing: border-box;
}

.service-works__item--narrow {
    flex-basis: calc(420 / 1380 * 100%);
    width: calc(420 / 1380 * 100%);
}

.service-works__photo {
    position: relative;
    overflow: hidden;
    background: #111;
}

.service-works__photo img {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.service-works__num {
    position: absolute;
    z-index: 2;
    top: 28px;
    right: 53px;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
}

.service-works__label {
    margin-top: 65px;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
}

/* ---------- Equipment ---------- */

.service-equip__photo {
    overflow: hidden;
    margin-bottom: 24px;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent;
}

.service-equip__photo img {
    display: block;
    width: 100%;
    height: auto;
    border: 0;
}

.service-equip__chars {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.service-equip__char .service-feature__line {
    margin-bottom: 14px;
}

.service-equip__char-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 24px 40px;
}

.service-equip__char-value,
.service-equip__char-label {
    margin: 0;
    font-family: "Golos Text", "Open Sans", Arial, sans-serif;
    font-size: 24px;
    line-height: 1.25;
    color: #2d2828;
}

.service-equip__char-value {
    flex: 0 0 auto;
    min-width: 160px;
    font-weight: 500;
}

.service-equip__char-label {
    flex: 1 1 220px;
    font-weight: 400;
}

.service-equip__char-label strong {
    font-weight: 600;
}

.service-equip__notes {
    margin-top: 32px;
}

/* ---------- Price / chips ---------- */

.service-price__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.service-price__tab {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 4px 12px;
    margin: 0;
    border: 1px solid var(--theme-base-color, var(--service-blue));
    border-radius: 100px;
    background: transparent;
    color: #2d2828;
    font-family: "Golos Text", "Open Sans", Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0.16px;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: none;
}

.service-price__tab:hover,
.service-price__tab:focus {
    text-decoration: none !important;
    outline: none;
    color: #2d2828;
}

.service-price__tab.is-active {
    background: var(--theme-base-color, var(--service-blue));
    border-color: var(--theme-base-color, var(--service-blue));
    color: #fff;
}

.service-price__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 0;
    max-width: 900px;
}

.service-price__field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 0 0 122px;
    width: 122px;
    margin: 0;
}

.service-price__label {
    font-family: "Golos Text", "Open Sans", Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 12px;
    letter-spacing: 0.15px;
    color: rgba(0, 0, 0, 0.6);
}

/* native select is hidden visually but kept for value/form */
.service-price__select {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.service-price__dd {
    position: relative;
    width: 100%;
    z-index: 1;
}

.service-price__dd.is-open {
    z-index: 50;
}

.service-price__dd-btn {
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    width: 100%;
    min-height: 32px;
    margin: 0;
    padding: 0 0 8px;
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.42);
    border-radius: 0;
    background: transparent;
    color: #2d2828;
    font-family: "Golos Text", "Open Sans", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.15px;
    text-align: left;
    cursor: pointer;
    box-shadow: none;
}

.service-price__dd-btn:hover {
    border-bottom-color: rgba(0, 0, 0, 0.87);
}

.service-price__dd.is-open .service-price__dd-btn,
.service-price__dd-btn:focus {
    outline: none;
    border-bottom-color: var(--theme-base-color, var(--service-blue));
    border-bottom-width: 2px;
    padding-bottom: 7px;
}

.service-price__dd-value {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-price__dd-icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin-right: -4px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%232d2828' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") center / 24px no-repeat;
    transition: transform 0.15s ease;
}

.service-price__dd.is-open .service-price__dd-icon {
    transform: rotate(180deg);
}

.service-price__dd-menu {
    position: absolute;
    z-index: 100;
    top: calc(100% + 4px);
    left: 0;
    right: auto;
    min-width: 100%;
    width: max-content;
    max-width: 280px;
    max-height: 240px;
    margin: 0;
    padding: 8px 0;
    list-style: none !important;
    overflow: auto;
    background: #fff;
    border: 0;
    border-radius: 4px;
    box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
    0 8px 10px 1px rgba(0, 0, 0, 0.14),
    0 3px 14px 2px rgba(0, 0, 0, 0.12);
}

.service-price__dd-menu > li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.service-price__dd-menu > li:before,
.service-price__dd-menu > li:after {
    content: none !important;
    display: none !important;
}

.service-price__dd-menu[hidden] {
    display: none !important;
}

.service-price__dd-option {
    display: block;
    width: 100%;
    margin: 0;
    padding: 10px 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #2d2828;
    font-family: "Golos Text", "Open Sans", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.15px;
    text-align: left;
    cursor: pointer;
    box-shadow: none;
}

.service-price__dd-option:hover,
.service-price__dd-option:focus {
    outline: none;
    background: rgba(37, 125, 227, 0.08);
}

.service-price__dd-option.is-selected {
    background: rgba(37, 125, 227, 0.12);
    font-weight: 500;
}

.service-price__panels {
    margin-bottom: 32px;
}

.service-price__panel[hidden] {
    display: none !important;
}

.service-price__cta {
    margin-top: 8px;
    text-align: left;
}

/* ---------- FAQ (Desktop-12) ---------- */
/* bg white; title 60/126; chevron 24 left; line 92 above Q;
   Q 24 Medium #2d2828; A 14 Medium, max 490px; 2 cols */

.service-block--faq {
    background: #fff;
    padding: 126px 0 80px;
    min-height: 855px;
    box-sizing: border-box;
}

.service-block--faq .ordered-block.with-title {
    margin: 0 60px 89px; /* first line y=263 */
}

.service-block--faq .ordered-block.with-title .ordered-block__title.service-block__title {
    margin-bottom: 0;
    color: #2d2828 !important;
}

.service-faq {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    row-gap: 0;
    margin: 0 60px 0 55px;
    box-sizing: border-box;
}

.service-faq__col {
    display: flex;
    flex-direction: column;
    gap: 48px;
    min-width: 0;
}

.service-faq__item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.service-faq__line {
    width: 92px;
    margin: 0 0 14px 39px; /* under question text: 24 + 15 */
    border: 0;
    border-top: 2px solid var(--theme-base-color, var(--service-blue));
    background: none !important;
}

.service-faq__head {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
    cursor: pointer;
    color: #2d2828;
}

.service-faq__chevron {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin-top: 2px;
    transition: transform 0.2s ease;
}

.service-faq__item:not(.is-open) .service-faq__chevron {
    transform: rotate(-90deg);
}

.service-faq__q {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
    color: #2d2828;
}

.service-faq__a {
    display: none;
    margin: 14px 0 0 39px;
    max-width: 490px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    color: #2d2828;
}

.service-faq__a p {
    margin: 0;
}

.service-faq__item.is-open .service-faq__a {
    display: block;
}

/* ---------- Form / Обратная связь (Desktop-13) ---------- */
/* title y=92; white card 734×480 @60/178; reqs below card */

.service-block--feedback {
    min-height: 855px;
    background-color: #2d2828; /* fallback, чтобы не просвечивал белый */
}

.service-block--feedback .service-block__bg {
    background-position: center bottom;
    background-size: cover;
}

.service-block--feedback .service-block__overlay {
    background: rgba(45, 40, 40, 0.8);
    opacity: 0.7;
}

.service-block--feedback .service-block__inner {
    padding: 92px 60px 48px;
    min-height: 855px;
    box-sizing: border-box;
}

.service-block--feedback .ordered-block.with-title {
    margin: 0 0 38px;
}

.service-block--feedback .ordered-block.with-title .ordered-block__title.service-block__title {
    margin-bottom: 0;
}

.service-feedback__card {
    width: 100%;
    max-width: 734px;
    min-height: 480px;
    padding: 32px 28px 24px;
    background: #fff;
    border-radius: 4px;
    box-sizing: border-box;
    color: #333;
}

.service-feedback__form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.service-feedback__row {
    display: grid;
    grid-template-columns: 204px minmax(0, 476px);
    gap: 16px;
    align-items: center;
}

.service-feedback__label {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: #333;
    text-transform: none;
}

.service-feedback__input {
    width: 100%;
    height: 32px;
    padding: 0 12px;
    border: 1px solid #bdbdbd;
    border-radius: 4px;
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    box-sizing: border-box;
}

.service-feedback__input::placeholder {
    color: #bdbdbd;
    text-transform: none;
}

/* Figma: label+hint left; paperclip + «Загрузить» right, same column as inputs */
.service-feedback__row--file {
    align-items: start;
}

.service-feedback__file-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
    padding-top: 6px; /* optical align with 36px button */
}

.service-feedback__hint {
    display: block;
    max-width: 353px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    color: #bdbdbd;
}

.service-feedback__file-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    min-width: 0;
}

.service-feedback__upload {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    margin: 0;
    cursor: pointer;
}

.service-feedback__upload input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.service-feedback__clip {
    display: block;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.service-feedback__upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 151px;
    height: 36px;
    padding: 0 16px;
    border: 1px solid #1976d2;
    border-color: var(--theme-base-color, #1976d2);
    border-radius: 4px;
    background: transparent;
    color: #1976d2;
    color: var(--theme-base-color, #1976d2);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.4px;
    line-height: 24px;
    text-transform: uppercase;
    box-sizing: border-box;
}

.service-feedback__upload:hover .service-feedback__upload-btn {
    background: rgba(25, 118, 210, 0.06);
}

.service-feedback__filename {
    max-width: 100%;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    color: #333;
    text-align: right;
    word-break: break-all;
}

.service-feedback__textarea {
    display: block;
    width: 100%;
    min-height: 64px;
    padding: 10px 12px;
    border: 1px solid #bdbdbd;
    border-radius: 4px;
    background: #fff;
    resize: vertical;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    color: #333;
    box-sizing: border-box;
}

.service-feedback__textarea::placeholder {
    color: #bdbdbd;
}

.service-feedback__agree {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.service-feedback__check {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    border: 1px solid #bdbdbd;
    border-radius: 4px;
    appearance: auto;
}

.service-feedback__agree label {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    color: #333;
    cursor: pointer;
}

.service-feedback__footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.service-feedback__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 151px;
    height: 36px;
    padding: 0 16px;
    border: 0;
    border-radius: 4px;
    background: var(--theme-base-color, #1976d2);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.12),
    0 2px 2px rgba(0, 0, 0, 0.14),
    0 3px 1px -2px rgba(0, 0, 0, 0.2);
}

.service-feedback__reqs {
    margin-top: 29px; /* card bottom 658 → line 687 */
    max-width: 776px;
    color: #fff;
}

.service-feedback__reqs-line {
    width: 92px;
    margin: 0 0 14px;
    border: 0;
    border-top: 2px solid #fff;
    background: none !important;
}

.service-feedback__reqs-title {
    margin: 0 0 14px;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
}

.service-feedback__reqs-list {
    margin: 0 0 8px;
    padding: 0 0 0 21px;
    list-style: disc;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
}

.service-feedback__reqs-list li {
    margin: 0 0 4px;
    color: #fff;
}

.service-feedback__reqs-list li::before {
    content: none !important;
}

.service-feedback__reqs-note {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
}

.service-form .form_body .form-control {
    margin-bottom: 16px;
}

.service-form .form_footer {
    margin-top: 20px;
}

/* ---------- Responsive ---------- */

@media (max-width: 991px) {
    .service-hero {
        aspect-ratio: auto;
        min-height: 360px;
    }

    .service-hero__content {
        padding: 48px 32px 40px;
    }

    .service-hero__title {
        font-size: clamp(28px, 7vw, 48px);
    }

    .service-hero__price,
    .service-hero__note {
        font-size: clamp(18px, 4vw, 28px);
    }

    .service-block--plain,
    .service-block--plain.bordered {
        padding: 40px 24px;
    }

    .service-block--reqs {
        min-height: auto;
        padding: 48px 0 40px;
    }

    .service-block--reqs .ordered-block.with-title {
        margin: 0 24px 36px;
    }

    .service-page .service-reqs.item-views.tizers {
        margin-left: 24px;
        margin-right: 24px;
    }

    .service-page .service-reqs.item-views.tizers .item-wrapper {
        flex: 1 1 100%;
        width: 100%;
        max-width: none;
        margin: 0 0 32px;
    }

    .service-page .service-reqs.item-views.tizers .item-wrapper:last-child {
        margin-bottom: 0;
    }

    .service-page .service-reqs.item-views.tizers .item .title {
        font-size: 20px;
    }

    .service-block--works {
        min-height: auto;
        padding: 64px 0 48px;
    }

    .service-block--works .ordered-block.with-title {
        margin: 0 24px 32px;
    }

    .service-works {
        flex-wrap: wrap;
        margin: 0 24px;
        width: calc(100% - 48px);
        gap: 24px 0;
    }

    .service-works__item,
    .service-works__item--narrow {
        flex: 1 1 100%;
        width: 100%;
    }

    .service-works__photo img {
        height: 220px;
    }

    .service-works__num {
        right: 24px;
        top: 20px;
        font-size: 24px;
    }

    .service-works__label {
        margin-top: 16px;
        font-size: 22px;
    }

    .service-block--faq {
        min-height: auto;
        padding: 64px 0 48px;
    }

    .service-block--faq .ordered-block.with-title {
        margin: 0 24px 40px;
    }

    .service-faq {
        grid-template-columns: 1fr;
        margin: 0 24px;
        row-gap: 0;
    }

    .service-faq__col {
        gap: 32px;
    }

    .service-faq__col + .service-faq__col {
        margin-top: 32px;
    }

    .service-faq__line {
        margin-left: 39px;
    }

    .service-faq__q {
        font-size: 20px;
    }

    .service-block--feedback {
        min-height: auto;
    }

    .service-block--feedback .service-block__inner {
        padding: 48px 24px 40px;
        min-height: auto;
    }

    .service-feedback__card {
        max-width: none;
        min-height: 0;
        padding: 24px 20px;
    }

    .service-feedback__row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .service-feedback__file-text {
        padding-top: 0;
    }

    .service-feedback__file-actions {
        align-items: flex-start;
    }

    .service-feedback__upload {
        justify-content: flex-start;
    }

    .service-feedback__filename {
        text-align: left;
    }

    .service-feedback__footer {
        justify-content: stretch;
    }

    .service-feedback__submit {
        width: 100%;
    }

    .service-block__title {
        font-size: clamp(24px, 5vw, 36px);
    }

    .service-gallery--strip .service-gallery__item img {
        height: 220px;
    }

    .service-block--blue .service-block__inner {
        padding: 64px 24px 40px;
    }

    .service-block--blue .ordered-block.with-title {
        margin-bottom: 48px;
    }

    .service-block--blue .item-views.tizers.top .item-wrapper {
        flex: 1 1 100%;
        width: 100%;
        max-width: none;
        margin: 0 0 32px;
    }

    .service-block--blue .item-views.tizers .value {
        max-width: none;
    }

    .service-block--blue .item-views.tizers .title {
        min-height: 0;
        margin-bottom: 14px;
    }

    .service-block--blue .item-views.tizers .title {
        font-size: clamp(22px, 4vw, 32px);
    }

    .service-block--advantages {
        min-height: auto;
    }

    .service-block--advantages .service-block__inner {
        padding: 64px 0 48px;
        min-height: auto;
    }

    .service-block--advantages .ordered-block.with-title {
        margin: 0 24px 48px;
    }

    .service-advantages__grid {
        --advantages-side: 40px;
        width: calc(100% - 2 * var(--advantages-side));
        margin-left: var(--advantages-side);
        margin-right: var(--advantages-side);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 40px;
        column-gap: 24px;
    }

    .service-block--steps {
        min-height: auto;
    }

    .service-block--steps .service-block__inner {
        padding: 48px 0 40px;
        min-height: auto;
    }

    .service-block--steps .ordered-block.with-title {
        margin: 0 24px 48px;
    }

    .service-block--steps .service-steps__grid {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 32px 40px;
        margin: 0 24px;
    }

    .service-block--steps .service-steps__item {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    .service-hero__content {
        padding: 32px 20px 28px;
    }

    .service-block__inner {
        padding: 32px 16px;
    }

    .service-gallery--strip {
        flex-direction: column;
    }

    .service-advantages__grid {
        grid-template-columns: 1fr;
    }

    .service-page .item-wrapper.col-xs-6 {
        width: 50%;
    }
}
