/* =========================================================
   Adxam Repetitor — dizayn tizimi (v3.1, light)
   Asos: billz.io (oq fon, bitta urg‘u rangi, katta radiuslar,
   yumshoq soya, ikki tonli sarlavhalar). Yashil — faqat tugma,
   havola va urg‘u uchun; katta yashil fonlar, glow va "shisha"
   effektlar yo‘q.
   ========================================================= */

:root {
  /* Rang: brend */
  --green-50: #ECF8F1;
  --green-100: #D5F0E0;
  --green-200: #A9E0C1;
  --green-400: #34C77B;   /* qora fonda urg‘u */
  --green-600: #0A8448;   /* asosiy: tugma, havola, urg‘u (oq bilan 4.8:1) */
  --green-700: #08703D;   /* hover */
  --green-900: #0B3D25;

  /* Rang: neytral */
  --ink: #111A15;
  --ink-2: #3F4743;
  --gray: #71717A;
  --gray-300: #D4D6D5;
  --gray-200: #E7E9E8;
  --gray-100: #F2F4F3;
  --white: #FFFFFF;
  --red: #E5484D;
  --amber: #F2A516;

  --font: "Manrope", "Gilroy", "Segoe UI", system-ui, -apple-system, sans-serif;

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 40px;
  --r-2xl: 64px;

  --shadow-sm: 0 0 16px rgba(0, 0, 0, .08);
  --shadow: 0 0 64px rgba(0, 0, 0, .08);

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 40px; --s8: 48px; --s9: 64px; --s10: 96px;

  --container: 1200px;
  --gutter: 20px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 900px) { :root { --gutter: 32px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 500 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, ol, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--green-100); }
:focus-visible { outline: 3px solid var(--green-200); outline-offset: 2px; border-radius: 6px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--r-sm); background: var(--ink); color: var(--white); }
.skip-link:focus { top: 12px; }
.hide-sm { display: none; }
@media (min-width: 640px) { .hide-sm { display: inline-flex; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }
.tg { color: #229ED9; }

/* ---------- Tipografiya ---------- */
.display { font-size: clamp(40px, 2.4rem + 3.2vw, 76px); line-height: 1.04; font-weight: 800; letter-spacing: -.04em; text-wrap: balance; }
.h2 { font-size: clamp(30px, 1.5rem + 1.9vw, 48px); line-height: 1.15; font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
.h3 { font-size: clamp(22px, 1.2rem + .6vw, 28px); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.title { font-size: 18px; line-height: 1.35; font-weight: 700; letter-spacing: -.01em; }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--green-600); margin-bottom: var(--s3); }
.accent { color: var(--green-600); }
.muted { color: var(--gray); }

/* ---------- Tugmalar ---------- */
.btn {
  --bg: var(--gray-100); --fg: var(--ink); --bg-h: var(--gray-200);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: var(--r-md); cursor: pointer;
  background: var(--bg); color: var(--fg);
  font-weight: 700; letter-spacing: -.01em; white-space: nowrap;
  transition: background-color .2s, transform .1s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--bg-h); }
.btn:active { transform: scale(.98); }
.btn--primary { --bg: var(--green-600); --fg: var(--white); --bg-h: var(--green-700); }
.btn--soft { --bg: var(--green-50); --fg: var(--green-600); --bg-h: var(--green-100); }
.btn--ghost { --bg: var(--gray-100); --fg: var(--ink); --bg-h: var(--gray-200); }
.btn--ink { --bg: var(--ink); --fg: var(--white); --bg-h: #26302B; }
.btn--sm { height: 44px; padding: 0 18px; font-size: 15px; border-radius: var(--r-sm); }
.btn--md { height: 52px; padding: 0 22px; font-size: 16px; }
.btn--lg { height: 64px; padding: 0 30px; font-size: 18px; border-radius: 20px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn .icon { width: 20px; height: 20px; }

.round-btn {
  width: 52px; height: 52px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%;
  background: var(--gray-100); color: var(--ink); cursor: pointer; transition: background-color .2s, transform .1s;
}
.round-btn:hover { background: var(--gray-200); }
.round-btn:active { transform: scale(.94); }
.round-btn[disabled] { opacity: .35; cursor: default; }
.round-btn--ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--gray-200); }
.round-btn--ghost .icon { width: 16px; height: 16px; }

.link { display: inline-flex; align-items: center; gap: 6px; color: var(--green-600); font-weight: 700; }
.link .icon { width: 18px; height: 18px; transition: transform .2s; }
.link:hover .icon { transform: translateX(3px); }

/* ---------- Kartalar ---------- */
.card { background: var(--white); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: var(--s6); }
.card--surface { background: var(--gray-100); box-shadow: none; }
.panel { background: var(--gray-100); border-radius: 32px; padding: var(--s6) 20px; }
@media (min-width: 900px) { .panel { border-radius: var(--r-2xl); padding: var(--s9); } }

.icon-box { width: 56px; height: 56px; display: grid; place-items: center; flex: none; border-radius: var(--r-md); background: var(--gray-100); color: var(--ink); }
.icon-box .icon { width: 26px; height: 26px; }
.icon-box--sm { width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--white); }
.icon-box--sm .icon { width: 22px; height: 22px; }

