/* Samarqand Issiq Suv — dizayn tizimi v2
   Layout: tungi Samarqand hero (issiq suv quvurlari uylarga nur bo'lib boradi) → yorug', o'qishga qulay bo'limlar.
   "Raqamlarda" bo'limi videoli HUD uslubida. */
:root {
  --bg: #f3f6fb;
  --surface: #ffffff;
  --surface-2: #e9eef7;
  --ink: #0b1830;
  --muted: #55657e;
  --line: #d9e1ed;
  --brand: #1a4e9c;
  --brand-ink: #0e2c5e;
  --brand-soft: #e2ebf9;
  --on-brand: #ffffff;
  --heat: #e0571d;
  --heat-2: #ffb347;
  --heat-soft: #fdebe1;
  --ok: #1b7f53; --ok-soft: #dff3e9;
  --warn: #9a6512; --warn-soft: #fbefd6;
  --crit: #b8322a; --crit-soft: #fbe4e2;
  --night: #050d1f;
  --night-2: #0b1a36;
  --glow: #4ea3ff;
  --shadow: 0 1px 2px rgba(11,24,48,.06), 0 10px 30px -14px rgba(11,24,48,.22);
  --shadow-lg: 0 30px 60px -30px rgba(11,24,48,.45);

  --f-display: "Unbounded", "Onest", system-ui, sans-serif;
  --f-body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --fs-0: .8125rem; --fs-1: .9375rem; --fs-2: 1.0625rem; --fs-3: 1.25rem; --fs-4: clamp(1.45rem, 1.1rem + 1.2vw, 1.85rem);
  --fs-5: clamp(2rem, 1.1rem + 3.6vw, 3.6rem);
  --r-sm: 10px; --r: 16px; --r-lg: 24px;
  --wrap: 1200px;
  --gut: max(16px, env(safe-area-inset-left, 0px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.2,.7,.2,1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #070f20; --surface: #0e1a31; --surface-2: #14233f; --ink: #e7edf8; --muted: #93a3bd; --line: #1f3053;
    --brand: #5d93e6; --brand-ink: #a9c6f4; --brand-soft: #132a4f; --on-brand: #04112a;
    --heat: #ff7a3d; --heat-soft: #3a1d10; --ok: #4cc28d; --ok-soft: #0f2f1f; --warn: #e5b04f; --warn-soft: #33270e;
    --crit: #f2786e; --crit-soft: #3a1613; --shadow: 0 1px 2px rgba(0,0,0,.35), 0 12px 30px -14px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #070f20; --surface: #0e1a31; --surface-2: #14233f; --ink: #e7edf8; --muted: #93a3bd; --line: #1f3053;
  --brand: #5d93e6; --brand-ink: #a9c6f4; --brand-soft: #132a4f; --on-brand: #04112a;
  --heat: #ff7a3d; --heat-soft: #3a1d10; --ok: #4cc28d; --ok-soft: #0f2f1f; --warn: #e5b04f; --warn-soft: #33270e;
  --crit: #f2786e; --crit-soft: #3a1613; --shadow: 0 1px 2px rgba(0,0,0,.35), 0 12px 30px -14px rgba(0,0,0,.7);
  color-scheme: dark;
}
html.big { font-size: 118%; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--fs-1)/1.6 var(--f-body); overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.15; text-wrap: balance; margin: 0; letter-spacing: -.015em; }
h2 { font-size: var(--fs-4); font-weight: 600; }
h3 { font-size: var(--fs-2); font-weight: 600; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
code, .mono { font-family: var(--f-mono); }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--brand); color: var(--on-brand); padding: 10px 14px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.muted { color: var(--muted); }
.hint { font-size: var(--fs-0); color: var(--muted); }

/* ---------- harakat (reveal) ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv.d1 { transition-delay: .08s; } .js .rv.d2 { transition-delay: .16s; } .js .rv.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* ---------- yuqori tasma ---------- */
.utility { background: var(--night); color: #cfdaf0; font-size: var(--fs-0); position: relative; z-index: 51; }
.utility .wrap { display: flex; align-items: center; gap: 12px; padding-block: 6px; flex-wrap: wrap; justify-content: space-between; }
.utility .hot { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; }
.utility .hot b { font-family: var(--f-mono); font-size: .95rem; letter-spacing: .03em; color: var(--heat-2); }
.utility .wx-mini { display: inline-flex; align-items: center; gap: 6px; color: #dfe8f7; text-decoration: none; }
.utility .wx-mini svg { width: 20px; height: 20px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #ff7a45; box-shadow: 0 0 0 0 rgba(255,122,69,.6); animation: pulse 2s infinite; flex: none; display: inline-block; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255,122,69,0); } 100% { box-shadow: 0 0 0 0 rgba(255,122,69,0); } }
.util-tools { display: flex; align-items: center; gap: 6px; }
.seg { display: inline-flex; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 2px; }
.seg button, .icon-btn { font: 500 var(--fs-0)/1 var(--f-body); color: inherit; background: transparent; border: 0; padding: 6px 10px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--night); }
.icon-btn { border: 1px solid rgba(255,255,255,.22); display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.icon-btn[aria-pressed="true"] { background: #fff; color: var(--night); }
.icon-btn svg { width: 15px; height: 15px; }

/* ---------- sarlavha ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--night); }
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid var(--line); transition: background .3s, border-color .3s; }
.site-head.over { background: rgba(5,13,31,.35); border-bottom-color: rgba(255,255,255,.08); }
.site-head.over .brand, .site-head.over .nav a { color: #fff; }
.site-head.over .brand-text span { color: #b4c4e0; }
.site-head.over .brand-mark .b { display: none; } .site-head.over .brand-mark .w { display: block; }
.site-head.over .menu-btn { background: rgba(255,255,255,.12); color: #fff; }
.site-head .wrap { display: flex; align-items: center; gap: 16px; padding-block: 10px; }
.brand { flex: none; display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 36px; height: 50px; flex: none; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-mark .w { display: none; }
:root[data-theme="dark"] .brand-mark .b { display: none; } :root[data-theme="dark"] .brand-mark .w { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand-mark .b { display: none; } :root:not([data-theme="light"]) .brand-mark .w { display: block; } }
.brand-text { display: grid; line-height: 1.15; }
.brand-text strong { font-family: var(--f-display); font-weight: 700; font-size: 1rem; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.brand-text span { font-size: .72rem; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 11px; border-radius: 999px; font-weight: 500; font-size: .92rem; white-space: nowrap; transition: background .2s; }
.nav a:hover { background: color-mix(in srgb, var(--brand) 14%, transparent); }
.nav a[aria-current="page"] { background: var(--brand); color: var(--on-brand) !important; }
.menu-btn { display: none; margin-left: auto; background: var(--surface-2); border: 0; width: 44px; height: 44px; border-radius: 12px; color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; margin: auto; }
@media (max-width: 1180px) {
  .nav { position: fixed; left: 0; right: 0; top: calc(env(safe-area-inset-top, 0px) + 70px); flex-direction: column; align-items: stretch; background: var(--surface); padding: 10px var(--gut-r) 18px var(--gut); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-10px); opacity: 0; pointer-events: none; transition: .25s var(--ease); max-height: calc(100vh - 80px); overflow: auto; }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a, .site-head.over .nav a { padding: 14px 12px; font-size: 1rem; border-radius: 12px; color: var(--ink); }
  .menu-btn { display: grid; }
}

/* ---------- tugmalar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 var(--fs-1)/1.2 var(--f-body); border-radius: 999px; padding: 12px 22px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s; min-height: 48px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--brand) 90%, transparent); }
.btn-primary:hover { background: color-mix(in srgb, var(--brand) 86%, var(--ink)); }
.btn-heat { background: linear-gradient(135deg, var(--heat), #ff8f3d); color: #fff; box-shadow: 0 10px 28px -10px rgba(255,110,40,.8); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-glass { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.25); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.18); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.mini { font: 600 .82rem var(--f-body); padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.mini:hover { border-color: var(--brand); color: var(--brand); }
.mini svg { width: 14px; height: 14px; }

/* ================= HERO (tungi Samarqand + issiq suv) ================= */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--night); overflow: hidden; margin-top: -71px; padding-top: 71px; }
.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; opacity: 0; transform: scale(1.08); transition: opacity 1.6s ease, transform 12s ease-out; filter: saturate(1.05) brightness(.82); }
.hero-bg img.on { opacity: 1; transform: scale(1); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(1200px 500px at 70% 0%, rgba(78,163,255,.18), transparent 60%),
              linear-gradient(180deg, rgba(5,13,31,.62) 0%, rgba(5,13,31,.30) 38%, rgba(5,13,31,.62) 72%, var(--night) 100%),
              linear-gradient(90deg, rgba(5,13,31,.72) 0%, rgba(5,13,31,.30) 55%, rgba(5,13,31,.10) 100%); }
.hero-scene { position: absolute; left: 0; right: 0; bottom: 0; height: min(42%, 340px); z-index: -1; pointer-events: none; opacity: .5; }
.hero-scene svg { width: 100%; height: 100%; display: block; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); padding-block: clamp(48px, 8vw, 110px) clamp(170px, 22vw, 300px); align-items: start; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--brand); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.hero .eyebrow { color: #9cc4ff; }
.hero h1 { font-size: var(--fs-5); font-weight: 700; margin-top: 16px; letter-spacing: -.025em; text-shadow: 0 2px 30px rgba(0,0,0,.4); }
.hero h1 .warm { background: linear-gradient(90deg, #ffd27a, #ff8a3d 50%, #ff5a1f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-top: 18px; font-size: var(--fs-2); color: #d5e0f3; max-width: 56ch; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.quick-track { margin-top: 26px; display: flex; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 6px; max-width: 540px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.quick-track input { flex: 1; min-width: 0; border: 0; background: transparent; font: 500 1rem var(--f-mono); padding: 8px 14px; color: #fff; min-height: 0; }
.quick-track input::placeholder { text-transform: none; font-family: var(--f-body); color: #b5c4dd; }
.quick-track input:focus { outline: none; box-shadow: none; }
.quick-track .btn { min-height: 42px; padding: 10px 16px; }
.hero .hint { color: #a8b8d4; margin-top: 10px; }

/* HUD kartalar */
.hud { display: grid; gap: 12px; }
.glass { position: relative; background: linear-gradient(160deg, rgba(20,40,80,.62), rgba(8,18,40,.55)); border: 1px solid rgba(140,190,255,.22); border-radius: var(--r); padding: 16px 18px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 0 0 1px rgba(255,255,255,.03) inset, 0 20px 50px -25px rgba(0,0,0,.8); overflow: hidden; color: #fff; }
.glass::after { content: ""; position: absolute; left: 16px; right: 16px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(160,205,255,.8), transparent); opacity: .6; }
.glass .k { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #9cb7e0; display: flex; align-items: center; gap: 8px; }
.hud-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hud .big { font-family: var(--f-display); font-size: 2rem; font-weight: 600; line-height: 1.1; margin-top: 6px; font-variant-numeric: tabular-nums; }
.hud .sub { color: #b7c7e2; font-size: .82rem; margin-top: 2px; }
.ring-wrap { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.ring { width: 92px; height: 92px; }
.ring circle { fill: none; stroke-width: 9; }
.ring .bgc { stroke: rgba(255,255,255,.1); }
.ring .fg { stroke: #ff9a4a; stroke-linecap: round; transition: stroke-dashoffset 1.6s var(--ease); filter: drop-shadow(0 0 6px rgba(255,140,60,.7)); }
.ring text { fill: #fff; font: 600 20px var(--f-display); }
.wx-hud { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; text-decoration: none; color: #fff; }
.wx-hud .ic { width: 56px; height: 56px; }
.wx-hud .t { font-family: var(--f-display); font-size: 1.9rem; font-weight: 600; }
.wx-hud .d { color: #b7c7e2; font-size: .85rem; }
.out-hud ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.out-hud li { display: grid; grid-template-columns: 4px 1fr; gap: 10px; font-size: .86rem; }
.out-hud li::before { content: ""; border-radius: 4px; background: #7fb0ff; box-shadow: 0 0 10px #7fb0ff; }
.out-hud li.avariya::before { background: #ff7a45; box-shadow: 0 0 10px #ff7a45; }
.out-hud .t { font: .74rem var(--f-mono); color: #9fb3d6; }

/* sahna animatsiyalari */
.flow { stroke-dasharray: 10 22; animation: flow 1.6s linear infinite; }
.flow.slow { animation-duration: 2.6s; }
@keyframes flow { to { stroke-dashoffset: -64; } }
.win { fill: #ffcf7a; opacity: .15; animation: win 9s ease-in-out infinite; }
@keyframes win { 0%, 8% { opacity: .12; } 18%, 85% { opacity: .95; } 100% { opacity: .12; } }
.steam { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 6; stroke-linecap: round; opacity: 0; animation: steam 5s ease-out infinite; transform-box: fill-box; transform-origin: bottom center; }
@keyframes steam { 0% { opacity: 0; transform: translateY(8px) scaleX(.6); } 25% { opacity: .55; } 100% { opacity: 0; transform: translateY(-46px) scaleX(1.3); } }
.spark { fill: #ffd27a; animation: spark 3s ease-in-out infinite; }
@keyframes spark { 0%, 100% { opacity: .1; } 50% { opacity: 1; } }
.star { fill: #fff; animation: tw 4s ease-in-out infinite; }
@keyframes tw { 0%, 100% { opacity: .2; } 50% { opacity: .9; } }
.node { animation: node 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes node { 0%, 100% { transform: scale(.8); opacity: .7; } 50% { transform: scale(1.25); opacity: 1; } }

/* ---------- bo'limlar ---------- */
section.block { padding-block: clamp(48px, 7vw, 96px); position: relative; }
section.block.alt { background: var(--surface); border-block: 1px solid var(--line); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.sec-head p { color: var(--muted); max-width: 62ch; margin-top: 8px; }
.sec-head .eyebrow { margin-bottom: 10px; }

/* xizmatlar */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; position: relative; z-index: 2; }
.lift { padding-top: 0 !important; }
.lift .services { margin-top: -86px; }
.svc { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; overflow: hidden; }
.svc::after { content: ""; position: absolute; right: -50px; bottom: -70px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%); opacity: 0; transition: opacity .4s; }
.svc:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); box-shadow: var(--shadow-lg); }
.svc:hover::after { opacity: 1; }
.svc .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); transition: transform .3s var(--ease); }
.svc:hover .ic { transform: rotate(-6deg) scale(1.06); }
.svc .ic.h { background: var(--heat-soft); color: var(--heat); }
.svc .ic svg { width: 26px; height: 26px; }
.svc h3 { font-family: var(--f-body); font-size: 1.05rem; font-weight: 700; }
.svc p { color: var(--muted); font-size: .9rem; margin-top: 4px; line-height: 1.45; }

/* raqamlarda — video HUD */
.numbers { position: relative; isolation: isolate; color: #fff; background: var(--night); overflow: hidden; }
.numbers video, .numbers .numbers-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; }
.numbers .numbers-photo { opacity: .5; filter: saturate(1.05); }
.numbers::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,13,31,.95) 0%, rgba(5,13,31,.78) 45%, rgba(5,13,31,.4) 100%); }
.numbers .wrap { padding-block: clamp(56px, 8vw, 110px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: center; }
.numbers h2 { color: #fff; }
.numbers p { color: #c3d1ea; margin-top: 12px; max-width: 46ch; }
.numbers .eyebrow { color: #9cc4ff; }
.num-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.num-grid .glass .big { font-family: var(--f-display); font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); font-weight: 600; margin-top: 8px; font-variant-numeric: tabular-nums; }
.num-grid .glass .sub { color: #b7c7e2; font-size: .86rem; }
.bar-mini { height: 6px; border-radius: 3px; background: rgba(255,255,255,.1); margin-top: 12px; overflow: hidden; }
.bar-mini span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #4ea3ff, #ffb347); border-radius: 3px; transition: width 1.6s var(--ease); box-shadow: 0 0 12px rgba(255,179,71,.7); }

/* tablar */
.tabs { display: inline-flex; background: var(--surface-2); border-radius: 999px; padding: 4px; gap: 2px; }
.tabs button { border: 0; background: transparent; font: 600 .95rem var(--f-body); color: var(--muted); padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: .2s; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.12); }

/* formalar */
.portal { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 24px; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 28px); }
.alt .card { background: var(--bg); }
fieldset { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
legend { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 600; font-size: 1rem; margin-bottom: 14px; padding: 0; }
legend .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); font: 600 .85rem var(--f-mono); flex: none; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field.full { grid-column: 1 / -1; }
label, .label { font-weight: 600; font-size: .9rem; }
.opt { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; font: 400 1rem var(--f-body); color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px; transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--crit); }
.err { color: var(--crit); font-size: .82rem; }
.err:empty { display: none; }
.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.chip-radio { position: relative; display: block; font-weight: 500; }
.chip-radio input { position: absolute; opacity: 0; pointer-events: none; width: auto; min-height: 0; }
.chip-radio span { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-size: .92rem; font-weight: 500; background: var(--surface); min-height: 48px; line-height: 1.3; transition: .2s; }
.chip-radio span::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); flex: none; transition: .2s; box-sizing: border-box; }
.chip-radio input[type="checkbox"] + span::before { border-radius: 5px; }
.chip-radio input:checked + span { border-color: var(--brand); background: var(--brand-soft); }
.chip-radio input:checked + span::before { border: 5px solid var(--brand); }
.chip-radio input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.chip-radio .urg { margin-left: auto; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--heat); font-weight: 700; }
.file-drop { display: flex; align-items: center; gap: 14px; border: 1.5px dashed var(--line); border-radius: 12px; padding: 14px; cursor: pointer; background: var(--surface); transition: .2s; font-weight: 500; }
.file-drop:hover { border-color: var(--brand); }
.file-drop svg { width: 26px; height: 26px; color: var(--brand); flex: none; }
.file-drop img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.file-drop small { color: var(--muted); display: block; font-weight: 400; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); font-weight: 400; }
.consent input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--brand); }
.form-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: space-between; margin-top: 10px; }
.hp { position: absolute; left: -9999px; }
.aside { display: grid; gap: 16px; }
.note { border-radius: var(--r); padding: 18px; display: grid; gap: 6px; font-size: .92rem; }
.note.heat { background: var(--heat-soft); border: 1px solid color-mix(in srgb, var(--heat) 30%, transparent); }
.note.heat strong { color: var(--heat); }
.phone-big { font-family: var(--f-mono); font-size: 1.8rem; font-weight: 600; color: var(--heat); letter-spacing: .02em; text-decoration: none; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; }
.steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; position: relative; padding-bottom: 16px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 30px; bottom: 0; width: 2px; background: var(--line); }
.steps .dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font: 600 .8rem var(--f-mono); }
.steps b { display: block; font-size: .95rem; }
.steps span { color: var(--muted); font-size: .86rem; }
.result { display: grid; gap: 14px; }
.ticket { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 18px; border-radius: var(--r); background: var(--ok-soft); border: 1px solid color-mix(in srgb, var(--ok) 30%, transparent); }
.ticket code { font-size: 1.4rem; font-weight: 600; color: var(--ok); letter-spacing: .03em; }
.check-anim { width: 64px; height: 64px; }
.check-anim circle { fill: none; stroke: var(--ok); stroke-width: 4; stroke-dasharray: 180; stroke-dashoffset: 180; animation: draw .7s var(--ease) forwards; }
.check-anim path { fill: none; stroke: var(--ok); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw .4s .55s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.track-form { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; }
#t-code, #qt-code { text-transform: uppercase; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-new { background: var(--brand-soft); color: var(--brand); }
.st-in_progress { background: var(--warn-soft); color: var(--warn); }
.st-brigade { background: var(--heat-soft); color: var(--heat); }
.st-done { background: var(--ok-soft); color: var(--ok); }
.st-rejected { background: var(--crit-soft); color: var(--crit); }
.progress4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 14px; }
.progress4 span { height: 6px; border-radius: 3px; background: var(--line); position: relative; overflow: hidden; }
.progress4 span.on::after { content: ""; position: absolute; inset: 0; background: var(--brand); transform-origin: left; animation: grow .6s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }
.timeline { list-style: none; margin: 16px 0 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; padding-bottom: 14px; position: relative; }
.timeline li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); margin-top: 5px; margin-left: 3px; box-shadow: 0 0 0 4px var(--brand-soft); }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 8px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.timeline .when { font: .78rem var(--f-mono); color: var(--muted); }
.answer { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); border-left: 3px solid var(--brand); }
.stars { display: inline-flex; gap: 4px; }
.stars button { background: none; border: 0; padding: 2px; cursor: pointer; color: var(--line); transition: transform .15s, color .15s; }
.stars button svg { width: 28px; height: 28px; }
.stars button.on, .stars button:hover { color: #f5b301; transform: scale(1.12); }

/* o'chirishlar */
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.filters select { width: auto; min-width: 220px; max-width: 100%; }
.chips { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.chip { border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 9px 14px; font: 500 .9rem var(--f-body); cursor: pointer; transition: .2s; white-space: nowrap; }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.outages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.out { display: grid; grid-template-columns: 5px 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.out:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.alt .out { background: var(--bg); }
.out::before { content: ""; background: var(--brand); }
.out.avariya::before { background: var(--heat); }
.out .body { padding: 16px 18px; display: grid; gap: 8px; min-width: 0; }
.out .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.tag { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; background: var(--brand-soft); color: var(--brand); white-space: nowrap; }
.tag.avariya { background: var(--heat-soft); color: var(--heat); }
.tag.now { background: var(--crit-soft); color: var(--crit); }
.out .area { font-weight: 700; font-size: 1.02rem; }
.out .dist { color: var(--muted); font-size: .88rem; }
.out .time { font-family: var(--f-mono); font-size: .85rem; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.out .reason { color: var(--muted); font-size: .9rem; }
.empty { padding: 28px; text-align: center; color: var(--muted); border: 1.5px dashed var(--line); border-radius: var(--r); grid-column: 1 / -1; }

/* ob-havo preview */
.wx-strip { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: 16px; align-items: stretch; }
.wx-now { background: linear-gradient(160deg, #0f3a7a, #0a1f45 60%, #07152f); color: #fff; border-radius: var(--r-lg); padding: 24px; display: grid; gap: 10px; position: relative; overflow: hidden; text-decoration: none; }
.wx-now::after { content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(255,200,90,.3), transparent 65%); pointer-events: none; }
.wx-now .t { font-family: var(--f-display); font-size: 3.4rem; font-weight: 600; line-height: 1; }
.wx-now .ic { width: 84px; height: 84px; }
.wx-now .row { display: flex; gap: 14px; align-items: center; justify-content: space-between; }
.wx-now .d { color: #c4d4ef; }
.wx-now .meta { display: flex; gap: 14px; flex-wrap: wrap; color: #c4d4ef; font-size: .88rem; }
.wx-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.wx-day { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 8px; text-align: center; display: grid; gap: 6px; justify-items: center; align-content: start; }
.alt .wx-day { background: var(--bg); }
.wx-day .n { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.wx-day svg { width: 40px; height: 40px; }
.wx-day .mx { font-weight: 700; font-variant-numeric: tabular-nums; }
.wx-day .mn { color: var(--muted); font-size: .88rem; font-variant-numeric: tabular-nums; }

/* hisoblagich */
.meter-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.meter-input { font: 600 1.6rem var(--f-mono) !important; letter-spacing: .08em; text-align: right; }
.meter-visual { border-radius: var(--r-lg); padding: 24px; background: linear-gradient(160deg, var(--night-2), var(--night)); color: #dfe8f7; display: grid; gap: 16px; }
.odo { display: flex; gap: 4px; justify-content: center; font-family: var(--f-mono); font-size: clamp(1.3rem, 5vw, 2.2rem); font-weight: 600; }
.odo span { background: #02070f; color: #fff; padding: 6px 8px; border-radius: 6px; min-width: 1.4em; text-align: center; box-shadow: inset 0 -10px 14px rgba(255,255,255,.05), 0 0 0 1px rgba(255,255,255,.06); }
.odo span.red { background: #6e1a0e; }
.odo .sep { background: transparent; min-width: 0; padding: 6px 0; box-shadow: none; }
.meter-visual ul { margin: 0; padding-left: 18px; font-size: .9rem; display: grid; gap: 6px; color: #c4d4ee; }
.meter-visual .k { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #9cb7e0; }

/* yangiliklar kartalari */
.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s; }
.alt .post { background: var(--bg); }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ph { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #12325f, #0a1a36); position: relative; overflow: hidden; max-width: 100%; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover .ph img { transform: scale(1.06); }
.ph .tag { position: absolute; left: 12px; top: 12px; background: rgba(5,13,31,.78); color: #fff; backdrop-filter: blur(6px); }
.ph .fb { position: absolute; inset: 0; display: grid; place-items: center; }
.ph .fb img { width: 56px; height: auto; opacity: .35; }
.post .bd { padding: 18px; display: grid; gap: 8px; align-content: start; }
.post .meta { font: .78rem var(--f-mono); color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.post .meta svg { width: 14px; height: 14px; vertical-align: -2px; }
.post h3 { font-family: var(--f-body); font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.post p { color: var(--muted); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* galereya */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 12px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--r); background: linear-gradient(135deg, #12325f, #0a1a36); }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(5,13,31,.85)); color: #fff; font-size: .88rem; font-weight: 600; }

/* tariflar */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--surface-2); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.price { font-family: var(--f-mono); font-weight: 600; white-space: nowrap; }
.pay { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.pay div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-weight: 700; display: grid; gap: 2px; }
.alt .pay div { background: var(--bg); }
.pay small { color: var(--muted); font-weight: 400; font-size: .82rem; }
.tariff-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; }

/* kompaniya */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.about-visual { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.3; background: linear-gradient(135deg, #12325f, #0a1a36); max-width: 100%; }
.about-visual img.photo { width: 100%; height: 100%; object-fit: cover; }
.about-visual .logo-card { position: absolute; right: 16px; bottom: 16px; background: #fff; border-radius: var(--r); padding: 14px 18px; width: min(220px, 60%); box-shadow: var(--shadow-lg); }
.dirs { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.dirs li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; }
.dirs .i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.dirs svg { width: 22px; height: 22px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 0 18px; transition: border-color .2s; }
.alt .faq details { background: var(--bg); }
.faq details[open] { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.4rem/1 var(--f-mono); color: var(--brand); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 16px; color: var(--muted); }

/* kontakt */
.contacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ct { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 6px; align-content: start; }
.ct .k { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.ct .v { font-family: var(--f-mono); font-size: 1.15rem; font-weight: 600; word-break: break-word; color: var(--ink); text-decoration: none; }
.ct .v.txt { font-family: var(--f-body); font-size: 1rem; font-weight: 500; }
.ct .row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.ct.hl { background: linear-gradient(150deg, var(--heat), #b93e0e); color: #fff; border-color: transparent; }
.ct.hl .k { color: rgba(255,255,255,.85); }
.ct.hl .v { color: #fff; font-size: 2rem; }
.ct.hl .mini { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }

/* footer */
.foot { background: var(--night); color: #b5c3dc; padding-block: 52px 28px; position: relative; overflow: hidden; }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, #4ea3ff, #ffb347, transparent); background-size: 200% 100%; animation: sweep 6s linear infinite; }
@keyframes sweep { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.foot .wrap { display: grid; gap: 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot h4 { margin: 0 0 12px; color: #fff; font: 600 .78rem var(--f-body); letter-spacing: .12em; text-transform: uppercase; }
.foot a { color: #dce6f7; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.foot .fbrand { display: flex; gap: 14px; align-items: center; }
.foot .fbrand img { width: 42px; }
.foot .fbrand strong { color: #fff; font-family: var(--f-display); letter-spacing: .03em; text-transform: uppercase; display: block; }
.foot .legal { border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .8rem; }
.credits { font-size: .74rem; color: #7f90ae; }
.credits a { color: #9fb2d3; }

/* mobil pastki panel */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 6px max(6px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(6px, env(safe-area-inset-left, 0px)); box-shadow: 0 -8px 24px -16px rgba(0,0,0,.4); }
  .mbar a { display: grid; justify-items: center; gap: 2px; padding: 6px 2px; color: var(--ink); text-decoration: none; font-size: .72rem; font-weight: 600; border-radius: 10px; }
  .mbar a svg { width: 22px; height: 22px; color: var(--brand); }
  .mbar a.heat svg { color: var(--heat); }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
}

/* toast */
#toasts { position: fixed; z-index: 90; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 8px; max-width: min(380px, calc(100vw - 32px)); }
@media (max-width: 760px) { #toasts { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }
.toast { background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: 12px; font-size: .92rem; box-shadow: var(--shadow-lg); animation: tin .3s var(--ease); }
.toast.ok { background: var(--ok); color: #fff; } .toast.err { background: var(--crit); color: #fff; }
.toast.out { opacity: 0; transform: translateY(6px); transition: .3s; }
@keyframes tin { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* skeleton */
.sk { background: linear-gradient(90deg, var(--surface-2), color-mix(in srgb, var(--surface-2) 40%, var(--surface)), var(--surface-2)); background-size: 200% 100%; animation: sk 1.4s linear infinite; border-radius: 10px; }
@keyframes sk { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ichki sahifalar sarlavhasi */
.page-hero { position: relative; isolation: isolate; color: #fff; background: var(--night); overflow: hidden; margin-top: -71px; padding-top: 71px; }
.page-hero .bgimg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: brightness(.45) saturate(1.1); opacity: 0; transition: opacity 1.2s; }
.page-hero .bgimg.on { opacity: 1; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 300px at 80% 0%, rgba(78,163,255,.22), transparent 60%), linear-gradient(180deg, rgba(5,13,31,.5), rgba(5,13,31,.94)); }
.page-hero .wrap { padding-block: clamp(40px, 6vw, 80px) clamp(36px, 5vw, 64px); }
.page-hero h1 { font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3rem); font-weight: 700; margin-top: 12px; }
.page-hero p { color: #c9d6ee; margin-top: 10px; max-width: 64ch; }
.page-hero .eyebrow { color: #9cc4ff; }
.crumbs { font-size: .85rem; color: #a9bad8; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: #dbe6fa; text-decoration: none; }

/* ---------- moslashuv ---------- */
@media (max-width: 1060px) {
  .hero .wrap, .portal, .meter-wrap, .about, .tariff-grid, .numbers .wrap, .wx-strip { grid-template-columns: minmax(0, 1fr); }
  .services, .news, .contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .wx-days { grid-template-columns: repeat(7, minmax(84px, 1fr)); overflow-x: auto; padding-bottom: 6px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 160px 160px; }
  .gallery figure:first-child { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 640px) {
  .services, .news, .contacts, .outages, .grid-2, .cat-grid, .num-grid, .hud-row { grid-template-columns: minmax(0, 1fr); }
  .lift .services { margin-top: -60px; }
  .track-form { grid-template-columns: minmax(0, 1fr); }
  .brand-text span { display: none; }
  .utility .lbl { display: none; }
  .filters select { min-width: 0; width: 100%; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero .wrap { padding-bottom: 150px; }
  .hero-scene { height: 210px; }
  .gallery { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-rows: 200px; }
  .gallery figure:first-child { grid-column: auto; }
  .wx-now .t { font-size: 2.8rem; }
}
@media print {
  .utility, .site-head, .mbar, .foot, #toasts { display: none !important; }
  body { background: #fff; }
}

/* ---------- e'lon banneri ---------- */
.notice-wrap { position: relative; z-index: 3; margin-top: -56px; margin-bottom: 8px; }
.notice { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); border-left: 5px solid var(--brand); }
.notice > div { flex: 1; min-width: 0; }
.notice b { font-family: var(--f-display); font-weight: 600; margin-right: 6px; }
.notice span { color: var(--muted); }
.notice .btn { flex: none; min-height: 42px; padding: 10px 18px; }
.notice .ndot { width: 12px; height: 12px; border-radius: 50%; background: var(--brand); flex: none; box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 60%, transparent); animation: npulse 2.2s infinite; }
.notice.warn { border-left-color: var(--warn); } .notice.warn .ndot { background: var(--warn); }
.notice.crit { border-left-color: var(--crit); background: color-mix(in srgb, var(--crit-soft) 70%, var(--surface)); } .notice.crit .ndot { background: var(--crit); }
@keyframes npulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (max-width: 640px) { .notice { flex-wrap: wrap; } .notice .btn { width: 100%; } .notice-wrap { margin-top: -36px; } }

/* ---------- muhim ma'lumotlar ---------- */
.keyinfo { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ki { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 8px; align-content: start; position: relative; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.alt .ki { background: var(--bg); }
.ki:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ki::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--brand), var(--heat)); opacity: .85; }
.ki .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.ki .ic svg { width: 22px; height: 22px; }
.ki h3 { font-family: var(--f-body); font-size: 1.04rem; font-weight: 700; }
.ki p { color: var(--muted); font-size: .92rem; line-height: 1.5; }
.ki a { font-weight: 600; font-size: .9rem; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; margin-top: 2px; }
@media (max-width: 1060px) { .keyinfo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .keyinfo { grid-template-columns: minmax(0, 1fr); } }

/* ===== GPS joylashuv (murojaat formasi) ===== */
.geo-box { display: grid; gap: 10px; margin-bottom: 16px; padding: 14px; border: 1.5px dashed color-mix(in srgb, var(--brand) 45%, var(--line)); border-radius: var(--r); background: color-mix(in srgb, var(--brand) 5%, var(--surface)); }
.geo-box[data-state="ok"] { border-style: solid; border-color: color-mix(in srgb, #1f9d55 60%, var(--line)); background: color-mix(in srgb, #1f9d55 6%, var(--surface)); }
.geo-box[data-state="bad"], .geo-box.invalid { border-style: solid; border-color: var(--crit, #d93a2b); background: color-mix(in srgb, var(--crit, #d93a2b) 6%, var(--surface)); }
.geo-head { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.geo-head b { display: block; } .geo-head small { color: var(--muted); display: block; margin-top: 2px; line-height: 1.4; }
.geo-head .req { font: 600 .68rem var(--f-body); text-transform: uppercase; letter-spacing: .06em; color: #fff; background: var(--heat); border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: 2px; }
.geo-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.geo-ic svg { width: 22px; height: 22px; }
.geo-box[data-state="wait"] .geo-ic { animation: geoPulse 1.2s ease-in-out infinite; }
@keyframes geoPulse { 50% { transform: scale(1.12); box-shadow: 0 0 0 8px color-mix(in srgb, var(--brand) 18%, transparent); } }
.geo-map { height: 260px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); z-index: 0; }
.geo-pin span { display: block; width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: linear-gradient(135deg, #ff7a3d, #e5481b); border: 3px solid #fff; box-shadow: 0 6px 14px rgba(0,0,0,.35); }
.geo-pin span::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #fff; }
.geo-pin.st-in_progress span, .geo-pin.st-brigade span { background: linear-gradient(135deg, #4ea3ff, #1d63c9); }
.geo-pin.late span { background: linear-gradient(135deg, #ff4d6d, #b3122f); }
.geo-pin.st-done span, .geo-pin.st-rejected span { background: linear-gradient(135deg, #5fd38d, #1f9d55); }
.leaflet-container { font: inherit; }
@media (max-width: 640px) { .geo-head { grid-template-columns: 42px minmax(0, 1fr); } .geo-head .btn { grid-column: 1 / -1; width: 100%; justify-content: center; } .geo-map { height: 220px; } }
.geo-pin { background: none !important; border: 0 !important; box-shadow: none !important; }

/* mobil: yon gradient yoq, surat korinsin */
@media (max-width: 720px) {
  .hero::before { background: linear-gradient(180deg, rgba(5,13,31,.55) 0%, rgba(5,13,31,.40) 45%, rgba(5,13,31,.80) 85%, var(--night) 100%); }
  .hero-bg img { filter: saturate(1.05) brightness(.9); }
}
