/* Shared chrome ATF without home hero */
:root {
  --navy-950: #03182b;
  --navy-900: #06243b;
  --navy-800: #0a3353;
  --blue-600: #006fbd;
  --blue-500: #119ef3;
  --blue-100: #eaf6ff;
  --surface: #f3f8fc;
  --white: #fff;
  --text: #014d85;
  --muted: #3d5d78;
  --line: #dbe8f1;
  --container: min(1304px, calc(100% - 48px));
  --font-display: "Montserrat", Arial, sans-serif;
  --font-body: "Open Sans", Arial, sans-serif;
  --brand-navy: #01275a;
  --brand-blue: #00569e;
  --brand-text-blue: #014d85;
  --brand-cyan: #159fe6;
  --brand-white: #ffffff;
  --brand-light: #f3f8fc;
  --brand-deep: #03182b;
  --brand-ice: #e7f4fb;
  --header-height: 92px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  direction: ltr;
  overflow-x: clip;
}

.rtl-text {
  direction: rtl;
  unicode-bidi: isolate;
  text-align: start;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--text);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.lead-modal-open {
  overflow: hidden;
}

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

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

button {
  color: inherit;
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(17, 158, 243, .72);
  outline-offset: 4px;
}

/* ATF typography — must not arrive via late main-below */
h1,
h2 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  text-wrap: balance;
}

h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

p {
  word-break: normal;
  overflow-wrap: break-word;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 16px;
  padding: 10px 15px;
  transform: translateY(-180%);
  border-radius: 3px;
  color: var(--white);
  background: var(--blue-600);
  font-weight: 800;
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: absolute;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  color: var(--white);
}

.site-header--light-page {
  background: linear-gradient(110deg, var(--navy-950) 0%, #04325c 52%, #0a4d86 100%);
  box-shadow: 0 10px 28px rgba(3, 24, 43, .16);
}

.site-header--light-page .header-inner {
  border-bottom-color: rgba(255, 255, 255, .14);
}

.site-header--light-page .languages .language-option {
  color: rgba(255, 255, 255, .92);
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: var(--header-height);
  align-items: center;
  column-gap: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.brand-logo {
  position: relative;
  display: block;
  flex: 0 0 auto;
}


.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-header__logo {
  width: 52px;
  height: 52px;
}

.mobile-menu__logo {
  width: 44px;
  height: 44px;
}

.brand-copy {
  display: block;
  min-width: 0;
  max-width: 9.4em;
  height: 2.3em;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
}

.desktop-nav {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, .9vw, 14px);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
}

.desktop-nav a {
  position: relative;
  padding: 10px 0;
  white-space: nowrap;
}

.desktop-nav a::after {
  position: absolute;
  right: 100%;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--blue-500);
  content: "";
  transition: right .22s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a[aria-current]::after {
  right: 0;
}

.desktop-nav a[aria-current] {
  color: var(--blue-100);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.languages {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}

.languages .language-option {
  display: inline-flex;
  min-width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(255, 255, 255, .68);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  transition:
    color .18s ease,
    background-color .18s ease,
    border-color .18s ease;
}

.languages .language-option:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, .34);
}

.languages .language-option:focus-visible {
  color: var(--white);
  border-color: var(--blue-500);
  outline: 2px solid rgba(17, 158, 243, .45);
  outline-offset: 2px;
}

.languages .language-option:active {
  color: var(--white);
  background: rgba(17, 158, 243, .22);
}

.languages .language-option.is-active {
  color: var(--white);
  border-color: var(--blue-600);
  background: var(--blue-600);
}

.header-cta,
.footer-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 24px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}

.header-cta:hover {
  color: var(--navy-950);
  background: var(--white);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 50%;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  border-radius: 4px;
  background: currentColor;
  transition: transform .2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.menu-backdrop,
.mobile-menu {
  display: none;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--brand-blue);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 2px;
  background: currentColor;
  content: "";
}

.eyebrow.light {
  color: rgba(255, 255, 255, .82);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 28px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-blue {
  color: var(--white);
  background: var(--blue-600);
  box-shadow: 0 12px 28px rgba(7, 139, 232, .25);
}

.button-blue:hover {
  background: #067ed3;
}

.video-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, .88);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.play {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  padding-left: 2px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  font-size: 12px;
}

