/* CULT LOG: фирменный фиолетовый поверх style.css + лёгкие анимации. Подключается после style.css. */
:root{
  --orange:#7F41E0; --orange-d:#6A2FD0; --teal:#5B34B5;
  --soft:#F2ECFD; --tsoft:#EFE9FB;
  --cl-glow:rgba(127,65,224,.35);
}
header img[src*="cultlog-logo"]{height:36px;width:auto;display:block}
.cmp th.c{background:#E9E6EF;color:#4A4560}
.cmp td.c{background:#F6F5F9;color:#4A4560}
.cmp td.l{background:#F3EEFD}
.quote{border-top-color:var(--orange)}

/* кнопки и карточки: отклик на наведение */
.btn{transition:transform .2s ease,box-shadow .2s ease,background .2s ease,color .2s ease}
.btn-primary:hover{transform:translateY(-1px);box-shadow:0 10px 24px var(--cl-glow)}
.pain,.price,.quote,.stat,.step,.g3>div,.g2>div{transition:transform .25s ease,box-shadow .25s ease}
.g3>div:hover,.g2>div:hover,.price:hover,.stat:hover{transform:translateY(-3px)}

/* появление при прокрутке: только если JS включил анимации */
html.cl-anim .cl-r{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
html.cl-anim .cl-r.cl-in{opacity:1;transform:none}
html.cl-anim .cmp tbody tr.cl-r{transform:translateX(-10px)}
html.cl-anim .cmp tbody tr.cl-r.cl-in{transform:none}

/* маршрут Иу → Забайкальск → Москва (вставляется скриптом в блок «Как проходит отправка») */
.cl-route{margin:34px 0 6px;max-width:100%}
.cl-route svg{width:100%;height:auto;display:block;overflow:visible}
.cl-route .ln-bg{stroke:rgba(255,255,255,.18);stroke-width:3;fill:none;stroke-dasharray:2 8;stroke-linecap:round}
.cl-route .ln{stroke:var(--orange);stroke-width:4;fill:none;stroke-linecap:round}
.cl-route .st circle{fill:#13293B;stroke:var(--orange);stroke-width:3}
.cl-route .st text{fill:#EAF0F4;font:600 14px Inter,system-ui,sans-serif}
.cl-route .st .sub{fill:rgba(255,255,255,.6);font-weight:500;font-size:12px}
.cl-route .train{fill:#fff}
html.cl-anim .cl-route .ln{stroke-dasharray:var(--len);stroke-dashoffset:var(--len)}
html.cl-anim .cl-route.cl-go .ln{transition:stroke-dashoffset 2.6s ease-in-out;stroke-dashoffset:0}
html.cl-anim .cl-route .st{opacity:.35;transition:opacity .4s ease}
html.cl-anim .cl-route .st.on{opacity:1}
html.cl-anim .cl-route .st.on circle{fill:var(--orange);animation:cl-pulse 1.6s ease-out 1}
@keyframes cl-pulse{0%{filter:drop-shadow(0 0 0 var(--cl-glow))}50%{filter:drop-shadow(0 0 10px var(--cl-glow))}100%{filter:none}}
html.cl-anim .steps .step.cl-on::before{box-shadow:0 0 0 6px var(--cl-glow);transition:box-shadow .4s ease}

@media (prefers-reduced-motion:reduce){
  html.cl-anim .cl-r{opacity:1;transform:none;transition:none}
  html.cl-anim .cl-route .ln{stroke-dashoffset:0;transition:none}
  html.cl-anim .cl-route .st{opacity:1}
  .btn,.g3>div,.g2>div,.price,.stat{transition:none}
}
@media (max-width:640px){.cl-route .st text{font-size:12px}.cl-route .st .sub{display:none}}

/* Адаптация новой широкой версии логотипа к существующему меню. */
@media (min-width:1101px) and (max-width:1200px){
  header nav{display:none!important;position:absolute;left:0;right:0;top:72px;background:var(--paper);flex-direction:column;gap:0;border-bottom:1px solid var(--line)}
  header nav.open{display:flex!important}
  header nav a{padding:14px 24px;border-top:1px solid var(--line)}
  .hcontact .tg{display:none}
  .hcontact{gap:10px;font-size:13px}
  .burger{display:block}
}
@media (max-width:600px){
  header .wrap>a:first-child{flex:1 1 auto;min-width:0}
  header img[src*="cultlog-logo"]{display:block;width:100%;max-width:200px;height:auto;max-height:30px;object-fit:contain;object-position:left center}
}
