/* =====================================================
   REGÍSTRATE MX — HOME INSTITUCIONAL MULTI-HOME
===================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --text: #111827;
  --muted: #6b7280;
  --border: #d1d5db;
  --primary: #1e40af;
  --radius: 10px;
}

[data-theme="dark"] {
  --bg: #0b1220;
  --bg-alt: #111827;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border: #374151;
}

/* BASE */
.rmx-home {
  background: var(--bg);
  color: var(--text);
}

.rmx-center {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.rmx-narrow {
  max-width: 700px;
}

.rmx-section {
  padding: 100px 0;
}

.rmx-alt {
  background: var(--bg-alt);
}

/* HERO */
.rmx-hero {
  padding: 160px 24px 140px;
  background: linear-gradient(
    180deg,
    rgba(30,64,175,0.08),
    transparent
  );
}

.rmx-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.rmx-hero-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.rmx-hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin: 20px 0;
}

.rmx-hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
}

.rmx-hero-actions {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* BUTTONS */
.rmx-btn {
  padding: 14px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--border);
}

.rmx-btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.rmx-btn-outline {
  background: transparent;
  color: var(--text);
}

/* GRID */
.rmx-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.rmx-card {
  padding: 36px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.rmx-card h3 {
  margin-bottom: 10px;
}

.rmx-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

/* STEPS */
.rmx-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.rmx-step span {
  font-weight: 700;
  color: var(--primary);
}

/* PRINCIPLES */
.rmx-principles {
  margin-top: 40px;
  list-style: none;
  padding: 0;
}

.rmx-principles li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

/* CTA */
.rmx-cta {
  padding: 120px 0;
  background: linear-gradient(
    180deg,
    rgba(30,64,175,0.12),
    transparent
  );
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .rmx-grid-3,
  .rmx-steps {
    grid-template-columns: 1fr;
  }
}
