/* sastav.uz — umumiy uslublar (index, hamkorlar, ishchilar). Ranglar docs/design/*.dc.html dan. */

/* ---------------------------------------------------------------- rejim o'zgaruvchilari */
:root {
  --bg: #FBF7EF; --surface: #FFFDF8; --ink: #1F1912; --muted: #6B5F4F; --line: #E6DAC2;
  --nav-bg: rgba(251, 247, 239, .88);
  --gold: #B08A3E; --gold-l: #E7C981; --gold-2: #C9A55A; --gold-d: #8A6A28;
  /* kunduzgi rejimda oltin kichik matn #B08A3E (3.0:1) o'rniga #8A6A28 (4.7:1); yirik matn — #A07D35 (3.6:1) */
  --gold-text: #8A6A28; --gold-lg: #A07D35; --gold-hover: #6E531E; --focus: #8A6A28;
  /* tugma: oq matn ostidagi qism >= 4.5:1 (maketdagi #B08A3E o'rtasi 3.2:1 edi) */
  --btn-grad: linear-gradient(135deg, #D8B76A 0%, #8F6E2A 20%, #7E6024 55%, #6A501C 100%);
  --btn-grad-hover: linear-gradient(135deg, #DDBE74 0%, #96742D 20%, #846527 55%, #6E531E 100%);
  --dark: #0F0C08; --cream: #F7EBD3;
  --stat-num: #8A6A28; --stat-bg: var(--bg); --stat-gap: var(--line);
  --shadow: 0 24px 60px -30px rgba(90, 66, 20, .35);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --nav-h: 76px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #15110C; --surface: #1D1811; --ink: #F3E9D8; --muted: #B9AA92; --line: #33291D;
  --nav-bg: rgba(21, 17, 12, .86);
  --gold-text: #B08A3E; --gold-lg: #B08A3E; --gold-hover: #C9A55A; --focus: #E7C981;
  --stat-num: #E7C981;
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, .6);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #15110C; --surface: #1D1811; --ink: #F3E9D8; --muted: #B9AA92; --line: #33291D;
    --nav-bg: rgba(21, 17, 12, .86);
    --gold-text: #B08A3E; --gold-lg: #B08A3E; --gold-hover: #C9A55A; --focus: #E7C981;
    --stat-num: #E7C981;
    --shadow: 0 24px 60px -30px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

/* ---------------------------------------------------------------- asos */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.wrap-narrow { max-width: 860px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
html[data-lpending] body { opacity: 0; animation: lp-show 0s linear 2.5s forwards; }
@keyframes lp-show { to { opacity: 1; } }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-weight: 700; font-size: 15px; transition: top .15s;
}
.skip:focus { top: 12px; }

.eyebrow {
  font-size: 12.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-text);
  font-weight: 700; margin-bottom: 16px; line-height: 1.5;
}
.h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -.005em; }
.h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.05; }
em { font-style: italic; }

/* ---------------------------------------------------------------- tugmalar */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  padding: 11px 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 14.5px;
  line-height: 1.2; text-align: center; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn-lg { padding: 16px 28px; font-size: 16px; min-height: 54px; }
