/* ===== HEADER STYLES ===== */
:root {
  --color-dark-teal: #4A6B6B;
  --color-light-bg: #F5F3F0;
  --color-yellow: #F4C542;
  --color-yellow-hover: #E5B530;
  --color-text-dark: #2C3E50;
  --color-text-light: #666;
  --color-white: #ffffff;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, .site-header, .container, .nav-container, .header-main, .header-top {
    overflow: visible !important;
    transform: none !important;
}


/* ===== STICKY NAV — ИСПРАВЛЕНО ===== */
.site-header,
.site-header > *,
.container {
  overflow: visible !important;
  transform: none !important;
}

.header-nav {
    position: -webkit-sticky; /* Для Safari */
    position: sticky;
    top: 0; /* Обязательно! */
    z-index: 999;
    background-color: var(--color-dark-teal);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Отключаем sticky на мобильных, чтобы не конфликтовал с выездным меню */
@media (max-width: 992px) {
  .header-nav {
    position: static !important;
  }
}


/* Убедитесь, что у хэдера НЕТ sticky */
.site-header {
  position: relative;  /* Или static, но НЕ sticky/fixed */
  z-index: auto;
}

/* Контейнер внутри навигации */
.nav-container {
  position: relative;  /* Важно для корректного позиционирования */
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--color-text-dark);
  line-height: 1.6;
  background: url(https://garant-s.by/wp-content/uploads/2026/02/gbg.jpg);
}



/* Убедитесь, что у родителей НЕТ overflow */
.site-header,
.container,
.nav-container {
  overflow: visible !important; /* Временно для теста */
}

/* Для .nav-wrapper на мобильных */
@media (max-width: 992px) {
  .nav-wrapper {
    position: fixed; /* На мобильных всегда fixed */
    top: 0;
    right: -100%;
    z-index: 1002;
  }
  
  .nav-wrapper.open {
    right: 0;
  }
}

/* ===== БУРГЕР КНОПКА ===== */
.burger-btn {
  display: none; /* Скрыта на десктопе */
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 1001;
  margin-right: 15px;
}

.burger-line {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Анимация бургера */
.burger-btn.active .burger-line:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}
.burger-btn.active .burger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}
.burger-btn.active .burger-line:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

/* ===== МЕНЮ DESKTOP ===== */
.main-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.main-menu > li {
  margin: 0;
  position: relative;
}

.main-menu > li > a {
  display: block;
  color: var(--color-white);
  text-decoration: none;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s;
  position: relative;
}

.main-menu > li > a:hover {
  background: rgba(255,255,255,0.1);
}

/* Подменю desktop */
.submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--color-dark-teal);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.main-menu > li:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu li a {
  display: block;
  color: var(--color-white);
  text-decoration: none;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.2s;
}

.submenu li a:hover {
  background: rgba(255,255,255,0.1);
}

/* ===== МОБИЛЬНОЕ МЕНЮ ===== */
@media (max-width: 992px) {
  .nav-container {
    justify-content: flex-end;
            height: 60px;
  }
  
  .burger-btn {
    display: flex; /* Показываем бургер */
  }
  
  .nav-wrapper {
    position: fixed;
    top: 0;
    right: -100%; /* Скрыто за экраном */
    width: 300px;
    max-width: 85%;
    height: 100vh;
    background: var(--color-dark-teal);
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    overflow-y: auto;
  }
  
  .nav-wrapper.open {
    right: 0; /* Показываем меню */
  }
  
  .main-menu {
    flex-direction: column;
    align-items: stretch;
  }
  
  .main-menu > li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .main-menu > li > a {
    padding: 15px 0;
    font-size: 16px;
  }
  
  .main-menu > li > a:hover {
    background: transparent;
    padding-left: 10px;
  }
  
  /* Подменю на мобильном */
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(0,0,0,0.2);
    min-width: auto;
    display: none; /* Скрыто по умолчанию */
  }
  
  .main-menu > li.parent > a::after {
    content: '▼';
    font-size: 10px;
    margin-left: 8px;
    float: right;
  }
  
  .main-menu > li.parent.open > .submenu {
    display: block; /* Показываем при клике */
  }
  
  /* Оверлей */
  .menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
  }
  
  .menu-overlay.active {
    display: block;
  }
}

/* Адаптив для очень маленьких экранов */
@media (max-width: 480px) {
  .nav-wrapper {
    width: 100%;
    right: -100%;
  }
}


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header Top */
.header-top {
  background-color: var(--color-dark-teal);
  padding: 10px 0;
}

.header-top__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top__left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-white);
  font-size: 14px;
}

.header-globe {
  font-size: 16px;
}

.header-domain {
  font-weight: 500;
}

.search-toggle {
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.search-toggle:hover {
  opacity: 0.8;
}

/* Header Main */
.header-main {

  padding: 25px 0;
}

.header-main__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

/* Logo */
.header-logo {
  flex-shrink: 0;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-icon img {
  width: 70px;
  height: 70px;
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text span {
	text-decoration: none;
}

.logo-main {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-dark-teal);
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.logo-sub {
  font-size: 20px;
  color: var(--color-text-light);
  font-weight: 400;
}

/* Phones Block */
.header-phones-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.phone-link {
  color: var(--color-text-dark);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  transition: color 0.2s;
  white-space: nowrap;
}

.phone-link:hover {
  color: var(--color-dark-teal);
}

/* Info Block */
.header-info-block {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-end;
}

.header-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-icon {
  flex-shrink: 0;
}

.info-text {
  color: var(--color-text-dark);
  font-size: 15px;
}

.info-email {
  color: var(--color-text-dark);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}

.info-email:hover {
  color: var(--color-dark-teal);
}

/* Button Photo Eval */
.btn-photo-eval {
  background-color: var(--color-yellow);
  color: var(--color-text-dark);
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(244, 197, 66, 0.3);
}

.btn-photo-eval:hover {
  background-color: var(--color-yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(244, 197, 66, 0.4);
}

.btn-photo-eval:active {
  transform: translateY(0);
}



.main-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.main-menu li {
  margin: 0;
}

.main-menu a {
  display: block;
  color: var(--color-white);
  text-decoration: none;
  padding: 15px 20px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.2s;
  position: relative;
}

.main-menu a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.main-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background-color: var(--color-yellow);
  transition: width 0.3s;
}

.main-menu a:hover::after {
  width: 80%;
}

/* ===== POPUP STYLES ===== */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.popup[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.popup__content {
  position: relative;
  background: var(--color-white);
  padding: 40px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.popup[aria-hidden="false"] .popup__content {
  transform: translateY(0);
}

.popup__close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: var(--color-text-light);
  line-height: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.popup__close:hover {
  background: var(--color-light-bg);
  color: var(--color-text-dark);
}

.popup__title {
  margin: 0 0 25px;
  font-size: 24px;
  color: var(--color-text-dark);
  text-align: center;
  font-weight: 700;
}

/* Form Styles */
.popup-form .form-group {
  margin-bottom: 20px;
}

.popup-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--color-text-dark);
  font-size: 14px;
}

.popup-form .required {
  color: #e74c3c;
}

.popup-form input[type="text"],
.popup-form input[type="tel"],
.popup-form input[type="email"],
.popup-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 15px;
  transition: all 0.2s;
  font-family: inherit;
}

.popup-form input:focus,
.popup-form textarea:focus {
  outline: none;
  border-color: var(--color-dark-teal);
  box-shadow: 0 0 0 3px rgba(74, 107, 107, 0.1);
}

.popup-form input[type="file"] {
  padding: 10px 0;
  border: 2px dashed #e0e0e0;
  border-radius: 6px;
  background: var(--color-light-bg);
  width: 100%;
  cursor: pointer;
}

.popup-form input[type="file"]:hover {
  border-color: var(--color-dark-teal);
}

.form-hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--color-text-light);
}

