/*==============================================================
  Xurshid.Com — Professional UI Layer
  Ushbu fayl main.css dan KEYIN ulanadi va faqat dizaynni
  yaxshilaydi. Sahifalar ichidagi kontent o'zgartirilmagan.
==============================================================*/

/*--------------------------------------------------------------
# 1. Design Tokens
--------------------------------------------------------------*/
:root {
  --accent-color: #10bc69;
  --accent-2: #0ea5a5;
  --accent-soft: rgba(16, 188, 105, .10);
  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-500: #64748b;
  --ink-200: #e2e8f0;
  --ink-100: #f1f5f9;
  --line: rgba(15, 23, 42, .08);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, .06);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .12);

  --grad-accent: linear-gradient(135deg, #10bc69 0%, #0ea5a5 100%);
  --ease: cubic-bezier(.4, 0, .2, 1);
}

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--default-font);
  line-height: 1.65;
  letter-spacing: .1px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--accent-color); color: #fff; }

/* Nozik, zamonaviy scrollbar */
* { scrollbar-width: thin; scrollbar-color: #cbd5e1 transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 20px; border: 3px solid #fff; }
*::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

h1, h2, h3, h4, h5, h6 { letter-spacing: -.4px; }

/* Formalar himoya rejimida ham to'liq ishlashi uchun */
input, textarea, select, [contenteditable="true"], .allow-select, .allow-select * {
  -webkit-user-select: text !important;
  user-select: text !important;
}

/*--------------------------------------------------------------
# 2. Header / Navigation
--------------------------------------------------------------*/
.header {
  padding: 10px 0;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: all .35s var(--ease);
}

.scrolled .header {
  box-shadow: 0 6px 24px rgba(15, 23, 42, .07);
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, .94);
  padding: 6px 0;
}

.header .logo { gap: 10px; }

.header .logo img {
  width: 46px;
  height: 46px;
  max-height: 46px;
  object-fit: contain;          /* belgi qirqilmaydi */
  margin-right: 0;
  padding: 5px !important;
  background: #fff;
  border: 1px solid var(--line) !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .08);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.header .logo:hover img { box-shadow: 0 8px 20px rgba(15, 23, 42, .14); }

.header .logo:hover img { transform: rotate(-6deg) scale(1.06); }

.header .logo h1 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.6px;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header .logo .logo-sub {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-top: 1px;
}

/* Desktop navigatsiya — pill uslubi */
@media (min-width: 1200px) {
  .navmenu ul { gap: 4px; }

  .navmenu a,
  .navmenu a:focus {
    position: relative;
    padding: 10px 16px !important;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-700);
    justify-content: center;
    gap: 8px;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 15px !important;
    margin-left: 0 !important;
    line-height: 1 !important;
    opacity: .75;
  }

  .navmenu li:hover > a { background: var(--accent-soft); color: var(--accent-color); }
  .navmenu li:hover > a i { opacity: 1; }

  .navmenu li.nav-active > a {
    background: var(--grad-accent);
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(16, 188, 105, .28);
  }
  .navmenu li.nav-active > a i { opacity: 1; }

  .navmenu li:last-child a { padding-right: 16px !important; }
}

/* 5 ta menyu + til tugmasi sig'ishi uchun 1200–1499px oralig'ida ixchamroq */
@media (min-width: 1200px) and (max-width: 1499px) {
  .navmenu ul { gap: 2px; }
  .navmenu a,
  .navmenu a:focus { padding: 9px 11px !important; font-size: 14px; gap: 6px; }
  .navmenu a i,
  .navmenu a:focus i { font-size: 14px !important; }
  .navmenu li:last-child a { padding-right: 11px !important; }
  .lang-switch { margin-left: 8px; }
  .lang-switch .lang-btn { padding: 6px 10px; font-size: 13px; }
  .header .logo h1 { font-size: 22px; }
}

/* Header CTA tugmasi */
.header .btn-order {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  background: var(--ink-900);
  white-space: nowrap;
  transition: all .3s var(--ease);
}

.header .btn-order:hover {
  color: #fff;
  background: var(--grad-accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16, 188, 105, .3);
}

/*--------------------------------------------------------------
# 2a. TIL TANLASH (UZ / RU / EN)
--------------------------------------------------------------*/
.lang-switch { position: relative; margin-left: 14px; }

.lang-switch .lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1.5px solid var(--ink-200);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-700);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: all .25s var(--ease);
}

.lang-switch .lang-btn:hover,
.lang-switch.is-open .lang-btn {
  border-color: var(--accent-color);
  color: var(--accent-color);
  box-shadow: 0 4px 14px rgba(16, 188, 105, .16);
}

.lang-switch .lang-btn i {
  font-size: 12px;
  transition: transform .25s var(--ease);
}

.lang-switch.is-open .lang-btn i { transform: rotate(180deg); }

.lang-flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, .1);
}

.lang-switch .lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 1200;
  min-width: 178px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all .22s var(--ease);
}

.lang-switch.is-open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-switch .lang-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-700);
  transition: all .2s var(--ease);
}

.lang-switch .lang-menu a:hover {
  background: var(--accent-soft);
  color: var(--accent-color);
}

.lang-switch .lang-menu a.is-active {
  background: var(--accent-soft);
  color: var(--accent-color);
  font-weight: 700;
}

/* Mobilda til tanlash header'da emas — sidebar ichida (pastda) */
@media (max-width: 1199px) {
  .lang-switch { display: none !important; }
}

/* --- Til tanlash: mobil sidebar ichida --- */
.nav-drawer-lang .drawer-lang-title {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.nav-drawer-lang .drawer-lang-row {
  display: flex;
  gap: 8px;
}

.nav-drawer-lang .drawer-lang-row a {
  flex: 1;
  display: flex !important;
  align-items: center;
  justify-content: center !important;
  gap: 7px !important;
  margin: 0 !important;
  padding: 10px 6px !important;
  border: 1.5px solid var(--ink-200);
  border-radius: 12px;
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-700) !important;
  transition: all .22s var(--ease);
}

/* Umumiy menyu qoidasi (.navmenu a span { flex:1 }) bu yerda kerak emas */
.nav-drawer-lang .drawer-lang-row a span { flex: 0 0 auto !important; font-size: 13.5px !important; }

.nav-drawer-lang .drawer-lang-row a:hover {
  border-color: var(--accent-color);
  color: var(--accent-color) !important;
}

