/* footer.css — Dark blue theme, fully scoped to .site-footer (no global overrides) */

.site-footer{
  /* Palette (scoped CSS variables) */
  --f-bg-1:#0b1428;
  --f-bg-2:#0b1c36;
  --f-card:#0b1325;
  --f-border:#12305a;
  --f-border-2:#163a70;
  --f-text:#e6f0ff;
  --f-text-weak:#cfe1ff;
  --f-muted:#9fb3c8;
  --f-accent:#2563eb;
  --f-accent-2:#1e3a8a;
  --f-shadow:0 12px 26px rgba(3,12,28,.45);
  --f-radius:16px;

  background: linear-gradient(180deg, var(--f-bg-2) 0%, #0a1730 100%);
  color: var(--f-text-weak);
  border-top: 1px solid var(--f-border);
  padding: 0;
  position: relative;
  isolation: isolate;
}

/* ---------- CTA strip ---------- */
.site-footer .footer-cta{
  background: linear-gradient(180deg, #0b1f3a 0%, #0b1428 100%);
  border-bottom: 1px solid var(--f-border);
  padding: 26px 16px;
}
.site-footer .footer-cta .cta-inner{
  max-width: 1200px; margin: 0 auto;
  display: grid; gap: 10px; align-items: center;
  grid-template-columns: 1.4fr 2fr 1fr;
}
@media (max-width:960px){
  .site-footer .footer-cta .cta-inner{ grid-template-columns: 1fr; text-align: center; }
}
.site-footer .footer-cta h3{
  margin: 0; color: var(--f-text); font-size: 20px; font-weight: 800;
}
.site-footer .footer-cta p{
  margin: 0; color: var(--f-muted); font-size: 14px;
}
.site-footer .footer-cta .cta-actions{
  display: flex; gap: 10px; justify-content: flex-end;
}
@media (max-width:960px){
  .site-footer .footer-cta .cta-actions{ justify-content: center; }
}

/* Footer buttons (scoped) */
.site-footer .btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 14px; border-radius:12px; text-decoration:none;
  font-weight:700; font-size:14px; line-height:1; cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease, color .12s ease, border-color .12s;
}
.site-footer .btn i{ font-size:14px; }
.site-footer .btn:active{ transform: translateY(1px); }

.site-footer .btn-primary{
  background: var(--f-accent); color: #fff; border:1px solid var(--f-accent-2);
  box-shadow: 0 6px 18px rgba(37,99,235,.35);
}
.site-footer .btn-primary:hover{
  background:#2c6df0; box-shadow: 0 10px 22px rgba(37,99,235,.45);
}

.site-footer .btn-ghost{
  background: var(--f-card); color: var(--f-text); border:1px solid var(--f-border);
  box-shadow: var(--f-shadow);
}
.site-footer .btn-ghost:hover{
  border-color: var(--f-border-2); color: var(--f-text);
}

/* ---------- Grid ---------- */
.site-footer .footer-grid{
  max-width: 1200px; margin: 18px auto 0; padding: 20px 16px 8px;
  display: grid; gap: 22px;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
}
@media (max-width: 1000px){
  .site-footer .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px){
  .site-footer .footer-grid{ grid-template-columns: 1fr; }
}

.site-footer .col h4, .site-footer .col h5{
  margin: 0 0 10px; color: var(--f-text); font-weight: 800; letter-spacing: .3px;
}
.site-footer .col h5{ font-size: 14px; text-transform: uppercase; }
.site-footer .muted{ color: var(--f-muted); }
.site-footer .micro{ font-size: 12px; }

/* Brand block */
.site-footer .brand .logo-ring{
  width:54px; height:54px; border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  color: var(--f-text);
  background: var(--f-card);
  border:1px solid var(--f-border);
  box-shadow: var(--f-shadow);
  margin-bottom: 10px;
}
.site-footer .brand h4{ font-size: 18px; margin-bottom: 6px; }

/* Link columns */
.site-footer .links ul{ list-style:none; padding:0; margin:0; }
.site-footer .links li{ margin:8px 0; }
.site-footer .links a{
  color: var(--f-text-weak); text-decoration: none; display:inline-flex; gap:8px; align-items:center;
  border-bottom: 1px dashed transparent;
  transition: color .15s ease, border-color .15s ease;
}
.site-footer .links a:hover{ color: var(--f-text); border-bottom-color: var(--f-accent); }

/* Social */
.site-footer .social{ display:flex; gap:10px; margin-top: 10px; }
.site-footer .social-btn{
  width:38px; height:38px; display:inline-flex; align-items:center; justify-content:center;
  color: var(--f-text); background: var(--f-card); border:1px solid var(--f-border);
  border-radius:12px; box-shadow: var(--f-shadow);
  transition: transform .12s ease, border-color .15s ease, color .15s ease, background-color .15s ease;
}
.site-footer .social-btn:hover{
  transform: translateY(-1px);
  color: var(--f-accent); border-color: var(--f-border-2);
}

/* Newsletter */
.site-footer .newsletter-form{
  position: relative; display:flex; align-items:center;
  background: var(--f-card); border:1px solid var(--f-border);
  border-radius: 12px; padding: 6px 6px 6px 10px; box-shadow: var(--f-shadow);
  margin-bottom: 8px;
}
.site-footer .newsletter-form input{
  flex:1; min-width:0; background: transparent; color: var(--f-text);
  border: none; outline: none; font-size: 14px; padding: 8px 6px;
}
.site-footer .newsletter-form .btn-send{
  width:40px; height:40px; border-radius:10px; border:1px solid var(--f-border);
  background: #0c1a33; color: var(--f-text); cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition: transform .12s ease, border-color .15s ease, background-color .15s ease;
}
.site-footer .newsletter-form .btn-send:hover{
  transform: translateY(-1px); border-color: var(--f-border-2); background: #102347;
}

/* Language/Currency prefs */
.site-footer .prefs{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 10px; }
.site-footer .select-wrap{
  position: relative; display:flex; align-items:center; gap:8px;
  background: var(--f-card); border:1px solid var(--f-border);
  border-radius: 10px; padding: 8px 10px; color: var(--f-text);
}
.site-footer .select-wrap i{ color: var(--f-text-weak); }
.site-footer .select-wrap select{
  appearance: none; background: transparent; color: var(--f-text);
  border:none; outline:none; font-size: 14px; padding-right: 18px;
}

/* Bottom bar */
.site-footer .footer-bottom{
  border-top: 1px solid var(--f-border);
  margin-top: 14px; padding: 12px 16px 18px;
}
.site-footer .footer-bottom .legal-links{
  max-width: 1200px; margin: 0 auto; color: var(--f-muted);
  display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:center;
}
.site-footer .footer-bottom .legal-links a{
  color: var(--f-text-weak); text-decoration: none;
}
.site-footer .footer-bottom .legal-links a:hover{ color: var(--f-text); text-decoration: underline; }
.site-footer .footer-bottom .copy{
  max-width: 1200px; margin: 8px auto 0; color: var(--f-muted); text-align:center; font-size: 13px;
}
.site-footer .footer-bottom .sep{ opacity: .6; }

/* Back to top button */
.site-footer .to-top{
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--f-card); color: var(--f-text);
  border:1px solid var(--f-border); box-shadow: var(--f-shadow);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition: transform .12s ease, border-color .15s ease, background-color .15s ease, color .15s;
}
.site-footer .to-top:hover{
  transform: translateY(-2px); border-color: var(--f-border-2); color: var(--f-accent);
}

/* Utilities */
.site-footer .sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
/* === Full-bleed footer + sticky bottom === */
.site-footer, footer {
  width: 100%;
  margin: 0 !important;
  border: 0;
  left: 0; right: 0;
}

/* When footer is a direct child of body, sit at the bottom if content is short */
body > .site-footer, body > footer {
  margin-top: auto;
}

/* Make the footer background span edge-to-edge.
   Your inner content stays centered at a max width. */
.footer-cta,
.footer-grid,
.footer-bottom {
  width: 100%;
}

.footer-cta .cta-inner,
.footer-grid,
.footer-bottom .legal-links,
.footer-bottom .copy {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
