/* =========================================================
   Voltus Electro — asosiy uslublar
   Ranglar: logo qizili #E60005 + ko'k #2A5FEB / #7493E8
   ========================================================= */
:root {
  --red: #E60005;
  --red-2: #FF3B3F;
  --blue: #2A5FEB;
  --blue-2: #7493E8;
  --grad: linear-gradient(135deg, #2A5FEB 0%, #7493E8 100%);
  --grad-hot: linear-gradient(135deg, #2A5FEB 0%, #7493E8 55%, #E60005 130%);
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-head: "Unbounded", "Manrope", system-ui, sans-serif;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-h: 76px;

  /* light */
  --bg: #F3F6FD;
  --bg-2: #E8EEFC;
  --text: #0A1124;
  --muted: #56607A;
  --line: rgba(42, 95, 235, .14);
  --glass: rgba(255, 255, 255, .58);
  --glass-2: rgba(255, 255, 255, .78);
  --glass-border: rgba(255, 255, 255, .85);
  --glass-shadow: 0 10px 40px -12px rgba(42, 95, 235, .25), inset 0 1px 0 rgba(255, 255, 255, .9);
  --blob-1: rgba(42, 95, 235, .35);
  --blob-2: rgba(116, 147, 232, .45);
  --blob-3: rgba(230, 0, 5, .16);
  --grid: rgba(42, 95, 235, .08);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #050914;
  --bg-2: #0A1124;
  --text: #EEF2FF;
  --muted: #98A3C4;
  --line: rgba(116, 147, 232, .16);
  --glass: rgba(18, 27, 56, .45);
  --glass-2: rgba(22, 33, 68, .7);
  --glass-border: rgba(116, 147, 232, .2);
  --glass-shadow: 0 20px 60px -20px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06);
  --blob-1: rgba(42, 95, 235, .45);
  --blob-2: rgba(116, 147, 232, .22);
  --blob-3: rgba(230, 0, 5, .22);
  --grid: rgba(116, 147, 232, .07);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65;
  background: var(--bg); color: var(--text); overflow-x: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; font-weight: 600; }
p { margin: 0 0 1em; }
::selection { background: var(--blue); color: #fff; }
.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }

/* ---------- glass ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-radius: var(--radius);
}

/* ---------- tugmalar ---------- */
.btn {
  --bx: 50%; --by: 50%;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap; isolation: isolate; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn::after { /* yorug'lik dog'i */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(120px circle at var(--bx) var(--by), rgba(255, 255, 255, .45), transparent 60%);
}
.btn:hover::after { opacity: 1; }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -8px rgba(42, 95, 235, .65); }
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(135deg, var(--blue) 0%, var(--red) 140%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(42, 95, 235, .8), 0 0 0 4px rgba(116, 147, 232, .18); }
.btn-primary:hover::before { opacity: 1; }
.btn-ghost { background: var(--glass); border-color: var(--line); color: var(--text); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-ghost:hover { border-color: var(--blue-2); color: var(--blue); transform: translateY(-2px); box-shadow: 0 10px 30px -12px rgba(42, 95, 235, .5); }
[data-theme="dark"] .btn-ghost:hover { color: #fff; background: rgba(42, 95, 235, .2); }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-sm { padding: 11px 18px; font-size: 14px; }

.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform .3s var(--ease), border-color .3s, background-color .3s, box-shadow .3s;
}
.icon-btn:hover { transform: translateY(-2px) rotate(-8deg); border-color: var(--blue-2); box-shadow: 0 8px 24px -8px rgba(42, 95, 235, .6); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- kursor ---------- */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; border-radius: 50%; opacity: 0; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--red); box-shadow: 0 0 12px var(--red); transition: opacity .3s, width .25s, height .25s; }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid var(--blue-2);
  transition: opacity .3s, width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s, border-color .35s;
}
.has-cursor .cursor-dot, .has-cursor .cursor-ring { opacity: 1; }
.cursor-hover .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(116, 147, 232, .14); border-color: var(--blue); }
.cursor-down .cursor-ring { width: 28px; height: 28px; margin: -14px 0 0 -14px; border-color: var(--red); }
.spark-burst { position: fixed; width: 4px; height: 4px; border-radius: 50%; pointer-events: none; z-index: 9998; background: var(--blue-2); animation: burst .6s var(--ease) forwards; }
@keyframes burst { to { transform: translate(var(--x), var(--y)) scale(0); opacity: 0; } }

