.cloud-section {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 60px;
  padding: 80px 20px;
  background: linear-gradient(to bottom, #f7f7f7, #ffffff);
  z-index: 1;
}

/* Контейнер одного облака */
.cloud-container {
  position: relative;
  min-height: 300px;
  padding: 60px 30px;
  border-radius: 60px;
  overflow: visible;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  animation: cloudFloat 12s ease-in-out infinite;
  margin-top: 80px;
}

/* SVG-облако */
.cloud-shape {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 170%;
  height: auto;
  object-fit: contain;
  z-index: 0;
  pointer-events: none;
  opacity: 0.3;
}

/* Контент внутри облака */
.cloud-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding: 0 20px;
  text-align: center;
}

.cloud-content h2 {
  font-size: 1.6em;
  margin-bottom: 12px;
  color: #333;
}

.cloud-content p {
  font-size: 1em;
  line-height: 1.6;
  color: #555;
}




/* 🌬️ Анимация парения облака: лёгкое дрожание, дрейф и масштаб */
@keyframes cloudFloat {
  0%   { transform: translateY(0) scale(1); }
  25%  { transform: translateY(-4px) scale(1.01); }
  50%  { transform: translateY(-8px) scale(1); }
  75%  { transform: translateY(-4px) scale(0.99); }
  100% { transform: translateY(0) scale(1); }
}

@media (max-width: 768px) {
  .cloud-container {
    padding: 40px 20px;
    margin-top: 60px;
  }

  .cloud-shape {
    width: 170%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
  }

  .cloud-content {
    max-width: 90%;

  }

  .cloud-content h2 {
    font-size: 1.4em;
  }

  .cloud-content p {
    font-size: 0.95em;
  }
}
