@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* ── Paleta Institucional CBA ── */
  --cba-navy:    #002855;
  --cba-navy2:   #001a3a;
  --electric:    #007BFF;
  --electric-dk: #0056cc;
  --gold:        #FFD700;
  --gold-dk:     #c9a800;
  --white:       #FFFFFF;
  --gray-light:  #E9ECEF;
  --gray-mid:    #b0b8c8;
  --text-dark:   #1a2340;
  --text-body:   #3a4560;
  --text-muted:  #6b7a99;
  --card-border: rgba(0,40,85,0.12);
  --radius:      16px;
  --shadow-sm:   0 4px 20px rgba(0,40,85,0.10);
  --shadow-lg:   0 12px 50px rgba(0,40,85,0.20);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--white); color: var(--text-body); overflow-x: hidden; }

/* ── HEADER ── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 3rem;
  background: rgba(0,28,70,0.96);
  backdrop-filter: blur(20px);
  border-bottom: 2px solid rgba(255,215,0,0.3);
  transition: all 0.3s;
}
header.scrolled { padding: 0.5rem 3rem; }

.logo-wrap { display: flex; align-items: center; gap: 0.9rem; text-decoration: none; }
.logo-wrap img { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--gold); object-fit: cover; }
.logo-text .name { font-family: 'Orbitron', sans-serif; font-size: 0.78rem; font-weight: 700; color: var(--gold); letter-spacing: 1px; line-height: 1.3; }
.logo-text .sub  { font-size: 0.62rem; color: rgba(255,255,255,0.55); letter-spacing: 2px; text-transform: uppercase; }

nav { display: flex; gap: 0.1rem; }
nav a {
  color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.84rem; font-weight: 500;
  padding: 0.5rem 0.9rem; border-radius: 8px; transition: all 0.25s; position: relative;
}
nav a:hover, nav a.active { color: var(--gold); }
nav a::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--gold); border-radius: 2px; transition: width 0.3s;
}
nav a:hover::after, nav a.active::after { width: 55%; }

.cta-btn {
  background: linear-gradient(135deg, var(--electric), var(--electric-dk));
  color: #fff; font-weight: 700; font-size: 0.85rem;
  padding: 0.6rem 1.4rem; border-radius: 50px; border: none; cursor: pointer;
  text-decoration: none; transition: all 0.3s; box-shadow: 0 4px 20px rgba(0,123,255,0.4);
  white-space: nowrap;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(0,123,255,0.55); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 25px; height: 2px; background: var(--gold); border-radius: 2px; transition: all 0.3s; }

/* ── HERO ── */
#inicio {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; padding: 7rem 2rem 5rem; text-align: center; overflow: hidden;
  background: linear-gradient(160deg, var(--cba-navy2) 0%, var(--cba-navy) 60%, #003d80 100%);
}

.hero-particles { position: absolute; inset: 0; overflow: hidden; }
.hero-particles span {
  position: absolute; width: 2px; height: 2px; background: rgba(255,215,0,0.5);
  border-radius: 50%; animation: float-up 8s linear infinite;
}
@keyframes float-up {
  0%   { opacity: 0; transform: translateY(100vh) scale(0); }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(-10vh) scale(1.5); }
}

.hero-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.12; z-index: 0;
}

.hero-content { position: relative; z-index: 2; max-width: 820px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,215,0,0.12); border: 1px solid rgba(255,215,0,0.5);
  color: var(--gold); font-size: 0.72rem; font-weight: 700; letter-spacing: 2.5px;
  padding: 0.4rem 1.2rem; border-radius: 50px; margin-bottom: 1.8rem; text-transform: uppercase;
  animation: fadeInDown 0.8s ease;
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.6rem, 4.5vw, 3.2rem);
  font-weight: 900; line-height: 1.3; color: #fff; margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-title .highlight {
  color: var(--gold);
  display: block;
  font-size: clamp(1.2rem, 3.8vw, 2.4rem);
  white-space: nowrap;
  margin: 0.6rem 0;
  letter-spacing: 1px;
}
.hero-title .highlight2 {
  color: #7ec8ff;
  display: block;
  font-size: clamp(1rem, 3vw, 1.8rem);
  margin-top: 0.4rem;
}

.hero-slogan {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.65); margin-bottom: 2.8rem;
  animation: fadeInUp 0.8s ease 0.4s both; font-style: italic; font-weight: 300;
}

.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; animation: fadeInUp 0.8s ease 0.6s both; }

