/* =========================================================
   Shofirkon tuman Ixtisoslashtirilgan maktabi
   ZAMONAVIY RASMIY USLUB — 2026
   ========================================================= */

:root {
  /* --- ranglar --- */
  --navy:       #0A1830;
  --navy-2:     #102350;
  --navy-3:     #16306A;
  --blue:       #1E5BD6;
  --blue-light: #3B82F6;
  --blue-pale:  #E8F0FE;
  --blue-mid:   #93B8F5;
  --gold:       #F0B429;
  --gold-light: #FFD460;
  --gold-dark:  #B8860B;
  --gold-pale:  #FDF3D9;
  --white:      #FFFFFF;
  --off-white:  #F6F8FD;
  --ink:        #0D1729;
  --text:       #2C3A5C;
  --muted:      #64748B;
  --line:       #E2E8F4;

  /* --- shriftlar --- */
  --font:      'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-head: 'Montserrat', 'Segoe UI', system-ui, sans-serif;

  /* --- burchaklar --- */
  --r-sm: 10px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 30px;

  /* --SOYALAR -- */
  --sh-1: 0 1px 2px rgba(10,24,48,.04), 0 4px 16px rgba(10,24,48,.05);
  --sh-2: 0 8px 24px rgba(10,24,48,.10), 0 2px 6px rgba(10,24,48,.05);
  --sh-3: 0 20px 50px rgba(10,24,48,.16), 0 6px 16px rgba(10,24,48,.07);
  --sh-glow: 0 10px 40px rgba(30,91,214,.28);
  --sh-gold: 0 10px 34px rgba(240,180,41,.30);

  --maxw: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);

  /* --- gradientlar --- */
  --grad-navy: linear-gradient(150deg, #0A1830 0%, #12295A 55%, #1B3F86 100%);
  --grad-blue: linear-gradient(135deg, #1E5BD6 0%, #3B82F6 100%);
  --grad-gold: linear-gradient(135deg, #F0B429 0%, #FFD460 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--ink); line-height: 1.22; font-weight: 700; letter-spacing: -.015em; }
a { color: var(--blue); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--blue-light); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

::selection { background: var(--gold); color: var(--navy); }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--blue-light), var(--blue)); border-radius: 20px; border: 2px solid var(--off-white); }

/* ===================== LAYOUT ===================== */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.section { padding: 84px 0; }
.section--tight { padding: 52px 0; }
.bg-soft { background: var(--off-white); }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px;
  padding: 12px 26px; border-radius: var(--r-sm); border: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  white-space: nowrap; position: relative;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--grad-blue); color: #fff; box-shadow: var(--sh-glow); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 44px rgba(30,91,214,.38); }
.btn-gold { background: var(--grad-gold); color: var(--navy); box-shadow: var(--sh-gold); }
.btn-gold:hover { color: var(--navy); transform: translateY(-2px); box-shadow: 0 14px 40px rgba(240,180,41,.42); }
.btn-ghost-light { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.4); backdrop-filter: blur(8px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.18); color: #fff; border-color: #fff; transform: translateY(-2px); }
.btn-outline { background: var(--white); color: var(--blue); border: 1.5px solid var(--line); box-shadow: var(--sh-1); }
.btn-outline:hover { border-color: var(--blue); background: var(--blue-pale); transform: translateY(-2px); }

/* ===================== TOP BAR ===================== */
.topbar {
  background: var(--navy); color: rgba(255,255,255,.78);
  font-size: 13px; padding: 8px 0; position: relative; z-index: 901;
}
.topbar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240,180,41,.35), transparent);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,.78); display: inline-flex; align-items: center; gap: 7px; transition: .2s var(--ease); }
.topbar a:hover { color: var(--gold); }
.topbar ul { display: flex; gap: 20px; }
.topbar svg { width: 13px; height: 13px; }
.tb-left { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.tb-badge {
  background: rgba(240,180,41,.14); color: var(--gold); font-weight: 700;
  padding: 3px 12px; border-radius: 4px; font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase;
  border: 1px solid rgba(240,180,41,.32);
}

/* ===================== HEADER ===================== */
.header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,.86); backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.header.scrolled { box-shadow: 0 6px 28px rgba(10,24,48,.10); background: rgba(255,255,255,.95); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; }

/* --- Logo --- */
.logo { display: flex; align-items: center; gap: 13px; flex: none; }
.logo img {
  height: 52px; width: 52px; object-fit: contain; border-radius: 12px; box-shadow: none;
  background: #fff; display: block; transition: transform .3s var(--ease);
}
.logo:hover img { transform: scale(1.05); }
.logo-txt { display: flex; flex-direction: column; line-height: 1.2; justify-content: center; }
.logo-txt b { font-family: var(--font-head); font-size: 17px; color: var(--ink); font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.logo-txt i { font-style: normal; font-size: 10.5px; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; font-weight: 600; }

/* --- Nav (dropdown) --- */
.nav { display: flex; align-items: center; gap: 3px; }
.nav-item { position: relative; }
.nav-item > a {
  font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--text);
  padding: 10px 15px; border-radius: var(--r-sm); position: relative;
  transition: color .2s var(--ease), background .2s var(--ease);
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-item > a:hover { color: var(--blue); background: var(--blue-pale); }
.nav-item > a .caret { width: 11px; height: 11px; opacity: .5; transition: transform .25s var(--ease); }
.nav-item:hover > a .caret, .nav-item.open > a .caret { transform: rotate(180deg); }
.nav-item > a.active { color: var(--blue); }
.nav-item > a.active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 3px;
  height: 3px; border-radius: 3px; background: var(--grad-gold);
}
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(10px);
  min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-3); padding: 8px;
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  z-index: 950;
}
.dropdown::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 10px; }
.nav-item:hover > .dropdown, .nav-item.open > .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a {
  display: block; padding: 10px 14px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--text);
  white-space: nowrap; transition: .18s var(--ease);
}
.dropdown a:hover { background: var(--blue-pale); color: var(--blue); transform: translateX(3px); }

.header-cta { display: flex; align-items: center; gap: 10px; }

.hamburger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: var(--r-sm); background: #fff; cursor: pointer; position: relative;
  box-shadow: var(--sh-1);
}
.hamburger span {
  position: absolute; left: 12px; width: 19px; height: 2.2px; border-radius: 3px;
  background: var(--navy); transition: .3s var(--ease);
}
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 15px; }
.hamburger.open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* --- Mobile drawer --- */
.mobile-nav {
  position: fixed; inset: 0; z-index: 980; background: rgba(10,24,48,.5);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav .drawer {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 88vw);
  background: #fff; padding: 22px 20px; box-shadow: -12px 0 40px rgba(10,24,48,.22);
  transform: translateX(100%); transition: transform .38s var(--ease);
  display: flex; flex-direction: column; gap: 2px; overflow-y: auto;
}
.mobile-nav.open .drawer { transform: translateX(0); }
.drawer-close {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px;
  padding: 0 6px 14px; border-bottom: 1px solid var(--line);
}
.drawer-close b { font-family: var(--font-head); font-size: 17px; color: var(--ink); }
.drawer-close button {
  width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--muted);
  transition: .2s var(--ease);
}
.drawer-close button:hover { background: var(--off-white); color: var(--ink); transform: rotate(90deg); }
.drawer-close svg { width: 18px; height: 18px; }
.drawer-item { border-bottom: 1px solid var(--line); }
.drawer-item:last-child { border-bottom: none; }
.drawer-item > a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--ink);
  padding: 15px 12px; border-radius: var(--r-sm); width: 100%;
  transition: .2s var(--ease);
}
.drawer-item > a:hover, .drawer-item > a.active { color: var(--blue); background: var(--blue-pale); }
.drawer-toggle {
  width: 32px; height: 32px; flex: none; border: 1px solid var(--line); border-radius: 9px;
  background: #fff; cursor: pointer; display: grid; place-items: center; transition: .22s var(--ease);
}
.drawer-toggle svg { width: 15px; height: 15px; transition: transform .25s var(--ease); color: var(--blue); }
.drawer-item.open .drawer-toggle svg { transform: rotate(180deg); }
.drawer-children { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.drawer-item.open .drawer-children { max-height: 460px; }
.drawer-children a {
  display: block; padding: 11px 12px 11px 28px; font-size: 14px; font-weight: 600; color: var(--muted);
  border-radius: 9px; position: relative; transition: .18s var(--ease);
}
.drawer-children a::before {
  content: ""; position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.drawer-children a:hover { color: var(--blue); background: var(--blue-pale); }

/* ===================== HERO SLIDER ===================== */
.hero { position: relative; background: var(--navy); }
.hero-slider {
  position: relative; height: clamp(470px, 78vh, 640px); overflow: hidden;
}
.h-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease);
  pointer-events: none;
}
.h-slide.active { opacity: 1; pointer-events: auto; }
.h-slide-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.03); transition: transform 0s;
}
.h-slide.active .h-slide-bg { transform: scale(1.14); transition: transform 8s linear; }
.h-slide-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(10,24,48,.96) 0%, rgba(10,24,48,.82) 42%, rgba(10,24,48,.38) 100%),
    radial-gradient(640px 360px at 88% 8%, rgba(240,180,41,.18), transparent 62%);
}
.h-slide-inner {
  position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column;
  justify-content: center; max-width: 660px;
}
.h-slide[data-pos="chap"] .h-slide-inner { align-items: flex-start; text-align: left; }
.h-slide[data-pos="o'ng"] .h-slide-inner { align-items: flex-end; text-align: right; }
.h-slide[data-pos="o'rta"] .h-slide-inner, .h-slide[data-pos=""] .h-slide-inner { align-items: center; text-align: center; }
.h-slide[data-valign="tepa"] .h-slide-inner { justify-content: flex-start; padding-top: 66px; }
.h-slide[data-valign="past"] .h-slide-inner { justify-content: flex-end; padding-bottom: 66px; }
.h-slide-inner .s-badge {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(240,180,41,.14); border: 1px solid rgba(240,180,41,.45);
  color: var(--gold); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 17px; border-radius: 999px; margin-bottom: 22px;
  backdrop-filter: blur(8px);
}
.h-slide[data-pos="o'rta"] .h-slide-inner .s-badge { align-self: center; }
.h-slide[data-pos="o'ng"] .h-slide-inner .s-badge { align-self: flex-end; }
.h-slide-inner h2 {
  color: #fff; font-size: clamp(2rem, 4.3vw, 3.4rem); font-weight: 800; letter-spacing: -.025em; margin-bottom: 20px;
  text-shadow: 0 4px 30px rgba(0,0,0,.35);
}
.h-slide-inner h2 .hl { position: relative; display: inline-block; color: var(--gold); }
.h-slide-inner h2 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 12px;
  background: rgba(240,180,41,.25); border-radius: 6px; z-index: -1;
}
.h-slide-inner p { font-size: 17.5px; color: rgba(255,255,255,.85); max-width: 560px; line-height: 1.7; }
.h-slide.active .h-slide-inner > * { animation: riseIn .8s var(--ease) both; }
.h-slide.active .h-slide-inner > *:nth-child(2) { animation-delay: .14s; }
.h-slide.active .h-slide-inner > *:nth-child(3) { animation-delay: .28s; }
@keyframes riseIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

