/* =========================================================
   Hero DFIS
   ========================================================= */

.home-hero--standard.home-hero--dfis {
  --dfis-blue: #2b5d7f;
  --dfis-blue-deep: #1d4160;
  --dfis-blue-soft: #5d86a7;
  --dfis-slate: #4a4f58;
  --dfis-slate-soft: #6d7380;
  --dfis-ink: #2c313a;
  --dfis-surface: rgba(255, 255, 255, 0.76);
  --dfis-surface-strong: rgba(255, 255, 255, 0.92);
  --dfis-border: rgba(43, 93, 127, 0.12);
  --dfis-shadow: 0 26px 56px rgba(27, 42, 66, 0.12);
  position: relative;
  isolation: isolate;
  overflow: clip;
  color: var(--dfis-slate);
  background:
    radial-gradient(circle at 12% 20%, rgba(43, 93, 127, 0.04) 0%, transparent 22%),
    radial-gradient(circle at 84% 18%, rgba(92, 98, 110, 0.04) 0%, transparent 18%),
    linear-gradient(180deg, #f7f8fa 0%, #e6ebf0 100%);
  height: clamp(420px, 54vw, 500px);
  min-height: 420px;
  padding-top: 0;
  padding-bottom: 0;
}

.home-hero--standard.home-hero--dfis::before,
.home-hero--standard.home-hero--dfis::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-hero--standard.home-hero--dfis::before {
  background:
    linear-gradient(140deg, rgba(43, 93, 127, 0.05) 0%, transparent 24%),
    radial-gradient(circle at 66% 52%, rgba(43, 93, 127, 0.08) 0%, transparent 26%),
    radial-gradient(circle at 76% 28%, rgba(255, 255, 255, 0.42) 0%, transparent 16%);
}

.home-hero--standard.home-hero--dfis::after {
  inset: auto 0 0;
  height: clamp(72px, 10vw, 128px);
  background: linear-gradient(180deg, rgba(43, 93, 127, 0) 0%, rgba(43, 93, 127, 0.04) 62%, rgba(43, 93, 127, 0.08) 100%);
}

.home-hero--standard.home-hero--dfis > .wrapper {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  height: 100%;
  padding-top: 0;
  padding-bottom: 0;
}

.hero-dfis-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-dfis-bg__grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(43, 93, 127, 0.05) 1px, transparent 1px) 0 0 / 58px 58px,
    linear-gradient(180deg, rgba(43, 93, 127, 0.05) 1px, transparent 1px) 0 0 / 58px 58px;
  opacity: 0.4;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.34) 62%, transparent 100%);
}

.hero-dfis-bg__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(16px);
}

.hero-dfis-bg__glow--blue {
  top: 12%;
  right: -10%;
  width: clamp(300px, 34vw, 500px);
  height: clamp(300px, 34vw, 500px);
  background: radial-gradient(circle, rgba(43, 93, 127, 0.2) 0%, rgba(43, 93, 127, 0.08) 44%, transparent 74%);
}

.hero-dfis-bg__glow--gray {
  left: -7%;
  bottom: -6%;
  width: clamp(260px, 29vw, 430px);
  height: clamp(260px, 29vw, 430px);
  background: radial-gradient(circle, rgba(92, 98, 110, 0.15) 0%, rgba(92, 98, 110, 0.06) 42%, transparent 72%);
}

.hero-dfis-bg__beam {
  position: absolute;
  top: 8%;
  right: 12%;
  width: min(48vw, 620px);
  height: min(48vw, 620px);
  border-radius: 36px;
  background: linear-gradient(140deg, rgba(43, 93, 127, 0.16) 0%, rgba(43, 93, 127, 0.04) 44%, transparent 100%);
  transform: rotate(12deg);
}

.hero-dfis-bg__atom {
  position: absolute;
  top: 52%;
  left: 63%;
  width: min(72vw, 980px);
  aspect-ratio: 1;
  opacity: 0.82;
  transform: translate(-50%, -50%);
}

.hero-dfis-bg__trail {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid transparent;
  filter: blur(0.1px);
  opacity: 0.9;
}

.hero-dfis-bg__trail::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent 0%, rgba(29, 65, 96, 0.05) 18%, rgba(29, 65, 96, 0.82) 48%, rgba(29, 65, 96, 0.08) 62%, transparent 100%);
  mask: linear-gradient(transparent 0 12%, #000 12% 88%, transparent 88% 100%);
  opacity: 0.92;
}

.hero-dfis-bg__trail--one {
  inset: 8%;
  transform: rotate(24deg);
}

