/* Majlis — rasmiy hujjat uslubi: to'q olxo'ri, antik oltin, fil suyagi. Tekis rang, ingichka chiziqlar, gradient/soya/glow yo'q. */
:root {
  --plum: #4a1942;
  --plum-2: #63265a;
  --plum-d: #2d0e29;
  --gold: #c9a456;
  --gold-l: #e3c98a;
  --gold-d: #85601a;
  --ivory: #faf5ea;
  --paper: #fffdf8;
  --parch: #f2e9d6;
  --ink: #2b1828;
  --muted: #5d4957;
  --line: rgba(133, 96, 26, .28);
  --line-l: rgba(201, 164, 86, .38);
  --ok: #22553a;
  --bad: #8c1d2f;
  --sans: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans Arabic", Tahoma, Roboto, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", "Noto Naskh Arabic", "Songti SC", "Noto Serif SC", serif;
  --band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'%3E%3Cpath d='M0 6h24' stroke='%23c9a456' stroke-width='.7'/%3E%3Cpath d='M12 2l4 4-4 4-4-4z' fill='none' stroke='%23c9a456' stroke-width='.9'/%3E%3Ccircle cx='12' cy='6' r='1.1' fill='%23c9a456'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); font-size: 17px; line-height: 1.75; color: var(--ink); background: var(--ivory); -webkit-font-smoothing: antialiased; }
body.lang-ar { font-size: 17.5px; line-height: 1.9; }
body.lang-zh { line-height: 1.8; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-d); outline-offset: 3px; }
.sec--plum :focus-visible, .ftr :focus-visible, .arch :focus-visible, .phero__arch :focus-visible { outline-color: var(--gold-l); }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; text-wrap: balance; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 28px; }
.wrap--narrow { max-width: 880px; }
.chev { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
[dir="rtl"] .chev { transform: scaleX(-1); }
.chev--back { transform: scaleX(-1); }
[dir="rtl"] .chev--back { transform: none; }

.skip { position: fixed; inset-block-start: 8px; inset-inline-start: 8px; z-index: 300; padding: 10px 16px; background: var(--plum-d); color: var(--ivory); transform: translateY(-180%); transition: transform .2s; }
.skip:focus { transform: none; }

/* ---------- Bezaklar ---------- */
.band { height: 12px; background: var(--plum-d) var(--band) center / 24px 12px repeat-x; }
.orn { display: flex; justify-content: center; margin-block: 16px; }
.orn svg { width: 200px; height: 16px; }
.orn__ln { fill: none; stroke: var(--gold); stroke-width: 1; }
.orn__dm { fill: var(--gold); }
.orn__in { fill: var(--ivory); }
.orn--plum .orn__in { fill: var(--plum); }
.orn--dark .orn__in { fill: var(--plum-d); }

.star { width: 48px; height: 48px; }
.star__a { fill: var(--plum); stroke: var(--gold); stroke-width: 1.2; }
.star__c { fill: none; stroke: var(--gold); stroke-width: 1; }
.star__k { fill: none; stroke: var(--gold-l); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.med { position: relative; display: inline-grid; place-items: center; width: 56px; height: 56px; flex: none; }
.med::before, .med::after { content: ""; position: absolute; inset: 9px; border: 1px solid var(--gold-d); background: var(--paper); }
.med::after { transform: rotate(45deg); }
.med > span { position: relative; z-index: 1; font-family: var(--serif); font-weight: 700; font-size: 19px; line-height: 1; color: var(--plum); }
.med--xs { width: 34px; height: 34px; }
.med--xs::before, .med--xs::after { inset: 6px; }
.med--xs > span { font-size: 13px; }
.med--lg { width: 76px; height: 76px; }
.med--lg::before, .med--lg::after { inset: 12px; background: var(--plum); border-color: var(--gold); }
.med--lg > span { font-size: 24px; color: var(--gold-l); }

/* ---------- Tugmalar ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 28px; border: 0; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: 16px; line-height: 1.4; text-align: center; background: var(--gold); color: var(--plum-d); transition: background .2s; }
.btn::before { content: ""; position: absolute; inset: 4px; border-radius: inherit; border: 1px dashed rgba(45, 14, 41, .5); pointer-events: none; }
.btn:hover { background: var(--gold-l); }
.btn:disabled { opacity: .65; cursor: progress; }
.btn--lg { min-height: 56px; padding: 12px 34px; font-size: 17px; }
.btn--line { background: transparent; color: var(--ivory); box-shadow: inset 0 0 0 1px var(--gold); }
.btn--line::before { border: 0; }
.btn--line:hover { background: var(--plum-2); }
.link { display: inline-flex; align-items: center; gap: 8px; padding-block: 8px 4px; border-bottom: 1px solid var(--gold); font-weight: 700; color: var(--plum); }
.link:hover { color: var(--gold-d); }
.link:hover .chev { transform: translateX(3px); }
[dir="rtl"] .link:hover .chev { transform: scaleX(-1) translateX(3px); }

/* ---------- Sarlavha (header) ---------- */
.hdr { position: relative; z-index: 50; background: var(--ivory); }
.hdr__top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "contact logo tools"; align-items: center; gap: 20px; padding-block: 22px 16px; }
.hdr__contact { grid-area: contact; display: flex; align-items: center; gap: 14px; font-size: 14.5px; font-weight: 600; color: var(--plum); }
.hdr__contact span { width: 1px; height: 16px; background: var(--line); }
.hdr__contact a:hover { color: var(--gold-d); }
.logo { grid-area: logo; display: grid; justify-items: center; text-align: center; color: var(--plum); }
.logo__mark { width: 46px; height: 46px; margin-bottom: 6px; }
.logo__name { font-family: var(--serif); font-weight: 700; font-size: 30px; line-height: 1.2; }
.logo__tag { display: flex; align-items: center; gap: 10px; margin-top: 2px; font-size: 13px; color: var(--gold-d); font-weight: 600; }
.logo__tag::before, .logo__tag::after { content: ""; width: 22px; height: 1px; background: var(--gold); }
.hdr__tools { grid-area: tools; display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.hdr__cta { padding-inline: 24px; }

.nav { border-block: 1px solid var(--line); box-shadow: 0 3px 0 -2px var(--line); background: var(--ivory); }
.nav__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 10px; }
.nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 4px 10px; font-size: 15.5px; font-weight: 600; color: var(--plum); white-space: nowrap; box-shadow: inset 0 -2px 0 transparent; transition: color .2s, box-shadow .2s; }
.nav a:hover { color: var(--gold-d); box-shadow: inset 0 -2px 0 var(--gold); }
.nav__in > i { width: 5px; height: 5px; border: 1px solid var(--gold-d); transform: rotate(45deg); flex: none; }

