body {
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 400;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-font-smoothing: subpixel-antialiased;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden
}

a {
    color: #e74c3c;
    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear
}
.nav>li>a {
    position: relative;
    display: block;
    padding: 10px 9px;
}
/* a:hover {
    color: #e76c3c
} */

.row {
    padding: 80px 0px;
    margin: 0;
}

.btn {
    border: none;
    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear;
    text-transform: uppercase;
    border-radius: 0
}

.btn-common {
    background: #28a745;
    color: #fff
}

.btn-common:hover {
    /* background: #e74c3c; */
    color: #fff
}

.title {
    text-align: center;
    font-size: 50px
}

.subtitle {
    text-align: center;
    font-weight: 400;
    padding-bottom: 30px;
    position: relative;
    /* color: #bdc3c7 */
    font-size: 21px;
}


#hero-area,
.content {
    background-image:url(/assets/img/First_bacground.webp);
    background-position: center;
    color: #fff;
    background-size: cover;
}
#hero-area2,
.content {
    background-image:url(/assets/img/First_bacground.webp);
    background-position: center;
    color: #fff;
    background-size: cover;
}
@media (max-width: 768px) {
  #hero-area,
  #hero-area2 {
    background-image: url('/assets/img/mobile_first.webp');
    background-position: center top; /* при желании можно оставить center */
    background-size: cover;
  }
}
.bacground_color{
    background: rgba(0, 0, 0, .7)
}
#hero-area .btn {
    margin-right: 20px
}

#hero-area img {
    max-width: 100%
}

#hero-area p {
    padding-top: 3px;
    margin: 0
}

#services h3 {
    margin-top: 0;
    font-size: 28px;
    color: #e74c3c
}

#portfolio {
    background: #f1f1f1;
    display: none
}

.portfolio-item {
    position: relative;
    margin-bottom: 15px
}

.portfolio-item img {
    width: 100%
}

.portfolio-item .overlay {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: rgba(0, 0, 0, .8);
    display: none
}

.portfolio-item:hover .overlay {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: rgba(0, 0, 0, .8);
    display: block
}

.portfolio-item .icons .preview {
    position: absolute;
    left: 40%;
    top: 40%;
    color: #fff;
    -webkit-animation-name: fadeInLeft;
    animation-name: fadeInLeft;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}

.portfolio-item .icons .preview i {
    color: #e74c3c
}

#clients {
    background: #fff
}

/* ===== About: апгрейд фона ===== */

#about{
  position: relative;
  /* базовый темный фон, ближе к твоему */
  background-color:#000000d9;
  color: white;

  /* мягкие акценты + едва заметный «пиксельный» узор */
  background-image:
    radial-gradient(1100px 700px at 0% 0%, rgba(40,167,69,.10), transparent 60%),
    radial-gradient(900px 600px at 100% 100%, rgba(40,167,69,.06), transparent 60%),
    radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: auto, auto, 14px 14px, 22px 22px;
  background-position: center, center, 0 0, 7px 7px;
  background-repeat: no-repeat, no-repeat, repeat, repeat;
}

/* чуть спокойнее на мобайле */
@media (max-width:767px){
  #about{
    background-size: auto, auto, 12px 12px, 18px 18px;
    background-position: center, center, 0 0, 6px 6px;
  }
}

#faq {
    background: #f9f9f9;
    padding: 60px 0;
  }
  
  #faq h2 {
    color: #2e3033;
    margin-bottom: 40px;
    font-size: 40px;
  }
  
  .faq-item {
    background: #fff;
    border-left: 5px solid #e74c3c;
    padding: 20px 25px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
  }
  
  .faq-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #3d566e;
  }
  
  .faq-item p {
    margin: 0;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
  }
  
  .faq-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  }
  .accordion-button {
  background-color: #fff;
  border: none;
  padding: 15px 25px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 15px;
  color: #2e3033;
  cursor: pointer;
  width: 100%;
  text-align: left;
  border-left: 5px solid #28a745;
  transition: background 0.3s ease;
}

.justify-text p,
.justify-text ul,
.justify-text li {
  text-align: justify;
}
.accordion-button:hover {
  background: #f2f2f2;
}

.accordion-item {
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  border-radius: 5px;
}

.accordion-body {
  padding: 15px 25px;
  background: #fafafa;
  color: #333;
  font-size: 16px;
  border-top: 1px solid #e0e0e0;
}

.accordion-button::after {
  content: "▼";
  float: right;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.accordion-button.collapsed::after {
  transform: rotate(-90deg);
}
/* ChatGPTEND */

#about p {
    line-height: 30px;
    font-size: 17px
}

#contact {
    background: #f1f1f1
}

#contact ::-webkit-input-placeholder {
    color: #111
}

#contact :-moz-placeholder {
    color: #ecf0f1
}

#contact ::-moz-placeholder {
    color: #ecf0f1
}

#contact :-ms-input-placeholder {
    color: #ecf0f1
}

#contact .social i {
    color: #fff;
    padding: 10px;
    margin-right: 5px;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    vertical-align: middle;
    background: #28a745
}

#contact .social .social-links a:hover {
    color: #fff
}

#contact .social .fa-vk:hover {
    background: #28a745;
    color: #fff
}

#contact .social .fa-instagram:hover {
    background: linear-gradient(#400080, transparent), linear-gradient(200deg, #d047d1, red, #ff0)
}

#contact .social .fa-odnoklassniki-square:hover {
    background: #f1670b;
    color: #fff
}

#contact .contact-info {
    margin: 20px 0
}

#contact .contact-info a {
    font-size: 20px
}

#contact .contact-info a>i {
    margin-right: 5px
}

#contact .contact-form .form-control {
    box-shadow: none;
    font-size: 17px;
    margin-bottom: 20px;
    border-radius: 0;
    border: none
}

.to-top i {
    padding: 10px 15px;
    margin: 10px;
    background: 0 0;
    color: #34495e;
    border: 2px solid #34495e
}

.to-top i:hover {
    background: #34495e;
    color: #fff;
    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear
}

#copyright {
    background: #f1f1f1;
    color: #333
}

#copyright a {
    color: #333
}





#copyright {
    text-align: center
}



a.title {
    color: #fff;
    font-size: 45px;
}

a.title:hover {
    text-decoration: none
}

.stock {
    margin-bottom: 50px;
    color: #000
}

.stock-text {
    text-align: center;
    font-size: 24px;
    color: red
}

.subtitle.stock-text {
    padding: 0
}

.phone-div {
    text-align: center
}

