:root {
  --blue: #1f8fe0;
  --violet: #7b3fd4;
  --magenta: #e0218a;
  --gradient: linear-gradient(135deg, var(--blue), var(--violet), var(--magenta));
  --bg: #0d0d12;
  --bg-soft: #15151d;
  --bg-card: #1b1b26;
  --text: #f5f5f7;
  --text-muted: #a8a8b3;
  --border: rgba(255,255,255,0.08);
  --radius: 16px;
  --font-title: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 12px;
}

.eyebrow--center { display: block; text-align: center; }

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 48px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-title);
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 24px rgba(224,33,138,0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(224,33,138,0.45); }
.btn--outline {
  border: 1.5px solid var(--border);
  color: var(--text);
}
.btn--outline:hover { border-color: var(--magenta); }
.btn--small { padding: 10px 20px; font-size: 0.85rem; }

/* Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,13,18,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.navbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 1.1rem;
}
.navbar__logo { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.navbar__brand strong { font-weight: 700; }
.navbar__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-weight: 500;
}
.navbar__nav a:not(.btn) { color: var(--text-muted); transition: color 0.2s; }
.navbar__nav a:not(.btn):hover { color: var(--text); }
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.navbar__toggle span {
  width: 24px; height: 2px;
  background: var(--text);
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 72px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(31,143,224,0.25), transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(123,63,212,0.25), transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(224,33,138,0.25), transparent 50%);
  z-index: 0;
}
.hero__content { position: relative; z-index: 1; max-width: 760px; }
.hero__logo {
  width: 90px; height: 90px;
  margin-bottom: 24px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 8px 24px rgba(224,33,138,0.4));
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 20px;
}
.hero__subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 36px;
}
.hero__cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Intro */
.intro { padding: 100px 0; background: var(--bg-soft); }
.intro__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.intro__text h2 { font-size: 2rem; margin-bottom: 18px; }
.intro__text p { color: var(--text-muted); }
.intro__stats {
  display: grid;
  gap: 24px;
}
.stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.stat__number {
  display: block;
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label { color: var(--text-muted); font-size: 0.9rem; }

/* Programas */
.programas { padding: 100px 0; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--violet);
}
.card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* Transformacion */
.transformacion { padding: 100px 0; background: var(--bg-soft); }
.transformacion__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.transformacion__text h2 { font-size: 2rem; margin-bottom: 18px; }
.transformacion__text p { color: var(--text-muted); margin-bottom: 24px; }
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-muted);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--magenta);
  font-weight: 700;
}
.transformacion__visual {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
}
.blob--1 { width: 220px; height: 220px; background: var(--blue); top: 0; left: 10%; }
.blob--2 { width: 200px; height: 200px; background: var(--magenta); bottom: 0; right: 10%; }
.quote-card {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  max-width: 360px;
}

/* Visiones */
.visiones { padding: 100px 0; }
.cards--icons {
  grid-template-columns: repeat(4, 1fr);
}
.mini-card {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 16px;
}
.mini-card span { font-size: 2.2rem; display: block; margin-bottom: 12px; }
.mini-card p { font-weight: 600; }

/* CTA */
.cta {
  padding: 110px 0;
  text-align: center;
  background: var(--gradient);
}
.cta__content h2 { font-size: 2.2rem; margin-bottom: 16px; color: #fff; }
.cta__content p { color: rgba(255,255,255,0.9); max-width: 560px; margin: 0 auto 32px; }
.cta .btn--primary { background: #fff; color: var(--violet); box-shadow: none; }
.cta .btn--outline { border-color: rgba(255,255,255,0.5); color: #fff; }

/* Footer */
.footer { padding: 48px 0; background: var(--bg); border-top: 1px solid var(--border); }
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer__brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-title); font-weight: 600; }
.footer__logo { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.footer p { color: var(--text-muted); font-size: 0.85rem; }

/* Responsive */
@media (max-width: 860px) {
  .intro__grid, .transformacion__grid { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr; }
  .cards--icons { grid-template-columns: repeat(2, 1fr); }
  .navbar__nav {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    display: none;
  }
  .navbar__nav.is-open { display: flex; }
  .navbar__toggle { display: flex; }
}
