/* ============================================================
   AUTOLOGIX GROUP · Дубай · международная логистика
   Концепция: «маршрутный лист» - золотая линия маршрута,
   моно-чипы с кодами направлений, ночной перрон + янтарь заката
   ============================================================ */

:root {
  --ink: #0B1017;
  --ink2: #0F1622;
  --ink3: #141D2C;
  --paper: #F3EEE3;
  --paper2: #EAE2D2;
  --amber: #F0A63F;
  --amber2: #FFC46B;
  --wa: #27B45E;
  --wa2: #1F9C50;
  --txt: #E9ECF2;
  --txt-dim: rgba(233, 236, 242, .66);
  --line: rgba(233, 236, 242, .1);
  --f-disp: "Geologica", "Segoe UI", sans-serif;
  --f-text: "Onest", "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", "Consolas", monospace;
  --hdr-h: 72px;
  --r: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--f-text);
  font-size: 16px;
  line-height: 1.55;
  color: var(--txt);
  background: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3 { font-family: var(--f-disp); line-height: 1.08; }
.mono { font-family: var(--f-mono); letter-spacing: .08em; }
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }

/* тонкое зерно поверх всей страницы */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

/* ---------- КНОПКИ ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-disp); font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: 12px; border: 0; cursor: pointer;
  transition: transform .25s, box-shadow .25s, background .25s;
  will-change: transform;
}
.btn svg { width: 19px; height: 19px; fill: currentColor; flex: none; }
.btn-lg { padding: 16px 28px; font-size: 16px; border-radius: 14px; }
.btn-full { width: 100%; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 24px rgba(39, 180, 94, .3); }
.btn-wa:hover { background: var(--wa2); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(39, 180, 94, .4); }
.btn-amber { background: var(--amber); color: var(--ink); box-shadow: 0 8px 24px rgba(240, 166, 63, .28); }
.btn-amber:hover { background: var(--amber2); transform: translateY(-2px); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }

/* ---------- ШАПКА ---------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s, box-shadow .35s;
}
.hdr.scrolled { background: rgba(11, 16, 23, .94); box-shadow: 0 6px 30px rgba(0, 0, 0, .35); }
body.menu-open .hdr { z-index: 130; background: transparent; box-shadow: none; }
.hdr-in {
  width: min(1320px, 100% - 40px); margin-inline: auto;
  height: var(--hdr-h); display: flex; align-items: center; gap: 28px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; position: relative; z-index: 130; }
.logo-mark {
  width: 40px; height: 40px; flex: none; color: #fff;
  transition: color .35s, transform .55s cubic-bezier(.2,.8,.2,1);
}
.logo:hover .logo-mark { color: var(--amber); transform: rotate(-8deg) scale(1.06); }
.foot .logo-mark { width: 54px; height: 54px; color: var(--amber); }
.logo-word {
  font-family: var(--f-disp); font-weight: 800; font-size: 17px; letter-spacing: .05em; color: #fff;
  display: inline-flex; align-items: baseline; gap: 6px;
}
.logo-word b { font-weight: 400; font-size: 11px; letter-spacing: .3em; color: var(--amber); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  font-size: 14.5px; font-weight: 500; color: var(--txt-dim); position: relative;
  padding: 6px 0; transition: color .25s; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--amber); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); }
.hdr-right { display: flex; align-items: center; gap: 14px; position: relative; z-index: 130; }
.hdr-cta { padding: 10px 18px; font-size: 14px; }

/* переключатель языка - стандарт студии */
.lang { display: flex; gap: 0; background: rgba(255, 255, 255, .16); border-radius: 10px; padding: 3px; }
.lang button {
  border: 0; background: transparent; border-radius: 7px; cursor: pointer;
  padding: 6px 13px; font-family: var(--f-disp); font-size: 12px; font-weight: 700; letter-spacing: .06em;
  color: rgba(255, 255, 255, .8); transition: background .25s, color .25s;
}
.lang button:hover { color: #fff; }
.lang button.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .18); }
.lang button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* бургер */
.burger {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
body.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* мобильное меню */
.mnav {
  position: fixed; inset: 0; z-index: 120; background: rgba(11, 16, 23, .98);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--hdr-h) + 28px) 28px 32px;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
