/* ============================================================
   ViaPrivé — European Buyer Service
   Современный минимализм · чистый белый · один шрифт · без наклона
   ============================================================ */

:root {
  --paper:    #ffffff;
  --paper-2:  #f5f5f4;
  --white:    #ffffff;
  --ink:      #000000;
  --ink-soft: #5a5a5a;
  --ink-dim:  #9a9a9a;
  --line:     rgba(0,0,0,.12);
  --line-2:   rgba(0,0,0,.28);
  --maxw:     1240px;
  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
  font-style: normal;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 36px; }

/* ---------- Типографика (один шрифт, без курсива) ---------- */
h1, h2, h3 { font-family: var(--font); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; font-style: normal; }
.eyebrow {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--font); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink); font-weight: 600; white-space: nowrap;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 26px; height: 1px; background: var(--ink); flex: none; }
.gold, .serif-it { font-style: normal; font-weight: inherit; }
.flag { display: none; }   /* флаг убран */

/* ============================================================
   Навигация
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 36px; background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s;
}
.nav.scrolled {
  background: rgba(255,255,255,.88); backdrop-filter: blur(16px) saturate(1.1);
  padding: 14px 36px; border-bottom: 1px solid var(--line);
}
.nav__logo { display: flex; align-items: center; transition: opacity .4s var(--ease); }
.nav__logo:hover { opacity: .6; }
.nav__logo .mark { display: none; }   /* убран VP в чёрном квадрате */
.nav__logo .word { display: flex; flex-direction: column; line-height: 1.05; }
.nav__logo .word b { font-family: var(--font); font-size: 1.4rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.nav__logo .word small { font-family: var(--font); font-size: .5rem; letter-spacing: .34em; text-transform: uppercase; color: var(--ink-dim); font-weight: 500; padding-left: .15em; }
.nav__links { display: flex; gap: 2px; align-items: center; }
.nav__links a {
  font-family: var(--font); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  color: var(--ink-soft); padding: 10px 16px; position: relative; transition: color .3s;
}
.nav__links a:hover, .nav__links a.active { color: var(--ink); }
.nav__links a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav__links a:hover::after, .nav__links a.active::after { transform: scaleX(1); }
.nav__cta { border: 1px solid var(--ink) !important; color: var(--ink) !important; padding: 10px 22px !important; }
.nav__cta::after { display: none !important; }
.nav__cta:hover { background: var(--ink) !important; color: var(--white) !important; }
.nav__burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav__burger span { width: 24px; height: 2px; background: var(--ink); transition: .3s; }

/* ============================================================
   Кнопки
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  padding: 18px 38px; cursor: pointer; border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  transition: transform .3s var(--ease), background .35s, color .35s, box-shadow .35s;
}
.btn--gold { background: var(--ink); color: var(--white); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -18px rgba(0,0,0,.5); background: #000; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; }

/* ============================================================
   HERO — по центру
   ============================================================ */
.hero {
  position: relative; min-height: 88vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 170px 0 90px; overflow: hidden;
}
.hero__scene, .hero__orb, .hero__ring, .hero__card { display: none; }  /* без геометрии и плашек */
.hero__inner { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; width: 100%; }
.hero__copy { max-width: 900px; }
.hero__copy .eyebrow { margin-bottom: 28px; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 6rem); font-weight: 600; letter-spacing: -.02em; text-transform: uppercase; margin-bottom: 28px; }
.hero h1 .gold, .hero h1 .serif-it { text-transform: none; font-weight: 300; }
.hero__lead { font-size: 1.14rem; line-height: 1.75; color: var(--ink-soft); max-width: 36em; margin: 0 auto 40px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.hero__scroll {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: .56rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-dim); pointer-events: none;
}
.hero__scroll .mouse { width: 22px; height: 36px; border: 1px solid var(--ink-dim); border-radius: 14px; position: relative; }
.hero__scroll .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 3px; height: 7px; border-radius: 3px; background: var(--ink); animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,12px)} }

