/* Aibi — дизайн-система: светлые ivory-страницы + тёмные navy-акценты */
:root {
  --navy: #0B1228;
  --navy-2: #111C3D;
  --navy-3: #1A2752;
  --blue: #2563FF;
  --blue-d: #1A4FE0;
  --blue-l: #5B8CFF;
  --orange: #FF8A00;
  --orange-d: #E67A00;
  --ivory: #F7F5F0;
  --sky: #E6EEFF;
  --white: #FFFFFF;
  --ink: #0B1228;
  --ink-2: #3D4766;
  --muted: #5A6382;
  --line: #E4E1D8;
  --line-2: #D6D9E4;
  --on-dark: #F2F5FF;
  --on-dark-2: #B5BFDB;
  --ok: #0F8A4B;
  --err: #C4321C;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --sh: 0 1px 2px rgba(11, 18, 40, .05), 0 8px 24px rgba(11, 18, 40, .06);
  --sh-h: 0 2px 4px rgba(11, 18, 40, .06), 0 16px 40px rgba(11, 18, 40, .12);
  --f-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hdr: 64px;
  --gut: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 76px; /* место под мобильную панель */
}
@media (min-width: 1024px) { body { padding-bottom: 0; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-d); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6.4vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gut); }
.container--narrow { max-width: 860px; }
@media (min-width: 768px) { :root { --gut: 28px; } }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--orange); color: var(--navy); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- иконки ---------- */
.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--sm { width: 18px; height: 18px; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.2 var(--f-head); text-decoration: none; cursor: pointer;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s, box-shadow .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: .9375rem; }
.btn--lg { min-height: 54px; padding: 14px 26px; font-size: 1.0625rem; }
.btn--accent { background: var(--orange); color: var(--navy); box-shadow: 0 8px 22px rgba(255, 138, 0, .28); }
.btn--accent:hover { background: #FF9A24; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-d); }
.btn--ghost { background: rgba(255, 255, 255, .06); color: var(--on-dark); border-color: rgba(230, 238, 255, .55); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.btn--ghost-dark { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost-dark:hover { border-color: var(--blue); color: var(--blue-d); }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover { transition: none; transform: none; } }

/* ---------- шапка ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--on-dark); border-bottom: 1px solid rgba(230, 238, 255, .08); }
.header__in { display: flex; align-items: center; gap: 16px; height: var(--hdr); }
.logo { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; margin-right: auto; }
.logo__mark { width: 36px; height: 29px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__text b { font: 800 1.375rem/1 var(--f-head); letter-spacing: -.01em; }
.logo__accent { color: var(--orange); }
.logo__text small { font-size: .75rem; font-weight: 600; color: var(--on-dark-2); margin-top: 3px; display: block; }
.header__cta { display: none; }
@media (min-width: 640px) and (max-width: 1023px) { .header__cta { display: inline-flex; } }

.burger { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(230, 238, 255, .25); border-radius: 12px; background: transparent; color: inherit; cursor: pointer; }
.burger__close { display: none; }
.burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: block; }

.nav { position: fixed; inset: var(--hdr) 0 0 0; background: var(--navy); padding: 16px var(--gut) 32px; overflow-y: auto; display: flex; flex-direction: column; gap: 20px; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
.nav.is-open { visibility: visible; opacity: 1; transform: none; }
.nav ul { list-style: none; display: grid; gap: 2px; }
.nav a:not(.btn) { display: flex; align-items: center; min-height: 48px; padding: 8px 12px; border-radius: 10px; color: var(--on-dark); text-decoration: none; font: 600 1.125rem/1.2 var(--f-head); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { background: rgba(37, 99, 255, .18); color: #fff; }
.nav__cta { align-self: stretch; }
@media (prefers-reduced-motion: reduce) { .nav { transition: none; } }

@media (min-width: 1024px) {
  .burger, .nav__mobile { display: none; }
  .nav { position: static; visibility: visible; opacity: 1; transform: none; padding: 0; background: none; flex-direction: row; align-items: center; gap: 14px; overflow: visible; transition: none; }
  .nav ul { display: flex; gap: 0; }
  .nav a:not(.btn) { min-height: 44px; padding: 8px 10px; font: 600 .9375rem/1 var(--f-body); color: var(--on-dark-2); background: none; }
  .nav a:not(.btn):hover { color: #fff; background: none; }
  .nav a[aria-current="page"] { color: #fff; background: none; box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
  .nav__more { display: none; }
  .nav__cta { min-height: 44px; padding: 8px 16px; font-size: .9375rem; }
}
@media (min-width: 1240px) { .nav__more { display: list-item; } .nav a:not(.btn) { padding: 8px 9px; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--on-dark); background:
  radial-gradient(900px 500px at 85% 20%, rgba(255, 138, 0, .16), transparent 60%),
  radial-gradient(800px 600px at 70% 70%, rgba(37, 99, 255, .25), transparent 60%),
  linear-gradient(180deg, #0B1228 0%, #0E1838 100%); }
.hero__in { display: grid; gap: 8px; padding-top: 36px; padding-bottom: 72px; }
.badge { display: inline-block; margin: 0 0 18px; padding: 6px 14px; border: 1px solid rgba(91, 140, 255, .55); border-radius: 999px; background: rgba(37, 99, 255, .14); font: 600 .875rem/1.3 var(--f-body); color: var(--on-dark); }
.hero h1 { color: #fff; }
.hl-blue { color: var(--blue-l); white-space: nowrap; }
.hl-orange { color: var(--orange); }
.hero__sub { font-size: 1.125rem; color: var(--on-dark-2); max-width: 34em; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero__btns .btn { flex: 1 1 220px; }
@media (min-width: 560px) { .hero__btns .btn { flex: 0 0 auto; } }
.hero__media { margin: 8px calc(var(--gut) * -1) 0; }
.hero__img { width: 100%; height: auto; aspect-ratio: 1672 / 941; object-fit: cover;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 80%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 80%, transparent 100%); }
.hero__text { position: relative; z-index: 1; }
.hero__facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-top: 8px; padding-top: 20px; border-top: 1px solid rgba(230, 238, 255, .12); }
.hero__facts li { display: flex; align-items: center; gap: 10px; font-size: .9375rem; color: var(--on-dark); }
.hero__facts .ic { color: var(--blue-l); }
.hero__facts li { text-shadow: 0 1px 10px rgba(5, 10, 30, .9), 0 0 2px rgba(5, 10, 30, .8); }
@media (min-width: 960px) {
  .hero__facts { grid-template-columns: repeat(4, 1fr); margin-top: 24px; }
}
/* Ноутбук и шире: картинка — фон первого экрана справа с плавным переходом в тёмно-синий, как в макете */
@media (min-width: 900px) {
  .hero { min-height: 640px; }
  .hero__in { grid-template-columns: minmax(0, 600px) 1fr; padding-top: 72px; padding-bottom: 88px; }
  .hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; margin: 0; }
  .hero h1 { font-size: clamp(2.6rem, 3.6vw, 3.4rem); text-shadow: 0 2px 18px rgba(5, 10, 30, .7); }
  .hero__sub { text-shadow: 0 1px 10px rgba(5, 10, 30, .9); }
  .hero__img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 62% 50%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.55) 14%, #000 32%), linear-gradient(0deg, transparent 0, #000 16%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.55) 14%, #000 32%), linear-gradient(0deg, transparent 0, #000 16%);
    mask-composite: intersect; }
  .hero__facts { position: relative; z-index: 1; grid-column: 1 / -1; }
  .hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, rgba(11, 18, 40, .94) 0%, rgba(11, 18, 40, .86) 36%, rgba(11, 18, 40, .55) 50%, rgba(11, 18, 40, 0) 66%); }
  .hero__text { position: relative; z-index: 1; }
}