.btn--full {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  margin-top: 10px;
}

.btn--primary {
  background: var(--color-dark-teal);
  color: var(--color-white);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

.btn--primary:hover {
  background: #3d5a5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 107, 107, 0.3);
}

.form-agreement {
  margin-top: 20px;
  text-align: center;
  color: var(--color-text-light);
  font-size: 12px;
  line-height: 1.5;
}

.form-agreement a {
  color: var(--color-dark-teal);
  text-decoration: underline;
}

.form-agreement a:hover {
  text-decoration: none;
}

/* Main Content */
.main-content {
  min-height: 500px;
}

/* Footer */
.site-footer {
  background: var(--color-dark-teal);
  color: var(--color-white);
  padding: 30px 0;
  text-align: center;
  margin-top: auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .header-main__inner {
    flex-direction: column;
    align-items: stretch;
  }
  
  .header-logo {
    text-align: center;
  }
  
  .logo-wrapper {
    justify-content: center;
  }
  
  .header-phones-block {
    align-items: center;
  }
  
  .header-info-block {
    align-items: center;
  }
  
  .header-info {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .logo-main {
    font-size: 22px;
  }
  
  .logo-sub {
    font-size: 16px;
  }
  
  .logo-icon {
    width: 55px;
    height: 55px;
  }
  
  .phone-link {
    font-size: 16px;
  }
  
  .main-menu {
    flex-direction: column;
  }
  
  .main-menu a {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .main-menu a::after {
    display: none;
  }
  
  .btn-photo-eval {
    width: 100%;
    justify-content: center;
  }
  
  .popup__content {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .header-top__left {
    font-size: 12px;
  }
  
  .logo-main {
    font-size: 20px;
  }
  
  .logo-sub {
    font-size: 14px;
  }
  
  .phone-link {
    font-size: 14px;
  }
  
  .info-text,
  .info-email {
    font-size: 13px;
  }
}


/* === BGHERO - ОСНОВНОЙ БЛОК === */
.bghero {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 100px 0 80px;
    background-position: center center;
    background: url(https://garant-s.by/wp-content/uploads/2026/03/1773658399e9d9.png);
    background-repeat: no-repeat;
    background-size: cover;
  overflow: hidden;
}

.hero-container {
      width: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  z-index: 2;
}

/* === ЛЕВАЯ КОЛОНКА: ТЕКСТ === */
.hero-left {
  flex: 1;
  max-width: 600px;
}

.hero-title {
  font-family: 'Libertinus Serif Display', serif;
  font-size: 42px;
  font-weight: 700;
  color: #356662;
  margin: 0 0 25px;
  line-height: 1.2;
}

.hero-brands { margin-bottom: 20px; }
.brands-label {
  display: block;
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
  font-weight: 500;
}
.brands-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.brand-item {
    display: flex;
    padding: 6px 6px;
    font-size: 25px;
    color: #364a63;
    align-items: center;
    font-weight: 700;
    justify-content: center;
}

.brand-item img {
  width: 90px;
  height: auto;
}

.brand-other {
  background: transparent;
  color: black;
  font-weight: 300 !important;
  box-shadow: none;
}

.hero-description { margin-bottom: 30px; }
.hero-description p {
  font-size: 20px;
  line-height: 1.6;
  color: #3a3a3a;
  margin: 0;
}
.hero-description strong { color: #356662; }

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
 
}

@media screen and (max-width: 700px) {
  .hero-buttons { flex-wrap: wrap;}
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.25s;
}

.callbtn {
      background: #f5c543;
    color: black;
    padding: 10px;
  border-radius: 6px;
  cursor: pointer;
}
.callbtn:hover { 
  background: white;
  border: solid 1px #f5c543;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(53, 102, 98, 0.3);
}
.btn-photo {
  background: #356662;
  color: #fff;
}
.btn-photo:hover { 
  background: #2a524e;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(53, 102, 98, 0.3);
}
.btn-kp {
  background: #f5c543;
  color: black;
  border: 2px solid #f5c543;
}
.btn-kp:hover {
  border: 2px solid #f5c543;
  background: white;
  color: black;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(53, 102, 98, 0.3);
}

.hero-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.hero-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #444;
  line-height: 1.5;
}
.hero-features li i {
  color: #356662;
  font-size: 18px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* === ПРАВАЯ КОЛОНКА: ИЗОБРАЖЕНИЕ === */
.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 550px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(53, 102, 98, 0.25);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* === МОДАЛЬНЫЕ ОКНА === */
.simple-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.simple-modal.active {
  display: flex;
}

.simple-modal-content {
  background: #fff;
  padding: 35px 30px;
  border-radius: 12px;
  max-width: 520px;
  width: 100%;
  position: relative;
  animation: modalFadeIn 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.simple-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 32px;
  cursor: pointer;
  color: #666;
  line-height: 1;
  background: none;
  border: none;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.simple-modal-close:hover { 
  color: #333;
  background: #f0f0f0;
  border-radius: 50%;
}

.simple-modal-content h3 {
  margin: 0 0 25px;
  color: #356662;
  font-size: 22px;
  font-weight: 700;
}

/* Стили для Contact Form 7 внутри модалки */
.simple-modal-content .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.simple-modal-content .wpcf7-form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}
.simple-modal-content .wpcf7-submit {
  background: #356662;
  color: #fff;
  border: none;
  padding: 14px 25px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
}
.simple-modal-content .wpcf7-submit:hover {
  background: #2a524e;
}

@media screen and (max-width: 850px) {
  .hero-right {
    display: none;
  }
}



  /* Контейнер блока */
    .logos-block {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      gap: 30px;
      padding: 30px 20px;
      border-radius: 16px;
    }

    /* Декоративные линии */
    .decorative-line {
      flex: 0 0 60px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 12px;
      opacity: 0.9;
    }

    .decorative-line::before,
    .decorative-line::after {
      content: '';
      width: 3px;
      height: 60px;
      background: linear-gradient(180deg, 
        transparent, 
        #3498db 20%, 
        #2c3e50 50%, 
        #3498db 80%, 
        transparent
      );
      border-radius: 2px;
      animation: pulse 2.5s ease-in-out infinite;
    }

    .decorative-line::after {
      animation-delay: -1.25s;
    }

    .decorative-line .dot {
      width: 8px;
      height: 8px;
      background: #3498db;
      border-radius: 50%;
      box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.6);
      animation: dotPulse 2s ease-in-out infinite;
    }

    .decorative-line .dot:nth-child(2) {
      animation-delay: -0.5s;
    }

    .decorative-line .dot:nth-child(3) {
      animation-delay: -1s;
    }

    /* Контейнер изображений */
    .images-container {
      flex: 1;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 25px;
      min-height: 120px;
    align-items: center;
    justify-items: center;
    }

    /* Карточка изображения */
    .image-card {
    width: 180px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 15px;
      background: #f8fafc;
      border-radius: 12px;
      border: 1px solid #e2e8f0;
      transition: all 0.3s ease;
      aspect-ratio: 2.5 / 1; /* Соотношение сторон для одинаковой высоты */
    }

    .image-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 30px rgba(52, 152, 219, 0.15);
      border-color: #3498db;
    }

    .image-card img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center;
      transition: transform 0.3s ease;
    }

    .image-card:hover img {
      transform: scale(1.03);
    }

    /* Анимации */
    @keyframes pulse {
      0%, 100% { opacity: 0.6; transform: scaleY(0.95); }
      50% { opacity: 1; transform: scaleY(1.05); }
    }

    @keyframes dotPulse {
      0%, 100% { 
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.6); 
        transform: scale(1);
      }
      50% { 
        box-shadow: 0 0 0 8px rgba(52, 152, 219, 0); 
        transform: scale(1.1);
      }
    }

    /* Адаптивность */
    @media (max-width: 1024px) {
      .logos-block {
        gap: 20px;
        padding: 25px 15px;
      }
      
      .decorative-line {
        flex: 0 0 40px;
        gap: 8px;
      }
      
      .decorative-line::before,
      .decorative-line::after {
        height: 40px;
        width: 2px;
      }
      
      .images-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        min-height: auto;
      }
      
      .image-card {
        aspect-ratio: 2 / 1;
        padding: 12px;
      }
    }

    @media (max-width: 600px) {
      .logos-block {
        flex-direction: column;
        padding: 25px 20px;
      }
      
      .decorative-line {
        flex-direction: row;
        width: 100%;
        justify-content: center;
      }
      
      .decorative-line::before,
      .decorative-line::after {
        width: 60px;
        height: 2px;
        background: linear-gradient(90deg, 
          transparent, 
          #3498db 20%, 
          #2c3e50 50%, 
          #3498db 80%, 
          transparent
        );
      }
      
      .images-container {
        grid-template-columns: 1fr;
        gap: 15px;
        width: 100%;
      }
      
      .image-card {
        aspect-ratio: 3 / 1;
        padding: 20px;
      }
    }

    /* Поддержка prefers-reduced-motion */
    @media (prefers-reduced-motion: reduce) {
      * {
        animation: none !important;
        transition: none !important;
      }
    }






         .sectors-container {
            display: flex;
            gap: 20px;
            max-width: 1200px;
            margin: 20px auto;
            flex-wrap: wrap;
       
        }

        .sector-card {
            flex: 1;
            min-width: 300px;
            background-size: cover;
            background-position: center;
            border-radius: 8px;
            padding: 40px;
            position: relative;
            overflow: hidden;
            min-height: 450px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            transition: transform 0.3s ease;
        }

        .sector-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
               background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 0%, rgb(255 255 255 / 42%) 50%, rgb(255 255 255 / 34%) 100%);
            z-index: 1;
        }

        .sector-card:hover {
            transform: translateY(-5px);
        }

        .sector-content {
            position: relative;
            z-index: 2;
        }

        .sector-title {
            font-size: 32px;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 24px;
            line-height: 1.2;
        }

        .sector-list {
            list-style: none;
            margin-bottom: 32px;
        }

        .sector-list-item {
            padding: 8px 0;
            padding-left: 24px;
            position: relative;
            color: #444;
            font-size: 15px;
            line-height: 1.5;
        }

        .sector-list-item::before {
            content: '•';
            position: absolute;
            left: 8px;
            color: #f4c542;
            font-weight: bold;
            font-size: 18px;
        }

        .btn-details {
            padding: 14px 32px;
            border: none;
            border-radius: 6px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }

        .btn-yellow {
            background-color: #f4c542;
            color: #2c3e50;
        }

        .btn-yellow:hover {
            background-color: #e6b800;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(244, 197, 66, 0.4);
        }

        .btn-dark {
            background-color: #356662;
            color: white;
        }

        .btn-dark:hover {
            background-color: #2c3e50;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(52, 73, 94, 0.4);
        }

        /* Background images - замените URL на свои изображения */
        .sector-enterprise {
            background-image: url('https://garant-s.by/wp-content/uploads/2026/02/2412343254.png');
        }

        .sector-private {
            background-image: url('https://garant-s.by/wp-content/uploads/2026/02/1771768119d833.png');
        }

        /* Адаптивность */
        @media (max-width: 768px) {
            .sectors-container {
                flex-direction: column;
            }

            .sector-card {
                min-width: 100%;
                min-height: 400px;
                padding: 30px;
            }

            .sector-title {
                font-size: 26px;
            }

            .sector-list-item {
                font-size: 14px;
            }
        }

        @media (max-width: 480px) {
            body {
                padding: 20px 15px;
            }

            .sector-card {
                padding: 25px;
            }

            .sector-title {
                font-size: 22px;
            }
        }







        .services-section {
            max-width: 1200px;
            margin: 0 auto;
        }

        .section-title {
            text-align: center;
            font-size: 42px;
            font-weight: 700;
            color: #356662;
            margin-bottom: 50px;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 25px;
        }

        .service-card {
            background: #ffffff;
            border-radius: 12px;
            padding: 35px 25px;
            text-align: center;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .service-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
        }

        .service-icon {
            width: 70px;
            height: 70px;
            margin: 0 auto 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .service-icon svg {
            width: 100%;
            height: 100%;
            fill: none;
            stroke: #356662;
            stroke-width: 1.5;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .service-title {
            font-size: 20px;
            font-weight: 600;
            color: #2d3748;
            margin-bottom: 12px;
        }

        .service-description {
            font-size: 14px;
            color: #718096;
            line-height: 1.5;
        }

        /* Адаптивность */
        @media (max-width: 1200px) {
            .services-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 900px) {
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .section-title {
                font-size: 36px;
            }
        }

        @media (max-width: 600px) {
            .services-grid {
                grid-template-columns: 1fr;
            }

            .section-title {
                font-size: 32px;
                margin-bottom: 35px;
            }

            .service-card {
                padding: 30px 20px;
            }
        }

        /* Анимация при загрузке */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .service-card {
            animation: fadeInUp 0.6s ease forwards;
        }

        .service-card:nth-child(1) { animation-delay: 0.1s; }
        .service-card:nth-child(2) { animation-delay: 0.2s; }
        .service-card:nth-child(3) { animation-delay: 0.3s; }
        .service-card:nth-child(4) { animation-delay: 0.4s; }
        .service-card:nth-child(5) { animation-delay: 0.5s; }
        .service-card:nth-child(6) { animation-delay: 0.6s; }
        .service-card:nth-child(7) { animation-delay: 0.7s; }
        .service-card:nth-child(8) { animation-delay: 0.8s; }




        .repair-block {
            max-width: 1200px;
            margin: 30px auto;
           
            border-radius: 12px;
            padding: 50px;
            display: flex;
            gap: 50px;
            align-items: center;
            border: solid 2px;
            position: relative;
            overflow: hidden;
        }

        .repair-block::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="none" stroke="rgba(0,0,0,0.03)" stroke-width="0.5" x="0" y="0" width="100" height="100"/></svg>');
            opacity: 0.3;
            pointer-events: none;
        }

        .repair-content {
            flex: 1;
            position: relative;
            z-index: 1;
        }

        .repair-title {
            font-size: 42px;
            font-weight: 300;
            color: #2c3e50;
            margin-bottom: 20px;
            line-height: 1.2;
        }

.repair-title b {
  font-weight: 600;
}

        .repair-description {
            font-size: 18px;
            color: #555;
            margin-bottom: 16px;
            line-height: 1.6;
        }

        .repair-details {
            font-size: 20px;
            color: #666;
            margin-bottom: 32px;
            line-height: 1.6;
          list-style: none;
        }

.repair-details i {
      color: #356662;
    padding-right: 8px;
}

        .repair-buttons {
            display: flex;
            gap: 16px;
            margin-bottom: 24px;
            flex-wrap: wrap;
        }

        .repair-note {
            font-size: 14px;
            color: #777;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .repair-note::before {
            content: '•';
            color: #f4c542;
            font-weight: bold;
            font-size: 18px;
        }

        .repair-image {
            flex: 0 0 400px;
            position: relative;
            z-index: 1;
        }

        .repair-image img {
            width: 100%;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        }

        /* Адаптивность */
        @media (max-width: 968px) {
            .repair-block {
                flex-direction: column;
                padding: 40px 30px;
                gap: 30px;
            }

            .repair-title {
                font-size: 32px;
            }

            .repair-image {
                flex: 1;
                width: 100%;
            }

            .repair-buttons {
                flex-direction: column;
            }

            .btn-hero {
                width: 100%;
                justify-content: center;
            }
        }

        @media (max-width: 480px) {
            .repair-block {
                padding: 30px 20px;
            }

            .repair-title {
                font-size: 26px;
            }

            .repair-description,
            .repair-details {
                font-size: 15px;
            }
        }






        .partners-block {
            max-width: 1200px;
            margin: 0 auto;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 12px;
            padding: 60px 50px;
            display: flex;
            gap: 60px;
            align-items: center;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: hidden;
            min-height: 400px;
        }

        .partners-block::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="none" stroke="rgba(0,0,0,0.03)" stroke-width="0.5" x="0" y="0" width="100" height="100"/></svg>');
            opacity: 0.3;
            pointer-events: none;
        }

        .partners-content {
            flex: 1;
            position: relative;
            z-index: 1;
        }

        .partners-title {
            font-size: 42px;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 32px;
            line-height: 1.2;
        }

        .partners-list {
            list-style: none;
            margin-bottom: 40px;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
        }

        .partners-list-item {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 16px;
            color: #555;
        }

        .checkmark {
            min-width: 20px;
            width: 20px;
            height: 20px;
            background-color: #356662;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 12px;
        }

        .checkmark::after {
            content: '✓';
            font-weight: bold;
        }

        .btn-partners {
            padding: 16px 40px;
            background-color: #f4c542;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
        }

        .btn-partners:hover {
            background-color: #2c3e50;
            transform: translateX(5px);
            box-shadow: 0 6px 20px rgba(52, 73, 94, 0.4);
        }

        .btn-partners::after {
            content: '→';
            font-size: 18px;
            transition: transform 0.3s ease;
        }

        .btn-partners:hover::after {
            transform: translateX(5px);
        }

        .partners-image {
            flex: 0 0 450px;
            position: relative;
            z-index: 1;
        }

        .partners-image img {
            width: 100%;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        }

        /* Адаптивность */
        @media (max-width: 968px) {
            .partners-block {
                flex-direction: column;
                padding: 40px 30px;
                gap: 40px;
                min-height: auto;
            }

            .partners-title {
                font-size: 32px;
            }

            .partners-list {
                grid-template-columns: 1fr;
            }

            .partners-image {
                flex: 1;
                width: 100%;
            }
        }

        @media (max-width: 480px) {
            .partners-block {
                padding: 30px 20px;
            }

            .partners-title {
                font-size: 26px;
            }

            .partners-list-item {
                font-size: 15px;
            }
        }




