/* ================================================================
   «Зере» балабақшасы — фирменный стиль
   Светлый рубин + золото, арки, казахский орнамент, журнальная типографика
   ================================================================ */
:root {
  --bg: #fffaf8;
  --surface: #ffffff;
  --blush: #fff1ee;
  --blush-2: #fde4e1;
  --ink: #3a1d22;
  --ink-2: #6b4c51;
  --muted: #8a6d71;
  --line: #f1dfdc;
  --primary: #c9303f;
  --primary-dark: #a92433;
  --primary-light: #e8616c;
  --primary-soft: #fdeced;
  --sun: #d4ac57;
  --gold-ink: #8f6a1f;
  --gold-soft: #fbf2df;
  --radius: 22px;
  --shadow: 0 14px 40px rgba(169, 36, 51, .10);
  --shadow-sm: 0 6px 18px rgba(169, 36, 51, .08);
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hdr: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); overflow-x: clip; }
a { color: var(--primary-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0; color: var(--ink); }
p { margin: 0; }
img { max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 10px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 10px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.muted { color: var(--muted); }

/* Узор-орнамент (ромбы) */
.ornament {
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14'%3E%3Cpath d='M14 1 21 7 14 13 7 7Z' fill='none' stroke='%23d4ac57' stroke-width='1.4'/%3E%3Ccircle cx='0' cy='7' r='1.6' fill='%23c9303f'/%3E%3Ccircle cx='28' cy='7' r='1.6' fill='%23c9303f'/%3E%3C/svg%3E") repeat-x center;
}

/* ---------- Кнопки, подписи ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0;
  background: var(--primary); color: #fff; text-decoration: none; font-weight: 800; font-size: 16px;
  box-shadow: 0 12px 26px rgba(201, 48, 63, .28); transition: transform .15s, background .15s, box-shadow .15s;
}
.btn svg { width: 18px; height: 18px; stroke-width: 2.2; transition: transform .15s; }
.btn:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 15px; box-shadow: none; }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--primary-dark); box-shadow: var(--shadow-sm); }
.btn--light:hover { background: var(--gold-soft); }
.btn--gold { background: linear-gradient(135deg, #e7c879, #d4ac57 55%, #b8903a); color: #3a2405; box-shadow: 0 12px 26px rgba(212, 172, 87, .35); }
.btn--gold:hover { background: linear-gradient(135deg, #eed38f, #dcb562 55%, #c09a45); }
.btn--glass { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.btn--glass:hover { background: rgba(255, 255, 255, .24); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-weight: 900; text-transform: uppercase; letter-spacing: .2em; font-size: 12px; color: var(--gold-ink); }
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.eyebrow--light { color: #f6d38a; }
.num { display: block; font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--primary); margin-bottom: 10px; }
.num--light { color: #f6d38a; }
.shead { display: flex; flex-direction: column; gap: 12px; margin-bottom: 34px; }
.shead h2 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.01em; }
.shead--left { margin-bottom: 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--primary-dark); text-decoration: none; border-bottom: 1.5px solid var(--primary-light); padding-bottom: 2px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(4px); }

.chip { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--primary-soft); color: var(--primary); }
.chip svg { width: 24px; height: 24px; }

/* ---------- Шапка-капсула ---------- */
.hdr { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 20px; pointer-events: none; }
.hdr__bar {
  pointer-events: auto; max-width: 1240px; margin: 0 auto; height: 64px; padding: 0 10px 0 12px;
  display: flex; align-items: center; gap: 18px;
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(241, 223, 220, .9); border-radius: 999px; transition: box-shadow .2s, background .2s;
}
.hdr.is-scrolled .hdr__bar, body.menu-open .hdr__bar { background: rgba(255, 255, 255, .96); box-shadow: var(--shadow); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand__logo { width: 44px; height: 44px; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text b { font-family: var(--serif); font-size: 22px; }
.brand__text small { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-top: 3px; }
.hdr__nav { display: flex; gap: 4px; margin: 0 auto; }
.hdr__nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 15px; white-space: nowrap; transition: background .15s; }
.hdr__nav a:hover { background: var(--blush); }
.hdr__nav a[aria-current="page"] { color: var(--primary); }
.hdr__tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.hdr__nav + .hdr__tools { margin-left: 0; }
.tool { width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--blush); display: grid; place-items: center; }
.tool svg { width: 20px; height: 20px; }
.tool[aria-pressed="true"] { background: var(--ink); color: #fff; }
.lang { display: flex; background: var(--blush); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: none; padding: 7px 11px; border-radius: 999px; font-weight: 800; font-size: 13px; color: var(--muted); }
.lang button[aria-pressed="true"] { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.menu-btn { display: none; align-items: center; gap: 10px; height: 42px; padding: 0 16px 0 14px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; font-size: 14px; }
.menu-btn__lines { display: grid; gap: 5px; width: 18px; }
.menu-btn__lines i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s; }
.menu-btn[aria-expanded="true"] .menu-btn__lines i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__lines i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Полноэкранное меню ---------- */
.menu { position: fixed; inset: 0; z-index: 45; background: var(--bg); overflow-y: auto; animation: menuIn .25s ease; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
body.menu-open { overflow: hidden; }
.menu__in { max-width: 1240px; margin: 0 auto; padding: 110px 28px 40px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px 56px; }
.menu__main { display: flex; flex-direction: column; }
.menu__main a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; transition: color .15s, padding .15s; }
.menu__main a small { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--primary); font-weight: 500; }
.menu__main a:hover, .menu__main a[aria-current="page"] { color: var(--primary); padding-left: 8px; }
.menu__docs { background: var(--blush); border-radius: 28px; padding: 24px; }
.search { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 0 18px; margin-bottom: 18px; border: 1px solid var(--line); }
.search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input { border: 0; background: none; padding: 13px 0; width: 100%; font: inherit; color: var(--ink); outline: none; }
#nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.group__title { display: flex; align-items: center; gap: 10px; font-size: 17px; margin-bottom: 8px; }
.group__icon { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--primary); display: grid; place-items: center; flex: none; }
.group__icon svg { width: 16px; height: 16px; }
.group__list { list-style: none; margin: 0; padding: 0; }
.group__list a { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; text-decoration: none; color: var(--ink-2); font-size: 14.5px; line-height: 1.35; }
.group__list a:hover, .group__list a[aria-current="page"] { color: var(--primary); }
.badge { font-size: 11px; font-weight: 900; background: #fff; color: var(--primary); border-radius: 999px; padding: 1px 8px; height: fit-content; flex: none; }
.nav-empty { color: var(--muted); grid-column: 1 / -1; }
.menu__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 10px; color: var(--ink-2); font-weight: 700; font-size: 15px; }
.menu__foot a, .menu__foot span { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.menu__foot svg { width: 18px; height: 18px; color: var(--primary); }

/* ---------- Первый экран ---------- */
.hero { position: relative; padding: calc(var(--hdr) + 56px) 0 80px; background:
  radial-gradient(900px 520px at 88% 8%, var(--blush-2) 0, transparent 60%),
  radial-gradient(600px 420px at 0% 100%, var(--gold-soft) 0, transparent 60%), var(--bg); overflow: hidden; }
.hero::after { content: "Зере"; position: absolute; right: -2vw; bottom: -6vw; font-family: var(--serif); font-weight: 700; font-size: 26vw; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(201, 48, 63, .08); pointer-events: none; }
.hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px 6px 8px; font-weight: 800; font-size: 14px; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.hero__pin { width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; }
.hero__pin svg { width: 14px; height: 14px; }
.hero h1 { font-size: clamp(44px, 6.4vw, 88px); line-height: 1; letter-spacing: -.02em; margin: 26px 0 0; }
.hero h1 em { display: block; font-style: italic; font-weight: 600; color: var(--primary); }
.hero__lead { font-size: 19px; color: var(--ink-2); max-width: 32em; margin: 26px 0 32px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { display: flex; gap: 34px; margin: 44px 0 0; padding-top: 26px; border-top: 1px solid var(--line); }
.hero__facts dt { font-family: var(--serif); font-size: 34px; font-weight: 700; color: var(--primary); line-height: 1; }
.hero__facts dd { margin: 6px 0 0; font-size: 13px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

.hero__art { position: relative; justify-self: end; width: min(100%, 470px); aspect-ratio: 470 / 580; }
.hero__frame { position: absolute; inset: 22px -18px -18px 22px; border-radius: 240px 240px 30px 30px; border: 1.5px solid var(--sun); }
.hero__main { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 42% 40%; border-radius: 240px 240px 30px 30px; box-shadow: 0 30px 70px rgba(169, 36, 51, .25); }
.hero__main--empty { background: linear-gradient(160deg, var(--primary-light), var(--primary)); }
.hero__side { position: absolute; left: -64px; bottom: 48px; width: 170px; height: 210px; object-fit: cover; border-radius: 90px 90px 18px 18px; border: 6px solid #fff; box-shadow: var(--shadow); }
.hero__art .seal { position: absolute; right: -34px; top: 34px; }
.hero__note { position: absolute; right: -20px; bottom: 34px; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 18px; padding: 12px 18px 12px 12px; box-shadow: var(--shadow); font-weight: 800; }
.hero__note small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.hero__note-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-ink); display: grid; place-items: center; }
.hero__note-ic svg { width: 20px; height: 20px; }

/* Круглый значок */
.seal { position: relative; width: 132px; height: 132px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; }
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; stroke: none; }
.seal__ring text { fill: var(--primary); font-family: var(--sans); font-weight: 900; font-size: 14.5px; letter-spacing: 1px; }
.seal img { width: 56px; height: 56px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Бегущая лента */
.ticker { background: var(--primary); color: #fff; overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg) scale(1.02); margin: -14px 0 10px; position: relative; z-index: 2; box-shadow: 0 12px 30px rgba(201, 48, 63, .25); }
.ticker__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker span { display: flex; align-items: center; }
.ticker b { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 24px; white-space: nowrap; padding: 0 22px; }
.ticker i { color: #f6d38a; font-style: normal; font-size: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Секции ---------- */
.sec { padding: 110px 0; scroll-margin-top: 70px; }
.sec--blush { background: var(--blush); }
.sec--page { padding: 64px 0 100px; }

/* О нас */
.about { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: center; }
.about__head h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -.015em; }
.about__text { font-size: 19px; color: var(--ink-2); margin: 8px 0 30px; }
.figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow); overflow: hidden; }
.figures div { padding: 30px 28px; }
.figures div:nth-child(even) { border-left: 1px solid var(--line); }
.figures div:nth-child(n+3) { border-top: 1px solid var(--line); }
.figures__ic { width: 40px; height: 40px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); display: grid; place-items: center; margin-bottom: 16px; }
.figures__ic svg { width: 20px; height: 20px; }
.figures div:nth-child(2) .figures__ic, .figures div:nth-child(3) .figures__ic { background: var(--primary-soft); color: var(--primary); }
.figures dt { font-family: var(--serif); font-size: clamp(36px, 3.6vw, 50px); font-weight: 700; color: var(--primary); line-height: 1; }
.figures dd { margin: 8px 0 0; color: var(--muted); font-weight: 700; font-size: 14px; }
.about__pics { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; margin-top: 64px; align-items: end; }
.about__pic { border: 0; padding: 0; background: var(--blush); overflow: hidden; cursor: zoom-in; }
.about__pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.about__pic:hover img { transform: scale(1.04); }
.about__pic--0 { height: 440px; border-radius: 220px 220px 24px 24px; }
.about__pic--1 { height: 340px; border-radius: 24px; }
.about__pic--2 { height: 390px; border-radius: 24px 24px 160px 160px; }

/* Почему мы — плитки разного размера */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(210px, auto); gap: 18px;
  grid-template-areas: "intro intro c0 p0" "intro intro c1 p0" "c2 c3 c4 c5"; }
