/* ============================================================
   ForumLaw.uz — yangi dizayn qatlami (2026-11-26)
   «Ilmiy nashriyot» + sharq naqshi, lazurit aksent.
   main.css'dan keyin yuklanadi va uning o'zgaruvchilari/komponentlarini qayta belgilaydi.
   ============================================================ */

:root {
  --h-paper: #F6F1E7; --h-paper-2: #EDE5D4; --h-card: #FFFCF6;
  --h-ink: #0B1236; --h-ink-2: #3A4166; --h-muted: #6E7290; --h-line: #D9D0BE;
  --h-lapis: #1E3FA8; --h-lapis-2: #2F5BDB; --h-gold: #D9A441; --h-terra: #E0603F; --h-mint: #2BB38A; --h-blue: #2F5BDB;
  --h-serif: "Fraunces", Georgia, serif; --h-sans: "Inter", system-ui, sans-serif; --h-mono: "JetBrains Mono", ui-monospace, monospace;
  --h-wrap: 1240px; --h-ease: cubic-bezier(.2,.8,.2,1);

  /* main.css o'zgaruvchilari — ichki sahifalar ham yangi palitrani oladi */
  --primary: #0B1236; --primary-d: #070C26; --primary-l: #1E3FA8;
  --gold: #D9A441; --gold-d: #B8892B; --accent: #1E3FA8;
  --bg: #F6F1E7; --bg-card: #FFFCF6; --text: #1B1F3B; --text-muted: #6E7290; --border: #D9D0BE;
  --shadow: 0 2px 14px rgba(11,18,54,.07); --shadow-lg: 0 18px 40px -18px rgba(11,18,54,.35);
  --radius: 12px; --radius-lg: 22px;
}

body { font-family: var(--h-sans); background: var(--h-paper); color: var(--text); overflow-x: hidden; }
h1, h2, h3, h4, h5 { font-family: var(--h-serif); color: var(--h-ink); letter-spacing: -.01em; }
a { color: var(--h-lapis); }
a:hover { color: var(--h-ink); }
.mono { font-family: var(--h-mono); font-size: .78rem; letter-spacing: .04em; }

