/* ООО «Алекс-Транс» — стили */
:root {
  --bg: #07090f;
  --bg-2: #0c1019;
  --surface: rgba(255, 255, 255, .04);
  --surface-2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .09);
  --text: #eef1f7;
  --muted: #8d95a8;
  --accent: #ff6a2b;
  --accent-2: #ffb547;
  --cool: #4d8dff;
  --grad: linear-gradient(100deg, #ff6a2b 0%, #ffb547 55%, #ffd88a 100%);
  --gold: linear-gradient(100deg, #b8864a 0%, #f6dfae 35%, #d8a95f 60%, #fbe7bd 80%, #c0904f 100%);
  --radius: 22px;
  --ff-head: "Unbounded", system-ui, sans-serif;
  --ff: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img, svg, canvas, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #000; }

.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.grad { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ta-r { text-align: right; }

/* ---------- прелоадер ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000; background: var(--bg);
  display: grid; place-content: center; gap: 28px; justify-items: center;
  transition: opacity .8s var(--ease), visibility .8s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__logo { position: relative; width: min(440px, 76vw); }
.preloader__logo img { width: 100%; height: auto; opacity: 0; transform: scale(.94); animation: logoIn 1.2s var(--ease) .1s forwards; filter: drop-shadow(0 0 30px rgba(216, 169, 95, .22)); }
.preloader__logo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 244, 220, .9) 50%, transparent 65%) no-repeat;
  background-size: 250% 100%; background-position: 130% 0;
  -webkit-mask: url("../img/logo-full-900.png") center / contain no-repeat; mask: url("../img/logo-full-900.png") center / contain no-repeat;
  animation: logoShine 1.8s var(--ease) .8s forwards;
}
@keyframes logoIn { to { opacity: 1; transform: none; } }
@keyframes logoShine { to { background-position: -30% 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.preloader__bar { width: 220px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .3s; }

/* ---------- служебное ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 200; background: var(--grad); box-shadow: 0 0 12px var(--accent); }
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 150; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%;
  pointer-events: none; z-index: 1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle, rgba(255, 106, 43, .10), transparent 65%);
}
@media (hover: hover) { body:hover .cursor-glow { opacity: 1; } }

/* ---------- кнопки ---------- */
.btn {
  --h: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .3s, background .3s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn--lg { --h: 60px; padding: 0 32px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad); color: #140800; box-shadow: 0 10px 40px -10px rgba(255, 106, 43, .7); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn--primary:hover::after { transform: translateX(120%); }
.btn--primary:hover { box-shadow: 0 16px 50px -10px rgba(255, 106, 43, .9); }
.btn--ghost { background: var(--surface); border-color: var(--line); backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: rgba(255, 106, 43, .6); background: rgba(255, 106, 43, .08); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }

/* ---------- шапка ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .4s, border-color .4s, transform .5s var(--ease); border-bottom: 1px solid transparent; }
.header.is-scrolled { background: rgba(7, 9, 15, .72); backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { display: block; height: 40px; flex: none; }
.logo__mark img { height: 100%; width: auto; filter: drop-shadow(0 2px 12px rgba(216, 169, 95, .28)); transition: transform .5s var(--ease), filter .5s; }
.logo:hover .logo__mark img { transform: translateY(-2px) scale(1.04); filter: drop-shadow(0 4px 18px rgba(240, 200, 130, .5)); }
.logo__text { display: flex; flex-direction: column; white-space: nowrap; line-height: 1; padding-left: 12px; border-left: 1px solid rgba(216, 169, 95, .32); }
.logo__name { font-family: "Cormorant", Georgia, serif; font-weight: 700; font-size: 26px; letter-spacing: .05em; text-transform: uppercase; background: var(--gold); filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .6)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo__text small { font-family: var(--ff); font-weight: 600; letter-spacing: .3em; font-size: 9.5px; color: #c9a877; text-transform: uppercase; margin-top: 5px; }
.nav { display: flex; gap: 4px; }
.nav a { position: relative; white-space: nowrap; padding: 8px 12px; font-size: 14px; font-weight: 600; color: #c4cad8; border-radius: 999px; transition: color .3s, background .3s; }
.nav a:hover, .nav a.is-active { color: #fff; background: var(--surface-2); }
.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone { font-weight: 700; font-size: 15px; white-space: nowrap; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); cursor: pointer; position: relative; }
.burger i { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger i:first-child { top: 17px; }
.burger i:last-child { top: 25px; }
.burger[aria-expanded="true"] i:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 50% at 75% 45%, rgba(77, 141, 255, .14), transparent 70%),
    radial-gradient(40% 40% at 20% 80%, rgba(255, 106, 43, .10), transparent 70%);
}
.hero__globe { position: absolute; z-index: 1; right: -12vw; top: 50%; transform: translateY(-50%); width: min(1100px, 95vw); height: min(1100px, 95vw); cursor: grab; }
.hero__globe:active { cursor: grabbing; }
.hero__fade { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, var(--bg) 0%, rgba(7,9,15,.85) 30%, rgba(7,9,15,0) 60%), linear-gradient(0deg, var(--bg), transparent 25%); }
.hero__inner { position: relative; z-index: 3; display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 40px; pointer-events: none; }
.hero__inner > * { pointer-events: auto; }
.tag { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); backdrop-filter: blur(10px); font-size: 13px; font-weight: 600; color: #d6dbe6; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255, 106, 43, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 106, 43, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 106, 43, 0); } }
.hero__title { font-family: var(--ff-head); font-weight: 700; font-size: clamp(34px, min(5.4vw, 9vh), 84px); line-height: 1.06; letter-spacing: -.03em; margin: 22px 0 22px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: block; }
.hero__lead { max-width: 560px; font-size: 18px; color: #b8bfcf; margin: 0 0 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats { list-style: none; padding: 0; margin: 54px 0 0; display: grid; grid-template-columns: repeat(4, auto); gap: 18px 44px; justify-content: start; }
.hero__stats li { display: flex; flex-direction: column; border-left: 1px solid var(--line); padding-left: 16px; }
.hero__stats b { font-family: var(--ff-head); font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; line-height: 1.1; }
.hero__stats li > span { font-size: 13px; color: var(--muted); }

.hero__card {
  justify-self: end; width: 100%; max-width: 380px; padding: 22px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.12);
}
.hero__card-head { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.hero__card-time { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: rgba(61, 220, 132, .12); border: 1px solid rgba(61, 220, 132, .35); color: #c9f5d9; letter-spacing: .04em; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot--live { background: #3ddc84; box-shadow: 0 0 12px #3ddc84; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.hero__card-route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin: 22px 0; }
.hero__card-route small, .hero__card-foot small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.hero__card-route b { display: block; font-family: var(--ff-head); font-size: 17px; font-weight: 600; }
.hero__card-route i { font-style: normal; font-size: 12px; color: var(--muted); }
.hero__card-line { position: relative; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.3) 0 6px, transparent 6px 12px); }
.truck-mini { position: absolute; top: 50%; left: 0; transform: translate(-50%, -60%); animation: truck 4s var(--ease) infinite; }
.truck-mini svg { width: 34px; height: 17px; fill: var(--accent); filter: drop-shadow(0 0 8px var(--accent)); }
@keyframes truck { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.hero__card-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero__card-foot > div { padding: 12px; border-radius: 14px; background: rgba(0,0,0,.25); border: 1px solid var(--line); }
.hero__card-foot b { font-size: 13px; color: #c9f5d9; }

.scroll-hint { position: absolute; z-index: 3; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.25); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* подписи на глобусе */
.g-label { pointer-events: none; transform: translate(-50%, -140%); white-space: nowrap; font: 600 12px/1 var(--ff); color: #fff; padding: 6px 10px; border-radius: 999px; background: rgba(7,9,15,.7); border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(6px); }
.g-label--main { background: var(--grad); color: #140800; border: 0; font-weight: 800; box-shadow: 0 0 24px rgba(255,106,43,.6); }

/* ---------- бегущая строка ---------- */
.marquee { position: relative; z-index: 3; border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 22px 0; transform: rotate(-1.2deg) scale(1.02); }
.marquee__track { display: flex; gap: 36px; width: max-content; align-items: center; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--ff-head); font-size: clamp(22px, 3vw, 38px); font-weight: 600; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.35); white-space: nowrap; transition: color .3s; }
.marquee span:hover { color: #fff; }
.marquee i { color: var(--accent); font-style: normal; font-size: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- секции ---------- */
.section { position: relative; padding: clamp(90px, 12vw, 150px) 0; }
.section--alt { background: linear-gradient(180deg, var(--bg), var(--bg-2) 20%, var(--bg-2) 80%, var(--bg)); }
.section__head { max-width: 820px; margin-bottom: clamp(44px, 6vw, 70px); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.section__title { font-family: var(--ff-head); font-weight: 600; font-size: clamp(30px, 4.2vw, 58px); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 20px; }
.section__lead { font-size: 18px; color: var(--muted); max-width: 640px; margin: 0; }

/* ---------- 3D tilt ---------- */
.tilt { transform-style: preserve-3d; transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); will-change: transform; }
.tilt.is-tilting { transition: transform .1s linear; }

/* ---------- услуги ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  position: relative; padding: 34px 30px 30px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  border: 1px solid var(--line); min-height: 300px; display: flex; flex-direction: column;
}
.service::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,106,43,.16), transparent 45%);
}
.service::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(255,160,90,.8), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.service:hover::before, .service:hover::after { opacity: 1; }
.service > * { transform: translateZ(40px); }
.service__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(145deg, rgba(255,106,43,.22), rgba(255,106,43,.04)); border: 1px solid rgba(255,106,43,.3); margin-bottom: 28px; }
.service__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--accent-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-family: var(--ff-head); font-weight: 600; font-size: 20px; margin: 0 0 12px; letter-spacing: -.01em; }
.service p { color: var(--muted); margin: 0; font-size: 15px; }
.service__num { position: absolute; right: 24px; top: 20px; font-family: var(--ff-head); font-size: 64px; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08); transform: translateZ(20px); }

/* ---------- маршрут ---------- */
.route { position: relative; height: 320vh; }
.route__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: radial-gradient(80% 70% at 65% 50%, #0d1424, var(--bg) 75%); }
.route__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.route__overlay { position: relative; height: 100%; display: flex; align-items: center; pointer-events: none; }
.route__text { max-width: 440px; padding: 30px; margin-left: -30px; border-radius: var(--radius); background: linear-gradient(90deg, rgba(7,9,15,.85), rgba(7,9,15,.4)); backdrop-filter: blur(4px); }
.route__legend { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.route__km { display: flex; align-items: baseline; gap: 10px; }
.route__km b { font-family: var(--ff-head); font-size: clamp(40px, 5vw, 64px); font-weight: 700; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.route__km span { color: var(--muted); }
.route__stage { display: inline-flex; align-self: flex-start; padding: 10px 16px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 700; font-size: 14px; }

/* ---------- этапы ---------- */
.steps { position: relative; display: grid; gap: 28px; }
.steps__line { position: absolute; left: 39px; top: 20px; bottom: 20px; width: 2px; background: var(--line); }
.steps__line i { display: block; width: 100%; height: 0; background: var(--grad); box-shadow: 0 0 14px var(--accent); }
.step { position: relative; display: grid; grid-template-columns: 80px 1fr; gap: 30px; align-items: start; }
.step__num {
  position: relative; z-index: 1; width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--ff-head); font-size: 22px; font-weight: 700; background: var(--bg); border: 2px solid var(--line); transition: border-color .5s, box-shadow .5s, color .5s;
}
.step.is-active .step__num { border-color: var(--accent); color: var(--accent-2); box-shadow: 0 0 0 8px rgba(255,106,43,.08), 0 0 30px rgba(255,106,43,.35); }
.step__body { padding: 30px 34px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.015)); border: 1px solid var(--line); }
.step__body > * { transform: translateZ(30px); }
.step__where { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--cool); padding: 4px 10px; border-radius: 999px; background: rgba(77,141,255,.1); border: 1px solid rgba(77,141,255,.25); }
.step h3 { font-family: var(--ff-head); font-weight: 600; font-size: clamp(20px, 2.2vw, 28px); margin: 14px 0 10px; }
.step p { color: var(--muted); margin: 0; max-width: 720px; }

/* ---------- гарантии / 3D-договор ---------- */
.guar { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.guar__visual { perspective: 1400px; display: grid; place-items: center; min-height: 560px; }
.doc3d { position: relative; width: min(380px, 80vw); aspect-ratio: 1 / 1.35; transform-style: preserve-3d; transform: rotateX(18deg) rotateY(-24deg) rotateZ(4deg); transition: transform .6s var(--ease); }
.doc3d__page { position: absolute; inset: 0; border-radius: 16px; }
.doc3d__page--back { background: #1b2130; transform: translateZ(-40px) translate(26px, 22px); box-shadow: 0 50px 80px -20px rgba(0,0,0,.8); }
.doc3d__page--mid { background: #d7d9df; transform: translateZ(-20px) translate(13px, 11px); }
.doc3d__page--front { background: linear-gradient(170deg, #fdfdfd, #eceef2); color: #1a1d26; padding: 28px 26px; box-shadow: 0 0 0 1px rgba(0,0,0,.05); overflow: hidden; }
.doc3d__page--front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.7) 50%, transparent 60%); transform: translateX(var(--shine, -100%)); transition: transform .6s; }
.doc3d__head { text-align: center; border-bottom: 1px solid #d5d8df; padding-bottom: 14px; margin-bottom: 14px; }
.doc3d__head b { display: block; font-family: var(--ff-head); font-size: 22px; letter-spacing: .2em; }
.doc3d__head span { font-size: 11px; color: #6b7080; }
.doc3d__list { margin: 0; padding-left: 20px; font-size: 13px; display: grid; gap: 7px; color: #353a48; }
.doc3d__list li::marker { color: var(--accent); font-weight: 800; }
.doc3d__stamp { position: absolute; right: 22px; bottom: 22px; width: 110px; height: 110px; border-radius: 50%; border: 3px solid rgba(43, 86, 214, .75); color: rgba(43, 86, 214, .85); display: grid; place-content: center; text-align: center; font: 800 10px/1.25 var(--ff); transform: rotate(-14deg); box-shadow: inset 0 0 0 4px rgba(255,255,255,1), inset 0 0 0 6px rgba(43, 86, 214, .5); }
.doc3d__stamp small { font-weight: 600; font-size: 8px; }
.guar__list { display: grid; gap: 14px; margin: 10px 0 34px; }
.guar__item { display: flex; gap: 18px; padding: 20px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease); }
.guar__item:hover { border-color: rgba(255,106,43,.4); transform: translateX(6px); }
.guar__item > span { color: var(--accent); font-size: 14px; margin-top: 4px; }
.guar__item h3 { margin: 0 0 4px; font-size: 17px; }
.guar__item p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__list { display: grid; gap: 12px; }
.faq__item { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.faq__item[open] { border-color: rgba(255,106,43,.35); background: rgba(255,106,43,.04); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; font-weight: 700; font-size: 17px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--accent); transition: transform .4s var(--ease); }
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i::after { transform: rotate(0); }
.faq__item div { padding: 0 24px 22px; color: var(--muted); }
.faq__item p { margin: 0; }

/* ---------- реквизиты ---------- */
.req { position: relative; padding: clamp(24px, 4vw, 48px); border-radius: 30px; overflow: hidden; background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); border: 1px solid rgba(255,255,255,.12); }
.req__glow { position: absolute; width: 600px; height: 600px; right: -200px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(255,106,43,.22), transparent 65%); pointer-events: none; }
.req__grid { position: relative; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.req__cell { background: #0b0f18; padding: 22px 24px; }
.req__cell--wide { grid-column: 1 / -1; }
.req__cell dt { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.req__cell dd { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--ff-head); font-size: clamp(15px, 1.6vw, 20px); font-weight: 500; word-break: break-word; }
.copy { flex: none; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 16px; color: var(--muted); transition: color .3s, border-color .3s, background .3s; }
.copy:hover { color: var(--accent-2); border-color: var(--accent); background: rgba(255,106,43,.08); }
.req__actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- контакты ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.form { display: grid; gap: 16px; margin-top: 30px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.input { position: relative; }
.input input, .input textarea { width: 100%; padding: 26px 18px 10px; border-radius: 16px; border: 1px solid var(--line); background: rgba(0,0,0,.28); resize: vertical; transition: border-color .3s, background .3s; }
.input input { height: 62px; }
.input input:focus, .input textarea:focus { outline: none; border-color: var(--accent); background: rgba(255,106,43,.04); }
.input label { position: absolute; left: 19px; top: 20px; color: var(--muted); pointer-events: none; transition: all .25s var(--ease); }
.input input:focus + label, .input input:not(:placeholder-shown) + label,
.input textarea:focus + label, .input textarea:not(:placeholder-shown) + label { top: 9px; font-size: 12px; color: var(--accent-2); }
.input.is-error input { border-color: #ff4d5e; }
.check { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.form .btn { justify-self: start; }
.form__status { margin: 0; min-height: 1.5em; font-weight: 600; }
.form__status.ok { color: #3ddc84; }
.form__status.err { color: #ff6b78; }
.map { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); height: 360px; background: var(--bg-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: invert(.9) hue-rotate(180deg) saturate(.7) contrast(.9); }
.contacts__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.ccard { display: block; padding: 18px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s; }
a.ccard:hover { border-color: rgba(255,106,43,.5); }
.ccard--wide { grid-column: 1 / -1; }
.ccard small { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.ccard b { font-size: 16px; word-break: break-word; }

/* ---------- подвал ---------- */
.footer { position: relative; padding: 40px 0 30px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__big { display: flex; justify-content: center; margin: 10px 0 56px; }
.footer__big img { width: min(520px, 80vw); height: auto; filter: drop-shadow(0 0 40px rgba(216, 169, 95, .18)); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer__grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 0 0 16px; }
.footer__grid a:not(.logo), .footer__grid span { display: block; color: #c4cad8; font-size: 15px; margin-bottom: 8px; }
.footer__grid a:not(.logo):hover { color: var(--accent-2); }
.footer__about { color: var(--muted); max-width: 300px; margin-top: 18px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

.toast { position: fixed; left: 50%; bottom: 30px; z-index: 300; transform: translate(-50%, 120px); padding: 14px 22px; border-radius: 999px; background: #fff; color: #111; font-weight: 700; box-shadow: 0 20px 50px rgba(0,0,0,.5); transition: transform .5s var(--ease); }
.toast.is-show { transform: translate(-50%, 0); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); }

/* ---------- адаптив ---------- */
@media (max-width: 1180px) {
  .nav { position: fixed; inset: 78px 0 auto; flex-direction: column; padding: 16px; gap: 4px; background: rgba(7,9,15,.97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .5s var(--ease); z-index: -1; }
  .nav.is-open { transform: none; }
  .nav a { font-size: 18px; padding: 14px 16px; }
  .burger { display: block; }
}
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { justify-self: start; }
  .hero__globe { right: -40vw; opacity: .7; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .calc, .guar, .faq, .contacts { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .route__overlay { align-items: flex-start; padding-top: 100px; }
  .route__text { margin-left: 0; max-width: 560px; }
  .guar__visual { min-height: 460px; order: 2; }
  .req__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .header__phone, .header__actions .btn { display: none; }
  .header__inner { height: 68px; }
  .nav { top: 68px; }
  .hero { padding-top: 100px; }
  .hero__globe { width: 140vw; height: 140vw; right: -70vw; top: 34%; opacity: .55; }
  .hero__fade { background: linear-gradient(0deg, var(--bg) 10%, rgba(7,9,15,.4) 60%, rgba(7,9,15,.2)); }
  .hero__lead { font-size: 16px; }
  .hero__card { max-width: none; }
  .scroll-hint { display: none; }
  .hero__cta .btn { width: 100%; }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .services { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .route { height: 260vh; }
  .route__overlay { align-items: flex-start; padding-top: 90px; }
  .route__text { margin-left: 0; padding: 18px; max-width: 100%; }
  .route__text .section__lead { font-size: 15px; }
  .route__legend { margin-top: 14px; }
  .steps__line { left: 23px; }
  .step { grid-template-columns: 48px 1fr; gap: 14px; }
  .step__num { width: 48px; height: 48px; font-size: 15px; }
  .step__body { padding: 22px; }
  .field--row { grid-template-columns: 1fr 130px; }
  .req__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .form .btn { width: 100%; }
  .contacts__cards { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .guar__visual { min-height: 400px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- маршрут через Литву ---------- */
.g-label--hub { background: rgba(43, 86, 214, .85); border-color: rgba(120, 165, 255, .6); }
.hero__card-via { position: absolute; left: 50%; top: -22px; transform: translateX(-50%); font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9fbcff; white-space: nowrap; }
.section__title { overflow-wrap: break-word; hyphens: auto; }

/* ---------- мобильная панель действий ---------- */
.mbar { display: none; }
@media (max-width: 720px) {
  .mbar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 120;
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 8px; border-radius: 20px;
    background: rgba(12, 16, 25, .85); backdrop-filter: blur(16px) saturate(1.4); border: 1px solid var(--line);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .6); transition: transform .5s var(--ease);
  }
  .mbar.is-hidden { transform: translateY(150%); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 14px; font-weight: 800; font-size: 15px; }
  .mbar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
  .mbar__call { background: var(--surface-2); border: 1px solid var(--line); }
  .mbar__lead { background: var(--grad); color: #140800; }
  .footer { padding-bottom: 110px; }
  .toast { bottom: 100px; }

  .container { width: calc(100% - 32px); }
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 36px; }
  .section__title { font-size: clamp(25px, 7.2vw, 34px); }
  .section__lead { font-size: 16px; }
  .eyebrow { font-size: 12px; margin-bottom: 12px; }
  .logo__mark { height: 34px; }
  .logo__name { font-size: 20px; }
  .logo__text { padding-left: 10px; }
  .logo__text small { font-size: 8.5px; letter-spacing: .24em; }

  .hero { min-height: auto; padding: 96px 0 56px; }
  .hero__title { font-size: clamp(32px, 9.4vw, 44px); margin: 18px 0; }
  .hero__stats { margin-top: 36px; }
  .hero__stats b { font-size: 24px; }
  .hero__card { padding: 18px; }
  .hero__card-route b { font-size: 15px; }
  .hero__card-foot b { font-size: 12px; }
  .marquee { padding: 14px 0; }

  .route__overlay { padding-top: 84px; }
  .route__text .section__lead { display: none; }
  .route__text .section__title { margin-bottom: 0; }
  .route__km b { font-size: 40px; }
  .route__stage { font-size: 13px; }

  .service { padding: 26px 22px; }
  .service__icon { width: 50px; height: 50px; margin-bottom: 20px; }
  .service__num { font-size: 48px; }
  .service h3 { font-size: 18px; }
  .step h3 { font-size: 18px; }
  .step__body { padding: 20px; }

  .guar__visual { min-height: 0; padding: 30px 0 10px; }
  .doc3d { width: min(300px, 78vw); }
  .doc3d__list { font-size: 11.5px; gap: 5px; }
  .doc3d__stamp { width: 88px; height: 88px; font-size: 8.5px; }
  .guar__item { padding: 16px 18px; gap: 14px; }

  .faq__item summary { padding: 18px; font-size: 15.5px; }
  .faq__item div { padding: 0 18px 18px; font-size: 15px; }
  .req__cell { padding: 16px 18px; }
  .req__actions .btn { width: 100%; }
  .map { height: 280px; }
  .footer__big { margin: 0 0 36px; }
}
/* ---------- Lenis: плавная прокрутка ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
/* ---------- флаги ---------- */
.flag { display: inline-block; width: 30px; height: 20px; border-radius: 4px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 4px 12px rgba(0,0,0,.45); }
.flag-name { display: inline-flex !important; align-items: center; gap: 10px; }
.section__title { hyphens: manual; }

/* ---------- договор: превью и просмотр ---------- */
a.doc3d { display: block; cursor: pointer; }
.doc3d__page--front { padding: 0; background: #fff; }
.doc3d__page--front img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: inherit; }
.doc3d__hint {
  position: absolute; left: 50%; bottom: 22px; z-index: 2; transform: translate(-50%, 10px); opacity: 0;
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  background: rgba(7, 9, 15, .88); color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: opacity .4s, transform .4s var(--ease);
}
.doc3d__hint svg { width: 18px; height: 18px; fill: none; stroke: var(--accent-2); stroke-width: 2; }
a.doc3d:hover .doc3d__hint, a.doc3d:focus-visible .doc3d__hint { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .doc3d__hint { opacity: 1; transform: translate(-50%, 0); } }
.guar__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.guar__note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }

.pdfm { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 24px; }
.pdfm[hidden] { display: none; }
.pdfm__backdrop { position: absolute; inset: 0; background: rgba(3, 4, 8, .78); backdrop-filter: blur(8px); animation: fadeIn .3s ease; }
.pdfm__box { position: relative; width: min(1000px, 100%); height: min(92vh, 1200px); display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--bg-2); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 120px rgba(0,0,0,.7); animation: popIn .45s var(--ease); }
.pdfm__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px 12px 22px; border-bottom: 1px solid var(--line); }
.pdfm__bar b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdfm__tools { display: flex; align-items: center; gap: 8px; flex: none; }
.pdfm__close { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; font-size: 16px; }
.pdfm__close:hover { border-color: var(--accent); }
.pdfm__frame { flex: 1; width: 100%; border: 0; background: #525659; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(30px) scale(.97); } }
@media (max-width: 720px) {
  .guar__actions .btn { width: 100%; }
  .flag { width: 24px; height: 16px; }
  .flag-name { gap: 7px; }
}
/* ---------- Telegram ---------- */
.tg-ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.header__tg { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: 14px; color: #8fd3ff; background: rgba(42, 171, 238, .1); border: 1px solid rgba(42, 171, 238, .35); transition: background .3s, border-color .3s, color .3s; white-space: nowrap; }
.header__tg:hover { background: rgba(42, 171, 238, .2); border-color: #2aabee; color: #fff; }
.ccard--tg b { display: inline-flex; align-items: center; gap: 8px; color: #8fd3ff; margin-top: 2px; }
.ccard--tg:hover { border-color: rgba(42, 171, 238, .6) !important; }
.ccard--tg .tg-ico { width: 20px; height: 20px; }
.mbar__call { color: #8fd3ff; }
@media (max-width: 720px) { .header__tg { display: none; } }
/* ---------- метки на глобусе ---------- */
.g-badge {
  pointer-events: none; transform: translate(-50%, -135%); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 8px; border-radius: 999px;
  font: 800 14px/1 var(--ff-head); letter-spacing: .02em; color: #fff;
  background: rgba(7, 9, 15, .72); backdrop-filter: blur(8px);
  animation: badgeFloat 4s ease-in-out infinite;
}
.g-badge img { width: 28px; height: 19px; border-radius: 4px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.g-badge--eu { border: 1px solid rgba(120, 165, 255, .7); box-shadow: 0 0 26px rgba(60, 110, 255, .55), inset 0 0 12px rgba(60, 110, 255, .25); }
.g-badge--ru { border: 1px solid rgba(255, 150, 90, .8); box-shadow: 0 0 26px rgba(255, 106, 43, .6), inset 0 0 12px rgba(255, 106, 43, .25); animation-delay: -2s; }
.g-badge--mid { transform: translate(-50%, -50%); padding: 7px 14px; font: 700 12px/1 var(--ff); color: #fff3d6; border: 1px solid rgba(255, 210, 150, .45); box-shadow: 0 0 20px rgba(255, 180, 90, .35); }
.g-badge__dot { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 10px #3ddc84; animation: blink 1.6s infinite; }
@keyframes badgeFloat { 50% { margin-top: -5px; } }
@media (max-width: 1024px) { .g-badge { font-size: 12px; padding: 6px 11px 6px 7px; } .g-badge img { width: 22px; height: 15px; } }
@media (max-width: 720px) { .hero__globe .g-badge { display: none; } }
/* ---------- телефоны: чёткость и стабильность ---------- */
html { -webkit-tap-highlight-color: transparent; }
@media (hover: none), (pointer: coarse) {
  /* 3D-слои на телефонах растягивают текст и делают его мыльным — отключаем */
  .tilt, .tilt.is-tilting { transform: none !important; will-change: auto; transform-style: flat; }
  .service > *, .step__body > *, .service__num { transform: none !important; }
  .doc3d { transform: rotate(-2.5deg) !important; transform-style: flat; }
  .doc3d__page--back { transform: translate(14px, 12px); }
  .doc3d__page--mid { transform: translate(7px, 6px); }
  .marquee { transform: none; }
  .btn.magnetic { transform: none !important; }
  /* размытие фона поверх 3D-глобуса и карты тяжёлое для телефона — даём плотный фон */
  .hero__card { backdrop-filter: none; -webkit-backdrop-filter: none; background: linear-gradient(160deg, rgba(26, 31, 44, .96), rgba(14, 17, 25, .96)); }
  .route__text { backdrop-filter: none; background: rgba(7, 9, 15, .8); }
  .cursor-glow { display: none; }
}
@media (max-width: 720px) {
  .header.is-scrolled { background: rgba(7, 9, 15, .94); }
  .input input, .input textarea { font-size: 16px; } /* без автозума iPhone при вводе */
  .hero__card-route { gap: 8px; margin: 26px 0 18px; }
  .hero__card-route b { font-size: 14px; }
  .hero__card-via { font-size: 9.5px; top: -20px; letter-spacing: .04em; }
  .hero__card-foot { gap: 8px; }
  .hero__card-foot > div { padding: 10px; }
  .hero__card-time { font-size: 11px; padding: 3px 8px; }
  .req__cell dd { font-size: 15px; }
  .pdfm { padding: 0; }
  .pdfm__box { height: 100%; border-radius: 0; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 24px); }
  .logo__mark { height: 30px; }
  .logo__name { font-size: 17px; }
  .logo__text { padding-left: 8px; }
  .logo__text small { font-size: 7.5px; letter-spacing: .2em; }
  .hero__title { font-size: 30px; }
  .hero__stats { gap: 14px; }
  .hero__stats b { font-size: 21px; }
  .hero__card { padding: 14px; }
  .hero__card-head { font-size: 11px; gap: 7px; }
  .hero__card-route b { font-size: 13px; }
  .flag { width: 20px; height: 14px; }
  .section__title { font-size: 24px; }
  .mbar { left: 8px; right: 8px; }
  .mbar a { font-size: 14px; }
}
/* уведомление полностью прячется, пока не нужно */
.toast { opacity: 0; visibility: hidden; transform: translate(-50%, 24px); transition: transform .5s var(--ease), opacity .3s, visibility .3s; }
.toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }