/* =========================================================
   BOSH SAHIFA (home.css) — index.html ga xos bo'limlar.
   theme.css → site.css (umumiy "Korporativ" qobiq: menyu, tugmalar,
   kartochkalar, bo'limlar, yangilik kartochkasi) → shu fayl.
   Doimiy harakat — faqat oferta havolasining pulsi.
   ========================================================= */


/* ===== HERO — kompyuterda ikki ustun ===== */
.hero { padding: 120px 0 64px; background: #fff; position: relative; }
.hero-inner { position: relative; text-align: center; }
.hero h1 { font-size: clamp(1.75rem, 6.5vw, 2.75rem); line-height: 1.1; font-weight: 800; letter-spacing: -0.025em;
    margin: 20px auto 14px; max-width: 800px; text-wrap: balance; }
/* Faqat hero matni (barcha hero paragraflari emas) — aks holda statistika yozuvlariga ham ortiqcha masofa tushardi */
.hero-inner > p { font-size: clamp(1rem, 1.5vw, 1.2rem); color: var(--gray); max-width: 640px; margin: 0 auto 28px; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-visual { position: relative; max-width: min(900px, 100%); margin: 40px auto 0; }
.hero .hero-window { padding: 0; border: 0; background: none; border-radius: 16px;
    box-shadow: 0 34px 70px -40px rgba(6,78,59,0.6); }
.hero-window img { width: 100%; height: auto; border-radius: 16px; display: block; }
@media (min-width: 1100px) {
    /* Bo'sh 1fr qatorlar matnni banner balandligiga nisbatan o'rtaga qo'yadi */
    .hero-inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        grid-template-rows: 1fr auto auto auto auto 1fr; column-gap: 56px; text-align: left; }
    .hero-inner > .eyebrow-link { grid-column: 1; grid-row: 2; justify-self: start; }
    .hero-inner > h1 { grid-column: 1; grid-row: 3; }
    .hero-inner > p { grid-column: 1; grid-row: 4; }
    .hero-inner > .hero-btns { grid-column: 1; grid-row: 5; }
    .hero-inner > .hero-visual { grid-column: 2; grid-row: 1 / -1; margin: 0; max-width: none; align-self: center; }
    .hero h1 { font-size: clamp(2.2rem, 3.2vw, 3.1rem); max-width: none; margin: 22px 0 16px; }
    .hero-inner > p { margin: 0 0 28px; max-width: 520px; }
    .hero-btns { justify-content: flex-start; }
}

/* Hero tepasidagi "Ommaviy oferta" havolasi — e'tiborni tortishi uchun qizil,
   kattaroq va atrofida yumshoq "puls" halqasi (harakat o'chirilgan qurilmalarda yo'q) */
.eyebrow-link { font-size: 15px; padding: 11px 22px; gap: 10px; color: #fff;
    background: linear-gradient(135deg, var(--danger), var(--danger-dark));
    box-shadow: 0 12px 30px -10px rgba(220,38,38,0.6);
    transition: background 0.25s, box-shadow 0.25s;
    animation: offerPulse 2.4s ease-out infinite; }
.eyebrow-link i { color: #fff; }
.eyebrow-link:hover { color: #fff; background: linear-gradient(135deg, var(--danger-dark), #b91c1c);
    box-shadow: 0 16px 36px -10px rgba(220,38,38,0.75); }
.eyebrow-link .arrow { font-size: 12px; transition: 0.25s; }
.eyebrow-link:hover .arrow { transform: translateX(4px); }
.eyebrow-link:focus-visible { outline: 3px solid rgba(220,38,38,0.45); outline-offset: 3px; }
@keyframes offerPulse {
    0%   { box-shadow: 0 12px 30px -10px rgba(220,38,38,0.6), 0 0 0 0 rgba(239,68,68,0.45); }
    70%  { box-shadow: 0 12px 30px -10px rgba(220,38,38,0.6), 0 0 0 14px rgba(239,68,68,0); }
    100% { box-shadow: 0 12px 30px -10px rgba(220,38,38,0.6), 0 0 0 0 rgba(239,68,68,0); }
}
@media (prefers-reduced-motion: reduce) { .eyebrow-link { animation: none; } }

/* ===== STATISTIKA — hero ostidagi yalpiz rangli tasma ===== */
.hero .stats-strip { margin-top: 56px; border: 0; border-radius: 12px; background: var(--band); box-shadow: none;
    padding: 28px 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat h3 { font-size: 2.2rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em;
    color: var(--primary-deep); font-variant-numeric: tabular-nums; }
.stat p { color: var(--gray); font-size: 0.92rem; margin-top: 8px; }
.stat + .stat { border-left: 1px solid rgba(6,78,59,0.12); }

/* ===== HAMKORLAR lentasi ===== */
.partners { padding: 28px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.partners-title { text-align: center; color: var(--gray); font-weight: 600; font-size: 0.95rem; margin-bottom: 14px; }
.partners .marquee { background: none; border: 0; box-shadow: none; }
.marquee { padding: 18px 0; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: inline-flex; align-items: center; animation: scroll 32s linear infinite; }
.marquee-track img { height: 52px; margin: 0 26px; object-fit: contain; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== IMKONIYATLAR (bento) ===== */
/* Qator kamida 184px, kontent ko'p bo'lsa o'sadi (qat'iy balandlikda ikonka siqilib, matn kesilardi) */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(184px, auto); gap: 16px; }
.tile { padding: 26px; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.tile .t-icon { width: 46px; height: 46px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: #fff; background: var(--primary-dark); margin-bottom: auto; flex-shrink: 0; }
.tile .t-icon img { width: 26px; height: 26px; object-fit: contain; filter: brightness(0) invert(1); }
.tile h3 { font-size: 1.125rem; line-height: 1.3; margin: 16px 0 6px; font-weight: 700; }
.tile p { color: var(--gray); font-size: 0.93rem; }
.b1 { grid-column: span 3; grid-row: span 2; }
.b2 { grid-column: span 3; }
.b3 { grid-column: span 3; }
.b4 { grid-column: span 2; }
.b5 { grid-column: span 2; }
.b6 { grid-column: span 2; }
.b1 h3 { font-size: 1.6rem; letter-spacing: -0.01em; }
.b1 p { font-size: 1rem; max-width: 420px; }
.b1 .t-icon { margin-bottom: 16px; }
.b1-img { margin-top: auto; align-self: center; width: 72%; max-width: 280px; pointer-events: none; }

/* ===== JARAYON — haqiqiy ketma-ketlik, shuning uchun raqamli bosqichlar
   chizig'i (kartochka emas). Uzuq chiziq — chek/retsept yirtiq chizig'iga ishora. */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.p-step { position: relative; }
.p-num { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; background: var(--primary-dark); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700;
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.12); margin-bottom: 22px; }
.p-step:not(:last-child)::after { content: ''; position: absolute; top: 21px; left: 60px; right: -16px; height: 2px;
    background-image: linear-gradient(90deg, rgba(16, 185, 129, 0.55) 50%, transparent 50%); background-size: 12px 2px; }
.p-step h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; }
.p-step > p { color: var(--gray); font-size: 0.95rem; margin-bottom: 14px; max-width: 40ch; }
.p-list li { display: flex; gap: 9px; align-items: center; color: var(--gray); font-size: 0.9rem; margin-bottom: 8px; }
.p-list li i { color: var(--primary); }

/* ===== TAQQOSLASH ===== */
.compare { padding: 8px; overflow-x: auto; }
.compare table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 560px; }
.compare th, .compare td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--hair); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare th { font-weight: 700; font-size: 0.95rem; color: var(--gray); }
.compare th:first-child { color: var(--ink); }
.compare td:first-child { font-weight: 600; }
.compare td:nth-child(2), .compare td:nth-child(3), .compare th.bad, .compare th.good { text-align: center; }
/* AUDIT APTEKA ustuni butun balandligi bo'yicha ajralib turadi */
.compare th.good, .compare td:nth-child(3) { background: var(--tint); }
.compare th.good { color: var(--primary-deep); font-weight: 800; border-radius: 10px 10px 0 0; }
.compare tbody tr:last-child td:nth-child(3) { border-radius: 0 0 10px 10px; }
.compare td:nth-child(3) { font-weight: 600; color: var(--ink); }
.ok { color: var(--primary-dark); }
.no { color: #ef4444; }

/* ===== NARXLAR — to'q yashil blok ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; align-items: stretch; }
.price-card { overflow: hidden; display: flex; flex-direction: column; }
#pricing .section-head h2::before { background: #34d399; }
#pricing .price-card { background: rgba(255,255,255,0.04); border: 1px solid var(--on-deep-line); }
.price-tag { background: var(--primary-dark); color: #fff; text-align: center; padding: 8px; font-weight: 700; font-size: 13px; }
.price-body { padding: 30px 28px; display: flex; flex-direction: column; flex-grow: 1; justify-content: space-between; }
.price-body h3 { font-size: 1.15rem; font-weight: 700; color: #fff; }
.price { font-size: 2.1rem; font-weight: 800; color: #6ee7b7; letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums; margin: 10px 0 6px; }
.price span { font-size: 0.95rem; color: var(--on-deep); font-weight: 500; letter-spacing: 0; }
.price-text { font-size: 1.9rem; }
.price-note { color: var(--on-deep); font-size: 0.92rem; margin-top: 4px; }
.feat-list { margin: 18px 0 26px; }
.feat-list li { display: flex; gap: 10px; align-items: start; color: var(--on-deep); margin-bottom: 10px; font-size: 0.95rem; }
.feat-list li i { color: #34d399; margin-top: 5px; }
.price-body .btn { width: 100%; margin-top: 24px; }
#pricing .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); box-shadow: none; }
#pricing .btn-ghost:hover { background: rgba(255,255,255,0.08); color: #fff; }
/* Tavsiya etilgan reja — to'q fonda oq kartochka bo'lib ajralib turadi */
#pricing .price-card.featured { background: #fff; border: 2px solid #10b981; }
#pricing .price-card.featured .price-body h3 { color: var(--ink); }
#pricing .price-card.featured .price { color: var(--primary-deep); }
#pricing .price-card.featured .price span,
#pricing .price-card.featured .feat-list li { color: var(--gray); }
#pricing .price-card.featured .feat-list li i { color: var(--primary); }

/* ===== FIKRLAR ===== */
.tst-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.tst-card { padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.tst-text { font-size: 1.02rem; line-height: 1.65; color: #2f3f3a; }
.tst-who { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--hair); }
.tst-who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.tst-who h4 { font-size: 0.96rem; font-weight: 700; }
.tst-who span { font-size: 0.84rem; color: var(--gray); }


/* ===== JAMOA =====
   Jamoa bazadan keladi va soni o'zgarishi mumkin — auto-fit 3 ta ham, 5 ta ham
   chiroyli joylashadi. */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 260px)); justify-content: start; gap: 20px; }
.team-card { padding: 28px 20px; text-align: center; }
/* Jamoa rasmlari: yuklab olishni cheklash (o'ng tugma, drag, mobil uzoq bosish) */
.team-card img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; object-position: top center;
    box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--hair); margin: 0 auto 16px; display: block;
    -webkit-user-select: none; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.team-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.team-card .role { color: var(--gray); font-size: 0.88rem; display: block; }