/* ===== Z-INDEX FIX ===== */
.menu-overlay {
  z-index: 998 !important; /* Ниже .nav-wrapper (999+) */
}

.nav-wrapper {
  z-index: 999 !important; /* Выше оверлея */
}

.burger-btn {
  z-index: 1000 !important; /* Выше всего в хэдере */
}

.popup {
  z-index: 2000 !important; /* Попапы выше всего */
}





/* ===== POPUP: ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ===== */

/* Поле комментария */
.popup-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 15px;
  transition: all 0.2s;
  font-family: inherit;
  resize: vertical;
  min-height: 80px;
}

.popup-form textarea:focus {
  outline: none;
  border-color: var(--color-dark-teal);
  box-shadow: 0 0 0 3px rgba(74, 107, 107, 0.1);
}

/* Кнопка для открытия второго попапа (если нужна на странице) */
.btn-kp-request {
  background: var(--color-dark-teal);
  color: var(--color-white);
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-kp-request:hover {
  background: #3d5a5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 107, 107, 0.3);
}

/* Анимация появления попапа */
.popup__content {
  animation: popupSlideIn 0.3s ease;
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Адаптив для попапов */
@media (max-width: 480px) {
  .popup__content {
    padding: 25px 20px;
    width: 95%;
  }
  
  .popup__title {
    font-size: 20px;
  }
  
  .popup-form .form-group {
    margin-bottom: 16px;
  }
  
  .popup-form input,
  .popup-form textarea {
    padding: 10px 12px;
    font-size: 14px;
  }
}







/* ============================================
   ЦВЕТА САЙТА
   ============================================ */
:root {
  --color-green: #28a745;
  --color-green-hover: #218838;
  --color-yellow: #ffc107;
  --color-yellow-hover: #e0a800;
  --color-text: #333333;
  --color-text-muted: #6c757d;
  --color-border: #dee2e6;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
}

/* ============================================
   ОБЩИЕ СТИЛИ - УБИРАЕМ ЛИШНИЙ ФОН
   ============================================ */
.block-two-cols,
.four-cols-block,
.five-cards-block,
.gallery-block,
.roadmap-block,
.items-row {
  background: transparent !important;
  box-shadow: none !important;
}

/* ============================================
   БЛОК 1: ДВЕ КОЛОНКИ (ТЕКСТ + ФОТО)
   ============================================ */
.block-two-cols {
  padding: 2rem 0;
  margin: 2rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.block-two-cols .col-left,
.block-two-cols .col-right {
  flex: 1 1 400px;
  min-width: 300px;
  padding: 0;
}

.block-two-cols h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.block-two-cols p {
  font-size: 1.3rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.block-two-cols .list-unstyled {
  margin: 1rem 0 1.5rem;
  padding-left: 0;
  list-style: none;
}

.block-two-cols .list-unstyled li {
  padding: 0.4rem 0 0.4rem 1.75rem;
  position: relative;
  font-size: 1rem;
  color: var(--color-text);
}

.block-two-cols .list-unstyled li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-weight: bold;
}

.block-two-cols .buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.block-two-cols .btn {
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.block-two-cols .btn-green {
  background: var(--color-dark-teal);
  color: #fff;
}
.block-two-cols .btn-green:hover {
  background: var(--color-green-hover);
  color: #fff;
  transform: translateY(-2px);
}

.block-two-cols .btn-yellow {
  background: var(--color-yellow);
  color: #212529;
}
.block-two-cols .btn-yellow:hover {
  background: var(--color-yellow-hover);
  color: #212529;
  transform: translateY(-2px);
}

.block-two-cols .col-right img {
  width: 100%;
  max-width: 500px;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  margin: 0 auto;
}

/* ============================================
   БЛОК 2: ПУНКТЫ В РЯД - ИСПРАВЛЕННАЯ СЕТКА
   ============================================ */
/* Контейнер с карточками - сетка */
.items-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    padding: 1rem 0;
}

/* Карточка - закругленный прямоугольник */
.item-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 140, 88, 0.1); /* тонкая зеленая обводка */
    transition: all 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Декоративная полоска сверху в фирменных цветах */
.item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4a6b6b 0%, #ffc107 100%);
}

/* Эффект при наведении */
.item-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 140, 88, 0.12);
    border-color: rgba(0, 140, 88, 0.3);
}

