/* AlmaDei — дизайн-система в духе Apple.
   Светлые и тёмные секции чередуются намеренно; цвета — токены в :root. */

:root {
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --muted-2: #86868b;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-alt-2: #fbfbfd;
  --line: rgba(0, 0, 0, .08);
  --line-2: #d2d2d7;

  --night: #000000;
  --night-2: #0b0b0d;
  --night-card: #161618;
  --night-card-2: #1d1d20;
  --night-line: rgba(255, 255, 255, .12);
  --on-night: #f5f5f7;
  --on-night-muted: #a1a1a6;

  --blue: #0071e3;
  --blue-h: #0077ed;
  --link: #0066cc;
  --link-night: #2997ff;
  --teal: #19c3b1;
  --violet: #7b5cff;
  --gold: #f2b233;
  --green: #1db954;

  --grad: linear-gradient(90deg, #1fd1c1 0%, #2b8cff 48%, #8a5cff 100%);
  --grad-warm: linear-gradient(90deg, #ff8a3d 0%, #ff4f81 50%, #8a5cff 100%);

  --r-s: 12px;
  --r: 20px;
  --r-l: 28px;
  --r-xl: 36px;

  --shadow-s: 0 1px 2px rgba(0, 0, 0, .04), 0 4px 14px rgba(0, 0, 0, .05);
  --shadow: 0 2px 6px rgba(0, 0, 0, .04), 0 18px 50px rgba(0, 0, 0, .09);

  --gutter: clamp(20px, 4.2vw, 52px);
  --maxw: 1240px;
  --nav-h: 56px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* Плавная прокрутка к якорям — в JS: CSS scroll-behavior ломает замеры ScrollTrigger */
section[id], [id].tab-panel { scroll-margin-top: 64px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.53;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: rgba(43, 140, 255, .22); }
:focus-visible { outline: 3px solid rgba(0, 113, 227, .55); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: var(--ease); }

/* ---------- Layout ---------- */
.container { width: min(var(--maxw), 100% - var(--gutter) * 2); margin-inline: auto; }
.container-narrow { width: min(880px, 100% - var(--gutter) * 2); margin-inline: auto; }
.container-wide { width: min(1440px, 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: clamp(84px, 11vw, 168px); position: relative; }
.section-s { padding-block: clamp(64px, 8vw, 112px); position: relative; }
.theme-alt { background: var(--bg-alt); }
.theme-dark { background: var(--night); color: var(--on-night); }
.theme-dark .muted, .theme-dark .lead { color: var(--on-night-muted); }
.center { text-align: center; }
.stack > * + * { margin-top: 1em; }

/* ---------- Typography ---------- */
.display { font-size: clamp(52px, 9.2vw, 132px); line-height: .98; letter-spacing: -0.045em; font-weight: 700; }
.h1 { font-size: clamp(42px, 6.6vw, 92px); line-height: 1.02; letter-spacing: -0.038em; font-weight: 700; }
.h2 { font-size: clamp(34px, 4.9vw, 68px); line-height: 1.05; letter-spacing: -0.032em; font-weight: 700; }
.h3 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.14; letter-spacing: -0.022em; font-weight: 650; }
.h4 { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.25; letter-spacing: -0.016em; font-weight: 650; }
.lead { font-size: clamp(19px, 1.75vw, 24px); line-height: 1.42; letter-spacing: -0.018em; color: var(--muted); font-weight: 450; }
.lead strong, .lead b { color: var(--ink); font-weight: 600; }
.theme-dark .lead strong, .theme-dark .lead b { color: var(--on-night); }
.eyebrow { display: inline-block; font-size: clamp(15px, 1.25vw, 19px); font-weight: 650; letter-spacing: -0.01em; color: var(--muted); margin-bottom: 14px; }
.eyebrow.grad, .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-warm-text { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.45; }
.tiny { font-size: 12px; line-height: 1.4; color: var(--muted-2); }
.nowrap { white-space: nowrap; }
.balance { text-wrap: balance; }
.pretty { text-wrap: pretty; }
.head { max-width: 860px; }
.head.center { margin-inline: auto; }
.head .lead { margin-top: 18px; }
.head + * { margin-top: clamp(40px, 5vw, 72px); }

/* ---------- Buttons & links ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 24px; border-radius: 999px;
  font-size: 17px; font-weight: 550; letter-spacing: -0.01em; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-h); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f0f0f2; }
.btn-ghost { background: rgba(0, 0, 0, .05); color: var(--ink); }
.btn-ghost:hover { background: rgba(0, 0, 0, .09); }
.theme-dark .btn-ghost, .on-photo .btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.theme-dark .btn-ghost:hover, .on-photo .btn-ghost:hover { background: rgba(255, 255, 255, .22); }
.btn-s { --h: 36px; padding: 0 16px; font-size: 14px; }
.btn-l { --h: 56px; padding: 0 30px; font-size: 18px; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1fbe5b; }
.link { color: var(--link); display: inline-flex; align-items: center; gap: 2px; font-weight: 450; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link::after { content: "›"; font-size: 1.2em; line-height: 1; margin-left: 4px; transform: translateY(-1px); transition: transform .25s var(--ease); }
.link:hover::after { transform: translate(3px, -1px); }
.theme-dark .link, .on-photo .link { color: var(--link-night); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.center .btn-row, .btn-row.center { justify-content: center; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: 0; background: rgba(0, 0, 0, .05); color: var(--ink-2);
}
.chip-glass { background: rgba(255, 255, 255, .16); color: #fff; -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); }
.chip-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(25, 195, 177, .2); }

/* ---------- Global nav ---------- */
.gnav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: rgba(251, 251, 253, .78);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.gnav.scrolled { border-bottom-color: var(--line); }
.gnav.static { position: relative; }
.gnav-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 19px; letter-spacing: -0.03em; flex-shrink: 0; }
.brand svg { width: 26px; height: 26px; }
.brand span b { font-weight: 700; }
.gnav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.gnav-links > li > a, .gnav-links > li > button {
  display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 12px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: rgba(29, 29, 31, .82); transition: color .2s, background-color .2s;
}
.gnav-links > li > a:hover, .gnav-links > li > button:hover, .gnav-links > li > a[aria-current="page"] { color: var(--ink); background: rgba(0, 0, 0, .05); }
.gnav-links .caret { width: 9px; height: 9px; transition: transform .3s var(--ease); }
.has-fly[aria-expanded="true"] .caret, .has-fly:hover .caret { transform: rotate(180deg); }
.gnav-cta { margin-left: 8px; }
.burger { display: none; width: 40px; height: 40px; margin-left: auto; margin-right: -8px; border-radius: 50%; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 23px; }
.menu-open .burger span:nth-child(1) { top: 19.5px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 19.5px; transform: rotate(-45deg); }

/* Тёмный режим шапки, пока она над тёмной секцией (hero и т.п.) */
.gnav.over-dark { background: rgba(0, 0, 0, .28); color: #fff; border-bottom-color: transparent; }
.gnav.over-dark .gnav-links > li > a, .gnav.over-dark .gnav-links > li > button { color: rgba(255, 255, 255, .86); }
.gnav.over-dark .gnav-links > li > a:hover, .gnav.over-dark .gnav-links > li > button:hover, .gnav.over-dark .gnav-links > li > a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .12); }
.gnav.over-dark .gnav-cta .btn-primary { background: #fff; color: var(--ink); }

/* Flyout (мега-меню направлений) */
.has-fly { position: relative; }
.fly {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 640px; padding: 18px;
  transform: translate(-50%, -8px); opacity: 0; visibility: hidden; pointer-events: none;
  background: rgba(255, 255, 255, .92); color: var(--ink);
  -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow);
  transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s;
}
.fly::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-fly:hover .fly, .has-fly:focus-within .fly, .has-fly.open .fly { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.fly-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fly-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; transition: background-color .2s; }
.fly-item:hover { background: var(--bg-alt); }
.fly-item img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.fly-item b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.015em; }
.fly-item small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.3; margin-top: 2px; }
.fly-foot { display: flex; gap: 18px; justify-content: space-between; align-items: center; margin-top: 12px; padding: 12px 8px 2px; border-top: 1px solid var(--line); font-size: 14px; }

