/* ============================================================
   BOTÓN LLAMADA ABAJO IZQUIERDA
   pinturaelectrostaticacolombia.com
   ============================================================ */

/* ── Neutralizar wrappers Joomla ── */
section#sp-boton-llamada-abajo-izquierda {
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
}

section#sp-boton-llamada-abajo-izquierda > .container,
section#sp-boton-llamada-abajo-izquierda > .container > .container-inner {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

section#sp-boton-llamada-abajo-izquierda .row {
  margin: 0 !important;
}

section#sp-boton-llamada-abajo-izquierda .col-lg-12,
section#sp-boton-llamada-abajo-izquierda .sp-column,
section#sp-boton-llamada-abajo-izquierda .sp-module,
section#sp-boton-llamada-abajo-izquierda .sp-module-content,
section#sp-boton-llamada-abajo-izquierda .mod-custom {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}

/* ── Botón flotante ── */
.float-call-pe {
  position: fixed;
  bottom: 30px;
  left: 24px;
  z-index: 9200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.float-call-pe-circle {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: #F04E23;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(240,78,35,0.55);
  animation: callPulsePE 2.5s infinite;
  transition: transform 0.2s;
  border: 4px solid rgba(255,255,255,0.25);
}

.float-call-pe:hover .float-call-pe-circle {
  transform: scale(1.1);
  box-shadow: 0 12px 44px rgba(240,78,35,0.75);
}

.float-call-pe-circle svg {
  width: 38px;
  height: 38px;
}

@keyframes callPulsePE {
  0%   { box-shadow: 0 8px 32px rgba(240,78,35,0.55); }
  50%  { box-shadow: 0 8px 48px rgba(240,78,35,0.8), 0 0 0 18px rgba(240,78,35,0.10); }
  100% { box-shadow: 0 8px 32px rgba(240,78,35,0.55); }
}

.float-call-pe-label {
  background: #0d111b;
  color: white;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 20px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}

.float-call-pe-number {
  background: #0d111b;
  color: #F04E23;
  font-size: 14px;
  font-weight: 900;
  padding: 6px 16px;
  border-radius: 20px;
  white-space: nowrap;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  letter-spacing: 0;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .float-call-pe         { bottom: 7px; left: 7px; gap: 6px; }
  .float-call-pe-circle  { width: 62px; height: 62px; border-width: 3px; }
  .float-call-pe-circle svg { width: 28px; height: 28px; }
  .float-call-pe-label   { font-size: 11px; padding: 5px 12px; display:none; }
  .float-call-pe-number  { font-size: 12px; padding: 5px 12px; }
}

@media (max-width: 400px) {
  .float-call-pe         { bottom: 8px; left: 8px; gap: 5px; }
  .float-call-pe-circle  { width: 56px; height: 56px; }
  .float-call-pe-circle svg { width: 24px; height: 24px; }
  .float-call-pe-label   { font-size: 10px; padding: 4px 10px; }
  .float-call-pe-number  { font-size: 11px; padding: 4px 10px; }
}

/* ── Imagen reemplaza el botón ── */
.float-call-pe {
  flex-direction: row;
  gap: 0;
}

.float-call-pe-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 160px;
}

/* ── Temblor cada 5 segundos ── */
@keyframes floatCallShake {
  0%, 85%, 100% { transform: rotate(0deg); }
  87%            { transform: rotate(-8deg); }
  89%            { transform: rotate(8deg); }
  91%            { transform: rotate(-6deg); }
  93%            { transform: rotate(6deg); }
  95%            { transform: rotate(-3deg); }
  97%            { transform: rotate(3deg); }
  99%            { transform: rotate(0deg); }
}

.float-call-pe-img {
  animation: floatCallShake 5s ease-in-out infinite;
}

/* ── Botón círculo móvil (solo hasta 1023px) ── */
.float-call-pe-mobile {
  display: none;
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 9200;
  text-decoration: none;
}

@media (max-width: 600px) {
  .float-call-pe-mobile {
    bottom: 7px;
    left: 7px;
  }
}

@media (max-width: 1023px) {
  .float-call-pe {
    display: none;
  }
  .float-call-pe-mobile {
    display: none;
  }
  .float-call-pe-mobile .float-call-pe-circle {
    width: 46px;
    height: 46px;
  }
  .float-call-pe-mobile .float-call-pe-circle svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 600px) {
  .float-call-pe-mobile .float-call-pe-circle {
    width: 40px;
    height: 40px;
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .float-call-pe-img {
    max-width: 230px;
  }
  .float-call-pe {
    bottom: 15px;
    left: 15px;
  }
}

@media (min-width: 1200px) and (max-width: 1365px) {
  .float-call-pe-img {
    max-width: 240px;
  }
  .float-call-pe {
    bottom: 15px;
    left: 15px;
  }
}

@media (min-width: 1366px) and (max-width: 1399px) {
  .float-call-pe-img {
    max-width: 250px;
  }
}

@media (min-width: 1400px) and (max-width: 1599px) {
  .float-call-pe-img {
    max-width: 260px;
  }
}

@media (min-width: 1600px) and (max-width: 1919px) {
  .float-call-pe-img {
    max-width: 270px;
  }
}

@media (min-width: 1920px) {
  .float-call-pe-img {
    max-width: 280px;
  }
}
