/*
Theme Name: Hello Child
Template: hello-elementor
Text Domain: hello-child
*/

@import url("../hello-elementor/style.css");


/* Стили для фильтра и карточек */
.services-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}

.services-filter-bar label {
  margin-bottom: 5px;
  font-weight: 600;
  white-space: nowrap;
}

.services-filter-bar select {
  width: 220px;
  max-width: 100%;
  padding: 6px 12px;
  font-size: 16px;
  box-sizing: border-box;
}
.services-grid {
 display: flex;
  flex-direction: column;
  gap: 20px;
}
.card-container {
  border: 1px solid #ddd;
  padding: 20px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  border-radius: 8px;
  font-family: 'Roboto', sans-serif;
}
.card-container h2 {
  font-size: 20px;
  margin-bottom: 10px;
}
.details-col p {
  margin: 5px 0;
}


.installer-card {
  display: flex;
  gap: 20px;
  border: 1px solid #eee;
  padding: 20px;
  margin-bottom: 30px;
  background: #fff;
  font-family: 'Roboto', sans-serif;
}
.installer-card__image {
  width: 40%;
}
.installer-card__center {
  width: 40%;
  border-right: 1px solid #ddd;
  padding-right: 20px;
}
.installer-card__right {
  width: 20%;
  padding-left: 20px;
}
.installer-card__content {
  flex: 2;
}
.installer-card__title {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0;
}
.installer-card__rating-bar {
  height: 6px;
  background: #eee;
  margin: 8px 0;
  border-radius: 3px;
  overflow: hidden;
}
.installer-card__rating-fill {
  height: 100%;
  background: #ffcc00;
  width: 0%;
}
.installer-card__button {
  display: inline-block;
  background: #0073aa;
  color: white;
  padding: 10px 15px;
  margin: 10px 0;
  text-decoration: none;
}

.swiper-container {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 8px;
}

.swiper-wrapper {
  display: flex;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.swiper-pagination {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 10;
}

.installer-swiper {
  max-width: 320px;
  max-height: 200px;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
}

.installer-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.installer-swiper .swiper-pagination {
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 10;
}

.installer-swiper .swiper-button-next,
.installer-swiper .swiper-button-prev {
  color: #fff;
  top: 50%;
  transform: translateY(-50%);
}

/*меньше по ширине и выравнивание по левому краю*/

.installer-card__image .swiper {
  width: 280px; /* или меньше */
  border-radius: 8px;
  overflow: hidden;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/*Расположение точек (пагинации) и стрелок Чтобы точки были внутри слайда снизу*/

.swiper-pagination {
  position: absolute;
  bottom: 10px;
  text-align: center;
  width: 100%;
  z-index: 10;
}

.swiper-button-prev,
.swiper-button-next {
  color: #fff;
  top: 50%;
  transform: translateY(-50%);
}

/* стили поля описания*/
.installer-card__description {
  margin: 10px 0;
  color: #444;
  font-size: 16px;
  line-height: 1.5;
}

/*Соцсети*/
.installer-card__socials {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.installer-card__socials img {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
}

.installer-card__socials i {
  font-size: 22px;
  color: #333;
  transition: color 0.2s ease;
}

.installer-card__socials a:hover img {
  transform: scale(1.1);
}

.installer-card__socials a:hover i {
  color: #007bff;
}



/* Стили фильтра: Desktop */
.services-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin: 30px 0;
  padding: 0 20px;
  flex-wrap: wrap;
}

.filter-left {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
}

.filter-right {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}

.services-filter-bar label {
  margin: 0;
  font-weight: 500;
  white-space: nowrap;
}

.services-filter-bar select {
  min-width: 180px;
  padding: 6px 12px;
  font-size: 16px;
}

/* Стили фильтра: Mobile */
@media (max-width: 768px) {
  .services-filter-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 0 10px;
    gap: 20px;
  }

  .filter-left,
  .filter-right {
    justify-content: flex-start;
  }

  .services-filter-bar select {
    width: 100%;
  }
}

/*мобильная версия карточки*/
@media (max-width: 768px) {
  .installer-card {
    flex-direction: column;
    padding: 15px;
  }

  .installer-card__image,
  .installer-card__center,
  .installer-card__right {
    width: 100%;
    padding: 0;
    border: none;
  }

  .installer-card__center {
    margin-top: 10px;
  }

  .installer-card__right {
    margin-top: 10px;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }

.installer-swiper {
  width: 100%;
  max-width: 100%;
}
}

 /* swiper-init */
#imageModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#imageModal .modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}
#imageModal img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
}
#imageModal .modal-close {
  position: absolute;
  top: -30px;
  right: 0;
  font-size: 32px;
  color: white;
  cursor: pointer;
}
#imageModal .modal-backdrop {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/*стили фильтра*/
@media (min-width: 768px) {
  .services-filter-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    margin-bottom: 30px;
  }

  .services-filter-bar label {
    margin: 0;
    font-weight: 500;
    white-space: nowrap;
  }

  .services-filter-bar select {
    min-width: 180px;
    padding: 6px 12px;
    font-size: 16px;
  }
}