.hero-slider .slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.32);
  background: rgba(10,24,48,.45); color: #fff; cursor: pointer; display: grid; place-items: center;
  transition: .25s var(--ease); backdrop-filter: blur(8px);
}
.hero-slider .slider-arrow:hover { background: var(--grad-gold); color: var(--navy); border-color: var(--gold); transform: translateY(-50%) scale(1.1); }
.hero-slider .slider-arrow.prev { left: 24px; }
.hero-slider .slider-arrow.next { right: 24px; }
.hero-slider .slider-arrow svg { width: 20px; height: 20px; }
.hero-slider .slider-dots {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 6;
  display: flex; gap: 10px; padding: 8px 14px; border-radius: 999px;
  background: rgba(10,24,48,.35); backdrop-filter: blur(8px);
}
.hero-slider .slider-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.45); transition: .3s var(--ease); padding: 0;
}
.hero-slider .slider-dots button.active { background: var(--grad-gold); width: 32px; border-radius: 5px; box-shadow: 0 0 12px rgba(240,180,41,.6); }

/* ===================== PAGE HEAD (ichki sahifalar) ===================== */
.page-head {
  position: relative; background: var(--grad-navy);
  color: #fff; padding: 58px 0 50px; overflow: hidden; margin-top: -1px;
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 320px at 88% 8%, rgba(240,180,41,.16), transparent 62%),
    radial-gradient(460px 280px at 5% 95%, rgba(59,130,246,.28), transparent 62%);
}
.page-head::after {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
}
.page-head .container { position: relative; z-index: 1; }
.page-head h1 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 10px; font-weight: 800; }
.page-head > .container > p { color: rgba(255,255,255,.68); font-size: 15.5px; }
.ph-breadcrumb { font-size: 12.5px; margin-bottom: 16px; color: rgba(255,255,255,.5); display: flex; gap: 8px; align-items: center; }
.ph-breadcrumb a { color: rgba(255,255,255,.78); }
.ph-breadcrumb a:hover { color: var(--gold); }
.ph-breadcrumb b { color: var(--gold); font-weight: 700; }

/* ===================== SECTION HEAD ===================== */
.sec-head { max-width: 700px; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--blue); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 13px;
}
.kicker::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--grad-gold); }
.sec-head.center .kicker::before { display: none; }
.sec-head h2 { font-size: clamp(1.65rem, 2.7vw, 2.3rem); margin-bottom: 15px; font-weight: 800; }
.sec-head p { font-size: 16px; color: var(--muted); }
.sec-head h2 .hl { color: var(--blue); position: relative; }
.sec-head h2 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 10px;
  background: rgba(240,180,41,.28); border-radius: 5px; z-index: -1;
}
.blocks-title { font-size: 20px; margin-bottom: 20px; }
.blocks-title.center { text-align: center; }

/* ===================== CARDS GRID ===================== */
.grid { display: grid; gap: 22px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 26px; box-shadow: var(--sh-1);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-blue); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: var(--blue-mid); }
.card:hover::before { transform: scaleX(1); }

.card-ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--blue-pale); color: var(--blue);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover .card-ico { transform: scale(1.1) rotate(-5deg); box-shadow: 0 8px 22px rgba(30,91,214,.24); }
.card-ico svg { width: 26px; height: 26px; }
.card-ico.gold { background: var(--gold-pale); color: var(--gold-dark); }
.card:hover .card-ico.gold { box-shadow: 0 8px 22px rgba(240,180,41,.3); }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--muted); }

/* ===================== STATS ===================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 24px; text-align: center; box-shadow: var(--sh-1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  position: relative; overflow: hidden;
}
.stat::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(300px 160px at 50% 0%, rgba(30,91,214,.06), transparent 70%);
  opacity: 0; transition: opacity .3s var(--ease);
}
.stat:hover { transform: translateY(-5px); box-shadow: var(--sh-3); }
.stat:hover::after { opacity: 1; }
.stat .num { font-family: var(--font-head); font-size: 40px; font-weight: 800; color: var(--blue); line-height: 1; letter-spacing: -.02em; }
.stat .num em { font-style: normal; color: var(--gold-dark); }
.stat .lbl { margin-top: 11px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.stat .bar { width: 42px; height: 3px; border-radius: 3px; background: var(--grad-gold); margin: 13px auto 0; }

/* ===================== ABOUT ===================== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.prose h2 { font-size: clamp(1.55rem, 2.3vw, 2rem); margin-bottom: 18px; font-weight: 800; }
.prose p { color: var(--muted); margin-bottom: 15px; font-size: 15.5px; }
.prose strong { color: var(--ink); }
.check-list { margin-top: 22px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: 15px; color: var(--text); }
.check-list .cl-ico { width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--blue-pale); color: var(--blue); display: grid; place-items: center; margin-top: 2px; transition: .25s var(--ease); }
.check-list li:hover .cl-ico { background: var(--grad-blue); color: #fff; transform: scale(1.12); }
.check-list .cl-ico svg { width: 12px; height: 12px; }
.check-list b { color: var(--ink); font-weight: 700; display: block; }
.check-list span.cl-d { font-size: 13.5px; color: var(--muted); }

.quote {
  border-left: 4px solid var(--gold); background: var(--blue-pale);
  border-radius: 0 var(--r) var(--r) 0; padding: 22px 26px; margin-top: 26px;
  font-family: var(--font-head); font-weight: 600; font-size: 16.5px; color: var(--navy-2);
  position: relative;
}

/* --- Info panel --- */
.info-panel {
  background: var(--grad-navy); border-radius: var(--r-xl);
  padding: 34px; color: #fff; position: relative; overflow: hidden; box-shadow: var(--sh-3);
}
.info-panel::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(440px 280px at 88% 8%, rgba(240,180,41,.17), transparent 62%),
              radial-gradient(400px 300px at 0% 100%, rgba(59,130,246,.26), transparent 62%);
}
.info-panel::after {
  content: ""; position: absolute; inset: 0; opacity: .3;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
}
.info-panel > * { position: relative; z-index: 1; }
.info-panel h3 { color: #fff; font-size: 20px; margin-bottom: 18px; }
.ip-item { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.ip-item:last-child { border-bottom: none; }
.ip-item .ip-ico { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; background: rgba(240,180,41,.15); color: var(--gold); transition: .25s var(--ease); }
.ip-item:hover .ip-ico { background: var(--grad-gold); color: var(--navy); transform: scale(1.1); }
.ip-item .ip-ico svg { width: 19px; height: 19px; }
.ip-item b { display: block; color: #fff; font-size: 14.5px; font-family: var(--font-head); }
.ip-item span { font-size: 13px; color: rgba(255,255,255,.64); }

/* ===================== CAROUSEL (ustozlar) ===================== */
.carousel { overflow: hidden; margin: 0 -16px; padding: 16px; }
.carousel-track {
  display: flex; gap: 28px; align-items: stretch;
  transition: transform .6s var(--ease); will-change: transform;
}
.t-card {
  flex: none; width: clamp(272px, 30vw, 350px); background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); cursor: pointer;
  transition: transform .38s var(--ease), box-shadow .38s var(--ease), opacity .38s var(--ease);
  display: flex; flex-direction: column;
}
.t-card:hover { transform: translateY(-10px); box-shadow: 0 22px 46px rgba(10,24,48,.20); }
.t-card.is-active { transform: scale(1.05); box-shadow: var(--sh-3); border-color: var(--blue-mid); }
.t-photo {
  position: relative; width: 100%; aspect-ratio: 2 / 3; overflow: hidden;
  display: grid; place-items: center; background: var(--off-white);
}
.t-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to top, rgba(10,24,48,.34), rgba(10,24,48,0) 55%);
}
.t-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.t-photo .initials {
  position: relative; z-index: 1; width: 88px; height: 132px; border-radius: 14px;
  background: var(--blue-pale); border: 2px solid var(--line);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 26px; color: var(--blue);
}
.t-body { padding: 20px 22px 22px; text-align: center; flex: 1; display: flex; flex-direction: column; }
.t-body h3 { font-size: 17.5px; margin-bottom: 5px; }
.t-body .subj { font-size: 13.5px; color: var(--muted); font-weight: 600; display: flex; gap: 6px; justify-content: center; }
.t-body .t-fan {
  font-size: 12.5px; color: var(--blue); font-weight: 700; margin-top: 9px;
  display: inline-flex; align-self: center; gap: 6px; align-items: center;
  background: var(--blue-pale); padding: 5px 14px; border-radius: 999px;
}
.t-body .hint { font-size: 12.5px; color: var(--muted); margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; justify-content: center; }
.t-body .hint svg { width: 13px; height: 13px; transition: transform .25s var(--ease); }
.t-card:hover .t-body .hint svg { transform: translateX(3px); }

