/* Скрыть родной хедер Tilda — заменён кастомным навбаром */
.t585 { display: none !important; }

/* Сброс для кастомного навбара */
#ruel-nav, #ruel-nav * { box-sizing: border-box; margin: 0; padding: 0; }

#ruel-nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 72px;
  z-index: 9999;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#ruel-nav:hover {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.rn__inner {
  width: 100%;
  max-width: 1400px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rn__logo {
  font-family: 'Playfair Display', 'Times New Roman', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #1a1a1a;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}

.rn__list {
  display: flex;
  align-items: center;
  list-style: none;
}

.rn__item { position: relative; }

.rn__link {
  display: block;
  padding: 26px 22px;
  font-family: 'Lora', Georgia, serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1a1a1a;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.rn__link:hover { opacity: 0.45; }

.rn__link--drop::after {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-right: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 7px;
  vertical-align: middle;
  opacity: 0.55;
  transition: transform 0.22s;
}

.rn__item:hover > .rn__link--drop::after {
  transform: rotate(225deg) translateY(1px);
}

.rn__dropdown {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0,0,0,0.07);
  min-width: 170px;
  padding: 6px 0;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}

.rn__item:hover > .rn__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.rn__dropdown li a {
  display: block;
  padding: 11px 26px;
  font-family: 'Lora', Georgia, serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1a1a;
  text-decoration: none;
  transition: opacity 0.18s;
}

.rn__dropdown li a:hover { opacity: 0.45; }

@media (max-width: 980px) {
  #ruel-nav { display: none; }
}