.btn-sm { padding: 11px 18px; font-size: 14px; font-weight: 600; }
.btn-gold { background: var(--btn-grad); color: #fff; box-shadow: 0 10px 24px -14px rgba(106, 80, 28, .7); }
.btn-gold:hover { background: var(--btn-grad-hover); color: #fff; transform: translateY(-1px); }
.btn-ghost-dark { border-color: rgba(231, 201, 129, .6); color: var(--cream); font-weight: 600; }
.btn-ghost-dark:hover { border-color: var(--gold-l); color: var(--gold-l); background: rgba(231, 201, 129, .06); }
.btn-outline { border-color: var(--gold-2); color: var(--gold-text); }
.btn-outline:hover { background: rgba(201, 165, 90, .1); color: var(--gold-hover); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { background: var(--gold-text); color: #fff; }
:root[data-theme="dark"] .btn-ink:hover { color: var(--dark); background: var(--gold-l); }

/* ---------------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 50; background: var(--nav-bg); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.nav-in { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; min-height: 44px; }
.brand img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--gold-2); }
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-size: 27px; font-weight: 700; letter-spacing: .06em; }
.brand-tag { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; margin-top: 2px; }
.nav-menu { margin-left: auto; display: flex; align-items: center; }
.nav-links { display: flex; gap: 26px; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; transition: color .15s; }
.nav-links a:hover { color: var(--gold-text); }
.nav-links a[aria-current="page"] { color: var(--gold-text); font-weight: 700; }
.menu-cta { display: none; }
.nav-tools { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent;
  color: var(--ink); cursor: pointer; display: grid; place-items: center; flex: 0 0 auto; transition: border-color .15s, color .15s;
}
.icon-btn:hover { border-color: var(--gold-2); color: var(--gold-text); }
.icon-btn svg { grid-area: 1 / 1; }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
.burger { display: none; }
.burger .i-close { display: none; }
.nav.open .burger .i-close { display: block; }
.nav.open .burger .i-burger { display: none; }
.lang {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; height: 44px; align-items: center;
}
.lang button {
  position: relative; border: 0; background: transparent; cursor: pointer; padding: 0 11px; height: 36px; min-width: 40px;
  border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--muted);
}
.lang button::after { content: ""; position: absolute; inset: -4px 0; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.lang button:not([aria-pressed="true"]):hover { color: var(--ink); }
html:not(.js) .lang, html:not(.js) .theme-btn, html:not(.js) .burger, html:not(.js) .chips { display: none; }

/* ---------------------------------------------------------------- hero (bosh sahifa) */
.hero { position: relative; display: grid; min-height: 760px; background: var(--dark); color: var(--cream); overflow: hidden; }
.hero-media, .hero-in { grid-area: 1 / 1; }
.hero-media { position: relative; background: linear-gradient(135deg, #2A2015 0%, #0F0C08 60%, #1A1308 100%); overflow: hidden; }
.hero-media img, .tarix-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 12, 8, .25) 0%, rgba(15, 12, 8, .35) 50%, rgba(15, 12, 8, .92) 100%);
}
.hero-in {
  position: relative; z-index: 1; width: 100%; padding-top: 120px; padding-bottom: 72px;
  display: flex; flex-wrap: wrap; align-items: flex-end; align-content: flex-end; gap: 40px;
}
.hero-text { flex: 1 1 560px; min-width: 0; }
.eyebrow-line { display: inline-flex; align-items: center; gap: 12px; color: var(--gold-l); margin-bottom: 24px; }
.eb-line { width: 36px; height: 1px; background: var(--gold-2); flex: 0 0 auto; }
.hero h1 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(46px, 6.4vw, 92px); line-height: 1; letter-spacing: -.01em;
  overflow-wrap: break-word;
}
.hero h1 em { font-weight: 500; color: var(--gold-l); }
.hero-lead { margin: 28px 0 36px; max-width: 560px; font-size: 19px; color: rgba(247, 235, 211, .8); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }

.stats-box { flex: 0 1 360px; min-width: 0; }
.stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(231, 201, 129, .25);
  border: 1px solid rgba(231, 201, 129, .25); border-radius: 18px; overflow: hidden;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.stat { padding: 22px 20px; background: rgba(15, 12, 8, .62); min-width: 0; }
.stat-num {
  display: block; font-family: var(--serif); font-size: 44px; font-weight: 600; color: var(--gold-l); line-height: 1;
  font-variant-numeric: tabular-nums lining-nums; white-space: nowrap;
}
.stat-lbl {
  display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(247, 235, 211, .74);
  margin-top: 6px; line-height: 1.4;
}
.live { display: inline-flex; align-items: center; gap: 5px; margin-left: 6px; color: var(--gold-l); }
.live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: #7FD08A; box-shadow: 0 0 0 3px rgba(127, 208, 138, .18);
  animation: live-pulse 2s ease-in-out infinite;
}
@keyframes live-pulse { 50% { opacity: .35; } }

/* ---------------------------------------------------------------- «bizga ishonadi» */
.trust { border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-in { display: flex; align-items: center; gap: 36px; padding-top: 22px; padding-bottom: 22px; }
.trust-lbl { font-size: 11.5px; letter-spacing: .22em; margin: 0; white-space: nowrap; flex: 0 0 auto; }
.trust-names {
  flex: 1 1 auto; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent);
}
.trust-track {
  --tg: 44px; display: flex; gap: var(--tg); width: max-content; white-space: nowrap; font-family: var(--serif); font-size: 24px;
  font-weight: 600; color: var(--muted); line-height: 1.3;
}
.trust-names.marquee .trust-track { animation: marquee var(--marquee-dur, 60s) linear infinite; }
.trust-names.marquee:hover .trust-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--tg) / 2)); } }

