.footer {
  --footer-bg: #03060d;
  --footer-line: rgba(88, 126, 220, 0.28);
  --footer-text: rgba(244, 248, 255, 0.96);
  --footer-muted: rgba(168, 188, 228, 0.72);
  --footer-copy: rgba(176, 194, 232, 0.78);
  --footer-accent: #4d7cff;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  overflow: hidden;
  color: var(--footer-text);
  background:
    radial-gradient(120% 80% at 50% -40%, rgba(44, 82, 190, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(8, 14, 28, 0.98) 0%, var(--footer-bg) 100%);
  border-top: 1px solid rgba(60, 108, 231, 0.14);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(1.4rem, 3vw, 1.8rem);
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.footer-glow {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(72rem, 100%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(77, 124, 255, 0.08) 18%,
    rgba(120, 168, 255, 0.72) 50%,
    rgba(77, 124, 255, 0.08) 82%,
    transparent 100%
  );
  pointer-events: none;
}

.footer .container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.footer-inner {
  display: grid;
  gap: clamp(1.75rem, 3.5vw, 2.5rem);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: start;
}

.footer-brand-block {
  display: grid;
  gap: 0.95rem;
  max-width: 36ch;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  width: fit-content;
  color: var(--footer-text);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-brand:hover {
  opacity: 0.9;
}

.footer-brand-logo {
  width: 3.1rem;
  height: 3.1rem;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(36, 84, 210, 0.34));
}

.footer-brand-name {
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.footer-copy {
  margin: 0;
  color: var(--footer-copy);
  font-size: 0.94rem;
  line-height: 1.62;
}

.footer-label {
  margin: 0 0 0.85rem;
  color: var(--footer-muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-nav-list,
.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-nav-link,
.footer-contact-link {
  display: inline-flex;
  width: fit-content;
  color: rgba(232, 240, 255, 0.9);
  font-size: 0.94rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-nav-link:hover,
.footer-contact-link:hover {
  color: #9eb8ff;
}

.footer-phone-item {
  display: grid;
  gap: 0.12rem;
}

.footer-contact-meta {
  color: rgba(148, 168, 210, 0.72);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.1rem;
  min-height: 2.45rem;
  padding: 0.55rem 1.15rem;
  border: 1px solid rgba(120, 158, 255, 0.42);
  border-radius: 999px;
  background: rgba(60, 108, 231, 0.08);
  color: #f4f8ff;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 0 rgba(77, 124, 255, 0);
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.footer-cta:hover {
  border-color: rgba(148, 180, 255, 0.72);
  background: rgba(60, 108, 231, 0.16);
  box-shadow: 0 0 24px rgba(60, 108, 231, 0.22);
  transform: translateY(-1px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(88, 126, 220, 0.14);
}

.footer-copyright,
.footer-legal-link {
  margin: 0;
  color: rgba(140, 162, 206, 0.72);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.footer-legal-link {
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-link:hover,
.footer-legal-link:focus-visible {
  color: rgba(209, 224, 252, 0.95);
}

.footer-legal-separator {
  color: rgba(140, 162, 206, 0.45);
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .footer .container {
    width: min(1120px, calc(100% - 1.5rem));
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-brand-block {
    max-width: none;
  }

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

  .footer-legal {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .footer-cta {
    width: 100%;
  }
}

