/* ════════════════════════════════════════════════════════════
   Contact & Join Pages
   ════════════════════════════════════════════════════════════ */
.contact-page-section,
.join-page-section {
  padding: 1.5rem 0 2rem;
  background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
}

@media (min-width: 768px) {
  .contact-page-section,
  .join-page-section {
    padding: 2rem 0 2.5rem;
  }
}

.contact-layout {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .contact-layout {
    flex-direction: row;
    gap: 3rem;
  }
}

.contact-info-col {
  width: 100%;
  max-width: 400px;
  flex-shrink: 0;
}

.contact-info-title {
  color: #314EA9;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

@media (min-width: 768px) {
  .contact-info-title {
    font-size: 1.5rem;
  }
}

.contact-info-desc {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0 0 2rem;
}

@media (min-width: 768px) {
  .contact-info-desc {
    font-size: 1rem;
  }
}

.contact-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-item--center {
  align-items: center;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: #314EA9;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .contact-info-icon {
    width: 3.25rem;
    height: 3.25rem;
  }

  .contact-info-icon svg {
    width: 24px;
    height: 24px;
  }
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.contact-info-text a {
  color: #333;
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}

@media (min-width: 768px) {
  .contact-info-text a {
    font-size: 1rem;
  }
}

.contact-info-text a:hover {
  color: #314EA9;
}

.contact-info-text span {
  color: #333;
  font-weight: 500;
  font-size: 0.875rem;
}

.contact-info-sub {
  color: #6b7280;
  font-size: 0.875rem;
}

.contact-form-col {
  width: 100%;
  flex: 1;
}

@media (min-width: 1024px) {
  .contact-form-col {
    max-width: 60%;
  }
}

.page-form-box {
  border: 1px solid #969fac;
  border-radius: 0.5rem;
  padding: 1rem;
  background: transparent;
}

@media (min-width: 768px) {
  .page-form-box {
    padding: 2rem;
  }
}

.page-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.page-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .page-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
  position: relative;
}

.form-label,
.page-form-label {
  font-size: 0.8125rem;
  color: #333;
}

.form-input {
  font-size: 0.875rem;
  height: 2.75rem;
  width: 100%;
  padding: 0 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  outline: none;
  color: #1f2937;
  background: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.form-input::placeholder {
  font-size: 0.75rem;
  color: #9ca3af;
}

.form-input:hover {
  border-color: #314EA9;
}

.form-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1), 0 4px 12px rgba(102, 126, 234, 0.15);
  transform: translateY(-2px);
}

.form-textarea {
  width: 100%;
  min-height: 120px;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  outline: none;
  resize: none;
  font-size: 0.875rem;
  color: #1f2937;
  background: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.form-textarea::placeholder {
  font-size: 0.75rem;
  color: #6F6F6F;
}

.form-textarea:hover {
  border-color: #314EA9;
}

.form-textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1), 0 4px 12px rgba(102, 126, 234, 0.15);
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .form-input {
    height: 2.5rem;
    padding: 0 0.75rem;
  }

  .form-textarea {
    min-height: 100px;
    padding: 0.5rem 0.75rem;
  }
}

.page-form-submit-row {
  display: flex;
  flex-direction: column-reverse;
  align-items: stretch;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .page-form-submit-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}

.page-submit-btn {
  min-width: 170px;
  width: 100%;
  height: 2.75rem;
  border-radius: 10px;
  padding: 0 1.125rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(to right, #314EA9, #446AE1);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: box-shadow 0.5s ease, opacity 0.2s;
}

.page-submit-btn:hover:not(:disabled) {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.page-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (min-width: 1024px) {
  .page-submit-btn {
    width: fit-content;
    height: 3rem;
  }
}

.page-submit-icon {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Join page — centered narrow form */
.join-page-inner {
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
}

.join-page-section .page-form-box {
  padding: 1rem;
}

@media (min-width: 640px) {
  .join-page-section .page-form-box {
    padding: 1.5rem 2rem;
  }
}

@media (min-width: 768px) {
  .join-page-section .page-form-box {
    padding: 2rem;
  }
}

.join-file-btn {
  width: 100%;
  height: 2.75rem;
  padding: 0 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fff;
  font-size: 0.875rem;
  color: #374151;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.join-file-btn:hover {
  border-color: #314EA9;
}

.join-file-btn svg {
  width: 16px;
  height: 16px;
  stroke: #6B7280;
  fill: none;
  stroke-width: 2;
}

.join-file-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
