/* Sticky Contact Bar
---------------------------------------- */
.contact-bar {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--theme-color-two, #302e44);
  color: #ffffff;
  padding: 0;
  margin: 0;
}

.contact-bar--bottom {
  bottom: 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
}

.contact-bar--top {
  top: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.contact-bar__inner {
  display: flex;
  justify-content: center;
  align-items: stretch;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0;
  gap: 0;
}

.contact-bar__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1 0;
  padding: 12px 16px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-heading, 'Roboto', sans-serif);
  white-space: nowrap;
  transition: background 0.2s ease;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-bar__item:last-child {
  border-right: none;
}

.contact-bar__item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.contact-bar__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.contact-bar__phone:hover {
  background: var(--theme-color, #e60b00);
}

.contact-bar__whatsapp {
  background: var(--whatsapp, #25D366);
}

.contact-bar__whatsapp:hover {
  background: #1da851;
}

.contact-bar__contact:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Breakpoint visibility
---------------------------------------- */
@media (max-width: 767px) {
  .contact-bar--hide-mobile {
    display: none !important;
  }
  .contact-bar__item span {
    font-size: 0.8rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .contact-bar--hide-tablet {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .contact-bar--hide-desktop {
    display: none !important;
  }
}

/* Body padding to prevent content overlap
---------------------------------------- */
body.has-contact-bar-bottom {
  padding-bottom: 52px;
}

body.has-contact-bar-top {
  padding-top: 52px;
}
