.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #222;
  background: #fff;
  padding-top: 126px;
  transition: padding-top 0.25s ease;
}

a {
  color: #111;
  text-decoration: none;
}

a:hover {
  color: #666;
}

.header-top {
  padding: 10px 0;
  border-bottom: 1px solid #d9e1ec;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #f4f8fd;
  transition: max-height 0.25s ease, opacity 0.2s ease, padding 0.25s ease, border-color 0.25s ease;
  max-height: 60px;
  overflow: hidden;
}

.header-note {
  color: #555;
}

.header-meta {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
}

.header-meta a {
  color: #4a5f7c;
}

.main-navbar {
  padding: 14px 0;
  border-bottom: 1px solid #dfe7f2;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(22, 64, 117, 0.08);
  transition: padding 0.25s ease, box-shadow 0.25s ease;
}

.site-header .main-navbar.fixed-top {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
}

body.is-scrolled .header-top {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-color: transparent;
}

body.is-scrolled .main-navbar {
  padding: 1px 0;
  box-shadow: 0 12px 28px rgba(22, 64, 117, 0.16);
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-right: 40px;
}

.image-logo-wrap {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 10px;
  background: #164075;
  text-decoration: none;
}

.navbar-nav {
  gap: 22px;
}

.nav-link {
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #164075;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link.active,
.nav-link:hover,
.nav-link:focus {
  color: #0e2f58;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: #59b5e8;
}

.lang-dropdown {
  margin-left: 32px;
}

.lang-dropdown-toggle {
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid #cfd9e8;
  background: #f7faff;
  color: #164075;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lang-dropdown-toggle:hover,
.lang-dropdown-toggle:focus,
.lang-dropdown-toggle.show {
  background: #eaf1fa;
  border-color: #b8cbe5;
  color: #164075;
}

.lang-dropdown .dropdown-menu {
  min-width: 110px;
  border-radius: 0;
  border: 1px solid #d7e1ef;
  padding: 8px 0;
  box-shadow: 0 12px 26px rgba(22, 64, 117, 0.12);
}

.lang-dropdown .dropdown-item {
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: none;
  color: #164075;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  font-size: 15px;
  line-height: 1;
}

.lang-dropdown .dropdown-item:hover,
.lang-dropdown .dropdown-item:focus,
.lang-dropdown .dropdown-item.active {
  background: #edf4fd;
  color: #164075;
}

.hero-slider {
  padding: 0;
  border-bottom: 1px solid #dfe7f2;
  background: #fff;
}

.section-label {
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #777;
}

.section-label.light {
  color: rgba(255, 255, 255, 0.76);
}

.hero-slide h1,
.section-heading h2 {
  margin: 0 0 24px;
  font-weight: 800;
  line-height: 1.15;
  color: #111;
}

.hero-slide h1 {
  font-size: clamp(34px, 5vw, 58px);
  max-width: 760px;
}

.hero-slide p {
  max-width: 650px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.84);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-slide {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: linear-gradient(135deg, #164075 0%, #20589d 100%);
  color: #fff;
  min-height: calc(78vh - 40px);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 31, 57, 0.72) 0%, rgba(11, 31, 57, 0.48) 45%, rgba(11, 31, 57, 0.18) 100%);
}

.hero-slide-bg {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-carousel-full,
.hero-carousel-full .carousel-inner,
.hero-carousel-full .carousel-item {
  min-height: calc(78vh - 40px);
}

.hero-slide-container {
  display: flex;
  align-items: center;
  min-height: calc(78vh - 40px);
}

.hero-content {
  max-width: 700px;
  padding: 40px 0 58px;
  position: relative;
  z-index: 1;
}

.hero-slide h1 {
  font-size: clamp(30px, 4.4vw, 50px);
  max-width: 680px;
}

.hero-slide p {
  max-width: 620px;
  font-size: 16px;
}

.slider-indicators {
  bottom: 22px;
  margin-bottom: 0;
}

.slider-indicators [data-bs-target] {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.slider-control {
  width: 7%;
}

.slider-control .carousel-control-next-icon,
.slider-control .carousel-control-prev-icon {
  width: 2rem;
  height: 2rem;
}

.btn-light-blue {
  color: #164075;
  background: #ffffff;
  border: 1px solid #ffffff;
}

.btn-light-blue:hover {
  color: #164075;
  background: #dce8f7;
  border-color: #dce8f7;
}

.custom-outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.custom-outline-light:hover {
  color: #164075;
  background: #fff;
  border-color: #fff;
}

.hero-box,
.aside-card,
.simple-card,
.news-card,
.partner-item,
.contact-card,
.form-card {
  padding: 28px;
  border: 1px solid #dfe7f2;
  background: #fff;
}

.hero-box-title {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.page-section {
  padding: 80px 0;
  border-bottom: 1px solid #e8edf4;
}

.compact-slider-section {
  padding: 56px 0 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fe 100%);
}

.compact-slider-head {
  margin-bottom: 24px;
}

.compact-slider-note {
  font-size: 13px;
  color: #6a7f9d;
}

.compact-info-slider {
  position: relative;
}

.compact-slide-card {
  overflow: hidden;
  border: 1px solid #dbe5f2;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 20px 44px rgba(22, 64, 117, 0.08);
}

.compact-slide-content {
  padding: 42px 42px 46px;
}

.compact-slide-content-wide {
  max-width: 920px;
}

.compact-slide-content h3 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  color: #12345e;
}

.compact-slide-content p {
  max-width: 580px;
  margin-bottom: 28px;
  color: #4d6280;
}

.compact-slide-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.compact-slide-links a {
  color: #164075;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding-right: 18px;
}

.compact-slide-links a::after {
  content: ">";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.compact-indicators {
  margin-bottom: -26px;
}

.compact-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #164075;
}

.compact-control {
  width: 48px;
  height: 48px;
  top: 50%;
  transform: translateY(-50%);
  background: #182942;
  border-radius: 50%;
  opacity: 1;
}

.compact-control.carousel-control-prev {
  left: -18px;
}

.compact-control.carousel-control-next {
  right: -18px;
}

.compact-control .carousel-control-prev-icon,
.compact-control .carousel-control-next-icon {
  width: 1.4rem;
  height: 1.4rem;
}

.objectives-variants {
  background: #f3f6fb;
}

.variant-intro {
  max-width: 980px;
  font-size: 18px;
  line-height: 1.7;
  color: #28486f;
}

.variant-block + .variant-block {
  margin-top: 56px;
}

.variant-title {
  margin-bottom: 24px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #164075;
}

.timeline-objectives {
  position: relative;
  padding-left: 74px;
}

.timeline-line {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 32px;
  width: 2px;
  background: #59b5e8;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 22px;
  align-items: start;
}

.timeline-item + .timeline-item {
  margin-top: 28px;
}

.timeline-icon {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2da8df;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  transform: translateY(12px);
  box-shadow: 0 10px 20px rgba(45, 168, 223, 0.22);
}

.timeline-content {
  padding-top: 8px;
}

.timeline-content h3,
.objective-card-alt h3,
.objective-list-item h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  color: #173e72;
}

.timeline-content p,
.objective-card-alt p,
.objective-list-item p {
  margin: 0;
  color: #365173;
}

.objective-card-alt {
  height: 100%;
  padding: 28px;
  border-radius: 10px;
  border: 1px solid #dbe5f2;
  background: #fff;
  box-shadow: 0 18px 38px rgba(22, 64, 117, 0.06);
}

.objective-card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #164075;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.objective-list-block {
  height: 100%;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #dbe5f2;
  background: #fff;
  box-shadow: 0 18px 38px rgba(22, 64, 117, 0.06);
}

