
@font-face {
  font-family: "PlayLocal";
  src: url("Play.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "EuropeLocal";
  src: url("europeext.otf") format("opentype");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --white: #fff;
  --muted: rgba(255,255,255,.72);
  --line: rgba(255,255,255,.48);
  --shadow: 0 2px 10px rgba(0,0,0,.9);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #000; }
body {
  min-width: 280px;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  color: var(--white);
  font-family: "PlayLocal", "Segoe UI", Arial, sans-serif;
  background: #000 url("../images/home-background-user.jpg?v=20260712-8") center bottom / cover no-repeat fixed;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(0,0,0,.82) 0%,
      rgba(0,0,0,.58) 10%,
      rgba(0,0,0,.28) 24%,
      rgba(0,0,0,.12) 40%,
      rgba(0,0,0,.06) 56%,
      rgba(0,0,0,.14) 74%,
      rgba(0,0,0,.30) 100%),
    linear-gradient(90deg,
      rgba(0,0,0,.30) 0%,
      rgba(0,0,0,.10) 12%,
      rgba(0,0,0,0) 24%,
      rgba(0,0,0,0) 76%,
      rgba(0,0,0,.10) 88%,
      rgba(0,0,0,.30) 100%),
    radial-gradient(circle at 50% 18%, rgba(255,255,255,.055) 0%, rgba(255,255,255,0) 30%),
    radial-gradient(circle at 50% 50%, transparent 0 46%, rgba(0,0,0,.12) 74%, rgba(0,0,0,.36) 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at top center, rgba(0,0,0,.18) 0%, rgba(0,0,0,0) 36%),
    radial-gradient(ellipse at bottom center, rgba(255,255,255,.03) 0%, rgba(255,255,255,0) 28%);
}

a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }

.home-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 1480px);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: 20px clamp(28px, 4.5vw, 78px) 22px;
  display: flex;
  flex-direction: column;
}

.languages {
  min-height: 28px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-shadow: var(--shadow);
}
.languages > * {
  min-width: 48px;
  padding: 2px 12px;
  text-align: center;
  border-left: 1px solid rgba(255,255,255,.52);
}
.languages > *:first-child { border-left: 0; }
.languages a { transition: opacity .16s ease, transform .16s ease; }
.languages a:hover, .languages a:focus-visible { opacity: .72; transform: translateY(-1px); }
.languages .is-current { color: #fff; }
.languages .is-disabled { color: var(--muted); cursor: default; }

.hero {
  margin-top: clamp(10px, 1.6vh, 24px);
  display: grid;
  grid-template-columns: minmax(460px, 680px) minmax(320px, 1fr);
  align-items: start;
  gap: clamp(32px, 6vw, 100px);
}
.brand-block {
  width: min(100%, 660px);
}
.brand-picture {
  display: block;
  width: 100%;
}
.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 11px rgba(0,0,0,.88));
}

.tagline {
  padding-top: clamp(65px, 9vh, 100px);
  text-align: right;
  text-shadow: var(--shadow);
}
.tagline-text {
  margin: 0;
  font-family: "EuropeLocal", "PlayLocal", Arial, sans-serif;
  font-size: clamp(20px, 2vw, 31px);
  line-height: 1.12;
  letter-spacing: .01em;
}
.interview-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-family: Arial, sans-serif;
  font-size: clamp(10px, .86vw, 13px);
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: opacity .16s ease, transform .16s ease;
}
.interview-link::after { content: "›"; font-size: 29px; font-weight: 300; line-height: .55; }
.interview-link:hover, .interview-link:focus-visible { opacity: .75; transform: translateX(3px); }

.main-menu {
  width: min(100%, 1240px);
  margin: clamp(42px, 8vh, 92px) auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.menu-card {
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: opacity .17s ease, transform .17s ease;
}
.menu-card + .menu-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 68px;
  width: 1px;
  height: 46px;
  background: var(--line);
}
.menu-card:hover, .menu-card:focus-visible { opacity: .76; transform: translateY(-4px); }
.menu-icon {
  width: clamp(68px, 6vw, 92px);
  height: clamp(68px, 6vw, 92px);
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1) drop-shadow(0 3px 8px rgba(0,0,0,.8));
}
.menu-label {
  width: 100%;
  margin-top: 16px;
  padding: 0 10px;
  font-size: clamp(17px, 1.45vw, 23px);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: .015em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: var(--shadow);
}

.home-footer {
  width: min(100%, 1180px);
  margin: auto auto 0;
  padding-top: clamp(38px, 7vh, 76px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
}
.copyright {
  justify-self: start;
  font-family: Arial, sans-serif;
  font-size: 12px;
  text-shadow: var(--shadow);
}
.contacts {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 31px);
}
.contact-link {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  transition: opacity .16s ease, transform .16s ease;
}
.contact-link:hover, .contact-link:focus-visible { opacity: .72; transform: translateY(-3px) scale(1.04); }
.contact-link img { width: 100%; height: 100%; object-fit: contain; display: block; }

