/* ─────────────────────────────────────────────────────────────────────────
   CONTACT PAGE STYLES
───────────────────────────────────────────────────────────────────────── */

/* ── HERO ── */
#contact-hero {
  min-height: 42vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8rem var(--px) clamp(3.5rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
#contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 10% 50%, rgba(109,40,217,0.24) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 85% 20%, rgba(124,58,237,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 75% 80%, rgba(29,78,216,0.10) 0%, transparent 50%);
  pointer-events: none;
}
#contact-hero .wrap { position: relative; z-index: 3; width: 100%; }

.contact-kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: up 0.6s ease forwards 0.15s;
}
.contact-kicker::before {
  content: '';
  width: 1.8rem;
  height: 2px;
  background: var(--p-hi);
  border-radius: 2px;
}
.contact-kicker span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--p-hi);
}

.contact-h {
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 18ch;
  opacity: 0;
  animation: up 0.9s ease forwards 0.28s;
}
.contact-h em { font-style: normal; color: var(--p-hi); }

.contact-sub {
  max-width: 50ch;
  font-size: 1rem;
  font-weight: 300;
  color: var(--grey);
  line-height: 1.8;
  margin-top: 1.5rem;
  opacity: 0;
  animation: up 0.8s ease forwards 0.4s;
}

/* ── MAIN CONTACT SECTION ── */
#contact-body {
  padding: clamp(4rem, 8vw, 7rem) var(--px);
}
#contact-body .wrap { padding: 0 var(--px); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* ── FORM ── */
.contact-form-wrap { order: 1; }

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

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

.field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
}

.field input,
.field textarea,
.field select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-family: var(--f);
  font-size: 0.95rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238B89AB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--dim);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--p);
  background-color: rgba(124,58,237,0.06);
}
.field textarea {
  resize: vertical;
  min-height: 140px;
}
.field select option { background: #0F0F2E; color: var(--white); }

.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--p);
  color: #fff;
  font-family: var(--f);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  align-self: flex-start;
}
.submit-btn:hover { background: var(--p-lo); transform: translateY(-1px); }
.submit-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.submit-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s;
}
.submit-btn:not(:disabled):hover svg { transform: translateX(3px); }

/* ── FORM STATES ── */
.form-result {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}
.form-result.success {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(34,197,94,0.10);
  border: 1px solid rgba(34,197,94,0.25);
  color: #86efac;
}
.form-result.error {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(239,68,68,0.10);
  border: 1px solid rgba(239,68,68,0.25);
  color: #fca5a5;
}

/* ── CONTACT INFO SIDEBAR ── */
.contact-info { order: 2; }

.contact-info-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  position: sticky;
  top: 90px;
}

.info-block { display: flex; flex-direction: column; gap: 0.4rem; }

.info-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--p-hi);
}

.info-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
}
.info-value a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}
.info-value a:hover { color: var(--p-hi); }

.info-desc {
  font-size: 0.85rem;
  color: var(--grey);
  line-height: 1.6;
  margin-top: 0.15rem;
}

.info-divider {
  height: 1px;
  background: var(--line);
}

.info-social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.info-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--grey);
  text-decoration: none;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.45rem 0.85rem;
  transition: color 0.2s, border-color 0.2s;
}
.info-social a:hover { color: var(--white); border-color: rgba(255,255,255,0.22); }
.info-social a svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
