/* «Biz haqimizda» sahifasi (info.html) */
.hq { max-width: 1180px; margin: 0 auto; padding: 24px 20px 56px; display: flex; flex-direction: column; gap: 22px; }
.hq-karta { background: var(--surface); border: 1px solid var(--border); border-radius: 26px; padding: 40px; box-shadow: var(--shadow); }
.hq-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 700; }
.hq-chip svg { width: 15px; height: 15px; }
.hq-chip--kok { background: #e6eafe; color: #3b4fd8; }
.hq-chip--binafsha { background: #efe8fe; color: #6b3fd4; }
.hq-chip--yashil { background: #dff6ec; color: #13805a; }
.hq-chip--sariq { background: #fdf0d9; color: #a3620c; }

/* tepa qism */
.hq-bosh { text-align: center; padding: 48px 40px; }
.hq-bosh h1 { margin: 18px auto 14px; max-width: 820px; font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; }
.hq-bosh h1 em { font-style: normal; color: #3b4fd8; }
.hq-bosh p { margin: 0 auto; max-width: 680px; color: var(--muted); font-size: 1.08rem; line-height: 1.6; }

/* maqsad */
.hq-maqsad { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hq-maqsad h2 { margin: 16px 0 14px; font-size: clamp(1.5rem, 2.8vw, 2rem); line-height: 1.18; letter-spacing: -.02em; font-weight: 800; }
.hq-maqsad p { margin: 0 0 14px; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.hq-royxat { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.hq-royxat li { display: flex; align-items: flex-start; gap: 12px; font-size: .98rem; line-height: 1.5; }
.hq-royxat li::before { content: ""; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: #dff6ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%2313805a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.hq-rasm { position: relative; border-radius: 22px; overflow: hidden; background: linear-gradient(135deg, #e6ebfd, #eee9fd); aspect-ratio: 4 / 3; }
.hq-rasm img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; }
.hq-rasm .hq-tun { display: none; }

/* raqamlar */
.hq-raqamlar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 30px 28px; text-align: center; }
.hq-raqam b { display: block; margin-top: 12px; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; }
.hq-raqam span { color: var(--muted); font-size: .9rem; }

/* belgi katakchasi */
.hq-belgi { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin: 0 auto; }
.hq-belgi svg { width: 28px; height: 28px; }
.hq-belgi--kok { background: #e6eafe; color: #3b4fd8; }
.hq-belgi--binafsha { background: #efe8fe; color: #6b3fd4; }
.hq-belgi--yashil { background: #dff6ec; color: #13805a; }
.hq-belgi--sariq { background: #fdf0d9; color: #c27712; }
.hq-belgi--qizil { background: #fde6e8; color: #d6454f; }
.hq-belgi--moviy { background: #ddf3fb; color: #1689b8; }

/* bo'lim sarlavhasi */
.hq-bolim { text-align: center; }
.hq-bolim h2 { margin: 16px 0 10px; font-size: clamp(1.5rem, 2.8vw, 2rem); letter-spacing: -.02em; font-weight: 800; }
.hq-bolim > p { margin: 0 auto 30px; max-width: 640px; color: var(--muted); font-size: 1.02rem; line-height: 1.6; }
.hq-kartalar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; text-align: left; }
.hq-kartalar--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); text-align: center; }
.hq-kichik { border: 1px solid var(--border); border-radius: 20px; padding: 24px; background: var(--surface); transition: transform .2s ease, box-shadow .2s ease; }
.hq-kichik:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(30, 42, 120, .1); }
.hq-kartalar .hq-belgi { margin: 0 0 16px; }
.hq-kartalar--4 .hq-belgi { margin: 0 auto 16px; }
.hq-kichik h3 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; }
.hq-kichik p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }

/* oxirgi chaqiriq */
.hq-oxir { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 30px 40px; }
.hq-oxir h2 { margin: 0 0 6px; font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em; }
.hq-oxir p { margin: 0; color: var(--muted); }
.hq-tugmalar { display: flex; gap: 12px; flex-wrap: wrap; }
.hq-tugma { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 14px; font-weight: 700; background: #3b4fd8; color: #fff; }
.hq-tugma:hover { background: #2f40c0; color: #fff; }
.hq-tugma--oq { background: transparent; color: #3b4fd8; border: 1.5px solid #c7cdf6; }
.hq-tugma--oq:hover { background: #f3f5ff; color: #3b4fd8; }

@media (max-width: 960px) {
  .hq-maqsad { grid-template-columns: 1fr; }
  .hq-kartalar, .hq-kartalar--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hq-raqamlar { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
}
@media (max-width: 560px) {
  .hq { padding: 14px 12px 40px; gap: 14px; }
  .hq-karta { padding: 24px 18px; border-radius: 20px; }
  .hq-bosh { padding: 32px 18px; }
  .hq-kartalar, .hq-kartalar--4 { grid-template-columns: 1fr; }
  .hq-oxir { padding: 24px 18px; }
}

/* tungi rejim */
:root[data-theme="dark"] .hq-karta { box-shadow: none; }
:root[data-theme="dark"] .hq-kichik { background: var(--surface-2); }
:root[data-theme="dark"] .hq-kichik:hover { box-shadow: 0 14px 30px rgba(0, 0, 0, .4); }
:root[data-theme="dark"] .hq-bosh h1 em { color: var(--primary); }
:root[data-theme="dark"] .hq-rasm { background: #171d30; }
:root[data-theme="dark"] .hq-rasm .hq-kun { display: none; }
:root[data-theme="dark"] .hq-rasm .hq-tun { display: block; }
:root[data-theme="dark"] .hq-chip--kok, :root[data-theme="dark"] .hq-belgi--kok { background: rgba(151, 162, 255, .14); color: #a9b2ff; }
:root[data-theme="dark"] .hq-chip--binafsha, :root[data-theme="dark"] .hq-belgi--binafsha { background: rgba(167, 128, 255, .16); color: #c2a8ff; }
:root[data-theme="dark"] .hq-chip--yashil, :root[data-theme="dark"] .hq-belgi--yashil { background: rgba(79, 209, 161, .14); color: #4fd1a1; }
:root[data-theme="dark"] .hq-chip--sariq, :root[data-theme="dark"] .hq-belgi--sariq { background: rgba(242, 201, 76, .14); color: #f2c94c; }
:root[data-theme="dark"] .hq-belgi--qizil { background: rgba(255, 143, 151, .14); color: #ff8f97; }
:root[data-theme="dark"] .hq-belgi--moviy { background: rgba(84, 190, 235, .14); color: #6fd0f5; }
:root[data-theme="dark"] .hq-royxat li::before { background-color: rgba(79, 209, 161, .16); }
:root[data-theme="dark"] .hq-tugma { background: #5361e4; }
:root[data-theme="dark"] .hq-tugma:hover { background: #6470f0; }
:root[data-theme="dark"] .hq-tugma--oq { background: transparent; color: var(--primary); border-color: #4a5390; }
:root[data-theme="dark"] .hq-tugma--oq:hover { background: var(--surface-2); }