@media (max-width: 1350px) {
.header-inner {
    column-gap: 18px;
  }

.desktop-nav {
    gap: clamp(8px, .6vw, 14px);
  }

.header-cta {
    gap: 12px;
    padding-inline: 14px;
    font-size: 13px;
  }
}

@media (max-width: 1279px) {
.header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

.desktop-nav {
    display: none;
  }

.header-tools {
    margin-left: auto;
  }

.menu-toggle {
    display: block;
  }

.menu-backdrop {
    position: fixed;
    z-index: 45;
    inset: 0;
    display: block;
    visibility: hidden;
    opacity: 0;
    background: rgba(1, 14, 27, .55);
    transition: opacity .24s ease, visibility .24s ease;
  }

.menu-backdrop.is-visible {
    visibility: visible;
    opacity: 1;
  }

.mobile-menu {
    position: fixed;
    z-index: 50;
    top: 0;
    right: 0;
    display: flex;
    width: min(440px, calc(100% - 56px));
    height: 100dvh;
    flex-direction: column;
    padding: 0;
    transform: translateX(100%);
    background: var(--white);
    box-shadow: -20px 0 60px rgba(3, 24, 43, .22);
    transition: transform 320ms cubic-bezier(.2, .75, .2, 1);
    overflow: hidden;
    resize: none;
  }

.mobile-menu.is-open {
    transform: none;
  }

.mobile-menu-header {
    position: sticky;
    z-index: 3;
    top: 0;
    display: flex;
    min-height: 72px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 22px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(10px);
  }

.mobile-menu__brand {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
  }

.mobile-menu-title {
    min-width: 0;
    color: var(--brand-navy);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: none;
  }

.mobile-menu-close {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #cfe0ec;
    border-radius: 50%;
    color: var(--navy-900);
    background: var(--white);
    cursor: pointer;
    transition:
      color 180ms ease,
      background-color 180ms ease,
      border-color 180ms ease,
      transform 180ms ease;
  }

.mobile-menu-close svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
  }

.mobile-menu-close:hover {
    border-color: var(--blue-600);
    color: var(--white);
    background: var(--blue-600);
  }

.mobile-menu-close:active {
    transform: scale(.96);
  }

.mobile-menu-close:focus-visible {
    outline: 3px solid rgba(7, 139, 232, .3);
    outline-offset: 3px;
  }

.mobile-menu-body {
    height: calc(100dvh - 72px);
    padding: 8px 22px 28px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: #b7cee0 transparent;
    scrollbar-width: thin;
  }

.mobile-menu-body::-webkit-scrollbar {
    width: 6px;
  }

.mobile-menu-body::-webkit-scrollbar-thumb {
    border-radius: 99px;
    background: #b7cee0;
  }

.mobile-menu-links {
    display: grid;
  }

.mobile-menu-links a {
    display: flex;
    min-height: 55px;
    align-items: center;
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    font-size: 15px;
    font-weight: 750;
  }

.mobile-menu-links a[aria-current] {
    color: var(--blue-600);
  }

.mobile-language {
    padding: 12px 0 16px;
    border-bottom: 1px solid var(--line);
  }

.mobile-language-label {
    display: block;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
  }

.mobile-language-options {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
  }

.mobile-language-option {
    display: inline-flex;
    min-width: 38px;
    height: 34px;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 1px solid #cfe0ec;
    border-radius: 999px;
    color: #405b73;
    background: var(--white);
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    flex: 0 0 auto;
    transition:
      color 180ms ease,
      background-color 180ms ease,
      border-color 180ms ease;
  }

.mobile-language-option:hover,
  .mobile-language-option:focus-visible,
  .mobile-language-option.is-active {
    border-color: var(--blue-600);
    color: var(--white);
    background: var(--blue-600);
  }

.mobile-contacts {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    padding: 4px 0 12px;
  }

.mobile-menu .mobile-contact {
    display: inline-flex;
    min-height: 0;
    align-items: center;
    margin-top: 0;
    padding: 2px 0;
    border: 0;
    color: var(--blue-600);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
  }

.menu-toggle {
    position: relative;
    z-index: 1;
  }
}

@media (max-width: 900px) {
.languages,
  .header-cta {
    display: none;
  }
}

