/* Contact Page - Compact & Interactive */
.contact-page {
  background: var(--bg, #f9fafb);
}

/* Hero Section */
.contact-hero {
  padding: 48px 0 32px;
  text-align: center;
}
.content-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero-tag {
  display: inline-block;
  background: var(--yellow, #fcd206);
  color: #1e293b;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 40px;
  margin-bottom: 20px;
}
.contact-hero-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.contact-hero-title span {
  color: var(--purple, #752092);
  border-bottom: 2px solid var(--yellow);
}
.hero-desc {
  font-size: 1rem;
  color: #475569;
  max-width: 560px;
  margin: 0 auto 24px;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  background: white;
  padding: 6px 16px;
  border-radius: 40px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.stat-number {
  font-weight: 800;
  color: var(--purple);
}

/* Channels Grid */
.contact-channels {
  padding: 24px 0;
}
.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.channel-card {
  background: white;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02), 0 1px 2px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
  border: 1px solid #eef2f6;
}
.channel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px -12px rgba(0,0,0,0.1);
}
.wa-card {
  background: #1e293b;
  color: white;
  border: none;
}
.channel-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(117,32,146,0.08);
  border-radius: 14px;
  padding: 8px;
}
.wa-card .channel-icon {
  background: rgba(252,210,6,0.15);
}
.channel-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--purple);
}
.wa-card .channel-icon svg {
  stroke: var(--yellow);
}
.channel-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.channel-card p {
  font-size: 0.8rem;
  color: #5b6e8c;
  margin-bottom: 16px;
  line-height: 1.4;
}
.wa-card p {
  color: #cbd5e1;
}
.channel-link {
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.channel-link:hover { gap: 8px; }
.wa-card .channel-link { color: var(--yellow); }
.channel-link.static { color: #5b6e8c; cursor: default; }

/* Main Grid */
.contact-main {
  padding: 32px 0 56px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
}

/* Form Panel */
.form-panel {
  background: white;
  border-radius: 28px;
  padding: 28px 32px;
  border: 1px solid #eef2f6;
  box-shadow: 0 8px 20px rgba(0,0,0,0.02);
}
.form-header {
  margin-bottom: 24px;
}
.step-badge {
  background: var(--yellow);
  color: #1e293b;
  font-weight: 800;
  font-size: 0.7rem;
  padding: 4px 12px;
  border-radius: 40px;
  display: inline-block;
}
.form-header h2 {
  font-size: 1.6rem;
  margin: 8px 0 4px;
}
.fe-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.input-group label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #4b5565;
}
.input-group input, .input-group select, .input-group textarea {
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  font-size: 0.9rem;
  transition: 0.15s;
  background: #fefefe;
}
.input-group input:focus, .input-group select:focus, .input-group textarea:focus {
  border-color: var(--purple);
  outline: none;
  box-shadow: 0 0 0 3px rgba(117,32,146,0.1);
}
.submit-btn {
  background: var(--charcoal, #1e293b);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 40px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 6px;
}
.submit-btn:hover {
  background: var(--purple);
  transform: translateY(-2px);
}
.form-note {
  font-size: 0.7rem;
  color: #6c7a91;
  text-align: center;
}
.alert {
  padding: 12px 16px;
  border-radius: 16px;
  margin-bottom: 20px;
  font-size: 0.85rem;
}
.alert.success { background: #e6f7e6; color: #2e6b2e; border-left: 3px solid #2e6b2e; }
.alert.error { background: #ffe6e6; color: #b91c1c; border-left: 3px solid #b91c1c; }

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.info-card {
  background: white;
  border-radius: 24px;
  padding: 22px;
  border: 1px solid #eef2f6;
}
.info-card.dark {
  background: #0f172a;
  color: white;
  border: none;
}
.card-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
  color: var(--purple);
  display: block;
  margin-bottom: 8px;
}
.dark .card-label { color: var(--yellow); }
.info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.expertise-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.expertise-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.expertise-list li::before {
  content: "✓";
  color: var(--yellow);
  font-weight: bold;
}
.response-badge {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.75rem;
}

/* Enhanced Direct Contact + Quick Links Card */
.info-card:not(.dark) {
  background: linear-gradient(135deg, #ffffff 0%, #fef9f5 100%);
  border: 1px solid rgba(117, 32, 146, 0.15);
  border-top: 4px solid var(--purple, #752092);
  border-radius: 28px;
  padding: 24px 22px;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
}

.info-card:not(.dark):hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 30px -12px rgba(117, 32, 146, 0.15);
  border-color: rgba(117, 32, 146, 0.25);
}

/* Background watermark icon */
.info-card:not(.dark)::after {
  content: "✉️";
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-size: 80px;
  opacity: 0.03;
  pointer-events: none;
  transform: rotate(-10deg);
}

/* Email link (pill button) */
.email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  background: rgba(117, 32, 146, 0.05);
  padding: 8px 16px;
  border-radius: 60px;
  margin: 12px 0 16px;
  color: var(--purple);
  text-decoration: none;
  transition: all 0.2s;
  word-break: break-all;
}
.email-link::before {
  content: "📧";
  font-size: 1rem;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1));
}
.email-link:hover {
  background: var(--purple);
  color: white;
  gap: 12px;
  padding: 8px 20px;
}
.email-link:hover::before {
  filter: brightness(0) invert(1);
}

/* Quick links styling */
.quick-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  margin: 0;
  border-bottom: 1px solid #f0e6e0;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s;
}
.quick-link:last-of-type {
  border-bottom: none;
}
.quick-link a {
  color: #1e293b;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  transition: transform 0.15s, color 0.15s;
}
.quick-link a::before {
  content: "➡️";
  font-size: 0.8rem;
  opacity: 0.7;
  transition: transform 0.2s;
}
.quick-link:first-child a::before {
  content: "💡";
}
.quick-link:last-child a::before {
  content: "📚";
}
.quick-link a:hover {
  color: var(--purple);
  transform: translateX(4px);
}
.quick-link a:hover::before {
  transform: translateX(2px);
  opacity: 1;
}

.info-card hr {
  margin: 16px 0;
  border: none;
  height: 1px;
  background: linear-gradient(90deg, rgba(117,32,146,0.2), transparent);
}

/* CTA Box */
.contact-cta {
  padding-bottom: 64px;
}
.cta-box {
  background: linear-gradient(135deg, #fef9e3, #fff7e0);
  border-radius: 28px;
  padding: 28px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  border: 1px solid #fde68a;
}
.cta-box h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.cta-box p {
  font-size: 0.85rem;
  color: #4b5565;
}
.btn-cta {
  background: var(--purple);
  color: white;
  padding: 10px 24px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s;
}
.btn-cta:hover {
  background: #5a1872;
  transform: translateY(-2px);
}

/* Animations */
.contact-page * {
  animation: fadeUp 0.4s ease backwards;
}
.channel-card, .form-panel, .info-card {
  animation-delay: 0.05s;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .sidebar {
    order: 2;
  }
  .cta-box {
    flex-direction: column;
    text-align: center;
  }
}
@media (max-width: 540px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-panel {
    padding: 20px;
  }
  .hero-stats {
    gap: 12px;
  }
  .channel-card {
    padding: 16px;
  }
}