.nav-drawer-lang .drawer-lang-row a.is-active {
  border-color: var(--accent-color);
  background: var(--accent-soft);
  color: var(--accent-color) !important;
}

/* Sidebar (drawer) elementlari faqat mobilda ko'rinadi */
.nav-drawer-head, .nav-drawer-foot, .nav-drawer-lang { display: none; }

/*--------------------------------------------------------------
# 2b. Mobil menyu — CHAP TOMONDAN chiquvchi SIDEBAR (drawer)
--------------------------------------------------------------*/
@media (max-width: 1199px) {
  .header .logo h1 { font-size: 21px; }
  .header .btn-order { display: none; }

  /* MUHIM: backdrop-filter fixed elementlar uchun "qamoq" hosil qiladi —
     shuning uchun mobil ko'rinishda uni o'chiramiz, aks holda sidebar
     header ichida qolib ketadi va menyular ko'rinmaydi. */
  .header {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: #fff !important;
  }
  .scrolled .header { background: #fff !important; }

  /* CHAPDA — logotip va yozuv, O'NGDA — hamburger */
  .header .logo { order: 0 !important; margin-right: auto !important; }

  /* Hamburger tugmasi (o'ng tomonda) */
  .mobile-nav-toggle {
    order: 9;
    margin-left: auto;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent-color) !important;
    font-size: 22px !important;
    margin-right: 0 !important;
    transition: all .3s var(--ease);
  }
  .mobile-nav-toggle:hover { background: var(--accent-color); color: #fff !important; }

  /* Qorong'i fon (overlay) — doim mavjud, lekin ko'rinmas */
  .navmenu {
    position: fixed !important;
    inset: 0;
    z-index: 9997;
    background: rgba(15, 23, 42, 0);
    pointer-events: none;
    transition: background .35s var(--ease);
  }

  /* Sidebar paneli */
  .navmenu > ul {
    display: block !important;
    position: fixed;
    inset: 0 auto 0 0;
    width: 306px;
    max-width: 86vw;
    height: 100%;
    margin: 0;
    padding: 0 0 18px !important;
    border-radius: 0 0px 0px 0 !important;
    background: #fff;
    box-shadow: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(-102%);
    transition: transform .38s var(--ease), box-shadow .38s var(--ease);
    pointer-events: auto;
  }

  /* Ochiq holat */
  body.mobile-nav-active .navmenu {
    background: rgba(15, 23, 42, .55);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    pointer-events: auto;
  }

  body.mobile-nav-active .navmenu > ul {
    transform: translateX(0);
    box-shadow: 18px 0 60px rgba(15, 23, 42, .28);
  }

  /* Sidebar sarlavhasi */
  .navmenu li.nav-drawer-head {
    display: flex !important;
    align-items: center;
    gap: 12px;
    /* Tepa va pastda yetarli joy (telefon "notch"i hisobga olinadi) */
    padding: calc(28px + env(safe-area-inset-top, 0px)) 18px 26px !important;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #10bc69 0%, #0ea5a5 100%);
    color: #fff;
  }
  .nav-drawer-head img { width: 46px; height: 46px; border-radius: 14px; object-fit: cover; background: #fff; padding: 3px; }
  .nav-drawer-head strong { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.4px; }
  .nav-drawer-head small { font-size: 11.5px; opacity: .9; letter-spacing: .6px; }

  /* Menyu havolalari */
  .navmenu li { padding: 0 12px; }
  .navmenu li.nav-drawer-head,
  .navmenu li.nav-drawer-foot { padding-left: 18px !important; padding-right: 18px !important; }

  .navmenu a, .navmenu a:focus {
    border-radius: 14px;
    font-size: 15.5px !important;
    font-weight: 500;
    color: var(--ink-700) !important;
    padding: 11px 12px !important;
    margin: 3px 0;
    justify-content: flex-start !important;
    /* Ikonka bilan matn orasida bo'sh joy */
    gap: 14px !important;
  }
  .navmenu a span { flex: 1; }
  .navmenu a:hover { background: var(--ink-100); }

  .navmenu a i, .navmenu a:focus i {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    font-size: 16px !important;
    background: var(--accent-soft) !important;
    color: var(--accent-color);
    border-radius: 13px !important;
    margin-left: 0 !important;
    transform: none !important;
  }

  .navmenu li.nav-active > a { background: var(--accent-soft); color: var(--accent-color) !important; font-weight: 600; }
  .navmenu li.nav-active > a i { background: var(--accent-color) !important; color: #fff !important; }

  /* Sidebar ichidagi til tanlash bloki */
  .navmenu li.nav-drawer-lang {
    display: block !important;
    margin-top: 18px;
    padding: 18px 18px 0 !important;
    border-top: 1px solid var(--line);
  }

  /* Sidebar pastki bloki */
  .navmenu li.nav-drawer-foot {
    display: block !important;
    margin-top: 18px;
    padding-top: 20px !important;
    padding-bottom: 8px !important;
    border-top: 1px solid var(--line);
  }

  .nav-drawer-foot .drawer-call {
    display: flex !important;
    align-items: center;
    justify-content: flex-start !important;
    gap: 13px !important;
    padding: 12px 14px !important;
    margin: 0 0 14px !important;
    border-radius: 14px;
    background: var(--ink-900);
    color: #fff !important;
    font-weight: 600;
    font-size: 15px !important;
  }
  /* MUHIM: umumiy `.navmenu a:hover` qoidasi fonni och kulrang qilib yuborardi,
     matn esa oq bo'lgani uchun yozuv ko'rinmay qolardi. Shuning uchun bu yerda
     hover/focus/active holatlari alohida belgilangan. */
  .nav-drawer-foot .drawer-call:hover,
  .nav-drawer-foot .drawer-call:focus,
  .nav-drawer-foot .drawer-call:active {
    background: var(--grad-accent) !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(16, 188, 105, .28);
  }

  .nav-drawer-foot .drawer-call i {
    background: rgba(255, 255, 255, .16) !important;
    color: #fff !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px;
    font-size: 15px !important;
  }

  .nav-drawer-foot .drawer-call:hover i,
  .nav-drawer-foot .drawer-call:focus i {
    background: rgba(255, 255, 255, .22) !important;
    color: #fff !important;
  }

  .nav-drawer-foot .drawer-call span { color: #fff !important; }

  .nav-drawer-foot .drawer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;   /* ramkalar o'rtada tursin */
  }
  .nav-drawer-foot .drawer-social a {
    width: 44px; height: 44px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;  /* belgi ramka o'rtasida */
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 13px;
    background: var(--ink-100);
    color: var(--ink-700) !important;
    font-size: 18px;
    line-height: 1;
  }
  .nav-drawer-foot .drawer-social a:hover { background: var(--grad-accent); color: #fff !important; }
  .nav-drawer-foot .drawer-social a i {
    width: auto !important; height: auto !important; min-width: 0;
    background: none !important; color: inherit; font-size: 18px !important;
  }

  /* Yopish tugmasi (X) — sidebar yonida */
  body.mobile-nav-active .mobile-nav-toggle {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 9999;
    background: rgba(255, 255, 255, .16) !important;
    color: #fff !important;
    border-radius: 14px;
    font-size: 26px !important;
  }
}

/*--------------------------------------------------------------
# 3. Sections & Section Titles
--------------------------------------------------------------*/
section, .section { padding: 72px 0; }

.section-title { padding: 0 0 8px; margin-bottom: 42px; }

.section-title span {
  position: static;
  display: inline-block;
  font-size: 12.5px !important;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--accent-color) !important;
  background: var(--accent-soft);
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.section-title h2 {
  font-size: 38px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: -1px;
  color: var(--ink-900);
  margin-bottom: 14px;
}

.section-title p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--ink-500);
  font-size: 16px;
}

@media (max-width: 575px) {
  section, .section { padding: 52px 0; }
  .section-title h2 { font-size: 28px; }
}

/*--------------------------------------------------------------
# 4. Page Title (breadcrumbs)
--------------------------------------------------------------*/
.page-title {
  padding: 44px 0 40px;
  background: linear-gradient(135deg, #f6fbf8 0%, #eef6ff 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.page-title::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 188, 105, .16), transparent 65%);
}

.page-title .container { position: relative; z-index: 2; }

.page-title h1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.8px;
  color: var(--ink-900);
}

.page-title .breadcrumbs ol {
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-xs);
}

.page-title .breadcrumbs ol li.current { color: var(--accent-color); font-weight: 600; }

@media (max-width: 575px) { .page-title h1 { font-size: 25px; } }

/*--------------------------------------------------------------
# 5. Hero
--------------------------------------------------------------*/
.hero {
  position: relative;
  padding: 70px 0 80px;
  background:
    radial-gradient(900px 420px at 12% 10%, rgba(16, 188, 105, .12), transparent 60%),
    radial-gradient(760px 420px at 92% 20%, rgba(14, 165, 165, .12), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f8fbfa 100%);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 23, 42, .05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 70%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 70%);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 2; }

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1.6px;
  color: var(--ink-900);
  margin-bottom: 18px;
}

