.portfolio-hero-section {
  position: relative;
  
  /* Тёмно-синий градиент переходит из плотного слева в полупрозрачный справа + сама картинка */
  background: linear-gradient(90deg, rgba(25, 50, 86, 0.95) 0%, rgba(25, 50, 86, 0.8) 50%, rgba(25, 50, 86, 0.4) 100%), 
              url('https://mos-gsm.ru/theme/img/portfolio-new/hero-banner.jpg') no-repeat center center;
  
  background-size: cover; /* Растягивает картинку без искажений по всей ширине и высоте */
  color: #fff !important;
  display: flex;
  align-items: center;
  min-height: 55vh;
}
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.12);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 25px;
  color: #fff;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: #fece60;
  border-radius: 50%;
  margin-right: 8px;
}
.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #fff !important;
}
.highlight-orange { 
  color: #fece60 !important; 
}
.hero-desc { 
  font-size: 16px; 
  color: rgba(255,255,255,0.7); 
  margin-bottom: 25px; 
  max-width: 500px; 
  line-height: 1.5;
}
.hero-features-list { 
  display: flex; 
  gap: 24px; 
  list-style: none; 
  margin-bottom: 35px; 
  padding: 0; 
}
.hero-feature-item {
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
}
.hero-feature-item::before { 
  content: "✓"; 
  color: #fece60; 
  margin-right: 8px; 
  font-weight: bold; 
  font-size: 16px;
}

/* Кнопки */
.hero-actions { 
  display: flex; 
  gap: 15px; 
  align-items: center;
}
.btn-primary-orange { 
  background: #fece60 !important; 
  color: #111 !important; 
  padding: 16px 28px; 
  border-radius: 6px; 
  font-weight: 700; 
  text-decoration: none; 
  display: inline-flex; 
  align-items: center; 
  gap: 10px; 
  border: none;
  font-size: 15px;
  transition: opacity 0.2s;
}
.btn-primary-orange:hover { opacity: 0.9; }

.btn-secondary-transparent { 
  background: transparent; 
  border: 2px solid #fece60 !important; 
  color: #fff !important; 
  padding: 14px 28px; 
  border-radius: 6px; 
  font-weight: 700; 
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-secondary-transparent:hover {
  background: rgba(254, 206, 96, 0.1);
}

/* Матовая карточка достижений */
.hero-stats-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 35px;
}
.stats-card-title { 
  font-size: 16px; 
  margin-bottom: 25px; 
  font-weight: 600; 
  color: #fff;
}
.stats-card-grid { 
  display: flex; 
  flex-direction: column; 
  gap: 20px; 
  border-bottom: 1px solid rgba(255,255,255,0.1); 
  padding-bottom: 25px; 
  margin-bottom: 25px;
}
.card-stat-item { 
  display: flex; 
  align-items: baseline; 
  gap: 12px; 
}
.card-stat-num { 
  font-size: 36px; 
  font-weight: 800; 
  color: #fece60; 
  line-height: 1; 
}
.card-stat-text { 
  font-size: 14px; 
  color: rgba(255,255,255,0.6); 
}

/* Логитипы клиентов внизу карточки */
.stats-card-footer { display: flex; align-items: center; gap: 15px; }
.client-avatars { display: flex; }
.avatar-circle { 
  width: 28px; 
  height: 28px; 
  border-radius: 50%; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-weight: 700; 
  font-size: 11px; 
  margin-right: -8px; 
  border: 2px solid #193256; 
  color: #fff; 
}
.logo-o { background: #ff5722; } 
.logo-v { background: #4caf50; } 
.logo-s { background: #00bcd4; } 
.logo-a { background: #ffc107; }
.clients-list-text { font-size: 12px; color: rgba(255,255,255,0.5); margin: 0; }

@media (max-width: 992px) {
  .hero-container { grid-template-columns: 1fr; gap: 40px; }
  .hero-title { font-size: 36px; }
  .hero-features-list { flex-direction: column; gap: 10px; }
}
  /* Базовые стили (Десктоп) */
  .map_section {
    margin-top: 5%;
    margin-bottom: 60px; /* Отталкиваем нижний блок */
  }
  .map_section h2 {
    font-weight: 500;
    font-size: var(--title);
    line-height: 1;
    margin-bottom: 30px; /* Даем воздух между заголовком и картой */
  }
  #map { 
    width: 100%; 
    height: 656px; 
    /* Никаких padding внутри карты! */
  }

  /* Адаптив: Планшеты (до 768px) */
  @media (max-width: 768px) {
    .map_section {
      margin-top: 40px;
      margin-bottom: 40px;
    }
    #map {
      height: 400px; 
    }
  }

  /* Адаптив: Мобилки (до 480px) */
  @media (max-width: 480px) {
    .map_section {
      margin-top: 30px;
      margin-bottom: 50px; /* Жестко отталкиваем "Видеообзоры" вниз */
    }
    #map {
      height: 350px; 
    }
  }
  
  :root {
  --primary-color: #f1c40f; /* Желтый акцент */
  --text-white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --dark-bg: #1a1a1a;
}

.completed-projects {
  position: relative;
  font-family: 'Helvetica Neue', Arial, sans-serif;

  background: linear-gradient(
    180deg, 
    rgba(16, 31, 55, 0.92) 0%, 
    rgba(24, 43, 73, 0.82) 50%, 
    rgba(16, 31, 55, 0.95) 100%
  ), 
  url('theme/img/portfolio-new/hero-banner.jpg') center/cover no-repeat;
  
  padding-top: 100px;
  color: var(--text-white);
}

.projects-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Главный блок */
.projects-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 120px;
}

