/* ============================================================
     _____   _____
    |__ __| |_   _|          [TezTap] Group
      | | ___ ˙/ /__ _ _ __   8+ лет · 700+ проектов
      | |/ -_)/ /_  V_V '_ \  teztap.kz · +7 707 443 2113
      |_|\___/____\__,_| .__/
                       |_|
   Все основные стили проекта. Tailwind CDN подключён только
   для мелких утилит в разметке; дизайн-система живёт здесь.
   ============================================================ */

/* ---------- Токены ---------- */
:root {
  --ink: #171514;          /* самый тёмный фон */
  --ink-2: #201E1D;        /* фирменная плашка логотипа */
  --ink-3: #2a2725;        /* поверхности на тёмном */
  --ink-4: #35312e;        /* рамки устройств */
  --copper: #C67139;       /* фирменный медный */
  --copper-hi: #E08A4C;    /* медный светлее (hover/градиенты) */
  --copper-soft: rgba(198, 113, 57, 0.14);
  --cream: #F7F1E4;        /* светлые секции */
  --cream-2: #EFE5D0;
  --paper: #ffffff;
  --tx: #F5EFE2;                       /* текст на тёмном */
  --tx-dim: rgba(245, 239, 226, 0.62);
  --tx-faint: rgba(245, 239, 226, 0.38);
  --ink-tx: #201E1D;                   /* текст на светлом */
  --ink-dim: rgba(32, 30, 29, 0.64);
  --line: rgba(245, 239, 226, 0.1);
  --line-dark: rgba(32, 30, 29, 0.12);
  --wa: #25D366;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --font-logo: 'Figtree', 'Manrope', system-ui, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --container: 1180px;
  --radius: 20px;
}

/* ---------- База ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--tx);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Типографика ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.h1 { font-size: clamp(30px, 5.2vw, 58px); }
.h2 { font-size: clamp(24px, 3.6vw, 40px); }
.h3 { font-size: clamp(17px, 2vw, 22px); font-weight: 600; }

/* Фирменный мотив: медные скобки вокруг надзаголовков */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
}
.eyebrow::before { content: '['; font-size: 17px; font-weight: 800; }
.eyebrow::after  { content: ']'; font-size: 17px; font-weight: 800; }

.sec-head { max-width: 720px; margin-bottom: clamp(36px, 6vw, 64px); }
.sec-head .eyebrow { margin-bottom: 16px; }
.sec-head p { margin-top: 16px; color: var(--tx-dim); font-size: 17px; }
.sec--light .sec-head p { color: var(--ink-dim); }

/* ---------- Секции ---------- */
.sec { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
section[id] { scroll-margin-top: 84px; }
.sec--light {
  background: var(--cream);
  color: var(--ink-tx);
}
/* мягкий «шов» между тёмной и светлой секциями */
.sec--light::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198,113,57,.5), transparent);
}