.hero p.text { font-size: 19px !important; color: var(--ink-500) !important; min-height: 62px; }

.hero .typing { color: var(--ink-700); }
.hero .typed-cursor { color: var(--accent-color); }

.hero-img img { border-radius: 26px; box-shadow: var(--shadow-lg); }

.hero .animated { transition: transform .4s var(--ease); }
.hero .animated:hover { transform: translateY(-6px); }

@media (max-width: 991px) { .hero h1 { font-size: 36px; } .hero p.text { font-size: 17px !important; } }

/* Hero ustidagi kichik nishonlar */
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: #fff; border: 1px solid var(--line); color: var(--ink-700); box-shadow: var(--shadow-xs);
}
.hero-badge i { color: var(--accent-color); }

/*--------------------------------------------------------------
# 6. Service Cards
--------------------------------------------------------------*/
.services .service-item {
  background: #fff;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-lg);
  padding: 38px 26px !important;
  box-shadow: var(--shadow-xs);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  overflow: hidden;
}

.services .service-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}

.services .service-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--accent-color), transparent 65%) !important;
}

.services .service-item:hover::before { transform: scaleX(1); }

.services .service-item .icon {
  width: 66px;
  height: 66px;
  border-radius: 20px;
  background: var(--accent-soft) !important;
  box-shadow: inset 0 0 0 1px rgba(16, 188, 105, .18);
  transition: all .35s var(--ease);
}

.services .service-item .icon i { color: var(--accent-color) !important; font-size: 27px; }

.services .service-item:hover .icon { background: var(--grad-accent) !important; transform: rotate(-6deg) scale(1.05); }
.services .service-item:hover .icon i { color: #fff !important; }

.services .service-item h3 { font-size: 19px; font-weight: 700; color: var(--ink-900); }
.services .service-item p { color: var(--ink-500); font-size: 14.5px; line-height: 1.7; }
.services .service-item ul li { font-size: 14px; color: var(--ink-700); padding: 4px 0; }

/*--------------------------------------------------------------
# 7. Loyihalarim (Portfolio) — YANGI BO'LIM
--------------------------------------------------------------*/
.pf-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin: 0 0 38px;
  list-style: none;
}

.pf-filters li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-700);
  background: #fff;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all .3s var(--ease);
}

.pf-filters li i { font-size: 15px; opacity: .8; }
.pf-filters li:hover { color: var(--accent-color); border-color: color-mix(in srgb, var(--accent-color), transparent 60%); transform: translateY(-2px); }

.pf-filters li.filter-active {
  color: #fff;
  background: var(--grad-accent);
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(16, 188, 105, .28);
}

.pf-filters li .cnt {
  font-size: 11.5px;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--ink-100);
  color: var(--ink-500);
}
.pf-filters li.filter-active .cnt { background: rgba(255, 255, 255, .24); color: #fff; }

/* Karta */
.pf-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}

.pf-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--accent-color), transparent 65%);
}

.pf-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pf-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pf-card:hover .pf-cover img { transform: scale(1.07); }

/* Rasm bo'lmaganda — chiroyli generativ muqova */
.pf-cover-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
}

.pf-cover-fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .6;
}

.pf-cover-fallback i { font-size: 44px; position: relative; }
.pf-cover-fallback span {
  position: relative;
  font-size: 11.5px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  font-weight: 700;
  opacity: .85;
}

.pf-type {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  color: #0f172a;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-xs);
}

.pf-status {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: rgba(15, 23, 42, .72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.pf-status.is-live { background: rgba(16, 188, 105, .95); }
.pf-status.is-dev  { background: rgba(234, 154, 12, .95); }

.pf-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }

.pf-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-900);
  margin: 0 0 8px;
  transition: color .3s var(--ease);
}