.navbar-brand {
    width: 250px;
    background-image: url(/assets/logo.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat
}



.sale-block {
    border: 3px solid;
    width: 768px;
    margin-right: auto;
    align-items: center;
    display: flex;
    margin-left: auto
}

.sale-block>img {
    margin: 15px;
    width: 108px
}
.margin-bottom{
    margin-top: 15px;
}
.text {
    text-align: center;
    padding: 15px;
    font-weight: 700;
    font-size: 30px
}

.text-promo {
    padding: 15px;
    font-size: 50px;
    color: red
}

.work-info {
    /* padding: 50px 0; */
    /* background-color: #34495e; */
    background-image: url(/assets/img/First_bacground.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
    width: 100%;
   
}

.work-info>.container>p {
    font-size: 16px;
    box-align: justify;
    width: 70%;
}

.bacground_color>.container>h3 {
    text-align: center;
    font-size: 30px;
}

.popular-item {
    margin-bottom: 20px;
    min-height: 500px;
    border: 3px solid;
    border-radius: 30px;
    transition: 0.5s;
    position: relative;
}

.tr {
    transition: 0.3s;
}

.tr:hover {
    transform: scale(1.1);
    transition: 0.3s;
}

.popular-item>i {
    padding: 50px;
}

.popular-item>h3 {
    min-height: 50px;
}

.popular-item>p {
    padding: 0px 15px;
    margin-bottom: 25px;
}

.item-price {
    background-color: #ff1900e6;
    padding: 5px;
    width: 165px;
    border: 2px inset black;
    margin: auto;
    font-size: 26px;
    color: #fff;
    border-radius: 30px;
    position: absolute;
    /*   top: 400px; */
    left: 0;
    bottom: 10px;
    right: 0;
}

.popular-item:hover {
    transform: scale(1.05);
    transition: 0.5s;
}

.article-name,
.article-part {
    text-align: center;
}

.info-block {
        /* display: flex; */
    min-height: 400px;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.article-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-img img {
    width: 100%;
}

.page-block {
    display: flex;
    align-items: center;
    border: 1px solid;
}

.page-img {
    border-right: 1px solid;
}

.macbook-margin {
    margin-top: 20px;
    padding-left: 0%;
}
.magicbook-margin{
    margin-top: 20px;
    height: 368PX;
}


.fa-ambulance,
.fa-percent,
.fa-cogs-2 {
    font-size: 120px;
    margin-bottom: 30px;
    margin-top: 30px;
}


/* .ogranich {
    height: 88px;
} */

.fa-exclamation-triangle {
    font-size: 120px;
    margin-right: 100px;
    margin-top: 20px;
    color: #e74c3ce6;
}

.container-flex {
    display: flex;
    justify-content: space-between;
}
.font-small {
    font-size: 14px;
}
.margin-map {
    margin-top: 3%;
    margin-bottom: 3%;
}
.akciya{
    color: red;
    font-size: 30px;
    font-weight: 600;
    margin: auto;
    position: absolute;
    top: 73%; left: 0; bottom: 0; right: 0;
}
.item-price-akciya {
    background-color: #ffffffe6;
    padding: 5px;
    width: 165px;
    border: 2px inset rgb(255, 1, 1);
    margin: auto;
    font-size: 26px;
    color: rgb(255, 0, 0);
    border-radius: 30px;
    position: absolute;
    /*   top: 400px; */
    left: 0;
    bottom: 10px;
    right: 0;
    font-weight: 800;
}
.flex-block{
    display: row;
    align-items: center;
    justify-content:center;
    margin-top: 3%;
    width:100%;
    /* flex-direction: column; */
}
/* .flex-block-img{
   
    width:auto;
    height:auto;
    background-position: center;
    background-size: cover;
} */
.flex-block-item{
    width: 100%;
}


@media (max-width: 768px) {
    .badge-item {
      width: 100% !important;
    }
  }
@media screen and (max-width: 900px){
    a.title {
        color: #fff;
        font-size: 32px;
    }
}
@keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.5);
    }
    70% {
      box-shadow: 0 0 0 12px rgba(231, 76, 60, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
    }
  }
  @font-face {
    font-family: 'FontAwesome';
    src: url('fontawesome-webfont.woff2') format('woff2');
    font-display: swap;
  }
  .call-expand-wrapper {
    text-align: center;
    margin-top: 30px;
  }
  .call-fab{
    position: fixed;
    right: 16px;
    bottom: 16px; /* базовый отступ */
    bottom: calc(16px + env(safe-area-inset-bottom)); /* iOS safe area */
    z-index: 10000;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg,#28a745,#34d058);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(40,167,69,.35);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  }
  .call-fab i{ font-size: 22px; line-height: 1; }
  .call-fab:hover{ box-shadow: 0 10px 24px rgba(40,167,69,.45); }
  .call-fab:active{ transform: scale(.96); }

  /* Мягкая пульсация */
  .call-fab::after{
    content: '';
    position: absolute; inset: -6px;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(40,167,69,.35);
    animation: callPulse 2.2s infinite;
    pointer-events: none;
  }
  @keyframes callPulse{
    0%   { box-shadow: 0 0 0 0 rgba(40,167,69,.35); }
    70%  { box-shadow: 0 0 0 14px rgba(40,167,69,0); }
    100% { box-shadow: 0 0 0 0 rgba(40,167,69,0); }
  }

  /* Показываем только на мобильных */
  @media (min-width: 769px){
    .call-fab{ display: none; }
  }
  .expand-button {
    position: relative;
    padding: 14px 30px 5px;
    font-size: 21px;
    font-weight: bold;
    border-radius: 36px;
    background-color: #28a745;
    color: #fff;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    /* animation: pulse 2s infinite; */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  
  .expand-button .hidden-numbers {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    margin-top: 10px;
  }
  
  .expand-button.expanded {
    padding-bottom: 25px;
    border-radius: 24px;
  }
  
  .expand-button.expanded .hidden-numbers {
    max-height: 100px;
    opacity: 1;
  }
  
  .hidden-numbers a {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    margin-top: 5px;
  }
  
  .hidden-numbers a:hover {
    text-decoration: underline;
  }
  
  @keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
  }

  @media (max-width: 767px) {
    .expand-button {
      width: 90%;
    }
  }

  .pulse-button {
    display: inline-block;
    padding: 14px 30px;
    font-size: 21px;
    border-radius: 36px;
    background-color: #28a745;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    margin-left: 20px;
  }
  .navbar {
    width: 100% !important;
    box-sizing: border-box;
  }
  #maybe-interest{
    background:#dbdbdb;
    /* border-radius:16px;   */        /* аккуратно скруглим */
    padding:28px 22px;           /* чтобы фон не прилипал к карточкам */
  }
  
  /* карточки остаются белыми на сером фоне */
  #maybe-interest .mi-card{ background:#fff; }
  #maybe-interest h2{ margin-bottom:24px; }  /* можно уменьшить отступ под заголовком */
   .mi-grid{
    list-style:none; padding:0; margin:0;
    display:grid; gap:16px;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    justify-items:center;
  }
  
  /* карточка — фиксируем ширину и добавляем высоту */
  .mi-card{
    width:100%;
    max-width:290px;
    min-height:350px;            /* ↑ стала немного выше */
    background:#fff;
    border:0;
    border-radius:14px;
    box-shadow:0 6px 18px rgba(0,0,0,.06);
    overflow:hidden;
    display:flex; flex-direction:column; height:100%;
  }
  
  /* обложка — по центру, картинка без обрезки */
  .mi-cover{
    width:100%;
    height:190px;                /* фиксированная «рамка» под разный формат изображений */
    display:flex; align-items:center; justify-content:center;
    overflow:hidden; background:#fff;
  }
  .mi-cover img{
    max-width:100%; max-height:100%;
    width:auto; height:auto; object-fit:contain; display:block;
  }
  
  /* текст — центрируем */
  .mi-body{
    padding:16px 14px 18px;
    display:flex; flex-direction:column; gap:10px; flex:1 1 auto;
    align-items:center; text-align:center;
  }
  .mi-title{ font-size:18px; line-height:1.25; margin:0; }
  .mi-title a{ color:inherit; text-decoration:none; }
  .mi-title a:hover{ text-decoration:underline; }
  .mi-desc{
    color:#666; font-size:14px; line-height:1.35; margin:0;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  }
  
  /* кнопка по центру снизу */
  .mi-actions{ margin-top:auto; display:flex; justify-content:center; }
  .mi-btn{
    display:inline-block; padding:9px 12px; font-size:14px; font-weight:700; 
    background:#28a745; color:#fff; border-radius:8px; text-decoration:none;
  }
  
  /* на телефоне показываем одну карточку */
  @media (max-width:768px){
    /* .mi-grid > li:nth-child(n+2){ display:none; } */
    .mi-cover{ height:200px; }   /* на мобиле картинку можно сделать чуть выше */
  }
  /* RMTEX: "Смотрите также" — единый стиль */
:root{
    --green:#28a745;
    --green-dark:#1e7e34;
    --green-mid:#66cc88;
    --ring:rgba(40,167,69,.22);
  }
  
  /* Секция */
  .see-also-section{margin:40px 0}
  .see-also-section .section-title{margin:0 0 16px;text-align:center}
  .see-also-section .section-title::after{
    content:"";display:block;width:72px;height:3px;margin:10px auto 0;
    background:var(--green);border-radius:2px;opacity:.8;
  }
  .see-also-section>.container{max-width:1140px} /* вписываемся в сетку */
  
  /* Грид с бейджами */
  .see-badges{
    display:flex;flex-wrap:wrap;gap:10px 12px;justify-content:center;
    list-style:none;margin:0;padding:0;
  }
  
  /* Бейдж */
  .see-badge a{
    display:inline-flex;align-items:center;gap:10px;
    padding:10px 14px;
    border:2px solid transparent;
    background:
      linear-gradient(#fff,#fff) padding-box,
      linear-gradient(135deg,var(--green-dark),var(--green-mid)) border-box;
    border-radius:999px;
    color:#111; text-decoration:none; line-height:1; white-space:nowrap;
    box-shadow:0 1px 3px rgba(0,0,0,.04);
    transition:transform .15s, box-shadow .15s, background .15s;
  }
  .see-badge a:hover{
    transform:translateY(-2px);
    background:
      linear-gradient(#fff,#fff) padding-box,
      linear-gradient(135deg,var(--green-dark),var(--green)) border-box;
    box-shadow:0 0 0 3px var(--ring), 0 8px 18px rgba(0,0,0,.10);
  }
  .see-badge a:focus-visible{
    outline:none;
    box-shadow:0 0 0 3px var(--ring), 0 8px 18px rgba(0,0,0,.12);
  }
  
  /* Иконка */
  .see-badge i{color:var(--green);opacity:.95}
  
  /* Якоря не прячем под фикс-шапку */
  [id="prices"],[id="popular"]{scroll-margin-top:80px}
  
  /* Мобильная плотность */
  @media (max-width:576px){
    .see-badge a{padding:8px 12px;border-width:1.5px}
  }

  /* === Карусель поверх существующих карточек === */
.mi-carousel{ position:relative; --per:1; --gap:16px; }
@media (min-width:576px){ .mi-carousel{ --per:2; } }
@media (min-width:992px){ .mi-carousel{ --per:3; } }
@media (min-width:1200px){ .mi-carousel{ --per:4; } }

/* превращаем .mi-grid в горизонтальную ленту внутри .mi-carousel */
.mi-carousel .mi-grid{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  gap:var(--gap);
  overflow-x:auto; overflow-y:hidden;
  scroll-snap-type:x mandatory;
  padding:4px 2px 10px;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.mi-carousel .mi-grid::-webkit-scrollbar{ display:none; }
.mi-carousel .mi-grid > li{ scroll-snap-align:start; }

/* стрелки */
.mi-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:40px; height:40px; border-radius:999px; border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  background:#fff; color:#333;
  box-shadow:0 8px 24px rgba(0,0,0,.12), 0 0 0 2px rgba(0,0,0,.04);
  transition:transform .15s, box-shadow .15s, background .15s;
  z-index:3;
}
.mi-prev{ left:-10px; } .mi-next{ right:-10px; }
.mi-nav:hover{ transform:translateY(-50%) scale(1.06); box-shadow:0 10px 28px rgba(0,0,0,.16); }
.mi-nav:focus-visible{ outline:none; box-shadow:0 0 0 3px rgba(40,167,69,.22); }
@media (max-width:576px){ .mi-prev{ left:-6px; } .mi-next{ right:-6px; } }

/* точки */
.mi-dots{ display:flex; gap:8px; justify-content:center; margin-top:10px; }
.mi-dot{ width:8px; height:8px; border-radius:999px; background:#cfd6dc; }
.mi-dot.is-active{ background:#28a745; }

/* Центрируем карточку в карусели на мобилках */
@media (max-width: 575px){
    .mi-carousel .mi-grid{
      justify-content:center;      /* центрируем контент */
      grid-auto-columns: 80%;      /* ширина карточки от ширины контейнера */
    }
    .mi-carousel .mi-grid > li{
      display:flex;                /* чтобы карточка не растягивалась */
      justify-content:center;
    }
  }

  /* Мобилка: карточка всегда по центру после пролистывания */
@media (max-width: 575px){
    .mi-carousel .mi-grid{
      --mobw: 90%;                                /* ширина карточки относительно контейнера */
      grid-auto-columns: var(--mobw);
      justify-content: initial;                   /* центр больше не нужен, используем snap */
      scroll-snap-type: x mandatory;
      scroll-snap-stop: always;
      /* «виртуальные поля» слева/справа = половина свободного места,
         чтобы центр карточки совпадал с центром контейнера */
      scroll-padding-left:  calc((100% - var(--mobw)) / 2);
      scroll-padding-right: calc((100% - var(--mobw)) / 2);
      padding-left:  calc((100% - var(--mobw)) / 2);
      padding-right: calc((100% - var(--mobw)) / 2);
    }
    .mi-carousel .mi-grid > li{
      scroll-snap-align: center;                  /* снэпим по центру */
      display: flex;                              
      justify-content: center;
    }
  }
  .mi-card.is-hidden {
    display: none !important;
  }
  .mi-slide.is-hidden { display: none !important; }
  :root{
    --accent:#28a745;
    --ring:rgba(40,167,69,.18);
    --card-b:#fff;
    --card-br:#e6e9ef;
    --text:#111;
    --muted:#666;
  }
  
  /* секция */
  .feature-tiles{margin:28px auto 8px}
  .feature-tiles .title{margin-bottom:18px}
  
  /* сетка карточек */
  .fi-grid{
    list-style:none; margin:0; padding:0;
    display:grid; gap:16px;
    grid-template-columns:repeat(auto-fit, minmax(240px,1fr));
  }
  
  /* карточка */
  .fi-card{
    background:var(--card-b);
    border:1px solid var(--card-br);
    border-radius:16px;
    padding:18px 16px 16px;
    box-shadow:0 6px 18px rgba(0,0,0,.06);
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }
  .fi-card:hover,
  .fi-card:focus-within{
    transform:translateY(-4px);
    box-shadow:0 10px 24px rgba(0,0,0,.10), 0 0 0 3px var(--ring);
    border-color:transparent;
  }
  
  /* иконка в «кольце» с градиентной обводкой */
  .fi-ico{
    display:inline-grid; place-items:center;
    width:52px; height:52px; border-radius:50%;
    margin-bottom:10px;
    background:
      linear-gradient(#fff,#fff) padding-box,
      linear-gradient(135deg, rgba(40,167,69,.85), rgba(40,167,69,.35)) border-box;
    border:2px solid transparent;
    box-shadow:0 1px 3px rgba(0,0,0,.05);
  }
  .fi-ico i{color:var(--accent); font-size:22px;}
  
  /* заголовок + текст */
  .fi-title{font-size:18px; line-height:1.25; margin:0 0 6px; color:var(--text)}
  .fi-desc{margin:0; color:var(--muted); line-height:1.35}
  
  /* адаптив: на узких — центрировать */
  @media (max-width:768px){
    .fi-card{ text-align:center; }
    .fi-ico{ margin-left:auto; margin-right:auto; }
  }

  :root{
    --accent:#28a745;
    --ring:rgba(40,167,69,.18);
    --card-b:#fff;
    --card-br:#e6e9ef;
    --text:#111;
    --muted:#666;
  }
  
  /* секция */
  .feature-tiles{margin:28px auto 8px}
  .feature-tiles .title{margin-bottom:18px}
  
  /* сетка */
  .fi-grid{
    list-style:none; margin:0; padding:0;
    display:grid; gap:16px;
    grid-template-columns:repeat(auto-fit, minmax(240px,1fr));
  }
  
  /* карточка */
  .fi-card{
    background:var(--card-b);
    border:1px solid var(--card-br);
    border-radius:16px;
    padding:18px 16px 16px;
    box-shadow:0 6px 18px rgba(0,0,0,.06);
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }
  .fi-card:hover,.fi-card:focus-within{
    transform:translateY(-4px);
    box-shadow:0 10px 24px rgba(0,0,0,.10), 0 0 0 3px var(--ring);
    border-color:transparent;
  }
  
  /* иконка в кольце с градиентной обводкой */
  .fi-ico{
    --ico:#28a745;           /* по умолчанию */
    --ico-dark:#1e7e34;
    --ico-mid:#66cc88;
  
    display:inline-grid; place-items:center;
    width:52px; height:52px; border-radius:50%;
    margin-bottom:10px;
    background:
      linear-gradient(#fff,#fff) padding-box,
      linear-gradient(135deg, var(--ico-dark), var(--ico-mid)) border-box;
    border:2px solid transparent;
    box-shadow:0 1px 3px rgba(0,0,0,.05);
  }
  .fi-ico i{color:var(--ico); font-size:22px; opacity:.95}
  
  /* заголовок + текст */
  .fi-title{font-size:18px; line-height:1.25; margin:0 0 6px; color:var(--text)}
  .fi-desc{margin:0; color:var(--muted); line-height:1.35}
  
  /* CTA под сеткой */
  .fi-cta{display:flex; justify-content:center; margin-top:14px}
  
  /* адаптив */
  @media (max-width:768px){
    .fi-card{ text-align:center; }
    .fi-ico{ margin-left:auto; margin-right:auto; }
  }
  
  /* цветовые варианты — мягкие, без «кислоты» */
  .c-green .fi-ico { --ico:#28a745; --ico-dark:#1e7e34; --ico-mid:#66cc88; }
  .c-teal  .fi-ico { --ico:#1abc9c; --ico-dark:#0f8f79; --ico-mid:#65dbc7; }
  .c-blue  .fi-ico { --ico:#3b82f6; --ico-dark:#1d4ed8; --ico-mid:#93c5fd; }
  .c-indigo.fi-card .fi-ico { --ico:#6366f1; --ico-dark:#4338ca; --ico-mid:#a5b4fc; }
  .c-violet.fi-card .fi-ico { --ico:#8b5cf6; --ico-dark:#6d28d9; --ico-mid:#c4b5fd; }
  .c-amber .fi-ico { --ico:#f59e0b; --ico-dark:#b45309; --ico-mid:#fcd34d; }
  .c-cyan  .fi-ico { --ico:#06b6d4; --ico-dark:#0e7490; --ico-mid:#67e8f9; }
  .c-rose  .fi-ico { --ico:#f43f5e; --ico-dark:#be123c; --ico-mid:#fda4af; }
  
  /* мелкий трюк: не перегружать красным — легкая прозрачность уже стоит у иконки */
  /* цветовые пресеты (мягкие пастельные) */
.fi-card.c-green { --accent:#28a745; --accent2:rgba(40,167,69,.35); }   /* зелёный */
.fi-card.c-teal  { --accent:#20c997; --accent2:rgba(32,201,151,.35); }  /* бирюза */
.fi-card.c-blue  { --accent:#3b7ddd; --accent2:rgba(59,125,221,.35); }  /* синий */
.fi-card.c-indigo{ --accent:#6366f1; --accent2:rgba(99,102,241,.35); }  /* индиго */
.fi-card.c-violet{ --accent:#6f42c1; --accent2:rgba(111,66,193,.35); }  /* фиолетовый */
.fi-card.c-amber { --accent:#ffb020; --accent2:rgba(255,176,32,.35); }  /* янтарный */
.fi-card.c-cyan  { --accent:#17a2b8; --accent2:rgba(23,162,184,.35); }  /* циан */
.fi-card.c-rose  { --accent:#e83e8c; --accent2:rgba(232,62,140,.35); }  



:root{
  --accent:#28a745;
  --rule:#e6e9ef;             /* нейтральный серый для линий */
}

/* базовый контейнер */
.rule{
  margin:28px auto 24px;
  max-width:1100px;           /* под твою сетку */
}

/* точки */
.rule--dots{
  border:0; height:8px;
  background:
    radial-gradient(circle, rgba(40,167,69,.65) 2px, transparent 2px) repeat-x;
  background-size:16px 8px;   /* шаг точек */
  background-position:center;
  border-radius:999px;
}

/* ===== WC v1 — изолированный стиль; без подложек/колец; цвета как в блоке 4 ===== */
#win-cases-new.wc .wc-grid{margin:0;padding:0;list-style:none;display:block}
#win-cases-new.wc .wc-item{
  display:flex;gap:14px;align-items:flex-start;
  padding:16px 18px;margin:0 0 10px;background:#fff;
  border:1px dashed #e5e7eb;border-radius:12px;border-left:4px solid #e5e7eb;
  box-shadow:0 1px 6px rgba(0,0,0,.04);transition:box-shadow .2s,transform .15s;
}
#win-cases-new.wc .wc-item:hover{box-shadow:0 8px 22px rgba(0,0,0,.06);transform:translateY(-2px)}

#win-cases-new.wc .wc-ico{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;margin-top:2px}
#win-cases-new.wc .wc-ico i{font-size:20px}

/* — Точные цвета из блока 4: лента (border-left) + цвет иконки — */
#win-cases-new.wc .wc-green  { border-left-color:rgba(40,167,69,.35)  !important; }
#win-cases-new.wc .wc-green  .wc-ico i{ color:#28a745 !important; }

#win-cases-new.wc .wc-teal   { border-left-color:rgba(32,201,151,.35) !important; }
#win-cases-new.wc .wc-teal   .wc-ico i{ color:#1abc9c !important; }

#win-cases-new.wc .wc-blue   { border-left-color:rgba(59,125,221,.35) !important; }
#win-cases-new.wc .wc-blue   .wc-ico i{ color:#3b82f6 !important; }

#win-cases-new.wc .wc-indigo { border-left-color:rgba(99,102,241,.35) !important; }
#win-cases-new.wc .wc-indigo .wc-ico i{ color:#6366f1 !important; }

#win-cases-new.wc .wc-violet { border-left-color:rgba(111,66,193,.35)!important; }
#win-cases-new.wc .wc-violet .wc-ico i{ color:#8b5cf6 !important; }

#win-cases-new.wc .wc-amber  { border-left-color:rgba(255,176,32,.35)!important; }
#win-cases-new.wc .wc-amber  .wc-ico i{ color:#f59e0b !important; }

#win-cases-new.wc .wc-cyan   { border-left-color:rgba(23,162,184,.35) !important; }
#win-cases-new.wc .wc-cyan   .wc-ico i{ color:#06b6d4 !important; }

#win-cases-new.wc .wc-rose   { border-left-color:rgba(232,62,140,.35)!important; }
#win-cases-new.wc .wc-rose   .wc-ico i{ color:#f43f5e !important; }

@media (max-width:768px){
  #win-cases-new.wc .wc-ico{width:22px;height:22px}
  #win-cases-new.wc .wc-title{font-size:17px}
  #win-cases-new.wc .wc-desc{font-size:14px}
}
#win-cases-new.wc.wc--list .wc-item{
  background:transparent; border:0; border-left:4px solid;  /* цвет задаёт wc-green/teal/... */
  border-bottom:1px solid #eee; border-radius:0; box-shadow:none;
  padding:14px 0 14px 18px; transform:none;
}
#win-cases-new.wc.wc--list .wc-item:last-child{ border-bottom:0; }
#win-cases-new.wc.wc--list .wc-item:hover{ background:#fafafa; }
#win-cases-new.wc.wc--list .wc-ico{ margin-top:1px; } /* выравнивание по тексту */
#win-cases-new.wc.wc--list .wc-item{
  align-items: baseline;                 /* ключ: baseline вместо flex-start/center */
}

.note-lic{margin:8px 0 0;font-size:13px;color:#555}






.wc-block .wc-grid{margin:0;padding:0;list-style:none;display:block}

/* карточка-строка */
.wc-block .wc-item{
  display:flex;gap:14px;align-items:flex-start;
  padding:16px 18px;margin:0 0 10px;background:#fff;
  border:1px dashed #e5e7eb;border-radius:12px;border-left:4px solid #e5e7eb;
  box-shadow:0 1px 6px rgba(0,0,0,.04);transition:box-shadow .2s,transform .15s
}
.wc-block .wc-item:hover{box-shadow:0 8px 22px rgba(0,0,0,.06);transform:translateY(-2px)}
.wc-block .wc-item:active{transform:translateY(-1px) scale(.997)}

/* иконка + заголовок в линию */
.wc-block .wc-ico{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;margin-top:2px}
.wc-block .wc-ico i{font-size:20px;line-height:1}
.wc-block .wc-title{margin:0 0 4px;font-size:18px}
.wc-block .wc-desc{margin:0;font-size:14px;line-height:1.55}

/* компактный вариант списком */
.wc-block.wc--list .wc-item{
  background:transparent;border:0;border-left:4px solid; /* цвет дадим классами ниже */
  border-bottom:1px solid #eee;border-radius:0;box-shadow:none;
  padding:14px 0 14px 18px;transform:none;align-items:baseline
}
.wc-block.wc--list .wc-item:last-child{border-bottom:0}
.wc-block.wc--list .wc-item:hover{background:#fafafa}
.wc-block.wc--list .wc-ico{margin-top:1px}

/* пастельная палитра — как в 4-м блоке */
.wc-block .wc-green  {border-left-color:rgba(40,167,69,.35)!important}
.wc-block .wc-teal   {border-left-color:rgba(32,201,151,.35)!important}
.wc-block .wc-blue   {border-left-color:rgba(59,125,221,.35)!important}
.wc-block .wc-indigo {border-left-color:rgba(99,102,241,.35)!important}
.wc-block .wc-violet {border-left-color:rgba(111,66,193,.35)!important}
.wc-block .wc-amber  {border-left-color:rgba(255,176,32,.35)!important}
.wc-block .wc-cyan   {border-left-color:rgba(23,162,184,.35)!important}
.wc-block .wc-rose   {border-left-color:rgba(232,62,140,.35)!important}

.wc-block .wc-green  .wc-ico i{color:#28a745!important}
.wc-block .wc-teal   .wc-ico i{color:#1abc9c!important}
.wc-block .wc-blue   .wc-ico i{color:#3b82f6!important}
.wc-block .wc-indigo .wc-ico i{color:#6366f1!important}
.wc-block .wc-violet .wc-ico i{color:#8b5cf6!important}
.wc-block .wc-amber  .wc-ico i{color:#f59e0b!important}
.wc-block .wc-cyan   .wc-ico i{color:#06b6d4!important}
.wc-block .wc-rose   .wc-ico i{color:#f43f5e!important}

@media (max-width:768px){
  .wc-block .wc-ico{width:22px;height:22px}
  .wc-block .wc-title{font-size:17px}
  .wc-block .wc-desc{font-size:14px}
}
.lead-note{font-size:18px;line-height:1.6;margin:6px 0 8px}
.lead-note i{margin-right:6px;color:#28a745}
.lead-note .muted{color:#6c757d;font-size:14px;display:block;margin-top:2px}
:root{--anchor-offset:84px}
[id]{scroll-margin-top:var(--anchor-offset)}
.toc a{margin:0 6px; text-decoration:underline}
@media (max-width:768px){.toc{line-height:1.8}}

/* те же переменные */
:root{ --accent:#28a745; --rule:#e6e9ef }

/* обёртка секции: в габаритах .rule (не шире контейнера) */
.section-wrap{
  position:relative;
  width:100%;
  max-width:1100px;          /* как у .rule */
  margin:18px auto;          /* центрируем как .rule */
  padding:14px 16px;
  border-radius:18px;
  background:#fff;
  overflow:hidden;           /* ничего не «выпирает» за радиус */
}

/* точечный «периметр» — тот же шаг, что в .rule--dots */
.section-wrap--dots::before{
  content:"";
  position:absolute; inset:0;
  pointer-events:none; border-radius:inherit;
  --dot-w:16px;    /* шаг по горизонтали  */
  --dot-h:8px;     /* шаг по вертикали    */
  --dot-r:2px;     /* радиус точки        */
  background:
    radial-gradient(circle, rgba(40,167,69,.65) var(--dot-r), transparent calc(var(--dot-r) + .6px))
      top    center / var(--dot-w) var(--dot-h) repeat-x,
    radial-gradient(circle, rgba(40,167,69,.65) var(--dot-r), transparent calc(var(--dot-r) + .6px))
      bottom center / var(--dot-w) var(--dot-h) repeat-x,
    radial-gradient(circle, rgba(40,167,69,.65) var(--dot-r), transparent calc(var(--dot-r) + .6px))
      left   center / var(--dot-h) var(--dot-w) repeat-y,
    radial-gradient(circle, rgba(40,167,69,.65) var(--dot-r), transparent calc(var(--dot-r) + .6px))
      right  center / var(--dot-h) var(--dot-w) repeat-y;
}

/* твой «вкусный» абзац */
.lead-note{font-size:18px;line-height:1.6;margin:6px 0 2px;text-align:center}
.lead-note i{margin-right:6px;color:#28a745}
.lead-note .muted{color:#6c757d;font-size:14px;display:block;margin-top:2px}

@media (max-width:768px){
  .section-wrap{padding:12px;border-radius:14px}
}

/* Chips (KPI-лента) — в едином стиле с feature-tiles */
/* Chips (KPI-лента) */
.chips{
  display:flex; flex-wrap:wrap; justify-content:center;
  gap:10px 12px; margin:8px 0 18px; padding:0; list-style:none;
}
.chip{
  display:inline-flex; align-items:center; gap:8px;
  padding:9px 12px; border:2px solid transparent;
  background:
    linear-gradient(#fff,#fff) padding-box,
    linear-gradient(135deg,var(--chip-dark,#1e7e34),var(--chip-mid,#66cc88)) border-box;
  border-radius:999px; font-weight:700; color:#111;
  box-shadow:0 1px 4px rgba(0,0,0,.05);
}
.chip i{ color:var(--chip,#28a745); }

/* Палитра: используем твои пресеты */
.chip.c-cyan   { --chip:#06b6d4; --chip-dark:#0e7490; --chip-mid:#67e8f9; }
.chip.c-amber  { --chip:#f59e0b; --chip-dark:#b45309; --chip-mid:#fcd34d; }
.chip.c-violet { --chip:#8b5cf6; --chip-dark:#6d28d9; --chip-mid:#c4b5fd; }
.chip.c-indigo { --chip:#6366f1; --chip-dark:#4338ca; --chip-mid:#a5b4fc; }

@media (max-width:768px){
  .chip{ padding:8px 10px; font-weight:600; }
}
.benefits-subtitle{margin:0 auto 18px; text-align:center; color:#667; max-width:740px}
/* нижняя сноска с иконкой по центру */
.fi-note{
  display:flex; align-items:center; justify-content:center;
  gap:8px; flex-wrap:wrap;
  color:#6c757d; font-size:13px; margin:10px 0 6px;
}

/* мини-чип для сноски (аккуратнее по размеру) */
.chip--mini{ padding:6px 10px; border-width:1.5px; font-weight:600; }
.chip--mini i{ font-size:12px; }
/* Чипы: полноширинные на мобайле */
@media (max-width: 576px){
  .chips{
    flex-direction: column;
    align-items: stretch;      /* растягиваем каждый чип на всю ширину */
    gap: 8px;
  }
  .chips .chip{
    width: 100%;
    justify-content: center;   /* текст и иконка по центру */
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    border-radius: 25px;
  }
  .chips .chip i{ margin-right: 6px; }
}

/* ===== Vars ===== */
:root{
  --accent:#28a745;
  --accent-dark:#1e7e34;
  --topbar-h:48px;
  --navbar-h:50px;
  --overlap:40px; /* сколько контента заходит под шапку */
}

/* ===== Topbar ===== */
.topbar{background:#0f1316;color:#cfe3d6;font-size:16px;line-height:1;padding:8px 0}
.topbar .topbar-inner{display:flex;justify-content:space-between;align-items:center;gap:12px}
.tb-left,.tb-right{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.tb-phones{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.tb-item{display:inline-flex;align-items:center;gap:6px}
.tb-item i{color:var(--accent)}
.tb-sep{opacity:.35}
.tb-link{color:#a7b7ad}
.tb-link:hover{color:#e9f2ec}
.tb-call{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:2px solid var(--accent);border-radius:10px;color:#e9f2ec}
.tb-call:hover{background:var(--accent);color:#fff;text-decoration:none}

/* v140: разворот иконки телефона влево во всех контактных ссылках, кроме липкой кнопки */
body.rm-home-page a[href^="tel:"]:not(.call-fab) .fa-phone {
  display: inline-block;
  transform: scaleX(-1);
}
.topbar--fixed{position:fixed;top:0;left:0;right:0;z-index:1031}

/* логотип в topbar */
.topbar .top-logo{display:inline-block;height:32px;margin-right:12px;vertical-align:middle}
.topbar .navbar-brand{float:none;margin:0;padding:0;height:32px;line-height:32px}

/* ===== Navbar ===== */
.navbar{z-index:1032}
.navbar.navbar-default{border:0;box-shadow:0 6px 20px rgba(0,0,0,.08);background:#111}
.navbar-default .navbar-brand{height:var(--navbar-h)}
.navbar-default .navbar-nav>li>a{
  color:#f3f7f4 !important;font-weight:700;background:transparent !important;
  padding:14px 16px;position:relative;line-height:20px
}
.navbar-default .navbar-nav>li>a::after{
  content:"";position:absolute;left:10px;right:10px;bottom:6px;height:2px;
  background:var(--accent);border-radius:2px;transform:scaleX(0);transform-origin:center;
  transition:transform .18s ease
}
.navbar-default .navbar-nav>li:hover>a::after,
.navbar-default .navbar-nav>.active>a::after,
.navbar-default .navbar-nav>.open>a::after{transform:scaleX(1)}
.navbar-default .navbar-nav>li>a:hover{color:#fff !important}
.navbar-default .navbar-nav>li{background:transparent !important}

/* Dropdown (desktop look) */
.dropdown-menu{border-radius:8px;border:1px solid #e6e9ef;padding:8px 0;min-width:260px}
.dropdown-menu>li>a{color:#333 !important;background:#fff !important;padding:8px 14px;position:relative}
.dropdown-menu>li>a::after{
  content:"";position:absolute;left:12px;right:12px;bottom:6px;height:2px;background:var(--accent);
  border-radius:2px;transform:scaleX(0);transition:transform .18s ease
}
.dropdown-menu>li>a:hover{color:var(--accent-dark) !important;background:#fff !important}
.dropdown-menu>li>a:hover::after{transform:scaleX(1)}
/* тушим «красные» стоки bootstrap */
.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover,
.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,
.dropdown-menu>.active>a,
.dropdown-menu>.active>a:hover,
.dropdown-menu>.active>a:focus{
  color:var(--accent-dark) !important; background:#fff !important;
}

/* 2 колонки для длинных списков (desktop) */
.dropdown-menu.dropdown-cols{width:460px}
@media (min-width:768px){
  .dropdown-menu.dropdown-cols{-webkit-columns:2;columns:2}
  .dropdown-menu.dropdown-cols>li{break-inside:avoid}
}

/* Смещение контента (fixed topbar + navbar) */
.navbar.navbar-fixed-top{ top: var(--topbar-h); }
body{ padding-top: calc(var(--topbar-h) + var(--navbar-h)); }

/* ===== Desktop layout ===== */
@media (min-width:768px){
  .navbar-default .navbar-collapse{
    display:flex !important;justify-content:center;align-items:center;gap:10px;
  }
  .navbar-default .navbar-nav{float:none !important;display:flex;flex-wrap:wrap;align-items:center;gap:0;margin:0}
  .navbar-default .navbar-nav.navbar-right{display:none !important}
}

/* ===== Backdrop для мобильной шторки ===== */
.nav-backdrop{
  position:fixed;inset:0;background:rgba(0,0,0,.35);
  z-index:1025;display:none;
}
.nav-backdrop.show{display:block}

/* ===== Бургер → крестик (Bootstrap 3) ===== */
.navbar-toggle .icon-bar{transition:transform .2s ease,opacity .2s ease}
.navbar-toggle:not(.collapsed) .icon-bar:nth-of-type(2){transform:translateY(6px) rotate(45deg)}
.navbar-toggle:not(.collapsed) .icon-bar:nth-of-type(3){opacity:0}
.navbar-toggle:not(.collapsed) .icon-bar:nth-of-type(4){transform:translateY(-6px) rotate(-45deg)}


@media (max-width:767px){
  .topbar{display:none}
  .navbar.navbar-fixed-top{top:0}
  body{padding-top:var(--navbar-h)}

  
  .navbar-default .navbar-nav>li,
  .navbar-nav .open .dropdown-menu>li{ text-align:center }
  .navbar-default .navbar-nav>li>a,
  .navbar-nav .open .dropdown-menu>li>a{ display:block;text-align:center;padding:12px 15px }

  
  .navbar-collapse{
    max-height: calc(100vh - 56px) !important;
    overflow-y:auto !important;
    -webkit-overflow-scrolling:touch;
  }

 
  .navbar-nav .open .dropdown-menu{
    position:static;float:none;width:auto;margin:0;background:transparent;border:0;box-shadow:none;padding:0;
  }

  /* отключаем 2 колонки на мобилке */
  .dropdown-menu.dropdown-cols{width:auto;-webkit-columns:auto;columns:auto}

  /* нижний блок с адресом и часами */
  .nav-xs-extra{margin:8px 0 10px;padding-top:10px;border-top:1px dashed rgba(255,255,255,.15)}
  .nav-xs-extra .xs-info{display:block;text-align:center;color:#cfe3d6;font-size:18px;line-height:1.4;padding:4px 0}
  .nav-xs-extra .xs-info i{color:var(--accent);margin-right:6px}
  .nav-xs-phones{margin:8px 0 4px;padding:0 15px}
  .nav-xs-phone-link{display:flex;align-items:center;justify-content:center;gap:8px;margin:7px auto;padding:9px 12px;border-radius:12px;background:rgba(40,167,69,.14);border:1px solid rgba(40,167,69,.45);color:#f5fff7 !important;font-weight:800;text-decoration:none !important;max-width:260px}
  .nav-xs-phone-link i{color:#58e276}
}
body{ padding-top: calc(var(--topbar-h) + var(--navbar-h) - var(--overlap)); }

@media (max-width:767px){
  .topbar{display:none}
  .navbar.navbar-fixed-top{ top:0 }
  /* контент заходит под navbar на 40px */
  body{ padding-top: calc(var(--navbar-h) - var(--overlap)); }
}
/* универсально для секций с id */
[id]{ scroll-margin-top: calc(var(--topbar-h) + var(--navbar-h) - var(--overlap) + 8px); }

@media (max-width:767px){
  [id]{ scroll-margin-top: calc(var(--navbar-h) - var(--overlap) + 8px); }
}



/* Заголовок таблицы по центру, «таблетка» со стеклом */
#about .name-price-box{
  display:flex; align-items:center; justify-content:center;
  gap:12px; width:100%;
  margin:18px 0 12px; position:relative;
}
#about .name-price-box::before,
#about .name-price-box::after{
  content:""; flex:1 1 0; height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);
}
#about .name-price-box > span{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 16px; border-radius:999px;
  color:#fff; font-weight:800; letter-spacing:.02em;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  box-shadow:0 8px 20px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.06);
}
#about .name-price-box i{
  color:#66cc88;
  filter:drop-shadow(0 0 6px rgba(102,204,136,.45));
}

#about .table-fill{
  width:100%;
  border-collapse:separate; border-spacing:0;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px; overflow:hidden;
  color:#ffffff;
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
}

#about .table-fill, #about .table-fill *{ box-shadow:none !important; }

#about .table-fill thead th{
  background:rgb(35 199 73 / 71%);
  color:#cfe3d6;
  text-transform:uppercase; letter-spacing:.04em;
  font-size:12px; font-weight:700;
  padding:12px 16px;
  border-bottom:1px solid rgba(255,255,255,.12);
}
#about .table-fill td, #about .table-fill th{
  padding:12px 16px; vertical-align:middle; border-right:0; color:#eef3f5;
}
#about .table-fill tbody tr + tr td{ border-top:1px solid rgba(255,255,255,.08); }
#about .table-fill tbody tr:hover{ background:rgba(255,255,255,.05); }

#about .table-fill .text-right{ text-align:right; white-space:nowrap; }


#about .table-fill pr{ background:none; border:0; border-radius:0; padding:0; margin:0; font-weight:800; color:#fff; }


@media (max-width:767px){
  #about .name-price-box{ gap:8px; margin:14px 0 8px; }
  #about .name-price-box > span{ padding:7px 12px; font-size:14px; }
  #about .table-fill td, #about .table-fill th{ padding:10px 12px; font-size:14px; line-height:1.35; }
}

:root { --nav-h: 72px; }            
@media (max-width: 991px){ :root { --nav-h: 64px; } }


html, body { scroll-behavior: smooth; }


html, body { scroll-padding-top: var(--nav-h); }


:where(h1,h2,h3,h4,section,div)[id] { scroll-margin-top: var(--nav-h); }

/* ===== Полезные статьи на посадочных (НЕ влияет на /blog/) ===== */
.service-related{ padding: 28px 0; }

.service-related .post-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap:24px;              /* нормальный воздух */
  align-items:stretch;
}

.service-related .post-card{
  background:#fff;
  border-radius:14px;
  overflow:hidden;       /* скругление картинки сверху */
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  border:1px solid rgba(0,0,0,.06);
  display:flex;
  flex-direction:column;
  height:100%;
}

.service-related .post-cover{
  display:block;
  height:190px;          /* баланс: не режет и не мелко */
  overflow:hidden;
}

.service-related .post-cover img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top; /* инфографика меньше режется */
  display:block;
}

.service-related .post-body{
  padding:16px 16px 18px;
  display:flex;
  flex-direction:column;
  gap:10px;
  flex:1;                /* чтобы кнопка прижималась вниз */
}

.service-related .post-title{
  font-size:18px;
  line-height:1.25;
  margin:0;
  color:#111;
}

.service-related .post-title a{ text-decoration:none; }
.service-related .post-title a:hover{ text-decoration:underline; }

.service-related .post-desc{
  color:#666;
  font-size:14px;
  line-height:1.45;
  margin:0;
  min-height:42px;
}

.service-related .post-actions{
  margin-top:auto;       /* кнопка внизу */
}

.service-related .post-btn{
  display:inline-block;
  padding:9px 12px;
  font-size:14px;
  font-weight:700;
  background:#28a745;
  color:#fff;
  border-radius:8px;
  text-decoration:none;
}

/* адаптив */
@media (max-width: 992px){
  .service-related .post-grid{ grid-template-columns: repeat(2, minmax(240px, 1fr)); }
}
@media (max-width: 768px){
  .service-related .post-grid{ grid-template-columns: 1fr; }
  .service-related .post-cover{ height:210px; }
}
/* Выровнять кнопки "Читать" на странице /blog/ */
.blog-catalog .post-card{
  display:flex;
  flex-direction:column;
  height:100%;
}

.blog-catalog .post-body{
  display:flex;
  flex-direction:column;
  flex:1;           /* чтобы контент тянулся и кнопка могла "упереться" вниз */
}

.blog-catalog .post-actions{
  margin-top:auto;  /* прижали кнопку к низу карточки */
}
.tb-hours {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.flip-hours {
  position: relative;
  display: inline-block;
  width: 160px;
  height: 18px;
  line-height: 18px;
  overflow: hidden;
  vertical-align: middle;
  perspective: 500px;
}

.flip-hours__item {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  opacity: 0;
  transform: rotateX(90deg) translateY(8px);
  transform-origin: 50% 50%;
  transition: opacity .35s ease, transform .35s ease;
  will-change: opacity, transform;
}

.flip-hours__item.is-active {
  opacity: 1;
  transform: rotateX(0deg) translateY(0);
}

.flip-hours__item.is-leaving {
  opacity: 0;
  transform: rotateX(-90deg) translateY(-8px);
}

@media (max-width: 768px) {
  .flip-hours {
    width: auto;
    min-width: 160px;
  }
}

.promo-timer-box {
  margin: 14px auto 0;
  padding: 10px;
  background: #ffffff;
  border: 1px solid rgba(40,167,69,0.35);
  border-radius: 10px;
  max-width: 245px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.promo-timer-title {
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin-bottom: 7px;
}

.promo-countdown {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.promo-countdown span {
  min-width: 42px;
  padding: 5px 4px;
  background: #1f2933;
  color: #fff;
  border-radius: 7px;
  line-height: 1.1;
}

.promo-countdown strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
}

.promo-countdown small {
  display: block;
  font-size: 10px;
  opacity: .8;
  margin-top: 2px;
}

.promo-price-box {
  margin-top: 16px;
  border: 2px solid #28a745;
  border-radius: 8px;
  padding: 7px 10px;
  background: #fff;
}

.promo-old-price {
  font-size: 15px;
  color: #777;
  text-decoration: line-through;
  line-height: 1;
}

.promo-price-current {
  font-size: 28px;
  font-weight: 800;
  color: #28a745;
  line-height: 1.15;
}

.promo-price-note {
  font-size: 12px;
  color: #555;
  font-weight: 600;
}

.promo-ended {
  display: block;
  padding: 8px;
  background: #f1f1f1;
  color: #555;
  border-radius: 7px;
  font-weight: 700;
}
.promo-timer-box {
  margin: 12px auto 0;
  padding: 8px;
  background: #ffffff;
  border: 1px solid rgba(40,167,69,0.35);
  border-radius: 10px;
  max-width: 220px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.promo-countdown {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.promo-countdown span {
  min-width: 38px;
  padding: 5px 3px;
  background: #1f2933;
  color: #fff;
  border-radius: 7px;
  line-height: 1.1;
}
.promo-table-row {
  background: rgba(40, 167, 69, 0.06);
}

.table-promo-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #28a745;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  vertical-align: middle;
}

.table-promo-note {
  margin-top: 3px;
  font-size: 12px;
  color: #555;
}

.table-old-price {
  display: inline-block;
  margin-right: 6px;
  color: #777;
  text-decoration: line-through;
  font-size: 14px;
}
.promo-table-row {
  background: rgba(40, 167, 69, 0.12);
}

.table-promo-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #28a745;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  vertical-align: middle;
}

.table-promo-note {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
}

.table-old-price {
  display: inline-block;
  margin-right: 7px;
  color: rgba(255,255,255,0.35);
  text-decoration: line-through;
  font-size: 13px;
  font-weight: 400;
}

.table-new-price {
  color: #fff;
  font-weight: 800;
}

/* ===== RMTEX HOME V2 START (moved from index inline style) ===== */
/* HERO v2 */
      .rm-hero-v2 {
        position: relative;
        overflow: hidden;
        color: #fff;
      }

      .rm-hero-bg {
        padding: 74px 0 66px;
        background:
          radial-gradient(circle at 16% 20%, rgba(40, 167, 69, .22), transparent 28%),
          radial-gradient(circle at 88% 72%, rgba(40, 167, 69, .12), transparent 28%),
          linear-gradient(135deg, #11171b 0%, #151c21 52%, #0d1114 100%);
        position: relative;
      }

      .rm-hero-bg:before {
        content: "";
        position: absolute;
        inset: 0;
        background-image:
          radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
          radial-gradient(rgba(255,255,255,.015) 1px, transparent 1px);
        background-size: 14px 14px, 22px 22px;
        background-position: 0 0, 7px 7px;
        background-repeat: repeat, repeat;
        opacity: 1;
        pointer-events: none;
      }

      .rm-hero-row {
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;
      }

      .rm-hero-media {
        text-align: center;
      }

      .rm-hero-mobile-media {
        text-align: center;
        margin: 18px 0 20px;
      }

      .rm-hero-img {
        max-width: 100%;
        height: auto;
        filter: drop-shadow(0 24px 42px rgba(0,0,0,.38));
      }

      .rm-hero-content {
        text-align: left;
      }
.rm-hero-title {
        margin: 0;
        color: #fff;
        font-size: 46px;
        line-height: 1.12;
        font-weight: 800;
        letter-spacing: .01em;
      }

      .rm-hero-subtitle {
        margin: 18px 0 0;
        color: #d8e0e3;
        font-size: 18px;
        line-height: 1.6;
        font-weight: 700;
      }

      .rm-hero-mobile-phone {
        max-width: 340px;
        margin: 14px auto 0;
        padding: 10px 13px;
        border-radius: 16px;
        background: rgba(40,167,69,.16);
        border: 1px solid rgba(90,230,112,.32);
        box-shadow: 0 14px 30px rgba(0,0,0,.18);
        text-align: center;
      }

      .rm-hero-mobile-phone a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        color: #fff !important;
        font-size: 18px;
        line-height: 1.25;
        font-weight: 900;
        text-decoration: none !important;
        letter-spacing: .01em;
      }

      .rm-hero-mobile-phone a + a {
        margin-top: 6px;
      }

      .rm-hero-mobile-phone i {
        color: #58e276;
      }

      .rm-hero-mobile-phone .rm-hero-mobile-address {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        margin-top: 7px;
        color: #bfcacf;
        font-size: 12.5px;
        line-height: 1.35;
        font-weight: 800;
        text-transform: none;
      }

      .rm-hero-mobile-phone .rm-hero-mobile-address i {
        color: #58e276;
      }

      .rm-hero-mobile-phone span {
        display: block;
        margin-top: 3px;
        color: #bfcacf;
        font-size: 12.5px;
        line-height: 1.35;
        font-weight: 600;
      }

      .rm-hero-seo-copy {
        max-width: 650px;
        margin: 13px 0 0;
        color: #bfcacf;
        font-size: 15.5px;
        line-height: 1.55;
      }

      .rm-hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 24px;
      }

      .rm-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 46px;
        padding: 0 22px;
        border-radius: 28px;
        font-size: 16px;
        font-weight: 800;
        text-decoration: none !important;
        transition: .2s ease;
      }

      .rm-btn:hover {
        transform: translateY(-1px);
        text-decoration: none;
      }

      .rm-btn-main {
        background: #28a745;
        color: #fff !important;
        box-shadow: 0 12px 28px rgba(40,167,69,.28);
      }

      .rm-btn-light {
        background: rgba(255,255,255,.07);
        border: 1px solid rgba(255,255,255,.18);
        color: #fff !important;
      }



/* v141: на десктопе кнопка hero раскрывает номер мастера первым кликом */
.rm-call-reveal {
  position: relative;
  overflow: hidden;
  min-width: 218px;
}

.rm-call-reveal .rm-call-reveal-phone {
  display: none;
  letter-spacing: .4px;
  white-space: nowrap;
}

.rm-call-reveal.is-revealed {
  background: #151b18;
  border: 1px solid rgba(40,167,69,.75);
  box-shadow: 0 12px 30px rgba(40,167,69,.20), inset 0 0 0 1px rgba(255,255,255,.04);
}

.rm-call-reveal.is-revealed .rm-call-reveal-label {
  display: none;
}

.rm-call-reveal.is-revealed .rm-call-reveal-phone {
  display: inline;
}

.rm-call-reveal.is-revealed::after {
  content: "нажми ещё раз";
  position: absolute;
  right: 14px;
  bottom: 3px;
  font-size: 9px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .2px;
  opacity: .62;
}

@media (max-width: 768px) {
  .rm-call-reveal .rm-call-reveal-phone {
    display: none !important;
  }
  .rm-call-reveal.is-revealed::after {
    content: none;
  }
}

      .rm-trust-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-top: 22px;
      }

      .rm-trust-card {
        padding: 14px;
        border-radius: 16px;
        background: rgba(255,255,255,.075);
        border: 1px solid rgba(255,255,255,.13);
        box-shadow: 0 14px 30px rgba(0,0,0,.14);
      }

      .rm-trust-icon {
        display: inline-flex;
        width: 28px;
        height: 28px;
        align-items: center;
        justify-content: center;
        border-radius: 9px;
        background: rgba(40,167,69,.18);
        color: #5bea78;
        margin-bottom: 8px;
      }

      .rm-trust-card strong {
        display: block;
        color: #fff;
        font-size: 15px;
        line-height: 1.25;
      }

      .rm-trust-card small {
        display: block;
        color: #b9c3c8;
        margin-top: 3px;
        font-size: 13px;
      }

      /* PROCESS / BENEFITS v3 */
      .rm-process-v2 {
        position: relative;
        padding: 60px 0 64px;
        background:
          radial-gradient(circle at 10% 16%, rgba(40,167,69,.12), transparent 28%),
          radial-gradient(circle at 92% 18%, rgba(244,197,66,.12), transparent 24%),
          radial-gradient(circle at 50% 100%, rgba(40,167,69,.09), transparent 35%),
          linear-gradient(180deg, #ffffff 0%, #f5f9f5 100%);
        overflow: hidden;
      }

      .rm-process-v2:before {
        content: "";
        position: absolute;
        inset: 0;
        background-image:
          radial-gradient(rgba(40,167,69,.16) 1px, transparent 1px),
          linear-gradient(90deg, rgba(40,167,69,.035) 1px, transparent 1px);
        background-size: 18px 18px, 72px 72px;
        opacity: .18;
        pointer-events: none;
      }

      .rm-process-head {
        position: relative;
        z-index: 1;
        max-width: 860px;
        margin: 0 auto 34px;
        text-align: center;
      }

      .rm-process-head h2 {
        margin: 0;
        color: #252b2f;
        font-size: 38px;
        line-height: 1.18;
        font-weight: 800;
        letter-spacing: .01em;
      }

      .rm-process-slogan {
        display: inline-block;
        position: relative;
        margin: 15px 0 0;
        color: #1f292f;
        font-size: 22px;
        line-height: 1.35;
        font-weight: 800;
      }

      .rm-process-slogan:after {
        content: "";
        position: absolute;
        left: 8%;
        right: 8%;
        bottom: -8px;
        height: 3px;
        border-radius: 99px;
        background: linear-gradient(90deg, transparent, #28a745, transparent);
      }

      .rm-process-lead {
        margin: 22px auto 0;
        max-width: 720px;
        color: #5f696f;
        font-size: 16px;
        line-height: 1.62;
      }

      .rm-process-flow {
        position: relative;
        z-index: 1;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
        margin-top: 28px;
      }

      .rm-process-card {
        position: relative;
        min-height: 270px;
        padding: 23px 24px 22px;
        border-radius: 22px;
        background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,253,249,.96));
        border: 1px solid #e1ebe5;
        box-shadow: 0 16px 36px rgba(0,0,0,.06);
        transition: .2s ease;
        overflow: hidden;
      }

      .rm-card-price {
        background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,251,238,.96));
      }

      .rm-card-check {
        background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(239,249,255,.96));
      }

      .rm-process-card:before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 5px;
        background: linear-gradient(90deg, #28a745, #5edb7a);
      }

      .rm-card-price:before {
        background: linear-gradient(90deg, #f4c542, #28a745);
      }

      .rm-card-check:before {
        background: linear-gradient(90deg, #28a745, #35b7ff);
      }

      .rm-process-card:hover {
        transform: translateY(-5px);
        border-color: rgba(40,167,69,.48);
        box-shadow: 0 22px 48px rgba(0,0,0,.095);
      }

      .rm-process-card:not(:last-child):after {
        content: "";
        position: absolute;
        top: 48px;
        right: -25px;
        width: 32px;
        height: 2px;
        background: linear-gradient(90deg, rgba(40,167,69,.7), rgba(40,167,69,.15));
        z-index: 2;
      }

      .rm-process-card-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 18px;
      }

      .rm-process-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        border-radius: 17px;
        background: rgba(40,167,69,.12);
        color: #28a745;
        font-size: 23px;
        box-shadow: 0 12px 24px rgba(40,167,69,.12);
      }

      .rm-card-price .rm-process-icon {
        background: rgba(244,197,66,.18);
        color: #b98400;
      }

      .rm-card-check .rm-process-icon {
        background: rgba(53,183,255,.12);
        color: #1689c7;
      }

      .rm-process-num {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 999px;
        background: #11171b;
        color: #fff;
        font-size: 13px;
        font-weight: 900;
        box-shadow: 0 10px 22px rgba(0,0,0,.14);
      }

      .rm-process-card h3 {
        margin: 0 0 10px;
        color: #252b2f;
        font-size: 21px;
        line-height: 1.25;
        font-weight: 800;
      }

      .rm-process-card p {
        margin: 0;
        color: #657078;
        font-size: 15px;
        line-height: 1.58;
      }

      .rm-process-mini-list {
        margin: 16px 0 0;
        padding: 0;
        list-style: none;
      }

      .rm-process-mini-list li {
        position: relative;
        padding-left: 18px;
        margin-top: 7px;
        color: #4f5b62;
        font-size: 14px;
        line-height: 1.42;
      }

      .rm-process-mini-list li:before {
        content: "";
        position: absolute;
        left: 0;
        top: .65em;
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #28a745;
      }


      .rm-process-card-foot {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        margin-top: 16px;
        padding: 8px 11px;
        border-radius: 999px;
        background: rgba(40,167,69,.09);
        border: 1px solid rgba(40,167,69,.18);
        color: #1f7a36;
        font-size: 13.5px;
        line-height: 1.25;
        font-weight: 800;
      }

      .rm-card-price .rm-process-card-foot {
        background: rgba(244,197,66,.13);
        border-color: rgba(244,197,66,.28);
        color: #8a6600;
      }

      .rm-card-check .rm-process-card-foot {
        background: rgba(53,183,255,.10);
        border-color: rgba(53,183,255,.22);
        color: #1274aa;
      }

      .rm-process-note-wide {
        position: relative;
        z-index: 1;
        margin: 26px auto 0;
        max-width: 920px;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        text-align: center;
      }

      .rm-process-note-wide span {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 11px 14px;
        border-radius: 999px;
        background: #11171b;
        border: 1px solid rgba(40,167,69,.28);
        color: #e9f2ec;
        box-shadow: 0 12px 28px rgba(0,0,0,.10);
        font-size: 15px;
        font-weight: 700;
        line-height: 1.35;
      }

      .rm-process-note-wide i {
        color: #55d86c;
      }

      /* SERVICE INFO v2 */
      .rm-service-info-v2 {
        color: #fff;
      }

      .rm-service-info-bg {
        padding: 66px 0;
        background:
          radial-gradient(circle at 15% 18%, rgba(40,167,69,.18), transparent 26%),
          linear-gradient(135deg, #12181d 0%, #0e1215 100%);
        position: relative;
        overflow: hidden;
      }

      .rm-service-info-bg:before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1px);
        background-size: 16px 16px;
        opacity: .12;
      }
@media (max-width: 991px) {
        .rm-hero-row,
.rm-hero-bg {
          padding: 48px 0 46px;
        }

        .rm-hero-media {
          margin-top: 28px;
        }

        .rm-hero-title {
          font-size: 36px;
        }
}

      @media (max-width: 767px) {
        .rm-hero-content {
          text-align: center;
        }

        .rm-process-v2 {
          padding: 42px 0 40px;
        }
.rm-process-slogan {
          font-size: 18px;
          padding: 13px 14px;
        }
.rm-process-note-wide {
          display: block;
        }

        .rm-process-note-wide span {
          width: 100%;
          justify-content: center;
          margin-bottom: 8px;
        }

        .rm-hero-title {
          font-size: 28px;
          line-height: 1.18;
        }

        .rm-hero-img {
          max-width: 92%;
        }

        .rm-hero-subtitle {
          font-size: 16px;
          line-height: 1.52;
        }

        .rm-hero-mobile-phone {
          margin-top: 12px;
        }

        .rm-hero-mobile-phone a {
          font-size: 17px;
        }

        .rm-hero-seo-copy {
          margin-left: auto;
          margin-right: auto;
          font-size: 14.5px;
          line-height: 1.5;
        }

        .rm-hero-actions {
          display: block;
        }

        .rm-btn {
          width: 100%;
          margin-bottom: 10px;
        }

        .rm-trust-grid {
          grid-template-columns: 1fr;
          margin-top: 18px;
        }
.rm-service-info-bg {
          padding: 46px 0;
        }
}

      @media (max-width: 991px) {
        .rm-process-flow {
          grid-template-columns: 1fr;
          max-width: 720px;
          margin-left: auto;
          margin-right: auto;
        }

        .rm-process-card {
          min-height: auto;
        }

        .rm-process-card:not(:last-child):after {
          display: none;
        }
      }

      @media (max-width: 767px) {
        .rm-process-v2 {
          padding: 42px 0 42px;
        }

        .rm-process-head {
          margin-bottom: 24px;
        }

        .rm-process-head h2 {
          font-size: 28px;
        }

        .rm-process-slogan {
          font-size: 18px;
        }

        .rm-process-lead {
          font-size: 15.5px;
        }

        .rm-process-card {
          padding: 20px 18px;
        }

        .rm-process-note-wide {
          text-align: left;
          font-size: 15px;
        }
      }


      /* REPAIR SCOPE / THIRD BLOCK v2 */
      .rm-repair-scope-v2 {
        color: #fff;
      }

      .rm-repair-scope-v2 .rm-service-info-bg {
        padding: 56px 0 54px;
        background:
          radial-gradient(circle at 12% 18%, rgba(40,167,69,.22), transparent 27%),
          radial-gradient(circle at 92% 12%, rgba(244,197,66,.10), transparent 24%),
          radial-gradient(circle at 74% 90%, rgba(53,183,255,.09), transparent 28%),
          linear-gradient(135deg, #12181d 0%, #0e1215 100%);
        position: relative;
        overflow: hidden;
      }

      .rm-repair-scope-v2 .rm-service-info-bg:before {
        content: "";
        position: absolute;
        inset: 0;
        background-image:
          radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
          radial-gradient(rgba(255,255,255,.015) 1px, transparent 1px);
        background-size: 14px 14px, 22px 22px;
        background-position: 0 0, 7px 7px;
        background-repeat: repeat, repeat;
        opacity: 1;
        pointer-events: none;
      }

      .rm-scope-head,
      .rm-scope-row,
      .rm-scope-directions {
        position: relative;
        z-index: 1;
      }

      .rm-scope-head {
        max-width: 1020px;
        margin: 0 auto 24px;
        text-align: center;
      }

      .rm-scope-head h2 {
        margin: 0;
        color: #fff;
        font-size: 38px;
        line-height: 1.18;
        font-weight: 800;
      }

      .rm-scope-head p {
        max-width: 980px;
        margin: 10px auto 0;
        color: #d7dee1;
        font-size: 16.5px;
        line-height: 1.55;
      }

      .rm-scope-row {
        display: flex;
        align-items: stretch;
      }

      .rm-repair-scope-v2 .rm-scope-row {
        padding: 40px 0 !important;
        margin: 0 !important;
      }

      .rm-scope-focus-card,
      .rm-scope-symptoms-card {
        height: 100%;
        border-radius: 24px;
        background: rgba(255,255,255,.075);
        border: 1px solid rgba(255,255,255,.13);
        box-shadow: 0 18px 42px rgba(0,0,0,.18);
        backdrop-filter: blur(2px);
      }

      .rm-scope-focus-card {
        padding: 28px 28px 26px;
        border-left: 4px solid #28a745;
      }

      .rm-scope-big-icon {
        width: 62px;
        height: 62px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 18px;
        border-radius: 20px;
        background: rgba(40,167,69,.16);
        color: #67e97b;
        font-size: 30px;
        box-shadow: 0 14px 30px rgba(40,167,69,.13);
      }

      .rm-scope-focus-card h3,
      .rm-scope-symptoms-card h3 {
        margin: 0 0 12px;
        color: #fff;
        font-size: 24px;
        line-height: 1.25;
        font-weight: 800;
      }

      .rm-scope-focus-card p {
        margin: 0;
        color: #d7dee1;
        font-size: 16px;
        line-height: 1.65;
      }

      .rm-scope-focus-card p + p {
        margin-top: 12px;
      }
.rm-scope-symptoms-card {
        padding: 24px;
      }

      .rm-symptom-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-top: 18px;
      }

      .rm-symptom-item {
        display: flex;
        align-items: center;
        gap: 11px;
        min-height: 54px;
        padding: 13px 14px;
        border-radius: 17px;
        background: rgba(255,255,255,.075);
        border: 1px solid rgba(255,255,255,.11);
        color: #eef5f0;
        font-size: 15px;
        line-height: 1.3;
        font-weight: 700;
        transition: .18s ease;
      }

      .rm-symptom-item:hover {
        transform: translateY(-2px);
        border-color: rgba(40,167,69,.35);
        background: rgba(40,167,69,.11);
      }

      .rm-symptom-item i {
        flex: 0 0 34px;
        width: 34px;
        height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        background: rgba(40,167,69,.16);
        color: #67e97b;
        font-size: 16px;
      }

      .rm-scope-mini-note {
        display: flex;
        gap: 11px;
        align-items: flex-start;
        margin-top: 18px;
        padding: 15px 16px;
        border-radius: 18px;
        background: rgba(244,197,66,.10);
        border: 1px solid rgba(244,197,66,.20);
        color: #f1ead4;
        font-size: 15px;
        line-height: 1.5;
      }

      .rm-scope-mini-note i {
        margin-top: 2px;
        color: #f4c542;
      }

      .rm-scope-directions {
        margin-top: 22px;
        padding: 16px 18px 18px;
        border-radius: 22px;
        background: rgba(255,255,255,.055);
        border: 1px solid rgba(255,255,255,.12);
        box-shadow: 0 16px 34px rgba(0,0,0,.14);
      }

      .rm-scope-directions-title {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-bottom: 12px;
        color: #fff;
        font-size: 16px;
        font-weight: 800;
      }

      .rm-scope-directions-title i {
        color: #67e97b;
      }

      .rm-scope-directions-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
      }

      .rm-scope-directions a {
        display: flex;
        align-items: center;
        gap: 11px;
        min-height: 62px;
        padding: 11px 13px;
        border-radius: 17px;
        background: rgba(17,23,27,.72);
        border: 1px solid rgba(40,167,69,.24);
        box-shadow: none;
        text-decoration: none !important;
        line-height: 1.25;
        transition: .18s ease;
        color: #eaffef !important;
      }

      .rm-scope-directions a:hover {
        transform: translateY(-2px);
        background: rgba(40,167,69,.12);
        border-color: rgba(40,167,69,.40);
      }

      .rm-scope-directions a i {
        flex: 0 0 34px;
        width: 34px;
        height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        background: rgba(40,167,69,.16);
        color: #67e97b;
        font-size: 16px;
      }

      .rm-scope-directions a span {
        display: block;
        color: #eaffef;
        font-weight: 800;
      }

      .rm-scope-directions a small {
        display: block;
        margin-top: 2px;
        color: #aebabe;
        font-size: 12.5px;
        font-weight: 600;
      }

      @media (max-width: 991px) {
        .rm-scope-row {
          display: block;
        }

        .rm-scope-focus-card {
          margin-bottom: 18px;
        }

        .rm-scope-directions-grid {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }
      }

      @media (max-width: 767px) {
        .rm-repair-scope-v2 .rm-service-info-bg {
          padding: 46px 0 44px;
        }

        .rm-scope-head h2 {
          font-size: 29px;
        }

        .rm-scope-head p {
          font-size: 15.5px;
        }

        .rm-scope-focus-card,
        .rm-scope-symptoms-card {
          padding: 20px 18px;
          border-radius: 20px;
        }

        .rm-scope-focus-card h3,
        .rm-scope-symptoms-card h3 {
          font-size: 21px;
        }

        .rm-symptom-grid {
          grid-template-columns: 1fr;
        }

        .rm-scope-directions {
          padding: 14px;
        }

        .rm-scope-directions-grid {
          grid-template-columns: 1fr;
        }

        .rm-scope-directions a {
          width: 100%;
          margin-bottom: 0;
        }
      }


      /* POPULAR SERVICES / FOURTH BLOCK v2 */
      .rm-popular-v2 {
        position: relative;
        padding: 58px 0 56px;
        background:
          radial-gradient(circle at 10% 12%, rgba(40,167,69,.10), transparent 26%),
          radial-gradient(circle at 88% 14%, rgba(244,197,66,.12), transparent 24%),
          linear-gradient(180deg, #f7faf7 0%, #ffffff 100%);
        overflow: hidden;
      }

      .rm-popular-v2:before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: radial-gradient(rgba(40,167,69,.16) 1px, transparent 1px);
        background-size: 18px 18px;
        opacity: .16;
        pointer-events: none;
      }

      .rm-popular-v2 .container,
      .rm-popular-head,
      .rm-popular-grid,
      .rm-popular-note {
        position: relative;
        z-index: 1;
      }

      .rm-popular-head {
        max-width: 890px;
        margin: 0 auto 28px;
        text-align: center;
      }

      .rm-popular-head h2 {
        margin: 0;
        color: #252b2f;
        font-size: 38px;
        line-height: 1.18;
        font-weight: 800;
      }

      .rm-popular-head p {
        max-width: 820px;
        margin: 12px auto 0;
        color: #5f696f;
        font-size: 16.5px;
        line-height: 1.6;
      }

      .rm-popular-v2 .rm-popular-grid {
        padding: 0 !important;
        margin-left: -15px;
        margin-right: -15px;
      }

      .rm-popular-col {
        margin-bottom: 22px;
      }

      .rm-popular-card {
        position: relative;
        height: 100%;
        min-height: 355px;
        padding: 24px 24px 22px;
        border-radius: 24px;
        background: rgba(255,255,255,.94);
        border: 1px solid #e1ece4;
        box-shadow: 0 16px 38px rgba(0,0,0,.075);
        overflow: hidden;
        transition: .18s ease;
      }

      .rm-popular-card:before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 5px;
        background: #28a745;
      }

      .rm-popular-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 22px 46px rgba(0,0,0,.10);
      }

      .rm-popular-card-blue:before { background: linear-gradient(90deg, #2f80ed, #35b7ff); }
      .rm-popular-card-green:before { background: linear-gradient(90deg, #28a745, #67e97b); }
      .rm-popular-card-yellow:before { background: linear-gradient(90deg, #f4c542, #ff9800); }

      .rm-popular-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 18px;
      }

      .rm-popular-icon {
        width: 58px;
        height: 58px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 19px;
        background: rgba(40,167,69,.11);
        color: #28a745;
        font-size: 27px;
      }

      .rm-popular-card-blue .rm-popular-icon {
        background: rgba(47,128,237,.10);
        color: #2f80ed;
      }

      .rm-popular-card-yellow .rm-popular-icon {
        background: rgba(244,197,66,.16);
        color: #bd8500;
      }

      .rm-popular-tag {
        padding: 7px 10px;
        border-radius: 999px;
        background: #11171b;
        color: #fff;
        font-size: 12px;
        line-height: 1;
        font-weight: 800;
        white-space: nowrap;
      }

      .rm-popular-card h3 {
        margin: 0 0 10px;
        color: #252b2f;
        font-size: 23px;
        line-height: 1.25;
        font-weight: 800;
      }

      .rm-popular-card p {
        margin: 0;
        color: #5f696f;
        font-size: 15.5px;
        line-height: 1.55;
      }

      .rm-popular-card ul {
        margin: 17px 0 0;
        padding: 0;
        list-style: none;
      }

      .rm-popular-card li {
        position: relative;
        margin-bottom: 8px;
        padding-left: 22px;
        color: #3e484d;
        font-size: 14.5px;
        line-height: 1.35;
      }

      .rm-popular-card li:before {
        content: "\f00c";
        position: absolute;
        left: 0;
        top: 1px;
        font-family: FontAwesome;
        color: #28a745;
        font-size: 13px;
      }

      .rm-popular-bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-top: 22px;
        padding-top: 18px;
        border-top: 1px solid #e6eee8;
      }

      .rm-popular-price {
        display: inline-flex;
        align-items: center;
        min-height: 42px;
        padding: 0 14px;
        border-radius: 14px;
        background: #11171b;
        color: #fff;
        font-size: 20px;
        font-weight: 900;
        white-space: nowrap;
      }

      .rm-popular-bottom a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        padding: 0 14px;
        border-radius: 999px;
        background: rgba(40,167,69,.10);
        border: 1px solid rgba(40,167,69,.22);
        text-decoration: none !important;
        white-space: nowrap;
      }

      .rm-popular-note {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        max-width: 860px;
        margin: 4px auto 0;
        padding: 15px 17px;
        border-radius: 18px;
        background: #11171b;
        color: #dce5df;
        font-size: 15.5px;
        line-height: 1.5;
        box-shadow: 0 14px 32px rgba(0,0,0,.09);
      }

      .rm-popular-note i {
        margin-top: 3px;
        color: #f4c542;
      }

      @media (max-width: 991px) {
        .rm-popular-card {
          min-height: 335px;
        }
      }

      @media (max-width: 767px) {
        .rm-popular-v2 {
          padding: 44px 0 42px;
        }

        .rm-popular-head h2 {
          font-size: 29px;
        }

        .rm-popular-head p {
          font-size: 15.5px;
        }

        .rm-popular-card {
          min-height: auto;
          padding: 22px 18px 20px;
          border-radius: 21px;
        }

        .rm-popular-bottom {
          display: block;
        }

        .rm-popular-price {
          margin-bottom: 12px;
        }

        .rm-popular-bottom a {
          width: 100%;
        }
      }


      /* DEPTH POLISH: второй и четвёртый блоки */
      .rm-process-card,
      .rm-popular-card {
        border-color: rgba(214,229,219,.95);
        box-shadow:
          0 22px 48px rgba(17,23,27,.105),
          0 6px 14px rgba(17,23,27,.055),
          inset 0 1px 0 rgba(255,255,255,.9);
      }

      .rm-process-card {
        background: linear-gradient(180deg, rgba(255,255,255,1), rgba(248,253,249,.98));
      }

      .rm-card-price {
        background: linear-gradient(180deg, rgba(255,255,255,1), rgba(255,251,236,.98));
      }

      .rm-card-check {
        background: linear-gradient(180deg, rgba(255,255,255,1), rgba(238,249,255,.98));
      }

      .rm-popular-card {
        background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(249,252,250,.97));
      }

      .rm-process-card:hover,
      .rm-popular-card:hover {
        transform: translateY(-6px);
        border-color: rgba(40,167,69,.44);
        box-shadow:
          0 30px 64px rgba(17,23,27,.135),
          0 10px 22px rgba(17,23,27,.07),
          inset 0 1px 0 rgba(255,255,255,.95);
      }

      .rm-process-icon,
      .rm-popular-icon {
        box-shadow:
          0 14px 26px rgba(40,167,69,.14),
          inset 0 1px 0 rgba(255,255,255,.55);
      }

      .rm-popular-card-blue .rm-popular-icon {
        box-shadow:
          0 14px 26px rgba(47,128,237,.13),
          inset 0 1px 0 rgba(255,255,255,.55);
      }

      .rm-popular-card-yellow .rm-popular-icon,
      .rm-card-price .rm-process-icon {
        box-shadow:
          0 14px 26px rgba(244,197,66,.16),
          inset 0 1px 0 rgba(255,255,255,.55);
      }


      /* HOME LOWER SECTION TYPOGRAPHY v5: только главная + только явно помеченные нижние заголовки */
      .rm-home-page .rm-home-lower-title,
      .rm-home-page .rm-home-legacy-title,
      .rm-home-page .rm-home-legacy-subtitle,
      .rm-home-page .rm-home-lower-subtitle,
      .rm-home-page .accordion-button,
      .rm-home-page .mi-title {
        letter-spacing: .01em;
      }

      .rm-home-page .rm-home-lower-title,
      .rm-home-page .rm-home-legacy-title {
        display: block;
        max-width: 980px;
        margin: 0 auto 24px !important;
        padding: 0 !important;
        color: #252b2f !important;
        font-size: 38px !important;
        line-height: 1.18 !important;
        font-weight: 800 !important;
        text-align: center !important;
        text-transform: none !important;
      }

      .rm-home-page .rm-home-lower-title:before,
      .rm-home-page .rm-home-lower-title:after,
      .rm-home-page .rm-home-legacy-title:before,
      .rm-home-page .rm-home-legacy-title:after,
      .rm-home-page .rm-home-legacy-subtitle:before,
      .rm-home-page .rm-home-legacy-subtitle:after {
        display: none !important;
        content: none !important;
      }

      .rm-home-page #about .rm-home-legacy-title {
        color: #ffffff !important;
        margin-bottom: 28px !important;
        text-shadow: 0 2px 18px rgba(0,0,0,.45);
      }

      .rm-home-page #about .rm-home-legacy-subtitle {
        display: block;
        max-width: 980px;
        margin: 42px auto 24px !important;
        padding: 0 !important;
        color: #eaf2ee !important;
        font-size: 30px !important;
        line-height: 1.24 !important;
        font-weight: 800 !important;
        text-align: center !important;
        text-transform: none !important;
        text-shadow: 0 2px 18px rgba(0,0,0,.45);
      }

      .rm-home-page #about .rm-home-legacy-subtitle:first-of-type {
        margin-top: 24px !important;
      }

      .rm-home-page .rm-home-lower-subtitle,
      .rm-home-page #contact-map > .container > p {
        max-width: 820px;
        margin-left: auto !important;
        margin-right: auto !important;
        color: #5f696f !important;
        font-size: 16.5px !important;
        line-height: 1.6 !important;
        font-weight: 600;
        text-align: center !important;
        text-transform: none !important;
      }

      .rm-home-page #contact .rm-home-lower-subtitle {
        margin-top: -8px !important;
        margin-bottom: 28px !important;
        font-size: 18px !important;
      }

      .rm-home-page #faq {
        background: #f7faf7;
      }

      .rm-home-page #faq .accordion {
        max-width: 1040px;
        margin-left: auto;
        margin-right: auto;
      }

      .rm-home-page #faq .accordion-item {
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 8px 24px rgba(17,23,27,.055);
      }

      .rm-home-page #faq .accordion-button {
        border-left-color: #28a745;
        border-radius: 14px;
        color: #252b2f;
        font-size: 17px;
        line-height: 1.35;
        font-weight: 800;
      }

      .rm-home-page #faq .accordion-body {
        color: #3e484d;
        font-size: 16px;
        line-height: 1.62;
      }

      .rm-home-page #maybe-interest {
        background: #dbdbdb;
      }

      .rm-home-page #maybe-interest .mi-title {
        color: #252b2f !important;
        font-size: 21px !important;
        line-height: 1.25 !important;
        font-weight: 800 !important;
        text-transform: none !important;
      }

      .rm-home-page #maybe-interest .mi-title a {
        color: inherit !important;
        text-decoration: none !important;
      }

      .rm-home-page #maybe-interest .mi-card {
        box-shadow: 0 16px 36px rgba(17,23,27,.09);
        border: 1px solid rgba(255,255,255,.75);
      }

      .rm-home-page #contact {
        background: #f1f1f1;
      }

      .rm-home-page #contact .social-links h3,
      .rm-home-page #contact h3 {
        color: #252b2f;
        font-weight: 800;
        line-height: 1.25;
        text-transform: none;
      }


      .rm-home-page #contact .rm-footer-contact-phones {
        margin-top: 22px;
      }

      .rm-home-page #contact .rm-footer-contact-phones h3 {
        margin: 0 0 10px;
      }

      .rm-home-page #contact .rm-footer-contact-link {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: max-content;
        min-width: 260px;
        margin: 8px auto;
        padding: 10px 14px;
        border-radius: 14px;
        background: #fff;
        border: 1px solid rgba(37,43,47,.08);
        box-shadow: 0 10px 24px rgba(17,23,27,.08);
        color: #252b2f !important;
        font-size: 20px;
        line-height: 1.25;
        font-weight: 800;
        text-decoration: none !important;
      }

      .rm-home-page #contact .rm-footer-contact-link i {
        color: #28a745;
      }

      .rm-home-page #contact-map address {
        color: #252b2f;
      }

      @media (max-width: 767px) {
        .rm-home-page .rm-home-lower-title,
        .rm-home-page .rm-home-legacy-title {
          font-size: 29px !important;
          line-height: 1.22 !important;
          margin-bottom: 18px !important;
        }

        .rm-home-page #about .rm-home-legacy-subtitle {
          font-size: 24px !important;
          line-height: 1.25 !important;
          margin: 34px auto 18px !important;
        }

        .rm-home-page .rm-home-lower-subtitle,
        .rm-home-page #contact-map > .container > p {
          font-size: 15.5px !important;
          line-height: 1.55 !important;
        }

        .rm-home-page #contact .rm-home-lower-subtitle {
          font-size: 16px !important;
          margin-top: -4px !important;
        }

        .rm-home-page #contact .rm-footer-contact-link {
          width: 100%;
          max-width: 300px;
          min-width: 0;
          font-size: 18px;
        }

        .rm-home-page #faq .accordion-button {
          font-size: 16px;
          padding: 14px 18px;
        }
      }

/* ===== RMTEX HOME V2 END ===== */


/* HOME v6: dotted grid on hero and repair-scope, aligned with #about price block */
@media (max-width:767px){
  .rm-hero-bg:before,
  .rm-repair-scope-v2 .rm-service-info-bg:before{
    background-size: 12px 12px, 18px 18px;
    background-position: 0 0, 6px 6px;
  }
}

/* v142: фикс для iOS Chrome/Safari — мобильная шапка RMTEX не должна исчезать при скролле вниз */
@media (max-width: 767px) {
  body.rm-home-page.ios-sticky-nav {
    padding-top: 0 !important;
  }

  body.rm-home-page.ios-sticky-nav .site-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1045;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  body.rm-home-page.ios-sticky-nav .navbar.navbar-fixed-top {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    margin-bottom: 0;
    width: 100%;
  }

  body.rm-home-page.ios-sticky-nav .navbar-collapse {
    max-height: calc(100dvh - var(--navbar-h)) !important;
  }

  body.rm-home-page.ios-sticky-nav [id] {
    scroll-margin-top: calc(var(--navbar-h) + 8px);
  }
}


/* ===== RMTEX canonical mobile polish v145 START ===== */
@media (max-width: 767px) {
  /* Только главная: меньше лишнего вертикального воздуха, но чуть просторнее, чем прошлые 40px */
  body.rm-home-page .row {
    padding-top: 45px !important;
    padding-bottom: 45px !important;
  }

  /* Hero: без зелёных пятен/радиальных градиентов на мобильной */
  body.rm-home-page .rm-hero-bg {
    padding-top: 45px !important;
    padding-bottom: 41px !important;
    background: linear-gradient(135deg, #11171b 0%, #151c21 52%, #0d1114 100%) !important;
  }

  /* Убираем двойной отступ у bootstrap .row внутри hero */
  body.rm-home-page .rm-hero-row {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Блок "Что ремонтируем в RMTEX": без зелёного/цветного градиента на мобильной */
  body.rm-home-page .rm-repair-scope-v2 .rm-service-info-bg {
    padding-top: 51px !important;
    padding-bottom: 49px !important;
    background: linear-gradient(135deg, #12181d 0%, #0e1215 100%) !important;
  }

  /* Блок "Оказываем услуги": убираем зелёные радиальные пятна, оставляем спокойную тёмную текстуру */
  body.rm-home-page #about {
    background-color: #000000d9 !important;
    background-image:
      radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
      radial-gradient(rgba(255,255,255,.015) 1px, transparent 1px) !important;
    background-size: 12px 12px, 18px 18px !important;
    background-position: 0 0, 6px 6px !important;
    background-repeat: repeat, repeat !important;
  }
}
/* ===== RMTEX canonical mobile polish v145 END ===== */

/* ===== RMTEX FAQ polish v146 START ===== */
body.rm-home-page #faq {
  position: relative;
  overflow: hidden;
  max-width: 1140px;
  margin: 34px auto 30px;
  padding: 54px 24px 56px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 10%, rgba(40,167,69,.10), transparent 26%),
    radial-gradient(circle at 90% 8%, rgba(244,197,66,.10), transparent 24%),
    linear-gradient(180deg, #f7faf7 0%, #ffffff 100%);
  box-shadow: 0 18px 48px rgba(17,23,27,.07);
}

body.rm-home-page #faq:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(40,167,69,.16) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .14;
  pointer-events: none;
}

body.rm-home-page #faq > .title,
body.rm-home-page #faq > .accordion {
  position: relative;
  z-index: 1;
}

body.rm-home-page #faq .accordion {
  max-width: 1040px;
  margin: 0 auto;
}

body.rm-home-page #faq .accordion-item {
  position: relative;
  margin-bottom: 12px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,.96);
  border: 1px solid #e1ece4;
  box-shadow:
    0 14px 34px rgba(17,23,27,.065),
    inset 0 1px 0 rgba(255,255,255,.9);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body.rm-home-page #faq .accordion-item:hover {
  transform: translateY(-2px);
  border-color: rgba(40,167,69,.34);
  box-shadow:
    0 20px 42px rgba(17,23,27,.09),
    inset 0 1px 0 rgba(255,255,255,.95);
}

body.rm-home-page #faq .accordion-header {
  margin: 0;
}

body.rm-home-page #faq .accordion-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 17px 56px 17px 18px;
  border: 0 !important;
  border-left: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #252b2f !important;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 800;
  text-align: left;
  box-shadow: none !important;
}

body.rm-home-page #faq .accordion-button:before {
  content: "\f059";
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(40,167,69,.12);
  color: #28a745;
  font-family: FontAwesome;
  font-size: 17px;
  box-shadow: 0 10px 22px rgba(40,167,69,.11), inset 0 1px 0 rgba(255,255,255,.72);
}

body.rm-home-page #faq .accordion-button:after {
  content: "\f107";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #11171b;
  color: #fff;
  font-family: FontAwesome;
  font-size: 15px;
  line-height: 1;
  transition: transform .22s ease, background .18s ease;
  float: none;
}

body.rm-home-page #faq .accordion-button.collapsed:after {
  transform: translateY(-50%) rotate(-90deg);
}

body.rm-home-page #faq .accordion-button:hover:after,
body.rm-home-page #faq .accordion-button:focus:after {
  background: #28a745;
}

body.rm-home-page #faq .accordion-body {
  margin: 0 18px 18px 68px;
  padding: 15px 18px;
  border-top: 1px solid #e6eee8;
  border-radius: 16px;
  background: #f8fbf9;
  color: #3e484d;
  font-size: 16px;
  line-height: 1.62;
}

body.rm-home-page #faq .accordion-body .accordion-body {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.rm-home-page #faq .price-shortlist {
  margin: 0;
  padding-left: 18px;
}

body.rm-home-page #faq .price-shortlist li {
  margin: 6px 0;
}

@media (max-width: 767px) {
  body.rm-home-page #faq {
    margin: 24px 12px 24px;
    padding: 45px 13px 45px;
    border-radius: 22px;
  }

  body.rm-home-page #faq .accordion-item {
    border-radius: 18px;
    margin-bottom: 10px;
  }

  body.rm-home-page #faq .accordion-button {
    min-height: 58px;
    padding: 14px 48px 14px 14px;
    gap: 10px;
    font-size: 16px;
  }

  body.rm-home-page #faq .accordion-button:before {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    font-size: 15px;
  }

  body.rm-home-page #faq .accordion-button:after {
    right: 13px;
    width: 31px;
    height: 31px;
    font-size: 14px;
  }

  body.rm-home-page #faq .accordion-body {
    margin: 0 12px 14px 58px;
    padding: 13px 14px;
    font-size: 15px;
    line-height: 1.58;
  }
}