/* Mobile menu */
.mnav {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99; background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  padding: 24px var(--gutter) 40px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.menu-open .mnav { opacity: 1; visibility: visible; }
.mnav a { display: block; }
.mnav .mnav-main a { font-size: 28px; font-weight: 650; letter-spacing: -0.03em; padding: 9px 0; opacity: 0; transform: translateY(-8px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.menu-open .mnav .mnav-main a { opacity: 1; transform: none; }
.mnav .mnav-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; margin: 6px 0 18px; }
.mnav .mnav-sub a { font-size: 17px; color: var(--muted); padding: 6px 0; }
.mnav .btn { margin-top: 24px; width: 100%; }
body.menu-open { overflow: hidden; }

/* Local nav (страницы стран) */
.lnav {
  position: sticky; top: 0; z-index: 90; height: 52px;
  background: rgba(251, 251, 253, .8); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.lnav .container { height: 100%; display: flex; align-items: center; gap: 20px; }
.lnav-title { font-size: 21px; font-weight: 650; letter-spacing: -0.025em; white-space: nowrap; }
.lnav-links { display: flex; gap: 22px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.lnav-links::-webkit-scrollbar { display: none; }
.lnav-links a { font-size: 12.5px; color: var(--ink-2); white-space: nowrap; transition: color .2s; }
.lnav-links a:hover, .lnav-links a.active { color: var(--ink); }
.lnav-links a.active { font-weight: 600; }

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: 100svh; margin-top: calc(var(--nav-h) * -1); background: #000; color: #fff; overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7s cubic-bezier(.2, .6, .3, 1); will-change: transform; }
.hero-slide.is-active img { transform: scale(1.02); }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.05) 26%, rgba(0,0,0,.0) 44%, rgba(0,0,0,.55) 72%, rgba(0,0,0,.88) 100%),
  radial-gradient(120% 70% at 20% 100%, rgba(0,0,0,.6), transparent 60%); }
.hero-content { padding-bottom: clamp(120px, 15vh, 168px); padding-top: calc(var(--nav-h) + 80px); }
.hero-title { font-size: clamp(46px, 8.2vw, 124px); line-height: .98; letter-spacing: -0.048em; font-weight: 700; max-width: 12.5em; }
.hero-title .line { display: block; }
.rot { white-space: nowrap; }
.rot-word { display: inline-block; position: relative; vertical-align: bottom; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; transition: width .7s var(--ease); }
.rot-word > span { display: inline-block; background: linear-gradient(90deg, #6ff0e0 0%, #7cb6ff 50%, #c3a6ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.rot-word > span.out { position: absolute; left: 0; top: 0; }
.hero-lead { margin-top: 26px; max-width: 640px; font-size: clamp(18px, 1.7vw, 23px); line-height: 1.42; color: rgba(255, 255, 255, .82); letter-spacing: -0.016em; }
.hero .btn-row { margin-top: 34px; }
.hero-pager { position: absolute; left: 0; right: 0; bottom: clamp(28px, 4.4vh, 44px); z-index: 2; }
.hero-pager .container { display: flex; gap: 10px; }
.pager-btn { flex: 1 1 0; text-align: left; color: rgba(255, 255, 255, .55); font-size: 13px; font-weight: 550; letter-spacing: -0.005em; transition: color .3s; padding-top: 10px; }
.pager-btn .bar { display: block; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .22); overflow: hidden; margin-bottom: 10px; }
.pager-btn .bar i { display: block; height: 100%; width: 0; background: #fff; border-radius: 2px; }
.pager-btn.is-active { color: #fff; }
.pager-btn.is-active .bar i { animation: pager var(--dur, 6s) linear forwards; }
.pager-btn.done .bar i { width: 100%; }
@keyframes pager { from { width: 0; } to { width: 100%; } }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 110px; width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 14px; z-index: 2; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Page hero (photo) ---------- */
.phero { position: relative; min-height: min(92svh, 980px); color: #fff; background: #000; overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; }
.phero.with-gnav { margin-top: calc(var(--nav-h) * -1); }
.phero-media { position: absolute; inset: 0; z-index: -2; }
.phero-media img { width: 100%; height: 115%; object-fit: cover; }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.18) 52%, rgba(0,0,0,.86) 100%); }
.phero-inner { padding-block: 140px clamp(56px, 8vw, 96px); width: 100%; }
.phero .eyebrow { color: rgba(255, 255, 255, .78); }
.phero .lead { color: rgba(255, 255, 255, .84); margin-top: 20px; max-width: 700px; }
.phero .btn-row { margin-top: 30px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .7); margin-bottom: 18px; }
.crumbs a:hover { color: #fff; }

/* Text hero (без фото) */
.thero { padding-block: clamp(80px, 12vw, 170px) clamp(48px, 7vw, 96px); text-align: center; position: relative; overflow: hidden; }
.thero .lead { max-width: 760px; margin: 22px auto 0; }
.thero .btn-row { justify-content: center; margin-top: 32px; }
.thero-glow { position: absolute; inset: auto 0 -40% 0; height: 90%; z-index: -1; background: radial-gradient(50% 50% at 50% 50%, rgba(43, 140, 255, .18), transparent 70%); pointer-events: none; }

/* ---------- Statement / scrub text ---------- */
.statement { font-size: clamp(32px, 4.6vw, 64px); line-height: 1.12; letter-spacing: -0.034em; font-weight: 700; text-wrap: balance; }
.statement .w { transition: none; }
.motion-ok .scrub .w { opacity: .16; }
.theme-dark .statement .hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Destinations bento ---------- */
.dest-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.dest-card { position: relative; display: block; border-radius: var(--r-l); overflow: hidden; color: #fff; background: #111; min-height: 380px; isolation: isolate; grid-column: span 4; transform: translateZ(0); }
.dest-card.feat { grid-column: span 8; min-height: 440px; }
.dest-card:not(.feat) { grid-column: span 4; }
.dest-card .media { position: absolute; inset: -6% 0; z-index: -2; }
.dest-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.dest-card:hover .media img { transform: scale(1.06); }
.dest-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.08) 55%, rgba(0,0,0,.78) 100%); }
.dest-card .top { position: absolute; top: 22px; left: 22px; right: 22px; display: flex; justify-content: space-between; align-items: center; }
.dest-card .flag { font-size: 26px; line-height: 1; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.dest-card .body { position: absolute; left: 26px; right: 26px; bottom: 24px; }
.dest-card h3 { font-size: clamp(30px, 3vw, 44px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; }
.dest-card.feat h3 { font-size: clamp(40px, 4.4vw, 68px); }
.dest-card p { margin-top: 8px; color: rgba(255, 255, 255, .84); font-size: 16px; line-height: 1.4; max-width: 30em; }
.dest-card .go { position: absolute; right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background-color .3s, transform .4s var(--ease); }
.dest-card .go svg { width: 16px; height: 16px; }
.dest-card:hover .go { background: #fff; color: var(--ink); transform: translateX(4px); }
.dest-card .body { padding-right: 60px; }

/* ---------- Tiles / bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { position: relative; background: var(--bg); border-radius: var(--r-l); padding: clamp(26px, 3vw, 40px); overflow: hidden; grid-column: span 2; min-height: 300px; display: flex; flex-direction: column; isolation: isolate; }
.theme-alt .tile { background: #fff; }
.bento .tile.w3 { grid-column: span 3; }
.bento .tile.w4 { grid-column: span 4; }
.bento .tile.w6 { grid-column: span 6; }
.tile.dark { background: var(--night-card); color: var(--on-night); }
.tile.dark .muted { color: var(--on-night-muted); }
.theme-dark .tile { background: var(--night-card); }
.tile .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: auto; background: var(--bg-alt); color: var(--ink); }
.tile.dark .ico, .theme-dark .tile .ico { background: rgba(255, 255, 255, .08); color: #fff; }
.tile .ico svg { width: 24px; height: 24px; }
.tile h3 { font-size: clamp(22px, 2.1vw, 28px); line-height: 1.15; letter-spacing: -0.025em; font-weight: 650; margin-top: 28px; }
.tile p { margin-top: 10px; color: var(--muted); font-size: 16.5px; line-height: 1.47; }
.theme-dark .tile p { color: var(--on-night-muted); }
.tile .big { font-size: clamp(56px, 7vw, 96px); font-weight: 700; letter-spacing: -0.05em; line-height: .95; }
.tile-photo { color: #fff; padding: 0; }
.tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.tile-photo:hover img { transform: scale(1.04); }
.tile-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.72)); }
.tile-photo .tile-body { margin-top: auto; padding: clamp(26px, 3vw, 40px); }
.tile-photo p { color: rgba(255, 255, 255, .82); }
.tile .glow { position: absolute; width: 360px; height: 360px; right: -120px; bottom: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(43, 140, 255, .35), transparent 65%); z-index: -1; filter: blur(10px); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 8px 28px 8px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.theme-dark .stat + .stat, .on-photo .stat + .stat { border-left-color: var(--night-line); }
.stat .num { font-size: clamp(40px, 5vw, 72px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; white-space: nowrap; }
.stat .num small { font-size: .45em; letter-spacing: -0.02em; font-weight: 650; margin-left: 2px; }
.stat .cap { margin-top: 12px; font-size: 15px; line-height: 1.4; color: var(--muted); max-width: 18em; }
.theme-dark .stat .cap, .on-photo .stat .cap { color: rgba(255, 255, 255, .7); }
.stat .src { display: block; margin-top: 6px; font-size: 11.5px; color: var(--muted-2); }

/* ---------- Globe ---------- */
.globe-sec { overflow: hidden; }
.globe-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.globe-box { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; margin-inline: auto; }
.globe-box canvas { width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1.4s var(--ease); cursor: grab; contain: layout paint size; }
.globe-box canvas.ready { opacity: 1; }
.globe-box canvas:active { cursor: grabbing; }
.globe-box::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgba(43, 140, 255, .22), transparent 66%); filter: blur(30px); z-index: -1; }
.route-list { margin-top: 36px; border-top: 1px solid var(--night-line); }
.route { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--night-line); transition: padding .3s var(--ease); }
.route:hover { padding-left: 6px; }
.route .flag { font-size: 22px; }
.route b { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.route span { color: var(--on-night-muted); font-size: 15px; }
.route em { font-style: normal; font-size: 15px; color: var(--on-night); font-variant-numeric: tabular-nums; }

/* ---------- Journey (sticky steps) ---------- */
.journey-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.journey-visual { position: sticky; top: calc(var(--nav-h) + 6vh); height: min(78vh, 720px); display: grid; place-items: center; }
.journey-steps { padding-block: 10vh 22vh; }
.jstep { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; opacity: .28; transition: opacity .5s var(--ease); }
.jstep.active { opacity: 1; }
.jstep .n { font-size: 15px; font-weight: 650; color: var(--muted); font-variant-numeric: tabular-nums; }
.jstep h3 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 700; margin-top: 10px; }
.jstep p { margin-top: 14px; font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); line-height: 1.5; max-width: 30em; }
.jstep ul { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.jstep li { font-size: 13.5px; font-weight: 550; padding: 7px 12px; border-radius: 999px; background: var(--bg-alt); color: var(--ink-2); }
.theme-dark .jstep li { background: rgba(255, 255, 255, .08); color: var(--on-night); }
.theme-alt .jstep li { background: #fff; }
.theme-dark .jstep p, .theme-dark .jstep .n { color: var(--on-night-muted); }

/* Карточка «Мой путь» */
.app-card { width: min(420px, 100%); border-radius: 34px; padding: 26px; background: linear-gradient(180deg, #1c1c1f 0%, #111113 100%); color: #fff; box-shadow: 0 40px 120px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .08); position: relative; overflow: hidden; }
.theme-alt .app-card, .section:not(.theme-dark) .app-card { box-shadow: 0 50px 120px rgba(0, 0, 0, .22), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.app-card::before { content: ""; position: absolute; width: 380px; height: 380px; top: -190px; right: -150px; border-radius: 50%; background: radial-gradient(circle, rgba(43, 140, 255, .45), transparent 65%); transition: background .8s var(--ease); }
.app-card[data-tone="teal"]::before { background: radial-gradient(circle, rgba(31, 209, 193, .45), transparent 65%); }
.app-card[data-tone="violet"]::before { background: radial-gradient(circle, rgba(138, 92, 255, .5), transparent 65%); }
.app-card[data-tone="gold"]::before { background: radial-gradient(circle, rgba(242, 178, 51, .45), transparent 65%); }
.app-head { position: relative; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255, 255, 255, .6); }
.app-head .brand-s { display: inline-flex; gap: 7px; align-items: center; color: #fff; font-weight: 650; font-size: 14px; }
.app-head .brand-s svg { width: 18px; height: 18px; }
.app-ring { position: relative; width: 168px; height: 168px; margin: 26px auto 18px; }
.app-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.app-ring circle { fill: none; stroke-width: 10; }
.app-ring .track { stroke: rgba(255, 255, 255, .1); }
.app-ring .val { stroke: url(#ringGrad); stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease); }
.app-ring .pct { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.app-ring .pct b { display: block; font-size: 42px; letter-spacing: -0.04em; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.app-ring .pct small { display: block; font-size: 12px; color: rgba(255, 255, 255, .55); margin-top: 4px; }
.app-panes { position: relative; height: 196px; }
.app-pane { position: absolute; inset: 0; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .55s var(--ease), transform .7s var(--ease); pointer-events: none; }
.app-pane.on { opacity: 1; transform: none; }
.app-pane .title { font-size: 21px; font-weight: 650; letter-spacing: -0.02em; text-align: center; }
.app-pane .sub { font-size: 14px; color: rgba(255, 255, 255, .58); text-align: center; margin-top: 4px; }
.app-rows { margin-top: 16px; display: grid; gap: 8px; }
.app-row { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); font-size: 14px; }
.app-row .ok { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(31, 209, 193, .2); color: #5ff0dd; flex-shrink: 0; font-size: 12px; }
.app-row .wait { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); flex-shrink: 0; }
.app-row .tag { margin-left: auto; font-size: 12px; color: rgba(255, 255, 255, .55); }
.pass { margin-top: 14px; border-radius: 18px; background: #fff; color: var(--ink); padding: 16px 18px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; position: relative; }
.pass .code { font-size: 30px; font-weight: 750; letter-spacing: -0.03em; line-height: 1; }
.pass .city { font-size: 12px; color: var(--muted); margin-top: 3px; }
.pass .plane { width: 26px; height: 26px; color: var(--blue); }
.pass .r { text-align: right; }
.pass-meta { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: rgba(255, 255, 255, .6); padding-inline: 4px; }
.stamp { margin: 14px auto 0; width: 150px; height: 150px; border-radius: 50%; border: 3px solid #5ff0dd; color: #5ff0dd; display: grid; place-items: center; text-align: center; font-weight: 750; letter-spacing: .06em; font-size: 15px; transform: rotate(-12deg); box-shadow: inset 0 0 0 6px rgba(95, 240, 221, .14); }
.stamp small { display: block; font-size: 10px; letter-spacing: .14em; opacity: .8; margin-top: 4px; }
.app-dots { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.app-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .2); transition: width .4s var(--ease), background-color .4s; }
.app-dots i.on { width: 20px; background: #fff; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: inline-flex; gap: 0; animation: marquee 48s linear infinite; will-change: transform; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-size: clamp(34px, 5vw, 72px); font-weight: 700; letter-spacing: -0.04em; padding-right: .6em; color: var(--ink); }
.marquee span:nth-child(3n+2) { color: var(--muted-2); }
.marquee span.g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.marquee span::after { content: "·"; margin-left: .6em; color: var(--line-2); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Split (фото + текст) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.rev .split-media { order: 2; }
.split-media { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; position: relative; background: #ddd; }
.split-media img { width: 100%; height: 112%; object-fit: cover; }
.split .lead { margin-top: 18px; }
.ticks { margin-top: 28px; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; font-size: 17px; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: rgba(0, 113, 227, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230071e3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.theme-dark .ticks li::before { background-color: rgba(41, 151, 255, .16); }
.ticks li b { font-weight: 600; }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
.calc-panel { background: #fff; border-radius: var(--r-l); padding: clamp(26px, 3.4vw, 44px); }
.theme-dark .calc-panel { background: var(--night-card); }
.calc-label { font-size: 13px; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 26px 0 12px; }
.calc-label:first-child { margin-top: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { height: 42px; padding: 0 16px; border-radius: 999px; font-size: 15px; font-weight: 550; background: var(--bg-alt); color: var(--ink-2); transition: background-color .25s, color .25s, transform .2s; }
.seg button:hover { background: #ebebef; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.theme-dark .seg button { background: rgba(255, 255, 255, .08); color: var(--on-night); }
.theme-dark .seg button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.calc-out { background: var(--night); color: #fff; border-radius: var(--r-l); padding: clamp(26px, 3.4vw, 44px); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.calc-out::before { content: ""; position: absolute; width: 480px; height: 480px; right: -200px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(43, 140, 255, .4), transparent 65%); }
.calc-out > * { position: relative; }
.calc-total { font-size: clamp(44px, 5.6vw, 76px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; margin-top: 10px; font-variant-numeric: tabular-nums; }
.calc-total small { font-size: .36em; letter-spacing: -0.01em; color: rgba(255, 255, 255, .6); font-weight: 550; margin-left: 6px; }
.calc-kzt { margin-top: 10px; color: rgba(255, 255, 255, .66); font-size: 16px; font-variant-numeric: tabular-nums; }
.calc-bars { margin-top: auto; padding-top: 30px; display: grid; gap: 16px; }
.cbar-top { display: flex; justify-content: space-between; font-size: 14px; color: rgba(255, 255, 255, .7); margin-bottom: 8px; }
.cbar-top b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.cbar { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.cbar i { display: block; height: 100%; border-radius: 8px; background: var(--grad); width: 0; transition: width .9s var(--ease); }
.cbar.b2 i { background: linear-gradient(90deg, #f2b233, #ff7a59); }
.calc-note { margin-top: 18px; font-size: 12.5px; color: rgba(255, 255, 255, .5); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.theme-dark .faq { border-top-color: var(--night-line); }
.faq details { border-bottom: 1px solid var(--line); }
.theme-dark .faq details { border-bottom-color: var(--night-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-alt); flex-shrink: 0; transition: transform .45s var(--ease), background-color .3s; }
.theme-dark .faq summary .pm { background: rgba(255, 255, 255, .1); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.8px; margin: -0.9px 0 0 -5.5px; background: currentColor; border-radius: 2px; }
.faq summary .pm::after { transform: rotate(90deg); transition: transform .45s var(--ease); }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq .ans { overflow: hidden; }
.faq .ans-inner { padding: 0 52px 26px 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.theme-dark .faq .ans-inner { color: var(--on-night-muted); }
.faq .ans-inner p + p { margin-top: 10px; }
.faq .ans-inner a { color: var(--link); }

/* ---------- CTA + form ---------- */
.cta-sec { position: relative; overflow: hidden; }
.cta-sec .orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.cta-sec .orb.a { width: 520px; height: 520px; left: -160px; top: -120px; background: radial-gradient(circle, #1fd1c1, transparent 65%); }
.cta-sec .orb.b { width: 620px; height: 620px; right: -200px; bottom: -260px; background: radial-gradient(circle, #8a5cff, transparent 65%); }
.cta-sec .orb.c { width: 420px; height: 420px; left: 45%; top: 30%; background: radial-gradient(circle, #2b8cff, transparent 65%); opacity: .35; }
.cta-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; position: relative; }
.form { background: rgba(255, 255, 255, .06); border: 1px solid var(--night-line); border-radius: var(--r-xl); padding: clamp(24px, 3.4vw, 40px); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.form.light { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.field { position: relative; margin-bottom: 14px; }
.field input, .field select, .field textarea {
  width: 100%; height: 58px; padding: 22px 16px 6px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06); color: #fff; font-size: 17px; outline: none; transition: border-color .2s, box-shadow .2s, background-color .2s; -webkit-appearance: none; appearance: none;
}
.field textarea { height: 110px; resize: vertical; padding-top: 26px; }
.field select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1a6' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field select option { color: #1d1d1f; }
.field label { position: absolute; left: 17px; top: 19px; font-size: 17px; color: rgba(255, 255, 255, .55); pointer-events: none; transform-origin: 0 0; transition: transform .25s var(--ease), color .25s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #2997ff; box-shadow: 0 0 0 4px rgba(41, 151, 255, .2); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-11px) scale(.72); }
.form.light .field input, .form.light .field select, .form.light .field textarea { background: var(--bg-alt); border-color: transparent; color: var(--ink); }
.form.light .field input:focus, .form.light .field select:focus, .form.light .field textarea:focus { background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, .15); }
.form.light .field label { color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btn { width: 100%; margin-top: 8px; }
.form-note { margin-top: 14px; font-size: 12.5px; color: rgba(255, 255, 255, .5); text-align: center; }
.form.light .form-note { color: var(--muted-2); }
.form-ok { display: none; text-align: center; padding: 30px 10px; }
.form.sent .form-ok { display: block; }
.form.sent .form-fields { display: none; }
.channels { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.channel { display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 16px 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 15px; font-weight: 550; transition: background-color .25s; }
.channel:hover { background: rgba(255, 255, 255, .18); }
.channel svg { width: 20px; height: 20px; }
.section:not(.theme-dark) .channel { background: var(--bg-alt); }
.section:not(.theme-dark) .channel:hover { background: #ebebef; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); color: var(--muted); font-size: 12.5px; line-height: 1.5; padding: 56px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--line-2); }
.footer .brand { color: var(--ink); }
.footer-about { margin-top: 14px; max-width: 280px; font-size: 13px; }
.footer h4 { font-size: 12.5px; font-weight: 600; color: var(--ink); margin-bottom: 12px; letter-spacing: 0; }
.footer li + li { margin-top: 8px; }
.footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 22px; }
.footer-legal { max-width: 760px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* Floating WhatsApp */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 30px rgba(37, 211, 102, .4); transform: translateY(120px); transition: transform .6s var(--ease), box-shadow .3s; }
.fab.show { transform: none; }
.fab:hover { box-shadow: 0 14px 40px rgba(37, 211, 102, .55); }
.fab svg { width: 28px; height: 28px; }

/* ---------- Country page components ---------- */
.hstats { margin-top: clamp(40px, 6vw, 72px); padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .2); }
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reason { background: var(--bg-alt); border-radius: var(--r-l); padding: clamp(26px, 3vw, 38px); min-height: 260px; display: flex; flex-direction: column; }
.theme-alt .reason { background: #fff; }
.reason .num { font-size: 15px; font-weight: 650; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.reason h3 { font-size: clamp(22px, 2vw, 27px); line-height: 1.15; letter-spacing: -0.025em; font-weight: 650; margin-top: auto; padding-top: 36px; }
.reason p { margin-top: 10px; font-size: 16px; color: var(--muted); line-height: 1.5; }

.scale-sec { position: relative; height: 220vh; }
.scale-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; }
.scale-media { position: absolute; inset: 0; margin: auto; width: 100%; height: 100%; border-radius: 0; overflow: hidden; will-change: transform, border-radius; }
.scale-media img { width: 100%; height: 100%; object-fit: cover; }
.scale-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.55)); }
.scale-copy { position: relative; z-index: 2; color: #fff; text-align: center; padding: 0 var(--gutter); max-width: 1100px; }
.scale-copy .h1 { text-shadow: 0 4px 40px rgba(0, 0, 0, .3); }
.scale-copy p { margin-top: 18px; font-size: clamp(18px, 1.7vw, 23px); color: rgba(255, 255, 255, .86); }

.sys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sys-card { border-radius: var(--r-l); padding: 30px 28px; background: #fff; display: flex; flex-direction: column; min-height: 230px; }
.sys-card .k { font-size: 13px; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.sys-card .v { font-size: clamp(34px, 3.4vw, 48px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; margin-top: auto; padding-top: 32px; }
.sys-card .v small { font-size: .42em; letter-spacing: -0.01em; font-weight: 600; color: var(--muted); margin-left: 4px; }
.sys-card p { margin-top: 10px; font-size: 15px; color: var(--muted); line-height: 1.45; }

.costs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cost-panel { border-radius: var(--r-l); padding: clamp(26px, 3.4vw, 44px); background: var(--bg-alt); }
.cost-panel.dark { background: var(--night-card); color: var(--on-night); }
.cost-rows { margin-top: 24px; }
.cost-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.cost-panel.dark .cost-row { border-bottom-color: var(--night-line); }
.cost-row:last-child { border-bottom: 0; }
.cost-row span { font-size: 16px; color: var(--ink-2); }
.cost-panel.dark .cost-row span { color: var(--on-night-muted); }
.cost-row b { font-size: 18px; font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cost-row small { display: block; font-size: 13px; color: var(--muted-2); margin-top: 2px; }
.lbars { margin-top: 26px; display: grid; gap: 18px; }
.lbar-top { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 8px; color: var(--on-night-muted); }
.lbar-top b { color: var(--on-night); font-weight: 600; font-variant-numeric: tabular-nums; }
.lbar { height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.lbar i { display: block; height: 100%; width: var(--w, 50%); border-radius: 10px; background: var(--grad); transform-origin: left; }
.motion-ok .lbar i { transform: scaleX(0); }
.lbar i.done { transform: none !important; transition: transform 1.2s var(--ease); }
.cost-note { margin-top: 18px; font-size: 13px; color: var(--muted-2); }

.timeline { position: relative; display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 0; margin-top: 10px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: var(--line-2); }
.timeline .tl-fill { position: absolute; left: 0; top: 23px; height: 2px; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }
.tl-item { position: relative; padding-right: 22px; }
.tl-dot { width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); display: grid; place-items: center; font-size: 15px; font-weight: 700; position: relative; z-index: 1; transition: border-color .4s, background-color .4s, color .4s; }
.theme-alt .tl-dot { background: var(--bg-alt); }
.tl-item.on .tl-dot { border-color: transparent; background: var(--ink); color: #fff; }
.tl-item .when { margin-top: 18px; font-size: 13px; font-weight: 650; color: var(--blue); text-transform: uppercase; letter-spacing: .05em; }
.tl-item h4 { margin-top: 6px; font-size: 19px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.2; }
.tl-item p { margin-top: 8px; font-size: 15px; color: var(--muted); line-height: 1.45; }

.visa { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.visa-card { border-radius: var(--r-xl); padding: clamp(28px, 3.6vw, 48px); background: var(--night-card); color: var(--on-night); position: relative; overflow: hidden; }
.visa-card::before { content: ""; position: absolute; width: 420px; height: 420px; right: -180px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(31, 209, 193, .35), transparent 65%); }
.visa-card > * { position: relative; }
.visa-card .type { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-night-muted); font-weight: 650; }
.visa-card h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.035em; font-weight: 700; margin-top: 10px; line-height: 1.08; }
.visa-card p { margin-top: 14px; color: var(--on-night-muted); font-size: 16px; line-height: 1.55; }
.kv { margin-top: 26px; display: grid; gap: 0; }
.kv div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; padding: 13px 0; border-top: 1px solid var(--night-line); font-size: 15px; }
.kv dt { color: var(--on-night-muted); }
.kv dd { color: var(--on-night); font-weight: 550; }
.steps-list { counter-reset: s; display: grid; gap: 0; }
.steps-list li { counter-increment: s; position: relative; padding: 22px 0 22px 64px; border-bottom: 1px solid var(--line); }
.steps-list li:first-child { border-top: 1px solid var(--line); }
.steps-list li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 22px; font-size: 15px; font-weight: 700; color: var(--muted-2); font-variant-numeric: tabular-nums; width: 40px; }
.steps-list b { display: block; font-size: 19px; font-weight: 650; letter-spacing: -0.02em; }
.steps-list span { display: block; margin-top: 6px; color: var(--muted); font-size: 16px; line-height: 1.5; }

.unis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.uni { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; background: var(--bg-alt); transition: background-color .25s, transform .35s var(--ease); }
.theme-alt .uni { background: #fff; }
.uni:hover { transform: translateY(-2px); }
.uni .mono { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-weight: 700; font-size: 15px; letter-spacing: -0.02em; color: #fff; flex-shrink: 0; background: linear-gradient(135deg, #2b8cff, #8a5cff); }
.uni:nth-child(3n+2) .mono { background: linear-gradient(135deg, #1fd1c1, #2b8cff); }
.uni:nth-child(3n) .mono { background: linear-gradient(135deg, #ff8a3d, #ff4f81); }
.uni b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.uni small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.disclaimer { margin-top: 20px; font-size: 13px; color: var(--muted-2); max-width: 760px; }

/* Горизонтальная лента карточек */
.hs { position: relative; }
.hs-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px var(--gutter) 10px; margin: 0 calc(var(--gutter) * -1); scroll-padding-inline: var(--gutter); }
.hs-track::-webkit-scrollbar { display: none; }
.hs-card { scroll-snap-align: start; flex: 0 0 clamp(270px, 30vw, 380px); border-radius: var(--r-l); overflow: hidden; position: relative; aspect-ratio: 3 / 4; color: #fff; background: #222; isolation: isolate; }
.hs-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.hs-card:hover img { transform: scale(1.05); }
.hs-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,0) 35%, rgba(0,0,0,.75)); }
.hs-card .t { position: absolute; top: 22px; left: 24px; right: 24px; }
.hs-card .t small { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .78); }
.hs-card .t h3 { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin-top: 4px; }
.hs-card .b { position: absolute; left: 24px; right: 24px; bottom: 22px; font-size: 15px; color: rgba(255, 255, 255, .86); line-height: 1.45; }
.hs-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.hs-nav button { width: 40px; height: 40px; border-radius: 50%; background: rgba(0, 0, 0, .06); display: grid; place-items: center; transition: background-color .2s, opacity .2s; }
.hs-nav button:hover { background: rgba(0, 0, 0, .1); }
.hs-nav button:disabled { opacity: .35; cursor: default; }
.hs-nav svg { width: 16px; height: 16px; }
.theme-dark .hs-nav button { background: rgba(255, 255, 255, .1); color: #fff; }

.schol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.schol-card { border-radius: var(--r-l); padding: 30px; background: #fff; display: flex; flex-direction: column; min-height: 250px; position: relative; overflow: hidden; }
.theme-dark .schol-card { background: var(--night-card); }
.schol-card .pct { font-size: 15px; font-weight: 650; color: var(--teal); }
.schol-card h3 { font-size: 23px; font-weight: 650; letter-spacing: -0.025em; line-height: 1.15; margin-top: 10px; }
.schol-card p { margin-top: 10px; font-size: 15.5px; color: var(--muted); line-height: 1.5; }
.theme-dark .schol-card p { color: var(--on-night-muted); }
.schol-card .when { margin-top: auto; padding-top: 22px; font-size: 13px; font-weight: 600; color: var(--muted-2); }

.work { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.work-card { border-radius: var(--r-l); padding: clamp(28px, 3.4vw, 44px); background: var(--bg-alt); }
.work-card .big { font-size: clamp(48px, 6vw, 84px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.work-card .big small { font-size: .32em; letter-spacing: -0.01em; font-weight: 600; color: var(--muted); margin-left: 6px; }
.work-card h3 { margin-top: 18px; font-size: 22px; font-weight: 650; letter-spacing: -0.02em; }
.work-card p { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 1.5; }

/* Табы (Европа) */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.tabs button { height: 44px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 600; background: rgba(0, 0, 0, .05); color: var(--ink-2); transition: background-color .25s, color .25s; display: inline-flex; align-items: center; gap: 8px; }
.tabs button:hover { background: rgba(0, 0, 0, .09); }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.tab-panels { margin-top: 36px; }
.tab-panel { display: none; }
.tab-panel.on { display: grid; animation: tabIn .6s var(--ease); }
@keyframes tabIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.eu-panel { grid-template-columns: 1fr 1.15fr; gap: 20px; }
.eu-photo { border-radius: var(--r-xl); overflow: hidden; position: relative; min-height: 460px; color: #fff; isolation: isolate; }
.eu-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.eu-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.72)); }
.eu-photo .cap { position: absolute; left: 30px; right: 30px; bottom: 28px; }
.eu-photo .cap h3 { font-size: clamp(36px, 4vw, 56px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.eu-photo .cap p { margin-top: 10px; color: rgba(255, 255, 255, .86); font-size: 17px; line-height: 1.45; }
.eu-info { border-radius: var(--r-xl); background: #fff; padding: clamp(26px, 3.4vw, 40px); }
.eu-info .kv div { border-top-color: var(--line); }
.eu-info .kv dt { color: var(--muted); }
.eu-info .kv dd { color: var(--ink); }

/* Compare */
.compare-wrap { overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: thin; }
.compare { width: 100%; min-width: 980px; border-collapse: separate; border-spacing: 0; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 18px 16px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.45; }
.compare thead th { position: sticky; top: var(--nav-h); background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); z-index: 2; border-bottom: 1px solid var(--line-2); }
.compare thead th a { display: block; }
.compare thead .flag { font-size: 30px; display: block; margin-bottom: 8px; }
.compare thead b { font-size: 19px; letter-spacing: -0.02em; font-weight: 650; }
.compare tbody th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 650; width: 150px; padding-left: 0; }
.compare td b { font-weight: 650; font-size: 16px; letter-spacing: -0.015em; display: block; }
.compare td small { color: var(--muted); font-size: 13.5px; }
.compare .best { color: var(--green); font-weight: 650; }

/* Quiz */
.quiz { max-width: 880px; margin-inline: auto; background: #fff; border-radius: var(--r-xl); padding: clamp(26px, 4vw, 52px); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.quiz-progress { height: 4px; border-radius: 4px; background: var(--bg-alt); overflow: hidden; margin-bottom: 32px; }
.quiz-progress i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .6s var(--ease); }
.quiz-step { display: none; }
.quiz-step.on { display: block; animation: tabIn .5s var(--ease); }
.quiz-q { font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.035em; font-weight: 700; line-height: 1.1; }
.quiz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.quiz-opt { text-align: left; padding: 20px 22px; border-radius: 18px; border: 1.5px solid var(--line-2); transition: border-color .2s, background-color .2s, transform .2s; }
.quiz-opt:hover { border-color: var(--ink); }
.quiz-opt b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.quiz-opt small { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
.quiz-res-list { display: grid; gap: 12px; margin-top: 26px; }
.quiz-res { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 18px; padding: 14px; border-radius: 20px; background: var(--bg-alt); }
.quiz-res img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.quiz-res b { font-size: 19px; letter-spacing: -0.02em; font-weight: 650; }
.quiz-res small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.quiz-res .score { font-size: 14px; font-weight: 650; color: var(--teal); white-space: nowrap; }
.quiz-back { margin-top: 22px; font-size: 15px; color: var(--link); }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc { border-radius: var(--r-l); padding: 30px 26px; background: var(--bg-alt); min-height: 270px; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .3s; }
.theme-alt .svc { background: #fff; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-s); }
.svc .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--blue); }
.theme-alt .svc .ico { background: var(--bg-alt); }
.svc .ico svg { width: 23px; height: 23px; }
.svc h3 { margin-top: auto; padding-top: 30px; font-size: 21px; font-weight: 650; letter-spacing: -0.022em; line-height: 1.2; }
.svc p { margin-top: 8px; font-size: 15px; color: var(--muted); line-height: 1.5; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { border-radius: var(--r-xl); padding: clamp(28px, 3vw, 40px); background: #fff; display: flex; flex-direction: column; position: relative; border: 1px solid var(--line); }
.plan.hot { background: var(--night); color: var(--on-night); border-color: transparent; box-shadow: 0 40px 100px rgba(0, 0, 0, .25); }
.plan.hot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan .badge { position: absolute; top: 22px; right: 22px; }
.plan h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }
.plan .desc { margin-top: 8px; color: var(--muted); font-size: 15.5px; line-height: 1.5; min-height: 3em; }
.plan.hot .desc { color: var(--on-night-muted); }
.plan .price { margin-top: 24px; font-size: clamp(34px, 3.4vw, 46px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.plan .price small { font-size: 15px; letter-spacing: -0.01em; font-weight: 550; color: var(--muted); margin-left: 4px; }
.plan.hot .price small { color: var(--on-night-muted); }
.plan .price-note { font-size: 13px; color: var(--muted-2); margin-top: 8px; }
.plan ul { margin-top: 26px; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; font-size: 15.5px; line-height: 1.4; }
.plan li::before { content: "✓"; color: var(--teal); font-weight: 700; flex-shrink: 0; }
.plan li.no { color: var(--muted-2); }
.plan li.no::before { content: "—"; color: var(--muted-2); }
.plan .btn { margin-top: auto; }
.plan ul { margin-bottom: 30px; }

.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--night-line); border-radius: var(--r-xl); overflow: hidden; }
.principle { background: var(--night-card); padding: clamp(28px, 3.4vw, 44px); }
.principle .n { font-size: 14px; font-weight: 650; color: var(--on-night-muted); }
.principle h3 { margin-top: 20px; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.028em; font-weight: 650; line-height: 1.15; }
.principle p { margin-top: 10px; color: var(--on-night-muted); font-size: 16px; line-height: 1.55; }

/* Parents: схема оплаты */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 14px; }
.flow-node { border-radius: var(--r-l); background: #fff; padding: 28px 24px; text-align: center; box-shadow: var(--shadow-s); }
.flow-node .ico { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 18px; display: grid; place-items: center; background: var(--bg-alt); }
.flow-node .ico svg { width: 26px; height: 26px; }
.flow-node b { display: block; font-size: 19px; letter-spacing: -0.02em; font-weight: 650; }
.flow-node small { display: block; font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.4; }
.flow-node.accent { background: var(--night); color: #fff; }
.flow-node.accent small { color: var(--on-night-muted); }
.flow-node.accent .ico { background: rgba(255, 255, 255, .1); }
.flow-arrow { width: 64px; height: 2px; background: var(--grad); position: relative; border-radius: 2px; }
.flow-arrow::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left: 9px solid #8a5cff; border-right: 0; }
.flow-arrow span { position: absolute; left: 50%; top: -28px; transform: translateX(-50%); font-size: 12px; font-weight: 650; color: var(--muted); white-space: nowrap; }

.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.check { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: #fff; cursor: pointer; transition: background-color .2s, opacity .3s; user-select: none; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .box { width: 24px; height: 24px; border-radius: 8px; border: 2px solid var(--line-2); flex-shrink: 0; display: grid; place-items: center; transition: background-color .25s, border-color .25s; margin-top: 1px; }
.check .box svg { width: 14px; height: 14px; color: #fff; opacity: 0; transform: scale(.5); transition: opacity .2s, transform .3s var(--ease); }
.check input:checked + .box { background: var(--blue); border-color: var(--blue); }
.check input:checked + .box svg { opacity: 1; transform: none; }
.check input:checked ~ .txt b { text-decoration: line-through; color: var(--muted); }
.check .txt b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.015em; }
.check .txt small { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.check-progress { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.check-progress .bar { flex: 1; height: 6px; border-radius: 6px; background: rgba(0, 0, 0, .08); overflow: hidden; }
.check-progress .bar i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .5s var(--ease); }
.check-progress b { font-variant-numeric: tabular-nums; font-size: 15px; }

/* About */
.manifesto p { font-size: clamp(30px, 4vw, 56px); line-height: 1.14; letter-spacing: -0.035em; font-weight: 700; text-wrap: balance; }
.manifesto p + p { margin-top: .7em; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding-top: 22px; border-top: 2px solid var(--ink); }
.theme-dark .value { border-top-color: var(--on-night); }
.value h3 { font-size: 22px; font-weight: 650; letter-spacing: -0.022em; }
.value p { margin-top: 10px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.name-card { border-radius: var(--r-xl); background: var(--night); color: #fff; padding: clamp(32px, 5vw, 72px); position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.name-card::before { content: ""; position: absolute; width: 700px; height: 700px; left: -300px; bottom: -420px; border-radius: 50%; background: radial-gradient(circle, rgba(43, 140, 255, .35), transparent 65%); }
.name-card > * { position: relative; }
.name-word { font-size: clamp(64px, 10vw, 150px); font-weight: 700; letter-spacing: -0.06em; line-height: .9; }
.name-word span { display: block; }
.name-word .d { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gloss { display: grid; gap: 22px; }
.gloss div { padding-bottom: 22px; border-bottom: 1px solid var(--night-line); }
.gloss div:last-child { border-bottom: 0; padding-bottom: 0; }
.gloss b { font-size: 22px; font-weight: 650; letter-spacing: -0.02em; }
.gloss i { font-style: normal; color: var(--on-night-muted); margin-left: 8px; font-size: 15px; }
.gloss p { margin-top: 6px; color: var(--on-night-muted); font-size: 16px; line-height: 1.5; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.ccard { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 22px; background: var(--bg-alt); transition: transform .35s var(--ease), background-color .25s; }
.ccard:hover { transform: translateY(-2px); background: #eeeef2; }
.ccard .ico { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: #fff; flex-shrink: 0; }
.ccard .ico svg { width: 24px; height: 24px; }
.ccard b { display: block; font-size: 18px; font-weight: 650; letter-spacing: -0.02em; }
.ccard small { display: block; color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.ccard .arr { margin-left: auto; color: var(--muted-2); }
.hours { margin-top: 26px; padding: 24px; border-radius: 22px; border: 1px solid var(--line); }
.hours div { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15px; }
.hours div span { color: var(--muted); }

/* Reveal states (только при включённом JS и разрешённой анимации) */
.motion-ok [data-reveal] { opacity: 0; transform: translateY(36px); }
.motion-ok [data-reveal="fade"] { transform: none; }
.motion-ok [data-reveal="scale"] { transform: scale(.94); }
.motion-ok [data-split] .wi { display: inline-block; transform: translateY(105%); }
.motion-ok [data-split] .wo { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-top > :first-child { grid-column: 1 / -1; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .sys { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
}
@media (max-width: 980px) {
  .gnav-links, .gnav-cta { display: none; }
  .burger { display: block; }
  .dest-grid { grid-template-columns: 1fr 1fr; }
  .dest-card:not(.feat) { grid-column: span 1; min-height: 360px; }
  .dest-card.feat { grid-column: span 2; min-height: 460px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile, .bento .tile.w3, .bento .tile.w4 { grid-column: span 1; }
  .bento .tile.w6, .bento .tile.w4.wide-m { grid-column: span 2; }
  .globe-layout, .split, .cta-layout, .calc, .visa, .contact-layout, .name-card { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .split-media { aspect-ratio: 4 / 3.4; }
  .journey-layout { grid-template-columns: 1fr; }
  .journey-visual { position: sticky; top: calc(var(--nav-h) + 8px); height: auto; z-index: 2; padding: 8px 0 16px; background: linear-gradient(180deg, var(--section-bg, #fff) 82%, transparent); }
  .theme-dark .journey-visual { --section-bg: #000; }
  .theme-alt .journey-visual { --section-bg: #f5f5f7; }
  /* На мобильных карточка превращается в компактную «живую активность» */
  .app-card { width: 100%; padding: 14px 18px 14px 14px; border-radius: 26px; display: grid; grid-template-columns: 64px 1fr; column-gap: 14px; align-items: center; }
  .app-card::before { width: 260px; height: 260px; top: -150px; right: -110px; }
  .app-head, .app-rows, .stamp, .pass, .pass-meta { display: none; }
  .app-ring { width: 64px; height: 64px; margin: 0; grid-row: span 2; }
  .app-ring circle { stroke-width: 12; }
  .app-ring .pct b { font-size: 16px; letter-spacing: -0.02em; }
  .app-ring .pct small { display: none; }
  .app-panes { height: 46px; }
  .app-pane .title { font-size: 16.5px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .app-pane .sub { font-size: 13px; text-align: left; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .app-dots { justify-content: flex-start; margin-top: 8px; }
  .journey-steps { padding-block: 0 10vh; }
  .jstep { min-height: 54vh; }
  .stats { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .reasons, .schol, .plans { grid-template-columns: 1fr 1fr; }
  .unis { grid-template-columns: 1fr 1fr; }
  .costs, .work, .eu-panel { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 26px; padding-left: 0; }
  .timeline::before, .timeline .tl-fill { left: 23px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline .tl-fill { transform: scaleY(0); transform-origin: top; height: 100%; }
  .tl-item { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; padding-right: 0; }
  .tl-item .tl-dot { grid-row: span 3; }
  .tl-item .when { margin-top: 2px; }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { width: 2px; height: 44px; margin: 0 auto; background: linear-gradient(180deg, #1fd1c1, #8a5cff); }
  .flow-arrow::after { right: -5px; top: auto; bottom: -3px; border: 6px solid transparent; border-top: 9px solid #8a5cff; border-bottom: 0; }
  .flow-arrow span { left: 18px; top: 50%; transform: translateY(-50%); }
  .principles, .checklist { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .section { padding-block: 84px; }
  .dest-grid { grid-template-columns: 1fr; gap: 14px; }
  .dest-card, .dest-card.feat { grid-column: span 1; min-height: 400px; }
  .dest-card.feat { min-height: 440px; }
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .tile, .bento .tile.w3, .bento .tile.w4, .bento .tile.w6, .bento .tile.w4.wide-m { grid-column: span 1; min-height: 240px; }
  .reasons, .schol, .plans, .unis, .svc-grid, .sys, .values { grid-template-columns: 1fr; }
  .reason { min-height: 200px; }
  .quiz-opts { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-pager .lbl { display: none; }
  .hero-content { padding-bottom: 110px; }
  .pager-btn { font-size: 0; }
  .stat .num { font-size: 40px; }
  .stat + .stat { padding-left: 16px; }
  .stat { padding-right: 12px; }
  .hs-card { flex-basis: 78vw; }
  .scale-sec { height: 170vh; }
  .faq .ans-inner { padding-right: 0; }
  .lnav-title { font-size: 18px; }
  .lnav .btn { display: none; }
  .plan.hot { order: -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-slide img { transform: none !important; }
}

/* ---------- Дополнительные блоки ---------- */
.container-mid { width: min(1040px, 100% - var(--gutter) * 2); margin-inline: auto; }
.motion-ok [data-split]:not(.is-split) { visibility: hidden; }
.motion-ok [data-hero-in] { opacity: 0; transform: translateY(26px); }

/* Полоса принципов под hero */
.pstrip-sec { padding-block: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.pstrip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.pitem { display: flex; gap: 14px; align-items: flex-start; }
.pico { width: 44px; height: 44px; border-radius: 14px; background: var(--bg-alt); display: grid; place-items: center; flex-shrink: 0; color: var(--blue); }
.pico svg { width: 22px; height: 22px; }
.pitem b { display: block; font-size: 16.5px; font-weight: 650; letter-spacing: -0.018em; line-height: 1.25; }
.pitem p { font-size: 14.5px; color: var(--muted); margin-top: 4px; line-height: 1.45; }

.statement-sec { padding-block: clamp(96px, 13vw, 200px); }

/* Плашка с тестом */
.qband { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl); background: linear-gradient(120deg, #eef7ff 0%, #f3efff 55%, #eafbf8 100%); position: relative; overflow: hidden; }
.qband::after { content: ""; position: absolute; width: 300px; height: 300px; right: -80px; top: -150px; border-radius: 50%; background: radial-gradient(circle, rgba(43, 140, 255, .18), transparent 65%); }
.qband > * { position: relative; z-index: 1; }

.flag-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 34px; }
.flag-row .chip { height: 40px; padding: 0 16px; font-size: 15px; background: var(--bg-alt); transition: background-color .2s, transform .3s var(--ease); }
.flag-row a.chip:hover { background: #ebebef; transform: translateY(-2px); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip-btn { height: 38px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--bg-alt); color: var(--muted); transition: background-color .2s, color .2s; }
.chip-btn[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* Красные флаги */
.rflags { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.rflag { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: 22px; background: var(--night-card); }
.rflag .x { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 99, 99, .14); color: #ff7b7b; flex-shrink: 0; }
.rflag .x svg { width: 20px; height: 20px; }
.rflag b { display: block; font-size: 18px; font-weight: 650; letter-spacing: -0.02em; }
.rflag p { margin-top: 6px; font-size: 15px; color: var(--on-night-muted); line-height: 1.5; }

/* Проверьте нас */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tcard { border-radius: var(--r-l); padding: 30px 28px; background: var(--bg-alt); display: flex; flex-direction: column; min-height: 250px; }
.tcard .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--blue); }
.tcard .ico svg { width: 23px; height: 23px; }
.tcard h3 { margin-top: 26px; font-size: 21px; font-weight: 650; letter-spacing: -0.022em; }
.tcard p { margin-top: 8px; font-size: 15px; color: var(--muted); line-height: 1.5; }
.tcard .tval { margin-top: auto; padding-top: 18px; font-size: 14px; font-weight: 650; color: var(--ink); }

/* Текст документа */
.prose { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.prose h2 { font-size: 24px; letter-spacing: -0.025em; font-weight: 650; color: var(--ink); margin: 40px 0 12px; }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
.inline-ico { width: 18px; height: 18px; display: inline-block; vertical-align: -3px; margin-right: 4px; }

@media (max-width: 980px) {
  .pstrip { grid-template-columns: 1fr 1fr; gap: 22px; }
  .rflags, .tgrid { grid-template-columns: 1fr; }
  .qband { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .pstrip { grid-template-columns: 1fr; }
}

/* Шапка английской страницы для вузов */
.gnav-links.en { display: flex !important; }
@media (max-width: 640px) { .gnav-links.en li:first-child { display: none; } .gnav-links.en a { padding: 0 8px; } }

/* Карточки вузов, с которыми работает агентство */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard { background: #fff; border-radius: var(--r-l); padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-s); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pcard-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pcard .mono { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-weight: 700; font-size: 15px; color: #fff; background: linear-gradient(135deg, #2b8cff, #8a5cff); letter-spacing: -0.02em; }
.pcard:nth-child(3n+2) .mono { background: linear-gradient(135deg, #1fd1c1, #2b8cff); }
.pcard:nth-child(3n) .mono { background: linear-gradient(135deg, #ff8a3d, #ff4f81); }
.pcard h3 { margin-top: 22px; font-size: 21px; font-weight: 650; letter-spacing: -0.022em; line-height: 1.2; }
.pcard .pcity { margin-top: 4px; font-size: 14.5px; color: var(--muted); }
.pfacts { margin-top: 16px; display: grid; gap: 8px; }
.pfacts li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.pfacts li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
@media (max-width: 980px) { .pgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .pgrid { grid-template-columns: 1fr; } }
