/* Scroll reveal */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero title underline draw (highlight word) */
.hero-title .highlight {
  color: var(--rojo);
  font-style: italic;
  background-image: linear-gradient(var(--rojo), var(--rojo));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 2px;
  padding-bottom: 4px;
  transition: background-size 0.8s ease 1s;
}

.hero-loaded .hero-title .highlight {
  background-size: 100% 2px;
}

/* Hero floating card */
.hero-floating-card {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(116, 153, 181, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(116, 153, 181, 0.25);
  border-radius: 20px;
  padding: 28px 32px;
  width: 260px;
  will-change: transform;
}

@media (max-width: 1024px) {
  .hero-floating-card {
    display: none;
  }
}

/* FAQ accordion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* Programa card watermark */
.programa-card .card-number {
  transition: opacity 0.4s ease;
}

.programa-card:hover .card-number {
  opacity: 0.22;
}