/* Единая ширина для фильтров */
.services-filter-bar select {
  min-width: 200px;
}


.criteria-block {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 30px;
  margin: 40px 0;
  font-family: 'Roboto', sans-serif;
}

.criteria-block__inner {
 display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.criteria-block__image img {
  max-height: 220px; /* Уменьшает картинку по высоте */
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  max-width: 250px;
  border-radius: 8px;
}

.criteria-block__content {
  flex: 1;
}

.criteria-block__content h3 {
  font-size: 20px;
  margin-top: 10px;
}

.criteria-block__content ul {
  padding-left: 20px;
  margin: 15px 0 0;
}

.criteria-block__content ul li {
  margin-bottom: 10px;
}

.accessibility-link {
  display: inline-block;
  font-size: 14px;
  color: #0073aa;
  margin-bottom: 10px;
}

.criteria-block {
  background: #fff;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
  padding: 30px;
  margin: 30px 0;
  border-radius: 12px;
  font-family: 'Roboto', sans-serif;
}

.criteria-block__inner {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.criteria-block__image img {
  max-width: 200px;
  border-radius: 8px;
}

.criteria-block__content {
  flex: 1;
  min-width: 280px;
}

.criteria-block__content h3 {
  margin-top: 10px;
  margin-bottom: 15px;
  font-size: 20px;
}

.criteria-block__content ul {
  padding-left: 20px;
}

.criteria-block__content ul li {
  margin-bottom: 8px;
}

.accessibility-link {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 14px;
  color: #007cba;
  text-decoration: underline;
}

/* 📱 Адаптация под мобильные устройства */
@media (max-width: 768px) {
  .criteria-block__image img {
    max-height: 120px; /* Еще меньше на телефоне */
    margin: 0 auto;
  }

  .criteria-block__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .criteria-block__content {
    text-align: left;
  }
}

/*шапка*/
.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 20px;
}

.top-header__left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-header__logo {
  width: 36px;
  height: auto;
  filter: brightness(0) saturate(100%) invert(19%) sepia(91%) saturate(2734%) hue-rotate(180deg) brightness(94%) contrast(101%);
}

.top-header__stars i {
  font-size: 16px;
  margin-right: 2px;
}

.top-header__nav {
  display: flex;
  gap: 18px;
  font-weight: 500;
}

.top-header__nav a {
  color: #000;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s;
}

.top-header__nav a:hover {
  color: #0d47a1; /* синий при наведении */
}

.top-header__stats {
  display: flex;
  gap: 12px;
  align-items: center;
}

.stat {
  text-align: center;
}

.stat__circle {
  background-color: #00c4e5;
  color: #fff;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 14px;
  display: inline-block;
  min-width: 36px;
}

.stat__label {
  font-size: 13px;
  font-weight: 600;
  color: #000;
  display: block;
  margin-top: 2px;
}

.mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.mobile-header__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-header__logo {
  width: 42px;
  height: auto;
  filter: invert(22%) sepia(94%) saturate(1824%) hue-rotate(203deg) brightness(92%) contrast(92%); /* делает логотип синим */
}

.mobile-header__rating i {
  color: #ffc107; /* золотые звёзды */
  font-size: 14px;
}

.mobile-header__burger i {
  font-size: 22px;
  color: #333;
  cursor: pointer;
}

/* Подстройка под маленькие экраны */
@media (max-width: 480px) {
  .mobile-header__logo {
    width: 36px;
  }
  .mobile-header__rating i {
    font-size: 13px;
  }
  .mobile-header__burger i {
    font-size: 20px;
  }
}

.mobile-menu {
  display: none;
  background-color: #ffffff;
  border-top: 1px solid #eee;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  position: absolute;
  top: 60px; /* под шапкой */
  left: 0;
  right: 0;
  z-index: 998;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 10px 15px;
}

.mobile-menu ul li {
  padding: 10px 0;
  border-bottom: 1px solid #f2f2f2;
}

.mobile-menu ul li a {
  text-decoration: none;
  color: #c2185b;
  font-weight: 500;
}

.mobile-menu.show {
  display: block;
}

/* ============================
   МОДАЛЬНОЕ ОКНО – OVERLAY
   ============================ */
/* ============================
   OVERLAY
   ============================ */
.modal-discount {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.modal-discount.open {
  display: flex;
}

/* ============================
   CONTAINER
   ============================ */
.modal-content {
  position: relative;
  background: linear-gradient(to bottom, #0d74d1, #0077e5);
  color: #fff;
  max-width: 400px;
  width: 90%;
  border-radius: 15px;
  padding: 25px 20px 30px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  text-align: center;
}

/* DISCOUNT BADGE */
.modal-discount-circle {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: #005bcb;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.1;
}

/* HEADINGS */
.modal-content h2,
.modal-content h3 {
  margin: 10px 0;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
}

/* FORM FIELDS */
.discount-form input[type="text"],
.discount-form input[type="tel"],
.discount-form input[type="email"],
.discount-form textarea {
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  border-radius: 5px;
  border: none;
  font-size: 16px;
}

.discount-form textarea {
  min-height: 80px;
  resize: vertical;
}

.discount-form input[type="file"] {
  margin: 10px 0;
}

/* CHECKBOX */
.discount-form .checkbox {
  display: flex;
  align-items: center;
  font-size: 14px;
  margin: 10px 0 20px;
}

.discount-form .checkbox input {
  margin-right: 8px;
}

/* SUBMIT BUTTON */
.discount-form button[type="submit"] {
  width: 100%;
  padding: 12px;
  background: #ffc107;
  color: #000;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

/* NOTE */
.modal-subnote {
  margin-top: 12px;
  font-size: 14px;
}

/* ADAPTIVE */
@media (max-width: 480px) {
  .modal-content {
    padding: 20px 15px 25px;
    width: 95%;
  }
  .modal-discount-circle {
    width: 70px;
    height: 70px;
    top: -15px;
    right: -15px;
    font-size: 16px;
  }
}

/* Close button – desktop */
.modal-content > .modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: none;
  color: #000;            /* чёрный крестик */
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
}
.modal-content > .modal-close:hover {
  color: #333;            /* темнее при наведении */
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
}

/* Close button – mobile */
@media (max-width: 480px) {
  .modal-content > .modal-close {
    top: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
    font-size: 28px;
  }
  .modal-content > .modal-close:hover {
    background: rgba(0, 0, 0, 0.15);
  }
}

/* ============================
   ТАБЛИЦА РЕЙТИНГОВ — БАЗОВЫЕ СТИЛИ
   ============================ */
#rating-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
  line-height: 1.4;
  display: table; /* сбросим блоковый режим до медиазапроса */
}
#rating-table th,
#rating-table td {
  padding: 8px 12px;
  border: 1px solid #ddd;
  text-align: center;
}
#rating-table th {
  background: #f7f7f7;
  position: relative;   /* для стрелок */
  padding-right: 24px;  /* место под стрелки */
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}