.btn-primary {
  background: linear-gradient(135deg, var(--electric), var(--electric-dk));
  color: #fff; font-weight: 700; padding: 0.9rem 2.2rem; border-radius: 50px;
  border: none; cursor: pointer; text-decoration: none; font-size: 1rem;
  transition: all 0.3s; box-shadow: 0 6px 25px rgba(0,123,255,0.45);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 40px rgba(0,123,255,0.6); }

.btn-outline {
  background: transparent; color: #fff; font-weight: 600; padding: 0.9rem 2.2rem;
  border-radius: 50px; border: 2px solid rgba(255,255,255,0.35); cursor: pointer;
  text-decoration: none; font-size: 1rem; transition: all 0.3s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }

.hero-stats {
  display: flex; gap: 3rem; justify-content: center; margin-top: 4rem;
  animation: fadeInUp 0.8s ease 0.8s both; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num { font-family: 'Orbitron', sans-serif; font-size: 2.2rem; font-weight: 900; color: var(--gold); line-height: 1; }
.stat-label { font-size: 0.72rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 0.3rem; }
.stat-divider { width: 1px; background: rgba(255,255,255,0.15); }

/* ── SHARED SECTION STYLES ── */
.section-light   { background: var(--white); }
.section-gray    { background: var(--gray-light); }
.section-navy    { background: var(--cba-navy); }

section { padding: 5rem 2rem; }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
  display: inline-block; background: rgba(0,123,255,0.08); border: 1px solid rgba(0,123,255,0.3);
  color: var(--electric); font-size: 0.68rem; font-weight: 700; letter-spacing: 3px;
  padding: 0.3rem 1rem; border-radius: 50px; text-transform: uppercase; margin-bottom: 0.9rem;
}
.section-tag.gold { background: rgba(255,215,0,0.1); border-color: rgba(255,215,0,0.4); color: var(--gold-dk); }
.section-tag.white-tag { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.8); }

.section-title { font-family: 'Orbitron', sans-serif; font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; color: var(--text-dark); line-height: 1.2; }
.section-title.white { color: #fff; }
.section-title .accent { color: var(--electric); }
.section-title .gold-acc { color: var(--gold); }
.section-subtitle { color: var(--text-muted); font-size: 1rem; margin-top: 0.8rem; line-height: 1.7; max-width: 600px; margin-inline: auto; }
.section-subtitle.white { color: rgba(255,255,255,0.65); }
.divider-line { display: block; width: 60px; height: 3px; background: linear-gradient(90deg, var(--electric), var(--gold)); border-radius: 2px; margin: 1rem auto 0; }

/* ── NOSOTROS ── */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1100px; margin: 0 auto; }

.about-card {
  background: #fff; border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow-sm); transition: all 0.3s; position: relative; overflow: hidden;
}
.about-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--electric), var(--gold)); opacity: 0; transition: opacity 0.3s;
}
.about-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.about-card:hover::before { opacity: 1; }
.card-icon { font-size: 2.8rem; margin-bottom: 1rem; }
.card-title { font-family: 'Orbitron', sans-serif; font-size: 0.95rem; color: var(--cba-navy); margin-bottom: 0.8rem; }
.card-text { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; }

/* Mission pillars list */
.mission-pillars { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; margin-top: 0.4rem; }
.mission-pillars li { display: flex; align-items: flex-start; gap: 0.75rem; }
.pillar-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 0.1rem; }
.mission-pillars strong { display: block; font-size: 0.85rem; color: var(--cba-navy); margin-bottom: 0.15rem; }
.mission-pillars p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* ── NIVELES ── */
.levels-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; max-width: 1100px; margin: 0 auto; }

.level-card {
  background: #fff; border: 1px solid var(--card-border);
  border-radius: var(--radius); overflow: hidden; transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}
