/* ==========================================================================
   LANDING PAGE ORT - DISEÑO DIGITAL 3D + IA
   Hoja de Estilo Consolidada y Optimizada (Mobile-First Estricto)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES & RESET BASE
   -------------------------------------------------------------------------- */
:root {
  --bg-main: #f4f6fa;
  --bg-alt: #eef2f8;
  --text-dark: #251d72;
  --text-muted: #52607d;
  
  --accent-pink: #e81d62;
  --accent-pink-hover: #c2124d;
  --accent-blue: #0066ff;
  --accent-gold: #d97706;
  
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.9);
  --glass-shadow: 0 10px 30px rgba(15, 28, 63, 0.06);
  --track-grey: #cbd5e1;

  /* Transiciones UX Estándar */
  --ux-transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(at 0% 0%, rgba(232, 29, 98, 0.05) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(0, 102, 255, 0.05) 0px, transparent 50%);
  background-attachment: scroll;
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100%;
}

/* --------------------------------------------------------------------------
   2. SISTEMA DE MICRO-ANIMACIONES Y EFECTOS UX EN BOTONES
   -------------------------------------------------------------------------- */
.btn-ux-shimmer {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-ux-shimmer::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: uxShimmerLoop 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

@keyframes uxShimmerLoop {
  0% { left: -75%; }
  20%, 100% { left: 125%; }
}

/* Feedback Háptico / Presión Tactil */
.btn:active,
.btn-pink-nav:active,
.btn-hero-shimmer:active,
.btn-cta-magenta-hero:active,
.btn-sticky-vacante:active {
  transform: translateY(1px) scale(0.98) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

/* Animación de Iconos Internos */
.btn:hover .arrow-btn,
.btn:hover .cta-arrow-icon {
  transform: translateY(3px);
}

.btn-cta-magenta-hero:hover .cta-arrow-icon {
  transform: translateX(4px);
}

.btn-sticky-vacante:hover .cta-star-icon {
  transform: rotate(15deg) scale(1.2);
  color: #ffea00;
}

.cta-arrow-icon, .arrow-btn, .cta-star-icon {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Accesibilidad y Enfoque */
.btn:focus-visible,
a:focus-visible {
  outline: 3px solid var(--accent-pink) !important;
  outline-offset: 3px !important;
}

/* --------------------------------------------------------------------------
   3. NAVBAR REDISEÑADO
   -------------------------------------------------------------------------- */
.navbar-custom {
  background-color: rgba(31, 27, 126,0.9); 
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.navbar-custom .navbar-brand img {
  height: 40px;
  width: auto;
}

.navbar-custom.navbar-hidden {
  transform: translateY(-100%);
}

@media (prefers-reduced-motion: reduce) {
  .navbar-custom { transition: none; }
}

.navbar-custom .nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 0;
  transition: color 0.25s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link:focus {
  color: var(--accent-pink);
}

.nav-btn-wrapper {
  width: 100%;
}

.btn-pink-nav {
  background: linear-gradient(135deg, #e81d62 0%, #c2124d 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 30px;
  padding: 12px 26px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-shadow: 0 4px 15px rgba(232, 29, 98, 0.35);
  transition: var(--ux-transition);
  text-decoration: none;
}

.btn-pink-nav:hover {
  background: linear-gradient(135deg, #ff2a73 0%, #d81557 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(232, 29, 98, 0.55);
}

/* --------------------------------------------------------------------------
   4. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  background: linear-gradient(-45deg, #221a6f 0%, #1f1b7e 50%, #d81557 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.min-vh-hero {
  min-height: auto;
}

.hero-content-col {
  padding-top: 40px;
  padding-bottom: 40px;
  z-index: 2;
  position: relative;
}

.hero-text-wrapper {
  width: 100%;
  max-width: 100%;
}

.badge-pill-live {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 18px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: #00ff88;
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 10px #00ff88;
  animation: blinkLive 1.8s infinite;
}

@keyframes blinkLive {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(3.8rem, 5vw + 1rem, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #ffffff;
  word-break: break-word;
}

.highlight-hero-ia {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.badge-ia-glow, .badge-glow {
  background: linear-gradient(135deg, #0066ff 0%, #e81d62 80%, #f59e0b 100%);
  color: #ffffff;
  padding: 4px 16px;
  border-radius: 12px;
  font-size: 0.75em;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(232, 29, 98, 0.5);
}

.hero-subtitle {
  font-size: clamp(1.6rem, 2vw + 0.5rem, 1.75rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  line-height: 1.25;
}

.text-pink-highlight {
  color: var(--accent-pink);
  font-weight: 700;
}

.hero-text {
  font-size: clamp(1.2rem, 1vw + 0.5rem, 1.2rem);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 36px;
  line-height: 1.55;
  font-weight: 400;
}

.btn-hero-shimmer {
  background: linear-gradient(135deg, #e81d62 0%, #c2124d 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 35px;
  padding: 14px 32px;
  text-transform: uppercase;
  border: none;
  box-shadow: 0 8px 25px rgba(232, 29, 98, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 100%;
  max-width: 320px;
  transition: var(--ux-transition);
}

.btn-hero-shimmer:hover {
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(232, 29, 98, 0.65);
}

.hero-img-edge-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  z-index: 1;
}

.hero-img-cover-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-bottom-left-radius: 40px;
}

.hero-full-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-anim-1, .hero-anim-2, .hero-anim-3, .hero-anim-4, .hero-anim-5 {
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   5. INGRESOS Y TITULACIONES
   -------------------------------------------------------------------------- */
.ingresos-section-refactored {
  padding: 50px 0;
  background-color: #ffffff;
}

.ingresos-title,
.timeline-title,
.cta-hero-title {
  font-size: clamp(2.2rem, 3.5vw + 0.5rem, 2.8rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.ingresos-title {
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  vertical-align: middle;
}

.pill-meses {
  background: linear-gradient(135deg, #e81d62 0%, #251d72 100%);
  color: #ffffff;
  padding: 6px 22px 8px 22px;
  border-radius: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85em;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 6px 20px rgba(232, 29, 98, 0.35);
}

.ingresos-features-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-pill-item {
  border: 1px solid rgba(15, 28, 63, 0.08);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 1.1rem;
  color: #e81d62;
  font-weight: 500;
}

.modalidad-banner-dark {
  background: linear-gradient(135deg, #251d72 0%, #1f1b7e 100%);
  border-radius: 18px;
  padding: 24px 18px;
  box-shadow: 0 14px 35px rgba(15, 28, 63, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modalidad-tag-dark {
  font-size: 0.75rem;
  font-weight: 800;
  color: #00ff88;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: block;
}

.modalidad-live-box-dark-lg {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  padding: 10px 16px;
  border-radius: 20px;
  width: 100%;
}

.pulse-live-dot {
  width: 10px;
  height: 10px;
  background-color: #00ff88;
  border-radius: 50%;
  display: inline-block;
  margin-right: 10px;
  flex-shrink: 0;
  box-shadow: 0 0 10px #00ff88;
}

.modalidad-live-info-lg {
  font-size: 0.9rem;
  color: #ffffff;
  line-height: 1.35;
}

.modalidad-title-dark-hero {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.titulacion-card {
  border-radius: 18px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid rgba(15, 28, 63, 0.08);
  box-shadow: 0 8px 25px rgba(15, 28, 63, 0.05);
  transition: var(--ux-transition);
}

.titulacion-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 28, 63, 0.1);
}

.card-accent-blue { border-top: 4px solid #0066ff; }
.card-accent-pink { border-top: 4px solid #e81d62; }
.card-accent-gold { border-top: 4px solid #d97706; }

.card-seal-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f4f8;
}

.seal-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.seal-number { font-size: 1.2rem; font-weight: 800; line-height: 1; }
.seal-label { font-size: 0.6rem; font-weight: 800; }

.seal-blue { background-color: #0066ff; color: #ffffff; }
.seal-pink { background-color: #e81d62; color: #ffffff; }
.seal-gold { background-color: #d97706; color: #ffffff; }

.meta-type { font-size: 1rem; font-weight: 800; letter-spacing: 0.3px; }
.meta-time { font-size: 1rem; font-weight: 600; color: #52607d; }

.text-blue { color: #0066ff; }
.text-pink { color: #e81d62; }
.text-gold { color: #d97706; }

.titulacion-nombre {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.titulacion-desc { font-size: 1rem; line-height: 1.5; margin: 0; color: #52607d; }

/* --------------------------------------------------------------------------
   6. LÍNEA DE TIEMPO CONTENIDA
   -------------------------------------------------------------------------- */
.timeline-section-container {
  padding: 50px 0;
}

.timeline-box-wrapper {
  border-radius: 20px;
  padding: 24px 16px;
  box-shadow: 0 12px 40px rgba(15, 28, 63, 0.06);
  max-width: 960px;
  margin: 0 auto;
}

.timeline-wrapper {
  position: relative;
  display: flex;
  width: 100%;
}

.timeline-track-column {
  width: 28px;
  position: relative;
  flex-shrink: 0;
}

.timeline-track-bg {
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--track-grey);
  border-radius: 2px;
  transform: translateX(-50%);
}

.timeline-track-progress {
  position: absolute;
  left: 14px;
  top: 0;
  width: 3px;
  height: 0px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transform: translateX(-50%);
  will-change: height;
  z-index: 2;
}

.static-node {
  position: absolute;
  left: 14px;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  z-index: 10;
  transition: transform 0.3s ease;
}

.node-white { background-color: var(--accent-blue); }
.node-pink { background-color: var(--accent-pink); }
.node-gold { background-color: var(--accent-gold); }

.static-node.active-stroke {
  transform: translate(-50%, -50%) scale(1.4);
  box-shadow: 0 0 0 3px #ffffff, 0 0 0 6px var(--text-dark);
}

.timeline-bullet-ia {
  position: absolute;
  left: 14px;
  top: 0;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0066ff 0%, #e81d62 80%, #f59e0b 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  will-change: transform;
}

.timeline-content-column {
  flex-grow: 1;
  padding-left: 16px;
  width: calc(100% - 28px);
}

.header-info-row {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.info-pill-container {
  display: block;
  background: #f8fafc;
  border: 1px solid rgba(15, 28, 63, 0.12);
  border-radius: 16px;
  padding: 12px 16px;
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.45;
  width: 100%;
}

.highlight-text {
  background: linear-gradient(135deg, #0066ff 0%, #e81d62 80%, #f59e0b 100%);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.divider-dotted {
  border-bottom: 1.5px dotted rgba(15, 28, 63, 0.2);
  margin: 25px 0;
}

.year-block {
  position: relative;
  margin-bottom: 35px;
}

.badge-year {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 6px;
}

.badge-year.year-1 { background-color: #0066ff; color: #ffffff; }
.badge-year.year-2 { background-color: var(--accent-pink); color: #ffffff; }
.badge-year.year-3 { background-color: var(--accent-gold); color: #ffffff; }

.section-title {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.3;
  margin-top: 10px;
  display: block;
}

.semesters-header {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 700;
  border-bottom: 1.5px solid rgba(15, 28, 63, 0.1);
  padding-bottom: 6px;
  margin-top: 14px;
  margin-bottom: 16px;
}

.custom-card {
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(15, 28, 63, 0.05);
}

.custom-card.blue-card {
  background: linear-gradient(135deg, #0066ff 0%, #0159dc 100%);
  color: #ffffff;
}

.custom-card.pink-card {
  background: linear-gradient(135deg, #e81d62 0%, #be1550 100%);
  color: #ffffff;
}

.card-title-header {
  padding: 14px 18px 6px 18px;
  font-weight: 700;
  font-size: 1.1rem;
}

.card-body-content {
  padding: 0 18px 16px 18px;
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0.95;
}

.badge-pill-outline {
  display: block;
  border: 1.5px solid var(--accent-pink);
  background-color: rgba(232, 29, 98, 0.05);
  color: var(--accent-pink);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  width: 100%;
  font-size: 0.9rem;
}

.grid-tags {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

 .tag-box {
  background-color: #d97706;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  font-weight: 700;
  color: #ffffff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
}

/* --------------------------------------------------------------------------
   7. PERFIL VERSÁTIL & NUBE DE PALABRAS
   -------------------------------------------------------------------------- */
.perfil-versatil-section {
  padding: 50px 0;
  background: linear-gradient(135deg, #1f1b7e 0%, #1f1b7e 60%, #e81d62 100%);
}

.perfil-card-wrapper {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.perfil-img-wrapper {
  height: 240px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.perfil-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.perfil-content-col {
  padding: 24px 20px;
  background-color: #ffffff;
}

.perfil-header-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.rocket-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background-color: #eaf2ff;
  color: #251d72;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.perfil-header-texts {
  flex-grow: 1;
}

.perfil-title {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin: 0;
}

.perfil-subtitle {
  font-size: clamp(1rem, 1vw + 0.4rem, 1.1rem);
  color: var(--text-muted);
  margin: 4px 0 0 0;
  line-height: 1.35;
}

.perfil-legend-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.legend-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
}

.legend-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.badge-year-1 .dot { background-color: #0066ff; }
.badge-year-2 .dot { background-color: #e81d62; }
.badge-year-3 .dot { background-color: #d97706; }

.cloud-wrapper-dynamic {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 0;
}

.cloud-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  line-height: 1.1;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cloud-tag:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(15, 28, 63, 0.15);
}

.cloud-tag.level-1 {
  font-size: 1.05rem;
  font-weight: 800;
  padding: 10px 18px;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cloud-tag.level-1.bg-y1 { background-color: #0066ff; border: 1.5px solid #0052cc; }
.cloud-tag.level-1.bg-y2 { background-color: #e81d62; border: 1.5px solid #c2124d; }
.cloud-tag.level-1.bg-y3 { background-color: #d97706; border: 1.5px solid #b45309; }

.cloud-tag.level-2 {
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 14px;
}

.cloud-tag.level-2.bg-y1-light { background-color: rgba(0, 102, 255, 0.1); border: 1.5px solid rgba(0, 102, 255, 0.4); color: #0052cc; }
.cloud-tag.level-2.bg-y2-light { background-color: rgba(232, 29, 98, 0.1); border: 1.5px solid rgba(232, 29, 98, 0.4); color: #e81d62; }
.cloud-tag.level-2.bg-y3-light { background-color: rgba(217, 119, 6, 0.1); border: 1.5px solid rgba(217, 119, 6, 0.4); color: #b45309; }

.cloud-tag.level-3 {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
}

.cloud-tag.level-3.bg-y1-subtle { background-color: rgba(0, 102, 255, 0.06); border: 1px solid rgba(0, 102, 255, 0.2); color: #0052cc; }
.cloud-tag.level-3.bg-y2-subtle { background-color: rgba(232, 29, 98, 0.06); border: 1px solid rgba(232, 29, 98, 0.2); color: #e81d62; }
.cloud-tag.level-3.bg-y3-subtle { background-color: rgba(217, 119, 6, 0.06); border: 1px solid rgba(217, 119, 6, 0.2); color: #b45309; }

.float-anim-1 { animation: floatSlow 4s ease-in-out infinite; }
.float-anim-2 { animation: floatSlow 5s ease-in-out infinite 0.7s; }
.float-anim-3 { animation: floatSlow 4.5s ease-in-out infinite 1.4s; }

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* --------------------------------------------------------------------------
   8. FORMULARIO CONTACTO
   -------------------------------------------------------------------------- */
.form-section-hero-cta {
  padding: 50px 0;
  background-color: var(--bg-main);
}

.cta-hero-subtitle {
  font-size: 1rem;
  color: #52607d;
  margin-bottom: 24px;
}

.cta-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 0;
  margin-bottom: 30px;
}

.cta-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  color: #251d72;
}

.benefit-check-icon {
  font-size: 1.2rem;
  color: #251d72;
  flex-shrink: 0;
}

.form-hero-card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 24px 18px;
  border: 1px solid rgba(15, 28, 63, 0.08);
  box-shadow:
    0 18px 45px rgba(15, 28, 63, 0.14),
    0 8px 18px rgba(15, 28, 63, 0.08),
    0 0 0 1px rgba(232, 29, 98, 0.06),
    0 0 28px rgba(232, 29, 98, 0.12),
    0 0 60px rgba(101, 78, 235, 0.10);
  animation: formFloat 5s ease-in-out infinite;
  transition: box-shadow 0.4s ease;
}

@keyframes formFloat {
  0%, 100% {
    transform: translateY(0);
    box-shadow:
      0 18px 45px rgba(15, 28, 63, 0.14),
      0 8px 18px rgba(15, 28, 63, 0.08),
      0 0 0 1px rgba(232, 29, 98, 0.06),
      0 0 28px rgba(232, 29, 98, 0.12),
      0 0 60px rgba(101, 78, 235, 0.10);
  }
  50% {
    transform: translateY(-8px);
    box-shadow:
      0 30px 60px rgba(15, 28, 63, 0.18),
      0 12px 24px rgba(15, 28, 63, 0.10),
      0 0 0 1px rgba(232, 29, 98, 0.08),
      0 0 38px rgba(232, 29, 98, 0.18),
      0 0 80px rgba(101, 78, 235, 0.14);
  }
}

@media (prefers-reduced-motion: reduce) {
  .form-hero-card { animation: none; }
}


.form-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #251d72;
}

.input-cta-hero {
  background-color: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 12px !important;
  color: #251d72 !important;
  font-size: 1rem !important;
  height: 52px;
}

.input-cta-hero:focus {
  background-color: #ffffff !important;
  border-color: #e81d62 !important;
  box-shadow: 0 0 0 3px rgba(232, 29, 98, 0.15) !important;
}

.recaptcha-hero-box {
  background-color: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-cta-magenta-hero {
  background: linear-gradient(135deg, #e81d62 0%, #be1550 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 14px 20px;
  border-radius: 35px;
  border: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(232, 29, 98, 0.35);
  transition: var(--ux-transition);
}

.btn-cta-magenta-hero:hover {
  background: linear-gradient(135deg, #ff2a73 0%, #d81557 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(232, 29, 98, 0.55);
}

/* --------------------------------------------------------------------------
   9. CARRUSEL & FOOTER
   -------------------------------------------------------------------------- */
.gallery-carousel-section {
  background: linear-gradient(-45deg, #be1550 0%, #e81d62 35%, #1f1b7e 70%, #251d72 100%);
  padding: 30px 0;
  position: relative;
}

.gallery-track-container {
  width: 100%;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 12px;
  transition: transform 0.4s ease-out;
  padding: 10px 16px;
}

.gallery-item {
  flex: 0 0 180px;
  height: 240px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ffffff;
  color: #251d72;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
  transition: var(--ux-transition);
}

.carousel-btn:hover {
  background-color: var(--accent-pink);
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

.footer-section {
  background-color: #251d72;
  color: #ffffff;
  padding: 22px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.icon-pink { color: var(--accent-pink); font-size: 1.2rem; }

.contact-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.footer-logo {
  max-height: 40px;
  width: auto;
  margin-top: 12px;
}

/* --------------------------------------------------------------------------
   10. DUPLA FLOTANTE INFERIOR
   -------------------------------------------------------------------------- */
.sticky-cta-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(244, 246, 250, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 16px;
  border-top: 1px solid rgba(15, 28, 63, 0.1);
  box-shadow: 0 -6px 20px rgba(15, 28, 63, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: all 0.35s ease;
}

.sticky-cta-container.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-sticky-vacante {
  background: linear-gradient(135deg, #e81d62 0%, #be1550 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 10px 16px;
  border-radius: 30px;
  text-decoration: none !important;
  flex-grow: 1;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--ux-transition);
}

.whatsapp-float-btn-custom {
  width: 44px;
  height: 44px;
  background-color: #25d366;
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  text-decoration: none;
  flex-shrink: 0;
  transition: var(--ux-transition);
}

.whatsapp-float-btn-custom:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
}

/* ==========================================================================
   11. MEDIA QUERIES PROGRESIVOS
   ========================================================================== */

/* Tablet (>= 768px) */
@media (min-width: 768px) {
  body {
    background-attachment: fixed;
  }

  .ingresos-features-row {
    flex-direction: row;
    justify-content: center;
  }

  .feature-pill-item {
    font-size: 1.1rem;
    padding: 8px 20px;
  }

  .timeline-section-container {
    padding: 70px 0;
  }

  .timeline-box-wrapper {
    padding: 36px 32px;
  }

  .timeline-track-column {
    width: 36px;
  }

  .timeline-track-bg, .timeline-track-progress, .static-node, .timeline-bullet-ia {
    left: 18px;
  }

  .timeline-bullet-ia {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .static-node {
    width: 16px;
    height: 16px;
  }

  .timeline-content-column {
    padding-left: 24px;
    width: calc(100% - 36px);
  }

  .info-pill-container {
    display: inline-flex;
    width: auto;
  }

  .section-title {
    font-size: 1.25rem;
    display: inline-block;
  }

  .badge-year {
    margin-bottom: 0;
    margin-right: 8px;
    font-size: 0.88rem;
  }

  .grid-tags {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .badge-outline-row {
    display: flex;
    justify-content: flex-end;
  }

  .badge-pill-outline {
    width: auto;
    display: inline-block;
  }

  .perfil-content-col {
    padding: 36px 32px;
  }

  .rocket-badge-icon {
    width: 54px;
    height: 54px;
    font-size: 1.5rem;
  }

  .cloud-wrapper-dynamic {
    gap: 12px;
    padding: 16px 0;
  }

  .cloud-tag.level-1 { font-size: 1.2rem; padding: 12px 22px; }
  .cloud-tag.level-2 { font-size: 1rem; padding: 9px 16px; }
  .cloud-tag.level-3 { font-size: 1rem; padding: 7px 14px; }

  .perfil-img-wrapper {
    height: 100%;
    min-height: 380px;
  }

  .gallery-item {
    flex: 0 0 240px;
    height: 320px;
  }

  .footer-logo {
    margin-top: 0;
  }
}

/* Desktop (>= 992px) */
@media (min-width: 992px) {
  .navbar-custom .nav-link {
    padding: 0;
  }

  .nav-btn-wrapper {
    width: auto;
  }

  .btn-pink-nav {
    width: auto;
    font-size: 1rem;
    padding: 10px 24px;
  }

  .hero-section {
    padding: 60px 0;
  }

  .min-vh-hero {
    min-height: 85vh;
  }

  .hero-content-col {
    padding-top: 90px;
    padding-bottom: 90px;
    padding-left: 45px;
    padding-right: 45px;
  }

  .hero-text-wrapper {
    max-width: 620px;
  }

  .btn-hero-shimmer {
    width: auto;
    font-size: 1.05rem;
    padding: 16px 38px;
  }

  .hero-img-edge-wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 100%;
  }

  .hero-img-cover-wrapper {
    border-bottom-left-radius: 120px;
  }

  .modalidad-banner-dark {
    padding: 30px 38px;
  }

  .border-start-lg {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  .perfil-content-col {
    padding: 48px 45px;
  }

  .form-hero-card {
    padding: 42px 36px;
  }

  /* Limpieza total del contenedor flotante en Desktop */
  .sticky-cta-container {
    bottom: 25px;
    right: 25px;
    left: auto;
    width: auto;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  .btn-sticky-vacante {
    font-size: 0.92rem;
    padding: 13px 24px;
    flex-grow: 0;
  }

  .whatsapp-float-btn-custom {
    width: 54px;
    height: 54px;
    font-size: 1.8rem;
  }
}

.collapse{visibility:visible}
.footer-logo{display:inline-block;max-height:40px}

/* --- Mobile: barra CTA fija más grande y llamativa ------------------------ */
@media (max-width: 991.98px) {
  .sticky-cta-container {
    padding: 12px 16px;
  }

  .btn-sticky-vacante {
    font-size: 1rem;
    padding: 15px 18px;
    overflow: hidden;
    position: relative;
    animation: stickyCtaPulse 2.4s ease-in-out infinite, stickyCtaWobble 5s ease-in-out infinite;
  }

  .btn-sticky-vacante::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 45%;
    background: linear-gradient(105deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 100%);
    animation: stickyCtaShine 4.5s ease-in-out infinite;
    pointer-events: none;
  }

  .whatsapp-float-btn-custom {
    width: 54px;
    height: 54px;
    font-size: 1.9rem;
    animation: whatsappRingPulse 2.4s ease-in-out infinite;
  }
}

@keyframes stickyCtaPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(232, 29, 98, 0.4); }
  50% { box-shadow: 0 6px 30px rgba(232, 29, 98, 0.9), 0 0 0 7px rgba(232, 29, 98, 0.22); }
}

@keyframes stickyCtaShine {
  0%, 55% { transform: translateX(-120%) skewX(-18deg); }
  75%, 100% { transform: translateX(240%) skewX(-18deg); }
}

@keyframes whatsappRingPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  50% { box-shadow: 0 0 0 9px rgba(37, 211, 102, 0); }
}

@keyframes stickyCtaWobble {
  0%, 78%, 100% { transform: rotate(0deg); }
  82% { transform: rotate(-2.5deg) scale(1.03); }
  86% { transform: rotate(2deg) scale(1.03); }
  90% { transform: rotate(-1.5deg); }
  94% { transform: rotate(1deg); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-sticky-vacante,
  .whatsapp-float-btn-custom {
    animation: none;
  }

  .btn-sticky-vacante::before {
    animation: none;
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Ajuste mobile: prolijar cabecera y leyenda de la tarjeta de perfil
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .perfil-header-box {
    align-items: center;
    gap: 12px;
  }

  .perfil-legend-bar {
    justify-content: center;
    gap: 6px;
  }

  .legend-badge {
    white-space: nowrap;
    padding: 4px 9px;
  }
}