/* ---------- Tugmalar ---------- */
.btn { border-radius: 99px; font-weight: 700; letter-spacing: .01em; }
.btn-primary { background: var(--h-lapis); border-color: var(--h-lapis); color: #fff; box-shadow: 0 10px 26px -14px var(--h-lapis); }
.btn-primary:hover { background: var(--h-ink); border-color: var(--h-ink); color: #fff; }
.btn-outline { border: 2px solid var(--h-ink); color: var(--h-ink); background: transparent; }
.btn-outline:hover { background: var(--h-ink); color: var(--h-paper); }
.btn-outline-white { border: 2px solid rgba(255,255,255,.8); color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--h-ink); }

/* ---------- Header ---------- */
.site-header { background: color-mix(in srgb, var(--h-paper) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--h-line); box-shadow: none; }
.header-inner { height: 74px; }
.logo-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--h-lapis); color: var(--h-gold); display: grid; place-items: center; flex: none; }
.logo-mark svg { animation: hSpin 14s linear infinite; }
.logo-main { font-family: var(--h-serif); font-weight: 800; color: var(--h-ink); font-size: 1.3rem; letter-spacing: -.01em; }
.logo-dot { color: var(--h-lapis); }
.logo-sub { color: var(--h-muted); font-weight: 600; letter-spacing: .12em; }
.nav-link { color: var(--h-ink); font-weight: 600; border-radius: 99px; font-size: .9rem; }
.nav-link:hover, .nav-link.active { background: var(--h-lapis); color: #fff; }
.dropdown { background: var(--h-card); border: 1px solid var(--h-line); border-radius: 16px; box-shadow: var(--shadow-lg); }
.dropdown li a { color: var(--h-ink); }
.dropdown li a:hover { background: var(--h-paper-2); color: var(--h-lapis); }
.dropdown-badge { border-radius: 6px; }
.lang-btn { color: var(--h-muted); border-color: var(--h-line); font-family: var(--h-mono); border-radius: 8px; }
.lang-btn:hover, .lang-btn.active { background: var(--h-ink); border-color: var(--h-ink); color: var(--h-paper); }
.nav-toggle { background: var(--h-lapis); border-radius: 12px; padding: 10px 11px; }
.nav-toggle span { background: #fff; width: 20px; }
@media (max-width: 768px) {
  .main-nav { top: 74px; background: var(--h-card); border-bottom: 1px solid var(--h-line); box-shadow: var(--shadow-lg); }
  .nav-link { color: var(--h-ink); }
  .dropdown { background: var(--h-paper-2); }
  .dropdown li a { color: var(--h-ink-2); }
}

/* ---------- Ichki sahifalar ---------- */
.page-hero { background: radial-gradient(circle at 12% 20%, var(--h-lapis-2), transparent 55%), radial-gradient(circle at 92% 90%, #6A3CC9, transparent 50%), var(--h-lapis);
  position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; opacity: .1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1'%3E%3Cpath d='M32 4l8 20 20 8-20 8-8 20-8-20-20-8 20-8z'/%3E%3C/g%3E%3C/svg%3E"); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-weight: 900; letter-spacing: -.03em; }
.page-hero h1, .page-hero p, .page-hero .breadcrumb, .page-hero .breadcrumb a { color: #fff; }
.page-hero p { opacity: .85; }
.section-title h2 { font-weight: 900; letter-spacing: -.03em; }
.divider { background: var(--h-gold) !important; }
.journal-card, .conf-card, .article-card, .why-card { background: var(--h-card); border: 2px solid var(--h-ink); border-radius: 22px; box-shadow: none;
  transition: transform .4s var(--h-ease), box-shadow .4s var(--h-ease); }
.journal-card:hover, .conf-card:hover, .article-card:hover, .why-card:hover { transform: translateY(-6px); box-shadow: 10px 12px 0 var(--h-lapis); }
.journal-card-footer { background: transparent; border-top: 2px dashed var(--h-line); }
.journal-abbr { border-radius: 8px; }
.bg-white { background: var(--h-card); }
.bg-light { background: var(--h-paper-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--h-paper-2); color: var(--h-ink-2); border-top: 2px solid var(--h-ink); }
.site-footer h4 { color: var(--h-lapis); font-family: var(--h-sans); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; }
.site-footer a { color: var(--h-ink-2); }
.site-footer a:hover { color: var(--h-lapis); }
.footer-logo { display: flex; align-items: center; gap: 11px; }
.footer-logo-text { font-family: var(--h-serif); font-weight: 800; color: var(--h-ink); }
.footer-logo-text span { color: var(--h-lapis); }
.social-link { background: var(--h-ink); color: var(--h-paper) !important; }
.social-link:hover { background: var(--h-lapis); }
.index-badge { background: var(--h-card); border: 1px solid var(--h-line); color: var(--h-ink); border-radius: 99px; }
.footer-wordmark { font: 900 clamp(3.6rem, 16vw, 13rem)/.8 var(--h-serif); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px var(--h-lapis);
  text-align: center; margin: 28px 0 10px; user-select: none; }
.footer-bottom { border-top: 2px solid var(--h-ink); color: var(--h-muted); }

/* ============================================================
   BOSH SAHIFA (faqat .home ichida)
   ============================================================ */
.is-home { background: var(--h-paper); }
.home { color: var(--h-ink); }
.home .h-wrap { max-width: var(--h-wrap); margin: 0 auto; padding: 0 24px; }
.home a { text-decoration: none; }
.home .h-girih { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23D9A441' stroke-width='1.1'%3E%3Cpath d='M32 4l8 20 20 8-20 8-8 20-8-20-20-8 20-8z'/%3E%3Cpath d='M32 18l4.5 9.5L46 32l-9.5 4.5L32 46l-4.5-9.5L18 32l9.5-4.5z'/%3E%3Ccircle cx='32' cy='32' r='3'/%3E%3C/g%3E%3C/svg%3E"); }
.home .h-girih-w { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1'%3E%3Cpath d='M32 4l8 20 20 8-20 8-8 20-8-20-20-8 20-8z'/%3E%3Cpath d='M0 0l64 64M64 0L0 64' opacity='.35'/%3E%3C/g%3E%3C/svg%3E"); }
.home .h-grain::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .09; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.h-progress { position: fixed; top: 0; left: 0; height: 4px; width: 100%; z-index: 1100; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--h-lapis), var(--h-gold), var(--h-terra)); }
.h-glow { position: fixed; width: 340px; height: 340px; border-radius: 50%; pointer-events: none; z-index: 0; left: 0; top: 0; transform: translate(-50%, -50%);
  background: radial-gradient(circle, color-mix(in srgb, var(--h-lapis-2) 20%, transparent), transparent 65%); }

/* tugmalar */
.home .h-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 99px; font-weight: 700; font-size: .95rem;
  transition: transform .25s var(--h-ease), box-shadow .25s, color .25s; overflow: hidden; isolation: isolate; }
.home .h-btn::after { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateY(101%); transition: transform .35s var(--h-ease); }
.home .h-btn:hover::after { transform: none; }
.home .h-btn .arr { display: inline-block; transition: transform .3s var(--h-ease); }
.home .h-btn:hover .arr { transform: translateX(4px) rotate(-45deg); }
.home .h-btn-acc { background: var(--h-lapis); color: #fff; box-shadow: 0 10px 30px -12px var(--h-lapis); }
.home .h-btn-acc::after { background: var(--h-ink); }
.home .h-btn-acc:hover { color: #fff; }
.home .h-btn-gold { background: var(--h-gold); color: var(--h-ink); }
.home .h-btn-gold::after { background: #fff; }
.home .h-btn-ghost { border: 2px solid var(--h-ink); color: var(--h-ink); }
.home .h-btn-ghost::after { background: var(--h-ink); }
.home .h-btn-ghost:hover { color: var(--h-paper); }

/* hero */
.home .h-hero { position: relative; overflow: hidden; padding: 64px 0 0; isolation: isolate; }
.home .h-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: -1; animation: hDrift 18s ease-in-out infinite alternate; }
.home .h-blob.b1 { width: 520px; height: 520px; background: var(--h-lapis-2); top: -160px; right: -120px; }
.home .h-blob.b2 { width: 380px; height: 380px; background: var(--h-gold); top: 260px; right: 300px; animation-delay: -6s; opacity: .4; }
.home .h-blob.b3 { width: 300px; height: 300px; background: var(--h-terra); top: 80px; left: -140px; animation-delay: -11s; opacity: .3; }
.home .h-hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }
.home .h-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.home .h-chip { padding: 6px 13px; border-radius: 99px; font: 600 .72rem var(--h-sans); letter-spacing: .08em; text-transform: uppercase; border: 1.5px solid var(--h-ink); color: var(--h-ink); }
.home .h-chip.f { background: var(--h-ink); color: var(--h-paper); }
.home .h-chip.g { background: var(--h-gold); border-color: var(--h-gold); }
.home .h-big { font-family: var(--h-serif); font-weight: 400; font-size: clamp(2.5rem, 5.4vw, 4.9rem); line-height: 1.04; letter-spacing: -.025em; margin: 26px 0 24px;
  color: var(--h-ink); font-variation-settings: "opsz" 144; }
.home .h-big .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.home .h-big .ln > span { display: inline-block; transform: translateY(105%); animation: hRise 1s var(--h-ease) forwards; }
.home .h-big .ln:nth-child(2) > span { animation-delay: .12s; }
.home .h-big em { font-style: italic; color: var(--h-lapis); position: relative; }
.home .h-big em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .045em; background: var(--h-gold); z-index: -1;
  transform: scaleX(0); transform-origin: left; animation: hGrow .9s .9s var(--h-ease) forwards; }
.home .h-big .hl { color: var(--h-muted); }
.home .h-lead { font-size: 1.15rem; color: var(--h-ink-2); max-width: 560px; opacity: 0; animation: hFade .8s .5s forwards; }
.home .h-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; opacity: 0; animation: hFade .8s .7s forwards; }

.home .h-stage { position: relative; height: 560px; perspective: 1400px; }
.home .h-stack { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .25s ease-out; }
.home .h-stack img { position: absolute; width: 240px; border-radius: 10px; box-shadow: 0 30px 60px -20px rgba(11,18,54,.55); transition: transform .6s var(--h-ease); }
.home .h-stack img:nth-child(1) { left: 6%; top: 70px; transform: rotate(-11deg) translateZ(20px); animation: hFloat 7s ease-in-out infinite; }
.home .h-stack img:nth-child(2) { left: 32%; top: 20px; transform: rotate(3deg) translateZ(60px); animation: hFloat 7s -2.3s ease-in-out infinite; z-index: 2; }
.home .h-stack img:nth-child(3) { left: 55%; top: 110px; transform: rotate(13deg) translateZ(30px); animation: hFloat 7s -4.6s ease-in-out infinite; }
.home .h-stage:hover .h-stack img:nth-child(1) { transform: rotate(-18deg) translate(-30px, 10px) translateZ(20px); }
.home .h-stage:hover .h-stack img:nth-child(3) { transform: rotate(20deg) translate(30px, 10px) translateZ(30px); }
.home .h-seal { position: absolute; right: 2%; bottom: 20px; width: 150px; height: 150px; z-index: 5; display: grid; place-items: center; color: var(--h-ink); }
.home .h-seal svg { position: absolute; inset: 0; animation: hSpin 22s linear infinite; }
.home .h-seal .core { width: 72px; height: 72px; border-radius: 50%; background: var(--h-gold); display: grid; place-items: center; color: var(--h-ink);
  font: 900 1.6rem var(--h-serif); box-shadow: 0 10px 30px -10px var(--h-gold); }
.home .h-star-big { position: absolute; left: -60px; bottom: -40px; width: 260px; height: 260px; color: var(--h-lapis); animation: hSpin 40s linear infinite reverse; z-index: -1; }

/* lentalar */
.home .h-marquee { overflow: hidden; border-block: 2px solid var(--h-ink); background: var(--h-lapis); color: #fff; position: relative; margin-top: 46px; }
.home .h-marquee.alt { background: var(--h-gold); color: var(--h-ink); transform: rotate(-1deg) scale(1.03); margin-top: -6px; z-index: 2; }
.home .h-marquee .track { display: flex; width: max-content; animation: hScroll 38s linear infinite; }
.home .h-marquee.alt .track { animation-direction: reverse; animation-duration: 46s; }
.home .h-marquee .track span { font: 700 clamp(1rem, 1.7vw, 1.35rem) var(--h-serif); padding: 9px 0; white-space: nowrap; display: inline-flex; align-items: center; }
.home .h-marquee .track span i { font-style: italic; font-weight: 400; }
.home .h-marquee .track .st { display: inline-block; width: .75em; height: .75em; margin: 0 .9em; background: currentColor;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.home .h-marquee:hover .track { animation-play-state: paused; }

/* raqamlar */
.home .h-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 70px; padding-bottom: 20px; }
.home .h-stat { position: relative; border-radius: 22px; padding: 26px 24px; overflow: hidden; color: #fff; min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; }
.home .h-stat:nth-child(1) { background: var(--h-lapis); }
.home .h-stat:nth-child(2) { background: var(--h-ink); }
.home .h-stat:nth-child(3) { background: var(--h-terra); }
.home .h-stat:nth-child(4) { background: var(--h-gold); color: var(--h-ink); }
.home .h-stat b { font: 900 clamp(3rem, 6vw, 4.8rem)/1 var(--h-serif); letter-spacing: -.03em; position: relative; }
.home .h-stat span { font-weight: 600; font-size: .92rem; opacity: .9; position: relative; }
.home .h-stat .h-girih-w { position: absolute; inset: 0; opacity: .12; transition: transform 8s linear; }
.home .h-stat:hover .h-girih-w { transform: scale(1.4) rotate(12deg); }

/* bo'limlar */
.home .h-sec { padding: 96px 0; position: relative; }
.home .h-sec-h { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 44px; }
.home .h-kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 .8rem var(--h-mono); color: var(--h-lapis); letter-spacing: .1em; }
.home .h-kicker::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.home .h-sec-h h2 { font: 900 clamp(2.2rem, 5vw, 4.2rem)/1 var(--h-serif); letter-spacing: -.03em; margin: 12px 0 0; color: var(--h-ink); }
.home .h-sec-h h2 em { font-weight: 400; font-style: italic; color: var(--h-lapis); }
.home .h-link { font-weight: 700; display: inline-flex; gap: 8px; align-items: center; border-bottom: 2px solid var(--h-gold); padding-bottom: 2px; color: var(--h-ink); white-space: nowrap; }

/* jurnallar */
.home .h-shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.home .h-jcard { --c: var(--h-lapis); position: relative; border-radius: 26px; overflow: hidden; background: var(--h-card); border: 2px solid var(--h-ink);
  display: flex; flex-direction: column; color: var(--h-ink); transition: transform .45s var(--h-ease), box-shadow .45s var(--h-ease); }
.home .h-jcard:hover { transform: translateY(-10px) rotate(-.6deg); box-shadow: 12px 14px 0 var(--c); color: var(--h-ink); }
.home .h-jcard .cov { position: relative; aspect-ratio: 4/4.3; overflow: hidden; background: var(--c); }
.home .h-jcard .cov img { position: absolute; width: 74%; left: 13%; top: 10%; border-radius: 8px; box-shadow: 0 24px 40px -14px rgba(0,0,0,.6); transition: transform .6s var(--h-ease); }
.home .h-jcard:hover .cov img { transform: translateY(-14px) rotate(-3deg) scale(1.04); }
.home .h-jcard .cov .h-girih-w { position: absolute; inset: 0; opacity: .18; }
.home .h-jcard .num { position: absolute; right: 18px; top: 14px; font: 900 4.4rem/1 var(--h-serif); color: rgba(255,255,255,.28); }
.home .h-jcard .b { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.home .h-tag { display: inline-flex; align-items: center; gap: 7px; font: 800 .72rem var(--h-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--c, var(--h-lapis)); }
.home .h-tag::before { content: ""; width: 9px; height: 9px; background: currentColor; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); transform: scale(1.4); }
.home .h-jcard h3 { font: 800 1.45rem/1.12 var(--h-serif); margin: 0; letter-spacing: -.01em; color: var(--h-ink); }
.home .h-jcard p { margin: 0; color: var(--h-ink-2); font-size: .93rem; }
.home .h-jcard .meta { margin-top: auto; padding-top: 14px; border-top: 2px dashed var(--h-line); display: flex; justify-content: space-between; align-items: center; }
.home .h-jcard .go { width: 38px; height: 38px; border-radius: 50%; background: var(--h-ink); color: var(--h-paper); display: grid; place-items: center; transition: transform .4s var(--h-ease), background .3s; flex: none; }
.home .h-jcard:hover .go { transform: rotate(-45deg); background: var(--c); }

/* maqolalar */
.home .h-feed { background: var(--h-ink); color: var(--h-paper); overflow: hidden; }
.home .h-feed > .h-girih { position: absolute; inset: 0; opacity: .07; }
.home .h-feed .h-sec-h h2 { color: var(--h-paper); }
.home .h-feed .h-sec-h h2 em { color: var(--h-gold); }
.home .h-feed .h-kicker { color: var(--h-gold); }
.home .h-feed .h-link { color: var(--h-paper); }
.home .h-art { --c: var(--h-gold); position: relative; display: grid; grid-template-columns: 70px 150px 1fr auto; gap: 26px; padding: 28px 18px; color: var(--h-paper);
  border-top: 1px solid rgba(255,255,255,.14); align-items: center; border-radius: 18px; transition: background .35s, padding .35s var(--h-ease); }
.home .h-art:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.home .h-art:hover { background: var(--c); color: var(--h-ink); padding-left: 30px; }
.home .h-art:hover .h-tag, .home .h-art:hover .idx, .home .h-art:hover .au, .home .h-art:hover .when, .home .h-art:hover h3 { color: var(--h-ink); }
.home .h-art .idx { font: 900 2.2rem/1 var(--h-serif); color: rgba(255,255,255,.25); transition: color .3s; }
.home .h-art h3 { font: 600 1.25rem/1.3 var(--h-serif); margin: 0 0 6px; color: var(--h-paper); }
.home .h-art .au { color: rgba(243,238,226,.65); font-size: .9rem; transition: color .3s; }
.home .h-art .when { color: rgba(243,238,226,.6); text-align: right; white-space: nowrap; transition: color .3s; }
.home .h-art .pdf { display: inline-block; margin-top: 8px; padding: 4px 11px; border-radius: 99px; background: rgba(255,255,255,.1); }
.home .h-art .peek { position: absolute; right: 180px; top: 50%; width: 110px; border-radius: 6px; pointer-events: none; opacity: 0;
  transform: translateY(-50%) rotate(8deg) scale(.8); transition: opacity .35s, transform .45s var(--h-ease); box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); }
.home .h-art:hover .peek { opacity: 1; transform: translateY(-50%) rotate(-4deg) scale(1); }

/* jarayon */
.home .h-process { position: relative; border-radius: 34px; padding: 70px 60px; overflow: hidden; color: #fff;
  background: radial-gradient(circle at 15% 20%, var(--h-lapis-2), transparent 55%), radial-gradient(circle at 90% 90%, #6A3CC9, transparent 50%), var(--h-lapis); }
.home .h-process > .h-girih-w { position: absolute; inset: 0; opacity: .1; animation: hPan 60s linear infinite; }
.home .h-process .h-sec-h h2, .home .h-process .h-kicker, .home .h-process .h-link { color: #fff; }
.home .h-process .h-sec-h h2 em { color: var(--h-gold); }
.home .h-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.home .h-steps .line { position: absolute; left: 0; right: 0; top: 32px; height: 3px; background: rgba(255,255,255,.2); border-radius: 3px; }
.home .h-steps .line i { display: block; height: 100%; width: 100%; background: var(--h-gold); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--h-ease); border-radius: 3px; }
.home .h-steps.in .line i { transform: scaleX(1); }
.home .h-steps .step { position: relative; }
.home .h-steps .n { width: 66px; height: 66px; border-radius: 50%; background: var(--h-paper); color: var(--h-lapis); display: grid; place-items: center;
  font: 900 1.5rem var(--h-serif); border: 4px solid var(--h-gold); position: relative; z-index: 1; transition: transform .4s var(--h-ease); }
.home .h-steps .step:hover .n { transform: rotate(-12deg) scale(1.1); }
.home .h-steps h4 { font: 800 1.45rem var(--h-serif); margin: 18px 0 6px; color: #fff; }
.home .h-steps p { margin: 0; color: rgba(255,255,255,.8); font-size: .92rem; }
.home .h-steps .t { display: inline-block; margin-top: 10px; background: rgba(255,255,255,.14); border-radius: 99px; padding: 3px 11px; font: 500 .72rem var(--h-mono); }

/* bento */
.home .h-bento { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
.home .bx { position: relative; border-radius: 26px; padding: 30px; overflow: hidden; border: 2px solid var(--h-ink); background: var(--h-card); transition: transform .35s var(--h-ease); }
.home .bx:hover { transform: translateY(-6px); }
.home .bx h4 { font: 800 1.6rem/1.1 var(--h-serif); margin: 0 0 8px; color: inherit; }
.home .bx p { margin: 0; color: var(--h-ink-2); }
.home .bx.big { grid-row: span 2; background: var(--h-gold); color: var(--h-ink); display: flex; flex-direction: column; justify-content: space-between; }
.home .bx.big p { color: var(--h-ink); }
.home .bx.big .huge { font: 900 clamp(4rem, 9vw, 8rem)/.85 var(--h-serif); letter-spacing: -.05em; }
.home .bx.big > .h-girih { position: absolute; inset: 0; opacity: .25; filter: brightness(.3); }
.home .bx.lp { background: var(--h-lapis); color: #fff; } .home .bx.lp p { color: rgba(255,255,255,.82); }
.home .bx.tr { background: var(--h-terra); color: #fff; } .home .bx.tr p { color: rgba(255,255,255,.88); }
.home .bx .langs { display: flex; gap: 8px; margin-top: 14px; }
.home .bx .langs span { font: 800 1.2rem var(--h-serif); background: #fff; color: var(--h-ink); width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; animation: hBob 3s ease-in-out infinite; }
.home .bx .langs span:nth-child(2) { animation-delay: -1s; } .home .bx .langs span:nth-child(3) { animation-delay: -2s; }
.home .bx .ic { font-size: 2.2rem; display: inline-block; margin-bottom: 14px; animation: hSpin 16s linear infinite; }

/* konferensiyalar */
.home .h-conf { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.home .h-cf { position: relative; border-radius: 22px; padding: 22px; min-height: 210px; display: flex; flex-direction: column; justify-content: space-between;
  border: 2px solid var(--h-ink); background: var(--h-card); overflow: hidden; transition: color .35s; isolation: isolate; color: var(--h-ink); }
.home .h-cf::before { content: ""; position: absolute; inset: 0; background: var(--c, var(--h-lapis)); z-index: -1; clip-path: circle(0 at 100% 100%); transition: clip-path .6s var(--h-ease); }
.home .h-cf:hover { color: #fff; }
.home .h-cf:hover::before { clip-path: circle(150% at 100% 100%); }
.home .h-cf b { font: 900 1.9rem var(--h-serif); letter-spacing: -.02em; }
.home .h-cf span { font-size: .88rem; font-weight: 600; }
.home .h-cf:nth-child(1) { --c: var(--h-lapis); } .home .h-cf:nth-child(2) { --c: var(--h-terra); } .home .h-cf:nth-child(3) { --c: #6A3CC9; }
.home .h-cf:nth-child(4) { --c: var(--h-mint); } .home .h-cf:nth-child(5) { --c: #B07A12; }

/* yakuniy chaqiriq */
.home .h-big-cta { position: relative; overflow: hidden; text-align: center; padding: 120px 24px; background: var(--h-ink); color: var(--h-paper); }
.home .h-big-cta h2 { font: 900 clamp(2.6rem, 8vw, 7.5rem)/.92 var(--h-serif); letter-spacing: -.04em; margin: 0 0 34px; color: var(--h-paper); }
.home .h-big-cta h2 em { color: var(--h-gold); font-weight: 400; }
.home .h-big-cta > .h-girih { position: absolute; inset: -50%; opacity: .08; animation: hSpin 120s linear infinite; }
.home .h-big-cta .h-btn { font-size: 1.05rem; padding: 18px 34px; }
.is-home .site-footer { margin-top: 0; }

/* paydo bo'lish */
.home .rv { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--h-ease), transform .9s var(--h-ease); transition-delay: var(--d, 0s); }
.home .rv.in { opacity: 1; transform: none; }

@keyframes hRise { to { transform: none; } }
@keyframes hGrow { to { transform: scaleX(1); } }
@keyframes hFade { to { opacity: 1; } }
@keyframes hSpin { to { transform: rotate(360deg); } }
@keyframes hFloat { 50% { translate: 0 -16px; } }
@keyframes hDrift { to { transform: translate(-60px, 50px) scale(1.15); } }
@keyframes hScroll { to { transform: translateX(-50%); } }
@keyframes hPan { to { background-position: 640px 640px; } }
@keyframes hBob { 50% { transform: translateY(-8px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .home .h-big .ln > span, .home .h-big em::after { transform: none; }
  .home .h-lead, .home .h-cta { opacity: 1; }
  .home .rv { opacity: 1; transform: none; }
  .home .h-steps .line i { transform: none; }
  .h-glow { display: none; }
}
@media (max-width: 1060px) {
  .home .h-hero-grid { grid-template-columns: 1fr; }
  .home .h-stage { height: 440px; }
  .home .h-stats { grid-template-columns: 1fr 1fr; }
  .home .h-shelf { grid-template-columns: 1fr 1fr; }
  .home .h-art { grid-template-columns: 50px 1fr auto; } .home .h-art .h-tag { display: none; } .home .h-art .peek { display: none; }
  .home .h-steps { grid-template-columns: 1fr 1fr; row-gap: 40px; } .home .h-steps .line { display: none; }
  .home .h-bento { grid-template-columns: 1fr 1fr; } .home .bx.big { grid-row: auto; grid-column: 1 / -1; }
  .home .h-conf { grid-template-columns: repeat(3, 1fr); }
  .h-glow { display: none; }
}
@media (max-width: 640px) {
  .home .h-wrap { padding: 0 16px; }
  .home .h-hero { padding-top: 36px; }
  .home .h-stage { height: 340px; margin-top: 10px; }
  .home .h-stack img { width: 150px; }
  .home .h-stack img:nth-child(1) { left: 0; } .home .h-stack img:nth-child(2) { left: 26%; } .home .h-stack img:nth-child(3) { left: 50%; }
  .home .h-seal { width: 104px; height: 104px; right: 6px; bottom: 0; } .home .h-seal .core { width: 50px; height: 50px; font-size: 1.15rem; }
  .home .h-star-big { display: none; }
  .home .h-shelf, .home .h-bento { grid-template-columns: 1fr; }
  .home .h-art { grid-template-columns: 1fr; gap: 6px; padding: 22px 8px; } .home .h-art .idx { display: none; } .home .h-art .when { text-align: left; }
  .home .h-process { padding: 40px 22px; border-radius: 24px; }
  .home .h-steps { grid-template-columns: 1fr; }
  .home .h-conf { grid-template-columns: 1fr 1fr; }
  .home .h-sec { padding: 64px 0; }
  .home .h-sec-h { flex-direction: column; align-items: start; }
}

/* footer: main.css'dagi aniqroq selektorlarni bosish */
.site-footer .footer-col h4 { color: var(--h-lapis); }
.site-footer .footer-col ul li a { color: var(--h-ink-2); }
.site-footer .footer-col ul li a:hover { color: var(--h-lapis); }
.site-footer .footer-about p { color: var(--h-ink-2); }
.site-footer .footer-small { color: var(--h-muted); opacity: 1; }
.site-footer .index-badge { color: var(--h-ink); }
.site-footer .footer-bottom p { color: var(--h-muted); }

/* ---------- Moslashuvchanlik (2026-11-26 tekshiruvi) ---------- */
/* HTML ichida qat'iy yozilgan ikki ustunli bloklar telefonda bir ustunga tushadi */
@media (max-width: 760px) {
  .rsp-2col { grid-template-columns: 1fr !important; gap: 24px !important; }
}
/* Planshetda menyu bandlari sig'maydi — 1180px gacha menyu tugmaga yig'iladi */
@media (max-width: 1180px) {
  .nav-toggle { display: flex; margin-left: auto; }
  .main-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px 24px 20px; background: var(--h-card); border-bottom: 1px solid var(--h-line); box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 74px); overflow-y: auto; }
  .main-nav.open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { padding: 12px 16px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none;
    background: var(--h-paper-2); border: none; margin: 2px 0 6px 16px; min-width: 0; }
  .nav-item.open .dropdown { display: block; }
  .nav-item:hover .dropdown { transform: none; }
  .nav-actions { flex-direction: row; flex-wrap: wrap; align-items: center; margin-left: 0; padding: 10px 0 0; gap: 12px; }
}
/* yo'l ko'rsatkichi (breadcrumb) tor ekranda keyingi qatorga o'tadi */
.breadcrumb { flex-wrap: wrap; row-gap: 2px; }
.breadcrumb a, .breadcrumb span { white-space: nowrap; }
.home .h-jcard .h-issn { align-self: flex-start; padding: 3px 10px; border-radius: 99px; background: var(--h-paper-2); color: var(--h-ink); font-weight: 600; }