/* ---------- scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1001; background: var(--grad-hot); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- navbar ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 1000; height: var(--nav-h); display: flex; align-items: center; transition: height .4s var(--ease), background-color .4s, box-shadow .4s, transform .5s var(--ease); }
.nav.scrolled {
  --nav-h: 64px; background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(0, 0, 0, .4);
}
.nav.hide { transform: translateY(-100%); }
.nav-inner { display: flex; align-items: center; gap: 18px; }
.brand { flex: none; display: flex; align-items: center; }
.brand img { height: 38px; width: auto; transition: transform .4s var(--ease); }
.brand:hover img { transform: scale(1.04); }
.logo-on-dark { display: none !important; }
[data-theme="dark"] .logo-on-dark { display: block !important; }
[data-theme="dark"] .logo-on-light { display: none !important; }
.nav-links { display: flex; gap: 4px; margin-inline: auto; padding: 5px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav-links a { position: relative; white-space: nowrap; flex: none; padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .3s, background-color .3s; }
.nav-links a:hover { color: var(--text); background: rgba(116, 147, 232, .14); }
.nav-links a.active { color: #fff; background: var(--grad); box-shadow: 0 6px 18px -6px rgba(42, 95, 235, .7); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-weight: 700; font-size: 14px; padding: 10px 14px; border-radius: 999px; transition: color .3s, background-color .3s; }
.nav-phone svg { width: 18px; height: 18px; color: var(--red); }
.nav-phone:hover { color: var(--blue); background: rgba(116, 147, 232, .12); }
.lang-switch { display: flex; padding: 4px; gap: 2px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.lang-switch a { min-width: 36px; padding: 7px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-align: center; color: var(--muted); transition: color .3s, background-color .3s, transform .3s var(--ease); }
.lang-switch a:hover { color: var(--text); background: rgba(116, 147, 232, .16); transform: translateY(-1px); }
.lang-switch a.active { color: #fff; background: linear-gradient(135deg, var(--red), #ff4a4e); box-shadow: 0 6px 16px -6px rgba(230, 0, 5, .7); }
.theme-toggle .i-moon { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-moon { display: block; }
.burger { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0; }
.burger:hover { transform: translateY(-2px); }
.burger span { display: block; flex: none; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transform-origin: center; transition: transform .4s var(--ease), opacity .3s; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 999; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 90px 28px 40px;
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.mobile-menu a:not(.btn) { font-family: var(--font-head); font-size: 26px; padding: 8px 0; opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s; transition-delay: calc(var(--i) * .05s); }
.mobile-menu a:not(.btn):hover { color: var(--blue); }
.mobile-menu .btn { margin-top: 20px; align-self: flex-start; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open .mobile-menu a { opacity: 1; transform: none; }
.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 90px; overflow: hidden; }
.hero-bg, .page-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.grid-lines {
  position: absolute; inset: -2px;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 40%, transparent 100%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; animation: float 18s ease-in-out infinite alternate; }
.b1 { width: 520px; height: 520px; background: var(--blob-1); top: -140px; right: -80px; }
.b2 { width: 440px; height: 440px; background: var(--blob-2); bottom: -160px; left: -120px; animation-delay: -6s; }
.b3 { width: 300px; height: 300px; background: var(--blob-3); top: 40%; left: 45%; animation-delay: -11s; }
@keyframes float { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, -30px) scale(1.08); } 100% { transform: translate(-30px, 30px) scale(.95); } }
.sparks { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); margin-bottom: 24px;
}
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(230, 0, 5, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(230, 0, 5, 0); } 100% { box-shadow: 0 0 0 0 rgba(230, 0, 5, 0); } }
.hero h1 { font-size: clamp(32px, 4.5vw, 58px); font-weight: 700; margin-bottom: 22px; }
.hero h1 .hl { background: var(--grad-hot); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); max-width: 560px; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-mini { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-mini div { display: flex; flex-direction: column; }
.hero-mini b { font-family: var(--font-head); font-size: 28px; font-weight: 600; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-mini span { font-size: 13px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.hero-visual { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; justify-self: center; }
.model-frame { position: absolute; inset: 9%; border-radius: 40px; overflow: hidden; display: grid; place-items: center; }
.model-frame::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 60%, rgba(42, 95, 235, .35), transparent 65%); }
.hero-model { width: 100%; height: 100%; --poster-color: transparent; background: transparent; position: relative; }
.hero-fallback { position: relative; width: 62%; animation: bob 6s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(230, 0, 5, .35)); }
.hero-fallback img { width: 100%; height: auto; }
@keyframes bob { 50% { transform: translateY(-16px) rotate(-3deg); } }
.model-label { position: absolute; left: 18px; bottom: 16px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; background: var(--glass-2); border: 1px solid var(--glass-border); }
.orbit { position: absolute; border-radius: 50%; border: 1px dashed var(--line); }
.o1 { inset: 0; animation: spin 40s linear infinite; }
.o2 { inset: 4%; border-style: solid; border-color: transparent; border-top-color: var(--blue-2); border-right-color: rgba(230, 0, 5, .6); animation: spin 9s linear infinite; }
.o1::after { content: ""; position: absolute; top: 50%; left: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 16px var(--red); }
@keyframes spin { to { transform: rotate(360deg); } }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: 26px; height: 42px; border: 2px solid var(--line); border-radius: 20px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--blue-2); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- reveal (scroll effekt) ---------- */
.reveal { opacity: 0; transform: translateY(40px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- bo'limlar ---------- */
.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head > div:first-child { max-width: 680px; }
.section-head.center { justify-content: center; text-align: center; }
.section-head p { color: var(--muted); margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
[data-theme="dark"] .eyebrow { color: var(--blue-2); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad-hot); border-radius: 2px; }
.section h2, .h2 { font-size: clamp(28px, 3.6vw, 46px); }
.h2-sm { font-size: clamp(22px, 2.4vw, 30px); margin: 0; }

/* afzalliklar */
.advantages { padding: 10px 0 20px; margin-top: -40px; position: relative; z-index: 2; }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.adv { padding: 26px; transition: transform .45s var(--ease), border-color .3s; }
.adv:hover { transform: translateY(-6px); border-color: var(--blue-2); }
.adv-ico { width: 44px; height: 44px; padding: 10px; border-radius: 14px; color: #fff; background: var(--grad); margin-bottom: 16px; box-shadow: 0 10px 24px -10px rgba(42, 95, 235, .8); }
.adv:nth-child(2n) .adv-ico { background: linear-gradient(135deg, var(--red), #ff5a5e); box-shadow: 0 10px 24px -10px rgba(230, 0, 5, .7); }
.adv h3 { font-size: 17px; }
.adv p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* slayder */
.slider { position: relative; margin-inline: -16px; }
.slider-track {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 26px 16px 40px; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.slider-track > * { scroll-snap-align: start; flex: none; }
.slider-nav { display: flex; gap: 10px; flex: none; }
.slider-btn {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line);
  background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform .35s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .3s, opacity .3s;
}
.slider-btn svg { width: 22px; height: 22px; }
.slider-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: scale(1.08); box-shadow: 0 10px 26px -8px rgba(42, 95, 235, .8); }
.slider-btn:disabled { opacity: .35; pointer-events: none; }

/* kategoriya kartalari (tilt + glass) */
.cat-card { width: clamp(270px, 28vw, 340px); perspective: 1000px; }
.tilt-inner {
  position: relative; height: 100%; padding: 28px; display: flex; flex-direction: column; overflow: hidden;
  transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease), box-shadow .4s, border-color .4s;
  border-radius: 26px;
}
.tilt-inner::before { /* rangli chegara nuri */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(116, 147, 232, .9), transparent 40%, transparent 60%, rgba(230, 0, 5, .7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.tilt:hover .tilt-inner { transition: transform .12s linear, box-shadow .4s, border-color .4s; box-shadow: 0 30px 60px -25px rgba(42, 95, 235, .6); }
.tilt:hover .tilt-inner::before { opacity: 1; }
.glare { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .4s; background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .28), transparent 45%); mix-blend-mode: overlay; }
[data-theme="light"] .glare { background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .8), transparent 45%); mix-blend-mode: normal; }
.tilt:hover .glare { opacity: 1; }
.cat-media { transform: translateZ(40px); width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; margin-bottom: 22px; background: var(--grad); color: #fff; box-shadow: 0 16px 30px -12px rgba(42, 95, 235, .8); overflow: hidden; }
.cat-media img { width: 100%; height: 100%; object-fit: cover; }
.cat-media:has(img) { width: 100%; height: 180px; border-radius: 18px; background: var(--bg-2); }
.cat-ico { width: 38px; height: 38px; }
.cat-num { position: absolute; top: 22px; right: 26px; font-family: var(--font-head); font-size: 44px; font-weight: 700; color: transparent; -webkit-text-stroke: 1px var(--line); transform: translateZ(20px); }
.cat-card h3 { font-size: 21px; transform: translateZ(30px); }
.cat-card p { color: var(--muted); font-size: 14.5px; flex: 1; transform: translateZ(20px); }
.cat-card .btn { align-self: flex-start; transform: translateZ(35px); }
.cat-card .btn:hover { transform: translateZ(35px) translateY(-2px); }

/* biz haqimizda */
.about-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.about-text p { color: var(--muted); font-size: 16.5px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat { padding: 28px; position: relative; overflow: hidden; transition: transform .45s var(--ease); }
.stat:hover { transform: translateY(-6px); }
.stat b { font-family: var(--font-head); font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat small { font-family: var(--font-head); font-size: 20px; margin-left: 4px; color: var(--blue-2); }
.stat span { display: block; margin-top: 6px; color: var(--muted); font-weight: 600; font-size: 14px; }
.stat.accent { background: linear-gradient(135deg, rgba(42, 95, 235, .9), rgba(116, 147, 232, .85)); border-color: transparent; }
.stat.accent b, .stat.accent small, .stat.accent span { color: #fff; -webkit-text-fill-color: #fff; }
.stat::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, rgba(116, 147, 232, .3), transparent 70%); }
.clients { margin-top: 70px; }
.clients h3 { font-size: 22px; margin-bottom: 22px; }
.client-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.client { padding: 22px; display: flex; flex-direction: column; gap: 4px; position: relative; overflow: hidden; }
.client b { font-family: var(--font-head); font-size: 26px; font-weight: 600; }
.client span { color: var(--muted); font-weight: 600; font-size: 14px; }
.client .bar { margin-top: 14px; height: 6px; border-radius: 6px; background: var(--line); position: relative; overflow: hidden; }
.client .bar::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: inherit; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.6s var(--ease) .3s; }
.clients.in .bar::after { transform: scaleX(1); }
.client.total { background: linear-gradient(135deg, rgba(230, 0, 5, .9), rgba(255, 70, 74, .85)); border-color: transparent; color: #fff; }
.client.total span { color: rgba(255, 255, 255, .85); }
.client.total .bar { background: rgba(255, 255, 255, .25); }
.client.total .bar::after { background: #fff; }
.branches { margin-top: 80px; }
.branch { width: clamp(270px, 30vw, 380px); overflow: hidden; padding: 0; transition: transform .45s var(--ease), border-color .3s; }
.branch:hover { transform: translateY(-8px); border-color: var(--blue-2); }
.branch-media { position: relative; height: 200px; overflow: hidden; }
.branch-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.branch:hover .branch-media img { transform: scale(1.08); }
.branch-ph { height: 100%; display: grid; place-items: center; align-content: center; gap: 8px; background: var(--grad); color: #fff; font-family: var(--font-head); font-size: 26px; }
.branch-ph svg { width: 40px; height: 40px; opacity: .85; }
.branch-tag { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; background: rgba(5, 9, 20, .55); color: #fff; backdrop-filter: blur(8px); }
.branch-body { padding: 22px 24px 26px; }
.branch-body h4 { font-size: 20px; }
.branch-body p { display: flex; gap: 10px; color: var(--muted); font-size: 14.5px; margin-bottom: 8px; }
.branch-body p svg { width: 18px; height: 18px; flex: none; color: var(--red); margin-top: 3px; }
.branch-body .btn { margin-top: 8px; }

/* yangiliklar */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { overflow: hidden; padding: 0; transition: transform .45s var(--ease), border-color .3s, box-shadow .4s; }
.news-card:hover { transform: translateY(-8px); border-color: var(--blue-2); box-shadow: 0 30px 60px -30px rgba(42, 95, 235, .6); }
.news-link { display: flex; flex-direction: column; height: 100%; }
.news-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.news-card:hover .news-media img { transform: scale(1.07); }
.news-ph { height: 100%; display: grid; place-items: center; background: var(--grad); color: #fff; }
.news-ph svg { width: 54px; height: 54px; opacity: .8; }
.news-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.news-body time { font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
[data-theme="dark"] .news-body time { color: var(--blue-2); }
.news-body h3 { font-size: 18px; line-height: 1.35; }
.news-body p { color: var(--muted); font-size: 14.5px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--blue); }
[data-theme="dark"] .more { color: var(--blue-2); }
.more svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.news-card:hover .more svg { transform: translateX(5px); }
.empty { padding: 50px; text-align: center; color: var(--muted); }
.empty svg { width: 46px; height: 46px; color: var(--blue-2); margin: 0 auto 12px; }

/* fikrlar */
.review { width: clamp(280px, 32vw, 400px); padding: 30px; margin: 0; display: flex; flex-direction: column; position: relative; transition: transform .45s var(--ease), border-color .3s; }
.review:hover { transform: translateY(-6px); border-color: var(--blue-2); }
.review .q { position: absolute; top: 24px; right: 26px; width: 40px; height: 40px; color: var(--blue-2); opacity: .25; }
.stars { display: flex; gap: 3px; margin-bottom: 16px; }
.stars span { width: 20px; height: 20px; }
.stars svg { width: 100%; height: 100%; fill: var(--line); }
.stars .on svg { fill: #FFB020; filter: drop-shadow(0 2px 6px rgba(255, 176, 32, .5)); }
.review blockquote { margin: 0 0 24px; font-size: 16px; line-height: 1.7; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.review figcaption img, .avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--blue-2); }
.avatar { display: grid; place-items: center; background: var(--grad); color: #fff; font-family: var(--font-head); font-size: 20px; }
.review figcaption b { display: block; }
.review figcaption small { color: var(--muted); font-size: 13px; }

/* hamkorlar karuseli */
.carousel { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.carousel-track { display: flex; gap: 20px; padding: 12px 0; will-change: transform; }
.partner { flex: none; width: 180px; height: 96px; display: grid; place-items: center; padding: 18px 24px; border-radius: 18px; transition: transform .4s var(--ease), border-color .3s; }
.partner img { max-height: 54px; width: auto; object-fit: contain; filter: grayscale(1) opacity(.7); transition: filter .4s; }
[data-theme="dark"] .partner img { filter: grayscale(1) brightness(1.6) opacity(.75); }
.partner:hover { transform: translateY(-4px); border-color: var(--blue-2); }
.partner:hover img { filter: none; }
span.partner { cursor: default; }

/* bog'lanish */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.c-card { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 18px; transition: transform .4s var(--ease), border-color .3s; }
a.c-card:hover { transform: translateY(-4px); border-color: var(--blue-2); }
.c-card > svg { width: 46px; height: 46px; padding: 12px; flex: none; border-radius: 14px; background: var(--grad); color: #fff; }
.c-card small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.c-card b { font-size: 15px; word-break: break-word; }
.contact-cta { overflow: hidden; display: flex; flex-direction: column; padding: 0; }
.map { width: 100%; height: 260px; border: 0; display: block; }
.cta-art { height: 200px; display: grid; place-items: center; background: var(--grad-hot); color: #fff; position: relative; overflow: hidden; }
.cta-art svg { width: 90px; height: 90px; animation: bob 5s ease-in-out infinite; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .3)); }
.cta-body { padding: 28px; }
.cta-body h3 { font-size: 22px; }
.cta-body p { color: var(--muted); }

/* reklama (4:1) */
.ads-section { padding: 0 0 60px; }
.ads-frame { position: relative; width: 100%; aspect-ratio: 4 / 1; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--glass); }
.ads-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* footer */
.footer { position: relative; padding: 70px 0 30px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-glow { position: absolute; left: 50%; top: -200px; width: 700px; height: 300px; translate: -50% 0; background: radial-gradient(ellipse, var(--blob-1), transparent 70%); filter: blur(40px); pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; position: relative; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); max-width: 300px; }
.footer h3 { font-size: 15px; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--muted); transition: color .3s, padding .3s; font-size: 14.5px; }
.footer ul a:hover { color: var(--blue); padding-left: 6px; }
[data-theme="dark"] .footer ul a:hover { color: var(--blue-2); }
.footer-contacts li { display: flex; gap: 10px; color: var(--muted); font-size: 14.5px; }
.footer-contacts svg { width: 18px; height: 18px; flex: none; color: var(--red); margin-top: 3px; }
.socials { display: flex; gap: 10px; }
.social { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--glass); transition: transform .35s var(--ease), background-color .3s, color .3s, border-color .3s; }
.social svg { width: 19px; height: 19px; }
.social:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-3px) rotate(-8deg); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; position: relative; }
.footer-bottom a:hover { color: var(--blue); }
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 50px; height: 50px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 12px 30px -10px rgba(42, 95, 235, .9); opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .4s, transform .4s var(--ease); }
.to-top svg { width: 22px; height: 22px; transform: rotate(90deg); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-4px); box-shadow: 0 16px 36px -10px rgba(230, 0, 5, .7); }

/* ---------- ichki sahifalar ---------- */
.page { position: relative; padding: calc(var(--nav-h) + 40px) 0 80px; min-height: 80vh; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.crumbs a:hover { color: var(--blue); }
.article { max-width: 920px; }
.article-head time { color: var(--blue); font-weight: 700; font-size: 14px; }
[data-theme="dark"] .article-head time { color: var(--blue-2); }
.article-head h1 { font-size: clamp(28px, 4vw, 48px); margin: 10px 0 16px; }
.lead { font-size: 19px; color: var(--muted); }
.gallery { position: relative; margin: 34px 0; padding: 0; overflow: hidden; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; aspect-ratio: 16 / 9; background: var(--bg-2); }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery .slider-btn { position: absolute; top: calc(50% - 50px); color: #fff; background: rgba(5, 9, 20, .4); border-color: rgba(255, 255, 255, .2); }
.gallery .prev { left: 16px; }
.gallery .next { right: 16px; }
.gallery-dots { position: absolute; left: 0; right: 0; top: calc(100% - 128px); display: flex; justify-content: center; gap: 8px; }
.gallery-dots button { width: 8px; height: 8px; border-radius: 8px; border: 0; padding: 0; background: rgba(255, 255, 255, .5); transition: width .35s var(--ease), background-color .3s; }
.gallery-dots button.active { width: 28px; background: #fff; }
.gallery-thumbs { display: flex; gap: 10px; padding: 14px; overflow-x: auto; scrollbar-width: thin; }
.gallery-thumbs button { flex: none; width: 96px; height: 64px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; opacity: .55; background: none; transition: opacity .3s, border-color .3s, transform .3s; }
.gallery-thumbs button.active, .gallery-thumbs button:hover { opacity: 1; border-color: var(--blue); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.article-body { font-size: 17.5px; line-height: 1.85; }
.article-body p { margin-bottom: 1.3em; }
.article-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.share { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; }
.related { margin-top: 80px; }
.related h2 { font-size: 28px; margin-bottom: 26px; }

/* ---------- moslashuvchanlik ---------- */
@media (max-width: 1320px) {
  .nav-phone span { display: none; }
}
@media (max-width: 1180px) {
  .nav-links a { padding: 8px 10px; font-size: 13px; }
  .nav-phone span { display: none; }
}
@media (max-width: 1100px) {
  .nav-links, .nav-phone { display: none; }
  .burger { display: flex; }
  .nav-actions { margin-left: auto; }
}
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: left; }
  .hero-visual { max-width: 440px; order: -1; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .about-top { grid-template-columns: 1fr; gap: 36px; }
  .client-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .brand img { height: 32px; }
  .hero { padding-top: calc(var(--nav-h) + 20px); }
  .hero-visual { max-width: 300px; }
  .hero-mini { gap: 22px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .adv-grid, .news-grid, .contact-cards { grid-template-columns: 1fr; }
  .advantages { margin-top: 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .client-grid { grid-template-columns: 1fr 1fr; }
  .client.total { grid-column: 1 / -1; }
  .stats { gap: 12px; }
  .stat { padding: 20px; }
  .cat-card, .review, .branch { width: 84vw; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .ads-frame { border-radius: 14px; }
  .gallery-thumbs { display: none; }
  .gallery-dots { top: auto; bottom: 14px; }
  .gallery .slider-btn { top: calc(50% - 25px); width: 42px; height: 42px; }
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}
