/* Базовые стили */
.cleaning-process {
  padding: 5vw 0;
  background-color: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
}

.cleaning-process__container {
  width: 80vw;
  margin: 0 auto;
  text-align: center;
}

.cleaning-process__title {
  font-size: 2.5vw;
  line-height: 3vw;
}

/* Вкладки */
.cleaning-process__tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 3vw;
  background-color: var(--color-bg-secondary);
  border-radius: var(--border-radius-lg);
  padding: 0.26vw;
  overflow: hidden;
}

.cleaning-process__tab {
  flex: 1;
  background: none;
  border: none;
  padding: 1.04vw 2.08vw;
  font-size: 1vw;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-normal);
  border-radius: var(--border-radius-md);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.cleaning-process__tab:hover {
  color: var(--color-text);
  background-color: rgba(6, 150, 238, 0.1);
}

.cleaning-process__tab--active {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0579c3 100%);
  color: white;
  font-weight: var(--font-weight-semibold);
  box-shadow: var(--shadow-light);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cleaning-process__tab--active:hover {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0579c3 100%);
  color: white;
}

/* Контент вкладок */
.cleaning-process__content {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.cleaning-process__panel {
  display: none;
  width: 100%;
}

.cleaning-process__panel--active {
  display: block;
}

.cleaning-process__image {
  position: relative;
  width: 100%;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
}

.cleaning-process__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: var(--border-radius-xl);
}

/* Текстовый контент */
.cleaning-process__text-content {
  width: 100%;
  margin-top: 3vw;
  padding: 0;
  text-align: left;
}

.cleaning-process__text-content p {
  font-size: 1.1vw;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 1.5vw;
}

.cleaning-process__text-content h3 {
  font-size: 1.5vw;
  font-weight: 600;
  color: var(--color-text);
  margin: 5vw 0 1vw 0;
}

.cleaning-process__text-content h4 {
  font-size: 1.15vw;
  font-weight: 700;
  color: var(--color-text);
  margin: 2vw 0 1vw 0;
  line-height: 1.4;
}

/* Стили для списков */
.cleaning-process__text-content ol,
.cleaning-process__text-content ul {
  margin: 1.5vw 0;
  padding-left: 2vw;
}

.cleaning-process__text-content ol {
  list-style: none;
}

.cleaning-process__text-content ol li,
.cleaning-process__text-content ul li {
  margin-bottom: 0.8vw;
  padding-left: 0.5vw;
  line-height: 1.6;
  color: var(--color-text);
  font-size: 1.1vw;
  position: relative;
}

.cleaning-process__text-content ol li::before {
  content: counter(list-item);
  position: absolute;
  left: -2vw;
  top: 0;
  width: 1.5vw;
  height: 1.5vw;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8vw;
  font-weight: bold;
  box-shadow: var(--shadow-primary-light);
}

.cleaning-process__text-content ul li::before {
  content: "✓";
  position: absolute;
  left: -2vw;
  top: 0;
  width: 1.5vw;
  height: 1.5vw;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9vw;
  font-weight: bold;
  box-shadow: var(--shadow-primary-light);
}

/* ======================== */
/* АДАПТИВНОСТЬ БЛОКА "КАК МЫ ДЕЛАЕМ УБОРКУ" */
/* ======================== */
  
/* Планшеты */
@media (max-width: 1200px) {
  .cleaning-process__container {
    width: 85vw;
  }

  .cleaning-process__title {
    font-size: 3.5vw;
    line-height: 4.5vw;
  }

  .cleaning-process__tab {
    font-size: 1.1vw;
    padding: 1.2vw 1.8vw;
  }

  .cleaning-process__text-content {
    margin-top: 3vw;
  }

  /* Increase text content size on tablets */
  .cleaning-process__text-content p {
    font-size: 1.3vw;
  }

  .cleaning-process__text-content h4 {
    font-size: 1.5vw;
  }

  .cleaning-process__text-content ol li,
  .cleaning-process__text-content ul li {
    font-size: 1.3vw;
  }
}

/* Планшеты и мобильные */
@media (max-width: 768px) {
  .cleaning-process__container {
    width: 90vw;
  }

  .cleaning-process__title {
    font-size: 6vw;
    line-height: 7vw;
    margin-bottom: 5vw;
  }

  .cleaning-process__tabs {
    flex-direction: column;
    gap: 0.5vw;
    margin-bottom: 5vw;
    padding: 1vw;
  }

  .cleaning-process__tab {
    font-size: 3vw;
    padding: 3vw 4vw;
    border-radius: var(--border-radius-lg);
    min-height: 48px;
    -webkit-tap-highlight-color: rgba(79, 172, 254, 0.1);
  }

  .cleaning-process__image {
    border-radius: var(--border-radius-lg);
  }

  .cleaning-process__text-content {
    margin-top: 5vw;
  }

  .cleaning-process__text-content p {
    font-size: 3.5vw;
  }

  .cleaning-process__text-content h3 {
    font-size: 4vw;
  }

  .cleaning-process__text-content h4 {
    font-size: 3.8vw;
    margin: 3vw 0 2vw 0;
  }

  .cleaning-process__text-content ol,
  .cleaning-process__text-content ul {
    margin: 3vw 0;
    padding-left: 6vw;
  }

  .cleaning-process__text-content ol li,
  .cleaning-process__text-content ul li {
    margin-bottom: 2vw;
    padding-left: 1vw;
    font-size: 3.5vw;
  }

  .cleaning-process__text-content ol li::before {
    left: -6vw;
    width: 4vw;
    height: 4vw;
    font-size: 2.5vw;
  }

  .cleaning-process__text-content ul li::before {
    left: -6vw;
    width: 4vw;
    height: 4vw;
    font-size: 3vw;
  }
}

/* Мобильные */
@media (max-width: 480px) {
  .cleaning-process__title {
    font-size: 7vw;
    line-height: 8vw;
    margin-bottom: 6vw;
  }
}