/* Paleta violeta (--ma-violet-*) en css/brand-tokens.css (global). */
/* Hero (misma identidad violeta del banner de la home) */
#demo-hero {
  margin: 0;
  padding: 0;
  background:
    linear-gradient(135deg, rgba(61,26,110,0.94) 0%, rgba(109,40,217,0.88) 100%),
    url("../../img/front-pages/backgrounds/hero-agenda.3bea8ac3074a.jpg") center/cover no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
}
#demo-hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(167,139,250,0.12);
  top: -150px; right: -100px;
  pointer-events: none;
}
#demo-hero::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(167,139,250,0.08);
  bottom: -80px; left: 10%;
  pointer-events: none;
}
.demo-hero-banner {
  position: relative;
  padding: 64px 0 48px;
  text-align: center;
}
.demo-hero-banner .hero-badge {
  display: inline-block;
  background: rgba(167, 139, 250, 0.2);
  color: var(--ma-violet-300);
  border: 1px solid rgba(167, 139, 250, 0.4);
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.demo-hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: #fff;
  margin-bottom: 1rem;
}
.demo-hero-title span { color: var(--ma-violet-300); }
.demo-hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  max-width: 560px;
  margin: 0 auto;
}
.demo-hero-microcopy {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1.25rem;
}
.demo-hero-microcopy i { vertical-align: middle; }

/* Sección de contacto (rescatada de la home) */
#demoContact { background: var(--ma-violet-50) !important; }
.contact-info-ma h2 { font-size: 1.8rem; font-weight: 800; color: #1E1B2E; margin-bottom: 12px; }
.contact-info-ma .contact-sub { color: #6b7280; line-height: 1.7; margin-bottom: 32px; }
.contact-detail-ma {
  display: flex; gap: 14px; align-items: center; margin-bottom: 20px;
}
.contact-detail-icon-ma {
  width: 44px; height: 44px;
  background: #EDE9FE;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ma-violet-700);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail-ma .cd-label { font-size: 0.75rem; color: #6b7280; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; display: block; }
.contact-detail-ma .cd-value { font-size: 0.95rem; color: #1E1B2E; font-weight: 600; text-decoration: none; }
.contact-detail-ma .cd-value:hover { color: var(--ma-violet-700); }
.contact-form-ma {
  background: #fff;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 4px 32px rgba(109,40,217,0.1);
  border: 1px solid #EDE9FE;
}
.contact-form-ma h3 { font-size: 1.2rem; font-weight: 700; color: #1E1B2E; margin-bottom: 20px; }
.contact-form-ma .form-control,
.contact-form-ma .form-select {
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 0.9rem;
  color: #1E1B2E;
}
.contact-form-ma .form-control:focus,
.contact-form-ma .form-select:focus {
  border-color: var(--ma-violet-500);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.15);
}
.contact-form-ma .btn-submit-ma {
  width: 100%;
  background: var(--ma-violet-700);
  color: #fff;
  padding: 13px;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(109,40,217,0.35);
}
.contact-form-ma .btn-submit-ma:hover:not(:disabled) { background: var(--ma-violet-900); box-shadow: 0 8px 28px rgba(109,40,217,0.45); }
.contact-form-ma .btn-submit-ma:disabled { opacity: 0.7; cursor: not-allowed; }

@media (max-width: 991.98px) {
  .demo-hero-banner { padding: 48px 0 40px; }
  .contact-form-ma { padding: 24px; }
}
@media (max-width: 575.98px) {
  .demo-hero-banner { padding: 40px 0 32px; }
  .demo-hero-title { font-size: 2.25rem; }
  .demo-hero-subtitle { font-size: 1rem; }
  .contact-form-ma { padding: 20px 16px; }
}