:root {
  --navy: #13235b;
  --navy-2: #0d1838;
  --ink: #1b2240;
  --muted: #5d6585;
  --yellow: #f7c41f;
  --gold: #c9a24b;
  --paper: #fbf8f1;
  --line: #e6e0d2;
  /* Har bir tugma/kartada JS (style="--c:…" / "--b:…") o'z rangini beradi; bular standart qiymat */
  --c: #c9ced6; /* rang tugmasidagi doira */
  --b: var(--navy); /* aloqa kartasining rangi */
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: Montserrat, system-ui, sans-serif;
  color: var(--ink);
  background: radial-gradient(ellipse at 50% 35%, #24356e 0%, #ffffff 45%, #070c1f 100%) fixed;
  display: flex; flex-direction: column; min-height: 100dvh; overflow-x: hidden;
}
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ---------- Tashqi qism: panel va boshqaruv ---------- */
.bar { position: relative; display: flex; align-items: center; gap: 14px; height: 52px; padding: 0 20px; color: #fff; }
.brand img { height: 40px; display: block; mix-blend-mode: screen; }
.bar-title { font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: 13px; opacity: .75; }
.bar-cta { margin-left: auto; background: var(--yellow); color: var(--navy-2); font-weight: 800; font-size: 14px; padding: 10px 18px; border-radius: 999px; box-shadow: 0 6px 20px rgba(247,196,31,.3); transition: transform .2s; }
.bar-cta:hover { transform: translateY(-2px); }

.stage { flex: 1; display: flex; align-items: center; justify-content: center; padding: 4px 12px 10px; overflow: hidden; }
.book-wrap { width: min(100%, calc((100dvh - 66px) * 1.4141)); /* ikki A4 bet yonma-yon: 2 × 210 / 297 */ transition: transform .7s ease; }
/* Yopiq kitob: muqova ekran o'rtasida turadi (StPageFlip uni o'ng yarmiga qo'yadi) */
.book-wrap.front { transform: translateX(-25%); }
.book-wrap.back { transform: translateX(25%); }
.book { width: 100%; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); animation: rise 1.1s cubic-bezier(.2,.8,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(40px) scale(.96); } }

.ctrl { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 6px; color: #fff; }
.ctrl button { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); font-size: 18px; transition: background .2s; }
.ctrl button:hover { background: rgba(255,255,255,.22); }
.at-start #prev, .at-start #first, .at-end #next { opacity: .35; pointer-events: none; }
.counter { min-width: 76px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.hint { display: none; text-align: center; color: rgba(255,255,255,.45); font-size: 12px; padding: 4px 16px 14px; }

/* ---------- Sahifa asoslari ---------- */
.page { background: var(--paper); overflow: hidden; container-type: size; }
.pg { position: relative; width: 100%; height: 100%; padding: 7cqw 7cqw 9cqw; display: flex; flex-direction: column; overflow: hidden; }
/* Qog'oz: yengil donadorlik + burchakdagi iliq yorug'lik */
.page.paper .pg::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .25 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), radial-gradient(circle at 80% 0%, rgba(201,162,75,.1), transparent 60%); }
/* Kitob qalinligi: yopilgan varaqlar qirrasi */
.page.\-\-right { box-shadow: 1px 1px 0 #efe9dc, 2px 2px 0 #d6cebd, 3px 3px 0 #ece5d6, 4px 4px 0 #cfc6b3, 5px 5px 0 #e7e0d0, 6px 6px 0 #c6bca7, 8px 10px 18px rgba(0,0,0,.25); }
.page.\-\-left { box-shadow: -1px 1px 0 #efe9dc, -2px 2px 0 #d6cebd, -3px 3px 0 #ece5d6, -4px 4px 0 #cfc6b3, -5px 5px 0 #e7e0d0, -6px 6px 0 #c6bca7, -8px 10px 18px rgba(0,0,0,.25); }
/* Umurtqa soyasi */
.page.\-\-left .pg::after, .page.\-\-right .pg::after { content: ""; position: absolute; top: 0; bottom: 0; width: 9cqw; pointer-events: none; z-index: 5; }
.page.\-\-left .pg::after { right: 0; background: linear-gradient(to left, rgba(0,0,0,.16), transparent); }
.page.\-\-right .pg::after { left: 0; background: linear-gradient(to right, rgba(0,0,0,.16), transparent); }

.kick { font-size: 2.7cqw; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.kick.light { color: var(--yellow); }
.h2 { font-size: 7.4cqw; font-weight: 900; line-height: 1.05; margin: 1.5cqw 0 3cqw; color: var(--navy); }
.h2 em { font-family: "Playfair Display", serif; font-style: italic; font-weight: 600; color: var(--gold); }
.lead { font-size: 3cqw; line-height: 1.55; color: var(--muted); }
.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pf { position: absolute; left: 7cqw; right: 7cqw; bottom: 3.5cqw; display: flex; justify-content: space-between; align-items: center; font-size: 2.3cqw; color: #a59e8c; letter-spacing: .08em; text-transform: uppercase; border-top: 1px solid var(--line); padding-top: 1.8cqw; }
.pf b { color: var(--navy); font-size: 2.8cqw; }
.qr svg { display: block; width: 100%; height: auto; }
.qr { background: #fff; padding: 1.6cqw; border-radius: 2cqw; }

/* ---------- Muqova ---------- */
.cover .pg { background: radial-gradient(ellipse at 50% 28%, #1f3274 0%, #0f1b44 45%, #060a1a 100%); color: #fff; align-items: center; text-align: center; padding: 8cqw 8cqw 7cqw; }
/* Oltin ramka — qimmatbaho kitob muqovasi kabi */
.cv-frame { position: absolute; inset: 3.5cqw; border: .35cqw solid rgba(214,178,100,.6); border-radius: 1.2cqw; pointer-events: none; z-index: 3; }
.cv-frame::before { content: ""; position: absolute; inset: 1.1cqw; border: .15cqw solid rgba(214,178,100,.35); border-radius: .8cqw; }
.cv-glow { position: absolute; width: 130cqw; height: 80cqw; left: -15cqw; bottom: -20cqw; border-radius: 50%; background: radial-gradient(closest-side, rgba(247,196,31,.32), transparent); pointer-events: none; }
/* Logotip fonidagi qora rang "screen" bilan yo'qoladi */
.cv-logo { width: 34cqw; position: relative; mix-blend-mode: screen; margin-top: -4cqw; }
.cv-year { margin-top: -2cqw; font-size: 2.5cqw; letter-spacing: .45em; text-transform: uppercase; color: #d9c08a; position: relative; }
.cv-title { font-size: 11cqw; line-height: .92; font-weight: 900; margin-top: 2cqw; letter-spacing: -.015em; position: relative; text-shadow: 0 1cqw 3cqw rgba(0,0,0,.4); }
.cv-title span, .gold-text { background: linear-gradient(180deg, #fff3c8 0%, #f2cd62 45%, #b07f22 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.cv-sub { font-family: "Playfair Display", serif; font-style: italic; font-size: 4.4cqw; color: #e9d7a8; margin-top: 1cqw; position: relative; }
/* Uchta rasm yonma-yon qatorda: har biri o'z kengligi ichida, bir-biriga yopishmaydi */
.cv-stage { position: relative; flex: 1; min-height: 0; width: 100%; margin-top: 2cqw; display: flex; align-items: flex-end; justify-content: center; gap: 3cqw; padding-bottom: 2cqw; }
.cv-stage img { position: relative; min-width: 0; max-width: 30%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 3cqw 3cqw rgba(0,0,0,.55)); }
.cv-c { height: 100%; z-index: 2; order: 2; }
.cv-l { height: 78%; order: 1; }
.cv-r { height: 82%; order: 3; }
.cv-floor { position: absolute; left: 5%; right: 5%; bottom: 0; height: 9cqw; border-radius: 50%; background: radial-gradient(closest-side, rgba(247,196,31,.45), rgba(247,196,31,.08) 60%, transparent); }
.cv-feats { position: relative; display: flex; gap: 2cqw; margin-top: 2cqw; }
.cv-feats span { font-size: 2.4cqw; font-weight: 700; letter-spacing: .06em; padding: 1.2cqw 2.6cqw; border-radius: 99px; border: .25cqw solid rgba(214,178,100,.55); color: #f1e2b8; background: rgba(255,255,255,.04); }
.cv-open { position: relative; margin-top: 2cqw; display: flex; align-items: center; gap: 1.8cqw; font-size: 2.4cqw; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.cv-open i { width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: var(--yellow); animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(247,196,31,.7); } 100% { box-shadow: 0 0 0 3cqw rgba(247,196,31,0); } }

.back .pg { justify-content: center; gap: 3.5cqw; }
.bk-logo { width: 40cqw; position: relative; mix-blend-mode: screen; }
.bk-sl { font-family: "Playfair Display", serif; font-style: italic; font-size: 6cqw; color: var(--yellow); position: relative; }
.bk-qr { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2cqw; font-size: 3.4cqw; }
.bk-qr .qr { width: 26cqw; }
.bk-ph { position: relative; font-size: 3.4cqw; line-height: 1.6; opacity: .85; font-weight: 600; }

/* ---------- Biz haqimizda ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3cqw; margin: 3.5cqw 0; }
.stats div { background: var(--navy); color: #fff; border-radius: 3cqw; padding: 3.5cqw 2cqw; text-align: center; }
.stats b { display: block; font-size: 7.5cqw; font-weight: 900; color: var(--yellow); line-height: 1; }
.stats span { font-size: 2.6cqw; opacity: .85; }
.feat { list-style: none; display: grid; gap: 1.6cqw; }
.feat li { display: flex; align-items: center; gap: 3.5cqw; }
.feat .ic { width: 7.4cqw; height: 7.4cqw; padding: 1.7cqw; border-radius: 50%; background: var(--navy); color: var(--yellow); }
.feat b { display: block; font-size: 3.4cqw; color: var(--navy); }
.feat span { font-size: 2.8cqw; color: var(--muted); }

/* ---------- Mundarija ---------- */
.toc { list-style: none; counter-reset: t; display: grid; gap: .6cqw; }
.toc button { width: 100%; display: flex; align-items: baseline; gap: 2cqw; padding: 1.5cqw 0; font-size: 3.6cqw; font-weight: 600; color: var(--navy); text-align: left; }
.toc li { counter-increment: t; }
.toc button::before { content: counter(t, decimal-leading-zero); font-size: 2.6cqw; font-weight: 800; color: var(--gold); width: 5cqw; }
.toc i { flex: 1; border-bottom: .4cqw dotted #c9c1ad; transform: translateY(-.8cqw); }
.toc b { font-weight: 800; }
.toc button:hover span { color: var(--gold); }
.toc-note { margin-top: auto; font-size: 2.6cqw; color: var(--muted); font-style: italic; }

/* ---------- Bo'lim sahifasi ---------- */
.divider .pg { background: linear-gradient(170deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.divider .pf { border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.5); }
.divider .pf b { color: var(--yellow); }
.dv-num { position: absolute; right: 4cqw; top: 0; font-size: 38cqw; font-weight: 900; line-height: 1; color: rgba(255,255,255,.06); }
.dv-h { font-size: 9.5cqw; font-weight: 900; line-height: 1; margin: 2cqw 0 3cqw; position: relative; }
.dv-p { font-size: 3.3cqw; line-height: 1.55; opacity: .8; position: relative; max-width: 90%; }
.dv-grid { margin-top: auto; display: grid; gap: 3cqw; grid-template-columns: repeat(2, 1fr); position: relative; }
.dv-grid.n3 figure:first-child { grid-column: span 2; }
.dv-grid.n2 { grid-template-columns: 1fr 1fr; }
.dv-grid figure { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 3cqw; padding: 2.5cqw; display: flex; flex-direction: column; align-items: center; height: 26cqh; }
.dv-grid.n2 figure { height: 44cqh; }
.dv-grid img { flex: 1; min-height: 0; width: 100%; object-fit: contain; filter: drop-shadow(0 2cqw 2cqw rgba(0,0,0,.4)); }
.dv-grid figcaption { font-size: 2.8cqw; font-weight: 700; margin-top: 1.5cqw; color: var(--yellow); }

/* ---------- Mahsulot sahifasi ---------- */
.pp-head { position: relative; }
.pp-name { font-size: 9cqw; font-weight: 900; color: var(--navy); line-height: 1; margin-top: 1cqw; }
.pp-steel { display: inline-block; margin-top: 2cqw; font-size: 2.6cqw; font-weight: 700; background: var(--yellow); color: var(--navy-2); padding: 1cqw 2.5cqw; border-radius: 99px; }
/* Mahsulot vannaxona devoridagi plitkalarda osilgandek ko'rinadi */
.pp-stage {
  position: relative; flex: 1; min-height: 0; margin: 3cqw 0 2.5cqw; padding: 4cqw; display: flex; align-items: center; justify-content: center; border-radius: 3cqw; overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 15%, rgba(255,255,255,.9), transparent 55%),
    linear-gradient(rgba(255,255,255,.85) .35cqw, transparent .35cqw) 0 0 / 13cqw 13cqw,
    linear-gradient(90deg, rgba(255,255,255,.85) .35cqw, transparent .35cqw) 0 0 / 13cqw 13cqw,
    linear-gradient(160deg, #f1ece2, #ddd4c3);
  box-shadow: inset 0 0 5cqw rgba(110,90,50,.14), 0 .6cqw 1.6cqw rgba(60,50,30,.08);
}
.pp-stage.duga { background: radial-gradient(ellipse at 50% 40%, #fff, #ece6da 70%); }
.pp-img { position: relative; max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(1.4cqw 2.4cqw 1.6cqw rgba(60,50,30,.3)); transition: opacity .25s, transform .4s; }
.pp-stage:hover .pp-img { transform: scale(1.03); }
.pp-num { position: absolute; right: 6cqw; top: 3cqw; font-size: 24cqw; font-weight: 900; line-height: 1; color: rgba(19,35,91,.06); pointer-events: none; }
.pp-seal { position: absolute; top: 3cqw; right: 3cqw; width: 13cqw; height: 13cqw; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-content: center; text-align: center; font-size: 2cqw; font-weight: 600; line-height: 1.1; box-shadow: 0 0 0 .6cqw rgba(247,196,31,.9), 0 1cqw 2cqw rgba(0,0,0,.2); }
.pp-seal b { font-size: 5cqw; font-weight: 900; color: var(--yellow); line-height: 1; }
.pp-text { font-size: 3cqw; line-height: 1.5; color: var(--muted); }
.sw { display: flex; gap: 2cqw; margin: 3cqw 0 2.5cqw; flex-wrap: wrap; }
.sw > button, .sw > span { display: flex; align-items: center; gap: 1.4cqw; font-size: 2.6cqw; font-weight: 700; color: var(--navy); padding: 1cqw 2.2cqw 1cqw 1cqw; border-radius: 99px; border: .35cqw solid var(--line); background: #fff; transition: border-color .2s; }
.sw > button.on { border-color: var(--navy); }
/* doiracha — haqiqiy metall namunasi (img/sw/*.png), bo'lmasa gradient */
.sw i { width: 4.2cqw; height: 4.2cqw; border-radius: 50%; background: var(--img, var(--c)); background-size: cover; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.pp-sizes { display: flex; flex-wrap: wrap; gap: 1.2cqw; align-items: center; }
.pp-sizes .lbl { width: 100%; font-size: 2.4cqw; font-weight: 800; color: var(--gold); text-transform: uppercase; letter-spacing: .1em; }
.pp-sizes em { font-style: normal; font-size: 2.5cqw; font-weight: 700; background: var(--navy); color: #fff; padding: .8cqw 1.8cqw; border-radius: 1.4cqw; }

.spec .pg { padding: 0; background: #eef0f4; }
.spec-img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Reklama sahifalari ---------- */
.ad .pg { padding: 8cqw 7cqw; }
.ad-dark .pg { background: radial-gradient(circle at 30% 70%, #2a3b7c, var(--navy-2) 70%); color: #fff; }
.ad-yellow .pg { background: linear-gradient(160deg, #ffd84a, var(--yellow) 55%, #eab308); color: var(--navy-2); }
.ad-tag { align-self: flex-start; background: var(--yellow); color: var(--navy-2); font-weight: 900; font-size: 2.6cqw; letter-spacing: .18em; text-transform: uppercase; padding: 1.3cqw 3cqw; border-radius: 99px; }
.ad-tag.y { background: var(--navy); color: var(--yellow); }
.ad-h { font-size: 10cqw; font-weight: 900; line-height: 1; margin: 3cqw 0 2.5cqw; }
.ad-h span { font-family: "Playfair Display", serif; font-style: italic; font-weight: 600; color: var(--yellow); }
.ad-h.sm { font-size: 8cqw; }
.ad-h.dark span { color: #fff; text-shadow: 0 .4cqw 0 rgba(13,24,56,.25); }
.ad-p { font-size: 3.2cqw; line-height: 1.5; opacity: .85; }
.ad-btn { margin-top: auto; align-self: center; display: inline-flex; align-items: center; gap: 2cqw; background: var(--yellow); color: var(--navy-2); font-weight: 900; font-size: 3.4cqw; padding: 3cqw 6cqw; border-radius: 99px; box-shadow: 0 1.5cqw 4cqw rgba(247,196,31,.35); position: relative; z-index: 2; }
.ad-btn.navy { background: var(--navy); color: #fff; box-shadow: 0 1.5cqw 4cqw rgba(13,24,56,.3); }
.ad-btn .ic { width: 4.5cqw; height: 4.5cqw; }

.ad-gold-stage { flex: 1; min-height: 0; position: relative; margin: 2cqw 0; display: flex; align-items: flex-end; justify-content: center; gap: 3cqw; }
.ad-gold-stage::before { content: ""; position: absolute; inset: 5% 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(236,208,138,.4), transparent); }
.ad-gold-stage img { position: relative; min-width: 0; max-width: 31%; height: 88%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 2cqw 3cqw rgba(0,0,0,.5)); }
.ad-gold-stage .g1 { height: 80%; } /* uchalasi ham 100 sm — bir xil balandlikda */
.ad-gold-stage .g2 { z-index: 1; height: 80%; }
.ad-gold-stage .g3 { height: 80%; }
.ad-colors { display: flex; justify-content: center; gap: 3cqw; font-size: 2.6cqw; font-weight: 700; margin-bottom: 4cqw; }
.ad-colors span { display: flex; align-items: center; gap: 1.2cqw; }
.ad-colors i { width: 4cqw; height: 4cqw; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); }

.cu-stage { flex: 1; min-height: 0; position: relative; display: flex; justify-content: center; margin: 2cqw 0; }
/* Quti rasm o'lchamida; ostida eni chizig'i uchun joy qoladi */
.cu-box { position: relative; height: calc(100% - 9cqw); }
.cu-img { display: block; height: 100%; width: auto; filter: drop-shadow(0 2cqw 3cqw rgba(13,24,56,.35)); }
.cu-h, .cu-w { position: absolute; border: 0 dashed var(--navy); }
.cu-h { right: calc(100% + 4cqw); top: 0; bottom: 0; border-left-width: 2px; }
.cu-w { left: 0; right: 0; top: calc(100% + 2.5cqw); border-top-width: 2px; }
/* chiziq uchlaridagi qisqa chiziqchalar */
.cu-h::before, .cu-h::after { content: ''; position: absolute; left: -1.6cqw; width: 3cqw; border-top: 2px solid var(--navy); }
.cu-h::before { top: 0; } .cu-h::after { bottom: 0; }
.cu-w::before, .cu-w::after { content: ''; position: absolute; top: -1.6cqw; height: 3cqw; border-left: 2px solid var(--navy); }
.cu-w::before { left: 0; } .cu-w::after { right: 0; }
/* yozuvlar chiziq yonida: bo'yi chapda, eni pastda */
.cu-h b, .cu-w b { position: absolute; font: 800 3cqw Montserrat, sans-serif; color: var(--navy); white-space: nowrap; }
.cu-h b { left: -3.6cqw; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); }
.cu-w b { top: 1.6cqw; left: 50%; transform: translateX(-50%); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; margin-bottom: 4cqw; }
.steps li { background: rgba(255,255,255,.55); border-radius: 2.5cqw; padding: 2.4cqw 1.6cqw; font-size: 2.6cqw; font-weight: 700; text-align: center; }
.steps b { display: block; font-size: 5cqw; font-weight: 900; }

.pt-stage { flex: 1; min-height: 0; position: relative; margin: 3cqw 0; display: flex; align-items: flex-end; justify-content: center; gap: 3cqw; }
.pt-stage img { position: relative; min-width: 0; max-width: 31%; height: 80%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 2cqw 3cqw rgba(0,0,0,.5)); }
.pt-stage .p2 { z-index: 1; } /* uchalasi ham 100 sm — bir xil balandlikda */
.pt-call { display: flex; align-items: center; gap: 3cqw; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 3cqw; padding: 3cqw; }
.pt-call > .ic { width: 10cqw; height: 10cqw; padding: 2.4cqw; border-radius: 50%; background: var(--yellow); color: var(--navy-2); }
.pt-call span { display: block; font-size: 2.6cqw; opacity: .75; margin-bottom: .6cqw; }
.pt-call a { display: block; font-size: 3.8cqw; font-weight: 800; color: var(--yellow); }
/* Nostandart o'lcham sahifasidagi raqam — sariq fonda to'q ranglarda */
.ad-yellow .steps { margin-bottom: 2.4cqw; }
.cu-call { margin-bottom: 4cqw; background: rgba(255,255,255,.55); border: 0; padding: 2.4cqw 3cqw; }
.cu-call > .ic { background: var(--navy-2); color: var(--yellow); }
.cu-call a { color: var(--navy-2); }

/* ---------- Buyurtma va aloqa ---------- */
.how { list-style: none; display: grid; gap: 3.5cqw; }
.how li { display: flex; gap: 3.5cqw; align-items: flex-start; }
.how > li > b { flex: none; width: 9cqw; height: 9cqw; border-radius: 50%; background: var(--yellow); color: var(--navy-2); display: grid; place-items: center; font-size: 4.2cqw; font-weight: 900; }
.how strong { display: block; font-size: 3.8cqw; color: var(--navy); }
.how span { font-size: 2.9cqw; line-height: 1.5; color: var(--muted); }
.qr-box { margin-top: auto; margin-bottom: 4cqw; display: flex; align-items: center; gap: 4cqw; background: var(--navy); color: #fff; border-radius: 3.5cqw; padding: 3.5cqw; }
.qr-box .qr { width: 24cqw; }
.qr-box span { display: block; font-size: 2.7cqw; opacity: .75; }
.qr-box b { font-size: 4.2cqw; color: var(--yellow); }

.ct { list-style: none; display: grid; gap: 1.5cqw; }
.ct a { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 3cqw; align-items: center; padding: 1.5cqw 3cqw; border-radius: 2.5cqw; background: #fff; border: 1px solid var(--line); transition: border-color .2s; }
.ct a:hover { border-color: var(--gold); }
.ct .ic { grid-row: span 2; width: 8cqw; height: 8cqw; padding: 1.8cqw; border-radius: 50%; background: var(--navy); color: var(--yellow); }
.ct span { font-size: 2.3cqw; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.ct b { font-size: 3.5cqw; color: var(--navy); }
.ct-qr { margin-top: auto; margin-bottom: 4cqw; display: flex; justify-content: center; gap: 8cqw; }
.ct-qr figure { width: 18cqw; text-align: center; }
.ct-qr .qr { border: 1px solid var(--line); }
.ct-qr figcaption { font-size: 2.5cqw; font-weight: 700; color: var(--navy); margin-top: 1.2cqw; }

@media (max-width: 640px) {
  .bar { padding: 10px 16px; }
  .bar-title { display: none; }
  .bar-cta { font-size: 13px; padding: 9px 14px; }
  .hint { display: none; }
  .ctrl { position: fixed; top: auto; bottom: 10px; transform: translateX(-50%); gap: 4px; z-index: 20; background: rgba(13,24,56,.85); padding: 6px; border-radius: 999px; }
  .stage { padding-bottom: 64px; }
  .book-wrap { width: min(100%, calc((100dvh - 120px) * 1.4141)); } /* telefonda ham ikki bet yonma-yon */
  .ctrl button { width: 38px; height: 38px; font-size: 16px; }
  .counter { min-width: 64px; }
}

/* Fon: sekin suzuvchi iliq yorug'lik dog'lari */
body::before, body::after { content: ""; position: fixed; z-index: -1; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(80px); pointer-events: none; animation: drift 24s ease-in-out infinite alternate; }
body::before { left: -20vmax; top: -25vmax; background: rgba(60,90,200,.35); }
body::after { right: -25vmax; bottom: -30vmax; background: rgba(247,196,31,.16); animation-delay: -12s; }
@keyframes drift { to { transform: translate(8vmax, 6vmax) scale(1.1); } }
@media (prefers-reduced-motion: reduce) { body::before, body::after, .book, .cv-open i { animation: none; } }


/* Rasmni kattalashtirish */
@keyframes fade { from { opacity: 0; } }
@media (max-width: 1100px) { .bar-title { display: none; } }

/* Po'lat turi almashtirgichi (304 / 201) */
.st { display: flex; align-items: center; gap: 1cqw; margin-top: 2cqw; position: relative; }
.st button { font-size: 2.6cqw; font-weight: 800; padding: 1cqw 2.6cqw; border-radius: 99px; border: .35cqw solid var(--yellow); color: var(--navy-2); background: #fff; transition: background .2s; }
.st button.on { background: var(--yellow); }
.st span { font-size: 2.4cqw; font-weight: 600; color: var(--muted); margin-left: 1cqw; }
.sw > button:disabled { opacity: .3; cursor: not-allowed; }

/* 304 va 201 taqqoslash */
.steel { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; margin-top: 3.5cqw; }
.steel-c { position: relative; border-radius: 3cqw; padding: 4.5cqw 3cqw 3cqw; background: #fff; border: .35cqw solid var(--line); }
.steel-c.prem { background: var(--navy); color: #fff; border-color: var(--navy); }
.steel-tag { position: absolute; top: -2cqw; left: 3cqw; font-size: 2.2cqw; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: .8cqw 2cqw; border-radius: 99px; background: var(--yellow); color: var(--navy-2); }
.steel-c:not(.prem) .steel-tag { background: var(--navy); color: #fff; }
.steel-c b { display: block; font-size: 6.5cqw; font-weight: 900; line-height: 1; color: var(--navy); }
.steel-c.prem b { color: var(--yellow); }
.steel-c ul { list-style: none; margin-top: 2cqw; display: grid; gap: 1.2cqw; font-size: 2.6cqw; line-height: 1.3; }
.steel-c li { padding-left: 3cqw; position: relative; }
.steel-c li::before { content: ""; position: absolute; left: 0; top: .9cqw; width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: var(--gold); }
.steel-img { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; margin: 3cqw 0 4cqw; }
.steel-img figure { min-height: 0; display: flex; flex-direction: column; align-items: center; border-radius: 3cqw; padding: 2.5cqw; background: radial-gradient(ellipse at 50% 40%, #fff, #ece6da 75%); }
.steel-img img { flex: 1; min-height: 0; width: 100%; object-fit: contain; filter: drop-shadow(1cqw 1.8cqw 1.4cqw rgba(60,50,30,.25)); }
.steel-img figcaption { font-size: 2.6cqw; font-weight: 800; color: var(--navy); margin-top: 1cqw; }
/* Kitob yonidagi katta ← → tugmalar (varaqlash faqat shular orqali) */
.side { position: fixed; top: 50%; transform: translateY(-50%); z-index: 10; width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 24px; font-weight: 700; backdrop-filter: blur(6px); transition: background .2s, color .2s, transform .2s; }
.side:hover { background: var(--yellow); color: var(--navy-2); transform: translateY(-50%) scale(1.08); }
.side-l { left: 14px; }
.side-r { right: 14px; }
.at-start .side-l, .at-end .side-r { opacity: .25; pointer-events: none; }
@media (max-width: 720px) { .side { width: 42px; height: 42px; font-size: 18px; top: auto; bottom: 74px; transform: none; } .side:hover { transform: none; } }

/* ---------- Mahsulot sahifasi: qorong'i reklama uslubi ---------- */
.nx .pg { background: radial-gradient(ellipse at 78% 38%, #203574 0%, #0f1a40 48%, #070c20 100%); color: #fff; padding: 6cqw 7cqw 9cqw; }
.nx-logo { width: 21cqw; mix-blend-mode: screen; position: relative; margin: -1.5cqw 0 0 -1.5cqw; }
.nx-num { position: absolute; right: 5cqw; top: 2cqw; font-size: 20cqw; font-weight: 900; line-height: 1; color: rgba(255,255,255,.05); pointer-events: none; }
.nx-text { position: relative; z-index: 2; width: 54%; margin-top: 3cqw; }
.nx-kick { color: #e0bf6e; font-weight: 800; font-size: 2.7cqw; letter-spacing: .1em; text-transform: uppercase; }
.nx-kick::after { content: ""; display: block; width: 9cqw; height: .7cqw; border-radius: 1cqw; background: var(--yellow); margin-top: 1.6cqw; }
.nx-title { font-size: 10cqw; font-weight: 800; line-height: 1; margin-top: 3cqw; letter-spacing: -.01em; }
.nx-sub { font-size: 3cqw; color: rgba(255,255,255,.62); line-height: 1.45; margin-top: 2.5cqw; }
.nx .st { margin-top: 3cqw; }
.nx .st button { background: transparent; color: #fff; }
.nx .st button.on { background: var(--yellow); color: var(--navy-2); }
.nx .st span { color: rgba(255,255,255,.5); }
.pp-stage.nx-stage { position: absolute; right: 1cqw; top: 11cqw; width: 50%; height: 58cqw; margin: 0; padding: 0; border-radius: 0; overflow: visible; background: radial-gradient(closest-side, rgba(90,130,255,.28), transparent); box-shadow: none; }
.nx-stage .pp-img { filter: drop-shadow(0 3cqw 3cqw rgba(0,0,0,.55)); }
.nx-chips { margin-top: auto; display: flex; flex-wrap: wrap; gap: 1.4cqw; position: relative; z-index: 2; }
.nx-chips span { font-size: 2.3cqw; font-weight: 600; padding: 1cqw 2.3cqw; border-radius: 99px; border: .25cqw solid rgba(255,255,255,.28); color: rgba(255,255,255,.9); }
.nx .sw { margin: 2.6cqw 0 0; }
.nx .sw > button, .nx .sw > span { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.18); }
.nx .sw > button.on { border-color: var(--yellow); background: rgba(247,196,31,.14); }
.nx-lbl { margin: 2.6cqw 0 1.3cqw; font-size: 2.3cqw; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #e0bf6e; }
.nx-sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(10cqw, 1fr)); gap: 1.3cqw; }
.nx-sizes button { background: #fff; color: var(--muted); border-radius: 1.8cqw; padding: 1.3cqw .4cqw 1.1cqw; display: grid; justify-items: center; font-size: 2cqw; font-weight: 600; line-height: 1.15; border: .4cqw solid #fff; transition: transform .15s, background .2s; }
.nx-sizes button b { font-size: 4.6cqw; font-weight: 900; color: var(--navy); line-height: 1; }
.nx-sizes button small { font-size: 1.8cqw; color: #9aa0b5; }
.nx-sizes button:hover { transform: translateY(-.4cqw); }
.nx-sizes button.on { background: var(--yellow); border-color: var(--yellow); color: var(--navy-2); }
.nx-sizes button.on small { color: rgba(13,24,56,.7); }
.nx-sizes button:disabled { opacity: .25; cursor: not-allowed; transform: none; }
.nx-foot { position: absolute; left: 7cqw; right: 7cqw; bottom: 3.2cqw; display: flex; align-items: center; gap: 4cqw; font-size: 2.6cqw; font-weight: 700; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.8cqw; }
.nx-foot span:nth-child(2) { color: rgba(255,255,255,.6); font-weight: 600; }
.nx-foot b { margin-left: auto; color: var(--yellow); }

.nx .st button { white-space: nowrap; padding: 1cqw 2.2cqw; }
.nx-sizes.many { grid-template-columns: repeat(6, 1fr); gap: .9cqw; }
.nx-sizes.many button { padding: 1.1cqw .2cqw; border-radius: 1.2cqw; }
.nx-sizes.many button b { font-size: 2.5cqw; }
.pp-stage.nx-stage.duga { width: 50%; height: 42cqw; top: 16cqw; }
.nx-stage.duga + .nx-chips, .nx-text { pointer-events: none; }
.nx-text .st { pointer-events: auto; }

/* ---------- Oq orqa fon (kitob atrofi) ---------- */
body { background: #fff; }
body::before { background: rgba(60,90,200,.08); }
body::after { background: rgba(247,196,31,.12); }
.bar, .ctrl { color: var(--navy); }
.bar { border-bottom: 1px solid #eceef4; background: rgba(255,255,255,.85); backdrop-filter: blur(8px); }
.brand img { mix-blend-mode: normal; border-radius: 8px; }
.bar-title { color: var(--navy); }
.ctrl button { background: #f0f2f7; color: var(--navy); }
.ctrl button:hover { background: #e2e6f0; }
.side { background: #fff; color: var(--navy); box-shadow: 0 6px 20px rgba(13,24,56,.15); border: 1px solid #e6e9f1; }
.book { filter: drop-shadow(0 24px 30px rgba(13,24,56,.22)); }
@media (max-width: 720px) { .ctrl { background: rgba(255,255,255,.95); box-shadow: 0 6px 20px rgba(13,24,56,.15); } }
/* Duga rasmi keng va oq — sarlavha ustiga tushmasin */
.pg:has(.nx-stage.duga) .nx-title { font-size: 8cqw; }
.pp-stage.nx-stage.duga { top: 34cqw; height: 34cqw; width: 46%; }

/* ---------- Mahsulot sahifalari: oq fon ---------- */
.brand img { height: 30px; border-radius: 0; }
.nx .pg { background: radial-gradient(ellipse at 78% 36%, #e9eef9 0%, #f7f8fc 45%, #fff 75%); color: var(--navy); }
.nx-logo { mix-blend-mode: normal; width: 19cqw; margin: 0; }
.nx-num { color: rgba(19,35,91,.05); }
.nx-kick { color: var(--gold); }
.nx-sub { color: var(--muted); }
.nx .st button { color: var(--navy); border-color: var(--yellow); }
.nx .st span { color: var(--muted); }
.pp-stage.nx-stage { background: radial-gradient(closest-side, rgba(110,140,230,.16), transparent); }
.nx-stage .pp-img { filter: drop-shadow(0 2.4cqw 2.2cqw rgba(19,35,91,.28)); }
.nx-chips span { border-color: rgba(19,35,91,.18); color: var(--navy); background: #fff; }
.nx .sw > button, .nx .sw > span { background: #fff; color: var(--navy); border-color: #e3e6ef; }
.nx .sw > button.on { border-color: var(--navy); background: #fff; }
.nx-lbl { color: var(--gold); }
.nx-sizes button { background: #f1f3f8; border-color: #f1f3f8; }
.nx-sizes button:hover { border-color: #d9deea; }
.nx-sizes button.on { background: var(--yellow); border-color: var(--yellow); }
.nx-foot { border-top-color: rgba(19,35,91,.1); color: var(--navy); }
.nx-foot span:nth-child(2) { color: var(--muted); }
.nx-foot b { color: var(--navy); }
.nx-title:empty { display: none; }

/* Buyurtma va aloqa: tepada 3 qadam + sayt QR, pastda har bir kontakt uchun QR karta (3 × 2) */
.order .pg { padding-top: 5cqw; }
.order .h2 { font-size: 5.8cqw; margin: .6cqw 0 1.8cqw; }
.ord { display: grid; grid-template-columns: 1fr 25cqw; gap: 3cqw; align-items: center; }
.ord .how { gap: 1.4cqw; }
.ord .how li { gap: 2.4cqw; }
.ord .how > li > b { width: 6cqw; height: 6cqw; font-size: 3cqw; }
.ord .how strong { font-size: 2.8cqw; }
.ord .how span { display: block; font-size: 2.3cqw; line-height: 1.35; }
.ord .qr-box { margin: 0; flex-direction: column; text-align: center; gap: 1.4cqw; padding: 2.4cqw; }
.ord .qr-box .qr { width: 18cqw; padding: 1.2cqw; }
.ord .qr-box span { font-size: 2.2cqw; }
.ord .qr-box b { font-size: 2.6cqw; }
.ct-kick { margin-top: 3cqw; }
.order .lead { font-size: 2.6cqw; margin: -.8cqw 0 2cqw; }
/* Bitta katta QR, o'rtada */
/* padding = QR atrofidagi oq hoshiya: kamera o'qishi uchun kamida 4 katakcha bo'lishi kerak */
/* A4 dan kalta betlarda (160×200, 60×70) QR pastki qatorga tushib kesilmasin — kenglik bet balandligiga qarab kichrayadi */
.ct-one { width: min(56cqw, 100cqh - 80cqw); margin: 0 auto; padding: 4.4cqw; border-radius: 3cqw; border: 1px solid var(--line); border-top: .9cqw solid var(--gold); box-shadow: 0 .8cqw 2cqw rgba(19,35,91,.07); }
/* Sushilka rasmi o'ng chetga yopishadi va sarlavhaga tegmaydi */
.pp-stage.nx-stage:not(.duga) { justify-content: flex-end; }
.nx-stage:not(.duga) .pp-img { max-width: 82%; }
/* Pastda ikkala telefon raqami ustma-ust */
.nx .pg { padding-bottom: 12cqw; }
.nx-tel { line-height: 1.35; }
/* O'lchamlar varag'i: rasm tepada, ostida aloqa qatori */
.spec .pg { display: flex; flex-direction: column; background: #fff; }
.spec-img { flex: 1; min-height: 0; height: auto; object-fit: contain; }
.spec .nx-foot { position: static; margin: 0 7cqw; padding: 1.6cqw 0 3cqw; color: var(--navy); border-top: 1px solid rgba(19,35,91,.1); }
.spec .nx-foot span:nth-child(2) { color: var(--muted); }
.spec .nx-foot b { color: var(--navy); }

/* Dugalar: istalgan rangga bo'yash */
.paint { display: flex; align-items: center; gap: 2.6cqw; margin-top: 2.4cqw; padding: 1.8cqw 2.6cqw; border-radius: 2.6cqw; background: linear-gradient(100deg, #fff6d6, #fffdf6 55%, #fff); border: .3cqw solid rgba(247,196,31,.7); box-shadow: 0 .8cqw 2cqw rgba(201,162,75,.15); }
.paint-dots { display: flex; flex: none; padding-left: 1.4cqw; }
.paint-dots i { width: 5.4cqw; height: 5.4cqw; border-radius: 50%; margin-left: -1.4cqw; border: .5cqw solid #fff; box-shadow: 0 .4cqw 1cqw rgba(19,35,91,.2); }
.paint-dots .more { display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 3cqw; background: var(--navy); color: var(--yellow); }
.paint > span:last-child { display: grid; font-size: 2.2cqw; color: var(--muted); line-height: 1.35; }
.paint b { font-size: 3.1cqw; font-weight: 800; color: var(--navy); }
.pp-stage.nx-stage.duga { top: 31cqw; height: 29cqw; }
/* Mat oltin yaltiroq ko'rinmasin: narvonlar ostida to'q chiziq qoldirmaydigan keng, yumshoq soya */
.ad-gold-stage img, .cv-stage img { filter: drop-shadow(0 4cqw 5cqw rgba(0,0,0,.32)); }
/* Telefon yonidagi tarmoq belgilari (94 — Instagram/Telegram/Facebook/WhatsApp, 99 — WeChat) */
.nx-tel { display: grid; gap: .6cqw; }
.tel-row { display: flex; align-items: center; gap: 1.4cqw; white-space: nowrap; }
.tel-apps { display: flex; gap: .6cqw; }
.tel-apps i { display: grid; place-items: center; width: 3.4cqw; height: 3.4cqw; border-radius: 50%; background: var(--b); color: #fff; }
.tel-apps .ic { width: 2.2cqw; height: 2.2cqw; stroke-width: 2.2; }
.nx-foot .nx-tel span.tel-row { color: var(--navy); font-weight: 700; }
/* @bush_uz ikkinchi raqam (+998 99 632 44 44) qatorida turadi */
.nx-foot > span:nth-child(2) { align-self: flex-end; line-height: 1.35; padding-bottom: .2cqw; margin-left: -11cqw; }

/* 1 ta / 2 ta quloqli sushilka varag'i */
.nx-chips .ear-chip { background: var(--yellow); border-color: var(--yellow); color: var(--navy-2); font-weight: 800; }

/* Aloqa oynasi: "Biz bilan bog'laning" — 39-sahifadagi kabi rangli kartalar (2 ustun) */
.cw { position: fixed; inset: 0; z-index: 50; display: flex; justify-content: center; align-items: flex-start; padding: 16px; background: rgba(7,12,32,.72); overflow-y: auto; }
.cw[hidden] { display: none; }
.cw-card { position: relative; width: 100%; max-width: 480px; margin: auto 0; padding: 24px 16px 16px; border-radius: 18px; background: var(--paper); color: var(--ink); }
.cw-x { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: #ece6d8; color: var(--navy); font-size: 16px; }
.cw-logo { display: block; width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; object-fit: cover; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.cw-card .kick { font-size: 12px; }
.cw-card h2 { margin: 4px 0 6px; font-size: 30px; font-weight: 900; line-height: 1.1; color: var(--navy); }
.cw-card h2 em { font-family: "Playfair Display", serif; font-weight: 600; color: var(--gold); }
.cw-card p { margin-bottom: 18px; font-size: 14px; color: var(--muted); }
.cw-qr { width: 360px; max-width: 100%; margin: 0 auto 6px; padding: 24px; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 14px; }

/* O'ng betdagi (o'lcham varag'i ostidagi) rang tanlagich */
.spec-sw { padding: 1.2cqw 7cqw 0; }
.spec-sw .sw { justify-content: center; margin: 0; gap: 1.6cqw; }
.spec-sw .sw > button { background: #fff; color: var(--navy); border-color: #e3e6ef; }
.spec-sw .sw > button.on { border-color: var(--navy); }
.spec-sw .paint { margin: 0 auto; max-width: 78cqw; }
/* Duga varag'i: rang bloki rasm ichida (varaq 960×1200; o'lcham qatori ostidagi bo'sh joy) */
.spec-box { flex: 1; min-height: 0; display: flex; justify-content: center; }
.spec-frame { position: relative; height: 100%; max-width: 100%; aspect-ratio: 960 / 1200; container-type: inline-size; }
.spec-frame .spec-img { display: block; width: 100%; height: 100%; }
.spec-paint { position: absolute; left: 3.3%; top: 77.9%; width: 62.1%; height: 6.5%; }
/* M varag'idagi to'q ko'k yo'lak bilan bir xil */
.mstrip { display: flex; align-items: center; gap: 2.4cqw; height: 100%; padding: 0 2.2cqw; border-radius: 1.6cqw; background: #13235b; box-shadow: 0 .6cqw 1.4cqw rgba(19,35,91,.25); }
.mstrip .paint-dots { padding-left: 1.1cqw; }
.mstrip .paint-dots i { width: 3.8cqw; height: 3.8cqw; margin-left: -1.1cqw; border: .3cqw solid #13235b; box-shadow: none; }
.mstrip > span:last-child { display: grid; line-height: 1.25; }
.mstrip b { font-size: 2.3cqw; font-weight: 800; color: #fff; white-space: nowrap; }
.mstrip em { font-style: normal; font-size: 1.4cqw; font-weight: 700; color: #f7c41f; white-space: nowrap; }
.spec-paint .paint { margin: 0; gap: 2cqw; padding: 1.2cqw 2.2cqw; border-radius: 1.6cqw; border-width: .25cqw; }
.spec-paint .paint-dots i { width: 4.2cqw; height: 4.2cqw; margin-left: -1.1cqw; border-width: .35cqw; }
.spec-paint .paint-dots .more { font-size: 2.4cqw; }
.spec-paint .paint b { font-size: 2.6cqw; }
.spec-paint .paint > span:last-child { font-size: 1.8cqw; line-height: 1.3; }
