/* ========================= */
/* Contact Section */
/* ========================= */

*{
  font-family: Arial, Helvetica, sans-serif;
}

.contact-section {
  background-color: #fff7ef;
  padding: 120px 24px 140px;
}

/* Container */
.contact-container {
  max-width: 640px;
  margin: auto;
  text-align: center;
}

/* Heading */
.contact-container h1 {
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.25;
  margin-bottom: 60px;
  color: #2e2a26;
  font-weight: 400;
}

/* ========================= */
/* Form */
/* ========================= */
.contact-form {
  display: flex;
  flex-direction: column;
}

/* Group wrapper (important for errors) */
.field-group {
  margin-bottom: 28px;
}

/* Field wrapper */
.field {
  position: relative;
  width: 100%;
}

/* ========================= */
/* Inputs */
/* ========================= */
.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #8f8b86;
  padding: 12px 32px 12px 0;
  font-size: 15px;
  color: #2e2a26;
  outline: none;
  font-family: Arial, sans-serif;
}

/* Placeholder */
.field input::placeholder,
.field textarea::placeholder {
  color: #b5b1ac;
}

/* Focus */
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: #e67e5c;
}

/* Error state */
.field.error input,
.field.error select,
.field.error textarea {
  border-bottom-color: #e63946;
}

/* ========================= */
/* Icons */
/* ========================= */
.icon-field i {
  position: absolute;
  right: 0;
  bottom: 12px;
  font-size: 14px;
  color: #999;
  pointer-events: none;
}

/* ========================= */
/* Select */
/* ========================= */
.select-field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

/* ========================= */
/* Textarea */
/* ========================= */
.textarea-field textarea {
  resize: none;
  min-height: 90px;
}

/* ========================= */
/* Validation Message */
/* ========================= */
.error-message {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #e63946;
  line-height: 1.4;
  min-height: 14px; /* prevents jump */
  text-align: left;
}

/* ========================= */
/* Button */
/* ========================= */
.contact-btn {
  margin: 40px auto 0;
  padding: 14px 44px;
  background: transparent;
  border: 1px solid #e67e5c;
  border-radius: 30px;
  font-size: 12px;
  letter-spacing: 1px;
  color: #e67e5c;
  cursor: pointer;
  transition: all 0.25s ease;
}

.contact-btn:hover {
  background-color: #e67e5c;
  color: #ffffff;
}

/* ========================= */
/* Tablet (≤ 768px) */
/* ========================= */
@media (max-width: 768px) {
  .contact-section {
    padding: 80px 20px 100px;
  }

  .contact-container h1 {
    margin-bottom: 48px;
  }

  .contact-btn {
    padding: 13px 40px;
  }
}

/* ========================= */
/* Mobile (≤ 480px) */
/* ========================= */
@media (max-width: 480px) {
  .contact-section {
    padding: 120px 16px 80px;
  }


  .contact-container h1 {
    margin-bottom: 40px;
  }

  .field input,
  .field select,
  .field textarea {
    font-size: 14px;
    padding: 10px 28px 10px 0;
  }

  .textarea-field textarea {
    min-height: 80px;
  }

  .contact-btn {
    width: 100%;
    padding: 14px;
    font-size: 11px;
  }
}