body.menu-open .mnav { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }
.mnav-links { display: flex; flex-direction: column; gap: 4px; }
.mnav-links a {
  font-family: var(--f-disp); font-weight: 700; font-size: clamp(28px, 7vw, 40px); color: #fff;
  padding: 8px 0; opacity: 0; transform: translateY(18px);
  transition: opacity .4s calc(.06s * var(--i)), transform .4s calc(.06s * var(--i)), color .25s;
}
.mnav-links a:hover { color: var(--amber); }
body.menu-open .mnav-links a { opacity: 1; transform: none; }
.mnav-foot { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.mnav-tel { font-family: var(--f-disp); font-weight: 600; font-size: 20px; color: var(--txt); }
.mnav-note { font-size: 11px; color: var(--amber); }

/* ---------- ГЕРОЙ ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 16, 23, .55) 0%, rgba(11, 16, 23, .18) 34%, rgba(11, 16, 23, .82) 78%, var(--ink) 100%),
    linear-gradient(78deg, rgba(11, 16, 23, .72) 0%, rgba(11, 16, 23, .25) 48%, rgba(11, 16, 23, 0) 75%);
}
.hero-route {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
  clip-path: inset(0 100% 0 0); transition: clip-path 2.2s cubic-bezier(.4, 0, .2, 1) .5s;
}
.hero-route.go { clip-path: inset(0 0 0 0); }
#heroDot { opacity: 0; transition: opacity .5s 2.4s; }
.hero-route.go #heroDot { opacity: 1; }
#heroPulse { animation: pulse 2.4s ease-out 2.8s infinite; transform-origin: center; opacity: 0; }
@keyframes pulse {
  0% { transform: scale(1); opacity: .9; }
  70%, 100% { transform: scale(3.2); opacity: 0; }
}
.hero-in { position: relative; z-index: 2; width: min(1240px, 100% - 48px); margin-inline: auto; padding: 0 0 96px; }
.kicker {
  font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .22em;
  color: var(--amber2); margin-bottom: 18px;
}
.hero-title { color: #fff; margin-bottom: 20px; }
.ht-clip { display: block; overflow: hidden; }
.ht-line { display: block; }
.ht-small { font-weight: 500; font-size: clamp(17px, 2.3vw, 30px); letter-spacing: .34em; color: rgba(255, 255, 255, .92); }
.ht-big {
  font-weight: 800; font-size: clamp(31px, 8.6vw, 106px); letter-spacing: .01em; line-height: 1.02;
  background: linear-gradient(92deg, #fff 30%, var(--amber2) 82%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ht-sub { font-weight: 400; font-family: var(--f-text); font-size: clamp(17px, 2.1vw, 27px); color: var(--txt-dim); margin-top: 10px; }
.hero-lead { font-size: clamp(15.5px, 1.35vw, 18.5px); color: var(--txt); max-width: none; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-data { font-size: 11.5px; color: rgba(233, 236, 242, .55); }
.hd-sep { color: var(--amber); margin: 0 10px; }
.scroll-hint {
  position: absolute; z-index: 2; right: 34px; bottom: 30px; width: 24px; height: 42px;
  border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 12px;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 7px; width: 3px; height: 8px; margin-left: -1.5px;
  border-radius: 2px; background: var(--amber); animation: hint 1.8s ease-in-out infinite;
}
@keyframes hint { 0%, 100% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } }

/* появление строк героя */
.ht-line { transform: translateY(110%); animation: htUp .9s cubic-bezier(.2, .7, .2, 1) forwards; }
.ht-clip:nth-child(1) .ht-line { animation-delay: .1s; }
.ht-clip:nth-child(2) .ht-line { animation-delay: .22s; }
.ht-clip:nth-child(3) .ht-line { animation-delay: .38s; }
@keyframes htUp { to { transform: translateY(0); } }

/* ---------- ЛЕНТА НАПРАВЛЕНИЙ ---------- */
.marq {
  background: var(--amber); overflow: hidden; padding: 13px 0;
  transform: rotate(-1.1deg) scale(1.02); margin: -6px 0 0; position: relative; z-index: 3;
}
.marq-track { display: flex; align-items: center; gap: 26px; width: max-content; animation: marq 30s linear infinite; }
.marq span { font-family: var(--f-mono); font-weight: 600; font-size: 14px; letter-spacing: .1em; color: var(--ink); white-space: nowrap; }
.marq i {
  width: 7px; height: 7px; background: var(--ink); flex: none;
  transform: rotate(45deg); font-size: 0; display: block; opacity: .75;
}
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- СЕКЦИИ: ОБЩЕЕ ---------- */
.sec { padding: clamp(76px, 9vw, 130px) 0; position: relative; }
section[id], article[id] { scroll-margin-top: calc(var(--hdr-h) + 18px); }
.sec-head { margin-bottom: clamp(38px, 5vw, 58px); }
.idx { display: flex; align-items: center; gap: 14px; font-size: 12.5px; letter-spacing: .2em; color: var(--amber); margin-bottom: 16px; }
.idx-line { display: inline-block; width: 34px; height: 1.5px; background: var(--amber); transform-origin: left; }
h2 { font-size: clamp(30px, 4.6vw, 58px); font-weight: 800; color: #fff; letter-spacing: .005em; }
.sec-lead { font-size: clamp(15.5px, 1.3vw, 18px); color: var(--txt-dim); margin-top: 14px; }

/* ---------- УСЛУГИ (бенто) ---------- */
.sec-services { background: var(--ink); }
.svc-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.svc {
  position: relative; border-radius: var(--r); overflow: hidden; min-height: 420px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--ink2); isolation: isolate;
}
.svc-a { grid-column: span 7; }
.svc-b { grid-column: span 5; }
.svc-c { grid-column: span 5; min-height: 380px; }
.svc-d { grid-column: span 7; min-height: 380px; }
.svc-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1), filter .8s; }
.svc-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(185deg, rgba(11, 16, 23, .18) 30%, rgba(11, 16, 23, .88) 82%); transition: background .5s; }
.svc:hover .svc-img { transform: scale(1.06); filter: saturate(1.12); }
.svc-top {
  position: absolute; top: 18px; left: 20px; right: 22px; display: flex; justify-content: flex-end;
  font-size: 12px; color: rgba(255, 255, 255, .85); letter-spacing: .18em;
}
.svc-top b { color: var(--amber2); font-weight: 600; }
.svc-body { padding: 26px 26px 24px; }
.svc h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 700; color: #fff; margin-bottom: 10px; }
.svc ul { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.svc li { font-size: 14.5px; color: var(--txt-dim); padding-left: 16px; position: relative; }
.svc li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; background: var(--amber); transform: rotate(45deg); }
.svc-link {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-disp); font-weight: 600;
  font-size: 14.5px; color: var(--amber2);
}
.svc-link em { font-style: normal; transition: transform .3s; }
.svc-link:hover em { transform: translateX(6px); }
/* уголки-риски на карточках */
.svc::before, .svc::after {
  content: ""; position: absolute; width: 14px; height: 14px; z-index: 1; opacity: .8;
  border: 1.5px solid var(--amber); transition: opacity .4s;
}
.svc::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.svc::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