/* ---------- Шапка ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  background: rgba(23, 21, 20, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-logo);
  font-weight: 800;
  font-size: 21px;
  color: #fff;
  white-space: nowrap;
}
.logo .brk { color: var(--copper); font-size: 23px; }
.logo-mark { width: 27px; height: 23px; color: #fff; flex-shrink: 0; align-self: center; }
.logo .grp {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.42em;
  color: var(--tx-faint);
  text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--tx-dim);
  transition: color .2s;
}
.nav a:hover { color: var(--copper-hi); }
.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.lang-switch button {
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 700;
  background: transparent;
  border: 0;
  color: var(--tx-faint);
  transition: .2s;
}
.lang-switch button.active {
  background: var(--copper);
  color: #fff;
}
.header-phone {
  font-weight: 800;
  font-size: 14.5px;
  color: #fff;
  transition: color .2s;
}
.header-phone:hover { color: var(--copper-hi); }

/* бургер */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
}
.burger span {
  width: 24px; height: 2px;
  background: var(--tx);
  border-radius: 2px;
  transition: .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  z-index: 89;
  background: rgba(23,21,20,.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 18px 24px 26px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 13px 0;
  font-size: 17px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-of-type { border-bottom: 0; }

/* полоса прогресса скролла */
.scroll-progress {
  position: fixed;
  top: 68px; left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--copper), var(--copper-hi));
  z-index: 91;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 130px 0 80px;
  overflow: hidden;
}
#particles {
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* точечная сетка */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(245,239,226,0.07) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}
/* медное свечение */
.hero-glow {
  position: absolute;
  width: 720px; height: 720px;
  right: -180px; top: 6%;
  background: radial-gradient(circle, rgba(198,113,57,0.22), transparent 62%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-glow--2 {
  width: 480px; height: 480px;
  left: -190px; bottom: -10%; top: auto; right: auto;
  background: radial-gradient(circle, rgba(198,113,57,0.12), transparent 60%);
}
.hero-in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
}
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero-title { color: #fff; }
.hero-title .accent {
  color: var(--copper-hi);
  background: linear-gradient(90deg, var(--copper), var(--copper-hi) 30%, #f0c088 50%, var(--copper-hi) 70%, var(--copper));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: accent-shine 5s linear infinite;
}
@keyframes accent-shine {
  to { background-position: -220% 0; }
}
/* каскадное появление hero при загрузке */
.hero-copy > * {
  opacity: 0;
  animation: hero-rise .8s cubic-bezier(.2,.7,.3,1) forwards;
}
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .15s; }
.hero-copy > *:nth-child(3) { animation-delay: .28s; }
.hero-copy > *:nth-child(4) { animation-delay: .4s; }
.hero-copy > *:nth-child(5) { animation-delay: .52s; }
.hero-visual { opacity: 0; animation: hero-rise 1s .35s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-sub {
  margin-top: 22px;
  max-width: 520px;
  font-size: clamp(16px, 1.6vw, 18.5px);
  color: var(--tx-dim);
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(42,39,37,0.5);
  font-size: 13.5px;
  font-weight: 700;
}
.badge b { color: var(--copper-hi); font-weight: 800; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 14px;
  font-size: 15.5px;
  font-weight: 800;
  border: 0;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:active { transform: scale(.97); }
.btn-wa {
  background: var(--wa);
  color: #06371c;
  box-shadow: 0 10px 30px rgba(37,211,102,0.25);
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(37,211,102,0.35); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(245,239,226,0.25);
}
.btn-ghost:hover { border-color: var(--copper); color: var(--copper-hi); transform: translateY(-2px); }
.btn-copper {
  background: linear-gradient(135deg, var(--copper), var(--copper-hi));
  color: #fff;
  box-shadow: 0 10px 30px rgba(198,113,57,0.35);
}
.btn-copper:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(198,113,57,0.45); }

/* 3D-плашка логотипа */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  min-height: 380px;
}
.logo-plate {
  position: relative;
  width: clamp(240px, 26vw, 330px);
  aspect-ratio: 1;
  border-radius: 22%;
  background: linear-gradient(145deg, #292624, var(--ink-2) 55%, #141211);
  border: 1px solid rgba(245,239,226,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 60px 100px rgba(0,0,0,0.55),
    0 24px 48px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.08);
  transform-style: preserve-3d;
  animation: plate-float 7s ease-in-out infinite;
  will-change: transform;
}
.logo-plate::after {
  /* блик */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22%;
  background: linear-gradient(120deg, rgba(255,255,255,0.09) 0%, transparent 38%);
  pointer-events: none;
}
.logo-plate-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transform: translateZ(46px);
}
.plate-mark { width: 44%; height: auto; }
.plate-word {
  font-family: var(--font-logo);
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 32px);
  color: #fff;
  letter-spacing: -0.01em;
}
/* белая карточка 4a: знак + слово + GROUP */
.logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #fff;
  border-radius: 16px;
  padding: 30px 24px;
}
.logo-mark--big { width: 58px; height: 49px; color: #201E1D; }
.lc-word {
  font-family: var(--font-logo);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  color: #201E1D;
  letter-spacing: -0.02em;
}
.lc-group {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.42em;
  color: rgba(32, 30, 29, 0.55);
}
.logo-plate-glow {
  position: absolute;
  width: 120%; height: 40%;
  bottom: -24%;
  background: radial-gradient(ellipse, rgba(198,113,57,0.4), transparent 65%);
  filter: blur(24px);
  transform: translateZ(-60px);
}
@keyframes plate-float {
  0%, 100% { transform: rotateX(6deg) rotateY(-9deg) translateY(0); }
  50%      { transform: rotateX(3deg) rotateY(-4deg) translateY(-16px); }
}
/* парящие чипы вокруг плашки */
.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 18px;
  background: rgba(42,39,37,0.92);
  border: 1px solid rgba(198,113,57,0.35);
  backdrop-filter: blur(8px);
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 20px 48px rgba(0,0,0,0.5);
  animation: chip-float 6s ease-in-out infinite;
  white-space: nowrap;
}
.float-chip .blogo--sm { height: 22px; }
.float-chip b { color: var(--copper-hi); }
.float-chip--1 { top: 6%; left: 2%; animation-delay: -1s; }
.float-chip--2 { top: 18%; right: -2%; animation-delay: -2.5s; }
.float-chip--3 { bottom: 8%; left: 8%; animation-delay: -4s; }
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* индикатор прокрутки */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--tx-faint);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.scroll-hint-line {
  width: 1.5px;
  height: 44px;
  background: linear-gradient(var(--copper), transparent);
  overflow: hidden;
  position: relative;
}
.scroll-hint-line::after {
  content: '';
  position: absolute;
  top: -50%;
  width: 100%;
  height: 50%;
  background: #fff;
  animation: hint-drop 1.8s ease-in-out infinite;
}
@keyframes hint-drop {
  to { top: 110%; }
}

/* ---------- Цифры ---------- */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(198,113,57,0.05), transparent);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: clamp(38px, 5vw, 60px) 0;
}
.stat {
  text-align: center;
  padding: 10px 8px;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 50px);
  color: #fff;
  line-height: 1;
}
.stat-num .plus { color: var(--copper); }
.stat-label {
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--tx-dim);
}

/* ---------- Услуги ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.svc {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  overflow: hidden;
}
.svc:hover {
  transform: translateY(-6px);
  border-color: rgba(198,113,57,0.45);
  box-shadow: 0 24px 48px rgba(32,30,29,0.12);
}
.svc-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--ink-2);
  color: var(--copper-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.svc-icon svg { width: 25px; height: 25px; }
.svc h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.svc p { font-size: 14.5px; color: var(--ink-dim); line-height: 1.55; }
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.svc-tags span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--copper-soft);
  color: #9a5628;
}

/* ---------- Портфолио: горизонтальные ленты ---------- */
.rail { margin-top: clamp(40px, 6vw, 64px); }
.rail:first-of-type { margin-top: 0; }
.rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}
.rail-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(17px, 2.2vw, 23px);
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.rail-title .brk { color: var(--copper); font-weight: 800; }
.rail-title small {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--tx-faint);
  letter-spacing: 0.1em;
}
.rail-btns { display: flex; gap: 10px; }
.rail-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--ink-3);
  color: var(--tx);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s;
}
.rail-btn:hover { border-color: var(--copper); color: var(--copper-hi); transform: scale(1.06); }
.rail-btn:disabled { opacity: .3; pointer-events: none; }

.hscroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 22px;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--copper) rgba(245,239,226,0.08);
}
.hscroll.dragging { cursor: grabbing; scroll-snap-type: none; }
.hscroll::-webkit-scrollbar { height: 5px; }
.hscroll::-webkit-scrollbar-track { background: rgba(245,239,226,0.08); border-radius: 3px; }
.hscroll::-webkit-scrollbar-thumb { background: var(--copper); border-radius: 3px; }

/* Карточка проекта */
.pcard {
  flex: 0 0 auto;
  width: min(560px, 88vw);
  scroll-snap-align: start;
  background: linear-gradient(180deg, var(--ink-3), rgba(42,39,37,0.4));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px 26px 24px;
  display: flex;
  flex-direction: column;
  transition: border-color .3s, transform .3s;
}
.pcard:hover { border-color: rgba(198,113,57,0.5); transform: translateY(-4px); }
.pcard--phone { width: min(300px, 78vw); }
.pcard--tablet { width: min(500px, 86vw); }
.pcard-mock {
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 240px;
  margin-bottom: 22px;
}
.pcard--phone .pcard-mock { min-height: 420px; }
.pcard-mock .mock-laptop { width: 100%; }
.pcard-mock .mock-tablet { width: 100%; border-width: 10px; }
.pcard-mock .mock-phone { width: min(216px, 62vw); }
.pcard-num {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--copper);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 8px;
}
.pcard h3, .pcard h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18.5px;
  color: #fff;
  margin-bottom: 9px;
}
.pcard p { color: var(--tx-dim); font-size: 14px; line-height: 1.55; flex: 1; }
.prj-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}
.prj-chips span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid rgba(198,113,57,0.4);
  color: var(--copper-hi);
}

/* ---------- Бренд-иконки интеграций ---------- */
.bicon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
  font-family: var(--font-body);
}
.bicon--sm { width: 16px; height: 16px; border-radius: 5px; font-size: 9.5px; }
.bicon-soft { background: var(--copper-soft); font-size: 16px; }
/* оригинальные логотипы компаний */
.blogo { height: 22px; width: auto; display: block; flex-shrink: 0; }
.blogo--sm { height: 15px; }
.blogo--round { border-radius: 50%; }

/* бегущая лента интеграций */
.integr {
  margin-top: clamp(44px, 6vw, 70px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.integr-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: integr-move 28s linear infinite;
}
.integr:hover .integr-track { animation-play-state: paused; }
.integr-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 100px;
  background: var(--paper);
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
}
@keyframes integr-move {
  to { transform: translateX(-50%); }
}

/* --- Ноутбук --- */
.mock-laptop {
  width: min(560px, 100%);
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.pose-l { transform: rotateY(9deg) rotateX(4deg); }
.pose-r { transform: rotateY(-9deg) rotateX(4deg); }
.pcard:hover .pose-l,
.pcard:hover .pose-r { transform: rotateY(0) rotateX(0); }
.ml-screen {
  border: 3px solid #3a3633;
  border-radius: 18px 18px 6px 6px;
  background: #0b0a09;
  padding: 10px 10px 14px;
  box-shadow: 0 50px 90px rgba(0,0,0,0.55);
}
.ml-view {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 9.6;
  background: #101010;
}
.ml-view img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
}
.ml-cam {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4a453f;
  margin: 0 auto 7px;
}
.ml-base {
  height: 15px;
  margin: 0 -5.5%;
  background: linear-gradient(180deg, #45403b, #2c2926 70%, #1b1917);
  border-radius: 3px 3px 14px 14px;
  position: relative;
}
.ml-base::before {
  content: '';
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  width: 96px; height: 6px;
  background: #211f1d;
  border-radius: 0 0 8px 8px;
}

/* --- Планшет --- */
.mock-tablet {
  width: min(470px, 100%);
  border: 12px solid #3a3633;
  border-radius: 26px;
  background: #0b0a09;
  overflow: hidden;
  box-shadow: 0 50px 90px rgba(0,0,0,0.55);
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.mt-view {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #101010;
}
.mt-view img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
}

/* --- Телефон --- */
.mock-phone {
  width: min(238px, 68vw);
  border: 9px solid #3a3633;
  border-radius: 38px;
  background: #0b0a09;
  overflow: hidden;
  position: relative;
  box-shadow: 0 44px 80px rgba(0,0,0,0.55);
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
  flex-shrink: 0;
}
.mock-phone::before {
  /* dynamic island */
  content: '';
  position: absolute;
  top: 9px; left: 50%;
  transform: translateX(-50%);
  width: 74px; height: 20px;
  background: #0b0a09;
  border-radius: 100px;
  z-index: 5;
}
.mp-view {
  aspect-ratio: 9 / 19.4;
  overflow: hidden;
  position: relative;
  background: #101010;
}
.mp-view img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
}
.pose-ph-l { transform: rotateY(10deg) rotateX(3deg) rotateZ(-1.5deg); }
.pose-ph-r { transform: rotateY(-10deg) rotateX(3deg) rotateZ(1.5deg); }
.pcard:hover .pose-ph-l,
.pcard:hover .pose-ph-r { transform: none; }

