/* =========================================================
   ТСИ Индонезия — корпоративный сайт
   Шрифты: Oswald (заголовки), PT Sans (текст)
   ========================================================= */

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../assets/fonts/oswald-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../assets/fonts/oswald-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/ptsans-regular-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/ptsans-regular-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/ptsans-bold-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/ptsans-bold-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #1f7fdd;
  --blue-dark: #0d5fae;
  --blue-light: #69b7ff;
  --ink: #1a232b;
  --muted: #67737d;
  --line: #dfe6ec;
  --soft: #f2f5f8;
  --light-blue: #e8eef5;
  --dark: #0e171f;
  --white: #ffffff;
  --container: 1240px;
  --header-h: 92px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: 'PT Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

a { color: inherit; }
button { font: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.08;
  letter-spacing: .01em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

::selection {
  background: var(--blue);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  background: var(--blue);
  color: #fff;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { transform: none; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section { padding: 112px 0; }

/* ---------- Типографика ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--blue);
  font-family: 'PT Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  background: currentColor;
  flex: none;
}
.eyebrow--light { color: var(--blue-light); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  align-items: end;
  gap: 64px;
  margin-bottom: 52px;
}
.section-head h2 { max-width: 760px; }
.section-head--row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}
.section-lead {
  justify-self: end;
  max-width: 470px;
  margin: 0;
  padding-left: 24px;
  border-left: 2px solid var(--blue);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

/* ---------- Кнопки и ссылки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 0;
  background: none;
  color: inherit;
  font-family: 'PT Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .11em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.btn .icon { width: 17px; height: 17px; transition: transform .25s; }
.btn:hover .icon { transform: translateX(3px); }

.btn--primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.btn--primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(31, 127, 221, .25);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, .38);
  color: #fff;
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .7);
}

.btn--outline {
  border-color: #cbd6e0;
  color: var(--ink);
}
.btn--outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.btn--sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 10.5px;
}
.btn--full { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  padding: 0 0 7px;
  border: 0;
  border-bottom: 1px solid #c9d4de;
  background: none;
  color: var(--ink);
  font-family: 'PT Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .25s, border-color .25s;
}
.link-arrow .icon { width: 15px; height: 15px; transition: transform .25s; }
.link-arrow:hover { color: var(--blue); border-color: var(--blue); }
.link-arrow:hover .icon { transform: translateX(4px); }

.link-inline {
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.link-inline:hover { color: var(--blue-dark); }

/* ---------- Шапка ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  transition: background .3s, box-shadow .3s;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 150%;
  background: linear-gradient(180deg, rgba(5, 12, 18, .55), rgba(5, 12, 18, 0));
  opacity: 1;
  pointer-events: none;
  transition: opacity .3s;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 8px 30px rgba(13, 30, 45, .09);
  backdrop-filter: blur(12px);
}
.site-header.scrolled::before { opacity: 0; }

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  flex: none;
  transition: color .3s;
}
.logo-mark {
  width: 38px;
  height: 38px;
  flex: none;
  display: block;
}
.logo-mark svg { width: 100%; height: 100%; display: block; }
.logo-mark rect { fill: var(--blue); }
.logo-mark path { fill: #fff; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong {
  font-family: 'Oswald', sans-serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: .09em;
}
.logo-text small {
  margin-top: 5px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  opacity: .65;
  transition: opacity .3s;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-left: auto;
}
.main-nav a {
  position: relative;
  padding: 8px 0;
  color: rgba(255, 255, 255, .88);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .25s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--blue-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}

.langs {
  display: flex;
  align-items: center;
  gap: 2px;
  border-right: 1px solid rgba(255, 255, 255, .22);
  padding-right: 14px;
}
.lang {
  padding: 5px 4px;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, .52);
  font-family: 'PT Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  cursor: pointer;
  transition: color .25s;
}
.lang:hover, .lang.is-active { color: #fff; }
.lang.is-active { text-decoration: underline; text-underline-offset: 4px; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .25s;
}
.header-phone .icon { width: 17px; height: 17px; color: var(--blue-light); }
.header-phone:hover { color: var(--blue-light); }

.burger {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .3);
  background: transparent;
  cursor: pointer;
  transition: border-color .25s;
}
.burger span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: #fff;
  transition: transform .3s, opacity .2s, background .3s, top .3s;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 30px; }
body.menu-open .burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

.site-header.scrolled .logo,
.site-header.scrolled .logo-text { color: var(--ink); }
.site-header.scrolled .logo-text small { opacity: .55; }
.site-header.scrolled .main-nav a { color: #36434e; }
.site-header.scrolled .main-nav a:hover { color: var(--blue); }
.site-header.scrolled .main-nav a::after { background: var(--blue); }
.site-header.scrolled .lang { color: #96a2ac; }
.site-header.scrolled .lang:hover,
.site-header.scrolled .lang.is-active { color: var(--ink); }
.site-header.scrolled .langs { border-color: #dbe3ea; }
.site-header.scrolled .header-phone { color: var(--ink); }
.site-header.scrolled .header-phone:hover { color: var(--blue); }
.site-header.scrolled .header-phone .icon { color: var(--blue); }
.site-header.scrolled .burger { border-color: #d7e0e8; }
.site-header.scrolled .burger span { background: var(--ink); }

body.menu-open .site-header,
body.menu-open .site-header.scrolled {
  background: transparent;
  box-shadow: none;
}
body.menu-open .site-header::before { opacity: 0; }
body.menu-open .site-header .logo,
body.menu-open .site-header.scrolled .logo { color: #fff; }
body.menu-open .site-header .logo-text small { opacity: .65; }
body.menu-open .site-header .header-phone,
body.menu-open .site-header.scrolled .header-phone { color: #fff; }
body.menu-open .site-header .burger,
body.menu-open .site-header.scrolled .burger { border-color: rgba(255, 255, 255, .3); }
body.menu-open .site-header .burger span,
body.menu-open .site-header.scrolled .burger span { background: #fff; }

/* ---------- Мобильное меню ---------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 85% 12%, rgba(31, 127, 221, .24), transparent 42%),
    radial-gradient(circle at 10% 95%, rgba(31, 127, 221, .12), transparent 35%),
    #0b1620;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px);
  transition: opacity .35s, visibility .35s, transform .45s var(--ease);
}
body.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.mobile-menu-inner {
  width: min(680px, 100%);
  max-height: 100%;
  overflow-y: auto;
  padding: calc(var(--header-h) + 44px) 32px 36px;
}
.mobile-menu-title {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .38);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.mobile-nav { display: flex; flex-direction: column; }
.mobile-nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .25s, padding-left .25s;
}
.mobile-nav a span {
  width: 24px;
  color: var(--blue-light);
  font-family: 'PT Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
}
.mobile-nav a:hover { color: var(--blue-light); padding-left: 6px; }
.mobile-menu-contacts {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 28px 0 22px;
}
.mobile-menu-contacts a {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}
.mobile-menu-contacts a:hover { color: var(--blue-light); }
.mobile-menu-contacts p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, .42);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.mobile-menu-note {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .38);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100vh;
  min-height: 800px;
  max-height: 1040px;
  overflow: hidden;
  background: #0a131b;
}
.hero-bg,
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-bg img {
  object-fit: cover;
  object-position: center 58%;
  transform: scale(1.02);
  animation: heroZoom 18s ease-out both;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1.02); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 12, 18, .62) 0%, rgba(5, 12, 18, .08) 26%),
    linear-gradient(90deg, rgba(5, 12, 18, .92) 0%, rgba(5, 12, 18, .74) 40%, rgba(5, 12, 18, .28) 76%, rgba(5, 12, 18, .44) 100%),
    linear-gradient(0deg, rgba(5, 12, 18, .94) 0%, rgba(5, 12, 18, .12) 48%, rgba(5, 12, 18, 0) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: 150px;
  padding-bottom: 164px;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  color: #9dceff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  line-height: 1.3;
  text-transform: uppercase;
}
.hero-kicker span {
  display: block;
  width: 46px;
  height: 1px;
  background: var(--blue-light);
  flex: none;
}
.hero h1 {
  max-width: 980px;
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(46px, 6.1vw, 86px);
  font-weight: 600;
  line-height: .99;
  letter-spacing: .005em;
}
.hero h1 em {
  color: var(--blue-light);
  font-style: normal;
}
.hero-lead {
  max-width: 650px;
  margin: 0 0 36px;
  color: rgba(255, 255, 255, .76);
  font-size: 18px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-scroll {
  position: absolute;
  z-index: 3;
  right: 38px;
  bottom: 152px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: background .25s, border-color .25s, transform .25s;
}
.hero-scroll .icon { width: 18px; height: 18px; animation: scrollNudge 2.4s ease-in-out infinite; }
.hero-scroll:hover { background: var(--blue); border-color: var(--blue); transform: translateY(2px); }
@keyframes scrollNudge {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(4px); }
}

.hero-stats-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  background: rgba(7, 15, 22, .56);
  border-top: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(14px);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero-stat {
  padding: 22px 0 20px;
  min-width: 0;
}
.hero-stat + .hero-stat {
  padding-left: 30px;
  border-left: 1px solid rgba(255, 255, 255, .13);
}
.hero-stat strong {
  display: flex;
  align-items: baseline;
  gap: 1px;
  margin-bottom: 3px;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
}
.hero-stat > span {
  display: block;
  color: rgba(255, 255, 255, .54);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* ---------- Технологии ---------- */

.features-section { background: #fff; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.feature-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: #c6d6e4;
  box-shadow: 0 22px 50px rgba(22, 43, 62, .11);
}
.feature-media {
  position: relative;
  height: 238px;
  overflow: hidden;
  background: var(--light-blue);
}
.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.feature-card:hover .feature-media img { transform: scale(1.055); }
.tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 10px;
  background: #fff;
  color: var(--blue);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1;
  text-transform: uppercase;
}
.feature-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px;
}
.feature-body h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.15;
}
.feature-body p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}
.feature-body .link-arrow { margin-top: auto; }