/* ---------- ПРОВОДНИК В ОАЭ (песочная секция) ---------- */
.sec-buyer { background: var(--paper); color: var(--ink); }
.sec-buyer h2 { color: var(--ink); }
.sec-buyer .sec-lead { color: rgba(11, 16, 23, .62); }
.sec-buyer .idx { color: #B87A17; }
.sec-buyer .idx-line { background: #B87A17; }
.buyer-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(34px, 5vw, 72px); align-items: start; }
.bf { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid rgba(11, 16, 23, .1); }
.bf:first-child { padding-top: 0; }
.bf-ico {
  flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--ink);
  color: var(--amber); display: grid; place-items: center;
}
.bf-ico svg { width: 26px; height: 26px; }
.bf h3 { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.bf p { font-size: 15px; color: rgba(11, 16, 23, .65); }
.buyer-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.buyer-chips span {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .05em; padding: 7px 13px;
  border: 1.5px solid rgba(11, 16, 23, .22); border-radius: 999px; color: rgba(11, 16, 23, .78);
  transition: background .25s, color .25s, border-color .25s;
}
.buyer-chips span:hover { background: var(--ink); color: var(--amber2); border-color: var(--ink); }
.buyer-vis { position: relative; }
.buyer-photo { border-radius: 20px; overflow: hidden; box-shadow: 0 26px 60px rgba(11, 16, 23, .22); }
.buyer-photo img { width: 100%; aspect-ratio: 1 / 1.04; object-fit: cover; }
.buyer-tag {
  position: absolute; top: 18px; right: -10px; background: var(--ink); color: var(--amber2);
  font-size: 10.5px; letter-spacing: .14em; padding: 10px 16px; border-radius: 10px;
  box-shadow: 0 12px 28px rgba(11, 16, 23, .3); max-width: 250px; text-align: left; margin: 0;
}
/* чат-мокап */
.chat {
  position: absolute; left: -18px; bottom: -34px; width: min(360px, 92%);
  background: #fff; border-radius: 18px; padding: 16px;
  box-shadow: 0 26px 60px rgba(11, 16, 23, .28);
}
.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid rgba(11, 16, 23, .08); margin-bottom: 12px; }
.chat-ava {
  width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--amber);
  display: grid; place-items: center; font-family: var(--f-disp); font-weight: 800; font-size: 15px;
}
.chat-who { font-family: var(--f-disp); font-weight: 700; font-size: 14px; display: flex; flex-direction: column; }
.chat-who b { font-weight: 500; font-size: 11px; color: var(--wa); }
.chat-msg {
  max-width: 86%; font-size: 13.5px; line-height: 1.45; padding: 9px 12px; border-radius: 12px;
  margin-bottom: 8px; position: relative; opacity: 0; transform: translateY(12px);
  transition: opacity .5s calc(.25s + .35s * var(--i)), transform .5s calc(.25s + .35s * var(--i));
}
.chat.in .chat-msg { opacity: 1; transform: none; }
.chat-msg.in { background: #F0F1F4; color: var(--ink); border-bottom-left-radius: 4px; }
.chat-msg.out { background: #DDF7E5; color: var(--ink); margin-left: auto; border-bottom-right-radius: 4px; }
.chat-msg time { display: block; font-size: 10px; color: rgba(11, 16, 23, .4); text-align: right; margin-top: 3px; }

/* ---------- КАК РАБОТАЕМ ---------- */
.sec-how { background: var(--ink2); overflow: hidden; }
.how-grid { display: grid; grid-template-columns: 1fr .82fr; gap: clamp(34px, 5vw, 80px); align-items: stretch; }
.how-photo { position: relative; border-radius: var(--r); overflow: hidden; min-height: 420px; }
.how-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.how-photo figcaption {
  position: absolute; left: 18px; bottom: 16px; font-size: 11px; letter-spacing: .18em;
  color: rgba(255, 255, 255, .85); background: rgba(11, 16, 23, .6); padding: 8px 14px; border-radius: 8px;
}
.steps { position: relative; max-width: 860px; padding-left: 6px; }
.steps-line { position: absolute; left: 31px; top: 8px; width: 4px; height: calc(100% - 16px); overflow: visible; }
.step { display: flex; gap: 26px; padding: 22px 0; align-items: flex-start; position: relative; }
.step-n {
  flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); border: 1.5px solid var(--amber); color: var(--amber2);
  font-size: 14px; font-weight: 600; position: relative; z-index: 1;
  box-shadow: 0 0 0 6px var(--ink2);
  transition: background .4s, color .4s, transform .4s;
}
.step:hover .step-n { background: var(--amber); color: var(--ink); transform: scale(1.08); }
.step h3 { font-size: clamp(19px, 1.8vw, 24px); font-weight: 700; color: #fff; margin: 12px 0 5px; }
.step p { font-size: 15px; color: var(--txt-dim); }

/* ---------- О КОМПАНИИ ---------- */
.sec-about { overflow: hidden; }
.about-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.about-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11, 16, 23, .93) 30%, rgba(11, 16, 23, .68) 100%); }
.sec-about .wrap { position: relative; z-index: 1; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 34px; }
.num {
  display: block; font-family: var(--f-disp); font-weight: 800; color: var(--amber);
  font-size: clamp(46px, 6vw, 88px); line-height: 1; letter-spacing: .01em;
}
.stat-l { display: block; margin-top: 8px; font-size: 14px; color: var(--txt-dim); letter-spacing: .04em; }
.about-line { font-size: clamp(15.5px, 1.3vw, 18px); color: var(--txt); }

