/* ================================
   GLOBAL
================================ */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Montserrat, Arial, sans-serif;
  color: #172033;
  background: #ffffff;
  line-height: 1.6;
}

body::selection {
  background: #f5c542;
  color: #071225;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.col-sm-12,
.col-md-12 {
  width: 100%;
}

.col-lg-4 {
  flex: 1 1 280px;
}

.col-md-6,
.col-xl-3 {
  flex: 1 1 240px;
}

/* ================================
   COLORS / HELPERS
================================ */

.white {
  color: #ffffff;
}

.red,
.tcolor {
  color: #e5313d;
}

.dark-gray {
  color: #4c5568;
}

.bg-white {
  background: #ffffff;
}

.bg-lightgray {
  background: #f4f6fb;
}

.bg-dark-blue,
.bg-corp-blue {
  background:
    radial-gradient(circle at top left, rgba(245, 197, 66, 0.15), transparent 32%),
    linear-gradient(135deg, #071225 0%, #0c2448 48%, #06101f 100%);
}

.yellow-text-shadow {
  color: #f5c542;
  text-shadow: 0 4px 18px rgba(245, 197, 66, 0.35);
}

.uppercase {
  text-transform: uppercase;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.fw-thin {
  font-weight: 300;
}

.fw-semibold {
  font-weight: 600;
}

.fw-bold {
  font-weight: 700;
}

.fw-extrabold {
  font-weight: 800;
}

.fs-xn {
  font-size: 13px;
}

.fs-s {
  font-size: 16px;
}

.fs-normal {
  font-size: 18px;
}

.fs-l {
  font-size: 22px;
}

.fs-xl {
  font-size: clamp(28px, 4vw, 42px);
}

.fs-xxl {
  font-size: clamp(34px, 5vw, 56px);
}

.fs-xxxl {
  font-size: clamp(42px, 7vw, 82px);
}

.mb-0 {
  margin-bottom: 0;
}

.mt-10 {
  margin-top: 10px;
}

.mt-20 {
  margin-top: 20px;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-40 {
  margin-bottom: 40px;
}

.pt-20 {
  padding-top: 20px;
}

.pt-40 {
  padding-top: 40px;
}

.pb-20 {
  padding-bottom: 20px;
}

.pb-80 {
  padding-bottom: 80px;
}

.p-0 {
  padding: 0;
}

.p-50 {
  padding: 50px;
}

.reset-line-height {
  line-height: 0.95;
}

/* ================================
   HEADER
================================ */

#header {
  position: absolute;
  z-index: 20;
  width: 100%;
  min-height: 86px;
  background: linear-gradient(to bottom, rgba(5, 12, 26, 0.75), rgba(5, 12, 26, 0));
}

/* ================================
   HERO
================================ */

.kl-slideshow {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: #071225;
}

.kl-slideshow-inner,
.static-content__source,
.kl-bg-source,
.kl-bg-source__bgimage {
  position: absolute;
  inset: 0;
}

.kl-bg-source__bgimage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 18, 37, 0.96) 0%, rgba(7, 18, 37, 0.72) 42%, rgba(7, 18, 37, 0.25) 100%),
    radial-gradient(circle at 70% 35%, rgba(245, 197, 66, 0.2), transparent 30%);
}

.bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph-content-wrap {
  position: relative;
  z-index: 4;
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}

.subheader-maintitle {
  color: #ffffff;
  max-width: 960px;
  letter-spacing: -0.045em;
}