.lang { position: relative; }
.lang summary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); cursor: pointer; list-style: none; color: var(--plum); font-weight: 600; }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; inset-inline-end: 0; inset-block-start: calc(100% + 6px); min-width: 160px; padding: 6px; background: var(--paper); border: 1px solid var(--gold); }
.lang li a { display: block; padding: 10px 12px; font-weight: 600; }
.lang li a:hover { background: var(--parch); }

.nav-toggle { display: none; position: relative; width: 46px; height: 46px; border: 1px solid var(--gold); background: var(--paper); cursor: pointer; }
.nav-toggle span { position: absolute; inset-inline: 12px; height: 1.5px; background: var(--plum); transition: transform .25s, opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 21.5px; } .nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero: ravoq + tekshiruv varaqasi ---------- */
.hero { padding-block: 72px 88px; }
.arch { position: relative; max-width: 1040px; margin-inline: auto; padding: 124px 84px 136px; text-align: center; color: var(--ivory); background: var(--plum);
  border-radius: 50% 50% 0 0 / 300px 300px 0 0; box-shadow: 0 0 0 7px var(--ivory), 0 0 0 8px var(--gold); }
.arch::before { content: ""; position: absolute; inset: 14px 14px 0; border: 1px solid var(--line-l); border-bottom: 0; border-radius: 50% 50% 0 0 / 286px 286px 0 0; pointer-events: none; }
.arch > * { position: relative; }
.arch__key { position: absolute; inset-block-start: -36px; inset-inline: 0; margin-inline: auto; width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: var(--ivory); box-shadow: inset 0 0 0 1px var(--gold); }
.arch__key .star { width: 52px; height: 52px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 15px; font-weight: 600; color: var(--gold-l); }
.eyebrow::before, .eyebrow::after { content: ""; width: 30px; height: 1px; background: var(--gold); }
.arch h1 { max-width: 820px; margin-inline: auto; font-size: clamp(30px, 3.6vw, 47px); line-height: 1.45; color: var(--ivory); }
.hero__lead { max-width: 720px; margin: 0 auto 28px; font-size: 18px; color: #eadfe6; }
.ruled { max-width: 620px; margin: 0 auto 36px; border-block: 1px solid var(--line-l); text-align: start; }
.ruled li { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: baseline; gap: 10px; padding-block: 11px; font-weight: 600; color: var(--ivory); }
.ruled li + li { border-top: 1px dotted var(--line-l); }
.ruled__n { font-family: var(--serif); font-size: 19px; color: var(--gold); text-align: center; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* Namuna: qog'oz tekshiruv varaqasi */
.cert { position: relative; z-index: 2; max-width: 740px; margin: -92px auto 0; padding: 40px 48px 34px; background: var(--paper); color: var(--ink); border: 1px solid var(--plum); box-shadow: inset 0 0 0 5px var(--paper), inset 0 0 0 6px var(--line); }
.cert__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "kick zone" "name zone"; align-items: end; column-gap: 20px; padding-bottom: 14px; border-bottom: 3px double var(--plum); }
.cert__kick { grid-area: kick; font-size: 13px; font-weight: 700; color: var(--gold-d); }
.cert__name { grid-area: name; font-family: var(--serif); font-size: 27px; font-weight: 700; line-height: 1.3; color: var(--plum); }
.cert__zone { grid-area: zone; align-self: center; padding: 6px 14px; border: 1px solid var(--plum); font-size: 14px; font-weight: 700; color: var(--plum); white-space: nowrap; }
.cert__rows li { display: flex; align-items: baseline; gap: 12px; padding-block: 11px; border-bottom: 1px solid var(--line); }
.cert__i { width: 20px; flex: none; font-family: var(--serif); color: var(--gold-d); font-weight: 700; }
.cert__item { font-weight: 600; }
.cert__lead { flex: 1; min-width: 12px; border-bottom: 1px dotted rgba(45, 14, 41, .35); }
.st { padding: 0 10px; font-size: 13.5px; font-weight: 700; white-space: nowrap; border: 1px solid currentColor; }
.st--ok { color: var(--ok); }
.st--diff { color: var(--bad); background: #f7e6e8; }
.cert__sum { display: grid; grid-template-columns: auto auto minmax(60px, 1fr) auto; align-items: center; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.cert__cap { font-size: 14.5px; color: var(--muted); }
.cert__big { font-family: var(--serif); font-size: 34px; font-weight: 700; line-height: 1; color: var(--plum); }
.cert__big small { font-size: 18px; color: var(--muted); font-weight: 400; }
.cert__bar { height: 7px; border: 1px solid var(--plum); }
.cert__bar span { display: block; height: 100%; background: var(--plum); }
.cert__pct { font-weight: 700; color: var(--plum); }
.cert__foot { position: relative; display: flex; align-items: flex-end; gap: 24px; min-height: 92px; padding-top: 18px; }
.cert__sign { width: 150px; height: 46px; border-bottom: 1px solid var(--ink); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 46'%3E%3Cpath d='M8 34c10-14 18-22 22-18s-8 20-2 20 14-24 20-22-4 18 2 18 10-12 16-12 4 8 10 6 16-14 30-16' fill='none' stroke='%234a1942' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E") center bottom 4px / 140px no-repeat; }
.cert__legend { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13.5px; color: var(--muted); }
.cert__legend > span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; transform: rotate(45deg); }
.dot--ok { background: var(--ok); } .dot--diff { background: var(--bad); }
.stamp { position: absolute; inset-inline-end: -6px; inset-block-end: -10px; display: grid; place-items: center; align-content: center; gap: 2px; width: 108px; height: 108px; border-radius: 50%; border: 2px solid #7b2e6f; box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 5px #7b2e6f; color: #7b2e6f; transform: rotate(-12deg); opacity: .82; }
.stamp__star { width: 34px; height: 34px; }
.stamp .star__a { fill: none; stroke: #7b2e6f; }
.stamp .star__c, .stamp .star__k { stroke: #7b2e6f; }
.stamp b { font-family: var(--serif); font-size: 17px; line-height: 1; }

/* ---------- Bo'limlar ---------- */
.sec { padding-block: 100px; }
.sec--tight { padding-block: 56px 72px; }
.sec--why { padding-top: 84px; }
.sec--parch { background: var(--parch); border-block: 1px solid var(--line); }
.sec--plum { color: var(--ivory); background: var(--plum); }
.sec--ind { padding-block: 76px; border-block: 1px solid var(--line); box-shadow: inset 0 4px 0 -3px var(--line), inset 0 -4px 0 -3px var(--line); }

.sh { margin-bottom: 44px; max-width: 720px; }
.sh__n { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--gold-d); }
.sh__n::after { content: ""; width: 56px; height: 1px; background: var(--gold); }
.sh h2 { font-size: clamp(28px, 3.1vw, 41px); line-height: 1.45; color: var(--plum); }
.sh__lead { margin-top: 14px; font-size: 18px; color: var(--muted); }
.sh--center { margin-inline: auto; text-align: center; }
.sh--center .sh__n { justify-content: center; }
.sh--center .sh__n::before { content: ""; width: 56px; height: 1px; background: var(--gold); }
.sh--light h2 { color: var(--ivory); }
.sh--light .sh__n { color: var(--gold); }
.sh--light .sh__lead { color: #e6d9e2; }
.sec--plum .sh__n { color: var(--gold); }

.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.sh--side { position: sticky; top: 28px; margin-bottom: 0; }

/* "Nega biz" — nizom bandlari */
.clauses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 44px; border-top: 2px solid var(--plum); }
.clauses li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; padding-block: 26px 28px; border-bottom: 1px solid var(--line); }
.clauses__n { grid-row: span 2; font-family: var(--serif); font-size: 34px; line-height: 1.1; color: var(--gold-d); }
.clauses h3 { font-size: 20px; line-height: 1.5; color: var(--plum); margin-bottom: 6px; }
.clauses p { font-size: 15.5px; color: var(--muted); }

/* Xizmatlar: keng qatorlar */
.sh-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px 56px; margin-bottom: 40px; }
.sh-row .sh { margin-bottom: 0; }
.sh-row__lead { max-width: 400px; padding-inline-start: 22px; border-inline-start: 1px solid var(--gold); color: var(--muted); font-size: 16.5px; }
.sh-row__act { flex: none; }
.rows { background: var(--paper); border-block: 3px double var(--plum); }
.rows > li + li { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 26px 28px; transition: background .2s; }
.row:hover { background: var(--ivory); }
.row__body { display: grid; gap: 4px; max-width: 760px; }
.row__t { font-size: 21px; line-height: 1.5; color: var(--plum); }
.row__x { font-size: 16px; color: var(--muted); }
.row__more { display: inline-flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 700; color: var(--gold-d); white-space: nowrap; }
.row__chev { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--gold); border-radius: 50%; color: var(--plum); transition: background .2s, color .2s; }
.row:hover .row__chev { background: var(--plum); border-color: var(--plum); color: var(--gold-l); }
.row:hover .chev { transform: translateX(3px); }
[dir="rtl"] .row:hover .chev { transform: scaleX(-1) translateX(3px); }
.sec__more { margin-top: 30px; text-align: end; }

/* Jarayon: markaziy vertikal chiziq */
.tl { position: relative; max-width: 1000px; margin-inline: auto; display: grid; gap: 18px; }
.tl::before { content: ""; position: absolute; inset-block: 30px; inset-inline-start: calc(50% - .5px); width: 1px; background: var(--gold); }
.tl__it { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr); column-gap: 28px; align-items: center; }
.tl__it .med { grid-column: 2; grid-row: 1; }
.tl__card { grid-row: 1; position: relative; padding: 20px 26px; border: 1px solid var(--line-l); }
.tl__it:nth-child(odd) .tl__card { grid-column: 1; }
.tl__it:nth-child(even) .tl__card { grid-column: 3; }
.tl__card::after { content: ""; position: absolute; inset-block-start: 50%; width: 28px; height: 1px; background: var(--gold); }
.tl__it:nth-child(odd) .tl__card::after { inset-inline-start: 100%; }
.tl__it:nth-child(even) .tl__card::after { inset-inline-end: 100%; }
.tl__card h3 { font-size: 21px; line-height: 1.5; color: var(--gold-l); margin-bottom: 4px; }
.tl__card p { font-size: 16px; color: #e6d9e2; }

/* Sohalar: yozuv kabi bir oqim */
.ind { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; row-gap: 14px; max-width: 980px; margin-inline: auto; text-align: center; }
.ind li { display: inline-flex; align-items: center; font-family: var(--serif); font-weight: 700; font-size: 22px; line-height: 1.5; color: var(--plum); }
.ind li:not(:last-child)::after { content: ""; width: 7px; height: 7px; margin-inline: 22px; background: var(--gold); transform: rotate(45deg); }

/* Qo'llanmalar: ravoqli kartalar */
.gcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.gcard { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 74px 30px 28px; text-align: center; background: var(--paper); border: 1px solid var(--gold); border-radius: 50% 50% 0 0 / 130px 130px 0 0; outline: 1px solid var(--line); outline-offset: 5px; transition: border-color .2s; }
.gcard:hover { border-color: var(--plum); }
.gcard:hover .gcard__t { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; }
.gcard__n { position: absolute; inset-block-start: 18px; inset-inline: 0; margin-inline: auto; width: 44px; height: 44px; display: grid; place-items: center; font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--plum); }
.gcard__n::before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--gold-d); transform: rotate(45deg); }
.gcard__meta { font-size: 13.5px; font-weight: 700; color: var(--gold-d); }
.gcard__t { font-size: 20px; line-height: 1.55; color: var(--plum); }
.gcard__x { flex: 1; font-size: 15.5px; color: var(--muted); }
.gcard__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 700; font-size: 15px; color: var(--plum); }
.gcard__more .chev { color: var(--gold-d); }