.badge {
  background-color: var(--primary-color);
  color: #111;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 25px;
}

.projects-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 1px;
  margin: 0 0 20px 0;
}

.projects-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.5;
  margin: 0 0 35px 0;
}

/* Галочки/Особенности */
.projects-features {
  list-style: none;
  padding: 0;
  margin: 0 0 50px 0;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.feature-item {
  position: relative;
  padding-left: 25px;
  font-size: 15px;
}

/* Кастомная галочка */
.feature-item::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Стрелка вниз */
.scroll-down {
  align-self: center;
  margin-top: 20px;
  animation: bounce 2s infinite;
  cursor: pointer;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

/* Статистика (Нижняя плашка) */
.projects-stats {
  background-color: var(--text-white);
  color: #333;
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
  line-height: 1;
}

.stat-text {
  font-size: 14px;
  color: #666;
  max-width: 180px;
}

/* Адаптив */
@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }
  .projects-title {
    font-size: 36px;
  }
}

@media (max-width: 576px) {
  .projects-features {
    flex-direction: column;
    gap: 15px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .projects-title {
    font-size: 28px;
  }
}
.object-card {
  text-decoration: none; /* Убираем подчеркивание текста */
  color: inherit;        /* Наследуем исходный цвет текста */
  
  /* Все остальные стили из старого CSS остаются без изменений */
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}
.objects-section {
  background-color: #f8f9fa;
  padding: 80px 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

.objects-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.objects-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #111;
  margin: 0 0 15px 0;
  line-height:normal
}

.section-subtitle {
  font-size: 16px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Фильтры */
.objects-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  padding: 10px 22px;
  border-radius: 25px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background-color: #f1f1f1;
}

.filter-btn.active {
  background-color: #f1c40f;
  border-color: #f1c40f;
  color: #111;
  font-weight: 600;
}

/* Сетка карточек */
.objects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.object-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.object-card:hover {
  transform: translateY(-5px);
}

/* Скрытие карточек по умолчанию (для логики кнопки "Посмотреть все") */
.object-card.is-hidden {
  display: none !important;
}

.card-image-wrap {
  position: relative;
  height: 220px;
  width: 100%;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-badges {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  gap: 8px;
}

.badge-yellow {
  background: #f1c40f;
  color: #111;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}

.badge-blur {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-location {
  font-size: 13px;
  color: #999;
  margin-bottom: 10px;
  display: block;
}

.card-title {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin: 0 0 12px 0;
}

.card-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0 0 20px 0;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 15px;
}

.card-solution {
  margin-bottom: 15px;
}

.solution-label {
  font-size: 11px;
  font-weight: 700;
  color: #f39c12;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 5px;
}

.solution-text {
  font-size: 14px;
  color: #333;
  margin: 0;
  line-height: 1.4;
}

.card-result {
  font-size: 13px;
  color: #27ae60;
  margin-top: auto;
  padding-top: 10px;
  position: relative;
  padding-left: 20px;
}

.card-result::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  font-weight: bold;
}

/* Кнопка "Посмотреть все" */
.objects-action {
  text-align: center;
  margin-top: 50px;
}

.more-btn {
  background: #f1c40f;
  border: none;
  padding: 15px 35px;
  font-size: 16px;
  font-weight: 600;
  color: #111;
  border-radius: 30px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.3s ease;
}

.more-btn:hover {
  background: #f39c12;
}

/* Адаптив */
@media (max-width: 992px) {
  .objects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section-title { font-size: 28px; }
  .objects-grid { grid-template-columns: 1fr; }
}
.work-process {
  padding: 60px 0;
  background: #f5f5f5;
  font-family: sans-serif;
  background-color:#e8e8e8;
}
.process-main-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}
.process-subtitle {
  text-align: center;
  color: #666;
  max-width: 600px;
  margin: 0 auto 60px;
  font-size: 14px;
  line-height: 1.5;
}
.process-line {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

/* Центральная вертикальная линия (только десктоп) */
@media (min-width: 768px) {
  .process-line::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #5e5e5e;
    transform: translateX(-50%);
  }
}

.step-item {
  display: flex;
  position: relative;
  margin-bottom: 30px;
  width: 100%;
}
.step-item:last-child {
  margin-bottom: 0;
}

/* Стилизация номеров и шахматный порядок */
.step-number-wrap {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.step-number {
  width: 42px;
  height: 42px;
  background: #f3be4b; /* Фирменный желтый */
  color: #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(243, 190, 75, 0.3);
}

.step-content {
  width: 100%;
  box-sizing: border-box;
}

/* Логика распределения Лево / Право */
@media (min-width: 768px) {
  .step-item {
    width: 50%;
  }
  
  /* Нечетные этапы (1, 3) — Слева */
  .step-item:nth-child(odd) {
    padding-right: 50px;
    text-align: right;
  }
  .step-item:nth-child(odd) .step-number-wrap {
    left: auto;
    right: 0;
    transform: translateX(50%);
  }
  .step-item:nth-child(odd) .step-title-block {
    justify-content: flex-end;
  }

  /* Четные этапы (2, 4) — Справа */
  .step-item:nth-child(even) {
    margin-left: auto;
    padding-left: 50px;
    text-align: left;
  }
  .step-item:nth-child(even) .step-number-wrap {
    right: auto;
    left: 0;
    transform: translateX(-50%);
  }
  .step-item:nth-child(even) .step-title-block {
    justify-content: flex-start;
  }
}

/* Блок заголовка с иконкой */
.step-title-block {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.step-title-block h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}
/* Стилизация вставляемых SVG */
.step-title-block svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.step-desc {
  font-size: 14px;
  color: #888888;
  line-height: 1.6;
  margin: 0 0 8px 0;
}
.step-time {
  display: inline-block;
  color: #f3be4b;
  font-size: 13px;
  font-weight: 600;
}

/* Мобильная адаптивность */
@media (max-width: 767px) {
  .step-item {
    flex-direction: column;
    padding-left: 60px;
    text-align: left;
  }
  .step-number-wrap {
    left: 0;
    transform: translateX(0);
  }
  .step-title-block {
    justify-content: flex-start;
  }
}
.container {
margin: 0 auto;
}
/* ЖЕСТКИЙ ФИКС ДЛЯ SVG ИКОНОК С ЦВЕТОМ #FECE60 */
.step-title-block svg,
.step-title-block img {
  width: 24px !important;
  height: 24px !important;
  display: inline-block;
  flex-shrink: 0;
}

/* Красим все внутренние элементы SVG в твой цвет */
.step-title-block svg path,
.step-title-block svg circle,
.step-title-block svg rect,
.step-title-block svg line,
.step-title-block svg polyline,
.step-title-block svg polygon {
  fill: #FECE60;
}

/* Если иконка сделана только контурами (без заливки) */
.step-title-block svg[stroke] path,
.step-title-block svg[stroke] circle,
.step-title-block svg[stroke] rect,
.step-title-block svg[stroke] line {
  stroke: #FECE60;
  fill: none;
}
/* Удлиненная секция с большими отступами */
.cost-calc-section {
  background: #1e1e1e !important; /* Насыщенный темный фон из макета */
  padding: 120px 0 !important; /* Увеличили высоту блока за счет отступов */
  font-family: sans-serif;
  color: #ffffff !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Контейнер по сетке */
.cost-calc-section .calculation-container {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  display: flex !important;
  align-items: center !important;
  gap: 60px !important;
}

/* Левая колонка (Контент + Форма) */
.cost-calc-section .calc-form-side {
  flex: 1 !important;
  max-width: 520px !important; /* Ограничиваем ширину, чтобы форма была аккуратной, но длинной */
  width: 100% !important;
}

.cost-calc-section .calc-title {
  font-size: 34px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #FECE60 !important; /* Золотой заголовок */
  margin: 0 0 24px 0 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.5px;
}

.cost-calc-section .calc-subtitle {
  font-size: 15px !important;
  color: #a0a0a0 !important;
  line-height: 1.6 !important;
  margin: 0 0 45px 0 !important;
}

/* Обертка формы */
.cost-calc-section .ajax_form {
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important; /* Большие промежутки между полями */
  width: 100% !important;
}

/* Поля ввода — ФИКС ЦВЕТА И РАЗМЕРА */
.cost-calc-section .input-field {
  width: 100% !important;
  display: block !important;
}

.cost-calc-section .ajax_form input[type="text"],
.cost-calc-section .ajax_form input[type="tel"] {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  background: #333333 !important; /* Темно-серый фон из макета */
  border: 1px solid #444444 !important;
  border-radius: 8px !important;
  padding: 20px 24px !important; /* Сделали инпуты выше и просторнее */
  font-size: 16px !important;
  color: #ffffff !important;
  outline: none !important;
  height: auto !important; /* Сбрасываем фиксированную высоту, если она ломала инпут */
  transition: border-color 0.2s !important;
}

.cost-calc-section .ajax_form input::placeholder {
  color: #777777 !important;
}

.cost-calc-section .ajax_form input:focus {
  border-color: #FECE60 !important;
}

/* Стилизация блока каптчи */
.cost-calc-section .block_capth {
  width: 100% !important;
  margin: 5px 0 !important;
  display: block !important;
}

/* Кнопка — РАСТЯГИВАЕМ НА ВСЮ ШИРИНУ */
.cost-calc-section .calc-btn {
  background: #FECE60 !important;
  color: #000000 !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 20px 0 !important; /* Кнопка в тон инпутам */
  font-size: 16px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  width: 100% !important; /* Строго на всю ширину формы */
  display: block !important;
  text-align: center !important;
  transition: background-color 0.2s !important;
}

.cost-calc-section .calc-btn:hover {
  background: #e5b650 !important;
}

/* Ошибки FormIt */
.cost-calc-section .error_name,
.cost-calc-section .error_phone,
.cost-calc-section .error_g-recaptcha-response {
  color: #ff4d4d !important;
  font-size: 13px !important;
  display: block !important;
  margin-top: 6px !important;
}

/* Чекбокс согласия */
.cost-calc-section .agree-field {
  margin-top: 10px !important;
}

.cost-calc-section .checkbox-label {
  display: flex !important;
  align-items: flex-start !important;
  cursor: pointer !important;
  font-size: 13px !important;
  color: #888888 !important;
  line-height: 1.4 !important;
}

.cost-calc-section .checkbox-label input {
  margin-right: 12px !important;
  margin-top: 2px !important;
  cursor: pointer !important;
}

/* Правая колонка с картинкой */
.cost-calc-section .calc-image-side {
  flex: 1 !important;
  display: flex !important;
  justify-content: flex-end !important;
}

.cost-calc-section .calc-img-box {
  width: 100% !important;
  max-width: 580px !important;
  height: 480px !important; /* Задаем фиксированную высоту картинке, чтобы вытянуть блок */
  border-radius: 16px !important;
  overflow: hidden !important;
}

.cost-calc-section .calc-img-box img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important; /* Картинка заполнит весь блок без искажений */
}

/* Адаптив */
@media (max-width: 991px) {
  .cost-calc-section {
    padding: 80px 0 !important;
  }
  .cost-calc-section .calculation-container {
    flex-direction: column !important;
    gap: 50px !important;
  }
  .cost-calc-section .calc-form-side, 
  .cost-calc-section .calc-image-side {
    max-width: 100% !important;
    width: 100% !important;
  }
  .cost-calc-section .calc-img-box {
    height: 350px !important;
  }
}
/* Основная секция */
body .reviews-section {
  background: #f5f5f5; /* Светло-серый фон */
  padding: 80px 0;
  font-family: sans-serif;
  width: 100%;
  box-sizing: border-box;
}

body .reviews-section .reviews-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Шапка: Заголовок + Жёлтый бейдж */
body .reviews-section .reviews-header {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

body .reviews-section .reviews-title {
  font-size: 36px;
  font-weight: 800;
  color: #111111;
  margin: 0;
}

body .reviews-section .reviews-badge {
  display: inline-block;
  background: #FECE60; /* Твой фирменный цвет */
  color: #000000;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 20px;
}

/* Сетка карточек */
body .reviews-section .reviews-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Карточка отзыва */
body .reviews-section .review-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  flex: 1;
  min-width: 260px; /* Предотвращает сильное сжатие */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  box-sizing: border-box;
}

/* Верхняя часть карточки (Аватар + Инфо) */
body .reviews-section .review-card-top {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

/* Контейнер аватарки */
body .reviews-section .review-avatar {
  width: 44px;
  height: 44px;
  background: #f0f0f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #555555;
  font-size: 16px;
  text-transform: uppercase;
  flex-shrink: 0;
  overflow: hidden;
}

/* Если загружена картинка на аватарку */
body .reviews-section .review-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

body .reviews-section .review-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

body .reviews-section .review-author {
  font-size: 16px;
  font-weight: 700;
  color: #111111;
  margin: 0;
}

body .reviews-section .review-service {
  font-size: 13px;
  color: #888888;
  margin: 0;
}

/* Текст отзыва */
body .reviews-section .review-body {
  margin-bottom: 25px;
  flex-grow: 1;
}

body .reviews-section .review-text {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  font-style: italic;
  margin: 0;
}

/* Нижняя часть (Звёзды + Ссылка) */
body .reviews-section .review-footer {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

body .reviews-section .review-stars {
  display: flex;
  gap: 2px;
}

/* Твой SVG со звёздочкой */
body .reviews-section .review-star-svg {
  width: 16px;
  height: 16px;
  fill: #F3C04B;
  stroke: #F3C04B;
}

/* Ссылка */
body .reviews-section .review-link {
  font-size: 14px;
  font-weight: 700;
  color: #FECE60;
  text-decoration: none;
  transition: color 0.2s, text-decoration 0.2s;
  align-self: flex-start;
}

body .reviews-section .review-link:hover {
  color: #e5b650;
  text-decoration: underline;
}

/* Адаптив под планшеты и мобилки */
@media (max-width: 991px) {
  body .reviews-section .reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  body .reviews-section .reviews-grid {
    grid-template-columns: 1fr;
  }
  body .reviews-section .reviews-title {
    font-size: 28px;
  }
  body .reviews-section {
    padding: 60px 0;
  }
}
/* Контейнер и общие стили секции */
.partner-block {
  padding: 80px 0;
  background-color: #e8e8e8;
  font-family: sans-serif;
}
.partner-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}
.partner-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #111111;
}

/* Сетка карточек */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* Сама карточка партнера */
.client-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  transition: all 0.2s ease-in-out;
}
.client-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-color: #d1d5db;
}
.client-name {
  color: #6b7280;
  font-size: 15px;
  font-weight: 500;
}
.client-logo {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.2s ease;
}
.client-card:hover .client-logo {
  filter: grayscale(0%);
  opacity: 1;
}