@media (max-width: 420px) {
  body.rm-home-page #faq .accordion-button {
    align-items: flex-start;
  }

  body.rm-home-page #faq .accordion-body {
    margin-left: 12px;
  }
}
/* ===== RMTEX FAQ polish v146 END ===== */


/* ===== RMTEX lower blocks polish v147 START ===== */
/* Нижняя часть главной: приводим блоки после FAQ к стилю новых виджетов */
body.rm-home-page #maybe-interest,
body.rm-home-page #contact,
body.rm-home-page #contact-map,
body.rm-home-page .see-also-section {
  position: relative;
  overflow: hidden;
}

/* "Вам также могут быть интересны" */
body.rm-home-page #maybe-interest {
  max-width: 1140px;
  margin: 30px auto 30px !important;
  padding: 54px 24px 56px !important;
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 10%, rgba(40,167,69,.09), transparent 26%),
    radial-gradient(circle at 90% 8%, rgba(244,197,66,.08), transparent 24%),
    linear-gradient(180deg, #f7faf7 0%, #ffffff 100%) !important;
  box-shadow: 0 18px 48px rgba(17,23,27,.07);
}

body.rm-home-page #maybe-interest:before,
body.rm-home-page #contact:before,
body.rm-home-page #contact-map:before,
body.rm-home-page .see-also-section:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(40,167,69,.16) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .13;
  pointer-events: none;
}

