.page-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
}

.page-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* dropdorwn меню */

.dd-trigger {
  position: relative !important;
  height: 28px !important;
  overflow: visible !important;
}

.dd-panel {
  position: absolute !important;
  top: 40px !important;
  left: -20px !important;
  width: auto !important;
  min-width: 260px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(192, 192, 192, 0.5);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 9999;
}

.dd-panel,
.dd-panel * {
  pointer-events: none !important;
}

.dd-panel.dd-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dd-panel.dd-open,
.dd-panel.dd-open * {
  pointer-events: auto !important;
}

.dd-panel .tn-atom {
  color: var(--uc-color-color-vlB47QLkAgd, #fcfcfc);
}
.dd-panel a:hover {
  color: var(--uc-color-color-owZNDkaRlW, #79A8FF);
}

#rec3067115901,
#rec3067115901 .t-rec,
#rec3067115901 .t396,
#rec3067115901 .t396__artboard,
#rec3067115901 .t396__carrier,
#rec3067115901 .t396__filter {
  overflow: visible !important;
}

/* стиль для ссылок */

.link-inline .tn-atom {
  color: #4083FF;
  transition: color 0.2s ease;
}

.link-inline:hover .tn-atom {
  color: #79A8FF;
}

.link-inline a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* подгонка главного hero */

/*.page-hero {*/
/*  height: 100vh !important;*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*  justify-content: space-between;*/
/*}*/

/* настройки стекла */

.liquid-glass {
  position: relative;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(192, 192, 192, 1);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.35),
    inset 0 -1px 1px rgba(0, 0, 0, 0.15);
  overflow: visible;
  border-radius: 24px;
}

/* мягкий блик сверху-слева */
.liquid-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(255, 255, 255, 0.08) 25%,
    rgba(255, 255, 255, 0) 50%
  );
  pointer-events: none;
  overflow: hidden;
  border-radius: 24px;
}

/* тонкая светлая полоска по верхнему краю — имитация преломления света на кромке стекла */
.liquid-glass::after {
  content: "";
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  overflow: hidden;
  border-radius: 24px;
}

.liquid-glass--soft {
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  background: rgba(255, 255, 255, 0.08);
}

.liquid-glass--strong {
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  background: rgba(255, 255, 255, 0.18);
}

/* тёмный вариант — если плашка лежит на светлом фоне */
.liquid-glass--dark {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(192, 192, 192, 1);
}
.liquid-glass--dark::before {
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0) 50%);
}

/* стили линий */
/* вертикальные */
.v-line .tn-atom {
  z-index: 10;
  position: relative;
  overflow: visible;
}

.v-line .tn-atom::before,
.v-line .tn-atom::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 6px;
  height: 6px;
  background: rgba(192, 192, 192, 1);
  border-radius: 50%;
  z-index: 999 !important;
}

.v-line .tn-atom::before {
  top: 0;
  transform: translate(-50%, -50%);
}

.v-line .tn-atom::after {
  bottom: 0;
  transform: translate(-50%, 50%);
}

/* горизонтальные */
.h-line .tn-atom {
  z-index: 10;
  position: relative;
  overflow: visible;
}

.h-line .tn-atom::before,
.h-line .tn-atom::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  background: rgba(192, 192, 192, 1);
  border-radius: 50%;
  z-index: 999 !important;
}

.h-line .tn-atom::before {
  left: 0;
  transform: translate(-50%, -50%);
}

.h-line .tn-atom::after {
  right: 0;
  transform: translate(50%, -50%);
}

.v-line--dot-start .tn-atom::after,
.h-line--dot-start .tn-atom::after { display: none; }

.v-line--dot-end .tn-atom::before,
.h-line--dot-end .tn-atom::before { display: none; }

.hero-lines-wrap .tn-molecule > * {
  position: relative;
}

.hero-lines-wrap .h-line,
.hero-lines-wrap .v-line {
  z-index: 5;
}

.hero-lines-wrap .tn-molecule > .t396__group:not(.h-line):not(.v-line) {
  z-index: 1;
}

/* popup */
.uc-contact-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
}

.uc-contact-popup > .t396 {
  width: 100%;
}

.uc-contact-popup.popup-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}


/* pupup close button */
.popup-close-btn {
  cursor: pointer;
}

.popup-close-btn:hover svg path {
  fill: #ffffff !important;
}