/* Стрелки сортировки */
#rating-table th:after {
  content: "\25B2\00a0\25BC"; /* ▲ ▼ */
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7em;
  color: #ccc;
}
#rating-table th.headerSortUp:after {
  content: "\25B2"; /* ▲ */
  color: #007cba;
}
#rating-table th.headerSortDown:after {
  content: "\25BC"; /* ▼ */
  color: #007cba;
}

/* Звёздный рейтинг */
.rating-stars {
  color: #ffa500;
  font-size: 16px;
}

/* Текстовый рейтинг (по умолчанию скрыт) */
.rating-text {
  display: none;
  font-weight: bold;
  font-size: 16px;
}

/* Рекомендации */
.recommend-yes {
  color: green;
  font-weight: bold;
  font-size: 16px;
}
.recommend-no {
  color: red;
  font-weight: bold;
  font-size: 16px;
}

/* Баллы */
.score {
  color: #007cba;
  font-weight: bold;
  font-size: 16px;
}

/* Миниатюры */
#rating-table img {
  border-radius: 50%;
  vertical-align: middle;
}

/* ================================
   АДАПТИВ ДЛЯ МОБИЛЬНЫХ ЭКРАНОВ
   ================================ */
/* 1) Горизонтальная прокрутка везде */
@media (max-width: 1024px) {
  #rating-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
}