/* ============================================================
   Секции — крупные отступы
   ============================================================ */
section { position: relative; }
section[id] { scroll-margin-top: 90px; }
.section { padding: 170px 0; }
.section--tight { padding: 120px 0; }
.section__head { max-width: 820px; margin: 0 auto 80px; text-align: center; }
.section__head .eyebrow { margin-bottom: 22px; }
.section__head h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 600; }
.section__head p { color: var(--ink-soft); font-size: 1.08rem; max-width: 46em; margin: 18px auto 0; }

.divider { width: 100%; height: 1px; border: 0; background: var(--line); }

/* Лид / о сервисе — крупный текст по центру */
.lead-block { max-width: 920px; margin: 0 auto; text-align: center; }
.lead-block .eyebrow { display: inline-flex; margin-bottom: 30px; }
.lead-block p:first-of-type { font-family: var(--font); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.32; letter-spacing: -.01em; color: var(--ink); }
.lead-block p + p { margin: 1.1em auto 0; font-weight: 400; font-size: 1.1rem; line-height: 1.8; color: var(--ink-soft); max-width: 44em; }

/* ============================================================
   Сетка категорий (оставлена как была)
   ============================================================ */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border: 1px solid var(--ink); }
.card {
  position: relative; background: transparent; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 40px 32px; overflow: hidden; transform-style: preserve-3d;
  transition: transform .25s var(--ease), background .3s, color .3s; will-change: transform;
}
.card:hover { background: var(--ink); z-index: 2; }
.card:hover h3, .card:hover p { color: var(--paper); }
.card:hover .card__icon { border-color: rgba(255,255,255,.5); }
.card:hover .card__icon svg { stroke: var(--paper); }
.card__icon { width: 50px; height: 50px; margin-bottom: 24px; display: grid; place-items: center; border: 1px solid var(--ink); transform: translateZ(40px); transition: border-color .3s; }
.card__icon svg { width: 24px; height: 24px; stroke: var(--ink); transition: stroke .3s; }
.card h3 { font-family: var(--font); font-size: 1.35rem; font-weight: 600; margin-bottom: 12px; transition: color .3s; }
.card p { color: var(--ink-soft); font-size: .96rem; line-height: 1.65; transition: color .3s; }
.card__num { position: absolute; top: 24px; right: 28px; font-family: var(--font); font-weight: 600; font-size: 1rem; color: var(--ink-dim); }

/* ============================================================
   Шаги
   ============================================================ */
.steps { display: grid; gap: 0; border-top: 1px solid var(--ink); max-width: 920px; margin: 0 auto; }
.step {
  display: grid; grid-template-columns: 110px 1fr; gap: 30px; align-items: baseline; text-align: left;
  padding: 38px 18px; border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease), padding-left .3s;
}
.step:hover { background: var(--ink); padding-left: 34px; }
.step:hover h3, .step:hover p { color: var(--paper); }
.step:hover .step__n { color: var(--paper); }
.step__n { font-family: var(--font); font-weight: 400; font-size: 3.4rem; line-height: .9; color: var(--ink); transition: color .3s; }
.step h3 { font-family: var(--font); font-size: 1.45rem; font-weight: 600; margin-bottom: 8px; transition: color .3s; }
.step p { color: var(--ink-soft); font-size: 1.02rem; transition: color .3s; }

/* ============================================================
   Marquee
   ============================================================ */