.tag { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--gray-100); color: var(--ink-2); font-size: 13px; font-weight: 700; }
.tag--brand { background: var(--green-50); color: var(--green-600); }

/* ---------- Sektsiyalar ---------- */
.section { padding: 72px 0; }
.section--flush-top { padding-top: 0; }
.section--soft { background: linear-gradient(180deg, #fff 0%, var(--gray-100) 18%, var(--gray-100) 82%, #fff 100%); }
@media (min-width: 900px) { .section { padding: 112px 0; } .section--flush-top { padding-top: 0; } }
.section-head { margin-bottom: var(--s7); }
.section-head p { margin-top: var(--s4); color: var(--gray); font-size: 18px; line-height: 1.55; }
.section-head--center { text-align: center; max-width: 760px; margin-inline: auto; }
@media (min-width: 900px) { .section-head { margin-bottom: var(--s9); } }

/* Scroll’da paydo bo‘lish (JS bo‘lmasa — hammasi ko‘rinadi) */
.js .reveal { opacity: 0; translate: 0 28px; transition: opacity .8s var(--ease), translate .8s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-in { opacity: 1; translate: 0 0; }

/* =========================================================
   TOPBAR + HEADER (oq)
   ========================================================= */
.topbar { background: var(--gray-100); color: var(--gray); font-size: 14px; font-weight: 600; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.topbar__contact { display: flex; align-items: center; gap: 14px; }
.topbar__contact a { color: var(--ink); white-space: nowrap; }
.topbar__tg, .topbar__ig { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--white); color: var(--ink); }
.topbar__tg .icon, .topbar__ig .icon { width: 16px; height: 16px; }
.topbar__tg .icon { color: #229ED9; }
.topbar__ig .icon { color: #D6249F; }
.topbar__ig { display: none; }
@media (min-width: 640px) { .topbar__ig { display: inline-flex; } }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); color: var(--ink); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: box-shadow .3s; }
.header.is-scrolled, .header.nav-open { box-shadow: 0 1px 0 var(--gray-200); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; }
.logo__mark { width: 61px; height: 24px; }
.logo__n { fill: var(--ink); }
.logo__a { fill: var(--green-600); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text b { font-size: 19px; font-weight: 800; letter-spacing: .04em; }
.logo__text small { margin-top: 4px; font-size: 9px; font-weight: 700; letter-spacing: .34em; color: var(--gray); }

.nav { display: none; }
.header__cta { display: none; }
@media (min-width: 560px) { .header__cta { display: inline-flex; } }

.burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; padding: 0; border: 0; border-radius: var(--r-sm); background: var(--gray-100); cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1023px) {
  .nav.is-open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    padding: 8px 20px 24px; background: var(--white); color: var(--ink); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .25);
  }
  .nav.is-open > a { padding: 16px 0; border-bottom: 1px solid var(--gray-200); font-size: 20px; font-weight: 700; }
  .nav__extra { display: grid; gap: 10px; margin-top: 20px; }
}
@media (min-width: 1024px) {
  .nav { display: flex; gap: 28px; }
  .nav > a { font-size: 15px; font-weight: 700; color: var(--ink-2); transition: color .2s; }
  .nav > a:hover { color: var(--green-600); }
  .nav__extra, .burger { display: none; }
}

/* =========================================================
   HERO — markazda (billz.io uslubi): shior, natijalar bir
   qatorda, katta surat pastdan "deraza" bo‘lib chiqadi
   ========================================================= */
.hero { padding: 40px 0 0; text-align: center; }
.hero__place { margin-bottom: var(--s5); font-size: 15px; font-weight: 600; color: var(--gray); text-wrap: balance; }
.hero__place .icon { display: inline-block; width: 18px; height: 18px; margin-right: 6px; vertical-align: -4px; color: var(--green-600); }
.hero .display { max-width: 1000px; margin: 0 auto; font-size: clamp(42px, 2rem + 3vw, 76px); }
.hero__lead { max-width: 660px; margin: 20px auto 0; font-size: clamp(17px, 1rem + .3vw, 19px); line-height: 1.55; color: var(--gray); }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* Natijalar — bitta qatorda, ingichka ajratgichlar bilan */
.hero-stats { max-width: 1000px; margin: 36px auto 0; }
.hero-stats__grid { display: flex; }
.hero-stat { flex: 1; padding: 0 20px; border-left: 1px solid var(--gray-200); }
.hero-stat:first-child { border-left: 0; }
.hero-stat b { display: block; font-size: 40px; line-height: 1; font-weight: 800; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.hero-stat span { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--gray); }

/* Surat — birinchi ekranda qisman ko‘rinadi, pastga aylantirishga undaydi */
.hero__photo { position: relative; height: 420px; margin-top: 40px; overflow: hidden; border-radius: var(--r-xl); background: var(--gray-100); }
.hero__photo img, .hero__photo video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__photo figcaption { position: absolute; left: 20px; bottom: 20px; padding: 6px 12px; border-radius: 10px; background: rgba(255, 255, 255, .92); font-size: 13px; font-weight: 700; color: var(--ink-2); }

/* Kirish animatsiyasi */
.js [data-anim] { opacity: 0; translate: 0 16px; animation: rise .8s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 90ms + 80ms); }
@keyframes rise { to { opacity: 1; translate: 0 0; } }