/* Заголовок карточки */
.item-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

/* Текст описания */
.item-card-text {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
    flex-grow: 1;
}

/* Адаптив для мобильных */
@media (max-width: 576px) {
    .items-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .item-card {
        padding: 1.25rem 1rem;
        border-radius: 16px;
    }
    
    .item-card-title {
        font-size: 1rem;
    }
    
    .item-card-text {
        font-size: 0.875rem;
    }
}


/* ============================================
   БЛОК 3: ГАЛЕРЕЯ - ИСПРАВЛЕННАЯ СЕТКА
   ============================================ */
/* Блок галереи */
.gallery-block {
    padding: 2rem 0;
}

.gallery-block h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text, #2c3e50);
    margin: 0 0 2rem;
    text-align: left !important;
}

/* Сетка галереи — 4 колонки на десктопе */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* ← ровно 4 в ряд */
    gap: 1rem;
}

/* Элемент галереи */
.gallery-item {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1/1;
    background: #f8f9fa;
    transition: border-radius 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    cursor: zoom-in;
}

/* Изображение */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* Подпись — всегда видна */
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.4), transparent 100%);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    pointer-events: none;
    /* Убираем скрытие — подпись видна всегда */
    opacity: 1;
    transform: none;
    transition: none;
}

/* === ЭФФЕКТЫ ПРИ НАВЕДЕНИИ === */