.subheader-maintitle:first-child {
  color: #f5c542;
  font-size: clamp(24px, 4vw, 46px);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.subheader-maintitle span {
  display: inline-block;
  color: #dbe9ff;
  line-height: 1.25;
  letter-spacing: 0;
}

.subheader-titles {
  max-width: 700px;
}

.subheader-titles p {
  font-size: clamp(17px, 2vw, 22px);
  color: rgba(255, 255, 255, 0.88);
  margin: 22px 0;
}

.star_count {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid rgba(245, 197, 66, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.stars {
  color: #f5c542;
  letter-spacing: 3px;
}

/* ================================
   ACTION BOX
================================ */

.action_box {
  padding: 56px 0;
}

.kl-title-block {
  width: 100%;
}

.tbk__title {
  margin: 0 0 18px;
  line-height: 1.1;
}

.tbk__subtitle,
.kl-title-block p {
  max-width: 880px;
  margin: 0 auto;
  font-size: clamp(17px, 2vw, 21px);
}

.tbk__symbol {
  display: flex;
  justify-content: center;
  margin: 18px 0 24px;
}

.tbk__symbol span,
.tbg,
.bg-yellow {
  display: block;
  width: 86px;
  height: 5px;
  border-radius: 999px;
  background: #f5c542;
}

/* ================================
   MISSION BRIEF
================================ */

.elvalaszto {
  position: relative;
  padding: 70px 0;
}

.elvalaszto::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(229, 49, 61, 0.08), transparent 28%),
    radial-gradient(circle at 85% 80%, rgba(245, 197, 66, 0.1), transparent 28%);
  pointer-events: none;
}

.elvalaszto .container {
  position: relative;
  z-index: 2;
}

.elvalaszto .kl-title-block {
  max-width: 980px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 32px;
  box-shadow: 0 24px 70px rgba(15, 31, 58, 0.1);
  border: 1px solid rgba(7, 18, 37, 0.08);
}

.elvalaszto .tbk__subtitle {
  color: #3a4356;
  margin-bottom: 18px;
}

/* ================================
   GALLERY
================================ */

.gridPhotoGallery-container {
  padding-top: 70px;
}

.gridPhotoGallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gridPhotoGallery__item--sizer {
  display: none;
}

.gridPhotoGallery__item {
  min-height: 240px;
}

.gridPhotoGalleryItem--w2 {
  grid-column: span 2;
}

.gridPhotoGalleryItem--w1 {
  grid-column: span 1;
}

.gridPhotoGalleryItem--h2 {
  min-height: 500px;
}

.gridPhotoGalleryItem--h1 {
  min-height: 240px;
}

.gridPhotoGallery__link {
  position: relative;
  display: block;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
  border-radius: 26px;
  background: #0c2448;
  box-shadow: 0 18px 44px rgba(7, 18, 37, 0.18);
}

.gridPhotoGallery__img,
.gridPhotoGallery__img img {
  width: 100%;
  height: 100%;
}

.gridPhotoGallery__img img {
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.55s ease;
}

.gridPhotoGallery__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 18, 37, 0.48), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gridPhotoGallery__link:hover img {
  transform: scale(1.08);
  filter: brightness(0.9);
}

.gridPhotoGallery__link:hover::after {
  opacity: 1;
}

.circled-icon {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%) scale(0.8);
  border-radius: 50%;
  background: #f5c542;
  color: #071225;
  opacity: 0;
  transition: 0.35s ease;
}

.circled-icon::before {
  content: "+";
  display: grid;
  place-items: center;
  height: 100%;
  font-size: 36px;
  font-weight: 700;
  font-style: normal;
}

.gridPhotoGallery__link:hover .circled-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ================================
   WHY THIS GAME
================================ */

.hg_section {
  padding: 80px 0;
}

.kl-iconbox {
  margin-bottom: 24px;
}

.kl-iconbox__inner {
  display: flex;
  gap: 18px;
  height: 100%;
  padding: 26px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(7, 18, 37, 0.08);
  box-shadow: 0 18px 50px rgba(15, 31, 58, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.kl-iconbox__inner:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(15, 31, 58, 0.14);
}

.kl-iconbox__icon-wrapper {
  flex: 0 0 56px;
}

.kl-iconbox__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f5c542, #ffe38a);
  font-size: 26px;
  box-shadow: 0 14px 30px rgba(245, 197, 66, 0.28);
}

.kl-iconbox__title {
  margin: 0 0 8px;
  font-size: 23px;
  line-height: 1.15;
}

.kl-iconbox__desc {
  margin: 0;
  font-size: 16px;
}