/* пара телефонов одного проекта в одной карточке */
.pcard--duo { width: min(440px, 88vw); }
.phone-duo {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
}
.phone-duo .mock-phone { width: min(180px, 40vw); border-width: 7px; }
.phone-duo .mock-phone::before { width: 58px; height: 16px; }
.phone-duo .mock-phone:first-child { transform: rotateY(7deg) rotateZ(-1.5deg) translateY(10px); }
.phone-duo .mock-phone:last-child  { transform: rotateY(-7deg) rotateZ(1.5deg) translateY(-8px); }
.pcard:hover .phone-duo .mock-phone { transform: none; }

/* слайд-шоу экранов одного проекта внутри телефона */
.mp-slide { position: absolute; inset: 0; }
.mp-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transition: opacity .9s ease;
}
.mp-slide img.on { opacity: 1; }

/* блик на всех экранах */
.glare::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.07) 46%, rgba(255,255,255,0.02) 55%, transparent 60%);
  pointer-events: none;
  z-index: 4;
}

/* подпись типа устройства в карточке */
.pcard-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tx-faint);
  margin-bottom: 14px;
  text-align: center;
}

/* ============================================================
   Сконструированные экраны (живой HTML внутри mockup'ов)
   Базовые атомы мини-интерфейсов
   ============================================================ */