/* Прямые углы + тень + лёгкий подъём */
.gallery-item:hover {
    border-radius: 0;
    box-shadow: 0 12px 40px rgba(0, 140, 88, 0.25);
    transform: translateY(-2px);
    z-index: 2;
}

/* Увеличение изображения */
.gallery-item:hover img {
    transform: scale(1.08);
}

/* Подпись при наведении — можно чуть ярче */
.gallery-item:hover .gallery-caption {
    background: linear-gradient(to top, rgba(0,140,88,0.9), rgba(0,140,88,0.5), transparent 100%);
}

/* === АДАПТИВ === */

/* Планшеты: 2 в ряд */
@media (max-width: 1199px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.875rem;
    }
}

/* Мобильные: 1 в ряд */
@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .gallery-caption {
        font-size: 0.85rem;
        padding: 0.6rem 0.85rem;
    }
    
    .gallery-item {
        border-radius: 12px;
    }
    
    .gallery-item:hover {
        border-radius: 4px;
    }
}

/* ============================================
   БЛОК 4: 4 КОЛОНКИ - ИСПРАВЛЕННАЯ СЕТКА
   ============================================ */
/* Основной отступ блока */
.four-cols-block {
    padding: 2rem 0;
}

/* Сетка: 4 колонки на десктопе */
.four-cols-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: start; /* Чтобы колонки не растягивались по высоте */
}

/* Общий стиль для всех колонок */
.col-item {
    padding: 1.5rem;
    border-radius: 16px;
    background: #fff;
    height: 100%;
}

/* --- КОЛОНКА 1: СПИСОК --- */
/* Колонка 1: список через CSS */
/* Базовый стиль карточки */
.col-item {
    padding: 1.5rem;
    border-radius: 16px;
    background: #fff;
    height: 100%;
}

/* Стиль списка + центрирование */
.col-list {
    background: rgba(0, 140, 88, 0.05);
    border: 1px solid rgba(0, 140, 88, 0.1);
    padding: 1.5rem;
    border-radius: 16px;
    
    /* Центрируем список внутри блока */
    display: flex;
    flex-direction: column;
    align-items: center; 
        justify-content: center; /* Работает, если у родителя задана высота */
}

.col-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Элемент списка */
.col-list li {
    display: flex;
    justify-content: flex-start; /* Центрируем галочку + текст как единое целое */
    align-items: center;
    gap: 0.6rem; /* Отступ между галочкой и текстом */
    
    margin-bottom: 0.75rem;
    font-weight: 700;
    font-size: 1.4rem; /* Оптимальный размер (было 1.4rem и 0.95rem в дубликатах) */
    color: #2c3e50;
    line-height: 1.4;
}

.col-list li:last-child {
    margin-bottom: 0;
}

/* Галочка */
.col-list li::before {
    content: "✓";
    color: #008c58; /* Ваш акцентный зелёный */
    font-weight: 900;
    font-size: 1.2em;
    flex-shrink: 0; /* Галочка не будет сжиматься на узких экранах */
}



.col-item:not(.col-list) {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.col-item:not(.col-list):hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 140, 88, 0.15);
    border-color: rgba(0, 140, 88, 0.3);
}

.col-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: #2c3e50;
    line-height: 1.3;
    position: relative;
    padding-bottom: 0.75rem;
}

.col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #008c58;
    border-radius: 2px;
    opacity: 0.7;
}

.col-desc {
    font-size: 0.95rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
    padding-top: 0.5rem;
}

/* =========================================
   ➡️ СТРЕЛКИ МЕЖДУ КОЛОНКАМИ
   ========================================= */
.col-item:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: calc(var(--grid-gap) / -2); /* Автоматически встает по центру зазора */
    top: 30%;
    transform: translateY(-50%);
    font-size: 1.6rem;
    font-weight: 900;
    color: #008c58;
    line-height: 1;
    z-index: 2;
    pointer-events: none; /* Стрелка не блокирует клики */
    opacity: 0.8;
}

/* =========================================
   📱 АДАПТИВ
   ========================================= */