body.rm-home-page #maybe-interest > .container,
body.rm-home-page #contact > .container,
body.rm-home-page #contact-map > .container,
body.rm-home-page .see-also-section > .container {
  position: relative;
  z-index: 1;
}

body.rm-home-page #maybe-interest .mi-carousel {
  max-width: 1040px;
  margin: 0 auto;
}

body.rm-home-page #maybe-interest .mi-card {
  min-height: 355px;
  border-radius: 24px;
  border: 1px solid #e1ece4;
  background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(249,252,250,.97));
  box-shadow:
    0 22px 48px rgba(17,23,27,.10),
    0 6px 14px rgba(17,23,27,.05),
    inset 0 1px 0 rgba(255,255,255,.9);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body.rm-home-page #maybe-interest .mi-card:hover {
  transform: translateY(-4px);
  border-color: rgba(40,167,69,.38);
  box-shadow:
    0 28px 58px rgba(17,23,27,.13),
    0 10px 20px rgba(17,23,27,.06),
    inset 0 1px 0 rgba(255,255,255,.95);
}

body.rm-home-page #maybe-interest .mi-cover {
  background: #fff;
}

body.rm-home-page #maybe-interest .mi-btn {
  border-radius: 999px;
  padding: 10px 16px;
  box-shadow: 0 10px 22px rgba(40,167,69,.18);
}

