/* ============================================================
   BOTONES DERECHA ABAJO — Barra inferior fija
   pinturaelectrostaticacolombia.com
   ============================================================ */

/* ── Barra principal ── */
.bda-bar {
  position: fixed;
  bottom: 14px; right: 14px;
  width: max-content;
  height: 56px;
  background: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 7px;
  z-index: 9400;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  border: none;
  border-radius: 5px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
}

.bda-group {
  display: flex;
  align-items: center;
  gap: 7px;
}

/* Botón base */
.bda-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  padding: 0 14px;
  border-radius: 3px;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: #fff;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.18s, box-shadow 0.2s;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid rgba(255,199,44,0.7);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}
.bda-btn:hover {
  background: #FFC72C;
  border-color: #D59B02;
  color: #000;
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0,0,0,0.28);
}
.bda-btn:hover svg,
.bda-btn:hover svg path {
  fill: #000 !important;
}

/* Botón icono cuadrado */
.bda-icon-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 3px;
}

/* Iconos SVG */
.bda-btn svg { width: 25px; height: 25px; }
.bda-24-text { font-size: 15px; font-weight: 900; letter-spacing: 0; display: flex; align-items: baseline; gap: 3px; }
.bda-24-text small { font-size: 9px; font-weight: 700; letter-spacing: 0.5px; }