/* Планшеты: 2 колонки */
@media (max-width: 1199px) {
    .four-cols-grid {
        grid-template-columns: repeat(2, 1fr);
        --grid-gap: 1.25rem;
    }
    .col-item:not(:last-child)::after {
        top: 50%; /* Строго по центру для двух колонок */
    }
}

/* Мобильные: 1 колонка, стрелки вниз */
@media (max-width: 576px) {
    .four-cols-grid {
        grid-template-columns: 1fr;
        --grid-gap: 1rem;
    }
    .col-item {
        padding: 1.25rem;
    }
    .col-item:not(:last-child)::after {
        content: "↓";
        right: 50%;
        top: auto;
        bottom: calc(var(--grid-gap) / -2);
        transform: translateX(-50%);
        font-size: 1.4rem;
    }
}


/* ============================================
   БЛОК 5: ДОРОЖНАЯ КАРТА - ГОРИЗОНТАЛЬНАЯ
   ============================================ */
/* Блок дорожной карты */
.roadmap-block {
    padding: 2rem 0;
}

.roadmap-block h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 1.5rem;
    text-align: center;
}

/* Контейнер */
.roadmap-arrows {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.25rem;
    counter-reset: step-counter;
}

/* Стрелка - одинаковая ширина */
.roadmap-arrow {
    position: relative;
    background: #4a6b6b;
    color: #fff;
    padding: 0.2rem 0.75rem;
    text-align: left; /* Выравнивание по левому краю */
    clip-path: polygon(0% 0%, 85% 0%, 92% 50%, 85% 100%, 0% 100%);
    transition: all 0.3s ease;
    cursor: default;
    
    /* === РАВНЫЕ РАЗМЕРЫ === */
    flex: 1 1 0;
    min-width: 0;
    
    display: flex;
    align-items: center;
    justify-content: flex-start; /* ← Текст слева */
}

.items-row-title {
	font-size: 1.5rem;
}