body.rm-home-page #maybe-interest .mi-nav {
  background: #11171b;
  color: #fff;
  box-shadow: 0 14px 30px rgba(17,23,27,.16);
}

body.rm-home-page #maybe-interest .mi-nav:hover {
  background: #28a745;
}

/* Контакты */
body.rm-home-page #contact {
  max-width: 1140px;
  margin: 30px auto 30px !important;
  padding: 54px 24px 56px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 10%, rgba(40,167,69,.09), transparent 26%),
    radial-gradient(circle at 88% 12%, rgba(53,183,255,.08), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f7faf7 100%) !important;
  box-shadow: 0 18px 48px rgba(17,23,27,.07);
}

body.rm-home-page #contact .row {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.rm-home-page #contact form .col-md-6,
body.rm-home-page #contact .social-links {
  min-height: 100%;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  border: 1px solid #e1ece4;
  box-shadow:
    0 18px 40px rgba(17,23,27,.075),
    inset 0 1px 0 rgba(255,255,255,.9);
}

body.rm-home-page #contact .contact-form .form-control {
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 15px;
  border: 1px solid #e1ece4;
  background: #f8fbf9;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
  color: #252b2f;
}

body.rm-home-page #contact .contact-form textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

body.rm-home-page #contact .contact-form .form-control:focus {
  border-color: rgba(40,167,69,.55);
  box-shadow: 0 0 0 3px rgba(40,167,69,.14);
}

