/* Subtle ambient motion and a stronger 2027 enrollment callout. */
.ambient-bubbles {
  position: fixed;
  inset: 0;
  z-index: 12;
  overflow: hidden;
  pointer-events: none;
}

.ambient-bubbles i {
  position: absolute;
  display: block;
  border-radius: 50%;
  border: 1px solid rgba(40, 143, 253, .2);
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.72), rgba(40,143,253,.14) 43%, rgba(0,0,84,.05) 72%);
  box-shadow: inset 0 0 24px rgba(255,255,255,.35), 0 12px 35px rgba(0,0,84,.07);
  opacity: .55;
  animation: pimg-bubble-float 12s ease-in-out infinite alternate;
}

.ambient-bubbles i:nth-child(1) { width: 84px; height: 84px; left: -26px; top: 20%; animation-duration: 11s; }
.ambient-bubbles i:nth-child(2) { width: 44px; height: 44px; right: 4%; top: 15%; animation-duration: 8s; animation-delay: -3s; }
.ambient-bubbles i:nth-child(3) { width: 118px; height: 118px; right: -54px; top: 38%; animation-duration: 15s; animation-delay: -6s; }
.ambient-bubbles i:nth-child(4) { width: 58px; height: 58px; left: 3%; top: 60%; animation-duration: 10s; animation-delay: -4s; }
.ambient-bubbles i:nth-child(5) { width: 92px; height: 92px; right: 2%; top: 78%; animation-duration: 13s; animation-delay: -8s; border-color: rgba(232,181,75,.28); background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.75), rgba(232,181,75,.2) 45%, rgba(232,181,75,.04) 72%); }
.ambient-bubbles i:nth-child(6) { width: 34px; height: 34px; left: 7%; top: 88%; animation-duration: 9s; animation-delay: -2s; border-color: rgba(232,181,75,.3); background: rgba(232,181,75,.12); }

@keyframes pimg-bubble-float {
  0% { transform: translate3d(0, 14px, 0) scale(.96); }
  50% { transform: translate3d(10px, -12px, 0) scale(1.03); }
  100% { transform: translate3d(-5px, -34px, 0) scale(1); }
}

.cohort-announcement {
  min-height: 205px;
  padding-top: 38px;
  padding-bottom: 38px;
  isolation: isolate;
  box-shadow: inset 0 -1px 0 rgba(0,0,84,.14);
}

.cohort-announcement::before,
.cohort-announcement::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.cohort-announcement::before {
  width: 250px;
  height: 250px;
  right: 18%;
  top: -155px;
  border: 1px solid rgba(255,255,255,.4);
  box-shadow: 0 0 0 28px rgba(255,255,255,.08), 0 0 0 58px rgba(0,0,84,.035);
}

.cohort-announcement::after {
  width: 110px;
  height: 110px;
  left: 42%;
  bottom: -76px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.36);
}

.cohort-year {
  font-size: clamp(4.25rem, 7.2vw, 7.2rem);
}

.cohort-announcement-copy > span {
  font-size: clamp(.74rem, .9vw, .9rem);
}

.cohort-announcement-copy > strong {
  font-size: clamp(2rem, 3.4vw, 3.45rem);
  line-height: 1.08;
}

.cohort-announcement-copy > small {
  display: block;
  margin-top: 10px;
  color: rgba(0,0,84,.72);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .03em;
}