.objective-list-block.accent {
  background: linear-gradient(180deg, #164075 0%, #1f5a9d 100%);
  border-color: transparent;
}

.objective-list-item + .objective-list-item {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(22, 64, 117, 0.12);
}

.objective-list-block.accent .objective-list-item + .objective-list-item {
  border-top-color: rgba(255, 255, 255, 0.18);
}

.objective-list-block.accent .objective-list-item h3,
.objective-list-block.accent .objective-list-item p {
  color: #fff;
}

.simple-card,
.news-card,
.aside-card,
.contact-card,
.form-card,
.partner-item {
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(22, 64, 117, 0.05);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-gray {
  background: #f7faff;
}

.section-heading {
  margin-bottom: 38px;
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}

.section-heading h2 {
  font-size: clamp(28px, 4vw, 42px);
  color: #12345e;
}

.section-more {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #164075;
}

.text-block p:last-child {
  margin-bottom: 0;
}

.aside-card h3,
.simple-card h3,
.news-card h3 {
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.plain-list {
  margin: 0;
  padding-left: 18px;
}

.plain-list li + li {
  margin-top: 10px;
}

.simple-card {
  height: 100%;
}

.news-card {
  height: 100%;
}

.news-date {
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
}

.news-card a,
.material-action a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #164075;
}

.materials-table {
  border-top: 1px solid #cfd9e8;
}

.material-row {
  display: grid;
  grid-template-columns: 120px 1fr 120px;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid #cfd9e8;
  align-items: center;
}

.material-type {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #777;
}

.material-title {
  font-weight: 600;
}

.partner-item {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: #164075;
  background: #f8fbff;
}

.contact-item + .contact-item {
  margin-top: 14px;
}

.form-control {
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 0;
  border: 1px solid #d9d9d9;
  font-size: 14px;
}

textarea.form-control {
  min-height: 160px;
}

.form-control:focus {
  border-color: #164075;
  box-shadow: none;
}

.btn {
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.btn-dark {
  background: #164075;
  border-color: #164075;
}

.btn-dark:hover {
  background: #1d518f;
  border-color: #1d518f;
}

.site-footer {
  padding: 56px 0 24px;
  background: #164075;
  color: #fff;
}

.age-page-body {
  padding-top: 0;
  background: linear-gradient(180deg, #182942 0%, #233d60 100%);
}

.age-check-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 32px 0;
}

.age-check-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px;
  border-radius: 14px;
  background: #fff;
  text-align: center;
  box-shadow: 0 24px 56px rgba(11, 27, 45, 0.24);
}

.age-logo {
  width: 220px;
  height: auto;
  display: block;
}

.age-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  padding: 10px 16px;
  border-radius: 12px;
  background: #164075;
}

.age-check-card h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  color: #182942;
}

