/* ===== FOOTER ===== */
.site-footer{
  background:#0b1520; color:#cfe4ff; border-top:1px solid rgba(255,255,255,.06);
}
.footer-shell{
  max-width:1280px; margin:0 auto; padding:56px 20px 28px;
  display:grid; grid-template-columns:1.2fr 2fr; gap:40px;
}
.footer-brand .footer-logo{
  display:inline-flex; align-items:center; gap:10px; text-decoration:none; color:#fff; margin-bottom:10px;
}
.footer-brand .logo-pill{
  background:var(--blue);
  padding:10px 12px;
  border-radius:12px;
  font-weight:800;
  letter-spacing:.4px;

  /* new outline to match hero CTA */
  border:1px solid rgba(255,255,255,.18);
}

.footer-brand .logo-text{ font-weight:800; font-size:18px; letter-spacing:.6px; }
.footer-tagline{ margin:10px 0 18px; color:#a9c8ef; }

.footer-social{ display:flex; gap:12px; }
.soc-link{
  display:grid; place-items:center; width:40px; height:40px; border-radius:10px;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.08);
}
.soc-link:hover{ background:rgba(255,255,255,.1); }
.soc-link svg{ width:18px; height:18px; fill:#eaf3ff; }

.footer-cols{
  display:grid; grid-template-columns:repeat(3,1fr); gap:26px;
}
.footer-cols h4{
  margin:0 0 12px; color:#ffffff; font-size:16px; letter-spacing:.3px;
}
.footer-cols ul{ list-style:none; margin:0; padding:0; }
.footer-cols a{ color:#cfe4ff; text-decoration:none; }
.footer-cols a:hover{ color:#fff; }

.footer-contact li{ margin:6px 0; }

.newsletter label{ display:block; margin:8px 0 6px; font-weight:600; }
.nl-input{ display:flex; gap:8px; }
.nl-input input[type="email"]{
  flex:1; padding:12px 14px; border-radius:10px; border:1px solid rgba(255,255,255,.14);
  background:#0f2030; color:#eaf3ff;
}
.nl-input button{
  padding:12px 16px; border-radius:10px; border:0; font-weight:800;
  background:#ffffff; color:#041521; cursor:pointer;
}
.nl-input button:hover{ filter:brightness(.96); }
.newsletter small{ display:block; margin-top:8px; color:#94b7e6; font-size:12px; }
.newsletter .hp{ position:absolute; left:-9999px; opacity:0; } /* honeypot */

.footer-bottom{
  border-top:1px solid rgba(255,255,255,.06);
  display:flex; justify-content:space-between; align-items:center;
  gap:16px; padding:18px 20px; max-width:1280px; margin:0 auto;
}
.footer-bottom p{ margin:0; color:#a9c8ef; font-size:14px; }
.footer-bottom .legal{ list-style:none; margin:0; padding:0; display:flex; gap:16px; }
.footer-bottom .legal a{ color:#cfe4ff; text-decoration:none; font-size:14px; }
.footer-bottom .legal a:hover{ color:#fff; }

/* Responsive */
@media (max-width: 980px){
  .footer-shell{ grid-template-columns:1fr; }
  .footer-cols{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 620px){
  .footer-cols{ grid-template-columns:1fr; }
  .nl-input{ flex-direction:column; }
}
/* =========================================
   MOBILE FOOTER IMPROVEMENTS (< 620px)
========================================= */

@media (max-width: 620px) {

  .site-footer {
    padding-top: 32px;
  }

  .footer-shell {
    padding: 40px 20px 20px;
    gap: 32px;
  }

  /* Center brand + socials */
  .footer-brand {
    text-align: center;
  }

  .footer-brand .footer-logo {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .soc-link {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  /* Footer columns (stacked) */
  .footer-cols {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .footer-cols h4 {
    margin-bottom: 10px;
  }

  .footer-cols ul li {
    margin: 4px 0;
  }

  /* Contact section centered */
  .footer-contact {
    text-align: center;
  }

  /* Bottom legal area */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 24px 20px;
  }

  .footer-bottom .legal {
    justify-content: center;
    gap: 20px;
  }
}