.stage-ibx {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.stage-ibx__stage {
  position: relative;
  width: min(340px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(245, 197, 66, 0.35), rgba(245, 197, 66, 0.06) 54%, transparent 68%);
}

.stage-ibx__stage::before {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  border: 2px dashed rgba(229, 49, 61, 0.35);
  animation: spinCircle 18s linear infinite;
}

.stage-ibx__stage-img {
  position: relative;
  z-index: 2;
  max-height: 300px;
  object-fit: contain;
  filter: drop-shadow(0 24px 32px rgba(7, 18, 37, 0.22));
}

@keyframes spinCircle {
  to {
    transform: rotate(360deg);
  }
}

/* ================================
   REVIEWS
================================ */

.review-slick {
  padding: 90px 0;
}

.review-text {
  color: #ffffff;
  max-width: 950px;
  margin: 0 auto;
}

.review-text .tbk__title {
  color: #ffffff;
}

.review-text p {
  font-size: clamp(17px, 2vw, 22px);
  color: rgba(255, 255, 255, 0.86);
}

.moreText {
  color: #f5c542 !important;
}

.rating-loading {
  display: none;
}

/* если slick не подключился, показываем только первый отзыв */
.review-slick > .review-text:not(:first-child) {
  display: none;
}

/* если slick подключился, он сам переопределит */
.slick-initialized > .review-text {
  display: block;
}

/* ================================
   OTHER MISSIONS CARDS
================================ */

.hoverbox {
  margin-bottom: 30px;
}

.image-boxes {
  height: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 20px 56px rgba(7, 18, 37, 0.12);
  border: 1px solid rgba(7, 18, 37, 0.08);
}

.imgboxes-wrapper {
  position: relative;
  display: block;
  overflow: hidden;
}

.hoverBorderWrapper {
  position: relative;
  display: block;
  height: 230px;
  overflow: hidden;
}

.imgbox_image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.image-boxes:hover .imgbox_image {
  transform: scale(1.07);
}

.room-display-bottom {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  width: fit-content;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(7, 18, 37, 0.82);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.image-boxes .kl-title-block {
  padding: 24px;
}

.image-boxes .tbk__title {
  font-size: 24px;
  margin-bottom: 10px;
}

.image-boxes .tbk__title a {
  color: #071225;
}

.image-boxes .tbk__title a:hover {
  color: #e5313d;
}

.image-boxes span.m-0 {
  display: block;
  color: #4c5568;
  font-size: 16px;
}

/* ================================
   FOOTER
================================ */

#footer {
  background:
    radial-gradient(circle at 20% 0%, rgba(245, 197, 66, 0.18), transparent 30%),
    linear-gradient(135deg, #06101f, #0c2448);
  padding: 40px 0 30px;
}

#footer ul {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 24px !important;
  flex-wrap: wrap !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin: 0 auto 32px !important;
  padding: 24px 32px !important;
  list-style: none !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

#footer a {
  color: #ffffff !important;
  transition: color 0.25s ease;
}

#footer ul a {
  font-size: 20px !important;
  font-weight: 700;
}

#footer a:hover {
  color: #f5c542 !important;
}

#footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72) !important;
}

/* ================================
   TO TOP
================================ */

#totop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #f5c542;
  color: #071225;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(7, 18, 37, 0.25);
  transition: transform 0.25s ease;
}

#totop:hover {
  transform: translateY(-4px);
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 991px) {
  .kl-slideshow,
  .ph-content-wrap {
    min-height: 640px;
  }

  .gridPhotoGallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gridPhotoGalleryItem--w2,
  .gridPhotoGalleryItem--w1 {
    grid-column: span 1;
  }

  .gridPhotoGalleryItem--h2,
  .gridPhotoGalleryItem--h1 {
    min-height: 260px;
  }

  .p-50 {
    padding: 36px 24px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

  .kl-slideshow,
  .ph-content-wrap {
    min-height: 620px;
  }

  .ph-content-wrap {
    padding: 90px 0 54px;
  }

  .subheader-maintitle {
    letter-spacing: -0.03em;
  }

  .subheader-titles p {
    font-size: 16px;
  }

  .star_count {
    border-radius: 22px;
  }

  .action_box,
  .hg_section,
  .elvalaszto {
    padding: 54px 0;
  }

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

  .gridPhotoGalleryItem--h2,
  .gridPhotoGalleryItem--h1 {
    min-height: 230px;
  }

  .kl-iconbox__inner {
    padding: 22px;
  }

  .kl-iconbox__icon-wrapper {
    flex-basis: 48px;
  }

  .kl-iconbox__icon {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  #footer ul {
    flex-direction: column;
    border-radius: 28px !important;
    gap: 16px !important;
  }

  #footer ul a {
    font-size: 18px !important;
  }

  #totop {
    width: 52px;
    height: 52px;
  }
}