/* why.css — улучшенные стили для секции “Why choose us” */
.why-section {
  padding: 100px 20px;
  background: #fafafa;
  max-width: 1200px;
  margin: 0 auto;
}
.why-header {
  text-align: center;
  margin-bottom: 40px;
}
.why-header h2 {
  font-size: 2.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1e40af, #3b82f6, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.why-header .underline {
  width: 120px;
  height: 5px;
  background: #3b82f6;
  margin: 16px auto 0;
  border-radius: 3px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}
.why-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.1);
}

.why-icon {
  width: 72px;
  height: 72px;
  background: rgba(59,130,246,0.1);
  color: #2563eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
}

.why-card h3 {
  font-size: 1.5rem;
  margin: 0 0 16px;
  color: #1e293b;
}
.why-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

.why-final {
  margin-top: 60px;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: #3b82f6;
}
.why-icon img {
  width: 40px;
  height: 40px;
  display: block;       /* убираем лишние пробелы вокруг img */
  margin: 0 auto 16px;  /* центрируем иконку и даём отступ снизу */
}


/* ===== Responsive ===== */
@media (max-width: 768px) {
  .why-section {
    padding: 60px 16px;
  }
  .why-header h2 {
    font-size: 2.25rem;
  }
  .why-header .underline {
    width: 80px;
    height: 4px;
  }
  .why-grid {
    gap: 24px;
  }
  .why-card {
    padding: 24px 16px;
  }
  .why-icon {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
    margin-bottom: 16px;
  }
  .why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
  }
  .why-card p {
    font-size: 0.95rem;
  }
  .why-final {
    margin-top: 40px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .why-section {
    padding: 40px 12px;
  }
  .why-header h2 {
    font-size: 1.75rem;
  }
  .why-header .underline {
    width: 60px;
    height: 3px;
  }
  .why-grid {
    gap: 16px;
  }
  .why-card {
    padding: 20px 12px;
  }
  .why-icon {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }
  .why-card h3 {
    font-size: 1.1rem;
  }
  .why-card p {
    font-size: 0.9rem;
  }
  .why-final {
    margin-top: 30px;
    font-size: 0.9rem;
  }
}