body.rm-home-page #contact #submit {
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(40,167,69,.22);
}

body.rm-home-page #contact .social-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

body.rm-home-page #contact .social-links > h3:first-child {
  margin-top: 0;
}

body.rm-home-page #contact .social i {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 5px;
  border-radius: 18px;
  background: #11171b;
  color: #fff;
  box-shadow: 0 12px 28px rgba(17,23,27,.12);
}

body.rm-home-page #contact .social:hover i {
  background: #28a745;
  color: #fff;
}

body.rm-home-page #contact iframe {
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(17,23,27,.10);
}

/* Адрес и карта */
body.rm-home-page #contact-map {
  max-width: 1140px;
  margin: 30px auto 30px;
  padding: 54px 24px 56px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 10%, rgba(40,167,69,.09), transparent 26%),
    radial-gradient(circle at 88% 12%, rgba(244,197,66,.08), transparent 24%),
    linear-gradient(180deg, #f7faf7 0%, #ffffff 100%);
  box-shadow: 0 18px 48px rgba(17,23,27,.07);
}

body.rm-home-page #contact-map address {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #11171b;
  color: #fff !important;
  box-shadow: 0 14px 32px rgba(17,23,27,.13);
}

body.rm-home-page #contact-map address:before {
  content: "\f041";
  font-family: FontAwesome;
  color: #67e97b;
}

