/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0.2
*/

/* Espaciado reducido */
.ld-espacio-seccion-sm {
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(36px, 5vw, 64px);
}

/* Espaciado estándar */
.ld-espacio-seccion {
  padding-top: clamp(56px, 7vw, 100px);
  padding-bottom: clamp(56px, 7vw, 100px);
}

/* Espaciado amplio */
.ld-espacio-seccion-lg {
  padding-top: clamp(76px, 9vw, 140px);
  padding-bottom: clamp(76px, 9vw, 140px);
}


/* Lista personalizada — Infraestructura */
.listado-01 ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.listado-01 li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 22px;
  color: #22354a;
  font-size: 15px;
  line-height: 1.5;
}
.listado-01 li:last-child {
  margin-bottom: 0;
}
.listado-01 li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #39b54a;
  transform: translateY(-50%);
}
/* Contenedor general */
.ld-ubicaciones-filtro {
  margin-bottom: 30px;
}

/* Botones de estados */
.ld-ubicaciones-filtro__estados {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.ld-ubicaciones-filtro__boton {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #dce5ed;
  border-radius: 999px;
  background: #fff;
  color: #053977;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.ld-ubicaciones-filtro__boton:hover,
.ld-ubicaciones-filtro__boton.is-active {
  border-color: #0131b9;
  background: #0131b9;
  color: #fff;
}

/* Contador */
.ld-ubicaciones-filtro__contador {
  margin: 22px 0 0;
  color: #657486;
  font-size: 14px;
  text-align: center;
}

/* Tableta y celular: scroll horizontal */
@media (max-width: 959px) {
  .ld-ubicaciones-filtro__estados {
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 0 12px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .ld-ubicaciones-filtro__estados::-webkit-scrollbar {
    display: none;
  }

  .ld-ubicaciones-filtro__boton {
    flex: 0 0 auto;
    width: auto;
    min-width: max-content;
  }

  .ld-ubicaciones-filtro__contador {
    text-align: left;
  }
}

/* Botón sin enlace de Google Maps */
.ld-ubicaciones-grid .ld-ruta-pendiente {
  opacity: 0.55;
  cursor: not-allowed;
  filter: grayscale(1);
}

/* Ocultar tarjetas filtradas */
.ld-ubicaciones-grid .mfn-queryloop-item-wrapper[hidden] {
  display: none !important;
}

/* Animación mundo 3D */
.fi-globe-only,
.fi-globe-only * {
  box-sizing: border-box;
}

  .fi-globe-only{
    position:relative;
    width:100%;
    max-width:680px;
    aspect-ratio:1/1;
    margin:0 auto;
    overflow:visible;
    background:transparent;
  }

  .fi-globe-only canvas{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    display:block;
    cursor:grab;
    touch-action:none;
  }

  .fi-globe-only canvas:active{
    cursor:grabbing;
  }

  .fi-globe-tag{
    position:absolute;
    z-index:4;
    left:50%;
    top:2px;
    transform:translateX(-50%);
    display:flex;
    align-items:center;
    gap:9px;
    padding:8px 14px;
    border-radius:999px;
    border:1px solid rgba(129,166,210,.35);
    background:rgba(5,24,52,.82);
    color:#dce8f7;
    font:11px/1.2 monospace;
    letter-spacing:.09em;
    white-space:nowrap;
    pointer-events:none;
  }

  .fi-globe-tag i{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#36e07e;
    box-shadow:0 0 0 0 rgba(54,224,126,.6);
    animation:fiLive 1.8s infinite;
  }

  @keyframes fiLive{
    70%{box-shadow:0 0 0 8px rgba(54,224,126,0)}
  }

  .fi-globe-progress{
    position:absolute;
    z-index:6;
    left:50%;
    bottom:0;
    transform:translateX(-50%);
    width:min(420px,78%);
    text-align:center;
    pointer-events:none;
  }

  .fi-globe-counter{
    display:block;
    min-height:34px;
    margin-bottom:10px;
    color:#FFFFFF;
    font:700 clamp(22px,4vw,34px)/1 "Space Mono",monospace;
    letter-spacing:-.025em;
    text-shadow:0 0 18px rgba(57,181,74,.28);
  }

  .fi-globe-progress-track{
    height:4px;
    overflow:hidden;
    border-radius:999px;
    background:rgba(255,255,255,.13);
  }

  .fi-globe-progress-bar{
    width:0;
    height:100%;
    border-radius:inherit;
    background:linear-gradient(90deg,#39B54A,#A8E97B);
    box-shadow:0 0 14px rgba(57,181,74,.58);
  }

  .fi-globe-progress small{
    display:block;
    margin-top:9px;
    color:#9fb9d6;
    font-size:11px;
    letter-spacing:.14em;
    text-transform:uppercase;
  }

  @media(max-width:520px){
    .fi-globe-only{
      max-width:440px;
    }

    .fi-globe-tag{
      font-size:10px;
      padding:7px 12px;
    }

    .fi-globe-progress{
      width:76%;
    }
  }
.ld-whatsapp-wrap {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
}
.ld-whatsapp-flotante {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff !important;
  font-size: 29px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ld-whatsapp-flotante:hover {
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}
.ld-whatsapp-flotante i,
.ld-whatsapp-flotante .icon-whatsapp {
  color: #fff !important;
  line-height: 1;
  margin: 0;
}
.ld-whatsapp-tooltip {
  position: absolute;
  right: 0;
  bottom: 72px;
  min-width: 205px;
  padding: 14px 38px 14px 16px;
  background: #fff;
  color: #053977;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  box-shadow: 0 10px 30px rgba(5, 57, 119, 0.16);
}
.ld-whatsapp-tooltip::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: -8px;
  width: 16px;
  height: 16px;
  background: #fff;
  transform: rotate(45deg);
}
.ld-whatsapp-tooltip__close {
  position: absolute;
  top: 6px;
  right: 9px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #7b8794;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.ld-whatsapp-tooltip__close:hover {
  color: #053977;
}
@media (max-width: 767px) {
  .ld-whatsapp-wrap {
    right: 16px;
    bottom: 16px;
  }
  .ld-whatsapp-flotante {
    width: 54px;
    height: 54px;
    font-size: 27px;
  }
  .ld-whatsapp-tooltip {
    bottom: 68px;
    min-width: 190px;
  }
}