@media (max-width: 767px) {
  .hero { padding-top: 24px; }
  .hero__ctas { margin-top: var(--s5); gap: 10px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero .btn--lg { height: 56px; font-size: 17px; }
  .hero-stats { margin-top: 28px; }
  .hero-stats__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 0; }
  .hero-stat { padding: 0 12px; }
  .hero-stat:nth-child(3) { border-left: 0; }
  .hero-stat b { font-size: 32px; }
  .hero__photo { height: 240px; margin-top: 28px; border-radius: var(--r-lg); }
}

/* =========================================================
   AFZALLIKLAR
   ========================================================= */
.features { display: grid; gap: 16px; }
@media (min-width: 720px) { .features { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1080px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { display: flex; flex-direction: column; gap: var(--s4); }
.feature .icon-box { margin-bottom: var(--s2); }
.feature p { color: var(--gray); font-size: 16px; line-height: 1.6; }
.feature .link { margin-top: auto; padding-top: var(--s2); }
@media (min-width: 900px) { .feature { padding: var(--s7); } }

/* =========================================================
   YO‘NALISHLAR — fanlar + "logo" plitkalari + ramkadagi natija
   ========================================================= */
.subject-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: var(--s8); }
.subject-row li { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px; border-radius: 999px; background: var(--gray-100); font-size: 15px; font-weight: 700; }
.subject-row .icon { color: var(--gray); }

.showcase { display: grid; gap: 14px; }
.showcase__col { display: grid; gap: 14px; }
@media (max-width: 1023px) { .showcase__center { order: -1; } }
@media (min-width: 640px) and (max-width: 1023px) {
  .showcase { grid-template-columns: 1fr 1fr; }
  .showcase__center { grid-column: 1 / -1; }
}
@media (min-width: 1024px) { .showcase { grid-template-columns: 1fr 1.08fr 1fr; gap: 24px; } .showcase__col { gap: 20px; } }

.p-tile {
  display: flex; align-items: center; gap: 18px; min-height: 112px; padding: 22px 24px;
  border-radius: 28px; background: var(--gray-100);
}
.p-tile__emblem { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--ink); }
.p-tile__emblem .icon { width: 24px; height: 24px; }
.p-tile__name { display: flex; flex-direction: column; min-width: 0; }
.p-tile__name b { font-size: clamp(17px, 1rem + .25vw, 19px); line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
.p-tile__name small { margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--gray); line-height: 1.3; }
.p-tile__name em { margin-top: 8px; font-style: normal; font-size: 14px; font-weight: 800; color: var(--green-600); }

.showcase__center { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 32px 24px; border-radius: 32px; background: var(--gray-100); }
@media (min-width: 1024px) { .showcase__center { padding: 36px; } }
.frame {
  width: min(100%, 320px); padding: 10px; border: 0; border-radius: 10px; cursor: zoom-in;
  background: var(--white); box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .45);
}
.frame img { width: 100%; height: auto; border-radius: 4px; }
.showcase__center figcaption { font-size: 14px; font-weight: 700; color: var(--ink-2); text-align: center; }
.showcase__note { margin-top: var(--s6); text-align: center; color: var(--gray); font-size: 15px; font-weight: 600; }

/* =========================================================
   NATIJALAR — yil tablari, filtr, sertifikat karuseli, OTM jadvali
   ========================================================= */
.tabs { display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto; padding: 4px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-sm); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; height: 44px; padding: 0 20px; border: 0; border-radius: var(--r-sm); background: transparent; font-size: 15px; font-weight: 700; color: var(--gray); cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--white); }
.year-line { margin-top: var(--s4); text-align: center; color: var(--gray); font-size: 15px; font-weight: 600; }
.year-line b { color: var(--ink); }

.r-carousel { margin-top: var(--s7); }
.r-carousel__bar { margin-bottom: var(--s5); }
.filter-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; justify-content: flex-start; }
@media (min-width: 900px) { .filter-chips { justify-content: center; flex-wrap: wrap; } }
.filter-chips::-webkit-scrollbar { display: none; }
.filter-chip { flex: none; height: 40px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer; background: var(--white); box-shadow: inset 0 0 0 1px var(--gray-200); font-size: 14px; font-weight: 700; color: var(--ink-2); transition: background-color .2s, color .2s; }
.filter-chip:hover { background: var(--gray-200); }
.filter-chip[aria-pressed="true"] { background: var(--ink); color: var(--white); box-shadow: none; }
.filter-chip small { margin-left: 4px; font-size: 12px; opacity: .6; }

.r-track {
  --side: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--side);
  padding: 12px var(--side) 32px; scrollbar-width: none;
}
.r-track::-webkit-scrollbar { display: none; }
.r-track:focus-visible { outline: none; }