/* ---------- Тёмная полоса ---------- */

.band {
  position: relative;
  overflow: hidden;
  padding: 82px 0;
  background:
    radial-gradient(circle at 86% 16%, rgba(31, 127, 221, .22), transparent 38%),
    radial-gradient(circle at 6% 100%, rgba(31, 127, 221, .1), transparent 32%),
    #101a22;
  color: #fff;
}
.band-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: 80px;
}
.band h2 {
  position: relative;
  max-width: 720px;
  margin: 0;
  padding-left: 28px;
  color: #fff;
  font-size: clamp(32px, 3.5vw, 48px);
}
.band h2::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 3px;
  background: var(--blue);
}
.band p {
  max-width: 500px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, .62);
  font-size: 15.5px;
  line-height: 1.7;
}

/* ---------- Услуги ---------- */

.services-section { background: var(--soft); }
.slider-controls { display: flex; gap: 8px; }
.slider-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #ccd7e0;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, opacity .25s;
}
.slider-btn .icon { width: 18px; height: 18px; }
.slider-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.slider-btn:disabled { opacity: .32; pointer-events: none; }

.services-track {
  display: flex;
  gap: 28px;
  margin: 0 -4px;
  padding: 4px 4px 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.services-track::-webkit-scrollbar { display: none; }
.service-card {
  display: flex;
  flex: 0 0 calc((100% - 56px) / 3);
  flex-direction: column;
  border: 1px solid var(--line);
  background: #fff;
  scroll-snap-align: start;
  transition: box-shadow .35s, border-color .35s;
}
.service-card:hover {
  border-color: #c6d6e4;
  box-shadow: 0 18px 40px rgba(22, 43, 62, .1);
}
.service-media {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: var(--light-blue);
}
.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.service-card:hover .service-media img { transform: scale(1.05); }
.service-num {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--blue);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
}
.service-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px;
}
.service-body h3 { margin-bottom: 10px; font-size: 21px; line-height: 1.16; }
.service-body p { margin-bottom: 22px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.service-body .link-arrow { margin-top: auto; }

/* ---------- Преимущества ---------- */

.advantages { background: #fff; }
.advantages-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 90px;
}
.advantages-intro {
  position: sticky;
  top: calc(var(--header-h) + 34px);
}
.advantages-lead {
  max-width: 430px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}
.badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 42px;
}
.badge {
  padding: 16px;
  border: 1px solid var(--line);
  transition: border-color .25s, background .25s;
}
.badge strong {
  display: block;
  color: var(--ink);
  font-family: 'Oswald', sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.2;
}
.badge span {
  display: block;
  margin-top: 4px;
  color: #8b959e;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.badge:hover { border-color: var(--blue); background: #f7fbff; }

.advantages-list { border-top: 1px solid var(--line); }
.advantage {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 10px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  transition: background .25s;
}
.advantage-num {
  color: var(--blue);
  font-family: 'Oswald', sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: .9;
}
.advantage h3 { margin-bottom: 8px; font-size: 20px; line-height: 1.2; }
.advantage p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.7; }

