.about-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  background-color: #ffffff;
  border-radius: 0px;
  overflow: hidden;
  padding: 0;
  gap: 0;
}

/* Левая часть — форма */
.about-section .about-text,
.about-section .slider-wrapper {
  background-color: #cde0ee;
  flex: 1 1 48%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-section .about-text h2 {
  font-weight: 700;
  color: #344a7a;
  text-align: center;
  margin-bottom: 15px;
  line-height: 1.4;
}

.about-section .about-text h2 {
  padding: 0;
  margin: 0 auto 13px auto;
  border: none;
  text-align: center;
}

.about-section .about-text .phone {
  font-weight: bold;
  color: #344a7a;
  text-align: center;
  margin-bottom: 15px; /* было 20 но квадрат менял форму много строчек должно быть не более 2х */
}

.about-section .about-text .promo-text {
  color: #b72d05; /* #fe4c17 старій цвет не контрастный */
  text-align: center;
  margin-bottom: 10px;
  font-weight: 500;
}

.about-section .about-text p {
  font-size: 15px;
  line-height: 1.3;
  color: #333;
}

/* Правая часть — слайдер */
.about-section .slider-container {
  flex: 1 1 52%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-section .slider {
  display: flex;
  transition: transform 0.4s ease-in-out;
  height: 100%;
  width: 100%;
}

.about-section .slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
}

/* Стандартные картинки hero */
.about-section .slide img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  display: block;
}

/* Картинки hero на страницах услуг */
.about-section .slide-service img {
  width: 110%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  display: block;
}

/* Стрелки навигации */
.about-section .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 2px solid #ccc;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  z-index: 2;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.arrow.hidden {
  display: none;
}

.about-section .arrow img {
  width: 20px;
  height: 20px;
}

.about-section .arrow.left {
  left: 10px;
}

.about-section .arrow.right {
  right: 10px;
}

/* Счётчик слайдов */
/*.about-section .counter {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 2px 8px;
  border-radius: 4px;
  z-index: 2;
}*/

.about-section .dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.about-section .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  transition: background-color 0.3s ease;
}

.about-section .dot.active {
  background-color: #ffffff;
}

/*Форма записи для правого блока*/

.about-section .booking-form {
  width: 100%;
  max-width: 340px;
  /*margin: 0 0 0 20px; top right bottom left */
  margin: 0 auto; /*  сделать блок по центру временно*/
  padding: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
  align-items: center;
}

.about-section .form-field {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 0px;
/*  padding: 10px 14px;*/
  margin-bottom: 15px;
}

.about-section .form-field i {
  color: #0d6db7;
  font-size: 18px;
  margin-right: 10px;
  min-width: 20px;
  text-align: center;
}

.about-section .form-field input {
  border: none;
  outline: none;
font-size: clamp(14px, 1.5vw, 16px);
  flex: 1;
  background: transparent;
  color: #333;
}
.about-section .booking-form button {
  display: block;
  width: 60%;
  margin-left: auto;
  margin-right: auto;
  display: block;
  padding: 12px;
  background-color: #127db4;
  color: white;
  border: none;
  border-radius: 0px;
font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 500;
/*  margin-top: 30px;*/
margin-top: clamp(10px, 1.5vw, 30px);
  cursor: pointer;
  transition: background 0.3s;
}

.about-section .booking-form button:hover {
  background-color: #095b9a;
}


/* Мобильный вид */

@media (max-width: 1024px) {
  .about-section {
    flex-direction: column-reverse;
  }

  .slider-spacer {
    height: 30px;
  }

  .about-section .about-text {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .about-section .slider-container {
    position: relative;
    width: 100%;
    padding-top: 100%; /* квадрат */
    overflow: hidden;
  }

  .about-section .slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    height: 100%;
    width: 100%;
  }

  .about-section .slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
  }

  .about-section .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center; /* показываем центральный фрагмент */
    display: block;
  }

  .about-section .arrow,
  .about-section .counter {
    z-index: 5;
  }

  .about-section .about-text h2 {
    font-size: 20px;
  }

  .about-section .about-text .phone {
    font-size: 20px;
  }

  .about-section .about-text .promo-text {
    font-size: 16px;
  }
}

/*Для десктопа*/

@media (min-width: 769px) {
  .about-section {
    height: auto;
    align-items: stretch;
     flex: 1 1 48%;
  }

  .about-section .slider-container,
  .about-section .slider,
  .about-section .slide,
  .about-section .slide img {
    height: auto;
    max-height: 560px;
    object-fit: contain;
  }

  .about-section .about-text h2 {
    font-size: clamp(11px, 1.5vw, 24px);
  }

  .about-section .about-text .phone {
    font-size: clamp(11px, 1.5vw, 20px);
  }

  .about-section .about-text .promo-text {
    font-size: clamp(12px, 1.2vw, 17px);
  }
}

@media (max-width: 768px) {
  .about-section .booking-form button {
    margin-top: 30px;
  }
}
/* Скрыть стрелки на мобильных */
@media (max-width: 768px) {
  .about-section .arrow {
    display: none !important;
  }
}

/*Отступы для болка Hero*/
.hero {
    margin-bottom: 40px; /* можно 50px или 60px */
}

@media (max-width: 768px) {
    .hero {
        margin-bottom: 40px; /* для мобилки немного меньше */
    }
}