.r-card {
  position: relative; flex: none; width: 280px; display: flex; flex-direction: column; gap: 14px; padding: 10px 10px 14px;
  border: 1px solid var(--gray-200); border-radius: 28px; background: var(--white); box-shadow: var(--shadow-sm);
  scroll-snap-align: start; text-align: left; font: inherit; color: var(--ink);
  transition: border-color .25s, box-shadow .25s;
}
button.r-card { cursor: zoom-in; }
button.r-card:hover { border-color: var(--gray-300); box-shadow: var(--shadow); }

/* Rasm maydoni: hamma kartada bir xil o‘lcham — karusel tekis turadi */
.r-card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 20px; background: var(--gray-100); }
.r-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; transition: transform .5s var(--ease); }
button.r-card:hover .r-card__media img { transform: scale(1.03); }
.r-card__type { position: absolute; top: 10px; left: 10px; z-index: 1; display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, .94); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--green-600); }
.r-card--olymp .r-card__type { color: #A86B00; }
.r-card--school .r-card__type { color: #1D4ED8; }
.r-card__zoom { position: absolute; top: 10px; right: 10px; z-index: 1; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .94); }
.r-card__zoom .icon { width: 16px; height: 16px; }

.r-card__info { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 6px; }
.r-card__who { display: flex; flex-direction: column; min-width: 0; }
.r-card__who b { font-size: 16px; font-weight: 800; line-height: 1.25; }
.r-card__who small { margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-card__grade { flex: none; min-width: 48px; height: 48px; display: grid; place-items: center; padding: 0 8px; border-radius: 14px; background: var(--green-600); color: var(--white); font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.r-card__grade.is-long { font-size: 14px; }
.r-card--olymp .r-card__grade { background: #B87500; }

/* Skani yo‘q natija: soxta hujjat o‘rniga — natijaning o‘zi katta qilib */
.r-card--plain .r-card__media { display: flex; flex-direction: column; justify-content: flex-end; padding: 0 20px 22px; }
.r-card__big { font-size: 120px; line-height: .82; font-weight: 800; letter-spacing: -.06em; }
.r-card__big.is-long { font-size: 68px; letter-spacing: -.045em; }
.r-card--olymp .r-card__big { color: #B87500; }
.r-card__subject { margin-top: 12px; font-size: 19px; font-weight: 800; color: var(--ink-2); }
@media (max-width: 639px) { .r-card { width: 248px; } .r-card__big { font-size: 104px; } }

/* Avtomatik aylanish paytida "snap" o‘chadi — harakat silliq bo‘ladi */
.r-track.is-auto { scroll-snap-type: none; }

/* Sichqoncha bilan surish */
.is-draggable { cursor: grab; }
.is-draggable.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.is-draggable.is-dragging * { pointer-events: none; }

.r-controls { display: flex; align-items: center; justify-content: center; gap: 16px; }
.r-progress { display: flex; align-items: center; gap: 12px; width: min(320px, 50vw); }
.r-progress__bar { flex: 1; height: 4px; border-radius: 2px; background: var(--gray-200); overflow: hidden; }
.r-progress__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--ink); transition: width .3s var(--ease); }
.r-progress small { min-width: 54px; font-size: 13px; font-weight: 700; color: var(--gray); text-align: right; font-variant-numeric: tabular-nums; }

.block { margin-top: var(--s9); }
.block__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: var(--s5); }
.block__more { display: flex; justify-content: center; margin-top: var(--s5); }
.empty { padding: 32px; text-align: center; color: var(--gray); font-weight: 600; }

.block__note { color: var(--gray); font-weight: 600; }

.otm__summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
@media (min-width: 900px) { .otm__summary { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.otm-stat--accent b { color: var(--green-600); }
.otm-stat, .otm-grant { min-width: 0; padding: 16px 14px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-sm); }
@media (min-width: 640px) { .otm-stat, .otm-grant { padding: 20px; } }
.otm-stat b { display: block; font-size: clamp(24px, 1rem + 1.4vw, 40px); line-height: 1; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.otm-stat span { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--gray); }
.otm-grant { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
@media (max-width: 899px) { .otm-grant { grid-column: 1 / -1; } }
.otm-grant b { font-size: 18px; font-weight: 800; }
.otm-grant small { font-size: 14px; font-weight: 600; color: var(--gray); }

.otm__grid { display: grid; gap: 16px; align-items: start; }
@media (min-width: 900px) { .otm__grid { grid-template-columns: 1.15fr .85fr; } }
.otm-card { padding: 22px 24px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-sm); }
.otm-card__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; margin-bottom: 6px; }
.otm-card__head h4 { margin: 0; font-size: 18px; font-weight: 800; white-space: nowrap; }
.otm-card__head small { font-size: 13px; font-weight: 600; color: var(--gray); }

.bars li { display: grid; grid-template-columns: 22px minmax(0, 1fr) 54px; gap: 6px 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--gray-200); }
.bars li:last-child { border-bottom: 0; }
.bars__rank { font-size: 13px; font-weight: 700; color: var(--gray); font-variant-numeric: tabular-nums; }
.bars__who b { font-size: 15px; font-weight: 800; }
.bars__who small { margin-left: 6px; font-size: 13px; font-weight: 600; color: var(--gray); }
.bars__uni { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 3px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.bars__uni .badge-form { height: 22px; padding: 0 8px; font-size: 11px; }
.bars__score { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.bars__track { grid-column: 2 / 3; height: 6px; border-radius: 3px; background: var(--gray-100); overflow: hidden; }
.bars__track i { display: block; height: 100%; border-radius: inherit; background: var(--green-600); }

.village summary { display: grid; grid-template-columns: minmax(96px, 1fr) 1.2fr 64px 18px; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--gray-200); cursor: pointer; list-style: none; }
.village summary::-webkit-details-marker { display: none; }
.village summary b { font-weight: 800; }
.village summary small { text-align: right; font-size: 14px; font-weight: 600; color: var(--gray); white-space: nowrap; }
.village summary .icon { width: 18px; height: 18px; color: var(--gray); transition: transform .25s var(--ease); }
.village[open] summary .icon { transform: rotate(180deg); }
.village:last-child:not([open]) summary { border-bottom: 0; }
.village__bar { height: 8px; border-radius: 4px; background: var(--gray-100); overflow: hidden; }
.village__bar i { display: block; height: 100%; border-radius: inherit; background: var(--ink); }
.village ul { padding: 6px 0 14px; }
.village li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--gray-200); font-size: 15px; }
.village li span { font-weight: 800; font-variant-numeric: tabular-nums; }