.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 30px; }
.c-arrow {
  width: 46px; height: 46px; flex: none; border-radius: 50%; border: 1.5px solid var(--line);
  background: #fff; color: var(--blue); cursor: pointer; display: grid; place-items: center;
  transition: .25s var(--ease); box-shadow: var(--sh-1);
}
.c-arrow:hover { background: var(--grad-blue); color: #fff; border-color: var(--blue); transform: scale(1.1); box-shadow: var(--sh-glow); }
.c-arrow svg { width: 19px; height: 19px; }
.carousel-dots { display: flex; gap: 9px; }
.carousel-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--line); transition: .3s var(--ease); padding: 0;
}
.carousel-dots button.active { background: var(--grad-gold); width: 28px; border-radius: 5px; }

/* ===================== PERSON (rahbarlar/bitiruvchilar) ===================== */
.person {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh-1); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  height: 100%;
}
.person:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
.person .avatar {
  width: 100%; aspect-ratio: 2 / 3; display: grid; place-items: center; position: relative; overflow: hidden;
  background: var(--grad-navy); color: #fff;
}
.person .avatar::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 24px 24px;
}
.person .avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform .5s var(--ease); }
.person:hover .avatar img { transform: scale(1.05); }
.person .avatar .initials {
  position: relative; z-index: 1; width: 78px; height: 117px; border-radius: 14px;
  background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.4);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 24px; color: var(--gold);
  backdrop-filter: blur(6px);
}
.person .p-body { padding: 20px 22px 22px; text-align: center; }
.person .p-body h3 { font-size: 16.5px; margin-bottom: 5px; }
.person .p-body .role { font-size: 13px; color: var(--blue); font-weight: 600; }
.person .p-body .subj { font-size: 12.5px; color: var(--muted); margin-top: 7px; }
.person .p-body .yr {
  display: inline-block; margin-top: 9px; background: var(--gold-pale); color: var(--gold-dark);
  font-size: 12px; font-weight: 700; padding: 4px 13px; border-radius: 999px;
}

/* ===================== MAKTAB HAYOTI ===================== */
.life-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.tbl-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); }
table { width: 100%; border-collapse: collapse; }
thead th {
  background: var(--grad-navy); color: #fff; font-family: var(--font-head); font-size: 13px;
  text-align: left; padding: 14px 20px; letter-spacing: .03em; white-space: nowrap; font-weight: 600;
}
tbody td { padding: 13px 20px; font-size: 14.5px; border-bottom: 1px solid var(--line); color: var(--text); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: var(--off-white); }
tbody tr { transition: background .2s var(--ease); }
tbody tr:hover { background: var(--blue-pale); }
td b { color: var(--ink); font-family: var(--font-head); }
td .pill { display: inline-block; background: var(--gold-pale); color: var(--gold-dark); font-size: 11.5px; font-weight: 700; padding: 4px 11px; border-radius: 5px; }
td:first-child { white-space: nowrap; color: var(--blue); font-weight: 700; }

.clubs { display: grid; gap: 13px; }
.club {
  display: flex; align-items: center; gap: 15px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 15px 18px; box-shadow: var(--sh-1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.club:hover { transform: translateX(6px); box-shadow: var(--sh-2); border-color: var(--blue-mid); }
.club .cl-ico { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--blue-pale); color: var(--blue); transition: .25s var(--ease); }
.club:hover .cl-ico { background: var(--grad-blue); color: #fff; transform: scale(1.08); }
.club .cl-ico svg { width: 22px; height: 22px; }
.club h4 { font-size: 15px; margin-bottom: 2px; }
.club p { font-size: 13px; color: var(--muted); margin: 0; }

/* ===================== NEWS ===================== */
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh-1); display: flex; flex-direction: column; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
.news-card.hidden { display: none; }
.news-thumb { height: 170px; position: relative; display: grid; place-items: center; overflow: hidden; }
.news-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news-card:hover .news-thumb img { transform: scale(1.07); }
.news-thumb .ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: var(--grad-navy); color: rgba(255,255,255,.85);
}
.news-thumb .ph svg { width: 42px; height: 42px; }
.news-thumb .tag {
  position: absolute; left: 13px; top: 13px; z-index: 2;
  background: rgba(255,255,255,.95); color: var(--blue); font-size: 11px; font-weight: 700;
  padding: 5px 12px; border-radius: 5px; letter-spacing: .04em; text-transform: uppercase;
  box-shadow: var(--sh-1); backdrop-filter: blur(6px);
}
.news-thumb .date {
  position: absolute; right: 13px; bottom: 13px; z-index: 2; color: #fff;
  font-size: 11.5px; font-weight: 600; background: rgba(10,24,48,.6); padding: 4px 11px; border-radius: 5px;
  backdrop-filter: blur(6px);
}
.news-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.news-body h3 { font-size: 17px; margin-bottom: 10px; }
.news-body p { font-size: 14px; color: var(--muted); flex: 1; }
.news-body .foot { margin-top: 15px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.news-body .foot .more { font-weight: 600; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; color: var(--blue); }
.news-body .foot .more svg { width: 13px; height: 13px; transition: transform .25s var(--ease); }
.news-card:hover .news-body .foot .more svg { transform: translateX(4px); }
.news-more-wrap { text-align: center; margin-top: 38px; }
.news-more-wrap .btn { display: inline-flex; }

/* ===================== QABUL ===================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 24px; box-shadow: var(--sh-1); transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--sh-3); }
.step .s-num {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--grad-navy); color: var(--gold); font-family: var(--font-head); font-weight: 700; font-size: 19px;
  box-shadow: 0 8px 22px rgba(10,24,48,.22); transition: transform .3s var(--ease);
}
.step:hover .s-num { transform: scale(1.12) rotate(6deg); }
.step h4 { font-size: 16.5px; margin-bottom: 7px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }

.doc {
  display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 20px 22px; box-shadow: var(--sh-1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.doc:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--blue-mid); }
.doc .d-ico { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--blue-pale); color: var(--blue); transition: .25s var(--ease); }
.doc:hover .d-ico { background: var(--grad-blue); color: #fff; transform: scale(1.08); }
.doc .d-ico svg { width: 23px; height: 23px; }
.doc h3 { font-size: 16px; margin-bottom: 3px; }
.doc p { font-size: 13px; color: var(--muted); margin: 0; }
.doc .d-meta { flex: 1; }

/* ===================== YUTUQLAR (tabs) ===================== */
.ach-tabs { display: flex; gap: 11px; flex-wrap: wrap; justify-content: center; margin-bottom: 34px; }
.ach-tab {
  background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 11px 24px;
  font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--text);
  cursor: pointer; transition: .22s var(--ease); white-space: nowrap; box-shadow: var(--sh-1);
}
.ach-tab:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.ach-tab.active { background: var(--grad-navy); border-color: var(--navy); color: var(--gold); box-shadow: 0 8px 22px rgba(10,24,48,.24); }
.ach-panel { display: none; }
.ach-panel.active { display: block; animation: riseIn .45s var(--ease) both; }

.ach {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px;
  box-shadow: var(--sh-1); display: flex; gap: 18px; align-items: flex-start;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.ach:hover { transform: translateY(-5px); box-shadow: var(--sh-3); }
.ach .medal {
  width: 54px; height: 54px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-pale); color: var(--gold-dark); box-shadow: inset 0 0 0 2px rgba(240,180,41,.42);
  transition: transform .3s var(--ease);
}
.ach:hover .medal { transform: rotate(-8deg) scale(1.08); }
.ach .medal svg { width: 26px; height: 26px; }
.ach h3 { font-size: 16px; margin-bottom: 6px; }
.ach p { font-size: 14px; color: var(--muted); margin: 0; }
.ach .who { font-size: 12.5px; color: var(--blue); font-weight: 600; margin-top: 9px; display: block; }
.ach.has-img img { width: 120px; height: 160px; flex: none; object-fit: cover; border-radius: 12px; border: 1.5px solid var(--line); box-shadow: var(--sh-1); cursor: pointer; transition: transform .3s var(--ease); }
.ach.has-img:hover img { transform: scale(1.04); }
.ach-list { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }

/* --- Dars jadvali filtrlari --- */
.sf-row { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; justify-content: center; }
.sf-label { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; flex: none; }
.sf-chips { display: flex; gap: 9px; flex-wrap: wrap; justify-content: center; }

