/* --- site-footer --- */

/* Elementor: убрать белую щель между секциями (фон колонки, gap flex-контейнеров, --display) */
.elementor-widget-html:has(#site-footer),
.elementor-widget-html:has(#site-footer) > .elementor-widget-container {
  --display: block;
  display: block !important;
}

.elementor-widget-html:has(#site-footer) > .elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
}

.elementor-column:has(#site-footer),
.elementor-column:has(.elementor-widget-html #site-footer) {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  background-color: transparent !important;
}

.elementor-section:has(#site-footer),
.e-con:has(#site-footer) {
  margin-top: 0 !important;
  padding-top: 0 !important;
  background-color: transparent !important;
  background-image: none !important;
}

#site-footer {
  position: relative;
  display: block !important;
  /* Перекрытие подсветки фона темы и субпиксельного зазора под предыдущим блоком */
  margin-top: -12px;
  padding-top: calc(12px + 1px);
  color: var(--artvoic-text);
  font-family: var(--artvoic-font-body);
  isolation: isolate;
  overflow: hidden;
  background-color: var(--site-footer-deep);
  background-image:
    radial-gradient(ellipse 140% 95% at 50% -55%, rgba(0, 255, 209, 0.11), transparent 58%),
    radial-gradient(ellipse 80% 70% at 100% 30%, rgba(108, 99, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 85%, rgba(0, 255, 209, 0.05), transparent 50%),
    linear-gradient(
      180deg,
      var(--social-proof-base) 0%,
      var(--site-footer-base) min(28%, 180px),
      var(--site-footer-deep) 72%,
      #010106 100%
    );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

#site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 255, 209, 0.18) 22%,
    rgba(108, 99, 255, 0.32) 50%,
    rgba(0, 255, 209, 0.18) 78%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

#site-footer::after {
  content: "";
  position: absolute;
  inset: -2px 0 auto 0;
  height: min(280px, 42vh);
  background: radial-gradient(ellipse 70% 100% at 50% 0%, rgba(108, 99, 255, 0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

#site-footer .site-footer__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding:
    clamp(2.25rem, 4.2vw, 3.25rem) clamp(1.25rem, 5vw, 5rem)
    clamp(2rem, 4vw, 3rem);
}

#site-footer .site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
  padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

#site-footer .site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.35rem);
}

#site-footer .site-footer__logo-link {
  display: inline-flex;
  align-self: flex-start;
  line-height: 0;
  border-radius: 10px;
  /* Отступ между логотипом и неоновой «рамкой» при hover */
  padding: clamp(0.45rem, 1.2vw, 0.7rem) clamp(0.55rem, 1.6vw, 0.95rem);
  transition:
    opacity 0.2s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

#site-footer .site-footer__logo-link:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(0, 255, 209, 0.25), 0 12px 36px rgba(0, 255, 209, 0.08);
}

#site-footer .site-footer__logo-link:focus-visible {
  outline: 2px solid var(--artvoic-accent);
  outline-offset: 4px;
}

#site-footer .site-footer__logo {
  display: block;
  width: auto;
  max-width: min(280px, 72vw);
  height: auto;
}

#site-footer .site-footer__copyright {
  margin: 0;
  font-size: clamp(0.82rem, 0.25vw + 0.75rem, 0.9rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--artvoic-text-muted);
  letter-spacing: 0.02em;
}

#site-footer .site-footer__legal {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-style: normal;
  font-size: clamp(0.75rem, 0.2vw + 0.7rem, 0.82rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
}

#site-footer .site-footer__legal-line {
  display: block;
}

#site-footer .site-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: clamp(0.65rem, 1.5vw, 0.9rem);
}

#site-footer .site-footer__contact-lead {
  margin: 0;
  max-width: 22rem;
  font-size: clamp(0.78rem, 0.22vw + 0.72rem, 0.86rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.58);
}

#site-footer .site-footer__phone {
  margin: 0;
  font-family: var(--artvoic-font-display);
  font-size: clamp(1.2rem, 2vw + 0.85rem, 1.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--artvoic-text);
  text-decoration: none;
  transition:
    color 0.2s ease,
    text-shadow 0.25s ease;
}

#site-footer .site-footer__phone:hover {
  color: var(--artvoic-accent);
  text-shadow: 0 0 28px rgba(0, 255, 209, 0.35);
}

#site-footer .site-footer__phone:focus-visible {
  outline: 2px solid var(--artvoic-accent);
  outline-offset: 4px;
  border-radius: 2px;
}

#site-footer .site-footer__schedule {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-width: 20rem;
  font-size: clamp(0.75rem, 0.18vw + 0.7rem, 0.82rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

#site-footer .site-footer__schedule p {
  margin: 0;
}

#site-footer .site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
}

#site-footer .site-footer__social li {
  list-style: none;
  margin: 0;
  padding: 0;
}

#site-footer .site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  color: var(--artvoic-text-muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

#site-footer .site-footer__social-link:hover {
  color: var(--artvoic-accent);
  background: rgba(0, 255, 209, 0.1);
  border-color: rgba(0, 255, 209, 0.35);
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(0, 255, 209, 0.2),
    0 12px 32px rgba(0, 255, 209, 0.12);
}

#site-footer .site-footer__social-link:focus-visible {
  outline: 2px solid var(--artvoic-accent);
  outline-offset: 2px;
}

#site-footer .site-footer__social-icon {
  width: 1.15rem;
  height: 1.15rem;
}

#site-footer .site-footer__nav {
  padding-top: clamp(1.35rem, 2.5vw, 1.75rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#site-footer .site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem clamp(0.35rem, 1.5vw, 0.85rem);
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: flex-start;
  align-items: baseline;
}

#site-footer .site-footer__links li {
  position: relative;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

#site-footer .site-footer__links li:not(:last-child)::after {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  margin-left: clamp(0.35rem, 1.5vw, 0.85rem);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

#site-footer .site-footer__links a {
  font-size: clamp(0.72rem, 0.18vw + 0.68rem, 0.8rem);
  line-height: 1.45;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
  text-underline-offset: 0.2em;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}

#site-footer .site-footer__links a:hover {
  color: var(--artvoic-accent);
  text-decoration: underline;
  text-decoration-color: rgba(0, 255, 209, 0.55);
}

#site-footer .site-footer__links a:focus-visible {
  outline: 2px solid var(--artvoic-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (max-width: 768px) {
  #site-footer .site-footer__top {
    grid-template-columns: 1fr;
  }

  #site-footer .site-footer__contact {
    align-items: flex-start;
    text-align: left;
  }

  #site-footer .site-footer__social {
    justify-content: flex-start;
  }

  #site-footer .site-footer__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  #site-footer .site-footer__links li:not(:last-child)::after {
    display: none;
  }

  #site-footer .site-footer__links a {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  #site-footer .site-footer__links li:last-child a {
    border-bottom: none;
  }
}

@media (min-width: 769px) and (max-width: 900px) {
  #site-footer .site-footer__links {
    column-gap: 0.5rem;
    row-gap: 0.65rem;
  }
}