/* ---------- О компании ---------- */

.about { background: var(--light-blue); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 96px;
}
.about-media {
  position: relative;
  min-height: 570px;
}
.about-media-main {
  width: 86%;
  height: 560px;
  overflow: hidden;
  background: #c9d5df;
}
.about-media-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-media-secondary {
  position: absolute;
  right: 0;
  bottom: -36px;
  width: 57%;
  height: 300px;
  overflow: hidden;
  border: 8px solid var(--light-blue);
  background: #c9d5df;
}
.about-media-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.experience-badge {
  position: absolute;
  left: -20px;
  bottom: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 148px;
  height: 148px;
  padding: 18px;
  background: var(--blue);
  color: #fff;
}
.experience-badge strong {
  font-family: 'Oswald', sans-serif;
  font-size: 54px;
  font-weight: 500;
  line-height: .9;
}
.experience-badge span {
  margin-top: 8px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.5;
  text-transform: uppercase;
}
.about-content h2 { margin-bottom: 22px; }
.about-content > p {
  margin-bottom: 17px;
  color: #52606b;
  font-size: 15.5px;
  line-height: 1.75;
}
.about-subtitle {
  margin: 28px 0 16px;
  font-family: 'PT Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.4;
}
.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 24px;
  margin: 0 0 30px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #41505b;
  font-size: 14px;
  line-height: 1.5;
}
.check-list .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--blue);
  stroke-width: 2;
}
.about-content .btn { margin-top: 4px; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 86px;
  padding-top: 36px;
  border-top: 1px solid rgba(26, 45, 61, .16);
}
.about-stat + .about-stat {
  padding-left: 30px;
  border-left: 1px solid rgba(26, 45, 61, .14);
}
.about-stat strong {
  display: block;
  color: var(--ink);
  font-family: 'Oswald', sans-serif;
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
}
.about-stat > span {
  display: block;
  margin-top: 5px;
  color: #71808c;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* ---------- Клиенты ---------- */

.clients { background: #fff; }
.clients-head h2 { max-width: 710px; }
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.client-card {
  padding: 30px;
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.client-card:hover {
  transform: translateY(-4px);
  border-color: #bcd2e6;
  box-shadow: 0 16px 36px rgba(22, 43, 62, .08);
}
.client-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border: 1px solid #d5e1ec;
  color: var(--blue);
  transition: background .3s, color .3s, border-color .3s;
}
.client-icon .icon { width: 26px; height: 26px; stroke-width: 1.4; }
.client-card:hover .client-icon {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.client-card h3 { margin-bottom: 8px; font-size: 17px; line-height: 1.2; }
.client-card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.65; }

.clients-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-top: 48px;
  padding: 30px 36px;
  border-left: 3px solid var(--blue);
  background: #111b23;
  color: #fff;
}
.clients-cta p {
  max-width: 730px;
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: 14.5px;
  line-height: 1.65;
}
.clients-cta .btn { flex: none; }

/* ---------- Проекты ---------- */

.projects { background: var(--soft); }
.projects-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 48px;
}
.projects-head h2 { max-width: 780px; }
.projects-count { flex: none; text-align: right; }
.projects-count strong {
  display: block;
  color: var(--blue);
  font-family: 'Oswald', sans-serif;
  font-size: 64px;
  font-weight: 500;
  line-height: .9;
}
.projects-count span {
  display: block;
  margin-top: 6px;
  color: #7c8791;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.project-card {
  min-width: 0;
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.project-card:hover {
  transform: translateY(-5px);
  border-color: #bdd2e5;
  box-shadow: 0 20px 44px rgba(22, 43, 62, .12);
}
.project-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.project-media {
  position: relative;
  display: block;
  height: 256px;
  overflow: hidden;
  background: #d5dee6;
}
.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .75s var(--ease);
}
.project-card:hover .project-media img { transform: scale(1.05); }
.project-open {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: #fff;
  color: var(--ink);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s, background .25s, color .25s;
}
.project-open .icon { width: 17px; height: 17px; }
.project-card:hover .project-open { opacity: 1; transform: none; }
.project-card:hover .project-open { background: var(--blue); color: #fff; }
.project-body {
  display: block;
  padding: 24px 26px 26px;
}
.project-cat {
  display: block;
  margin-bottom: 7px;
  color: var(--blue);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.project-name {
  display: block;
  margin-bottom: 7px;
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1.15;
  text-transform: uppercase;
}
.project-meta {
  display: block;
  color: #88939d;
  font-size: 12.5px;
  line-height: 1.4;
}
.projects-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-top: 44px;
}
.projects-foot p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- Производители ---------- */

.partners {
  padding: 34px 0 40px;
  overflow: hidden;
  background: #0e171f;
}
.partners-head { text-align: center; }
.partners-head span {
  display: block;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, .35);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  color: rgba(255, 255, 255, .5);
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 1;
  white-space: nowrap;
}
.marquee-track i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Консультация ---------- */