.pf-card:hover .pf-body h3 { color: var(--accent-color); }

.pf-body p { font-size: 14px; line-height: 1.65; color: var(--ink-500); margin: 0 0 16px; }

.pf-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }

.pf-tags span {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-700);
  background: var(--ink-100);
  padding: 4px 11px;
  border-radius: 8px;
}

.pf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}

.pf-actions a, .pf-actions button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  transition: all .28s var(--ease);
}

.pf-actions a:hover, .pf-actions button:hover {
  color: #fff;
  background: var(--grad-accent);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(16, 188, 105, .25);
}

.pf-actions .is-primary { color: var(--accent-color); border-color: color-mix(in srgb, var(--accent-color), transparent 60%); background: var(--accent-soft); }

/* Bo'sh holat */
.pf-empty {
  text-align: center;
  padding: 60px 20px;
  border: 1px dashed var(--ink-200);
  border-radius: var(--radius-lg);
  color: var(--ink-500);
  background: #fbfdfc;
}
.pf-empty i { font-size: 46px; color: var(--ink-200); display: block; margin-bottom: 14px; }

/* Statistikalar */
.pf-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 46px; }

.pf-stat {
  text-align: center;
  padding: 24px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pf-stat:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.pf-stat i { font-size: 23px; color: var(--accent-color); }
.pf-stat b { display: block; font-size: 30px; font-weight: 800; color: var(--ink-900); line-height: 1.25; margin-top: 6px; }
.pf-stat span { font-size: 12.5px; font-weight: 600; color: var(--ink-500); }

@media (max-width: 767px) { .pf-stats { grid-template-columns: repeat(2, 1fr); } }

/* Modal (loyiha tafsilotlari) */
.pf-modal .modal-content { border: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.pf-modal .modal-header { border: 0; padding: 22px 24px 0; }
.pf-modal .modal-title { font-size: 21px; font-weight: 800; color: var(--ink-900); }
.pf-modal .modal-body { padding: 16px 24px 26px; }
/* Muqova: rasm KESILMASDAN to'liq ko'rinadi (contain), bosilsa kattalashadi */
.pf-modal .pf-modal-cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  max-height: 62vh;
  margin-bottom: 18px;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #1e293b);
}
.pf-modal .pf-modal-cover img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 62vh;
  object-fit: contain;
  cursor: zoom-in;
}
/* Rasm bo'lmasa — eski "fallback" blok o'z o'lchamini saqlasin */
.pf-modal .pf-modal-cover .pf-cover-fallback { width: 100%; aspect-ratio: 16/9; }

/* "Kattalashtirish" ishorasi */
.pf-zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  pointer-events: none;
  opacity: .92;
}

/*--------------------------------------------------------------
# Rasmni to'liq ekranda ko'rish (lightbox + zoom)
--------------------------------------------------------------*/
.xc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 12, 22, .93);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .25s var(--ease);
  overscroll-behavior: contain;
  touch-action: none;
}
.xc-lightbox.is-open { display: flex; opacity: 1; }

.xc-lightbox .xc-lb-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xc-lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  transform-origin: center center;
  transition: transform .22s var(--ease);
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
}
.xc-lightbox.is-zoomed img { cursor: grab; }
.xc-lightbox.is-dragging img { cursor: grabbing; transition: none; }

/* Yuqoridagi boshqaruv tugmalari */
.xc-lb-bar {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: flex;
  gap: 8px;
}
.xc-lb-bar button {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.xc-lb-bar button:hover { background: rgba(255, 255, 255, .24); }
.xc-lb-bar button:disabled { opacity: .35; cursor: default; }

/* Pastdagi masshtab ko'rsatkichi */
.xc-lb-zoom {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 3;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  pointer-events: none;
}

@media (max-width: 575px) {
  .xc-lb-bar { top: 10px; right: 10px; }
  .xc-lb-bar button { width: 38px; height: 38px; font-size: 16px; }
  .xc-lightbox img { max-width: 96vw; max-height: 82vh; }
  .pf-modal .pf-modal-cover,
  .pf-modal .pf-modal-cover img { max-height: 46vh; }
}
.pf-modal .pf-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.pf-modal .pf-meta span { font-size: 12px; font-weight: 600; background: var(--ink-100); color: var(--ink-700); padding: 5px 12px; border-radius: 999px; }
.pf-modal .pf-desc { color: var(--ink-500); font-size: 15px; line-height: 1.75; }
.pf-modal .pf-feature-list { list-style: none; padding: 0; margin: 14px 0 0; }
.pf-modal .pf-feature-list li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; color: var(--ink-700); font-size: 14.5px; }
.pf-modal .pf-feature-list li i { color: var(--accent-color); margin-top: 4px; }

/* Loyiha CTA banneri */
.pf-cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 46px 40px;
  background: var(--grad-accent);
  color: #fff;
  box-shadow: 0 24px 50px rgba(16, 188, 105, .28);
}
.pf-cta::after {
  content: "";
  position: absolute;
  right: -60px; top: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}
.pf-cta > * { position: relative; z-index: 2; }
.pf-cta h3 { color: #fff; font-weight: 800; font-size: 27px; margin-bottom: 8px; }
.pf-cta p { color: rgba(255, 255, 255, .9); margin: 0; }
.pf-cta .btn-white {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; color: var(--accent-color);
  padding: 13px 28px; border-radius: 999px; font-weight: 700; white-space: nowrap;
  transition: all .3s var(--ease);
}
.pf-cta .btn-white:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15, 23, 42, .2); color: var(--accent-color); }

@media (max-width: 767px) { .pf-cta { padding: 34px 24px; text-align: center; } .pf-cta h3 { font-size: 22px; } }

/*--------------------------------------------------------------
# 8. Contact
--------------------------------------------------------------*/
.contact .info-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-xs);
  height: 100%;
}

.contact .info-item {
  margin-bottom: 18px;
  padding: 16px;
  border-radius: var(--radius);
  background: #fbfdfc;
  border: 1px solid var(--line);
  transition: all .3s var(--ease);
}

.contact .info-item:hover { border-color: color-mix(in srgb, var(--accent-color), transparent 65%); transform: translateX(4px); }

.contact .info-item i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  min-width: 46px;
  margin-right: 14px;
  border-radius: 14px;
  font-size: 19px;
  color: var(--accent-color);
  background: var(--accent-soft);
}