.age-check-card p {
  max-width: 560px;
  margin: 0 auto 28px;
  color: #526784;
}

.age-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.age-note {
  margin-top: 20px;
  font-size: 13px;
  color: #6f8198;
}

.news-single-page {
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.news-breadcrumbs {
  margin-bottom: 22px;
}

.news-breadcrumbs .breadcrumb-item,
.news-breadcrumbs .breadcrumb-item a {
  color: #6b819f;
  font-size: 13px;
}

.news-single-head {
  max-width: 920px;
}

.news-single-lead {
  max-width: 760px;
  font-size: 18px;
  color: #46607f;
}

.news-single-cover,
.news-inline-image,
.next-article-card,
.news-meta-card {
  border-radius: 12px;
  overflow: hidden;
}

.news-single-cover {
  margin-bottom: 36px;
  box-shadow: 0 18px 42px rgba(22, 64, 117, 0.1);
}

.news-single-cover img,
.news-inline-image img,
.next-article-image img {
  width: 100%;
  display: block;
}

.news-article-body h3 {
  margin: 34px 0 16px;
  font-size: 30px;
  font-weight: 800;
  color: #173e72;
}

.news-article-body p,
.news-article-body li {
  font-size: 17px;
  color: #365173;
}

.news-quote {
  margin: 34px 0;
  padding: 24px 28px;
  border-left: 4px solid #59b5e8;
  background: #edf6fd;
  font-size: 22px;
  line-height: 1.5;
  color: #173e72;
}

.news-inline-image {
  margin: 34px 0;
  box-shadow: 0 18px 42px rgba(22, 64, 117, 0.08);
}

.news-meta-card {
  position: sticky;
  top: 120px;
}

.news-meta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.next-article-card {
  margin-top: 48px;
  padding: 32px;
  background: #fff;
  border: 1px solid #dbe5f2;
  box-shadow: 0 18px 42px rgba(22, 64, 117, 0.08);
}

.next-article-card h3 {
  margin: 0 0 14px;
  font-size: 30px;
  font-weight: 800;
  color: #173e72;
}

.next-article-card p {
  margin: 0 0 18px;
  color: #4b6380;
}

.next-article-link {
  color: #164075;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.next-article-image {
  border-radius: 10px;
  overflow: hidden;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #164075;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  box-shadow: 0 12px 24px rgba(22, 64, 117, 0.24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 1035;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-brand-block p {
  margin: 18px 0 0;
  max-width: 360px;
  color: rgba(255, 255, 255, 0.78);
}

.footer-logo {
  width: 200px;
  height: auto;
  display: block;
}

.footer-title {
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-links a:hover {
  color: #fff;
}

.footer-contacts {
  color: rgba(255, 255, 255, 0.82);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 991.98px) {
  .header-meta {
    justify-content: flex-start;
  }

  .lang-dropdown {
    margin-left: 0;
    margin-top: 16px;
  }

  .hero-slider {
    padding: 0;
  }

  .hero-slide {
    min-height: auto;
  }

  .hero-content {
    padding: 54px 0;
  }

  .hero-carousel-full,
  .hero-carousel-full .carousel-inner,
  .hero-carousel-full .carousel-item,
  .hero-slide,
  .hero-slide-container {
    min-height: 58vh;
  }

  .compact-slide-content {
    padding: 32px;
  }

  .timeline-objectives {
    padding-left: 28px;
  }

  .timeline-item {
    grid-template-columns: 74px 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767.98px) {
  .header-top,
  .nav-link,
  .lang-dropdown-toggle,
  .section-label,
  .section-more,
  .news-date,
  .news-card a,
  .material-action a,
  .material-type,
  .footer-bottom {
    letter-spacing: 0.08em;
  }

  .section-heading-row,
  .footer-bottom,
  .material-row {
    display: block;
  }

  .material-row {
    padding: 16px 0;
  }

  .material-title,
  .material-action {
    margin-top: 8px;
  }

  .hero-box,
  .aside-card,
  .simple-card,
  .news-card,
  .partner-item,
  .contact-card,
  .form-card {
    padding: 22px;
  }

  .page-section {
    padding: 60px 0;
  }

  .compact-slider-section {
    padding-top: 42px;
  }

  .hero-slide {
    padding: 0;
  }

  .slider-control {
    display: none;
  }

  .hero-content {
    padding: 44px 0 52px;
  }

  .compact-slide-content {
    padding: 24px 22px 28px;
  }

  .compact-slide-content h3 {
    font-size: 24px;
  }

  .variant-intro {
    font-size: 16px;
  }

  .timeline-objectives {
    padding-left: 0;
  }

  .timeline-line {
    left: 24px;
  }

  .timeline-item {
    grid-template-columns: 64px 1fr;
    gap: 16px;
  }

  .timeline-icon {
    width: 48px;
    height: 48px;
    font-size: 14px;
    transform: translateY(6px);
  }

  .timeline-content h3,
  .objective-card-alt h3,
  .objective-list-item h3 {
    font-size: 18px;
  }

  .objective-card-alt,
  .objective-list-block {
    padding: 22px;
  }

  .compact-control {
    display: none;
  }

  .age-check-card {
    padding: 32px 22px;
  }

  .news-article-body h3,
  .next-article-card h3 {
    font-size: 24px;
  }

  .hero-carousel-full,
  .hero-carousel-full .carousel-inner,
  .hero-carousel-full .carousel-item,
  .hero-slide,
  .hero-slide-container {
    min-height: 50vh;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }

  .site-logo,
  body.is-scrolled .site-logo,
  .footer-logo {
    width: 160px;
  }
}
.site-logo {
  width: 180px;
  height: auto;
  display: block;
  transition: width 0.25s ease;
}

body.is-scrolled .site-logo {
  width: 126px;
}

body.is-scrolled .image-logo-wrap {
  padding: 4px 8px;
  border-radius: 7px;
}

body.is-scrolled .nav-link {
  font-size: 10px;
}

body.is-scrolled .lang-dropdown-toggle {
  min-height: 28px;
  padding: 4px 10px;
  font-size: 10px;
}
