/* ── Site footer — premium glass theme ───────────────────────── */

.site-footer {
  position: relative;
  margin-top: clamp(1rem, 3vh, 2rem);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(96, 165, 250, 0.35) 20%,
    rgba(34, 211, 238, 0.45) 50%,
    rgba(96, 165, 250, 0.35) 80%,
    transparent
  );
  pointer-events: none;
}

.site-footer__divider {
  position: relative;
  height: 1px;
  max-width: min(920px, 88%);
  margin: 0 auto clamp(2.5rem, 5vh, 3.5rem);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(148, 163, 184, 0.14) 18%,
    rgba(148, 163, 184, 0.28) 50%,
    rgba(148, 163, 184, 0.14) 82%,
    transparent
  );
}

.site-footer__divider-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #22d3ee, #3b82f6, #a855f7, transparent);
  filter: blur(0.5px);
  opacity: 0.8;
}

/* ── CTA band ────────────────────────────────────────────────── */

.site-footer__cta {
  padding-bottom: clamp(2.5rem, 5vw, 3.25rem);
}

.site-footer__cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  padding: clamp(1.75rem, 3.5vw, 2.25rem) clamp(1.5rem, 3vw, 2rem);
  border-radius: 20px;
  border: 1px solid rgba(96, 165, 250, 0.28);
  background:
    radial-gradient(ellipse 80% 120% at 0% 0%, rgba(59, 130, 246, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 100% at 100% 100%, rgba(168, 85, 247, 0.1), transparent 50%),
    linear-gradient(155deg, rgba(14, 22, 44, 0.88) 0%, rgba(8, 14, 30, 0.78) 100%);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-footer__cta-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.site-footer__cta-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.site-footer__cta-desc {
  margin: 0;
  max-width: 520px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.site-footer__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ── Main grid ───────────────────────────────────────────────── */

.site-footer__main {
  padding-bottom: clamp(2rem, 4vw, 2.75rem);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.site-footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  transition: opacity 0.2s ease;
}

.site-footer__brand-link:hover {
  opacity: 0.9;
}

.site-footer__brand-symbol {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.site-footer__brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-footer__tagline {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
}

.site-footer__about {
  margin: 0 0 1.25rem;
  max-width: 340px;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.site-footer__social {
  display: flex;
  gap: 0.55rem;
}

.site-footer__social-link {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: var(--text-secondary);
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.16);
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.site-footer__social-link svg {
  width: 17px;
  height: 17px;
}

.site-footer__social-link:hover {
  color: #e0f2fe;
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.28);
  transform: translateY(-2px);
}

.site-footer__heading {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e2e8f0;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.site-footer__links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer__links a:hover {
  color: var(--accent-cyan);
  transform: translateX(3px);
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.site-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.site-footer__contact a {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.site-footer__contact a:hover {
  color: var(--accent-cyan);
}

.site-footer__contact-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.25);
}

.site-footer__contact-icon svg {
  width: 16px;
  height: 16px;
}

.site-footer__note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.site-footer__note-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.8);
}

/* ── Bottom bar ──────────────────────────────────────────────── */

.site-footer__bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(3, 7, 18, 0.55);
}

.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.25rem;
}

.site-footer__copyright {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.site-footer__legal {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.site-footer__legal a {
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.site-footer__legal a:hover {
  color: var(--text-primary);
}

.site-footer__legal-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.35);
}

/* ── Responsive ──────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .site-footer {
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    background:
      linear-gradient(180deg, rgba(3, 7, 18, 0) 0%, rgba(3, 7, 18, 0.92) 12%),
      linear-gradient(180deg, #050a16 0%, #030712 55%, #020617 100%);
    border-top: 1px solid rgba(96, 165, 250, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  .site-footer::before {
    height: 2px;
    opacity: 0.9;
  }

  .site-footer__divider {
    margin-bottom: 1.5rem;
    opacity: 0.85;
  }

  .site-footer__cta {
    padding-bottom: 1.25rem;
  }

  .site-footer__cta-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem 1rem;
    border-radius: 16px;
    gap: 1rem;
  }

  .site-footer__cta-title {
    font-size: 1.3rem;
  }

  .site-footer__cta-desc {
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .site-footer__cta-actions {
    width: 100%;
    justify-content: center;
  }

  .site-footer__cta-actions .btn {
    flex: 1;
    min-width: 0;
    max-width: 280px;
  }

  .site-footer__main {
    padding-bottom: 1.25rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    padding-top: 1.25rem;
    margin-top: 0.25rem;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem 0.85rem;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
    text-align: center;
    padding-bottom: 0.85rem;
    margin-bottom: 0.15rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  }

  .site-footer__brand-link {
    justify-content: center;
    margin-bottom: 0.65rem;
  }

  .site-footer__brand-symbol {
    width: 36px;
    height: 36px;
  }

  .site-footer__brand-name {
    font-size: 1.1rem;
  }

  .site-footer__tagline {
    font-size: 0.82rem;
    margin-bottom: 0.5rem;
  }

  .site-footer__about {
    max-width: none;
    margin: 0 auto 0.85rem;
    font-size: 0.8rem;
    line-height: 1.55;
    max-width: 320px;
  }

  .site-footer__social {
    justify-content: center;
  }

  .site-footer__social-link {
    width: 36px;
    height: 36px;
  }

  .site-footer__heading {
    margin-bottom: 0.6rem;
    font-size: 0.7rem;
  }

  .site-footer__links {
    gap: 0.38rem;
  }

  .site-footer__links a {
    font-size: 0.8rem;
  }

  .site-footer__links a:hover {
    transform: none;
  }

  .site-footer__col--contact {
    grid-column: 1 / -1;
    margin-top: 0.35rem;
    padding: 0.9rem 0.85rem;
    border-radius: 14px;
    border: 1px solid rgba(96, 165, 250, 0.2);
    background: rgba(15, 23, 42, 0.42);
  }

  .site-footer__contact {
    gap: 0.6rem;
  }

  .site-footer__contact li {
    font-size: 0.8rem;
    align-items: center;
  }

  .site-footer__contact-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }

  .site-footer__contact-icon svg {
    width: 14px;
    height: 14px;
  }

  .site-footer__note {
    margin-top: 0.75rem;
    justify-content: center;
    width: 100%;
    font-size: 0.66rem;
  }

  .site-footer__bottom {
    border-top: 1px solid rgba(96, 165, 250, 0.18);
    background: rgba(2, 6, 16, 0.88);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  }

  .site-footer__bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.65rem;
    padding-block: 1rem;
  }

  .site-footer__copyright {
    font-size: 0.76rem;
  }

  .site-footer__legal {
    justify-content: center;
  }

  .site-footer__legal a {
    font-size: 0.76rem;
  }
}

@media (max-width: 480px) {
  .site-footer__divider {
    margin-bottom: 1rem;
  }

  .site-footer__cta-inner {
    padding: 1.1rem 0.85rem;
  }

  .site-footer__cta-title {
    font-size: 1.15rem;
  }

  .site-footer__cta-desc {
    display: none;
  }

  .site-footer__cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .site-footer__cta-actions .btn {
    width: 100%;
    max-width: none;
  }

  .site-footer__about {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .site-footer__grid {
    gap: 1rem 0.65rem;
  }

  .site-footer__links a {
    font-size: 0.76rem;
  }

  .site-footer__col--contact {
    padding: 0.8rem 0.75rem;
  }
}