.contact .info-item h3 { font-size: 15px; font-weight: 700; color: var(--ink-900); margin: 0 0 3px; }
.contact .info-item p { font-size: 14.5px; color: var(--ink-500); margin: 0; }

.contact iframe { border-radius: var(--radius) !important; }

.php-email-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-xs);
  height: 100%;
}

/* Inputlar — Office metadata tahrirlagichdagi kabi aniq ramkali:
   bo'sh turganda ham ko'rinadi, fokusda esa to'liq accent + halqa */
/* DIQQAT: main.css'da `.contact .php-email-form input[type=text]` qoidasi bor —
   u ancha kuchli (specificity), shuning uchun ramka rangini bosib ketardi.
   Shu sabab bu yerda selektorlar kuchaytirilgan va `!important` qo'yilgan. */
.php-email-form .form-control,
.php-email-form .form-select,
.contact .php-email-form .form-control,
.contact .php-email-form input[type=text],
.contact .php-email-form input[type=tel],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  border-radius: 13px !important;
  border: 1.5px solid #86d3b0 !important;         /* bo'sh turganda ham aniq ko'rinadi */
  padding: 12px 15px;
  font-size: 15px;
  color: var(--ink-900);
  background: #fff !important;
  box-shadow: 0 1px 2px rgba(16, 188, 105, .06) !important;
  transition: all .25s var(--ease);
}

.php-email-form .form-control:hover,
.php-email-form .form-select:hover,
.contact .php-email-form input[type=text]:hover,
.contact .php-email-form input[type=tel]:hover,
.contact .php-email-form input[type=email]:hover,
.contact .php-email-form textarea:hover {
  border-color: #4bbd8c !important;
}

.php-email-form .form-control:focus,
.php-email-form .form-select:focus,
.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=tel]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px var(--accent-soft) !important;
}

/* To'ldirilgan maydon — chapda yashil urg'u */
.php-email-form .form-control:not(:placeholder-shown),
.contact .php-email-form input:not(:placeholder-shown),
.contact .php-email-form textarea:not(:placeholder-shown) {
  border-left-width: 3px !important;
  border-left-color: var(--accent-color) !important;
}

.php-email-form .form-control::placeholder,
.contact .php-email-form input::placeholder,
.contact .php-email-form textarea::placeholder {
  color: #93a3b0 !important;
  opacity: 1;
}

.php-email-form textarea.form-control { min-height: 170px; }
.php-email-form label { font-size: 14px; color: var(--ink-700); }

.php-email-form button[type=submit] {
  background: var(--grad-accent);
  border: 0;
  color: #fff;
  padding: 13px 42px;
  border-radius: 999px;
  font-size: 15px;
  transition: all .3s var(--ease);
  box-shadow: 0 10px 24px rgba(16, 188, 105, .28);
}

.php-email-form button[type=submit]:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(16, 188, 105, .34); }

/*--------------------------------------------------------------
# 9. Footer
--------------------------------------------------------------*/
.footer {
  background: #0f172a;
  color: #cbd5e1;
  font-size: 14.5px;
  padding-top: 66px;
}

