body {
  padding-top: var(--header-height);
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section {
  padding: var(--section-space) 0;
}

.section--muted {
  background: var(--color-bg-soft);
}

.section--dark {
  background:
    radial-gradient(circle at top left, rgba(182, 138, 76, 0.14), transparent 28%),
    linear-gradient(180deg, #122031 0%, #0b1520 100%);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(18, 56, 91, 0.08);
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 32px rgba(10, 22, 35, 0.12);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.site-logo {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-primary);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.site-nav > a:not(.btn) {
  position: relative;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-text);
  transition: color var(--transition);
}

.site-nav > a:not(.btn):hover,
.site-nav > a:not(.btn).is-active {
  color: var(--color-primary);
}

.site-nav > a:not(.btn).is-active::after,
.site-nav > a:not(.btn):hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
}

.lang-switcher button {
  min-width: 52px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(18, 56, 91, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 700;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition),
    transform var(--transition);
}

.lang-switcher button:hover {
  background: var(--color-primary-soft);
  border-color: rgba(18, 56, 91, 0.24);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--color-text);
  transition: transform var(--transition), opacity var(--transition);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 110px 0 90px;
  background: linear-gradient(180deg, #112133 0%, #0b1623 100%);
}

.hero__bg,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(7, 15, 25, 0.88) 0%, rgba(10, 19, 31, 0.74) 45%, rgba(7, 15, 25, 0.5) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.page-hero {
  padding: 120px 0 84px;
  background:
    radial-gradient(circle at top right, rgba(182, 138, 76, 0.12), transparent 24%),
    linear-gradient(180deg, #f8fbfd 0%, #eef3f7 100%);
  border-bottom: 1px solid rgba(18, 56, 91, 0.08);
}

.page-hero__title {
  margin-bottom: 18px;
  max-width: 880px;
}

.page-hero__desc {
  max-width: 760px;
  font-size: var(--fs-md);
}

.site-footer {
  background: #0b1520;
  color: var(--color-text-light);
}

.site-footer__inner {
  padding: 72px 0 48px;
  display: flex;
  justify-content: space-between;
  gap: 48px;
}

.site-footer__brand {
  max-width: 430px;
}

.site-footer__brand .site-logo {
  color: #fff;
  margin-bottom: 14px;
}

.site-footer__brand p {
  color: rgba(217, 227, 238, 0.78);
}

.site-footer__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 220px));
  gap: 32px;
}

.site-footer__links h4 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 1rem;
}

.site-footer__links a {
  display: block;
  margin-bottom: 10px;
  color: rgba(217, 227, 238, 0.76);
  transition: color var(--transition);
}

.site-footer__links a:hover {
  color: #fff;
}

.site-footer__bottom {
  border-top: 1px solid rgba(217, 227, 238, 0.08);
}

.site-footer__bottom p {
  margin: 0;
  padding: 18px 0;
  font-size: var(--fs-sm);
  color: rgba(217, 227, 238, 0.56);
}

.split-layout {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}

.split-layout__media {
  min-height: 420px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

@media (max-width: 1080px) {
  .site-nav {
    gap: 20px;
  }

  .split-layout {
    grid-template-columns: 1fr;
  }

  .split-layout__media {
    min-height: 340px;
  }
}

@media (max-width: 860px) {
  .site-header__inner {
    gap: 12px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    width: min(88vw, 360px);
    height: calc(100vh - var(--header-height));
    padding: 28px 24px 24px;
    background: #fff;
    border-left: 1px solid rgba(18, 56, 91, 0.08);
    box-shadow: -18px 0 48px rgba(10, 22, 35, 0.1);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
  }

  body.menu-open .site-nav {
    transform: translateX(0);
  }

  .site-nav > a:not(.btn).is-active::after,
  .site-nav > a:not(.btn):hover::after {
    display: none;
  }

  .site-nav > a:not(.btn) {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(18, 56, 91, 0.06);
  }

  .site-nav .btn {
    margin-top: 14px;
    justify-content: center;
  }

  .lang-switcher {
    margin-left: 0;
  }

  .lang-switcher--in-nav {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(18, 56, 91, 0.08);
    justify-content: flex-start;
  }

  .lang-switcher--in-nav button {
    min-width: 48px;
    height: 34px;
    padding: 0 10px;
    font-size: 0.8125rem;
  }

  body.menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    padding: 96px 0 80px;
  }

  .site-footer__inner {
    display: grid;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-logo {
    font-size: 2.1rem;
  }

  .page-hero {
    padding: 96px 0 64px;
  }

  .site-footer__links {
    grid-template-columns: 1fr;
  }
}