/* ============================================================
   Vintage808 — contact.css
   ============================================================ */

/* ── Contact Hero ── */
.contact-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-h));
  align-items: center;
}

/* ── Left: Form ── */
.contact-form-side {
  padding: 72px 64px 72px 40px;
}

.contact-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 10px;
}

.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 14px;
}

.contact-sub {
  font-size: 14px;
  color: var(--mid);
  max-width: 420px;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ── Success / Error ── */
.contact-success {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  border-radius: 2px;
  padding: 10px 14px;
  font-size: 12px;
  color: #166534;
  margin-bottom: 20px;
}

.contact-error {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 2px;
  padding: 10px 14px;
  font-size: 12px;
  color: #b91c1c;
  margin-bottom: 20px;
}

/* ── Form fields ── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
}

.form-input {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  border: 1px solid var(--sand);
  border-radius: 2px;
  background: #fff;
  color: var(--black);
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.form-input:focus {
  border-color: var(--black);
}

.form-input::placeholder {
  color: var(--mid);
}

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

/* ── Terms ── */
.terms-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--mid);
}

.terms-row a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Submit button ── */
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.18s;
}

.btn-submit:hover {
  background: #333;
  border-color: #333;
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.contact-spinner {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Right: Image ── */
.contact-image-side {
  background: var(--black);
  height: 100%;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.contact-image-side::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.015) 40px,
    rgba(255,255,255,0.015) 41px
  );
  pointer-events: none;
}

.contact-brand-img {
  width: 180px;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

/* ── Info Cards ── */
.info-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--sand);
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
}

.info-card {
  background: var(--white);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--sand);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  margin-bottom: 4px;
}

.info-title {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--black);
}

.info-desc {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.7;
  max-width: 320px;
}

.info-link {
  font-size: 13px;
  color: var(--black);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.15s;
  width: fit-content;
}

.info-link:hover {
  opacity: 0.6;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .contact-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .contact-image-side {
    min-height: 280px;
    order: -1;
  }

  .contact-form-side {
    padding: 48px 24px;
  }

  .info-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .contact-form-side {
    padding: 32px 16px;
  }

  .info-card {
    padding: 32px 24px;
  }
}