/* The production metro-service template extends the existing site components. */
.ms-page { color: #333; }
.ms-page *, .ms-page *::before, .ms-page *::after { box-sizing: border-box; }
.ms-page h2 { text-align: left; text-transform: none; font-size: 25px; line-height: 1.2; padding: 0; margin: 0 0 28px; }
.ms-page h3 { text-align: left; text-transform: none; }
.ms-page p { line-height: 1.6; }
.ms-page a:focus-visible, .ms-page button:focus-visible, .ms-page [role="button"]:focus-visible, .ms-page input:focus-visible { outline: 2px solid #157f1c; outline-offset: 3px; }
.ms-breadcrumbs { position: relative; z-index: 1; display: block; padding: 20px 0; font-size: 13px; }
.ms-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0 5px; margin: 0; padding: 0; list-style: none; }
.ms-breadcrumbs li { padding: 0; margin: 0; }
.ms-breadcrumbs li + li::before { content: "›"; margin-right: 5px; }
.ms-breadcrumbs a { text-decoration: none; }
.ms-page .ms-hero { min-height: 235px; padding-top: 0; padding-bottom: 18px; overflow: hidden; }
.ms-hero .in-info-t-p-b { padding-bottom: 0; }
.ms-hero .tlt-info-t-p-b { font-size: 28px; line-height: 1.3; padding-bottom: 16px; }
.ms-hero__subtitle { margin: 0; padding-bottom: 8px; font-size: 16px; }
.ms-zone-link { font-size: 13px; }
.ms-hero__form-title { margin: 5px 0 8px; font-size: 16px; font-weight: 600; }
.ms-form { margin: 0; padding: 0; }
.ms-form__fields { display: grid; gap: 18px; }
.ms-form__field { margin: 0; padding: 0; display: block; min-width: 0; font-weight: normal; }
.ms-page .ms-form input[type="text"], .ms-page .ms-form input[type="tel"] { display: block; width: 100%; min-width: 0; height: 44px; margin: 0; padding: 10px; border: 1px solid #ccc; border-radius: 0; background: #fff; color: #333; font: inherit; box-shadow: none; }
.ms-page .ms-submit { width: 100%; min-height: 46px; padding: 0 15px; margin: 0; border: 0; border-radius: 0; color: #fff; background: #157f1c; font: bold 14px/46px Arial, sans-serif; text-transform: uppercase; letter-spacing: 1px; box-shadow: none; text-shadow: none; cursor: pointer; }
.ms-page .ms-submit:hover { background: #00a719; }
.ms-page .ms-submit:disabled { opacity: .6; cursor: wait; }
.ms-form--compact .ms-form__fields { gap: 0; }
.ms-form--compact .ms-submit { width: auto; justify-self: start; }
.ms-consent { display: flex; gap: 7px; align-items: flex-start; margin: 12px 0 0; font-size: 12px; line-height: 1.25; font-weight: normal; }
.ms-page .ms-consent input { appearance: auto; -webkit-appearance: auto; position: static; width: 14px; height: 14px; flex: 0 0 14px; margin: 1px 0 0; padding: 0; opacity: 1; accent-color: #157f1c; }
.ms-page .ms-consent span, .ms-page .ms-consent a { color: inherit; }
.ms-form__result { font-size: 14px; line-height: 1.5; }
.ms-page .ms-form__result:not(:empty) { padding-top: 10px; }
.ms-photo-links { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 13px; font-size: 13px; }
.ms-photo-links > p { margin: 0; padding: 0; font-size: 13px; }
.ms-photo-links__icons { display: flex; gap: 6px; }
.ms-photo-links__icons a { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; background: #fff; border: 1px solid #ddd; }
.ms-photo-links__icons a:hover { border-color: #157f1c; }
.ms-photo-links__icons img { display: block; width: 24px; height: 24px; object-fit: contain; }
.ms-page .ms-benefits { margin-top: 20px; }
.ms-benefits ul { margin: 0; }
.ms-page .advantage-t-p-b li { padding: 0 10px 0 30px; }
.ms-benefits li { width: 25%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19 19'%3E%3Ccircle cx='9.5' cy='9.5' r='9.5' fill='%23157f1c'/%3E%3Cpath d='m5 10 3 3 6-6' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-size: 19px 19px; }
.ms-section { margin-top: 38px; scroll-margin-top: 20px; }
.ms-page .section-brands__name { font-size: 16px; line-height: 1.2; }
.ms-page .ms-price-table { width: 100%; table-layout: fixed; margin-bottom: 9px; border-collapse: collapse; }
.ms-price-table th, .ms-price-table td { padding: 12px; overflow-wrap: break-word; }
.ms-price-table th:last-child, .ms-price-table td:last-child { width: 24%; white-space: normal; }
.ms-price-table td strong { color: #157f1c; font-size: 18px; }
.ms-page .ms-price-note { font-size: 13px; color: #555; padding-bottom: 4px; margin: 0; }
.ms-prices .page-price { flex: 1 1 auto; min-width: 0; }
.ms-page .ms-sidebar { width: 320px; margin: 0 0 0 18px; color: #fff; }
.ms-sidebar .ms-photo-links { flex-direction: column; text-align: center; padding-top: 4px; }
.ms-sidebar .ms-form input { font-size: 16px; }
.ms-sidebar .title-r-f { padding-bottom: 20px; }
.ms-text p { font-size: 16px; margin: 0 0 20px; padding: 0; }
.ms-master { display: flex; align-items: center; gap: 22px; padding: 22px; border: 1px solid #ddd; border-left: 3px solid #157f1c; background: #f7f7f7; }
.ms-master > img { display: block; flex: 0 0 112px; width: 112px; height: 112px; border-radius: 50%; object-fit: cover; }
.ms-master h3 { font-size: 20px; margin: 0 0 5px; padding: 0; font-weight: 600; }
.ms-master p { font-size: 14px; margin: 0; padding: 0; }
.ms-master .ms-master__experience { color: #157f1c; font-weight: 600; margin-bottom: 15px; }
.ms-how .kak-mi-rabotaem { list-style: none; margin: 0; padding: 0; }
.ms-how .kak-mi-rabotaem::before { content: ""; position: absolute; top: 56px; left: 12.5%; right: 12.5%; height: 2px; background: #157f1c; }
.ms-how .item-kmr { width: 25%; list-style: none; margin: 0; padding: 0 20px; }
.ms-how .how-we-work { margin-left: auto; margin-right: auto; }
.ms-how .how-we-work { border-width: 2px; }
.ms-how .how-we-work svg { display: block; width: 56px; height: 56px; }
.ms-how .title-who-jobs { margin: 0; padding: 0; font-size: 14px; line-height: 1.5; text-align: center; }
.ms-page .faq-question { padding-right: 42px; }
.ms-page .faq-answer p { margin: 0; padding: 0; }
.ms-map { position: relative; width: 100%; height: 320px; background: #f0f0f0; border: 1px solid #ddd; }
/* mobile.js writes an inline video aspect ratio on every iframe. Keep the map at its container height. */
.ms-map iframe { display: block; width: 100%; height: 100% !important; border: 0; }
.ms-map__link { position: absolute; bottom: 12px; left: 12px; padding: 8px 12px; background: #fff; border: 1px solid #157f1c; font-size: 13px; text-decoration: none; text-transform: uppercase; }
.ms-map__credit { position: absolute; right: 0; bottom: 0; background: rgba(255,255,255,.9); padding: 0 4px; font-size: 11px; }
.ms-page .areas-works h2 { text-align: center; text-transform: uppercase; }
.ms-page .ms-payments h2 { text-align: center; text-transform: uppercase; }
.ms-payments .pb-60 { padding-bottom: 0; }
.ms-page .ms-map-section > .ms-price-note { padding-top: 7px; }
.ms-page .ms-bottom { position: relative; margin-top: 35px; margin-bottom: 0; padding: 30px 0 22px; }
.ms-bottom::before { position: absolute; inset: 0; content: ""; background: rgba(0,0,0,.35); }
.ms-bottom > .container { position: relative; }
.ms-page .ms-bottom h2 { text-align: center; text-transform: uppercase; font-size: 24px; margin-bottom: 24px; }
.ms-bottom__intro { max-width: 650px; margin: 0 auto 25px; padding: 0; text-align: center; }
.ms-bottom .ms-form__fields { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.ms-bottom .ms-consent { justify-content: center; }
.ms-bottom__contacts { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 15px; margin-top: 12px; }
.ms-bottom__contacts .ms-photo-links { margin-top: 0; }
.ms-bottom__phone { font-size: 14px; font-weight: bold; }
.ms-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media (max-width: 1199px) {
    .ms-page .ms-hero { padding-right: 0; background-size: cover; padding-left: 20px; }
    .ms-hero::before { display: none; }
    .ms-hero::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.82); }
    .ms-hero .in-info-t-p-b { position: relative; z-index: 1; padding-right: 20px; }
    .ms-page .ms-sidebar { width: 290px; }
    .ms-hero .tlt-info-t-p-b { font-size: 26px; }
}
@media (max-width: 899px) {
    .ms-how .item-kmr { width: 50%; padding-bottom: 25px; }
    .ms-how .kak-mi-rabotaem { flex-wrap: wrap; }
    .ms-how .kak-mi-rabotaem::before { display: none; }
    .ms-prices .block-price { display: flex; flex-wrap: wrap; }
    .ms-page .ms-sidebar { width: 100%; margin: 22px 0 0; }
}
@media (max-width: 767px) {
    .ms-benefits li { width: 100%; }
}
@media (max-width: 599px) {
    .ms-breadcrumbs { padding: 18px 0; line-height: 1.5; }
    .ms-page h2 { font-size: 22px; margin-bottom: 25px; }
    .ms-page .ms-hero { margin: 0 -10px; padding: 0 15px 20px; min-height: 0; }
    .ms-hero .in-info-t-p-b { display: block; padding: 0; }
    .ms-hero .left-info-t-p-b, .ms-hero .right-info-t-p-b { width: 100%; padding: 0; }
    .ms-hero .tlt-info-t-p-b { font-size: 24px; }
    .ms-hero__subtitle { font-size: 14px; }
    .ms-hero__contact { margin-top: 14px; }
    .ms-hero .ms-form--compact .ms-form__fields { grid-template-columns: minmax(0, 1fr) auto; }
    .ms-page .ms-hero .ms-form--compact input[type="tel"] { height: 46px; }
    .ms-page .ms-hero .ms-form--compact .ms-submit { padding: 0 10px; letter-spacing: 0; }
    .ms-hero .ms-photo-links { gap: 6px; }
    .ms-section { margin-top: 30px; }
    .ms-price-table th:last-child, .ms-price-table td:last-child { width: 34%; }
    .ms-price-table th, .ms-price-table td { font-size: 14px; padding: 12px; }
    .ms-price-table td strong { font-size: 18px; }
    .ms-page .ms-sidebar { margin-top: 24px; padding: 20px 15px; }
    .ms-sidebar .title-r-f { padding-bottom: 22px; }
    .ms-text p { font-size: 16px; line-height: 1.6; }
    .ms-master { padding: 15px 12px; gap: 12px; }
    .ms-master > img { flex-basis: 62px; width: 62px; height: 62px; }
    .ms-master h3 { font-size: 19px; }
    .ms-master p { font-size: 13px; }
    .ms-master .ms-master__experience { margin-bottom: 15px; }
    .ms-how .item-kmr { padding: 0 7px 26px; }
    .ms-how .how-we-work { width: 90px; height: 90px; }
    .ms-how .how-we-work svg { width: 46px; height: 46px; }
    .ms-how .title-who-jobs { font-size: 13px; }
    .ms-page .faq-question { font-size: 16px; }
    .ms-page .faq-answer { font-size: 16px; }
    .ms-map { height: 240px; }
    .ms-map__link { font-size: 12px; padding: 7px 10px; }
    .ms-bottom .ms-form__fields { grid-template-columns: 1fr; gap: 20px; }
    .ms-page .ms-bottom { padding: 25px 0 20px; }
    .ms-page .ms-bottom h2 { font-size: 20px; }
    .ms-bottom__intro { font-size: 14px; }
    .ms-bottom__contacts { gap: 8px; }
    .ms-bottom__phone { font-size: 13px; }
    .metro-service-template .menu-callback { bottom: 8px; }
}
