/* Korporativ uslub — TCS'ga o'xshash: qora/oq kontrast, katta tipografiya, ko'k aksent, "pill" tugmalar */

:root {
  --ink: #000000;
  --navy: #0d1014;          /* asosiy to'q rang (sarlavhalar, tugmalar) */
  --navy-deep: #000000;
  --navy-light: #2a2f36;
  --accent: #1f5fd1;        /* TCS'dagi ko'k "Learn more" tugmasi */
  --accent-dark: #174aa6;
  --accent-light: #eaf1fc;
  --gold: #1f5fd1;
  --gray-50: #f6f7f9;
  --gray-100: #eff1f4;
  --gray-200: #e3e6ea;
  --gray-300: #d6dae0;
  --gray-500: #7b8494;
  --gray-600: #545c69;
  --text: #14171c;
  --header-h: 72px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(0, 0, 0, 0.18);
  --shadow-lg: 0 24px 50px -20px rgba(0, 0, 0, 0.3);
  --font-display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { height: 100%; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1 0 auto; }

h1, h2, h3, h4, h5, .navbar-brand {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

h1, h2, h3, h4, h5 { color: var(--navy); }

a { color: var(--accent); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--accent-dark); }

.container-xxl { padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 768px) { .container-xxl { padding-left: 2rem; padding-right: 2rem; } }

/* ---------- Header: qora panel ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--ink);
  transition: box-shadow .2s ease;
}

.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(255, 255, 255, .08), 0 8px 24px rgba(0, 0, 0, .25); }

.site-header .navbar {
  min-height: var(--header-h);
  padding-top: .5rem;
  padding-bottom: .5rem;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff !important;
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-right: 2.25rem;
}

.brand-mark {
  display: block;
  width: auto;
  height: 40px;
  flex: none;
}

.site-header .nav-link {
  color: #fff !important;
  font-size: .97rem;
  font-weight: 500;
  padding: .5rem .85rem !important;
  position: relative;
}

/* Faol va hover holatida pastdan ingichka chiziq */
.site-header .nav-link::after {
  content: "";
  position: absolute;
  left: .85rem;
  right: .85rem;
  bottom: -.1rem;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.site-header .nav-link:hover::after,
.site-header .nav-link.active::after { transform: scaleX(1); }

.nav-tools {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav-tool {
  background: none;
  border: 0;
  padding: .35rem 0;
  color: #fff;
  font-size: .95rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.nav-tool:hover { color: rgba(255, 255, 255, .75); }
.nav-tool i { font-size: 1.05rem; }

.nav-contact {
  color: rgba(255, 255, 255, .7);
}

.nav-contact:hover, .nav-contact.active { color: #fff; }

.lang-menu .dropdown-menu {
  border-radius: 10px;
  border: 0;
  box-shadow: var(--shadow-lg);
  padding: .4rem;
  min-width: 10rem;
}

.lang-menu .dropdown-item { border-radius: 6px; font-size: .92rem; padding: .45rem .75rem; }
.lang-menu .dropdown-item.active, .lang-menu .dropdown-item:active { background: var(--ink); color: #fff; }

.site-header .navbar-toggler { border-color: rgba(255, 255, 255, .3); }
.site-header .navbar-toggler:focus { box-shadow: 0 0 0 2px rgba(255, 255, 255, .4); }

@media (max-width: 991.98px) {
  .site-header .navbar-collapse { padding: .75rem 0 1.25rem; }
  .site-header .nav-link { padding: .65rem 0 !important; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .site-header .nav-link::after { display: none; }
  .nav-tools { margin-top: 1rem; flex-wrap: wrap; gap: 1.25rem; }
}

/* ---------- Tugmalar ---------- */

.btn {
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  padding: .65rem 1.5rem;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}

.btn-sm { padding: .35rem .95rem; font-size: .85rem; }
.btn-lg { padding: .85rem 1.9rem; font-size: 1.02rem; }

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.8rem;
  font-size: 1rem;
}

.btn-pill i { transition: transform .2s ease; }
.btn-pill:hover i { transform: translateX(3px); }

.btn-primary, .btn-accent {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-primary:hover, .btn-primary:focus, .btn-accent:hover, .btn-accent:focus {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

.btn-outline-primary {
  color: var(--navy);
  border-color: var(--navy);
  background: transparent;
}

.btn-outline-primary:hover {
  background-color: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.btn-dark { background: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: var(--navy-light); border-color: var(--navy-light); }

.btn-light { color: var(--ink); }
.btn-light:hover { background: #e9ecef; }

.btn-danger { font-weight: 600; }

/* ---------- Ichki sahifalar sarlavhasi (qora banner) ---------- */

.hero {
  position: relative;
  background: var(--ink);
  padding: 5rem 0 4.5rem !important;
  overflow: hidden;
}

/* Yengil ko'k nur — TCS bannerlaridagi kabi */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 120% at 100% 0%, rgba(31, 95, 209, .35), transparent 60%);
  pointer-events: none;
}

.hero .container { position: relative; }

.hero-eyebrow {
  display: inline-block;
  color: rgba(255, 255, 255, .7);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

a.hero-eyebrow:hover { color: #fff; }

.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem) !important;
  font-weight: 500;
  color: #ffffff;
  max-width: 900px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

.hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.12rem;
  max-width: 640px;
  margin-top: 1.25rem;
}

.hero .btn-outline-primary { color: #fff; border-color: rgba(255, 255, 255, .5); }
.hero .btn-outline-primary:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Bo'limlar ---------- */

.section { padding: 5.5rem 0; }
.section-alt { background: var(--gray-50); }

.section-eyebrow {
  color: var(--gray-600);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: .75rem;
  display: block;
}

.section-title {
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: .75rem;
}

.section-lead {
  color: var(--gray-600);
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 2.5rem;
}

/* ---------- Kartalar ---------- */

.card {
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  box-shadow: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

a.card { color: inherit; }

a.card:hover, .card.reveal:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card h4, .card h5 { font-weight: 600; }

.icon-tile {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

/* ---------- Badge / jadval ---------- */

.badge-status-draft { background-color: var(--gray-500); font-weight: 500; }
.badge-status-published { background-color: #1f8a4c; font-weight: 500; }

.table thead { background: var(--gray-100); }
.table thead th { color: var(--gray-600); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; border-bottom: none; }
.table td, .table th { vertical-align: middle; border-color: var(--gray-300); }

/* ---------- Formalar ---------- */

.form-control, .form-select {
  border-radius: 6px;
  border-color: var(--gray-300);
  padding: .7rem .95rem;
}

.form-control:focus, .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 95, 209, 0.15);
}

/* ---------- Footer: qora, katta CTA ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .65);
  padding: 4.5rem 0 2rem;
  font-size: .95rem;
  flex-shrink: 0;
}

.footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.footer-cta h2 {
  color: #fff;
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 14ch;
  margin: 0;
}

.site-footer h3 {
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-family: "Inter", sans-serif;
  margin-bottom: 1.1rem;
}

.site-footer ul li { margin-bottom: .6rem; }
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: #fff; }
.site-footer .btn-light, .site-footer .btn-light:hover { color: var(--ink); }

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #fff !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
}

.footer-tagline { margin: 1rem 0 0; max-width: 34ch; line-height: 1.6; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .87rem;
}

.footer-langs a { margin-left: .9rem; font-weight: 600; color: rgba(255, 255, 255, .5); }
.footer-langs a.active { color: #fff; }

/* =====================================================================
   Bosh sahifa (th-*)
   ===================================================================== */

.th-eyebrow {
  display: inline-block;
  color: rgba(255, 255, 255, .78);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.th-eyebrow-dark { color: var(--gray-600); }

.th-section { padding: 6rem 0; }
.th-section-gray { background: var(--gray-50); }

.th-title {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  max-width: 22ch;
}

.th-title-md { font-size: clamp(1.7rem, 2.8vw, 2.4rem); max-width: 28ch; margin-bottom: 3rem; }
.th-title-light { color: #fff; }

.th-lead { color: var(--gray-600); font-size: 1.1rem; max-width: 60ch; margin-bottom: 3rem; }

.th-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  color: var(--accent);
}

.th-link i { transition: transform .2s ease; }

/* ---------- Hero slayder ---------- */

.th-hero {
  position: relative;
  height: calc(100vh - var(--header-h));
  height: calc(100svh - var(--header-h));
  min-height: 560px;
  max-height: 900px;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.th-slides { position: absolute; inset: 0; }

.th-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: 9rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility 0s linear .8s;
}

/* To'liq logotip: barcha slaydlarda matnning o'ng tomonida turadi, kichik ekranlarda yashirinadi */
.th-hero-brand {
  --brand-h: clamp(300px, calc(100svh - var(--header-h) - 16rem), 470px);
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 9rem;
  pointer-events: none;
}
.th-hero-brand .container-xxl { position: relative; }
/* Naqshli rasm ustida ham yozuv o'qilishi uchun logotip orqasidagi yumshoq qoraytirish */
.th-hero-brand .container-xxl::before {
  content: "";
  position: absolute;
  right: -3rem;
  bottom: -5rem;
  width: calc(var(--brand-h) * .582 + 9rem);
  height: calc(var(--brand-h) + 10rem);
  background: radial-gradient(closest-side, rgba(0, 0, 0, .88) 45%, rgba(0, 0, 0, .55) 72%, transparent 100%);
}
.th-hero-brand img {
  position: relative;
  display: block;
  width: auto;
  height: var(--brand-h);
  margin-left: auto;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, .75));
}

@media (max-width: 991.98px) {
  .th-hero-brand { display: none; }
}

/* Rasm + chap/pastdan qoraytiruvchi gradient, matn o'qilishi uchun */
.th-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .45) 50%, rgba(0, 0, 0, .1) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, .7) 0%, transparent 45%),
    var(--bg) center / cover no-repeat;
  transform: scale(1.06);
  transition: transform 7.5s ease-out;
}

.th-slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s ease; }
.th-slide.is-active::before { transform: scale(1); }

.th-slide-inner { position: relative; width: 100%; }

.th-slide h1, .th-slide h2 {
  color: #fff;
  font-size: clamp(2.3rem, 5.2vw, 4.4rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.022em;
  max-width: 17ch;
  margin: 0;
}

.th-slide p {
  color: rgba(255, 255, 255, .82);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  max-width: 54ch;
  margin: 1.4rem 0 2rem;
  line-height: 1.55;
}

.th-tabs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding-bottom: 2rem;
}

.th-tabs-inner { display: flex; align-items: flex-end; gap: 1.5rem; }

.th-tab-list {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.th-tab {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  color: rgba(255, 255, 255, .6);
  font-size: .95rem;
  font-weight: 500;
  transition: color .2s ease;
}

.th-tab:hover, .th-tab.is-active { color: #fff; }

.th-tab-bar {
  display: block;
  height: 2px;
  background: rgba(255, 255, 255, .28);
  margin-bottom: .85rem;
  overflow: hidden;
}

.th-tab-bar i { display: block; height: 100%; width: 0; background: #fff; }
.th-tab.is-active .th-tab-bar i { animation: th-progress 7s linear forwards; }
.th-hero.is-paused .th-tab.is-active .th-tab-bar i { animation: none; width: 100%; }

@keyframes th-progress { from { width: 0; } to { width: 100%; } }

.th-pause {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .45);
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.th-pause:hover { background: #fff; color: var(--ink); }

@media (max-width: 767.98px) {
  .th-slide { padding-bottom: 7rem; }
  .th-tab-list { display: flex; overflow-x: auto; scrollbar-width: none; gap: 1.25rem; }
  .th-tab-list::-webkit-scrollbar { display: none; }
  .th-tab { flex: 0 0 auto; min-width: 8.5rem; font-size: .88rem; }
}

/* ---------- "Yangi nima bor" — gorizontal kartalar ---------- */

.th-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.th-head .th-title { margin: 0; }

.th-arrows { display: flex; gap: .6rem; flex: none; }

.th-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--navy);
  background: #fff;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background .15s ease, color .15s ease;
}

.th-arrow:hover { background: var(--navy); color: #fff; }

.th-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, calc((100% - 3 * 1.5rem) / 3.4));
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: .25rem;
}

.th-rail::-webkit-scrollbar { display: none; }

.th-story {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--navy-light);
  color: #fff;
  scroll-snap-align: start;
}

.th-story img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.th-story::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .35) 55%, rgba(0, 0, 0, .05) 100%);
}

.th-story-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1.75rem;
}