/* Savollar */
.faq { border-top: 2px solid var(--plum); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: grid; grid-template-columns: 32px minmax(0, 1fr) 20px; align-items: baseline; gap: 12px; padding-block: 20px; cursor: pointer; list-style: none; font-weight: 700; font-size: 17.5px; color: var(--plum); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover .faq__q { color: var(--gold-d); }
.faq__n { font-family: var(--serif); color: var(--gold-d); font-weight: 700; }
.faq__m { position: relative; width: 14px; height: 14px; justify-self: end; align-self: center; }
.faq__m::before, .faq__m::after { content: ""; position: absolute; inset-inline: 0; inset-block-start: 6.5px; height: 1.5px; background: var(--gold-d); transition: transform .2s; }
.faq__m::after { transform: rotate(90deg); }
.faq details[open] .faq__m::after { transform: rotate(0); }
.faq details p { padding-block: 0 22px; padding-inline: 44px 32px; color: var(--muted); }
.faq--in { border-top: 1px solid var(--plum); }

/* Aloqa */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.contact__info h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.45; color: var(--ivory); }
.contact__lead { margin-top: 14px; font-size: 18px; color: #e6d9e2; }
.contact__direct { margin-top: 30px; font-family: var(--serif); font-weight: 700; font-size: 20px; color: var(--gold-l); }
.contact__list { margin-top: 10px; border-top: 1px solid var(--line-l); }
.contact__list > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--line-l); }
.contact__list dt { font-size: 14px; color: var(--gold-l); }
.contact__list a { display: inline-block; padding-block: 4px; font-weight: 700; font-size: 20px; color: var(--ivory); }
.contact__list a:hover { color: var(--gold-l); }
.contact__hours { margin-top: 16px; font-size: 14.5px; color: #e6d9e2; }

.form { position: relative; display: grid; gap: 16px; padding: 38px 36px 32px; background: var(--paper); color: var(--ink); border: 1px solid var(--gold); box-shadow: inset 0 0 0 5px var(--paper), inset 0 0 0 6px var(--line); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field span { font-size: 14.5px; font-weight: 700; color: var(--plum); }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #cdb994; border-radius: 0; background: var(--ivory); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field input::placeholder, .field textarea::placeholder { color: #7e6c78; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--plum); box-shadow: inset 0 -2px 0 var(--gold); }
.field textarea { resize: vertical; min-height: 116px; }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.captcha { max-width: 100%; overflow: hidden; }
.form .btn { justify-self: start; }
.form .btn .ico { width: 18px; height: 18px; }
[dir="rtl"] .form .ico--arrow { transform: scaleX(-1); }
.form__legal { font-size: 13.5px; color: var(--muted); }
.form__legal a { color: var(--plum); text-decoration: underline; text-underline-offset: 3px; }
.form__status { min-height: 22px; font-size: 15px; font-weight: 700; }
.form__status.is-ok { color: var(--ok); } .form__status.is-err { color: var(--bad); }

/* ---------- Footer ---------- */
.ftr { color: #e2d5de; background: var(--plum-d); font-size: 15px; }
.ftr__in { padding-block: 60px 26px; text-align: center; }
.ftr__mark { width: 52px; height: 52px; margin-inline: auto; }
.ftr__mark .star__a { fill: var(--plum-d); }
.ftr__brand { margin-top: 10px; font-family: var(--serif); font-weight: 700; font-size: 27px; color: var(--ivory); }
.ftr__tag { color: var(--gold-l); }
.ftr__contact { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 18px; margin-top: 10px; font-weight: 700; color: var(--ivory); }
.ftr__contact a { display: inline-block; padding-block: 8px; }
.ftr__contact span, .ftr__legal span { width: 1px; height: 14px; background: var(--line-l); }
.ftr .orn { margin-block: 26px 32px; }
.ftr__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 64px; max-width: 1020px; margin-inline: auto; text-align: start; }
.ftr__h { margin-bottom: 6px; padding-bottom: 10px; border-bottom: 1px solid var(--line-l); font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--gold-l); }
.ftr__nav li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; align-items: baseline; }
.ftr__nav li span { font-family: var(--serif); color: var(--gold); font-size: 14px; }
.ftr__nav li a { display: block; padding-block: 5px; font-size: 14.5px; line-height: 1.6; }
.ftr a:hover { color: var(--gold-l); }
.ftr__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 28px; max-width: 1020px; margin: 40px auto 0; padding-top: 18px; border-top: 1px solid var(--line-l); font-size: 14px; }
.ftr__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.ftr__legal a { display: inline-block; padding-block: 8px; color: var(--gold-l); text-decoration: underline; text-decoration-color: var(--line-l); text-underline-offset: 4px; }

