/* ==========================================================================
   hrcontrol.uz — dizayn tizimi
   Ranglar HRControl logotipidan (static/img/logo-full.png):
   ko'k #0672F0, to'q siyoh #081B3C, gradient #2B8CF5 → #0672F0 → #0A3D91.
   Tashqi CSS framework yo'q — build qadamisiz, Django static'dan to'g'ridan-to'g'ri.
   ========================================================================== */

:root {
  --blue: #0672F0;
  --blue-600: #0559BF;
  --blue-50: #EAF2FE;
  --blue-100: #D2E3FC;
  --ink: #081B3C;
  --ink-2: #1B2F52;
  --text: #22304A;
  --muted: #5E6C85;
  --line: #E2E8F0;
  --bg: #F5F8FC;
  --surface: #FFFFFF;
  --ok: #16A34A;
  --ok-bg: #E8F7EE;
  --warn: #D97706;
  --warn-bg: #FEF3E2;
  --night: #6D5BD0;
  --night-bg: #EFEBFF;
  --grad: linear-gradient(135deg, #2B8CF5 0%, #0672F0 45%, #0A3D91 100%);
  --grad-soft: linear-gradient(135deg, #EAF2FE 0%, #F5F8FC 60%, #FFFFFF 100%);
  --r: 14px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(8, 27, 60, .05), 0 1px 6px rgba(8, 27, 60, .04);
  --shadow: 0 6px 24px rgba(8, 27, 60, .08), 0 2px 6px rgba(8, 27, 60, .04);
  --shadow-lg: 0 24px 60px rgba(8, 27, 60, .16), 0 8px 20px rgba(8, 27, 60, .06);
  --font-h: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --hdr-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.6 var(--font);
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-h); color: var(--ink); margin: 0; letter-spacing: -.02em; line-height: 1.15; }
p { margin: 0; }
button { font: inherit; }
.ic { flex: none; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.wrap--narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* --- Reveal (IntersectionObserver, main.js) --------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 70ms); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --- Tugmalar ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 12px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1.2; white-space: nowrap;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(6, 114, 240, .28); }
.btn--primary:hover { background: var(--blue-600); box-shadow: 0 8px 22px rgba(6, 114, 240, .36); transform: translateY(-1px); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: #C9D5E1; background: var(--bg); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--blue-50); }
.btn--lg { padding: 15px 26px; font-size: 16px; border-radius: 14px; }
.btn--block { width: 100%; }

/* --- Header ---------------------------------------------------------------- */
.hdr {
  position: sticky; top: 0; z-index: 50; height: var(--hdr-h);
  background: rgba(255, 255, 255, .78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.hdr.is-stuck { border-color: var(--line); box-shadow: var(--shadow-sm); }
.hdr__in { display: flex; align-items: center; gap: 28px; height: 100%; }
.hdr__logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.hdr__logo img { height: 40px; width: auto; }
/* Logotipdagi kabi: belgi = HR, yonida faqat CONTROL (HR takrorlanmasin) */
.wordmark { font-family: var(--font-h); font-weight: 800; font-size: 19px; letter-spacing: .04em; line-height: 1; white-space: nowrap; color: var(--ink); }
.ftr .wordmark { color: #fff; }
.hdr__nav { display: flex; gap: 6px; margin-left: 8px; }
.hdr__nav a { white-space: nowrap; padding: 8px 12px; border-radius: 9px; font-weight: 500; font-size: 15px; color: var(--ink-2); transition: background .15s, color .15s; }
.hdr__nav a:hover, .hdr__nav a.is-active { background: var(--blue-50); color: var(--blue); }
.hdr__nav-foot { display: none; }
.hdr__acts { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.hdr__phone { padding-inline: 14px; }
/* Hamkor onlayn do'koni tugmasi — brend ko'kidan farqli, ko'zga tashlanadigan */
.hdr__shop { background: linear-gradient(135deg, #FF7A1A, #FF9F1C); color: #fff; padding-inline: 14px; box-shadow: 0 6px 16px rgba(255, 122, 26, .32); }
.hdr__shop:hover { background: linear-gradient(135deg, #F06A0A, #FF9007); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255, 122, 26, .4); }
/* Hamkorlar chizig'i (header ustida) */
.ptop { background: var(--ink); font-size: 13px; }
.ptop__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.ptop__item { display: inline-flex; align-items: center; gap: 7px; color: #A9BBCA; transition: color .15s; white-space: nowrap; min-width: 0; }
.ptop__item > span { overflow: hidden; text-overflow: ellipsis; }
.ptop__item b { color: #fff; font-weight: 600; }
.ptop__item:hover { color: #fff; }
.ptop__item .ic { flex: none; color: #6FB1FF; }
.ptop__item--shop .ic { color: #FFB25C; }
/* Til tanlagich — bayroqli dropdown (_lang.html). Hover/focus bilan ham ochiladi (JS'siz) */
.flag { width: 20px; height: 15px; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px rgba(8,27,60,.08); }
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 10px 0 9px; border: 1.5px solid var(--line); border-radius: 11px; background: #fff; font-weight: 600; font-size: 13.5px; color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s; }
.lang__btn:hover, .lang.is-open .lang__btn, .lang:focus-within .lang__btn { border-color: #C9D5E1; background: var(--bg); }
.lang__chev { color: var(--muted); transition: transform .2s; }
.lang.is-open .lang__chev { transform: rotate(180deg); }
.lang__menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 176px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; z-index: 60; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .15s, transform .15s, visibility .15s; }
.lang.is-open .lang__menu, .lang:focus-within .lang__menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) { .lang:hover .lang__menu { opacity: 1; visibility: visible; transform: none; } }
.lang__item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.lang__item span { flex: 1; }
.lang__item .ic { color: var(--blue); }
.lang__item:hover { background: var(--blue-50); color: var(--blue); }
.lang__item.is-on { color: var(--ink); font-weight: 600; background: var(--bg); }
.hdr__burger { display: none; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.hdr__burger .ic-close { display: none; }
.hdr__burger[aria-expanded="true"] .ic-open { display: none; }
.hdr__burger[aria-expanded="true"] .ic-close { display: block; }

/* --- Hero ------------------------------------------------------------------ */
.hero { position: relative; padding: 64px 0 40px; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(43, 140, 245, .16), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(10, 61, 145, .10), transparent 70%),
    var(--grad-soft);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(17,40,54,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(17,40,54,.045) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(70% 60% at 60% 30%, #000 30%, transparent 100%);
}
.hero__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--blue-100); color: var(--blue-600); font-size: 13px; font-weight: 600; box-shadow: var(--shadow-sm); }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; margin: 22px 0 18px; letter-spacing: -.03em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--muted); max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.hero__trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero__trust .ic { color: var(--ok); }

/* Mahsulot maketi */
.hero__mock { position: relative; padding: 24px 0 40px 24px; }
.mock {
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transform-origin: 70% 50%;
}
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #FBFCFE; font-size: 13px; }
.mock__dot { width: 10px; height: 10px; border-radius: 50%; background: #E2E9F0; }
.mock__dot:nth-child(1) { background: #FF8A80; } .mock__dot:nth-child(2) { background: #FFD180; } .mock__dot:nth-child(3) { background: #A5D6A7; }
.mock__title { margin-left: 10px; font-weight: 600; color: var(--ink); }
.mock__live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-weight: 600; font-size: 12px; }
.mock__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(22,163,74,.5); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.45); } 70% { box-shadow: 0 0 0 8px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }
.mock__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 14px 16px 6px; }
.mock__stats div { background: var(--bg); border-radius: 10px; padding: 10px 12px; }
.mock__stats b { display: block; font-family: var(--font-h); font-size: 22px; color: var(--ink); line-height: 1; }
.mock__stats span { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.c-ok { color: var(--ok) !important; } .c-warn { color: var(--warn) !important; } .c-mute { color: var(--muted) !important; }
.mock__rows { padding: 8px 8px 4px; }
.mrow { display: grid; grid-template-columns: 34px 1fr auto auto; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; }
.mrow:hover { background: var(--bg); }
.av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; background: hsl(var(--h) 60% 52%); }
.mrow__name { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.mrow__name small { display: block; font-weight: 400; color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.mrow__t { font-variant-numeric: tabular-nums; font-size: 13px; color: var(--ink-2); font-weight: 500; }
.chip { font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.chip--ok { background: var(--ok-bg); color: var(--ok); }
.chip--warn { background: var(--warn-bg); color: var(--warn); }
.chip--night { background: var(--night-bg); color: var(--night); }
.chip--mute { background: #EEF2F6; color: var(--muted); }
.mock__chart { padding: 10px 16px 16px; border-top: 1px solid var(--line); }
.mock__chart-t { font-size: 11.5px; color: var(--muted); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 46px; margin-top: 8px; }
.bars i { flex: 1; height: calc(var(--v) * 100%); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #2B8CF5, #0672F0); opacity: .85; transform-origin: bottom; animation: grow .9s cubic-bezier(.2,.7,.2,1) both; }
.bars i:nth-child(4) { background: linear-gradient(180deg, #F59E0B, #D97706); }
@keyframes grow { from { transform: scaleY(0); } }

.float {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line);
  font-size: 12.5px; line-height: 1.25; animation: floaty 6s ease-in-out infinite;
}
.float b { display: block; color: var(--ink); font-size: 13px; }
.float span { color: var(--muted); }
.float__ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); flex: none; }
.float__ic--green { background: var(--ok-bg); color: var(--ok); }
.float__ic--ink { background: #EEF2F6; color: var(--ink); }
.float--tg { right: -6px; top: 4px; }
.float--pay { left: -40px; bottom: 22px; animation-delay: -2s; }
.float--face { right: 22px; bottom: -22px; animation-delay: -4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; padding: 22px 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats li { text-align: center; padding: 6px 12px; }
.stats b { display: block; font-family: var(--font-h); font-size: 34px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.stats b small { font-size: 15px; font-weight: 600; color: var(--blue); margin-left: 4px; }
.stats span { display: block; color: var(--muted); font-size: 14px; margin-top: 6px; }

/* --- Bo'limlar ------------------------------------------------------------- */
.sec { padding: 96px 0; scroll-margin-top: calc(var(--hdr-h) + 8px); }
.sec--tight { padding: 56px 0 8px; }
#farq .sec__head { margin-bottom: 32px; }
.sec--alt { background: var(--bg); }
.sec__head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.sec__head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin: 12px 0 14px; }
.sec__head p { color: var(--muted); font-size: 17px; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.eyebrow--light { color: #B5D6FF; }

.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

/* Muammo → yechim */
.problem { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; }
.problem__col { border-radius: var(--r-lg); padding: 28px 30px; border: 1px solid var(--line); }
.problem__col h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(8,27,60,.08); }
.problem__col--bad h3 .ic { color: #D14A2B; } .problem__col--good h3 .ic { color: var(--ok); }
.problem__col li { position: relative; padding-left: 26px; margin: 0; padding-top: 7px; padding-bottom: 7px; font-size: 15px; line-height: 1.45; min-height: 44px; display: flex; align-items: center; }
.problem__col li::before { top: 50%; margin-top: -8px; }
.problem__col--good li { font-weight: 500; }
.problem__col li::before { content: ""; position: absolute; left: 0; width: 16px; height: 16px; border-radius: 50%; }
.problem__col--bad { background: #FFF8F6; border-color: #F8DCD4; }
.problem__col--bad li { color: #7A4A3E; }
.problem__col--bad li::before { background: #FDE0D8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D14A2B' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center/10px no-repeat; }
.problem__col--good { background: #F2FBF5; border-color: #CBEBD6; }
.problem__col--good li { color: #1F5A38; }
.problem__col--good li::before { background: #D2F0DC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316A34A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/10px no-repeat; }
.problem__arrow { display: grid; place-items: center; color: var(--blue); }

/* Imkoniyat kartalari */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.card__ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); margin-bottom: 18px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

.card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--blue); }
.card__more .ic { transition: transform .15s; }
.card:hover .card__more .ic { transform: translateX(3px); }
.more { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* Ichki sahifa sarlavhasi */
.pagehead { position: relative; padding: 64px 0 48px; overflow: hidden; text-align: center; }
.pagehead__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 50% 0%, rgba(43,140,245,.14), transparent 70%), var(--grad-soft); }
.pagehead h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin: 12px auto 14px; max-width: 20ch; letter-spacing: -.03em; }
.pagehead .lead { margin: 0 auto; max-width: 62ch; }

/* Modul bo'ylab ichki menyu */
.subnav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.subnav a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: border-color .15s, color .15s, background .15s; }
.subnav a:hover { border-color: var(--blue-100); color: var(--blue); background: var(--blue-50); }

/* Batafsil bloklar (imkoniyatlar, platformalar) */
.fx { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--hdr-h) + 16px); }
.fx:last-child { border-bottom: 0; }
.fx--rev .fx__copy { order: 2; }
.fx__copy h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 16px 0 10px; }
.fx__copy p { color: var(--muted); font-size: 16px; max-width: 48ch; }
.fx__panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 28px; box-shadow: var(--shadow); }
.fx__panel li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.fx__panel li:last-child { border-bottom: 0; }
.fx__panel .ic { color: var(--ok); flex: none; margin-top: 2px; }
.fx__panel--steps ol { counter-reset: s; }
.fx__n { width: 28px; height: 28px; border-radius: 50%; background: var(--blue-50); color: var(--blue); font-weight: 700; font-size: 13px; display: grid; place-items: center; flex: none; }

/* Taqqoslash jadvali */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
.cmp th, .cmp td { padding: 13px 18px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
.cmp tbody th { white-space: normal; }
.cmp thead th { font-family: var(--font-h); font-size: 16px; color: var(--ink); background: var(--bg); }
.cmp thead th.is-hot { color: var(--blue); }
.cmp tbody th { text-align: left; font-weight: 500; color: var(--text); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp__yes { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); }
.cmp__no { color: #B4BFCC; }

/* Eslatma kartasi */
.note { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 26px; }
.note .ic { color: var(--blue); flex: none; margin-top: 2px; }
.note h3 { font-size: 17px; margin-bottom: 6px; }
.note p { color: var(--muted); font-size: 15px; }

/* Qisqa chaqiriq (ichki sahifalar oxiri) */
.sec--strip { padding: 64px 0; }
.strip { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.strip h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 8px; }
.strip p { color: rgba(255,255,255,.85); font-size: 16px; }
.strip__acts { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.strip__phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; }

/* Qadamlar */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px 28px; }
.step__n { display: inline-block; font-family: var(--font-h); font-weight: 800; font-size: 14px; letter-spacing: .06em; color: var(--blue); background: var(--blue-50); padding: 5px 10px; border-radius: 8px; margin-bottom: 16px; }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }
.flow { display: flex; align-items: center; justify-content: center; gap: 0; margin-top: 46px; }
.flow__node { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.flow__node .ic { width: 52px; height: 52px; padding: 14px; border-radius: 50%; background: #fff; border: 1.5px solid var(--blue-100); color: var(--blue); box-shadow: var(--shadow-sm); }
.flow__line { width: clamp(30px, 8vw, 90px); height: 2px; margin: 0 6px 24px; background: repeating-linear-gradient(90deg, var(--blue) 0 8px, transparent 8px 14px); position: relative; overflow: hidden; }
.flow__line::after { content: ""; position: absolute; top: -3px; left: -20px; width: 20px; height: 8px; border-radius: 4px; background: var(--blue); animation: dash 2.2s linear infinite; }
@keyframes dash { to { left: 100%; } }

/* Rollar */
.role { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px; }
.role h3 { font-size: 17px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.role li { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; margin: 9px 0; color: var(--text); }
.role .ic { color: var(--ok); margin-top: 3px; }

/* Platformalar — qorong'i bo'lim */
.sec--dark { background: var(--ink); color: #DCE6EE; position: relative; overflow: hidden; }
.sec--dark::before { content: ""; position: absolute; inset: -20% -10% auto; height: 70%; background: radial-gradient(50% 60% at 50% 0%, rgba(43,140,245,.30), transparent 70%); pointer-events: none; }
.sec--dark .sec__head h2 { color: #fff; }
.sec--dark .sec__head p { color: #A9BBCA; }
.sec--dark .eyebrow { color: #6FB1FF; }
.plat { position: relative; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg); padding: 26px 22px; transition: background .2s, border-color .2s, transform .2s; }
.plat:hover { background: rgba(255,255,255,.07); border-color: rgba(111,177,255,.4); transform: translateY(-3px); }
.plat__ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(43,140,245,.18); color: #6FB1FF; margin-bottom: 16px; }
.plat h3 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.plat p { color: #A9BBCA; font-size: 14px; }

/* Narxlar */
.pricing { align-items: stretch; }
.price { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; }
.price--hot { border-color: var(--blue); box-shadow: 0 20px 50px rgba(6,114,240,.16); }
.price__tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; letter-spacing: .02em; white-space: nowrap; }
.price h3 { font-size: 18px; color: var(--muted); font-weight: 700; }
.price__amt { margin-top: 10px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price__amt b { font-family: var(--font-h); font-size: 34px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.price__amt span { color: var(--muted); font-weight: 600; }
.price__meta { color: var(--muted); font-size: 14px; margin: 8px 0 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.price ul { flex: 1; margin-bottom: 24px; }
.price li { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; margin: 9px 0; }
.price .ic { color: var(--blue); margin-top: 3px; }
.pricing__note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 28px; color: var(--muted); font-size: 14px; text-align: center; }

/* FAQ */
.faq__item { border: 1px solid var(--line); border-radius: var(--r); background: #fff; margin-bottom: 10px; padding: 0 22px; transition: border-color .2s; }
.faq__item[open] { border-color: var(--blue-100); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; padding: 18px 0; font-family: var(--font-h); font-weight: 700; font-size: 16.5px; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__pm { position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--blue-50); flex: none; }
.faq__pm::before, .faq__pm::after { content: ""; position: absolute; background: var(--blue); left: 50%; top: 50%; transform: translate(-50%, -50%); transition: transform .2s; }
.faq__pm::before { width: 12px; height: 2px; }
.faq__pm::after { width: 2px; height: 12px; }
.faq__item[open] .faq__pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item p { padding: 0 0 20px; color: var(--muted); font-size: 15px; max-width: 70ch; }

/* Aloqa / CTA */
.sec--cta { background: var(--grad); color: #fff; position: relative; overflow: hidden; }
.sec--cta::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(60% 80% at 20% 50%, #000, transparent); pointer-events: none; }
.cta { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cta h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin: 12px 0 14px; }
.cta__copy > p { color: rgba(255,255,255,.85); font-size: 17px; max-width: 46ch; }
.cta__contacts { display: flex; flex-direction: column; gap: 10px; margin: 28px 0; }
.cta__contacts a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; color: #fff; width: fit-content; }
.cta__contacts a:hover { text-decoration: underline; text-underline-offset: 4px; }
.cta__contacts--dark a { color: var(--ink); }
.form { background: #fff; border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-lg); color: var(--text); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 11px; padding: 11px 13px; outline: none; transition: border-color .15s, box-shadow .15s, background .15s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(6,114,240,.14); }
.field.is-err input { border-color: #E0523A; }
.field em { display: block; font-style: normal; color: #C6432D; font-size: 12.5px; margin-top: 5px; }
.form__err { background: #FFF1EE; color: #A83A26; border: 1px solid #F7CFC6; border-radius: 10px; padding: 10px 14px; font-size: 14px; margin-bottom: 14px; }
.form__note { margin-top: 12px; font-size: 12.5px; color: var(--muted); text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Rahmat sahifasi */
.thanks { min-height: calc(100vh - var(--hdr-h) - 300px); display: grid; place-items: center; background: var(--grad-soft); }
.thanks__box { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 48px 36px; box-shadow: var(--shadow); }
.thanks__logo { width: 220px; margin: 0 auto 22px; }
.thanks__ic { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok); margin: 0 auto 20px; }
.thanks h1 { font-size: 30px; margin-bottom: 12px; }
.thanks p { color: var(--muted); }
.thanks .cta__contacts { align-items: center; }

/* Footer */
.ftr { background: #071630; color: #A9BBCA; padding: 64px 0 28px; font-size: 14.5px; }
.ftr__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.ftr__brand .hdr__logo { margin-bottom: 18px; }
.ftr__brand img { height: 40px; width: auto; background: #fff; border-radius: 10px; padding: 5px 7px; box-sizing: content-box; }
.ftr__brand p { max-width: 40ch; }
.ftr__by { margin-top: 14px; color: #6E8496; font-size: 13px; }
.ftr h4 { color: #fff; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.ftr__grid a { display: flex; align-items: center; gap: 8px; margin: 8px 0; color: #A9BBCA; transition: color .15s; }
.ftr__grid a:hover { color: #fff; }
.ftr__line { display: flex; align-items: center; gap: 8px; margin: 8px 0; color: #A9BBCA; }
.ftr__social { display: flex; gap: 8px; margin: 18px 0 6px; }
.ftr__social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #DCE6EE; margin: 0; transition: background .15s, color .15s; }
.ftr__social a:hover { background: var(--blue); color: #fff; }
.ftr__by a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.2); }
.ftr__by a:hover { color: #fff; }
.ftr__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); color: #6E8496; font-size: 13px; }
.ftr__langs { display: flex; gap: 6px; }
.ftr__langs a { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.1); color: #A9BBCA; font-size: 13px; margin: 0; }
.ftr__langs a:hover { color: #fff; border-color: rgba(255,255,255,.25); }
.ftr__langs a.is-on { color: #fff; background: rgba(255,255,255,.08); }


/* --- E'lon tasmasi (admin → Sayt sozlamalari → E'lon) ------------------- */
.announce { background: var(--ink); color: #DCE6EE; font-size: 14px; }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 0; flex-wrap: wrap; text-align: center; }
.announce .ic { color: #FFD166; }
.announce a { color: #6FB1FF; font-weight: 600; white-space: nowrap; }

/* --- Nega HRControl -------------------------------------------------------- */
.why__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px; transition: transform .2s, box-shadow .2s; }
.why__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why__ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; color: #fff; }
.why__ic--1 { background: linear-gradient(135deg, #2B8CF5, #0559BF); }
.why__ic--2 { background: linear-gradient(135deg, #8B7BE8, #5A48C0); }
.why__ic--3 { background: linear-gradient(135deg, #34C173, #128A44); }
.why__ic--4 { background: linear-gradient(135deg, #F6A623, #D97706); }
.why__item h3 { font-size: 18px; margin-bottom: 8px; }
.why__item p { color: var(--muted); font-size: 15px; }

/* --- Kalkulyator ----------------------------------------------------------- */
.calc { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.calc__copy h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin: 12px 0 14px; }
.calc__hints { margin-top: 26px; display: grid; gap: 10px; }
.calc__hints li { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-2); font-weight: 500; }
.calc__hints .ic { color: var(--ok); }
.calc__box { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-lg); }
.calc__f { display: block; margin-bottom: 20px; }
.calc__f > span { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; }
.calc__f output { margin-left: auto; font-family: var(--font-h); font-weight: 800; font-size: 17px; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__f input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--blue) var(--p, 50%), var(--blue-100) var(--p, 50%)); outline: none; }
.calc__f input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: 0 2px 8px rgba(6,114,240,.35); cursor: pointer; transition: transform .15s; }
.calc__f input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.1); }
.calc__f input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: 0 2px 8px rgba(6,114,240,.35); cursor: pointer; }
.calc__res { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 26px 0 18px; }
.calc__res div { background: var(--bg); border-radius: 14px; padding: 14px 12px; text-align: center; }
.calc__res b { display: block; font-family: var(--font-h); font-weight: 800; font-size: clamp(18px, 1.7vw, 24px); color: var(--ink); letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.calc__res div:nth-child(2) b { color: #C6432D; }
.calc__res span { display: block; margin-top: 5px; font-size: 12px; color: var(--muted); }
.calc__note { margin-top: 12px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* --- Maketlar: telefon + Telegram (platformalar bo'limi) -------------------- */
.mocks { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; max-width: 860px; margin: 0 auto 46px; }
.phone { position: relative; width: 300px; height: 590px; margin: 0 auto; background: #0B1B36; border-radius: 42px; padding: 12px; box-shadow: 0 30px 70px rgba(0,0,0,.45), inset 0 0 0 2px rgba(255,255,255,.08); }
.phone__notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; background: #0B1B36; border-radius: 999px; z-index: 2; }
.phone__scr { height: 100%; background: var(--bg); border-radius: 32px; overflow: hidden; padding: 56px 16px 16px; display: flex; flex-direction: column; gap: 12px; color: var(--text); font-size: 12px; }
.phone__top span { display: block; font-family: var(--font-h); font-weight: 800; font-size: 19px; color: var(--ink); }
.phone__top small { color: var(--muted); }
.phone__today { display: flex; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.phone__today small { display: block; color: var(--muted); font-size: 11px; }
.phone__today b { font-size: 14px; color: var(--ink); font-variant-numeric: tabular-nums; }
.phone__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.phone__grid div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 4px; text-align: center; }
.phone__grid b { display: block; font-family: var(--font-h); font-size: 16px; color: var(--ink); line-height: 1; }
.phone__grid span { font-size: 10px; color: var(--muted); }
.phone__pay { background: linear-gradient(135deg, #0B2B63, #0672F0); color: #fff; border-radius: 16px; padding: 14px; }
.phone__pay small { display: block; opacity: .8; font-size: 11px; }
.phone__pay > b { display: block; font-family: var(--font-h); font-size: 22px; margin: 2px 0 10px; letter-spacing: -.02em; }
.phone__pay > b i { font-style: normal; font-size: 12px; font-weight: 500; opacity: .8; }
.phone__line { display: flex; justify-content: space-between; padding: 5px 0; border-top: 1px solid rgba(255,255,255,.14); font-size: 11.5px; }
.phone__line .c-ok { color: #8BE9B0 !important; } .phone__line .c-warn { color: #FFD08A !important; }
.phone__nav { margin-top: auto; display: flex; justify-content: space-around; padding: 10px 6px 0; border-top: 1px solid var(--line); }
.phone__nav i { width: 22px; height: 6px; border-radius: 999px; background: #D2DAE4; }
.phone__nav i.is-on { background: var(--blue); width: 30px; }

.chat { background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.1); max-width: 460px; color: var(--text); }
.chat__hdr { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.chat__av { width: 36px; height: 36px; border-radius: 50%; background: #2AABEE; color: #fff; display: grid; place-items: center; }
.chat__hdr b { display: block; font-size: 14px; color: var(--ink); } .chat__hdr small { color: var(--muted); font-size: 12px; }
.chat__body { padding: 14px; background: #EAF0F6; display: grid; gap: 8px; }
.chat__msg { position: relative; justify-self: start; max-width: 88%; background: #fff; border-radius: 14px 14px 14px 4px; padding: 9px 44px 9px 12px; font-size: 12.5px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0,0,0,.05); }
.chat__msg b { display: block; color: var(--ink); margin-bottom: 2px; }
.chat__msg .ic { display: inline-block; vertical-align: -2px; margin-right: 2px; color: var(--blue); }
.chat__msg--warn { border-left: 3px solid var(--warn); } .chat__msg--warn .ic { color: var(--warn); }
.chat__msg--me { justify-self: end; background: #DCF0FF; border-radius: 14px 14px 4px 14px; }
.chat__t { position: absolute; right: 9px; bottom: 6px; font-size: 10px; color: var(--muted); }

/* --- Aloqa: va'da ro'yxati --------------------------------------------------- */
.cta__contacts span { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; color: rgba(255,255,255,.85); }
.cta__promise { display: grid; gap: 8px; margin-top: 4px; }
.cta__promise li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: rgba(255,255,255,.9); }
.cta__promise .ic { color: #8BE9B0; }

/* --- Rahmat / 404 ------------------------------------------------------------ */
.thanks__ic--err { width: auto; padding: 0 22px; border-radius: 999px; font-family: var(--font-h); font-weight: 800; font-size: 26px; background: var(--blue-50); color: var(--blue); height: 60px; }
.thanks__acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

/* --- Mobil pastki panel va yuqoriga tugmasi ---------------------------------- */
.mcta { display: none; }
.totop { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); box-shadow: var(--shadow); display: grid; place-items: center; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility .2s; }
.totop.is-on { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--blue-50); color: var(--blue); }

/* --- Sayqal ------------------------------------------------------------------- */
.hero__cta .btn--primary { position: relative; overflow: hidden; }
.hero__cta .btn--primary::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); animation: shine 4s ease-in-out infinite; }
@keyframes shine { 0%, 60% { left: -80%; } 100% { left: 140%; } }
.card__ic { transition: transform .2s, background .2s, color .2s; }
.card:hover .card__ic { background: var(--blue); color: #fff; transform: scale(1.06) rotate(-4deg); }
.price--hot { background: linear-gradient(180deg, #F7FAFF 0%, #fff 30%); }
.price__amt b { transition: color .2s; }
.step { transition: transform .2s, box-shadow .2s; }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.faq__item summary:hover { color: var(--blue); }
:focus-visible { outline: 3px solid rgba(6,114,240,.45); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--blue-100); color: var(--ink); }


/* --- O'rnatish variantlari (turniketsiz / turniket / shlagbaum) ------------- */
.inst { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px 26px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.inst:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.inst__art { height: 150px; margin: -4px -6px 14px; border-radius: 16px; background: linear-gradient(180deg, #F2F7FE, #EAF2FE); display: grid; place-items: center; color: var(--ink-2); overflow: hidden; }
.inst__art svg { width: 100%; max-width: 230px; height: auto; }
.inst__art .a-line { stroke: #B9CBE3; }
.inst__art .a-wall, .inst__art .a-brick { stroke: #B9CBE3; }
.inst__art .a-wall { fill: #fff; }
.inst__art .a-dev { fill: #fff; stroke: var(--ink); }
.inst__art .a-scr { fill: #0B1B36; stroke: #0B1B36; }
.inst__art .a-scr ~ circle, .inst__art .a-scr ~ path:not([class]) { stroke: #6FB1FF; }
.inst__art .a-led { fill: var(--ok); stroke: var(--ok); animation: blink 1.6s infinite; }
.inst__art .a-face { stroke: var(--blue); }
.inst__art .a-ray { stroke: var(--ok); animation: ray 1.6s ease-in-out infinite; }
.inst__art .a-hub { fill: var(--blue); stroke: var(--blue); }
.inst__art .a-arm { stroke: var(--ink); stroke-width: 3; }
.inst__art .a-tip { fill: var(--blue); stroke: var(--blue); }
.inst__art .a-ok { stroke: var(--ok); stroke-width: 3; }
.inst__art .a-stripe { stroke: #F6A623; stroke-width: 4; }
.inst__art--barrier .a-arm { stroke: var(--ink); stroke-width: 4; transform-origin: 150px 74px; animation: lift-sm 4s ease-in-out infinite; }
.inst__art--barrier .a-stripe { transform-origin: 150px 74px; animation: lift-sm 4s ease-in-out infinite; }
@keyframes lift-sm { 0%, 35% { transform: rotate(0); } 55%, 80% { transform: rotate(22deg); } 100% { transform: rotate(0); } }
.inst__art .a-car { stroke: var(--ink); fill: #fff; }
.inst__art .a-ring { stroke: var(--blue); opacity: .25; stroke-dasharray: 4 6; }
.inst__art .a-ring--1 { animation: ring 3s ease-in-out infinite; }
.inst__art .a-ring--2 { animation: ring 3s ease-in-out infinite -1.5s; }
@keyframes ring { 0%, 100% { opacity: .15; } 50% { opacity: .5; } }
.inst__art .a-btn { fill: var(--ok); stroke: var(--ok); }
.inst__art .a-pin { fill: var(--blue); stroke: var(--blue); }
.inst__art .a-pin-dot { fill: #fff; stroke: #fff; }
.inst__art .a-wheel { fill: var(--ink); stroke: var(--ink); }
.inst__art .a-plate { fill: #fff; stroke: var(--blue); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes ray { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@keyframes lift { 0%, 35% { transform: rotate(0); } 55%, 80% { transform: rotate(38deg); } 100% { transform: rotate(0); } }
.inst__badge { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--blue-600); background: var(--blue-50); padding: 5px 10px; border-radius: 999px; margin-bottom: 12px; }
.inst h3 { font-size: 19px; margin-bottom: 8px; }
.inst > p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.inst ul { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); display: grid; gap: 8px; }
.inst li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.inst li .ic { color: var(--ok); margin-top: 3px; }
.install__note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 28px; color: var(--muted); font-size: 14.5px; text-align: center; }
.install__note .ic { color: var(--blue); }
/* Uskuna — hamkor do'kon bloki (o'rnatish bo'limi oxirida) */
.gear { display: flex; align-items: center; gap: 20px; margin-top: 28px; padding: 22px 26px; border: 1px solid var(--blue-100); border-radius: 18px; background: linear-gradient(135deg, var(--blue-50), #fff 70%); }
.gear__ic { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--blue); color: #fff; }
.gear__txt { flex: 1; min-width: 0; }
.gear__txt h3 { font-size: 18px; margin-bottom: 6px; }
.gear__txt p { margin: 0; color: var(--muted); font-size: 15px; }
.gear__btns { flex: none; display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .gear { flex-direction: column; align-items: flex-start; padding: 20px; }
  .gear__btns { width: 100%; }
  .gear__btns .btn { flex: 1; justify-content: center; }
}

/* --- Parkovka (ANPR) --------------------------------------------------------- */
.sec--parking { background: linear-gradient(180deg, #fff 0%, #F5F8FC 100%); }
.park { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.park__copy h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin: 12px 0 14px; }
.park__points { margin-top: 24px; display: grid; gap: 10px; }
.park__points li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.park__points .ic { color: var(--ok); flex: none; margin-top: 2px; }
.park__acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.park__mock { display: grid; gap: 14px; }
.cam { background: #0B1B36; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08); color: #DCE6EE; }
.cam__bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; font-size: 12px; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.08); }
.cam__rec { display: inline-flex; align-items: center; gap: 5px; color: #FF6B6B; font-weight: 700; letter-spacing: .08em; }
.cam__rec i { width: 8px; height: 8px; border-radius: 50%; background: #FF6B6B; animation: blink 1.2s infinite; }
.cam__time { margin-left: auto; font-variant-numeric: tabular-nums; color: #A9BBCA; }
.cam__view { position: relative; padding: 18px 20px 8px; background: radial-gradient(80% 60% at 50% 100%, rgba(43,140,245,.18), transparent 70%); }
.cam__view > svg { width: 100%; height: auto; display: block; }
.cam__arm { transform-origin: 240px 30px; animation: lift 4s ease-in-out infinite; }
.cam__box { position: absolute; left: 33%; top: 52%; width: 17.5%; height: 16%; }
.cam__corner { position: absolute; width: 8px; height: 8px; border: 2px solid #6FB1FF; }
.cam__corner:nth-child(1) { left: -3px; top: -3px; border-right: 0; border-bottom: 0; }
.cam__corner:nth-child(2) { right: -3px; top: -3px; border-left: 0; border-bottom: 0; }
.cam__corner:nth-child(3) { left: -3px; bottom: -3px; border-right: 0; border-top: 0; }
.cam__corner:nth-child(4) { right: -3px; bottom: -3px; border-left: 0; border-top: 0; }
.cam__scan { position: absolute; left: 20px; right: 20px; top: 18px; height: 2px; background: linear-gradient(90deg, transparent, #6FB1FF, transparent); box-shadow: 0 0 12px #6FB1FF; animation: scan 2.6s ease-in-out infinite; }
@keyframes scan { 0%, 100% { transform: translateY(0); opacity: 0; } 10%, 90% { opacity: 1; } 50% { transform: translateY(120px); } }
.plate { position: absolute; right: 22px; top: 22px; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: 6px; padding: 5px 10px 5px 8px; font-family: var(--font-h); font-weight: 800; font-size: 18px; letter-spacing: .06em; box-shadow: 0 8px 20px rgba(0,0,0,.35); animation: plate-in 2.6s ease-in-out infinite; }
.plate span { font-size: 12px; color: var(--blue); border-right: 1.5px solid var(--line); padding-right: 8px; }
@keyframes plate-in { 0%, 45% { opacity: 0; transform: translateY(-6px) scale(.96); } 60%, 100% { opacity: 1; transform: none; } }
.pflow { display: grid; gap: 6px; }
.pflow__i { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: 14px; animation: rowin .5s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--d, 0) * .12s + .2s); }
@keyframes rowin { from { opacity: 0; transform: translateX(-8px); } }
.pflow__n { width: 26px; height: 26px; border-radius: 50%; background: var(--blue-50); color: var(--blue); font-weight: 700; font-size: 12.5px; display: grid; place-items: center; }
.pflow__i:nth-last-child(2) .pflow__n { background: var(--ok-bg); color: var(--ok); }
.pflow__t { color: var(--ink-2); font-weight: 500; }
.pflow__v { color: var(--ink); font-variant-numeric: tabular-nums; }
.pflow__i--deny { background: #FFF8F6; border-color: #F8DCD4; --d: 4; }
.pflow__i--deny .pflow__n { background: #FDE0D8; color: #D14A2B; }
.pflow__i--deny .pflow__v { color: #A83A26; }

/* --- Mijozlar fikri ----------------------------------------------------------- */
.quote { margin: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 26px 22px; }
.quote blockquote { margin: 0 0 18px; position: relative; padding-top: 4px; }
.quote blockquote .ic { color: var(--blue-100); margin-bottom: 10px; }
.quote blockquote p { font-size: 15.5px; color: var(--text); line-height: 1.6; }
.quote figcaption { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.quote figcaption b { display: block; color: var(--ink); font-size: 15px; }
.quote figcaption span { color: var(--muted); font-size: 13.5px; }

/* --- Moslashuvchan ------------------------------------------------------- */
@media (max-width: 1100px) {
  .grid--5 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .install .inst__art { height: 140px; }
  .hdr__phone { display: none; }
}
/* «Onlayn do'kon» — 1240 px dan torda faqat ikonka: ruscha «Интернет-магазин» +
   «Запросить демо» 1120–1200 px da sig'masdi */
@media (max-width: 1240px) {
  .hdr__shop span { display: none; }
  .hdr__shop { width: 44px; height: 44px; padding: 0; justify-content: center; }
}
@media (max-width: 1280px) {
  .hdr__phone span { display: none; }
  .hdr__phone { padding-inline: 12px; }
}
/* Header ixchamlashadi: «Onlayn do'kon» tugmasi qo'shilgach 861–1024 px da joy yetmay qolardi */
@media (max-width: 1024px) {
  .hdr__in { gap: 16px; }
  .hdr__nav { margin-left: 0; gap: 2px; }
  .hdr__nav a { padding-inline: 9px; }
  .hdr__acts { gap: 8px; }
  .hdr__cta { padding-inline: 16px; }
}
@media (max-width: 960px) {
  .ptop__long { display: none; }
  .hdr__nav a { font-size: 14px; padding-inline: 7px; }
  .hdr .lang__code { display: none; }
  .hdr .lang__btn { padding: 0 8px; gap: 5px; }
}
@media (max-width: 960px) {
  .hero__in { grid-template-columns: 1fr; gap: 44px; }
  .hero__mock { padding: 24px 12px 30px 12px; max-width: 620px; margin: 0 auto; }
  .mock { transform: none; }
  .float--pay { left: -6px; }
  .grid--3, .steps { grid-template-columns: 1fr 1fr; }
  .problem { grid-template-columns: 1fr; }
  .problem__arrow { transform: rotate(90deg); }
  .cta { grid-template-columns: 1fr; gap: 36px; }
  .calc { grid-template-columns: 1fr; gap: 32px; }
  .park { grid-template-columns: 1fr; gap: 32px; }
  .mocks { grid-template-columns: 1fr; justify-items: center; gap: 28px; }
  .chat { max-width: 520px; width: 100%; }
  .fx { grid-template-columns: 1fr; gap: 24px; }
  .fx--rev .fx__copy { order: 0; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .sec { padding: 72px 0; }
}
@media (max-width: 860px) {
  .hdr__nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 18px; box-shadow: var(--shadow); margin: 0;
  }
  .hdr__nav.is-open { display: flex; }
  .hdr__nav a { padding: 12px 10px; font-size: 16px; }
  .hdr__nav-foot { display: grid; gap: 8px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
  .hdr__nav-foot .btn { padding: 12px 16px; font-size: 15px; justify-content: center; }
  .hdr__nav-foot .btn--primary { color: #fff; }
  .hdr__nav-foot .btn--primary:hover { background: var(--blue-600); color: #fff; }
  .hdr__nav-foot .btn--ghost:hover { background: var(--bg); color: var(--ink); }
  .hdr__nav-foot .hdr__shop, .hdr__nav-foot .hdr__shop:hover { color: #fff; }
  .hdr__nav-foot .hdr__shop { width: auto; height: auto; }   /* header'dagi 44 px ikonka o'lchami bu yerga tushmasin */
  .hdr__burger { display: inline-flex; }
  .hdr__cta { display: none; }
  .hdr__in { gap: 14px; }
  /* Pastki panel telefonda; footer va yuqoriga tugmasi unga joy bo'shatadi */
  .mcta { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .mcta .btn { padding-inline: 12px; }
  body { padding-bottom: 70px; }
  .totop { bottom: 84px; right: 14px; }
}
@media (max-width: 640px) {
  .wrap { width: min(var(--wrap), 100% - 32px); }
  .hero { padding-top: 40px; }
  .hero h1 { font-size: 32px; }
  .lead { font-size: 16.5px; }
  .hero__cta .btn { flex: 1; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .stats b { font-size: 28px; }
  .grid--3, .grid--4, .grid--5, .steps, .form__row { grid-template-columns: 1fr; }
  .mock__stats { grid-template-columns: repeat(2, 1fr); }
  .mrow { grid-template-columns: 34px 1fr auto; }
  .mrow__t { display: none; }
  .float--tg { right: 0; top: -26px; }
  .float--face { display: none; }
  .flow { flex-wrap: wrap; row-gap: 20px; }
  .flow__line { width: 22px; }
  .form { padding: 22px 18px; }
  .sec { padding: 60px 0; }
  .sec__head { margin-bottom: 32px; }
  .ftr__grid { grid-template-columns: 1fr; gap: 28px; }
  .hdr__logo img { height: 32px; }
  .wordmark { font-size: 17px; }
  .lang__btn { height: 38px; padding: 0 8px; gap: 5px; }
  .lang__code { display: none; }
  .calc__box { padding: 22px 18px; }
  .calc__res { grid-template-columns: 1fr; }
  .calc__res div { display: flex; align-items: baseline; justify-content: space-between; text-align: left; }
  .calc__res span { margin: 0; }
  .phone { transform: scale(.92); transform-origin: top center; margin-bottom: -40px; }
  .why__item { padding: 22px 20px; }
  .inst { padding: 18px 18px 22px; }
  .inst__art { height: 130px; }
  .plate { font-size: 14px; right: 14px; top: 14px; }
  .park__acts .btn { flex: 1; }
  .announce .wrap { font-size: 13px; }
}

/* Eng tor telefonlar — 860/640 bloklaridan keyin turishi shart (ular bosib ketmasin) */
@media (max-width: 400px) {
  .hdr__in { gap: 10px; }
  .hdr__acts { gap: 6px; }
  /* Pastki panel: ruscha «Позвонить / Запросить демо» 360 px da ekrandan chiqib ketardi */
  .mcta { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px; padding-inline: 12px; }
  .mcta .btn { padding-inline: 8px; font-size: 14px; gap: 6px; }
  /* «Свой сервер или облако — в чём разница» (nowrap) sahifani 372 px ga cho'zardi */
  .more .btn { white-space: normal; text-align: center; max-width: 100%; }
}

/* 320 px: «Onlayn do'kon» tugmasi bilan header sig'masdi — matnli «CONTROL» yashiriladi, «HR» belgisi qoladi */
@media (max-width: 350px) {
  .hdr .wordmark { display: none; }
  /* 320 px (ruscha): nowrap tugmalar («Покажите, как это остановить», «Как работает»)
     grid ustunini min-content'gacha kengaytirib, butun bo'limni ekrandan chiqarardi */
  .btn { white-space: normal; text-align: center; }
  .hero__cta { flex-wrap: wrap; }
  .hero__in > *, .calc > *, .grid > *, .cta > * { min-width: 0; }
}
/* O'rnatish usuli: o'z serveri / bulut (_deploy.html) */
.deploy { grid-template-columns: repeat(2, 1fr); max-width: 980px; margin: 0 auto; }
.deploy .card__ic { margin-bottom: 14px; }
.deploy h3 { color: var(--ink); }
@media (max-width: 860px) { .deploy { grid-template-columns: 1fr; } }