.level-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--electric); }
.level-card img { 
  width: 100%; 
  height: auto; 
  border-radius: 50%; 
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0,40,85,0.1);
  background: #fff;
}
.level-body { padding: 1.5rem; }
.level-badge {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  padding: 0.3rem 0.9rem; border-radius: 50px; margin-bottom: 0.8rem;
  text-transform: uppercase; letter-spacing: 1px;
}
.badge-green  { background: #e8f5e9; color: #2e7d32; }
.badge-blue   { background: rgba(0,123,255,0.1); color: var(--electric-dk); }
.badge-gold   { background: rgba(255,215,0,0.15); color: #a07800; }
.level-title  { font-family: 'Orbitron', sans-serif; font-size: 1rem; color: var(--cba-navy); margin-bottom: 0.4rem; }
.level-age    { color: var(--electric); font-size: 0.8rem; font-weight: 600; margin-bottom: 0.8rem; }
.level-desc   { color: var(--text-muted); font-size: 0.87rem; line-height: 1.65; }
.level-tools  { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.tool-tag {
  background: var(--gray-light); border: 1px solid var(--card-border);
  color: var(--text-body); font-size: 0.72rem; padding: 0.2rem 0.6rem; border-radius: 4px; font-weight: 500;
}

/* ── BITBOTS ── */
.bitbots-wrap { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.bitbots-img { border-radius: var(--radius); overflow: hidden; border: 2px solid rgba(255,215,0,0.4); box-shadow: var(--shadow-lg); }
.bitbots-img img { width: 100%; display: block; }
.bitbots-info h3 { font-family: 'Orbitron', sans-serif; font-size: 1.6rem; color: #fff; margin-bottom: 1rem; }
.bitbots-info p  { color: rgba(255,255,255,0.65); line-height: 1.8; margin-bottom: 1.5rem; font-size: 0.93rem; }

.events-list { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 1.5rem; }
.event-item {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,215,0,0.2);
  border-radius: 10px; padding: 0.8rem 1rem; transition: all 0.3s;
}
.event-item:hover { border-color: var(--gold); background: rgba(255,215,0,0.07); }
.event-date { background: var(--gold); color: var(--cba-navy); font-weight: 700; font-size: 0.72rem; padding: 0.3rem 0.6rem; border-radius: 6px; white-space: nowrap; }
.event-name { font-size: 0.88rem; color: rgba(255,255,255,0.85); }

.gallery-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.8rem; margin-top: 2rem; }
.gallery-3 img { border-radius: 10px; width: 100%; height: 130px; object-fit: cover; transition: transform 0.3s; cursor: pointer; border: 1px solid rgba(255,215,0,0.2); }
.gallery-3 img:hover { transform: scale(1.05); }

/* ── STAFF ── */
.staff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; max-width: 1100px; margin: 0 auto; }

.staff-card {
  background: #fff; border: 1px solid var(--card-border);
  border-radius: var(--radius); overflow: hidden; text-align: center;
  transition: all 0.3s; box-shadow: var(--shadow-sm); position: relative;
}
.staff-card:hover { box-shadow: var(--shadow-lg); border-color: var(--electric); }

/* Photo wrapper — same height for all cards */
.staff-photo-wrap {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #eef3fa 0%, #dce8f5 100%);
  overflow: hidden;
  position: relative;
}
.staff-photo-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 30px;
  background: linear-gradient(to top, #fff, transparent);
  pointer-events: none;
}

/* Real photo */
.staff-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Placeholder avatar */
.staff-photo.placeholder {
  width: 130px;
  height: 130px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 0;
  opacity: 0.75;
  filter: grayscale(1);
  border: 3px solid rgba(0,40,85,0.1);
  box-shadow: 0 4px 20px rgba(0,40,85,0.08);
}

.staff-body { padding: 1.4rem 1.2rem 1.6rem; }
.staff-name  { font-family: 'Orbitron', sans-serif; font-size: 0.85rem; color: var(--cba-navy); margin-bottom: 0.4rem; line-height: 1.3; }
.staff-role  { color: var(--electric); font-size: 0.75rem; font-weight: 600; margin-bottom: 0.7rem; text-transform: uppercase; letter-spacing: 1px; }
.staff-desc  { color: var(--text-muted); font-size: 0.82rem; line-height: 1.6; }

/* ── INVERSIÓN ── */
.inversion-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 1000px; margin: 0 auto; }

.inv-card {
  background: #fff; border: 1.5px solid var(--card-border);
  border-radius: var(--radius); padding: 2rem 1.5rem;
  transition: all 0.3s; text-align: center; box-shadow: var(--shadow-sm); position: relative;
}
.inv-card.featured { border-color: var(--electric); background: linear-gradient(160deg, #f0f7ff, #fff); }
.featured-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--electric), var(--electric-dk));
  color: #fff; font-size: 0.68rem; font-weight: 700;
  padding: 0.3rem 1rem; border-radius: 50px; white-space: nowrap;
}
.inv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.inv-icon  { font-size: 2.5rem; margin-bottom: 0.8rem; }
.inv-title { font-family: 'Orbitron', sans-serif; font-size: 0.9rem; color: var(--cba-navy); margin-bottom: 0.5rem; }
.inv-price { font-family: 'Orbitron', sans-serif; font-size: 2.4rem; color: var(--electric); font-weight: 900; margin: 0.5rem 0; }
.inv-price span { font-size: 0.9rem; color: var(--text-muted); font-family: 'Inter', sans-serif; font-weight: 400; }
.inv-list { list-style: none; margin-top: 1.2rem; text-align: left; }
.inv-list li { color: var(--text-body); font-size: 0.84rem; padding: 0.45rem 0; border-bottom: 1px solid var(--gray-light); display: flex; align-items: flex-start; gap: 0.5rem; }
.inv-list li::before { content: '✓'; color: var(--electric); font-weight: 700; flex-shrink: 0; }