.hero-dfis-bg__trail--two {
  inset: 18%;
  transform: rotate(-32deg);
}

.hero-dfis-bg__trail--two::before {
  background: linear-gradient(90deg, transparent 0%, rgba(43, 93, 127, 0.05) 16%, rgba(43, 93, 127, 0.7) 50%, rgba(43, 93, 127, 0.08) 64%, transparent 100%);
}

.hero-dfis-bg__orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(31, 57, 83, 0.26);
}

.hero-dfis-bg__orbit--wide {
  transform: rotate(16deg);
}

.hero-dfis-bg__orbit--medium {
  inset: 6%;
  border-color: rgba(54, 66, 82, 0.22);
  transform: rotate(-12deg);
}

.hero-dfis-bg__orbit--tight {
  inset: 12%;
  border-color: rgba(62, 70, 81, 0.24);
  transform: rotate(-24deg);
}

.hero-dfis-bg__orbit--outer {
  inset: -2%;
  border-color: rgba(29, 65, 96, 0.18);
  transform: rotate(32deg);
}

.hero-dfis-bg__nucleus {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(5.4rem, 7vw, 7.2rem);
  height: clamp(5.4rem, 7vw, 7.2rem);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.2) 16%, rgba(43, 93, 127, 0.16) 32%, rgba(43, 93, 127, 0.42) 56%, rgba(29, 65, 96, 0.94) 100%);
  box-shadow:
    0 0 0 22px rgba(43, 93, 127, 0.06),
    0 0 0 46px rgba(43, 93, 127, 0.025),
    0 20px 36px rgba(27, 42, 66, 0.12);
  transform: translate(-50%, -50%);
}

.hero-dfis-bg__particle {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 8px rgba(43, 93, 127, 0.08);
}

.hero-dfis-bg__particle--one {
  top: 16%;
  left: 17%;
}

.hero-dfis-bg__particle--two {
  top: 24%;
  right: 15%;
}

.hero-dfis-bg__particle--three {
  right: 28%;
  bottom: 18%;
}

.hero-dfis-bg__particle--four {
  left: 26%;
  bottom: 24%;
}

.hero-dfis-bg__particle--five {
  top: 44%;
  right: 10%;
}

.hero-dfis {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  align-content: center;
  height: 100%;
  min-height: 0;
}

.hero-dfis__copy {
  display: grid;
  gap: 0.35rem;
  align-self: center;
  transform: translateY(0);
  max-width: 38rem;
}

.hero-dfis__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--dfis-slate);
  text-wrap: balance;
}

.hero-dfis__title-de {
  color: var(--dfis-slate);
}

.hero-dfis__title-accent {
  color: var(--brand-accent);
}

.hero-dfis__description {
  width: 100%;
  max-width: 100%;
  margin: 0.7rem 0 0;
  color: rgba(44, 49, 58, 0.76);
  font-size: clamp(1rem, 0.94rem + 0.18vw, 1.12rem);
  font-weight: 500;
  line-height: 1.56;
}

.hero-dfis__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-top: 1rem;
}

