:root {
  --primary-color: #4EA6A6;
  --primary-dark: #3d8b8b;
  --primary-light: #5FBDBD;
  --primary-soft: #EBF5F5;
  --text-dark: #222;
  --text-medium: #444;
  --text-light: #f8f9fa;
  --shadow-color: rgba(78, 166, 166, 0.2);
}

h4.mb-0 {
  font-size: 1.2rem !important;
}

/* === Общие кнопки === */
.btn,
.btn-primary,
.btn-blue,
.btn-blue-medium,
.btn-blue-dark,
.btn-hero-primary {
  padding: 10px 24px;
  font-weight: 600;
  border-radius: 6px;
  font-size: 1rem;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: white !important;
  border: 2px solid var(--primary-color);
  transition: all 0.3s ease;
}

.btn:hover,
.btn-primary:hover,
.btn-blue:hover,
.btn-blue-medium:hover,
.btn-blue-dark:hover,
.btn-hero-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 4px 12px var(--shadow-color);
  transform: translateY(-2px);
}

/* Кнопки Outline */
.btn-outline,
.btn-outline-primary,
.btn-hero-outline {
  background-color: transparent;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color);
}

.btn-outline:hover,
.btn-outline-primary:hover,
.btn-hero-outline:hover {
  background-color: var(--primary-color);
  color: white !important;
  box-shadow: 0 4px 12px var(--shadow-color);
  transform: translateY(-2px);
}

/* Эффекты фокуса и нажатия */
.btn:focus,
.btn:active {
  outline: none;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3);
  transform: translateY(1px);
}

/* Карточки услуг */
.service-card {
  border-top: 4px solid var(--primary-color);
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--shadow-color);
}

.service-icon {
  transition: transform 0.3s;
  filter: brightness(0) saturate(100%) invert(48%) sepia(90%) saturate(376%) hue-rotate(161deg) brightness(93%) contrast(89%);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mt-auto {
  margin-top: auto;
}

/* Блок описания компании */
.company-description {
  border-left: 4px solid var(--primary-color);
  background-color: var(--primary-soft);
}

.company-description h4 {
  color: var(--primary-color);
}

/* Глобальные заголовки и текст */
.hero-title,
.section-title {
  color: var(--text-dark);
}

.hero-subtitle,
.section-subtitle {
  color: var(--text-medium);
}

/* Шапка */
.navbar {
  padding: 15px 0;
  background-color: rgba(255, 255, 255, 0.9) !important;
  transition: all 0.3s;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* Hero-секция */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-1 { background-image: url('/img/main.jpg'); }
.slide-2 { background-image: url('/img/raparacion.jpg'); }
.slide-3 { background-image: url('/img/reparacion2.jpg'); }

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 4;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-text-box {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 50px;
  border-radius: 8px;
  max-width: 700px;
  color: #333;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-left: 10%;
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.3;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 35px;
  line-height: 1.6;
}

.text-primary {
  color: var(--primary-color) !important;
}

.btn-hero {
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 6px;
  font-size: 1rem;
  margin-right: 15px;
  margin-bottom: 10px;
}

/* Индикаторы слайдов */
.slide-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.indicator.active {
  background-color: white;
  transform: scale(1.2);
}

/* Анимация появления */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Адаптивность */
@media (max-width: 992px) {
  .hero-text-box {
    margin-left: 5%;
    margin-right: 5%;
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .hero-slider, .hero-section {
    min-height: 500px;
  }

  .hero-text-box {
    padding: 30px;
    text-align: center;
    margin: 0 auto;
    width: 90%;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .btn-hero {
    display: block;
    width: 100%;
    margin-bottom: 15px;
  }
}
/* Стили для кастомных маркеров списка */
  .case-features {
    list-style: none;
    padding-left: 0;
  }

  .case-features li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    line-height: 1.5;
  }

  .feature-bullet {
    position: absolute;
    left: 0;
    top: 7px;
    width: 18px;
    height: 18px;
    background-color: var(--primary-color);
    border-radius: 50%;
  }

  .feature-bullet::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 5px;
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
  }

  /* Стили для кастомных стрелок */
  .arrow-left, .arrow-right {
    display: inline-block;
    width: 30px;
    height: 30px;
    position: relative;
  }

  .arrow-left::before, .arrow-right::before {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    top: 50%;
  }

  .arrow-left::before {
    left: 3px;
    transform: rotate(-45deg) translateY(-50%);
    transform-origin: left center;
  }

  .arrow-left::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    bottom: 50%;
    left: 3px;
    transform: rotate(45deg) translateY(50%);
    transform-origin: left center;
  }

  .arrow-right::before {
    right: 3px;
    transform: rotate(45deg) translateY(-50%);
    transform-origin: right center;
  }

  .arrow-right::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    bottom: 50%;
    right: 3px;
    transform: rotate(-45deg) translateY(50%);
    transform-origin: right center;
  }

  /* Остальные стили карусели (оставить без изменений) */
  .portfolio-carousel {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
  }

  .portfolio-container {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
    padding: 0 50px;
  }

  .portfolio-case {
    min-width: calc(50% - 15px);
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
  }

  .case-image {
    position: relative;
    height: 400px;
    overflow: hidden;
  }

  .image-comparison {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .before-image, .after-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
  }

  .before-image {
    opacity: 0;
    z-index: 1;
  }

  .portfolio-case:hover .before-image {
    opacity: 1;
  }

  .case-content {
    height: 400px;
    display: flex;
    align-items: center;
  }

  .case-result {
    margin-top: 20px;
  }

  .carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .carousel-nav:hover {
    background: var(--primary-color);
  }

  .carousel-nav:hover .arrow-left,
  .carousel-nav:hover .arrow-right {
    border-color: white;
  }

  .carousel-nav:hover .arrow-left::before,
  .carousel-nav:hover .arrow-left::after,
  .carousel-nav:hover .arrow-right::before,
  .carousel-nav:hover .arrow-right::after {
    background: white;
  }

  .prev {
    left: 0;
  }

  .next {
    right: 0;
  }

  @media (max-width: 992px) {
    .portfolio-case {
      min-width: 100%;
    }
  }