.bento__intro { grid-area: intro; background: linear-gradient(150deg, var(--primary-light), var(--primary) 55%, var(--primary-dark)); color: #fff; border-radius: 30px; padding: 40px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.bento__intro::before { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 1.5px dashed rgba(246, 211, 138, .5); }
.bento__intro .num { position: absolute; top: 34px; left: 40px; }
.bento__intro .eyebrow { margin-bottom: 14px; }
.bento__intro h2 { color: #fff; font-size: clamp(32px, 3.6vw, 48px); }
.bento__intro p { margin-top: 16px; font-size: 18px; color: rgba(255, 255, 255, .88); max-width: 26em; }
.bento__card { background: #fff; border-radius: 26px; padding: 26px; display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.bento__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bento__card h3 { font-size: 21px; margin-top: auto; }
.bento__card p { color: var(--muted); font-size: 15.5px; }
.bento__card:nth-of-type(even) .chip { background: var(--gold-soft); color: var(--gold-ink); }
.bento__card--0 { grid-area: c0; } .bento__card--1 { grid-area: c1; } .bento__card--2 { grid-area: c2; }
.bento__card--3 { grid-area: c3; } .bento__card--4 { grid-area: c4; } .bento__card--5 { grid-area: c5; }
.bento__photo { grid-area: p0; position: relative; border-radius: 160px 160px 26px 26px; overflow: hidden; min-height: 240px; }
.bento__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* Мамандар — журнальный список */
.spec { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.spec__side { position: sticky; top: 110px; }
.spec__side .muted { font-size: 18px; margin-bottom: 26px; }
.spec__photo { display: block; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 50% 45%; border-radius: 26px 26px 160px 26px; margin-top: 36px; box-shadow: var(--shadow); }
.spec__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.spec__list li { display: grid; grid-template-columns: 64px minmax(0, 1fr) 56px; gap: 18px; align-items: center; padding: 26px 18px 26px 0; border-bottom: 1px solid var(--line); transition: background .2s, padding .2s; border-radius: 18px; }
.spec__list li:hover { background: var(--blush); padding-left: 18px; }
.spec__n { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--primary-light); }
.spec__list h3 { font-size: 24px; }
.spec__list p { color: var(--muted); margin-top: 4px; font-size: 16px; }
.spec__ic { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--sun); color: var(--gold-ink); display: grid; place-items: center; }
.spec__ic svg { width: 24px; height: 24px; }

/* Слово руководителя */
.voice { background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 45%, var(--primary-dark) 100%); color: #fff; padding: 100px 0; position: relative; overflow: hidden; }
.voice::before { content: "“"; position: absolute; right: 4%; top: -80px; font-family: var(--serif); font-size: 420px; line-height: 1; color: rgba(255, 255, 255, .08); }
.voice__in { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 64px; align-items: center; position: relative; }
.voice__photo { aspect-ratio: 3 / 4; border-radius: 150px 150px 24px 24px; overflow: hidden; outline: 1.5px solid #f6d38a; outline-offset: 12px; background: rgba(255, 255, 255, .12); }
.voice__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.voice__empty { width: 100%; height: 100%; display: grid; place-items: center; }
.voice__empty svg { width: 46%; color: rgba(255, 255, 255, .75); stroke-width: 1.2; }
.voice blockquote { margin: 20px 0 28px; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.2vw, 27px); line-height: 1.5; color: #fff; }
.voice__who { display: flex; flex-direction: column; margin-bottom: 28px; padding-left: 18px; border-left: 2px solid #f6d38a; }
.voice__who b { font-family: var(--serif); font-size: 22px; }
.voice__who span { color: rgba(255, 255, 255, .8); font-weight: 700; font-size: 15px; }

/* Галерея */
.gal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.gal-head .shead { margin-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chips button, .chips a { border: 1px solid var(--line); background: #fff; color: var(--ink-2); padding: 9px 18px; border-radius: 999px; font-weight: 800; font-size: 14.5px; text-decoration: none; transition: all .15s; }
.chips button:hover, .chips a:hover { border-color: var(--primary-light); color: var(--primary); }
.chips button[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.chips small { color: var(--muted); margin-left: 4px; }
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.thumb { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; border: 0; padding: 0; margin: 0; background: var(--blush); border-radius: 20px; overflow: hidden; cursor: zoom-in; }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.thumb:hover img { transform: scale(1.04); }
.pgrid--home .thumb:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; border-radius: 200px 200px 24px 24px; }
.pgrid--page { margin-top: 36px; grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Шаги + призыв */
.steps-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.steps { list-style: none; margin: 10px 0 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 27px; top: 30px; bottom: 30px; border-left: 1.5px dashed var(--sun); }
.steps li { display: flex; gap: 22px; padding: 16px 0; position: relative; }
.steps__n { flex: none; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 1.5px solid var(--primary); color: var(--primary); display: grid; place-items: center; font-family: var(--serif); font-size: 24px; font-weight: 700; box-shadow: 0 0 0 8px var(--blush); }
.steps h3 { font-size: 22px; margin-top: 6px; }
.steps p { color: var(--muted); margin-top: 4px; }
.cta { position: relative; background: var(--ink); color: #fff; border-radius: 34px; padding: 54px 40px 40px; overflow: hidden; }
.cta::after { content: ""; position: absolute; inset: auto -80px -120px auto; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(232, 97, 108, .5), transparent 70%); }
.cta .seal { position: absolute; right: 28px; top: 28px; width: 104px; height: 104px; }
.cta .seal img { width: 44px; height: 44px; }
.cta h3 { color: #fff; font-size: clamp(28px, 3vw, 38px); max-width: 9em; padding-right: 110px; box-sizing: content-box; }
.cta p { color: rgba(255, 255, 255, .78); margin: 16px 0 28px; max-width: 26em; position: relative; z-index: 1; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }

/* Ресми ақпарат */
.official__lead { font-size: 18px; margin: -6px 0 30px; max-width: 40em; }
.official { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.official__card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 24px 24px 70px; transition: transform .2s, box-shadow .2s; }
.official__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.official__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.official__top span { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 14px; }
.official__card:nth-child(even) .chip { background: var(--gold-soft); color: var(--gold-ink); }
.official__card h3 { font-size: 21px; margin-bottom: 14px; }
.official__card ul { list-style: none; padding: 0; margin: 0; }
.official__card li a { display: block; padding: 5px 0; color: var(--ink-2); text-decoration: none; font-size: 14.5px; line-height: 1.35; }
.official__card li a:hover { color: var(--primary); }
.official__more { position: absolute; left: 24px; bottom: 22px; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; }
.official__more svg { width: 18px; height: 18px; }
.strip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; }
.strip__part { background: var(--blush); border-radius: 26px; padding: 24px 28px; }
.strip h3 { font-size: 18px; margin-bottom: 14px; }
.symbols { display: flex; flex-wrap: wrap; gap: 10px; }
.symbols a { display: inline-flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 8px 16px 8px 8px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 15px; }
.symbols__img { width: 30px; height: 30px; object-fit: contain; }
.symbols__img--flag { width: 40px; height: 22px; object-fit: cover; border-radius: 4px; }
.res { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.res a { text-decoration: none; font-weight: 700; color: var(--ink-2); }
.res a:hover { color: var(--primary); }

/* Контакты */
.visit { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); border-radius: 34px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.visit__card { background: linear-gradient(160deg, var(--primary), var(--primary-dark)); color: #fff; padding: 48px 42px; }
.visit__card h2 { color: #fff; font-size: clamp(30px, 3.2vw, 42px); margin: 16px 0 30px; }
.visit__list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 18px; }
.visit__list li { display: flex; gap: 16px; align-items: flex-start; font-weight: 700; font-size: 16.5px; }
.visit__list svg { width: 22px; height: 22px; color: #f6d38a; flex: none; margin-top: 3px; }
.visit__list small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .7); font-weight: 800; }
.visit__list a { color: #fff; text-decoration: none; }
.map { position: relative; min-height: 460px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.map__links { position: absolute; left: 18px; bottom: 18px; display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Внутренние страницы ---------- */
.phero { position: relative; padding: calc(var(--hdr) + 60px) 0 0; background:
  radial-gradient(700px 360px at 90% 0%, var(--blush-2) 0, transparent 65%), var(--blush); overflow: hidden; }
.phero .wrap { padding-bottom: 54px; position: relative; }
.phero h1 { font-size: clamp(32px, 4.6vw, 58px); letter-spacing: -.015em; max-width: 18em; margin-top: 14px; }
.phero p { font-size: 19px; color: var(--ink-2); max-width: 40em; margin-top: 16px; }
.crumbs { font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 26px; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--primary); }
.crumbs span { color: var(--sun); font-size: 10px; align-self: center; }

.article { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 56px; align-items: start; }
.article__aside { position: sticky; top: 110px; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 22px; }
.article__aside h3 { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: var(--gold-ink); margin-bottom: 10px; }
.article__aside ul { list-style: none; margin: 0 0 18px; padding: 0; }
.article__aside li a { display: flex; gap: 10px; padding: 9px 10px; border-radius: 12px; text-decoration: none; color: var(--ink-2); font-size: 14.5px; line-height: 1.35; font-weight: 700; }
.article__aside li a small { font-family: var(--serif); font-style: italic; color: var(--primary-light); font-weight: 500; }
.article__aside li a:hover { background: var(--blush); }
.article__aside li a[aria-current="page"] { background: var(--primary); color: #fff; }
.article__aside li a[aria-current="page"] small { color: #f6d38a; }
.article__lead { font-family: var(--serif); font-size: clamp(20px, 2.1vw, 25px); line-height: 1.55; color: var(--ink); max-width: 36em; }
.article__h { font-size: 26px; margin: 46px 0 18px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
.card:nth-child(even) .chip { background: var(--gold-soft); color: var(--gold-ink); }
.card h3 { font-size: 20px; margin: 16px 0 6px; }
.card p { color: var(--muted); font-size: 15.5px; }

.files { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.file { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: border-color .15s; }
.file:hover { border-color: var(--primary-light); }
.file__type { flex: none; width: 50px; height: 58px; border-radius: 10px 18px 10px 10px; display: grid; place-items: center; font-size: 11px; font-weight: 900; letter-spacing: .04em; color: #fff; background: #8a6d71; }
.file__type[data-t="pdf"] { background: var(--primary); }
.file__type[data-t="doc"], .file__type[data-t="docx"] { background: #2f6fd6; }
.file__type[data-t="xls"], .file__type[data-t="xlsx"] { background: #17804a; }
.file__type[data-t="ppt"], .file__type[data-t="pptx"] { background: #c4620f; }
.file__type[data-t="jpg"], .file__type[data-t="jpeg"], .file__type[data-t="png"] { background: var(--sun); }
.file__body { flex: 1; min-width: 0; }
.file__title { font-weight: 800; overflow-wrap: anywhere; }
.file__meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.file__dl { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-dark); font-weight: 800; text-decoration: none; font-size: 14px; }
.file__dl svg { width: 18px; height: 18px; }
.file__dl:hover { background: var(--primary); color: #fff; }
.empty { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border: 1.5px dashed var(--line); border-radius: 22px; color: var(--muted); font-weight: 700; background: #fff; }
.empty__ic { width: 46px; height: 46px; border-radius: 50%; background: var(--blush); color: var(--primary-light); display: grid; place-items: center; flex: none; }
.empty__ic svg { width: 22px; height: 22px; }
.table-wrap { overflow-x: auto; margin-top: 30px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { background: var(--blush); font-weight: 900; }
.table tbody tr:nth-child(even) { background: #fffdfc; }
.table tfoot td { font-weight: 900; border-bottom: 0; background: var(--blush); }

.docs { display: grid; gap: 22px; }
.docs__group { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 32px; background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 30px; }
.docs__label { display: flex; flex-direction: column; gap: 14px; }
.docs__label .num { margin: 0; }
.docs__label h2 { font-size: 26px; }
.docs__group:nth-child(even) .chip { background: var(--gold-soft); color: var(--gold-ink); }
.docs__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-content: start; }
.docs__list a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; font-size: 15px; line-height: 1.35; transition: all .15s; }
.docs__list a span:first-child { flex: 1; }
.docs__list a svg { width: 18px; height: 18px; color: var(--primary-light); flex: none; transition: transform .15s; }
.docs__list a:hover { border-color: var(--primary-light); background: #fff; }
.docs__list a:hover svg { transform: translateX(3px); }

.album { margin-top: 56px; scroll-margin-top: 100px; }
.album:first-of-type { margin-top: 34px; }
.album__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.album__head .num { margin: 0; font-size: 18px; }
.album__head h2 { font-size: clamp(24px, 2.6vw, 32px); }
.album__head small { color: var(--muted); margin-left: auto; }

/* ---------- Страницы меню сада ---------- */
.spec__face { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; outline: 1.5px solid var(--sun); outline-offset: 3px; }

.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.duo__card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 30px; }
.duo__card p { margin-top: 14px; font-family: var(--serif); font-size: 19px; line-height: 1.55; }
.duo__card--red { background: linear-gradient(150deg, var(--primary-light), var(--primary) 60%, var(--primary-dark)); border: 0; color: #fff; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; margin: 12px 0 40px; align-items: start; }
.prose { color: var(--ink-2); font-size: 17px; }
.facts { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.facts div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 14px; padding: 14px 20px; }
.facts div + div { border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); font-weight: 700; font-size: 14.5px; }
.facts dd { margin: 0; font-weight: 800; }

.person { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 56px; align-items: start; }
.person__photo { aspect-ratio: 3 / 4; border-radius: 170px 170px 26px 26px; overflow: hidden; outline: 1.5px solid var(--sun); outline-offset: 12px; background: var(--blush); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; display: block; }
.person__body h2 { font-size: clamp(28px, 3.4vw, 42px); margin: 12px 0 26px; }
.person__quote { margin: 26px 0 0; padding: 22px 26px; border-left: 3px solid var(--sun); background: var(--blush); border-radius: 0 20px 20px 0; font-family: var(--serif); font-style: italic; font-size: 21px; }
.person__quote small { display: block; font-family: var(--sans); font-style: normal; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .16em; color: var(--gold-ink); margin-bottom: 8px; }
.person-line { display: flex; align-items: center; gap: 16px; margin-top: 40px; padding: 20px 24px; background: #fff; border: 1px solid var(--line); border-radius: 22px; max-width: 560px; }
.person-line small { display: block; color: var(--muted); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.person-line b { font-family: var(--serif); font-size: 20px; }
.person-line--photo img { width: 110px; height: 140px; object-fit: cover; object-position: 50% 15%; border-radius: 60px 60px 16px 16px; flex: none; outline: 1.5px solid var(--sun); outline-offset: 4px; }

.kgroups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.kgroup { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 160px 160px 26px 26px; padding: 54px 24px 30px; text-align: center; }
.kgroup__ic { width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); outline: 1px solid var(--sun); outline-offset: 6px; }
.kgroup__ic svg { width: 32px; height: 32px; }
.kgroup:nth-child(even) .kgroup__ic { background: var(--gold-soft); color: var(--gold-ink); }
.kgroup h3 { font-size: 26px; }
.kgroup p { color: var(--muted); font-weight: 700; margin-top: 6px; }

.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 20px; }
.member { text-align: center; }
.member__photo { aspect-ratio: 3 / 4; border-radius: 140px 140px 22px 22px; overflow: hidden; background: var(--blush); margin-bottom: 16px; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; display: block; transition: transform .5s; }
.member:hover .member__photo img { transform: scale(1.04); }
.member .eyebrow { justify-content: center; }
.member .eyebrow::before { display: none; }
.member h3 { font-size: 19px; margin: 6px 0 4px; }
.member p { font-size: 14.5px; color: var(--ink-2); }
.member p.muted { color: var(--muted); }

.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; align-items: start; }
.vid { margin: 0; border-radius: 20px; overflow: hidden; background: #2a1418; aspect-ratio: 16 / 9; }
.vid--tall { aspect-ratio: 9 / 16; }
.vid video { width: 100%; height: 100%; display: block; object-fit: contain; background: #2a1418; }
.tour { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 48px; align-items: center; }
.tour .vid { box-shadow: var(--shadow); }
.tour__side h2 { font-size: clamp(26px, 3vw, 38px); margin: 16px 0 12px; }
.tour__side p { margin-bottom: 22px; }

.pdfview { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: #fff; height: min(80vh, 900px); }
.pdfview iframe { width: 100%; height: 100%; border: 0; display: block; }
.pdfview__btns { margin-top: 18px; }
.btn--line { color: var(--ink); }

/* Папки документов */
.fold { background: #fff; border: 1px solid var(--line); border-radius: 20px; margin-bottom: 12px; }
.fold > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer; border-radius: 20px; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary:hover { background: var(--blush); }
.fold > summary > svg { width: 20px; height: 20px; color: var(--muted); margin-left: auto; transition: transform .2s; flex: none; }
.fold[open] > summary > svg { transform: rotate(180deg); }
.fold__ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-ink); flex: none; }
.fold__ic svg { width: 20px; height: 20px; }
.fold__name { font-weight: 800; line-height: 1.3; }
.fold--0 > summary .fold__name { font-family: var(--serif); font-size: 19px; }
.fold .badge { background: var(--primary-soft); }
.fold__body { padding: 4px 16px 16px; }
.fold .fold { background: var(--bg); border-radius: 16px; }
.fold .fold > summary { padding: 12px 14px; border-radius: 16px; }
.fold .fold .fold__ic { width: 32px; height: 32px; border-radius: 10px; background: #fff; }
.fold .files { margin-top: 4px; }
.fold .file { padding: 12px 14px; }
.files--root { margin-top: 20px; }
.pgrid--docs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.aside__btns { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.aside__btns .link-arrow { background: none; border-top: 0; border-left: 0; border-right: 0; padding: 0 0 2px; font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; }
.article__aside li a small { min-width: 26px; }
a.file__title { color: var(--ink); text-decoration: none; }
a.file__title:hover { color: var(--primary); }

/* Переход между пунктами меню */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 60px; padding-top: 28px; border-top: 1px solid var(--line); }
.pager a { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 20px; background: #fff; text-decoration: none; color: var(--ink); font-family: var(--serif); font-weight: 700; font-size: 18px; transition: border-color .15s; }
.pager a:hover { border-color: var(--primary-light); }
.pager small { font-family: var(--sans); font-size: 12px; font-weight: 900; letter-spacing: .12em; color: var(--primary); }
.pager__next { text-align: right; }

/* Поиск по документам в меню */
.search-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 60vh; overflow-y: auto; }
.search-results a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: #fff; text-decoration: none; color: var(--ink); }
.search-results a:hover { outline: 1.5px solid var(--primary-light); }
.search-results b { display: block; font-size: 14.5px; line-height: 1.3; }
.search-results small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.3; margin-top: 2px; }
.file__type--sm { width: 38px; height: 44px; font-size: 10px; border-radius: 8px 12px 8px 8px; }
#nav { grid-template-columns: minmax(0, 1fr); }
.footer__sym { margin-top: 14px; }

/* ---------- Подвал ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .78); padding: 80px 0 30px; overflow: hidden; position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14'%3E%3Cpath d='M14 1 21 7 14 13 7 7Z' fill='none' stroke='%23d4ac57' stroke-width='1.4'/%3E%3Ccircle cx='0' cy='7' r='1.6' fill='%23e8616c'/%3E%3Ccircle cx='28' cy='7' r='1.6' fill='%23e8616c'/%3E%3C/svg%3E") repeat-x center; opacity: .7; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.footer__brand img { width: 64px; height: 64px; }
.footer__brand p { font-family: var(--serif); font-style: italic; font-size: 22px; color: #fff; margin-top: 18px; max-width: 12em; line-height: 1.35; }
.footer__col { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.footer__col h3 { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: .18em; color: #f6d38a; margin-bottom: 8px; }
.footer__col a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer__col a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--sun); }
.footer__word { font-family: var(--serif); font-weight: 700; font-size: clamp(90px, 15vw, 210px); line-height: .9; color: transparent; -webkit-text-stroke: 1.5px rgba(246, 211, 138, .35); text-align: center; margin: 40px 0 4px; letter-spacing: -.02em; user-select: none; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; color: rgba(255, 255, 255, .6); }

/* WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; box-shadow: 0 10px 26px rgba(0, 0, 0, .22); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; stroke: none; }
body.menu-open .wa-float { display: none; }

/* Просмотр фото */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(42, 14, 19, .92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 86vh; border-radius: 16px; display: block; }
.lightbox__btn { position: fixed; width: 50px; height: 50px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 30px; line-height: 1; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .28); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: fixed; bottom: 20px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .8); font-weight: 700; }

/* ---------- Версия для слабовидящих ---------- */
body.a11y { --bg: #fff; --blush: #fff; --blush-2: #fff; --ink: #000; --ink-2: #000; --muted: #111; --line: #000; --primary: #8f0f1d; --primary-dark: #5e0812; --primary-light: #8f0f1d; --shadow: none; --shadow-sm: none; font-size: 20px; }
body.a11y .hero::after, body.a11y .footer__word, body.a11y .ticker, body.a11y .seal { display: none; }
body.a11y .bento__card, body.a11y .official__card, body.a11y .file, body.a11y .card, body.a11y .docs__group, body.a11y .article__aside { border-width: 2px; }
body.a11y .voice, body.a11y .visit__card, body.a11y .bento__intro { background: #5e0812; }

@media (prefers-reduced-motion: reduce) {
  .ticker__track, .seal__ring { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
  .hdr__nav { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 1024px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); gap: 70px; }
  .hero__art { justify-self: center; width: min(82%, 420px); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "intro intro" "c0 p0" "c1 p0" "c2 c3" "c4 c5"; }
  .about { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .spec__photo { display: none; }
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .official { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec, .steps-wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .spec__side { position: static; }
  .voice__in { grid-template-columns: 220px minmax(0, 1fr); gap: 44px; }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .article { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .article__aside { position: static; order: 2; }
  .docs__group { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hdr { top: 10px; padding: 0 10px; }
  .hdr__bar { height: 58px; gap: 8px; padding: 0 6px 0 8px; }
  .brand__logo { width: 38px; height: 38px; }
  .brand__text b { font-size: 19px; }
  .brand__text small { display: none; }
  .hdr__cta { display: none; }
  .lang button { padding: 6px 8px; font-size: 12px; }
  .tool { width: 38px; height: 38px; }
  .menu-btn { height: 38px; padding: 0 12px; }
  .menu-btn span:last-child { display: none; }
  .menu__in { grid-template-columns: minmax(0, 1fr); padding: 90px 16px 32px; }
  #nav { grid-template-columns: minmax(0, 1fr); }
  .menu__docs { padding: 18px; border-radius: 22px; }
  .hero { padding: calc(var(--hdr) + 26px) 0 56px; }
  .hero::after { font-size: 46vw; bottom: auto; top: 46%; }
  .hero__lead { font-size: 17px; }
  .hero__btns .btn { flex: 1 1 auto; }
  .hero__facts { gap: 22px; }
  .hero__facts dt { font-size: 28px; }
  .hero__art { width: 76%; margin-right: 6%; }
  .hero__side { left: -44px; width: 110px; height: 140px; bottom: 30px; border-width: 4px; }
  .hero__art .seal { right: -26px; top: 10px; width: 100px; height: 100px; }
  .seal img { width: 42px; height: 42px; }
  .hero__note { right: -24px; bottom: -14px; padding: 8px 12px 8px 8px; font-size: 14px; }
  .hero__note-ic { width: 32px; height: 32px; }
  .ticker b { font-size: 19px; padding: 0 16px; }
  .sec { padding: 70px 0; }
  .sec--page { padding: 40px 0 70px; }
  .about__text { font-size: 17px; }
  .figures div { padding: 22px 18px; }
  .about__pics { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
  .about__pic--0 { grid-column: 1 / -1; height: 300px; border-radius: 150px 150px 20px 20px; }
  .about__pic--1, .about__pic--2 { height: 200px; }
  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; grid-template-areas: "intro" "c0" "c1" "p0" "c2" "c3" "c4" "c5"; }
  .bento__intro { padding: 90px 26px 30px; }
  .bento__photo { min-height: 320px; }
  .spec__list li { grid-template-columns: 44px minmax(0, 1fr); padding-right: 0; }
  .spec__ic { display: none; }
  .spec__n { font-size: 24px; }
  .spec__list h3 { font-size: 21px; }
  .voice { padding: 70px 0; }
  .voice__in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .voice__photo { width: 200px; }
  .pgrid, .pgrid--page { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 22px; padding: 0 16px 4px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chips button, .chips a { flex: none; white-space: nowrap; }
  .thumb { border-radius: 14px; }
  .pgrid--home .thumb:first-child { grid-row: auto; aspect-ratio: 4 / 3; border-radius: 120px 120px 18px 18px; }
  .cta { padding: 130px 24px 30px; border-radius: 26px; }
  .cta .seal { left: 24px; right: auto; }
  .cta h3 { padding-right: 0; }
  .official { grid-template-columns: minmax(0, 1fr); }
  .strip { grid-template-columns: minmax(0, 1fr); }
  .visit { grid-template-columns: minmax(0, 1fr); border-radius: 26px; }
  .visit__card { padding: 36px 24px; }
  .map { min-height: 340px; }
  .cards, .docs__list { grid-template-columns: minmax(0, 1fr); }
  .docs__group { padding: 22px; border-radius: 24px; }
  .phero { padding-top: calc(var(--hdr) + 26px); }
  .phero .wrap { padding-bottom: 36px; }
  .file { flex-wrap: wrap; }
  .file__dl { margin-left: 66px; }
  .footer { padding-top: 60px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__word { font-size: 30vw; margin-top: 30px; }
}

@media (max-width: 1024px) {
  .person { grid-template-columns: 260px minmax(0, 1fr); gap: 36px; }
  .kgroups, .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .tour { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tour .vid { max-width: 420px; }
}
@media (max-width: 760px) {
  .duo, .person { grid-template-columns: minmax(0, 1fr); }
  .person__photo { width: min(100%, 280px); }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .team { gap: 22px 12px; }
  .member h3 { font-size: 16px; }
  .kgroup { padding: 40px 14px 22px; }
  .kgroup h3 { font-size: 20px; }
  .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pgrid--docs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fold__body { padding: 2px 10px 12px; }
  .fold .file { flex-wrap: nowrap; }
  .fold .file__dl { margin-left: 0; padding: 8px 10px; }
  .fold .file__dl { font-size: 0; gap: 0; }
  .fold .file__dl svg { width: 18px; height: 18px; }
  .pager { grid-template-columns: minmax(0, 1fr); }
  .pager__next { text-align: left; }
  .pdfview { height: 70vh; }
}
