/* home1008 — lab progress bars + Centros CTA (home only). Tokens per brief: --hp-bg #070b12, --hp-accent #22d3ee */
:root { --hp-bg: #070b12; --hp-accent: #22d3ee; --hp-accent-2: #3b6cff; --hp-glow: rgba(34, 211, 238, 0.45); }

/* ---------- Progress bars on waiting cards ---------- */
.lab-progress { padding: 0.15rem 0.85rem 0.2rem; margin-top: 0.55rem; position: relative; z-index: 2; }
.study-card .lab-progress + .waitlist-vote { margin-top: 0.45rem; }
.lab-progress__head {
  display: flex; align-items: baseline; gap: 0.4rem; margin-bottom: 0.38rem;
  font-family: var(--font-mono, "JetBrains Mono", monospace); font-size: 0.62rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(190, 225, 240, 0.78);
}
.lab-progress__sep { opacity: 0.5; }
.lab-progress__pct { color: var(--hp-accent); font-variant-numeric: tabular-nums; text-shadow: 0 0 10px var(--hp-glow); }
.lab-progress__track {
  position: relative; height: 6px; border-radius: 999px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)), var(--hp-bg);
  border: 1px solid rgba(34, 211, 238, 0.22);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.6);
}
.lab-progress__fill {
  position: absolute; inset: 0 auto 0 0; width: 50%; border-radius: inherit;
  background: linear-gradient(90deg, var(--hp-accent-2) 0%, var(--hp-accent) 100%);
  box-shadow: 0 0 12px var(--hp-glow), 0 0 2px rgba(34, 211, 238, 0.9);
  transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.lab-progress__fill::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.45) 50%, transparent 100%);
  animation: lab-progress-shimmer 2.4s ease-in-out infinite;
}
.lab-progress.is-done .lab-progress__fill { background: linear-gradient(90deg, #22d3ee, #3dff9a); }
@keyframes lab-progress-shimmer { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) {
  .lab-progress__fill::after { animation: none; display: none; }
  .lab-progress__fill { transition: none; }
}

/* ---------- Centros: nav item, hero CTA, closing band ---------- */
.ctrl-btn.ctrl-btn--centros { color: #dff9ff; border-color: rgba(34, 211, 238, 0.55); background: rgba(34, 211, 238, 0.1); box-shadow: 0 0 14px rgba(34, 211, 238, 0.18); }
.ctrl-btn.ctrl-btn--centros:hover { border-color: var(--hp-accent); background: rgba(34, 211, 238, 0.18); color: #fff; }
.mobile-nav a.mobile-centros { color: var(--hp-accent); }

/* Header (desktop only, >=1101px; mobile untouched). home1008b: fix pre-existing overlap of the lab strip over the
   header buttons. The bar uses the full width, the buttons never shrink/overflow, the strip is hidden when it does not fit,
   CONTACT returns where there is room (>=1200px). Strip shown >=1600px. */
@media (min-width: 1101px) {
  .site-header .header-bar { padding-left: 1.25rem; padding-right: 1.25rem; }
  .site-header .header-bar .logo { flex-shrink: 0; }
  .site-header .header-actions { flex-shrink: 0; min-width: max-content; }
  .site-header .header-actions .ctrl-btn.hide-md { display: none; }
}
@media (min-width: 1101px) and (max-width: 1299px) {
  .site-header .header-actions .lang-switch .lang-code { display: none; }
}
@media (min-width: 1101px) and (max-width: 1599px) {
  .site-header .header-bar .exp-dock { display: none; }
}
@media (min-width: 1200px) {
  .site-header .header-actions .ctrl-btn.hide-md { display: inline-flex; }
}

.hero-centros-cta {
  display: inline-flex; align-items: center; gap: 0.55rem; margin-top: 1.4rem;
  padding: 0.6rem 1.05rem; border-radius: 999px;
  font-family: var(--font-mono, "JetBrains Mono", monospace); font-size: 0.72rem; letter-spacing: 0.08em;
  color: #e9fbff; text-decoration: none;
  background: linear-gradient(90deg, rgba(59,108,255,0.22), rgba(34,211,238,0.18)), rgba(7, 11, 18, 0.72);
  border: 1px solid rgba(34, 211, 238, 0.55);
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.22);
  backdrop-filter: blur(6px);
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
  position: relative; z-index: 3;
}
.hero-centros-cta:hover { border-color: var(--hp-accent); box-shadow: 0 0 30px rgba(34, 211, 238, 0.4); transform: translateY(-1px); }
.hero-centros-cta .dot-live { background: var(--hp-accent); box-shadow: 0 0 8px var(--hp-glow); }
.hero-centros-cta__arrow { color: var(--hp-accent); }

.centros-band {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem;
  margin: 0 0 1.75rem; padding: 1.15rem 1.35rem;
  background: radial-gradient(120% 140% at 0% 0%, rgba(34, 211, 238, 0.12), transparent 60%), var(--hp-bg);
  border: 1px solid rgba(34, 211, 238, 0.3);
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.08);
}
.centros-band__kicker { margin: 0 0 0.35rem; color: var(--hp-accent); }
.centros-band__text { margin: 0; max-width: 40rem; color: rgba(255,255,255,0.82); line-height: 1.5; }
.centros-band__btn { white-space: nowrap; }
@media (max-width: 560px) {
  .hero-centros-cta { font-size: 0.66rem; padding: 0.55rem 0.85rem; }
  .centros-band__btn { white-space: normal; }
}

/* ---------- ot1009: "Otros simuladores" — secondary, low-profile block (Atraque, Predicta) ---------- */
.other-sims { padding: 2.2rem 0 2.6rem; border-top: 1px solid var(--line-soft, rgba(255,255,255,0.06)); }
.other-sims__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 1rem; margin-bottom: 0.9rem; }
.other-sims__kicker { margin: 0; color: var(--muted, rgba(255,255,255,0.58)); }
.other-sims__note { margin: 0; font-size: 0.62rem; letter-spacing: 0.1em; color: var(--muted-2, rgba(255,255,255,0.38)); }
.other-sims__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 340px)); gap: 0.6rem; }
.other-sim {
  display: flex; align-items: center; gap: 0.8rem; padding: 0.5rem 0.75rem 0.5rem 0.5rem; text-decoration: none; color: inherit;
  border: 1px solid var(--line, rgba(255,255,255,0.12)); border-radius: 4px; background: rgba(255,255,255,0.015);
  opacity: 0.82; transition: opacity 0.2s, border-color 0.2s, background 0.2s;
}
.other-sim:hover, .other-sim:focus-visible { opacity: 1; border-color: rgba(34, 211, 238, 0.45); background: rgba(34, 211, 238, 0.04); }
.other-sim__thumb { width: 44px; height: 55px; object-fit: cover; border-radius: 2px; flex-shrink: 0; filter: saturate(0.7); }
.other-sim__body { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; flex: 1; }
.other-sim__title { font-size: 0.95rem; font-weight: 600; line-height: 1.2; }
.other-sim__meta { font-size: 0.58rem; letter-spacing: 0.1em; color: var(--muted-2, rgba(255,255,255,0.38)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.other-sim__badge { font-size: 0.56rem; letter-spacing: 0.12em; padding: 0.15rem 0.4rem; border: 1px solid var(--line, rgba(255,255,255,0.12)); border-radius: 2px; color: var(--muted, rgba(255,255,255,0.58)); }
.other-sim__arrow { color: var(--muted-2, rgba(255,255,255,0.38)); font-size: 0.8rem; }
@media (max-width: 600px) { .other-sims { padding: 1.6rem 0 2rem; } .other-sims__list { grid-template-columns: 1fr; } }

/* legal1013 contrast */
.other-sims__note, .other-sim__meta, .other-sim__arrow { color: rgba(255, 255, 255, 0.62); }