/* 2) Уменьшаем паддинги и шрифт */
@media (max-width: 768px) {
  #rating-table th,
  #rating-table td {
    padding: 6px 8px;
    font-size: 14px;
  }
  .recommend-yes,
  .recommend-no,
  .score,
  .rating-text {
    font-size: 14px;
  }
}

/* 3) Упрощённый вид на узких экранах (до 600px): 
      показываем только Название, Рейтинг (текст), Баллы */
@media (max-width: 600px) {
  /* прячем колонки: миниатюра (2), рекомендуют (4), не рекомендуют (5) */
  #rating-table th:nth-child(2),
  #rating-table td:nth-child(2),
  #rating-table th:nth-child(4),
  #rating-table td:nth-child(4),
  #rating-table th:nth-child(5),
  #rating-table td:nth-child(5) {
    display: none;
  }

  /* вместо звёзд показываем текстовый рейтинг */
  .rating-stars {
    display: none;
  }
  .rating-text {
    display: inline;
  }
}

.quiz-container {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.quiz-step h3 {
  margin-bottom: 16px;
  font-size: 18px;
}
.quiz-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.quiz-option {
  flex: 1 1 150px;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 12px;
  text-align: center;
  cursor: pointer;
}
.quiz-option input {
  margin-right: 8px;
}
.quiz-option:hover {
  border-color: #007cba;
}
.quiz-nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.quiz-nav button {
  background: #007cba;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
}
.quiz-nav button[disabled] {
  opacity: 0.5;
  cursor: default;
}
.quiz-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quiz-form input[type="text"],
.quiz-form input[type="tel"],
.quiz-form input[type="email"] {
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
}
.quiz-form label {
  display: flex;
  align-items: center;
  gap: 6px;
}
.quiz-form button {
  background: #ffc107;
  color: #000;
  padding: 12px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}
.quiz-msg {
  margin-top: 16px;
  font-weight: 600;
}

.quiz-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.quiz-form input[type="text"],
.quiz-form input[type="tel"],
.quiz-form input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

.quiz-consent {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.quiz-form button[type="submit"] {
  padding: 12px;
  background: #ffc107;
  color: #000;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.quiz-msg {
  margin-top: 16px;
  font-weight: 600;
  color: green;
}


/*–––––––––––––––––––––––––––––––––––
  Мобильное меню — универсальный overlay
–––––––––––––––––––––––––––––––––––*/
/*––– Мобильное меню – скрытое состояние –––*/
.mobile-menu {
  display: none;
  pointer-events: none;
}

/*––– Мобильное меню – открытое состояние –––*/
.mobile-menu.show {
  display: flex !important;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  flex-direction: column;
  padding-top: 60px;       /* отступ под шапку */
  background: #fff;
  overflow-y: auto;
  pointer-events: auto;
  z-index: 9999;
}

/*––– Шапка и бургер всегда над меню –––*/
.mobile-header {
  position: relative;
  z-index: 10000;
}
#burger-toggle {
  cursor: pointer;
  z-index: 10001;
}
#burger-toggle i {
  pointer-events: none; /* чтобы клик “проваливался” на обёртку */
}