/* Логика скрытия элементов (по умолчанию скрываем всё, что после 10-й карточки) */
.clients-grid .client-card:nth-child(n+11) {
  display: none;
}
/* Класс, который развернет сетку при клике */
.clients-grid.is-expanded .client-card:nth-child(n+11) {
  display: flex;
}

/* Кнопка Показать еще */
.partner-actions {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.btn-show-more {
  background: #ffffff;
  border: 1px solid #d1d5db;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-show-more:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

/* Адаптив под планшеты и мобильные */
@media (max-width: 1024px) {
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .clients-grid .client-card:nth-child(n+7) { display: none; }
  .clients-grid.is-expanded .client-card:nth-child(n+7) { display: flex; }
}
@media (max-width: 640px) {
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-container {
    margin-top:35%;
  }
  
}
/* Общие стили секции */
.team-block {
  padding: 80px 0;
  background-color: #ffffff; /* Легкий светлый фон, как на макете */
}
/* Главный контейнер блока команды */
.team-container {
  max-width: 1400px; /* Или используй тот же класс сквозного контейнера, что и в отзывах, например .container */
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Сетка, которая заставит 6 карточек равномерно занять ВСЮ ширину */
.team-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* Ровно 6 колонок одинаковой ширины */
  gap: 20px; /* Расстояние между карточками (можешь уменьшить до 16px, если не влезают) */
  width: 100%;
}

/* Сама карточка */
.team-card {
  width: 100%; /* Карточка должна занимать всю выделенную ей колонку */
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
}
.team-title {
  font-size: 32px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 40px;
  text-align: left; /* Заголовок сдвинут влево, как на скрине */
}



/* Фотография */
.team-photo-wrapper {
  position: relative;
  width: 100%;
  padding-top: 130%; /* Пропорции вертикального портрета */
  background-color: #e5e7eb;
}
.team-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-photo-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #e5e7eb;
}

/* Текстовый блок под фото */
.team-info {
  padding: 16px 12px;
  text-align: left;
}
.team-name {
  font-size: 15px;
  font-weight: 600;
  color: #111111;
  margin: 0 0 4px 0;
  line-height: 1.3;
}
.team-position {
  font-size: 13px;
  color: #9ca3af; /* Приглушенный серый цвет для должности */
  margin: 0;
  line-height: 1.2;
}

/* Адаптивность под разные экраны */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 в ряд на планшетах */
  }
}
@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 в ряд на мобилках */
    gap: 12px;
  }
  .team-title {
    font-size: 26px;
    margin-bottom: 24px;
  }
}
.tasks-block {
  background-color: #f1b742; /* Фирменный желтый фон секции */
  padding: 80px 0;
  font-family: sans-serif;
}
.tasks-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.tasks-title {
  font-size: 36px;
  font-weight: 700;
  color: #111111;
  margin: 0 0 12px 0;
}
.tasks-subtitle {
  font-size: 16px;
  color: #333333;
  margin: 0 0 40px 0;
}