/* Этапы процесса */
.process-icon {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  margin: 0 auto 15px;
  font-weight: bold;
  font-size: 1.5rem;
}

/* Цвета и утилиты */
.bg-primary {
  background-color: var(--primary-color) !important;
}
.text-primary {
  color: var(--primary-color) !important;
}

 /* Убираем индикаторы слайдов */
  .slide-indicators {
    display: none;
  }
  
  /* Стили для нового блока */
  .equipment-icon, .advantages-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
    margin-bottom: 15px;
  }
  
  .equipment-icon {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M19 5h-2V3H7v2H5c-1.1 0-2 .9-2 2v1c0 2.55 1.92 4.63 4.39 4.94.63 1.5 1.98 2.63 3.61 2.96V19H7v2h10v-2h-4v-3.1c1.63-.33 2.98-1.46 3.61-2.96C19.08 12.63 21 10.55 21 8V7c0-1.1-.9-2-2-2zM5 8V7h2v3.82C5.84 10.4 5 9.3 5 8zm14 0c0 1.3-.84 2.4-2 2.82V7h2v1z"/></svg>');
  }
  
  .advantages-icon {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>');
  }
  
  .quality-features {
    list-style: none;
    padding-left: 0;
  }
  
  .quality-features li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
  }
  
  .quality-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 15px;
    height: 15px;
    background-color: var(--primary-color);
    border-radius: 3px;
  }
  
  .quality-features li::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 10px;
    width: 5px;
    height: 5px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
  }

/* Убираем квадрат в круге для стрелки */
.quality-features li::before {
  display: none; /* Убираем квадрат */
}

.quality-features li::after {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 15px;
  height: 15px;
  background-color: var(--primary-color);
  border-radius: 50%;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg);
}

/* Центрируем иконки в заголовках */
.equipment-icon, .advantages-icon {
  display: block;
  margin: 0 auto 15px;
  vertical-align: middle;
}

/* Делаем кнопку в блоке заявки более заметной */
#cotizar .btn-light {
  background-color: white;
  color: var(--primary-color) !important;
  border: 2px solid white;
  font-weight: 600;
  transition: all 0.3s;
}

#cotizar .btn-light:hover {
  background-color: transparent !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,255,255,0.2);
}

/* Стили для телефона в шапке */
.navbar .phone-link {
    font-size: 1.05rem;
    transition: all 0.3s;
}

.navbar .phone-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-1px);
}

/* Адаптация для мобильных */
@media (max-width: 991.98px) {
    .navbar .phone-link {
        display: none;
    }
}

.form-control {
    line-height: 1.9 !important;}
/* Bootstrap Icons */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.0/font/bootstrap-icons.css");