/* --- Dars jadvali pastmenyu (dropdown) filtrlari --- */
.sf-filters {
  display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-end; justify-content: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px 24px; margin-bottom: 28px; box-shadow: var(--sh-1);
}
.sf-field { display: flex; flex-direction: column; gap: 8px; min-width: 200px; flex: 1 1 200px; max-width: 300px; position: relative; }
.sf-field .sf-label { font-size: 11.5px; }
.sf-select-wrap { position: relative; width: 100%; }
.sf-select {
  width: 100%; appearance: none; -webkit-appearance: none;
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 12px 42px 12px 15px; font-family: var(--font); font-weight: 600; font-size: 16px;
  color: var(--ink); cursor: pointer; outline: none; transition: .2s var(--ease);
}
.sf-select:hover { border-color: var(--blue); }
.sf-select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30,91,214,.12); }
.sf-select-ico {
  position: absolute; right: 15px; top: 50%; transform: translateY(-50%);
  pointer-events: none; color: var(--blue); font-size: 14px; font-weight: 700;
}
.sf-add {
  position: absolute; right: -8px; top: -8px; width: 26px; height: 26px; border-radius: 50%;
  border: none; background: var(--grad-blue); color: #fff; font-size: 17px; cursor: pointer;
  line-height: 1; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(30,91,214,.3);
  transition: .18s var(--ease); z-index: 2;
}
.sf-add:hover { transform: scale(1.12); }
.sf-now {
  flex: 1 1 100%; text-align: center; font-size: 13px; color: var(--muted);
  padding-top: 13px; border-top: 1px dashed var(--line); margin-top: 4px;
}
.sf-now b { color: var(--ink); }
.sf-now span { color: var(--blue); font-weight: 600; }
@media (max-width: 640px) {
  .sf-filters { padding: 16px; gap: 12px; border-radius: 14px; }
  .sf-field { min-width: 100%; max-width: 100%; flex: 1 1 100%; }
  .sf-select { font-size: 16px; padding: 13px 42px 13px 15px; }
  .sf-now { font-size: 12.5px; padding-top: 10px; }
}
@media (max-width: 400px) {
  .sf-filters { padding: 13px; }
  .sf-label { font-size: 11px; }
}
.sf-chip {
  background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 18px;
  font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--text);
  cursor: pointer; transition: .2s var(--ease); white-space: nowrap; box-shadow: var(--sh-1);
}
.sf-chip:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.sf-chip--active { background: var(--grad-navy); border-color: var(--navy); color: var(--gold); box-shadow: 0 8px 22px rgba(10,24,48,.24); }

/* ===================== CTA BAND ===================== */
.cta-band { position: relative; background: var(--grad-navy); overflow: hidden; color: #fff; border-radius: var(--r-xl); padding: 52px 48px; box-shadow: var(--sh-3); }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(460px 260px at 90% 10%, rgba(240,180,41,.18), transparent 62%),
              radial-gradient(480px 300px at 5% 95%, rgba(59,130,246,.28), transparent 62%);
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; opacity: .32;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
}
.cta-band .inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.55rem, 2.3vw, 2.05rem); margin-bottom: 10px; font-weight: 800; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 520px; }

/* ===================== FOOTER ===================== */
.footer { background: var(--navy); color: rgba(255,255,255,.7); padding-top: 66px; position: relative; overflow: hidden; }
.footer::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 320px at 92% 6%, rgba(59,130,246,.22), transparent 62%);
}
.footer::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240,180,41,.4), transparent);
}
.footer .container { position: relative; z-index: 1; }
.f-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.footer li { margin-bottom: 10px; }
.footer li a { color: rgba(255,255,255,.7); font-size: 14px; display: inline-flex; align-items: center; gap: 8px; transition: .2s var(--ease); }
.footer li a:hover { color: var(--gold); padding-left: 3px; }
.f-about p { font-size: 14px; margin: 15px 0 20px; max-width: 330px; }
.f-social { display: flex; gap: 10px; }
.f-social a {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.8);
  transition: .25s var(--ease);
}
.f-social a:hover { background: var(--grad-gold); color: var(--navy); border-color: var(--gold); transform: translateY(-3px); }
.f-social a svg { width: 18px; height: 18px; }
.f-contact li { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 14px; font-size: 14px; }
.f-contact svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--gold); }
.f-contact span { color: rgba(255,255,255,.7); }
.f-bottom {
  border-top: 1px solid rgba(255,255,255,.11); padding: 22px 0 28px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.55);
}

/* ===================== MODAL ===================== */
.modal {
  position: fixed; inset: 0; z-index: 1000; background: rgba(10,24,48,.62); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal-card {
  position: relative; background: #fff; border-radius: var(--r-xl); width: 100%; max-width: 580px;
  max-height: 84vh; overflow-y: auto; box-shadow: 0 34px 90px rgba(0,0,0,.44);
  transform: translateY(22px) scale(.96); transition: transform .36s var(--ease);
}
.modal.open .modal-card { transform: none; }
.modal-close {
  position: absolute; top: 15px; right: 15px; z-index: 3; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,.92); cursor: pointer;
  display: grid; place-items: center; color: var(--muted); transition: .22s var(--ease);
  backdrop-filter: blur(8px);
}
.modal-close:hover { background: var(--grad-navy); color: #fff; border-color: var(--navy); transform: rotate(90deg); }
.modal-close svg { width: 18px; height: 18px; }
.modal-hero { height: 200px; position: relative; background: var(--off-white); display: grid; place-items: center; overflow: hidden; }
.modal-hero::after { display: none; }
.modal-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal-hero.news-hero { height: auto; max-height: 60vh; }
.modal-hero.news-hero img { position: static; width: 100%; height: auto; max-height: 60vh; object-fit: contain; background: var(--off-white); }
.rm-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 56px; display: grid; place-items: center;
  border: 0; border-radius: 10px; background: rgba(10,24,48,.62); color: #fff;
  font-size: 26px; font-family: var(--font-head); cursor: pointer; z-index: 2;
  transition: background .2s var(--ease);
}
.rm-nav:hover { background: rgba(10,24,48,.88); }
.rm-nav.prev { left: 10px; }
.rm-nav.next { right: 10px; }
.rm-count {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  font-family: var(--font-head); font-size: 12px; font-weight: 600; color: #fff;
  background: rgba(10,24,48,.72); padding: 4px 12px; border-radius: 999px; z-index: 2;
}
.modal-hero.rect { height: auto; aspect-ratio: 2 / 3; max-height: 46vh; background: var(--grad-navy); }
.modal-hero.rect img { object-fit: cover; }
.modal-hero .initials {
  position: relative; z-index: 1; width: 84px; height: 84px; border-radius: 50%;
  background: var(--blue-pale); border: 2px solid var(--line);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 28px; color: var(--blue);
}
.modal-hero.rect .initials {
  width: 96px; height: 144px; border-radius: 16px;
  background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.4); color: var(--gold);
  backdrop-filter: blur(6px);
}
.modal-body { padding: 28px 30px 32px; }
.modal-body .m-kicker { color: var(--blue); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 9px; }
.modal-body h3 { font-size: 22px; margin-bottom: 7px; }
.modal-body .m-sub { font-size: 14px; color: var(--blue); font-weight: 700; margin-bottom: 15px; }
.modal-body .m-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 17px; }
.modal-body .m-meta span { background: var(--blue-pale); color: var(--blue); font-size: 12.5px; font-weight: 700; padding: 5px 13px; border-radius: 999px; }
.modal-body .m-meta .m-phone { background: var(--gold-pale); color: var(--gold-dark); }
.modal-body .m-text { font-size: 15px; color: var(--text); line-height: 1.78; }

/* --- Keng person modal (ustozlar / rahbarlar / bitiruvchilar) --- */
.modal-card.wide { max-width: 860px; }
.modal-card.wide #modal-body { display: grid; grid-template-columns: 300px 1fr; padding: 0; }
.modal-card.wide .pm-photo {
  position: relative; min-height: 340px; background: var(--grad-navy);
  display: grid; place-items: center; overflow: hidden;
}
.modal-card.wide .pm-photo::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 26px 26px;
}
.modal-card.wide .pm-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.modal-card.wide .pm-photo .initials {
  position: relative; z-index: 1; width: 96px; height: 144px; border-radius: 16px;
  background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.4);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 30px; color: var(--gold);
  backdrop-filter: blur(6px);
}
.modal-card.wide .pm-info { padding: 34px 38px 38px; }
.modal-card.wide .pm-info .m-text { margin-top: 4px; }

