/* Floating contact bubble — emails revealed only on click */

.contact-bubble {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9999;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.contact-bubble__toggle {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.1rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(145deg, #1d4ed8, #2563eb);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(29, 78, 216, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.contact-bubble__toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(29, 78, 216, 0.55);
}

.contact-bubble__toggle-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.contact-bubble__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.75rem);
  width: min(320px, calc(100vw - 2rem));
  padding: 1.15rem 1.2rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #0f172a;
  color: #e2e8f0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.contact-bubble__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: #f8fafc;
}

.contact-bubble__lead {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #94a3b8;
}

.contact-bubble__subject-label {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
}

.contact-bubble__subject {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 8px;
  background: #1e293b;
  color: #f1f5f9;
  font-size: 0.88rem;
}

.contact-bubble__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.contact-bubble__person {
  display: grid;
  gap: 0.1rem;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 10px;
  background: #1e293b;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.contact-bubble__person:hover {
  border-color: #3b82f6;
  background: #172554;
}

.contact-bubble__person strong {
  font-size: 0.92rem;
  color: #f8fafc;
}

.contact-bubble__person span {
  font-size: 0.78rem;
  color: #94a3b8;
}

.contact-bubble__action {
  margin-top: 0.15rem;
  font-size: 0.72rem !important;
  color: #93c5fd !important;
  font-weight: 600;
}

.contact-bubble__phone {
  margin: 0.85rem 0 0.5rem;
  font-size: 0.82rem;
  color: #94a3b8;
}

.contact-bubble__phone a {
  color: #93c5fd;
  text-decoration: none;
}

.contact-bubble__phone a:hover {
  text-decoration: underline;
}

.contact-bubble__close {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.45rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  font-size: 0.8rem;
  cursor: pointer;
}

.contact-bubble__close:hover {
  color: #cbd5e1;
}

.js-contact-open,
.site-nav__contact {
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}

.site-nav .js-contact-open:hover,
.site-nav .site-nav__contact:hover {
  color: #93c5fd;
}

.contact-footer-hint {
  margin: 0;
  font-size: 0.82rem;
  color: #94a3b8;
}

.contact-footer-hint button {
  background: none;
  border: none;
  padding: 0;
  color: #93c5fd;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}

@media (max-width: 480px) {
  .contact-bubble {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .contact-bubble__toggle-text {
    display: none;
  }

  .contact-bubble__toggle {
    width: 3.1rem;
    height: 3.1rem;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
}
