/* Maxtech International — home page (v2, light) */

/* ----- hero ----- */
.hero { position: relative; min-height: min(100vh, 1040px); min-height: min(100svh, 1040px); display: flex; flex-direction: column; justify-content: center; padding: calc(var(--hd-h) + 40px) 0 0; overflow: hidden; background: radial-gradient(70% 90% at 88% 12%, #C4D2E1 0%, rgba(196, 210, 225, 0) 62%), radial-gradient(60% 80% at 62% 96%, #D0DAE6 0%, rgba(208, 218, 230, 0) 60%), radial-gradient(50% 60% at 0% 100%, #E2E9F1 0%, rgba(226, 233, 241, 0) 70%), linear-gradient(180deg, rgba(238, 242, 247, .75) 0%, rgba(251, 250, 248, 0) 100%); }
.hero-glow-a { width: 52vw; height: 52vw; right: -10vw; top: -18vw; opacity: .5; animation: drift 16s ease-in-out infinite alternate; }
.hero-glow-b { width: 44vw; height: 44vw; left: 30vw; bottom: -24vw; opacity: .75; animation: drift 20s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-6vw, 4vw, 0) scale(1.15); } }
/* the 3D area keeps the laptop proportions and stays centred with the content, however wide the screen */
.hero-scene { position: absolute; top: 0; bottom: 0; left: 50%; width: min(100%, 1600px); transform: translateX(-50%); -webkit-mask-image: linear-gradient(90deg, transparent 43%, #000 57%, #000 96%, transparent 100%); mask-image: linear-gradient(90deg, transparent 43%, #000 57%, #000 96%, transparent 100%); }
.hero-scene .scene-still { object-fit: cover; }
.hero-body { position: relative; z-index: 3; padding-bottom: clamp(28px, 4vh, 56px); }
.hero-title { max-width: 11.2em; margin-top: 16px; }
html[lang="ru"] .hero-title { max-width: 13em; }
.hero-desc { max-width: 44ch; margin-top: clamp(20px, 2.4vw, 30px); font-size: clamp(16px, 1.2vw, 18px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 3vw, 38px); }
.hero-cta .btn { min-height: 64px; padding-left: 30px; font-size: 17px; font-weight: 600; gap: 20px; }
.hero-cta .btn .arr { padding: 17px 14px; }
.hero-cta .btn-ink { box-shadow: 0 16px 30px -14px rgba(29, 27, 32, .7); }
.hero-cta .btn-ink .arr { background: rgba(255, 255, 255, .16); }
.facts { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: var(--r); margin-bottom: clamp(24px, 3vw, 40px); }
.facts li { display: flex; align-items: center; gap: 18px; padding: 22px clamp(18px, 2.2vw, 32px); }
.facts li + li { border-left: 1px solid var(--line); }
.facts b { font: 600 clamp(24px, 2.3vw, 36px)/1 var(--f-display); letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; white-space: nowrap; }
.facts span { font-size: 14px; line-height: 1.4; color: var(--ink-2); }

/* scroll-linked: the hero text drifts up and fades as you leave, the glows slide, cards tilt */
.hero[data-sc] .hero-body { transform: translate3d(0, calc(min(var(--s, 0), 0) * 90px), 0); opacity: calc(1 + min(var(--s, 0), 0) * 1.5); }
.hero[data-sc] .facts { transform: translate3d(0, calc(min(var(--s, 0), 0) * -40px), 0); }
.mark-card[data-sc] { transform: perspective(1400px) rotateY(calc(var(--s, 0) * -9deg)) rotateX(calc(var(--s, 0) * 5deg)); will-change: transform; }
.training[data-sc] .train-glow { transform: translate3d(0, calc(var(--s, 0) * 22vw), 0); }
.gates[data-sc] .gates-glow { transform: translate3d(0, calc(var(--s, 0) * 14vw), 0) scale(calc(1.25 - var(--s, 0) * .25)); }

/* ----- about ----- */
.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.about-main .h2 { margin-top: 14px; }
.about-lead { margin-top: clamp(22px, 2.6vw, 36px); }
.mark-card { position: relative; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(160deg, #FFFFFF 0%, var(--blush) 100%); box-shadow: 0 0 0 1px var(--line-2), var(--sh-2); padding: 14px; }
.mark-card .glow { width: 90%; height: 90%; right: -30%; top: -30%; opacity: .5; }
.mark-scene { aspect-ratio: 5 / 4; }
.mark-scene .scene-still { padding: 6%; }
.corridor { position: relative; border-radius: calc(var(--r-lg) - 14px); padding: 20px 24px 22px; }
.corridor-top { display: flex; align-items: center; gap: 14px; }
.corridor-top b { font: 600 30px/1 var(--f-display); letter-spacing: -.03em; color: var(--ink); }
.corridor-top b:first-child { color: var(--crimson); }
.corridor-track { position: relative; flex: 1 1 0; min-width: 0; height: 50px; }
.corridor-track::before { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--crimson), var(--slate)); opacity: .28; }
/* a small certified worker walks from India to Russia, again and again */
.corridor-walker { position: absolute; left: 0; bottom: 6px; width: 30px; height: 42px; margin-left: -15px; animation: cwGo 5.5s linear infinite; }
.corridor-walker svg { width: 100%; height: 100%; overflow: visible; animation: cwBob .42s ease-in-out infinite alternate; }
.cw-hat { fill: #FFC233; } .cw-head { fill: #F3D9C8; } .cw-body { fill: var(--crimson); }
.cw-arm { fill: none; stroke: var(--crimson); stroke-width: 3; stroke-linecap: round; transform-box: fill-box; transform-origin: 50% 0; }
.cw-arm-a { animation: cwSwing .42s ease-in-out infinite alternate; } .cw-arm-b { animation: cwSwing .42s ease-in-out infinite alternate-reverse; }
@keyframes cwGo { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes cwBob { from { transform: translateY(0); } to { transform: translateY(-2.5px); } }
@keyframes cwSwing { from { transform: rotate(-26deg); } to { transform: rotate(26deg); } }
.corridor-label { margin-top: 14px; font-weight: 500; color: var(--ink); font-size: 16px; }
.corridor-sub { margin-top: 2px; font-size: 14px; }
.about-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: clamp(48px, 6vw, 92px); padding-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); }
.about-cols p { font-size: 15.5px; }
.pillars { margin-top: clamp(48px, 6vw, 92px); }
.pillar-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.pillar { padding: clamp(24px, 2.4vw, 34px); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.pillar:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line-2), var(--sh-2); }
.pillar p { margin-top: 10px; font-size: 15px; line-height: 1.55; }

/* ----- sectors (default: a swipe rail; desktop with JS: tabs + stage) ----- */
.sx-index { display: none; }
.sx-stage { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px var(--gut) 30px; scroll-padding-left: var(--gut); -webkit-overflow-scrolling: touch; }
.sx-stage::-webkit-scrollbar { display: none; }
.sx-panel { flex: 0 0 min(84vw, 400px); scroll-snap-align: start; background: var(--card); border-radius: var(--r); box-shadow: 0 0 0 1px var(--line-2), var(--sh-1); display: flex; flex-direction: column; overflow: hidden; }
.sx-fig { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.sx-fig img { width: 100%; height: 100%; object-fit: cover; }
.sx-body { padding: 24px 22px 26px; }
.sx-badge { font: 500 12.5px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--crimson-ink); margin-bottom: 12px; }
.sx-body > p:not(.sx-badge) { margin-top: 14px; font-size: 15.5px; line-height: 1.55; }
.roles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.roles li { padding: 9px 14px; border-radius: 999px; background: var(--bg); box-shadow: 0 0 0 1px var(--line) inset; font-size: 13.5px; line-height: 1.25; color: var(--ink); }
.sx-dots { display: flex; justify-content: center; gap: 7px; margin-top: -6px; }
.sx-dots i { width: 7px; height: 7px; border-radius: 999px; background: rgba(29, 27, 32, .18); transition: background-color .3s, width .3s var(--ease); }
.sx-dots i.on { background: var(--crimson); width: 26px; }

.sx-name { display: none; }
@media (min-width: 1000px) {
  html.js .sx { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
  html.js .sx-stage { display: flex; gap: 10px; height: clamp(520px, 44vw, 640px); overflow: visible; padding: 0; scroll-snap-type: none; }
  html.js .sx-panel { position: relative; display: block; flex: 1 1 0; min-width: 0; border-radius: var(--r-lg); overflow: hidden; cursor: pointer; background: var(--ink); box-shadow: var(--sh-1); transition: flex-grow .9s var(--ease), box-shadow .6s; }
  html.js .sx-panel.is-on { flex-grow: 9; cursor: default; box-shadow: var(--sh-2); }
  html.js .sx-fig { position: absolute; inset: 0; aspect-ratio: auto; }
  html.js .sx-fig::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29, 27, 32, .15) 0%, rgba(29, 27, 32, .78) 100%); transition: opacity .7s; }
  html.js .sx-panel.is-on .sx-fig::after { opacity: .45; }
  html.js .sx-fig img { filter: saturate(.55); transform: scale(1.18); transition: transform 1.6s var(--ease), filter .8s; }
  html.js .sx-panel:hover .sx-fig img { filter: saturate(.8); }
  html.js .sx-panel.is-on .sx-fig img { filter: none; transform: scale(1.02); }
  html.js .sx-name { display: block; position: absolute; z-index: 2; left: 50%; bottom: 26px; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); white-space: nowrap; font: 600 19px/1 var(--f-display); letter-spacing: -.01em; color: #fff; transition: opacity .35s; }
  html.js .sx-name::after { content: ""; display: block; width: 8px; height: 8px; margin: 14px auto 0; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(255, 255, 255, .22); }
  html.js .sx-panel.is-on .sx-name { opacity: 0; }
  html.js .sx-body { position: absolute; z-index: 3; left: 18px; bottom: 18px; width: min(540px, 44vw); padding: 28px 30px 30px; border-radius: calc(var(--r-lg) - 12px); background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: var(--sh-2); opacity: 0; transform: translateY(26px); pointer-events: none; transition: opacity .25s, transform .25s; }
  html.js .sx-panel.is-on .sx-body { opacity: 1; transform: none; pointer-events: auto; transition: opacity .7s .4s var(--ease), transform .8s .4s var(--ease); }
  html.js .sx-dots { display: none; }
  html.js .roles li { font-size: 14px; }
}