.footer a { color: #cbd5e1; }
.footer a:hover { color: var(--accent-color); }
.footer h4, .footer h5 { color: #fff; }

.footer .ft-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer .ft-brand img { width: 46px; height: 46px; border-radius: 14px; object-fit: cover; }
.footer .ft-brand strong { font-size: 21px; font-weight: 800; color: #fff; letter-spacing: -.4px; display: block; line-height: 1.2; }
.footer .ft-brand small { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: #64748b; }

.footer .ft-about { color: #94a3b8; max-width: 340px; line-height: 1.75; }

.footer .ft-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer .ft-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 34px; height: 3px;
  border-radius: 3px;
  background: var(--grad-accent);
}

.footer .ft-links { list-style: none; padding: 0; margin: 0; }
.footer .ft-links li { margin-bottom: 11px; }
.footer .ft-links a { display: inline-flex; align-items: center; gap: 9px; color: #94a3b8; transition: all .25s var(--ease); }
.footer .ft-links a i { font-size: 12px; color: var(--accent-color); transition: transform .25s var(--ease); }
.footer .ft-links a:hover { color: #fff; }
.footer .ft-links a:hover i { transform: translateX(4px); }

.footer .ft-contact { list-style: none; padding: 0; margin: 0; }
.footer .ft-contact li { display: flex; gap: 12px; margin-bottom: 14px; color: #94a3b8; }
.footer .ft-contact li i { color: var(--accent-color); font-size: 16px; margin-top: 4px; }

.footer .social-links { display: flex; gap: 10px; margin-top: 20px; }
.footer .social-links a {
  width: 42px; height: 42px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  background: rgba(255, 255, 255, .04);
  color: #cbd5e1 !important;
  margin-right: 0 !important;
  font-size: 17px;
  transition: all .3s var(--ease);
}
.footer .social-links a:hover {
  color: #fff !important;
  background: var(--grad-accent);
  border-color: transparent !important;
  transform: translateY(-4px);
}

.footer .ft-bottom {
  margin-top: 46px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #64748b;
  font-size: 13.5px;
}
.footer .ft-bottom .sitename { color: #fff; }
.footer .ft-bottom a { color: #94a3b8; }
.footer .ft-counter { color: #64748b; font-size: 12.5px; }
.footer .ft-counter img { opacity: .85; }

@media (max-width: 767px) {
  .footer { text-align: center; padding-top: 48px; }
  .footer .ft-brand, .footer .social-links { justify-content: center; }
  .footer .ft-about { margin: 0 auto; }
  .footer .ft-title::after { left: 50%; transform: translateX(-50%); }
  .footer .ft-contact li { justify-content: center; text-align: left; }
}

/*--------------------------------------------------------------
# 10. Scroll top & himoya bildirishnomasi
--------------------------------------------------------------*/
.scroll-top {
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: var(--grad-accent);
  box-shadow: 0 12px 26px rgba(16, 188, 105, .34);
}
.scroll-top i { font-size: 26px; color: #fff; }
.scroll-top:hover { background: var(--grad-accent); transform: translateY(-4px); }

/* protect.js chiqaradigan ogohlantirish */
.xc-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 99999;
  transform: translate(-50%, 26px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: min(92vw, 420px);
  padding: 13px 20px;
  border-radius: 14px;
  background: rgba(15, 23, 42, .95);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .3);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s var(--ease), transform .28s var(--ease);
}
.xc-toast.show { opacity: 1; transform: translate(-50%, 0); }
.xc-toast i { color: #fca5a5; font-size: 17px; }

/*--------------------------------------------------------------
# 11. Yordamchi klasslar
--------------------------------------------------------------*/
.btn { border-radius: 12px; }

.btn-accent {
  background: var(--grad-accent);
  color: #fff;
  border: 0;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  transition: all .3s var(--ease);
}
.btn-accent:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 14px 28px rgba(16, 188, 105, .3); }

/*--------------------------------------------------------------
# 12. Xabarnomalar (flash) va kichik tuzatishlar
--------------------------------------------------------------*/
.xc-alerts { position: relative; z-index: 5; }

.xc-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 18px;
  margin-bottom: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-xs);
  font-size: 14.5px;
  color: var(--ink-700);
}
.xc-alert i { font-size: 19px; margin-top: 1px; }
.xc-alert.is-success { border-color: rgba(16, 188, 105, .3); background: rgba(16, 188, 105, .07); }
.xc-alert.is-success i { color: var(--accent-color); }
.xc-alert.is-danger  { border-color: rgba(225, 29, 72, .28); background: rgba(225, 29, 72, .06); }
.xc-alert.is-danger i { color: #e11d48; }
.xc-alert.is-warning { border-color: rgba(234, 154, 12, .3); background: rgba(234, 154, 12, .08); }
.xc-alert.is-warning i { color: #ea9a0c; }

.footer .ft-count { color: #475569; font-size: 12px; }

.pf-hide { display: none !important; }

/* Bo'lim ichidagi kartalar bir xil balandlikda bo'lsin */
.pf-col { display: flex; }

/*==============================================================
# 13. TO'LIQ MOSLASHUVCHANLIK (barcha qurilmalar uchun)
==============================================================*/

/* Umumiy: hech narsa ekrandan chiqib ketmasin */
html, body { overflow-x: hidden; max-width: 100%; }
img, video, iframe, svg, canvas { max-width: 100%; height: auto; }
main pre, main code, main .table-responsive { overflow-x: auto; }
main table { max-width: 100%; }
.container, .container-fluid, .container-xl { padding-left: 16px; padding-right: 16px; }

/* --- Katta monitorlar (≥1400px) --- */
@media (min-width: 1400px) {
  .container, .container-xl { max-width: 1280px; }
  .hero h1 { font-size: 56px; }
  .section-title h2 { font-size: 40px; }
}

/* --- Noutbuk (1200–1399px) --- */
@media (max-width: 1399px) and (min-width: 1200px) {
  .hero h1 { font-size: 46px; }
  .navmenu a, .navmenu a:focus { padding: 10px 13px !important; font-size: 14.5px; }
  .header .btn-order { padding: 9px 18px; font-size: 14px; margin-left: 10px; }
}

/* --- Planshet (992–1199px) --- */
@media (max-width: 1199px) {
  section, .section { padding: 60px 0; }
  .hero { padding: 48px 0 60px; }
  .hero h1 { font-size: 42px; }
  .hero-img { margin-bottom: 8px; }
  .hero-img img { max-height: 420px; width: auto; margin: 0 auto; display: block; }
  .section-title h2 { font-size: 33px; }
  .pf-stats { grid-template-columns: repeat(4, 1fr); }
}

/* --- Kichik planshet / katta telefon (768–991px) --- */
@media (max-width: 991px) {
  section, .section { padding: 52px 0; }
  .hero { padding: 36px 0 52px; text-align: center; }
  .hero .hero-badges { justify-content: center; }
  .hero h1 { font-size: 36px; }
  .hero p.text { font-size: 16.5px !important; min-height: 78px; }
  .hero .d-flex.flex-wrap { justify-content: center; }
  .hero-img img { max-height: 340px; }

  .section-title { margin-bottom: 32px; }
  .section-title h2 { font-size: 29px; }
  .section-title p { font-size: 15px; }

  .page-title { padding: 30px 0 28px; }
  .page-title h1 { font-size: 26px; }
  .page-title .breadcrumbs { margin-top: 10px; }

  .services .service-item { padding: 30px 22px !important; }
  .pf-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pf-cta { padding: 32px 26px; text-align: center; }
  .pf-cta h3 { font-size: 23px; }

  .contact .info-wrap { margin-bottom: 6px; }
  .php-email-form { padding: 22px; }
  .php-email-form textarea.form-control { min-height: 140px; }
}

/* --- Telefon (576–767px) --- */
@media (max-width: 767px) {
  section, .section { padding: 44px 0; }
  .hero { padding: 28px 0 44px; }
  .hero h1 { font-size: 31px; letter-spacing: -1px; }
  .hero-badge { font-size: 12px; padding: 6px 12px; }
  .hero-img img { max-height: 280px; border-radius: 20px; }

  .section-title span { font-size: 11.5px !important; padding: 6px 15px; }
  .section-title h2 { font-size: 25px; }

  .pf-filters { gap: 8px; margin-bottom: 28px; }
  .pf-filters li { padding: 8px 15px; font-size: 13px; }
  .pf-filters li .cnt { font-size: 10.5px; }

  .pf-body { padding: 17px 18px 19px; }
  .pf-body h3 { font-size: 17px; }
  .pf-actions a, .pf-actions button { padding: 8px 13px; font-size: 12.5px; }

  .pf-stat { padding: 18px 10px; }
  .pf-stat b { font-size: 25px; }
  .pf-stat span { font-size: 11.5px; }

  .pf-modal .modal-title { font-size: 18px; }
  .pf-modal .modal-header { padding: 18px 18px 0; }
  .pf-modal .modal-body { padding: 14px 18px 20px; }

  .footer { padding-top: 42px; }
  .footer .ft-title { margin-bottom: 15px; }
  .footer .ft-links li { margin-bottom: 9px; }
  .footer .ft-bottom { margin-top: 30px; text-align: center; }

  .scroll-top { right: 14px; bottom: 14px; width: 42px; height: 42px; }
}

/* --- Kichik telefonlar (<576px) --- */
@media (max-width: 575px) {
  .container, .container-fluid, .container-xl { padding-left: 14px; padding-right: 14px; }

  .header { padding: 12px 0; }
  .header .logo img { width: 38px; height: 38px; max-height: 38px; }
  .header .logo h1 { font-size: 19px; }
  .header .logo .logo-sub { font-size: 9.5px; letter-spacing: 1.1px; }

  .hero h1 { font-size: 27px; }
  .hero p.text { font-size: 15.5px !important; }
  .btn-accent { padding: 11px 22px; font-size: 14px; }

  .services .service-item { padding: 26px 18px !important; }
  .services .service-item .icon { width: 58px; height: 58px; border-radius: 17px; }
  .services .service-item .icon i { font-size: 24px; }
  .services .service-item h3 { font-size: 17.5px; }

  .contact .info-item { padding: 13px; }
  .contact .info-item i { width: 42px; height: 42px; min-width: 42px; font-size: 17px; margin-right: 11px; }
  .contact .info-item h3 { font-size: 14px; }
  .contact .info-item p { font-size: 13.5px; }
  .contact iframe { height: 210px !important; }

  .php-email-form { padding: 18px; }
  .php-email-form button[type=submit] { width: 100%; padding: 13px 20px; }

  .pf-cta { padding: 26px 20px; }
  .pf-cta h3 { font-size: 20px; }
  .pf-cta p { font-size: 14px; }
  .pf-cta .btn-white { width: 100%; justify-content: center; }

  .xc-toast { left: 14px; right: 14px; transform: translateY(20px); max-width: none; }
  .xc-toast.show { transform: translateY(0); }
}

/* --- Juda kichik ekranlar (<380px) --- */
@media (max-width: 379px) {
  .header .logo h1 { font-size: 17px; }
  .header .logo .logo-sub { display: none !important; }
  .hero h1 { font-size: 24px; }
  .section-title h2 { font-size: 22px; }
  .pf-stats { grid-template-columns: 1fr; }
  .navmenu > ul { width: 88vw; }
}

/* --- Yotiq (landscape) holatdagi past ekranlar --- */
@media (max-height: 480px) and (orientation: landscape) {
  .navmenu > ul { padding-bottom: 30px !important; }
  .navmenu li.nav-drawer-head { padding-top: 16px !important; padding-bottom: 16px !important; }
  .hero { padding: 26px 0 34px; }
}

/* --- Bosib chiqarish uchun emas, lekin harakatni kamaytirish rejimi --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/*==============================================================
# 14. FOOTER — TAGMA-TAG (ustma-ust) joylashuv
==============================================================*/
.footer .ft-stack {
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.footer .ft-block { width: 100%; }

.footer .ft-block-brand .ft-about {
  max-width: 640px;
  margin: 0;
}

/* Sarlavha: katta harf + yashil chiziq (chapdan) */
.footer .ft-title {
  font-size: 15px;
  letter-spacing: 1.4px;
  margin-bottom: 18px;
  padding-bottom: 12px;
}
.footer .ft-title::after { width: 56px; height: 3px; left: 0; transform: none; }

/* Havolalar ro'yxati — har biri alohida qatorda */
.footer .ft-links li { margin-bottom: 14px; }
.footer .ft-links a { font-size: 15px; gap: 12px; }
.footer .ft-links a i { font-size: 13px; }

/* Bog'lanish bloki */
.footer .ft-contact li { margin-bottom: 16px; font-size: 15px; align-items: flex-start; }
.footer .ft-contact li i { font-size: 17px; margin-top: 3px; }

/* Ijtimoiy tarmoq belgilari — kattaroq, brend ranglarida */
.footer .social-links { gap: 12px; margin-top: 22px; }
.footer .social-links a { width: 48px; height: 48px; font-size: 20px; border-radius: 14px; }
.footer .social-links a .bi-telegram  { color: #29a9eb; }
.footer .social-links a .bi-instagram { color: #e1306c; }
.footer .social-links a .bi-youtube   { color: #ff0033; }
.footer .social-links a .bi-facebook  { color: #1877f2; }
.footer .social-links a .bi-whatsapp  { color: #25d366; }
.footer .social-links a:hover i { color: #fff !important; }

/* Mobil ko'rinishda ham chapga tekislangan bo'lsin */
@media (max-width: 767px) {
  .footer { text-align: left; }
  .footer .ft-stack { gap: 32px; }
  .footer .ft-brand, .footer .social-links { justify-content: flex-start; }
  .footer .ft-about { margin: 0; }
  .footer .ft-title::after { left: 0; transform: none; }
  .footer .ft-contact li { justify-content: flex-start; }
  .footer .ft-bottom { text-align: center; }
}

/*==============================================================
# 15. Havolalar ostidagi chiziq (text-decoration) — barcha sahifada yo'q
==============================================================*/
a,
a:hover,
a:focus,
a:active,
a:visited,
.main a,
.main a:hover,
.footer a,
.footer a:hover,
.navmenu a,
.navmenu a:hover,
.breadcrumbs a,
.breadcrumbs a:hover,
.stretched-link,
.stretched-link:hover,
li a, li a:hover,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
u, ins {
  text-decoration: none !important;
  -webkit-text-decoration: none !important;
}

/*==============================================================
# 16. Forma natijasi oynasi (modal)
==============================================================*/
.xc-result-modal .modal-dialog { max-width: 440px; }

.xc-result-modal .modal-content {
  position: relative;
  border: 0;
  border-radius: 26px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 80px rgba(15, 23, 42, .28);
}

/* Yuqoridagi rangli chiziq */
.xc-result-modal .modal-content::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--grad-accent);
}
.xc-result-modal .modal-content.is-warning::before { background: linear-gradient(135deg, #f59e0b, #ea9a0c); }
.xc-result-modal .modal-content.is-danger::before  { background: linear-gradient(135deg, #f43f5e, #e11d48); }

.xc-result-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: var(--ink-100);
  color: var(--ink-500);
  font-size: 14px;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.xc-result-close:hover { background: var(--ink-200); color: var(--ink-900); }

.xc-result-body { padding: 40px 32px 30px; text-align: center; }

/* Animatsiyali belgi */
.xc-result-icon {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-color);
  font-size: 40px;
}
.xc-result-icon i { position: relative; z-index: 2; animation: xc-pop .45s var(--ease) .12s both; }

.xc-result-icon .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: .35;
  animation: xc-ring 1.6s var(--ease) infinite;
}

.is-warning .xc-result-icon { background: rgba(234, 154, 12, .12); color: #ea9a0c; }
.is-danger  .xc-result-icon { background: rgba(225, 29, 72, .10); color: #e11d48; }

@keyframes xc-pop {
  0%   { transform: scale(.3) rotate(-12deg); opacity: 0; }
  60%  { transform: scale(1.15) rotate(3deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
@keyframes xc-ring {
  0%   { transform: scale(1);    opacity: .35; }
  70%  { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}

.xc-result-body h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink-900);
  margin: 0 0 10px;
  letter-spacing: -.5px;
}

.xc-result-body p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-500);
  margin: 0;
}

.xc-result-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--ink-100);
  color: var(--ink-700);
  font-size: 13px;
  font-weight: 500;
}
.xc-result-note i { color: var(--accent-color); font-size: 15px; }

.xc-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 26px;
}

.xc-result-actions .xc-btn-main,
.xc-result-actions .xc-btn-alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .28s var(--ease);
}

.xc-result-actions .xc-btn-main {
  background: var(--grad-accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(16, 188, 105, .28);
}
.is-warning .xc-result-actions .xc-btn-main { background: linear-gradient(135deg, #f59e0b, #ea9a0c); box-shadow: 0 10px 24px rgba(234, 154, 12, .28); }
.is-danger  .xc-result-actions .xc-btn-main { background: linear-gradient(135deg, #f43f5e, #e11d48); box-shadow: 0 10px 24px rgba(225, 29, 72, .26); }
.xc-result-actions .xc-btn-main:hover { transform: translateY(-2px); color: #fff; }

.xc-result-actions .xc-btn-alt {
  background: #fff;
  color: var(--ink-700);
  border-color: var(--ink-200);
}
.xc-result-actions .xc-btn-alt:hover { border-color: var(--accent-color); color: var(--accent-color); transform: translateY(-2px); }

@media (max-width: 575px) {
  .xc-result-body { padding: 32px 20px 24px; }
  .xc-result-icon { width: 78px; height: 78px; font-size: 34px; }
  .xc-result-body h3 { font-size: 19px; }
  .xc-result-body p { font-size: 14px; }
  .xc-result-actions .xc-btn-main,
  .xc-result-actions .xc-btn-alt { width: 100%; }
}

/*--------------------------------------------------------------
# 14b. Footer — kompyuterda ustunlar, mobilda tagma-tag
--------------------------------------------------------------*/
@media (min-width: 992px) {
  .footer .ft-stack {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 30px 26px;
  }

  .footer .ft-block { flex: 1 1 190px; min-width: 0; }
  .footer .ft-block-brand { flex: 0 0 32%; max-width: 32%; }

  .footer .ft-block-brand .ft-about { max-width: 340px; }
  .footer .ft-title { font-size: 14px; margin-bottom: 20px; }
  .footer .ft-links li { margin-bottom: 11px; }
  .footer .ft-links a { font-size: 14.5px; gap: 9px; }
  .footer .ft-contact li { margin-bottom: 14px; font-size: 14.5px; }
  .footer .social-links { gap: 10px; }
  .footer .social-links a { width: 42px; height: 42px; font-size: 17px; border-radius: 13px; }
}

/* Planshetda 2 ustun */
@media (min-width: 768px) and (max-width: 991px) {
  .footer .ft-stack {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 32px 24px;
  }
  .footer .ft-block { flex: 1 1 calc(50% - 12px); }
  .footer .ft-block-brand { flex: 1 1 100%; }
}

/*==============================================================
# 17. Logotip — barcha joyda qirqilmasdan, toza ko'rinishda
==============================================================*/
/* Sidebar (drawer) sarlavhasidagi belgi */
.nav-drawer-head img {
  width: 48px !important;
  height: 48px !important;
  object-fit: contain !important;
  background: #fff;
  padding: 6px !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

/* Footer brendi */
.footer .ft-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: #fff;
  padding: 7px;
  border-radius: 15px;
}

/* Kichik ekranlarda biroz kichikroq */
@media (max-width: 575px) {
  .header .logo img { width: 42px; height: 42px; max-height: 42px; padding: 4px !important; border-radius: 12px !important; }
}

/*==============================================================
# 18. Hero tugmalari — bir xil o'lcham va uslub
==============================================================*/
.hero .btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 210px;
  height: 52px;
  padding: 0 26px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.hero .btn-accent i { font-size: 18px; }

/* Google Play — bir xil o'lchamda, lekin quyuq (ikkilamchi) ko'rinishda */
.hero .btn-play {
  background: var(--ink-900);
  color: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .18);
}
.hero .btn-play:hover {
  background: var(--ink-900);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, .26);
}

/* Telefonlarda ikkalasi ham to'liq kenglikda va teng */
@media (max-width: 575px) {
  .hero .d-flex.flex-wrap { flex-direction: column; align-items: stretch; }
  .hero .btn-accent { width: 100%; min-width: 0; }
}

/*==============================================================
# 19. Chop etish (print) — sayt qobig'i qog'ozga tushmasin
==============================================================*/
@media print {
  .header,
  #header,
  .footer,
  #footer,
  .scroll-top,
  #preloader,
  .page-title .breadcrumbs,
  .navmenu,
  .mobile-nav-toggle,
  .xc-toast,
  .no-print { display: none !important; }

  body { background: #fff !important; }
  .main, .section, section { padding: 0 !important; }
  a[href]::after { content: none !important; }
}

/*==============================================================
# 20. Ichki ilova sahifalari — ixcham joylashuv
   (o'z dizayni bilan sayt qobig'iga qo'shilgan ilovalar)
==============================================================*/
#bankApp, #docApp, #pdfApp, #ppgApp, #vectorApp {
  padding-top: 26px;
  padding-bottom: 42px;
}

/* Ilova ichidagi kartalar orasi ixcham bo'lsin */
#bankApp .row, #docApp .row { --bs-gutter-y: 1rem; }
#bankApp .app-card, #bankApp .card { margin-bottom: 1rem !important; }

/* Sarlavha ostidagi izoh */
#bankApp .app-lead {
  font-size: 14.5px;
  color: var(--ink-500);
  margin: 0 0 18px;
}

@media (max-width: 767px) {
  #bankApp, #docApp, #pdfApp, #ppgApp, #vectorApp {
    padding-top: 18px;
    padding-bottom: 30px;
  }
}

/*==============================================================
# 21. <section> karta sifatida ishlatilganda global padding tushmasin
   (masalan bank-card ilovasidagi <section class="card app-card">)
==============================================================*/
section.card,
section.app-card,
section.accordion,
section.alert,
section.list-group,
.card section,
.card-body section,
.modal section {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Eslatma: .card-header va .card-body — bolalar elementlar,
   ularga yuqoridagi qoida umuman tegmaydi. */
