/* --------------------------------------------------------------------------
   18. 聯絡我們專頁樣式 (Contact Us Channels & Form Layout)
   -------------------------------------------------------------------------- */
.contact-channels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

@media (max-width: 680px) {
  .contact-channels-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.contact-social-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 370px;
  transition: var(--transition-fast);
}

.contact-social-card.line-card {
  border-color: rgba(6, 199, 85, 0.35);
}

.contact-social-card.line-card:hover {
  border-color: #06c755;
  box-shadow: 0 12px 32px rgba(6, 199, 85, 0.15);
  transform: translateY(-3px);
}

.contact-social-card.ig-card {
  border-color: rgba(225, 48, 108, 0.25);
}

.contact-social-card.ig-card:hover {
  border-color: #e1306c;
  box-shadow: 0 12px 32px rgba(225, 48, 108, 0.14);
  transform: translateY(-3px);
}

.contact-social-header {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  width: 100%;
}

.contact-social-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-social-icon-box.line-icon {
  background: #06c755;
  box-shadow: 0 4px 12px rgba(6, 199, 85, 0.3);
}

.contact-social-icon-box.ig-icon {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(225, 48, 108, 0.3);
}

.contact-social-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.contact-social-id {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-social-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  text-align: left;
  width: 100%;
  margin: 0;
}

.contact-qr-wrapper {
  background: #fdfcf9;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  max-width: 140px;
  width: 100%;
  box-shadow: var(--shadow-sm);
}

.contact-qr-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.contact-ig-preview {
  background: #faf7f2;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-ig-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.contact-ig-text strong {
  font-size: 0.96rem;
  font-weight: 800;
  display: block;
  color: var(--text-primary);
  line-height: 1.3;
}

.contact-ig-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: block;
}

.ig-stats-mini {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--primary-gold-dark);
  font-weight: 700;
  padding-top: 10px;
  border-top: 1px dashed var(--border-light);
}

.line-btn {
  background: #06c755;
  border-color: #06c755;
  color: #ffffff;
  width: 100%;
  padding: 12px 20px;
  font-size: 0.95rem;
}

.line-btn:hover {
  background: #05b34c;
  border-color: #05b34c;
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.35);
}

.ig-btn {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  border: none;
  color: #ffffff;
  width: 100%;
  padding: 12px 20px;
  font-size: 0.95rem;
}

.ig-btn:hover {
  opacity: 0.92;
  box-shadow: 0 6px 20px rgba(225, 48, 108, 0.35);
}

/* 線上表單區塊 */
.contact-form-section {
  width: 100%;
}

.contact-form-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 600px) {
  .contact-form-card {
    padding: 24px 20px;
  }
}

.contact-form-header-row {
  margin-bottom: 24px;
}

.direct-email-link {
  color: var(--primary-gold-dark);
  font-weight: 800;
  text-decoration: underline;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.direct-email-link:hover {
  color: var(--primary-gold);
}

.volunteer-form-callout {
  background: rgba(184, 130, 49, 0.08);
  border: 1px dashed var(--primary-gold);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

.form-label {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
}

.form-label .required {
  color: #dc2626;
  margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-primary);
  background: #faf8f4;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(184, 130, 49, 0.18);
}

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

.direct-email-box {
  margin-top: 20px;
  padding: 14px 18px;
  background: #faf7f2;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

