/* ============================================================
   contact.css — Contact page styles
   ============================================================ */

/* ── TWO-COLUMN LAYOUT ── */
.contact-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}

/* ── CONTACT INFO (left column) ── */
.avail-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.avail-card-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
}

.avail-card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  flex-shrink: 0;
  animation: pulse-dot 2.5s ease-in-out infinite;
}

.avail-card-status {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

.avail-card-desc {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.6;
}

.info-block {
  margin-bottom: 2.5rem;
}

.info-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1rem;
}

.info-text {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.7;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-2);
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.social-link:last-child { border-bottom: none; }
.social-link:hover { color: var(--accent); }

.social-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.social-link-arrow {
  margin-left: auto;
  opacity: 0.4;
}

/* ── CONTACT FORM (right column) ── */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.5rem;
}

.form-title {
  font-family: 'Crimson Pro', serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.form-sub {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-2);
  margin-bottom: 2rem;
  line-height: 1.6;
}

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

.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 0.5rem;
}

.form-label span { color: var(--accent); }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-weight: 300;
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.3s;
  outline: none;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-3);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-bg);
}

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

.form-select {
  cursor: pointer;
  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='%238A9199' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.5rem;
}

.form-submit {
  width: 100%;
  padding: 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: 'DM Sans', system-ui, sans-serif;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 0.75rem;
  transition: background 0.2s, transform 0.15s;
}

.form-submit:hover { background: #1a9fbc; transform: translateY(-1px); }
.form-submit:active { transform: translateY(0); }

.form-note {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--text-3);
  margin-top: 1rem;
  line-height: 1.55;
}

/* ── FORM SUCCESS STATE ── */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem 0;
}

.form-success svg {
  width: 48px;
  height: 48px;
  stroke: #22C55E;
  fill: none;
  stroke-width: 1.5;
  margin: 0 auto 1.25rem;
  display: block;
}

.form-success-title {
  font-family: 'Crimson Pro', serif;
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.form-success-text {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.7;
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}