body.rm-home-page #contact-map .map_container,
body.rm-home-page #contact-map iframe {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 20px 46px rgba(17,23,27,.12);
  border: 1px solid #e1ece4;
}

body.rm-home-page #contact-map #route-btn {
  min-height: 44px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 0;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(40,167,69,.20);
}

/* Смотрите также */
body.rm-home-page .see-also-section {
  max-width: 1140px;
  margin: 30px auto 30px;
  padding: 34px 24px 36px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faf7 100%);
  box-shadow: 0 18px 48px rgba(17,23,27,.06);
}

body.rm-home-page .see-also-section .section-title {
  color: #252b2f;
  font-weight: 800;
  letter-spacing: .01em;
}

body.rm-home-page .see-badge a {
  box-shadow: 0 10px 24px rgba(17,23,27,.075);
  background:
    linear-gradient(#fff,#fff) padding-box,
    linear-gradient(135deg,#1e7e34,#66cc88) border-box;
}

/* Footer */
body.rm-home-page #copyright {
  margin-top: 0;
  padding: 30px 0 24px;
  background: #11171b;
  color: #cfe3d6;
}

body.rm-home-page #copyright p,
body.rm-home-page #copyright a {
  color: #cfe3d6;
}

body.rm-home-page #copyright .to-top i {
  border-color: rgba(40,167,69,.45);
  color: #fff;
  border-radius: 14px;
}

body.rm-home-page #copyright .to-top i:hover {
  background: #28a745;
  border-color: #28a745;
}

@media (max-width: 767px) {
  body.rm-home-page #maybe-interest,
  body.rm-home-page #contact,
  body.rm-home-page #contact-map,
  body.rm-home-page .see-also-section {
    margin-left: 12px !important;
    margin-right: 12px !important;
    border-radius: 22px;
  }

  body.rm-home-page #maybe-interest,
  body.rm-home-page #contact,
  body.rm-home-page #contact-map {
    padding: 45px 13px 45px !important;
  }

  body.rm-home-page .see-also-section {
    padding: 30px 13px 32px;
  }

  body.rm-home-page #contact form .col-md-6,
  body.rm-home-page #contact .social-links {
    padding: 20px 16px;
    border-radius: 20px;
  }

  body.rm-home-page #contact form .col-md-6 {
    margin-bottom: 16px;
  }

  body.rm-home-page #contact-map address {
    display: flex;
    width: 100%;
    border-radius: 18px;
    font-size: 20px !important;
    line-height: 1.25 !important;
  }

  body.rm-home-page #maybe-interest .mi-card {
    min-height: auto;
    border-radius: 21px;
  }

  body.rm-home-page #maybe-interest .mi-nav {
    width: 36px;
    height: 36px;
  }

  body.rm-home-page #copyright {
    text-align: center;
  }

  body.rm-home-page #copyright .to-top {
    float: none !important;
    display: inline-block;
    margin-top: 10px;
  }
}
/* ===== RMTEX lower blocks polish v147 END ===== */

/* ===== RMTEX social/address polish v148 START ===== */
/* Соцсети в контактах: горизонтально, порядок Telegram / Instagram / VK */
body.rm-home-page #contact .rm-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 14px 0 22px;
}

body.rm-home-page #contact .rm-social-row .social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

body.rm-home-page #contact .rm-social-row .social i {
  margin: 0;
}

body.rm-home-page #contact .rm-social-telegram:hover i {
  background: #28a745;
}

body.rm-home-page #contact .rm-social-instagram:hover i {
  background: #28a745;
}

body.rm-home-page #contact .rm-social-vk:hover i {
  background: #28a745;
}

/* Адрес: центрируем и делаем спокойнее по размеру */
body.rm-home-page #contact-map address {
  display: flex !important;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 12px !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 15px !important;
  border-radius: 999px;
  background: rgba(255,255,255,.96) !important;
  border: 1px solid #e1ece4;
  color: #252b2f !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  box-shadow:
    0 12px 28px rgba(17,23,27,.075),
    inset 0 1px 0 rgba(255,255,255,.9) !important;
}

body.rm-home-page #contact-map address:before {
  content: "\f041";
  font-family: FontAwesome;
  color: #28a745;
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 767px) {
  body.rm-home-page #contact .rm-social-row {
    gap: 10px;
    margin: 12px 0 20px;
  }

  body.rm-home-page #contact .rm-social-row .social i {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  body.rm-home-page #contact-map address {
    width: auto !important;
    max-width: 92%;
    font-size: 17px !important;
    padding: 9px 13px !important;
    border-radius: 16px !important;
    text-align: center;
  }
}
/* ===== RMTEX social/address polish v148 END ===== */


/* ===== RMTEX contact/map mobile equalize v149 START ===== */
/* Мобилка: карточки формы и контактов одной ширины, без лишних внутренних боковых отступов */
@media (max-width: 767px) {
  body.rm-home-page #contact .row > form,
  body.rm-home-page #contact .row > .rm-contact-side {
    display: block;
    float: none;
    width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
  }

  body.rm-home-page #contact form .col-md-6,
  body.rm-home-page #contact .rm-contact-side .social-links {
    float: none;
    width: 100%;
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
  }

  body.rm-home-page #contact form .col-md-6 {
    margin-bottom: 16px !important;
  }

  body.rm-home-page #contact .rm-contact-side .social-links {
    min-height: auto;
  }

  body.rm-home-page #contact .rm-footer-contact-phones {
    width: 100%;
  }

  body.rm-home-page #contact .rm-footer-contact-link {
    width: 100%;
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Карта: убираем ощущение лишних боковых рамок внутри блока */
  body.rm-home-page #contact-map .rm-map-wrap {
    margin-left: -13px;
    margin-right: -13px;
  }

  body.rm-home-page #contact-map .map_container,
  body.rm-home-page #contact-map .map_container iframe,
  body.rm-home-page #contact-map iframe {
    width: 100% !important;
    max-width: 100% !important;
    border-left: 0 !important;
    border-right: 0 !important;
  }
}
/* ===== RMTEX contact/map mobile equalize v149 END ===== */