/* ── FOOTER ── */
footer { background: var(--cba-navy2); border-top: 2px solid rgba(255,215,0,0.25); padding: 3.5rem 2rem 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; max-width: 1100px; margin: 0 auto 2rem; }

.footer-brand .f-logo { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.footer-brand .f-logo img { width: 55px; height: 55px; border-radius: 50%; border: 2px solid var(--gold); object-fit: cover; }
.footer-brand .f-logo-text { font-family: 'Orbitron', sans-serif; font-size: 0.75rem; color: var(--gold); font-weight: 700; line-height: 1.4; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.83rem; line-height: 1.7; max-width: 240px; }

.footer-col h4 { font-family: 'Orbitron', sans-serif; font-size: 0.75rem; color: var(--gold); margin-bottom: 1rem; letter-spacing: 1.5px; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col ul li a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.84rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-col p { color: rgba(255,255,255,0.5); font-size: 0.84rem; line-height: 1.8; }

.social-links { display: flex; gap: 0.7rem; margin-top: 1rem; }
.social-btn {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6); text-decoration: none; font-size: 1.1rem;
  transition: all 0.3s;
}
.social-btn:hover { background: var(--electric); border-color: var(--electric); color: #fff; transform: translateY(-3px); }

.whatsapp-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #25d366; color: #fff; font-weight: 700; font-size: 0.84rem;
  padding: 0.6rem 1.2rem; border-radius: 50px; text-decoration: none;
  margin-top: 0.8rem; transition: all 0.3s; box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}
.whatsapp-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(37,211,102,0.5); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; text-align: center; color: rgba(255,255,255,0.35); font-size: 0.78rem; max-width: 1100px; margin: 0 auto; }

/* ── PLAN DE FORMACIÓN ── */
.phases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.phase-card {
  background: #fff;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2.5rem 1.8rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  position: relative;
  overflow: visible;
}
.phase-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--electric), var(--gold));
  border-radius: var(--radius) var(--radius) 0 0;
  opacity: 0;
  transition: opacity 0.3s;
}
.phase-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.phase-card:hover::before { opacity: 1; }

/* Fase 2 destacada */
.phase-featured {
  border-color: var(--gold);
  background: linear-gradient(160deg, #fffde7 0%, #fff 60%);
  box-shadow: 0 6px 30px rgba(255,215,0,0.15);
}
.phase-featured::before { opacity: 1; background: linear-gradient(90deg, var(--gold), var(--electric)); border-radius: var(--radius) var(--radius) 0 0; }
.phase-featured-badge {
  position: absolute;
  top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-dk), var(--gold));
  color: var(--cba-navy); font-size: 0.68rem; font-weight: 800;
  padding: 0.3rem 1rem; border-radius: 50px; white-space: nowrap;
  letter-spacing: 1px;
}

.phase-number {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem; font-weight: 900;
  color: rgba(0,40,85,0.08);
  line-height: 1; margin-bottom: 0.2rem;
  position: absolute; top: 1.2rem; right: 1.5rem;
}
.phase-number.gold { color: rgba(255,215,0,0.25); }

