/* Yunusov Team — sayt uslubi. Tayyorlagan: Ilhomjon Yunusov */

@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/onest.woff") format("woff");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #17153a;
  --ink-2: #4b4f6b;
  --brand: #3f3a9e;
  --brand-deep: #2b2775;
  --paper: #f5f6fa;
  --card: #ffffff;
  --line: #dcdfea;
  --mint: #e1f6e7;
  --mint-ink: #1f6b3a;
  --saffron: #f4b521;
  --saffron-hi: #ffc93c;
  --tg: #176b9e;
  --danger: #b42318;
  --amber: #b26b00;

  --display: "Unbounded", "Onest", system-ui, sans-serif;
  --text: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 28px;
  --gut: 16px;
  --wrap: 1160px;
  --sec: clamp(56px, 8vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--text);
  font-feature-settings: "kern" 1;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-deep); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.85rem, 4.6vw, 3.25rem); line-height: 1.12; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.25rem); line-height: 1.18; margin-bottom: 28px; }
h3, .h3 { font-family: var(--text); font-weight: 700; font-size: 1.2rem; line-height: 1.3; }
h2.h3 { font-family: var(--display); font-size: 1.25rem; margin-bottom: 20px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
@media (min-width: 720px) { :root { --gut: 28px; } }

/* ---------- tugmalar */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--text); text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .95rem; }
.btn-lg { min-height: 56px; padding: 14px 26px; font-size: 1.05rem; }
.btn-primary { background: var(--saffron); color: var(--ink); }
.btn-primary:hover { background: var(--saffron-hi); color: var(--ink); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-tg { background: var(--brand); color: #fff; }
.btn-tg:hover { background: var(--brand-deep); color: #fff; }
.btn[disabled] { opacity: .65; cursor: progress; }
.link-btn { background: none; border: 0; padding: 8px 0; font: inherit; color: var(--brand); text-decoration: underline; cursor: pointer; }

/* ---------- yuqori menyu */
.top { position: sticky; top: 0; z-index: 50; background: rgba(245, 246, 250, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.top.is-scrolled { border-bottom-color: var(--line); }
.top-row { display: flex; align-items: center; gap: 20px; min-height: 68px; }
@media (max-width: 420px) { .top-row { gap: 10px; } .top-actions { gap: 6px; } }
/* logo: <yunusov.team/> — ranglar shu yerda (SVG ichida rang yo'q) */
.logo { display: inline-flex; align-items: center; padding: 6px 0; text-decoration: none; flex-shrink: 0; }
.logo-wm { display: block; height: 22px; width: auto; }
.wm-ink { fill: var(--ink); }
.wm-acc { fill: var(--brand); }
.wm-dot { fill: var(--saffron); }
.logo-light .wm-ink { fill: #fff; }
.logo-light .wm-acc, .logo-light .wm-dot { fill: var(--saffron); }
.logo-mark { display: block; height: auto; }
@media (min-width: 1200px) { .logo-wm { height: 26px; } }
@media (max-width: 350px) { .logo-wm { height: 19px; } }
.logo-mark .mk-ink { fill: #fff; }
.logo-mark .mk-acc { fill: var(--saffron); }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; }
.nav a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 500; }
.nav a:hover { background: #e8e9f3; }
.nav a[aria-current="page"] { color: var(--brand); background: #e8e9f3; }
.nav-extra { display: none; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.top-phone { color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.lang { display: inline-grid; place-items: center; min-width: 44px; height: 40px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; background: var(--card); }
.lang:hover { border-color: var(--brand); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0; position: relative; }
.burger-lines, .burger-lines::before, .burger-lines::after { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, top .2s, opacity .2s; content: ""; }
.burger-lines { top: 21px; }
.burger-lines::before { left: 0; top: -7px; }
.burger-lines::after { left: 0; top: 7px; }
.burger[aria-expanded="true"] .burger-lines { background: transparent; }
.burger[aria-expanded="true"] .burger-lines::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger-lines::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1180px) { .top-phone { display: none; } }
@media (max-width: 900px) {
  .burger { display: block; }
  .top-cta { display: none; }
  .nav { position: fixed; inset: 68px 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gut) 20px; display: none; max-height: calc(100vh - 68px); overflow: auto; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav a:hover, .nav a[aria-current="page"] { background: none; }
  .nav-extra { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; }
  .nav-extra a { border: 0; font-weight: 600; }
  .nav-extra .btn { padding: 12px 22px; border-radius: 999px; color: var(--ink); margin-top: 6px; }
  .nav-tg { color: var(--brand) !important; }
}

/* ---------- hero */
.hero { padding: clamp(28px, 6vw, 72px) 0 var(--sec); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.25fr .75fr; gap: 48px; } }
.hero h1 { max-width: 18ch; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 46ch; margin: 20px 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
@media (max-width: 520px) { .hero-actions .btn { width: 100%; } }
.checks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-2); font-weight: 500; }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m5 9.3 2.6 2.6L13 6.5' fill='none' stroke='%231f6b3a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }

.status { display: inline-flex; align-items: flex-start; gap: 10px; margin: 0 0 22px; padding: 8px 14px; border-radius: 14px; background: #fff4dc; color: #8a5300; font-weight: 500; font-size: .95rem; line-height: 1.4; }
.status .dot { width: 9px; height: 9px; margin-top: .42em; border-radius: 50%; background: currentColor; flex: none; }
.status-open { background: var(--mint); color: var(--mint-ink); }
.status-open .dot { box-shadow: 0 0 0 4px rgba(31, 107, 58, .15); }

/* ---------- hero: Telegram'dagi bot (sahifaning asosiy belgisi) — iPhone + Telegram iOS ko'rinishi */
.demo { position: relative; margin: 0 auto; width: min(100%, 372px); padding: 0 0 64px; }
.iphone {
  position: relative; border-radius: 58px; padding: 11px; background: #1d1d1f;
  box-shadow: inset 0 0 0 2px #3a3a3c, 0 40px 70px -34px rgba(23, 21, 58, .6);
}
.iphone::before, .iphone::after { content: ""; position: absolute; width: 4px; border-radius: 2px; background: #2c2c2e; }
.iphone::before { left: -3px; top: 150px; height: 64px; box-shadow: 0 -78px 0 0 #2c2c2e; }
.iphone::after { right: -3px; top: 190px; height: 96px; }
.iphone-screen {
  --tg-blue: #037ee5;
  position: relative; display: flex; flex-direction: column; height: 708px; overflow: hidden; border-radius: 47px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color: #000; background: #f7f7f7; -webkit-font-smoothing: antialiased;
}
@media (max-width: 420px) { .iphone { border-radius: 50px; padding: 9px; } .iphone-screen { height: 640px; border-radius: 41px; } }
.ios-status { position: relative; display: flex; align-items: center; justify-content: space-between; height: 50px; padding: 4px 30px 0 34px; font-size: 15px; font-weight: 600; flex: none; }
.ios-island { position: absolute; left: 50%; top: 11px; width: 108px; height: 32px; margin-left: -54px; border-radius: 20px; background: #000; }
.ios-icons { display: flex; gap: 5px; align-items: center; }
.ios-icons svg { fill: currentColor; }
.ios-icons svg:nth-child(2) { fill: none; }
.tg-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 2px 10px 8px; border-bottom: .5px solid #c8c7cc; background: rgba(247, 247, 247, .96); flex: none; }
.tg-back { display: flex; align-items: center; gap: 3px; color: var(--tg-blue); font-size: 16px; }
.tg-title { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.tg-title b { font-size: 16px; font-weight: 600; }
.tg-title small { font-size: 13px; color: #8e8e93; min-height: 16px; }
.tg-title small.is-typing { color: var(--tg-blue); }
.tg-ava { justify-self: end; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); }
.tg-ava .logo-mark { width: 27px; }

.tg-chat {
  position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden;
  background-color: #b9d39b;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120' fill='none' stroke='%23315b2a' stroke-opacity='.13' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 18l4 8 9 1-7 6 2 9-8-5-8 5 2-9-7-6 9-1z'/%3E%3Ccircle cx='86' cy='22' r='9'/%3E%3Cpath d='M62 58c6-8 18-8 22 0s-4 16-11 18c-6-2-15-10-11-18z'/%3E%3Cpath d='M20 82h22v16H20zM24 82v-5h14v5'/%3E%3Cpath d='M92 84l12 12M104 84l-12 12'/%3E%3Cpath d='M48 108c4-6 12-6 16 0'/%3E%3C/svg%3E"),
    radial-gradient(circle at 15% 20%, #e1e3a3 0, transparent 45%),
    radial-gradient(circle at 85% 30%, #8fc58f 0, transparent 50%),
    radial-gradient(circle at 30% 85%, #79b48e 0, transparent 50%),
    radial-gradient(circle at 90% 90%, #d6dc95 0, transparent 45%);
}
.tg-msgs { list-style: none; position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 10px 8px 8px; margin: 0; }
.tg-date { align-self: center; margin: 2px 0 6px; }
.tg-date span { display: inline-block; padding: 2px 9px; border-radius: 11px; background: rgba(62, 92, 52, .38); color: #fff; font-size: 13px; font-weight: 500; }
.tg-row { display: flex; flex-direction: column; max-width: 84%; }
.tg-in { align-self: flex-start; }
.tg-out { align-self: flex-end; align-items: flex-end; }
.tg-row-kb { width: 84%; }
.tg-row-kb .tg-b { align-self: stretch; }
.tg-b {
  position: relative; margin: 0; padding: 6px 10px 7px 11px; border-radius: 17px; font-size: 14.5px; line-height: 1.34;
  white-space: pre-line; overflow-wrap: break-word; box-shadow: 0 1px .5px rgba(0, 0, 0, .13);
}
.tg-in .tg-b { background: #fff; border-bottom-left-radius: 6px; }
.tg-out .tg-b { background: #e1ffc7; border-bottom-right-radius: 6px; }
.tg-b::after { content: ""; position: absolute; bottom: 0; width: 10px; height: 15px; }
.tg-in .tg-b::after { left: -5px; background: radial-gradient(circle at 0 0, transparent 9.5px, #fff 10px); }
.tg-out .tg-b::after { right: -5px; background: radial-gradient(circle at 100% 0, transparent 9.5px, #e1ffc7 10px); }
.tg-b b { font-weight: 600; }
.tg-b code { font: 13px/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: -.5px; }
.tg-time { float: right; display: inline-flex; align-items: center; gap: 2px; margin: 7px -2px -4px 10px; font-size: 11px; color: #8e9aa6; white-space: nowrap; }
.tg-out .tg-time { color: #4fae4e; }
.tg-checks { color: #4fae4e; }
.tg-ikb { display: flex; flex-direction: column; gap: 3px; margin-top: 3px; }
.tg-ikb-row { display: flex; gap: 3px; }
.tg-ikb-btn {
  flex: 1 1 0; display: grid; place-items: center; min-height: 34px; padding: 4px 8px; border-radius: 9px;
  background: rgba(62, 92, 52, .36); color: #fff; font-size: 13.5px; font-weight: 600; text-align: center; line-height: 1.2;
  transition: background-color .15s;
}
.tg-ikb-btn.is-pressed { background: rgba(28, 50, 24, .62); }

.tg-rkb { flex: none; display: flex; flex-direction: column; gap: 6px; padding: 7px 6px 8px; background: #d3d6dc; }
.tg-rkb[hidden] { display: none; }
.tg-rkb-row { display: flex; gap: 6px; }
.tg-rkb-key { flex: 1 1 0; display: grid; place-items: center; min-height: 40px; padding: 4px 6px; border-radius: 7px; background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .3); font-size: 14px; text-align: center; line-height: 1.2; transition: background-color .15s; }
.tg-rkb-key.is-pressed { background: #b6bac2; }
.tg-input { flex: none; display: flex; align-items: center; gap: 8px; padding: 6px 8px 30px; background: #f7f7f7; border-top: .5px solid #c8c7cc; color: #8e8e93; }
.tg-input svg { flex: none; }
.tg-field { flex: 1; min-width: 0; display: flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 17px; border: .5px solid #c8c7cc; background: #fff; font-size: 15px; color: #000; white-space: nowrap; overflow: hidden; }
.tg-ph { color: #a0a0a6; }
[data-typed]:not(:empty) + .tg-ph { display: none; }
[data-typed]:not(:empty)::after { content: ""; display: inline-block; width: 2px; height: 18px; margin-left: 1px; vertical-align: -3px; background: var(--tg-blue); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.ios-home { position: absolute; left: 50%; bottom: 8px; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: #000; }

.ios-note {
  position: absolute; left: -26px; right: 18px; bottom: 0; display: flex; gap: 11px; align-items: center; padding: 12px 14px;
  border-radius: 22px; background: rgba(250, 250, 252, .9); backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 22px 44px -18px rgba(23, 21, 58, .5), 0 0 0 .5px rgba(0, 0, 0, .08);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif; font-size: 14px; line-height: 1.3; color: #000;
}
.ios-note-ico { flex: none; width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: var(--ink); }
.ios-note-ico .logo-mark { width: 29px; }
.ios-note-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ios-note-top { display: flex; justify-content: space-between; gap: 8px; }
.ios-note-top b { font-weight: 600; }
.ios-note-top small { color: #6b6b70; font-size: 13px; }
.ios-note-sub { color: #3c3c43; }
@media (min-width: 960px) { .ios-note { left: -64px; } }

/* animatsiya faqat skript ishlasa va «kamroq harakat» yoqilmagan bo'lsa */
.demo.is-playing [data-step].is-off, .demo.is-playing .ios-note.is-off { display: none; }
.demo:not(.is-playing) [data-final="hide"] { display: none; }
.demo.is-playing .is-new { animation: tgPop .32s cubic-bezier(.2, .9, .3, 1.2) both; }
.demo.is-playing .ios-note.is-new { animation: noteIn .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes tgPop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes noteIn { from { opacity: 0; transform: translateY(-18px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- bo'limlar */
.sec { padding: var(--sec) 0; }
.sec-tint { background: #eceef6; }
.sec-top0 { padding-top: 0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.sec-head h2 { margin: 0; }
.sec-link { font-weight: 600; }
.note { color: var(--ink-2); font-size: .95rem; margin-top: 20px; }

.problems { background: var(--ink); color: #fff; }
.problems h2 { color: #fff; }
.problems-grid { display: grid; gap: 8px 56px; }
@media (min-width: 860px) { .problems-grid { grid-template-columns: .8fr 1.2fr; } }
.pains { list-style: none; }
.pains li { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: #d5d6ea; }
.solution { margin: 28px 0 0; padding: 20px 22px; border-radius: var(--r-md); background: var(--mint); color: var(--ink); font-size: 1.1rem; font-weight: 600; }

.tiles { display: grid; gap: 16px; }
@media (min-width: 700px) { .tiles { grid-template-columns: 1fr 1fr; } }
.tile { position: relative; display: flex; flex-direction: column; padding: 26px; background: var(--card); border-radius: var(--r-lg); border: 1px solid var(--line); }
.tile h3 { font-family: var(--display); font-size: 1.2rem; margin-bottom: 10px; }
.tile p { color: var(--ink-2); }
.tile-price { color: var(--ink) !important; font-weight: 700; font-size: 1.1rem; margin-top: auto; }
.tile-link { font-weight: 600; }
.tile-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tile:hover { border-color: var(--brand); }
.tile-bot { background: var(--brand); border-color: var(--brand); }
.tile-bot h3, .tile-bot .tile-price, .tile-bot .tile-link { color: #fff !important; }
.tile-bot p { color: #d9d8f5; }

.steps { list-style: none; counter-reset: step; display: grid; gap: 14px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, 1fr); gap: 18px; } }
.steps li { counter-increment: step; position: relative; padding: 22px 20px; background: var(--card); border-radius: var(--r-md); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px; border-radius: 50%; background: var(--brand); color: #fff; font: 700 1rem/1 var(--display); }
.steps h3 { font-size: 1.05rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-2); font-size: .96rem; }

/* ---------- paketlar */
.pkgs { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 700px) { .pkgs-2, .pkgs-3, .pkgs-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pkgs-3 { grid-template-columns: repeat(3, 1fr); } .pkgs-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 700px) { .pkgs-1 { grid-template-columns: minmax(0, 420px); } }
.pkg { display: flex; flex-direction: column; padding: 26px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.pkg-featured { background: var(--ink); border-color: var(--ink); color: #fff; }
.pkg-featured h3, .pkg-featured .pkg-price { color: #fff; }
.pkg-featured .pkg-term, .pkg-featured .pkg-list { color: #d5d6ea; }
.pkg-featured .pkg-bot { color: #fff; }
.pkg-flag { align-self: flex-start; margin: 0 0 14px; padding: 4px 12px; border-radius: 999px; background: var(--saffron); color: var(--ink); font-weight: 600; font-size: .85rem; }
.pkg-name { font-size: 1.15rem; margin-bottom: 8px; }
.pkg-price { margin: 0 0 6px; font: 700 1.35rem/1.25 var(--display); display: flex; flex-direction: column; }
.pkg-old { font: 500 .95rem/1.3 var(--text); opacity: .7; }
@media (min-width: 1000px) { .pkgs-4 .pkg-price { font-size: 1.15rem; } }
.pkg-promo { margin: 0 0 6px; display: inline-block; color: var(--danger); font-weight: 600; font-size: .9rem; }
.pkg-featured .pkg-promo { color: var(--saffron-hi); }
.pkg-term { color: var(--ink-2); font-size: .95rem; margin-bottom: 14px; }
.pkg-term span { font-weight: 600; }
.pkg-list { list-style: none; margin-bottom: 22px; color: var(--ink-2); font-size: .96rem; }
.pkg-list li { position: relative; padding: 4px 0 4px 20px; }
.pkg-list li::before { content: ""; position: absolute; left: 2px; top: .9em; width: 8px; height: 8px; border-radius: 2px; background: var(--saffron); }
.pkg-actions { margin-top: auto; display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.pkg-bot { text-align: center; font-weight: 600; font-size: .95rem; padding: 6px; }

/* ---------- portfolio */
.works { display: grid; gap: 16px; }
@media (min-width: 760px) { .works { grid-template-columns: 1fr 1fr; } }
.work { display: flex; flex-direction: column; align-items: flex-start; padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.work[hidden] { display: none; }
.work-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.work-mark { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--brand); color: #fff; font: 700 1rem/1 var(--display); flex: none; }
.work h3 { font-size: 1.15rem; }
.work-field { margin: 2px 0 0; color: var(--ink-2); font-size: .92rem; }
.work > p { color: var(--ink-2); }
.work .btn { margin-top: auto; }
.work-facts { margin: 0 0 20px; }
.work-facts dt { font-weight: 700; font-size: .9rem; color: var(--brand); margin-top: 12px; }
.work-facts dd { margin: 2px 0 0; color: var(--ink-2); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font: 600 .95rem/1 var(--text); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- FAQ */
.faq-wrap { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 600; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { margin: -6px 0 20px; color: var(--ink-2); max-width: 66ch; }

/* ---------- ariza bloki */
.cta { padding: var(--sec) 0; background: var(--brand); color: #fff; }
.cta-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .cta-grid { grid-template-columns: .85fr 1.15fr; gap: 56px; } }
.cta h2 { color: #fff; margin-bottom: 16px; }
.cta-text p { color: #dddcf6; max-width: 42ch; }
.cta .status { background: rgba(255,255,255,.12); color: #fff; }
.cta .btn-tg { background: #fff; color: var(--brand); }
.cta .btn-tg:hover { background: #ecebfa; }
.cta-files { margin-top: 16px; font-size: .92rem; }

.form-card { background: var(--card); color: var(--ink); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 34px); box-shadow: 0 30px 60px -40px rgba(23,21,58,.6); }
.form-card-plain { box-shadow: none; border: 1px solid var(--line); }
.lead-form { display: grid; gap: 4px 18px; }
@media (min-width: 640px) { .lead-form { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field-wide, .form-submit, .form-alert, .form-restored { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; }
.opt { font-weight: 400; color: #62677f; }
.field input[type="text"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #cdd1e1; border-radius: var(--r-sm);
  background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--text); appearance: none;
}
.field select {
  padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1.5 5 5 5-5' fill='none' stroke='%233f3a9e' stroke-width='2'/%3E%3C/svg%3E") right 14px center/12px no-repeat;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(63,58,158,.18); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.err { margin: 0; color: var(--danger); font-size: .9rem; }
.field-check { flex-direction: row; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.field-check input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }
.field-check label { font-weight: 400; flex: 1; min-width: 0; }
.field-check .err { flex-basis: 100%; }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.form-submit .form-note { margin: 0; }
.form-note { color: #6a6f8a; font-size: .9rem; }
.form-alert { margin: 8px 0 0; padding: 12px 14px; border-radius: var(--r-sm); background: #fdecea; color: var(--danger); font-weight: 500; }
.form-restored { margin: 0 0 12px; padding: 10px 12px; border-radius: var(--r-sm); background: #eef0fb; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-ok { text-align: left; }
.lead-ok:focus { outline: none; }
.ok-icon { color: var(--mint-ink); margin-bottom: 14px; }
.lead-ok h3 { font-family: var(--display); font-size: 1.4rem; margin-bottom: 10px; }
.lead-ok .btn { margin: 6px 0 10px; }

/* ---------- ichki sahifalar */
.page-head { padding: clamp(32px, 6vw, 64px) 0 clamp(28px, 4vw, 44px); }
.page-head .lead { margin-bottom: 0; max-width: 62ch; }
@media (max-width: 400px) { .page-head h1 { font-size: 1.55rem; } }
.svc-intro { max-width: 62ch; margin-bottom: 28px; }
.svc-intro h2 { margin-bottom: 12px; }
.svc-intro p { color: var(--ink-2); font-size: 1.08rem; }
.svc-sub { margin: 36px 0 14px; }
.examples { list-style: none; display: grid; gap: 10px; }
@media (min-width: 700px) { .examples { grid-template-columns: 1fr 1fr; } }
.examples li { padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--ink-2); }
.examples b { display: block; color: var(--ink); }
.extras { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.extras li { padding: 10px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 500; }
.terms { font-weight: 600; font-size: 1.05rem; margin-bottom: 36px; padding: 18px 20px; background: var(--mint); border-radius: var(--r-md); }
.price-group { padding-bottom: 44px; }
.price-group + .sec { padding-top: 12px; }

.calc-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .calc-grid { grid-template-columns: .7fr 1.3fr; gap: 56px; } }
.calc { display: grid; gap: 18px; background: var(--card); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 30px); }
@media (min-width: 760px) { .calc { grid-template-columns: 1fr 1fr; } .calc-total { grid-column: 1 / -1; } }
.calc fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.calc-cat { margin: 12px 0 4px; font-size: .85rem; font-weight: 600; color: var(--brand); }
.opt-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 10px 2px; border-bottom: 1px solid #eef0f6; cursor: pointer; }
.opt-row input { width: 20px; height: 20px; accent-color: var(--brand); flex: none; margin: 0; }
.opt-name { flex: 1 1 140px; min-width: 0; }
.opt-price { color: var(--ink-2); font-size: .92rem; margin-left: auto; text-align: right; }
.calc-total { padding: 20px; border-radius: var(--r-md); background: var(--ink); color: #fff; }
.calc-label { margin: 0; color: #c9cae3; }
.calc-sum { margin: 2px 0 6px; font: 700 clamp(1.5rem, 3vw, 2rem)/1.2 var(--display); }
.calc-extra { margin: 0 0 6px; color: #c9cae3; font-size: .95rem; }
.calc-total .btn { margin-top: 10px; }

.order-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .order-grid { grid-template-columns: 1.5fr .8fr; gap: 40px; } }
.order-side { padding: 26px; background: #eceef6; border-radius: var(--r-lg); }
.order-side .h3 { margin-bottom: 10px; font-family: var(--display); }
.order-side p:not(.status) { color: var(--ink-2); }

.contacts { display: grid; gap: 0; margin: 8px 0 0; max-width: 720px; }
.contacts > div { display: grid; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 600px) { .contacts > div { grid-template-columns: 200px 1fr; } }
.contacts dt { color: var(--ink-2); }
.contacts dd { margin: 0; font-weight: 600; font-size: 1.08rem; }

.prose { max-width: 72ch; }
.prose h2 { font-size: 1.35rem; margin: 36px 0 12px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 8px; color: var(--ink-2); }
.prose p { color: var(--ink-2); }

.nf { padding-bottom: var(--sec); }
.nf-code { font: 700 clamp(4rem, 14vw, 8rem)/1 var(--display); color: #dcdcf2; margin-bottom: 12px; }

/* ---------- pastki qism */
.foot { background: var(--ink); color: #c9cae3; padding: 56px 0 96px; font-size: .96rem; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.3fr .8fr 1.1fr; } .foot { padding-bottom: 40px; } }
.foot-brand p { margin-top: 16px; max-width: 34ch; }
.foot-links, .foot-contacts { list-style: none; display: grid; gap: 10px; align-content: start; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #9fa1c4; }

/* ---------- mobil: doim ko'rinadigan Telegram tugmasi */
.mobile-tg {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; border-radius: 999px; background: var(--tg); color: #fff; font-weight: 700; text-decoration: none;
  box-shadow: 0 12px 30px -10px rgba(23,21,58,.5);
}
.mobile-tg:hover { color: #fff; }
@media (min-width: 900px) { .mobile-tg { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 76px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print { .top, .mobile-tg, .cta, .foot { display: none; } }

/* ---------- hero: aylanuvchi 3D kub (reklama bilan bir xil belgi) */
.cube-stage { --s: 250px; position: relative; display: grid; place-items: center; height: calc(var(--s) * 1.75); perspective: 1300px; }
@media (max-width: 520px) { .cube-stage { --s: 180px; } }
.cube { position: relative; width: var(--s); height: var(--s); transform-style: preserve-3d; transform: rotateX(-20deg) rotateY(-32deg); }
.cube-f {
  position: absolute; inset: 0; display: grid; place-items: center; border-radius: 18px; border: 4px solid var(--saffron);
  background: rgba(63, 58, 158, .94); box-shadow: inset 0 0 60px rgba(23, 21, 58, .5);
  color: #fff; font: 700 calc(var(--s) * .22)/1 var(--display); letter-spacing: -.02em; backface-visibility: visible;
}
.cube-f1 { transform: translateZ(calc(var(--s) / 2)); }
.cube-f2 { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.cube-f3 { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.cube-f4 { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.cube-f5 { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
.cube-f6 { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); color: var(--saffron); font-size: calc(var(--s) * .42); }
.cube-glow { position: absolute; left: 50%; bottom: 4%; width: calc(var(--s) * 1.25); height: 40px; margin-left: calc(var(--s) * -.625); border-radius: 50%; background: radial-gradient(ellipse at center, rgba(244, 181, 33, .45), transparent 70%); }
@media (prefers-reduced-motion: no-preference) {
  .cube { animation: cubeSpin 16s linear infinite; }
}
@keyframes cubeSpin { from { transform: rotateX(-20deg) rotateY(0deg); } to { transform: rotateX(-20deg) rotateY(360deg); } }

/* ---------- «Ko'ring»: Bot | Sayt */
.show h2 { margin-bottom: 20px; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 28px; border-radius: 999px; background: #e3e5f0; }
.tab { min-height: 44px; padding: 8px 22px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 600 1rem/1 var(--text); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.show-panel { display: grid; gap: 32px; align-items: center; }
.show-panel[hidden] { display: none; }
@media (min-width: 960px) { .show-panel { grid-template-columns: .8fr 1.2fr; gap: 56px; } }
.show-lead { font-size: 1.1rem; color: var(--ink-2); max-width: 46ch; }
.show-text .btn { margin-top: 8px; }
.sample-pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.laptop { width: 100%; max-width: 720px; margin: 0 auto; padding: 0 3%; }
.laptop-screen { position: relative; aspect-ratio: 16 / 10.4; border: 12px solid #1d1d1f; border-bottom-width: 18px; border-radius: 18px 18px 6px 6px; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.laptop-bar { flex: none; display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: #eef0f6; border-bottom: 1px solid #dcdfea; }
.laptop-bar span { width: 10px; height: 10px; border-radius: 50%; background: #c9ccd8; }
.laptop-bar em { flex: 1; margin-left: 8px; padding: 3px 10px; border-radius: 6px; background: #fff; color: var(--ink-2); font: 400 .8rem/1.4 var(--text); font-style: normal; text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.laptop-img { flex: 1; min-height: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
@media (prefers-reduced-motion: no-preference) {
  .laptop-img { animation: siteScroll 18s ease-in-out infinite alternate; }
}
@keyframes siteScroll { 0%, 8% { object-position: 50% 0%; } 92%, 100% { object-position: 50% 100%; } }
.laptop-base { height: 14px; margin: 0 -3%; border-radius: 0 0 14px 14px; background: linear-gradient(#cfd2db, #a9adb8); }

/* ---------- «Kim tayyorlaydi» */
.who-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 760px) { .who-grid { grid-template-columns: 240px 1fr; gap: 48px; } }
.who-photo img, .who-initials { width: clamp(140px, 30vw, 200px); height: clamp(140px, 30vw, 200px); border-radius: 50%; object-fit: cover; }
.who-initials { display: grid; place-items: center; background: var(--brand); color: #fff; font: 700 clamp(44px, 9vw, 64px)/1 var(--display); }
.who h2 { margin-bottom: 12px; }
.who-name { font-size: 1.1rem; }
.who p:not(.who-name) { color: var(--ink-2); max-width: 62ch; }

.badge { display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 999px; background: #fff4dc; color: #8a5300; font-size: .8rem; font-weight: 600; vertical-align: 1px; }
.foot-made { margin-top: 18px; color: #c9cae3; font-size: .95rem; }
.foot-made a { color: var(--saffron); }

/* ---------- «Namunalar» galereyasi */
.samples-grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .samples-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .samples-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sample { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.sample-shot { position: relative; display: flex; flex-direction: column; aspect-ratio: 16 / 11; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.sample-bar { flex: none; display: flex; align-items: center; gap: 5px; padding: 7px 10px; background: #eef0f6; border-bottom: 1px solid #dcdfea; }
.sample-bar i { width: 8px; height: 8px; border-radius: 50%; background: #c9ccd8; }
.sample-bar em { flex: 1; min-width: 0; margin-left: 6px; padding: 2px 8px; border-radius: 6px; background: #fff; color: var(--ink-2); font: 400 .75rem/1.4 var(--text); font-style: normal; text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sample-shot img { flex: 1; min-height: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .sample-shot img { transition: object-position 5s ease-in-out; }
  .sample:hover .sample-shot img { object-position: 50% 100%; }   /* sichqoncha ustida — sayt pastga «suriladi» */
}
.sample-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.sample-field { margin: 0 0 4px; color: var(--ink-2); font-size: .92rem; font-weight: 600; }
.sample-title { font-size: 1.25rem; margin-bottom: 12px; }
.sample-feats { list-style: none; margin: 0 0 18px; color: var(--ink-2); font-size: .96rem; }
.sample-feats li { position: relative; padding: 3px 0 3px 20px; }
.sample-feats li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 8px; height: 8px; border-radius: 2px; background: var(--saffron); }
.sample-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.samples-more { margin-top: 14px; }
.sample-own { justify-content: center; padding: 28px 24px; border: 2px dashed #c9cce0; background: transparent; }
.sample-own p { color: var(--ink-2); }
.sample-own .sample-actions { margin-top: 8px; }

/* =====================================================================================
   Harakat (motion, liquid, 3D) — faqat ma'noli joylarda. JS bo'lmasa yoki
   «harakatni kamaytirish» yoqilgan bo'lsa — hammasi joyida, harakatsiz ko'rinadi.
   ===================================================================================== */

/* 1. Hero: kub ortidagi «suyuq» rang dog'lari + sichqonchaga qarab og'ish */
.hero { overflow: hidden; }
.cube-stage { isolation: isolate; }
.cube-tilt { position: relative; display: grid; place-items: center; transform-style: preserve-3d; }
.liquid {
  position: absolute; z-index: -1; pointer-events: none; opacity: .5; filter: blur(44px);
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
}
.liquid-a { left: 4%; top: 8%; width: calc(var(--s) * 1.1); height: calc(var(--s) * 1); background: radial-gradient(circle at 30% 30%, #7a74e0, var(--brand) 70%); }
.liquid-b { right: 4%; bottom: 12%; width: calc(var(--s) * .78); height: calc(var(--s) * .72); background: radial-gradient(circle at 60% 40%, var(--saffron-hi), var(--saffron) 70%); opacity: .42; }
@media (max-width: 520px) { .liquid { filter: blur(32px); opacity: .38; } }
@media (prefers-reduced-motion: no-preference) {
  .liquid-a { animation: liquidA 15s ease-in-out infinite alternate; }
  .liquid-b { animation: liquidB 12s ease-in-out infinite alternate; }
}
@keyframes liquidA {
  0%   { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; transform: translate(0, 0) rotate(0deg); }
  50%  { border-radius: 63% 37% 45% 55% / 55% 61% 39% 45%; transform: translate(7%, 5%) rotate(24deg); }
  100% { border-radius: 38% 62% 56% 44% / 62% 39% 61% 38%; transform: translate(-5%, 8%) rotate(48deg); }
}
@keyframes liquidB {
  0%   { border-radius: 58% 42% 37% 63% / 44% 59% 41% 56%; transform: translate(0, 0) scale(1); }
  50%  { border-radius: 40% 60% 62% 38% / 60% 40% 58% 42%; transform: translate(-9%, -6%) scale(1.08); }
  100% { border-radius: 61% 39% 48% 52% / 39% 63% 37% 61%; transform: translate(6%, -10%) scale(.95); }
}
.cube-stage.is-paused .liquid, .cube-stage.is-paused .cube { animation-play-state: paused; }

/* 2. Ko'rinishga kirganda yumshoq paydo bo'lish (faqat JS qo'shgan .rv elementlar) */
.js-motion .rv { opacity: 0; transform: translateY(22px); }
.js-motion .rv.is-in {
  opacity: 1; transform: none;
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--i, 0) * 80ms);
}

/* 3. «Qanday ishlaymiz»: 5 qadam ketma-ket «yonadi» */
.steps li { overflow: hidden; }
.steps li::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--saffron)); transform: scaleX(0); transform-origin: left;
}
.steps li::before { transition: background-color .35s, color .35s, box-shadow .35s; }
.js-motion .steps.is-run li::after { transform: scaleX(1); transition: transform .5s cubic-bezier(.4, 0, .2, 1) calc(var(--i, 0) * .38s); }
.js-motion .steps.is-run li::before {
  background: var(--saffron); color: var(--ink); box-shadow: 0 0 0 6px rgba(244, 181, 33, .22);
  transition-delay: calc(var(--i, 0) * .38s + .35s);
}
html:not(.js-motion) .steps li::after { transform: scaleX(1); }

/* 4. Kartochkalar: kursor ostida yengil 3D og'ish va yorug'lik (faqat sichqoncha bilan) */
.tilt { position: relative; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .tilt {
    --glow: rgba(63, 58, 158, .09);
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
    transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s, border-color .15s;
  }
  .tilt.is-hover { --lift: -4px; box-shadow: 0 26px 50px -30px rgba(23, 21, 58, .45); transition-duration: .12s, .4s, .15s; }
  .tilt::before {
    content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none; opacity: 0;
    background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), var(--glow), transparent 55%);
    transition: opacity .3s;
  }
  .tilt.is-hover::before { opacity: 1; }
  .tile-bot.tilt, .pkg-featured.tilt { --glow: rgba(255, 255, 255, .13); }
}

/* 5. «Tavsiya qilamiz» paketi: sekin aylanuvchi suyuq chegara */
@property --ring { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.pkg-featured { position: relative; isolation: isolate; }
.pkg-featured::after {
  /* faqat chetdagi halqa: ichki qism niqob bilan kesiladi */
  content: ""; position: absolute; inset: -2px; padding: 2px; border-radius: calc(var(--r-lg) + 2px); pointer-events: none;
  background: conic-gradient(from var(--ring), var(--saffron), #7a74e0 30%, var(--brand) 55%, var(--saffron-hi) 80%, var(--saffron));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
@media (prefers-reduced-motion: no-preference) { .pkg-featured::after { animation: ringSpin 7s linear infinite; } }
.pkg-featured.is-paused::after { animation-play-state: paused; }
@keyframes ringSpin { to { --ring: 360deg; } }

/* 6. Yakuniy ariza bloki: tepa chetida oqadigan to'lqin */
.cta { position: relative; }
.cta::before, .cta::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 34px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 34' preserveAspectRatio='none'%3E%3Cpath fill='%233f3a9e' d='M0 22 C150 4 300 4 450 18 S750 34 900 18 1050 4 1200 22 V34 H0Z'/%3E%3C/svg%3E") repeat-x;
  background-size: 1200px 34px;
}
.cta::before { opacity: .4; background-position: 300px 0; }
@media (prefers-reduced-motion: no-preference) {
  .cta::after { animation: waveX 22s linear infinite; }
  .cta::before { animation: waveX 34s linear infinite reverse; }
}
.cta.is-paused::before, .cta.is-paused::after { animation-play-state: paused; }
@keyframes waveX { to { background-position-x: 1200px; } }
@media print { .cta::before, .cta::after { display: none; } .js-motion .rv { opacity: 1; transform: none; } }

/* 7. Asosiy tugmalar: kursorga tortiladi, ichida suyuqlik kabi to'ladi (faqat sichqoncha bilan) */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .btn-magnet { position: relative; isolation: isolate; overflow: hidden; transition: background-color .15s, border-color .15s, color .15s, transform .25s cubic-bezier(.2, .7, .2, 1); }
  .btn-magnet::before {
    content: ""; position: absolute; z-index: -1; left: var(--mx, 50%); top: var(--my, 50%); width: 260%; aspect-ratio: 1;
    border-radius: 50%; transform: translate(-50%, -50%) scale(0); transition: transform .45s cubic-bezier(.2, .7, .2, 1);
    background: rgba(255, 255, 255, .22);
  }
  .btn-magnet:hover::before { transform: translate(-50%, -50%) scale(1); }
  .btn-primary.btn-magnet::before { background: rgba(255, 255, 255, .35); }
}

/* ---------- shaxsiy kabinet (03.11.2026) */
.cab-link { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--card); text-decoration: none; }
.cab-link:hover, .cab-link[aria-current="page"] { border-color: var(--brand); color: var(--brand); }
.cab-link-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav-cab { color: var(--ink); }
.cab-login { max-width: 560px; }
.cab-steps { margin: 0 0 22px; padding-left: 1.3em; display: grid; gap: 8px; color: var(--ink-2); }
.cab-login .btn-tg { gap: 10px; width: 100%; }
.cab-login .btn-tg[aria-disabled="true"] { opacity: .7; }
.cab-wait { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 8px 0; }
.cab-wait p { margin: 0; font-weight: 600; }
.cab-spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #e1e0f5; border-top-color: var(--brand); animation: cabSpin .9s linear infinite; }
@keyframes cabSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cab-spin { animation-duration: 3s; } }
.cab-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.cab-head .lead { margin-bottom: 0; }
.cab-tabs { display: flex; gap: 6px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 24px; scrollbar-width: none; }
.cab-tabs::-webkit-scrollbar { display: none; }
.cab-tab { flex: 0 0 auto; border: 0; background: none; font: inherit; font-weight: 600; color: var(--ink-2); padding: 12px 14px; border-bottom: 3px solid transparent; cursor: pointer; white-space: nowrap; }
.cab-tab:hover { color: var(--ink); }
.cab-tab[aria-selected="true"] { color: var(--brand); border-bottom-color: var(--brand); }
.cab-tab:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; border-radius: 6px; }
.cab-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #e8e9f3; font-size: .8rem; margin-left: 4px; }
.cab-empty { color: var(--ink-2); background: var(--card); border: 1px dashed var(--line); border-radius: var(--r-md); padding: 22px; margin: 0; }
.cab-orders { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 860px) { .cab-orders { grid-template-columns: 1fr 1fr; } }
.cab-order { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; min-width: 0; }
.cab-order-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.cab-order-top .h3 { margin: 0; font-family: var(--display); font-size: 1.05rem; }
.cab-order-meta { color: var(--ink-2); margin: 8px 0 0; }
.cab-order-price { margin: 6px 0 0; font-weight: 700; }
.cab-order-price span { font-weight: 400; color: var(--ink-2); font-size: .9rem; }
.cab-order-biz { margin: 6px 0 0; overflow-wrap: anywhere; }
.cab-status { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .88rem; font-weight: 600; background: #eef0f7; color: var(--ink); white-space: nowrap; }
.cab-st-new, .cab-st-reviewing { background: #fff4d6; color: #7a5300; }
.cab-st-agreed, .cab-st-in_progress, .cab-st-testing { background: #e8e9fb; color: var(--brand-deep); }
.cab-st-delivered { background: var(--mint); color: var(--mint-ink); }
.cab-st-cancelled { background: #fde8e7; color: var(--danger); }
.cab-hist { margin-top: 12px; }
.cab-hist summary { cursor: pointer; color: var(--brand); font-weight: 600; }
.cab-hist ol { margin: 10px 0 0; padding-left: 1.2em; display: grid; gap: 4px; }
.cab-hist time { color: var(--ink-2); font-size: .9rem; }
.cab-chat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; height: min(60vh, 520px); overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.cab-chat .cab-empty { border: 0; padding: 8px; background: none; }
.msg { max-width: min(82%, 560px); padding: 10px 14px; border-radius: 16px; }
.msg-in { align-self: flex-end; background: #e8e9fb; border-bottom-right-radius: 4px; }
.msg-out { align-self: flex-start; background: #f2f3f8; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg-body { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg-meta { display: block; margin-top: 4px; font-size: .78rem; color: var(--ink-2); }
.cab-send { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 12px; align-items: end; }
.cab-send textarea { width: 100%; resize: vertical; min-height: 52px; padding: 12px 14px; font: inherit; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); color: var(--ink); }
.cab-send textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(63,58,158,.18); }
.cab-send .form-alert { grid-column: 1 / -1; }
@media (max-width: 480px) { .cab-send { grid-template-columns: 1fr; } .cab-send .btn { width: 100%; } }
.cab-sub { margin: 0 0 18px; color: var(--ink-2); }
.cab-ok { margin: 14px 0 0; font-weight: 600; color: var(--mint-ink); }
.cab-profile { display: grid; gap: 18px; }
@media (min-width: 900px) { .cab-profile { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.cab-tg { margin: 0 0 14px; color: var(--ink-2); }
.cab-saved { margin-left: 12px; color: var(--mint-ink); font-weight: 600; }
.cab-mkt { margin: 6px 0 0; flex-direction: row; align-items: flex-start; }
.cab-danger p { color: var(--ink-2); }
.cab-danger hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0 8px; }
.cab-del { border-color: var(--danger); color: var(--danger); }
.cab-del:hover { background: var(--danger); color: #fff; }
.cab-del-confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.cab-del-confirm p { flex-basis: 100%; margin: 0; color: var(--ink); }
.cab-del-yes { background: var(--danger); color: #fff; border-color: var(--danger); }
.cab-del-yes:hover { background: #8f1c13; color: #fff; }
@media (max-width: 374px) { .cab-link { display: none; } }   /* tor ekranda — burger menyuda bor */
@media (max-width: 560px) {
  .cab-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; border-bottom: 0; overflow: visible; }
  .cab-tab { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); text-align: center; padding: 11px 8px; }
  .cab-tab[aria-selected="true"] { border-color: var(--brand); background: #ecebfa; }
}
