/* /var/www/html/css/contact.css */

/* Контакты */
.contact {
  padding: 100px 0;
  background: white;
  text-align: center;
}

.contact h2 {
  font-size: 2.8em;
  margin-bottom: 18px;
  color: #1a1a1a;
  position: relative;
  font-weight: 700;
}

.contact h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, #00e5ff, #00b0ff);
  border-radius: 3px;
}

.contact-intro {
  max-width: 780px;
  margin: 35px auto 40px;
  font-size: 1.15em;
  color: #444;
  line-height: 1.7;
}

/* ===== Form ===== */
.lead-form {
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
  background: #f8f9fa;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 720px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.lead-form label {
  display: block;
  font-weight: 600;
  color: #1a1a1a;
  font-size: 0.95em;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.10);
  background: #fff;
  font-size: 1em;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: rgba(41,98,255,0.55);
  box-shadow: 0 0 0 4px rgba(41,98,255,0.12);
}

.lead-form button[type="submit"] {
  margin-top: 16px;
}

.form-note {
  margin-top: 12px;
  color: #555;
  font-size: 0.95em;
}

/* ===== Buttons under the form ===== */
.contact-alt {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

.contact-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-buttons .btn img {
  width: 18px;
  height: 18px;
}

/* чуть компактнее на мобиле */
@media (max-width: 520px) {
  .contact-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}