.scr {
  position: absolute;
  inset: 0;
  font-family: var(--font-body);
  font-size: 10px;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  user-select: none;
  pointer-events: none;
}
.scr * { min-width: 0; }
.scr-row { display: flex; align-items: center; gap: 6px; }
.scr-fill { flex: 1; }
.scr-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.scr-avatar {
  width: 18px; height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 7px; font-weight: 800; color: #fff;
}
.scr-bar { height: 5px; border-radius: 3px; }
.scr-pill {
  padding: 2.5px 7px;
  border-radius: 100px;
  font-size: 7.5px;
  font-weight: 700;
  white-space: nowrap;
}
.scr-btn {
  padding: 6px 10px;
  border-radius: 7px;
  font-size: 8.5px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

/* --- 02. Kaspi Pay для таксопарков (телефон) --- */
.scr-kaspi { background: #f4f5f7; color: #1d1d1f; }
.scr-kaspi .k-head {
  background: #f14635;
  color: #fff;
  padding: 30px 12px 12px;
  font-weight: 800;
  font-size: 11px;
}
.scr-kaspi .k-card {
  background: #fff;
  border-radius: 10px;
  margin: 8px 10px 0;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.scr-kaspi .k-balance { font-size: 17px; font-weight: 800; }
.scr-kaspi .k-sub { color: #8a8a8e; font-size: 8px; }
.scr-kaspi .k-sums { display: flex; gap: 5px; margin-top: 8px; }
.scr-kaspi .k-sum {
  flex: 1;
  border: 1px solid #e2e2e6;
  border-radius: 7px;
  padding: 6px 0;
  text-align: center;
  font-weight: 700;
  font-size: 8.5px;
}
.scr-kaspi .k-sum.on { border-color: #f14635; color: #f14635; background: #fef0ee; }
.scr-kaspi .k-pay {
  background: #f14635;
  color: #fff;
  border-radius: 9px;
  margin: 10px 10px 0;
  padding: 9px;
  text-align: center;
  font-weight: 800;
  font-size: 9.5px;
}
.scr-kaspi .k-ok {
  display: flex; align-items: center; gap: 6px;
  margin: 8px 10px 0;
  background: #e8f8ee;
  border-radius: 8px;
  padding: 7px 9px;
  color: #1d8a45;
  font-weight: 700;
  font-size: 8px;
}

/* --- 03. U-Study (ноутбук) --- */
.scr-ustudy { background: #f6f7fb; color: #23262f; flex-direction: row; }
.scr-ustudy .u-side {
  width: 26%;
  background: #232946;
  color: #fff;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.scr-ustudy .u-side .u-logo { font-weight: 800; font-size: 10.5px; margin-bottom: 6px; }
.scr-ustudy .u-side .u-logo span { color: #7f9cf5; }
.scr-ustudy .u-item {
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 8px;
  font-weight: 600;
  color: rgba(255,255,255,0.66);
}
.scr-ustudy .u-item.on { background: #7f9cf5; color: #fff; }
.scr-ustudy .u-main { flex: 1; padding: 12px 14px; display: flex; flex-direction: column; }
.scr-ustudy .u-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.scr-ustudy .u-timer {
  background: #fff;
  border: 1px solid #e4e6f0;
  border-radius: 7px;
  padding: 4px 9px;
  font-weight: 800;
  font-size: 9px;
  color: #e05252;
}
.scr-ustudy .u-q {
  background: #fff;
  border: 1px solid #e4e6f0;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 9px;
  font-weight: 600;
}
.scr-ustudy .u-var {
  display: flex; align-items: center; gap: 7px;
  background: #fff;
  border: 1px solid #e4e6f0;
  border-radius: 8px;
  padding: 6px 10px;
  margin-top: 5px;
  font-size: 8.5px;
}
.scr-ustudy .u-var b {
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #eef1fa;
  display: flex; align-items: center; justify-content: center;
  font-size: 7.5px;
  flex-shrink: 0;
}
.scr-ustudy .u-var.on { border-color: #7f9cf5; background: #f2f5ff; }
.scr-ustudy .u-var.on b { background: #7f9cf5; color: #fff; }
.scr-ustudy .u-prog { display: flex; gap: 3px; margin-top: auto; padding-top: 8px; }
.scr-ustudy .u-prog i { flex: 1; height: 4px; border-radius: 2px; background: #dfe3ef; }
.scr-ustudy .u-prog i.done { background: #7f9cf5; }

/* --- 04. Evrika (телефон) --- */
.scr-evrika { background: #f7f6f4; color: #1f2328; }
.scr-evrika .e-head { padding: 30px 12px 8px; }
.scr-evrika .e-title { font-weight: 800; font-size: 12px; }
.scr-evrika .e-search {
  margin: 8px 10px 0;
  background: #fff;
  border-radius: 9px;
  padding: 7px 10px;
  color: #9aa0a6;
  font-size: 8.5px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}
.scr-evrika .e-cats { display: flex; gap: 6px; margin: 9px 10px 0; }
.scr-evrika .e-cat {
  flex: 1;
  background: #fff;
  border-radius: 10px;
  padding: 9px 4px;
  text-align: center;
  font-size: 7.5px;
  font-weight: 700;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}
.scr-evrika .e-cat i {
  display: block;
  width: 22px; height: 22px;
  margin: 0 auto 5px;
  border-radius: 8px;
}
.scr-evrika .e-order {
  margin: 10px 10px 0;
  background: #201E1D;
  color: #fff;
  border-radius: 12px;
  padding: 10px;
}
.scr-evrika .e-order .e-st { color: #7ee08a; font-size: 7.5px; font-weight: 700; }
.scr-evrika .e-map {
  margin-top: 7px;
  height: 34px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 48%, #C67139 48%, #C67139 52%, transparent 52%),
    repeating-linear-gradient(0deg, #2e2b29 0 8px, #343130 8px 9px);
  position: relative;
}
.scr-evrika .e-map::after {
  content: '';
  position: absolute;
  left: 49%; top: 40%;
  width: 8px; height: 8px;
  background: #C67139;
  border: 2px solid #fff;
  border-radius: 50%;
}
.scr-evrika .e-nav {
  margin-top: auto;
  display: flex;
  background: #fff;
  padding: 8px 0 14px;
  border-top: 1px solid #eceae6;
}
.scr-evrika .e-nav div { flex: 1; text-align: center; font-size: 7px; font-weight: 700; color: #9aa0a6; }
.scr-evrika .e-nav div.on { color: #C67139; }
.scr-evrika .e-nav i {
  display: block;
  width: 16px; height: 16px;
  margin: 0 auto 3px;
  border-radius: 5px;
  background: currentColor;
  opacity: .85;
}

/* --- 07. SpectorShop (ноутбук, тёмный) --- */
.scr-spector { background: #101114; color: #e8e9ec; }
.scr-spector .s-nav {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.scr-spector .s-logo { font-weight: 800; font-size: 10px; letter-spacing: 0.08em; }
.scr-spector .s-logo span { color: #c9ced8; opacity: .7; }
.scr-spector .s-link { font-size: 8px; color: rgba(255,255,255,0.55); font-weight: 600; }
.scr-spector .s-hero { padding: 14px; display: flex; align-items: center; gap: 12px; }
.scr-spector .s-hero h4 { font-size: 13px; font-weight: 800; line-height: 1.25; }
.scr-spector .s-hero p { font-size: 8px; color: rgba(255,255,255,0.55); margin-top: 5px; }
.scr-spector .s-cta {
  display: inline-block;
  margin-top: 8px;
  background: #f2b01e;
  color: #17140a;
  border-radius: 7px;
  padding: 6px 12px;
  font-weight: 800;
  font-size: 8.5px;
}
.scr-spector .s-cam {
  width: 34%;
  aspect-ratio: 1.1;
  border-radius: 10px;
  background: radial-gradient(circle at 50% 42%, #3a3f4a 18%, #23262d 60%);
  position: relative;
  flex-shrink: 0;
}
.scr-spector .s-cam::after {
  content: '';
  position: absolute;
  left: 50%; top: 42%;
  transform: translate(-50%, -50%);
  width: 26%; height: 26%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #7ab3ff 8%, #101725 70%);
  border: 2px solid #4a5262;
}
.scr-spector .s-goods { display: flex; gap: 8px; padding: 0 14px 12px; }
.scr-spector .s-good {
  flex: 1;
  background: #191b20;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 9px;
  padding: 8px;
}
.scr-spector .s-good i {
  display: block;
  height: 26px;
  border-radius: 6px;
  background: #23262d;
  margin-bottom: 6px;
}
.scr-spector .s-good b { font-size: 8px; display: block; }
.scr-spector .s-price { font-size: 8.5px; color: #f2b01e; font-weight: 800; margin-top: 3px; }

/* --- 10. Global Cleaning (ноутбук) --- */
.scr-gclean { background: #f4f8f6; color: #1d2b25; }
.scr-gclean .g-nav {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px;
  background: #fff;
  border-bottom: 1px solid #e3ece7;
}
.scr-gclean .g-logo { font-weight: 800; font-size: 9.5px; color: #157a55; }
.scr-gclean .g-roles { display: flex; gap: 5px; padding: 10px 14px 0; }
.scr-gclean .g-role {
  flex: 1;
  text-align: center;
  border: 1px solid #d7e4dd;
  border-radius: 8px;
  padding: 6px 3px;
  font-size: 7.5px;
  font-weight: 700;
  background: #fff;
}
.scr-gclean .g-role.on { background: #157a55; border-color: #157a55; color: #fff; }
.scr-gclean .g-goods { display: flex; gap: 8px; padding: 10px 14px; }
.scr-gclean .g-good {
  flex: 1;
  background: #fff;
  border: 1px solid #e3ece7;
  border-radius: 9px;
  padding: 8px;
}
.scr-gclean .g-bottle {
  height: 30px;
  border-radius: 6px;
  margin-bottom: 6px;
  background: linear-gradient(160deg, #6fd3a7, #157a55);
  position: relative;
}
.scr-gclean .g-bottle.b2 { background: linear-gradient(160deg, #7fb8f0, #2563ab); }
.scr-gclean .g-bottle.b3 { background: linear-gradient(160deg, #f0b97f, #c07425); }
.scr-gclean .g-good b { font-size: 7.5px; display: block; }
.scr-gclean .g-opt { font-size: 7px; color: #157a55; font-weight: 800; }
.scr-gclean .g-retail { font-size: 6.8px; color: #8a978f; text-decoration: line-through; }

/* --- 11. Байга (планшет, тёмный) --- */
.scr-baiga { background: #14161a; color: #eef0f4; padding: 12px 14px; }
.scr-baiga .b-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.scr-baiga .b-title { font-weight: 800; font-size: 11px; }
.scr-baiga .b-title span { color: #fdd835; }
.scr-baiga .b-goal {
  background: #1c1f25;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 9px 11px;
  margin-bottom: 8px;
}
.scr-baiga .b-goal-bar {
  margin-top: 6px;
  height: 6px;
  border-radius: 3px;
  background: #2a2e36;
  overflow: hidden;
}
.scr-baiga .b-goal-bar i {
  display: block;
  height: 100%;
  width: 72%;
  border-radius: 3px;
  background: linear-gradient(90deg, #fdd835, #f5a623);
}
.scr-baiga .b-row {
  display: flex; align-items: center; gap: 8px;
  background: #1c1f25;
  border-radius: 8px;
  padding: 6px 9px;
  margin-top: 5px;
  font-size: 8.5px;
  font-weight: 600;
}
.scr-baiga .b-pos { width: 14px; font-weight: 800; color: #fdd835; }
.scr-baiga .b-sum { margin-left: auto; font-weight: 800; color: #7ee08a; }

/* --- 12. Qonaq Supply (ноутбук, светлый) --- */
.scr-qonaq { background: #faf7f2; color: #2b2620; }
.scr-qonaq .q-nav {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
}
.scr-qonaq .q-logo { font-weight: 800; font-size: 9.5px; letter-spacing: 0.12em; }
.scr-qonaq .q-hero { text-align: center; padding: 12px 20px 6px; }
.scr-qonaq .q-hero h4 {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
}
.scr-qonaq .q-hero p { font-size: 8px; color: #8d8478; margin-top: 4px; }
.scr-qonaq .q-cta {
  display: inline-block;
  margin-top: 7px;
  background: #2b2620;
  color: #fff;
  border-radius: 100px;
  padding: 5.5px 14px;
  font-size: 8px;
  font-weight: 700;
}
.scr-qonaq .q-tiles { display: flex; gap: 8px; padding: 10px 16px; }
.scr-qonaq .q-tile {
  flex: 1;
  border-radius: 9px;
  aspect-ratio: 1.25;
  background: linear-gradient(150deg, #e9decb, #d9c8a8);
  position: relative;
  overflow: hidden;
}
.scr-qonaq .q-tile.t2 { background: linear-gradient(150deg, #dfe7e2, #b9c9bf); }
.scr-qonaq .q-tile.t3 { background: linear-gradient(150deg, #eadfd8, #cfb4a4); }
.scr-qonaq .q-tile span {
  position: absolute;
  left: 8px; bottom: 6px;
  font-size: 7.5px;
  font-weight: 800;
  color: #2b2620;
}

/* --- 13. Telegram-бот (телефон) --- */
.scr-tg { background: #0e1621; color: #f5f5f5; }
.scr-tg .t-head {
  display: flex; align-items: center; gap: 8px;
  background: #17212b;
  padding: 30px 12px 10px;
}
.scr-tg .t-name { font-weight: 800; font-size: 9.5px; }
.scr-tg .t-status { font-size: 7px; color: #6ab2f2; }
.scr-tg .t-chat { flex: 1; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.scr-tg .t-msg {
  max-width: 80%;
  background: #182533;
  border-radius: 10px 10px 10px 3px;
  padding: 7px 9px;
  font-size: 8px;
}
.scr-tg .t-msg.me {
  align-self: flex-end;
  background: #2b5278;
  border-radius: 10px 10px 3px 10px;
}
.scr-tg .t-btns { display: flex; flex-wrap: wrap; gap: 4px; max-width: 85%; }
.scr-tg .t-btn {
  flex: 1 1 45%;
  background: rgba(106,178,242,0.14);
  border: 1px solid rgba(106,178,242,0.4);
  color: #6ab2f2;
  border-radius: 7px;
  padding: 5px 6px;
  text-align: center;
  font-size: 7.5px;
  font-weight: 700;
  white-space: nowrap;
}
.scr-tg .t-input {
  display: flex; align-items: center; gap: 8px;
  background: #17212b;
  padding: 9px 12px 16px;
  color: #566475;
  font-size: 8px;
}

/* --- Tender Control (ноутбук) --- */
.scr-tender { background: #f5f7fb; color: #1c2434; }
.scr-tender .td-nav {
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  padding: 9px 14px;
  border-bottom: 1px solid #e5e9f2;
}
.scr-tender .td-logo { font-weight: 800; font-size: 9.5px; }
.scr-tender .td-logo span { color: #2456c4; }
.scr-tender .td-filters { display: flex; gap: 6px; padding: 9px 14px 0; }
.scr-tender .td-filter {
  background: #fff;
  border: 1px solid #dde3ef;
  border-radius: 7px;
  padding: 5px 9px;
  font-size: 7.5px;
  font-weight: 700;
  color: #5a6478;
}
.scr-tender .td-filter.on { background: #2456c4; border-color: #2456c4; color: #fff; }
.scr-tender .td-list { padding: 8px 14px; display: flex; flex-direction: column; gap: 6px; }
.scr-tender .td-row {
  background: #fff;
  border: 1px solid #e5e9f2;
  border-radius: 9px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.scr-tender .td-row b { font-size: 8px; display: block; }
.scr-tender .td-row small { font-size: 7px; color: #8a93a6; }
.scr-tender .td-sum { margin-left: auto; font-weight: 800; font-size: 8.5px; color: #2456c4; white-space: nowrap; }
.scr-tender .td-star { color: #f2b01e; font-size: 10px; }

/* --- Qarjy AI (телефон) --- */
.scr-qarjy { background: #f6f8f7; color: #16211c; }
.scr-qarjy .qa-head {
  padding: 30px 12px 10px;
  background: linear-gradient(135deg, #0e3d31, #14574a);
  color: #fff;
}
.scr-qarjy .qa-head b { font-size: 11px; }
.scr-qarjy .qa-head small { display: block; font-size: 7.5px; opacity: .7; }
.scr-qarjy .qa-sum {
  display: flex; gap: 6px;
  margin: -6px 10px 0;
}
.scr-qarjy .qa-box {
  flex: 1;
  background: #fff;
  border-radius: 10px;
  padding: 8px 9px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}
.scr-qarjy .qa-box small { font-size: 7px; color: #7d8a83; display: block; }
.scr-qarjy .qa-box b { font-size: 10px; }
.scr-qarjy .qa-box.in b { color: #148a5c; }
.scr-qarjy .qa-box.out b { color: #d64545; }
.scr-qarjy .qa-cats { margin: 9px 10px 0; background: #fff; border-radius: 10px; padding: 9px; box-shadow: 0 3px 10px rgba(0,0,0,0.06); }
.scr-qarjy .qa-cat { display: flex; align-items: center; gap: 6px; font-size: 7.5px; font-weight: 700; margin-top: 6px; }
.scr-qarjy .qa-cat:first-child { margin-top: 0; }
.scr-qarjy .qa-cat .scr-bar { flex: 1; background: #e8efeb; position: relative; overflow: hidden; }
.scr-qarjy .qa-cat .scr-bar i { position: absolute; inset: 0; border-radius: 3px; background: #148a5c; }
.scr-qarjy .qa-ai {
  margin: 9px 10px 0;
  background: #e7f3ee;
  border: 1px solid #bfdfd2;
  border-radius: 10px;
  padding: 8px 9px;
  font-size: 7.5px;
  color: #14574a;
  font-weight: 600;
}
.scr-qarjy .qa-ai b { display: block; font-size: 8px; margin-bottom: 2px; }

/* --- Zerek Bilim (телефон) --- */
.scr-zerek { background: #f4f6fc; color: #1d2440; }
.scr-zerek .z-head { padding: 30px 12px 8px; }
.scr-zerek .z-head b { font-size: 11.5px; }
.scr-zerek .z-head b span { color: #4f6bed; }
.scr-zerek .z-head small { display: block; font-size: 7.5px; color: #8a91ad; }
.scr-zerek .z-video {
  margin: 8px 10px 0;
  border-radius: 12px;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #303a6b, #4f6bed);
  position: relative;
  overflow: hidden;
}
.scr-zerek .z-video::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 26px; height: 26px;
  background: rgba(255,255,255,0.92) ;
  border-radius: 50%;
  clip-path: none;
}
.scr-zerek .z-video::before {
  content: '';
  position: absolute;
  left: calc(50% - 3px); top: calc(50% - 5px);
  border-left: 8px solid #4f6bed;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  z-index: 2;
}
.scr-zerek .z-video span {
  position: absolute;
  left: 8px; bottom: 6px;
  color: #fff;
  font-size: 7.5px;
  font-weight: 700;
}
.scr-zerek .z-lessons { padding: 9px 10px; display: flex; flex-direction: column; gap: 5px; }
.scr-zerek .z-lesson {
  display: flex; align-items: center; gap: 8px;
  background: #fff;
  border-radius: 9px;
  padding: 7px 9px;
  font-size: 8px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(29,36,64,0.05);
}
.scr-zerek .z-check {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #e3e7f6;
  color: #fff;
  font-size: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.scr-zerek .z-check.done { background: #37b871; }
.scr-zerek .z-time { margin-left: auto; font-size: 7px; color: #8a91ad; font-weight: 600; }

/* --- Sheber Dos (телефон, инклюзивное) --- */
.scr-sheber { background: #fffaf3; color: #4a4237; }
.scr-sheber .sh-head { padding: 30px 12px 6px; text-align: center; }
.scr-sheber .sh-head b { font-size: 12px; color: #e8743c; }
.scr-sheber .sh-head small { display: block; font-size: 7.5px; color: #a89a88; }
.scr-sheber .sh-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px 12px;
}
.scr-sheber .sh-tile {
  border-radius: 16px;
  padding: 12px 8px;
  text-align: center;
  font-size: 8.5px;
  font-weight: 800;
}
.scr-sheber .sh-tile i {
  display: block;
  width: 30px; height: 30px;
  margin: 0 auto 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.75);
}
.scr-sheber .sh-t1 { background: #ffe3d1; color: #b0562a; }
.scr-sheber .sh-t2 { background: #d9efe0; color: #2f7d52; }
.scr-sheber .sh-t3 { background: #e4e3f7; color: #5a54a8; }
.scr-sheber .sh-t4 { background: #fdf0c8; color: #a3821e; }
.scr-sheber .sh-progress {
  margin: 2px 12px;
  background: #fff;
  border-radius: 12px;
  padding: 9px 11px;
  box-shadow: 0 2px 8px rgba(74,66,55,0.07);
  font-size: 8px;
  font-weight: 700;
}
.scr-sheber .sh-stars { color: #f2b01e; font-size: 10px; letter-spacing: 2px; margin-top: 3px; }

/* ---------- Цены ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.price {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.price:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(32,30,29,0.12);
  border-color: rgba(198,113,57,0.45);
}
.price--hot {
  background: var(--ink-2);
  color: var(--tx);
  border-color: var(--ink-2);
}
.price--hot .price-desc { color: var(--tx-dim); }
.price-flag {
  position: absolute;
  top: -12px; right: 22px;
  background: linear-gradient(135deg, var(--copper), var(--copper-hi));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 5px 13px;
  border-radius: 100px;
  text-transform: uppercase;
}
.price-name { font-size: 16px; font-weight: 800; }
.price-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 28px);
  margin-top: 14px;
  color: var(--copper);
}
.price--hot .price-value { color: var(--copper-hi); }
.price-term {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-dim);
}
.price--hot .price-term { color: var(--tx-dim); }
.price-term::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--copper);
}
.price-desc {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-dim);
  flex: 1;
}
.price .btn { margin-top: 22px; padding: 13px 20px; font-size: 14px; }

/* ---------- О компании ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.about-quote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(19px, 2.4vw, 27px);
  line-height: 1.4;
  color: #fff;
}
.about-quote .brk { color: var(--copper); }
.about-text { margin-top: 22px; color: var(--tx-dim); font-size: 15.5px; }
.director {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}
.director-ava {
  width: 58px; height: 58px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--copper), #8f4d22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-logo);
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  box-shadow: 0 12px 28px rgba(198,113,57,0.35);
}
.director b { display: block; font-size: 16.5px; color: #fff; }
.director span { font-size: 13.5px; color: var(--tx-dim); }
.geo-cards { display: flex; flex-direction: column; gap: 14px; }
.geo {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 22px;
  transition: transform .25s, border-color .25s;
}
.geo:hover { transform: translateX(6px); border-color: rgba(198,113,57,0.5); }
.geo-flag { font-size: 26px; }
.geo b { display: block; font-size: 15.5px; }
.geo span { font-size: 13px; color: var(--tx-dim); }

/* ---------- Контакты ---------- */
.contact {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  left: 50%; top: 55%;
  transform: translate(-50%, -50%);
  width: 760px; height: 560px;
  background: radial-gradient(ellipse, rgba(198,113,57,0.16), transparent 65%);
  pointer-events: none;
}
.contact-in { position: relative; }
.contact-phone {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 4.6vw, 52px);
  color: #fff;
  margin-top: 26px;
  transition: color .2s;
}
.contact-phone:hover { color: var(--copper-hi); }
.contact-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* ---------- Футер ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
}
.footer-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer small { color: var(--tx-faint); font-size: 13px; }

/* ---------- Плавающая WhatsApp-кнопка ---------- */
.wa-fab {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 80;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wa);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 34px rgba(37,211,102,0.4);
  transition: transform .2s;
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 30px; height: 30px; fill: #fff; }
.wa-fab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa);
  animation: wa-pulse 2s ease-out infinite;
}
@keyframes wa-pulse {
  from { transform: scale(1); opacity: .8; }
  to   { transform: scale(1.55); opacity: 0; }
}

/* ---------- Лайтбокс ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(13, 12, 11, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
  cursor: zoom-out;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
  transform: scale(.94);
  transition: transform .25s;
}
.lightbox.open img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 16px; right: 22px;
  font-size: 26px;
  color: #fff;
  background: none;
  border: 0;
  opacity: .7;
  transition: opacity .2s;
}
.lightbox-close:hover { opacity: 1; }
.ml-view img, .mt-view img, .mp-view img { cursor: zoom-in; }

/* ---------- Адаптивность ---------- */
@media (max-width: 1024px) {
  .hero-in { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .eyebrow { margin-inline: auto; }
  .hero-sub { margin-inline: auto; }
  .hero-badges, .hero-actions { justify-content: center; }
  .hero-visual { min-height: 320px; margin-top: 10px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .services-grid, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav, .header-phone { display: none; }
  .burger { display: flex; }
  .rail-btns { display: none; }
  .pcard { padding: 20px 18px 20px; }
  .pcard-mock { min-height: 180px; }
  .pcard--phone .pcard-mock { min-height: 380px; }
}
@media (max-width: 640px) {
  .services-grid, .price-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:last-child { grid-column: span 2; }
  .mock-phone::before { width: 56px; height: 15px; }
  .scroll-hint { display: none; }
  .btn { width: 100%; }
  .hero-actions .btn, .contact-actions .btn { width: auto; flex: 1 1 220px; }
  .float-chip { font-size: 14px; padding: 10px 16px; }
  .float-chip .blogo--sm { height: 17px; }
}

/* ---------- Кастомные AOS-позы ---------- */
[data-aos='mock-rise'] {
  opacity: 0;
  transform: translateY(56px) scale(.94);
  transition-property: transform, opacity;
}
[data-aos='mock-rise'].aos-animate {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ---------- Доступность ---------- */
:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
