/* =========================================================
   OIC FOOTER (PRO / BLINDADO)
   Archivo: public/css/cms-footer.css
   - No cambia clases
   - Evita que oic-theme.css pise colores/underlines
   - Responsive + FAB limpio
========================================================= */

.oic-footer{
  background-color: #6f6a67; /* base */
  color: #ffffff;
  width: 100%;
  position: relative;
  overflow-x: clip; /* mejor que hidden; no crea scroll raro */
}
@supports not (overflow: clip){
  .oic-footer{ overflow-x: hidden; }
}

.oic-footer-inner{
  width: 100%;
  margin: 0 auto;
}

/* --------- TIPOGRAFÍA / COLORES (blindaje vs oic-theme) --------- */
.oic-footer,
.oic-footer *{
  color: inherit;
}

.oic-footer p,
.oic-footer li,
.oic-footer span,
.oic-footer small,
.oic-footer em,
.oic-footer div{
  color: rgba(255,255,255,.92);
}

.oic-footer .fw-semibold{
  color: #fff;
}

/* los "opacity-75" de bootstrap a veces quedan muy apagados sobre gris */
.oic-footer .opacity-75{
  opacity: .85 !important;
}

/* Links: control total (evita underline global del theme) */
.oic-footer a,
.oic-footer a:hover,
.oic-footer a:focus{
  color: #fff;
  text-decoration: none;
}

/* estilo de enlace propio */
.oic-footer-link{
  color: #fff !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255,255,255,.22);
  transition: border-color .2s ease, opacity .2s ease, transform .2s ease;
}

.oic-footer-link:hover{
  border-bottom-color: rgba(255,255,255,.9);
  opacity: 1;
}

/* --------- LOGO --------- */
.oic-footer-logo{
  max-width: 280px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 15px rgba(0,0,0,.20));
}

/* --------- BLOQUE INFO --------- */
.oic-footer-info{
  border-left: 2px solid rgba(255,255,255,.26);
  padding-left: 20px;
}

.oic-info-row{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

/* Iconos circulares */
.oic-ico{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #b83280; /* acento */
  box-shadow: 0 4px 10px rgba(0,0,0,.28);
  flex: 0 0 auto;
}

.oic-ico i{
  font-size: 1rem;
  color: #fff;
}

/* --------- MAPA --------- */
.oic-map-card{
  background: rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 15px 35px rgba(0,0,0,.20);
  border: 1px solid rgba(255,255,255,.12);
}

.oic-map-card iframe{
  width: 100%;
  height: 250px;
  border: 0;
  border-radius: 10px;
  display: block;
}

/* --------- FRANJA INFERIOR --------- */
.oic-footer-bottom{
  background-color: rgba(0,0,0,.16);
  border-top: 1px solid rgba(255,255,255,.10);
}

/* --------- FAB (botones flotantes) --------- */
.oic-fab{
  position: fixed;
  right: 22px;
  bottom: calc(90px + env(safe-area-inset-bottom));
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.oic-fab-btn{
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background-color: #b83280;
  color: #ffffff !important;

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none !important;
  box-shadow: 0 12px 26px rgba(0,0,0,.30);
  border: 3px solid rgba(255,255,255,.60);

  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.oic-fab-btn i{ color:#fff; }

.oic-fab-btn:hover{
  transform: translateY(-2px) scale(1.06);
  background-color: #d63384;
  box-shadow: 0 16px 32px rgba(0,0,0,.34);
}

/* Focus accesible */
.oic-fab-btn:focus,
.oic-fab-btn:focus-visible{
  outline: none;
  box-shadow:
    0 16px 32px rgba(0,0,0,.34),
    0 0 0 4px rgba(184,50,128,.28);
}

/* --------- RESPONSIVE --------- */
@media (max-width: 991.98px){
  .oic-footer-info{
    border-left: 0;
    padding-left: 0;
    margin-top: 8px;
  }

  .oic-footer-logo{
    max-width: 220px;
    margin-bottom: 8px;
  }

  .oic-map-card iframe{
    height: 220px;
  }

  .oic-fab{
    right: 14px;
    bottom: calc(70px + env(safe-area-inset-bottom));
  }

  .oic-fab-btn{
    width: 52px;
    height: 52px;
  }
}

/* Usuarios con reduce motion */
@media (prefers-reduced-motion: reduce){
  .oic-footer-link,
  .oic-fab-btn{
    transition: none !important;
  }
}