/* Сетка табов */
.tasks-wrapper {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
}

/* Левая колонка (меню) */
.tasks-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.task-tab-btn {
  background: none;
  border: none;
  text-align: left;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  justify-content: flex-start;
}
.task-tab-btn.active {
  background-color: #ffffff;
  color: #111111;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Правая колонка (контентная белая карточка) */
.tasks-content-wrapper {
  background: #ffffff;
  border-radius: 12px;
  padding: 40px;
  min-height: 300px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.task-tab-content {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.task-tab-content.active {
  display: flex;
}

/* Пункты списка */
.task-points-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.task-point-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.task-icon-check {
  margin-top: 2px;
  flex-shrink: 0;
}
.task-point-text {
  font-size: 16px;
  color: #333333;
  line-height: 1.4;
}

/* Кнопка перехода */
.task-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #f1b742;
  color: #111111;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  width: fit-content;
  transition: background-color 0.2s;
}
.task-btn-link:hover {
  background-color: #e0aa37;
}

/* Адаптив */
@media (max-width: 768px) {
  .tasks-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .tasks-content-wrapper {
    padding: 24px;
  }
}
/* Базовые стили сетки для десктопа */
.tasks-flex-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  width: 100%;
}

.tasks-nav-col {
  flex: 0 0 25%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tasks-content-col {
  flex: 0 0 75%;
  box-sizing: border-box;
}

.task-btn-link {
  margin-top: 25px;
  display: inline-flex;
}

/* --- АДАПТИВНОСТЬ --- */

/* Планшеты и экраны поменьше (992px и ниже) */
@media (max-width: 992px) {
  .tasks-flex-wrapper {
    flex-direction: column; /* Перестраиваем левую и правую колонку друг под друга */
    gap: 20px;
  }
  
  .tasks-nav-col {
    flex: 0 0 100%;
    width: 100%;
    flex-direction: row; /* Кнопки табов выстраиваем в ряд */
    flex-wrap: wrap;    /* Если не влезают, переносятся */
    gap: 8px;
  }
  
  .task-tab-btn {
    flex: 1 1 auto;     /* Кнопки делят ширину поровну */
    text-align: center;
    padding: 12px 16px;
    font-size: 14px;
  }
  
  .tasks-content-col {
    flex: 0 0 100%;
    width: 100%;
  }
}

/* Мобильные телефоны (640px и ниже) */
@media (max-width: 640px) {
  .tasks-block {
    padding: 50px 0; /* Уменьшаем вертикальные отступы секции */
  }
  
  .tasks-title {
    font-size: 26px; /* Чуть меньше заголовок */
  }
  
  .tasks-subtitle {
    font-size: 14px;
    margin-bottom: 25px;
  }
  
  .tasks-nav-col {
    flex-direction: column; /* На совсем мелких экранах кнопкам табов лучше снова стать списком сверху вниз */
  }
  
  .task-tab-btn {
    text-align: left;
    width: 100%;
  }
  
  .tasks-content-wrapper {
    padding: 24px 16px; /* Сужаем паддинги внутри белой карточки, чтобы текст не зажимался */
  }
  
  .task-point-text {
    font-size: 14px; /* Уменьшаем шрифт пунктов */
  }
  
  .task-btn-link {
    width: 100%; /* Кнопка "Перейти к услуге" на всю ширину мобилки */
    justify-content: center;
  }
}
/* Скрываем карточки начиная с 7-й */
.team-grid .team-card-hidden {
  display: none;
}

/* Когда кнопка нажата, показываем скрытые карточки */
.team-grid.is-expanded .team-card-hidden {
  display: block; /* или flex/grid в зависимости от вашей верстки */
}

/* Контейнер для кнопки (центрирование) */
.team-more-wrapper {
  display: flex;
  justify-content: center; /* Центрирует по горизонтали */
  margin-top: 40px;        /* Отступ сверху от карточек */
  width: 100%;
}

/* Стиль кнопки (копия верхней с картинки) */
.team-more-btn {
  padding: 10px 24px;
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #cccccc; /* Светло-серая рамка */
  border-radius: 6px;        /* Слегка скругленные углы */
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

/* Эффект при наведении */
.team-more-btn:hover {
  background-color: #f5f5f5;
  border-color: #b3b3b3;
}
/* Контейнер для кнопок под слайдером */
.reviews-controls-wrapper {
  display: flex;
  justify-content: center;
  gap: 15px; /* Отступ между кнопками Назад и Вперед */
  margin-top: 35px;
  width: 100%;
}

/* Стилизация кнопок навигации в стиле верхней кнопки */
.review-ctrl-btn {
  padding: 10px 24px;
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #cccccc;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.review-ctrl-btn:hover {
  background-color: #f5f5f5;
  border-color: #b3b3b3;
}

/* Отключаем дефолтные прозрачности Swiper для заблокированных кнопок (опционально) */
.review-ctrl-btn.swiper-button-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Убедись, что у .swiper-slide высота автоматическая, чтобы карточки были одной высоты */
.mySwiper_feedback .swiper-slide {
  height: auto;
}
.mySwiper_feedback .review-card {
  height: 100%;
}
/* ==========================================================================
   Секция: Решаем проблемы связи (СТРОГО ПО МАКЕТУ — СВЕТЛАЯ ТЕМА)
   ========================================================================== */

/* Светло-серый фон для всей секции */
.problems-section {
    background-color: #e8e8e8; /* Твой новый серый цвет фона */
    padding: 60px 0;
    color: #2b2b2b; /* Тёмный цвет текста вместо белого */
    font-family: sans-serif;
}

/* Главный заголовок секции */
.problems-section .section-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    color: #1a2942; /* Тёмный цвет для контраста */
    margin-bottom: 10px;
}

/* Золотое выделение в заголовке "любой сложности" */
.problems-section .section-title .highlight {
    color: #f2a900;
}

/* Подзаголовок */
.problems-section .section-subtitle {
    font-size: 15px;
    color: #666666; /* Серый читаемый текст */
    text-align: center;
    margin-bottom: 40px;
}

/* Сетка Grid для 3-х колонок */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
}

/* Карточка (Плитка) — теперь белая с легкой тенью */
.problem-card {
    background-color: #ffffff; /* Белая плитка отлично смотрится на сером фоне */
    border: 1px solid #e0e0e0;   /* Светлая аккуратная рамка */
    border-radius: 8px;
    padding: 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03); /* Легкий объём карточкам */
    transition: all 0.3s ease;
}