/* ---------------------------------------------------------------- bo'limlar */
.sec { padding-top: 110px; padding-bottom: 90px; }
.sec-head { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; margin-bottom: 56px; }
.sec-head-main { flex: 1 1 460px; min-width: 0; }
.sec-head-between { justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.sec-lead { flex: 1 1 380px; color: var(--muted); font-size: 18px; max-width: 520px; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { padding: 32px 30px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); transition: border-color .2s, box-shadow .2s, transform .2s; }
.card:hover { border-color: var(--gold-2); box-shadow: var(--shadow); }
.card-num { display: block; font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--gold-lg); line-height: 1.3; }
.card h3 { margin: 10px 0 8px; font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1.15; }
.card p { color: var(--muted); font-size: 16px; }

/* hamkorlar galereyasi */
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-hamkor { padding-top: 100px; padding-bottom: 100px; }
.all-link { padding: 13px 22px; font-size: 15px; flex: 0 0 auto; }
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pcard {
  position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden;
  background: var(--tone, #2B2118); color: var(--cream); isolation: isolate;
}
.pcard-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; z-index: -1; }
.pcard:hover .pcard-img { transform: scale(1.04); }
.pcard-foot {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; display: flex; align-items: flex-end;
  justify-content: space-between; gap: 10px; background: linear-gradient(180deg, transparent, rgba(15, 12, 8, .9));
}
.pcard-name { font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.1; min-width: 0; overflow-wrap: anywhere; }
.pcard:hover .pcard-name { color: var(--gold-l); }
.pcard:focus-visible { outline-color: var(--gold-text); }
.badge {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .92); flex: 0 0 auto;
  display: grid; place-items: center; overflow: hidden; color: var(--gold-d);
  font-family: var(--serif); font-weight: 700; font-size: 20px; line-height: 1;
}
.badge img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.badge-md { width: 46px; height: 46px; font-size: 22px; background: rgba(255, 255, 255, .94); }
.badge-lg { width: 64px; height: 64px; font-size: 30px; background: rgba(255, 255, 255, .94); }

/* tarix */
.tarix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: start; padding-bottom: 110px; }
.tarix .h2 { margin-bottom: 22px; }
.tarix-lead { max-width: 480px; }
.tarix-photo {
  position: relative; margin-top: 36px; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden;
  background: linear-gradient(135deg, #2A2015, #0F0C08);
}
.timeline { display: flex; flex-direction: column; }
.tl { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.tl:last-child { border-bottom: 1px solid var(--line); }
.tl-year { font-family: var(--serif); font-size: 36px; font-weight: 600; color: var(--gold-lg); line-height: 1; }
.tl h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.15; }
.tl p { color: var(--muted); }

/* CTA */
.cta-wrap { padding-bottom: 100px; }
.cta {
  position: relative; overflow: hidden; border-radius: 28px; padding: 56px; background: var(--dark); color: var(--cream);
  display: flex; flex-wrap: wrap; align-items: center; gap: 32px;
}
:root[data-theme="dark"] .cta { border: 1px solid rgba(201, 165, 90, .35); }
.cta-ring {
  position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  border: 1px dashed rgba(201, 165, 90, .45); pointer-events: none;
}
.cta-text { flex: 1 1 480px; min-width: 0; position: relative; }
.cta h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; color: var(--cream); }
.cta p { margin-top: 12px; color: rgba(247, 235, 211, .74); max-width: 560px; font-size: 18px; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }

/* ---------------------------------------------------------------- footer */
.footer { background: var(--dark); color: rgba(247, 235, 211, .74); border-top: 1px solid rgba(201, 165, 90, .3); }
.foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 64px; padding-bottom: 40px; }
.foot-logo { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--gold-l); letter-spacing: .06em; line-height: 1.2; }
.foot-brand p:not(.foot-logo) { margin-top: 10px; font-size: 15px; }
.foot-h { font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 14px; }
.foot-links { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.foot-links a { display: inline-flex; flex-wrap: wrap; align-items: center; min-height: 28px; overflow-wrap: anywhere; }
.foot-lbl { margin-right: .3em; }
.foot-links a:hover, .foot-bottom a:hover { color: var(--gold-l); }
.foot-app p { margin-bottom: 14px; font-size: 15px; }
.foot-bottom {
  padding-top: 18px; padding-bottom: 28px; border-top: 1px solid rgba(201, 165, 90, .2); font-size: 13px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
}
.footer :focus-visible { outline-color: var(--gold-l); }

/* ---------------------------------------------------------------- /hamkorlar */
.page-head { padding-top: 88px; padding-bottom: 48px; }
.page-head-row { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; }
.page-head .h1 { max-width: 760px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: color .15s, border-color .15s, background .15s;
}
.chip:hover { border-color: var(--gold-2); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); font-weight: 700; }

