/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/7249155f7a.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/e34c5f1bf1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/749a308406.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/1ab1ad5590.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/7249155f7a.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/e34c5f1bf1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/749a308406.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/1ab1ad5590.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/7249155f7a.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/e34c5f1bf1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/749a308406.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/1ab1ad5590.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/7249155f7a.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/e34c5f1bf1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/749a308406.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/1ab1ad5590.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Source Serif 4 (OFL) — заголовки; заменил Playfair Display по просьбе клиента 13.10.2026 (фигурный «&» и «прыгающие» цифры) */
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 500 700;
  font-display: swap;
  src: url(/assets/fonts/98335c055d.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 500 700;
  font-display: swap;
  src: url(/assets/fonts/e1d590474b.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 500 700;
  font-display: swap;
  src: url(/assets/fonts/b9c63ba106.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 500 700;
  font-display: swap;
  src: url(/assets/fonts/9be147cef3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(/assets/fonts/d0584e39fd.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(/assets/fonts/13f8b59da2.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(/assets/fonts/d903af3994.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(/assets/fonts/fb34450b32.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Investment-Abroad — редизайн v2. Mobile-first.
   Фирменные цвета логотипа: #3F6275 (brand), #669EBD (sky). Заголовки — Source Serif 4, текст — Inter. */
:root {
  --night: #0a141c;
  --ink: #0f1d26;
  --navy: #16303f;
  --brand: #3f6275;
  --sky: #669ebd;
  --sky-2: #8fbad3;
  --sky-50: #eef5f9;
  --sky-100: #dcebf3;
  --sand: #f6f3ee;
  --bg: #fff;
  --bg-alt: #f5f7f9;
  --line: #e3e9ee;
  --muted: #5d6c77;
  --ok: #1d7f49;
  --ok-bg: #e5f5ec;
  --wa: #1fa855;
  --vb: #7360f2;
  --r: 18px;
  --r-sm: 12px;
  --sh: 0 1px 2px rgba(10, 20, 28, .05), 0 10px 30px rgba(10, 20, 28, .07);
  --sh-lg: 0 24px 60px rgba(10, 20, 28, .18);
  --hdr: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --f-head: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; font: 400 16px/1.6 var(--f-body); color: var(--ink); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }
h1, h2, .h2, h3, .h3 { font-family: var(--f-head); line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); font-weight: 600; }
h1 { font-size: clamp(32px, 7.4vw, 64px); }
h2, .h2 { font-size: clamp(28px, 5vw, 44px); }
h3, .h3 { font-size: 20px; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--sky-100); }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 820px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 600; background: none; border: 0; padding: 0; cursor: pointer; }
.link svg { transition: transform .3s var(--ease); }
.link:hover svg { transform: translateX(4px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.eyebrow::before { content: ''; width: 24px; height: 1.5px; background: currentColor; }

/* появление при прокрутке */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px;
  border-radius: 999px; border: 0; background: var(--navy); color: #fff; font-weight: 600; font-size: 15px; cursor: pointer;
  transition: background .25s, transform .25s var(--ease), box-shadow .25s; white-space: nowrap; }
.btn:hover { background: var(--brand); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(22, 48, 63, .25); }
.btn:active { transform: translateY(0); }
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--accent { background: linear-gradient(135deg, var(--sky) 0%, var(--brand) 100%); }
.btn--accent:hover { background: linear-gradient(135deg, var(--sky-2) 0%, var(--sky) 100%); }
.btn--wa { background: var(--wa); }
.btn--wa:hover { background: #178a45; box-shadow: 0 10px 24px rgba(31, 168, 85, .3); }
.btn--vb { background: var(--vb); }
.btn--vb:hover { background: #5d4bd6; box-shadow: 0 10px 24px rgba(115, 96, 242, .3); }
.btn--ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { background: var(--sky-50); color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--sky-100); }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--navy); background: var(--bg-alt); flex: none; transition: background .2s, color .2s, transform .2s; }
.icon-btn:hover { transform: translateY(-1px); }
.icon-btn--tel:hover { background: var(--sky-100); color: var(--navy); }
.icon-btn--wa { color: var(--wa); background: #e8f7ee; }
.icon-btn--wa:hover { background: var(--wa); color: #fff; }
.icon-btn--vb { color: var(--vb); background: #efedfe; }
.icon-btn--vb:hover { background: var(--vb); color: #fff; }
.badge { display: inline-block; padding: 5px 11px; border-radius: 999px; background: var(--sky-50); color: var(--brand); font-size: 12px; font-weight: 600; line-height: 1.3; }
.badge--glass { background: rgba(255, 255, 255, .88); color: var(--navy); backdrop-filter: blur(8px); }
.pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .14); color: #fff; }
.pill--ok { background: var(--ok-bg); color: var(--ok); }

/* ---------- шапка ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid transparent; transition: background .35s, border-color .35s, box-shadow .35s; }
.hdr.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(10, 20, 28, .06); }
.hdr__in { display: flex; align-items: center; gap: 12px; height: var(--hdr); }
.logo { flex: none; }
.logo img { width: 132px; height: auto; }
.logo__light { display: none; }
.nav { display: none; }
.hdr__tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.hdr__phone, .hdr__cta, .hdr .langs { display: none; }
.burger { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg-alt); display: grid; place-content: center; gap: 5px; cursor: pointer; flex: none; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), background .2s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.langs { display: flex; gap: 2px; background: var(--bg-alt); border-radius: 999px; padding: 3px; }
.langs a { padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.langs a.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.langs--lg a { flex: 1; text-align: center; padding: 10px; font-size: 14px; }

/* прозрачная шапка поверх первого экрана главной */
.is-front .hdr:not(.is-scrolled):not(.is-solid) { background: transparent; backdrop-filter: none; }
.is-front .hdr:not(.is-scrolled):not(.is-solid) .logo__dark { display: none; }
.is-front .hdr:not(.is-scrolled):not(.is-solid) .logo__light { display: block; }
.is-front .hdr:not(.is-scrolled):not(.is-solid) .nav__link,
.is-front .hdr:not(.is-scrolled):not(.is-solid) .hdr__phone { color: #fff; }
.is-front .hdr:not(.is-scrolled):not(.is-solid) .nav__link:hover { background: rgba(255, 255, 255, .12); }
.is-front .hdr:not(.is-scrolled):not(.is-solid) .icon-btn,
.is-front .hdr:not(.is-scrolled):not(.is-solid) .burger,
.is-front .hdr:not(.is-scrolled):not(.is-solid) .langs { background: rgba(255, 255, 255, .14); color: #fff; }
.is-front .hdr:not(.is-scrolled):not(.is-solid) .burger span { background: #fff; }
.is-front .hdr:not(.is-scrolled):not(.is-solid) .langs a { color: rgba(255, 255, 255, .75); }
.is-front .hdr:not(.is-scrolled):not(.is-solid) .langs a.on { background: #fff; color: var(--ink); }
.is-front .hdr:not(.is-scrolled):not(.is-solid) .hdr__cta { background: #fff; color: var(--navy); }
.is-front main { margin-top: calc(-1 * var(--hdr)); }

/* мобильное меню */
.drawer { position: fixed; inset: var(--hdr) 0 0 0; z-index: 49; background: #fff; overflow-y: auto; overscroll-behavior: contain; animation: drawerIn .35s var(--ease); }
@keyframes drawerIn { from { opacity: 0; transform: translateY(-8px); } }
.drawer__in { padding: 16px 16px 40px; display: grid; gap: 14px; }
.drawer__main { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-radius: var(--r); background: linear-gradient(135deg, var(--navy), var(--brand)); color: #fff; font-weight: 600; font-size: 17px; }
.drawer__main::after { content: '→'; }
.drawer__main:hover { color: #fff; }
.drawer__h { margin: 8px 0 0; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.drawer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.drawer__grid a { padding: 12px 14px; border-radius: var(--r-sm); background: var(--bg-alt); color: var(--ink); font-weight: 500; font-size: 14px; line-height: 1.3; }
.drawer__links { display: grid; border-top: 1px solid var(--line); margin-top: 6px; }
.drawer__links a { padding: 14px 2px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.drawer__contacts { display: grid; gap: 8px; }
.drawer__contacts > a { color: var(--ink); font-weight: 600; }
.drawer__msg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
body.menu-open { overflow: hidden; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-size: 14px; font-weight: 500; transition: background .2s, box-shadow .2s; }
.chip span { color: var(--muted); font-size: 12px; }
.chip:hover { background: var(--sky-50); box-shadow: inset 0 0 0 1px var(--sky-100); color: var(--ink); }
.drawer .chip { background: var(--bg-alt); box-shadow: none; }

/* хлебные крошки */
.crumbs { padding-top: 16px; padding-bottom: 4px; font-size: 13px; }
.crumbs ol { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; list-style: none; margin: 0; padding: 0; gap: 6px; white-space: nowrap; }
.crumbs ol::-webkit-scrollbar { display: none; }
.crumbs li { display: flex; gap: 6px; color: var(--muted); }
.crumbs li + li::before { content: '/'; opacity: .5; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-current] { max-width: 60vw; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }

/* ---------- секции ---------- */
.sec { padding: 64px 0; }
.sec--tight { padding-top: 8px; }
.sec--alt { background: var(--sand); }
.sec--dark { background: radial-gradient(1200px 600px at 85% -10%, rgba(102, 158, 189, .22), transparent 60%), var(--night); color: #c5d3dc; }
.sec--dark h2, .sec--dark .h2, .sec--dark h3 { color: #fff; }
.sec--dark .eyebrow { color: var(--sky-2); }
.sec--dark .sec__sub { color: #93a8b5; }
.sec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 28px; }
.sec__head h2, .sec__head .h2 { margin: 0; }
.sec__sub { margin: 12px 0 0; color: var(--muted); max-width: 560px; font-size: 17px; }
.sec__head .link { white-space: nowrap; font-size: 15px; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: var(--night); overflow: hidden; isolation: isolate; padding-top: var(--hdr); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.6s ease, transform 9s linear; }
.hero__bg.is-on { opacity: 1; transform: scale(1); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 20, 28, .72) 0%, rgba(10, 20, 28, .45) 35%, rgba(10, 20, 28, .82) 78%, var(--night) 100%),
              linear-gradient(90deg, rgba(10, 20, 28, .55) 0%, rgba(10, 20, 28, 0) 70%); }
.hero__in { padding-top: 36px; padding-bottom: 24px; display: grid; gap: 28px; }
.kicker { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--sky-2); font-weight: 600; margin-bottom: 18px; }
.kicker__line { width: 32px; height: 1.5px; background: var(--sky-2); }
.hero h1 { color: #fff; margin-bottom: 16px; max-width: 12em; text-wrap: balance; }
.hero__sub { font-size: 17px; color: #d3dfe6; max-width: 540px; margin: 0 0 28px; }
.finder { background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 22px; padding: 10px; display: grid; gap: 6px; box-shadow: var(--sh-lg); }
.sel { display: grid; gap: 2px; background: var(--bg-alt); border-radius: 14px; padding: 9px 14px 7px; position: relative; cursor: pointer; transition: background .2s; }
.sel:hover { background: var(--sky-50); }
.sel > span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.sel select { appearance: none; border: 0; background: transparent; padding: 2px 22px 4px 0; font-weight: 600; font-size: 15px; width: 100%; cursor: pointer; }
.sel select:focus { outline: none; }
.sel:has(select:focus-visible) { outline: 2px solid var(--sky); outline-offset: 2px; }
/* Выпадающий список в Chromium (Chrome, Edge, Opera, Brave): свой вид вместо серого системного на Windows (клиент 13.10.2026).
   Firefox и Safari без base-select показывают свой системный список. */
@supports (appearance: base-select) {
  .sel select, .sel select::picker(select) { appearance: base-select; }
  .sel select { color: var(--ink); }
  .sel select::picker-icon { display: none; } /* стрелка — своя, .sel::after */
  .sel select::picker(select) { margin-top: 10px; margin-left: -14px; min-width: calc(anchor-size(width) + 28px); max-height: min(60vh, 420px);
    padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--sh-lg); overflow-y: auto;
    opacity: 1; translate: 0 0; transition: opacity .14s var(--ease), translate .14s var(--ease), overlay .14s allow-discrete, display .14s allow-discrete; }
  .sel select:not(:open)::picker(select) { opacity: 0; translate: 0 -4px; }
  @starting-style { .sel select:open::picker(select) { opacity: 0; translate: 0 -4px; } }
  .sel select option { padding: 9px 12px; border-radius: 9px; font: 500 15px/1.35 var(--f-body); color: var(--ink); cursor: pointer; }
  .sel select option::checkmark { display: none; }
  .sel select option:hover, .sel select option:focus-visible { background: var(--sky-50); outline: none; }
  .sel select option:checked { background: var(--navy); color: #fff; font-weight: 600; }
  .sel--sm select option { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .sel select::picker(select) { transition: none; } }
.sel::after { content: ''; position: absolute; right: 16px; bottom: 17px; width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.finder .btn { min-height: 54px; border-radius: 14px; }
.finder__q { display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 14px; background: var(--bg-alt); color: var(--muted); min-height: 56px; cursor: text; transition: background .2s; }
.finder__q:hover { background: var(--sky-50); }
.finder__q input { border: 0; background: transparent; width: 100%; height: 54px; font-size: 16px; font-weight: 600; color: var(--ink); min-width: 0; }
.finder__q input::placeholder { color: var(--muted); font-weight: 500; opacity: 1; }
.finder__q input:focus { outline: none; }
@media (max-width: 559px) { .finder__q { gap: 8px; padding: 0 14px; } .finder__q input::placeholder { font-size: 14px; } }
.finder__q:has(input:focus-visible) { outline: 2px solid var(--sky); outline-offset: 2px; background: #fff; }
.empty__all { display: block; margin-top: 10px; }

.hero__feat { position: relative; min-height: 172px; }
.feat { position: absolute; inset: 0 0 auto 0; display: grid; gap: 6px; padding: 18px 20px; border-radius: 20px; color: #fff;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(18px) saturate(1.3);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .7s var(--ease), transform .7s var(--ease), visibility .7s, background .3s; }
.feat.is-on { opacity: 1; visibility: visible; transform: none; }
.feat:hover { color: #fff; background: rgba(255, 255, 255, .16); }
.feat__label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-2); font-weight: 600; }
.feat__loc { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #c7d5de; }
.feat__title { font-family: var(--f-head); font-size: 20px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feat__row { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.feat__price { font-family: var(--f-head); font-size: 22px; font-weight: 600; }
.feat__go { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy); transition: transform .3s var(--ease); flex: none; }
.feat:hover .feat__go { transform: translateX(4px); }
.hero__dots { position: absolute; left: 0; right: 0; bottom: -26px; display: flex; gap: 6px; }
.hero__dots button { flex: 1; max-width: 56px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.hero__dots i { display: block; width: 100%; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .25); overflow: hidden; position: relative; }
.hero__dots button.on i::after { content: ''; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: dot 7s linear forwards; }
@keyframes dot { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__stats { display: grid; grid-template-columns: 1fr 1fr; padding-top: 44px; padding-bottom: 32px; gap: 0; }
.hero__stats > div { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; }
.hero__stats > div:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .14); }
.hero__stats b { font-family: var(--f-head); font-size: 34px; font-weight: 600; line-height: 1.1; color: #fff; }
.hero__stats span { color: #9fb3c0; font-size: 13px; }

/* бегущая строка */
.marquee { background: var(--night); color: #fff; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; }
.marquee__track { display: flex; width: max-content; gap: 48px; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--f-head); font-size: 22px; font-style: italic; white-space: nowrap; display: flex; align-items: center; gap: 10px; color: #e4ecf1; }
.marquee i { font-family: var(--f-body); font-style: normal; font-size: 12px; font-weight: 600; color: var(--sky-2); padding: 2px 8px; border: 1px solid rgba(143, 186, 211, .4); border-radius: 999px; }
.marquee span::after { content: '✦'; color: var(--sky); font-size: 12px; margin-left: 38px; font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* бенто категорий */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 1 / 1; background: var(--navy); color: #fff; isolation: isolate; }
.tile:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 20, 28, .05) 20%, rgba(10, 20, 28, .82)); transition: background .4s; }
.tile__body { position: absolute; left: 14px; right: 14px; bottom: 12px; display: grid; gap: 2px; }
.tile b { font-family: var(--f-head); font-size: 18px; font-weight: 600; line-height: 1.2; }
.tile:first-child b { font-size: 26px; }
.tile__n { font-size: 12px; color: #d2e0e8; letter-spacing: .04em; }
.tile__go { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--navy); display: grid; place-items: center; opacity: 0; transform: translate(-6px, 6px); transition: .4s var(--ease); }
.tile:hover { color: #fff; }
.tile:hover img { transform: scale(1.07); }
.tile:hover .tile__go { opacity: 1; transform: none; }
.tile--soon:last-child { grid-column: span 2; aspect-ratio: 2 / 1; } /* новые категории без объектов — в конце, широкие, чтобы не было дыр в сетке */

/* карточки объектов */
.grid { display: grid; gap: 18px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; padding: 4px 16px 12px; margin: 0 -16px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.card { position: relative; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); display: flex; flex-direction: column; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.js .card.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .4s var(--ease); }
.card:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); }
.card.is-hidden { display: none; }
.card__img { position: relative; aspect-ratio: 4 / 3; background: var(--bg-alt); overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__img img { transform: scale(1.06); }
.card__img .badge { position: absolute; left: 12px; top: 12px; }
.card__yield { position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: 999px; background: var(--ok); color: #fff; font-size: 13px; font-weight: 700; }
.card__yield small { font-weight: 500; opacity: .85; font-size: 11px; }
.card__count { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 5px; background: rgba(10, 20, 28, .62); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(6px); }
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__loc { margin: 0; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.card__title { margin: 0; font-family: var(--f-body); font-size: 16px; font-weight: 600; line-height: 1.4; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__title a { color: var(--ink); }
.card__title a::after { content: ''; position: absolute; inset: 0; }
.card__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--muted); }
.card__facts li + li::before { content: '·'; margin-right: 14px; margin-left: -8px; }
.card__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card__price { margin: 0; font-family: var(--f-head); font-weight: 600; font-size: 22px; color: var(--navy); line-height: 1.2; }
.card__price .muted { font-family: var(--f-body); font-size: 15px; font-weight: 500; }
.card__go { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-alt); color: var(--navy); display: grid; place-items: center; flex: none; transition: background .3s, color .3s, transform .3s var(--ease); }
.card:hover .card__go { background: var(--navy); color: #fff; transform: translateX(3px); }

/* страны */
.cgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ccard { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy); color: #fff; isolation: isolate; }
.ccard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); filter: saturate(.9); }
.ccard::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 20, 28, 0) 35%, rgba(10, 20, 28, .85)); }
.ccard__body { position: absolute; left: 14px; right: 14px; bottom: 12px; display: grid; }
.ccard b { font-family: var(--f-head); font-size: 22px; font-weight: 600; }
.ccard span span, .ccard__body span { font-size: 13px; color: #cfdde6; }
.ccard:hover { color: #fff; }
.ccard:hover img { transform: scale(1.07); }

/* как проходит сделка */
.steps { list-style: none; margin: 0 0 48px; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { position: relative; padding: 22px 22px 20px; border-radius: var(--r); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.steps__n { display: block; font-family: var(--f-head); font-size: 44px; font-weight: 500; font-style: italic; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--sky); margin-bottom: 14px; }
.steps h3 { font-size: 21px; margin-bottom: 6px; }
.steps p { margin: 0; color: #9fb3c0; font-size: 15px; }
.why { display: grid; gap: 18px; }
.why__item { padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); }
.why__item h3 { font-size: 19px; }
.why p { margin: 0; color: #9fb3c0; }

/* тексты */
.prose { font-size: 16.5px; line-height: 1.75; overflow-wrap: anywhere; color: #26343d; }
.prose h2, .obj__h2 { font-size: clamp(22px, 3.4vw, 28px); margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; }
.prose img { border-radius: var(--r-sm); margin: 1em 0; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; font-size: 14px; }
.prose td, .prose th { border: 1px solid var(--line); padding: 6px 10px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose > :last-child { margin-bottom: 0; }
/* SEO-текст под карточками категории или страны — внутри раздела, своих отступов раздела не добавляет (было двойное пустое место, клиент 14.10) */
.listing__seo { margin-top: 56px; }
@media (min-width: 900px) { .listing__seo { margin-top: 80px; } }
.clamp { max-height: 360px; overflow: hidden; position: relative; }
.clamp::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
.clamp.is-open { max-height: none; }
.clamp.is-open::after, .clamp.is-open + .clamp__btn { display: none; }
.clamp__btn { margin-top: 12px; }

/* CTA + формы */
.cta { position: relative; overflow: hidden; background: radial-gradient(900px 500px at 10% 0%, rgba(102, 158, 189, .35), transparent 60%), linear-gradient(135deg, var(--navy), #20455a); color: #d5e2ea; padding: 64px 0; }
.cta__in { display: grid; gap: 32px; }
.cta h2, .cta .h2 { color: #fff; }
.cta__direct { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 24px; }
.cta__phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 18px; margin-left: 6px; }
.cta__phone:hover { color: var(--sky-100); }
.form { background: #fff; color: var(--ink); border-radius: 22px; padding: 20px; display: grid; gap: 12px; box-shadow: var(--sh-lg); }
.form__row { display: grid; gap: 12px; }
.fld { display: grid; gap: 5px; }
.fld > span { font-size: 13px; font-weight: 500; color: var(--muted); }
.fld input, .fld textarea { width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 13px 14px; font-size: 16px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(102, 158, 189, .15); }
.fld textarea { resize: vertical; min-height: 92px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }
.hp { position: absolute; left: -9999px; }
.form__status { margin: 0; font-size: 14px; font-weight: 500; }
.form__status.ok { color: var(--ok); }
.form__status.err { color: #b3261e; }

/* ---------- листинги ---------- */
.phead { padding: 18px 0 20px; background: linear-gradient(180deg, var(--sand), #fff); }
.phead h1 { margin-bottom: 8px; font-size: clamp(30px, 6vw, 52px); }
.phead__count { color: var(--muted); margin: 0 0 14px; }
.phead__count b { color: var(--ink); font-weight: 700; }
.phead__intro { max-width: 760px; color: var(--muted); font-size: 17px; }
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 24px; padding: 8px; background: #fff; border-radius: 20px; box-shadow: var(--sh); }
.filters .search { grid-column: 1 / -1; }
.search { display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 14px; background: var(--bg-alt); color: var(--muted); min-height: 50px; }
.search input { border: 0; background: transparent; width: 100%; height: 48px; font-size: 16px; color: var(--ink); }
.search input:focus { outline: none; }
.sel--sm { padding: 7px 12px 5px; }
.sel--sm select { font-size: 14px; }
.sel--sm::after { bottom: 14px; }
.empty { text-align: center; padding: 40px 0; color: var(--muted); }
.more { text-align: center; margin-top: 28px; }

/* ---------- объект ---------- */
.obj { padding-top: 8px; }
.gallery { position: relative; margin: 0 -16px; background: var(--ink); }
.gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 3; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; cursor: zoom-in; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; box-shadow: var(--sh); display: none; }
.gallery__nav--prev { left: 14px; }
.gallery__nav--next { right: 14px; }
.gallery__counter { position: absolute; right: 12px; bottom: 12px; background: rgba(10, 20, 28, .7); color: #fff; font-size: 13px; padding: 4px 10px; border-radius: 999px; }
.thumbs { display: none; }
.mosaic { display: none; }
.obj__grid { display: grid; gap: 28px; padding-top: 22px; }
.obj__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.obj__loc { display: inline-flex; align-items: center; gap: 5px; }
.obj h1 { font-size: clamp(24px, 4.2vw, 36px); line-height: 1.15; text-wrap: pretty; } /* на всю ширину колонки до плашки с ценой (balance укорачивал строки), мельче — длинные заголовки не на пол-экрана (клиент 15.10) */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0 32px; }
.facts > div { background: var(--bg-alt); padding: 14px 16px; border-radius: var(--r-sm); }
.facts dt { font-size: 12px; color: var(--muted); line-height: 1.3; }
.facts dd { margin: 4px 0 0; font-family: var(--f-head); font-weight: 600; font-size: 24px; color: var(--navy); line-height: 1.1; }
.feats { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.feats li { padding: 8px 14px 8px 34px; border-radius: 999px; background: var(--sky-50); font-size: 14px; font-weight: 500; position: relative; }
.feats li::before { content: ''; position: absolute; left: 14px; top: 50%; width: 10px; height: 6px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: translateY(-70%) rotate(-45deg); }
.note { margin-top: 28px; padding: 18px 20px; border-radius: var(--r); background: var(--sand); border-left: 3px solid var(--sky); font-size: 14px; color: var(--muted); }
.note p:last-child { margin: 0; }
.pricebox { border-radius: 22px; background: #fff; box-shadow: var(--sh-lg); padding: 22px; display: grid; gap: 10px; border: 1px solid var(--line); }
.pricebox__label { margin: 0; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.pricebox__price { margin: 0; font-family: var(--f-head); font-weight: 600; font-size: 38px; color: var(--navy); line-height: 1.1; }
.pricebox__yield { margin: 0; }
.pricebox__phone { text-align: center; font-weight: 600; margin-top: 4px; }
.obj__form { margin: 48px 0 56px; padding: 28px 20px; border-radius: 22px; background: var(--sand); scroll-margin-top: calc(var(--hdr) + 12px); }
.obj__form .form { box-shadow: none; padding: 0; background: transparent; }
.obj__form .fld input, .obj__form .fld textarea { background: #fff; }
.stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(10, 20, 28, .08); }
.stickybar__price { flex: 1; min-width: 0; font-family: var(--f-head); font-weight: 600; font-size: 21px; color: var(--navy); line-height: 1.15; }
.stickybar__price small { display: block; font-family: var(--f-body); font-size: 12px; font-weight: 600; color: var(--ok); }
.is-object .ftr { padding-bottom: 90px; }
.lightbox { border: 0; padding: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(6, 12, 17, .97); }
.lightbox[open] { display: grid; place-items: center; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; } }
.lightbox img { max-width: 100vw; max-height: 92vh; object-fit: contain; }
.lightbox .gallery__nav { display: block; }
.lightbox__close { position: absolute; top: 12px; right: 12px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 30px; cursor: pointer; z-index: 2; }

/* страницы */
.page { padding: 12px 16px 64px; }
.page__cover { border-radius: var(--r); margin: 20px 0 28px; width: 100%; }
.posts { display: grid; gap: 18px; margin: 20px 0 64px; }
.post { display: grid; border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: var(--sh); color: var(--ink); transition: box-shadow .3s, transform .3s var(--ease); }
.post:hover { box-shadow: var(--sh-lg); transform: translateY(-3px); color: var(--ink); }
.post img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post__body { display: grid; gap: 6px; padding: 18px; }
.post__body b { font-family: var(--f-head); font-size: 22px; font-weight: 600; line-height: 1.25; }
.post__teaser { color: var(--muted); font-size: 15px; }
.contact { display: grid; gap: 32px; padding-top: 12px; padding-bottom: 64px; }
.contact__cards { display: grid; gap: 10px; margin-top: 24px; }
.contact__card { display: grid; padding: 18px 20px; border-radius: var(--r); background: var(--bg-alt); color: var(--ink); transition: background .2s; }
.contact__card:hover { background: var(--sky-50); color: var(--ink); }
.contact__card span { font-size: 13px; color: var(--muted); }
.contact__card b { font-size: 19px; }
.contact__card--wa { background: #e8f7ee; }
.contact__form .form { box-shadow: none; border: 1px solid var(--line); }
.nf { padding: 48px 16px 64px; }
.nf__code { font-family: var(--f-head); font-size: 110px; font-weight: 600; font-style: italic; color: var(--sky-100); line-height: 1; margin: 0; }
.nf .rail { margin-top: 32px; }

/* подвал */
.ftr { background: var(--night); color: #8ea3b0; padding: 56px 0 24px; font-size: 14px; }
.ftr a { color: #d0dde5; }
.ftr a:hover { color: #fff; }
.ftr__in { display: grid; gap: 32px; }
.ftr__brand img { width: 170px; margin-bottom: 16px; }
.ftr__col { display: grid; gap: 9px; align-content: start; }
.ftr__h { color: #fff; font-weight: 600; margin: 0 0 4px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
/* Блок ключевых ссылок над контактами: колонки текста, ссылка не разрывается между колонками */
.ftr__seo { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ftr__seo .ftr__h { margin-bottom: 14px; }
.ftr__seo ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 20px; }
.ftr__seo li { break-inside: avoid; padding: 0 0 10px; font-size: 13px; line-height: 1.35; }
@media (min-width: 900px) { .ftr__seo ul { columns: 3; column-gap: 40px; } .ftr__seo li { font-size: 14px; padding-bottom: 9px; } }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }
/* Ссылки внизу подвала: на телефоне в строку с переносом без точек (точка не повисает в конце строки), с 900px — через «·» */
.ftr__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ftr__legal i { display: none; font-style: normal; }
@media (min-width: 900px) { .ftr__legal { gap: 0; } .ftr__legal i { display: inline; white-space: pre; } }

/* ---------- ≥ 380: на узких экранах прячем Viber, чтобы шапка не переполнялась ---------- */
@media (max-width: 379px) { .hdr .icon-btn--vb { display: none; } .logo img { width: 118px; } }

/* ---------- ≥ 560 ---------- */
@media (min-width: 560px) {
  .form__row { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .rail { grid-auto-columns: 46%; }
  .cgrid { grid-template-columns: repeat(3, 1fr); }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .hero__stats { grid-template-columns: repeat(4, 1fr); }
  .hero__stats > div { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .14); }
  .hero__stats > div:first-child { padding-left: 0; border-left: 0; }
  .finder { grid-template-columns: 1fr 1fr; }
  .finder .btn { grid-column: 1 / -1; }
  .finder__q { grid-column: 1 / -1; }
  .post { grid-template-columns: 260px 1fr; }
  .post img { height: 100%; aspect-ratio: auto; }
  .filters { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  /* плитки категорий: до 900px — 2 колонки (с 3 колонками при 10 плитках оставались дыры) */
}
/* ---------- ≥ 900 ---------- */
@media (min-width: 900px) {
  :root { --hdr: 78px; }
  .wrap { padding: 0 32px; }
  .logo img { width: 184px; }
  .hdr .langs { display: flex; }
  .hdr__cta { display: inline-flex; }
  .burger, .drawer { display: none !important; }
  .nav { display: flex; align-items: center; gap: 2px; margin-left: 28px; }
  .nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; color: var(--ink); font-weight: 500; font-size: 15px; transition: background .2s, color .2s; }
  .nav__link:hover { background: var(--bg-alt); color: var(--ink); }
  .nav__item--drop { position: relative; }
  .mega { position: absolute; top: calc(100% + 8px); left: 0; display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; padding: 24px 28px; background: #fff; border-radius: 20px; box-shadow: var(--sh-lg); border: 1px solid var(--line); min-width: 580px;
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
  .mega::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .nav__item--drop:hover .mega, .nav__item--drop:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
  .mega__col { display: grid; gap: 2px; align-content: start; }
  .mega__col a { padding: 8px 10px; border-radius: 10px; color: var(--ink); font-size: 14px; display: flex; justify-content: space-between; }
  .mega__col a:hover { background: var(--sky-50); }
  .mega__col a span { color: var(--muted); }
  .mega__h { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; margin: 0 0 6px 10px; }
  .mega__all { font-weight: 600; color: var(--brand) !important; margin-top: 6px; }
  .sec { padding: 104px 0; }
  .sec--tight { padding-top: 8px; }
  .sec__head { margin-bottom: 44px; }
  .hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
  .hero__in { flex: 1; grid-template-columns: minmax(0, 1fr) 380px; align-items: end; gap: 56px; padding-top: 72px; padding-bottom: 20px; }
  .hero__sub { font-size: 19px; }
  .finder { grid-template-columns: 1fr 1fr 1fr auto; max-width: 820px; border-radius: 24px; }
  .finder .btn { grid-column: auto; padding: 0 26px; min-height: 60px; }
  .finder__q { grid-column: 1 / -1; min-height: 62px; } .finder__q input { height: 60px; font-size: 17px; }
  .hero__feat { min-height: 210px; margin-bottom: 30px; }
  .feat { padding: 24px; }
  .feat__title { font-size: 23px; }
  .hero__stats { padding-top: 48px; padding-bottom: 40px; }
  .hero__stats b { font-size: 46px; }
  .hero__stats span { font-size: 14px; }
  .marquee span { font-size: 28px; }
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 16px; }
  .tile { aspect-ratio: auto; }
  .tile:first-child { grid-column: span 2; grid-row: span 2; }
  .tile:nth-child(2) { grid-column: span 2; }
  .tile--soon { aspect-ratio: auto; }
  .tile b { font-size: 21px; }
  .tile:first-child b { font-size: 34px; }
  .tile__body { left: 20px; bottom: 18px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .rail { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; gap: 22px; }
  .rail > :nth-child(n+9) { display: none; }
  .cgrid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .ccard b { font-size: 24px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 72px; }
  .why { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .cta { padding: 104px 0; }
  .cta__in { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
  .filters { grid-template-columns: 2fr repeat(4, 1fr); position: sticky; top: calc(var(--hdr) + 10px); z-index: 5; }
  .phead { padding: 28px 0 32px; }
  .gallery { margin: 0; border-radius: var(--r); overflow: hidden; }
  .gallery__track { aspect-ratio: 16 / 8; }
  .gallery__nav { display: block; }
  .thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
  .thumbs button { flex: 0 0 104px; height: 70px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; opacity: .6; transition: opacity .2s, border-color .2s; }
  .thumbs button.on, .thumbs button:hover { border-color: var(--brand); opacity: 1; }
  .thumbs img { width: 100%; height: 100%; object-fit: cover; }
  /* мозаика вместо карусели */
  .has-mosaic .gallery, .has-mosaic .thumbs { display: none; }
  .mosaic { display: grid; position: relative; gap: 8px; height: 540px; margin-top: 10px; border-radius: 22px; overflow: hidden; }
  .mosaic--5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .mosaic--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
  .mosaic__i { padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: var(--bg-alt); }
  .mosaic__i:first-child { grid-row: span 2; }
  .mosaic__i img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .4s; }
  .mosaic__i:hover img { transform: scale(1.04); filter: brightness(1.05); }
  .mosaic__all { position: absolute; right: 16px; bottom: 16px; padding: 10px 16px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; box-shadow: var(--sh); }
  .mosaic__all:hover { background: var(--navy); color: #fff; }
  .obj__grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; padding-top: 32px; }
  .obj__side { position: relative; }
  .pricebox { position: sticky; top: calc(var(--hdr) + 20px); padding: 26px; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .stickybar { display: none; }
  .is-object .ftr { padding-bottom: 24px; }
  .obj__form { max-width: calc(100% - 436px); padding: 36px 40px; }
  .page { padding: 12px 32px 96px; }
  .contact { grid-template-columns: 1fr 1fr; gap: 72px; padding-bottom: 96px; }
  .ftr__in { grid-template-columns: 2fr 1fr; gap: 48px; }
}
@media (min-width: 1200px) {
  .hdr__phone { display: inline; font-weight: 600; color: var(--ink); font-size: 15px; margin: 0 4px 0 8px; }
  .hdr .icon-btn--tel { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__bg { transform: none; }
}

/* форма по ТЗ 5: подписи внутри полей (подпись над полем — только для экранных дикторов), подсказки об ошибках */
.form .fld > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fld { position: relative; }
.fld__hint { display: block; font-size: 13px; line-height: 1.35; color: #b3261e; }
.is-bad input, .is-bad textarea { border-color: #b3261e; }
.check.is-bad { color: #b3261e; }
.check .fld__hint { flex-basis: 100%; }
.check { flex-wrap: wrap; }
/* главная: горизонтальная прокрутка стран (ТЗ 4.3) */
.cscroll { border-block: 1px solid var(--line); background: #fff; }
.cscroll__in { position: relative; display: flex; align-items: center; gap: 8px; }
.cscroll__track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 2px; scrollbar-width: none; padding: 14px 2px; scroll-behavior: smooth; flex: 1; }
.cscroll__track::-webkit-scrollbar { display: none; }
.cscroll__item { flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; white-space: nowrap; color: var(--ink); text-decoration: none; transition: border-color .2s, background .2s; }
.cscroll__item:hover { border-color: var(--sky); background: rgba(102, 158, 189, .08); }
.cscroll__item i { font-style: normal; font-size: 12px; color: var(--muted); }
.cscroll__btn { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
@media (max-width: 700px) { .cscroll__btn { display: none; } }

/* ===================== Порядок в мелочах (Вебдизайнер, 14.10.2026) ===================== */

/* Фильтры: поля делят строку поровну при любом их числе (на страницах категории и страны
   полей три, в каталоге — четыре; раньше ширина была разной и справа оставалась пустота). */
.filters { display: flex; flex-wrap: wrap; }
.filters > * { flex: 1 1 140px; min-width: 0; }
.filters .search { flex-basis: 100%; }
@media (min-width: 1200px) {
  .filters { flex-wrap: nowrap; }
  .filters .search { flex: 2 1 280px; }
  .filters > .sel { flex: 1 1 0; }
}

/* Плитки категорий: размер задаёт шаблон (tile--d2 / tile--d4 / tile--m2), чтобы сетка
   закрывалась без дыр при любом числе категорий. Старое правило для «скоро» — отменено. */
.bento > .tile--soon:last-child:not(.tile--m2) { grid-column: auto; aspect-ratio: 1 / 1; }
.bento > .tile.tile--m2 { grid-column: span 2; aspect-ratio: 2 / 1; }
@media (min-width: 900px) {
  .bento > .tile.tile--m2, .bento > .tile--soon:last-child { grid-column: auto; aspect-ratio: auto; }
  .bento > .tile.tile--d2:nth-child(n) { grid-column: span 2; }
  .bento > .tile.tile--d4:nth-child(n) { grid-column: span 4; }
  .bento > .tile:first-child { aspect-ratio: auto; } /* большая плитка — ровно на два ряда, без полосы снизу */
}

/* Страны: последний неполный ряд — по центру, ширина карточек одна и та же при любом
   числе стран (колонок на компьютере — --cols-d из шаблона, ряды выходят ровными). */
.cgrid { --cols: 2; --g: 10px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--g); }
.cgrid > .ccard { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--g)) / var(--cols)); }
@media (min-width: 560px) { .cgrid { --cols: 3; } }
@media (min-width: 900px) { .cgrid { --cols: var(--cols-d, 5); --g: 16px; } }

/* Формы: одинаковые внутренние отступы везде; галочка согласия — в строку с текстом. */
.form { padding: 24px; gap: 12px; }
@media (min-width: 900px) { .form { padding: 32px; } }
.obj__form .form { padding: 0; }
.contact__form .form { padding: 24px; }
@media (min-width: 900px) { .contact__form .form { padding: 32px; } }
.check { flex-wrap: wrap; align-items: flex-start; line-height: 1.45; margin-top: 4px; }
.check > span:not(.fld__hint) { flex: 1 1 0; min-width: 0; }
.form .btn--block { margin-top: 4px; }

/* Характеристики объекта: ряд закрывается при любом числе полей. */
.facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 560px) {
  .facts { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .facts > div:last-child:nth-child(odd) { grid-column: auto; }
}

/* Маленькое фото в мозаике объекта: не растягиваем до зерна — показываем целиком
   поверх размытой копии самого себя. */
.mosaic__i.is-small { position: relative; isolation: isolate; }
.mosaic__i.is-small img:not(.mosaic__blur) { object-fit: contain; }
.mosaic__blur { position: absolute; inset: -20px; width: calc(100% + 40px) !important; height: calc(100% + 40px) !important; object-fit: cover; filter: blur(22px) saturate(1.1) brightness(.85); z-index: -1; }
.mosaic__i.is-small:hover img:not(.mosaic__blur) { transform: none; }

/* Шапка 900–1099 px (отчёт Тестировщика 14.10): меню с языками, иконками и «Request» не помещалось,
   страница уезжала вбок (DE до +102 px). На этих ширинах — бургер, как на планшете; языки, иконки
   связи и кнопка заявки остаются в шапке. */
@media (min-width: 900px) and (max-width: 1099px) {
  .nav { display: none; }
  .burger { display: grid !important; }
  .drawer { display: block !important; }
  .drawer[hidden] { display: none !important; }
  .drawer__in { max-width: 760px; margin: 0 auto; padding: 24px 32px 48px; }
}

/* Крошки на телефоне: длинное название объекта — с многоточием, а не обрезано на полуслове. */
.crumbs li:last-child { min-width: 0; flex: 0 1 auto; }
.crumbs span[aria-current] { display: block; min-width: 0; max-width: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Крошки на телефоне: только раздел и название — промежуточные (Home, страна) прячем, чтобы
   название объекта было читаемо (RU: «Склады и логистика» съедали место). Полная цепочка
   остаётся в разметке BreadcrumbList. */
@media (max-width: 559px) {
  .crumbs li:not(:nth-last-child(-n+2)) { display: none; }
  .crumbs li:nth-last-child(2) { flex: none; max-width: 45%; }
  .crumbs li:nth-last-child(2) a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .crumbs li:nth-last-child(2)::before { content: '←'; opacity: .6; }
  .crumbs li:first-child:nth-last-child(2)::before { content: none; }
}

/* Вертикальные отступы вдвое меньше на всех ширинах (клиент 14.10, второй раз: «великоваты»).
   Компьютер: секции 104 → 52, телефон: 44 → 24; остальное — в той же пропорции. */
.sec { padding: 24px 0; }
.sec--tight { padding-top: 8px; }
.sec__head { margin-bottom: 14px; }
.cta { padding: 24px 0; }
.listing__seo { margin-top: 24px; }
.obj__form { margin: 18px 0 20px; }
.ftr { padding: 24px 0 16px; }
.ftr__bottom { margin-top: 20px; }
.page { padding-bottom: 32px; }
.contact { padding-bottom: 32px; }
.posts { margin-bottom: 32px; }
.hero__stats { padding-top: 22px; padding-bottom: 16px; }
.is-object .ftr { padding-bottom: 90px; } /* под плавающей панелью цены на телефоне */
@media (min-width: 900px) {
  .sec { padding: 52px 0; }
  .sec--tight { padding-top: 8px; }
  .sec__head { margin-bottom: 22px; }
  .cta { padding: 52px 0; }
  .listing__seo { margin-top: 40px; }
  .steps { margin-bottom: 36px; }
  .phead { padding: 14px 0 16px; }
  .page { padding-bottom: 48px; }
  .contact { padding-bottom: 48px; }
  .ftr { padding: 28px 0 16px; }
  .obj__form { margin: 24px 0 28px; }
  .hero__in { padding-top: 36px; }
  .hero__stats { padding-top: 24px; padding-bottom: 20px; }
  .is-object .ftr { padding-bottom: 16px; }
}

/* Каталог: карточки после 24-й сервер отдаёт скрытыми (только при включённом JS — без него видны все). */
.js .card.is-late { display: none; }

/* Название объекта в слайдере первого экрана — H2, как на живом сайте (решение владельца 14.10); вид прежний. */
h2.feat__title { color: inherit; margin: 0; letter-spacing: normal; }

/* кнопка «Наверх»: на ПК справа внизу, на телефоне чуть меньше и выше края (клиент 15.10, телефон 17.10) */
.totop { display: grid; place-items: center; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255, 255, 255, .96); color: var(--navy); box-shadow: var(--sh); cursor: pointer; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .2s, transform .2s, background .2s; }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: var(--sky-50); }
.totop svg { width: 20px; height: 20px; }
@media (min-width: 900px) { .totop { right: 28px; bottom: 28px; width: 46px; height: 46px; } }
@media (prefers-reduced-motion: reduce) { .totop { transition: none; } }

/* карточка «Top-Objekt» на телефоне: цена и доходность в одну строку, текст в плашке по центру (клиент 15.10) */
.feat__price { white-space: nowrap; }
.feat__row .pill { white-space: nowrap; justify-content: center; text-align: center; flex: none; }
@media (max-width: 420px) {
  .feat__price { font-size: 20px; }
  .feat__row { gap: 8px; }
  .feat__row .pill { padding: 4px 9px; font-size: 12px; }
}

/* ссылки «на карте» и «видео» под характеристиками объекта (все данные выгрузки, клиент 15.10) */
.obj__links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: -12px 0 28px; font-size: 15px; }
.obj__links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }

/* телефон: в плашке доходности число в первой строке, слово во второй — длинное «доходность» не выталкивает стрелку (клиент 15.10) */
@media (max-width: 600px) {
  .feat__row .pill { flex-direction: column; line-height: 1.2; padding: 5px 12px; border-radius: 16px; }
  .feat__row .pill__v, .feat__row .pill__l { display: block; }
}

/* блок «Информация о лицензии» под описанием объекта (клиент 15.10) */
.obj__license { margin: 0 0 24px; color: var(--muted); }

/* плашка доходности: число и слово — в flex без пробела, поэтому отступ задаём сами (клиент 15.10) */
.feat__row .pill { gap: .3em; }
@media (max-width: 600px) { .feat__row .pill { gap: 0; } }

/* карточка «Избранный объект»: заголовок всегда занимает две строки, чтобы высота и отступы не зависели от длины названия (клиент 15.10) */
.feat__title { min-height: 2.5em; }
@media (max-width: 899px) { .hero__feat { min-height: 192px; } }

/* h1 списков, статей, страниц и контактов — как на странице объекта (клиент 16.10) */
.phead h1, .page h1, .contact h1, .wrap > h1 { font-size: clamp(24px, 4.2vw, 36px); line-height: 1.15; text-wrap: pretty; }
/* подвал: больше воздуха между ссылками и чертой (клиент 16.10) */
.ftr__seo { padding-bottom: 40px; margin-bottom: 40px; }
.obj__license-h { margin-top: 36px; } /* отступ после списка в описании (клиент 16.10) */

/* постраничная навигация списков (клиент 16.10) */
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 28px; }
.pager[hidden] { display: none; }
.pager__a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--r); background: var(--bg-alt); color: var(--ink); font-weight: 600; transition: background .2s; }
a.pager__a:hover { background: var(--line, #dfe3e6); }
.pager__a.on { background: var(--ink); color: #fff; }
.pager__gap { color: var(--muted); padding: 0 2px; }
.ftr__made { margin-left: 14px; white-space: nowrap; }

.okpop { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(15, 30, 40, .55); opacity: 0; transition: opacity .2s; }
.okpop.is-on { opacity: 1; }
.okpop__box { width: min(420px, 100%); padding: 32px 28px 26px; border-radius: 14px; background: #fff; color: var(--navy, #16303f); text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); transform: translateY(10px) scale(.98); transition: transform .2s; }
.okpop.is-on .okpop__box { transform: none; }
.okpop__ic { width: 52px; height: 52px; color: var(--ok); }
.okpop__box p { margin: 14px 0 22px; font-size: 18px; line-height: 1.4; }
.okpop__btn { min-width: 140px; }
@media (prefers-reduced-motion: reduce) { .okpop, .okpop__box { transition: none; } }

.reqpop { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 16px; overflow-y: auto; background: rgba(15, 30, 40, .6); opacity: 0; transition: opacity .2s; }
.reqpop[hidden] { display: none; }
.reqpop.is-on { opacity: 1; }
.reqpop__box { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 28px 24px 24px; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 24px 60px rgba(0, 0, 0, .3); transform: translateY(10px) scale(.98); transition: transform .2s; }
.reqpop.is-on .reqpop__box { transform: none; }
.reqpop__box .h3 { margin: 0 36px 16px 0; font-size: 22px; font-weight: 600; line-height: 1.25; }
.reqpop__x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer; }
.reqpop__x:hover { background: var(--sky-100, #eaf2f7); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .reqpop, .reqpop__box { transition: none; } }

.ph { position: relative; }
.ph__list[hidden] { display: none; }
.ph .ph__list { position: absolute; z-index: 30; top: calc(100% + 4px); left: 0; width: min(340px, 100%); border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; box-shadow: 0 16px 40px rgba(15, 30, 40, .22); }
.ph__list { list-style: none; margin: 0; padding: 4px; max-height: 240px; overflow-y: auto; overscroll-behavior: contain; }
.ph__list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 10px; border-radius: 6px; font-size: 15px; cursor: pointer; }
.ph__list li b { font-weight: 600; color: var(--muted); }
.ph__list li.is-act { background: var(--sky-100, #eaf2f7); }
.ph__list li[aria-selected] span { font-weight: 600; }