/* Ховер на карточку */
.problem-card:hover {
    border-color: rgba(242, 169, 0, 0.5);
    box-shadow: 0 6px 18px rgba(242, 169, 0, 0.1);
    transform: translateY(-2px); /* Небольшой интерактивный подъем при наведении */
}

/* Иконка */
.problem-icon-wrapper {
    margin-bottom: 20px;
}
.problem-icon-wrapper svg {
    display: block;
    width: 32px;
    height: 32px;
}

/* Заголовок внутри плитки */
.problem-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a2942 !important; /* Тёмный заголовок плитки */
    line-height: 1.4;
    margin: 0 0 12px 0;
}

/* Текст проблемы */
.problem-desc {
    font-size: 13px;
    color: #555555; /* Читаемый тёмно-серый текст */
    line-height: 1.6;
    margin: 0 0 25px 0;
    flex-grow: 1;
}

/* Линия-разделитель перед кейсом */
.problem-case {
    border-top: 1px solid #e5e5e5; /* Светлая линия разделителя */
    padding-top: 15px;
}

/* Надпись РЕАЛЬНЫЙ КЕЙС */
.case-label {
    font-size: 11px;
    font-weight: 700;
    color: #f2a900; /* Оставляем золото, оно отлично контрастирует с белым фоном */
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 5px;
}