.th-story-date { display: block; font-size: .8rem; letter-spacing: .08em; color: rgba(255, 255, 255, .65); margin-bottom: .6rem; }

.th-story h3 {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: .6rem;
}

/* Matn hover'da ochiladi (TCS kartalaridagi kabi) */
.th-story p {
  color: rgba(255, 255, 255, .78);
  font-size: .92rem;
  line-height: 1.5;
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .4s ease, opacity .3s ease, margin .3s ease;
}

.th-story .th-link { color: #fff; margin-top: .9rem; }
.th-story:hover { color: #fff; }
.th-story:hover img { transform: scale(1.05); }
.th-story:hover p, .th-story:focus-visible p { max-height: 8rem; opacity: 1; }
.th-story:hover .th-link i { transform: translateX(4px); }

@media (hover: none) { .th-story p { max-height: none; opacity: 1; } }

/* ---------- Yechimlar markazi (qora) ---------- */

.th-hub { background: var(--ink); color: #fff; padding: 6rem 0; }
.th-hub-lead { color: rgba(255, 255, 255, .65); font-size: 1.1rem; margin-bottom: 3rem; }

.th-hub-grid {
  display: grid;
  grid-template-columns: minmax(240px, 4fr) 8fr;
  gap: 3rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding-top: 2.5rem;
}

.th-hub-tabs { display: flex; flex-direction: column; }

.th-hub-tab {
  display: flex;
  align-items: center;
  gap: .9rem;
  background: none;
  border: 0;
  border-left: 2px solid rgba(255, 255, 255, .16);
  padding: 1rem 1.25rem;
  text-align: left;
  color: rgba(255, 255, 255, .55);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color .2s ease, border-color .2s ease;
}

.th-hub-tab i { font-size: 1.15rem; }
.th-hub-tab:hover { color: #fff; }
.th-hub-tab.is-active { color: #fff; border-left-color: var(--accent); }

.th-hub-panel h3 { color: #fff; font-size: 2rem; font-weight: 500; margin-bottom: .75rem; }
.th-hub-panel > p { color: rgba(255, 255, 255, .7); font-size: 1.05rem; max-width: 60ch; margin-bottom: 2rem; }

.th-hub-items {
  list-style: none;
  padding: 0;
  margin: 0 0 2.25rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2rem;
}

.th-hub-items a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .95rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .88);
  font-size: .98rem;
}

.th-hub-items a i { color: rgba(255, 255, 255, .45); transition: transform .2s ease, color .2s ease; }
.th-hub-items a:hover { color: #fff; }
.th-hub-items a:hover i { color: #fff; transform: translate(2px, -2px); }

.btn-outline-light:hover { color: var(--ink); }

@media (max-width: 991.98px) {
  .th-hub-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .th-hub-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: .5rem; }
  .th-hub-tabs::-webkit-scrollbar { display: none; }
  .th-hub-tab { flex: none; border-left: 0; border-bottom: 2px solid rgba(255, 255, 255, .16); font-size: 1rem; padding: .75rem .25rem; }
  .th-hub-tab.is-active { border-bottom-color: var(--accent); }
}

@media (max-width: 575.98px) { .th-hub-items { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Biz haqimizda (bosh sahifada) ---------- */

.th-statement {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.th-body { color: var(--gray-600); font-size: 1.05rem; line-height: 1.7; }

.th-media { position: relative; aspect-ratio: 5 / 4; overflow: hidden; }
.th-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.th-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  margin: 4.5rem 0 0;
}

.th-stats > div { border-top: 1px solid var(--navy); padding-top: 1.25rem; }
.th-stats dt { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 500; letter-spacing: -0.02em; color: var(--navy); line-height: 1; }
.th-stats dd { margin: .6rem 0 0; color: var(--gray-600); }

@media (max-width: 767.98px) { .th-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Ustunliklar ---------- */

.th-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--gray-300);
  border-left: 1px solid var(--gray-300);
}

.th-feature {
  padding: 2rem 1.75rem 2.25rem;
  border-right: 1px solid var(--gray-300);
  border-bottom: 1px solid var(--gray-300);
  background: #fff;
  transition: background .2s ease, color .2s ease;
}

.th-feature i { font-size: 1.6rem; color: var(--accent); display: block; margin-bottom: 1.5rem; transition: color .2s ease; }
.th-feature h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: .6rem; transition: color .2s ease; }
.th-feature p { color: var(--gray-600); font-size: .93rem; line-height: 1.6; margin: 0; transition: color .2s ease; }

.th-feature:hover { background: var(--ink); }
.th-feature:hover i, .th-feature:hover h3 { color: #fff; }
.th-feature:hover p { color: rgba(255, 255, 255, .7); }

@media (max-width: 991.98px) { .th-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .th-features { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Hamkorlar ---------- */

#hamkorlar { scroll-margin-top: var(--header-h); }

.th-partners {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.th-partner { text-align: center; }
.th-partner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.th-partner h3 { font-size: 1.15rem; font-weight: 600; margin: 1rem 0 0; }
.th-partner p { color: var(--gray-600); font-size: .93rem; line-height: 1.5; margin: .4rem 0 0; }

@media (max-width: 991.98px) { .th-partners { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .th-partners { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Ish jarayoni ---------- */

.th-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

.th-steps li { counter-increment: step; border-top: 2px solid var(--navy); padding-top: 1.5rem; }

.th-steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1.25rem;
}

.th-steps h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: .5rem; }
.th-steps p { color: var(--gray-600); font-size: .95rem; line-height: 1.6; margin: 0; }

@media (max-width: 991.98px) { .th-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .th-steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Promo banner (xavfsizlik testi) ---------- */

.th-promo {
  position: relative;
  padding: 7rem 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .4) 70%),
    var(--bg) center / cover no-repeat;
}

.th-promo-box { max-width: 640px; }
.th-promo h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 500; line-height: 1.08; letter-spacing: -0.02em; }
.th-promo p { color: rgba(255, 255, 255, .8); font-size: 1.1rem; margin: 1.25rem 0 2rem; }

/* ---------- FAQ ---------- */

.th-faq .accordion-item {
  border: 0;
  border-bottom: 1px solid var(--gray-300);
  border-radius: 0 !important;
  margin: 0;
}

.th-faq .accordion-item:first-child { border-top: 1px solid var(--gray-300); }

.th-faq .accordion-button {
  padding: 1.5rem 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--navy);
  background: transparent;
  box-shadow: none;
}

.th-faq .accordion-button:not(.collapsed) { background: transparent; color: var(--navy); }

/* Strelka o'rniga "+" / "−" belgisi */
.th-faq .accordion-button::after {
  background-image: none;
  content: "+";
  font-family: "Inter", sans-serif;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1;
  width: auto;
  height: auto;
  transform: none;
}

.th-faq .accordion-button:not(.collapsed)::after { content: "\2212"; transform: none; }
.th-faq .accordion-body { padding: 0 0 1.5rem; color: var(--gray-600); font-size: 1.02rem; line-height: 1.7; max-width: 70ch; }

@media (max-width: 767.98px) {
  .th-section, .th-hub { padding: 4rem 0; }
  .th-promo { padding: 5rem 0; }
}

/* ---------- Umumiy accordion (boshqa sahifalar uchun) ---------- */

.accordion-item {
  border: 1px solid var(--gray-300);
  border-radius: 6px !important;
  margin-bottom: .75rem;
  overflow: hidden;
}

.accordion-button { font-weight: 600; color: var(--navy); background: #fff; }
.accordion-button:not(.collapsed) { background: var(--gray-50); color: var(--navy); box-shadow: none; }
.accordion-button:focus { box-shadow: none; border-color: var(--gray-300); }

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-visual .pulse-dot { animation: none; }
}

/* ---------- Service detail: section links ---------- */

.section-link { display: flex; flex-direction: column; }
.section-link h5 { color: var(--navy); font-weight: 600; margin-bottom: 1rem; }

/* ---------- Contact form ---------- */

.contact-form .req { color: var(--gold); }

.field-error {
  color: #b42318;
  font-size: .85rem;
  margin-top: .35rem;
}

.cf-section { background: #fff; border: 1px solid var(--gray-200, #e6e9ee); border-radius: 14px; padding: 1.5rem; margin-bottom: 1.25rem; }
.cf-section-title { display: flex; align-items: center; gap: .65rem; font-size: 1.15rem; font-weight: 700; color: var(--navy); margin: 0 0 1.25rem; }
.cf-section-title span { width: 1.8rem; height: 1.8rem; flex: none; border-radius: 50%; background: var(--accent-light); color: var(--accent); font-size: .85rem; display: inline-flex; align-items: center; justify-content: center; }
.cf-hint { color: var(--gray-500); font-weight: 400; font-size: .85rem; }
.cf-group { border: 0; padding: 0; margin: 0 0 1.25rem; min-width: 0; }
.cf-group:last-child { margin-bottom: 0; }
.cf-group legend { float: none; width: auto; font-size: 1rem; margin-bottom: .5rem; }
.cf-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.cf-pill { position: relative; cursor: pointer; margin: 0; }
.cf-pill input { position: absolute; opacity: 0; pointer-events: none; }
.cf-pill-body { display: flex; flex-direction: column; gap: .1rem; padding: .5rem 1rem; border: 1px solid var(--gray-200, #d9dee5); border-radius: 999px; background: #fff; color: var(--navy); font-size: .92rem; transition: border-color .15s, background .15s; }
.cf-pill:hover .cf-pill-body { border-color: var(--accent); }
.cf-pill input:checked + .cf-pill-body { background: var(--accent-light); border-color: var(--accent); color: var(--accent); font-weight: 600; }
.cf-pill input:focus-visible + .cf-pill-body { outline: 2px solid var(--accent); outline-offset: 2px; }
.cf-pill input[type="checkbox"]:checked + .cf-pill-body .cf-pill-label::before { content: "\2713  "; }
.cf-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.cf-cards .cf-pill-body { border-radius: 12px; padding: .85rem 1rem; height: 100%; }
.cf-cards small { color: var(--gray-500); font-weight: 400; font-size: .8rem; }
.cf-group.has-error .cf-pill-body { border-color: #e9a29b; }
.contact-form .is-invalid { border-color: #b42318; }

.phone-field { display: flex; gap: .5rem; }
.phone-field .phone-country { flex: 0 0 11.5rem; min-width: 0; padding-right: 2.25rem; text-overflow: ellipsis; }
.phone-picker { position: relative; flex: 0 0 auto; }
.phone-picker-toggle {
  display: flex;
  align-items: center;
  gap: .5rem;
  width: auto;
  height: 100%;
  padding-right: 2.25rem;
  white-space: nowrap;
  text-align: left;
}
.phone-picker img { display: block; width: 24px; height: 18px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); flex: none; }
.phone-picker-list {
  position: absolute;
  z-index: 20;
  top: calc(100% + 4px);
  left: 0;
  width: 18rem;
  max-width: calc(100vw - 4rem);
  max-height: 16rem;
  margin: 0;
  padding: .25rem;
  overflow-y: auto;
  list-style: none;
  background: #fff;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}
.phone-picker-list:focus { outline: none; }
.phone-picker-list[hidden] { display: none; }
.phone-picker-list [role="option"] {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .5rem .625rem;
  border-radius: 6px;
  cursor: pointer;
}
.phone-picker-list [role="option"]:hover, .phone-picker-list .is-active { background: var(--gray-100); }
.phone-picker-list [aria-selected="true"] { font-weight: 600; }
.phone-picker-dial { margin-left: auto; color: var(--gray-600); font-variant-numeric: tabular-nums; }
.phone-field .form-control { flex: 1 1 auto; min-width: 0; }
@media (max-width: 575.98px) { .cf-section { padding: 1.15rem; } }


/* ---------- Big contact button ---------- */

.btn-cta {
  font-size: 1.1rem;
  padding: 1rem 2.6rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.btn-cta:hover { box-shadow: var(--shadow-lg); }

/* ---------- Service sub-sections ---------- */

.item-card h5 { font-size: 1.05rem; line-height: 1.35; }
/* Kartochkalar to'ri 800px'li tor ustundan sahifaning to'liq kengligiga chiqadi */
.items-wide { width: min(1140px, calc(100vw - 2rem)); position: relative; left: 50%; transform: translateX(-50%); }
.item-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.item-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 12px 28px -16px rgba(15, 35, 70, .35); }
.item-block { margin-bottom: 2.5rem; }
.item-block h3 { color: var(--navy); font-size: 1.35rem; margin-bottom: 1rem; }
.item-problems li, .item-steps li { margin-bottom: .6rem; }
.item-steps { counter-reset: step; list-style: none; padding-left: 0; }
.item-steps li { counter-increment: step; display: flex; gap: .85rem; align-items: flex-start; }
.item-steps li::before { content: counter(step); flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--accent-light); color: var(--navy); font-weight: 700; font-size: .85rem; display: inline-flex; align-items: center; justify-content: center; }
.item-result { background: var(--accent-light); border-left: 4px solid var(--accent); border-radius: 10px; padding: 1.25rem 1.5rem; color: var(--navy); font-weight: 500; }
.item-nav { position: sticky; top: 96px; }
.item-nav a { display: block; padding: .5rem .75rem; border-radius: 8px; color: var(--navy); text-decoration: none; font-size: .92rem; }
.item-nav a:hover { background: var(--gray-50); }
.item-nav a.active { background: var(--accent-light); font-weight: 600; }

/* ---------- About page ---------- */

.ab-hero { padding-top: 4rem; }
.ab-title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); color: var(--navy); font-weight: 800; line-height: 1.15; margin: .5rem 0 1.25rem; text-wrap: balance; }
.ab-lead { font-size: 1.1rem; line-height: 1.7; color: var(--gray-600); white-space: pre-line; margin: 0; max-width: 60ch; }
.ab-img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; }
.ab-hero-media { position: relative; }
.ab-hero-badge { position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .5rem; background: #fff; color: var(--navy); font-weight: 600; font-size: .85rem; padding: .55rem .9rem; border-radius: 999px; box-shadow: 0 10px 24px -12px rgba(15, 39, 69, .45); }
.ab-hero-badge i { color: var(--accent); font-size: 1.05rem; }
.ab-head { max-width: 760px; margin-bottom: 2rem; }
.ab-head p { font-size: 1.02rem; line-height: 1.7; margin: 0; }

.ab-industry { height: 100%; background: #fff; border: 1px solid var(--gray-200, #e6e9ee); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.ab-industry .ab-img { border-radius: 0; aspect-ratio: 16 / 10; }
.ab-industry-body { position: relative; padding: 1.75rem 1.25rem 1.25rem; }
.ab-industry-body h5 { color: var(--navy); font-weight: 700; font-size: 1.05rem; margin-bottom: .4rem; }
.ab-industry-body p { color: var(--gray-600); font-size: .92rem; line-height: 1.55; margin: 0; }
.ab-industry-icon { position: absolute; top: -1.35rem; left: 1.25rem; width: 2.7rem; height: 2.7rem; border-radius: 10px; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; box-shadow: 0 8px 18px -8px rgba(15, 39, 69, .6); }

/* Flowchart */
.ab-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; }
.ab-step { position: relative; background: #fff; border: 1px solid var(--gray-200, #e6e9ee); border-radius: 14px; padding: 1.5rem 1.25rem 1.25rem; }
.ab-step h5 { color: var(--navy); font-weight: 700; font-size: 1.05rem; margin: .75rem 0 .4rem; }
.ab-step p { color: var(--gray-600); font-size: .92rem; line-height: 1.55; margin: 0; }
.ab-step-num { position: absolute; top: -.85rem; right: 1rem; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--gold); color: #fff; font-weight: 700; font-size: .85rem; display: inline-flex; align-items: center; justify-content: center; }
.ab-step-icon { display: inline-flex; width: 2.6rem; height: 2.6rem; border-radius: 10px; background: var(--accent-light); color: var(--accent); align-items: center; justify-content: center; font-size: 1.2rem; }
.ab-step:not(:last-child)::after { content: "\2192"; position: absolute; top: 50%; right: -1.85rem; transform: translateY(-50%); color: var(--accent); font-size: 1.5rem; font-weight: 700; line-height: 1; }
.ab-loop { margin-top: 1.5rem; display: flex; align-items: center; gap: .75rem; padding: .9rem 1.25rem; border: 2px dashed var(--accent); border-radius: 14px; color: var(--accent); font-weight: 600; font-size: .95rem; background: var(--accent-light); }
.ab-loop i { font-size: 1.3rem; flex: none; }
@media (max-width: 991.98px) {
  .ab-flow { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .ab-step:not(:last-child)::after { content: "\2193"; top: auto; bottom: -1.95rem; right: auto; left: 50%; transform: translateX(-50%); }
}

/* Himoya qatlamlari diagrammasi */
.ab-layers { font-size: .9rem; }
.ab-layer { border: 1px solid rgba(31, 95, 209, .28); border-radius: 16px; padding: .85rem .85rem .85rem; }
.ab-layer + .ab-layer, .ab-layer .ab-layer { margin-top: .75rem; }
.ab-layer-1 { background: rgba(31, 95, 209, .04); }
.ab-layer-2 { background: rgba(31, 95, 209, .08); }
.ab-layer-3 { background: rgba(31, 95, 209, .12); }
.ab-layer-4 { background: rgba(31, 95, 209, .17); }
.ab-layer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; padding: 0 .35rem; }
.ab-layer-head > div { min-width: 0; }
.ab-layer-head strong { display: block; color: var(--navy); font-size: .98rem; }
.ab-layer-head small { display: block; color: var(--gray-600); line-height: 1.45; }
.ab-tag { flex: none; background: #fff; color: var(--accent); border: 1px solid rgba(31, 95, 209, .35); border-radius: 999px; padding: .2rem .65rem; font-size: .75rem; font-weight: 600; white-space: nowrap; }
.ab-core { margin-top: .75rem; background: var(--navy); color: #fff; border-radius: 12px; padding: 1rem; text-align: center; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: .5rem; }
@media (max-width: 575.98px) {
  .ab-layer { padding: .7rem .55rem; }
  .ab-layer-head { flex-direction: column; gap: .35rem; }
}

.ab-chip { display: inline-flex; align-items: center; gap: .4rem; background: #fff; border: 1px solid var(--gray-200, #e6e9ee); color: var(--navy); border-radius: 999px; padding: .4rem .85rem; font-size: .85rem; font-weight: 600; }
.ab-chip i { color: var(--gold); }

.ab-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; background: var(--navy); color: #fff; border-radius: 18px; padding: 2.25rem 2.5rem; }
.ab-cta h3 { color: #fff; font-weight: 700; }
.ab-cta p { color: rgba(255, 255, 255, .78); max-width: 60ch; }
@media (max-width: 575.98px) { .ab-cta { padding: 1.75rem 1.25rem; } }

/* ---------- Security calculator ---------- */

.sc-hero { padding-bottom: 2rem; }
.sc-privacy { display: inline-flex; align-items: center; gap: .5rem; margin: 1rem 0 0; padding: .45rem .9rem; border-radius: 999px; background: var(--accent-light); color: var(--accent); font-size: .88rem; font-weight: 600; }
.sc-q { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: .5rem 1.25rem; align-items: center; padding: .9rem 0; }
.sc-q:first-of-type { padding-top: 0; }
.sc-q:last-child { padding-bottom: 0; }
.sc-q + .sc-q { border-top: 1px dashed var(--gray-200, #e6e9ee); }
.sc-q-text { font-weight: 500; color: var(--navy); line-height: 1.45; margin: 0; }
.sc-select.is-answered { border-color: var(--accent); background-color: var(--accent-light); color: var(--accent); font-weight: 600; }
@media (max-width: 575.98px) { .sc-q { grid-template-columns: minmax(0, 1fr); } }
.sc-panel { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); background: #fff; border: 1px solid var(--gray-200, #e6e9ee); border-radius: 14px; padding: 1.5rem; }
.sc-gauge { position: relative; width: 170px; max-width: 100%; margin: 0 auto 1rem; }
.sc-gauge svg { display: block; width: 100%; height: auto; transform: rotate(-90deg); }
.sc-gauge-track { fill: none; stroke: var(--gray-100, #eef1f4); stroke-width: 12; }
.sc-gauge-bar { fill: none; stroke: var(--accent); stroke-width: 12; stroke-linecap: round; transition: stroke-dashoffset .6s ease, stroke .3s; }
.sc-gauge-value { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: 38%; gap: .2rem; font-variant-numeric: tabular-nums; }
.sc-gauge-value strong { font-size: 2.4rem; line-height: 1; color: var(--navy); font-weight: 800; }
.sc-gauge-value span { color: var(--gray-500); font-size: .9rem; }
.sc-level { border-left: 4px solid var(--accent); background: var(--gray-50); border-radius: 8px; padding: .75rem .9rem; margin-bottom: 1rem; }
.sc-level strong { display: block; font-size: 1rem; }
.sc-level span { display: block; font-size: .85rem; color: var(--gray-600); line-height: 1.45; margin-top: .2rem; }
.sc-progress { height: 6px; border-radius: 99px; background: var(--gray-100, #eef1f4); overflow: hidden; }
.sc-progress div { height: 100%; width: 0; background: var(--navy); transition: width .3s; }
.sc-cats { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.sc-cats li span { color: var(--gray-600); }
.sc-cats strong { color: var(--navy); font-variant-numeric: tabular-nums; }
.sc-cat-bar { height: 8px; border-radius: 99px; background: var(--gray-100, #eef1f4); margin-top: .3rem; overflow: hidden; }
.sc-cat-bar div { height: 100%; width: 0; transition: width .4s, background .3s; }
.sc-recs { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .75rem; }
.sc-rec { border: 1px solid var(--gray-200, #e6e9ee); border-left-width: 4px; border-radius: 10px; padding: .85rem 1rem; }
.sc-rec.sev-3 { border-left-color: #b42318; }
.sc-rec.sev-2 { border-left-color: #c4661f; }
.sc-rec.sev-1 { border-left-color: var(--gold); }
.sc-rec p { margin: .35rem 0; color: var(--navy); }
.sc-rec a { font-size: .88rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.sc-sev { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .15rem .5rem; border-radius: 99px; background: var(--gray-50); color: var(--gray-600); }
.sc-rec.sev-3 .sc-sev { background: #fdecea; color: #b42318; }
.sc-rec.sev-2 .sc-sev { background: #fdf0e6; color: #a8531a; }
@media (max-width: 991.98px) { .sc-panel { position: static; } }
@media (prefers-reduced-motion: reduce) { .sc-gauge-bar, .sc-progress div, .sc-cat-bar div { transition: none; } }