@media (max-width: 620px) {
:root {
    --container: calc(100% - 32px);
  }

.header-inner {
    min-height: 76px;
  }

.site-header__logo {
    width: 42px;
    height: 42px;
  }

.brand-copy {
    font-size: 12px;
    max-width: 8.4em;
  }

.eyebrow {
    margin-bottom: 15px;
    font-size: 12px;
  }

.eyebrow::before {
    width: 22px;
  }

.button {
    min-height: 50px;
    gap: 22px;
    padding-inline: 21px;
  }
}

@media (max-width: 420px) {
:root {
    --container: calc(100% - 24px);
  }
}

/* First-viewport / contact-hero form geometry — late main-below must not restyle this */
.request-form {
  width: 100%;
  max-width: 620px;
  padding: 32px;
  border-radius: 22px;
  color: var(--text);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(3, 24, 43, .2);
}

.lead-form {
  position: relative;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 14px;
}

.field-wide,
.field-consent,
.lead-submit,
.form-status {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-navy);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
}

.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form input[type="email"],
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  background: #f7fbfe;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
}

.lead-form textarea {
  min-height: 120px;
  resize: vertical;
}

.field-consent {
  margin-top: 16px;
}

.field-consent label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  color: var(--navy-900);
  font-size: 14px;
  font-weight: 650;
}

.field-consent input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  flex: 0 0 auto;
  accent-color: var(--blue-600);
}

.lead-submit {
  width: 100%;
  margin-top: 8px;
  cursor: pointer;
}

@media (max-width: 760px) {
  .form-grid,
  .request-section .form-grid {
    grid-template-columns: 1fr;
  }

  .request-form {
    max-width: none;
    padding: 24px 20px 20px;
    border-radius: 20px;
  }
}

.site-header--sticky {
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  isolation: isolate;
  background: var(--navy-950);
  box-shadow: 0 8px 24px rgba(3, 24, 43, .28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition:
    opacity 300ms ease,
    transform 300ms ease;
}

.site-header--sticky.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.site-header--sticky .header-inner {
  min-height: 62px;
}

.sticky-crumbs {
  padding-block: 6px 11px;
  color: rgba(255, 255, 255, .62);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

.sticky-crumbs ol {
  display: flex;
  min-width: 0;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  white-space: nowrap;
}

.sticky-crumbs li {
  flex: none;
}

.sticky-crumbs li:not(:last-child)::after {
  margin-left: 8px;
  color: rgba(255, 255, 255, .34);
  content: "/";
}

.sticky-crumbs li:last-child {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, .92);
  text-overflow: ellipsis;
}

.sticky-crumbs a {
  color: inherit;
  transition: color .2s ease;
}

.sticky-crumbs a:hover {
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
html {
    scroll-behavior: auto;
  }

*,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

.mobile-menu,
  .menu-backdrop,
  .lead-modal-overlay,
  .lead-modal-dialog,
  .energy-footer__wind-line,
  .energy-footer__rings .ring--accent,
  .energy-footer__cta {
    transition: none !important;
    animation: none !important;
  }
}

/* Шапка: «Главная» дублирует логотип и в десктопном меню скрыта (в мобильном меню остаётся).
   Десять видимых пунктов на ПК: меню 12px, между пунктами 12px (на 1280–1365 — 10px); на 1280–1365 и для казахского шрифт мельче, чтобы поместились длинные названия */
.desktop-nav a:first-child {
  display: none;
}

@media (min-width: 1280px) {
  .header-inner {
    column-gap: 12px;
  }

  .desktop-nav {
    gap: 12px;
    font-size: 12px;
  }

  :lang(kk) .desktop-nav {
    font-size: 11.5px;
  }
}

@media (min-width: 1280px) and (max-width: 1365px) {
  .desktop-nav {
    gap: 10px;
    font-size: 11.5px;
  }

  :lang(kk) .desktop-nav {
    font-size: 11px;
  }
}

/* Шапка на ПК (от 1280): компактнее подпись у логотипа, кнопки языков и кнопка справа, чтобы поместились десять пунктов меню */
@media (min-width: 1280px) {
  .brand {
    gap: 8px;
  }

  .brand-copy {
    font-size: 11px;
  }

  .languages {
    gap: 2px;
  }

  .header-cta {
    gap: 11px;
    padding-inline: 11px;
  }
}

@media (min-width: 1280px) and (max-width: 1350px) {
  .header-cta {
    gap: 7px;
    padding-inline: 8px;
  }
}