/* =========================
   МОБИЛЬНОЕ МЕНЮ — ОЧИСТКА
   ========================= */

/* Скрытое состояние — по умолчанию ничего не показываем */
.mobile-menu {
  display: none !important;
  /* убираем pointer-events, если не нужно */
}

/* Открытое состояние — когда добавлен .show */
.mobile-menu.show {
  display: block !important;
  position: absolute;
  top: 60px;      /* отступ сверху под ваш header */
  left: 0;
  right: 0;
  background: #fff;
  z-index: 9999;  /* над основным содержимым */
  /* можете добавить ещё паддинги, бордеры и т.д. */
}

/* Сам header и кнопка-бургер остаются наверху */
.mobile-header {
  position: relative;
  z-index: 10000;
}
#burger-toggle {
  position: relative;
  z-index: 10001;
  cursor: pointer;
}
#burger-toggle i {
  pointer-events: none;
}

/* Блокируем скролл страницы, когда меню открыто */
body.menu-open {
  overflow: hidden;
}

/* Скрытое состояние */
#mobile-menu {
  display: none !important;
  pointer-events: none;
}

/* Открытое состояние: фиксируем overlay на весь экран */
#mobile-menu.show {
  display: flex !important;
  flex-direction: column;
  position: fixed !important;
  inset: 0;               /* top:0; right:0; bottom:0; left:0; */
  padding-top: 60px;      /* отступ сверху под высоту шапки */
  background: rgba(255,255,255,0.97) !important;
  overflow-y: auto;
  pointer-events: auto;
  z-index: 9999 !important;
}

/* Заголовок (шапка) поверх меню */
.mobile-header {
  position: relative !important;
  z-index: 10000 !important;
}

/* Бургер над всем */
#burger-toggle {
  position: relative !important;
  z-index: 10001 !important;
  cursor: pointer !important;
}
#burger-toggle i {
  pointer-events: none !important;
}

/* Стили пунктов меню */
#mobile-menu ul {
  margin: 0;
  padding: 20px 0;
  list-style: none;
}
#mobile-menu li + li {
  margin-top: 8px;
}
#mobile-menu a {
  display: block;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  font-size: 16px;
}
#mobile-menu a:hover {
  background: #f5f5f5;
}

.installers-map-wrapper {
  margin: 20px 0;
}

/* контейнер поиска */
.map-search {
  display: flex;
  margin-bottom: 8px;
}

/* само поле ввода */
#map-search-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
  box-sizing: border-box;
}

/* кнопка «Найти» */
#map-search-btn {
  padding: 8px 16px;
  background: #ffc107;
  border: none;
  border-radius: 0 4px 4px 0;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color .2s;
}

#map-search-btn:hover {
  background: #e6ac00;
}