/* ---------- РАСЧЁТ ---------- */
.sec-calc { background: var(--ink); }
.calc-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(34px, 5vw, 80px); align-items: stretch; }
.calc-form .sec-lead { margin-bottom: 30px; }
.field { position: relative; margin-bottom: 16px; }
.field input, .field textarea {
  width: 100%; background: var(--ink3); border: 1.5px solid var(--line); border-radius: 12px;
  color: var(--txt); font-family: var(--f-text); font-size: 15.5px; padding: 24px 16px 10px;
  transition: border-color .25s, background .25s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--amber); background: #182236; }
.field label {
  position: absolute; left: 17px; top: 17px; font-size: 15px; color: var(--txt-dim);
  pointer-events: none; transition: transform .2s, font-size .2s, color .2s; transform-origin: left top;
}
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-10px); font-size: 11.5px; color: var(--amber);
}
.calc-note { font-size: 12.5px; color: rgba(233, 236, 242, .45); margin-top: 12px; }
.calc-thanks { padding: 40px 0; }
.ct-big { font-family: var(--f-disp); font-weight: 800; font-size: 40px; color: var(--amber); margin-bottom: 10px; }
.calc-photo { position: relative; border-radius: var(--r); overflow: hidden; min-height: 420px; }
.calc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.calc-photo figcaption {
  position: absolute; left: 18px; bottom: 16px; font-size: 11px; letter-spacing: .22em;
  color: rgba(255, 255, 255, .85); background: rgba(11, 16, 23, .55); padding: 8px 14px; border-radius: 8px;
}