/* ----- leadership ----- */
.lead-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); padding: clamp(28px, 4.4vw, 72px); border-radius: var(--r-lg); background: linear-gradient(150deg, #FFFFFF 30%, var(--blush) 100%); box-shadow: 0 0 0 1px var(--line-2), var(--sh-2); }
.lead-name { margin-top: 26px; font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: clamp(46px, 5.4vw, 86px); letter-spacing: -.02em; line-height: .95; }
html[lang="ru"] .lead-name { font-size: clamp(40px, 4.6vw, 72px); }
.lead-role { margin-top: 14px; font-weight: 500; color: var(--crimson-ink); }
.lead-fig { display: flex; align-items: center; gap: 18px; margin-top: clamp(28px, 4vw, 56px); padding-top: clamp(22px, 3vw, 36px); border-top: 1px solid var(--line); }
.lead-num { font: 500 clamp(72px, 8vw, 128px)/.9 var(--f-display); letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.lead-fig span { max-width: 22ch; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.lead-text p:not(.lead) { font-size: 16px; }

/* ----- training: a process that plays as you scroll ----- */
.training { overflow: hidden; overflow: clip; }
.train-glow { width: 50vw; height: 50vw; right: -20vw; top: -10vw; }
.train-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.train-copy .h2 { margin-top: 14px; }
.train-copy > p:not(.eyebrow) { margin-top: clamp(18px, 2vw, 28px); }
.train-media { position: relative; }
.proc-card { --tint: #DDE5EE; --tone: var(--slate); position: relative; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(160deg, #FFFFFF 0%, var(--tint) 100%); box-shadow: 0 0 0 1px var(--line-2), var(--sh-2); transition: --tint .8s var(--ease); }
/* each stage has its own colour: slate, amber, blue, then Maxtech crimson */
.proc-card::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease), background .9s; pointer-events: none; }
.proc-card[data-step="1"] { --tone: #B7791F; } .proc-card[data-step="1"]::before { opacity: 1; background: linear-gradient(160deg, rgba(255, 255, 255, 0) 0%, #FBE9C6 100%); }
.proc-card[data-step="2"] { --tone: #2B6CB0; } .proc-card[data-step="2"]::before { opacity: 1; background: linear-gradient(160deg, rgba(255, 255, 255, 0) 0%, #CFE1F5 100%); }
.proc-card[data-step="3"] { --tone: var(--crimson); } .proc-card[data-step="3"]::before { opacity: 1; background: linear-gradient(160deg, rgba(255, 255, 255, 0) 0%, #F7CED5 100%); }
.proc-now { position: absolute; z-index: 2; left: clamp(18px, 2vw, 28px); top: clamp(16px, 1.8vw, 26px); right: 150px; height: 3.4em; font: 600 clamp(20px, 1.9vw, 30px)/1.12 var(--f-display); letter-spacing: -.03em; }
.proc-now b { position: absolute; left: 0; top: 0; font-weight: 600; color: var(--tone); opacity: 0; transform: translateY(18px); transition: opacity .45s var(--ease), transform .6s var(--ease), color .6s; }
.proc-now b.on { opacity: 1; transform: none; }
.proc-now b.past { transform: translateY(-18px); }
.proc-bar { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(29, 27, 32, .07); }
.proc-bar i { display: block; height: 100%; background: var(--tone); transform-origin: 0 50%; transform: scaleX(0); transition: background-color .6s; }
.proc-card .glow { width: 80%; height: 80%; right: -25%; top: -30%; opacity: .5; }
.proc-scene { aspect-ratio: 4 / 3; max-height: 52vh; width: 100%; }
.train-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 14px; margin-top: 14px; align-items: stretch; }
.train-fig { overflow: hidden; border-radius: var(--r); box-shadow: var(--sh-1); min-height: 120px; }
.train-fig img { width: 100%; height: 100%; object-fit: cover; }
.train-quote { padding: 20px 22px; border-radius: var(--r); display: flex; align-items: center; }
.train-quote p { font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.stages { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); margin-top: clamp(28px, 3vw, 44px); --sp: 0; }
.stages::before, .stages::after { content: ""; position: absolute; left: 13px; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: rgba(29, 27, 32, .1); }
.stages::after { background: var(--grad); transform-origin: 50% 0; transform: scaleY(var(--sp)); }
.stage { position: relative; padding: 2px 0 26px 50px; font: 500 clamp(18px, 1.5vw, 22px)/1.25 var(--f-display); letter-spacing: -.02em; color: var(--ink-3); transition: color .5s var(--ease), transform .6s var(--ease); }
.stage:last-child { padding-bottom: 0; }
.stage i { position: absolute; z-index: 1; left: 0; top: 0; width: 29px; height: 29px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(29, 27, 32, .14) inset, 0 0 0 5px var(--bg-2); transition: transform .5s var(--ease), box-shadow .5s, background .4s; }
.stage.on { color: var(--ink); }
.stage.on i { background: var(--grad); box-shadow: 0 8px 16px -4px rgba(229, 28, 62, .6), 0 0 0 5px var(--bg-2); }
.stage.now { transform: translateX(10px) scale(1.06); transform-origin: 0 50%; color: var(--crimson-ink); }
.training[data-proc] .train-copy .h2 { transform: translate3d(0, calc(var(--pp, 0) * -14px), 0); }
.training[data-proc] .train-copy > p:not(.eyebrow) { opacity: calc(1 - var(--pp, 0) * .45); }
.training[data-proc] .train-row { transform: translate3d(0, calc((1 - var(--pp, 0)) * 26px), 0); }
.training[data-proc] .train-fig img { transform: scale(calc(1.25 - var(--pp, 0) * .22)); }
.stage.now i { transform: scale(1.22); }
html:not(.js) .stage { color: var(--ink); }
.proc-dial { position: absolute; z-index: 3; right: 18px; top: 18px; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; }
.proc-ring { position: absolute; left: 8px; top: 8px; width: calc(100% - 16px); height: calc(100% - 16px); transform: rotate(-90deg); fill: none; stroke: rgba(29, 27, 32, .1); stroke-width: 5; }
.proc-ring-fill { stroke: var(--tone, var(--crimson)); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .5s var(--ease); }
.proc-ico { grid-area: 1 / 1; width: 40px; height: 40px; fill: none; stroke: var(--tone, var(--crimson)); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.5) rotate(-30deg); transition: opacity .4s, transform .6s var(--ease); }
.proc-ico.on { opacity: 1; transform: none; }
@media (min-width: 1000px) and (min-height: 640px) {
  html.js .training[data-proc] { padding: 0; height: 290vh; }
  html.js .proc-pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; padding-top: var(--hd-h); }
  html.js .proc-pin > .wrap { width: 100%; }
}

/* ----- events teaser ----- */
.teaser-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.teaser-fig { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--sh-2); }
.teaser-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.teaser-fig:hover img { transform: scale(1.04); }
.teaser-chip { position: absolute; left: 16px; bottom: 16px; padding: 10px 18px; border-radius: 999px; font: 500 13px/1 var(--f-body); letter-spacing: .08em; color: var(--ink); }
.teaser-copy .h2 { margin-top: 14px; }
.teaser-copy .lead { margin: clamp(20px, 2.4vw, 32px) 0 clamp(26px, 3vw, 38px); font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-2); }

/* ----- gateways ----- */
.gates { overflow: hidden; padding-top: clamp(40px, 5vw, 80px); }
.gates-glow { width: 70vw; height: 46vw; left: 15vw; bottom: -26vw; opacity: .45; }
.gate-row { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gate { position: relative; display: flex; flex-direction: column; min-height: clamp(320px, 28vw, 400px); padding: clamp(26px, 2.6vw, 38px); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.gate::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--grad); opacity: 0; transition: opacity .5s var(--ease); }
.gate p { margin-top: 14px; font-size: 15.5px; transition: color .4s; }
.gate h3 { transition: color .4s; }
.gate-cta { margin-top: auto; padding-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 14px; font-weight: 500; font-size: 15px; }
.gate-cta .arr { box-sizing: content-box; width: 16px; height: 10px; padding: 16px 13px; border-radius: 50%; background: var(--bg-2); color: var(--crimson); transition: transform .4s var(--ease), background-color .3s, color .3s; }
@media (hover: hover) {
  .gate:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -22px rgba(229, 28, 62, .55); }
  .gate:hover::before { opacity: 1; }
  .gate:hover h3, .gate:hover p, .gate:hover .gate-cta { color: #fff; }
  .gate:hover .arr { background: #fff; transform: translateX(4px); }
  .gate:hover .ico { background: #fff; transform: scale(1.08) rotate(-4deg); }
}
.gate:active { transform: scale(.985); }

/* ==========================================================================
   tablet
   ========================================================================== */
@media (max-width: 999px) {
  .about-grid, .lead-card, .train-grid, .teaser-grid { grid-template-columns: minmax(0, 1fr); }
  .about-cols { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .about-cols p + p { margin-top: 1.05em; }
  /* tablet: the 3D becomes a wide banner above the headline, so the walkers never cross the text */
  .hero { min-height: 0; justify-content: flex-start; padding-top: calc(var(--hd-h) + 8px); }
  .hero-scene { position: relative; inset: auto; left: auto; transform: none; order: -1; width: 100%; height: clamp(300px, 40vh, 440px); opacity: 1; -webkit-mask-image: none; mask-image: none; }
  .hero-body { padding-top: 10px; }
  .gate { min-height: 0; }
  .facts span { font-size: 13px; }
}

/* ==========================================================================
   phone: its own layout, built for the thumb
   ========================================================================== */
@media (max-width: 760px) {
  .hero { min-height: 0; justify-content: flex-start; padding-top: calc(var(--hd-h) + 4px); }
  .hero-scene { position: relative; inset: auto; order: -1; width: 100%; height: 34vh; height: 34svh; min-height: 220px; max-height: 320px; opacity: 1; -webkit-mask-image: none; mask-image: none; }
  .hero-body { padding-top: 6px; padding-bottom: 26px; }
  .hero-title { font-size: clamp(34px, 9.6vw, 46px); margin-top: 20px; }
  html[lang="ru"] .hero-title { font-size: clamp(29px, 8.2vw, 40px); }
  .hero-cta { flex-direction: column; gap: 10px; }
  .hero-cta .btn { width: 100%; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts li { padding: 16px 20px; }
  .facts li + li { border-left: 0; border-top: 1px solid var(--line); }
  .facts b { min-width: 112px; font-size: 21px; }

  .pillar-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pillar { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 16px; padding: 22px 20px; }
  .pillar .ico { grid-row: span 2; margin: 0; width: 46px; height: 46px; border-radius: 14px; }

  .lead-card { padding: 26px 22px 30px; border-radius: var(--r); }
  .lead-num { font-size: 84px; }

  .train-row { grid-template-columns: minmax(0, 1fr); }
  .train-fig { aspect-ratio: 16 / 9; }
  .proc-card { border-radius: var(--r); }
  .proc-dial { width: 84px; height: 84px; right: 12px; top: 12px; }
  .proc-now { right: 108px; font-size: 19px; }
  .proc-ico { width: 30px; height: 30px; }

  .teaser-fig { border-radius: var(--r); aspect-ratio: 3 / 2; }
  .gate-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .gate { padding: 24px 22px; border-radius: var(--r); display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 16px; }
  .gate .ico { grid-row: span 2; margin: 0; width: 46px; height: 46px; border-radius: 14px; }
  .gate p { grid-column: 2; }
  .gate-cta { grid-column: 1 / -1; padding-top: 20px; }
}
/* "Read more" folding: only on phones */
.more-btn { display: none; }
@media (max-width: 760px) {
  .has-more:not(.is-open) { max-height: 11.5em; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
  .more-btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; min-height: 48px; padding: 0 20px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--sh-1); font-weight: 600; font-size: 15px; color: var(--ink); }
  .more-btn svg { width: 12px; height: 8px; fill: none; stroke: var(--crimson); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
  .more-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
  .about-cols.has-more { margin-top: 28px; }

  /* hero: bigger scene, compact buttons (main one full width, the other two side by side) */
  .hero-scene { height: 44vh !important; height: 44svh !important; max-height: 400px !important; margin-top: -8px; }
  .hero-cta { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .hero-cta .btn:first-child { grid-column: 1 / -1; }
  .hero-cta .btn-ink { min-height: 56px; padding: 0 16px; justify-content: center; font-size: 15.5px; }
  .hero-cta .btn-ink .arr { display: none; }

  /* training: the 3D card stays on screen while the four stages scroll up underneath it */
  .train-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .train-copy, .train-media { display: contents; }
  .train-copy > .eyebrow, .train-copy > .h2, .train-copy > p { order: 1; }
  .proc-card { order: 2; position: sticky; top: calc(var(--hd-h) + 6px); z-index: 4; margin-top: 26px; box-shadow: 0 0 0 1px var(--line-2), 0 24px 40px -18px rgba(29, 27, 32, .35); }
  .stages { order: 3; margin-top: 30px; }
  .stage { min-height: 24vh; font-size: 22px; }
  .stage:last-child { min-height: 16vh; }
  .train-row { order: 4; margin-top: 8px; transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .corridor-walker, .corridor-walker svg, .cw-arm, .hero .glow { animation: none; }
  .corridor-walker { left: 50%; }
  .sx-fig img, .sx-body, .sx-panel { transition: none !important; }
}