@media (max-width: 1100px) and (min-width: 761px) {
  .home-shell { padding-left: 28px; padding-right: 28px; }
  .hero { grid-template-columns: minmax(370px, 1.1fr) minmax(260px, .9fr); gap: 28px; }
  .brand-block { width: min(100%, 560px); }
  .tagline { padding-top: 45px; }
  .menu-label { font-size: 15px; padding: 0 6px; }
}

@media (max-width: 760px) {
  body {
    background-color: #000;
    background-attachment: scroll;
    background-position: center bottom;
    background-size: auto 42%;
    background-repeat: no-repeat;
  }
  body::before {
    background:
      linear-gradient(180deg,
        rgba(0,0,0,.96) 0%,
        rgba(0,0,0,.90) 18%,
        rgba(0,0,0,.68) 40%,
        rgba(0,0,0,.32) 60%,
        rgba(0,0,0,.10) 76%,
        rgba(0,0,0,.18) 100%),
      radial-gradient(circle at 50% 18%, rgba(255,255,255,.035) 0%, rgba(255,255,255,0) 32%);
  }
  body::after {
    background: linear-gradient(90deg, rgba(0,0,0,.18), transparent 15%, transparent 85%, rgba(0,0,0,.18));
  }
  .home-shell {
    width: min(100%, 430px);
    min-height: 100svh;
    padding: max(16px, env(safe-area-inset-top)) 18px max(14px, env(safe-area-inset-bottom));
  }
  .languages {
    min-height: 24px;
    justify-content: flex-end;
    margin-bottom: 8px;
    font-size: 13px;
  }
  .languages > * {
    min-width: 38px;
    padding: 2px 8px;
  }

  .hero {
    margin-top: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .brand-block {
    width: min(100%, 350px);
    margin: 0 auto;
  }
  .brand-logo { width: 100%; }
  .tagline {
    width: 100%;
    padding-top: 0;
    text-align: center;
  }
  .tagline-text {
    font-size: clamp(18px, 5.2vw, 23px);
    line-height: 1.14;
  }
  .interview-link {
    margin-top: 8px;
    font-size: 10px;
  }

  .main-menu {
    width: 100%;
    max-width: 372px;
    margin-top: 28px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 18px;
  }
  .menu-card + .menu-card::before { display: none; }
  .main-menu .menu-card:nth-child(1) { order: 1; }
  .main-menu .menu-card:nth-child(2) { order: 2; }
  .main-menu .menu-card:nth-child(3) { order: 4; }
  .main-menu .menu-card:nth-child(4) { order: 3; }
  .menu-icon {
    width: clamp(66px, 19vw, 84px);
    height: clamp(66px, 19vw, 84px);
  }
  .menu-label {
    margin-top: 10px;
    padding: 0 2px;
    font-size: clamp(12px, 3.8vw, 16px);
    line-height: 1.18;
    white-space: normal;
  }

  .home-footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: auto;
    padding-top: 26px;
    gap: 8px;
  }
  .copyright { display: none; }
  .contacts { gap: 27px; }
  .contact-link { width: 38px; height: 38px; }
}
@media (max-height: 720px) and (min-width: 761px) {
  .home-shell { padding-top: 11px; padding-bottom: 13px; }
  .hero { margin-top: 2px; }
  .brand-block { width: min(100%, 540px); }
  .brand { width: 100%; }
  .tagline { padding-top: 40px; }
  .main-menu { margin-top: 34px; }
  .menu-icon { width: 64px; height: 64px; }
  .menu-card + .menu-card::before { top: 55px; height: 35px; }
  .menu-label { margin-top: 9px; }
  .home-footer { padding-top: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}


/* EXACT MOBILE START */
.mobile-home { display: none; }

@media (max-width: 760px) {
  html, body {
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    background: #000;
  }
  body::before,
  body::after { display: none !important; }
  .home-shell { display: none !important; }

  .mobile-home {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1000;
    overflow: hidden;
    background: #000;
  }
  .mobile-artboard {
    position: absolute;
    inset: 0;
    width: 100vw;
    height: 100svh;
    overflow: hidden;
    background: #000 url("../images/mobile-background-exact.jpg?v=20260714-4") center / cover no-repeat;
    color: #fff;
    font-family: "PlayLocal", "Segoe UI", Arial, sans-serif;
  }
  .mobile-artboard::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(ellipse at 50% 13%, rgba(255,255,255,.12) 0%, rgba(255,255,255,.06) 11%, rgba(255,255,255,0) 28%),
      linear-gradient(180deg, rgba(0,0,0,.52) 0%, rgba(0,0,0,.14) 16%, rgba(0,0,0,0) 32%, rgba(0,0,0,0) 70%, rgba(0,0,0,.08) 100%);
  }
  .mobile-artboard::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(circle at 50% 84%, rgba(255,255,255,.08) 0%, rgba(255,255,255,0) 22%),
      linear-gradient(90deg, rgba(0,0,0,.12), transparent 10%, transparent 90%, rgba(0,0,0,.12));
  }

  .mobile-languages {
    position: absolute;
    top: 2.55%;
    right: 6.3%;
    display: flex;
    align-items: center;
    font-family: Arial, sans-serif;
    font-size: clamp(13px, 3.25vw, 31px);
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1;
    text-shadow: 0 2px 8px #000;
  }
  .mobile-languages > * {
    padding: 0 .55em;
    border-left: 1px solid rgba(255,255,255,.55);
  }
  .mobile-languages > *:first-child { border-left: 0; }
  .mobile-languages span { color: rgba(255,255,255,.82); }

  .mobile-brand-reference {
    position: absolute;
    left: 12.2%;
    top: 5.15%;
    width: 75.6%;
    height: auto;
    display: block;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 0 18px rgba(255,255,255,.06)) drop-shadow(0 4px 14px rgba(0,0,0,.88));
  }

  .mobile-tagline {
    position: absolute;
    left: 9%;
    top: 40.2%;
    width: 82%;
    text-align: center;
    font-family: "EuropeLocal", "PlayLocal", Arial, sans-serif;
    font-size: clamp(16px, 4.65vw, 45px);
    line-height: 1.1;
    letter-spacing: .015em;
    text-transform: uppercase;
    white-space: nowrap;
    text-shadow: 0 2px 10px #000;
  }
  .mobile-interview {
    position: absolute;
    right: 14.2%;
    top: 43.45%;
    display: inline-flex;
    align-items: center;
    gap: .4em;
    font-family: Arial, sans-serif;
    font-size: clamp(10px, 2.55vw, 25px);
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: 0 2px 8px #000;
  }
  .mobile-interview span {
    font-size: 1.8em;
    line-height: .6;
    font-weight: 300;
  }

  .mobile-card {
    position: absolute;
    width: 43%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    text-shadow: 0 2px 9px #000;
  }
  .mobile-card img {
    width: 36%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 3px 8px rgba(0,0,0,.85));
  }
  .mobile-card span {
    margin-top: 5.5%;
    font-size: clamp(12px, 3.6vw, 35px);
    line-height: 1.12;
    font-weight: 400;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .mobile-card-1 { left: 5.5%; top: 48.9%; }
  .mobile-card-2 { right: 5.5%; top: 48.9%; }
  .mobile-card-3 { left: 5.5%; top: 65.4%; }
  .mobile-card-4 { right: 5.5%; top: 65.4%; }

  .mobile-contacts {
    position: absolute;
    left: 23.5%;
    right: 23.5%;
    bottom: 4.2%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .mobile-contacts a {
    width: 15.5%;
    display: block;
  }
  .mobile-contacts img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 2px 7px rgba(0,0,0,.9));
  }
}
/* EXACT MOBILE END */