.hero-dfis__button {
  min-height: 54px;
  padding-inline: 22px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.hero-dfis__button i {
  font-size: 1rem;
  line-height: 1;
}

html[data-theme="dark"] .home-hero--standard.home-hero--dfis {
  color: rgba(246, 248, 252, 0.96);
  background:
    radial-gradient(circle at 12% 20%, rgba(143, 214, 255, 0.1) 0%, transparent 22%),
    radial-gradient(circle at 84% 18%, rgba(255, 255, 255, 0.04) 0%, transparent 18%),
    linear-gradient(180deg, #111a27 0%, #0b1320 100%);
}

html[data-theme="dark"] .home-hero--standard.home-hero--dfis::before {
  background:
    linear-gradient(140deg, rgba(143, 214, 255, 0.08) 0%, transparent 24%),
    radial-gradient(circle at 66% 52%, rgba(143, 214, 255, 0.09) 0%, transparent 26%),
    radial-gradient(circle at 76% 28%, rgba(255, 255, 255, 0.08) 0%, transparent 16%);
}

html[data-theme="dark"] .home-hero--standard.home-hero--dfis::after {
  background: linear-gradient(180deg, rgba(8, 15, 24, 0) 0%, rgba(8, 15, 24, 0.24) 58%, rgba(8, 15, 24, 0.5) 100%);
}

html[data-theme="dark"] .hero-dfis-bg__grid {
  opacity: 0.25;
  background:
    linear-gradient(90deg, rgba(143, 214, 255, 0.06) 1px, transparent 1px) 0 0 / 58px 58px,
    linear-gradient(180deg, rgba(143, 214, 255, 0.05) 1px, transparent 1px) 0 0 / 58px 58px;
}

html[data-theme="dark"] .hero-dfis-bg__glow--blue {
  background: radial-gradient(circle, rgba(143, 214, 255, 0.16) 0%, rgba(143, 214, 255, 0.05) 48%, transparent 74%);
}

html[data-theme="dark"] .hero-dfis-bg__glow--gray {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 44%, transparent 72%);
}

html[data-theme="dark"] .hero-dfis-bg__beam {
  background: linear-gradient(140deg, rgba(143, 214, 255, 0.1) 0%, rgba(143, 214, 255, 0.03) 48%, transparent 100%);
}

html[data-theme="dark"] .hero-dfis-bg__trail::before {
  background: linear-gradient(90deg, transparent 0%, rgba(143, 214, 255, 0.05) 18%, rgba(143, 214, 255, 0.74) 50%, rgba(143, 214, 255, 0.08) 62%, transparent 100%);
}

html[data-theme="dark"] .hero-dfis-bg__trail--two::before {
  background: linear-gradient(90deg, transparent 0%, rgba(246, 248, 252, 0.04) 16%, rgba(246, 248, 252, 0.6) 50%, rgba(143, 214, 255, 0.08) 64%, transparent 100%);
}

html[data-theme="dark"] .hero-dfis-bg__orbit {
  border-color: rgba(143, 214, 255, 0.18);
}

html[data-theme="dark"] .hero-dfis-bg__orbit--medium {
  border-color: rgba(143, 214, 255, 0.14);
}

html[data-theme="dark"] .hero-dfis-bg__orbit--tight {
  border-color: rgba(255, 255, 255, 0.14);
}

html[data-theme="dark"] .hero-dfis-bg__orbit--outer {
  border-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .hero-dfis-bg__nucleus {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.12) 16%, rgba(143, 214, 255, 0.18) 32%, rgba(79, 124, 160, 0.4) 56%, rgba(42, 79, 109, 0.94) 100%);
  box-shadow:
    0 0 0 22px rgba(143, 214, 255, 0.07),
    0 0 0 46px rgba(143, 214, 255, 0.03),
    0 20px 36px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .hero-dfis-bg__particle {
  background: #ffffff;
  box-shadow: 0 0 0 8px rgba(143, 214, 255, 0.1);
}

html[data-theme="dark"] .hero-dfis__title {
  color: rgba(246, 248, 252, 0.96);
}

html[data-theme="dark"] .hero-dfis__description {
  color: rgba(246, 248, 252, 0.78);
}

@media (max-width: 991px) {
  .home-hero--standard.home-hero--dfis {
    height: clamp(380px, 62vw, 500px);
    min-height: 380px;
    padding-top: 0;
  }

  .hero-dfis {
    height: 100%;
    min-height: 0;
  }

  .hero-dfis__copy {
    max-width: 32rem;
  }

  .hero-dfis-bg__atom {
    top: 54%;
    left: 66%;
    width: min(78vw, 680px);
    opacity: 0.56;
  }

  .hero-dfis-bg__beam {
    top: 30%;
    right: -2%;
    width: min(60vw, 500px);
    height: min(60vw, 500px);
  }
}

@media (max-width: 767px) {
  .home-hero--standard.home-hero--dfis {
    height: clamp(360px, 58vw, 500px);
    min-height: 360px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-dfis {
    min-height: 0;
  }

  .hero-dfis__copy {
    gap: 0.35rem;
    transform: translateY(0);
  }

  .hero-dfis__title {
    font-size: clamp(2.1rem, 10.8vw, 3.4rem);
    line-height: 0.9;
    letter-spacing: -0.02em;
  }

  .hero-dfis__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-dfis__button {
    width: 100%;
    justify-content: center;
  }

  .hero-dfis-bg__grid {
    opacity: 0.24;
  }

  .hero-dfis-bg__atom {
    top: 58%;
    left: 70%;
    width: min(96vw, 420px);
    opacity: 0.42;
  }

  .hero-dfis-bg__beam {
    display: none;
  }

  .hero-dfis-bg__glow--blue {
    right: -16%;
    width: 280px;
    height: 280px;
  }

  .hero-dfis-bg__glow--gray {
    left: -16%;
    width: 240px;
    height: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-dfis-bg__atom,
  .hero-dfis-bg__orbit,
  .hero-dfis-bg__particle,
  .hero-dfis-bg__beam {
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}