/* ===================== ANIMATIONS ===================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* ===================== EDIT MODE ===================== */
body.editing [contenteditable="true"] {
  outline: 2px dashed var(--gold); outline-offset: 3px; border-radius: 5px; cursor: text !important;
  transition: background .2s var(--ease);
}
body.editing [contenteditable="true"]:hover { background: rgba(240,180,41,.14); }
body.editing [contenteditable="true"]:focus { outline-style: solid; outline-color: var(--blue); background: #fff; }
body.editing img.js-editable {
  outline: 2px dashed rgba(240,180,41,.65); outline-offset: 3px; border-radius: 8px; cursor: pointer !important;
  transition: box-shadow .2s var(--ease), outline-color .2s var(--ease);
}
body.editing img.js-editable:hover { box-shadow: 0 0 0 7px rgba(240,180,41,.25); outline-color: var(--gold); }

.edit-banner {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 999;
  background: var(--grad-navy); color: #fff; border-radius: 999px; padding: 13px 16px;
  display: none; align-items: center; gap: 13px; box-shadow: 0 18px 46px rgba(10,24,48,.4);
  border: 1px solid rgba(240,180,41,.42); max-width: calc(100vw - 28px);
}
body.editing .edit-banner { display: flex; }
.edit-banner span { font-size: 13.5px; font-weight: 600; }
.edit-banner .eb-ico { color: var(--gold); display: grid; place-items: center; }
.edit-banner .eb-ico svg { width: 17px; height: 17px; }
.edit-banner button {
  background: var(--grad-gold); color: var(--navy); border: none; border-radius: 999px;
  padding: 9px 19px; font-weight: 700; font-size: 13.5px; cursor: pointer; font-family: var(--font-head);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.edit-banner button:hover { transform: translateY(-2px); box-shadow: var(--sh-gold); }
.edit-banner button.eb-cancel { background: rgba(255,255,255,.12); color: #fff; }
.edit-banner button.eb-cancel:hover { background: rgba(255,255,255,.22); box-shadow: none; }

/* =========================================================
   ONE-PAGE / MULTI-PAGE REJIM
   ========================================================= */
.op-section { display: none; }
body.is-one-page .op-section { display: block; }
body.is-one-page .op-hide-one { display: none; }
.op-hide-multi { display: none; }
body.is-one-page .op-hide-multi { display: inline-flex; }
body.is-one-page .page-head { display: none; }
body.is-one-page { scroll-padding-top: 100px; }
body.is-one-page section[id^="op-"] { scroll-margin-top: 96px; }
body.is-one-page .section:last-of-type { padding-bottom: 44px; }
body.is-one-page section + section { scroll-margin-top: 88px; }

/* ============ SLAYD RASM TAHRIR TUGMALARI ============ */
.slide-img-edit, .slide-img-add {
  position: absolute; top: 14px; z-index: 6;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(10,24,48,.8); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px); transition: .22s var(--ease); opacity: .88;
  box-shadow: 0 6px 18px rgba(0,0,0,.3);
}
.slide-img-edit svg, .slide-img-add svg { width: 18px; height: 18px; }
.slide-img-edit { right: 14px; background: rgba(30,91,214,.88); }
.slide-img-add { right: 62px; background: rgba(240,180,41,.94); color: var(--navy); }
.slide-img-edit:hover, .slide-img-add:hover { opacity: 1; transform: scale(1.12); }
.h-slide-bg { transition: background-image .3s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .f-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .life-grid { grid-template-columns: 1fr; gap: 30px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .ach-list { grid-template-columns: 1fr; }
  .ach.has-img img { width: 92px; height: 124px; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .hamburger { display: block; }
  .g-3 { grid-template-columns: 1fr 1fr; }
  .floor-layout, .plan-layout { grid-template-columns: 1fr; }
  .floor-side { position: static; }
}

@media (max-width: 640px) {
  .section { padding: 58px 0; }
  .container { padding: 0 18px; }
  .g-2, .g-3, .g-4, .stats { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 24px; border-radius: var(--r-lg); }
  .cta-band .inner .btn { width: 100%; }
  .f-grid { grid-template-columns: 1fr; }
  .logo img { height: 44px; width: 44px; }
  .logo-txt b { font-size: 14.5px; }
  .header-cta .btn { display: none; }
  .modal-card.wide #modal-body { grid-template-columns: 1fr; }
  .modal-card.wide .pm-photo { min-height: 220px; aspect-ratio: 16 / 10; }
  .modal-card.wide .pm-info { padding: 24px 22px 26px; }
  .steps { grid-template-columns: 1fr; }
  .ach { flex-direction: column; }
  .h-slide-inner p { font-size: 15px; }
  .topbar { font-size: 12px; }
  .topbar .tb-badge { display: none; }
  .edit-banner { left: 14px; right: 14px; transform: none; justify-content: space-between; flex-wrap: wrap; border-radius: var(--r); }
  .hero-slider .slider-arrow { width: 40px; height: 40px; }
  .hero-slider .slider-arrow.prev { left: 10px; }
  .hero-slider .slider-arrow.next { right: 10px; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ===================== CONTACT (manzil) ===================== */
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; align-items: start; }
.map-card, .form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--sh-1); padding: 24px;
}
.map-title { font-family: var(--font-head); font-weight: 700; font-size: 18px; margin-bottom: 14px; }
.map-wrap { position: relative; width: 100%; height: 380px; border-radius: var(--r-lg); overflow: hidden; border: 1.5px solid var(--line); }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-size: 14.5px; font-weight: 700; color: var(--muted); background: var(--off-white); padding: 20px; }
.map-empty span { display: block; margin-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.contact-meta { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.cm-row { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text); }
.cm-row .cm-ico { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--blue-pale); font-size: 15px; }
.cm-row a { color: var(--blue); font-weight: 600; text-decoration: none; }
.cm-row a:hover { text-decoration: underline; }
.form-card h3 { font-size: 19px; margin-bottom: 6px; }
.form-note { font-size: 13.5px; color: var(--muted); margin: 0 0 18px; }
.contact-grid .field { margin-bottom: 14px; }
.contact-grid .field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.contact-grid .field input,
.contact-grid .field textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 14.5px; font-family: inherit; color: var(--ink); background: #fff;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.contact-grid .field input:focus,
.contact-grid .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30,91,214,.12); }
.form-status { margin-top: 12px; font-size: 14px; font-weight: 600; opacity: 0; max-height: 0; overflow: hidden; transition: opacity .3s var(--ease), max-height .3s var(--ease); }
.form-status.show { opacity: 1; max-height: 80px; }
.form-status.ok { color: #15803D; }
.form-status.err { color: #B91C1C; }

/* ===================== MAKTAB XARITASI ===================== */
.floor-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-bottom: 34px;
}
.floor-tab {
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  padding: 12px 34px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--white); color: var(--text); cursor: pointer;
  box-shadow: var(--sh-1);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.floor-tab:hover { transform: translateY(-2px); border-color: var(--blue); color: var(--blue); }
.floor-tab.active {
  background: var(--grad-blue); color: #fff; border-color: transparent;
  box-shadow: 0 12px 34px rgba(30,91,214,.34);
}
.floor-tab.active:hover { color: #fff; }

.floor-layout { display: grid; grid-template-columns: 1.9fr 1fr; gap: 26px; align-items: start; }
.plan-layout { display: grid; grid-template-columns: minmax(0,1.9fr) minmax(0,1fr); gap: 26px; align-items: start; }
.plan-card {
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-lg);
  padding: 18px; box-shadow: var(--sh-1);
}
.plan-canvas { position: relative; width: 100%; }
/* plan-hint duplicate removed */
.floor-plan-card {
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-lg);
  padding: 18px; box-shadow: var(--sh-1);
}
.floor-plan {
  position: relative; width: 100%;
  border-radius: var(--r); overflow: hidden; border: 1.5px solid var(--line);
  background: var(--off-white);
}
.floor-plan > img { display: block; width: 100%; height: auto; object-fit: contain; }
.floor-empty {
  aspect-ratio: 16/10; display: grid; place-items: center; text-align: center;
  font-size: 14.5px; font-weight: 700; color: var(--muted); background: var(--off-white); padding: 20px;
}
.floor-empty span { display: block; margin-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.plan-hint { margin-top: 12px; text-align: center; font-size: 13px; color: var(--muted); font-weight: 600; }

/* ---- hover tooltip (xona nomi) ---- */
.room-tip {
  position: fixed; z-index: 960; pointer-events: none;
  transform: translate(-50%, -100%);
  background: var(--navy); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: 13.5px;
  padding: 8px 14px; border-radius: 10px; white-space: nowrap;
  box-shadow: 0 10px 28px rgba(10,24,48,.35);
  opacity: 0; transition: opacity .16s var(--ease);
}
.room-tip.show { opacity: 1; }
.room-tip::after {
  content: ""; position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%) rotate(45deg);
  width: 10px; height: 10px; background: var(--navy); border-radius: 2px;
}

/* ---- chizilgan qavat reja (SVG) ---- */
.plan-svg { display: block; width: 100%; height: auto; overflow: visible; }
.plan-face {
  fill: #c9d4e2;
  stroke: #0d2038;
  stroke-width: 3.2;
  stroke-linejoin: round;
  transition: fill .18s var(--ease);
}
.plan-room.soft .plan-face { fill: #dbe3ed; }
.plan-room { cursor: pointer; outline: none; transform-box: fill-box; transform-origin: center; }
.plan-room { transition: transform .18s cubic-bezier(.2,.8,.2,1); }
.plan-room:hover,
.plan-room:focus-visible { transform: translateY(-3px); }
.plan-room:hover .plan-face,
.plan-room.on .plan-face,
.plan-room:focus-visible .plan-face { fill: #a9c3e4; }
.plan-room.on {
  filter: drop-shadow(0 0 10px rgba(30,91,214,.55));
  animation: roomHi 1.5s ease-in-out infinite;
}
@keyframes roomHi {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(30,91,214,.4)); }
  50% { filter: drop-shadow(0 0 16px rgba(30,91,214,.75)); }
}
.plan-dot { fill: var(--gold); stroke: #0d2038; stroke-width: .8; pointer-events: none; }
.plan-room.pop { animation: roomPop .38s var(--ease); }
@keyframes roomPop {
  0% { transform: scale(1); }
  45% { transform: scale(1.05) translateY(-3px); }
  100% { transform: scale(1); }
}
.f-marker {
  position: absolute; transform: translate(-50%, -50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad-gold); color: var(--navy);
  font-family: var(--font-head); font-weight: 800; font-size: 15px;
  display: grid; place-items: center; cursor: pointer; border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(10,24,48,.3);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.f-marker:hover { transform: translate(-50%, -50%) scale(1.18); z-index: 2; }
.f-marker.on {
  background: var(--grad-blue); color: #fff; z-index: 3;
  box-shadow: 0 0 0 6px rgba(30,91,214,.22), 0 8px 22px rgba(10,24,48,.34);
  animation: fPulse 1.6s ease-in-out infinite;
}
@keyframes fPulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(30,91,214,.22), 0 8px 22px rgba(10,24,48,.34); }
  50% { box-shadow: 0 0 0 12px rgba(30,91,214,.08), 0 8px 22px rgba(10,24,48,.34); }
}