/* RU MOBILE EXACT 1:1 */
@media (max-width: 760px) {
  body {
    background: #000 !important;
    overflow-x: hidden;
  }
  .mobile-home-reference {
    display: block;
    position: relative;
    min-height: 100svh;
    background: #000;
  }
  .mobile-home-reference .mobile-artboard {
    position: relative;
    width: min(100vw, calc(100svh * 917 / 1688));
    height: 100svh;
    margin: 0 auto;
    background: #000 url("../images/mobile-ru-reference-exact.jpg?v=20260714-5") center / 100% 100% no-repeat;
    overflow: hidden;
  }
  .mobile-home-reference .mobile-hotspot {
    position: absolute;
    display: block;
    z-index: 5;
    background: transparent;
  }
  .mobile-home-reference .is-disabled {
    pointer-events: none;
  }
  .mobile-home-reference .hs-lang-kz { left: 71.8%; top: 1.0%; width: 9.0%; height: 4.8%; }
  .mobile-home-reference .hs-lang-ru { left: 80.8%; top: 1.0%; width: 9.0%; height: 4.8%; }
  .mobile-home-reference .hs-lang-en { left: 89.7%; top: 1.0%; width: 8.0%; height: 4.8%; }

  .mobile-home-reference .hs-interview { left: 55.0%; top: 38.0%; width: 31.0%; height: 5.7%; }

  .mobile-home-reference .hs-card-1 { left: 6.0%; top: 49.5%; width: 39.0%; height: 15.2%; }
  .mobile-home-reference .hs-card-2 { left: 54.5%; top: 49.5%; width: 39.0%; height: 15.2%; }
  .mobile-home-reference .hs-card-3 { left: 6.0%; top: 66.2%; width: 39.0%; height: 14.8%; }
  .mobile-home-reference .hs-card-4 { left: 54.5%; top: 66.2%; width: 39.0%; height: 14.8%; }

  .mobile-home-reference .hs-contact-map { left: 17.8%; top: 91.5%; width: 8.8%; height: 5.4%; }
  .mobile-home-reference .hs-contact-instagram { left: 36.8%; top: 91.5%; width: 9.0%; height: 5.4%; }
  .mobile-home-reference .hs-contact-whatsapp { left: 56.4%; top: 91.5%; width: 8.8%; height: 5.4%; }
  .mobile-home-reference .hs-contact-email { left: 75.5%; top: 91.5%; width: 9.5%; height: 5.4%; }
}
