/* =========================================================
   UAESA Legal Policy — Frontend Styles (v3.9 Cinema)
   Full-width background + centered content + toast notifications
   + cinematic intro + 12s cinematic outro + Careers Apply modal
   ========================================================= */

html { scroll-behavior: smooth; }

/* =========================================================
   FULL-WIDTH BACKGROUND LAYER
   ========================================================= */
.uaesa-lp-bg {
  width: 100vw;
  max-width: 100%;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background-color: #f4f6f8;
  background-image: linear-gradient(180deg, #f4f6f8 0%, #eef2f4 100%);
  padding: 2rem 1rem 6rem;
  box-sizing: border-box;
  overflow-x: hidden;
}

.uaesa-lp-wrapper {
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  color: #263238;
  font-size: 0.87rem;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

.uaesa-lp-wrapper .card.uaesa-lp-card {
  background: #fff;
  border: 1.5px solid transparent;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
  padding: 2rem 2.5rem;
  transition: box-shadow 0.3s ease;
  margin: auto;
  position: relative;
}

.uaesa-lp-wrapper .header-wrapper {
  position: relative;
  display: inline-block;
  cursor: default;
  transition: color 0.3s ease, transform 0.3s ease;
}

.uaesa-lp-wrapper h1,
.uaesa-lp-wrapper h4,
.uaesa-lp-wrapper h5 {
  color: #042C2C;
  font-weight: 700;
  letter-spacing: 0.02em;
  user-select: none;
}
.uaesa-lp-wrapper h1 { font-size: 1.85rem; margin-bottom: 0.75rem; }
.uaesa-lp-wrapper h4 { font-size: 1.05rem; }
.uaesa-lp-wrapper h5 { font-size: 0.95rem; font-weight: 600; }

.uaesa-lp-wrapper .uaesa-lp-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  background: #f8fafb;
  border: 1px solid #e0e8e8;
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  color: #455a64;
}
.uaesa-lp-wrapper .uaesa-lp-meta-item { display: inline-flex; gap: 0.35rem; align-items: baseline; }
.uaesa-lp-wrapper .uaesa-lp-meta-label { color: #78909c; font-weight: 500; }
.uaesa-lp-wrapper .uaesa-lp-meta-value { color: #042C2C; font-weight: 600; }
.uaesa-lp-wrapper .uaesa-lp-meta-sep { color: #b0bec5; }

.uaesa-lp-wrapper .accordion-button {
  font-size: 1rem;
  color: #042C2C;
  background-color: transparent;
  border: 1.5px solid #042C2C;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  padding: 0.6rem 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: none;
  scroll-margin-top: 80px;
}
.uaesa-lp-wrapper .accordion-button:focus { box-shadow: none; outline: none; }
.uaesa-lp-wrapper .accordion-item { border: none; }
.uaesa-lp-wrapper .accordion-body {
  padding: 0 0.6rem 0.75rem 0.6rem;
  animation: uaesaFadeIn 0.4s ease-in-out;
}
.uaesa-lp-wrapper .accordion-collapse { transition: max-height 0.4s ease-in-out; overflow: hidden; }
.uaesa-lp-wrapper .accordion-button:not(.collapsed) { background-color: #e6f1f1; border-color: #042C2C; }

@keyframes uaesaFadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}

.uaesa-lp-wrapper p,
.uaesa-lp-wrapper li { font-size: 0.87rem; color: #37474f; font-weight: 300; }
.uaesa-lp-wrapper ul { padding-left: 1.1rem; margin-bottom: 1.1rem; }
.uaesa-lp-wrapper ul li { margin-bottom: 0.35rem; }
.uaesa-lp-wrapper ol { padding-left: 1.2rem; margin-bottom: 1.1rem; }
.uaesa-lp-wrapper ol li { margin-bottom: 0.35rem; }

.uaesa-lp-wrapper a { color: #042C2C; text-decoration: none; transition: color 0.3s ease; }
.uaesa-lp-wrapper a:hover,
.uaesa-lp-wrapper a:focus { color: #031f1f; text-decoration: underline; }

.uaesa-lp-wrapper hr { border: none; border-top: 1px solid #7a9a99; margin-top: 2rem; margin-bottom: 1rem; }
.uaesa-lp-wrapper .transparent-line { border: none; border-top: 1px solid rgba(0, 0, 0, 0.05); margin: 0.5rem 0 1.5rem 0; }
.uaesa-lp-wrapper .text-muted { color: #90a4ae !important; font-size: 0.75rem; }
.uaesa-lp-wrapper .uaesa-lp-footer-meta { display: block; margin-top: 0.35rem; }
.uaesa-lp-wrapper .legal-note {
  background: #f8fafb;
  border-left: 3px solid #042C2C;
  padding: 0.75rem 1rem;
  margin: 1rem 0;
  font-size: 0.85rem;
  color: #455a64;
  border-radius: 0 6px 6px 0;
}
.uaesa-lp-wrapper .legal-note strong { color: #042C2C; }
.uaesa-lp-wrapper .definition-term { font-weight: 500; color: #042C2C; }
.uaesa-lp-wrapper .effective-badge {
  display: inline-block;
  background: #e6f1f1;
  color: #042C2C;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.uaesa-lp-loader { text-align: center; padding: 2.5rem 1rem; color: #042C2C; font-weight: 300; font-size: 0.87rem; }
.uaesa-lp-spinner {
  display: inline-block;
  width: 2.2rem; height: 2.2rem;
  border: 3px solid rgba(4, 44, 44, 0.15);
  border-top-color: #042C2C;
  border-radius: 50%;
  animation: uaesaSpin 0.8s linear infinite;
  margin-bottom: 0.85rem;
}
@keyframes uaesaSpin { to { transform: rotate(360deg); } }

.uaesa-lp-error {
  background: #fff3f3;
  border: 1px solid #e0b4b4;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  color: #8a2a2a;
  margin: 1.25rem 0;
  font-size: 0.85rem;
}
.uaesa-lp-error a { color: #8a2a2a; text-decoration: underline; }
.uaesa-lp-fade-in { animation: uaesaFadeIn 0.5s ease-in-out; }

#uaesaStickyBtn {
  position: fixed !important;
  bottom: 0; left: 0; width: 100%;
  height: 58px;
  display: flex; justify-content: center; align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.97);
  border: none;
  border-top: 2px solid #00A5A7;
  box-shadow: 0 -2px 12px rgba(0, 165, 167, 0.18);
  z-index: 99999 !important;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
#uaesaStickyBtn:hover { background: #f0fbfb; }
#uaesaStickyBtn .btn-logo { height: 32px; max-height: 40px; width: auto; transition: transform 0.3s ease; }
#uaesaStickyBtn:hover .btn-logo { transform: scale(1.1); }
#uaesaStickyBtn .uaesa-sticky-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  color: #042C2C;
  letter-spacing: 0.02em;
}

.uaesa-finger {
  position: fixed;
  bottom: 68px; left: 50%;
  transform: translateX(-50%);
  width: 44px; height: 44px;
  z-index: 100000;
  pointer-events: none;
  animation: uaesaFingerBounce 1.4s ease-in-out infinite;
  filter: drop-shadow(0 6px 10px rgba(4, 44, 44, 0.25));
  opacity: 0;
  transition: opacity 0.4s ease;
}
.uaesa-finger.is-visible { opacity: 1; }
.uaesa-finger svg { width: 100%; height: 100%; transform: rotate(-20deg); animation: uaesaFingerWiggle 1.4s ease-in-out infinite; }
@keyframes uaesaFingerBounce {
  0%   { transform: translateX(-50%) translateY(0);     opacity: 0.85; }
  50%  { transform: translateX(-50%) translateY(-10px); opacity: 1; }
  100% { transform: translateX(-50%) translateY(0);     opacity: 0.85; }
}
@keyframes uaesaFingerWiggle { 0%, 100% { transform: rotate(-20deg); } 50% { transform: rotate(-5deg); } }
.uaesa-finger::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(0, 165, 167, 0.35);
  animation: uaesaFingerRing 1.4s ease-out infinite;
}
@keyframes uaesaFingerRing {
  0%   { transform: scale(0.85); opacity: 0.9; }
  100% { transform: scale(1.4);  opacity: 0; }
}

#logoOverlay {
  position: fixed !important;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #ffffff;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999999 !important;
}
#logoOverlay.show { display: flex !important; }
#centerLogo { width: auto; height: 70px; max-height: 90px; }

@media (max-width: 768px) {
  .uaesa-lp-bg { padding: 1.5rem 1rem 6rem; }
  .uaesa-lp-wrapper .card.uaesa-lp-card { padding: 1.5rem 1.25rem; }
  .uaesa-lp-wrapper h1 { font-size: 1.55rem; }
  .uaesa-lp-wrapper h4 { font-size: 0.98rem; }
  .uaesa-lp-wrapper h5 { font-size: 0.9rem; }
  .uaesa-lp-wrapper .accordion-button { font-size: 0.92rem; }
  .uaesa-lp-wrapper p,
  .uaesa-lp-wrapper li { font-size: 0.83rem; }
  .uaesa-lp-wrapper .uaesa-lp-meta { font-size: 0.75rem; }
  #centerLogo { height: 55px; max-height: 65px; }
  #uaesaStickyBtn .uaesa-sticky-label { font-size: 0.78rem; }
}

@media (max-width: 480px) {
  .uaesa-lp-bg { padding: 1rem 0.85rem 6rem; }
  .uaesa-lp-wrapper .card.uaesa-lp-card { padding: 1.15rem 0.9rem; }
  .uaesa-lp-wrapper h1 { font-size: 1.35rem; }
  .uaesa-lp-wrapper h4 { font-size: 0.92rem; }
  .uaesa-lp-wrapper h5 { font-size: 0.85rem; }
  .uaesa-lp-wrapper .accordion-button { font-size: 0.85rem; padding: 0.5rem 0.7rem; }
  .uaesa-lp-wrapper p,
  .uaesa-lp-wrapper li { font-size: 0.8rem; }
  .uaesa-lp-wrapper .text-muted { font-size: 0.7rem; }
  .uaesa-lp-wrapper .legal-note { font-size: 0.8rem; padding: 0.6rem 0.8rem; }
  .uaesa-lp-wrapper .uaesa-lp-meta { font-size: 0.72rem; padding: 0.45rem 0.6rem; }
  #centerLogo { height: 45px; max-height: 55px; }
  #uaesaStickyBtn { height: 54px; }
  #uaesaStickyBtn .uaesa-sticky-label { font-size: 0.72rem; }
  .uaesa-finger { width: 36px; height: 36px; bottom: 62px; }
}

/* =========================================================
   TOAST NOTIFICATIONS
   ========================================================= */
.uaesa-lp-toasts {
  position: fixed;
  top: 20px; right: 20px;
  z-index: 1000000;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
  max-width: calc(100vw - 40px);
  width: 340px;
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.uaesa-lp-toast {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: #ffffff;
  color: #263238;
  border-left: 4px solid #042C2C;
  border-radius: 10px;
  padding: 0.85rem 1rem 0.85rem 0.9rem;
  box-shadow: 0 8px 24px rgba(4, 44, 44, 0.16), 0 2px 6px rgba(4, 44, 44, 0.08);
  font-size: 0.85rem;
  line-height: 1.4;
  pointer-events: auto;
  overflow: hidden;
  opacity: 0;
  transform: translateX(120%);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.uaesa-lp-toast.is-visible { opacity: 1; transform: translateX(0); }
.uaesa-lp-toast.is-leaving { opacity: 0; transform: translateX(120%); }
.uaesa-lp-toast--success { border-left-color: #00A5A7; }
.uaesa-lp-toast--success .uaesa-lp-toast__icon { background: #e0f5f5; color: #007f80; }
.uaesa-lp-toast--error   { border-left-color: #d9534f; }
.uaesa-lp-toast--error   .uaesa-lp-toast__icon { background: #fdecec; color: #a6332f; }
.uaesa-lp-toast--info    { border-left-color: #042C2C; }
.uaesa-lp-toast--info    .uaesa-lp-toast__icon { background: #e6f1f1; color: #042C2C; }
.uaesa-lp-toast--warning { border-left-color: #e0a800; }
.uaesa-lp-toast--warning .uaesa-lp-toast__icon { background: #fdf5db; color: #8a6d00; }
.uaesa-lp-toast__icon {
  flex: 0 0 30px; width: 30px; height: 30px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem;
  background: #e6f1f1; color: #042C2C;
}
.uaesa-lp-toast__icon svg { width: 16px; height: 16px; }
.uaesa-lp-toast__body { flex: 1 1 auto; min-width: 0; }
.uaesa-lp-toast__title { font-weight: 600; font-size: 0.88rem; color: #042C2C; margin: 0 0 0.15rem 0; }
.uaesa-lp-toast__message { font-size: 0.82rem; color: #455a64; margin: 0; word-wrap: break-word; overflow-wrap: break-word; }
.uaesa-lp-toast__close {
  flex: 0 0 auto; background: transparent; border: none;
  cursor: pointer; color: #90a4ae; font-size: 1rem; line-height: 1; padding: 0 0.15rem;
  transition: color 0.2s ease;
}
.uaesa-lp-toast__close:hover { color: #042C2C; }
.uaesa-lp-toast__progress {
  position: absolute; left: 0; bottom: 0;
  height: 3px; width: 100%;
  background: rgba(4, 44, 44, 0.08); overflow: hidden;
}
.uaesa-lp-toast__progress::after {
  content: ""; position: absolute; inset: 0;
  background: currentColor;
  transform-origin: left center; transform: scaleX(1);
  animation: uaesaToastProgress linear forwards;
}
.uaesa-lp-toast--success .uaesa-lp-toast__progress::after { color: #00A5A7; }
.uaesa-lp-toast--error   .uaesa-lp-toast__progress::after { color: #d9534f; }
.uaesa-lp-toast--info    .uaesa-lp-toast__progress::after { color: #042C2C; }
.uaesa-lp-toast--warning .uaesa-lp-toast__progress::after { color: #e0a800; }
@keyframes uaesaToastProgress { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.uaesa-lp-toasts .uaesa-lp-toast:nth-child(n+5) { display: none; }
@media (max-width: 480px) {
  .uaesa-lp-toasts { top: auto; bottom: 70px; right: 10px; left: 10px; width: auto; max-width: none; }
  .uaesa-lp-toast { font-size: 0.8rem; padding: 0.75rem 0.85rem; }
  .uaesa-lp-toast__title { font-size: 0.84rem; }
  .uaesa-lp-toast__message { font-size: 0.78rem; }
  .uaesa-lp-toast__icon { flex-basis: 26px; width: 26px; height: 26px; }
}

/* =========================================================
   SHARED CINEMA PIECES (used by intro + outro)
   ========================================================= */
.uaesa-intro-lock,
.uaesa-intro-lock body {
  overflow: hidden !important;
  height: 100%;
}

.uaesa-intro,
.uaesa-outro {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 2147483000;
  background: #000;
  color: #ffffff;
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
  box-sizing: border-box;
  cursor: default;
  user-select: none;
}
.uaesa-intro.is-active,
.uaesa-outro.is-active { opacity: 1; visibility: visible; }
.uaesa-intro.is-leaving,
.uaesa-outro.is-leaving { opacity: 0; visibility: hidden; }
.uaesa-intro.is-hidden,
.uaesa-outro.is-hidden { display: none; }

.uaesa-intro__bar,
.uaesa-outro__bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 0;
  background: #000;
  z-index: 20;
  transition: height 1.2s cubic-bezier(0.65, 0, 0.35, 1);
}
.uaesa-intro.is-active .uaesa-intro__bar,
.uaesa-outro.is-active .uaesa-outro__bar { height: 7.5vh; }
.uaesa-intro__bar--top,
.uaesa-outro__bar--top { top: 0; box-shadow: 0 2px 24px rgba(0, 0, 0, 0.6); }
.uaesa-intro__bar--bottom,
.uaesa-outro__bar--bottom { bottom: 0; box-shadow: 0 -2px 24px rgba(0, 0, 0, 0.6); }

.uaesa-intro__stage,
.uaesa-outro__stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.uaesa-intro__bg,
.uaesa-outro__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(0, 210, 210, 0.22), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(0, 165, 167, 0.20), transparent 60%),
    linear-gradient(135deg, #000000 0%, #021a1a 40%, #042C2C 70%, #000000 100%);
}

.uaesa-intro__orb,
.uaesa-outro__orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 210, 210, 0.55) 0%, rgba(0, 165, 167, 0.18) 45%, transparent 70%);
  filter: blur(70px);
  will-change: transform;
  animation: uaesaIntroOrb 26s ease-in-out infinite;
}
.uaesa-intro__orb--1,
.uaesa-outro__orb--1 { width: 620px; height: 620px; top: -180px; left: -160px; animation-delay: 0s; }
.uaesa-intro__orb--2,
.uaesa-outro__orb--2 { width: 540px; height: 540px; bottom: -200px; right: -160px; animation-delay: -9s; }
.uaesa-intro__orb--3,
.uaesa-outro__orb--3 { width: 420px; height: 420px; top: 45%; left: 55%; transform: translate(-50%, -50%); animation-delay: -18s; opacity: 0.6; }

@keyframes uaesaIntroOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(55px, -45px) scale(1.15); }
  66%      { transform: translate(-45px, 55px) scale(0.9); }
}

.uaesa-intro__grain,
.uaesa-outro__grain {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  opacity: 0.07;
  z-index: 15;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E");
  animation: uaesaIntroGrain 0.8s steps(6) infinite;
}
@keyframes uaesaIntroGrain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-5%, 3%); }
  40%  { transform: translate(4%, -2%); }
  60%  { transform: translate(-3%, 5%); }
  80%  { transform: translate(6%, -4%); }
  100% { transform: translate(0, 0); }
}

.uaesa-intro__vignette,
.uaesa-outro__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 14;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.75) 100%);
}

.uaesa-intro__scanlines,
.uaesa-outro__scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 13;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 3px;
  opacity: 0.6;
  mix-blend-mode: overlay;
}

.uaesa-intro__curtain {
  position: absolute;
  inset: 0;
  background: #000;
  z-index: 18;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.85s ease;
}
.uaesa-intro__curtain.is-on { opacity: 1; }

.uaesa-intro__controls {
  position: absolute;
  top: calc(7.5vh + 22px);
  right: 32px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 30;
}
.uaesa-intro__ctrl {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.85);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.uaesa-intro__ctrl:hover,
.uaesa-intro__ctrl:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  outline: none;
  transform: translateY(-1px);
}
.uaesa-intro__ctrl svg { width: 14px; height: 14px; }

.uaesa-intro__scene {
  position: absolute;
  top: calc(7.5vh + 22px);
  left: 32px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.uaesa-intro__scene-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #ff3b3b;
  box-shadow: 0 0 10px rgba(255, 59, 59, 0.9);
  animation: uaesaIntroRec 1.4s ease-in-out infinite;
}
@keyframes uaesaIntroRec {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.85); }
}

.uaesa-intro__step {
  position: absolute;
  inset: 7.5vh 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.75rem;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  z-index: 5;
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), visibility 1s ease;
}
.uaesa-intro__step.is-active { opacity: 1; visibility: visible; z-index: 6; }
.uaesa-intro__step.is-leaving { opacity: 0; visibility: hidden; }

.uaesa-intro__step-inner {
  max-width: 860px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.uaesa-intro__logo { margin-bottom: 0.75rem; opacity: 0; animation: uaesaIntroLogo 1.6s 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.uaesa-intro__logo img { height: 74px; width: auto; filter: drop-shadow(0 12px 36px rgba(0, 165, 167, 0.55)); }
@keyframes uaesaIntroLogo {
  0%   { opacity: 0; transform: scale(0.6); filter: blur(14px); }
  60%  { opacity: 1; transform: scale(1.05); filter: blur(0); }
  100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

.uaesa-intro__hello {
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  opacity: 0;
  animation: uaesaIntroFadeUp 1.1s 1s ease forwards;
}

.uaesa-intro__name {
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0.25rem 0 0.5rem;
  background: linear-gradient(120deg, #ffffff 0%, #a7f3f3 45%, #00d2d2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0;
  animation: uaesaIntroName 1.6s 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  text-shadow: 0 0 60px rgba(0, 210, 210, 0.35);
}
@keyframes uaesaIntroName {
  0%   { opacity: 0; transform: translateY(30px) scale(0.96); letter-spacing: 0.4em; }
  100% { opacity: 1; transform: translateY(0) scale(1); letter-spacing: -0.02em; }
}

.uaesa-intro__welcome-line {
  position: relative;
  display: inline-block;
  margin: 0.9rem 0 0.5rem;
  opacity: 0;
  animation: uaesaIntroFadeUp 1.1s 2.6s ease forwards;
}
.uaesa-intro__welcome-text { display: inline-block; font-size: clamp(1.15rem, 2.8vw, 1.7rem); font-weight: 500; letter-spacing: 0.06em; color: #ffffff; }
.uaesa-intro__welcome-underline {
  display: block;
  height: 3px;
  width: 0;
  margin: 0.6rem auto 0;
  background: linear-gradient(90deg, transparent, #00d2d2, #ffffff, #00d2d2, transparent);
  border-radius: 3px;
  animation: uaesaIntroUnderline 1.4s 3.4s ease forwards;
}
@keyframes uaesaIntroUnderline {
  from { width: 0; opacity: 0; }
  to   { width: 100%; opacity: 1; }
}

.uaesa-intro__tagline {
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  color: rgba(255, 255, 255, 0.72);
  font-weight: 300;
  line-height: 1.65;
  max-width: 560px;
  margin: 1.1rem auto 0;
  opacity: 0;
  animation: uaesaIntroFadeUp 1.1s 3.6s ease forwards;
}

@keyframes uaesaIntroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.uaesa-intro__step--2 .uaesa-intro__step-inner { gap: 0.85rem; }

.uaesa-intro__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #00d2d2;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(0, 210, 210, 0.4);
  border-radius: 999px;
  background: rgba(0, 210, 210, 0.06);
  opacity: 0;
  animation: uaesaIntroFadeUp 1s 0.3s ease forwards;
}

.uaesa-intro__title {
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin: 0.4rem 0 0.5rem;
  opacity: 0;
  animation: uaesaIntroFadeUp 1.2s 0.6s ease forwards;
}
.uaesa-intro__title span {
  background: linear-gradient(120deg, #00d2d2, #a7f3f3);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.uaesa-intro__body {
  font-size: clamp(0.9rem, 1.55vw, 1.02rem);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
  margin: 0.3rem auto;
  opacity: 0;
}
.uaesa-intro__body:nth-of-type(1) { animation: uaesaIntroFadeUp 1.1s 0.95s ease forwards; }
.uaesa-intro__body:nth-of-type(2) { animation: uaesaIntroFadeUp 1.1s 1.55s ease forwards; }
.uaesa-intro__body:nth-of-type(3) { animation: uaesaIntroFadeUp 1.1s 2.15s ease forwards; }
.uaesa-intro__body strong { color: #ffffff; font-weight: 600; }
.uaesa-intro__body--highlight {
  color: rgba(167, 243, 243, 0.95);
  font-weight: 400;
  font-style: italic;
  border-left: 2px solid rgba(0, 210, 210, 0.55);
  padding-left: 1rem;
  text-align: left;
  margin-top: 0.85rem;
}

.uaesa-intro__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.9rem;
}
.uaesa-intro__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 2.1rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  animation: uaesaIntroFadeUp 1s 4.6s ease forwards;
}
.uaesa-intro__step--2 .uaesa-intro__btn {
  animation: uaesaIntroFadeUp 1s 3s ease forwards;
  background: linear-gradient(120deg, #00A5A7 0%, #00d2d2 100%);
  border-color: transparent;
  color: #021616;
  box-shadow: 0 14px 38px rgba(0, 165, 167, 0.5);
}
.uaesa-intro__btn:hover,
.uaesa-intro__btn:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  transform: translateY(-2px);
  outline: none;
  box-shadow: 0 18px 42px rgba(0, 165, 167, 0.4);
}
.uaesa-intro__step--2 .uaesa-intro__btn:hover,
.uaesa-intro__step--2 .uaesa-intro__btn:focus-visible {
  background: linear-gradient(120deg, #00d2d2 0%, #00A5A7 100%);
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(0, 165, 167, 0.6);
}
.uaesa-intro__btn-arrow { display: inline-block; transition: transform 0.3s ease; }
.uaesa-intro__btn:hover .uaesa-intro__btn-arrow { transform: translateX(5px); }

.uaesa-intro__progress {
  position: absolute;
  bottom: calc(7.5vh + 26px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 30;
}
.uaesa-intro__progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  transition: background 0.4s ease, width 0.4s ease, transform 0.4s ease;
}
.uaesa-intro__progress-dot.is-active {
  width: 34px;
  border-radius: 4px;
  background: linear-gradient(90deg, #00d2d2, #a7f3f3);
}

.uaesa-intro__counter {
  position: absolute;
  bottom: calc(7.5vh + 22px);
  right: 32px;
  z-index: 30;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.5);
  font-variant-numeric: tabular-nums;
}
.uaesa-intro__counter span { color: #00d2d2; }

/* =========================================================
   CINEMATIC OUTRO (leaving Profile + Careers + Management) — 12s
   ========================================================= */
.uaesa-outro__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.75rem;
  inset: 7.5vh 0;
}

.uaesa-outro__inner {
  max-width: 720px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.uaesa-outro__logo {
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: uaesaIntroLogo 1.4s 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.uaesa-outro__logo img {
  height: 62px;
  width: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 165, 167, 0.5)) grayscale(0.15);
}

.uaesa-outro__kicker {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
  opacity: 0;
  animation: uaesaIntroFadeUp 1s 0.9s ease forwards;
}

.uaesa-outro__name {
  font-size: clamp(2rem, 5.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0.15rem 0 0.35rem;
  background: linear-gradient(120deg, #ffffff 0%, #a7f3f3 45%, #00d2d2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0;
  animation: uaesaIntroName 1.4s 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  text-shadow: 0 0 50px rgba(0, 210, 210, 0.3);
}

.uaesa-outro__divider {
  width: 0;
  height: 2px;
  margin: 0.9rem auto 0.6rem;
  background: linear-gradient(90deg, transparent, #00d2d2, #ffffff, #00d2d2, transparent);
  border-radius: 2px;
  opacity: 0;
  animation: uaesaOutroDivider 1.2s 1.9s ease forwards;
}
@keyframes uaesaOutroDivider {
  from { width: 0; opacity: 0; }
  to   { width: 120px; opacity: 1; }
}

.uaesa-outro__message {
  font-size: clamp(0.92rem, 1.7vw, 1.08rem);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  margin: 0.2rem auto 0;
  opacity: 0;
  animation: uaesaIntroFadeUp 1.1s 2.3s ease forwards;
}

.uaesa-outro__progress {
  width: 200px;
  height: 3px;
  margin: 2rem auto 0.65rem;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 3px;
  overflow: hidden;
  opacity: 0;
  animation: uaesaIntroFadeUp 0.8s 2.7s ease forwards;
}

/* Progress bar runs for 8.2s starting at 2.9s → ends at 11.1s
   Total outro = 12.0s (fade-out begins at 11.1s, redirect at 12.0s) */
.uaesa-outro__progress-bar {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #00d2d2, #a7f3f3);
  transform-origin: left center;
  transform: scaleX(0);
  animation: uaesaOutroProgress var(--uaesa-outro-duration, 8.2s) 2.9s linear forwards;
  box-shadow: 0 0 12px rgba(0, 210, 210, 0.8);
}
@keyframes uaesaOutroProgress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.uaesa-outro__redirect {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  opacity: 0;
  animation: uaesaIntroFadeUp 0.9s 3s ease forwards;
}

.uaesa-outro__redirect-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.6rem;
  border-radius: 50%;
  background: #00d2d2;
  box-shadow: 0 0 10px rgba(0, 210, 210, 0.9);
  animation: uaesaOutroDot 1.2s ease-in-out infinite;
  vertical-align: middle;
}
@keyframes uaesaOutroDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.75); }
}

@media (max-width: 768px) {
  .uaesa-outro__stage { padding: 2rem 1.25rem; }
  .uaesa-outro__logo img { height: 52px; }
  .uaesa-outro__divider { animation-duration: 1s; }
  .uaesa-outro__progress { width: 160px; }
}

@media (max-width: 480px) {
  .uaesa-outro__kicker { font-size: 0.72rem; letter-spacing: 0.34em; }
  .uaesa-outro__logo img { height: 44px; }
  .uaesa-outro__message { font-size: 0.85rem; }
  .uaesa-outro__redirect { font-size: 0.68rem; letter-spacing: 0.18em; }
  .uaesa-outro__progress { width: 130px; }
}

@media (max-width: 768px) {
  .uaesa-intro.is-active .uaesa-intro__bar,
  .uaesa-outro.is-active .uaesa-outro__bar { height: 6vh; }
  .uaesa-intro__step { inset: 6vh 0; padding: 2rem 1.25rem; }
  .uaesa-intro__controls { top: calc(6vh + 14px); right: 16px; gap: 0.5rem; }
  .uaesa-intro__ctrl { font-size: 0.7rem; padding: 0.4rem 0.75rem; }
  .uaesa-intro__scene { top: calc(6vh + 14px); left: 16px; font-size: 0.65rem; letter-spacing: 0.22em; }
  .uaesa-intro__logo img { height: 58px; }
  .uaesa-intro__progress { bottom: calc(6vh + 18px); }
  .uaesa-intro__counter { bottom: calc(6vh + 14px); right: 16px; font-size: 0.65rem; }
  .uaesa-intro__body { line-height: 1.7; }
  .uaesa-intro__body--highlight { padding-left: 0.75rem; }
}

@media (max-width: 480px) {
  .uaesa-intro__hello { font-size: 0.78rem; letter-spacing: 0.32em; }
  .uaesa-intro__logo img { height: 48px; }
  .uaesa-intro__tagline { font-size: 0.85rem; }
  .uaesa-intro__btn { padding: 0.8rem 1.6rem; font-size: 0.87rem; }
  .uaesa-intro__eyebrow { font-size: 0.65rem; letter-spacing: 0.24em; }
  .uaesa-intro__ctrl { padding: 0.35rem 0.65rem; font-size: 0.65rem; }
  .uaesa-intro__ctrl span.uaesa-intro__ctrl-label { display: none; }
  .uaesa-intro__scene span.uaesa-intro__scene-text { display: none; }
  .uaesa-intro__orb { filter: blur(55px); }
}

/* =========================================================
   CAREERS — APPLY CTA BLOCKS
   ========================================================= */
.uaesa-apply-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0 2rem;
  background: linear-gradient(135deg, #042C2C 0%, #00A5A7 100%);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(4, 44, 44, 0.22);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.uaesa-apply-cta::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15), transparent 70%);
  pointer-events: none;
}
.uaesa-apply-cta--bottom {
  margin: 2.5rem 0 1.5rem;
  background: linear-gradient(135deg, #00A5A7 0%, #042C2C 100%);
}
.uaesa-apply-cta__icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
}
.uaesa-apply-cta__icon svg { width: 26px; height: 26px; }
.uaesa-apply-cta__text { flex: 1 1 auto; min-width: 0; }
.uaesa-apply-cta__text h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ffffff;
}
.uaesa-apply-cta__text p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}
.uaesa-apply-cta__text p strong { color: #ffffff; font-weight: 600; }

.uaesa-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
}
.uaesa-apply-btn--primary {
  background: #ffffff;
  color: #042C2C;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}
.uaesa-apply-btn--primary:hover,
.uaesa-apply-btn--primary:focus-visible {
  background: #f0fbfb;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  outline: none;
}
.uaesa-apply-btn--inline {
  background: linear-gradient(120deg, #00A5A7 0%, #00d2d2 100%);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 165, 167, 0.35);
}
.uaesa-apply-btn--inline:hover,
.uaesa-apply-btn--inline:focus-visible {
  background: linear-gradient(120deg, #00d2d2 0%, #00A5A7 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 165, 167, 0.5);
  outline: none;
}
.uaesa-apply-btn--ghost {
  background: transparent;
  color: #455a64;
  border: 1.5px solid #cfd8dc;
}
.uaesa-apply-btn--ghost:hover,
.uaesa-apply-btn--ghost:focus-visible {
  background: #f4f6f8;
  border-color: #90a4ae;
  color: #042C2C;
  outline: none;
}
.uaesa-apply-btn__arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}
.uaesa-apply-btn:hover .uaesa-apply-btn__arrow { transform: translateX(4px); }

/* =========================================================
   CAREERS — APPLY MODAL
   ========================================================= */
.uaesa-apply-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.uaesa-apply-modal.is-open {
  display: flex;
  opacity: 1;
  visibility: visible;
}
.uaesa-apply-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 22, 22, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.uaesa-apply-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 620px;
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(2, 22, 22, 0.4);
  padding: 2rem 2.25rem 2rem;
  box-sizing: border-box;
  transform: translateY(20px) scale(0.97);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #263238;
}
.uaesa-apply-modal.is-open .uaesa-apply-modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.uaesa-apply-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f4f6f8;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  color: #455a64;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.uaesa-apply-modal__close:hover {
  background: #e6f1f1;
  color: #042C2C;
  transform: rotate(90deg);
}
.uaesa-apply-modal__header {
  margin-bottom: 1.5rem;
  padding-right: 3rem;
}
.uaesa-apply-modal__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #00A5A7;
  background: #e6f1f1;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}
.uaesa-apply-modal__title {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: #042C2C;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.uaesa-apply-modal__subtitle {
  margin: 0;
  font-size: 0.87rem;
  color: #546e7a;
  line-height: 1.55;
}

.uaesa-apply-form { display: block; }
.uaesa-apply-form__row { margin-bottom: 1rem; }
.uaesa-apply-form__row label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #37474f;
  margin-bottom: 0.35rem;
  letter-spacing: 0.01em;
}
.uaesa-apply-form__row input[type="text"],
.uaesa-apply-form__row input[type="email"],
.uaesa-apply-form__row input[type="tel"],
.uaesa-apply-form__row select,
.uaesa-apply-form__row textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid #cfd8dc;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.87rem;
  color: #263238;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}
.uaesa-apply-form__row input:focus,
.uaesa-apply-form__row select:focus,
.uaesa-apply-form__row textarea:focus {
  border-color: #00A5A7;
  box-shadow: 0 0 0 3px rgba(0, 165, 167, 0.14);
  outline: none;
}
.uaesa-apply-form__row textarea { resize: vertical; min-height: 90px; }
.uaesa-apply-form__row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.uaesa-apply-form__radios {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.uaesa-apply-form__radios label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.5rem 0.9rem;
  border: 1.5px solid #cfd8dc;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #455a64;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.uaesa-apply-form__radios input[type="radio"] { accent-color: #00A5A7; margin: 0; }
.uaesa-apply-form__radios label:hover { border-color: #00A5A7; background: #f0fbfb; }
.uaesa-apply-form__radios input[type="radio"]:checked + span { color: #042C2C; font-weight: 600; }

.uaesa-apply-form__note {
  background: #f8fafb;
  border-left: 3px solid #00A5A7;
  border-radius: 0 8px 8px 0;
  padding: 0.75rem 1rem;
  font-size: 0.78rem;
  color: #455a64;
  line-height: 1.55;
  margin: 0.5rem 0 1.25rem;
}
.uaesa-apply-form__note strong { color: #042C2C; }
.uaesa-apply-form__note a { color: #00A5A7; text-decoration: underline; }

.uaesa-apply-form__error {
  display: none;
  background: #fff3f3;
  border: 1px solid #e0b4b4;
  color: #8a2a2a;
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  font-size: 0.82rem;
  margin-bottom: 1rem;
}
.uaesa-apply-form__error.is-visible { display: block; }

.uaesa-apply-form__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
  border-top: 1px solid #eceff1;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .uaesa-apply-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
  }
  .uaesa-apply-cta__icon { flex-basis: 48px; width: 48px; height: 48px; border-radius: 12px; }
  .uaesa-apply-cta__icon svg { width: 22px; height: 22px; }
  .uaesa-apply-cta .uaesa-apply-btn { width: 100%; justify-content: center; }
  .uaesa-apply-modal { padding: 1rem; }
  .uaesa-apply-modal__dialog { padding: 1.5rem 1.25rem 1.5rem; border-radius: 14px; max-height: calc(100vh - 2rem); }
  .uaesa-apply-modal__title { font-size: 1.35rem; }
  .uaesa-apply-form__row--split { grid-template-columns: 1fr; gap: 0.85rem; }
}
@media (max-width: 480px) {
  .uaesa-apply-cta { padding: 1.1rem 1.1rem; }
  .uaesa-apply-cta__text h3 { font-size: 0.98rem; }
  .uaesa-apply-cta__text p { font-size: 0.79rem; }
  .uaesa-apply-btn { font-size: 0.85rem; padding: 0.75rem 1.4rem; }
  .uaesa-apply-modal__dialog { padding: 1.25rem 1rem 1.25rem; }
  .uaesa-apply-modal__title { font-size: 1.2rem; }
  .uaesa-apply-modal__subtitle { font-size: 0.8rem; }
  .uaesa-apply-form__actions { flex-direction: column-reverse; }
  .uaesa-apply-form__actions .uaesa-apply-btn { width: 100%; justify-content: center; }
}

/* =========================================================
   ACCESSIBILITY — respect reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .uaesa-finger,
  .uaesa-finger svg,
  .uaesa-finger::after { animation: none !important; }
  .uaesa-lp-wrapper .accordion-body,
  .uaesa-lp-fade-in { animation: none !important; }

  .uaesa-lp-toast { transition: opacity 0.2s ease; transform: none; }
  .uaesa-lp-toast.is-visible { transform: none; }
  .uaesa-lp-toast.is-leaving { transform: none; }
  .uaesa-lp-toast__progress::after { animation: none; transform: scaleX(0); }

  .uaesa-intro,
  .uaesa-outro,
  .uaesa-intro__step,
  .uaesa-intro__logo,
  .uaesa-intro__logo img,
  .uaesa-outro__logo,
  .uaesa-outro__logo img,
  .uaesa-intro__hello,
  .uaesa-intro__name,
  .uaesa-outro__kicker,
  .uaesa-outro__name,
  .uaesa-outro__divider,
  .uaesa-outro__message,
  .uaesa-outro__progress,
  .uaesa-outro__progress-bar,
  .uaesa-outro__redirect,
  .uaesa-intro__welcome-line,
  .uaesa-intro__welcome-underline,
  .uaesa-intro__tagline,
  .uaesa-intro__eyebrow,
  .uaesa-intro__title,
  .uaesa-intro__body,
  .uaesa-intro__btn {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    opacity: 1 !important;
    transform: none !important;
    transition-duration: 0.2s !important;
  }
  .uaesa-intro__orb,
  .uaesa-outro__orb,
  .uaesa-intro__grain,
  .uaesa-outro__grain,
  .uaesa-intro__scene-dot,
  .uaesa-outro__redirect-dot { animation: none !important; }
  .uaesa-intro__welcome-underline { width: 100% !important; opacity: 1 !important; }
  .uaesa-outro__divider { width: 120px !important; opacity: 1 !important; }
  .uaesa-outro__progress-bar { transform: scaleX(1) !important; }

  .uaesa-apply-modal,
  .uaesa-apply-modal__dialog,
  .uaesa-apply-btn,
  .uaesa-apply-btn__arrow,
  .uaesa-apply-modal__close {
    transition-duration: 0.15s !important;
  }
  .uaesa-apply-btn:hover { transform: none !important; }
  .uaesa-apply-modal__dialog { transform: none !important; }
}