/*
 * Asisper - Footer independiente v1.0.0
 * Solo oculta el pie anterior de UiCore/Elementor. No modifica el header, menus, ni otras secciones.
 * Desactivar el plugin restaura automáticamente el footer anterior.
 */
body .elementor-location-footer,
body [data-elementor-type="footer"]:not(#asisper-independent-footer),
body .uicore-tb-footer,
body #uicore-footer:not(#asisper-independent-footer),
body .uicore-footer:not(#asisper-independent-footer),
body .uicore-copyright,
body #uicore-copyright,
body .uicore-copyright-wrapper {
  display: none !important;
}

/* No depender de los estilos generales de Elementor o UiCore. */
#asisper-independent-footer,
#asisper-independent-footer * { box-sizing: border-box; }
#asisper-independent-footer {
  --aif-navy: #052c5a;
  --aif-blue: #073f81;
  --aif-accent: #77bcf1;
  --aif-text: #ecf6ff;
  --aif-muted: #c1d8ee;
  position: relative;
  display: block !important;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  clear: both;
  isolation: isolate;
  color: var(--aif-text);
  font-family: inherit;
  background: linear-gradient(137deg,#052e61 0%,#074a98 62%,#063770 100%);
  border-top: 4px solid #1683d1;
}
#asisper-independent-footer .aif-container {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
}
#asisper-independent-footer .aif-main {
  display: grid;
  grid-template-columns: minmax(0,1.55fr) repeat(3,minmax(0,1fr));
  column-gap: clamp(25px,3vw,46px);
  row-gap: 35px;
  padding: 66px 0 56px;
}
#asisper-independent-footer a { color: #f1f9ff; text-decoration: none; }
#asisper-independent-footer a:focus-visible {
  outline: 3px solid #a9dbff;
  outline-offset: 4px;
  border-radius: 5px;
}
#asisper-independent-footer .aif-brand img {
  display:block;
  width: min(210px,100%);
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left;
  margin: 0 0 24px;
}
#asisper-independent-footer .aif-brand p {
  margin: 0 0 24px;
  max-width: 310px;
  color: var(--aif-muted);
  font-size: 14px;
  line-height: 1.85;
}
#asisper-independent-footer .aif-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 45px;
  border-radius: 10px;
  background: #ff891d;
  border: 1px solid #ffb05e;
  color: #072d56 !important;
  font-size: 13px;
  font-weight: 850;
  padding: 11px 17px;
  transition: background-color .2s ease,transform .2s ease;
}
#asisper-independent-footer .aif-cta:hover { background: #ffac5d; transform: translateY(-2px); }
#asisper-independent-footer .aif-column h2 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.35;
  color: #fff !important;
  margin: 0 0 24px;
  padding-bottom: 15px;
  position: relative;
}
#asisper-independent-footer .aif-column h2::after {
  content:"";
  display:block;
  position:absolute;
  left:0;
  bottom:0;
  width: 39px;
  height: 2px;
  border-radius: 2px;
  background: #76bded;
}
#asisper-independent-footer .aif-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#asisper-independent-footer .aif-column li {
  padding: 0;
  margin: 0 0 13px;
  line-height: 1.6;
  font-size: 14px;
}
#asisper-independent-footer .aif-column li a {
  display: inline-block;
  color: #d6e9fb;
  font-weight: 500;
  overflow-wrap:anywhere;
  transition: transform .2s ease,color .2s ease;
}
#asisper-independent-footer .aif-column li a:hover {
  color: #fff !important;
  transform: translateX(4px);
}
#asisper-independent-footer .aif-bellisima {
  padding: 23px 22px 19px;
  margin: -23px -5px -16px;
  border: 1px solid rgba(154,210,255,.32);
  border-radius: 18px;
  background: rgba(255,255,255,.075);
}
#asisper-independent-footer .aif-kicker {
  color: #b6dfff;
  font-size: 10px;
  letter-spacing: .15em;
  font-weight: 900;
  margin: 0 0 7px;
}
#asisper-independent-footer .aif-bellisima h2 { font-size:22px; margin-bottom: 17px; padding-bottom: 12px; }
#asisper-independent-footer .aif-bellisima-desc {
  margin: 0 0 16px;
  font-size: 13px;
  line-height:1.7;
  color: var(--aif-muted);
}
#asisper-independent-footer .aif-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 30px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(221,241,255,.22);
  padding: 24px 0 27px;
  color: #c3d9ed;
}
#asisper-independent-footer .aif-bottom p {
  margin:0;
  font-size: 12px;
  line-height: 1.7;
}
#asisper-independent-footer .aif-bottom strong { color: #fff; margin-right: 14px; }
#asisper-independent-footer .aif-hours span { margin-right: 15px; }
#asisper-independent-footer .aif-copy { opacity:.88; }
@media (max-width:1000px) {
  #asisper-independent-footer .aif-main {
    grid-template-columns: repeat(2,minmax(0,1fr));
    padding: 56px 0 42px;
  }
  #asisper-independent-footer .aif-bellisima { margin:0; }
}
@media (max-width:600px) {
  #asisper-independent-footer .aif-container { width:calc(100% - 40px); }
  #asisper-independent-footer .aif-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 42px 0 32px;
  }
  #asisper-independent-footer .aif-brand img { width:176px; margin-bottom:18px; }
  #asisper-independent-footer .aif-brand p { margin-bottom:18px; }
  #asisper-independent-footer .aif-column h2 { margin-bottom:15px; }
  #asisper-independent-footer .aif-column li { margin-bottom:9px; }
  #asisper-independent-footer .aif-bellisima { padding:21px 18px; }
  #asisper-independent-footer .aif-bottom { display:block; padding:21px 0 30px; }
  #asisper-independent-footer .aif-hours span { display:block; margin-right:0; }
  #asisper-independent-footer .aif-copy { margin-top:13px!important; }
}
@media(prefers-reduced-motion:reduce){
  #asisper-independent-footer a {transition:none!important;transform:none!important;}
}

/* Legacy UiCore standalone copyright bar. We keep the new footer's own copy. */
body #uicore-footer-copyright,
body #uicore-copyright-bar,
body .uicore-footer-copyright,
body .uicore-copyright-bar,
body .uicore-copyright-container,
body .uicore-copyright-section,
body .uicore-bottom-footer,
body .uicore-bottom-bar,
body .uicore-footer-bottom,
body #uicore-footer-bottom,
body .uicore-copyright-text:not(#asisper-independent-footer *) {
  display: none !important;
}
