.contacts-block {
  margin-inline: auto;
  max-width: 1200px;
  padding: 0 16px; /* padding for small screens */
}

.contacts-block-heading {
  font-size: 40px;
  margin: auto;
  display: flex;
  justify-content: center;
  text-align: center;
  padding-top: 32px;
  padding-bottom: 16px;
}

.hr-contacts-block {
  width: 56px;
  border-bottom: 1px solid black;
  height: 1px;
  border-top: none;
  margin: auto;
}
/* Layout container */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  margin-top: 64px;
  border: 0.5px solid rgb(154, 154, 154);
  padding: 45px 64px;
  border-radius: 61px;
}

/* Left side (text + form) */
.contacts-form-container {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Right side (image) */
.image-container {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: -webkit-fill-available;
}

.image-container img {
  max-width: 100%;
  border-radius: 0.75rem;
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  height: auto;
  max-height: 100%;
}

/* Slogan + text */
.contacts-block-slogan {
  font-size: 1.25rem;
  font-weight: 500;
  color: #374151;
}

.contacts-block-text {
  font-size: 1rem;
  line-height: 1.5;
  color: #4b5563;
}

/* Contact form wrapper */
.contacts-form {
  margin-top: 1rem;
}

.contacts-form form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-row p {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  margin: 0;
}

.form-row {
  width: 100%;
}

.form-row label {
  flex: 1;
  width: 100%;
}

.contacts-form input,
.contacts-form textarea {
  width: 100%;
  padding: 0.4rem 0.8rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.9rem;
}

.contacts-form input:focus,
.contacts-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.contacts-form input[type="submit"],
.contacts-form button {
  background: #e04c08;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.contacts-form input[type="submit"]:hover,
.contacts-form button:hover {
  background: #c93f00;
}

/* ------------------- */
/* 📱 Mobile responsive */
/* ------------------- */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .image-container {
    display: none; /* hide image on mobile */
  }

  .contacts-form-container {
    flex: 1 1 100%;
  }
}

.contact-container {
  margin-bottom: 64px;
}
.private-data-disclaimer-contact-form {
  font-size: 10px;
  color: #808080;
  text-align: center;
  a {
    color: #e04c08;
  }
  a:hover {
    color: #c0392b;
  }
}
