  :where([class^="ri-"])::before { content: "\f3c2"; }
        body {
            font-family: 'Montserrat', sans-serif;
        }
        .hero-section {
            background-image: linear-gradient(to right, rgba(255, 255, 255, 0.9) 40%, rgba(255, 255, 255, 0.5) 70%, rgba(255, 255, 255, 0) 100%), url('/img/slider.jpg');
            background-size: cover;
            background-position: center;
        }
        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
        .custom-checkbox {
            appearance: none;
            width: 20px;
            height: 20px;
            border: 2px solid #57b5e7;
            border-radius: 4px;
            position: relative;
            cursor: pointer;
        }
        .custom-checkbox:checked {
            background-color: #57b5e7;
        }
        .custom-checkbox:checked::after {
            content: '';
            position: absolute;
            top: 2px;
            left: 6px;
            width: 6px;
            height: 10px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }
        .custom-radio {
            appearance: none;
            width: 20px;
            height: 20px;
            border: 2px solid #57b5e7;
            border-radius: 50%;
            position: relative;
            cursor: pointer;
        }
        .custom-radio:checked::after {
            content: '';
            position: absolute;
            top: 3px;
            left: 3px;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: #57b5e7;
        }
        .custom-switch {
            position: relative;
            display: inline-block;
            width: 50px;
            height: 24px;
        }
        .custom-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: .4s;
            border-radius: 24px;
        }
        .slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }
        input:checked + .slider {
            background-color: #57b5e7;
        }
        input:checked + .slider:before {
            transform: translateX(26px);
        }
        .testimonial-card {
            transition: transform 0.3s ease;
        }
        .testimonial-card:hover {
            transform: scale(1.03);
        }
        .floating-button {
            box-shadow: 0 4px 15px rgba(87, 181, 231, 0.3);
            transition: all 0.3s ease;
        }
        .floating-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(87, 181, 231, 0.4);
        }
        .language-switch {
            border-radius: 9999px;
            overflow: hidden;
        }
        .language-switch button {
            transition: all 0.3s ease;
        }
        .service-icon {
            transition: all 0.3s ease;
        }
        .service-card:hover .service-icon {
            transform: scale(1.1);
        }
 .before-after-section {
  padding: 60px 20px;
  background: #f7f7f7;
  text-align: center;
}

.before-after-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

.before-after-section p {
  font-size: 1.125rem;
  color: #4b5563;
  max-width: 768px;
  margin: 0 auto 2rem;
}

.swiper {
  max-width: 1100px;
  margin: 0 auto;
}
.slide-pair {
  display: flex;
  justify-content: center; /* центрирует по горизонтали */
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto; /* центрирует весь блок */
}

.slide-pair img {
  width: 42%;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.slide-pair img:hover {
  transform: scale(1.015);
}

.swiper-button-next,
.swiper-button-prev {
  color: #4b5563;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: background 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #e5e7eb;
}

.swiper-pagination-bullet {
  background: #9ca3af;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #1f2937;
}