/* ---------- страницы: заголовок ---------- */
.phero { color: var(--on-dark); background:
  radial-gradient(700px 360px at 90% 0%, rgba(255, 138, 0, .14), transparent 60%),
  radial-gradient(700px 420px at 70% 100%, rgba(37, 99, 255, .28), transparent 60%),
  var(--navy); }
.phero__in { padding-top: 40px; padding-bottom: 48px; }
.phero h1 { color: #fff; font-size: clamp(1.875rem, 5.2vw, 3rem); max-width: 18em; }
.phero__sub { color: var(--on-dark-2); font-size: 1.0625rem; max-width: 40em; margin-bottom: 0; }
.phero p + p { margin-top: 16px; }
.kicker { font: 700 .8125rem/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.kicker a { color: var(--on-dark-2); }
.kicker--dark { color: var(--blue-d); }
@media (min-width: 960px) { .phero__in { padding-top: 64px; padding-bottom: 72px; } }

/* ---------- секции ---------- */
.sec { padding: 56px 0; }
.sec--white { background: var(--white); }
.sec--dark { background: var(--navy); color: var(--on-dark); }
.sec--lift { margin-top: -32px; position: relative; padding-top: 32px; border-radius: 28px 28px 0 0; background: var(--ivory); }
@media (min-width: 960px) { .sec { padding: 64px 0; } .sec--lift { margin-top: -48px; padding-top: 48px; border-radius: 36px 36px 0 0; } }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.sec-head h2 { margin-bottom: .25em; }
.sec-head__sub { color: var(--muted); margin: 0; max-width: 40em; }
.link-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; color: var(--blue-d); text-decoration: none; }
.link-more:hover { text-decoration: underline; }

/* ---------- направления ---------- */
.grid-dir { list-style: none; display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.grid-dir > li { min-width: 0; }
@media (min-width: 1024px) { .grid-dir { grid-template-columns: repeat(5, 1fr); } }
.card-dir { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 300px; overflow: hidden; padding: 22px 20px 0; border-radius: var(--r-lg); color: #fff; text-decoration: none;
  background: radial-gradient(120% 70% at 70% 100%, rgba(255, 138, 0, .28), transparent 60%), linear-gradient(170deg, #26346B 0%, #16214A 45%, #0E1738 100%);
  box-shadow: 0 10px 30px rgba(11, 18, 40, .18); transition: box-shadow .2s, transform .2s; }
.card-dir:hover { box-shadow: 0 16px 40px rgba(11, 18, 40, .3); transform: translateY(-3px); }
.card-dir__ic { width: 34px; height: 34px; color: #fff; margin-bottom: 14px; }
.card-dir h3 { font-size: 1.1875rem; color: #fff; }
.card-dir p { color: var(--on-dark-2); font-size: .9375rem; margin: 0 0 12px; position: relative; z-index: 1; }
.card-dir__img { margin: auto -20px 0; display: block; aspect-ratio: 5 / 4; }
.card-dir__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 28%); mask-image: linear-gradient(180deg, transparent 0, #000 28%); }
@media (max-width: 1023px) { .grid-dir > li:last-child { grid-column: 1 / -1; } .grid-dir > li:last-child .card-dir__img { aspect-ratio: 2 / 1; } }
@media (max-width: 559px) { .card-dir { min-height: 0; padding: 18px 14px 0; } .card-dir h3 { font-size: 1.0625rem; } .card-dir p { font-size: .875rem; } .card-dir__img { margin: auto -14px 0; } }

/* ---------- шаги ---------- */
.steps { list-style: none; display: grid; gap: 12px; counter-reset: s; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 22px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.sec--white .step { background: var(--ivory); }
.step__n { position: absolute; top: 18px; right: 18px; font: 800 1.75rem/1 var(--f-head); color: var(--sky); -webkit-text-stroke: 1px var(--blue-l); }
.step__ic { width: 30px; height: 30px; color: var(--orange-d); margin-bottom: 12px; }
.steps--plain .step h3 { margin-top: 4px; }
.step p { color: var(--muted); font-size: .9375rem; margin: 0; }

/* ---------- фильтры ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin: 0 calc(var(--gut) * -1) 14px; padding-left: var(--gut); padding-right: var(--gut); scrollbar-width: thin; }
@media (min-width: 768px) { .chips { flex-wrap: wrap; overflow: visible; margin-left: 0; margin-right: 0; padding-left: 2px; padding-right: 2px; } }
.chip { flex: none; min-height: 44px; padding: 8px 18px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--white); color: var(--ink-2); font: 600 .9375rem/1 var(--f-body); cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.chip:hover { border-color: var(--blue); color: var(--blue-d); }
.chip.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.sec--white .chip:not(.is-on) { background: var(--ivory); }

/* ---------- кейсы ---------- */
.grid-cases { list-style: none; display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-cases { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-cases { grid-template-columns: repeat(4, 1fr); } }
.card-case[hidden] { display: none; }
.card-case__link { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: var(--ink); text-decoration: none; box-shadow: var(--sh); transition: box-shadow .2s, transform .2s; }
.sec--white .card-case__link { background: var(--ivory); }
a.card-case__link:hover { box-shadow: var(--sh-h); transform: translateY(-2px); }
.card-case__media { position: relative; aspect-ratio: 16 / 10; background: var(--navy-2); overflow: hidden; }
.card-case__media img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.card-case__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-case__cat { font: 600 .8125rem/1.2 var(--f-body); color: var(--blue-d); margin-bottom: 6px; }
.card-case h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.card-case p { color: var(--muted); font-size: .9375rem; margin-bottom: 10px; }
.card-case__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue-d); }
.status { position: absolute; top: 10px; left: 10px; padding: 5px 10px; border-radius: 999px; font: 700 .75rem/1.2 var(--f-body); background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.phero .status, .prog .status { position: static; display: inline-block; }
.st--ready { background: #DDF5E7; color: #0B5E33; }
.st--proto { background: #FFF0D6; color: #7A4100; }
.st--concept { background: var(--sky); color: #173E9E; }
.st--pending { background: #ECEEF4; color: #3D4766; }
.cover-ph { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--on-dark-2); font-size: .875rem;
  background: radial-gradient(300px 200px at 70% 30%, rgba(37, 99, 255, .45), transparent 70%), linear-gradient(135deg, var(--navy-3), var(--navy)); }
.cover-ph--automation { background: radial-gradient(300px 200px at 70% 30%, rgba(255, 138, 0, .35), transparent 70%), linear-gradient(135deg, var(--navy-3), var(--navy)); }
.cover-ph__ic { width: 44px; height: 44px; color: #fff; stroke-width: 1.4; }

/* ---------- полезные разделы ---------- */
.grid-use { list-style: none; display: grid; gap: 10px; }
@media (min-width: 640px) { .grid-use { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-use { grid-template-columns: repeat(5, 1fr); } }
.card-use { display: flex; align-items: center; gap: 14px; height: 100%; min-height: 72px; padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.card-use:hover { border-color: var(--blue); box-shadow: var(--sh); }
.card-use__ic { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--sky); color: var(--blue-d); }
.card-use span { flex: 1; display: flex; flex-direction: column; }
.card-use b { font-family: var(--f-head); }
.card-use small { color: var(--muted); font-size: .875rem; line-height: 1.4; }
.card-use > .ic:last-child { color: var(--blue-d); }
@media (min-width: 1024px) { .card-use { flex-direction: column; align-items: flex-start; } .card-use > .ic:last-child { display: none; } }

/* ---------- обо мне ---------- */
.about { display: grid; gap: 24px; padding: 24px; border-radius: 28px; color: var(--on-dark); overflow: hidden;
  background: radial-gradient(60% 90% at 0% 100%, rgba(255, 138, 0, .25), transparent 70%), radial-gradient(60% 80% at 100% 0%, rgba(37, 99, 255, .35), transparent 70%), linear-gradient(135deg, #1A2752, #0B1228); }
.about__photo { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(160deg, var(--navy-3), var(--navy)); aspect-ratio: 6 / 5; max-width: 420px; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.photo-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--on-dark-2); font-size: .9375rem; }
.photo-ph__ic { width: 72px; height: 72px; color: var(--blue-l); stroke-width: 1.2; }
.about__badge { display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 999px; background: #fff; color: var(--navy); font: 700 .8125rem/1.3 var(--f-body); }
.about__text h2 { font-size: clamp(1.625rem, 3.6vw, 2.25rem); color: #fff; }
.about__text p { color: var(--on-dark-2); }
.about__text h2 { margin-bottom: .2em; }
.about__text .about__role { font: 700 1.125rem/1.35 var(--f-head); color: var(--blue-l); margin-bottom: 14px; }
.tagline { font: 800 1.25rem/1.3 var(--f-head); color: var(--orange) !important; }
.about__points { list-style: none; display: grid; gap: 8px; align-content: center; padding: 10px; background: #fff; border-radius: var(--r); color: var(--ink); }
.about__points li { display: flex; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); }
.about__points li + li { border-top: 1px solid var(--line); border-radius: 0; }
.about__points .ic { color: var(--blue); margin-top: 2px; }
.about__points span { display: flex; flex-direction: column; }
.about__points b { font-family: var(--f-head); }
.about__points small { color: var(--muted); font-size: .875rem; }
@media (min-width: 768px) { .about { grid-template-columns: minmax(220px, 300px) 1fr; padding: 32px; } .about__photo { aspect-ratio: 5 / 6; } .about__points { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; } .about__points li + li { border-top: 0; } }
@media (min-width: 1100px) { .about { grid-template-columns: 280px 1fr 340px; align-items: center; gap: 32px; } .about__points { grid-column: auto; grid-template-columns: 1fr; } .about__points li + li { border-top: 1px solid var(--line); } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 18px; cursor: pointer; list-style: none; font: 700 1.0625rem/1.35 var(--f-head); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item p { padding: 0 18px 16px; margin: 0; color: var(--ink-2); }
.faq__pm { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--sky); }
.faq__pm::before, .faq__pm::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: var(--blue-d); border-radius: 2px; transition: transform .2s; }
.faq__pm::after { transform: rotate(90deg); }
.faq__item[open] .faq__pm::after { transform: rotate(0); }

/* ---------- CTA и подвал ---------- */
.cta-band { color: var(--on-dark); background:
  linear-gradient(90deg, var(--navy-2) 35%, rgba(17, 28, 61, .55) 70%, rgba(17, 28, 61, .2)),
  url("/assets/hero.webp") right 30% / cover no-repeat,
  radial-gradient(600px 300px at 10% 100%, rgba(37, 99, 255, .35), transparent 70%),
  radial-gradient(600px 300px at 95% 0%, rgba(255, 138, 0, .22), transparent 70%), var(--navy-2); }
.cta-band__in { display: grid; gap: 20px; padding-top: 48px; padding-bottom: 48px; }
.cta-band__title { color: #fff; font-size: clamp(1.875rem, 5vw, 3rem); margin-bottom: .3em; }
.accent { color: var(--orange); }
.cta-band p { color: var(--on-dark-2); margin: 0; max-width: 34em; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band__btns .btn { flex: 1 1 220px; }
@media (min-width: 900px) { .cta-band__in { grid-template-columns: 1fr auto; align-items: center; } .cta-band__btns .btn { flex: 0 0 auto; } }
.footer { background: var(--navy); color: var(--on-dark-2); font-size: .9375rem; }
.footer__grid { display: grid; gap: 28px; padding-top: 44px; padding-bottom: 28px; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.2fr 1.4fr 1fr; } }
.logo--footer { color: #fff; margin-bottom: 10px; }
.logo--footer small { display: block; }
.footer__h { font: 700 .8125rem/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 10px; }
.footer__list { list-style: none; display: grid; gap: 2px; }
.footer__list--cols { grid-template-columns: 1fr 1fr; column-gap: 16px; }
.footer__list a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--on-dark-2); text-decoration: none; }
.footer__list a:hover { color: #fff; text-decoration: underline; }
.footer__list .muted { color: var(--on-dark-2); }
.footer__list .muted a { display: inline; color: #fff; }
.footer__note { max-width: 22em; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(230, 238, 255, .1); }
.footer__bottom a { color: var(--on-dark-2); }

/* мобильная панель */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 8px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgba(11, 18, 40, .97); border-top: 1px solid rgba(230, 238, 255, .12); }
.mbar .btn { flex: 1; min-height: 48px; padding: 8px 12px; }
.mbar .mbar__ic { flex: 0 0 52px; padding: 0; }
@media (min-width: 1024px) {
  .mbar { left: auto; right: 24px; bottom: 24px; padding: 0; gap: 10px; background: none; border: 0; }
  .mbar > .btn:first-child { display: none; }
  .mbar .btn { flex: 0 0 auto; min-height: 52px; padding: 10px 20px; background: #1FA855; border-color: #1FA855; color: #fff; box-shadow: 0 10px 28px rgba(5,10,30,.35); }
  .mbar .mbar__ic { min-width: 52px; padding: 0 16px; background: var(--navy); border-color: rgba(230,238,255,.35); }
}
.nav-open .mbar { display: none; }

/* ---------- услуги ---------- */
.grid-svc { display: grid; gap: 16px; }
@media (min-width: 768px) { .grid-svc { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .grid-svc { grid-template-columns: repeat(3, 1fr); } }
.svc { display: flex; flex-direction: column; padding: 24px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); }
.svc__head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.svc__ic, .prog__ic { width: 48px; height: 48px; padding: 10px; border-radius: 14px; background: var(--sky); color: var(--blue-d); }
.svc h2 { font-size: 1.3125rem; margin: 0; }
.svc__short { font-weight: 500; }
.svc__for { color: var(--ink-2); font-size: .9375rem; }
.svc__ex { font-size: .9375rem; margin-top: 12px; }
.svc__foot { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); }
.price { color: var(--muted); font-size: .9375rem; }
.price b { color: var(--ink); }
.ticks { list-style: none; display: grid; gap: 8px; margin-bottom: 4px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ic { color: var(--ok); margin-top: 3px; }
.dots { padding-left: 1.2em; margin-bottom: 1em; }

/* ---------- обучение ---------- */
.grid-prog { display: grid; gap: 16px; }
@media (min-width: 900px) { .grid-prog { grid-template-columns: 1fr 1fr; } }
.prog { display: flex; flex-direction: column; gap: 4px; padding: 24px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); }
.prog__head { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.prog h2 { font-size: 1.375rem; margin: 0 0 4px; }
.prog__for { color: var(--ink-2); }
.grid-prog > *, .grid-svc > *, .grid-tools > *, .grid-ideas > *, .grid-prompts > *, .case > *, .contact > * { min-width: 0; }
.prog__meta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin: 0 0 12px; }
.prog__meta dd { overflow-wrap: anywhere; }
.prog__meta div { padding: 10px 12px; background: var(--ivory); border-radius: var(--r-sm); }
.prog__meta dt { font-size: .8125rem; color: var(--muted); }
.prog__meta dd { margin: 0; font-weight: 600; font-size: .9375rem; }
.prog__more { margin-bottom: 14px; border-top: 1px solid var(--line); }
.prog__more summary, details:not(.faq__item) > summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 600; color: var(--blue-d); }
.prog__more h3 { font-size: 1rem; margin-top: 12px; }
.prog .btn { margin-top: auto; align-self: flex-start; }
.mods { padding-left: 1.4em; display: grid; gap: 6px; margin-bottom: 8px; }
.grid-2 { display: grid; gap: 32px; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.empty { padding: 18px 20px; background: var(--ivory); border: 1px dashed var(--line-2); border-radius: var(--r-sm); color: var(--ink-2); }
.sec:not(.sec--white) .empty { background: var(--white); }
.list-ic { list-style: none; display: grid; gap: 10px; }
.list-ic li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--ivory); }
.list-ic .ic { color: var(--blue); }
.list-ic span { display: flex; flex-direction: column; }
.list-ic small { color: var(--muted); }
.events { list-style: none; display: grid; gap: 10px; }
.events li { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.events time { color: var(--orange-d); font-weight: 700; }

/* ---------- форма ---------- */
.form { display: grid; gap: 16px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh); }
@media (min-width: 720px) { .form { grid-template-columns: 1fr 1fr; padding: 32px; } .field--wide { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: .9375rem; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--white);
  font: 400 16px/1.4 var(--f-body); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 255, .18); }
.field.has-err input { border-color: var(--err); }
.field__err { margin: 0; min-height: 0; color: var(--err); font-size: .875rem; }
.field__err:empty { display: none; }
.field--check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.field--check input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--blue); }
.field--check label { flex: 1; font-weight: 400; min-width: 0; }
.field--check .field__err { flex-basis: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot .btn { width: 100%; }
@media (min-width: 720px) { .form__foot .btn { width: auto; } }
.form__status:empty { display: none; }
.form__status { padding: 14px 16px; border-radius: 12px; background: var(--sky); color: var(--ink); }
.form__status.is-ok { background: #DDF5E7; color: #0B5E33; }
.form__status .btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* ---------- контакты ---------- */
.contact { display: grid; gap: 32px; }
@media (min-width: 960px) { .contact { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.contact-list { list-style: none; display: grid; gap: 10px; }
.contact-ch { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 14px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-weight: 600; }
.contact-ch span { flex: 1; }
.contact-ch .ic:first-child { color: var(--blue); }
.contact-ch:hover { border-color: var(--blue); }

/* ---------- кейс ---------- */
.shots { display: grid; gap: 16px; align-items: start; }
@media (min-width: 900px) { .shots { grid-template-columns: 1fr 260px; } }
.shot { margin: 0; }
.shot img { width: 100%; border-radius: var(--r); border: 1px solid var(--line-2); box-shadow: var(--sh-h); }
.shot--mob { max-width: 260px; }
.shot figcaption { margin-top: 8px; font-size: .875rem; color: var(--muted); }
.shots--ph .cover-ph { aspect-ratio: 16 / 9; border-radius: var(--r); }
.case { display: grid; gap: 32px; }
@media (min-width: 960px) { .case { grid-template-columns: 1fr 320px; align-items: start; } }
.case__main h2 { font-size: 1.375rem; margin-top: 1.4em; }
.case__main h2:first-child { margin-top: 0; }
.case__main p, .case__main li { color: var(--ink-2); }
.case__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.case__side { padding: 22px; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--r); position: sticky; top: calc(var(--hdr) + 16px); }
.case__side-h { font-size: 1.0625rem; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--sky); color: #173E9E; font: 600 .8125rem/1.4 var(--f-body); }

/* ---------- каталоги ---------- */
.toolbar { display: grid; gap: 12px; margin-bottom: 8px; }
.search { display: flex; align-items: center; gap: 10px; max-width: 520px; padding: 0 16px; min-height: 52px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--white); color: var(--muted); }
.search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 255, .18); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 400 16px/1 var(--f-body); color: var(--ink); min-height: 48px; }
.grid-tools, .grid-ideas, .grid-prompts, .grid-posts { list-style: none; display: grid; gap: 16px; }
@media (min-width: 700px) { .grid-tools, .grid-ideas, .grid-prompts, .grid-posts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .grid-tools, .grid-ideas, .grid-posts { grid-template-columns: repeat(3, 1fr); } }
.tool, .idea, .prompt, .post-card > a { display: flex; flex-direction: column; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); }
.tool[hidden], .idea[hidden], .prompt[hidden] { display: none; }
.tool__head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.tool__logo { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), var(--navy-3)); color: #fff; font: 800 1.25rem/1 var(--f-head); flex: none; }
.tool h2, .idea h2, .prompt h2, .post-card h2 { font-size: 1.1875rem; margin: 0 0 6px; }
.tool__cat { margin: 0; font-size: .8125rem; color: var(--muted); }
.tool details p { font-size: .9375rem; color: var(--ink-2); margin-bottom: .6em; }
.tool__site { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; text-decoration: none; }
.idea p, .prompt > p { font-size: .9375rem; color: var(--ink-2); margin-bottom: .6em; }
.idea__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px; font-size: .8125rem; }
.lvl { font-size: .8125rem; color: var(--muted); }
.lvl--1 { color: var(--ok); }
.lvl--3 { color: var(--err); }
.idea .link-more { margin-top: auto; }
.prompt__text { white-space: pre-wrap; word-break: break-word; font: 400 .9375rem/1.55 ui-monospace, "Cascadia Mono", Consolas, monospace; background: var(--navy); color: var(--on-dark); padding: 16px; border-radius: 12px; margin: 4px 0 12px; max-height: 280px; overflow: auto; }
.prompt__vars { margin-bottom: 6px !important; }
.prompt .tags { margin-bottom: 10px; }
.prompt .btn { margin-top: auto; align-self: flex-start; }
.prompt .btn.is-done { background: var(--ok); }
.post-card > a { height: 100%; color: var(--ink); text-decoration: none; }
.post-card time { color: var(--muted); }
.post-card .link-more { margin-top: auto; }
.soon { max-width: 640px; margin: 0 auto; text-align: center; padding: 40px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.soon__ic { width: 56px; height: 56px; margin: 0 auto 14px; color: var(--blue); stroke-width: 1.4; }
.soon p { color: var(--ink-2); margin: 0; }
.soon--dark { background: var(--navy-2); border-color: rgba(230, 238, 255, .1); color: var(--on-dark); }
.soon--dark p { color: var(--on-dark-2); }
.soon--dark .soon__ic { color: var(--orange); }
.is-music .phero { background: radial-gradient(700px 400px at 80% 20%, rgba(168, 85, 247, .3), transparent 60%), radial-gradient(600px 400px at 20% 100%, rgba(255, 138, 0, .2), transparent 60%), var(--navy); }
.tracks { list-style: none; display: grid; gap: 12px; }
.track { display: flex; gap: 16px; padding: 18px; background: var(--navy-2); border-radius: var(--r); }
.track__ic { width: 40px; height: 40px; color: var(--orange); }
.track h2 { font-size: 1.125rem; color: #fff; }
.track p { color: var(--on-dark-2); }
.track audio { width: 100%; max-width: 420px; }
.track .link-more { color: var(--blue-l); }

/* ---------- подход / тексты ---------- */
.grid-val { list-style: none; display: grid; gap: 14px; }
@media (min-width: 640px) { .grid-val { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-val { grid-template-columns: repeat(4, 1fr); } }
.grid-val li { padding: 22px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.grid-val .ic { width: 30px; height: 30px; color: var(--blue); margin-bottom: 10px; }
.grid-val p { color: var(--muted); margin: 0; font-size: .9375rem; }
.about-soc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.prose { color: var(--ink-2); }
.prose h2 { font-size: 1.375rem; color: var(--ink); margin-top: 1.6em; }
.prose h3 { color: var(--ink); margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1em; display: grid; gap: 4px; }
.prose code { background: var(--sky); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.note { padding: 14px 16px; border-left: 4px solid var(--orange); background: #FFF6E8; border-radius: 0 10px 10px 0; color: var(--ink); }

/* появление при прокрутке */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* Планшет и узкий ноутбук: картинка целиком под текстом */
@media (min-width: 640px) and (max-width: 899px) {
  .hero__media { max-width: 900px; margin: 8px auto 0; width: 100%; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .hero__in { grid-template-columns: minmax(0, 470px) 1fr; }
  .hero h1 { font-size: clamp(2.2rem, 3.6vw, 2.7rem); }
  .hero__sub { font-size: 1.0625rem; }
  .hero__media { width: 62%; }
  .hero::after { background: linear-gradient(90deg, rgba(11,18,40,.95) 0%, rgba(11,18,40,.88) 40%, rgba(11,18,40,.6) 52%, rgba(11,18,40,0) 70%); }
}
@media (min-width: 900px) and (min-height: 600px) {
  .hero { display: flex; flex-direction: column; min-height: calc(100vh - 65px + 52px); min-height: calc(100svh - 65px + 52px); }
  .hero__in { flex: 1; width: 100%; align-content: center; }
}
/* full-width header + hero on large screens */
@media (min-width: 1280px) {
  .header .container, .hero__in { max-width: none; padding-left: clamp(28px, 4vw, 80px); padding-right: clamp(28px, 4vw, 80px); }
  .hero__in { grid-template-columns: minmax(0, 640px) 1fr; }
}
/* inner pages: compact dark header so the first blocks fit on the first screen */
.phero__in { padding-top: 28px; padding-bottom: 32px; }
.phero h1 { font-size: clamp(1.75rem, 4.6vw, 2.5rem); margin-bottom: 10px; }
.phero .kicker { margin-bottom: 8px; }
.phero + .sec { padding-top: 28px; }
@media (min-width: 960px) {
  .phero__in { padding-top: 36px; padding-bottom: 40px; }
  .phero + .sec { padding-top: 32px; }
}
@media (min-width: 960px) { .phero h1 { max-width: 30em; } }
/* hero: show the whole picture (laptop edge visible), tighter gaps */
@media (min-width: 900px) and (min-height: 600px) {
  .hero__media { bottom: 52px; width: min(100%, max(64%, calc((100vh - 65px) * 1.777))); width: min(100%, max(64%, calc((100svh - 65px) * 1.777))); }
  .hero__img { object-position: 100% 50%; }
  .hero__in { padding-top: 32px; padding-bottom: calc(52px + 32px); }
}
@media (min-width: 1280px) {
  .header .container, .hero__in { padding-left: clamp(24px, 3vw, 48px); padding-right: clamp(24px, 3vw, 48px); }
}
@media (min-width: 1280px) {
  .header .container, .hero__in { padding-left: clamp(16px, 1.6vw, 28px); padding-right: clamp(16px, 1.6vw, 28px); }
}
@media (min-width: 900px) and (min-height: 600px) {
  .hero__in { padding-top: 12px; padding-bottom: calc(52px + 48px); }
}
/* case gallery */
.gallery { display: grid; gap: 16px; margin-top: 24px; align-items: start; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gallery .shot--tall img { max-height: 640px; width: auto; max-width: 100%; }
/* music page */
.music__h { color: #fff; font-size: 1.5rem; margin: 0 0 16px; }
.music__h + .tracks, .music__h + .clips { margin-bottom: 40px; }
.tracks { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .tracks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.track { flex-direction: column; padding: 14px; border: 1px solid rgba(230, 238, 255, .1); }
.track__cover { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: calc(var(--r) - 4px); }
.track__body { display: grid; gap: 8px; min-width: 0; }
.track h3 { color: #fff; font-size: 1.125rem; margin: 4px 0 0; }
.track__dur { color: var(--on-dark-2); font-weight: 500; font-size: .875rem; margin-left: 6px; }
.track p { margin: 0; }
.track audio { max-width: none; }
.clips { list-style: none; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
@media (min-width: 900px) { .clips { grid-template-columns: repeat(auto-fill, minmax(260px, 300px)); } }
.clip video { width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: var(--r); background: #000; display: block; }
.clip__t { color: var(--on-dark-2); font-size: .9375rem; margin: 8px 0 0; }
/* clips: wide cards like the example — the picture from the middle of the vertical video, a bit of the blurred background above and below */
.clips { grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 640px) { .clips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .clips { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; } }
.clip video { aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 50%; }
.clip video:fullscreen { object-fit: contain; aspect-ratio: auto; }
/* tracks and clips in one row */
.media-row { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .media-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .media-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.track.clip video { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: calc(var(--r) - 4px); background: #000; display: block; }
.track.clip video:fullscreen { object-fit: contain; aspect-ratio: auto; }
.media-row .track h3 { font-size: 1rem; }
.about__text h2 { font-size: clamp(1.375rem, 2.6vw, 1.75rem); line-height: 1.2; }
/* language switcher */
.lang { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid rgba(230, 238, 255, .18); border-radius: 999px; flex: none; }
.lang__a { display: inline-grid; place-items: center; min-width: 38px; height: 30px; padding: 0 8px; border-radius: 999px; font: 700 .75rem/1 var(--f-body); letter-spacing: .02em; color: var(--on-dark-2); text-decoration: none; }
.lang__a:hover { color: #fff; }
html[lang="ru"] .lang__a[hreflang="ru"], html[lang="kk"] .lang__a[hreflang="kk"], html[lang="en"] .lang__a[hreflang="en"] { background: rgba(37, 99, 255, .9); color: #fff; }
@media (max-width: 380px) { .lang__a { min-width: 32px; padding: 0 5px; } .header__in { gap: 10px; } }
.nav a:not(.btn) { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1365px) { html[lang="kk"] .nav a:not(.btn), html[lang="en"] .nav a:not(.btn) { padding-left: 7px; padding-right: 7px; font-size: .875rem; } }
/* case page: start screen of the example shown first */
.shot--start { margin: 0 0 8px; max-width: 1100px; }
.shot--start.shot--tall img { width: auto; max-width: 100%; max-height: 720px; }
.shots__h { font-size: 1.25rem; margin: 32px 0 14px; }