.consultation {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
  background: #0c1721;
}
.consultation-bg,
.consultation-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.consultation-bg img {
  object-fit: cover;
  object-position: center;
  opacity: .32;
}
.consultation::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 17, 25, .97) 0%, rgba(8, 17, 25, .9) 46%, rgba(8, 17, 25, .7) 100%),
    linear-gradient(0deg, rgba(8, 17, 25, .7), rgba(8, 17, 25, .2));
}
.consultation-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  align-items: center;
  gap: 90px;
}
.consultation-info h2 { max-width: 650px; color: #fff; margin-bottom: 20px; }
.consultation-lead {
  max-width: 550px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, .68);
  font-size: 15.5px;
  line-height: 1.75;
}
.consultation-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}
.consultation-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  align-self: flex-start;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: color .25s;
}
.consultation-contacts a:hover { color: var(--blue-light); }
.consultation-contacts .icon { color: var(--blue-light); }
.consultation-points { display: flex; flex-direction: column; gap: 9px; }
.consultation-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, .64);
  font-size: 13.5px;
  line-height: 1.55;
}
.consultation-points .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--blue-light);
  stroke-width: 2;
}

.form-card {
  padding: 40px;
  border-top: 3px solid var(--blue);
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
}
.form-card h3 { margin-bottom: 8px; font-size: 28px; }
.form-intro { margin-bottom: 24px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }

/* ---------- Формы ---------- */

.field { margin-bottom: 15px; }
.field label {
  display: block;
  margin-bottom: 7px;
  color: #4c5a65;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.3;
  text-transform: uppercase;
}
.field input,
.field textarea {
  width: 100%;
  border: 1px solid #d7e0e8;
  border-radius: 0;
  background: #f8fafc;
  color: var(--ink);
  font-family: 'PT Sans', sans-serif;
  font-size: 14.5px;
  line-height: 1.4;
  outline: none;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.field input {
  height: 50px;
  padding: 0 14px;
}
.field textarea {
  min-height: 92px;
  padding: 12px 14px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: #a2adb7; }
.field input:focus,
.field textarea:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(31, 127, 221, .1);
}
.field.has-error input,
.field.has-error textarea {
  border-color: #d24b4b;
  background: #fff7f7;
}
.field-error {
  display: block;
  margin-top: 5px;
  color: #c43b3b;
  font-size: 11px;
  line-height: 1.4;
}
.field-error:empty { display: none; }
.field-error--checkbox { margin: -6px 0 12px; }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 5px 0 15px;
  color: #5d6a75;
  font-size: 12px;
  line-height: 1.55;
  cursor: pointer;
}
.checkbox input {
  position: relative;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  flex: none;
  appearance: none;
  border: 1px solid #c5d1db;
  border-radius: 0;
  background: #fff;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.checkbox input:checked {
  background: var(--blue);
  border-color: var(--blue);
}
.checkbox input:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.checkbox input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.checkbox label { cursor: pointer; }
.checkbox .link-inline { font-size: inherit; }
.form-note { margin: 10px 0 0; color: #8d98a2; font-size: 11.5px; line-height: 1.5; }

.form-success {
  padding: 26px 0 8px;
  text-align: center;
}
.form-success-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #e8f3ff;
  color: var(--blue);
}
.form-success-icon .icon { width: 30px; height: 30px; stroke-width: 2.2; }
.form-success h4 { margin-bottom: 8px; font-size: 26px; }
.form-success p { margin-bottom: 22px; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ---------- Контакты ---------- */

.contacts-strip { padding: 92px 0; background: #fff; }
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.contact-card {
  padding: 32px;
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: #bcd2e6;
  box-shadow: 0 16px 36px rgba(22, 43, 62, .08);
}
.contact-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: var(--blue);
}
.contact-icon .icon { width: 28px; height: 28px; stroke-width: 1.4; }
.contact-card h3 { margin-bottom: 10px; font-size: 18px; line-height: 1.2; }
.contact-card p { margin-bottom: 16px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.contact-card p a { color: var(--ink); text-decoration: none; }
.contact-card p a:hover { color: var(--blue); }

.socials { display: flex; gap: 8px; }
.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #d5dfe7;
  color: var(--ink);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1;
  text-decoration: none;
  transition: background .25s, border-color .25s, color .25s;
}
.socials a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* ---------- Подвал ---------- */

.footer {
  padding-top: 64px;
  background: #0e161d;
  color: rgba(255, 255, 255, .66);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, .75fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 52px;
  padding-bottom: 50px;
}
.logo--footer { color: #fff; margin-bottom: 20px; }
.footer-brand p {
  max-width: 330px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, .48);
  font-size: 13.5px;
  line-height: 1.7;
}
.footer .socials a {
  border-color: rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .75);
}
.footer .socials a:hover { border-color: var(--blue); color: #fff; }
.footer h4 {
  margin: 4px 0 18px;
  color: rgba(255, 255, 255, .34);
  font-family: 'PT Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .17em;
  line-height: 1.3;
  text-transform: uppercase;
}
.footer-col a,
.footer-col span,
.footer-col p {
  display: block;
  margin: 0 0 9px;
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
  line-height: 1.6;
  text-decoration: none;
  transition: color .25s;
}
.footer-col a:hover { color: #fff; }
.footer-col--contacts p { color: rgba(255, 255, 255, .5); }
.footer-col--contacts span { color: rgba(255, 255, 255, .38); font-size: 12px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .09);
  color: rgba(255, 255, 255, .32);
  font-size: 11.5px;
  line-height: 1.5;
}
.footer-link {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: color .25s;
}
.footer-link:hover { color: rgba(255, 255, 255, .8); }

/* ---------- Cookie ---------- */

.cookie {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 15px;
  width: min(640px, calc(100vw - 48px));
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: #0f1a24;
  color: #fff;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .35);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .35s, transform .35s;
}
.cookie[hidden] { display: none; }
.cookie.visible { opacity: 1; transform: none; }
.cookie-icon { flex: none; width: 34px; color: var(--blue-light); }
.cookie-icon .icon { width: 26px; height: 26px; }
.cookie-text { flex: 1; min-width: 0; }
.cookie-text strong { display: block; font-size: 13.5px; line-height: 1.3; }
.cookie-text p { margin: 4px 0 0; color: rgba(255, 255, 255, .55); font-size: 11.5px; line-height: 1.55; }
.cookie-text .link-inline { font-size: 11.5px; color: var(--blue-light); }
.cookie-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.cookie-decline {
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, .42);
  font-size: 10.5px;
  letter-spacing: .02em;
  text-decoration: underline;
  cursor: pointer;
  transition: color .25s;
}
.cookie-decline:hover { color: #fff; }

/* ---------- Модальные окна ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .25s, visibility .25s;
}
.modal.open { visibility: visible; opacity: 1; }
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 18, .76);
  backdrop-filter: blur(4px);
}
.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 46px;
  background: #fff;
  box-shadow: 0 34px 100px rgba(0, 0, 0, .32);
  transform: translateY(18px);
  transition: transform .3s var(--ease);
  scrollbar-width: thin;
}
.modal.open .modal-dialog { transform: none; }
.modal-close {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #dbe3ea;
  background: #fff;
  cursor: pointer;
  transition: border-color .25s;
}
.modal-close span {
  position: absolute;
  top: 20px;
  left: 11px;
  width: 18px;
  height: 1px;
  background: var(--ink);
  transition: background .25s;
}
.modal-close span:first-child { transform: rotate(45deg); }
.modal-close span:last-child { transform: rotate(-45deg); }
.modal-close:hover { border-color: var(--blue); }
.modal-close:hover span { background: var(--blue); }
.modal-head h3 { margin-bottom: 10px; font-size: 32px; }
.modal-head p { color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.request-context {
  margin-top: 15px;
  padding: 10px 13px;
  border-left: 3px solid var(--blue);
  background: #eef6ff;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}
#requestForm { margin-top: 24px; }

.modal--wide .modal-dialog { width: min(900px, 100%); padding: 0; }
.project-modal-media { height: 340px; overflow: hidden; background: #d5dee6; }
.project-modal-media img { width: 100%; height: 100%; object-fit: cover; }
.project-modal-body { padding: 40px 46px 46px; }
.project-modal-body h3 { margin-bottom: 6px; font-size: 38px; }
.project-modal-meta {
  margin-bottom: 20px;
  color: #8b96a0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.project-modal-body > p:not(.project-modal-meta):not(.eyebrow) {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}
.project-modal-body .check-list { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 28px; }

.modal--privacy .modal-dialog { width: min(780px, 100%); padding: 50px; }
.privacy-body h3 { margin-bottom: 6px; font-size: 34px; }
.privacy-updated { margin-bottom: 28px; color: #98a2ab; font-size: 11.5px; }
.privacy-body h4 {
  margin: 25px 0 8px;
  font-family: 'PT Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.4;
}
.privacy-body p { color: var(--muted); font-size: 13.5px; line-height: 1.75; }
.privacy-body a { color: var(--blue); }

.toast {
  position: fixed;
  z-index: 300;
  left: 50%;
  bottom: 32px;
  max-width: calc(100vw - 32px);
  padding: 14px 22px;
  background: #0f1a24;
  color: #fff;
  box-shadow: 0 16px 50px rgba(0, 0, 0, .3);
  font-size: 12.5px;
  line-height: 1.5;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 14px);
  transition: opacity .3s, visibility .3s, transform .3s;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Анимации появления ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .72s var(--ease),
    transform .72s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
/* Карточки карусели не должны «прятаться» за пределами экрана */
.js .services-track .service-card[data-reveal] {
  opacity: 1;
  transform: none;
  transition: box-shadow .35s, border-color .35s;
}

/* ---------- Адаптивность ---------- */

@media (max-width: 1280px) {
  .langs { display: none; }
}

@media (max-width: 1180px) {
  .header-cta { display: none; }
  .main-nav { gap: 20px; }
}

@media (max-width: 1100px) {
  .main-nav { display: none; }
  .burger { display: block; }
  .services-track { gap: 22px; }
  .service-card { flex-basis: calc((100% - 22px) / 2); }
  .advantages-grid { gap: 60px; }
  .about-grid { gap: 64px; }
  .consultation-grid { grid-template-columns: minmax(0, 1fr) 470px; gap: 54px; }
}

@media (max-width: 980px) {
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-card:last-child { grid-column: 1 / -1; }
  .feature-card:last-child .feature-media { height: 260px; }
  .band-grid { grid-template-columns: 1fr; gap: 32px; }
  .band p { max-width: 650px; }
  .advantages-grid { grid-template-columns: 1fr; gap: 42px; }
  .advantages-intro { position: static; }
  .advantages-lead { max-width: 620px; }
  .badges { max-width: 440px; }
  .about-grid { grid-template-columns: 1fr; gap: 88px; }
  .about-media { max-width: 620px; }
  .clients-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .consultation-grid { grid-template-columns: 1fr; gap: 46px; }
  .form-card { max-width: 620px; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
}

@media (max-width: 820px) {
  .section { padding: 92px 0; }
  .hero {
    height: auto;
    min-height: 100svh;
    max-height: none;
    padding-top: 140px;
  }
  .hero-content { padding-top: 0; padding-bottom: 56px; }
  .hero h1 { font-size: clamp(42px, 8vw, 64px); }
  .hero-lead { font-size: 16.5px; }
  .hero-scroll { display: none; }
  .hero-stats-wrap {
    position: static;
    background: rgba(7, 15, 22, .92);
  }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat { padding: 16px 0 !important; }
  .hero-stat:nth-child(2) { border-left: 1px solid rgba(255, 255, 255, .13); padding-left: 24px !important; }
  .hero-stat:nth-child(3) { border-top: 1px solid rgba(255, 255, 255, .13); border-left: 0; }
  .hero-stat:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, .13); padding-left: 24px !important; }
  .hero-stat strong { font-size: 32px; }
  .hero-stat > span { font-size: 9.5px; }
  .section-head { grid-template-columns: 1fr; align-items: start; gap: 20px; }
  .section-head--row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px; }
  .section-lead { justify-self: start; max-width: 620px; }
  .clients-cta { flex-direction: column; align-items: flex-start; gap: 20px; }
  .projects-head { flex-direction: column; align-items: flex-start; gap: 22px; }
  .projects-count { text-align: left; }
  .projects-count strong { font-size: 52px; }
  .projects-foot { flex-direction: column; align-items: flex-start; gap: 20px; }
  .contacts-strip { padding: 76px 0; }
  .contacts-grid { grid-template-columns: 1fr; max-width: 620px; }
  .privacy-body h3 { font-size: 28px; }
}

