/* Футер — premium dark */

.site-premium .site-footer--premium {
  position: relative;
  margin-top: 0;
  padding: 0 0 36px;
  color: rgba(255, 255, 255, 0.88);
  background:
    radial-gradient(ellipse 80% 55% at 50% -20%, rgba(45, 128, 194, 0.22), transparent 58%),
    linear-gradient(180deg, #0e1924 0%, var(--hero-bg) 38%, #080f16 100%);
  border-top: none;
  overflow: hidden;
}

.site-footer__accent {
  display: block;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--primary-color) 22%,
    var(--info-color) 50%,
    var(--accent-color) 78%,
    transparent 100%
  );
  opacity: 0.85;
}

.site-footer__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.site-footer--premium .container {
  position: relative;
  z-index: 1;
  padding-top: clamp(48px, 6vw, 64px);
}

.site-footer--premium .footer-grid {
  display: grid;
  gap: clamp(28px, 4vw, 40px);
  margin-bottom: clamp(32px, 4vw, 48px);
}

@media (min-width: 768px) {
  .site-footer--premium .footer-grid {
    grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 36px);
  }
}

/* Бренд-колонка */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-logo-link {
  display: inline-block;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer-logo-link:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

.site-footer--premium .footer-logo {
  margin: 0;
  display: block;
  height: auto;
  max-width: 140px;
}

.site-footer--premium .footer-about {
  margin: 0;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  opacity: 1;
}

.site-footer--premium .footer-about strong {
  color: #fff;
  font-weight: 700;
}

.footer-registry {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-registry__badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-light);
  background: rgba(45, 128, 194, 0.18);
  border: 1px solid rgba(74, 155, 212, 0.35);
}

.site-footer--premium .footer-cta {
  margin-top: 4px;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  box-shadow: none;
}

.site-footer--premium .footer-cta:hover {
  border-color: var(--primary-light) !important;
  background: rgba(45, 128, 194, 0.2) !important;
  color: #fff !important;
}

/* Колонки навигации */
.site-footer--premium .footer-col h4 {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  opacity: 1;
}

.footer-links,
.footer-contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer--premium .footer-links a,
.site-footer--premium .footer-contact {
  display: inline-flex;
  align-items: flex-start;
  gap: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
  opacity: 1;
  text-decoration: none;
  transition: color 0.25s ease;
  position: relative;
}

.site-footer--premium .footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--primary-light);
  transition: width 0.25s ease;
}

.site-footer--premium .footer-links a:hover {
  color: #fff;
}

.site-footer--premium .footer-links a:hover::after {
  width: 100%;
}

.footer-contact {
  gap: 10px !important;
}

.footer-contact__icon {
  display: flex;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary-light);
  opacity: 0.9;
}

.footer-contact:hover {
  color: #fff;
}

.footer-contact:hover .footer-contact__icon {
  color: var(--info-color);
}

.footer-contact--addr {
  margin: 0;
  cursor: default;
  color: rgba(255, 255, 255, 0.68);
  max-width: 22ch;
}

/* Низ футера */
.site-footer--premium .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  padding-top: clamp(22px, 3vw, 28px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.footer-bottom__legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom__legal a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-bottom__legal a:hover {
  color: var(--primary-light);
}

.footer-bottom__partner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom__partner-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.footer-skolkovo {
  display: block;
  height: 32px;
  width: auto;
  opacity: 0.92;
  filter: brightness(1.05);
}

@media (max-width: 767px) {
  .footer-brand {
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-footer--premium .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom__partner {
    width: 100%;
    justify-content: space-between;
  }
}