/* ===== SERTIFIKAT VA LITSENZIYALAR =====
   Hujjatlar har xil (tik va yotiq) — bir tekis turishi uchun rasm 3:4 ramkaga
   "contain" bilan joylanadi, kesilmaydi. */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert-card { overflow: hidden; display: flex; flex-direction: column; color: inherit; transition: border-color 0.2s, box-shadow 0.2s; }
.cert-grid .cert-card:hover { border-color: var(--line-strong); box-shadow: 0 18px 40px -26px rgba(6, 78, 59, 0.45); }
.cert-thumb { aspect-ratio: 3 / 4; padding: 16px; display: flex; align-items: center; justify-content: center;
    background: var(--tint); position: relative; }
.cert-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; border-radius: 4px;
    box-shadow: 0 10px 26px -12px rgba(6,78,59,0.45); transition: transform 0.4s; background: #fff; }
.cert-card:hover .cert-thumb img { transform: scale(1.03); }
.cert-thumb::after { content: '\f00e'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; right: 14px; bottom: 14px;
    width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.95); color: var(--primary-deep); font-size: 0.9rem; box-shadow: 0 6px 18px -6px rgba(6,78,59,0.45);
    opacity: 0; transition: opacity 0.2s; }
.cert-card:hover .cert-thumb::after { opacity: 1; }
.cert-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cert-body h3 { font-size: 1rem; line-height: 1.35; color: var(--ink); }
.cert-body p { font-size: 0.86rem; color: var(--gray); line-height: 1.5; flex: 1; }
.cert-meta { font-size: 0.84rem; font-weight: 700; color: var(--primary-deep); font-variant-numeric: tabular-nums; }