/* ---------- Ichki sahifalar ---------- */
.phero { padding-top: 64px; }
.phero__arch { position: relative; max-width: 1040px; margin-inline: auto; padding: 100px 72px 54px; text-align: center; color: var(--ivory); background: var(--plum);
  border-radius: 50% 50% 0 0 / 210px 210px 0 0; box-shadow: 0 0 0 7px var(--ivory), 0 0 0 8px var(--gold); }
.phero__arch::before { content: ""; position: absolute; inset: 14px 14px 0; border: 1px solid var(--line-l); border-bottom: 0; border-radius: 50% 50% 0 0 / 196px 196px 0 0; pointer-events: none; }
.phero__arch > * { position: relative; }
.phero h1 { max-width: 860px; margin: 12px auto 0; font-size: clamp(27px, 3.4vw, 42px); line-height: 1.5; }
.phero__lead { max-width: 780px; margin-inline: auto; font-size: 18px; color: #eadfe6; }
.phero__act { margin-top: 24px; }
.phero__meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 18px; font-size: 15px; color: var(--gold-l); }
.phero__meta i { width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); }
.crumbs ol { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; font-size: 14px; color: #dccdd7; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; margin-inline: 12px; border: 1px solid var(--gold); transform: rotate(45deg); }
.crumbs a { display: inline-block; padding-block: 8px; text-decoration: underline; text-decoration-color: var(--line-l); text-underline-offset: 4px; }
.crumbs a:hover { color: var(--gold-l); }
.crumbs [aria-current] { color: var(--gold-l); }

.doc { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.sheet { min-width: 0; padding: 56px 64px; background: var(--paper); border: 1px solid var(--gold); box-shadow: inset 0 0 0 5px var(--paper), inset 0 0 0 6px var(--line); }
.sheet__lead { font-family: var(--serif); font-size: 21px; line-height: 1.9; color: var(--plum); }
.prose__sec { scroll-margin-top: 24px; }
.prose__sec + .prose__sec, .toc + .prose__sec { margin-top: 44px; }
.prose__sec h2 { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: clamp(22px, 2.3vw, 27px); line-height: 1.5; color: var(--plum); }
.prose__n { flex: none; min-width: 26px; font-size: 1.05em; color: var(--gold-d); }
.prose__star { width: 26px; height: 26px; transform: translateY(4px); }
.prose__sec p { margin-bottom: 14px; }
.dlist { display: grid; gap: 4px; margin-block: 12px; }
.dlist li { display: flex; align-items: flex-start; gap: 12px; }
.dlist li::before { content: ""; width: 7px; height: 7px; flex: none; margin-top: .8em; border: 1px solid var(--gold-d); transform: rotate(45deg); }
.nlist li { display: flex; align-items: center; gap: 14px; padding-block: 8px; border-bottom: 1px dotted var(--line); }
.toc { margin-top: 30px; padding: 22px 28px; border-block: 3px double var(--gold); }
.toc__h { font-family: var(--serif); font-weight: 700; font-size: 19px; color: var(--plum); margin-bottom: 6px; }
.toc li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px; align-items: baseline; }
.toc li span { font-family: var(--serif); font-weight: 700; color: var(--gold-d); }
.toc a { display: inline-block; padding-block: 4px; font-weight: 600; color: var(--plum); }
.toc a:hover { color: var(--gold-d); text-decoration: underline; }
.take { padding: 26px 30px; background: var(--parch); }
.take h2 { border-bottom-color: var(--gold); }

.side { position: sticky; top: 24px; display: grid; gap: 28px; }
.side__box { border-top: 2px solid var(--plum); }
.side__h { padding-block: 10px; border-bottom: 1px solid var(--gold); font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--plum); }
.side__box a { display: flex; align-items: flex-start; gap: 10px; padding-block: 10px; border-bottom: 1px dotted var(--line); font-size: 15px; font-weight: 600; line-height: 1.6; color: var(--plum-2); }
.side__box a .chev { width: 14px; height: 14px; margin-top: .45em; color: var(--gold-d); }
.side__box a:hover { color: var(--gold-d); }