/* Название объекта */
.case-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a2942; /* Поменяли с белого на глубокий тёмный */
    margin: 0 0 10px 0;
}

/* Список */
.case-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.case-details-list li {
    font-size: 13px;
    color: #444444; /* Сделали текст пунктов тёмным и читаемым */
    position: relative;
    padding-left: 14px;
    line-height: 1.4;
}

/* Зелёный маркер */
.case-details-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 5px;
    height: 5px;
    background-color: #25d366; /* Яркий зелёный маркер оставляем */
    border-radius: 50%;
}

/* Адаптив под планшеты и десктоп */
@media (min-width: 768px) {
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .problems-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* Основные контейнеры блока */
.benefits-block {
  padding: 80px 0 0 0; /* Убрали нижний паддинг, так как плашка теперь прилипает к низу */
  background-color: #fcfdfe;
  font-family: 'Inter', sans-serif;
}

.benefits-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Шапка блока */
.benefits-header {
  text-align: center;
  margin-bottom: 50px;
}

.benefits-main-title {
  font-size: 36px;
  font-weight: 700;
  color: #1d3557;
  margin: 0 0 12px 0;
  line-height:normal;
}

.benefits-main-title .text-orange {
  color: #ff9f1c;
}

.benefits-subtitle {
  font-size: 16px;
  color: #6c757d;
  margin: 0;
}

/* Сетка карточек на CSS Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px; /* Немного увеличили отступ до плашки */
}

