.fda-hero-empty{
  padding:18px 20px;
  border:1px dashed #cfd7e3;
  border-radius:14px;
  background:#fff;
  color:#546173;
}

.fda-hero{
  position:relative;
  width:100%;
  height:var(--fda-h-desktop,680px);
  border-radius:var(--fda-radius,24px);
  border:6px solid #fff;
  box-shadow:0 24px 52px rgba(15,29,53,.16);
  overflow:hidden;
  background:#f7f7f5;
  outline:none;
}

.fda-hero *,
.fda-hero *::before,
.fda-hero *::after{box-sizing:border-box}

.fda-hero__viewport,
.fda-hero__slide{
  position:absolute;
  inset:0;
}

.fda-hero__slide{
  display:flex;
  align-items:stretch;
  background-size:cover;
  background-repeat:no-repeat;
  opacity:0;
  visibility:hidden;
  transform:translate3d(0, 0, 0) scale(1.01);
  transition:opacity var(--fda-speed,650ms) ease, transform var(--fda-speed,650ms) ease, visibility 0s linear var(--fda-speed,650ms);
}

.fda-hero__slide.is-active{
  opacity:1;
  visibility:visible;
  transform:translate3d(0,0,0) scale(1);
  transition:opacity var(--fda-speed,650ms) ease, transform var(--fda-speed,650ms) ease;
  z-index:2;
}

.fda-hero__slide::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.86) 34%, rgba(255,255,255,.35) 62%, rgba(255,255,255,.03) 100%);
  pointer-events:none;
}

.fda-hero__slide.fda-side-right::before{
  background:linear-gradient(270deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.86) 34%, rgba(255,255,255,.35) 62%, rgba(255,255,255,.03) 100%);
}

.fda-hero__slide.has-decor::after{
  content:"";
  position:absolute;
  right:-120px;
  bottom:-110px;
  width:430px;
  height:250px;
  border-radius:58% 0 0 0;
  background:linear-gradient(145deg,#ffd049 0 42%,#4ba9df 43% 100%);
  transform:rotate(-4deg);
  opacity:.95;
  z-index:0;
  pointer-events:none;
}

.fda-hero__slide.fda-side-right.has-decor::after{
  right:auto;
  left:-120px;
  transform:scaleX(-1) rotate(-4deg);
}

.fda-hero__inner{
  position:relative;
  z-index:2;
  width:100%;
  max-width:var(--fda-max,1440px);
  margin:0 auto;
  height:100%;
  padding:54px clamp(34px,4vw,72px) 104px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,.95fr);
  gap:clamp(26px,4vw,64px);
  align-items:center;
}

.fda-side-right .fda-hero__copy{order:2}
.fda-side-right .fda-hero__visual{order:1}

.fda-hero__copy{
  position:relative;
  z-index:3;
  max-width:760px;
}

.fda-align-center .fda-hero__copy{
  text-align:center;
  margin-inline:auto;
}
.fda-align-center .fda-hero__buttons{justify-content:center}

.fda-hero__eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
  font-size:13px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--fda-accent,#16386f);
}
.fda-hero__eyebrow::before{
  content:"";
  width:24px;
  height:3px;
  border-radius:99px;
  background:currentColor;
}

