:root {
    --accent: #2563eb;
    --accent2: #8b5cf6;
    --dark: #0f172a;
    --text: #1e293b;
    --muted: #64748b;
    --border: #e2e8f0;
    --bg: #f6f7fb;
    --card: #ffffff;
    --gold: #f59e0b;
    --danger: #dc2626;
    --success: #16a34a;
    --radius: 14px;
    --shadow: 0 1px 3px rgba(15,23,42,.08), 0 1px 2px rgba(15,23,42,.05);
    --shadow-lg: 0 14px 34px rgba(15,23,42,.14);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased;
}
html, body { overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }
svg { vertical-align: middle; }
.container { max-width: 1220px; margin: 0 auto; padding: 0 22px; }
.muted { color: var(--muted); }

/* ---------- HEADER ---------- */
.site-header {
    position: sticky; top: 0; z-index: 200;
    background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex; align-items: center; gap: 18px;
    padding: 12px 22px; max-width: 1220px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; white-space: nowrap; }
.brand .logo {
    width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    display: flex; align-items: center; justify-content: center;
    color: #fff; box-shadow: var(--shadow);
}
.brand .logo svg { color: #fff; }
.header-search { flex: 1; max-width: 420px; position: relative; }
.header-search input {
    width: 100%; padding: 10px 14px 10px 40px; border: 1.5px solid var(--border);
    border-radius: 12px; font-size: 14px; background: var(--bg); outline: none;
}
.header-search input:focus { border-color: var(--accent); background: #fff; }
.header-search .ico { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); display: flex; }
.nav-links { display: flex; gap: 22px; font-weight: 600; font-size: 14px; }
.nav-links a { color: var(--text); white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.btn-tg {
    display: inline-flex; align-items: center; gap: 8px; background: #229ed9; color: #fff !important;
    padding: 10px 16px; border-radius: 11px; font-weight: 700; font-size: 14px; white-space: nowrap;
    transition: filter .15s;
}
.btn-tg:hover { filter: brightness(1.1); }
.burger { display: none; background: none; border: 1px solid var(--border); border-radius: 9px; width: 40px; height: 40px; font-size: 18px; cursor: pointer; }

/* ---------- HERO ---------- */
.hero {
    position: relative; overflow: hidden; color: var(--text);
    background: linear-gradient(120deg, #eef4ff 0%, #fbfcff 55%, #eef2ff 100%);
    border-bottom: 1px solid var(--border);
}
.hero-bg {
    position: absolute; inset: 0; opacity: .08; background-size: cover; background-position: center;
}
.hero-inner {
    position: relative; max-width: 1220px; margin: 0 auto; padding: 64px 22px 40px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hero-title { font-size: clamp(30px, 4.5vw, 48px); font-weight: 800; line-height: 1.15; }
.hero-sub { color: var(--muted); font-size: 17px; margin: 16px 0 26px; max-width: 560px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: none; cursor: pointer; border-radius: 11px; padding: 12px 22px;
    font-size: 15px; font-weight: 700; transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #1d4ed8; }
.btn-outline { background: #fff; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-secondary { background: var(--card); color: var(--text); border: 1.5px solid var(--border); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* hero slider */
.hero-slider { position: relative; min-height: 360px; }
.slide {
    position: absolute; inset: 0; display: flex; gap: 22px; align-items: center;
    opacity: 0; transform: translateX(24px); transition: all .45s ease; pointer-events: none;
}
.slide.active { opacity: 1; transform: none; pointer-events: auto; }
.slide .cov {
    width: 210px; flex-shrink: 0; aspect-ratio: 3/4; border-radius: 12px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(15,23,42,.08); border: 1px solid var(--border);
}
.slide .cov img { width: 100%; height: 100%; object-fit: cover; }
.slide .info h3 { font-size: 24px; font-weight: 800; }
.slide .info .auth { color: var(--muted); margin: 6px 0 12px; }
.slide .price-big { font-size: 26px; font-weight: 800; }
.slide .price-big .old { color: var(--muted); text-decoration: line-through; font-size: 17px; font-weight: 500; margin-left: 10px; }
.slide .btn { margin-top: 14px; }
.hero-dots { display: flex; gap: 8px; margin-top: 18px; }
.hero-dots button {
    width: 9px; height: 9px; border-radius: 99px; border: none; cursor: pointer; background: #c3d2ec; transition: background-color .2s, width .2s;
}
.hero-dots button.active { width: 26px; background: var(--accent); }

/* ---------- SECTIONS ---------- */
.section { padding: 46px 0; }
.sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 14px; }
.sec-head h2 { font-size: 22px; font-weight: 700; }
.sec-head .all { font-weight: 700; font-size: 14px; color: var(--accent); white-space: nowrap; }
.sec-head .all:hover { text-decoration: underline; }

/* ---------- CARDS ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }
.hwrap { position: relative; }
.hscroll { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 8px; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { height: 0; display: none; }
.hscroll::-webkit-scrollbar-track, .hscroll::-webkit-scrollbar-thumb { background: transparent; }
.hs-btn {
    position: absolute; top: 34%; width: 40px; height: 40px; border-radius: 50%;
    background: #fff; border: 1px solid var(--border); color: var(--text);
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.1); z-index: 5;
}
.hs-btn:hover { border-color: var(--accent); color: var(--accent); }
.hs-prev { left: -10px; }
.hs-next { right: -10px; }
@media (max-width: 960px) { .hs-btn { display: none; } }
.book-card { cursor: pointer; display: flex; flex-direction: column; width: 100%; scroll-snap-align: start; }
.hscroll .book-card { min-width: 165px; max-width: 165px; }
.book-card:hover .cov { box-shadow: 0 6px 16px rgba(15, 23, 42, 0.14); }
.book-card .cov {
    position: relative; aspect-ratio: 3/4; border-radius: 8px; overflow: hidden;
    background: linear-gradient(135deg, #eef2f7, #e2e8f0);
}
.book-card .cov img { width: 100%; height: 100%; object-fit: cover; }
.book-card .cov .ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #cbd5e1; }
.badge {
    position: absolute; top: 6px; left: 6px; z-index: 2; padding: 3px 8px; border-radius: 99px;
    font-size: 10.5px; font-weight: 700; color: #fff; background: rgba(15, 23, 42, 0.72); backdrop-filter: blur(4px);
    display: inline-flex; align-items: center; gap: 4px;
}
.badge.disc { background: var(--danger); color: #fff; left: auto; right: 6px; }
.badge.new { background: var(--success); }
.badge.free { background: #06b6d4; }
.book-card .bd { padding: 8px 2px 0; display: flex; flex-direction: column; gap: 2px; }
.book-card .t { font-weight: 600; font-size: 13px; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.book-card .a { color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-price { display: flex; align-items: baseline; gap: 6px; padding-top: 3px; }
.card-price .p { font-weight: 800; font-size: 12.5px; white-space: nowrap; }
.card-price .o { color: var(--muted); text-decoration: line-through; font-size: 11px; font-weight: 500; }
.rat { display: inline-flex; align-items: center; gap: 4px; color: var(--gold); font-weight: 700; font-size: 12.5px; }
.rat svg { color: var(--gold); }

/* ---------- CATEGORIES ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.cat-item {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 18px; display: flex; align-items: center; gap: 14px; cursor: pointer; transition: border-color .15s;
}
.cat-item:hover { border-color: var(--accent); }
.cat-item .ic { color: var(--accent); width: 54px; height: 54px; border-radius: 14px; background: var(--bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cat-item .nm { font-weight: 700; font-size: 15px; }
.cat-item .ct { color: var(--muted); font-size: 12.5px; }

/* ---------- CATALOG LAYOUT ---------- */
.catalog { display: grid; grid-template-columns: 255px 1fr; gap: 24px; align-items: start; padding: 30px 0; }
.filters-panel { position: sticky; top: 84px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.filters-panel h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin: 16px 0 10px; }
.filters-panel h4:first-child { margin-top: 0; }
.cat-list { display: flex; flex-direction: column; gap: 8px; }
.cat-list button, .f-pill {
    border: none; background: none; text-align: left; padding: 8px 10px; border-radius: 9px;
    font-size: 13.5px; font-weight: 500; cursor: pointer; color: var(--text); display: flex; justify-content: space-between; gap: 8px;
}
.cat-list button:hover { background: var(--bg); }
.cat-list button.active { background: var(--accent); color: #fff; font-weight: 700; }
.cat-list .cnt { opacity: .7; font-size: 12px; }
.f-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.f-pill {
    border: 1.5px solid var(--border); padding: 8px 13px; gap: 7px; align-items: center; border-radius: 99px;
    background: var(--card); font-size: 13px; font-weight: 600; color: var(--text); cursor: pointer;
    display: inline-flex; transition: border-color .15s;
}
.f-pill:hover { border-color: var(--accent); }
.f-pill.active { background: #eff6ff; border-color: var(--accent); color: #1d4ed8; }
.f-pill.active svg { color: var(--accent); }
.catalog-main { min-width: 0; }
.filters-panel select, .catalog-main select {
    padding: 9px 12px; border: 1.5px solid var(--border); border-radius: 10px; font-size: 13.5px; background: var(--card); outline: none; cursor: pointer;
}
.pages { display: flex; gap: 8px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.pages button {
    min-width: 38px; height: 38px; padding: 0 12px; border: 1.5px solid var(--border); background: var(--card);
    border-radius: 10px; font-weight: 700; cursor: pointer; font-size: 13.5px;
}
.pages button.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.pages button:disabled { opacity: .4; cursor: not-allowed; }

/* ---------- KITOB PAGE ---------- */
.kk { padding: 28px 0 50px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--accent); }
.kk-card {
    background: var(--card); border: 1px solid var(--border); border-radius: 20px;
    padding: 30px; display: grid; grid-template-columns: 240px 1fr; gap: 34px; box-shadow: var(--shadow);
}
.kk-cover { position: relative; }
.kk-cover .cov { border-radius: 14px; overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--shadow-lg); }
.kk-cover .cov img { width: 100%; height: 100%; object-fit: cover; }
.kk-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.kk-badge { padding: 5px 12px; border-radius: 99px; font-size: 12px; font-weight: 700; color: #fff; display: inline-flex; align-items: center; gap: 5px; }
.kk-badge.best { background: var(--gold); color: #1e293b; }
.kk-badge.new { background: var(--success); }
.kk-badge.free { background: #06b6d4; }
.kk-badge.cat { background: var(--bg); color: var(--accent); }
.kk-title { font-size: 30px; font-weight: 800; line-height: 1.2; margin-bottom: 8px; }
.kk-author { font-size: 16px; color: var(--muted); margin-bottom: 14px; }
.kk-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.kk-price { font-size: 34px; font-weight: 800; }
.kk-price .old { font-size: 19px; color: var(--muted); text-decoration: line-through; font-weight: 500; margin: 0 10px; }
.kk-disc { background: var(--danger); color: #fff; font-weight: 800; font-size: 13px; padding: 5px 12px; border-radius: 99px; }
.kk-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 22px; }
.kk-why { background: var(--bg); border-radius: 12px; padding: 14px 16px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.kk-why b { color: var(--text); }
.kk-desc h3, .kk-spec h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; color: var(--text); }
.kk-desc { margin: 22px 0 0; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; }
.kk-desc p { color: #334155; font-size: 15px; line-height: 1.65; }
.kk-spec { margin: 14px 0 0; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; }
.kk-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; }
.kk-spec-item { display: flex; justify-content: space-between; gap: 16px; padding: 10px 14px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; font-size: 14px; }
.kk-spec-item .k { color: var(--muted); }
.kk-spec-item .v { font-weight: 600; text-align: right; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--dark); color: #cbd5e1; margin-top: 40px; }
.footer-grid { max-width: 1220px; margin: 0 auto; padding: 44px 22px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-weight: 700; margin-bottom: 14px; font-size: 15px; }
.site-footer a { color: #cbd5e1; display: block; padding: 3px 0; font-size: 13.5px; }
.site-footer a:hover { color: #fff; }
.site-footer .about { font-size: 13.5px; line-height: 1.8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom .cont { max-width: 1220px; margin: 0 auto; padding: 18px 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #94a3b8; }

/* ---------- MISC ---------- */
.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); grid-column: 1 / -1; }
.empty-state .big { margin-bottom: 10px; color: #cbd5e1; }
.spinner { width: 40px; height: 40px; margin: 60px auto; border: 4px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast {
    position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 20px); z-index: 500;
    background: var(--dark); color: #fff; padding: 13px 24px; border-radius: 12px;
    font-size: 14px; opacity: 0; pointer-events: none; transition: all .25s; box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.page-head { padding: 34px 0 0; }
.page-head h1 { font-size: 30px; font-weight: 800; margin-bottom: 4px; }
.page-head p { color: var(--muted); }

/* ---------- MOBILE MENU (bottom sheet) ---------- */
.mm-backdrop {
    position: fixed; inset: 0; z-index: 98; background: rgba(15, 23, 42, 0.45);
    opacity: 0; pointer-events: none; transition: opacity .28s ease; display: none;
}
.mm-backdrop.show { opacity: 1; pointer-events: auto; display: block; }
.mobile-menu {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 99;
    background: #fff; border-radius: 20px 20px 0 0; box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.18);
    padding: 8px 16px calc(18px + env(safe-area-inset-bottom));
    transform: translateY(105%); transition: transform .3s cubic-bezier(.32, .72, 0, 1);
    display: flex; flex-direction: column; gap: 2px; visibility: hidden;
}
.mobile-menu.open { transform: translateY(0); visibility: visible; }
.mm-handle { width: 42px; height: 5px; border-radius: 99px; background: #e2e8f0; margin: 4px auto 10px; }
.mm-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 2px 10px; }
.mm-title { font-weight: 800; font-size: 17px; }
.mm-close { background: #f1f5f9; border: none; border-radius: 10px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text); }
.mm-link {
    display: flex; align-items: center; gap: 14px; padding: 13px 12px; border-radius: 12px;
    font-size: 15px; font-weight: 600; color: var(--text);
}
.mm-link:hover { background: #f1f5f9; }
.mm-link.active { color: var(--accent); background: #eff6ff; }
.mm-ic { display: flex; color: var(--muted); width: 22px; }
.mm-link.active .mm-ic { color: var(--accent); }
.mm-chev { margin-left: auto; color: #cbd5e1; display: flex; }
.mm-tg { margin-top: 10px; background: #eef6ff; color: #0b6bcb; border: 1px solid #d6ecff; }
.mobile-menu .header-search { margin: 6px 4px 12px; }
.mm-close:active { background: #e2e8f0; }
@media (min-width: 961px) { .mobile-menu, .mm-backdrop { display: none; } }

@media (max-width: 960px) {
    .nav-links, .header-search { display: none; }
    .burger { display: block; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-slider { min-height: 340px; }
    .hero-inner { padding: 44px 20px 34px; }
    .hero .btn-outline { margin-left: 0; }
    .slide .btn { margin: 10px 4px 0 0; }
    .catalog { grid-template-columns: 1fr; }
    .filters-panel { position: static; }
    .kk-card { grid-template-columns: 1fr; }
    .kk-cover { max-width: 220px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .section { padding: 34px 0; }
    .site-footer .footer-grid { padding: 34px 20px; }
}
@media (max-width: 600px) {
    body { font-size: 15px; }
    .container { padding: 0 16px; }
    .header-inner { padding: 10px 14px; gap: 10px; }
    .brand { font-size: 16px; }
    .brand .logo { width: 36px; height: 36px; border-radius: 10px; }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .site-footer .footer-grid { padding: 34px 16px; }
    .kk-specs { grid-template-columns: 1fr; }
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .hscroll { gap: 10px; }
    .hscroll .book-card { min-width: 150px; max-width: 150px; }
    .book-card .t { font-size: 12.5px; line-height: 1.35; }
    .card-price .p { font-size: 12.5px; }
    .badge { font-size: 10px; padding: 3px 7px; }
    .book-card .bd { padding-top: 7px; gap: 1px; }
    .section { padding: 28px 0; }
    .sec-head { margin-bottom: 12px; }
    .sec-head h2 { font-size: 18px; }
    .hwrap { margin: 0 -16px; padding: 0 16px; }
    .hscroll { gap: 10px; }
    #relatedWrap .section { padding: 28px 16px; }

    .hero-inner { padding: 30px 16px 26px; }
    .hero-title { font-size: 25px; }
    .hero-sub { font-size: 14px; margin: 10px 0 16px; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { width: 100%; }
    .hero-slider { min-height: 0; margin-top: 24px; }
    .slide { position: relative; inset: auto; display: none; flex-direction: column; text-align: center; gap: 12px; transform: none; opacity: 1; pointer-events: auto; padding: 4px 0; transition: none; }
    .slide.active { display: flex; }
    .slide .cov { width: 140px; }
    .slide .info h3 { font-size: 18px; }
    .slide .info .auth { margin: 4px 0 8px; font-size: 13px; }
    .slide .price-big { font-size: 21px; }
    .slide .btn { margin: 4px; }
    .hero-dots { justify-content: center; margin-top: 14px; }

    .cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .cat-item { padding: 12px; gap: 10px; }
    .cat-item .ic { width: 44px; height: 44px; border-radius: 11px; }
    .cat-item .nm { font-size: 13.5px; }
    .cat-item .ct { font-size: 11.5px; }

    .page-head { padding: 22px 0 0; }
    .page-head h1 { font-size: 24px; }
    .catalog { padding: 18px 0 0; gap: 16px; }
    .filters-panel { padding: 14px; }

    .kk { padding: 20px 0 44px; }
    .breadcrumb { font-size: 11.5px; margin-bottom: 14px; padding: 0 2px; }
    .kk-card { padding: 22px 18px; gap: 20px; }
    .kk-cover { max-width: 180px; }
    .kk-title { font-size: 21px; }
    .kk-author { font-size: 14px; }
    .kk-row { gap: 10px; }
    .kk-price { font-size: 24px; }
    .kk-actions { flex-direction: column; gap: 0; }
    .kk-actions .btn { width: 100%; padding: 13px 10px; font-size: 15px; }
    .kk-actions .btn + .btn { margin-top: 10px; }
    .kk-why { font-size: 12.5px; padding: 12px 14px; }
    .kk-desc, .kk-spec { padding: 16px 14px; }
    .kk-desc { margin-top: 14px; }
    .kk-desc h3, .kk-spec h3 { font-size: 17px; }

    .empty-state { padding: 46px 16px; font-size: 14px; }
    .btn { padding: 11px 16px; font-size: 14px; }
    input, select, textarea { font-size: 16px !important; }
    .toast { width: auto; max-width: calc(100% - 40px); text-align: center; }
}

/* ---------- POLISH ---------- */
::selection { background: var(--accent); color: #fff; }
*:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.catalog-main select, .filters-panel select {
    appearance: none; -webkit-appearance: none; padding-right: 32px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat; background-position: right 10px center;
}
/* desktop scrollbar */
@media (min-width: 961px) {
    ::-webkit-scrollbar { width: 10px; height: 10px; }
    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 99px; border: 2px solid transparent; background-clip: content-box; }
    ::-webkit-scrollbar-thumb:hover { background: #94a3b8; border: 2px solid transparent; background-clip: content-box; }
}

/* ---------- ABOUT PAGE ---------- */
.about-wrap { padding: 26px 0 60px; display: grid; gap: 16px; }
.card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.card h2 {
    font-size: 20px; font-weight: 800; margin-bottom: 12px;
    display: flex; align-items: center; gap: 10px; color: var(--text);
}
.card h2 .vi { color: var(--accent); display: inline-flex; flex-shrink: 0; }
.card p, .card li { color: #334155; font-size: 14.5px; line-height: 1.75; }
.card ul { padding-left: 20px; }
.card ul li { margin: 6px 0; }

.about-intro {
    background: linear-gradient(120deg, #eff4ff 0%, var(--card) 55%, #f5f3ff 100%);
}
.about-intro p { margin-bottom: 10px; }
.about-intro p:last-child { margin-bottom: 0; }

.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.feat {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 22px; box-shadow: var(--shadow);
}
.feat .f-ic {
    width: 52px; height: 52px; border-radius: 14px; margin-bottom: 14px;
    background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff;
    display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
}
.feat h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 13.5px; line-height: 1.6; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.step {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 20px; box-shadow: var(--shadow); position: relative;
}
.step .n {
    width: 38px; height: 38px; border-radius: 50%; margin-bottom: 12px;
    background: var(--accent); color: #fff; font-weight: 800; font-size: 16px;
    display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 13px; line-height: 1.55; }

.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.faq-item {
    background: var(--card); border: 1px solid var(--border); border-radius: 12px;
    padding: 16px 18px; box-shadow: var(--shadow);
}
.faq-item h3 {
    font-size: 14.5px; font-weight: 700; display: flex; gap: 10px; align-items: flex-start;
}
.faq-item h3 .q {
    width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0; margin-top: 2px;
    background: #eff6ff; color: var(--accent); font-weight: 800; font-size: 13px;
    display: flex; align-items: center; justify-content: center;
}
.faq-item p { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin: 7px 0 0 36px; }

.contact-banner {
    background: linear-gradient(120deg, var(--accent), var(--accent2));
    border-radius: 18px; padding: 30px; color: #fff;
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; flex-wrap: wrap;
}
.contact-banner h3 { font-size: 21px; font-weight: 800; margin-bottom: 6px; }
.contact-banner p { opacity: .92; font-size: 14px; }
.contact-banner .btns { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-banner .btn { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.contact-banner .btn:hover { background: rgba(255,255,255,.26); }
.contact-banner .btn-tg { background: #fff; color: var(--accent) !important; }

@media (max-width: 700px) {
    .faq-grid { grid-template-columns: 1fr; }
    .card { padding: 20px 18px; }
    .contact-banner { padding: 24px 20px; }
}