/* RSHitos */

.rs-hitos {
  padding: 6rem 0;
  background: var(--analdex-navy);
  position: relative;
  overflow: hidden;
}
.rs-hitos__grid-bg {
  position: absolute; inset: 0; opacity: 0.04; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.8) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.8) 1px, transparent 1px);
  background-size: 60px 60px;
}
.rs-hitos__glow {
  position: absolute; top: -10rem; right: -10rem; width: 500px; height: 500px;
  background: hsla(45,100%,50%,0.10); border-radius: 50%; filter: blur(48px); pointer-events: none;
}
.rs-hitos__inner { position: relative; max-width: var(--max-width); margin: 0 auto; padding: 0 var(--px-mobile); }
@media (min-width: 768px) { .rs-hitos__inner { padding: 0 1.5rem; } }

/* Header */
.rs-hitos__header { margin-bottom: 3.5rem; }
.rs-hitos__title { font-size: 2.25rem; font-weight: 900; color: var(--white); line-height: 1.15; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .rs-hitos__title { font-size: 3rem; } }
.rs-hitos__subtitle { color: rgba(255,255,255,0.50); font-size: 0.875rem; max-width: 28rem; line-height: 1.6; }

/* Layout */
.rs-hitos__layout { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .rs-hitos__layout { grid-template-columns: 1fr 1fr; } }

/* Image */
.rs-hitos__image { position: relative; border-radius: var(--radius-3xl); overflow: hidden; aspect-ratio: 4/3; }
.rs-hitos__image img { width: 100%; height: 100%; object-fit: cover; transition: opacity var(--transition-slow); }
.rs-hitos__image-overlay { position: absolute; inset: 0; background: linear-gradient(to top, hsla(220,76%,20%,0.80), transparent, transparent); }
.rs-hitos__year-badge { position: absolute; top: 1.5rem; left: 1.5rem; background: var(--analdex-yellow); color: var(--analdex-navy); font-size: 1.5rem; font-weight: 900; padding: 0.5rem 1.25rem; border-radius: var(--radius-2xl); }
.rs-hitos__stat-badge { position: absolute; bottom: 1.5rem; right: 1.5rem; text-align: right; }
.rs-hitos__stat-value { font-size: 2.25rem; font-weight: 900; color: var(--analdex-yellow); }
.rs-hitos__stat-label { color: rgba(255,255,255,0.60); font-size: 0.75rem; margin-top: 0.125rem; }

/* Timeline list */
.rs-hitos__list { display: flex; flex-direction: column; gap: 0; }
.rs-hitos__item {
  display: flex; align-items: flex-start; gap: 1.25rem; padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.10); cursor: pointer;
  text-align: left; transition: opacity var(--transition-fast);
}
.rs-hitos__item:last-child { border-bottom: none; }
.rs-hitos__item.inactive { opacity: 0.5; }
.rs-hitos__item.inactive:hover { opacity: 0.8; }

.rs-hitos__dot-col { display: flex; flex-direction: column; align-items: center; padding-top: 0.25rem; flex-shrink: 0; }
.rs-hitos__dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.40); transition: all var(--transition-base); }
.rs-hitos__dot.active { background: var(--analdex-yellow); border-color: var(--analdex-yellow); transform: scale(1.25); }
.rs-hitos__dot-line { width: 1px; flex: 1; margin-top: 0.5rem; background: rgba(255,255,255,0.10); min-height: 32px; }

.rs-hitos__item-year { font-size: 0.75rem; font-weight: 900; letter-spacing: 0.1em; color: rgba(255,255,255,0.40); margin-bottom: 0.25rem; }
.rs-hitos__item-year.active { color: var(--analdex-yellow); }
.rs-hitos__item-title { font-weight: 900; font-size: 1.125rem; line-height: 1.2; margin-bottom: 0.5rem; color: rgba(255,255,255,0.70); }
.rs-hitos__item-title.active { color: var(--white); }
.rs-hitos__item-desc { color: rgba(255,255,255,0.55); font-size: 0.875rem; line-height: 1.6; display: none; }
.rs-hitos__item-desc.active { display: block; }