/* Premium section refinements loaded after the base stylesheet. */
.hero-media {
  background:
    linear-gradient(90deg, rgba(8, 13, 18, 0.94) 0%, rgba(8, 13, 18, 0.82) 34%, rgba(8, 13, 18, 0.38) 68%, rgba(8, 13, 18, 0.66) 100%),
    linear-gradient(180deg, rgba(8, 13, 18, 0.06) 0%, rgba(8, 13, 18, 0.22) 54%, var(--bg) 100%),
    url("../images/hero.webp") center / cover no-repeat,
    url("../images/hero.png") center / cover no-repeat,
    url("../images/hero.svg") center / cover no-repeat,
    linear-gradient(135deg, #0d1620 0%, #162634 48%, #090e14 100%);
}

.language-menu {
  position: relative;
}

.language-toggle {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--soft);
  padding: 9px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.language-toggle:hover,
.language-menu.is-open .language-toggle {
  color: #ffffff;
  background: rgba(118, 175, 194, 0.08);
  border-color: rgba(118, 175, 194, 0.18);
}

.language-toggle strong {
  display: inline-flex;
  min-width: 28px;
  justify-content: center;
  border-left: 1px solid rgba(118, 175, 194, 0.22);
  padding-left: 8px;
  color: var(--accent-2);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.language-toggle::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.72;
}

.language-options {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 90;
  display: grid;
  min-width: 180px;
  gap: 4px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(8, 13, 18, 0.98);
  box-shadow: var(--shadow);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.language-menu.is-open .language-options {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-nav .language-options a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid transparent;
  padding: 10px 11px;
  color: var(--soft);
}

.site-nav .language-options a:hover,
.site-nav .language-options a[aria-current="page"] {
  color: #ffffff;
  border-color: rgba(118, 175, 194, 0.2);
  background: rgba(118, 175, 194, 0.1);
}

.language-options small {
  color: var(--accent-2);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.intro-band {
  padding: 82px 0 86px;
  background:
    linear-gradient(180deg, rgba(8, 13, 18, 0.98), rgba(10, 18, 25, 0.92)),
    var(--bg);
}

.intro-grid {
  grid-template-columns: 0.42fr minmax(0, 0.9fr);
  gap: 84px;
  align-items: start;
}

.intro-grid h2 {
  max-width: 780px;
  font-size: clamp(42px, 4.8vw, 72px);
  line-height: 1.02;
}

.intro-grid p:not(.section-kicker) {
  max-width: 760px;
}

.content-section {
  padding: 104px 0;
}

.world-grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.84fr);
  gap: 28px 34px;
  align-items: stretch;
}

.world-card,
.use-card,
.principle-list article,
.partner-panel,
.faq-grid details {
  box-shadow: none;
}

.world-card {
  position: relative;
  min-height: 0;
  padding: 0 0 26px;
  border: 0;
  border-bottom: 1px solid rgba(118, 175, 194, 0.2);
  border-radius: 0;
  background: transparent;
}

.world-card::before {
  content: "";
  display: block;
  width: 54px;
  height: 1px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, var(--accent-2), rgba(168, 216, 230, 0));
}

.world-card-large {
  min-height: 520px;
  padding: 38px;
  border: 1px solid rgba(118, 175, 194, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(8, 13, 18, 0.1), rgba(8, 13, 18, 0.82)),
    url("../images/hero.webp") center / cover no-repeat,
    url("../images/hero.png") center / cover no-repeat,
    url("../images/hero.svg") center / cover no-repeat,
    var(--surface-3);
  overflow: hidden;
}

.world-card-large::before {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  margin: 0;
  background:
    linear-gradient(180deg, transparent 25%, rgba(8, 13, 18, 0.9) 100%),
    linear-gradient(90deg, rgba(8, 13, 18, 0.72), transparent 72%);
  pointer-events: none;
}

.world-card-large > * {
  position: relative;
  z-index: 1;
}

.world-card:not(.world-card-large) {
  padding-top: 22px;
}

.world-card:not(.world-card-large) h3 {
  font-size: 24px;
}

.world-card:not(.world-card-large) p:not(.card-label) {
  max-width: 360px;
}

.split-section {
  background:
    linear-gradient(180deg, rgba(13, 22, 32, 0.52), rgba(8, 13, 18, 0.98)),
    var(--bg);
}

.split-grid {
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
  gap: 76px;
}

.principle-list {
  gap: 0;
  border-top: 1px solid rgba(118, 175, 194, 0.2);
}

.principle-list article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 8px 22px;
  padding: 28px 0;
  border: 0;
  border-bottom: 1px solid rgba(118, 175, 194, 0.2);
  border-radius: 0;
  background: transparent;
}

.principle-list h3 {
  margin-bottom: 0;
  font-size: 24px;
}

.principle-list p {
  grid-column: 2;
  max-width: 520px;
  font-size: 15px;
}

.principle-list span {
  padding-top: 3px;
}

.partners-copy h2 {
  max-width: 660px;
  font-size: clamp(46px, 4.15vw, 66px);
  line-height: 1.08;
  overflow: visible;
}

.partners-copy p {
  max-width: 690px;
}

.use-grid,
.faq-grid {
  gap: 18px;
}

.use-card,
.partner-panel,
.faq-grid details {
  background: rgba(16, 25, 34, 0.54);
  border-color: rgba(118, 175, 194, 0.16);
}

@media (max-width: 920px) {
  .language-menu {
    width: 100%;
  }

  .language-toggle {
    width: 100%;
    justify-content: space-between;
    min-height: 44px;
    padding: 12px;
  }

  .language-options {
    position: static;
    display: none;
    width: 100%;
    margin-top: 6px;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .language-menu.is-open .language-options {
    display: grid;
  }

  .site-nav .language-options a {
    padding: 12px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(8, 13, 18, 0.82) 0%, rgba(8, 13, 18, 0.68) 42%, var(--bg) 100%),
      url("../images/hero.webp") center / cover no-repeat,
      url("../images/hero.png") center / cover no-repeat,
      url("../images/hero.svg") center / cover no-repeat,
      linear-gradient(135deg, #0d1620 0%, #162634 48%, #090e14 100%);
  }

  .intro-grid,
  .world-grid,
  .split-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .intro-grid h2 {
    font-size: clamp(40px, 8vw, 64px);
  }

  .partners-copy h2 {
    max-width: 760px;
    font-size: clamp(40px, 7.2vw, 62px);
  }

  .world-card-large {
    min-height: 430px;
  }

  .world-card:not(.world-card-large) p:not(.card-label) {
    max-width: none;
  }
}

@media (max-width: 620px) {
  .intro-band,
  .content-section {
    padding: 66px 0;
  }

  .world-card-large {
    min-height: 360px;
    padding: 26px;
  }

  .partners-copy h2 {
    font-size: clamp(38px, 11vw, 52px);
    line-height: 1.08;
  }

  .principle-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .principle-list p {
    grid-column: 1;
  }
}
