/* Ommaviy sahifa (landing) — oq, toza, ko'k aksentli uslub */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: "Source Sans 3", "Source Sans Pro", "Segoe UI", Arial, sans-serif; color: #222; background: #fff; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.hidden { display: none !important; }
.wrap { width: min(1140px, 100% - 32px); margin: 0 auto; }

/* ---------- yuqori menyu ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: #fff; transition: box-shadow .2s; }
.nav.sh { box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.nav-in { display: flex; align-items: center; height: 80px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 20px; color: #1764cc; }
.brand img { height: 48px; width: auto; }
.links { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.links a, .lang > button { font-size: 14px; font-weight: 600; color: #444; letter-spacing: .2px; padding: 6px 0; white-space: nowrap; }
.links a:hover, .links a.on { color: #0d6efd; }
.links a.green { color: #1e8c34; }
.links a.red { color: #e60000; }
.links a.blue { color: #0d6efd; }
.lang { position: relative; }
.lang > button { background: none; border: 0; cursor: pointer; color: #0b3d91; display: flex; align-items: center; gap: 6px; font-family: inherit; }
.lang-m { position: absolute; right: 0; top: 100%; background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); border-radius: 8px; padding: 6px; display: none; min-width: 80px; }
.lang-m.on { display: block; }
.lang-m button { display: block; width: 100%; border: 0; background: none; padding: 8px 12px; text-align: left; font: 600 14px inherit; font-family: inherit; cursor: pointer; border-radius: 6px; color: #333; }
.lang-m button:hover { background: #f0f4fa; }
.burger { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.burger i { display: block; height: 3px; background: #333; border-radius: 2px; margin: 4px 0; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 560px; gap: 30px; padding: 40px 0; }
.hero h1, .hero .big { font-size: clamp(36px, 4.6vw, 56px); font-weight: 700; margin: 0; line-height: 1.08; color: #111; letter-spacing: -.5px; text-transform: uppercase; }
.hero .sub { font-size: clamp(19px, 2vw, 27px); color: #444; margin: 8px 0 44px; }
.btn-g { display: inline-block; background: #ececec; color: #222; font-weight: 700; font-size: 16px; letter-spacing: 1.6px; padding: 15px 22px; border-radius: 14px; transition: background .15s, transform .15s; }
.btn-g:hover { background: #e0e0e0; transform: translateY(-1px); }
.hero-i { text-align: center; }
.hero-i img { width: 100%; max-width: 560px; }

/* ---------- bo'lim sarlavhasi ---------- */
.sec { padding: 40px 0 60px; }
.ttl { text-align: center; margin: 0 0 40px; font-size: clamp(24px, 3vw, 36px); font-weight: 700; color: #222; text-transform: uppercase; }
.ttl span { display: inline-flex; align-items: center; gap: 16px; }
.ttl span::before, .ttl span::after { content: ""; width: 50px; height: 2px; background: #0d6efd; }

/* ---------- imkoniyatlar kartochkalari ---------- */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.card { position: relative; border-radius: 14px; overflow: hidden; background: var(--bg); min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; }
.card img { position: absolute; inset: 0; width: 100%; height: 62%; object-fit: cover; }
.cbox { position: relative; margin: 0 20px 20px; background: #fff; border-radius: 14px; padding: 18px 30px 22px; min-height: 140px; box-shadow: 0 2px 6px rgba(0, 0, 0, .05); }
.cbox h3 { margin: 0 0 14px; text-align: center; font-size: 22px; letter-spacing: .3px; font-weight: 700; }
.cbox p { margin: 0; color: #555; font-size: 17px; line-height: 1.45; text-align: justify; }

/* ---------- funksiyalar ---------- */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat { display: flex; align-items: center; gap: 12px; padding: 22px 16px; border-radius: 12px; font-weight: 600; font-size: 17px; color: #222; transition: background .15s; line-height: 1.05; }
.feat:hover { background: #f1f1f1; }
.ic { width: 30px; height: 30px; flex: none; fill: none; stroke: #0d6efd; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic.g { stroke: #1e8c34; } .ic.r { stroke: #a30000; }
.ic.s { width: 28px; height: 28px; stroke: #222; }

/* ---------- statistika ---------- */
.stats { display: grid; text-align: center; gap: 20px; }
.stats.s4 { grid-template-columns: repeat(4, 1fr); }
.stats.s3 { grid-template-columns: repeat(3, 1fr); }
.stats > div { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.stats .ic { width: 42px; height: 42px; }
.stats b { font-size: clamp(30px, 3.4vw, 42px); font-weight: 400; color: #333; }
.stats span { font-size: clamp(16px, 1.8vw, 24px); color: #333; text-transform: uppercase; }
.sinov { min-height: 520px; }

/* ---------- savol-javob ---------- */
.faq-l { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-i { border: 1px solid #e3e8ef; border-radius: 12px; padding: 0 18px; }
.faq-i summary { cursor: pointer; font-weight: 600; font-size: 18px; padding: 16px 0; list-style: none; position: relative; padding-right: 30px; }
.faq-i summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 24px; color: #0d6efd; }
.faq-i[open] summary::after { content: "−"; }
.faq-i p { margin: 0 0 16px; color: #555; font-size: 17px; line-height: 1.5; }

/* ---------- bog'lanish ---------- */
.contact { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.org { display: flex; align-items: center; gap: 10px; }
.org img { height: 50px; width: auto; }
.org b { display: block; font-size: 24px; letter-spacing: .5px; text-transform: uppercase; color: #1d2834; }
.org small { display: block; font-size: 10px; letter-spacing: .5px; color: #333; }
.soc { display: flex; gap: 4px; }
.soc a { width: 50px; height: 50px; border-radius: 12px; background: #ececec; display: flex; align-items: center; justify-content: center; }
.soc a:hover { background: #e0e0e0; }
.ci { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #333; }
.foot { border-top: 1px solid #eee; margin-top: 30px; }
.foot-in { display: flex; justify-content: space-between; align-items: center; min-height: 80px; font-size: 15px; gap: 16px; flex-wrap: wrap; padding: 16px 0; }
.foot-in > span:first-child a { color: #0d6efd; }
.foot-in > span:last-child a { color: #0d6efd; margin-left: 20px; }
.tg-float { position: fixed; right: 46px; bottom: 46px; width: 50px; height: 50px; border-radius: 50%; background: #2aa3e8; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(42, 163, 232, .4); z-index: 60; }
.tg-float:hover { transform: scale(1.06); }

/* ---------- moslashuvchan ---------- */
@media (max-width: 1100px) { .links { gap: 16px; } .links a, .lang > button { font-size: 13px; } }
@media (max-width: 960px) {
  .burger { display: block; }
  .links { display: none; position: absolute; left: 0; right: 0; top: 80px; background: #fff; flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 20px 20px; box-shadow: 0 10px 20px rgba(0, 0, 0, .08); }
  .links.on { display: flex; }
  .links a, .lang > button { font-size: 16px; padding: 12px 0; }
  .lang-m { position: static; box-shadow: none; display: flex; gap: 6px; padding: 0 0 8px; }
  .hero { grid-template-columns: 1fr; text-align: center; min-height: 0; padding: 30px 0; }
  .hero-i { order: -1; } .hero-i img { max-width: 420px; }
  .hero .sub { margin-bottom: 26px; }
  .cards { grid-template-columns: 1fr; }
  .feats { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .stats.s4 { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .contact { justify-content: center; }
  .tg-float { right: 18px; bottom: 18px; }
}
@media (max-width: 520px) {
  .feats { grid-template-columns: 1fr; }
  .stats.s3 { grid-template-columns: 1fr; row-gap: 30px; }
  .cbox { padding: 16px 18px; } .cbox p { font-size: 16px; }
  .brand span { display: none; }
}

/* ---------- ochilish va aylantirish animatsiyasi (pastdan yuqoriga, xiradan) ---------- */
.js .rv { opacity: 0; transform: translate3d(0, 46px, 0); transition: opacity 1s cubic-bezier(.25, .46, .45, .94), transform 1s cubic-bezier(.25, .46, .45, .94); will-change: opacity, transform; }
.js .rv.in { opacity: 1; transform: none; }
.js .hero-i.rv { transform: translate3d(0, 46px, 0) scale(.97); }
.js .hero-i.rv.in { transform: none; }
/* tepaga qaytib aylantirganda — tepadan pastga tushib ochiladi */
.js .rv.up { transform: translate3d(0, -46px, 0); }
.js .hero-i.rv.up { transform: translate3d(0, -46px, 0) scale(.97); }
.js .rv.in, .js .hero-i.rv.in { opacity: 1; transform: none; }

/* ---- doimiy yengil harakat: rasmlar "nafas olib" turadi (logo qimirlamaydi) ---- */
@keyframes am-float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -14px, 0); } }
@keyframes am-zoom { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes am-bob { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -5px, 0); } }
@keyframes am-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0); } 50% { box-shadow: 0 0 0 7px rgba(13, 110, 253, .12); } }
.hero-i img { animation: am-float 6s ease-in-out infinite; will-change: transform; }
.sinov .hero-i img { animation-duration: 7s; animation-delay: -2.5s; }
.card img { animation: am-zoom 14s ease-in-out infinite; transform-origin: 50% 35%; }
.card:nth-child(2) img { animation-delay: -3.5s; } .card:nth-child(3) img { animation-delay: -7s; } .card:nth-child(4) img { animation-delay: -10.5s; }
.stats .ic { animation: am-bob 3.4s ease-in-out infinite; }
.stats > div:nth-child(2) .ic { animation-delay: -.85s; } .stats > div:nth-child(3) .ic { animation-delay: -1.7s; } .stats > div:nth-child(4) .ic { animation-delay: -2.55s; }
.hero .btn-g { animation: am-glow 3s ease-in-out infinite; }
/* ekranda ko'rinmayotganlari to'xtab turadi (telefon batareyasi va tezligi uchun) */
.js .rv:not(.in) img, .js .rv:not(.in) .ic, .js .rv:not(.in).btn-g { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  .hero-i img, .card img, .stats .ic, .hero .btn-g { animation: none; }
}
