/* Автодом-М — стили сайта */
@font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/ubuntu-cyrillic-400-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/ubuntu-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/ubuntu-cyrillic-500-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/ubuntu-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/ubuntu-cyrillic-700-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/ubuntu-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+FEFF, U+FFFD; }

:root {
  --cyan: #00aff0;
  --ice: #8cd7fa;
  --yellow: #ffc805;
  --silver: #aaaaaa;
  --smoke: #e6e6e6;
  --navy: #0f143c;
  --navy-deep: #0b0f2e;
  --blue: #00aff0;
  --bg: #f4f5f9;
  --ink: #12132b;
  --ink-2: #3b3e5a;
  --muted: #5d6080;
  --line: #e4e6ef;
  --radius: 22px;
  --wrap: 1360px;
  --pad: 32px;
  --head: 84px;
  --font: 'Ubuntu', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; background: var(--navy-deep); }
body { margin: 0; font: 400 17px/1.6 var(--font); color: var(--ink); background: var(--navy-deep); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; } p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

/* Type */
.h1 { font-size: clamp(42px, 6vw, 88px); line-height: 1; letter-spacing: -0.035em; }
.h2 { font-size: clamp(32px, 3.6vw, 54px); }
.h3 { font-size: clamp(22px, 1.9vw, 28px); letter-spacing: -0.02em; }
.label { display: block; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.lead { font-size: clamp(18px, 1.4vw, 20px); line-height: 1.55; color: var(--muted); max-width: 36em; }
.link { text-decoration: underline; text-decoration-color: rgba(0,175,240,.4); text-underline-offset: 4px; }
.link:hover { text-decoration-color: currentColor; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px; border-radius: 999px; border: 1px solid var(--navy); background: var(--navy); color: #fff; font: 600 16px/1 var(--font); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn:hover { background: var(--blue); border-color: var(--blue); }
.btn--white { background: #fff; color: var(--navy); border-color: #fff; }
.btn--white:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--line { background: transparent; color: var(--navy); border-color: #c9cbe0; }
.btn--line:hover { border-color: var(--navy); background: transparent; color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--head); color: #fff; transition: background-color .3s, box-shadow .3s, height .3s; }
.header .wrap { height: 100%; display: flex; align-items: center; gap: 40px; }
.header.is-solid { background: rgba(15,20,60,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); height: 72px; box-shadow: 0 10px 30px -20px rgba(0,0,0,.6); }
.logo { display: inline-flex; color: currentColor; flex-shrink: 0; }
.logo svg { height: 34px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-size: 15px; opacity: .88; transition: opacity .2s; white-space: nowrap; position: relative; padding: 6px 0; }
.nav a:hover { opacity: 1; }
.nav a[aria-current='page'] { opacity: 1; }
.nav a[aria-current='page']::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #fff; border-radius: 2px; }
.header__end { display: flex; gap: 10px; }
.header .btn { height: 44px; padding: 0 20px; font-size: 15px; }
.menu-btn { display: none; margin-left: auto; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.45); background: transparent; color: #fff; font: 600 15px var(--font); cursor: pointer; }
.drawer { display: none; }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy-deep); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,15,46,.93) 0%, rgba(11,15,46,.72) 45%, rgba(11,15,46,.2) 100%); }
.hero .wrap { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; }
.hero--home { height: min(92vh, 880px); min-height: 640px; }
.hero--home .wrap { height: 100%; padding-bottom: 128px; }
.hero--page { min-height: 520px; }
.hero--page .wrap { min-height: 520px; padding-top: calc(var(--head) + 64px); padding-bottom: 72px; }
.hero .eyebrow { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; margin-bottom: 20px; }
.hero h1 { max-width: 11em; margin-bottom: 26px; }
.hero--page h1 { font-size: clamp(38px, 4.6vw, 68px); max-width: 14em; }
.hero p { max-width: 34em; font-size: clamp(18px, 1.4vw, 20px); opacity: .86; margin-bottom: 36px; }
.hero--page p:last-child { margin-bottom: 0; }
.crumbs { font-size: 14px; opacity: .7; margin-bottom: 22px; }
.crumbs a:hover { text-decoration: underline; }
.hero-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.hero-tabs a { padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); font-size: 15px; transition: background-color .2s, color .2s; }
.hero-tabs a:hover { background: #fff; color: var(--navy); }

/* Stats bar */
.stats { position: relative; z-index: 3; margin-top: -64px; }
.stats ul { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 20px; box-shadow: 0 30px 60px -30px rgba(15,20,60,.35); }
.stats li { padding: 30px 32px; }
.stats li + li { border-left: 1px solid var(--line); }
.stats b { display: block; font-size: clamp(32px, 3.2vw, 46px); letter-spacing: -0.04em; font-weight: 600; color: var(--navy); line-height: 1; margin-bottom: 8px; }
.stats span { color: var(--muted); font-size: 15px; }

/* Sections */
.section { padding: clamp(80px, 9vw, 128px) 0; }
.section--soft { background: var(--bg); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 24px 64px; align-items: end; margin-bottom: 48px; }
.section-head .lead { margin: 0; }
.section-head--one { grid-template-columns: minmax(0, 880px); }

/* Photo cards */
.cards { display: grid; grid-template-columns: 1.25fr 1fr; grid-auto-rows: 330px; gap: 20px; }
.card { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; background: var(--navy); isolation: isolate; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.card:hover img { transform: scale(1.04); }
.card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11,15,46,.9) 0%, rgba(11,15,46,.15) 62%); }
.card__body { position: absolute; left: 28px; right: 28px; bottom: 26px; }
.card h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.02em; margin-bottom: 8px; }
.card p { margin: 0; opacity: .85; font-size: 15.5px; max-width: 30em; }
.card__go { position: absolute; top: 22px; right: 22px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); display: grid; place-items: center; font-size: 18px; transition: background-color .2s, color .2s; }
.card:hover .card__go { background: #fff; color: var(--navy); }
.card--tall { grid-row: span 2; }
.card--plain::after { background: radial-gradient(500px 300px at 90% 0%, rgba(0,175,240,.45), transparent 70%); }

/* Digital band */
.band { background: var(--navy-deep); color: #fff; border-radius: 28px; margin: 0 var(--pad); padding: clamp(64px, 7vw, 104px) 0; }
.band__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.band .lead { color: rgba(255,255,255,.75); margin-bottom: 32px; }
.band h2 { margin-bottom: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; margin-bottom: 26px; }
.brand .dmark { width: 34px; height: 34px; }
.tiles { display: grid; gap: 12px; }
.tile { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 22px 24px; }
.tile b { display: block; font-size: 19px; margin-bottom: 4px; font-weight: 600; }
.tile span { color: rgba(255,255,255,.72); font-size: 15.5px; }
.tiles--2 { grid-template-columns: 1fr 1fr; }

/* Light tiles */
.ltiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ltile { background: #fff; border-radius: 18px; padding: 28px; border: 1px solid var(--line); }
.section--soft .ltile { border-color: transparent; }
.ltile b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 8px; color: var(--navy); }
.ltile span { color: var(--muted); font-size: 15.5px; display: block; }
.ltiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ltiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Cities & clients */
.cities { display: flex; flex-wrap: wrap; gap: 10px; }
.cities li { padding: 12px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 500; }
.cities li.hq { background: var(--navy); color: #fff; border-color: var(--navy); }
.clients { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.clients li { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 96px; padding: 16px; border-radius: 16px; background: var(--bg); font-weight: 600; color: #4a4d6b; font-size: 15.5px; line-height: 1.3; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
.photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.prose p { color: var(--ink-2); }
.prose .big { font-size: clamp(21px, 1.9vw, 26px); line-height: 1.4; color: var(--ink); font-weight: 500; letter-spacing: -0.015em; }
.quote { font-size: clamp(26px, 2.8vw, 40px); font-weight: 600; line-height: 1.2; letter-spacing: -0.025em; color: var(--navy); max-width: 24em; margin: 0 0 56px; }

/* Service detail */
.svc { padding: clamp(72px, 8vw, 112px) 0; }
.svc + .svc { border-top: 1px solid var(--line); }
.svc .split > .photo { order: 2; }
.svc h2 { margin-bottom: 20px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin-top: 28px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: 16px; }
.checks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #e6f6fd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6bff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat; }
.checks--1 { grid-template-columns: 1fr; }
.sub { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 32px 0 0; }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.timeline li { background: #fff; border-radius: 18px; padding: 28px; }
.timeline b { display: block; font-size: 32px; letter-spacing: -0.03em; color: var(--navy); margin-bottom: 10px; }
.timeline span { color: var(--muted); font-size: 15.5px; }

/* Team */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.team-region { background: var(--bg); border-radius: 18px; padding: 28px; }
.team-region h3 { font-size: 20px; letter-spacing: -0.015em; margin-bottom: 14px; color: var(--navy); }
.team-region li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid #dfe1ec; font-size: 15.5px; }
.team-region li span:first-child { color: var(--ink-2); }
.team-region li .tbd { color: #9a9cb3; }

/* Docs */
.docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.docs a { display: block; background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.docs a:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(15,20,60,.4); }
.docs img { width: 100%; aspect-ratio: 1 / 1.2; object-fit: cover; object-position: top; }
.docs span { display: block; padding: 16px 20px; font-weight: 600; font-size: 15.5px; }

/* Contacts */
.offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.office { background: #fff; border-radius: 18px; padding: 24px 26px; display: flex; flex-direction: column; gap: 6px; }
.office h3 { font-size: 21px; letter-spacing: -0.015em; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.office h3 small { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); background: #e6f6fd; padding: 4px 10px; border-radius: 999px; }
.office address { font-style: normal; color: var(--muted); font-size: 15.5px; }
.office .phones { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 6px; font-weight: 600; color: var(--navy); }
.office .phones a:hover { color: var(--blue); }
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 8px; max-width: 980px; }
.contact-cards a { display: block; padding: 20px 22px; border-radius: 16px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .2s; }
.contact-cards a:hover { background: rgba(255,255,255,.2); }
.contact-cards small { display: block; font-size: 13px; opacity: .7; margin-bottom: 4px; }
.contact-cards b { font-size: 19px; font-weight: 600; overflow-wrap: anywhere; }

/* Form */
.form-card { background: #fff; border-radius: 24px; padding: clamp(28px, 4vw, 48px); box-shadow: 0 30px 60px -40px rgba(15,20,60,.35); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.field input, .field textarea { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid transparent; border-radius: 12px; padding: 14px 16px; transition: border-color .2s, background-color .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 4px; }
.form__note { margin: 0; font-size: 13.5px; color: var(--muted); max-width: 30em; }
.form__ok { grid-column: 1 / -1; display: none; padding: 14px 16px; border-radius: 12px; background: #eaf7ef; color: #146c3a; font-size: 15px; }
.form.is-sent .form__ok--sent, .form.is-mailto .form__ok--mailto, .form.is-error .form__ok--error,
.form.is-contact .form__ok--contact, .form.is-phone .form__ok--phone, .form.is-limit .form__ok--limit { display: block; }
.form__ok--error, .form__ok--contact, .form__ok--phone, .form__ok--limit { background: #fdeeee; color: #a12626; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn:disabled { opacity: .6; cursor: wait; }

/* Closing */
.closing { background: var(--navy); color: #fff; border-radius: 28px; padding: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; position: relative; overflow: hidden; isolation: isolate; }
.closing::before { content: ''; position: absolute; z-index: -1; width: 700px; height: 700px; right: -200px; top: -300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,175,240,.45), transparent); }
.closing p { color: rgba(255,255,255,.75); font-size: 18px; margin: 20px 0 0; max-width: 30em; }
.closing .contacts { display: grid; gap: 6px; font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; margin-bottom: 28px; }
.closing .contacts a:hover { color: #8cd7fa; }

/* Footer */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding: 72px 0 32px; font-size: 15px; margin-top: clamp(80px, 9vw, 128px); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .logo { color: #fff; }
.footer__about p { margin-top: 20px; max-width: 22em; }
.footer h4 { margin: 0 0 16px; color: #fff; font-size: 15px; font-weight: 600; }
.footer li + li { margin-top: 9px; }
.footer a:hover { color: #fff; }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 13.5px; color: rgba(255,255,255,.5); }

/* Legal */
.legal { max-width: 46em; }
.legal h2 { font-size: 22px; letter-spacing: -0.015em; margin: 40px 0 12px; color: var(--navy); }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--ink-2); font-size: 16.5px; }

/* Responsive */
@media (max-width: 1279px) {
  .nav, .header__end { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .header { background: transparent; }
  .menu-open .header { background: var(--navy); }
  .drawer { position: fixed; inset: 72px 0 0; z-index: 49; background: var(--navy); color: #fff; padding: 12px var(--pad) 40px; overflow-y: auto; }
  .menu-open .drawer { display: block; }
  .menu-open { overflow: hidden; }
  .drawer nav a { display: flex; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
  .drawer nav a::after { content: '→'; opacity: .5; }
  .drawer .actions { margin-top: 28px; flex-direction: column; align-items: stretch; }
  .clients { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ltiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  :root { --pad: 24px; }
  .section-head, .split, .band__grid, .closing { grid-template-columns: minmax(0, 1fr); }
  .stats ul { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cards { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 300px; }
  .card--tall { grid-row: span 1; }
  .ltiles, .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc .split > .photo { order: -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .docs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-cards { grid-template-columns: minmax(0, 1fr); }
  .clients { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --pad: 20px; --head: 68px; }
  .header.is-solid { height: 64px; }
  .drawer { inset: 64px 0 0; }
  .hero--home { min-height: 600px; height: 88vh; }
  .hero--home .wrap { padding-bottom: 104px; }
  .hero::after { background: linear-gradient(0deg, rgba(11,15,46,.95) 0%, rgba(11,15,46,.65) 60%, rgba(11,15,46,.35) 100%); }
  .stats li { padding: 20px; }
  .stats span { font-size: 13.5px; }
  .ltiles, .ltiles--2, .ltiles--4, .timeline, .team, .offices, .docs, .checks, .tiles--2, .form, .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients li { min-height: 76px; font-size: 14.5px; }
  .band { margin: 0 12px; border-radius: 22px; }
  .closing { border-radius: 22px; }
  .actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.section--soft .clients li, .section--soft .team-region { background: #fff; }
.hero__img--right { object-position: 70% 60%; }
.hero--contacts .hero__img { object-position: 50% 62%; }
.hero--contacts .wrap { padding-bottom: 100px; }
.hero--contacts::after { background: linear-gradient(180deg, rgba(11,15,46,.92) 0%, rgba(11,15,46,.82) 50%, rgba(11,15,46,.2) 78%, rgba(11,15,46,.05) 100%); }
.stats--links ul { grid-template-columns: repeat(3, 1fr); }
.stats--links a { display: block; }
.stats--links span { display: block; font-size: 14px; margin-bottom: 6px; }
.stats--links b { font-size: clamp(19px, 1.7vw, 24px); letter-spacing: -0.02em; margin: 0; overflow-wrap: anywhere; transition: color .2s; }
.stats--links a:hover b { color: var(--blue); }
@media (max-width: 960px) { .stats--links ul { grid-template-columns: minmax(0, 1fr); } .stats--links li + li { border-left: 0; border-top: 1px solid var(--line); } }
@media (max-width: 640px) { .hero--contacts .wrap { padding-bottom: 100px; } .hero--contacts .hero__img { object-position: 50% 100%; } }

/* Kazakhstan map */
.map-card { background: var(--bg); border-radius: var(--radius); padding: clamp(16px, 3vw, 40px); margin-bottom: 20px; }
.kzmap { width: 100%; height: auto; overflow: visible; }
.kzmap__land { fill: #fff; stroke: #c9cde3; stroke-width: 1.5; stroke-linejoin: round; }
.kzmap__city { cursor: pointer; }
.kzmap__city .dot { fill: var(--navy); transition: fill .2s; }
.kzmap__city.is-hq .dot { fill: var(--blue); }
.kzmap__city .ring { fill: var(--blue); opacity: 0; transform-box: fill-box; transform-origin: center; transition: opacity .2s; }
.kzmap__city.is-hq .ring { opacity: .18; animation: kzpulse 2.6s ease-out infinite; }
.kzmap__city text { fill: var(--ink); font: 600 19px var(--font); transition: fill .2s; paint-order: stroke; stroke: var(--bg); stroke-width: 5px; stroke-linejoin: round; }
.kzmap__city:hover .dot, .kzmap__city.is-on .dot { fill: var(--blue); }
.kzmap__city:hover .ring, .kzmap__city.is-on .ring { opacity: .25; }
.kzmap__city:hover text, .kzmap__city.is-on text { fill: var(--blue); }
@keyframes kzpulse { 0% { transform: scale(.7); opacity: .35; } 80%, 100% { transform: scale(1.9); opacity: 0; } }
.offices .office { background: var(--bg); transition: box-shadow .2s, background-color .2s; }
.office.is-on, .office:target { background: #fff; box-shadow: 0 0 0 2px var(--blue); }
@media (max-width: 640px) { .kzmap__city text { font-size: 34px; } .kzmap__city .dot { r: 10; } }
@media (prefers-reduced-motion: reduce) { .kzmap__city .ring { animation: none !important; } }

/* Client logos */
.clients li { min-height: 120px; padding: 22px 26px; }
.clients img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; transition: transform .25s; }
.clients li:hover img { transform: scale(1.05); }
@media (max-width: 640px) { .clients li { min-height: 96px; padding: 16px; } .clients img { max-height: 52px; } }
.btn--app { gap: 10px; padding-left: 24px; padding-right: 24px; }
.btn--app .dmark { width: 24px; height: 24px; flex-shrink: 0; }
.header .btn--app .dmark { width: 22px; height: 22px; }
.hero--plain { background: radial-gradient(900px 500px at 85% 10%, rgba(0,175,240,.35), transparent 60%), var(--navy-deep); }
.hero--plain::after { display: none; }
.hero--plain .wrap { min-height: 420px; }
.hero--404 .wrap { min-height: min(86vh, 760px); justify-content: center; }
.e404 { font-size: clamp(120px, 18vw, 260px); font-weight: 700; line-height: .9; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.55); margin-bottom: 12px; }
.e404::after { content: ''; display: inline-block; width: .12em; height: .12em; margin-left: .06em; border-radius: 50%; background: var(--blue); vertical-align: baseline; }
.map-card--home { margin-bottom: 0; padding: clamp(12px, 2vw, 28px); }
.split--geo { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(32px, 4vw, 64px); }
.map-card--home .kzmap__city text { font-size: 24px; }
@media (max-width: 960px) { .split--geo { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .map-card--home .kzmap__city text { font-size: 34px; } }
.checks { align-items: start; }
.checks { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.docs small { display: block; font-weight: 400; font-size: 14px; color: var(--muted); margin-top: 2px; }
.docs img[src*="/iso-"] { aspect-ratio: 900 / 1188; }

/* Tiles — brandbook: Dark Space text, Cyan ring (logo circle), Smoke borders, Deep Yellow accent */
.ltile { position: relative; display: flex; flex-direction: column; padding: 32px 30px 34px; border-radius: 22px; background: #fff; border: 1px solid var(--smoke); overflow: hidden; isolation: isolate; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .25s; }
.section--soft .ltile { border-color: transparent; }
.ltile::after { content: ''; position: absolute; z-index: -1; right: -70px; bottom: -70px; width: 170px; height: 170px; border-radius: 50%; border: 14px solid var(--smoke); opacity: .55; transition: border-color .35s, transform .5s cubic-bezier(.2,.7,.2,1); }
.ltile b { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: var(--navy); margin-bottom: 10px; }
.ltile span:not(.ico) { color: #4a4f6a; }
.ltile:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 26px 50px -30px rgba(15,20,60,.45); }
.ltile:hover::after { border-color: var(--ice); transform: scale(1.12); }
.ltile span.ico, .tile span.ico { position: relative; display: grid; place-items: center; flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; border: 3px solid var(--cyan); color: var(--navy); background: #fff; margin-bottom: 24px; transition: background-color .3s, color .3s, border-color .3s; }
.ltile span.ico::after { content: ''; position: absolute; top: 2px; right: 2px; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px #fff; transform: scale(0); transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.ltile span.ico svg { width: 24px; height: 24px; }
.ltile:hover span.ico { background: var(--navy); border-color: var(--navy); color: var(--cyan); }
.ltile:hover span.ico::after { transform: scale(1); }
/* Dark tiles */
.tile { display: grid; grid-template-columns: 50px 1fr; column-gap: 18px; align-items: start; padding: 22px 24px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(140,215,250,.14); transition: background-color .3s, border-color .3s; }
.tile span.ico { grid-row: span 2; width: 50px; height: 50px; margin: 0; border-width: 2px; color: var(--ice); background: transparent; }
.tile span.ico svg { width: 22px; height: 22px; }
.tile b, .tile span:not(.ico) { grid-column: 2; }
.tile b { color: #fff; }
.tile:hover { background: rgba(0,175,240,.08); border-color: rgba(0,175,240,.45); }
.tile:hover span.ico { background: var(--cyan); border-color: var(--cyan); color: var(--navy); }
/* Timeline */
.timeline li { position: relative; padding-top: 40px; border: 1px solid var(--smoke); transition: transform .35s, box-shadow .35s; }
.section--soft .timeline li { border-color: transparent; }
.timeline li::before { content: ''; position: absolute; left: 28px; top: 24px; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--cyan); background: #fff; }
.timeline li:last-child::before { border-color: var(--yellow); }
.timeline b { margin-top: 8px; }
.timeline li:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(15,20,60,.45); }
.office, .team-region { transition: transform .35s, box-shadow .35s; }
.office:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -30px rgba(15,20,60,.45); }
/* Brandbook label style: wide-tracked caps */
.label { letter-spacing: .28em; color: var(--cyan); }
@media (prefers-reduced-motion: reduce) { .ltile:hover, .timeline li:hover, .office:hover { transform: none; } }
.hero--page .hero__img[src*="dispatcher"] { object-position: 75% 40%; }
.hero--page .hero__img[src*="office-team"] { object-position: 70% 30%; }
.hero--page .hero__img[src*="vip-welcome"] { object-position: 65% 35%; }
.hero--page .hero__img[src*="prado-lineup"] { object-position: 50% 72%; }

/* Team */
.team-group + .team-group { margin-top: 56px; }
.team-group__title { font-size: 13px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--navy); padding-bottom: 16px; margin-bottom: 24px; border-bottom: 1px solid var(--smoke); }
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.person { margin: 0; }
.person__photo { aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--smoke); margin-bottom: 16px; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.person:hover .person__photo img { transform: scale(1.03); }
.person b { display: block; font-size: 18px; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; }
.person span { display: block; font-size: 15px; color: var(--muted); margin-top: 2px; }
@media (max-width: 960px) { .people { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .person b { font-size: 16px; } .person span { font-size: 13.5px; } }

/* Map: office popover */
.kzmap-wrap { position: relative; }
.kzmap__city { cursor: pointer; outline: none; }
.kzmap__city .hit { fill: transparent; }
.kzmap__city:focus-visible .ring { opacity: .35; }
.kzmap__city.is-on .dot { fill: var(--cyan); }
.kzmap__city.is-on .ring { opacity: .3; }
.kzmap__city.is-on text { fill: var(--cyan); }
.kzpop { position: absolute; z-index: 5; width: 290px; padding: 18px 20px 18px; background: #fff; border-radius: 18px; box-shadow: 0 24px 60px -20px rgba(15,20,60,.45), 0 0 0 1px rgba(15,20,60,.06); transform: translate(-50%, calc(-100% - 22px)); pointer-events: auto; opacity: 0; transition: opacity .18s, transform .18s; }
.kzpop.is-open { opacity: 1; transform: translate(-50%, calc(-100% - 16px)); }
.kzpop.is-below { transform: translate(-50%, 22px); }
.kzpop.is-below.is-open { transform: translate(-50%, 16px); }
.kzpop::after { content: ''; position: absolute; left: var(--arrow, 50%); bottom: -7px; width: 14px; height: 14px; margin-left: -7px; background: #fff; transform: rotate(45deg); box-shadow: 3px 3px 6px -3px rgba(15,20,60,.15); }
.kzpop.is-below::after { bottom: auto; top: -7px; box-shadow: -3px -3px 6px -3px rgba(15,20,60,.15); }
.kzpop__city { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.kzpop__city small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); background: #e6f6fd; padding: 3px 9px; border-radius: 999px; }
.kzpop__addr { font-size: 14.5px; color: var(--muted); line-height: 1.45; margin-bottom: 12px; }
.kzpop__phones { display: grid; gap: 6px; }
.kzpop__phones a { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); font-size: 15.5px; }
.kzpop__phones a::before { content: ''; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--cyan); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f143c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E") center/13px no-repeat; flex-shrink: 0; }
.kzpop__phones a:hover { color: var(--cyan); }
@media (max-width: 640px) { .kzpop { width: 250px; padding: 14px 16px; } .kzpop__city { font-size: 17px; } }
.docs--letters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.docs--letters img { aspect-ratio: 3 / 4; object-fit: contain; background: #fff; }
@media (max-width: 960px) { .docs--letters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Carousel (letters) */
.carousel { position: relative; }
.carousel__nav { position: absolute; right: 0; top: -84px; display: flex; gap: 10px; }
.carousel__btn { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--cyan); background: #fff; color: var(--navy); font: 600 20px var(--font); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, opacity .2s; }
.carousel__btn:hover { background: var(--navy); border-color: var(--navy); color: var(--cyan); }
.carousel__btn:disabled { opacity: .35; cursor: default; background: #fff; color: var(--navy); border-color: var(--smoke); }
.docs--letters.carousel__track { display: flex; grid-template-columns: none; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 4px 18px; margin: -4px -4px 0; scrollbar-width: thin; scrollbar-color: var(--smoke) transparent; }
.docs--letters.carousel__track > a { flex: 0 0 calc((100% - 60px) / 4); scroll-snap-align: start; }
@media (max-width: 1100px) { .docs--letters.carousel__track > a { flex-basis: calc((100% - 40px) / 3); } }
@media (max-width: 760px) { .docs--letters.carousel__track > a { flex-basis: 70%; } .carousel__nav { position: static; justify-content: flex-end; margin-bottom: 16px; } }
.docs--letters.carousel__track { scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 4px; cursor: grab; }
.docs--letters.carousel__track::-webkit-scrollbar { display: none; }
.docs--letters.carousel__track.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.docs--letters.carousel__track.is-drag a { pointer-events: none; }
.docs--letters img { border-bottom: 0; }
.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.carousel__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--smoke); cursor: pointer; transition: width .3s, background-color .3s; }
.carousel__dots button.is-on { width: 28px; background: var(--cyan); }
.carousel__btn:disabled { opacity: 1; color: #c3c6d4; border-color: var(--smoke); }
.drawer .actions .btn { flex: none; width: 100%; height: 54px; }
.carousel__btn { width: 48px; height: 48px; display: grid; place-items: center; border-width: 1.5px; }
.carousel__btn svg { width: 20px; height: 20px; }
@media (max-width: 640px) { .hero__img--right { object-position: 93% 50%; } }
main { display: block; background: #fff; }
.footer { margin-top: 0; } main { padding-bottom: clamp(80px, 9vw, 128px); }
@media (max-width: 640px) { .hero--page .hero__img[src*="dispatcher"] { object-position: 64% 40%; } }
.m-login { display: none; }
@media (max-width: 1279px) {
  .m-login { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; height: 44px; padding: 0 16px 0 10px; border-radius: 999px; background: #fff; color: var(--navy); font: 600 15px var(--font); }
  .m-login .dmark { width: 24px; height: 24px; }
  .m-login + .menu-btn { margin-left: 10px; }
}
@media (max-width: 360px) { .m-login span { display: none; } .m-login { padding: 0 10px; } }
@media (max-width: 640px) {
  .logo svg { height: 24px; }
  .m-login { height: 40px; padding: 0 12px 0 8px; font-size: 14px; gap: 6px; }
  .m-login .dmark { width: 22px; height: 22px; }
  .menu-btn { height: 40px; padding: 0 14px; font-size: 14px; }
  .m-login + .menu-btn { margin-left: 8px; }
  .header .wrap { gap: 12px; }
}
@media (max-width: 380px) { .m-login span { display: none; } .m-login { padding: 0 9px; } }

/* Language switcher */
.lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); }
.lang a { min-width: 34px; height: 32px; padding: 0 8px; display: grid; place-items: center; border-radius: 999px; font: 600 13px var(--font); color: rgba(255,255,255,.78); letter-spacing: .02em; transition: background-color .2s, color .2s; }
.lang a:hover { color: #fff; }
html[lang="ru"] .lang [data-l="ru"], html[lang="kk"] .lang [data-l="kk"], html[lang="en"] .lang [data-l="en"] { background: #fff; color: var(--navy); }
.header__end { align-items: center; }
.lang--drawer { display: none; }
@media (max-width: 1279px) {
  .lang--drawer { display: inline-flex; margin-top: 24px; }
  .lang--drawer a { min-width: 56px; height: 40px; font-size: 15px; }
}
@media (max-width: 1400px) and (min-width: 1280px) { .nav { gap: 20px; } .header .wrap { gap: 28px; } }

/* Collapsed language switcher: only the current language, others on hover */
.lang:not(.lang--drawer) { gap: 0; transition: gap .25s; }
.lang:not(.lang--drawer) a { max-width: 0; min-width: 0; padding: 0; opacity: 0; overflow: hidden; transition: max-width .3s ease, padding .3s ease, opacity .2s ease, min-width .3s ease; }
html[lang="ru"] .lang:not(.lang--drawer) [data-l="ru"], html[lang="kk"] .lang:not(.lang--drawer) [data-l="kk"], html[lang="en"] .lang:not(.lang--drawer) [data-l="en"] { max-width: 60px; min-width: 34px; padding: 0 8px; opacity: 1; }
.lang:not(.lang--drawer):hover, .lang:not(.lang--drawer):focus-within { gap: 2px; }
.lang:not(.lang--drawer):hover a, .lang:not(.lang--drawer):focus-within a { max-width: 60px; min-width: 34px; padding: 0 8px; opacity: 1; }


/* Clients: centred rows so an incomplete last row sits in the middle */
.clients { --cols: 5; display: flex; flex-wrap: wrap; justify-content: center; }
.clients li { flex: 0 0 calc((100% - (var(--cols) - 1) * 12px) / var(--cols)); }
@media (max-width: 1100px) { .clients { --cols: 4; } }
@media (max-width: 900px) { .clients { --cols: 3; } }
@media (max-width: 640px) { .clients { --cols: 2; } }

/* History: years rail + client logos of the chosen year */
.hist { --p: 0; }
.hist__stage { display: grid; background: #fff; border-radius: 24px; padding: clamp(28px, 4vw, 56px); box-shadow: 0 30px 60px -44px rgba(15,20,60,.35); overflow: hidden; }
.hist__panel { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 24px 48px; align-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease, visibility 0s .45s; }
.hist__panel.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease, transform .45s ease; }
.hist__year { display: block; font-size: clamp(56px, 7vw, 96px); line-height: 1; letter-spacing: -0.045em; color: var(--navy); }
.hist__note { display: block; margin-top: 14px; color: var(--muted); font-size: 17px; line-height: 1.4; }
.hist__note::before { content: ''; display: block; width: 32px; height: 3px; border-radius: 2px; background: var(--cyan); margin-bottom: 14px; }
.hist__logos { display: flex; flex-wrap: wrap; gap: 12px; }
.hist__logos li { flex: 0 1 calc((100% - 24px) / 3); min-width: 140px; height: 112px; display: flex; align-items: center; justify-content: center; padding: 20px 24px; background: var(--bg); border-radius: 16px; }
.hist__logos--1 li, .hist__logos--2 li { flex-basis: calc((100% - 12px) / 2); max-width: 300px; }
.hist__logos img { max-width: 100%; max-height: 56px; width: auto; height: auto; object-fit: contain; }
.hist__panel.is-on .hist__logos li { animation: hist-in .5s cubic-bezier(.2,.7,.2,1) both; }
.hist__panel.is-on .hist__logos li:nth-child(2) { animation-delay: .06s; }
.hist__panel.is-on .hist__logos li:nth-child(3) { animation-delay: .12s; }
.hist__panel.is-on .hist__logos li:nth-child(4) { animation-delay: .18s; }
.hist__panel.is-on .hist__logos li:nth-child(5) { animation-delay: .24s; }
@keyframes hist-in { from { opacity: 0; transform: translateY(12px) scale(.97); } }
.hist__rail { margin-top: 14px; padding: 14px 0 8px; overflow-x: auto; scrollbar-width: none; }
.hist__rail::-webkit-scrollbar { display: none; }
.hist__tabs { position: relative; display: grid; grid-template-columns: repeat(var(--n, 12), minmax(64px, 1fr)); min-width: 860px; }
.hist__tabs::before, .hist__tabs::after { content: ''; position: absolute; left: calc(50% / var(--n, 12)); right: calc(50% / var(--n, 12)); top: 9px; height: 2px; border-radius: 2px; background: #d6dbea; }
.hist__tabs::after { right: auto; width: calc((100% - 100% / var(--n, 12)) * var(--p)); background: var(--cyan); transition: width .5s ease; }
.hist__tabs button { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 0 6px; background: none; border: 0; cursor: pointer; font: inherit; font-size: 15px; font-weight: 500; color: #8a8ea8; transition: color .25s; }
.hist__tabs button::before { content: ''; width: 20px; height: 20px; border-radius: 50%; box-sizing: border-box; border: 3px solid #d6dbea; background: var(--bg); transition: border-color .25s, background .25s, transform .25s; }
.hist__tabs button.is-past::before { border-color: var(--cyan); }
.hist__tabs button.is-on { color: var(--navy); font-weight: 700; }
.hist__tabs button.is-on::before { border-color: var(--cyan); background: var(--cyan); transform: scale(1.25); box-shadow: 0 0 0 6px rgba(0,175,240,.15); }
.hist__tabs button:hover { color: var(--navy); }
.hist__tabs button:hover::before { border-color: var(--cyan); }
.hist__tabs button:focus-visible { outline: none; }
.hist__tabs button:focus-visible span { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
@media (max-width: 900px) {
  .hist__panel { grid-template-columns: minmax(0, 1fr); align-items: start; align-content: start; }
  .hist__logos li { flex-basis: calc((100% - 12px) / 2); min-width: 0; height: 92px; padding: 16px; }
  .hist__logos img { max-height: 46px; }
}
@media (prefers-reduced-motion: reduce) { .hist__panel, .hist__panel.is-on .hist__logos li { transition: none; animation: none; } }
/* Without JavaScript every year is shown, one under another */
html:not(.js) .hist__rail { display: none; }
html:not(.js) .hist__panel { opacity: 1; visibility: visible; transform: none; grid-area: auto; }
html:not(.js) .hist__stage { gap: 40px; }
.hist__logos--brand li { flex: 0 1 460px; max-width: 100%; height: 150px; padding: 28px 40px; color: var(--navy); }
.hist__logos--brand svg { width: 100%; max-width: 340px; height: auto; }
.hist__digital { display: inline-flex; align-items: center; gap: 16px; color: var(--navy); font-size: clamp(24px, 3vw, 34px); font-weight: 500; letter-spacing: -0.02em; text-decoration: none; transition: transform .25s; }
.hist__digital b { font-weight: 700; }
.hist__digital .dmark { width: 56px; height: 56px; flex: none; }
.hist__digital:hover { transform: translateX(4px); }
.hist__tabs button:last-child.is-on::before { background: var(--yellow); border-color: var(--yellow); box-shadow: 0 0 0 6px rgba(255,200,5,.2); }
.hist__logos--old svg { width: auto; max-width: 100%; height: 96px; }
.hist__digital img { display: block; width: 100%; max-width: 380px; height: auto; }
.hist__logos--brand li:has(.hist__digital) { padding: 28px 36px; }
.brand-logo { display: block; width: 280px; max-width: 100%; height: auto; margin-bottom: 30px; }
.brand-logo--hero { width: 320px; margin-bottom: 26px; }
@media (max-width: 640px) { .brand-logo { width: 230px; } .brand-logo--hero { width: 250px; } }

/* Page heroes: one height on every section page */
.hero--page, .hero--page .wrap { min-height: 620px; }
@media (max-width: 640px) { .hero--page, .hero--page .wrap { min-height: 704px; } }
.hero--page .wrap { justify-content: flex-start; }

/* Narrow phones: long Russian and Kazakh words must not run past the screen edge */
h1, h2, h3 { overflow-wrap: break-word; }
@media (max-width: 420px) {
  .h1, .hero--page h1 { font-size: 34px; }
  .h2 { font-size: 28px; }
  .btn { height: auto; min-height: 54px; padding-top: 12px; padding-bottom: 12px; white-space: normal; text-align: center; line-height: 1.25; }
  .header .btn { min-height: 44px; }
}
@media (max-width: 340px) { .h1, .hero--page h1 { font-size: 30px; } .h2 { font-size: 25px; } h1, h2 { hyphens: auto; } }

/* Digital and Career: the photo is enlarged from its left edge, so the people move right of the text; the veil stays as on other pages */
@media (min-width: 961px) {
  .hero--page .hero__img[src*="dispatcher"] { object-position: 50% 38%; transform: scale(1.12); transform-origin: 0 45%; }
  .hero--page .hero__img[src*="office-team"] { object-position: 50% 22%; transform: scale(1.2); transform-origin: 0 20%; }
}

/* Carousel dots: small to the eye, but a finger-sized area to tap */
.carousel__dots { gap: 0; }
.carousel__dots button { box-sizing: content-box; padding: 12px 4px; background-clip: content-box; }

/* Phones: bigger map — less padding, larger labels and dots, bigger tap area */
@media (max-width: 640px) {
  .map-card, .map-card--home { padding: 10px 4px; }
  .kzmap__city text, .map-card--home .kzmap__city text { font-size: 44px; stroke-width: 7px; }
  .kzmap__city .dot { r: 11; }
  .kzmap__city.is-hq .dot { r: 13; }
  .kzmap__city .ring { r: 22; }
  .kzmap__city .hit { r: 46; }
  .kzmap__city[data-city="Уральск"] text { transform: translateY(-16px); }
  .kzmap__city[data-city="Аксай"] text { transform: translateY(14px); }
  .kzmap__city[data-city="Уральск"] .hit, .kzmap__city[data-city="Аксай"] .hit { r: 20; }
}
/* Phones: footer links with finger-sized spacing */
@media (max-width: 640px) {
  .footer li a, .footer__bottom a { display: inline-block; padding: 9px 0; }
  .footer li + li { margin-top: 0; }
  .footer h4 { margin-bottom: 6px; }
}
.kzpop__route { display: inline-block; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); width: 100%; font-size: 14.5px; font-weight: 600; color: var(--blue); }
.kzpop__route:hover { color: var(--cyan); }
.stats--3 ul { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .stats--3 ul { grid-template-columns: minmax(0, 1fr); } .stats--3 li + li { border-left: 0; border-top: 1px solid var(--line); } }