/* серый фон на нечётных карточках */
.services-grid .installer-card:nth-child(odd) {
  background-color: #f5f5f5; /* светло‑серый */
  padding: 20px;             /* чтобы отступы совпадали */
  border-radius: 8px;        /* мягкие скругления, как в примере */
  margin-bottom: 0px;       /* пространство между «полосами» */
}

/* белый фон на чётных — можно не указывать, если по умолчанию белый */
.services-grid .installer-card:nth-child(even) {
  background-color: #ffffff;
  margin-bottom: 0px;
}

/* === Блок Плюсы / Минусы === */
.pros-cons-block {
  display: flex;
  gap: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
  margin: 0px 0;           /* уменьшаем внешний отступ */
  margin-bottom: 30px;
  background: #fff;
}
.pros-cons-column { flex: 1; }
.pros-cons-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.pros-cons-title.pros { color: #007cba; }
.pros-cons-title.cons { color: #d32f2f; }
.pros-cons-list { list-style: disc inside; padding:0; margin:0; }
.pros-cons-list li { margin-bottom: 6px; line-height:1.4; }

/* на мобилках — колонки друг под другом */
@media (max-width: 768px) {
  .pros-cons-block { flex-direction: column; }
}

/* Для отзывов Небольшие стили (чтобы ничего не «дёргалось»)*/
/* Пагинация отзывов — без рамок, с мягким выделением */
nav.reviews-pagination .page-numbers,
nav.reviews-pagination .page-numbers.current {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;

  min-width: 40px !important;
  height: 36px !important;
  padding: 0 !important;
  margin: 0 6px !important;

  line-height: 1 !important;
  font-weight: 500 !important;
  border: none !important;          /* убрали рамки */
  border-radius: 8px !important;
}

/* Обычные страницы */
nav.reviews-pagination a.page-numbers {
  background: transparent !important;
  color: #0073aa !important;         /* основной синий */
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s;
}

nav.reviews-pagination a.page-numbers:hover {
  background: rgba(13, 110, 253, 0.1) !important;
  color: #0b5ed7 !important;
}

/* Активная страница */
nav.reviews-pagination .page-numbers.current {
  background: #0073aa !important;    /* основной цвет фона */
  color: #fff !important;            /* белый текст */
}

/* Пред/След */
nav.reviews-pagination .page-numbers.prev,
nav.reviews-pagination .page-numbers.next {
  min-width: auto !important;
  padding: 0 12px !important;
  background: transparent !important;
  color: #0073aa !important;
}

nav.reviews-pagination .page-numbers.prev:hover,
nav.reviews-pagination .page-numbers.next:hover {
  background: rgba(13, 110, 253, 0.1) !important;
  color: #0b5ed7 !important;
}


.show-phone-btn,
.call-phone-btn,
.copy-phone-btn {
    margin-top: 6px;
    display: inline-block;
    padding: 6px 10px;
    font-size: 14px;
    background: #0d6efd;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
}
.show-phone-btn:hover,
.call-phone-btn:hover,
.copy-phone-btn:hover {
    background: #0b5ed7;
}
.copy-phone-btn {
    margin-left: 8px;
}

/* CTA: инверсия цвета при наведении */
.cta-button{
  display:inline-block;
  margin:10px 0 20px;
  padding:10px 16px;
  background:#007cba;
  color:#fff;
  text-decoration:none;
  border-radius:4px;
  font-weight:bold;
  text-align:center;
  border:2px solid #007cba;
  transition:color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.cta-button:hover,
.cta-button:focus{
  background:#fff;
  color:#007cba;
  border-color:#007cba;
  box-shadow:0 0 0 4px rgba(0,124,186,.15);
}
.cta-button:active{
  transform:translateY(1px);
}
.cta-button:visited{ color:#fff; }            /* чтобы visited не менял цвет текста */
.cta-button:hover:visited{ color:#007cba; }   /* при наведении тоже инверсия */

/* Запрет выделения и копирования для сайтов-канвасов */
.site-nocopy,
.site-nocopy * {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
}