.fda-hero__title{
  margin:0;
  color:var(--fda-accent,#16386f);
  font-size:clamp(42px,4.25vw,72px);
  line-height:1.02;
  letter-spacing:-.045em;
  font-weight:800;
}

.fda-hero__subtitle{
  margin-top:24px;
  color:#566174;
  font-size:clamp(17px,1.35vw,24px);
  line-height:1.65;
  max-width:760px;
}

.fda-hero__buttons{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:32px;
}

.fda-hero__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:54px;
  padding:0 24px;
  border:2px solid transparent;
  border-radius:12px;
  font-size:16px;
  font-weight:700;
  text-decoration:none !important;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.fda-hero__btn:hover{transform:translateY(-2px)}
.fda-hero__btn.is-primary{background:#ef3f43;color:#fff;box-shadow:0 12px 28px rgba(239,63,67,.22)}
.fda-hero__btn.is-primary:hover{color:#fff;box-shadow:0 16px 34px rgba(239,63,67,.28)}
.fda-hero__btn.is-outline{border-color:#9ea9ba;color:#15325e;background:rgba(255,255,255,.72)}
.fda-hero__btn.is-outline:hover{background:#fff;color:#15325e}
.fda-hero__btn.is-link{padding-inline:4px;color:var(--fda-accent,#16386f);background:transparent}

.fda-hero__visual{
  position:relative;
  z-index:2;
  height:100%;
  display:flex;
  align-items:flex-end;
  justify-content:center;
}

.fda-hero__visual img{
  display:block;
  width:100%;
  height:100%;
  max-height:100%;
  object-position:center bottom;
  filter:drop-shadow(0 18px 24px rgba(22,40,67,.12));
}

.fda-hero__controls{
  position:absolute;
  inset:0;
  z-index:9;
  pointer-events:none;
}

.fda-hero__controls::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:92px;
  background:linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.12) 30%, rgba(0,0,0,.40) 100%);
  pointer-events:none;
}

.fda-hero__arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:56px;
  height:56px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.2);
  background:rgba(19,24,34,.38);
  backdrop-filter:blur(6px);
  color:#fff;
  font-size:36px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  pointer-events:auto;
  transition:transform .2s ease, background .2s ease, box-shadow .2s ease;
  box-shadow:0 8px 20px rgba(0,0,0,.18);
}
.fda-prev{left:18px}
.fda-next{right:18px}
.fda-hero__arrow:hover{background:rgba(19,24,34,.55);transform:translateY(-50%) scale(1.03)}

.fda-hero__timeline{
  position:absolute;
  left:50%;
  bottom:14px;
  transform:translateX(-50%);
  width:min(480px, calc(100% - 190px));
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  pointer-events:auto;
}

.fda-hero__tick{
  appearance:none;
  border:0;
  background:transparent;
  padding:6px 0;
  flex:1 1 0;
  min-width:44px;
  cursor:pointer;
}

.fda-hero__num{display:none !important}

.fda-hero__track{
  display:block;
  width:100%;
  height:4px;
  border-radius:999px;
  background:rgba(255,255,255,.24);
  overflow:hidden;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.1);
}

.fda-hero__fill{
  display:block;
  width:0;
  height:100%;
  border-radius:inherit;
  background:#6dbef0;
}

.fda-hero__tick.is-done .fda-hero__fill{width:100%}
.fda-hero__tick.is-active .fda-hero__fill{animation:fdaProgress var(--fda-duration,7000ms) linear forwards}
.fda-hero.is-paused .fda-hero__tick.is-active .fda-hero__fill{animation-play-state:paused}
.fda-hero__timeline.no-line .fda-hero__track{display:none}

@keyframes fdaProgress{from{width:0}to{width:100%}}

@media (max-width:1024px){
  .fda-hero{height:var(--fda-h-tablet,620px)}
  .fda-hero__inner{padding:46px 26px 90px;grid-template-columns:1.05fr .95fr;gap:28px}
  .fda-hero__title{font-size:clamp(38px,5.2vw,58px)}
  .fda-hero__subtitle{font-size:17px;line-height:1.6}
  .fda-hero__slide.has-decor::after{width:340px;height:210px;right:-95px;bottom:-85px}
  .fda-hero__slide.fda-side-right.has-decor::after{left:-95px}
}

@media (max-width:767px){
  .fda-hero{
    height:var(--fda-h-mobile,760px);
    min-height:620px;
    border-width:4px;
    border-radius:min(var(--fda-radius,24px),22px);
  }

  .fda-hero__slide::before,
  .fda-hero__slide.fda-side-right::before{
    background:linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.92) 34%, rgba(255,255,255,.78) 56%, rgba(255,255,255,.56) 100%);
  }

  .fda-hero__inner{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:14px;
    padding:20px 18px 74px;
  }

  .fda-hero__visual,
  .fda-side-right .fda-hero__visual{
    order:1;
    flex:0 0 230px;
    width:100%;
    min-height:230px;
    max-height:260px;
    align-items:center;
    justify-content:center;
    margin-top:6px;
  }

  .fda-hero__copy,
  .fda-side-right .fda-hero__copy{
    order:2;
    max-width:none;
    text-align:left !important;
  }

  .fda-hero__visual.fda-mobile-hide{display:none}

  .fda-hero__visual img{
    object-position:center center;
    max-width:100%;
  }

  .fda-hero__eyebrow{margin-bottom:10px;font-size:12px}
  .fda-hero__title{font-size:clamp(30px,9vw,44px);line-height:1.05}
  .fda-hero__subtitle{font-size:15px;line-height:1.55;margin-top:14px}

  .fda-hero__buttons{
    gap:10px;
    margin-top:18px;
    justify-content:flex-start !important;
  }

  .fda-hero__btn{
    min-height:46px;
    padding:0 16px;
    font-size:14px;
    border-radius:10px;
  }

  .fda-hero__controls::before{
    height:62px;
    background:linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.08) 38%, rgba(0,0,0,.30) 100%);
  }

  .fda-hero__arrow{
    top:50%;
    bottom:auto;
    transform:translateY(-50%);
    width:40px;
    height:40px;
    font-size:26px;
    background:rgba(19,24,34,.42);
  }

  .fda-prev{left:10px}
  .fda-next{right:10px}
  .fda-hero__arrow:hover{transform:translateY(-50%) scale(1.03)}

  .fda-hero__timeline{
    width:calc(100% - 120px);
    bottom:10px;
    gap:7px;
  }

  .fda-hero__tick{min-width:24px;padding:4px 0}
  .fda-hero__track{height:3px;background:rgba(255,255,255,.22)}

  .fda-hero__slide.has-decor::after{width:220px;height:130px;right:-70px;bottom:-46px;opacity:.84}
  .fda-hero__slide.fda-side-right.has-decor::after{left:-70px}
}

@media (max-width:420px){
  .fda-hero{min-height:640px}
  .fda-hero__inner{padding-inline:15px;padding-top:16px;padding-bottom:72px}
  .fda-hero__visual,
  .fda-side-right .fda-hero__visual{flex-basis:210px;min-height:210px;max-height:240px}
  .fda-hero__title{font-size:33px}
  .fda-hero__buttons{width:100%}
  .fda-hero__btn{flex:1 1 100%}
  .fda-hero__timeline{width:calc(100% - 104px)}
  .fda-hero__arrow{width:36px;height:36px;font-size:24px}
}

@media (prefers-reduced-motion:reduce){
  .fda-hero__slide,
  .fda-hero__btn,
  .fda-hero__arrow{transition:none}
  .fda-hero__tick.is-active .fda-hero__fill{animation:none;width:100%}
}