/* Последняя стрелка - прямая */
.roadmap-arrow:last-child {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

/* Текст - с переносом строк */
.arrow-text {
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    padding-left: 0.25rem;
    padding-right: 10%;
    /* ← Разрешаем перенос текста */
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.3;
}

/* Номер */
.roadmap-arrow::before {
    content: counter(step-counter) ".";
    counter-increment: step-counter;
    font-weight: 700;
    font-size: 0.85rem;
    margin-right: 0.4rem;
    color: #ffc107;
    flex-shrink: 0;
}

/* Эффект при наведении */
.roadmap-arrow:hover {
    background: #ffc107;
    color: #212529;
    transform: translateY(-2px);
}

/* === АДАПТИВ === */

/* Планшеты - 2 в ряд */
@media (max-width: 991px) {
    .roadmap-arrows {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .roadmap-arrow {
        flex: 0 0 calc(50% - 0.25rem);
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    }
}

/* Мобильные - 1 в ряд */
@media (max-width: 576px) {
    .roadmap-block {
        padding: 1.5rem 0;
    }
    
    .roadmap-block h3 {
        font-size: 1.25rem;
        margin: 0 0 1rem;
    }
    
    .roadmap-arrows {
        flex-direction: column;
    }
    
    .roadmap-arrow {
        flex: 0 0 100%;
        padding: 0.6rem 0.875rem;
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    }
    
    .arrow-text {
        font-size: 0.75rem;
        line-height: 1.4;
    }
}

/* ============================================
   БЛОК 6: 5 КАРТОЧЕК - ИСПРАВЛЕННАЯ СЕТКА
   ============================================ */
.five-cards-block {
  padding: 2rem 0;
}

.five-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.five-cards-grid .card {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  background: rgba(255,255,255,0.95);
  display: flex;
  flex-direction: column;
}

.five-cards-grid .card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.five-cards-grid .card-img-top {
  height: 140px;
  object-fit: cover;
  width: 100%;
}

.five-cards-grid .card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.five-cards-grid .card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 0.5rem;
}

.five-cards-grid .card-content {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  flex: 1;
}

.five-cards-grid .card-footer {
  padding: 0.75rem 1.25rem 1.25rem;
  background: transparent;
  border-top: 1px solid var(--color-border);
}

.five-cards-grid .card-footer .btn {
  width: 100%;
  padding: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ============================================
   АДАПТИВНОСТЬ - ИСПРАВЛЕННАЯ
   ============================================ */

/* Планшеты (до 1200px) */
@media (max-width: 1199.98px) {
  .items-row { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .four-cols-grid { grid-template-columns: repeat(2, 1fr); }
  .roadmap { grid-template-columns: repeat(3, 1fr); }
  .roadmap::before { display: none; }
  .five-cards-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Планшеты малые (до 992px) */
@media (max-width: 991.98px) {
  .block-two-cols {
    flex-direction: column;
    text-align: center;
            display: flex;
        flex-direction: column-reverse;
  }
  
  .block-two-cols .buttons {
    justify-content: center;
  }
  
  .block-two-cols .list-unstyled li {
    padding-left: 0;
    padding-left: 1.75rem;
  }
  
  .block-two-cols .col-right img {
    max-width: 100%;
  }
  
  .items-row { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .five-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Мобильные (до 768px) */
@media (max-width: 767.98px) {
  .block-two-cols {
    padding: 1.5rem 0;
    margin: 1rem 0;
  }
  
  .block-two-cols h3 { font-size: 1.4rem; }
  .block-two-cols p { font-size: 1rem; }
  .block-two-cols .btn {
    width: 100%;
    padding: 0.65rem 1.25rem;
  }
  
  .items-row,
  .gallery-grid,
  .four-cols-grid,
  .roadmap,
  .five-cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .roadmap-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    padding: 1rem;
    background: rgba(255,255,255,0.5);
    border-radius: var(--radius);
  }
  
  .roadmap-dot {
    margin: 0;
    flex-shrink: 0;
  }
  
  .roadmap-item h6 { margin-top: 0; }
  
  .gallery-grid .gallery-item {
    aspect-ratio: 16/9;
  }
  
  .five-cards-grid .card-img-top {
    height: 180px;
  }
}

/* Малые мобильные (до 480px) */
@media (max-width: 479.98px) {
  .block-two-cols h3 { font-size: 1.25rem; }
  .block-two-cols .btn { font-size: 0.95rem; }
  
  .gallery-grid .gallery-item {
    aspect-ratio: 4/3;
  }
}

/* ============================================
   УТИЛИТЫ
   ============================================ */
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.text-center { text-align: center !important; }
.text-muted { color: var(--color-text-muted) !important; }
.small { font-size: 0.875rem !important; }

.img-fluid {
	width: 300px;
	height: auto;
}







/* === Контакты страница === */
.contacts-page {
  padding: 40px 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.breadcrumbs {
  margin-bottom: 20px;
  font-size: 14px;
  color: #666;
}
.breadcrumbs a {
  color: #0066cc;
  text-decoration: none;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}

.page-title {
  font-size: 28px;
  margin-bottom: 30px;
  color: #222;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 768px) {
  .contacts-grid {
    grid-template-columns: 1fr;
  }
}

/* Блок контактной информации */
.company-block h2 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #222;
  border-bottom: 2px solid #0066cc;
  padding-bottom: 10px;
}

.contact-item {
  margin-bottom: 20px;
}

.contact-item strong {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  color: #444;
}

.contact-item p {
  margin: 0;
  color: #555;
}

.contact-item a {
  color: #0066cc;
  text-decoration: none;
}
.contact-item a:hover {
  text-decoration: underline;
}

/* Карта */
.map-container {
  width: 100%;
  height: 400px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
}

.map-links {
  margin-top: 10px;
  font-size: 13px;
  color: #777;
  display: flex;
  gap: 15px;
  align-items: center;
}
.map-links a {
  color: #0066cc;
  text-decoration: none;
}
.map-links a:hover {
  text-decoration: underline;
}

/* Форма (если используете Formlister [[24]]) */
.contact-form {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}
.contact-form button {
  background: #0066cc;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 15px;
}
.contact-form button:hover {
  background: #0052a3;
}
.success {
  padding: 15px;
  background: #d4edda;
  color: #155724;
  border-radius: 4px;
  margin-bottom: 20px;
}



.list-items {
    white-space: pre-line;      /* Сохраняет переносы строк */
    column-count: 2;            /* 2 колонки */
    column-gap: 2rem;           /* Расстояние между колонками */
}

.list-items > * {
    display: block;
    margin-bottom: 0.5rem;
}

/* Добавляем маркер • перед каждой строкой */
.list-items {
    position: relative;
}


/* Для мобильных - 1 колонка */
@media (max-width: 768px) {
    .list-items {
        column-count: 1;
    }
}






/* Эффект при наведении */
.item-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 140, 88, 0.15); /* зеленый акцент */
    border-color: rgba(0, 140, 88, 0.3);
}

/* Иконка */
.item-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.item-wrapper:hover .item-icon {
    transform: scale(1.05);
}

/* Заголовок */
.item-wrapper h6 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
    min-height: 3rem; /* чтобы заголовки были на одном уровне */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Текст описания */
.item-text {
    font-size: 0.95rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
    flex-grow: 1; /* чтобы карточки были одинаковой высоты */
}

/* Декоративная линия под заголовком (опционально) */
.item-wrapper::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #008c58, #ffc107); /* зеленый → желтый */
    border-radius: 2px;
    margin: 0.75rem auto 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.item-wrapper:hover::after {
    opacity: 1;
}

/* Адаптив для мобильных */
@media (max-width: 576px) {
    .items-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .item-wrapper {
        padding: 1.25rem 1rem;
        border-radius: 12px;
    }
    
    .item-icon {
        width: 48px;
        height: 48px;
    }
}


/* Секция с формой */
.request-form-section {
    background: linear-gradient(135deg, #4a6b6b 0%, #006d44 100%);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

/* Декоративный фон */
.request-form-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.request-form-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 193, 7, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

/* Контейнер */
.request-form-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

/* Заголовок */
.request-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.request-form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.request-form-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Обёртка формы и телефона */
.request-form-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Форма */
.request-form {
    flex: 1;
    min-width: 0;
}

/* Строка с полями */
.form-row {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

/* Поле ввода */
.form-field {
    flex: 1;
    min-width: 0;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    color: #2c3e50;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: #95a5a6;
}

.form-input:focus {
    border-color: #ffc107;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.2);
}

/* Кнопка отправки */
.form-submit-btn {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #212529;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
    background: linear-gradient(135deg, #ffca28 0%, #ffa726 100%);
}

.form-submit-btn:active {
    transform: translateY(0);
}

/* Телефон */
.request-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    min-width: 140px;
}

.phone-icon {
    width: 56px;
    height: 56px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #008c58;
    transition: all 0.3s ease;
}

.phone-icon svg {
    width: 28px;
    height: 28px;
}

.phone-text {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
}

.request-phone:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.4);
}

.request-phone:hover .phone-icon {
    background: #ffc107;
    color: #212529;
    transform: scale(1.1);
}

/* === АДАПТИВ === */

@media (max-width: 991px) {
    .request-form-wrapper {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .form-row {
        flex-direction: column;
        width: 100%;
    }
    
    .form-submit-btn {
        width: 100%;
    }
    
    .request-phone {
        flex-direction: row;
        justify-content: center;
        width: 100%;
        padding: 1rem 1.5rem;
    }
    
    .phone-icon {
        width: 48px;
        height: 48px;
    }
    
    .phone-icon svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 576px) {
    .request-form-section {
        padding: 2rem 0;
    }
    
    .request-form-title {
        font-size: 1.5rem;
    }
    
    .request-form-subtitle {
        font-size: 1rem;
    }
    
    .form-input {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .form-submit-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .request-phone {
        padding: 0.875rem 1.25rem;
    }
    
    .phone-text {
        font-size: 0.875rem;
    }
}


.list-items {
    list-style: none;
    padding: 0;
    margin: 0;
    column-count: 2;
    column-gap: 2rem;
}

.list-items li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    break-inside: avoid; /* ❗ Критично для column-count: не разрывает элемент между колонками */
}

.list-items li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #28a745; /* зелёный цвет, можно заменить */
    font-weight: bold;
    line-height: inherit;
}


/* Футер страницы (Page Builder блок) */
.page-footer-block {
    background: #f8f9fa;  /* Светло-серый фон */
    padding: 3rem 0;
    width: 100%;
    margin-top: 2rem;
}

.page-footer-block .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-text {
    color: #6c757d;
    line-height: 1.6;
    text-align: center;
}

/* Размеры текста */
.footer-text[data-size="small"] {
    font-size: 14px;
}

.footer-text[data-size="normal"] {
    font-size: 16px;
}

.footer-text[data-size="large"] {
    font-size: 18px;
}

.footer-text[data-size="xlarge"] {
    font-size: 22px;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .page-footer-block {
        padding: 2rem 0;
        margin-top: 1.5rem;
    }
    
    .footer-text {
        text-align: left;
    }
}



/* Блок: Список в колонках */
.columns-list-block {
    padding: 3rem 0;
}

.columns-list-block .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Заголовок */
.columns-list-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 1rem;
    text-align: left;
}

/* Описание — скрываем если пустое через CSS */
.columns-list-desc {
    font-size: 1.1rem;
    color: #6c757d;
    margin: 0 0 2rem;
    line-height: 1.6;
}

.columns-list-desc:empty {
    display: none;
}

/* Сетка колонок */
.columns-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Колонка */
.columns-list-column {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 1.5rem;
}

/* Список */
.columns-list-items {
    list-style: none;
    padding: 0;
    margin: 0;
    white-space: pre-line; /* Сохраняет переносы строк */
}

.columns-list-items li {
    padding: 0.5rem 0;
    color: #2c3e50;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.columns-list-items li:last-child {
    border-bottom: none;
}

/* Адаптив */
@media (max-width: 991px) {
    .columns-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .columns-list-grid {
        grid-template-columns: 1fr;
    }
}


/* Контейнер блока */
.tiles-block {
    padding: 2rem 0;
}

/* Сетка плиток */
.tiles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 4 колонки по умолчанию */
    gap: 1.5rem;
}

/* Карточка (Плитка) */
.tile-card {
    background: #fff;       /* Белый фон */
    border-radius: 16px;    /* Скругленные углы */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* Легкая тень */
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;           /* Чтобы все карточки были одинаковой высоты */
}

.tile-card:hover {
    transform: translateY(-5px); /* Эффект при наведении */
}

/* Заголовок H4 */
.tile-card-title {
	height: 80px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 1rem;
    line-height: 1.3;
}

/* Фото */
.tile-card-image {
	    display: flex;
    height: 200px;
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    justify-content: center;
    align-items: center;
}

.tile-card-image img {
    width: 100%;
    height: 180px;          /* Фиксированная высота фото */
    object-fit: contain;      /* Обрезка фото по центру */
    display: block;
}

/* Список */
.tile-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;       /* Текст списка слева */
}

.tile-card-list li {
    padding: 0.4rem 0 0.4rem 1.25rem;
    position: relative;
    font-size: 0.9rem;
    color: #6c757d;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.tile-card-list li:last-child {
    border-bottom: none;
}

/* Маркер списка (зеленая точка) */
.tile-card-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #008c58; /* Ваш фирменный зеленый */
    border-radius: 50%;
}