.cta { padding-block: 0 96px; }
.cta__panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 48px; padding: 44px 52px; color: var(--ivory); background: var(--plum); border-inline-start: 6px solid var(--gold); }
.cta__panel h2 { font-size: clamp(23px, 2.5vw, 30px); line-height: 1.5; }
.cta__panel p { margin-top: 6px; max-width: 640px; color: #e6d9e2; }

/* Huquqiy sahifalar */
.legal { padding-block: 36px 96px; }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 14px; font-weight: 700; color: var(--plum); }
.back:hover { color: var(--gold-d); }
.legal__mark { width: 52px; height: 52px; margin-inline: auto; }
.legal h1 { margin-top: 10px; text-align: center; font-size: clamp(30px, 4vw, 42px); line-height: 1.4; color: var(--plum); }
.legal__upd { text-align: center; color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.legal section { padding-block: 18px; }
.legal h2 { display: flex; align-items: baseline; gap: 12px; font-size: 21px; line-height: 1.5; color: var(--plum); margin-bottom: 6px; }

/* Arab yozuvi: serif (Times) arabcha glifi kichikroq — o'lchamlarni biroz oshiramiz */
body.lang-ar .clauses h3, body.lang-ar .tl__card h3 { font-size: 22.5px; }
body.lang-ar .row__t { font-size: 23px; }
body.lang-ar .gcard__t { font-size: 22px; }
body.lang-ar .ind li { font-size: 23px; }
body.lang-ar .side__h, body.lang-ar .toc__h, body.lang-ar .ftr__h { font-size: 20px; }
body.lang-ar .cert__name { font-size: 29px; }
body.lang-ar .legal h2 { font-size: 23px; }
body.lang-ar .faq summary { font-size: 18px; }

/* ---------- Moslashuvchanlik ---------- */
@media (max-width: 1100px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .sh--side { position: static; }
  .gcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .sh-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 960px) {
  .hdr { position: sticky; top: 0; border-bottom: 1px solid var(--gold); }
  .hdr .band { height: 8px; background-size: 16px 8px; }
  .hdr__top { grid-template-columns: 46px minmax(0, 1fr) 46px; padding-block: 10px; gap: 10px; }
  .hdr__contact, .hdr__cta, .logo__tag { display: none; }
  .logo { grid-template-columns: auto auto; justify-content: center; align-items: center; gap: 10px; }
  .logo__mark { width: 36px; height: 36px; margin: 0; }
  .logo__name { font-size: 22px; }
  .js .nav-toggle { display: inline-block; }
  .js .nav:not(.is-open) { display: none; }
  .nav { max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px); overflow-y: auto; box-shadow: none; border-bottom: 0; }
  .nav__in { flex-direction: column; align-items: stretch; gap: 0; padding-block: 4px 12px; }
  .nav__in > i { display: none; }
  .nav a { justify-content: center; min-height: 50px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .tl::before { inset-inline-start: 37.5px; }
  .tl__it { grid-template-columns: 76px minmax(0, 1fr); column-gap: 20px; }
  .tl__it .med { grid-column: 1; }
  .tl__it:nth-child(n) .tl__card { grid-column: 2; text-align: start; }
  .tl__it:nth-child(n) .tl__card::after { inset-inline-start: auto; inset-inline-end: 100%; width: 20px; }
  .clauses { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body, body.lang-ar { font-size: 16.5px; }
  .wrap { padding-inline: 16px; }
  .sec { padding-block: 68px; }
  .sh { margin-bottom: 30px; }
  .sh__lead, .sh-row__lead { font-size: 16px; }
  .hero { padding-block: 52px 60px; }
  .arch { padding: 88px 20px 112px; border-radius: 50% 50% 0 0 / 150px 150px 0 0; box-shadow: 0 0 0 5px var(--ivory), 0 0 0 6px var(--gold); }
  .arch::before { inset: 9px 9px 0; border-radius: 50% 50% 0 0 / 141px 141px 0 0; }
  .arch__key { width: 60px; height: 60px; inset-block-start: -30px; }
  .arch__key .star { width: 44px; height: 44px; }
  .eyebrow { font-size: 13.5px; gap: 8px; }
  .eyebrow::before, .eyebrow::after { width: 14px; }
  .arch h1 { font-size: 27px; line-height: 1.55; }
  .hero__lead { font-size: 16.5px; }
  .ruled li { font-size: 15.5px; grid-template-columns: 24px minmax(0, 1fr); }
  .hero__actions .btn { width: 100%; }
  .cert { margin-top: -80px; padding: 30px 20px 24px; }
  .cert__head { grid-template-columns: minmax(0, 1fr); grid-template-areas: "kick" "name" "zone"; row-gap: 4px; }
  .cert__zone { justify-self: start; margin-top: 8px; }
  .cert__name { font-size: 22px; }
  .cert__item { font-size: 15px; }
  .cert__sum { grid-template-columns: auto minmax(0, 1fr); row-gap: 8px; }
  .cert__cap { grid-column: 1 / -1; }
  .cert__bar { grid-column: 1 / -1; grid-row: 3; }
  .cert__foot { flex-direction: column; align-items: flex-start; gap: 14px; min-height: 0; padding-bottom: 6px; }
  .stamp { width: 88px; height: 88px; inset-block-end: -4px; inset-inline-end: -2px; }
  .stamp__star { width: 28px; height: 28px; }
  .clauses li { grid-template-columns: 34px minmax(0, 1fr); padding-block: 20px; }
  .clauses__n { font-size: 28px; }
  .rows { margin-inline: -16px; border-inline: 0; }
  .row { grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; padding: 20px 16px; align-items: start; }
  .row .med { width: 44px; height: 44px; }
  .row .med::before, .row .med::after { inset: 7px; }
  .row .med > span { font-size: 16px; }
  .row__t { font-size: 18.5px; }
  .row__x { font-size: 15px; }
  .row__more { grid-column: 2; font-size: 14px; }
  .row__chev { width: 36px; height: 36px; }
  .sec__more { text-align: start; }
  .tl::before { inset-inline-start: 28.5px; }
  .tl__it { grid-template-columns: 58px minmax(0, 1fr); column-gap: 14px; }
  .tl__it .med { width: 58px; height: 58px; }
  .tl__it .med::before, .tl__it .med::after { inset: 9px; }
  .tl__it .med > span { font-size: 19px; }
  .tl__card { padding: 16px 18px; }
  .tl__it:nth-child(n) .tl__card::after { width: 14px; }
  .tl__card h3 { font-size: 19px; }
  .ind { flex-direction: column; row-gap: 0; }
  .ind li { font-size: 19px; flex-direction: column; }
  .ind li:not(:last-child)::after { margin: 10px 0; width: 5px; height: 5px; }
  .gcards { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .gcard { padding: 72px 22px 24px; border-radius: 50% 50% 0 0 / 110px 110px 0 0; }
  .faq summary { font-size: 16.5px; padding-block: 16px; grid-template-columns: 24px minmax(0, 1fr) 16px; gap: 10px; }
  .faq details p { padding-inline: 34px 0; }
  .form { padding: 26px 18px; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .form .btn { justify-self: stretch; }
  .contact__list > div { flex-direction: column; gap: 0; }
  .ftr__cols { grid-template-columns: minmax(0, 1fr); }
  .ftr__bar { justify-content: center; text-align: center; }
  .phero { padding-top: 48px; }
  .phero__arch { padding: 72px 18px 36px; border-radius: 50% 50% 0 0 / 120px 120px 0 0; box-shadow: 0 0 0 5px var(--ivory), 0 0 0 6px var(--gold); }
  .phero__arch::before { inset: 9px 9px 0; border-radius: 50% 50% 0 0 / 111px 111px 0 0; }
  .phero h1 { font-size: 25px; }
  .phero__lead { font-size: 16.5px; }
  .phero__act .btn { width: 100%; }
  .sheet { padding: 34px 20px; margin-inline: -4px; }
  .sheet__lead { font-size: 18.5px; }
  .toc { padding: 18px 4px; }
  .take { padding: 20px 16px; }
  .side { grid-template-columns: minmax(0, 1fr); }
  .cta { padding-bottom: 68px; }
  .cta__panel { grid-template-columns: minmax(0, 1fr); padding: 32px 22px; }
  .cta__panel .btn { width: 100%; }
  .legal h2 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