.featured { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-bottom: 24px; }
.fcard {
  position: relative; min-height: 440px; border-radius: 24px; overflow: hidden; color: var(--cream); isolation: isolate;
  background: linear-gradient(135deg, var(--tone, #2B2118), #0F0C08);
}
.fcard-wide { grid-column: span 2; }
.fcard-full { grid-column: 1 / -1; }
.fcard-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.fcard-body {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; background: linear-gradient(180deg, transparent, rgba(15, 12, 8, .92));
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
}
.fcard-wide .fcard-body, .fcard-full .fcard-body { padding: 32px; }
.fcard-kind { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-l); font-weight: 700; }
.fcard-name { font-family: var(--serif); font-size: 36px; font-weight: 600; line-height: 1.05; margin-top: 6px; overflow-wrap: anywhere; }
.fcard-wide .fcard-name, .fcard-full .fcard-name { font-size: 44px; }
.fcard-since { font-size: 14px; color: rgba(247, 235, 211, .74); margin-top: 6px; }

.vgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-bottom: 100px; }
.vcard { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.vcard:hover { border-color: var(--gold-2); box-shadow: var(--shadow); }
.vcard-ph { position: relative; aspect-ratio: 4 / 3; background: var(--tone, #2B2118); overflow: hidden; }
.vcard-ph img.ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vcard-ph .badge { position: absolute; left: 14px; bottom: 14px; }
.vcard-body { padding: 18px 20px 20px; }
.vcard-name { font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.1; overflow-wrap: anywhere; }
.vcard-meta { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.vcard:target, .fcard:target { box-shadow: 0 0 0 2px var(--gold-2); }
.empty { padding: 8px 0 100px; color: var(--muted); font-size: 18px; }

/* ---------------------------------------------------------------- /ishchilar */
.ish { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: start; padding-top: 88px; padding-bottom: 90px; }
.ish-h1 { font-size: clamp(40px, 5vw, 68px); margin-bottom: 20px; }
.ish-lead { margin-bottom: 30px; max-width: 480px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.note-box {
  margin-top: 40px; padding: 22px 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line);
  display: flex; gap: 16px; align-items: flex-start;
}
.note-ic { flex: 0 0 auto; color: var(--gold-lg); }
.note-box p { font-size: 15.5px; color: var(--muted); }
.note-box b { color: var(--ink); }
.steps { display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.step-num { font-family: var(--serif); font-style: italic; font-size: 32px; color: var(--gold-lg); line-height: 1; }
.step-h { margin: 0 0 6px; font-family: var(--serif); font-size: 25px; font-weight: 600; line-height: 1.15; }
.step p { color: var(--muted); font-size: 16px; }

.order { background: var(--dark); color: var(--cream); scroll-margin-top: var(--nav-h); }
.order-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: start; padding-top: 100px; padding-bottom: 100px; }
.order .eyebrow { color: var(--gold-l); }
.order-h { font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 4.6vw, 62px); line-height: 1.02; margin-bottom: 20px; color: var(--cream); }
.order-lead { color: rgba(247, 235, 211, .74); font-size: 18px; max-width: 460px; margin-bottom: 28px; }
.order-contacts { display: flex; flex-direction: column; gap: 14px; font-size: 16px; }
.order-contacts a { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; }
.order-contacts a:hover b { color: var(--gold-l); }
.ic {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(231, 201, 129, .5); display: grid; place-items: center;
  color: var(--gold-l); flex: 0 0 auto;
}
.order :focus-visible { outline-color: var(--gold-l); }

.oform {
  position: relative; background: rgba(255, 255, 255, .04); border: 1px solid rgba(231, 201, 129, .28); border-radius: 24px;
  padding: 32px; min-width: 0;
}
.ofields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(247, 235, 211, .74); font-weight: 500; }
.field input, .field textarea {
  width: 100%; min-width: 0; height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(231, 201, 129, .35);
  background: rgba(15, 12, 8, .6); color: var(--cream); font: 16px var(--sans); color-scheme: dark;
  transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
.field input::-webkit-date-and-time-value { text-align: left; }
.field input::placeholder, .field textarea::placeholder { color: rgba(247, 235, 211, .55); opacity: 1; }
.field textarea { min-height: 96px; height: auto; padding: 12px 16px; resize: vertical; line-height: 1.5; }
.field input:hover, .field textarea:hover { border-color: rgba(231, 201, 129, .6); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold-l); box-shadow: 0 0 0 3px rgba(231, 201, 129, .25); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #F0A58F; }
.ferr { font-size: 13.5px; color: #F4B4A2; line-height: 1.4; }
.ferr::before { content: "! "; font-weight: 700; }
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.btn-submit { height: 56px; border: 0; font-size: 16px; width: 100%; }
.btn-submit[disabled] { opacity: .7; cursor: progress; transform: none; }
.form-note { font-size: 13px; color: rgba(247, 235, 211, .6); }
.notice { margin-bottom: 18px; padding: 14px 16px; border-radius: 12px; font-size: 15px; line-height: 1.5; }
.notice-err { background: rgba(240, 165, 143, .12); border: 1px solid rgba(240, 165, 143, .5); color: #F8D3C7; }
.sent { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 8px 0; outline: none; }
.sent-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(231, 201, 129, .14); color: var(--gold-l); }
.sent-msg { font-family: var(--serif); font-size: 32px; font-weight: 600; line-height: 1.15; color: var(--cream); }

.faq { padding-top: 100px; padding-bottom: 100px; }
.faq-head { text-align: center; margin-bottom: 40px; }
.faq-h { font-size: clamp(34px, 4vw, 54px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 20px 0; cursor: pointer;
  font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.25; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--gold-text); }
.faq-ic { position: relative; width: 18px; height: 18px; flex: 0 0 auto; color: var(--gold-text); }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .25s; }
.faq-ic::after { transform: rotate(90deg); }
details[open] .faq-ic::after { transform: rotate(0deg); }
.faq-list details p { margin: 0 0 20px; color: var(--muted); max-width: 720px; }

/* ---------------------------------------------------------------- paydo bo'lish (site.js .rv qo'shadi) */
.rv .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.rv .reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- moslashuv */
@media (max-width: 1199px) {
  .brand-tag { display: none; }
  .nav-in { gap: 20px; }
  .nav-links { gap: 18px; }
  .vgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  .burger { display: grid; }
  .nav-menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 8px 24px 24px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .35);
    flex-direction: column; align-items: stretch; max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav.open .nav-menu { display: flex; }
  .nav-links { flex-direction: column; gap: 0; font-size: 17px; color: var(--ink); }
  .nav-links a { display: flex; min-height: 52px; border-bottom: 1px solid var(--line); }
  .nav-tools { margin-left: auto; }
  html:not(.js) .nav-in { height: auto; min-height: var(--nav-h); flex-wrap: wrap; padding-top: 10px; padding-bottom: 6px; }
  html:not(.js) .nav-menu { display: flex; position: static; width: 100%; padding: 0; border: 0; box-shadow: none; background: transparent; order: 3; }
  html:not(.js) .nav-links { flex-direction: row; flex-wrap: wrap; gap: 0 18px; font-size: 15px; }
  html:not(.js) .nav-links a { border: 0; min-height: 44px; }
}

@media (max-width: 899px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tarix, .ish, .order-in { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .featured { grid-template-columns: minmax(0, 1fr); }
  .fcard, .fcard-wide { grid-column: auto; min-height: 360px; }
  .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-links { gap: 0; }
  .foot-links a { min-height: 44px; }
  .hero { min-height: 680px; }
  .stats-box { flex: 1 1 100%; max-width: 560px; }
}

@media (max-width: 639px) {
  :root { --nav-h: 64px; }
  body { font-size: 16px; line-height: 1.55; }
  .wrap, .wrap-narrow { padding-left: 20px; padding-right: 20px; }
  .eyebrow { font-size: 11px; letter-spacing: .24em; margin-bottom: 12px; }
  .h2 { font-size: 36px; }
  .h1 { font-size: 40px; }

  /* nav: logo, SASTAV, UZ/RU, rejim, burger (Mobil.dc.html) */
  .nav-in { gap: 10px; padding-left: 16px; padding-right: 16px; }
  .brand { gap: 10px; }
  .brand img { width: 38px; height: 38px; }
  .brand-name { font-size: 24px; }
  .nav-cta { display: none; }
  .nav-tools { gap: 8px; }
  .nav-tools .lang { order: 1; }
  .nav-tools .theme-btn { order: 2; }
  .nav-tools .burger { order: 3; }
  .lang button { padding: 0 9px; min-width: 36px; font-size: 11px; }
  .nav-menu { padding: 4px 20px 20px; }
  .menu-cta { display: inline-flex; margin-top: 16px; min-height: 54px; font-size: 16px; }
  html:not(.js) .menu-cta { display: none; }

  /* hero: rasm ustida matn, raqamlar 2x2 pastda */
  .hero { min-height: 0; grid-template-rows: minmax(600px, auto) auto; background: var(--bg); color: var(--ink); }
  .hero-media { grid-area: 1 / 1; background: linear-gradient(160deg, #2A2015, #0F0C08 70%); }
  .hero-media::after { background: linear-gradient(180deg, rgba(15, 12, 8, .1), rgba(15, 12, 8, .95) 75%); }
  .hero-in { display: contents; }
  .hero-text { grid-area: 1 / 1; align-self: end; position: relative; z-index: 1; padding: 24px 20px 28px; color: var(--cream); }
  .eyebrow-line { margin-bottom: 14px; }
  .eb-line { display: none; }
  .hero h1 { font-size: 46px; line-height: .98; }
  .hero-lead { margin: 16px 0 22px; font-size: 16px; color: rgba(247, 235, 211, .8); }
  .hero-btns { flex-direction: column; gap: 10px; }
  .hero-btns .btn { width: 100%; min-height: 54px; height: 54px; }
  .stats-box { grid-row: 2; grid-column: 1; max-width: none; }
  .stats {
    border-radius: 0; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    background: var(--line); -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .stat { background: var(--bg); padding: 22px 20px; }
  .stat-num { font-size: 40px; color: var(--stat-num); }
  .stat-lbl { font-size: 11.5px; color: var(--muted); }
  .live { color: var(--gold-text); }

  .trust-in { flex-direction: column; align-items: stretch; gap: 10px; padding-top: 18px; padding-bottom: 18px; }
  .trust-track { font-size: 21px; --tg: 32px; }

  .sec { padding-top: 56px; padding-bottom: 40px; }
  .sec-head { gap: 16px; margin-bottom: 22px; }
  .sec-head-main, .sec-lead { flex-basis: 100%; }
  .sec-lead { font-size: 16px; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .card { padding: 20px; border-radius: 18px; }
  .card-num { font-size: 20px; color: var(--gold-text); }
  .card h3 { margin: 6px 0 4px; font-size: 24px; }
  .card p { font-size: 15px; }

  /* hamkorlar: gorizontal surish */
  .band { background: var(--bg); border: 0; }
  .sec-hamkor { padding: 24px 0 56px; }
  .sec-hamkor .sec-head { padding: 0 20px; margin-bottom: 16px; flex-wrap: nowrap; align-items: flex-end; }
  .sec-hamkor .h2 { font-size: 32px; }
  .all-link { border: 0; padding: 10px 0 10px 8px; font-size: 14px; white-space: nowrap; background: none; }
  .all-count { display: none; }
  .pgrid {
    display: flex; gap: 12px; padding: 0 20px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px;
    overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .pgrid::-webkit-scrollbar { display: none; }
  .pgrid > li { flex: 0 0 240px; scroll-snap-align: start; }
  .pcard { border-radius: 16px; }
  .pcard-foot { padding: 14px; }
  .pcard-name { font-size: 24px; }

  .tarix { padding-bottom: 56px; gap: 32px; }
  .tarix-photo { margin-top: 24px; border-radius: 18px; }
  .tl { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 20px 0; }
  .tl-year { font-size: 30px; }
  .tl h3 { font-size: 23px; }

  .cta-wrap { padding: 0 20px 56px; }
  .cta { padding: 28px 24px; border-radius: 22px; border: 1px solid rgba(201, 165, 90, .35); gap: 18px; }
  .cta-ring { display: none; }
  .cta-text { flex-basis: 100%; }
  .cta h2 { font-size: 30px; line-height: 1.05; }
  .cta p { margin-top: 8px; font-size: 15px; color: #B9AA92; }
  .cta-btns { flex-direction: column; width: 100%; gap: 10px; }
  .cta-btns .btn { width: 100%; min-height: 52px; }

  .foot-grid { padding-top: 36px; padding-bottom: 20px; gap: 22px 16px; font-size: 14px; }
  .foot-brand, .foot-app { grid-column: 1 / -1; }
  .foot-logo { font-size: 26px; }
  .foot-links { font-size: 14px; }
  .foot-lbl { display: none; }
  .foot-bottom { padding-top: 16px; padding-bottom: 28px; font-size: 12.5px; color: rgba(247, 235, 211, .6); }

  /* /hamkorlar */
  .page-head { padding-top: 48px; padding-bottom: 28px; }
  .page-head-row { gap: 20px; }
  .fcard, .fcard-wide { min-height: 300px; border-radius: 20px; }
  .fcard-body, .fcard-wide .fcard-body { padding: 20px; }
  .fcard-name, .fcard-wide .fcard-name { font-size: 34px; }
  .badge-lg { width: 52px; height: 52px; font-size: 24px; }
  .featured { gap: 12px; padding-bottom: 12px; }
  .vgrid { gap: 12px; padding-bottom: 56px; }
  .vcard { border-radius: 16px; }
  .vcard-body { padding: 12px 14px 14px; }
  .vcard-name { font-size: 21px; }
  .vcard-meta { font-size: 12.5px; }
  .vcard-ph .badge { left: 10px; bottom: 10px; width: 38px; height: 38px; font-size: 18px; }

  /* /ishchilar */
  .ish { padding-top: 48px; padding-bottom: 56px; gap: 36px; }
  .ish-h1 { font-size: 40px; }
  .btn-row .btn { width: 100%; }
  .note-box { margin-top: 28px; padding: 18px; }
  .step { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
  .step-h { font-size: 23px; }
  .order-in { padding-top: 56px; padding-bottom: 56px; gap: 32px; }
  .order-h { font-size: 36px; }
  .order-lead { font-size: 16px; }
  .oform { padding: 20px; border-radius: 20px; }
  .faq { padding-top: 56px; padding-bottom: 56px; }
  .faq-head { margin-bottom: 24px; }
  .faq-list summary { font-size: 21px; padding: 16px 0; }
}

@media (max-width: 479px) {
  .ofields { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 379px) {
  .brand-name { font-size: 21px; }
  .brand img { width: 34px; height: 34px; }
  .nav-in { gap: 6px; }
  .nav-tools { gap: 6px; }
  .hero h1 { font-size: 42px; }
  .vgrid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------- harakatni kamaytirish */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .rv .reveal { opacity: 1; transform: none; }
  .trust-names { overflow-x: auto; scrollbar-width: none; }
  .trust-names.marquee .trust-track { animation: none; }
  .live::before { animation: none; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
