/* =========================
   Doc.PUG — GLASS HEADER (safe)
   scope: .uc-dp-header (только этот блок меню)
   ========================= */

/* делаем меню поверх и "липким" */
.uc-dp-header{
  position: sticky;
  top: 0;
  z-index: 9999;
}

/* стекло + затемнение + подсветка снизу */
.uc-dp-header .t228,
.uc-dp-header .t450,
.uc-dp-header .t461,
.uc-dp-header .t456,
.uc-dp-header .t-megamenu,
.uc-dp-header .t-menuburger{
  background: rgba(0,0,0,.55) !important;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(167,139,250,.22);
  box-shadow:
    0 10px 40px rgba(0,0,0,.35),
    0 0 0 1px rgba(167,139,250,.06) inset;
}

/* мягкое фиолетовое свечение под шапкой */
.uc-dp-header .t228::after,
.uc-dp-header .t450::after,
.uc-dp-header .t461::after,
.uc-dp-header .t456::after{
  content:"";
  display:block;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(167,139,250,.55),
    transparent
  );
  opacity:.9;
}

/* чтобы текст/ссылки точно не "исчезали" */
.uc-dp-header a,
.uc-dp-header .t-menu__link-item,
.uc-dp-header .t-menu__link-item span,
.uc-dp-header .t-name,
.uc-dp-header .t-descr,
.uc-dp-header .t-text{
  color: rgba(255,255,255,.92) !important;
  opacity: 1 !important;
}

/* hover по ссылкам */
.uc-dp-header a:hover,
.uc-dp-header .t-menu__link-item:hover{
  color: #fff !important;
  text-shadow: 0 0 18px rgba(167,139,250,.35);
}

/* уменьшаем "воздух" у шапки (делает премиум) */
.uc-dp-header .t228__maincontainer,
.uc-dp-header .t450__maincontainer,
.uc-dp-header .t461__maincontainer,
.uc-dp-header .t456__maincontainer{
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

/* кнопка (Book a call) — фиолетовая glass */
.uc-dp-header a.t-btn,
.uc-dp-header .t-btn{
  background: rgba(167,139,250,.22) !important;
  border: 1px solid rgba(167,139,250,.42) !important;
  color: #fff !important;
  border-radius: 999px !important;
  box-shadow:
    0 10px 30px rgba(167,139,250,.15),
    0 0 0 1px rgba(255,255,255,.06) inset;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.uc-dp-header a.t-btn:hover,
.uc-dp-header .t-btn:hover{
  transform: translateY(-1px);
  background: rgba(167,139,250,.30) !important;
  box-shadow:
    0 16px 46px rgba(167,139,250,.22),
    0 0 0 1px rgba(255,255,255,.08) inset;
}

/* язык (EN) чуть “пиллом” */
.uc-dp-header .t-menu__lang,
.uc-dp-header .t-menu__lang a{
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
}

/* мобильная шапка */
@media (max-width: 980px){
  .uc-dp-header .t228,
  .uc-dp-header .t450,
  .uc-dp-header .t461,
  .uc-dp-header .t456{
    background: rgba(0,0,0,.72) !important;
  }
}
/* =========================
   Doc.PUG — HEADER GLASS (universal for any Tilda menu inside .uc-dp-header)
   ========================= */

/* липкая шапка */
.uc-dp-header{ position: sticky; top:0; z-index:9999; }

/* красим фон шапки (любой record внутри блока меню) */
.uc-dp-header .t-records,
.uc-dp-header .t-rec,
.uc-dp-header .t396,
.uc-dp-header .t-container,
.uc-dp-header .t-container_100,
.uc-dp-header .t-menu,
.uc-dp-header .t-header,
.uc-dp-header .t-menusub__container{
  background: rgba(0,0,0,.58) !important;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

/* если у блока есть “белая подложка” — убираем */
.uc-dp-header,
.uc-dp-header .t-rec,
.uc-dp-header .t396__artboard{
  background-color: rgba(0,0,0,.58) !important;
}

/* тонкая линия и тень снизу */
.uc-dp-header{
  border-bottom: 1px solid rgba(167,139,250,.22);
  box-shadow: 0 10px 40px rgba(0,0,0,.35);
}

/* ссылки/текст — белые */
.uc-dp-header a,
.uc-dp-header .t-menu__link-item,
.uc-dp-header .t-name,
.uc-dp-header .t-descr,
.uc-dp-header .t-text,
.uc-dp-header .t-sociallinks__item,
.uc-dp-header .t-sociallinks__svg path{
  color: rgba(255,255,255,.92) !important;
  fill: rgba(255,255,255,.92) !important;
  opacity: 1 !important;
}

/* hover */
.uc-dp-header a:hover,
.uc-dp-header .t-menu__link-item:hover{
  color:#fff !important;
  text-shadow: 0 0 18px rgba(167,139,250,.35);
}

/* кнопки в шапке (Book a call и т.п.) */
.uc-dp-header a.t-btn,
.uc-dp-header .t-btn{
  background: rgba(167,139,250,.24) !important;
  border: 1px solid rgba(167,139,250,.44) !important;
  color:#fff !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 30px rgba(167,139,250,.15);
}

/* компактнее по высоте */
.uc-dp-header .t-container,
.uc-dp-header .t-container_100{
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}
/* Doc.PUG header glass — only inside .uc-dp-header */
.uc-dp-header{ position: sticky; top:0; z-index:9999; }

/* стекло + граница */
.uc-dp-header .t-rec,
.uc-dp-header .t396__artboard,
.uc-dp-header .t-records{
  background: rgba(0,0,0,.55) !important;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.uc-dp-header{
  border-bottom: 1px solid rgba(167,139,250,.22);
  box-shadow: 0 10px 40px rgba(0,0,0,.35);
}

/* ссылки меню — как у Doc.PUG */
.uc-dp-header a,
.uc-dp-header .t-menu__link-item{
  color: rgba(255,255,255,.92) !important;
  opacity: 1 !important;
  font-weight: 700 !important;
  letter-spacing: .01em;
}

.uc-dp-header .t-menu__link-item:hover{
  color:#fff !important;
  text-shadow: 0 0 18px rgba(167,139,250,.35);
}

/* кнопка справа — “фиолетовая пилюля” */
.uc-dp-header .t-btn,
.uc-dp-header a.t-btn{
  background: rgba(167,139,250,.24) !important;
  border: 1px solid rgba(167,139,250,.48) !important;
  color:#fff !important;
  border-radius: 999px !important;
  box-shadow: 0 14px 40px rgba(167,139,250,.18);
}

/* чуть компактнее по высоте */
.uc-dp-header .t-container,
.uc-dp-header .t-container_100{
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}