@media (max-width: 760px) {
  :root { --header-h: 76px; }
  .container { width: calc(100% - 32px); }
  .site-header .logo-mark { width: 34px; height: 34px; }
  .logo-text strong { font-size: 23px; }
  .logo-text small { font-size: 8px; }
  .header-phone { display: none; }
  .header-inner { gap: 12px; }
  .burger { width: 44px; height: 44px; }
  .burger span { left: 12px; right: 12px; }
  .burger span:nth-child(1) { top: 14px; }
  .burger span:nth-child(2) { top: 21px; }
  .burger span:nth-child(3) { top: 28px; }
  body.menu-open .burger span:nth-child(1) { top: 21px; }
  body.menu-open .burger span:nth-child(3) { top: 21px; }
  .mobile-menu-inner { padding: calc(var(--header-h) + 32px) 24px 30px; }

  .hero { padding-top: 128px; }
  .hero-content { padding-bottom: 42px; }
  .hero h1 { font-size: clamp(38px, 10.5vw, 54px); margin-bottom: 22px; }
  .hero-lead { font-size: 15.5px; margin-bottom: 28px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-bg img { object-position: 62% center; }
  .hero-stat { padding: 15px 0 !important; }
  .hero-stat:nth-child(2) { padding-left: 16px !important; }
  .hero-stat:nth-child(4) { padding-left: 16px !important; }
  .hero-stat strong { font-size: 30px; }
  .hero-stat > span { font-size: 9px; letter-spacing: .1em; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card:last-child { grid-column: auto; }
  .feature-card:last-child .feature-media { height: 238px; }
  .feature-media { height: 220px; }
  .section-head { margin-bottom: 38px; }
  .band { padding: 64px 0; }
  .band h2 { padding-left: 20px; }
  .band h2::before { width: 2px; }
  .services-track { margin: 0; padding: 0 0 22px; }
  .service-card { flex-basis: 86%; }
  .service-media { height: 210px; }
  .slider-btn { width: 42px; height: 42px; }
  .advantage { grid-template-columns: 62px minmax(0, 1fr); padding: 28px 0; }
  .advantage-num { font-size: 26px; }
  .advantage h3 { font-size: 18px; }
  .about-media { min-height: 500px; }
  .about-media-main { width: 100%; height: 470px; }
  .about-media-secondary { width: 52%; height: 230px; bottom: -26px; }
  .experience-badge { left: 0; bottom: 34px; width: 124px; height: 124px; padding: 14px; }
  .experience-badge strong { font-size: 44px; }
  .experience-badge span { font-size: 8.5px; }
  .check-list { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); gap: 24px 0; margin-top: 66px; }
  .about-stat { padding-left: 0 !important; border-left: 0 !important; }
  .about-stat:nth-child(even) { padding-left: 20px !important; border-left: 1px solid rgba(26, 45, 61, .14) !important; }
  .about-stat strong { font-size: 38px; }
  .clients-grid { grid-template-columns: 1fr; }
  .clients-cta { padding: 26px; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-media { height: 240px; }
  .project-open { opacity: 1; transform: none; }
  .partners { padding: 30px 0 34px; }
  .marquee-track span { font-size: 18px; }
  .consultation { padding: 82px 0; }
  .form-card { padding: 28px 24px; }
  .form-card h3 { font-size: 25px; }
  .contact-card { padding: 26px; }
  .footer { padding-top: 52px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-col { max-width: 420px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cookie {
    right: 16px;
    left: 16px;
    bottom: 16px;
    width: auto;
    flex-wrap: wrap;
    gap: 12px;
    padding: 15px 16px;
  }
  .cookie-text { flex: 1 1 220px; }
  .cookie-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 16px;
  }
  .modal { padding: 12px; }
  .modal-dialog { max-height: calc(100vh - 24px); padding: 34px 26px; }
  .modal-head h3 { font-size: 27px; }
  .modal--wide .modal-dialog { padding: 0; }
  .project-modal-media { height: 220px; }
  .project-modal-body { padding: 30px 26px 34px; }
  .project-modal-body h3 { font-size: 28px; }
  .project-modal-body .check-list { grid-template-columns: 1fr; }
  .modal--privacy .modal-dialog { padding: 36px 26px; }
}

@media (max-width: 480px) {
  .hero { padding-top: 110px; }
  .hero-content { padding-bottom: 28px; }
  .hero h1 { font-size: 36px; }
  .hero-kicker { font-size: 9.5px; letter-spacing: .18em; }
  .hero-kicker span { width: 28px; }
  .hero-stat { padding: 12px 0 !important; }
  .hero-stat strong { font-size: 27px; }
  .hero-stat > span { font-size: 8.5px; }
  .eyebrow { font-size: 10px; letter-spacing: .18em; }
  .btn { min-height: 48px; padding: 0 20px; font-size: 11px; }
  .about-media { min-height: 430px; }
  .about-media-main { height: 400px; }
  .about-media-secondary { display: none; }
  .experience-badge { left: auto; right: 0; bottom: 24px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .project-name { font-size: 20px; }
  .form-card { padding: 24px 20px; }
  .cookie { padding: 14px; }
  .cookie-icon { display: none; }
  .cookie-text { flex: 1 1 100%; }
  .cookie-actions { gap: 14px; }
  .toast { bottom: 16px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 33px; }
  .hero-lead { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