/* Colores IMPROCOL */
.bda-loc      { background: #1C1C1C; }
.bda-24h      { background: #FFC72C; color: #000; font-size: 14px; font-weight: 900; cursor: pointer; border-color: #D59B02; }
.bda-asesoria { background: #1C1C1C; color: #FFC72C; font-size: 13px; }
.bda-whatsapp { background: #128C4A; font-size: 13px; border-color: #25D366; }

.bda-24-text {
  display: flex;
  align-items: baseline;
  color: currentColor;
  font-size: 17px;
  font-weight: 900;
}
.bda-24-text small { font-size: 14px; font-weight: 700; }

/* ── HORAS / H según breakpoint ── */
.bda-horas-short { display: none; }
.bda-horas-long  { display: inline; }

/* ── Hasta 500px: "Horas" → "H" más grande ── */
@media (max-width: 500px) {
  .bda-horas-long  { display: none; }
  .bda-horas-short { display: inline; font-size: 16px; font-weight: 800; }
}

/* ── Hasta 449px: solo "24", sin "H" ── */
@media (max-width: 449px) {
  .bda-horas-short { display: none; }
}


/* ── Hasta 359px: asesoría solo icono + 24h vuelve sin "H" ── */
@media (max-width: 359px) {
  .bda-asesoria .bda-txt-short { display: none; }
  .bda-24h { display: inline-flex; }
}


/* ── Textos asesoría ── */
.bda-txt-short { display: none; }
.bda-txt-long  { display: inline; }

/* ── Hasta 768px: asesoría muestra icono + "ASESORÍA", WhatsApp solo icono ── */
@media (max-width: 768px) {
  .bda-txt-long  { display: none; }
  .bda-txt-short { display: inline; }
  .bda-whatsapp .bda-txt { display: none; }
  .bda-whatsapp { width: 40px; padding: 0; }
}

@media (max-width: 480px) {
  .bda-bar      { height: 50px; padding: 0 10px; gap: 5px; }
  .bda-btn      { height: 38px; }
  .bda-icon-btn { width: 38px; height: 38px; }
}

/* ============================================================
   MODAL ASESORÍA — idéntico al popup cotizar del footer-new
   ============================================================ */

.bda-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.bda-overlay.bda-open { display: flex; }

/* ── Modal box ── */
.bda-modal-box {
  background: #13182a;
  border-radius: 16px;
  border: 1px solid rgba(240,78,35,0.3);
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  animation: bdaFadeIn 0.25s ease;
  max-height: 92vh;
  overflow-y: auto;
}

@keyframes bdaFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Botón cerrar ── */
.bda-close-btn {
  position: absolute;
  top: 14px; right: 16px;
  background: rgba(255,255,255,0.08);
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 22px;
  width: 34px; height: 34px;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s;
}
.bda-close-btn:hover {
  background: rgba(240,78,35,0.3);
  color: white;
}

/* ── Header ── */
.bda-header {
  padding: 30px 28px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.bda-header-icon { font-size: 36px; margin-bottom: 10px; }
.bda-title {
  font-size: 22px;
  font-weight: 800;
  color: white;
  margin: 0 0 6px;
}
.bda-subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

/* ── Body ── */
.bda-body { padding: 24px 28px 28px; }

/* ── Campos ── */
.bda-field { margin-bottom: 18px; }

.bda-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 7px;
}

.bda-req { color: #F04E23; font-weight: 900; }

.bda-input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: white;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
  font-family: inherit;
}
.bda-input::placeholder { color: rgba(255,255,255,0.3); }
.bda-input:focus { border-color: #F04E23; }
.bda-input--error { border-color: #e74c3c !important; }

.bda-textarea {
  min-height: 100px;
  resize: vertical;
  background: #ffffff !important;
  color: #222222 !important;
  border-color: rgba(255,255,255,0.3) !important;
}
.bda-textarea::placeholder { color: #999999; }

/* ── Error ── */
.bda-error {
  display: block;
  font-size: 12px;
  color: #e74c3c;
  margin-top: 5px;
  font-weight: 600;
}

/* ── Nota ── */
.bda-note {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  margin: 0 0 18px;
}

/* ── Botón enviar WhatsApp ── */
.bda-submit-btn {
  width: 100%;
  padding: 14px;
  background: #25D366;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  font-family: inherit;
}
.bda-submit-btn:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}

/* ── Botón enviar naranja (modal 24h) ── */
.bda-submit-orange {
  background: #F04E23;
}
.bda-submit-orange:hover {
  background: #c8391a;
}

/* ── Mensaje éxito llamada ── */
.bda-call-success {
  text-align: center;
  padding: 30px 28px;
}
.bda-call-success h3 {
  color: #2ecc71;
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 10px;
}
.bda-call-success p {
  color: rgba(255,255,255,0.55);
  font-size: 15px;
  margin: 0;
}

/* ── Scrollbar ── */
.bda-modal-box::-webkit-scrollbar { width: 5px; }
.bda-modal-box::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); border-radius: 4px; }


@media (max-width: 1023px) {
  .bda-24h .bda-24-text {
    display: none;
  }
  .bda-24h img {
    height: 28px !important;
    width: auto !important;
  }
  .bda-btn {
    padding: 0 8px;
  }
  .bda-asesoria .bda-txt-long {
    display: none;
  }
  .bda-asesoria .bda-txt-short {
    display: inline;
  }
  .bda-asesoria img {
    height: 27px !important;
    width: auto !important;
  }
}

@media (max-width: 767px) {
  .bda-asesoria .bda-txt-short {
    display: none;
  }
  .bda-whatsapp .bda-txt {
    display: none;
  }
}

/* ── Tamaños fijos de iconos ── */
.bda-24h img {
  height: 28px !important;
  width: auto !important;
}

.bda-asesoria img {
  height: 27px !important;
  width: auto !important;
}

.bda-whatsapp svg {
  height: 28px !important;
  width: auto !important;
}

/* ============================================================
   IMPROCOL - Apariencia visual de popups y formularios
   ============================================================ */
.bda-overlay {
  background: rgba(0,0,0,0.72) !important;
  backdrop-filter: blur(6px);
}

.bda-modal-box {
  background: #1C1C1C !important;
  border: 1px solid #D59B02 !important;
  border-radius: 5px !important;
  box-shadow: 0 24px 70px rgba(0,0,0,0.62), 0 0 0 1px rgba(255,199,44,0.16) !important;
  color: #F4F4F2 !important;
}

.bda-modal-box::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, #FFC72C, #D59B02);
}

.bda-close-btn {
  top: 8px !important;
  right: 12px !important;
  z-index: 5 !important;
  background: #FFC72C !important;
  border: 1px solid #D59B02 !important;
  color: #000 !important;
  border-radius: 3px !important;
}
.bda-close-btn:hover {
  background: #FFF !important;
  border-color: #999 !important;
  color: #000 !important;
}

.bda-header {
  padding: 30px 28px 20px !important;
  border-bottom: 1px solid rgba(255,199,44,0.24) !important;
  background: #1F1F1F !important;
}
.bda-header-icon {
  color: #FFC72C !important;
  filter: saturate(0.95);
}
.bda-title {
  color: #FFC72C !important;
  font-family: "Inter", system-ui, sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: uppercase;
}
.bda-subtitle {
  color: #D6D6D2 !important;
}

.bda-body {
  background: #1C1C1C !important;
}
.bda-label {
  color: #FFC72C !important;
  letter-spacing: 0 !important;
}
.bda-req {
  color: #FFC72C !important;
}

.bda-input,
.bda-textarea {
  background: #F4F4F2 !important;
  border: 1px solid #D6D6D2 !important;
  border-radius: 3px !important;
  color: #1C1C1C !important;
  box-shadow: inset 0 1px 0 rgba(0,0,0,0.04) !important;
}
.bda-input::placeholder,
.bda-textarea::placeholder {
  color: #8A8A8A !important;
}
.bda-input:focus,
.bda-textarea:focus {
  border-color: #FFC72C !important;
  box-shadow: 0 0 0 3px rgba(255,199,44,0.22) !important;
}
.bda-input--error {
  border-color: #D59B02 !important;
}
.bda-error {
  color: #E53935 !important;
}
.bda-note {
  color: #D6D6D2 !important;
}

.bda-submit-btn,
.bda-submit-orange {
  background: #FFC72C !important;
  border: 1px solid #D59B02 !important;
  border-radius: 3px !important;
  color: #000 !important;
  font-family: "Inter", system-ui, sans-serif !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
}
.bda-submit-btn:hover,
.bda-submit-orange:hover {
  background: #FFF !important;
  border-color: #999 !important;
  color: #000 !important;
  transform: translateY(-2px);
}

.bda-call-success h3 {
  color: #FFC72C !important;
}
.bda-call-success p {
  color: #D6D6D2 !important;
}

.bda-modal-box::-webkit-scrollbar-track {
  background: #1F1F1F !important;
}
.bda-modal-box::-webkit-scrollbar-thumb {
  background: #FFC72C !important;
  border-radius: 4px;
}
.bda-header-icon {
  display: none !important;
}

.bda-call-direct .bda-call-direct-arrow {
  color: #fff !important;
  stroke: #fff !important;
}
.bda-call-direct:hover .bda-call-direct-arrow {
  color: #000 !important;
  stroke: #000 !important;
}
.bda-call-direct,
.bda-call-direct:link,
.bda-call-direct:visited,
.bda-call-direct:focus {
  color: #FFC72C !important;
  text-decoration: none !important;
}
.bda-call-direct:hover {
  color: #000 !important;
}
@media (min-width: 768px) and (max-width: 991px) {
  .bda-call-direct .bda-txt-long {
    display: none !important;
  }
  .bda-call-direct .bda-txt-short {
    display: inline !important;
  }
}
@media (max-width: 1099px) {
  .bda-24h .bda-24-text {
    display: none !important;
  }
  .bda-24h {
    width: 43px !important;
    min-width: 43px !important;
    height: 40px !important;
    padding: 0 !important;
    justify-content: center !important;
  }
}
/* Asesoría visible desde 0px */
@media (max-width: 767px) {
  .bda-asesoria:not(.bda-call-direct) .bda-txt-short {
    display: inline !important;
  }
}

@media (max-width: 409px) {
  .bda-asesoria:not(.bda-call-direct) .bda-txt-short {
    display: none !important;
  }
}

/* IMPROCOL - Igualar popups de asesoria y llamada */
#bdaAsesoriaOverlay .bda-modal-box,
#bdaCallOverlay .bda-modal-box {
  background: #1C1C1C !important;
  border: 1px solid #D59B02 !important;
  border-radius: 5px !important;
  box-shadow: 0 24px 70px rgba(0,0,0,0.62), 0 0 0 1px rgba(255,199,44,0.16) !important;
  color: #F4F4F2 !important;
}

#bdaAsesoriaOverlay .bda-header,
#bdaCallOverlay .bda-header {
  background: #1F1F1F !important;
  border-bottom: 1px solid rgba(255,199,44,0.24) !important;
  padding: 30px 28px 20px !important;
  text-align: center !important;
}

#bdaAsesoriaOverlay .bda-title,
#bdaCallOverlay .bda-title {
  color: #FFC72C !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
  margin: 0 0 6px !important;
  text-transform: uppercase !important;
}

#bdaAsesoriaOverlay .bda-subtitle,
#bdaCallOverlay .bda-subtitle {
  color: #D6D6D2 !important;
  font-size: 14px !important;
  margin: 0 !important;
}

#bdaAsesoriaOverlay .bda-body,
#bdaCallOverlay .bda-body {
  background: #1C1C1C !important;
}

#bdaAsesoriaOverlay .bda-submit-btn,
#bdaCallOverlay .bda-submit-btn {
  background: #FFC72C !important;
  border: 1px solid #D59B02 !important;
  border-radius: 3px !important;
  color: #000 !important;
  font-family: "Inter", system-ui, sans-serif !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
}

#bdaAsesoriaOverlay .bda-submit-btn:hover,
#bdaCallOverlay .bda-submit-btn:hover {
  background: #FFF !important;
  border-color: #999 !important;
  color: #000 !important;
}
