:root {
  --bg:        #08091a;
  --bg-2:      #0d0f22;
  --bg-card:   #141729;
  --bg-card-2: #1a1f3a;
  --white:     #ffffff;
  --body-text: #d8dae8;
  --muted:     #9ea1b8;
  --border:    rgba(255,255,255,0.12);
  --pink:      #ff2d80;
  --rosa:      #ff2d80;
  --blue:      #2b6aff;
  --cyan:      #00e0ff;
  --green:     #00e887;
  --yellow:    #ffe000;
  --purple:    #a040ff;
  --font-head: 'Raleway', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--body-text); font-family: var(--font-body); font-weight: 400; line-height: 1.75; overflow-x: hidden; }

.stripe { display: flex; height: 4px; width: 56px; border-radius: 2px; overflow: hidden; gap: 2px; margin-bottom: 1.2rem; }
.stripe span { flex: 1; border-radius: 1px; }
.stripe span:nth-child(1) { background: var(--purple); }
.stripe span:nth-child(2) { background: var(--pink); }
.stripe span:nth-child(3) { background: var(--yellow); }
.stripe span:nth-child(4) { background: var(--cyan); }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 4rem; background: rgba(8,9,26,0.95); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); gap: 2rem; }
.nav-logo { font-family: var(--font-head); font-size: 0.9rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); text-decoration: none; white-space: nowrap; }
.nav-logo span { color: var(--cyan); }
.nav-links { display: flex; gap: 2rem; list-style: none; flex: 1; justify-content: center; }
.nav-links a { font-family: var(--font-body); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); text-decoration: none; transition: color 0.2s; opacity: 0.8; }
.nav-links a:hover { color: var(--cyan); opacity: 1; }

/* LANGUAGE SWITCHER */
.lang-switcher { display: flex; gap: 4px; align-items: center; flex-shrink: 0; }
.lang-btn { font-family: var(--font-head); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; padding: 0.3rem 0.6rem; border-radius: 4px; border: 1px solid rgba(255,255,255,0.2); color: var(--muted); background: transparent; cursor: pointer; transition: all 0.2s; text-transform: uppercase; }
.lang-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.lang-btn.active { background: var(--cyan); border-color: var(--cyan); color: #000; }

/* HERO */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 5rem max(4rem, calc((100% - 1140px) / 2)) 6rem; position: relative; }
.hero-circles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-content { position: relative; z-index: 1; max-width: 860px; }
.hero-eyebrow { font-family: var(--font-body); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cyan); margin-bottom: 1rem; opacity: 0; animation: fadeUp 0.8s 0.2s forwards; }
.hero-headline { font-family: var(--font-head); font-size: clamp(2.6rem, 5vw, 4.8rem); font-weight: 900; line-height: 1.05; letter-spacing: -0.01em; color: var(--white); margin-bottom: 1.5rem; opacity: 0; animation: fadeUp 0.8s 0.35s forwards; }

.hero-sub { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--yellow); margin-bottom: 1.2rem; opacity: 0; animation: fadeUp 0.8s 0.5s forwards; line-height: 1.5; }
.hero-body { font-size: 1rem; color: var(--body-text); max-width: 680px; line-height: 1.85; margin-bottom: 2.8rem; opacity: 0; animation: fadeUp 0.8s 0.65s forwards; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.8s 0.8s forwards; }

.btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.9rem 2rem; background: var(--cyan); color: #000; font-family: var(--font-head); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; border-radius: 4px; transition: filter 0.2s, transform 0.2s, box-shadow 0.2s; }
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,224,255,0.25); }
.btn-secondary { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.9rem 2rem; border: 1px solid rgba(255,255,255,0.18); color: var(--muted); background: rgba(255,255,255,0.04); font-family: var(--font-head); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; border-radius: 4px; transition: border-color 0.2s, color 0.2s, transform 0.2s, background 0.2s; }
.btn-secondary:hover { border-color: rgba(255,255,255,0.35); color: var(--white); background: rgba(255,255,255,0.08); transform: translateY(-2px); }

/* SECTIONS */
section { padding: 6rem 4rem; }
.section-inner { max-width: 1140px; margin: 0 auto; }
.section-label { font-family: var(--font-body); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cyan); margin-bottom: 0.5rem; }
.section-title { font-family: var(--font-head); font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 900; line-height: 1.1; color: var(--white); letter-spacing: -0.01em; margin-bottom: 1.4rem; }