/* ===== RMTEX HOME: Примеры работ в мастерской v150 ===== */
body.rm-home-page #work-photos {
  position: relative;
  padding: 58px 0 56px;
  background:
    radial-gradient(circle at 12% 12%, rgba(40,167,69,.08), transparent 24%),
    radial-gradient(circle at 88% 14%, rgba(244,197,66,.08), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f7faf7 100%);
  overflow: hidden;
}

body.rm-home-page #work-photos:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(40,167,69,.14) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .14;
  pointer-events: none;
}

body.rm-home-page #work-photos > .container,
body.rm-home-page .rm-work-head,
body.rm-home-page .rm-work-carousel,
body.rm-home-page .rm-work-dots,
body.rm-home-page .rm-work-actions {
  position: relative;
  z-index: 1;
}

body.rm-home-page .rm-work-head {
  max-width: 890px;
  margin: 0 auto 28px;
  text-align: center;
}

body.rm-home-page .rm-work-head h2 {
  margin: 0;
  color: #252b2f;
  font-size: 38px;
  line-height: 1.18;
  font-weight: 800;
}

body.rm-home-page .rm-work-head p {
  max-width: 820px;
  margin: 12px auto 0;
  color: #5f696f;
  font-size: 16.5px;
  line-height: 1.6;
}

body.rm-home-page .rm-work-carousel {
  --work-per: 4;
  --work-gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
}

body.rm-home-page .rm-work-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--work-per) - 1) * var(--work-gap)) / var(--work-per));
  gap: var(--work-gap);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

body.rm-home-page .rm-work-track::-webkit-scrollbar {
  display: none;
}

body.rm-home-page .rm-work-card {
  scroll-snap-align: start;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(249,252,250,.97));
  border: 1px solid #e1ece4;
  box-shadow:
    0 22px 48px rgba(17,23,27,.10),
    0 6px 14px rgba(17,23,27,.05),
    inset 0 1px 0 rgba(255,255,255,.9);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body.rm-home-page .rm-work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(40,167,69,.38);
  box-shadow:
    0 28px 58px rgba(17,23,27,.13),
    0 10px 20px rgba(17,23,27,.06),
    inset 0 1px 0 rgba(255,255,255,.95);
}

body.rm-home-page .rm-work-photo {
  display: block;
  color: inherit;
  text-decoration: none;
}

body.rm-home-page .rm-work-card img {
  display: block;
  width: 100%;
  height: 235px;
  object-fit: cover;
  object-position: center;
  background: #fff;
}

body.rm-home-page .rm-work-body {
  padding: 15px 15px 17px;
  text-align: center;
}

body.rm-home-page .rm-work-body h3 {
  margin: 0 0 7px;
  color: #252b2f;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 800;
}

body.rm-home-page .rm-work-body p {
  margin: 0;
  color: #657078;
  font-size: 13.5px;
  line-height: 1.45;
}

body.rm-home-page .rm-work-nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #11171b;
  color: #fff;
  box-shadow: 0 14px 30px rgba(17,23,27,.16);
  z-index: 3;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

body.rm-home-page .rm-work-nav:hover,
body.rm-home-page .rm-work-nav:focus-visible {
  background: #28a745;
  transform: translateY(-50%) scale(1.05);
  outline: none;
}

body.rm-home-page .rm-work-prev { left: -14px; }
body.rm-home-page .rm-work-next { right: -14px; }

body.rm-home-page .rm-work-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 8px;
}

body.rm-home-page .rm-work-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cfd6dc;
  cursor: pointer;
}

body.rm-home-page .rm-work-dot.is-active {
  background: #28a745;
}

body.rm-home-page .rm-work-actions {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

body.rm-home-page .rm-work-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #11171b;
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 14px 30px rgba(17,23,27,.12);
  transition: background .18s ease, transform .18s ease;
}

body.rm-home-page .rm-work-more:hover {
  background: #28a745;
  transform: translateY(-2px);
}

@media (max-width: 1199px) {
  body.rm-home-page .rm-work-carousel { --work-per: 3; }
}

@media (max-width: 991px) {
  body.rm-home-page .rm-work-carousel { --work-per: 2; }
}

@media (max-width: 767px) {
  body.rm-home-page #work-photos {
    padding: 45px 0 43px;
    background: linear-gradient(180deg, #ffffff 0%, #f7faf7 100%);
  }

  body.rm-home-page .rm-work-head {
    margin-bottom: 22px;
  }

  body.rm-home-page .rm-work-head h2 {
    font-size: 29px;
  }

  body.rm-home-page .rm-work-head p {
    font-size: 15.5px;
  }

  body.rm-home-page .rm-work-carousel {
    --work-per: 1;
    --work-gap: 14px;
  }

  body.rm-home-page .rm-work-track {
    --work-mobw: 88%;
    grid-auto-columns: var(--work-mobw);
    scroll-padding-left: calc((100% - var(--work-mobw)) / 2);
    scroll-padding-right: calc((100% - var(--work-mobw)) / 2);
    padding-left: calc((100% - var(--work-mobw)) / 2);
    padding-right: calc((100% - var(--work-mobw)) / 2);
  }

  body.rm-home-page .rm-work-card {
    scroll-snap-align: center;
    border-radius: 22px;
  }

  body.rm-home-page .rm-work-card img {
    height: 260px;
  }

  body.rm-home-page .rm-work-prev { left: -4px; }
  body.rm-home-page .rm-work-next { right: -4px; }
}

@media (max-width: 420px) {
  body.rm-home-page .rm-work-card img {
    height: 245px;
  }
}


/* ===== v153: фото работ в карусели не открываются крупно ===== */
body.rm-home-page .rm-work-photo {
  cursor: default;
}
body.rm-home-page .rm-work-photo img {
  pointer-events: none;
}


/* v154 - раскрывающиеся симптомы на главной */
.rm-symptom-intro {
  margin: 8px 0 0;
  color: #cbd5d7;
  font-size: 15px;
  line-height: 1.55;
}

.rm-symptom-accordion {
  display: block;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}

.rm-symptom-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 13px 14px;
  list-style: none;
  cursor: pointer;
  outline: none;
}

.rm-symptom-accordion summary::-webkit-details-marker {
  display: none;
}

.rm-symptom-main {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.rm-symptom-main span {
  min-width: 0;
}

.rm-symptom-toggle {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(40,167,69,.13);
  border: 1px solid rgba(40,167,69,.24);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #74e889;
  font-size: 18px;
  line-height: 1;
}

.rm-symptom-toggle:before {
  content: "+";
  transform: translateY(-1px);
}

.rm-symptom-accordion[open] {
  border-color: rgba(40,167,69,.36);
  background: rgba(40,167,69,.12);
  box-shadow: 0 12px 26px rgba(0,0,0,.14);
}

.rm-symptom-accordion[open] .rm-symptom-toggle:before {
  content: "−";
}

.rm-symptom-accordion[open] summary {
  padding-bottom: 8px;
}

.rm-symptom-accordion:focus-within {
  border-color: rgba(40,167,69,.48);
}

.rm-symptom-body {
  padding: 0 14px 14px 59px;
  color: #cfd8d4;
  font-size: 13.5px;
  line-height: 1.55;
  font-weight: 500;
}

.rm-symptom-body p {
  margin: 0 0 7px;
}

.rm-symptom-body p:last-child {
  margin-bottom: 0;
}

.rm-symptom-body strong {
  color: #f3f8f4;
  font-weight: 800;
}

@media (max-width: 767px) {
  .rm-symptom-intro {
    font-size: 14px;
  }

  .rm-symptom-accordion summary {
    padding: 12px 12px;
  }

  .rm-symptom-body {
    padding: 0 12px 13px 12px;
    font-size: 13px;
  }
}


/* v155 - фикс десктопной сетки раскрывающихся симптомов */
@media (min-width: 768px) {
  .rm-symptom-grid {
    align-items: start;
  }

  .rm-symptom-accordion {
    align-self: start;
  }
}

/* ===== RMTEX unified carousel logic/style v49 ===== */
.mi-carousel,
.rm-work-carousel {
  position: relative;
}

.mi-carousel .mi-grid,
.rm-work-track {
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
}

.mi-carousel .mi-grid > li,
.rm-work-card {
  scroll-snap-stop: always;
}

.mi-dots,
.rm-work-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mi-dot,
.rm-work-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cfd6dc;
  cursor: pointer;
  opacity: .95;
  transition: width .18s ease, background .18s ease, opacity .18s ease, transform .18s ease;
}

.mi-dot:hover,
.rm-work-dot:hover,
.mi-dot:focus-visible,
.rm-work-dot:focus-visible {
  opacity: 1;
  outline: none;
  transform: scale(1.08);
}

.mi-dot.is-active,
.rm-work-dot.is-active {
  width: 22px;
  background: #28a745;
}

.mi-nav[hidden],
.rm-work-nav[hidden],
.mi-dots[hidden],
.rm-work-dots[hidden] {
  display: none !important;
}

@media (max-width: 575px) {
  .mi-carousel .mi-grid {
    --mobw: 88%;
    grid-auto-columns: var(--mobw);
    scroll-padding-left: calc((100% - var(--mobw)) / 2);
    scroll-padding-right: calc((100% - var(--mobw)) / 2);
    padding-left: calc((100% - var(--mobw)) / 2);
    padding-right: calc((100% - var(--mobw)) / 2);
  }

  .mi-carousel .mi-grid > li {
    scroll-snap-align: center;
  }
}


/* ===== RMTEX icons patch v162 START ===== */
body.rm-home-page #contact-map address:before {
  content: none !important;
  display: none !important;
}
body.rm-home-page #contact-map address i.fa-map-marker {
  color: #28a745;
  font-size: 18px;
  line-height: 1;
}
body.rm-home-page #route-btn i,
body.rm-home-page #submit i {
  margin-right: 6px;
}
/* ===== RMTEX icons patch v162 END ===== */


/* ===== RMTEX unified backgrounds from landing v163 START ===== */
/* Только возврат унификации фонов главной под посадочные. Карусели, FAQ, карта, форма и JS не трогаются. */
body.rm-home-page {
  --rm-dark-base-a: #06110e;
  --rm-dark-base-b: #0b1713;
  --rm-dark-base-c: #07120f;
  --rm-dark-dot-1: rgba(255,255,255,.045);
  --rm-dark-dot-2: rgba(255,255,255,.018);
  --rm-dark-glow: rgba(40,167,69,.18);
  --rm-light-bg: #f3f6f2;
  --rm-light-dot-1: rgba(17,35,24,.052);
  --rm-light-dot-2: rgba(17,35,24,.024);
}

body.rm-home-page #hero-area.rm-hero-v2 {
  background: none !important;
  color: #fff;
}

body.rm-home-page .rm-hero-bg,
body.rm-home-page .rm-repair-scope-v2 .rm-service-info-bg,
body.rm-home-page #about {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at var(--rm-dark-glow-x, 16%) var(--rm-dark-glow-y, 20%), var(--rm-dark-glow), transparent 32%),
    linear-gradient(135deg, var(--rm-dark-base-a) 0%, var(--rm-dark-base-b) 52%, var(--rm-dark-base-c) 100%) !important;
  border-top: 0;
  border-bottom: 0;
}

body.rm-home-page .rm-hero-bg {
  --rm-dark-glow-x: 16%;
  --rm-dark-glow-y: 20%;
}

body.rm-home-page .rm-repair-scope-v2 .rm-service-info-bg {
  --rm-dark-glow-x: 88%;
  --rm-dark-glow-y: 18%;
}

body.rm-home-page #about {
  --rm-dark-glow-x: 12%;
  --rm-dark-glow-y: 18%;
}

body.rm-home-page .rm-hero-bg:before,
body.rm-home-page .rm-repair-scope-v2 .rm-service-info-bg:before,
body.rm-home-page #about:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 1 !important;
  pointer-events: none;
  background-image:
    radial-gradient(var(--rm-dark-dot-1) 1px, transparent 1px),
    radial-gradient(var(--rm-dark-dot-2) 1px, transparent 1px) !important;
  background-size: 14px 14px, 22px 22px !important;
  background-position: 0 0, 7px 7px !important;
  background-repeat: repeat, repeat !important;
}

body.rm-home-page .rm-hero-row,
body.rm-home-page .rm-repair-scope-v2 .rm-service-info-bg > .container,
body.rm-home-page #about > .container {
  position: relative;
  z-index: 1;
}

body.rm-home-page .rm-process-v2,
body.rm-home-page .rm-popular-v2,
body.rm-home-page #faq,
body.rm-home-page #maybe-interest,
body.rm-home-page #work-photos,
body.rm-home-page #contact,
body.rm-home-page #contact-map,
body.rm-home-page .see-also-section {
  position: relative;
  overflow: hidden;
  background: var(--rm-light-bg) !important;
  background-image: none !important;
}

body.rm-home-page .rm-process-v2:before,
body.rm-home-page .rm-popular-v2:before,
body.rm-home-page #faq:before,
body.rm-home-page #maybe-interest:before,
body.rm-home-page #work-photos:before,
body.rm-home-page #contact:before,
body.rm-home-page #contact-map:before,
body.rm-home-page .see-also-section:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 1 !important;
  pointer-events: none;
  background-image:
    radial-gradient(var(--rm-light-dot-1) 1px, transparent 1px),
    radial-gradient(var(--rm-light-dot-2) 1px, transparent 1px) !important;
  background-size: 14px 14px, 22px 22px !important;
  background-position: 0 0, 7px 7px !important;
  background-repeat: repeat, repeat !important;
}

body.rm-home-page .rm-process-v2 > *,
body.rm-home-page .rm-popular-v2 > *,
body.rm-home-page #faq > *,
body.rm-home-page #maybe-interest > *,
body.rm-home-page #work-photos > *,
body.rm-home-page #contact > *,
body.rm-home-page #contact-map > *,
body.rm-home-page .see-also-section > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
  body.rm-home-page .rm-hero-bg,
  body.rm-home-page .rm-repair-scope-v2 .rm-service-info-bg,
  body.rm-home-page #about {
    background: linear-gradient(135deg, var(--rm-dark-base-a) 0%, var(--rm-dark-base-b) 52%, var(--rm-dark-base-c) 100%) !important;
  }

  body.rm-home-page .rm-hero-bg:before,
  body.rm-home-page .rm-repair-scope-v2 .rm-service-info-bg:before,
  body.rm-home-page #about:before {
    background-size: 12px 12px, 18px 18px !important;
    background-position: 0 0, 6px 6px !important;
  }

  body.rm-home-page .rm-process-v2,
  body.rm-home-page .rm-popular-v2,
  body.rm-home-page #faq,
  body.rm-home-page #maybe-interest,
  body.rm-home-page #work-photos,
  body.rm-home-page #contact,
  body.rm-home-page #contact-map,
  body.rm-home-page .see-also-section {
    background: #f2f5f1 !important;
  }

  body.rm-home-page .rm-process-v2:before,
  body.rm-home-page .rm-popular-v2:before,
  body.rm-home-page #faq:before,
  body.rm-home-page #maybe-interest:before,
  body.rm-home-page #work-photos:before,
  body.rm-home-page #contact:before,
  body.rm-home-page #contact-map:before,
  body.rm-home-page .see-also-section:before {
    background-size: 12px 12px, 18px 18px !important;
    background-position: 0 0, 6px 6px !important;
  }
}
/* ===== RMTEX unified backgrounds from landing v163 END ===== */
