/* ===== Contact Page ===== */
.contact-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

.contact-banner {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 2rem;
  margin: 0 -2rem 2.5rem;
  background: var(--parchment);
  border-bottom: 1px solid rgba(26, 35, 46, 0.08);
}

.contact-back {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.88rem;
  color: var(--charcoal);
  transition: color 0.2s;
}

.contact-back:hover { color: var(--sage); }

.contact-logo {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-left: auto;
}

.contact-header {
  margin-bottom: 2rem;
}

.contact-header h1 {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

.contact-header p {
  font-size: 0.95rem;
  color: var(--charcoal);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.contact-field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  padding: 0.7rem 1rem;
  border: 1px solid rgba(26, 35, 46, 0.15);
  border-radius: 6px;
  font-size: 0.92rem;
  font-family: 'Inter', sans-serif;
  background: var(--paper);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(62, 62, 62, 0.4);
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(138, 154, 91, 0.12);
}

.contact-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  padding-right: 2.2rem;
}

.contact-field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit {
  padding: 0.8rem;
  background: var(--sage);
  color: var(--parchment);
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
  margin-top: 0.3rem;
}

.contact-submit:hover {
  background: var(--sage-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(138, 154, 91, 0.25);
}

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

/* Success */
.contact-success {
  text-align: center;
  padding: 3rem 1rem;
  animation: contactFadeIn 0.5s ease both;
}

.contact-success svg {
  color: var(--sage);
  margin-bottom: 1rem;
}

.contact-success h2 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.contact-success p {
  font-size: 0.92rem;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

.contact-home-btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  background: var(--sage);
  color: var(--parchment);
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background-color 0.2s;
}

.contact-home-btn:hover { background: var(--sage-hover); }

@keyframes contactFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Alt contact */
.contact-alt {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(26, 35, 46, 0.08);
}

.contact-alt p {
  font-size: 0.82rem;
  color: var(--charcoal);
  opacity: 0.6;
  margin-bottom: 0.2rem;
}

.contact-alt a {
  color: var(--sage);
  font-weight: 500;
}

/* Responsive */
@media (max-width: 600px) {
  .contact-page { padding: 0 1.2rem 4rem; }
  .contact-banner { margin: 0 -1.2rem 2rem; padding: 0.8rem 1.2rem; }
  .contact-header h1 { font-size: 1.6rem; }
  .contact-row { grid-template-columns: 1fr; }
}