.marquee { overflow: hidden; padding: 18px 0; background: var(--ink); color: var(--paper); }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font-family: var(--font); font-size: 1.3rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; color: var(--paper); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee--alt { background: var(--paper); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.marquee--alt .marquee__track { animation-duration: 32s; animation-direction: reverse; }
.marquee--alt span { color: var(--ink); }

/* ============================================================
   Заметки / правила
   ============================================================ */
.notes { display: grid; gap: 0; border-top: 1px solid var(--ink); max-width: 920px; margin: 0 auto; text-align: left; }
.note { display: flex; gap: 22px; align-items: flex-start; padding: 28px 10px; border-bottom: 1px solid var(--line); transition: background .3s, padding-left .3s; }
.note:hover { background: var(--paper-2); padding-left: 20px; }
.note__mark { flex: none; width: 32px; height: 32px; font-weight: 600; font-family: var(--font); display: grid; place-items: center; color: var(--white); background: var(--ink); }
.note__mark svg { stroke: var(--white); }
.note p { color: var(--ink-soft); font-size: 1.04rem; line-height: 1.65; }
.note strong { color: var(--ink); font-weight: 600; }

/* Документы (заглушка под прикрепление) */
.docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 0; border: 1px solid var(--ink); max-width: 920px; margin: 40px auto 0; }
.doc { display: flex; align-items: center; gap: 16px; padding: 30px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.doc:hover { background: var(--paper-2); }
.doc__ic { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--ink); }
.doc__ic svg { width: 22px; height: 22px; stroke: var(--ink); }
.doc b { display: block; font-weight: 600; font-size: 1.02rem; }
.doc span { font-size: .8rem; color: var(--ink-dim); }

/* Оферта / выноска */
.callout { border: 1px solid var(--ink); padding: 44px 46px; background: var(--paper); position: relative; max-width: 920px; margin: 0 auto; text-align: left; }
.callout .eyebrow { display: inline-flex; margin-bottom: 18px; }
.callout p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.7; }
.callout p + p { margin-top: .9em; }

/* ============================================================
   Видеоблок 16:9
   ============================================================ */
.videoblock__frame { margin: 0 auto; max-width: 1100px; position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--ink); box-shadow: 0 40px 80px -50px rgba(0,0,0,.6); }
.videoblock__frame video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================
   CTA
   ============================================================ */
.cta { padding: 70px 0; }
.cta__card { max-width: none; margin: 0; padding: 150px 50px; text-align: center; background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.cta__card .eyebrow { color: var(--paper); }
.cta__card .eyebrow::before, .cta__card .eyebrow::after { background: var(--paper); }
.cta__card h2 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); font-weight: 600; margin-bottom: 22px; color: var(--white); }
.cta__card p { color: rgba(255,255,255,.78); max-width: 38em; margin: 0 auto 36px; font-size: 1.1rem; line-height: 1.75; }
.cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta__card .btn--gold { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta__card .btn--gold:hover { background: transparent; color: var(--paper); }
.cta__card .btn--ghost { color: var(--paper); border-color: var(--paper); }
.cta__card .btn--ghost:hover { background: var(--paper); color: var(--ink); }

/* ============================================================
   Медиа / контакты
   ============================================================ */
.media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 0; border: 1px solid var(--ink); max-width: 1000px; margin: 0 auto; }
.media { display: flex; align-items: center; gap: 18px; padding: 34px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; transition: background .3s, color .3s; }
.media:hover { background: var(--ink); }
.media:hover b { color: var(--white); }
.media:hover span { color: rgba(255,255,255,.8); }
.media:hover .media__ic { border-color: rgba(255,255,255,.5); color: var(--paper); }
.media__ic { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--ink); color: var(--ink); transition: border-color .3s, color .3s; }
.media__ic svg { width: 22px; height: 22px; }
.media b { display: block; font-family: var(--font); font-size: 1.08rem; color: var(--ink); font-weight: 600; transition: color .3s; }
.media span { font-size: .82rem; color: var(--ink-dim); transition: color .3s; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: #000; color: var(--paper); padding: 110px 0 48px; }
.footer__top { display: flex; justify-content: space-between; gap: 60px; flex-wrap: wrap; margin-bottom: 56px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.2); }
.footer__brand b { display: block; font-family: var(--font); font-size: 1.6rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer__brand p { color: rgba(255,255,255,.62); max-width: 28em; font-size: .94rem; line-height: 1.7; }
.footer__cols { display: flex; gap: 70px; flex-wrap: wrap; }
.footer__col h4 { font-family: var(--font); font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 20px; font-weight: 600; }
.footer__col a, .footer__col p { display: block; color: rgba(255,255,255,.82); font-size: .92rem; margin-bottom: 11px; transition: color .3s; }
.footer__col a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: rgba(255,255,255,.45); font-size: .76rem; }