/* Карточки */
.benefit-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(29, 53, 87, 0.04);
  border: 1px solid rgba(29, 53, 87, 0.02);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(29, 53, 87, 0.08);
}

/* Обертка для иконок (Сделали нежно-жёлтый фон) */
.benefit-icon-box {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 159, 28, 0.1) !important; /* Мягкий жёлтый фон под цвет иконки */
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* Фикс для иконок — КРАСИМ В ЖЁЛТЫЙ */
.benefit-icon-box svg {
  width: 20px !important;
  height: 20px !important;
  display: block;
}
.benefit-icon-box svg path,
.benefit-icon-box svg circle,
.benefit-icon-box svg rect,
.benefit-icon-box svg polyline,
.benefit-icon-box svg line {
  stroke: #ff9f1c !important; /* Красит контурные иконки */
  /* fill: #ff9f1c !important; */ /* Раскомментируй, если какие-то иконки залитые, а не контурные */
}

/* Контент карточки */
.benefit-number {
  font-size: 28px;
  font-weight: 700;
  color: #ff9f1c;
  line-height: 1.2;
  margin-bottom: 6px;
}

.benefit-title {
  font-size: 15px;
  font-weight: 700;
  color: #1d3557;
  line-height: 1.3;
  margin-bottom: 8px;
}

.benefit-desc {
  font-size: 13px;
  color: #8a94a6;
  line-height: 1.4;
}

/* Нижняя синяя панель — ТЕПЕРЬ НА ВСЮ ШИРИНУ ЭКРАНА */
.benefits-summary-bar {
  background-color: #2b2b2b;
  width: 100%; /* Растягиваем на весь экран */
  padding: 35px 0;
  box-sizing: border-box;
}

/* Внутренний ограничитель для элементов в плашке */
.benefits-summary-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

.summary-item {
  flex: 1;
}

.summary-num {
  font-size: 42px;
  font-weight: 700;
  color: #ff9f1c;
  margin-bottom: 4px;
  line-height: 1;
}