/* ---------- КОНТАКТЫ ---------- */
.sec-contacts { background: var(--ink2); }
.cont-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cont-card {
  display: flex; flex-direction: column; gap: 8px; padding: 26px;
  background: var(--ink); border: 1px solid var(--line); border-radius: var(--r);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
a.cont-card:hover { transform: translateY(-4px); border-color: rgba(240, 166, 63, .5); box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
.cont-k { font-size: 11px; letter-spacing: .22em; color: var(--amber); }
.cont-v { font-family: var(--f-disp); font-weight: 700; font-size: clamp(17px, 1.5vw, 21px); color: #fff; }
.cont-addr { font-size: 15.5px; font-weight: 500; line-height: 1.5; }
.cont-a { margin-top: auto; font-size: 14px; color: var(--txt-dim); transition: color .25s; }
a.cont-card:hover .cont-a { color: var(--amber2); }
.cont-wide { grid-column: span 2; }
.cont-hours .cont-v { font-size: 16.5px; font-weight: 500; line-height: 1.5; }

/* ---------- ФУТЕР ---------- */
.foot { background: var(--ink); border-top: 1px solid var(--line); padding: 34px 0; }
.foot-in { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.foot-line { font-size: 14px; color: var(--txt-dim); }
.foot-copy { margin-left: auto; font-size: 11px; letter-spacing: .12em; color: rgba(233, 236, 242, .4); }

/* ---------- ЛИПКАЯ ПАНЕЛЬ ---------- */
.stickybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 110; display: none;
  grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, .12);
  padding-bottom: env(safe-area-inset-bottom);
}
.stickybar a {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--f-disp); font-weight: 700; font-size: 15px; padding: 15px 10px;
}
.stickybar svg { width: 19px; height: 19px; }
.sb-tel { background: var(--ink3); color: #fff; }
.sb-wa { background: var(--wa); color: #fff; }

/* ---------- REVEAL-СИСТЕМА ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--d, 0s), transform .7s var(--d, 0s); transition-timing-function: cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-card { opacity: 0; transform: translateY(34px) scale(.97); transition: opacity .75s var(--d, 0s), transform .75s var(--d, 0s); transition-timing-function: cubic-bezier(.2, .7, .2, 1); }
.reveal-card.in { opacity: 1; transform: none; }
.reveal-img { clip-path: inset(12% 12% 12% 12% round 20px); transition: clip-path 1s cubic-bezier(.2, .7, .2, 1); }
.reveal-img.in { clip-path: inset(0 0 0 0 round 20px); }

/* ---------- АДАПТИВ ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: flex; }
  .hdr-cta { display: none; }
  .hdr-right { margin-left: auto; }
}
@media (min-width: 1181px) {
  .mnav { display: none; }
}
@media (max-width: 900px) {
  .svc-a, .svc-b, .svc-c, .svc-d { grid-column: span 12; min-height: 340px; }
  .buyer-grid { grid-template-columns: 1fr; }
  .buyer-vis { margin-top: 46px; margin-bottom: 40px; }
  .how-grid { grid-template-columns: 1fr; }
  .how-photo { min-height: 260px; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-photo { min-height: 300px; }
  .cont-grid { grid-template-columns: 1fr 1fr; }
  .cont-wide { grid-column: span 2; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
}
@media (max-width: 760px) {
  .stickybar { display: grid; }
  body { padding-bottom: 56px; }
  .hero-in { padding-bottom: 84px; }
  .scroll-hint { display: none; }
  .hero-cta .btn { flex: 1 1 100%; }
  .cont-grid { grid-template-columns: 1fr; }
  .cont-wide { grid-column: auto; }
  .foot-copy { margin-left: 0; }
  .chat { left: 0; }
  .buyer-tag { right: 0; }
  .steps-line { left: 27px; }
  .step { gap: 18px; }
  .step-n { width: 46px; height: 46px; }
}
@media (max-width: 520px) {
  .hdr-in { gap: 12px; width: calc(100% - 32px); }
  .hdr-right { gap: 10px; }
  .logo { gap: 8px; }
  .logo-mark { width: 34px; height: 34px; }
  .foot .logo-mark { width: 46px; height: 46px; }
  .logo-word { font-size: 15px; }
  .logo-word b { display: none; }
  .lang button { padding: 6px 11px; }
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 36px); }
  .hero-data { font-size: 10px; }
  .marq { transform: rotate(0) scale(1); }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal-card, .chat-msg { opacity: 1 !important; transform: none !important; }
  .reveal-img { clip-path: inset(0 0 0 0 round 20px) !important; }
  .ht-line { transform: none; animation: none; }
  .marq-track { animation: none; }
}