.phase-icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  display: inline-block;
  animation: float-icon 3.2s ease-in-out infinite;
}
.phase-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem; color: var(--cba-navy);
  line-height: 1.4; margin-bottom: 0.8rem;
}
.phase-label {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  padding: 0.3rem 0.9rem; border-radius: 50px; margin-bottom: 1rem;
  text-transform: uppercase; letter-spacing: 1px;
}
.label-green { background: #e8f5e9; color: #2e7d32; }
.label-gold  { background: rgba(255,215,0,0.15); color: #8a6d00; }
.label-blue  { background: rgba(0,123,255,0.1); color: var(--electric-dk); }

.phase-date {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  padding: 0.3rem 0.9rem; border-radius: 50px; margin-bottom: 1rem;
  text-transform: uppercase; letter-spacing: 1px;
  margin-left: 0.4rem;
}
.date-green { background: rgba(46, 125, 50, 0.08); color: #2e7d32; }
.date-gold  { background: rgba(138, 109, 0, 0.08); color: #8a6d00; }
.date-blue  { background: rgba(0, 86, 204, 0.08); color: var(--electric-dk); }

.phase-desc {
  color: var(--text-muted); font-size: 0.87rem;
  line-height: 1.65; margin-bottom: 1rem;
}

.phase-list {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 0.7rem;
  margin-bottom: 1.2rem;
}
.phase-list li {
  color: var(--text-body); font-size: 0.84rem;
  padding: 0.5rem 0.8rem;
  background: var(--gray-light); border-radius: 8px;
  line-height: 1.5;
}
.phase-age {
  display: inline-block;
  background: rgba(0,123,255,0.08);
  color: var(--electric-dk);
  font-size: 0.72rem; font-weight: 700;
  padding: 0.15rem 0.5rem; border-radius: 4px;
  margin-right: 0.4rem; white-space: nowrap;
}
.phase-tools { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* Calendario competitivo interno (Fase 3) */
.internal-calendar {
  display: flex; flex-direction: column; gap: 0.7rem;
  margin: 1rem 0;
}
.cal-event {
  display: flex; align-items: flex-start; gap: 0.9rem;
  background: rgba(0,123,255,0.05);
  border: 1px solid rgba(0,123,255,0.18);
  border-radius: 10px; padding: 0.75rem 1rem;
  transition: all 0.25s;
}
.cal-event:hover { border-color: var(--electric); background: rgba(0,123,255,0.09); }
.cal-month {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.68rem; font-weight: 800;
  color: var(--electric); background: rgba(0,123,255,0.1);
  border-radius: 6px; padding: 0.35rem 0.5rem;
  text-align: center; white-space: nowrap; flex-shrink: 0;
  letter-spacing: 1px;
}
.cal-info { display: flex; flex-direction: column; gap: 0.2rem; }
.cal-info strong { color: var(--cba-navy); font-size: 0.84rem; }
.cal-info span { color: var(--text-muted); font-size: 0.78rem; line-height: 1.4; }

/* Distintivo de horas en tarjetas de niveles */
.level-hours {
  color: var(--gold-dk); font-size: 0.78rem;
  font-weight: 600; margin-bottom: 0.6rem;
}
.level-hours i { margin-right: 4px; }

/* ═══════════════════════════════════════════════════
   ANIMACIONES — Optimizadas para GPU / 60fps
   Sólo se animan opacity y transform (no layout)
═══════════════════════════════════════════════════ */

/* ── Keyframes core ── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

/* ── Reveal system ── */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal        { transform: translateY(28px); }
.reveal-left   { transform: translateX(-28px); }
.reveal-right  { transform: translateX(28px); }
.reveal-scale  { transform: scale(0.92); }

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: none;
  will-change: auto; /* libera la capa GPU una vez terminada */
}

/* Stagger delays — máximo 6 hijos */
.reveal:nth-child(2), .reveal-left:nth-child(2),
.reveal-right:nth-child(2), .reveal-scale:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3), .reveal-left:nth-child(3),
.reveal-right:nth-child(3), .reveal-scale:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4), .reveal-left:nth-child(4),
.reveal-right:nth-child(4), .reveal-scale:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5), .reveal-left:nth-child(5),
.reveal-right:nth-child(5), .reveal-scale:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6), .reveal-left:nth-child(6),
.reveal-right:nth-child(6), .reveal-scale:nth-child(6) { transition-delay: 0.40s; }

/* ── Logo glow — suave, solo opacity ── */
@keyframes logo-glow {
  0%, 100% { box-shadow: 0 0 6px 2px rgba(255,215,0,0.35); }
  50%       { box-shadow: 0 0 18px 6px rgba(255,215,0,0.70); }
}
.logo-wrap img {
  animation: logo-glow 3.5s ease-in-out infinite;
  will-change: box-shadow;
}

/* ── Header border pulse — usa opacity para no repintar ── */
header::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--electric), var(--gold), var(--electric));
  background-size: 200% 100%;
  animation: header-shimmer 4s linear infinite;
  will-change: background-position;
}
@keyframes header-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Hero badge shimmer ── */
.hero-badge { overflow: hidden; position: relative; }
.hero-badge::after {
  content: '';
  position: absolute;
  top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  animation: shimmer 3s ease infinite;
  will-change: transform;
}
@keyframes shimmer {
  0%   { transform: translateX(0); }
  100% { transform: translateX(500%); }
}

/* ── Hero title underline expand ── */
.hero-title .highlight { position: relative; }
.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--electric), var(--gold));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: line-expand 1s cubic-bezier(.22,1,.36,1) 0.6s forwards;
  will-change: transform;
}
@keyframes line-expand {
  to { transform: scaleX(1); }
}

/* ── Btn ripple on hover ── */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  will-change: transform;
}
.btn-primary:hover::before { transform: scaleX(1); }

/* ── Section tag subtle shimmer ── */
.section-tag { position: relative; overflow: hidden; }
.section-tag::after {
  content: '';
  position: absolute;
  top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,123,255,0.12), transparent);
  animation: shimmer 4s ease infinite 1s;
}

/* ── Cards hover — NO preserve-3d (evita layer explosion) ── */
.level-card, .staff-card, .about-card, .inv-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.level-card:hover,  .staff-card:hover  { box-shadow: var(--shadow-lg); border-color: var(--electric); }
.about-card:hover { box-shadow: var(--shadow-lg); }
.inv-card:hover   { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

/* Radial glow spot on level/staff cards */
.level-card, .staff-card { position: relative; }
.level-card::after, .staff-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(0,123,255,0.07), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.level-card:hover::after, .staff-card:hover::after { opacity: 1; }

/* ── Level badge pop-in ── */
@keyframes badge-pop {
  from { transform: scale(0.6); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.level-badge { animation: badge-pop 0.45s cubic-bezier(.34,1.56,.64,1) both; }

/* ── Tool tags hover ── */
.tool-tag {
  display: inline-block;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.tool-tag:hover {
  background: var(--electric); color: #fff;
  border-color: var(--electric);
  transform: translateY(-2px) scale(1.04);
}

/* ── Divider expand ── */
@keyframes width-expand {
  from { width: 0; opacity: 0; }
  to   { width: 60px; opacity: 1; }
}
.divider-line { animation: width-expand 0.8s cubic-bezier(.22,1,.36,1) both; }

/* ── Footer logo (reusa logo-glow) ── */
.footer-brand .f-logo img { animation: logo-glow 3.5s ease-in-out infinite; }

/* ── WhatsApp — rebote suave ── */
@keyframes whatsapp-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}
.whatsapp-btn { animation: whatsapp-bounce 2.8s ease-in-out infinite; }
.whatsapp-btn:hover { animation: none; transform: translateY(-2px); }

/* ── Scroll-top button ── */
@keyframes spin-once {
  to { transform: rotate(-360deg); }
}
.scroll-top { 
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--electric), var(--electric-dk));
  color: #fff; border: none; cursor: pointer; font-size: 1.2rem;
  box-shadow: 0 4px 20px rgba(0,123,255,0.4);
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex; align-items: center; justify-content: center;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover   { transform: translateY(-3px) scale(1.08); }
.scroll-top:hover i { animation: spin-once 0.4s ease; }

/* ── About card icon float ── */
@keyframes float-icon {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}
.card-icon {
  display: inline-block;
  animation: float-icon 3.2s ease-in-out infinite;
  will-change: transform;
}

/* ── Stats glow pulse ── */
@keyframes stat-glow {
  0%, 100% { text-shadow: none; }
  50%       { text-shadow: 0 0 14px rgba(255,215,0,0.6); }
}
.stat-num {
  display: inline-block;
  animation: stat-glow 3.5s ease-in-out infinite;
}

/* ══════════════════════════════
   ACCESIBILIDAD — Respeta la preferencia del usuario
══════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── SCROLL ── */
.scroll-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--electric), var(--electric-dk));
  color: #fff; border: none; cursor: pointer; font-size: 1.2rem;
  box-shadow: 0 4px 20px rgba(0,123,255,0.4);
  opacity: 0; transform: translateY(10px); transition: all 0.3s;
  display: flex; align-items: center; justify-content: center;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-3px) scale(1.1); }

/* ── RUTA DE APRENDIZAJE DETALLADA (FIEL A LA IMAGEN) ── */
.ruta-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.ruta-category {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ruta-category:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--electric);
}

/* Radial glow spot for tilt effect */
.ruta-category { position: relative; }
.ruta-category::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(0,123,255,0.06), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.ruta-category:hover::after { opacity: 1; }

