/* ============================================
   ContactDrawer — Floating contact button + drawer
   ============================================ */

/* ── Floating button ────────────────────────── */

.cd-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #0a0a0a;
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 500;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cd-fab:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.12);
}

.cd-fab svg {
  width: 24px;
  height: 24px;
}

/* ── Backdrop ───────────────────────────────── */

.cd-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 600;
}

.cd-backdrop.is-open {
  display: block;
}

/* ── Drawer ─────────────────────────────────── */

.cd-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  height: 100%;
  max-height: 100vh;
  background: #ffffff;
  z-index: 700;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  transition: right 0.2s ease-out;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.cd-drawer.is-open {
  right: 0;
}

/* ── Drawer header ──────────────────────────── */

.cd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #eaeaea;
  flex-shrink: 0;
}

.cd-title {
  font-size: 16px;
  font-weight: 600;
  color: #0a0a0a;
  margin: 0;
}

.cd-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: #666;
  transition: background 0.15s ease, color 0.15s ease;
}

.cd-close:hover {
  background: #f5f5f5;
  color: #0a0a0a;
}

/* ── Drawer body ────────────────────────────── */

.cd-body {
  padding: 20px 24px;
  flex: 1;
}

.cd-subtitle {
  font-size: 14px;
  color: #666;
  margin: 0 0 20px;
}

.cd-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cd-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.cd-option:hover {
  border-color: #e5e5e5;
  background: #fafafa;
}

.cd-option-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cd-option-icon svg {
  width: 20px;
  height: 20px;
  color: #0a0a0a;
}

.cd-option-text {
  flex: 1;
  min-width: 0;
}

.cd-option-label {
  font-size: 14px;
  font-weight: 600;
  color: #0a0a0a;
  margin: 0;
}

.cd-option-desc {
  font-size: 13px;
  color: #666;
  margin: 2px 0 0;
}

/* ── Mobile ─────────────────────────────────── */

@media (max-width: 768px) {
  .cd-fab {
    bottom: 16px;
    right: 16px;
    width: 56px;
    height: 56px;
  }

  .cd-fab svg {
    width: 22px;
    height: 22px;
  }

  .cd-drawer {
    width: 100%;
    right: -100%;
  }
}