/* === АДАПТИВ === */

/* Планшеты: 2 колонки */
@media (max-width: 991px) {
    .tiles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Мобильные: 1 колонка */
@media (max-width: 576px) {
    .tiles-grid {
        grid-template-columns: 1fr;
    }
    
    .tile-card {
        padding: 1rem;
    }
    
    .tile-card-image img {
        height: 200px;
    }
}

/* Список в плитке — с переносами и маркерами */
.tile-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
    
    /* Сохраняем переносы строк из админки */
    white-space: pre-line;
    line-height: 1.6;
    font-size: 0.95rem;
    color: #6c757d;
}



/* Каждая новая строка — новый пункт */
.tile-card-list {
    position: relative;
    padding-left: 1rem;
}

/* Убираем маркер у пустых строк */
.tile-card-list:empty {
    display: none;
}




/* === КАТАЛОГ НАСОСОВ === */
.pumps-catalog {
  padding: 2rem 0;
  
  /* ✅ ВСТАВИТЬ ЗДЕСЬ: ограничение ширины и центрирование */
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Заголовок + переключатель */
.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.catalog-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text, #2c3e50);
  margin: 0;
}

/* Переключатель вида */
.view-toggle {
  display: flex;
  gap: 0.5rem;
  background: #f8f9fa;
  padding: 0.25rem;
  border-radius: 8px;
}

.view-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.view-btn:hover,
.view-btn.active {
  /* ✅ ЗАМЕНА: зелёный на ваш цвет */
  background: var(--color-dark-teal);
  color: #fff;
}

/* Сетка товаров */
.pumps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Карточка товара */
.pump-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pump-card:hover {
  transform: translateY(-5px);
  /* ✅ ЗАМЕНА: тень с зелёным на ваш цвет */
  box-shadow: 0 12px 40px rgba(var(--color-dark-teal-rgb, 0, 0, 0), 0.15);
}

/* Фото */
.pump-image {
  position: relative;
  padding-top: 75%;
  background: #f8f9fa;
  overflow: hidden;
}

.pump-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  transition: transform 0.3s ease;
}

.pump-card:hover .pump-image img {
  transform: scale(1.05);
}

/* Контент карточки */
.pump-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pump-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text, #2c3e50);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.pump-price {
  font-size: 1.25rem;
  font-weight: 700;
  /* ✅ ЗАМЕНА: зелёный на ваш цвет */
  color: var(--color-dark-teal);
  margin: 0 0 0.75rem;
}

/* Скрытый блок (описание + характеристики) */
.pump-details-hidden {
  /* ✅ ПО УМОЛЧАНИЮ СКРЫТО В ПЛИТКЕ */
  display: none;
  margin: 0 0 1rem;
}

.pump-description {
  font-size: 0.95rem;
  color: #6c757d;
  margin: 0 0 1rem;
  line-height: 1.6;
}

/* Таблица характеристик */
.pump-characteristics {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.pump-characteristics th,
.pump-characteristics td {
  padding: 0.5rem;
  border-bottom: 1px solid #e9ecef;
  text-align: left;
}

.pump-characteristics th {
  background: #f8f9fa;
  font-weight: 600;
  color: #2c3e50;
  width: 40%;
}

.pump-characteristics td {
  color: #495057;
}

/* Кнопка «Позвонить» */
.btn-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  /* ✅ ЗАМЕНА: градиент на ваш цвет */
  background: var(--color-dark-teal);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  margin-top: auto;
}

.btn-call:hover {
  /* ✅ ЗАМЕНА: цвет при наведении (можно сделать чуть светлее) */
  background: var(--color-dark-teal-hover, var(--color-dark-teal));
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(var(--color-dark-teal-rgb, 0, 0, 0), 0.3);
}

.btn-call i {
  font-size: 0.9rem;
}

/* === РЕЖИМ СПИСКА === */
.pumps-catalog[data-view="list"] .pumps-grid {
  grid-template-columns: 1fr;
  gap: 1rem;
}

.pumps-catalog[data-view="list"] .pump-card {
  flex-direction: row;
  align-items: stretch;
}

.pumps-catalog[data-view="list"] .pump-image {
  width: 220px;
  min-width: 220px;
  padding-top: 0;
}

.pumps-catalog[data-view="list"] .pump-image img {
  padding: 0.75rem;
}

.pumps-catalog[data-view="list"] .pump-content {
  padding: 1.5rem;
}

/* ✅ В СПИСКЕ ПОКАЗЫВАЕМ ПОЛНЫЙ КОНТЕНТ */
.pumps-catalog[data-view="list"] .pump-details-hidden {
  display: block;
}

.pumps-catalog[data-view="list"] .pump-description {
  display: block;
}

.pumps-catalog[data-view="list"] .pump-characteristics {
  display: table;
}

/* === АДАПТИВ === */

/* Планшеты: 2 в ряд */
@media (max-width: 1199px) {
  .pumps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pumps-catalog[data-view="list"] .pump-image {
    width: 180px;
    min-width: 180px;
  }
}

/* Мобильные: 1 в ряд */
@media (max-width: 576px) {
  .catalog-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .pumps-grid {
    grid-template-columns: 1fr;
  }
  
  .pumps-catalog[data-view="list"] .pump-card {
    flex-direction: column;
  }
  
  .pumps-catalog[data-view="list"] .pump-image {
    width: 100%;
    min-width: auto;
    padding-top: 75%;
  }
  
  .pump-name {
    font-size: 1rem;
  }
  
  .pump-price {
    font-size: 1.1rem;
  }
  
  .btn-call {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
  }
  
  /* На мобильном в списке тоже скрываем таблицу по умолчанию для компактности,
     или оставьте как есть если хотите полную видимость */
  .pumps-catalog[data-view="list"] .pump-characteristics {
    font-size: 0.85rem;
  }
  
  .pumps-catalog[data-view="list"] .pump-characteristics th,
  .pumps-catalog[data-view="list"] .pump-characteristics td {
    padding: 0.4rem;
  }
}