/* ============================================================
   EBRA — Contact Page Styles
   ============================================================ */

/* --- Hero ------------------------------------------------- */
.contact-hero {
  padding: 60px 20px 40px;
  text-align: center;
  background: linear-gradient(180deg, #f1f5f9 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-hero h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: #1e3a5f;
}

.contact-hero .subtitle {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* --- Form Container --------------------------------------- */
.contact-container {
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

.contact-form {
  background: var(--bg);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

/* --- Form Fields ------------------------------------------ */
.form-group {
  margin-bottom: 24px;
}

.form-group:last-of-type {
  margin-bottom: 28px;
}

.contact-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  background: var(--bg);
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 174, 206, 0.15);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

.contact-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 44px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

/* --- Honeypot -------------------------------------------- */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  z-index: -1;
}

/* --- Submit Button --------------------------------------- */
.btn-submit {
  width: 100%;
  padding: 15px 32px;
  background: var(--blue);
  border: none;
  border-radius: 50px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-submit:hover {
  background: #0097b2;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 174, 206, 0.3);
}

.btn-submit:active {
  transform: translateY(0);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* --- Status Messages ------------------------------------- */
.form-status {
  margin-top: 20px;
  padding: 16px;
  border-radius: 10px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(0, 168, 82, 0.1);
  border: 1px solid rgba(0, 168, 82, 0.3);
  color: #007a3d;
}

.form-status.error {
  display: block;
  background: rgba(255, 59, 48, 0.1);
  border: 1px solid rgba(255, 59, 48, 0.3);
  color: #c0001a;
}

/* --- Alternative Contact --------------------------------- */
.contact-alt {
  text-align: center;
  padding: 28px 16px 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.contact-alt a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

.contact-alt a:hover {
  text-decoration: underline;
}

/* --- Responsive ------------------------------------------ */
@media (min-width: 768px) {
  .contact-hero {
    padding: 80px 24px 56px;
  }

  .contact-container {
    padding: 56px 24px 80px;
  }

  .contact-form {
    padding: 40px 36px;
  }
}