.cohort-enroll-button {
  min-width: 228px;
  min-height: 74px;
  padding: 23px 32px;
  border-radius: 14px;
  font-size: 1.08rem;
  font-weight: 700;
  box-shadow: 0 16px 30px rgba(0,0,84,.2);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.cohort-enroll-button { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center; }
.cohort-enroll-button > span { align-self: end; font-size: 1.28rem; line-height: 1.1; }
.cohort-enroll-button > small { grid-column: 1; color: rgba(255,255,255,.78); font-size: .76rem; line-height: 1.3; font-weight: 500; }
.cohort-enroll-button .visual-icon { grid-column: 2; grid-row: 1 / span 2; }

.conversion-gateway {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #000054;
  color: #fff;
}
.conversion-gateway > div { position: relative; padding: 38px 7vw 42px; overflow: hidden; }
.conversion-gateway > div + div { border-left: 1px solid rgba(255,255,255,.18); background: linear-gradient(125deg,rgba(40,143,253,.28),rgba(0,0,84,0)); }
.conversion-gateway > div::after { content: ""; position: absolute; width: 150px; height: 150px; right: -65px; bottom: -90px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 25px rgba(255,255,255,.035); }
.conversion-gateway span { display: block; margin-bottom: 10px; color: #e8b54b; font-size: .64rem; font-weight: 700; letter-spacing: .13em; }
.conversion-gateway strong { display: block; max-width: 470px; font: 600 clamp(1.15rem,1.8vw,1.65rem)/1.3 var(--display); letter-spacing: -.035em; }
.conversion-gateway a { display: inline-flex; gap: 8px; margin-top: 18px; color: #fff; font-size: .76rem; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.48); padding-bottom: 4px; }

.enrollment-submit { width: 100%; min-height: 62px; justify-content: space-between; font-size: .92rem; }

.cohort-enroll-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 38px rgba(0,0,84,.28);
}

.cohort-enroll-button .visual-icon {
  width: 26px;
  height: 26px;
  flex-basis: 26px;
}

@media (max-width: 900px) {
  .cohort-announcement { min-height: 175px; }
  .cohort-year { font-size: 4rem; }
  .cohort-announcement-copy > strong { font-size: 1.8rem; }
  .cohort-enroll-button { min-width: 190px; min-height: 64px; padding: 19px 24px; font-size: 1rem; }
}

@media (max-width: 570px) {
  .ambient-bubbles i { opacity: .4; }
  .ambient-bubbles i:nth-child(2),
  .ambient-bubbles i:nth-child(4),
  .ambient-bubbles i:nth-child(6) { display: none; }
  .cohort-announcement { min-height: 0; padding: 30px 24px; }
  .cohort-year { font-size: 3.2rem; }
  .cohort-announcement-copy > strong { font-size: 1.35rem; }
  .cohort-enroll-button { min-width: 0; min-height: 60px; padding: 18px 22px; font-size: 1rem; border-radius: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-bubbles i { animation: none; }
  .cohort-enroll-button { transition: none; }
}

.floating-whatsapp,
.floating-instagram {
  position: fixed;
  right: 22px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: #1f9d55;
  box-shadow: 0 14px 34px rgba(5, 72, 40, .3);
  font-size: .82rem;
  font-weight: 700;
  transition: transform .22s ease, box-shadow .22s ease;
}
.floating-whatsapp { bottom: 22px; }
.floating-instagram { bottom: 90px; background: linear-gradient(135deg,#833ab4 0%,#fd1d1d 52%,#fcb045 100%); box-shadow: 0 14px 34px rgba(131,58,180,.28); }
.floating-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(5,72,40,.38); }
.floating-instagram:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(131,58,180,.38); }
.floating-whatsapp svg,
.floating-instagram svg { width: 25px; height: 25px; }
.floating-whatsapp svg { fill: currentColor; }

.nav-shell nav > a:not(.nav-cta) { position: relative; }
.nav-shell nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 3px; border-radius: 4px; background: #e8b54b; transition: right .25s ease; }
.nav-shell nav > a.active:not(.nav-cta)::after,
.nav-shell nav > a:not(.nav-cta):hover::after { right: 0; }

.journey-strip { padding: 76px 7vw 82px; background: #f4f7fc; overflow: hidden; }
.journey-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.journey-heading > span { color: #355785; font-size: .68rem; font-weight: 700; letter-spacing: .14em; }
.journey-heading h2 { margin: 0; color: #000054; font: 600 clamp(1.8rem,3.4vw,3rem)/1.2 var(--display); letter-spacing: -.045em; }
.journey-steps { position: relative; display: grid; grid-template-columns: repeat(6,1fr); gap: 0; padding: 0; margin: 0; list-style: none; }
.journey-steps::before { content: ""; position: absolute; left: 5%; right: 5%; top: 27px; height: 2px; background: linear-gradient(90deg,#288ffd,#e8b54b); }
.journey-steps li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 13px; color: #000054; text-align: center; }
.journey-steps b { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid #288ffd; box-shadow: 0 8px 22px rgba(0,0,84,.1); font-size: .74rem; }
.journey-steps li:nth-child(n+5) b { border-color: #e8b54b; }
.journey-steps span { font-size: .79rem; font-weight: 700; }

.reveal-on-scroll { opacity: 0; transform: translateY(32px); transition: opacity .7s ease var(--reveal-delay,0ms), transform .7s cubic-bezier(.2,.72,.2,1) var(--reveal-delay,0ms); }
.reveal-on-scroll.is-visible { opacity: 1; transform: none; }

.success-grid { display: flex; grid-template-columns: none; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 2px 2px 20px; scrollbar-width: thin; scrollbar-color: #c7d7eb transparent; }
.success-grid::-webkit-scrollbar { height: 7px; }
.success-grid::-webkit-scrollbar-thumb { background: #c7d7eb; border-radius: 10px; }
.success-grid .success-card { flex: 0 0 calc((100% - 48px)/3); scroll-snap-align: start; }
.story-carousel-controls { display: inline-flex; align-items: center; gap: 10px; }
.story-carousel-controls button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid #dcdce8; background: #fff; color: #000054; font-size: 1.25rem; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.story-carousel-controls button:hover:not(:disabled) { transform: translateY(-2px); background: #e8b54b; }
.story-carousel-controls button:disabled { opacity: .35; cursor: default; }
.story-position { min-width: 54px; text-align: center; color: #000054; font-size: .75rem; font-weight: 700; }

@media (max-width: 900px) {
  .journey-heading { display: block; }
  .journey-heading > span { display: block; margin-bottom: 12px; }
  .journey-steps { grid-template-columns: repeat(3,1fr); gap: 30px 8px; }
  .journey-steps::before { display: none; }
  .success-grid .success-card { flex-basis: calc((100% - 24px)/2); }
}

@media (max-width: 570px) {
  .floating-whatsapp { right: 15px; bottom: 15px; width: 58px; height: 58px; min-height: 58px; padding: 0; justify-content: center; border: 2px solid rgba(255,255,255,.82); }
  .floating-instagram { right: 15px; bottom: 85px; width: 58px; height: 58px; min-height: 58px; padding: 0; justify-content: center; border: 2px solid rgba(255,255,255,.82); }
  .floating-whatsapp span,
  .floating-instagram span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cohort-enroll-button > span { font-size: 1.55rem; }
  .cohort-enroll-button > small { font-size: .88rem; }
  .cohort-enroll-button .visual-icon { width: 32px; height: 32px; flex-basis: 32px; }
  .conversion-gateway { grid-template-columns: 1fr; }
  .conversion-gateway > div { padding: 30px 24px 34px; }
  .conversion-gateway > div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .journey-strip { padding: 58px 24px 62px; }
  .journey-heading { margin-bottom: 30px; }
  .journey-heading h2 { font-size: 1.75rem; }
  .journey-steps span { font-size: .7rem; }
  .success-grid .success-card { flex-basis: 92%; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll { opacity: 1; transform: none; transition: none; }
  .floating-whatsapp, .floating-instagram, .nav-shell nav > a::after { transition: none; }
}