/* QUÉ ES */
.what-is { background: var(--bg-2); border-top: 1px solid var(--border); }
.what-is-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 5rem; align-items: center; margin-top: 2.5rem; }
.what-is-text p { font-size: 1rem; color: var(--body-text); line-height: 1.85; margin-bottom: 1.1rem; }
.what-is-text p:first-child { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; color: var(--white); margin-bottom: 1.5rem; line-height: 1.55; }
.dots-col { display: flex; flex-direction: column; gap: 1rem; }
.dot-item { display: flex; align-items: center; gap: 1.2rem; padding: 1.3rem 1.5rem; background: var(--bg-card); border-radius: 8px; border: 1px solid var(--border); transition: border-color 0.3s, background 0.3s; }
.dot-item:hover { border-color: rgba(255,255,255,0.25); background: var(--bg-card-2); }
.dot-circle { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 900; font-size: 0.9rem; color: #fff; }
.dot-item:nth-child(1) .dot-circle { background: var(--pink); }
.dot-item:nth-child(2) .dot-circle { background: var(--blue); }
.dot-item:nth-child(3) .dot-circle { background: var(--green); }
.dot-text-title { font-family: var(--font-head); font-size: 0.9rem; font-weight: 800; color: var(--white); margin-bottom: 0.2rem; }
.dot-text-body { font-size: 0.84rem; color: var(--body-text); line-height: 1.5; }

/* HOW */
.how { background: var(--bg); }
.how-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 3rem; background: var(--border); border-radius: 10px; overflow: hidden; }
.how-card { background: var(--bg-card); padding: 2.5rem; position: relative; overflow: hidden; transition: background 0.3s; }
.how-card:hover { background: var(--bg-card-2); }
.how-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; }
.how-card:nth-child(1)::after { background: var(--pink); }
.how-card:nth-child(2)::after { background: var(--cyan); }
.how-card:nth-child(3)::after { background: var(--purple); }
.how-num { font-family: var(--font-body); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1.2rem; }
.how-card:nth-child(1) .how-num { color: var(--pink); }
.how-card:nth-child(2) .how-num { color: var(--cyan); }
.how-card:nth-child(3) .how-num { color: var(--purple); }
.how-card-title { font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; color: var(--white); margin-bottom: 0.9rem; line-height: 1.25; }
.how-card-body { font-size: 0.9rem; color: var(--body-text); line-height: 1.8; }
.how-card-tag { display: inline-block; margin-top: 1.4rem; font-family: var(--font-body); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }

/* FEATURED */
.featured { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: stretch; margin-top: 2.5rem; }
.featured-grid > div { display: flex; flex-direction: column; }
.featured-grid > div:last-child { justify-content: space-between; gap: 1.5rem; }
.feat-list { list-style: none; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; flex: 1; }
.badge { font-family: var(--font-head); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.35rem 0.85rem; border-radius: 20px; border: 1.5px solid; }
.badge-pink   { color: var(--pink);   border-color: var(--pink);   }
.badge-cyan   { color: var(--cyan);   border-color: var(--cyan);   }
.badge-green  { color: var(--green);  border-color: var(--green);  }
.featured-body { font-size: 0.97rem; color: var(--body-text); line-height: 1.85; margin-bottom: 1.5rem; }
.feat-list li { display: flex; align-items: flex-start; gap: 1rem; padding: 1.3rem 1.6rem; border-bottom: 1px solid var(--border); font-size: 0.9rem; color: var(--body-text); line-height: 1.6; transition: background 0.2s; }
.event-badges { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 1.5rem 0 2rem; }
.feat-list li:last-child { border-bottom: none; }
.feat-list li:hover { background: var(--bg-card-2); }
.feat-list li::before { content: ''; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; margin-top: 0.55rem; }
.feat-list li:nth-child(1)::before { background: var(--pink); }
.feat-list li:nth-child(2)::before { background: var(--cyan); }
.feat-list li:nth-child(3)::before { background: var(--green); }
.feat-list li:nth-child(4)::before { background: var(--yellow); }
.feat-list li:nth-child(5)::before { background: var(--purple); }
.feat-list strong { font-family: var(--font-head); color: var(--white); font-weight: 700; display: block; margin-bottom: 0.2rem; }

/* STATS */
.stats-row { display: flex; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-top: 2.5rem; }
.price-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 1.4rem; text-align: center; }
.stat-block { flex: 1; padding: 1.4rem 1.2rem; border-right: 1px solid var(--border); background: var(--bg-card); position: relative; transition: background 0.3s; }
.stat-block:last-child { border-right: none; }
.stat-block:hover { background: var(--bg-card-2); }
.stat-block::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.stat-block:nth-child(1)::before { background: var(--pink); }
.stat-block:nth-child(2)::before { background: var(--cyan); }
.stat-block:nth-child(3)::before { background: var(--green); }
.stat-block:nth-child(4)::before { background: var(--yellow); }
.stat-block:nth-child(5)::before { background: var(--purple); }
.stat-num { font-family: var(--font-head); font-size: 1.9rem; font-weight: 900; line-height: 1; letter-spacing: -0.02em; }
.stat-block:nth-child(1) .stat-num { color: var(--pink); }
.stat-block:nth-child(2) .stat-num { color: var(--cyan); }
.stat-block:nth-child(3) .stat-num { color: var(--green); }
.stat-block:nth-child(4) .stat-num { color: var(--yellow); }
.stat-block:nth-child(5) .stat-num { color: var(--purple); }
.stat-label { font-size: 0.75rem; color: var(--body-text); margin-top: 0.4rem; line-height: 1.35; }

