/* =====================================================================
   footer.css  ·  Estilos del footer compartido (ivax.ai)
   Se carga solo desde js/footer.js.
   NOTA: los estilos base (footer, .footer-inner, .footer-col, .footer-bottom,
   .domain-tag, .cert-badge...) siguen en css/style.css y css/certs.css.
   Aquí solo está lo que antes iba "en línea" en el HTML + el responsive.
   ===================================================================== */

#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;
}

/* Rejilla: Empresa | Productos | 3 oficinas */
#site-footer .footer-links.ivf-grid{
  width:100%;display:grid;
  grid-template-columns:120px 150px 1fr 1fr 1fr;
  gap:2rem;align-items:start;
}
#site-footer .footer-top{justify-content:flex-start}

/* Oficinas */
#site-footer .ivf-addr{line-height:1.6;font-size:.83rem;margin-bottom:0}
#site-footer .ivf-map{
  width:100%;height:160px;object-fit:cover;
  border-radius:10px;margin-top:8px;display:block;
}

/* Newsletter */
#site-footer .ivf-news{
  border-top:1px solid rgba(78,236,216,.1);
  padding:1.2rem 0;margin-bottom:1.2rem;
  display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;
}
#site-footer .ivf-news-label{font-size:.82rem;color:var(--gray,#9a9a9a);white-space:nowrap}
#site-footer .ivf-news input{
  flex:1;min-width:180px;max-width:280px;
  background:var(--dark3,#1a1a1a);
  border:1px solid rgba(78,236,216,.2);border-radius:8px;
  padding:.45rem .8rem;
  font-family:'Nunito',sans-serif;font-size:.82rem;
  color:var(--white,#fff);outline:none;
}
#site-footer .ivf-news button{
  background:var(--cyan,#4eecd8);color:var(--black,#000);
  border:none;border-radius:8px;padding:.45rem 1rem;
  font-family:'Nunito',sans-serif;font-size:.82rem;font-weight:800;
  cursor:pointer;white-space:nowrap;
}
#site-footer .ivf-news-msg{font-size:.78rem;min-width:120px}

/* Legal */
#site-footer .ivf-vat{font-size:.72rem;color:var(--gray2,#777);margin-top:4px}
#site-footer .ivf-legal{font-size:.72rem;color:var(--gray2,#777);margin-top:6px}
#site-footer .ivf-legal a{color:var(--gray2,#777);text-decoration:none;transition:color .2s}
#site-footer .ivf-legal a:hover{color:var(--cyan,#4eecd8)}

/* ── Responsive ── */
@media (max-width:1024px){
  #site-footer .footer-links.ivf-grid{
    grid-template-columns:repeat(2,1fr);
    gap:1.8rem 1.2rem;
  }
}
@media (max-width:640px){
  #site-footer .footer-links.ivf-grid{
    grid-template-columns:1fr;
    gap:1.5rem;
  }
  #site-footer .footer-links iframe{height:120px !important}
}