/* Oliygohlar bo‘yicha ro‘yxat */
.uni summary { grid-template-columns: minmax(0, 1.4fr) minmax(48px, .8fr) auto 18px; }
.uni__name { display: flex; flex-direction: column; min-width: 0; }
.uni__name b { font-size: 16px; }
.uni__name small { font-size: 12px; font-weight: 600; color: var(--gray); line-height: 1.3; white-space: normal !important; text-align: left !important; }
.uni li { display: grid; grid-template-columns: minmax(0, 1fr) auto 48px; align-items: center; gap: 10px; }
.uni li .badge-form { height: 22px; padding: 0 8px; font-size: 11px; }
.uni__student { display: flex; flex-direction: column; min-width: 0; font-weight: 400 !important; }
.uni__student b { font-size: 15px; font-weight: 700; }
.uni__student small { font-size: 12px; font-weight: 600; color: var(--gray); }
.uni__score { text-align: right; }
@media (max-width: 480px) { .uni summary { grid-template-columns: minmax(0, 1fr) auto 18px; } .uni .village__bar { display: none; } }
@media (max-width: 380px) { .village summary { grid-template-columns: 1fr auto 18px; } .village__bar { display: none; } }

.badge-form { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--gray-100); color: var(--ink-2); }
.badge-form--grant { background: var(--green-50); color: var(--green-600); }


/* =========================================================
   ASOSCHI
   ========================================================= */
.founder { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 900px) { .founder { grid-template-columns: 400px 1fr; gap: var(--s9); } }
.founder__role { margin-top: var(--s3); font-size: 18px; color: var(--gray); font-weight: 600; }
.founder__quote { margin-top: var(--s6); padding-left: 20px; border-left: 3px solid var(--green-600); font-size: clamp(18px, 1rem + .5vw, 22px); line-height: 1.5; font-weight: 700; letter-spacing: -.01em; }
.founder__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: var(--s6) 0; }
.founder__facts li { padding: 16px; border-radius: var(--r-lg); background: var(--white); }
.founder__facts b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.founder__facts span { display: block; margin-top: 4px; font-size: 13px; color: var(--gray); line-height: 1.35; font-weight: 600; }
@media (max-width: 480px) { .founder__facts { grid-template-columns: 1fr 1fr; } .founder__facts li:last-child { grid-column: span 2; } }

.founder__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; display: grid; place-items: center; border-radius: var(--r-xl); background: var(--white); box-shadow: var(--shadow); }
.founder__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.founder__mark { width: 58%; height: auto; }
@media (max-width: 899px) { .founder__photo { aspect-ratio: 4 / 3; } .founder__mark { width: 42%; } }