/* ============================================================
   Появление при скролле
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .07s; }
.reveal[data-d="2"] { transition-delay: .14s; }
.reveal[data-d="3"] { transition-delay: .21s; }
.reveal[data-d="4"] { transition-delay: .28s; }

/* ============================================================
   Переход (занавес) — текстовый, без логотипа-картинки
   ============================================================ */
.curtain { position: fixed; inset: 0; z-index: 9999; background: #000; display: grid; place-items: center; transform: translateY(0); transition: transform .8s var(--ease); }
.curtain__word { font-family: var(--font); color: #fff; font-size: clamp(1.4rem, 5vw, 2.4rem); font-weight: 600; letter-spacing: .3em; text-transform: uppercase; opacity: 0; animation: curtainLogo 1s var(--ease) forwards; }
.curtain.up { transform: translateY(-100%); }
@keyframes curtainLogo { 0%{opacity:0; transform:translateY(8px)} 100%{opacity:1; transform:none} }
body.leaving .curtain { transition: transform .6s var(--ease); }

/* ============================================================
   Адаптив
   ============================================================ */
@media (max-width: 940px) {
  .hero { padding: 130px 0 70px; min-height: auto; }
  .hero h1 { font-size: clamp(2.4rem, 10vw, 4rem); }
  .nav__links { display: none; position: fixed; top: 60px; right: 14px; left: 14px;
    flex-direction: column; background: rgba(255,255,255,.97); backdrop-filter: blur(16px);
    border: 1px solid var(--ink); padding: 12px; gap: 2px; box-shadow: 0 24px 44px -24px rgba(0,0,0,.3); }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 15px; text-align: center; }
  .nav__links a::after { display: none; }
  .nav__cta { text-align: center; }
  .nav__burger { display: flex; }
  .section { padding: 110px 0; }
  .section--tight { padding: 80px 0; }
  .section__head { margin-bottom: 50px; }
  .step { grid-template-columns: 58px 1fr; gap: 16px; padding: 28px 6px; }
  .step__n { font-size: 2.6rem; }
  .footer__top { flex-direction: column; gap: 36px; }
  .hero__scroll { display: none; }
  .marquee span, .marquee--alt span { font-size: 1.05rem; }
}
@media (max-height: 760px) { .hero__scroll { display: none; } }
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .nav { padding: 13px 18px; }
  .nav__logo .word b { font-size: 1.15rem; letter-spacing: .08em; }
  .nav__logo .word small { display: none; }
  .section { padding: 84px 0; }
  .section--tight { padding: 60px 0; }
  .hero { padding: 116px 0 56px; }
  /* фраза EUROPEAN BUYER SERVICE · EUROPE → RUSSIA — по центру, в одну строку */
  .hero .eyebrow { font-size: .56rem; letter-spacing: .12em; gap: 0; }
  .hero .eyebrow::before, .hero .eyebrow::after { display: none; }
  .hero__lead { font-size: 1.02rem; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .btn { padding: 15px 20px; font-size: .72rem; letter-spacing: .14em; }
  .grid { grid-template-columns: 1fr 1fr; }
  .card { padding: 26px 16px; }
  .card h3 { font-size: 1.16rem; }
  .card p { font-size: .86rem; }
  .card__num { top: 16px; right: 16px; }
  .cta__card { padding: 90px 20px; }
  .note { gap: 14px; padding: 22px 4px; }
  .footer__cols { gap: 32px 44px; }
  .eyebrow { font-size: .62rem; letter-spacing: .18em; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
