@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

/* Yorug': oq fon, to'q ko'k matn, oltin faqat asosiy tugmalarda */
:root {
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --surface: #ffffff;
  --heading: #0b1b3f;
  --text: #0b1b3f;
  --muted: #5b6478;
  --line: #e6e9ef;
  --gold: #c9a54c;
  --gold-hover: #b8933b;
  --gold-text: #8f6c1c;
  --btn-ink: #0b1b3f;
  --btn-bg: #ffffff;
  --band: #0b1b3f;
  --band-text: #ffffff;
  --badge-bg: #0b1b3f;
  --badge-text: #ffffff;
  --icon: #0b1b3f;
  --nav-bg: rgba(255, 255, 255, .92);
  --shadow: 0 1px 2px rgba(11, 27, 63, .04), 0 24px 60px rgba(11, 27, 63, .12);
  --serif: "Cinzel", "Trajan Pro", Georgia, "Times New Roman", serif;
  color-scheme: light;
}

/* Qorong'i: grafit-kulrang fon, sariq-oltin yozuvlar */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1e1e20; --bg-alt: #252528; --surface: #2a2a2d;
    --heading: #e8c46a; --text: #ecebe6; --muted: #a3a3a8; --line: #3a3a3f;
    --gold: #dcb558; --gold-hover: #e8c46a; --gold-text: #e2bb5c;
    --btn-ink: #1e1e20; --btn-bg: #2a2a2d;
    --band: #2a2a2d; --band-text: #e8c46a;
    --badge-bg: #e2bb5c; --badge-text: #1e1e20; --icon: #e2bb5c;
    --nav-bg: rgba(30, 30, 32, .9);
    --shadow: 0 24px 60px rgba(0, 0, 0, .45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1e1e20; --bg-alt: #252528; --surface: #2a2a2d;
  --heading: #e8c46a; --text: #ecebe6; --muted: #a3a3a8; --line: #3a3a3f;
  --gold: #dcb558; --gold-hover: #e8c46a; --gold-text: #e2bb5c;
  --btn-ink: #1e1e20; --btn-bg: #2a2a2d;
  --band: #2a2a2d; --band-text: #e8c46a;
  --badge-bg: #e2bb5c; --badge-text: #1e1e20; --icon: #e2bb5c;
  --nav-bg: rgba(30, 30, 32, .9);
  --shadow: 0 24px 60px rgba(0, 0, 0, .45);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; color: var(--heading); line-height: 1.15; letter-spacing: -.02em; }
h3 { color: var(--text); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 760px; }

/* ---- Logotip ---- */
.wm { font-family: var(--serif); font-weight: 500; letter-spacing: .14em; line-height: 1; white-space: nowrap; color: var(--heading); }
.wm .a { position: relative; display: inline-block; }
.wm .a::after {
  content: ""; position: absolute; left: 26%; right: 34%; top: 51.5%; height: .09em;
  background: var(--gold); clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%);
}
.brand .wm { font-size: 24px; }
.wm.sm { font-size: 18px; }
.lockup { display: inline-flex; flex-direction: column; align-items: center; }
.lockup .wm { font-size: clamp(48px, 9vw, 84px); padding-left: .14em; }
.swoosh { width: 108%; height: 5px; margin-top: 14px; background: linear-gradient(90deg, rgba(201, 165, 76, 0), var(--gold) 40%, #e2c374); clip-path: polygon(0 46%, 98.6% 0, 100% 50%, 98.6% 100%, 0 54%); }
.tagline { margin-top: 14px; font-size: 12px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-text); }
/* Qorong'i rejimda: asl logodan ajratilgan rasm (oq harflar + oltin belgilar) */
.logo-img { display: none; width: min(460px, 82vw); height: auto; margin: 0 auto; }
:root[data-theme="dark"] .lockup { display: none; }
:root[data-theme="dark"] .logo-img { display: block; }
:root[data-theme="dark"] .brand .wm, :root[data-theme="dark"] .wm.sm { color: #f3f1ec; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .lockup { display: none; }
  :root:not([data-theme="light"]) .logo-img { display: block; }
  :root:not([data-theme="light"]) .brand .wm, :root:not([data-theme="light"]) .wm.sm { color: #f3f1ec; }
}

/* ---- Tugmalar ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px; border-radius: 10px; border: 1px solid var(--line); background: var(--btn-bg); color: var(--text); font-weight: 600; font-size: 15px; white-space: nowrap; transition: background .15s, border-color .15s; cursor: pointer; }
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--gold); border-color: var(--gold); color: var(--btn-ink); }
.btn.primary:hover { background: var(--gold-hover); border-color: var(--gold-hover); }
.btn.lg { height: 52px; padding: 0 28px; font-size: 16px; border-radius: 12px; }
.theme-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
.theme-btn:hover { border-color: var(--muted); }
.theme-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: block; }
:root[data-theme="dark"] .theme-btn .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .sun { display: block; }
  :root:not([data-theme="light"]) .theme-btn .moon { display: none; }
}

/* ---- Navigatsiya ---- */
.nav { position: sticky; top: 0; z-index: 10; background: var(--nav-bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 12px; height: 68px; }
.links { display: flex; gap: 28px; margin: 0 20px 0 auto; font-size: 15px; color: var(--muted); }
.links a:hover { color: var(--text); }
@media (max-width: 760px) { .links { display: none; } .theme-btn { margin-left: auto; } }

/* ---- Hero ---- */
.hero { text-align: center; padding: 80px 0 0; }
.hero h1 { font-size: clamp(32px, 5vw, 54px); font-weight: 750; max-width: 820px; margin: 56px auto 0; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 640px; margin: 20px auto 0; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.note { font-size: 14px; color: var(--muted); margin: 16px 0 0; }
.shot { margin: 64px auto 0; max-width: 1040px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.shot img { display: block; width: 100%; height: auto; }
.shot .dark { display: none; }
:root[data-theme="dark"] .shot .light { display: none; }
:root[data-theme="dark"] .shot .dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .shot .light { display: none; }
  :root:not([data-theme="light"]) .shot .dark { display: block; }
}

/* ---- Mijozlar uchun lenta ---- */
.customer-band { margin-top: 88px; }
.customer-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 28px 32px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-alt); }
.customer-in h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 750; }
.customer-in p { margin: 6px 0 0; color: var(--muted); }
@media (max-width: 600px) { .customer-in { padding: 24px 20px; } .customer-in .btn { width: 100%; } }

/* ---- Bo'limlar ---- */
.block { padding: 104px 0; }
.block.alt { background: var(--bg-alt); }
.eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.block h2, .final h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 750; }

.features { display: grid; gap: 40px 32px; margin-top: 48px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.f-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--line); }
.f-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--icon); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.features h3 { font-size: 18px; margin: 18px 0 8px; }
.features p { margin: 0; color: var(--muted); font-size: 16px; }

.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.steps b { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--badge-bg); color: var(--badge-text); font-size: 15px; }
.steps h3 { font-size: 18px; margin: 18px 0 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

.faq { margin-top: 36px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 10px 0 0; color: var(--muted); }

.final { background: var(--band); text-align: center; padding: 88px 0; border-top: 1px solid var(--line); }
.final .wrap { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.final h2 { color: var(--band-text); max-width: 680px; }

.foot { border-top: 1px solid var(--line); }
.foot-in { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--muted); }