.ruta-category-header {
  padding: 1.2rem 1.8rem;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ruta-category-header.bg-blue {
  background: linear-gradient(135deg, #007BFF, #0056cc);
  border-bottom: 3px solid #0040aa;
}

.ruta-category-header.bg-orange {
  background: linear-gradient(135deg, #2e7d32, #fd7e14); /* Verde a Naranja como en la imagen */
  border-bottom: 3px solid #d46a00;
}

.ruta-columns {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  padding: 2rem 1.5rem;
  flex-grow: 1;
  align-items: stretch;
}

.ruta-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
}

.ruta-column-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.82rem;
  color: var(--cba-navy);
  font-weight: 700;
  margin-bottom: 1.2rem;
  line-height: 1.4;
  height: 2.4rem; /* altura fija para alinear ilustraciones */
  display: flex;
  align-items: center;
  justify-content: center;
}

.ruta-illustration {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  position: relative;
  width: 100%;
}

.ruta-column-text {
  font-size: 0.8rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-top: auto; /* empuja hacia abajo si es necesario */
}

/* Divider vertical */
.ruta-divider {
  width: 1px;
  background: rgba(0, 40, 85, 0.12);
  align-self: stretch;
}

/* Estilos de Ilustraciones específicas */
.ill-lego-tablet {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.ill-lego-tablet .ill-lego {
  font-size: 2.5rem;
  color: #e53935;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}
.ill-lego-tablet .ill-tablet {
  font-size: 2.8rem;
  color: #1e88e5;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.ill-kids-collab {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.ill-kids-collab .ill-kids {
  font-size: 2.6rem;
  color: #fb8c00;
}
.ill-kids-collab .ill-collab {
  font-size: 2.2rem;
  color: #43a047;
}

.ill-spike-scratch {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.ill-spike-scratch .ill-spike {
  font-size: 2.2rem;
  color: #ffb300;
}
.ill-spike-scratch .ill-microbit {
  font-size: 2rem;
  color: #3949ab;
}
.ill-spike-scratch .ill-scratch {
  font-size: 2.4rem;
  color: #f57c00;
}

.ill-clocks-cal {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.ill-clocks-cal .clocks-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.ill-clocks-cal .clocks-mini-grid i {
  font-size: 1.1rem;
  color: #007BFF;
}
.ill-clocks-cal .ill-cal {
  font-size: 2.6rem;
  color: #e53935;
}

/* ── CHEVRON FLOW (FIDELIDAD TOTAL) ── */
.ruta-timeline-chevrons {
  max-width: 1100px;
  margin: 3.5rem auto 0;
  display: grid;
  grid-template-columns: 1.2fr 1.3fr 1.5fr; /* Proporciones aproximadas de tamaño */
  gap: 0.6rem;
  padding: 0.5rem;
}

.chevron-step {
  position: relative;
  padding: 1.2rem 1.8rem 1.2rem 2.5rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Colores de los Chevrons basados en la imagen */
.step-yellow {
  background: #ffb74d; /* Amarillo/Dorado claro */
  clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%);
  padding-left: 1.8rem; /* El primero no tiene sangría a la izquierda */
}

.step-blue {
  background: #1e88e5; /* Azul */
  clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%, 6% 50%);
}

.step-green-orange {
  background: linear-gradient(90deg, #43a047 0%, #ff8f00 100%); /* Verde a Naranja */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 5% 50%);
  padding-right: 1.8rem; /* El último no tiene flecha saliente a la derecha */
}

.chevron-content {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.step-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.step-details {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.25);
  padding-top: 0.6rem;
}

.step-detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-detail-icons {
  display: flex;
  gap: 0.3rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
}

.step-detail-text {
  display: flex;
  flex-direction: column;
}

.step-detail-text .num {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
}

.step-detail-text .lbl {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-grid, .inversion-grid, .phases-grid { grid-template-columns: 1fr 1fr; }
  .ruta-container { grid-template-columns: 1fr; gap: 2rem; }
  .ruta-columns { grid-template-columns: 1fr; }
  .ruta-divider { height: 1px; width: 100%; margin: 1.5rem 0; }
  .ruta-column-title { height: auto; }
  .ruta-timeline-chevrons { grid-template-columns: 1fr; gap: 1.2rem; }
  .step-yellow, .step-blue, .step-green-orange { clip-path: none; border-radius: var(--radius); padding: 1.5rem; }
  .bitbots-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  header { padding: 0.8rem 1.2rem; }
  nav { display: none; flex-direction: column; position: fixed; top: 70px; left: 0; right: 0;
    background: rgba(0,20,55,0.98); padding: 1rem; border-bottom: 1px solid rgba(255,215,0,0.2); z-index: 999; }
  nav.open { display: flex; }
  .hamburger { display: flex; }
  .cta-btn { display: none; }
  .gallery-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .about-grid, .inversion-grid, .phases-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .stat-divider { display: none; }
  .gallery-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}


/* ══════════════════════════════════════════
   HORARIO DE CLASES – PREMIUM REDESIGN
══════════════════════════════════════════ */
.horario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Base card */
.hcard {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.hcard:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

/* Color accent strip per card type */
.hcard-green  { border-top: 3px solid #22c55e; }
.hcard-blue   { border-top: 3px solid var(--electric); }
.hcard-gold   { border-top: 3px solid var(--gold); }
.hcard-navy   { border-top: 3px solid #a78bfa; }

.hcard-green:hover  { border-color: #22c55e; }
.hcard-blue:hover   { border-color: var(--electric); }
.hcard-gold:hover   { border-color: var(--gold); }
.hcard-navy:hover   { border-color: #a78bfa; }

/* Card Header */
.hcard-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(0,0,0,0.15);
}
.hcard-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}
.hcard-grade {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}
.hcard-hrs {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.2rem;
}
.hcard-hrs i { margin-right: 0.3rem; }

/* Days block */
.hcard-days {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.hday {
  padding: 1rem 1.2rem;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.hday:last-child { border-right: none; }

/* Day label pills */
.hday-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  align-self: flex-start;
}
.lunes     { background: rgba(34,197,94,0.2);  color: #86efac; }
.martes    { background: rgba(59,130,246,0.2); color: #93c5fd; }
.miercoles { background: rgba(234,179,8,0.2);  color: #fde047; }
.jueves    { background: rgba(168,85,247,0.2); color: #d8b4fe; }

/* Tool tags within day */
.hday-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.htool {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  white-space: nowrap;
}
.htool-green  { background: rgba(34,197,94,0.15);  border: 1px solid rgba(34,197,94,0.4);  color: #86efac; }
.htool-orange { background: rgba(249,115,22,0.15); border: 1px solid rgba(249,115,22,0.4); color: #fdba74; }
.htool-teal   { background: rgba(20,184,166,0.15); border: 1px solid rgba(20,184,166,0.4); color: #5eead4; }
.htool-red    { background: rgba(239,68,68,0.15);  border: 1px solid rgba(239,68,68,0.4);  color: #fca5a5; }
.htool-purple { background: rgba(168,85,247,0.15); border: 1px solid rgba(168,85,247,0.4); color: #d8b4fe; }

/* Time */
.hday-time {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  margin-top: auto;
}

/* Legend */
.horario-leyenda {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.leyenda-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}
.leyenda-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .horario-grid { grid-template-columns: 1fr; }
  .hcard-days { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
  .hcard-days { grid-template-columns: 1fr; }
  .hday { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
}

/* ══════════════════════════════════════════
   ORGANIZACIONES COMPETITIVAS
══════════════════════════════════════════ */

.org-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.6rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Compact horizontal strip for organizations */
.org-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem 1rem;
}

.org-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 1rem;
  transition: background 0.25s ease, transform 0.25s ease;
  cursor: default;
}
.org-chip:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-4px);
}
.org-chip-img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid rgba(255,255,255,0.25);
}


.org-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.org-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  border-color: rgba(255,215,0,0.4);
}

.org-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #001a3a;
}
.org-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.org-card:hover .org-img { transform: scale(1.04); }

.org-info {
  padding: 1.2rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.org-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}
.org-desc {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  flex: 1;
}

/* Badges de nivel */
.org-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  align-self: flex-start;
  letter-spacing: 0.5px;
}
.badge-gold   { background: rgba(255,215,0,0.15); border: 1px solid rgba(255,215,0,0.5); color: var(--gold); }
.badge-blue   { background: rgba(0,123,255,0.15); border: 1px solid rgba(0,123,255,0.5); color: #7ec8ff; }
.badge-red    { background: rgba(220,38,38,0.15); border: 1px solid rgba(220,38,38,0.5); color: #f87171; }
.badge-white  { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); color: #fff; }
.badge-purple { background: rgba(139,92,246,0.15); border: 1px solid rgba(139,92,246,0.5); color: #c4b5fd; }

/* ══════════════════════════════════════════
   NUESTRAS SELECCIONES
══════════════════════════════════════════ */
.section-dark-blue {
  background: linear-gradient(160deg, #001233 0%, #002855 60%, #001a3a 100%);
  padding: 5rem 3rem;
}

.sel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.sel-card {
  background: #c8dff5;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.sel-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.sel-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #a8c8e8;
}
.sel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.sel-card:hover .sel-img { transform: scale(1.04); }

/* Placeholder para Lego Spike e Innovación */
.sel-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #001a3a 0%, #002855 100%);
  gap: 0.6rem;
  border-bottom: 1px solid rgba(255,215,0,0.2);
}

.sel-body {
  padding: 1rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
  background: #c8dff5;
}
.sel-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  font-weight: 700;
  color: #001428;
}
.sel-desc {
  font-size: 0.81rem;
  color: #1a3050;
  line-height: 1.6;
  flex: 1;
}

/* Ruta de competencias */
.sel-ruta {
  background: #002855;
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.2rem;
}
.ruta-title {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.ruta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.ruta-tag {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #e8f0ff;
  font-size: 0.71rem;
  font-weight: 600;
  padding: 0.22rem 0.65rem;
  border-radius: 50px;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
  .org-grid, .sel-grid { grid-template-columns: 1fr 1fr; }
  .section-dark-blue { padding: 4rem 1.5rem; }
}
@media (max-width: 540px) {
  .org-grid, .sel-grid { grid-template-columns: 1fr; }
}

