/* ── Contact page ── */

.contact-hero {
  padding: 8rem 5vw 4rem;
  text-align: center;
  position: relative;
}
.contact-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse at center, rgba(139,92,246,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.contact-hero-inner { position: relative; z-index: 1; }
.contact-hero h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}
.contact-hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Forms section ── */
.contact-forms-section {
  padding: 2rem 5vw 7rem;
}
.contact-forms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1060px;
  margin: 0 auto;
}

/* ── Form card ── */
.contact-form-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
}

.contact-form-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .28rem .85rem;
  border-radius: 100px;
  margin-bottom: 1.4rem;
}
.contact-badge-creator {
  background: rgba(139,92,246,0.15);
  color: var(--purple-lt);
  border: 1px solid rgba(139,92,246,0.3);
}
.contact-badge-agency {
  background: rgba(232,121,249,0.12);
  color: #e879f9;
  border: 1px solid rgba(232,121,249,0.3);
}

.contact-form-title {
  font-family: 'Instrument Serif', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: .6rem;
  line-height: 1.2;
}
.contact-form-desc {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.contact-form { display: flex; flex-direction: column; gap: 0; }

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

.contact-optional {
  font-weight: 400;
  opacity: .55;
  font-size: .78rem;
}

/* ── Form fields ── */
.contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.2rem;
}
.contact-form .form-group label {
  font-size: .82rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .03em;
}
.contact-form .form-group input {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .75rem 1rem;
  font-family: 'Satoshi', sans-serif;
  font-size: .95rem;
  color: var(--white);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.contact-form .form-group input::placeholder { color: var(--muted); opacity: .6; }
.contact-form .form-group input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.18);
}
.contact-form .field-error {
  font-size: .78rem;
  color: #f87171;
  min-height: 1.1em;
}
.contact-form .btn-loader {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Textarea ── */
.contact-form textarea {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .75rem 1rem;
  font-family: 'Satoshi', sans-serif;
  font-size: .95rem;
  color: var(--white);
  outline: none;
  resize: vertical;
  min-height: 90px;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.contact-form textarea::placeholder { color: var(--muted); opacity: .6; }
.contact-form textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.18);
}

/* ── Submit buttons ── */
.contact-submit-btn {
  width: 100%;
  padding: .9rem 1.5rem;
  font-family: 'Satoshi', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  letter-spacing: .02em;
  transition: box-shadow .25s, transform .2s, opacity .2s;
  margin-top: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
}
.contact-submit-creator {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff;
  box-shadow: 0 0 28px rgba(139,92,246,0.4);
}
.contact-submit-creator:hover:not(:disabled) {
  box-shadow: 0 0 44px rgba(232,121,249,0.5);
  transform: translateY(-1px);
}
.contact-submit-agency {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}
.contact-submit-agency:hover:not(:disabled) {
  border-color: var(--purple);
  background: rgba(139,92,246,0.08);
}
.contact-submit-btn:disabled { opacity: .65; cursor: not-allowed; transform: none; }

/* ── Success ── */
.contact-success {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  border-radius: 10px;
  padding: .85rem 1.1rem;
  font-size: .9rem;
  margin-top: 1rem;
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .contact-forms-grid { grid-template-columns: 1fr; }
  .contact-form-row   { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 600px) {
  .contact-form-card { padding: 1.75rem 1.25rem; }
  .contact-hero { padding: 7rem 5vw 3rem; }
}
