/* ==========================================================================
   Modern footer — loaded last, scoped to .site-footer
   ========================================================================== */

.site-footer {
  --f-gold: #ffc34d;
  --f-gold-deep: #f5ad24;
  background:
    radial-gradient(60rem 28rem at 8% -10%, rgba(245, 173, 36, 0.14), transparent 60%),
    radial-gradient(50rem 30rem at 100% 100%, rgba(11, 75, 168, 0.35), transparent 60%),
    linear-gradient(160deg, #04122c 0%, #061a3a 55%, #031026 100%);
  color: #fff;
  overflow: hidden;
  padding: 0 0 28px;
  position: relative;
}

.site-footer::before {
  background: linear-gradient(90deg, transparent, var(--f-gold-deep), transparent);
  content: "";
  height: 2px;
  left: 0;
  opacity: 0.85;
  position: absolute;
  right: 0;
  top: 0;
}

/* ---- CTA band ------------------------------------------------------------ */
.footer-cta {
  align-items: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background:
    radial-gradient(30rem 14rem at 100% 0%, rgba(255, 195, 77, 0.22), transparent 70%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin: 64px 0 60px;
  padding: 36px 44px;
}

.site-footer > .container { padding-top: 0; }

.footer-cta__text h2 {
  color: #fff;
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  line-height: 1.35;
  margin: 0 0 8px;
}

.footer-cta__text p {
  color: rgba(226, 236, 252, 0.85);
  font-size: 0.98rem;
  line-height: 1.75;
  margin: 0;
  max-width: 560px;
}

.footer-cta__actions {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-cta__btn {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 700;
  gap: 10px;
  min-height: 50px;
  padding: 12px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.footer-cta__btn svg { height: 18px; width: 18px; }

.footer-cta__btn--gold {
  background: linear-gradient(135deg, #ffd06a, #f5ad24);
  box-shadow: 0 10px 28px rgba(245, 173, 36, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  color: #10213d !important;
}

.footer-cta__btn--ghost {
  background: rgba(255, 255, 255, 0.09);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff !important;
}

.footer-cta__btn:hover { transform: translateY(-3px); }
.footer-cta__btn--gold:hover { box-shadow: 0 16px 36px rgba(245, 173, 36, 0.55); }
.footer-cta__btn--ghost:hover { background: rgba(255, 255, 255, 0.18); }

/* ---- main grid ----------------------------------------------------------- */
.site-footer .footer-grid {
  display: grid;
  gap: 44px;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1.3fr;
}

.footer-brand img {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  height: 64px;
  margin-bottom: 18px;
  padding: 6px 14px;
  width: auto;
}

.footer-brand p {
  color: rgba(214, 228, 248, 0.88);
  font-size: 0.92rem;
  line-height: 1.85;
  margin: 0 0 22px;
  max-width: 420px;
}

.footer-social__label,
.site-footer .footer-col h3 {
  color: var(--f-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-social__label { display: block; margin-bottom: 12px; }

.footer-social__row { display: flex; flex-wrap: wrap; gap: 10px; }

.footer-social__link {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #fff !important;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  width: 42px;
}

.footer-social__link svg { height: 18px; width: 18px; }

.footer-social__link:hover {
  background: linear-gradient(135deg, #ffd06a, #f5ad24);
  border-color: transparent;
  color: #10213d !important;
  transform: translateY(-4px);
}

.site-footer .footer-col h3 {
  margin: 0 0 20px;
  padding-bottom: 12px;
  position: relative;
}

.site-footer .footer-col h3::after {
  background: linear-gradient(90deg, var(--f-gold-deep), transparent);
  border-radius: 2px;
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  width: 34px;
}

.site-footer .footer-links { display: grid; gap: 4px; list-style: none; margin: 0; padding: 0; }

.site-footer .footer-links a {
  color: rgba(214, 228, 248, 0.9);
  display: inline-block;
  font-size: 0.93rem;
  padding: 5px 0;
  position: relative;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer .footer-links a::before {
  background: var(--f-gold-deep);
  border-radius: 2px;
  content: "";
  height: 2px;
  left: -16px;
  opacity: 0;
  position: absolute;
  top: 50%;
  transition: opacity 0.2s ease, left 0.2s ease;
  width: 10px;
}

.site-footer .footer-links a:hover { color: #fff; transform: translateX(14px); }
.site-footer .footer-links a:hover::before { left: -14px; opacity: 1; }

/* ---- contact list -------------------------------------------------------- */
.footer-contact { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }

.footer-contact li {
  align-items: flex-start;
  color: rgba(214, 228, 248, 0.92);
  display: flex;
  font-size: 0.93rem;
  gap: 12px;
  line-height: 1.6;
}

.footer-contact a { color: inherit; overflow-wrap: anywhere; transition: color 0.2s ease; }
.footer-contact a:hover { color: var(--f-gold); }

.footer-contact__icon {
  align-items: center;
  background: rgba(245, 173, 36, 0.14);
  border: 1px solid rgba(245, 173, 36, 0.3);
  border-radius: 12px;
  color: var(--f-gold);
  display: inline-flex;
  flex: none;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.footer-contact__icon svg { height: 16px; width: 16px; }

/* ---- bottom bar ---------------------------------------------------------- */
.site-footer .footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(174, 190, 213, 0.95);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.82rem;
  gap: 14px;
  justify-content: space-between;
  margin-top: 56px;
  padding-top: 24px;
}

.footer-bottom__right { align-items: center; display: inline-flex; gap: 16px; }

.footer-top {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
  width: 40px;
}

.footer-top svg { height: 18px; width: 18px; }
.footer-top:hover { background: var(--f-gold-deep); color: #10213d; transform: translateY(-3px); }

/* ---- responsive ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .site-footer .footer-grid { gap: 36px; grid-template-columns: 1fr 1fr; }
  .site-footer .footer-brand { grid-column: 1 / -1; }
  .footer-cta { padding: 30px 32px; }
}

@media (max-width: 720px) {
  .footer-cta {
    align-items: flex-start;
    border-radius: 22px;
    flex-direction: column;
    gap: 20px;
    padding: 26px 22px;
  }
  .footer-cta__actions { width: 100%; }
  .footer-cta__btn { flex: 1 1 100%; justify-content: center; }
  .site-footer .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer .footer-bottom { flex-direction: column; align-items: flex-start; margin-top: 40px; }
  .footer-bottom__right { justify-content: space-between; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .footer-cta__btn, .footer-social__link, .footer-top, .site-footer .footer-links a { transition: none; }
}