.floor-side { position: sticky; top: 96px; }
.floor-rooms { display: flex; flex-direction: column; gap: 10px; }

/* ---- xona qidirish ---- */
.room-search { position: sticky; top: 96px; }
.room-search input {
  width: 100%; padding: 13px 16px; font: 600 15px var(--font); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--r); background: var(--white);
  box-shadow: var(--sh-1); outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.room-search input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30,91,214,.12); }
.room-search-results { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; max-height: 60vh; overflow-y: auto; }
.search-empty {
  font-size: 13.5px; color: var(--muted); text-align: center; line-height: 1.6;
  background: var(--white); border: 1.5px dashed var(--line); border-radius: var(--r); padding: 22px 14px;
}
.search-empty b { color: var(--blue); }
.search-empty span { display: block; margin-top: 6px; font-size: 12.5px; }
.room-search-results .room-item { animation: searchIn .25s var(--ease); }
@keyframes searchIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.room-item {
  display: flex; align-items: flex-start; gap: 12px; width: 100%; text-align: left;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r);
  padding: 13px 15px; cursor: pointer; box-shadow: var(--sh-1);
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.room-item:hover { transform: translateX(3px); border-color: var(--blue); }
.room-item.on { border-color: var(--blue); background: var(--blue-pale); box-shadow: 0 10px 26px rgba(30,91,214,.16); }
.room-num {
  width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center;
  background: var(--blue-pale); color: var(--blue); font-family: var(--font-head); font-weight: 800; font-size: 14px;
}
.room-item.on .room-num { background: var(--blue); color: #fff; }
.room-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.room-txt b { font-size: 14.5px; color: var(--ink); font-weight: 700; }
.room-txt span { font-size: 13px; color: var(--muted); line-height: 1.45; }

@media (max-width: 900px) {
  .floor-layout { grid-template-columns: 1fr; }
  .floor-side { position: static; }
}
@media (max-width: 560px) {
  .floor-tab { padding: 10px 20px; font-size: 13.5px; }
  .f-marker { width: 32px; height: 32px; font-size: 13px; }
}

/* =========================================================
   MAKTAB XARITASI — yozuvlar, legenda, mobil joylashuv
   ========================================================= */
.plan-label {
  fill: #0d2038; font-family: var(--font-head), sans-serif; font-weight: 700;
  pointer-events: none; user-select: none; letter-spacing: .01em;
  paint-order: stroke; stroke: rgba(255,255,255,.55); stroke-width: .9px; stroke-linejoin: round;
}
.plan-label.soft { fill: #5b6b80; font-weight: 600; }
.plan-room:hover .plan-label, .plan-room.on .plan-label { fill: #0b2a6b; }
.plan-legend {
  display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 12px; padding: 0 4px;
  font-size: 12.5px; font-weight: 600; color: var(--muted);
}
.plan-legend span { display: inline-flex; align-items: center; gap: 7px; }
.plan-legend .lg { width: 14px; height: 10px; border-radius: 3px; border: 1.5px solid #0d2038; display: inline-block; }
.plan-legend .lg-room { background: #c9d4e2; }
.plan-legend .lg-hall { background: #dbe3ed; }
.plan-legend .lg-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); border-width: 1px; }
.search-caption {
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  padding: 2px 4px 0;
}
.plan-canvas .plan-svg { max-height: 72vh; margin: 0 auto; }

@media (max-width: 900px) {
  .plan-layout.plan-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .plan-layout > *, .plan-card, .plan-canvas, .plan-legend { min-width: 0; max-width: 100%; }
  .plan-layout .floor-side, .plan-layout .room-search { position: static; }
  .plan-canvas .plan-svg { max-height: none; }
  .room-search-results { max-height: none; }
  .plan-card { padding: 14px; }
  .floor-tabs { margin-bottom: 22px; gap: 8px; }
}
@media (max-width: 640px) {
  .plan-hint::after { content: " · Ikki barmoq bilan kattalashtiring"; }
}

/* =========================================================
   UMUMIY SAYQAL — rasmiy ko'rinish
   ========================================================= */
/* Ichki sahifalarda sarlavha page-head da; bo'lim ichida qayta chiqmasin */
.page-head + .section > .container > .sec-head.center > h2,
.page-head + .section > .container > .sec-head.center > p { display: none; }
.page-head + .section > .container > .sec-head.center { margin-bottom: 28px; }
.page-head + .section > .container > .sec-head.center .kicker { margin-bottom: 0; }

/* Rasmsiz ustoz/rahbar kartasi — bo'sh kulrang o'rniga chiroyli fon */
.t-photo:not(:has(img)) {
  background:
    radial-gradient(120% 80% at 50% 110%, rgba(240,180,41,.22), transparent 60%),
    radial-gradient(90% 70% at 50% -10%, rgba(59,130,246,.35), transparent 60%),
    linear-gradient(160deg, #102350, #1E5BD6);
}
.t-photo:not(:has(img))::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .22;
  background-image: radial-gradient(rgba(255,255,255,.55) 1px, transparent 1.4px);
  background-size: 16px 16px;
}
.t-photo:not(:has(img))::after { display: none; }
.t-photo:not(:has(img)) .initials {
  width: 104px; height: 104px; border-radius: 50%; font-size: 34px; color: #fff;
  background: rgba(255,255,255,.14); border: 2px solid rgba(255,255,255,.55);
  box-shadow: 0 14px 34px rgba(10,24,48,.35), inset 0 0 0 6px rgba(255,255,255,.08);
  backdrop-filter: blur(4px);
}
@media (max-width: 640px) {
  .t-photo:not(:has(img)) { aspect-ratio: 4 / 3; }
  .page-head { padding: 34px 0 30px; }
  .page-head h1 { font-size: 1.65rem; }
}

/* Fokus ko'rinishi (klaviatura) va silliq o'tishlar */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid rgba(30,91,214,.45); outline-offset: 2px; border-radius: 6px;
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
img { max-width: 100%; }
::selection { background: rgba(30,91,214,.18); }

/* =========================================================
   YANGILIKLAR / YUTUQLAR / DARS JADVALI — yangi dizayn
   (telefon va kompyuter uchun alohida moslashtirilgan)
   ========================================================= */

/* ---------- Rasmni to'liq ko'rish (lightbox) ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1200; display: none;
  background: rgba(6, 12, 24, .965); backdrop-filter: blur(10px);
  padding: 28px 18px; place-items: center;
}
.lightbox.open { display: grid; animation: lbIn .22s ease both; }
@keyframes lbIn { from { opacity: 0 } to { opacity: 1 } }
.lightbox figure { margin: 0; max-width: 100%; text-align: center; }
.lightbox img {
  max-width: min(94vw, 1100px); max-height: 82vh; width: auto; height: auto;
  border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.6); background: #fff;
  animation: lbZoom .26s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes lbZoom { from { transform: scale(.94); opacity: 0 } to { transform: scale(1); opacity: 1 } }
.lightbox figcaption {
  margin-top: 14px; color: #fff; font-weight: 600; font-size: 14.5px;
  max-width: 680px; margin-inline: auto; text-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.lb-close {
  position: fixed; top: 16px; right: 18px; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); color: #fff;
  font-size: 26px; line-height: 1; cursor: pointer; transition: .2s; z-index: 2;
}
.lb-close:hover { background: rgba(255,255,255,.24); transform: rotate(90deg); }
.zoom-hint {
  position: absolute; right: 10px; bottom: 10px; z-index: 3;
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(10,24,48,.56); color: #fff; font-size: 14px; backdrop-filter: blur(4px);
  opacity: 0; transform: translateY(5px); transition: .25s var(--ease); pointer-events: none;
}
.news-thumb .zoom-hint { right: auto; left: 10px; }
.news-thumb:hover .zoom-hint, .ach-media:hover .zoom-hint { opacity: 1; transform: translateY(0); }

/* ---------- "Batafsil" — matn qisqartirilgan holda ---------- */
.clamp-wrap { position: relative; margin-top: 2px; }
.clamp-text, .clamp-full {
  font-size: 14.2px; line-height: 1.68; color: var(--muted); margin: 0;
  white-space: pre-line; word-break: break-word;
}
.clamp-text {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  line-clamp: 2; overflow: hidden;
}
.clamp-full { display: none; animation: clampIn .3s var(--ease) both; }
@keyframes clampIn { from { opacity: 0; transform: translateY(-5px) } to { opacity: 1; transform: none } }
.clamp-wrap.open .clamp-text { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }
.clamp-wrap.open[data-hasfull] .clamp-text { display: none; }
.clamp-wrap.open[data-hasfull] .clamp-full { display: block; }
.clamp-wrap.no-clamp .clamp-text { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }
.clamp-wrap.no-clamp .clamp-full { display: block; }
.clamp-btn {
  margin-top: 10px; display: inline-flex; align-items: center; gap: 6px;
  border: 0; background: transparent; padding: 4px 0; cursor: pointer;
  font: 700 13.5px var(--font); color: var(--blue); letter-spacing: .01em;
}
.clamp-btn svg { width: 14px; height: 14px; transition: transform .28s var(--ease); }
.clamp-wrap.open .clamp-btn svg { transform: rotate(180deg); }
.clamp-btn:hover { color: var(--navy); }
.clamp-btn:hover svg { transform: translateY(2px); }
.clamp-wrap.open .clamp-btn:hover svg { transform: rotate(180deg) translateY(2px); }

/* ---------- Yangiliklar kartasi ---------- */
.news-card { cursor: default; }
.news-thumb { cursor: zoom-in; }
.news-body h3 { line-height: 1.38; }
.news-body .clamp-wrap { flex: 1; display: flex; flex-direction: column; }
.news-body .clamp-btn { margin-top: auto; padding-top: 10px; align-self: flex-start; }

/* ---------- Yutuqlar ---------- */
.ach-tab { position: relative; }
.ach-tab .tab-n {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px;
  margin-left: 8px; border-radius: 999px; font-size: 11.5px; font-weight: 800;
  background: var(--blue-pale); color: var(--blue);
}
.ach-tab.active .tab-n { background: rgba(255,255,255,.16); color: var(--gold); }
.ach-list { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 430px), 1fr)); align-items: start; }
.ach-card {
  display: grid; grid-template-columns: 148px 1fr; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh-1); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.ach-card:hover { transform: translateY(-5px); box-shadow: var(--sh-3); }
.ach-card:not(.has-img) { grid-template-columns: 78px 1fr; }
.ach-card:not(.has-img) .ach-media { background: #fff; padding: 18px 0 18px 18px; place-items: start; }
.ach-card:not(.has-img) .ach-body { padding-left: 14px; }
.ach-media { position: relative; overflow: hidden; background: var(--off-white); display: grid; place-items: center; }
.ach-card.has-img .ach-media { cursor: zoom-in; min-height: 168px; }
.ach-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s var(--ease); }
.ach-card.has-img:hover .ach-media img { transform: scale(1.06); }
.ach-media .medal {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: var(--grad-navy); color: var(--gold); box-shadow: var(--sh-2);
  transition: transform .35s var(--ease);
}
.ach-card:hover .medal { transform: rotate(-8deg) scale(1.08); }
.ach-media .medal svg { width: 26px; height: 26px; }
.ach-body { padding: 18px 20px 18px; min-width: 0; }
.ach-body h3 { font-size: 16.5px; margin-bottom: 6px; line-height: 1.35; }
.ach-body .who {
  display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--blue);
  background: var(--blue-pale); border-radius: 999px; padding: 4px 11px; margin-bottom: 10px;
}
.state-empty {
  text-align: center; padding: 44px 20px; color: var(--muted);
  border: 1.5px dashed var(--line); border-radius: var(--r-lg); background: var(--off-white);
}

