/* ============= 1. Глобальные переменные (root) ============= */
:root {
  --font-main: "Merriweather", serif;
  --c-bg: #ffffff;
  --radius-medium: 1.5rem;
  --transition-fast: 0.1s;
  --transition-slow: 0.4s;
}

/* ============= 2. ГЛАВНАЯ СТРАНИЦА ============= */
.background-services {
  position: relative;
  background: linear-gradient(180deg, #f0f7f5 0%, #e5efec 100%);
  margin-top: 0;
  padding: 2rem 0 4rem;
}
.all-services {
  position: relative;
  z-index: 1;
}

/* Контейнер всех услуг (внутри .container) */
.all-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2rem;
  padding: 2rem 0;
  margin: 0 auto;
  box-sizing: border-box;
}
.nettoyage-article {
  flex: 1 1 140px;
  min-width: 120px;
  max-width: 200px;
  display: flex;
  justify-content: center;
  margin-bottom: 0;
  z-index: 0;
}
@media (min-width: 640px) {
  .nettoyage-article {
    flex: 1 1 160px;
    max-width: 180px;
  }
}
/* Заголовок секции услуг */
.title-services {
  color: var(--color-text, #1f2937);
  text-align: center;
  width: 100%;
  margin-bottom: 2rem;
  padding-top: 0;
  letter-spacing: 0.03em;
}

.service {
  padding: var(--space-lg, 1rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white, #fff);
  border-radius: var(--radius-lg, 1rem);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  min-height: 140px;
  width: 100%;
  max-width: 180px;
  text-align: center;
  text-decoration: none;
  color: var(--color-text, #1f2937);
  border: 1px solid var(--color-border, #e5e7eb);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.2s ease;
}
.service:hover,
.service:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  outline: 2px solid var(--color-accent, #0d9488);
  outline-offset: 2px;
}
.service.visible {
  opacity: 1;
  transform: translateY(0);
}
.service.visible:hover {
  transform: translateY(-4px);
}

.credit-service .service img {
  width: 64px;
  height: 64px;
  margin-bottom: -0.5rem;
}
.credit-service .service {
  box-shadow: 0 2px 12px rgba(13, 148, 136, 0.2);
  border-color: rgba(13, 148, 136, 0.3);
}
.credit-service .service:hover {
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.25);
}
.service img {
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-sm, 0.5rem);
  object-fit: contain;
}
.service h3 {
  margin: 0;
  font-size: clamp(0.8125rem, 1.5vw, 0.9375rem);
  font-weight: 600;
  line-height: 1.3;
}

/* ============= 3. СЕРВИСНЫЕ СТРАНИЦЫ ВНУТРИ ============= */
body.service-page {
  margin: 0;
  background: linear-gradient(180deg, #f0f7f5 0%, #e8f0ee 100%);
  min-height: 100vh;
}

.title-for-service {
  text-align: center;
  color: var(--color-text, #1f2937);
  margin-bottom: 2rem;
  margin-top: 5rem;
  letter-spacing: 0.02em;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

.style-service-page,
.main-menage-classique,
.main-form-devis {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}
@media (min-width: 640px) {
  .style-service-page,
  .main-menage-classique {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.section {
  margin-bottom: 2rem;
  margin-top: 2rem;
  padding: 1.5rem;
  background-color: var(--color-white, #fff);
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: var(--radius-lg, 1rem);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease;
}
.section:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.subtitle-for-description {
  color: var(--color-text, #1f2937);
  margin-bottom: 0.75rem;
  font-weight: 600;
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
}

.section p {
  margin-bottom: 1rem;
  color: var(--color-text-muted, #4b5563);
  font-size: clamp(0.875rem, 2vw, 1rem);
}

.service-list {
  display: grid;
  gap: 0.5rem;
  padding: 0.5rem 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding: 0.6rem 1rem 0.6rem 2.25rem;
  background-color: var(--color-bg-off, #f5f9f8);
  border-radius: var(--radius-sm, 0.5rem);
  border: 1px solid var(--color-border, #e5e7eb);
  font-size: clamp(0.875rem, 2vw, 1rem);
}

.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-accent, #0d9488);
  font-weight: bold;
}

/* ========== Адаптивность на всех устройствах ========== */
@media (max-width: 359px) {
}
