/* ─── Page Layout — push footer to bottom ──────────────────── */
.contact-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.contact-page .case-study {
  flex: 1;
}

/* ─── Contact Page ─────────────────────────────────────────── */

.contact-wrap {
  width: 670px;
  max-width: 100%;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cs-content .contact-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 42px;
  line-height: 60px;
  color: var(--gray-95);
  margin: 0;
}

.contact-card {
  background: #f4f6ff;
  border: 1px solid #7a86df;
  border-radius: 12px;
  padding: 24px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 557px;
  max-width: 100%;
}

.cs-content .contact-intro {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--gray-95);
  margin: 0;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cs-content .contact-label {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--gray-95);
  margin: 0;
}

.contact-input {
  width: 314px;
  max-width: 100%;
  padding: 8px;
  border: 1px solid #a3a3a3;
  border-radius: 8px;
  background: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--gray-95);
  outline: none;
}

.contact-input::placeholder {
  color: #737373;
}

.contact-input:focus {
  border-color: #7a86df;
}

.contact-textarea {
  width: 418px;
  max-width: 100%;
  height: 132px;
  padding: 8px;
  border: 1px solid #a3a3a3;
  border-radius: 8px;
  background: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--gray-95);
  resize: vertical;
  outline: none;
}

.contact-textarea::placeholder {
  color: #737373;
}

.contact-textarea:focus {
  border-color: #7a86df;
}

.contact-submit {
  width: 226px;
  padding: 12px;
  border: 1px solid var(--blue-60, #077bb3);
  border-radius: 24px;
  background: var(--blue-60, #077bb3);
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.contact-submit:hover {
  opacity: 0.85;
}

/* ─── Dark Mode ────────────────────────────────────────────── */
body.dark-mode .contact-card {
  background: rgba(244, 246, 255, 0.06);
  border-color: #5a66b0;
}

body.dark-mode .contact-input,
body.dark-mode .contact-textarea {
  background: rgba(255, 255, 255, 0.08);
  border-color: #666;
  color: #f0f0f0;
}

body.dark-mode .contact-input::placeholder,
body.dark-mode .contact-textarea::placeholder {
  color: #999;
}

body.dark-mode .contact-input:focus,
body.dark-mode .contact-textarea:focus {
  border-color: #7a86df;
}

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .contact-card {
    width: 100%;
  }
  .contact-input,
  .contact-textarea {
    width: 100%;
  }
  .contact-submit {
    width: 100%;
  }
}
