/* === Line Section (mobile-first) === */
.line-section {
  background: url(../images/line_image.jpg) center/cover no-repeat;
  padding: 40px 0;
  color: #fff;
  text-align: center;
  justify-content: center;
  align-items: center;
  display: flex;
}

.line-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 0;
  padding-left: 0;
  width: 80vw;
  gap: 20px;
  flex-wrap: wrap;
}

/* мобільна версія — 100х100 */
.line-item {
  display: flex;
  flex-direction: column;
  height: 100px;
  width: 100px;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 6px;
  padding: 10px;
  transition: transform 0.3s ease;
}

.line-item h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 5px 0;
  transition: color 0.3s ease;
}

.line-item p {
  font-size: 12px;
  margin: 0;
  text-align: center;
}

/* планшети ≥768px */
@media (min-width: 825px) {
  .line-item {
    width: 150px;
    height: 150px;
    padding: 15px;
  }

  .line-item h2 {
    font-size: 40px;
    margin-bottom: 8px;
  }

  .line-item p {
    font-size: 14px;
  }
}

/* десктопи ≥1200px */
@media (min-width: 1200px) {
  .line-item {
    width: 225px;
    height: 225px;
    padding-top: 20px;
  }

  .line-item h2 {
    font-size: 70px;
    margin-bottom: 10px;
  }

  .line-item p {
    font-size: 18px;
  }
}
