/* Shared brand UI: social visibility, floating WhatsApp button, and lead popup */

.top-connect-block {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.top-connect-label {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.top-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.26rem 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none !important;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.top-social-link:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff !important;
}

.top-social-link.whatsapp {
  border-color: rgba(37, 211, 102, 0.62);
  background: rgba(37, 211, 102, 0.16);
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.6rem;
}

.footer-social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}

.footer-social-links a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.44);
}

.floating-whatsapp-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1095;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  border-radius: 999px;
  padding: 0.68rem 0.9rem;
  text-decoration: none;
  background: #25d366;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #083317;
  font-weight: 800;
  font-size: 0.86rem;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
  color: #05270f;
}

.floating-whatsapp-btn i {
  font-size: 1.05rem;
}

.lead-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(8, 12, 18, 0.62);
  backdrop-filter: blur(2px);
}

.lead-popup-backdrop[hidden] {
  display: none !important;
}

.lead-popup {
  width: min(94vw, 500px);
  background: #fff;
  border-radius: 16px;
  border: 1px solid #dbe3ee;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24);
  padding: 1.2rem 1.15rem 1.1rem;
  position: relative;
}

.lead-popup-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 34px;
  height: 34px;
  border: 1px solid #d6ddea;
  border-radius: 999px;
  background: #fff;
  color: #1a1a1a;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.lead-popup-title {
  margin: 0.2rem 0 0.55rem;
  font-size: 1.2rem;
  line-height: 1.3;
  color: #0f1f1b;
}

.lead-popup-text {
  margin: 0;
  color: #475569;
}

.lead-popup-actions {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.lead-popup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 0.62rem 0.75rem;
  border: 1px solid #d4dce8;
  background: #fff;
  color: #1f2937;
}

.lead-popup-btn-primary {
  background: linear-gradient(135deg, #1e6b52 0%, #2d8c6c 55%, #d4af37 100%);
  color: #fff;
  border-color: transparent;
}

.lead-popup-btn-whatsapp {
  background: #25d366;
  color: #083317;
  border-color: rgba(8, 51, 23, 0.2);
}

.lead-popup-btn:hover {
  color: #0f172a;
  border-color: #b8c3d5;
}

.lead-popup-btn-primary:hover {
  color: #fff;
}

.lead-popup-btn-whatsapp:hover {
  color: #05270f;
}

@media (max-width: 991.98px) {
  .top-connect-label,
  .top-social-link.hide-md {
    display: none !important;
  }
}

@media (max-width: 575.98px) {
  .floating-whatsapp-btn {
    right: 12px;
    bottom: 12px;
    padding: 0.64rem 0.7rem;
    min-width: 48px;
    justify-content: center;
  }

  .floating-whatsapp-btn span {
    display: none;
  }

  .lead-popup {
    padding: 1rem 0.95rem 0.95rem;
  }

  .lead-popup-actions {
    grid-template-columns: 1fr;
  }
}
