
:root {
  --bottom-bar-offset: 88px;
}

.bottom-contact-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #243f78 0%, #131c35 100%);
  color: white;
  z-index: 9999;
  box-shadow: 0 -10px 30px rgba(22, 45, 73, 0.25);
}

.bottom-bar-container {
  max-width: 1200px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.bottom-bar-text {
  font-size: 22px;
  font-weight: 600;
}

.bottom-bar-actions {
  display: flex;
  gap: 12px;
}

.bottom-bar-actions a {
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

@media (max-width: 980px) {
  :root {
    --bottom-bar-offset: 124px;
  }

  .bottom-bar-container {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .bottom-bar-text {
    width: 100%;
    font-size: 18px;
  }

  .bottom-bar-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Buttons */
.bottom-call-btn {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: white;
}

.bottom-call-btn:hover {
  background: rgba(255,255,255,0.1);
}

.bottom-whatsapp-btn {
  background: var(--whatsapp-green);
  color: #ffffff;
}

.bottom-whatsapp-btn:hover {
  background: var(--whatsapp-green-hover);
}

.bottom-contact-btn {
  background: white;
  color: var(--color-primary);
}

.bottom-contact-btn:hover {
  background: rgba(245, 247, 250, 0.92);
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --bottom-bar-offset: 126px;
  }

  .bottom-bar-container {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    
  }

  .bottom-bar-text {
    font-size: 14px;
  }

  .bottom-bar-actions {
    width: 100%;
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    flex-wrap: nowrap;
  }

  .bottom-bar-actions a {
    flex: 0 0 auto;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .bottom-bar-container {
    gap: 8px;
    padding: 12px 14px;
  }

  .bottom-bar-text {
    font-size: 14px;
  }

  .bottom-bar-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .bottom-bar-actions a {
    flex: 0 0 auto;
    min-width: 0;
    padding: 11px 10px;
    font-size: 13px;
  }
}

@media (max-width: 420px) {
  :root {
    --bottom-bar-offset: 124px;
  }

  .bottom-bar-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .bottom-bar-actions a {
    padding: 10px 8px;
    font-size: 13px;
  }
}