/* EVENT PHOTO */
.event-photo { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; margin-bottom: 1.2rem; display: block; }

/* AGENDA */
.agenda-col { display: flex; flex-direction: column; background: var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 1rem; }
.ag-item { background: var(--bg-card); padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); position: relative; transition: background 0.2s; }
.ag-item:last-child { border-bottom: none; }
.ag-item:hover { background: var(--bg-card-2); }
.ag-item::before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 3px; }
.ag-item:nth-child(1)::before { background: var(--cyan); }
.ag-item:nth-child(2)::before { background: var(--pink); }
.ag-item:nth-child(3)::before { background: var(--green); }
.ag-item:nth-child(4)::before { background: var(--yellow); }
.ag-item:nth-child(5)::before { background: var(--purple); }
.ag-date { font-family: var(--font-head); font-size: 0.88rem; font-weight: 900; margin-bottom: 0.15rem; }
.ag-item:nth-child(1) .ag-date { color: var(--cyan); }
.ag-item:nth-child(2) .ag-date { color: var(--pink); }
.ag-item:nth-child(3) .ag-date { color: var(--green); }
.ag-item:nth-child(4) .ag-date { color: var(--yellow); }
.ag-item:nth-child(5) .ag-date { color: var(--purple); }
.ag-name { font-family: var(--font-head); font-size: 0.9rem; font-weight: 700; color: var(--white); margin-bottom: 0.3rem; }
.ag-desc { font-size: 0.83rem; color: var(--body-text); line-height: 1.55; }

/* PRICE CARD */
.price-num { font-family: var(--font-head); font-size: 3rem; font-weight: 900; color: var(--white); letter-spacing: -0.03em; line-height: 1; }
.price-vat { font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--muted); margin-bottom: 0.5rem; }
.price-note { font-size: 0.83rem; color: var(--body-text); margin-bottom: 1rem; line-height: 1.6; }

/* CTA FINAL */
.cta-final { background: var(--bg-2); text-align: center; padding: 8rem 4rem; position: relative; overflow: hidden; }
.cta-inner { max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }
.cta-title { font-family: var(--font-head); font-size: clamp(2rem, 3.8vw, 3.4rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.01em; color: var(--white); margin-bottom: 1.2rem; }

.cta-sub { font-size: 1rem; color: var(--body-text); line-height: 1.8; margin-bottom: 2.8rem; max-width: 560px; margin-left: auto; margin-right: auto; }

.coord-card { display: inline-flex; align-items: center; gap: 1.4rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 1.4rem 2rem; text-align: left; }
.coord-name { font-family: var(--font-head); font-size: 1.05rem; font-weight: 800; color: var(--white); text-decoration: none; transition: color 0.2s; }
.coord-name:hover { color: var(--cyan); }
.coord-role { font-size: 0.78rem; color: var(--muted); margin-top: 0.2rem; }

/* FOOTER */
footer { background: var(--bg); border-top: 1px solid var(--border); padding: 2rem 4rem; display: flex; align-items: center; justify-content: space-between; }
.footer-logo { font-family: var(--font-head); font-size: 0.88rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.footer-copy { font-size: 0.78rem; color: var(--muted); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; } .d4 { transition-delay: 0.4s; }

@keyframes fadeUp { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:none; } }

@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; flex-wrap: wrap; gap: 0.8rem; }
  .nav-links { display: none; }
  section { padding: 4rem 1.5rem; }
  .hero { padding: 6rem 1.5rem 4.5rem; justify-content: flex-start; }
  .what-is-grid, .featured-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .featured-grid > div:last-child { justify-content: flex-start; gap: 1.5rem; }
  .stats-row { flex-direction: column; }
  .stat-block { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-block:last-child { border-bottom: none; }
  footer { flex-direction: column; gap: 0.8rem; text-align: center; padding: 1.5rem; }
  .cta-final { padding: 5rem 1.5rem; }
  .coord-card { flex-direction: column; text-align: center; }
}
/* Estilos para el texto expansible */
.text-expandable { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease; }
.text-expandable.expanded { max-height: 600px; opacity: 1; margin-top: 1.1rem; }
.btn-expand { background: transparent; border: none; color: var(--cyan); font-family: var(--font-head); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; cursor: pointer; padding: 0; margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.4rem; transition: color 0.2s; }
.btn-expand:hover { color: var(--white); }
.btn-expand svg { width: 14px; height: 14px; transition: transform 0.3s ease; }
.btn-expand.active svg { transform: rotate(180deg); }

/* CLICK-TO-REVEAL — Programas */
.card-hidden-content { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease, margin-top 0.5s ease; }
.how-cards.expanded-grid .card-hidden-content { max-height: 250px; opacity: 1; margin-top: 1.4rem; }
@media (max-width: 768px) {
  .how-cards { grid-template-columns: 1fr !important; gap: 1.5rem; }
  .how-card { padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .how-card:last-child { border-bottom: none; }
  .test-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
}
