/* ===== HeroSection ===== */
.hero { position: relative; width: 100%; font-family: var(--font-family); }
.hero__container { position: relative; height: 650px; }
@media (min-width: 768px) { .hero__container { height: 700px; } }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s; }
.hero__overlay1 { position: absolute; inset: 0; background: rgba(17,40,82,0.70); }
.hero__overlay2 { position: absolute; inset: 0; background: linear-gradient(to top, rgba(17,40,82,0.60), transparent 50%, rgba(17,40,82,0.20)); }
.hero__content {
  position: relative; height: 100%; max-width: 80rem; margin: 0 auto;
  padding: 0 7%; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding-bottom: 64px;
}
@media (min-width: 768px) { .hero__content { padding: 0 2rem; padding-bottom: 80px; } }
.hero__tag {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,196,0,0.5); color: var(--analdex-yellow);
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em;
  padding: 6px 16px; border-radius: 9999px; margin-bottom: 20px;
}
.hero__tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--analdex-yellow); }
.hero__title {
  font-size: 1.875rem; font-weight: 900; color: #fff; line-height: 1.12;
  margin-bottom: 16px; max-width: 42rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
@media (min-width: 768px) { .hero__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .hero__title { font-size: 3rem; } }
.hero__desc { color: #fff; font-size: 14px; max-width: 36rem; line-height: 1.6; margin-bottom: 28px; }
@media (min-width: 768px) { .hero__desc { font-size: 16px; } }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__cta-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--analdex-yellow); color: var(--analdex-navy);
  font-weight: 700; padding: 12px 24px; border-radius: 9999px;
  font-size: 14px; transition: opacity 0.2s;
}
.hero__cta-primary:hover { opacity: 0.9; }
.hero__cta-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,0.4); color: #fff;
  font-weight: 600; padding: 12px 24px; border-radius: 9999px;
  font-size: 14px; transition: background 0.2s;
}
.hero__cta-secondary:hover { background: rgba(255,255,255,0.1); }

/* Quick nav */
.hero__quicknav {
  position: absolute; bottom: 56px; left: 50%; transform: translateX(-50%);
  width: auto; max-width: calc(100% - 2rem);
}
.hero__quicknav-inner {
  display: flex; align-items: stretch;
  background: rgba(255,255,255,0.08); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; overflow: hidden;
}
.hero__quicknav-btn {
  position: relative; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 6px; padding: 12px 16px;
  font-size: 10px; font-weight: 700; white-space: nowrap;
  color: rgba(255,255,255,0.4); transition: all 0.2s; cursor: pointer;
}
@media (min-width: 768px) { .hero__quicknav-btn { padding: 14px 24px; font-size: 11px; } }
.hero__quicknav-btn.is-active { color: #fff; background: rgba(255,255,255,0.12); }
.hero__quicknav-btn:not(.is-active):hover { color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.05); }
.hero__quicknav-btn svg { width: 16px; height: 16px; }
@media (min-width: 768px) { .hero__quicknav-btn svg { width: 18px; height: 18px; } }
.hero__quicknav-label { display: none; }
@media (min-width: 768px) { .hero__quicknav-label { display: inline; } }
.hero__quicknav-indicator {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 24px; height: 2px; background: var(--analdex-yellow); border-radius: 9999px;
  display: none;
}
@media (min-width: 768px) { .hero__quicknav-indicator { width: 32px; } }
.hero__quicknav-btn.is-active .hero__quicknav-indicator { display: block; }

/* Progress bar */
.hero__progress { height: 3px; width: 100%; background: rgba(17,40,82,0.3); }
.hero__progress-bar { height: 100%; background: var(--analdex-yellow); width: 0%; }
/* Encabezado sin imagen asignada: manda el degradado de marca en lugar de
   estirar el marcador de posición a pantalla completa. */
.hero--sin-imagen .hero__container { background: linear-gradient(135deg, var(--analdex-navy-dark) 0%, var(--analdex-navy) 55%, var(--analdex-blue-mid) 100%); }
