/* Site footer (rendered by assets/js/footer.js). */

.site-footer { position: relative; isolation: isolate; overflow: hidden; background: var(--night-deep); color: var(--night-muted); padding: 72px var(--gutter) 40px; }
.site-footer > * { position: relative; z-index: 1; }
/* Bottom glow: blue from the left, violet to the right, with a soft dot texture fading upward. */
.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70%;
  z-index: 0;
  pointer-events: none;
}
.site-footer::before {
  background:
    radial-gradient(55% 90% at 12% 115%, rgb(40 70 240 / 55%), transparent 70%),
    radial-gradient(45% 80% at 55% 120%, rgb(110 110 230 / 30%), transparent 70%),
    radial-gradient(45% 85% at 92% 115%, rgb(120 50 200 / 42%), transparent 72%);
  filter: blur(24px);
  transform-origin: 50% 100%;
  animation: footGlow 14s ease-in-out infinite alternate;
}
.site-footer::after {
  background: radial-gradient(circle, rgb(190 200 255 / 22%) 1px, transparent 1.6px) 0 0 / 12px 12px;
  -webkit-mask-image: radial-gradient(70% 100% at 40% 100%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 100% at 40% 100%, #000 0%, transparent 75%);
  animation: footDots 9s ease-in-out infinite alternate;
}
@keyframes footGlow {
  0% { transform: translateX(-3%) scale(1); opacity: .85; }
  50% { transform: translateX(2%) scale(1.06); opacity: 1; }
  100% { transform: translateX(4%) scale(.98); opacity: .9; }
}
@keyframes footDots { from { opacity: .6; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .site-footer::before, .site-footer::after { animation: none; } }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 44px;
  padding-bottom: 56px;
  border-bottom: 1px solid #232c3d;
}

.footer-brand img { width: auto; height: 56px; margin-bottom: 18px; }
.footer-brand p { max-width: 300px; margin-bottom: 18px; font-size: 14.5px; line-height: 1.6; }
.footer-brand__mail { display: inline-block; margin-bottom: 22px; font-weight: 600; font-size: 14.5px; color: var(--night-soft); }
.footer-brand__mail:hover { color: var(--gold); }
.footer-social { display: flex; gap: 12px; }

.footer-social__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #2a3346;
  border-radius: 10px;
  color: var(--night-soft);
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.footer-social__icon:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col__title { margin-bottom: 6px; font-weight: 600; font-size: 14px; color: var(--white); }
.footer-col a { color: inherit; font-size: 14px; transition: color .2s ease; }
.footer-col a:hover { color: var(--gold); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  column-gap: 28px;
  gap: 14px;
  padding-top: 26px;
  font-size: 13px;
  color: #6b7488;
}
.footer-legal__links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal__links a { color: inherit; transition: color .2s ease; }
.footer-legal__links a:hover { color: var(--gold); }

/* reCAPTCHA v3 (forms.js): Google's floating badge would sit on the WhatsApp button, so it is
   hidden and its required notice sits here instead, as Google's terms allow. */
.grecaptcha-badge { visibility: hidden; }
.footer-recaptcha { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: #6b7488; }
.footer-recaptcha a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer-recaptcha a:hover { color: var(--gold); }

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col { gap: 4px; }
  .footer-col a,
  .footer-brand__mail { padding: 6px 0; }
}