/* Lightbox — hujjatni katta ko'rinishda ochish (header z-index 1000/1100 dan yuqori) */
.cert-lb { position: fixed; inset: 0; z-index: 2000; background: rgba(6,24,19,0.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center; padding: 24px 76px; }
.cert-lb[hidden] { display: none; }
.cert-lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; max-height: 100%; }
.cert-lb-fig img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 6px; background: #fff;
    box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6); }
.cert-lb-fig figcaption { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; color: #fff; text-align: center; }
.cert-lb-fig figcaption b { display: block; font-size: 1rem; }
.cert-lb-meta { font-size: 0.85rem; opacity: 0.8; }
.cert-lb-btn { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(255,255,255,0.14); color: #fff; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; transition: 0.2s; }
.cert-lb-btn:hover, .cert-lb-btn:focus-visible { background: rgba(255,255,255,0.28); outline: none; }
.cert-lb-close { top: 18px; right: 18px; }
.cert-lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.cert-lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ===== FAQ — kompyuterda ikki ustun: chapda sarlavha va yordam telefoni
   (aylantirganda joyida turadi), o'ngda savollar ro'yxati ===== */
.faq-layout .section-head p a { color: var(--primary-dark); font-weight: 700; white-space: nowrap; }
@media (min-width: 1100px) {
    .faq-layout { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 72px; align-items: start; }
    .faq-layout .section-head { display: block; position: sticky; top: 120px; margin: 0; }
    .faq-layout .section-head h2 { white-space: nowrap; }
    .faq-layout .section-head p { max-width: 380px; margin-top: 14px; }
}
.faq-wrap { background: var(--surface); border: 1px solid var(--hair); border-radius: 12px; overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-item:last-child { border-bottom: 0; }
.faq-q { width: 100%; background: none; border: 0; font: inherit; font-size: 1rem; font-weight: 600; color: var(--ink); text-align: left;
    padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q:hover { color: var(--primary-dark); }
.faq-q:focus-visible { outline-offset: -3px; }
.faq-q i { transition: transform 0.3s; color: var(--primary); flex-shrink: 0; }
.faq-a { max-height: 0; overflow: hidden; padding: 0 24px; color: var(--gray); opacity: 0; transition: all 0.35s ease; font-size: 0.95rem; }
.faq-item.active .faq-a { max-height: 320px; opacity: 1; padding-bottom: 22px; }
.faq-item.active .faq-q { color: var(--primary-dark); }
.faq-item.active .faq-q i { transform: rotate(180deg); }

/* ===== ALOQA ===== */
.contact-box { padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-info h2 { font-size: clamp(1.6rem, 2.2vw, 2rem); line-height: 1.2; letter-spacing: -0.02em; font-weight: 800; margin-bottom: 10px; }
.contact-lead { color: var(--gray); margin-bottom: 26px; }
.contact-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.contact-row i { width: 40px; height: 40px; border-radius: 12px; background: var(--tint); color: var(--primary-deep);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ===== AKSIYA — to'liq enli yashil blok (.band-cta), matn chapda, tugmalar o'ngda ===== */
.cta { color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.cta-text { max-width: 760px; }
.cta h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 10px; }
.cta p { font-size: 1.02rem; opacity: 0.95; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ===== MOSLASHUVCHANLIK ===== */
@media (max-width: 980px) {
    .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
    .tile { grid-column: span 1 !important; grid-row: auto !important; min-height: 200px; }
    .b1-img { width: 55%; max-width: 200px; }
    /* Bosqichlar tik: raqam chapda, uzuq chiziq pastga */
    .process-grid { grid-template-columns: 1fr; gap: 28px; }
    .p-step { padding-left: 64px; }
    .p-num { position: absolute; left: 0; top: 0; margin: 0; }
    .p-step:not(:last-child)::after { top: 56px; bottom: -22px; left: 21px; right: auto; width: 2px; height: auto;
        background-image: linear-gradient(180deg, rgba(16, 185, 129, 0.55) 50%, transparent 50%); background-size: 2px 12px; }
    .cert-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-box { grid-template-columns: 1fr; padding: 36px 26px; gap: 32px; }
    .cta { grid-template-columns: 1fr; }
    .cta-btns { justify-content: flex-start; }
}
@media (max-width: 620px) {
    .hero { padding-top: 100px; }
    .hero .stats-strip { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
    .stat + .stat:nth-child(odd) { border-left: none; }
    .bento { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .team-card { padding: 22px 12px; }
    .team-card img { width: 84px; height: 84px; }
    /* Telefonda ham 2 ustun — hujjatlar kichik bo'lsa ham tanib olinadi, bosilsa kattalashadi */
    .cert-grid { gap: 12px; }
    .cert-thumb { padding: 10px; }
    .cert-thumb::after { display: none; }
    .cert-body { padding: 12px 12px 14px; gap: 4px; }
    .cert-body h3 { font-size: 0.86rem; }
    .cert-body p { font-size: 0.74rem; }
    .cert-meta { font-size: 0.72rem; }
    .cert-lb { padding: 64px 12px 20px; }
    .cert-lb-prev, .cert-lb-next { top: auto; bottom: 18px; transform: none; }
    .cert-lb-fig img { max-height: calc(100vh - 200px); }
    .faq-q { padding: 18px 18px; }
    .faq-a { padding: 0 18px; }
}