.summary-text {
  font-size: 14px;
  color: white;
  opacity: 0.9;
}

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .benefits-block {
    padding: 50px 0 0 0;
  }

  .benefits-main-title {
    font-size: 28px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
  }

  .benefit-card {
    padding: 20px;
    align-items: center;
    text-align: center;
  }

  .benefit-icon-box {
    margin-bottom: 12px;
  }

  .benefits-summary-inner {
    flex-direction: column;
    gap: 30px;
  }
  
  .summary-num {
    font-size: 36px;
  }
}
/* Стили для мобильных устройств */
@media (max-width: 991px) {
  .header_search {
    --search-bg: #1a2942;
    --search-text: #ffffff;
    --search-border: #1a2942;
    
    /* Плавный переход цветов при скролле */
    transition: all 0.3s ease; 
  }

  /* Когда проскроллили первый блок, возвращаем дефолтные цвета */
  .header_search.scrolled {
    --search-bg: #ffffff;
    --search-text: #151515; /* или ваш базовый цвет текста */
    --search-border: #ececec; /* или ваш базовый цвет рамки */
  }

  /* Применяем переменные к инпуту */
  .header_search .search_input {
    background-color: var(--search-bg) !important;
    color: var(--search-text) !important;
    border-color: var(--search-border) !important;
  }

  /* Корректируем цвет плейсхолдера, чтобы его было видно на темном фоне */
  .header_search .search_input::placeholder {
    color: var(--search-text);
    opacity: 0.6;
  }
}
@media (max-width: 991px) {
  /* --- НА ПЕРВОМ (ТЕМНОМ) ЭКРАНЕ --- */
  .header_middle_center {
    background-color: #1a2942 !important;
    padding: 10px 15px !important;
    transition: background-color 0.3s ease; /* Плавная смена фона шапки */
  }

  /* Сам инпут на темном фоне делаем белым, чтобы он выделялся */
  .header_middle_center .search_input {
    background-color: #ffffff !important;
    color: #151515 !important;
    border: 1px solid #ffffff !important;
    transition: all 0.3s ease;
  }
  
  .header_middle_center .search_input::placeholder {
    color: #8c8c8c !important;
  }

  /* --- ПРИ СКРОЛЛЕ (НА БЕЛЫХ БЛОКАХ) --- */
  /* Контейнер поиска становится белым, сливаясь с остальной шапкой */
  .header_middle_center.scrolled {
    background-color: #ffffff !important;
    border-bottom: 1px solid #ececec; /* Чтобы отделить шапку от белого контента */
  }

  /* Инпут на белом фоне делаем слегка серым, чтобы он не терялся */
  .header_middle_center.scrolled .search_input {
    background-color: #f5f6f7 !important; 
    color: #151515 !important;
    border: 1px solid #e2e5e8 !important;
  }
}
@media (max-width: 991px) {
  /* --- НА ПЕРВОМ (ТЕМНОМ) ЭКРАНЕ --- */
  /* Красим сам мобильный контейнер хедера/меню, чтобы перекрыть уши */
  .header_menu_wrap {
    background-color: #1a2942 !important;
    transition: background-color 0.3s ease;
  }

  /* Если верхняя часть (с логотипом) должна оставаться белой, */
  /* то красим именно ту часть, где сидит поиск, включая wrap */
  .header_menu_wrap .wrap {
    background-color: #1a2942 !important;
    transition: background-color 0.3s ease;
  }

  /* Делаем инпут белым на темном фоне */
  .header_middle_center .search_input {
    background-color: #ffffff !important;
    color: #151515 !important;
    border: 1px solid #ffffff !important;
  }
  
  .header_middle_center .search_input::placeholder {
    color: #8c8c8c !important;
  }

  /* --- ПРИ СКРОЛЛЕ (НА БЕЛЫХ БЛОКАХ) --- */
  /* Возвращаем всему хедеру и его wrap белый цвет */
  .header_menu_wrap.scrolled,
  .header_menu_wrap.scrolled .wrap {
    background-color: #ffffff !important;
  }

  /* Инпут на белом фоне делаем сереньким */
  .header_menu_wrap.scrolled .search_input {
    background-color: #f5f6f7 !important;
    color: #151515 !important;
    border: 1px solid #e2e5e8 !important;
  }
}
@media (max-width: 991px) {
  
  /* --- НА ПЕРВОМ (ТЕМНОМ) ЭКРАНЕ --- */
  .header_menu_wrap, 
  .header_menu_wrap .wrap {
    background-color: #1a2942 !important;
    transition: background-color 0.3s ease;
  }

  /* Поиск на первом экране (белый) */
  .header_menu_wrap .header_middle_center .header_search .search_input {
    background-color: #ffffff !important;
    color: #151515 !important;
    border: 1px solid #ffffff !important;
    transition: all 0.3s ease;
  }


  /* --- ПРИ СКРОЛЛЕ (НА БЕЛЫХ БЛОКАХ) --- */
  /* Возвращаем фон родителю и врапу */
  .header_menu_wrap.scrolled,
  .header_menu_wrap.scrolled .wrap {
    background-color: #ffffff !important;
  }

  /* Жестко перебиваем инпут при скролле, собирая всю цепочку классов */
  .header_menu_wrap.scrolled .header_middle_center .header_search .search_input {
    background-color: #f5f6f7 !important;
    color: #151515 !important;
    border: 1px solid #e2e5e8 !important;
  }
  
  /* То же самое для плейсхолдера при скролле */
  .header_menu_wrap.scrolled .header_middle_center .header_search .search_input::placeholder {
    color: #8c8c8c !important;
  }
}
.new-service-page.service-page_skud .reviews-block {
margin-top:5%;
}

.margin-section.subscribe-section.cost-calculate-block__section {
    margin: 0 !important;
    padding-bottom: 0 !important; /* Убирает внутренний нижний отступ, если он тоже раздвигал блоки */
}

/* Сброс стилей слайдера строго внутри блока отзывов */
.reviews-block .swiper-slide {
    border-radius: 0 !important;
    background: transparent !important;
    height: auto !important;
    align-items: stretch !important;
}

@media (max-width: 744px) {
  .header_menu_wrap .wrap
  {
position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }
}