/* Contact page styles — matches NightOS dark theme */

.contact-hero {
  padding: 140px 24px 60px;
  text-align: center;
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(245,158,11,0.07) 0%, transparent 60%),
    var(--bg);
}
.contact-hero-inner { max-width: 600px; margin: 0 auto; }
.contact-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.contact-tagline { color: var(--fg-muted); font-size: 17px; }

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 20px;
}

.contact-body {
  padding: 0 24px 100px;
}
.contact-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; }

label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.required { color: var(--accent); }

input, textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  padding: 12px 16px;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  width: 100%;
}
input::placeholder, textarea::placeholder { color: #4a5568; }
input:focus, textarea:focus {
  border-color: rgba(245,158,11,0.5);
  background: rgba(245,158,11,0.04);
}
textarea { resize: vertical; min-height: 120px; }

.form-error {
  color: #f87171;
  font-size: 14px;
  padding: 12px 16px;
  background: rgba(248,113,113,0.1);
  border: 1px solid rgba(248,113,113,0.2);
  border-radius: 8px;
  margin-bottom: 4px;
}

.btn-submit {
  width: 100%;
  background: var(--accent);
  color: #0c1220;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
}
.btn-submit:hover:not(:disabled) { opacity: 0.88; }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.success-state {
  text-align: center;
  padding: 24px 0;
}
.success-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.success-state h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}
.success-state p { color: var(--fg-muted); margin-bottom: 28px; }
.btn-home {
  display: inline-block;
  background: var(--accent);
  color: #0c1220;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn-home:hover { opacity: 0.85; }

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-card { padding: 28px 20px; }
}