/* ==========================================================================
   Parkent tumani Obodonlashtirish boshqarmasi — dizayn tizimi
   Palitra logodan olingan: o'rmon yashili + krem, aksent — oltin.
   ========================================================================== */
:root {
  --forest-900: #0b2a19;
  --forest-800: #0f3a23;
  --forest-700: #14502f;
  --forest-600: #175f3a;
  --forest-500: #1b7a46;
  --forest-100: #e1efe4;
  --cream-100: #f7ecd8;
  --cream-200: #ecdfc4;
  --paper: #fbf8f0;
  --tint: #f4ecda;
  --card: #fffdf8;
  --line: #e9dfc7;
  --gold: #c39a3a;
  --gold-d: #9a741c;
  --gold-l: #e9c776;
  --ink: #1c2a21;
  --muted: #667064;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(11, 42, 25, .04), 0 8px 24px rgba(11, 42, 25, .07);
  --shadow-lg: 0 2px 6px rgba(11, 42, 25, .05), 0 24px 56px rgba(11, 42, 25, .14);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cg fill='none' stroke='%23f7ecd8' stroke-opacity='.07' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M70 14c22 11 33 33 22 55-22 0-38-17-22-55z'/%3E%3Cpath d='M70 69v30'/%3E%3Cpath d='M14 104c16 6 27 22 22 38-16 0-27-13-22-38z'/%3E%3Cpath d='M112 112c10 4 17 13 14 24-10 0-17-8-14-24z'/%3E%3C/g%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--forest-600); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; color: var(--forest-800); margin: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.i { width: 1.2em; height: 1.2em; flex: none; }
.muted { color: var(--muted); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--forest-800); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 200; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------- tugmalar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 24px; border-radius: 14px; border: 1.5px solid transparent; font-weight: 700; font-size: .93rem; text-decoration: none; line-height: 1.2; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn .i { transition: transform .25s var(--ease); }
.btn:hover .i:last-child { transform: translateX(3px); }
.btn-primary { background: var(--forest-600); color: #fff; box-shadow: 0 6px 18px rgba(23, 95, 58, .28); }
.btn-primary:hover { background: var(--forest-500); }
.btn-cream { background: var(--cream-100); color: var(--forest-800); }
.btn-cream:hover { background: #fff; }
.btn-gold { background: var(--gold); color: var(--forest-900); box-shadow: 0 6px 18px rgba(195, 154, 58, .35); }
.btn-gold:hover { background: var(--gold-l); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.btn-soft { background: var(--forest-100); color: var(--forest-700); padding: 10px 18px; }
.btn-soft:hover { background: var(--forest-600); color: #fff; }

/* ---------- yuqori yo'l (util) ---------- */
.util { background: var(--forest-900); color: rgba(247, 236, 216, .85); font-size: .82rem; }
.util-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.util-tag { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--serif); font-style: italic; font-size: .92rem; color: var(--gold-l); }
.util-right { display: flex; align-items: center; gap: 18px; }
.util-phone { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font-weight: 600; }
.util-phone:hover { color: #fff; }
.langs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.langs a { padding: 4px 12px; border-radius: 999px; text-decoration: none; color: inherit; font-weight: 700; font-size: .76rem; letter-spacing: .04em; transition: background .2s, color .2s; }
.langs a:hover { color: #fff; }
.langs a.on { background: var(--cream-100); color: var(--forest-800); }

/* ---------- sarlavha (head) ---------- */
.head { background: var(--cream-100); border-bottom: 1px solid var(--cream-200); }
.head-row { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: inherit; flex: 1 1 auto; min-width: 0; }
.brand img { width: auto; height: 76px; }
.brand strong { display: block; font-family: var(--serif); font-size: 1.32rem; line-height: 1.2; color: var(--forest-800); }
.brand small { color: var(--muted); font-size: .82rem; }
.head-info { display: flex; gap: 26px; }
.head-info li { display: flex; align-items: center; gap: 12px; }
.chip { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--forest-600); box-shadow: var(--shadow); }
.head-info small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.head-info b { font-size: .92rem; color: var(--forest-800); white-space: nowrap; }

/* ---------- navigatsiya ---------- */
.navbar { position: sticky; top: 0; z-index: 60; background: var(--forest-800); transition: box-shadow .3s; }
.navbar.stuck { box-shadow: 0 10px 30px rgba(11, 42, 25, .28); }
.nav-row { position: relative; }
.navbar ul { display: flex; justify-content: space-between; gap: 2px; }
.navbar li a { position: relative; display: block; padding: 17px 14px; color: rgba(255, 255, 255, .86); text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; transition: color .2s; }
.navbar li a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 9px; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.navbar li a:hover { color: #fff; }
.navbar li a:hover::after, .navbar li a.on::after { transform: scaleX(1); }
.navbar li a.on { color: var(--gold-l); }
.nav-toggle { display: none; align-items: center; gap: 10px; background: none; border: 0; color: #fff; padding: 14px 0; font-weight: 700; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: clamp(500px, 68vh, 660px); background: var(--forest-900); color: #fff; overflow: hidden; }
.slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.slide.on { opacity: 1; visibility: visible; z-index: 1; }
.slide-bg { position: absolute; inset: 0; background: var(--img, none) center / cover no-repeat, linear-gradient(110deg, #0b2a19 0%, #175f3a 62%, #2f8a57 100%); }
.slide.on .slide-bg { animation: kenburns 10s ease-out forwards; }
.slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8, 32, 20, .94) 0%, rgba(8, 32, 20, .72) 38%, rgba(8, 32, 20, .12) 78%), linear-gradient(0deg, rgba(8, 32, 20, .6), transparent 45%); }
.slide-inner { position: relative; z-index: 2; width: 100%; padding-top: 70px; padding-bottom: 130px; }
.slide-body { max-width: 640px; }
.slide.on .slide-body > * { animation: rise .9s var(--ease) both; }
.slide.on .slide-body > :nth-child(2) { animation-delay: .1s; }
.slide.on .slide-body > :nth-child(3) { animation-delay: .2s; }
.slide.on .slide-body > :nth-child(4) { animation-delay: .3s; }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(233, 199, 118, .5); color: var(--gold-l); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 22px; backdrop-filter: blur(6px); }
.slide h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); color: #fff; line-height: 1.08; margin-bottom: 20px; text-wrap: balance; }
.lead { font-size: 1.12rem; color: rgba(255, 255, 255, .88); max-width: 540px; margin-bottom: 32px; }
.slide-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-ctrl { position: absolute; left: 0; right: 0; bottom: 92px; margin: 0 auto; z-index: 5; display: flex; align-items: center; justify-content: space-between; }
.dots { display: flex; gap: 8px; }
.dots button { width: 44px; height: 4px; border: 0; padding: 0; border-radius: 4px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.dots button span { display: block; height: 100%; width: 0; background: var(--gold-l); }
.dots button.on span { animation: fill 6s linear forwards; }
.arrows { display: flex; gap: 10px; }
.arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .25s, transform .25s var(--ease); }
.arrow:hover { background: var(--cream-100); color: var(--forest-800); transform: scale(1.06); }
@keyframes kenburns { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fill { from { width: 0; } to { width: 100%; } }

/* ---------- raqamlar lentasi ---------- */
.stats-wrap { position: relative; z-index: 10; margin-top: -68px; }
.stats-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); background: var(--card); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-lg); }
.stat { display: flex; align-items: center; gap: 16px; padding: 26px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat-ico { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; flex: none; background: var(--forest-100); color: var(--forest-600); }
.stat-ico .i { width: 26px; height: 26px; }
.stat b { display: block; font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--forest-800); }
.stat span { font-size: .84rem; color: var(--muted); }

/* ---------- bo'limlar umumiy ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 56px 0 0; }
.section-tint { background: var(--tint); background-image: radial-gradient(circle at 12% 0%, rgba(255, 255, 255, .7), transparent 40%); }
.sec-head { margin-bottom: 44px; }
.sec-head.center { text-align: center; }
.sec-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.sec-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-top: 10px; max-width: 760px; text-wrap: balance; }
.sec-head.center h2 { margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); }
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--gold); }
.sec-head.center .eyebrow::after { content: ""; width: 30px; height: 2px; background: var(--gold); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--forest-600); }
.link-arrow .i { transition: transform .25s var(--ease); }
.link-arrow:hover .i:last-child { transform: translateX(4px); }
.ph { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, #dcebd5, #f3e6c6); color: var(--forest-500); }
.ph .i { width: 44px; height: 44px; }

/* ---------- xizmat kartalari ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.svc { --tc: #dcefe0; --ic: #1b7a46; position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 270px; padding: 28px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; }
.svc.c-blue { --tc: #dbe8f7; --ic: #2563a8; }
.svc.c-orange { --tc: #fbe6cc; --ic: #c2701b; }
.svc.c-purple { --tc: #e7e0f5; --ic: #6b4aa8; }
.svc.c-teal { --tc: #d2eeea; --ic: #13817a; }
.svc::after { content: ""; position: absolute; right: -46px; top: -46px; width: 160px; height: 160px; border-radius: 50%; background: var(--tc); opacity: .55; transition: transform .6s var(--ease); }
.svc:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc:hover::after { transform: scale(1.5); }
.svc-no { position: absolute; right: 22px; top: 20px; z-index: 1; font-family: var(--serif); font-size: 1.05rem; color: #b8ad8e; }
.svc-ico { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--tc); color: var(--ic); }
.svc-ico .i { width: 30px; height: 30px; }
.svc h3 { position: relative; z-index: 1; font-size: 1.3rem; margin-top: 8px; }
.svc p { position: relative; z-index: 1; color: var(--muted); font-size: .92rem; margin: 0; }
.svc-go { position: relative; z-index: 1; margin-top: auto; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--forest-100); color: var(--forest-600); transition: background .3s, color .3s, transform .4s var(--ease); }
.svc:hover .svc-go { background: var(--forest-600); color: #fff; transform: translateX(6px); }

/* ---------- biz haqimizda ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.about-media { position: relative; aspect-ratio: 5 / 4.4; }
.about-media::before { content: ""; position: absolute; inset: 20px -20px -20px 20px; border: 2px solid var(--gold); border-radius: 30px; }
.about-media img, .about-media > .ph { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 30px; box-shadow: var(--shadow-lg); }
.about-badge { position: absolute; left: -22px; bottom: 34px; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 16px 22px 16px 16px; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); }
.about-badge small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.about-badge b { font-family: var(--serif); font-size: 1.2rem; color: var(--forest-800); }
.about-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 12px 0 20px; text-wrap: balance; }
.about-copy > p { color: var(--muted); font-size: 1.05rem; }
.ticks { display: grid; gap: 14px; margin: 26px 0 34px; }
.ticks li { display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--forest-800); }
.ticks li span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--forest-600); color: #fff; flex: none; }
.ticks li .i { width: 16px; height: 16px; }

/* ---------- yangiliklar ---------- */
.mag { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; }
.mag-main { position: relative; min-height: 460px; border-radius: 28px; overflow: hidden; display: flex; align-items: flex-end; color: #fff; text-decoration: none; box-shadow: var(--shadow); background: var(--forest-800); }
.mag-main img, .mag-main > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.mag-main:hover img { transform: scale(1.06); }
.mag-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 32, 20, .92) 0%, rgba(8, 32, 20, .35) 55%, transparent 80%); }
.mag-text { position: relative; z-index: 1; padding: 34px; }
.mag-text h3 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 14px 0 10px; text-wrap: balance; }
.mag-text p { color: rgba(255, 255, 255, .82); margin: 0; max-width: 560px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.date-pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--cream-100); color: var(--forest-800); font-size: .78rem; font-weight: 700; }
.mag-side { display: grid; gap: 16px; align-content: stretch; grid-auto-rows: 1fr; }
.mag-item { display: flex; gap: 18px; align-items: center; padding: 14px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .4s var(--ease), box-shadow .4s; }
.mag-item:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.mag-item .thumb { flex: none; width: 150px; height: 108px; border-radius: 16px; overflow: hidden; }
.mag-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.mag-item time { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--muted); margin-bottom: 6px; }
.mag-item h3 { font-size: 1.08rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.news-card { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .45s var(--ease), box-shadow .45s; }
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.news-card .thumb { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-card:hover .thumb img { transform: scale(1.08); }
.news-card .date-pill { position: absolute; left: 14px; top: 14px; box-shadow: var(--shadow); }
.news-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.news-body h3 { font-size: 1.22rem; }
.news-body p { color: var(--muted); font-size: .92rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-body .more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .88rem; color: var(--forest-600); }
.news-card:hover .more .i { transform: translateX(5px); }
.more .i { transition: transform .3s var(--ease); }

/* ---------- galereya + lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 16px; }
.g-item { position: relative; padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: var(--forest-800); }
.g-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.g-item:nth-child(n+4) { grid-column: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.g-item:hover img { transform: scale(1.08); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 32, 20, .75), transparent 55%); opacity: 0; transition: opacity .4s; }
.g-item:hover::after, .g-item:focus-visible::after { opacity: 1; }
.g-cap { position: absolute; left: 20px; right: 70px; bottom: 16px; z-index: 1; color: #fff; font-weight: 600; text-align: left; transform: translateY(10px); opacity: 0; transition: .4s var(--ease); }
.g-item:hover .g-cap { transform: none; opacity: 1; }
.g-zoom { position: absolute; right: 16px; bottom: 14px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-100); color: var(--forest-800); transform: scale(.6); opacity: 0; transition: .4s var(--ease); }
.g-item:hover .g-zoom { transform: none; opacity: 1; }
.lb { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; background: rgba(6, 20, 12, .94); opacity: 0; transition: opacity .3s; }
.lb.open { opacity: 1; }
.lb figure { margin: 0; text-align: center; max-width: min(1100px, 100%); }
.lb img { max-height: 78vh; max-width: 100%; margin: 0 auto; border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lb figcaption { margin-top: 16px; color: #fff; font-family: var(--serif); font-size: 1.2rem; }
.lb button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; }
.lb button:hover { background: var(--cream-100); color: var(--forest-800); }
.lb .lb-x { top: 20px; right: 20px; }
.lb .lb-p { left: 20px; top: 50%; }
.lb .lb-n { right: 20px; top: 50%; }

/* ---------- murojaat bandi ---------- */
.cta { position: relative; padding: 96px 0; background: var(--pattern), linear-gradient(135deg, var(--forest-900), var(--forest-700)); color: #fff; overflow: hidden; }
.cta::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(233, 199, 118, .28), transparent 68%); }
.cta-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.cta-copy h2 { color: var(--cream-100); font-size: clamp(1.9rem, 3.8vw, 2.9rem); margin-bottom: 18px; text-wrap: balance; }
.cta-copy p { color: rgba(255, 255, 255, .8); font-size: 1.08rem; max-width: 480px; margin-bottom: 30px; }
.steps { display: grid; gap: 16px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; border-radius: 22px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(8px); }
.step-no { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--forest-900); font-family: var(--serif); font-weight: 700; font-size: 1.15rem; }
.steps b { display: block; font-family: var(--serif); font-size: 1.15rem; color: #fff; margin-bottom: 2px; }
.steps p { margin: 0; color: rgba(255, 255, 255, .75); font-size: .93rem; }
.steps-light li { background: var(--card); border-color: var(--line); backdrop-filter: none; }
.steps-light b { color: var(--forest-800); }
.steps-light p { color: var(--muted); }
.steps-light .step-no { background: var(--forest-600); color: #fff; }

/* ---------- tezkor havolalar + aloqa ---------- */
.q-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: stretch; }
.quick h3, .contact-panel h3 { font-size: 1.6rem; margin-bottom: 20px; }
.quick ul { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quick a { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--forest-800); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.quick a:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.quick a > .i:last-child { margin-left: auto; color: var(--gold-d); }
.q-ico { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; flex: none; background: var(--forest-100); color: var(--forest-600); }
.q-ico .i { width: 24px; height: 24px; }
.contact-panel { padding: 36px; border-radius: 28px; color: #fff; background: var(--pattern), linear-gradient(145deg, var(--forest-700), var(--forest-900)); box-shadow: var(--shadow-lg); }
.contact-panel h3 { color: var(--cream-100); }
.contact-panel p { color: rgba(255, 255, 255, .78); }
.contact-panel ul { display: grid; gap: 14px; margin: 22px 0 28px; }
.contact-panel li { display: flex; gap: 14px; align-items: flex-start; }
.contact-panel li .i { color: var(--gold-l); margin-top: 3px; }

/* ---------- footer ---------- */
.foot { background: var(--pattern), var(--forest-900); color: rgba(247, 236, 216, .78); font-size: .92rem; }
.foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 56px; padding-top: 72px; padding-bottom: 52px; }
.foot-brand { display: flex; gap: 20px; align-items: flex-start; }
.foot-brand img { width: auto; height: 92px; border-radius: 18px; background: var(--cream-100); padding: 5px; flex: none; }
.foot-brand strong { display: block; font-family: var(--serif); font-size: 1.25rem; color: #fff; line-height: 1.25; margin-bottom: 8px; }
.foot-brand p { margin-bottom: 14px; font-style: italic; color: var(--gold-l); }
.soc { display: flex; gap: 10px; flex-wrap: wrap; }
.soc a { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); color: #fff; text-decoration: none; font-size: .8rem; font-weight: 600; transition: background .2s, color .2s; }
.soc a:hover { background: var(--cream-100); color: var(--forest-800); }
.foot-col h4 { font-family: var(--sans); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-l); margin-bottom: 20px; }
.foot-col ul { display: grid; gap: 12px; }
.foot-col a { color: inherit; text-decoration: none; transition: color .2s, padding .3s var(--ease); }
.foot-col a:hover { color: #fff; padding-left: 6px; }
.foot-contact li { display: flex; gap: 12px; align-items: flex-start; }
.foot-contact .i { color: var(--gold-l); margin-top: 3px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; font-size: .84rem; }
.foot-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- ichki sahifalar ---------- */
.page-hero { position: relative; padding: 52px 0 84px; background: var(--pattern), linear-gradient(120deg, var(--forest-900), var(--forest-600)); color: #fff; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 34px; background: var(--paper); border-radius: 34px 34px 0 0; }
.page-hero h1 { color: var(--cream-100); font-size: clamp(2rem, 4.4vw, 3.1rem); max-width: 900px; text-wrap: balance; }
.page-lead { margin: 14px 0 0; max-width: 640px; color: rgba(255, 255, 255, .8); font-size: 1.06rem; }
.crumbs { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: .84rem; color: rgba(255, 255, 255, .7); flex-wrap: wrap; }
.crumbs a { color: var(--gold-l); text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .i { width: 14px; height: 14px; }
.page-body { padding-top: 24px; padding-bottom: 80px; }
.empty { text-align: center; color: var(--muted); padding: 60px 0; }
.article { max-width: 860px; margin: 0 auto; padding: 36px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.article-meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.article .cover { width: 100%; max-height: 460px; object-fit: cover; border-radius: 20px; margin-bottom: 28px; }
.prose { font-size: 1.07rem; line-height: 1.85; color: #2c3a30; }
.prose p:last-child { margin-bottom: 0; }
.back { margin-top: 28px; }
.people { display: grid; gap: 26px; }
.person { display: grid; grid-template-columns: 250px 1fr; gap: 36px; padding: 22px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.person-photo { aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-info { align-self: center; padding-right: 20px; }
.person-info h3 { font-size: 1.8rem; }
.pos { color: var(--gold-d); font-weight: 700; margin: 6px 0 18px; }
.person-meta { display: grid; gap: 12px; margin-bottom: 18px; }
.person-meta li { display: flex; gap: 12px; align-items: flex-start; }
.person-meta .i { color: var(--forest-500); margin-top: 3px; }
.person-meta a { color: inherit; font-weight: 600; text-decoration: none; }
.dept-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.dept { position: relative; padding: 32px 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.dept:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.dept-no { position: absolute; right: 22px; top: 8px; font-family: var(--serif); font-size: 4rem; line-height: 1; color: var(--cream-200); }
.dept h3 { position: relative; font-size: 1.35rem; margin-bottom: 14px; max-width: 80%; }
.dept .prose { position: relative; font-size: .98rem; line-height: 1.7; color: var(--muted); margin-bottom: 14px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.filters a { padding: 9px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--forest-800); font-weight: 600; font-size: .88rem; transition: .25s; }
.filters a:hover { border-color: var(--forest-500); }
.filters a.on { background: var(--forest-600); border-color: var(--forest-600); color: #fff; }
.docs { display: grid; gap: 14px; }
.doc { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.doc:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.doc-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex: none; background: var(--forest-100); color: var(--forest-600); }
.doc-main { flex: 1; min-width: 0; }
.doc-main b { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--forest-800); margin-bottom: 4px; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .84rem; color: var(--muted); }
.doc-meta em { font-style: normal; padding: 1px 10px; border-radius: 999px; background: var(--cream-100); color: var(--gold-d); font-weight: 700; }
.appeal-grid { display: grid; grid-template-columns: 1.3fr .8fr; gap: 36px; align-items: start; }
.form-card { padding: 36px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.stack { display: grid; gap: 18px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stack label > span { display: block; margin-bottom: 7px; font-size: .86rem; font-weight: 700; color: var(--forest-800); }
input, textarea, select { width: 100%; padding: 13px 16px; border: 1.5px solid #dccfae; border-radius: 14px; background: #fff; font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
input:hover, textarea:hover { border-color: var(--forest-500); }
input:focus, textarea:focus { outline: 0; border-color: var(--forest-600); box-shadow: 0 0 0 4px rgba(27, 122, 70, .16); }
textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.alert { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: 16px; margin-bottom: 18px; font-weight: 600; }
.alert.ok { background: #dcf3e2; color: #135a30; }
.alert.err { background: #fde3e0; color: #8a1f14; }
.appeal-side { display: grid; gap: 18px; }
.side-note { display: flex; gap: 14px; align-items: center; padding: 20px; border-radius: 22px; background: var(--forest-700); color: #fff; }
.side-note .i { width: 28px; height: 28px; color: var(--gold-l); }
.side-note small { display: block; opacity: .75; }
.side-note b { font-family: var(--serif); font-size: 1.25rem; }
.pager { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 44px; font-weight: 700; color: var(--muted); }
.contact-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.c-tile { display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.c-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.c-ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--forest-100); color: var(--forest-600); margin-bottom: 10px; }
.c-ico .i { width: 26px; height: 26px; }
.c-tile small { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.c-tile b { font-family: var(--serif); font-size: 1.15rem; color: var(--forest-800); }
.c-tile a { color: inherit; text-decoration: none; }
.cta-inline { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 40px; padding: 38px 40px; border-radius: 28px; color: #fff; background: var(--pattern), linear-gradient(120deg, var(--forest-800), var(--forest-600)); }
.cta-inline h3 { color: var(--cream-100); font-size: 1.6rem; margin-bottom: 6px; }
.cta-inline p { margin: 0; color: rgba(255, 255, 255, .8); max-width: 520px; }
.notfound { text-align: center; padding: 60px 0 40px; }
.nf-code { display: block; font-family: var(--serif); font-size: clamp(6rem, 18vw, 11rem); line-height: 1; background: linear-gradient(135deg, var(--forest-600), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound p { color: var(--muted); margin: 12px 0 28px; }

/* ---------- animatsiya (scroll reveal) ---------- */
.rv-hide { opacity: 0; transform: translateY(26px); }
.rv-in { opacity: 1; transform: none; transition: opacity .8s ease var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }

/* ---------- moslashuvchan ---------- */
@media (max-width: 1100px) {
  .head-info { display: none; }
  .about-grid, .cta-grid, .q-grid, .appeal-grid { grid-template-columns: 1fr; gap: 48px; }
  .mag { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .navbar li a { padding: 17px 10px; font-size: .84rem; }
}
@media (max-width: 860px) {
  .navbar ul { display: none; flex-direction: column; padding-bottom: 12px; }
  .navbar.open ul { display: flex; }
  .navbar li a { padding: 13px 4px; }
  .navbar li a::after { display: none; }
  .nav-toggle { display: inline-flex; }
  .util-tag span { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .g-item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .g-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .person { grid-template-columns: 1fr; gap: 22px; }
  .person-photo { aspect-ratio: 4 / 3; }
  .person-info { padding-right: 0; }
  .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
  .about-media::before { inset: 14px -10px -14px 14px; }
  .about-badge { left: 10px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .head-cta { display: none; }
  .brand img { height: 60px; }
  .brand strong { font-size: 1.05rem; }
  .slide-inner { padding-top: 48px; padding-bottom: 120px; }
  .arrows { display: none; }
  .sec-head.split { flex-direction: column; align-items: flex-start; }
  .quick ul, .two, .foot-top { grid-template-columns: 1fr; }
  .mag-item .thumb { width: 110px; height: 90px; }
  .mag-main { min-height: 380px; }
  .mag-text { padding: 24px; }
  .form-card, .article { padding: 22px; }
  .doc { flex-wrap: wrap; }
  .cta-inline { padding: 28px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .dots button.on span { width: 100%; }
  .rv-hide { opacity: 1; transform: none; }
}