/* Instagram profili — Instagram’ning o‘z profil sarlavhasi ko‘rinishida */
.ig-profile {
  display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; border-radius: var(--r-lg);
  background: var(--white); box-shadow: inset 0 0 0 1px #DBDBDB; color: #000; transition: box-shadow .2s;
}
.ig-profile:hover { box-shadow: inset 0 0 0 1px #C7C7C7, var(--shadow-sm); }
.ig-profile__avatar { width: 76px; height: 76px; flex: none; padding: 3px; border-radius: 50%; background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.ig-profile__avatar > span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px var(--white); }
.ig-profile__avatar svg { width: 64%; height: auto; }
.ig-profile__main { display: flex; flex-direction: column; gap: 10px; flex: 1; min-width: 0; }
.ig-profile__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.ig-profile__top b { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.ig-profile__follow { display: inline-flex; align-items: center; height: 32px; padding: 0 16px; border-radius: 8px; background: #0095F6; color: #fff; font-size: 14px; font-weight: 700; transition: background-color .2s; }
.ig-profile:hover .ig-profile__follow { background: #1877F2; }
.ig-profile__stats { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 15px; color: #262626; }
.ig-profile__stats b { font-weight: 800; }
.ig-profile__bio { font-size: 14px; line-height: 1.45; color: #262626; }
.ig-profile__bio b { display: block; font-weight: 700; }
.ig-profile__logo { width: 24px; height: 24px; flex: none; color: #D6249F; }
@media (max-width: 479px) { .ig-profile { padding: 16px; gap: 12px; } .ig-profile__avatar { width: 60px; height: 60px; } .ig-profile__logo { display: none; } }

/* =========================================================
   USTOZLAR — portret kartalar
   ========================================================= */
.team { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .team { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1080px) { .team { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.t-card { position: relative; isolation: isolate; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 28px; color: var(--ink); background: var(--gray-100); }
.t-card--photo { color: var(--white); background: var(--ink); }
.t-card--photo::after { content: ""; position: absolute; inset: 40% 0 0 0; z-index: 0; background: linear-gradient(180deg, transparent 0%, rgba(6, 14, 10, .55) 35%, rgba(6, 14, 10, .9) 100%); pointer-events: none; }
.t-card__photo { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transition: transform .6s var(--ease); }
.t-card:hover .t-card__photo { transform: scale(1.04); }
.t-card__initials { position: absolute; inset: 0 0 40% 0; z-index: -1; display: grid; place-items: center; font-size: clamp(56px, 7vw, 96px); font-weight: 800; letter-spacing: -.05em; color: var(--gray-200); }
.t-card__role { position: absolute; top: 14px; left: 14px; z-index: 1; display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 12px; font-weight: 800; }
.t-card--photo .t-card__role { background: var(--white); color: var(--ink); }
.t-card__play { position: absolute; top: 12px; right: 12px; z-index: 1; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--ink); transition: transform .2s; }
.t-card__play:hover { transform: scale(1.06); }
.t-card__play .icon { width: 18px; height: 18px; margin-left: 2px; }
.t-card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 16px 16px 18px; }
@media (min-width: 760px) { .t-card__body { padding: 20px 20px 22px; } }
.t-card__name { font-size: clamp(16px, .9rem + .5vw, 21px); line-height: 1.05; font-weight: 800; letter-spacing: -.01em; text-transform: uppercase; }
.t-card__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 10px; margin-top: 14px; }
.t-stat small { display: inline-flex; height: 20px; align-items: center; padding: 0 8px; border-radius: 999px; background: var(--white); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); }
.t-card--photo .t-stat small { background: rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .9); }
.t-stat b { display: block; margin-top: 5px; font-size: 14px; font-weight: 800; line-height: 1.2; }
.t-stat--hl { grid-column: 1 / -1; }
.t-stat--hl b { display: inline-flex; padding: 3px 10px; border-radius: 8px; background: var(--green-600); color: var(--white); font-size: 14px; }
@media (max-width: 479px) { .t-card__stats { grid-template-columns: 1fr; gap: 8px; } .t-card { border-radius: 22px; } }

/* =========================================================
   QABUL JARAYONI
   ========================================================= */
.steps { display: grid; gap: 16px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.step { display: flex; flex-direction: column; gap: 10px; padding: var(--s6) 28px; border-radius: 32px; }
.step__num { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: var(--s4); border-radius: 50%; background: var(--white); color: var(--green-600); font-size: 18px; font-weight: 800; }
.step p { color: var(--gray); font-size: 15px; line-height: 1.55; }

/* =========================================================
   FILIALLAR — katta foto karusel
   ========================================================= */
.b-carousel { --slide: min(1060px, calc(100vw - 2 * var(--gutter) - 40px)); }
@media (max-width: 639px) { .b-carousel { --slide: calc(100vw - 2 * var(--gutter)); } }
.b-track {
  --side: calc((100vw - var(--slide)) / 2);
  display: flex; gap: 24px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--side);
  padding: 0 var(--side); scrollbar-width: none;
}
.b-track::-webkit-scrollbar { display: none; }
@media (max-width: 639px) { .b-track { gap: 12px; } }
.b-slide {
  position: relative; isolation: isolate; flex: none; width: var(--slide); aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 36px; scroll-snap-align: center; color: var(--ink);
  background: var(--gray-100);
  transition: opacity .5s var(--ease), scale .5s var(--ease);
}
.b-slide:not(.is-active) { scale: .96; }
@media (max-width: 639px) { .b-slide { aspect-ratio: 4 / 5; border-radius: 28px; } }
.b-slide__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.b-slide--photo { color: var(--white); background: var(--ink); }
.b-slide--photo::after { content: ""; position: absolute; inset: 45% 0 0 0; z-index: -1; background: linear-gradient(180deg, transparent, rgba(6, 14, 10, .82)); }
.b-slide__empty { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; align-content: center; gap: 10px; padding-bottom: 12%; color: var(--gray); font-size: 14px; font-weight: 700; }
.b-slide__empty .icon { width: 72px; height: 72px; stroke-width: 1.2; color: var(--gray-300); }
.b-slide__info { position: absolute; left: 32px; right: 32px; bottom: 32px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }
.b-slide__title { display: flex; gap: 16px; align-items: stretch; }
.b-slide__title::before { content: ""; width: 6px; flex: none; border-radius: 2px; background: var(--green-600); }
.b-slide--photo .b-slide__title::before { background: var(--green-400); }
.b-slide__title h3 { font-size: clamp(30px, 1.4rem + 2.4vw, 56px); line-height: .95; font-weight: 800; letter-spacing: -.03em; text-transform: uppercase; }
.b-slide__title p { margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--gray); }
.b-slide--photo .b-slide__title p { color: rgba(255, 255, 255, .8); }
.b-slide__actions { display: flex; gap: 8px; }
.pill-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .9); color: var(--ink); font-size: 15px; font-weight: 700;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .2s, transform .1s;
}
.pill-btn:hover { background: var(--white); }
.pill-btn:active { transform: scale(.97); }
.pill-btn--glass { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--gray-200); }
.pill-btn--glass:hover { box-shadow: inset 0 0 0 1px var(--gray-300); }
.b-slide--photo .pill-btn--glass { background: rgba(255, 255, 255, .14); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
@media (max-width: 639px) {
  .b-slide__empty { align-content: start; padding: 22% 0 0; }
  .b-slide__info { left: 20px; right: 20px; bottom: 20px; }
  .b-slide__title h3 { font-size: 34px; }
  .b-slide__actions { width: 100%; }
  .pill-btn { flex: 1; justify-content: center; height: 46px; padding: 0 14px; }
}

.b-controls { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: var(--s6); }
.b-dots { display: flex; align-items: center; gap: 8px; }
.b-dot { position: relative; width: 8px; height: 8px; overflow: hidden; padding: 0; border: 0; border-radius: 999px; background: var(--gray-300); cursor: pointer; transition: width .3s var(--ease), background-color .3s; }
.b-dot i { position: absolute; inset: 0; display: block; transform: scaleX(0); transform-origin: left; background: var(--green-600); }
.b-dot[aria-current="true"] { width: 36px; }
.b-dot[aria-current="true"] i { transform: scaleX(1); }
.has-autoplay .b-dot[aria-current="true"] i { animation: bFill var(--b-delay, 6s) linear forwards; }
.has-autoplay.is-paused .b-dot i { animation-play-state: paused; }
@keyframes bFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.addresses { display: grid; gap: 12px; margin-top: var(--s8); }
@media (min-width: 900px) { .addresses { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.addr { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--gray-100); cursor: pointer; transition: background-color .2s, box-shadow .2s; text-align: left; border: 0; font: inherit; color: inherit; }
.addr:hover { background: var(--white); box-shadow: var(--shadow); }
.addr.is-active { background: var(--white); box-shadow: inset 0 0 0 2px var(--green-600); }
.addr b { font-size: 17px; font-weight: 800; }
.addr p { font-size: 14px; font-weight: 600; color: var(--gray); line-height: 1.45; }
.addr .link { margin-top: auto; padding-top: 4px; font-size: 14px; }

/* =========================================================
   ARIZA
   ========================================================= */
.signup { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 960px) { .signup { grid-template-columns: 1fr 480px; gap: var(--s9); } }
.signup__copy > p { margin-top: var(--s4); font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.checklist { display: grid; gap: 12px; margin-top: var(--s6); }
.checklist li { display: flex; gap: 12px; align-items: center; font-weight: 700; }
.checklist .icon { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--green-600); color: var(--white); stroke-width: 3; }
.signup__alt { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: var(--s6); font-size: 15px; color: var(--gray); font-weight: 600; }
.signup__alt a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; }
.signup__alt a .icon { width: 18px; height: 18px; }

.form-card { padding: var(--s6) 20px; }
@media (min-width: 560px) { .form-card { padding: var(--s7); } }
.field { display: grid; gap: 8px; margin-bottom: var(--s4); }
.field label { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field input, .field select, .phone { width: 100%; height: 56px; border: 1.5px solid transparent; border-radius: var(--r-md); background: var(--gray-100); transition: border-color .15s, background-color .15s; }
.field input, .field select { padding: 0 16px; font-weight: 600; font-size: 16px; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2371717A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field input::placeholder { color: #A1A1AA; font-weight: 500; }
.field input:focus, .field select:focus, .phone:focus-within { outline: none; border-color: var(--green-600); background-color: var(--white); }
.phone { display: flex; align-items: center; }
.phone span { padding-left: 16px; font-weight: 700; color: var(--ink-2); }
.phone input { height: 100%; border: 0 !important; background: transparent !important; padding-left: 8px; }
.field.is-invalid input, .field.is-invalid .phone { border-color: var(--red); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { min-height: 20px; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: #C0353A; }
.form-error a { text-decoration: underline; }
.form-note { margin-top: 12px; text-align: center; font-size: 13px; color: var(--gray); font-weight: 600; }
.form-done { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: var(--s5) 0; }
.form-done:focus { outline: none; }
.form-done p { color: var(--gray); }
.form-done__icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--green-600); color: var(--white); }
.form-done__icon .icon { width: 30px; height: 30px; stroke-width: 3; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { display: grid; gap: 12px; }
.qa { border-radius: var(--r-lg); background: var(--gray-100); transition: background-color .2s; }
.qa[open] { background: var(--white); box-shadow: var(--shadow); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 700; line-height: 1.4; }
.qa summary::-webkit-details-marker { display: none; }
.qa__icon { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--white); transition: transform .25s var(--ease), background-color .2s; }
.qa[open] .qa__icon { transform: rotate(45deg); background: var(--green-50); color: var(--green-600); }
.qa p { padding: 0 24px 24px; color: var(--ink-2); line-height: 1.65; }
.qa p a { color: var(--green-600); font-weight: 700; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { padding: 64px 0 32px; border-top: 1px solid var(--gray-200); }
.footer__inner { display: grid; gap: var(--s7); }
@media (min-width: 820px) { .footer__inner { grid-template-columns: 2fr 1fr 1fr; } }
.footer__brand p { margin: 18px 0 20px; max-width: 340px; color: var(--gray); }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--green-600); color: var(--white); transition: background-color .2s; }
.socials a:hover { background: var(--green-700); }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--ink-2); }
.footer__col a:hover { color: var(--green-600); }
.footer__title { margin-bottom: 6px; font-weight: 800; color: var(--ink); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid var(--gray-200); font-size: 14px; color: var(--gray); font-weight: 600; }
.footer__bottom a:hover { color: var(--green-600); }
@media (max-width: 899px) { .footer { padding-bottom: 112px; } }

/* =========================================================
   MOBIL PANEL, QO‘NG‘IROQ TUGMASI, LIGHTBOX, NAMUNA
   ========================================================= */
.mbar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 6px; padding: 6px;
  border-radius: 20px; background: var(--white); box-shadow: 0 8px 40px rgba(0, 0, 0, .18);
  transform: translateY(calc(100% + 40px)); transition: transform .35s var(--ease);
}
.mbar.is-visible { transform: none; }
.mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 52px; border-radius: 14px; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.mbar a:active { background: var(--gray-100); }
.mbar .icon { width: 20px; height: 20px; }
.mbar__primary { flex-direction: row !important; background: var(--green-600); color: var(--white) !important; font-size: 15px !important; }
@media (min-width: 900px) { .mbar { display: none; } }

.fab-call {
  position: fixed; right: 28px; bottom: 28px; z-index: 70; display: none; align-items: center; gap: 0;
  height: 64px; padding: 0 20px; border-radius: 999px; background: var(--green-600); color: var(--white);
  font-size: 18px; font-weight: 800; letter-spacing: -.01em;
  box-shadow: 0 16px 40px -10px rgba(10, 132, 72, .6);
  transition: gap .35s var(--ease), padding .35s var(--ease), background-color .2s;
}
.fab-call::before { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: ring 2.6s ease-out infinite; pointer-events: none; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(10, 132, 72, .45); } 70%, 100% { box-shadow: 0 0 0 18px rgba(10, 132, 72, 0); } }
.fab-call .icon { width: 24px; height: 24px; }
.fab-call__text { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .4s var(--ease), opacity .25s; }
.fab-call:hover, .fab-call:focus-visible { gap: 12px; padding: 0 26px 0 22px; background: var(--green-700); }
.fab-call:hover .fab-call__text, .fab-call:focus-visible .fab-call__text { max-width: 220px; opacity: 1; }
@media (min-width: 900px) { .fab-call { display: inline-flex; } }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 14, 12, .94); color: var(--white); }
.lightbox[open] { display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0; min-width: 0; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 140px); border-radius: var(--r-md); object-fit: contain; }
.lightbox figcaption { font-weight: 700; text-align: center; padding: 0 12px; }
.lightbox__btn { width: 52px; height: 52px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--white); cursor: pointer; justify-self: center; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox__close { position: absolute; top: 16px; right: 16px; }
.lightbox__prev { grid-column: 1; grid-row: 1; }
.lightbox__next { grid-column: 3; grid-row: 1; }
@media (max-width: 640px) {
  .lightbox[open] { grid-template-columns: 1fr; }
  .lightbox figure { grid-column: 1; grid-row: 1; }
  .lightbox__prev, .lightbox__next { position: absolute; bottom: 24px; grid-column: auto; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { left: calc(50% + 12px); }
  .lightbox img { max-height: calc(100dvh - 200px); }
}

.namuna-badge { position: fixed; left: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 90; padding: 8px 12px; border-radius: 10px; background: #FFF4D6; color: #7A5200; font-size: 12px; font-weight: 700; box-shadow: var(--shadow-sm); }
.namuna-badge code { font-family: ui-monospace, Menlo, monospace; }
@media (min-width: 900px) { .namuna-badge { bottom: 16px; left: 16px; } }

/* ---------- Harakatni kamaytirish ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-anim] { opacity: 1; translate: 0 0; }
}