/* =========================================================
   DARS JADVALI — filtr menyusi
   ========================================================= */
.sf-bar {
  display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px 20px; box-shadow: var(--sh-2); margin-bottom: 26px;
}
.sf-group { min-width: 0; }
.sf-group.sf-grow { flex: 0 1 270px; min-width: 215px; }
.sf-cap {
  display: block; font-size: 11px; font-weight: 800; letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 9px;
}
.sf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-chip {
  position: relative; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 999px; padding: 9px 16px; cursor: pointer; white-space: nowrap;
  font: 700 13.5px var(--font); transition: .22s var(--ease);
}
.sf-chip i { display: none; font-style: normal; }
.sf-chip:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.sf-chip.active {
  background: var(--grad-navy); border-color: var(--navy); color: #fff;
  box-shadow: 0 8px 20px rgba(10,24,48,.24);
}
.sf-chip.is-today::after {
  content: ""; position: absolute; top: 6px; right: 8px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px #fff;
}
.sf-chip.active.is-today::after { box-shadow: 0 0 0 2px var(--navy); }
.sf-chip.add { border-style: dashed; color: var(--blue); font-weight: 800; padding-inline: 14px; }

/* ---------- Jadval kartasi ---------- */
.sched-week { display: grid; gap: 20px; }
.sched-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh-2); margin-bottom: 20px;
}
.sched-head {
  display: flex; align-items: center; gap: 14px; padding: 16px 22px;
  background: var(--grad-navy); color: #fff;
}
.sched-head h3 { color: #fff; font-size: 18px; margin: 0 0 3px; }
.sched-head .sh-main span { font-size: 13px; color: rgba(255,255,255,.72); font-weight: 600; }
.today-badge {
  margin-left: auto; flex: none; font-size: 11.5px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--navy); background: var(--gold);
  border-radius: 999px; padding: 6px 13px;
}
.sched-table { display: block; }
.sched-row {
  display: grid; grid-template-columns: 64px 132px 1fr 1fr; gap: 14px;
  align-items: center; padding: 13px 22px; border-top: 1px solid var(--line);
  transition: background .2s;
}
.sched-table.is-admin .sched-row { grid-template-columns: 64px 132px 1fr 1fr 36px; }
.sched-row.head {
  border-top: 0; background: var(--off-white); padding-top: 11px; padding-bottom: 11px;
  font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--muted);
}
.sched-row:not(.head):hover { background: var(--blue-pale); }
.s-num {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--blue-pale); color: var(--blue); font-family: var(--font-head);
  font-weight: 800; font-size: 14px;
}
.s-time { font-size: 13.5px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.s-sub { font-size: 15px; font-weight: 700; color: var(--ink); }
.s-tch { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.s-del {
  width: 28px; height: 28px; border-radius: 8px; border: 1.5px solid #f3c9c9; background: #fff;
  color: #c0392b; font-size: 17px; line-height: 1; cursor: pointer; transition: .2s;
}
.s-del:hover { background: #fdecec; }
.sched-none { padding: 34px 22px; text-align: center; color: var(--muted); font-size: 14.5px; }
.sched-empty {
  text-align: center; padding: 54px 24px; background: var(--off-white);
  border: 1.5px dashed var(--line); border-radius: var(--r-lg);
}
.sched-empty span { font-size: 38px; display: block; margin-bottom: 12px; }
.sched-empty b { display: block; font-family: var(--font-head); font-size: 18px; margin-bottom: 6px; }
.sched-empty p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- Admin: dars qo'shish ---------- */
.sched-add {
  margin-top: 18px; background: var(--off-white); border: 1.5px dashed var(--line);
  border-radius: var(--r-lg); padding: 16px 18px;
}
.sa-title { font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.sa-grid { display: grid; grid-template-columns: 110px 160px 1fr 1fr auto; gap: 10px; }
.sa-grid input {
  width: 100%; padding: 10px 13px; border: 1.5px solid var(--line); border-radius: 10px;
  font: 600 13.5px var(--font); background: #fff; color: var(--ink);
}
.sa-grid input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px rgba(30,91,214,.12); }
.sa-hint { margin-top: 10px; font-size: 12.5px; color: var(--muted); }

/* =========================================================
   TELEFON (≤860px) — alohida joylashuv
   ========================================================= */
@media (max-width: 860px) {
  .ach-list { grid-template-columns: 1fr; gap: 14px; }
  .sf-bar { padding: 14px; display: block; }
  .sf-bar .sf-group + .sf-group { margin-top: 14px; }
  .sf-group, .sf-chips { min-width: 0; max-width: 100%; }
  .sf-group.sf-grow { flex: 1 1 auto; }
  .sa-grid { grid-template-columns: 1fr 1fr; }
  .sa-grid input:nth-child(3), .sa-grid input:nth-child(4), .sa-grid .btn { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  /* --- filtr: yon tomonga suriladigan chiplar --- */
  .sf-chips {
    flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity;
    padding-bottom: 4px; max-width: 100%;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .sf-chips::-webkit-scrollbar { display: none; }
  .sf-chip { scroll-snap-align: start; flex: none; padding: 9px 14px; font-size: 13px; }
  .sf-chip b { display: none; }
  .sf-chip i { display: inline; }
  .sf-chip[data-sf-class] b, .sf-chip.add b { display: inline; }
  .sf-select { font-size: 14px; }

  /* --- jadval: har bir dars alohida karta --- */
  .sched-card { border-radius: var(--r-md, 14px); }
  .sched-head { padding: 14px 16px; }
  .sched-head h3 { font-size: 16.5px; }
  .sched-row.head { display: none; }
  .sched-table { padding: 10px; display: grid; gap: 10px; }
  .sched-row {
    grid-template-columns: 40px 1fr auto;
    grid-template-areas: "n s s" "n t c";
    gap: 3px 12px; padding: 12px 13px; border: 1px solid var(--line);
    border-radius: 13px; background: #fff; align-items: center;
  }
  .sched-table.is-admin .sched-row { grid-template-columns: 40px 1fr auto; }
  .sched-row:not(.head):hover { background: #fff; }
  .s-num { grid-area: n; align-self: center; width: 36px; height: 36px; font-size: 14.5px; }
  .s-sub { grid-area: s; font-size: 15px; line-height: 1.3; }
  .s-time { grid-area: t; font-size: 12.5px; color: var(--blue); font-weight: 700; }
  .s-tch { grid-area: c; font-size: 12.5px; text-align: right; }
  .s-del { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; font-size: 14px; }
  .sched-table.is-admin .sched-row { position: relative; padding-right: 40px; }

  /* --- yutuq kartasi: rasm tepada --- */
  .ach-card, .ach-card:not(.has-img) { grid-template-columns: 1fr; }
  .ach-card.has-img .ach-media { aspect-ratio: 16 / 10; }
  .ach-card:not(.has-img) .ach-media {
    aspect-ratio: auto; padding: 16px 16px 0; background: #fff; place-items: start;
  }
  .ach-body { padding: 15px 16px 17px; }
  .ach-body h3 { font-size: 16px; }

  /* --- yangilik kartasi --- */
  .news-thumb { height: auto; aspect-ratio: 16 / 9; }
  .news-body { padding: 16px 16px 18px; }
  .news-body h3 { font-size: 16.5px; }
  .clamp-text, .clamp-full { font-size: 14px; }
  .zoom-hint { opacity: 1; transform: none; }

  /* --- lightbox --- */
  .lightbox { padding: 60px 12px 24px; }
  .lightbox img { max-height: 74vh; }
  .lb-close { top: 10px; right: 10px; }
}

/* ---------- Xarita: raqamli yorliqlar, zoom, telefon ---------- */
.plan-label { font-weight: 800; fill: #15305c; stroke-width: 1.1px; }
.plan-room:hover .plan-label, .plan-room.on .plan-label { fill: #0b2a6b; }
.plan-legend .lg-note { margin-left: auto; font-weight: 600; color: var(--muted); }
.plan-stage { position: relative; }
.plan-canvas { overflow: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; touch-action: pan-x pan-y; max-height: 76vh; border-radius: 12px; }
.plan-canvas.zoomed { cursor: grab; }
.plan-canvas .plan-svg { display: block; width: 100%; height: auto; max-height: 72vh; transition: width .18s ease; }
.plan-zoom {
  margin: 8px 0 0 auto; width: max-content; display: flex; align-items: center; gap: 2px;
  background: var(--off-white); border: 1px solid var(--line); border-radius: 12px; padding: 3px;
}
.plan-zoom button {
  width: 34px; height: 34px; border: 0; border-radius: 9px; background: transparent; cursor: pointer;
  font: 800 18px var(--font); color: var(--navy); transition: .18s;
}
.plan-zoom button:hover { background: var(--blue-pale); color: var(--blue); }
.plan-zoom button.reset { font-size: 15px; }
.plan-zoom span { min-width: 44px; text-align: center; font-size: 12px; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .floor-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 8px; padding-bottom: 4px; justify-content: flex-start; }
  .floor-tabs::-webkit-scrollbar { display: none; }
  .floor-tab { flex: none; }
  .plan-card { padding: 12px; }
  .plan-legend { gap: 6px 12px; font-size: 12px; margin-bottom: 10px; }
  .plan-legend .lg-note { margin-left: 0; width: 100%; }
  .plan-canvas { max-height: none; }
  .plan-canvas .plan-svg { max-height: none; }
  .plan-zoom { margin: 8px auto 0; }
  .plan-zoom button { width: 38px; height: 38px; }
  .plan-hint { font-size: 12.5px; margin-top: 10px; }
  .floor-side .blocks-title { font-size: 18px; margin-top: 4px; }
  .room-item { padding: 12px 13px; }
  #modal .modal-card.wide { width: calc(100vw - 20px); max-height: 90vh; }
  .modal-hero.news-hero img { max-height: 46vh; object-fit: contain; background: #0a1830; }
}

/* ===== Yumshoq burchaklar: logo va rasmlar (o'tkir uchlar yo'q) ===== */
.logo img, .footer-logo img, .site-logo img { border-radius: 12px !important; }
.news-thumb, .ach-media, .t-photo, .modal-hero { border-radius: 14px; overflow: hidden; }
.ach-card.has-img .ach-media { border-radius: 14px 0 0 14px; }
.news-thumb img, .ach-media img, .t-photo img, .modal-hero img,
.lightbox img, .room-photos img, .m-photos img, .gallery img { border-radius: 12px; }
.news-thumb img, .ach-media img, .t-photo img { border-radius: 0; } /* konteyner o'zi yumaloqlaydi */
@media (max-width: 640px) {
  .logo img { border-radius: 10px !important; }
  .ach-card.has-img .ach-media { border-radius: 14px 14px 0 0; }
}

/* ===== Hamma joyda logo bir xil: footerdagidek oq yumaloq plitka ===== */
.logo img, .js-logo {
  background: #fff !important; border-radius: 12px !important; padding: 3px;
  box-sizing: border-box; object-fit: contain;
  box-shadow: 0 0 0 1px rgba(30,45,90,.14), 0 4px 12px rgba(10,24,48,.10) !important;
}

/* ===== Foydalanuvchi AI yordamchisi ===== */
.sc-root { position: fixed; right: 20px; bottom: 20px; z-index: 900; font-family: var(--font-body, inherit); }
.sc-fab {
  display: flex; align-items: center; gap: 10px; border: 0; cursor: pointer; padding: 7px 18px 7px 7px;
  background: var(--navy, #0A1830); color: #fff; border-radius: 999px; font: 700 14px/1 inherit;
  box-shadow: 0 10px 30px rgba(10,24,48,.35); transition: transform .2s, box-shadow .2s;
}
.sc-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(10,24,48,.42); }
.sc-fab img, .sc-head img {
  width: 40px; height: 40px; object-fit: contain; background: #fff; border-radius: 12px; padding: 3px; box-sizing: border-box;
  box-shadow: 0 0 0 1px rgba(30,45,90,.14);
}
.sc-root.open .sc-fab { display: none; }
.sc-panel {
  position: absolute; right: 0; bottom: 0; width: 380px; max-width: calc(100vw - 24px); height: min(560px, calc(100vh - 40px));
  display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 24px 70px rgba(10,24,48,.35), 0 0 0 1px rgba(30,45,90,.08); animation: scUp .25s ease;
}
.sc-panel[hidden] { display: none; }
@keyframes scUp { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.sc-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: linear-gradient(135deg, #0A1830, #1E3A8A); color: #fff; }
.sc-head div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sc-head b { font-size: 15px; }
.sc-head span { font-size: 12px; opacity: .78; }
.sc-x { border: 0; background: rgba(255,255,255,.14); color: #fff; width: 32px; height: 32px; border-radius: 10px; font-size: 22px; line-height: 1; cursor: pointer; }
.sc-x:hover { background: rgba(255,255,255,.26); }
.sc-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: #F6F8FC; overscroll-behavior: contain; }
.sc-msg { display: flex; flex-direction: column; gap: 8px; max-width: 88%; }
.sc-msg.me { align-self: flex-end; align-items: flex-end; }
.sc-bubble { padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.sc-msg.bot .sc-bubble { background: #fff; color: #1b2438; border: 1px solid #E3E8F2; border-top-left-radius: 6px; }
.sc-msg.me .sc-bubble { background: var(--blue, #1E5BD6); color: #fff; border-top-right-radius: 6px; }
.sc-msg.typing .sc-bubble { animation: scBlink 1s infinite; }
@keyframes scBlink { 50% { opacity: .4; } }
.sc-links { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-links a { font-size: 13px; font-weight: 700; text-decoration: none; color: var(--blue, #1E5BD6); background: #fff; border: 1.5px solid var(--blue, #1E5BD6); border-radius: 999px; padding: 6px 12px; }
.sc-links a:hover { background: var(--blue, #1E5BD6); color: #fff; }
.sc-sugg { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 16px 12px; background: #F6F8FC; }
.sc-sugg button { border: 1.5px solid #D5DDEC; background: #fff; border-radius: 999px; padding: 7px 12px; font-size: 13px; cursor: pointer; color: #1b2438; }
.sc-sugg button:hover { border-color: var(--blue, #1E5BD6); color: var(--blue, #1E5BD6); }
.sc-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid #E3E8F2; background: #fff; }
.sc-form input { flex: 1; min-width: 0; border: 1.5px solid #D5DDEC; border-radius: 12px; padding: 11px 14px; font-size: 16px; outline: none; }
.sc-form input:focus { border-color: var(--blue, #1E5BD6); box-shadow: 0 0 0 3px rgba(30,91,214,.14); }
.sc-form button { flex: none; width: 46px; border: 0; border-radius: 12px; background: var(--blue, #1E5BD6); color: #fff; cursor: pointer; display: grid; place-items: center; }
@media (max-width: 640px) {
  .sc-root { right: 12px; bottom: 12px; }
  .sc-fab-txt { display: none; }
  .sc-fab { padding: 6px; }
  .sc-root.open { right: 0; bottom: 0; left: 0; }
  .sc-panel { position: fixed; inset: auto 0 0 0; width: 100%; max-width: 100%; height: min(78vh, 640px); border-radius: 20px 20px 0 0; }
}

.person .clamp-text, .person .clamp-full { font-size: 14px; }
.person .clamp-wrap { text-align: left; }

/* ===== Bosh sahifa: qisqa "Biz haqimizda" ===== */
.home-about .ha-card { max-width: 860px; margin: 0 auto; text-align: left; }
.home-about .ha-text {
  font-size: 1.05rem; line-height: 1.75; color: var(--muted); margin: 6px 0 22px;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden;
  white-space: pre-line;
}
body.editing .home-about .ha-text, .home-about .ha-text[contenteditable="true"] { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }
.home-about .btn { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 640px) { .home-about .ha-text { font-size: 1rem; line-height: 1.7; } }
