/* MW Creative — Chat Widget (MVP) */
.chat-fab {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 64px; height: 64px;
  background: var(--ink);
  color: var(--bg);
  border: 0;
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  border-radius: 0;
  box-shadow: 0 8px 32px rgba(15,15,15,0.15);
}
.chat-fab:hover { background: var(--accent-hover, #3a3a38); transform: translateY(-2px); }
.chat-fab svg { width: 26px; height: 26px; fill: var(--bg); }

.chat-panel {
  position: fixed;
  bottom: 110px; right: 32px;
  width: 400px;
  max-width: calc(100vw - 48px);
  max-height: 70vh;
  background: var(--bg);
  border: 1px solid var(--outline-strong, rgba(15,15,15,0.18));
  z-index: 1000;
  display: none;
  flex-direction: column;
  box-shadow: 0 12px 48px rgba(15,15,15,0.18);
  font-family: 'Inter', sans-serif;
}
.chat-panel.open { display: flex; }

.chat-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--outline, rgba(15,15,15,0.08));
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-header .title {
  font-family: 'Italiana', serif;
  font-size: 14px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink);
}
.chat-header .close {
  background: transparent;
  border: 0;
  font-size: 22px;
  cursor: pointer;
  color: var(--ink);
  line-height: 1;
  padding: 4px 8px;
}

.chat-body {
  padding: 20px 28px;
  overflow-y: auto;
  flex: 1;
}
.chat-intro {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-dim);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--outline, rgba(15,15,15,0.08));
}

.chat-faq { list-style: none; padding: 0; margin: 0 0 24px 0; }
.chat-faq li { margin-bottom: 2px; }
.chat-faq button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 14px 0;
  font-size: 13.5px;
  color: var(--ink);
  cursor: pointer;
  border-bottom: 1px solid var(--outline, rgba(15,15,15,0.08));
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color 0.2s;
}
.chat-faq button::after {
  content: '→';
  color: var(--ink-muted, #7a7875);
  font-size: 15px;
  transition: transform 0.2s;
}
.chat-faq button:hover { color: var(--accent, #0f0f0f); }
.chat-faq button:hover::after { transform: translateX(3px); }

.chat-answer {
  background: var(--bg-elevated, #f8f8f6);
  padding: 20px;
  margin-bottom: 20px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-dim);
  display: none;
}
.chat-answer.show { display: block; }
.chat-answer .back {
  background: transparent; border: 0; color: var(--ink);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  margin-top: 16px; cursor: pointer; padding: 0; font-family: inherit;
}
.chat-answer .back:hover { text-decoration: underline; }

.chat-cta {
  padding: 16px 28px 24px;
  border-top: 1px solid var(--outline, rgba(15,15,15,0.08));
  background: var(--bg-elevated, #f8f8f6);
}
.chat-cta p { font-size: 12px; color: var(--ink-muted, #7a7875); margin-bottom: 12px; }
.chat-cta a {
  display: block;
  text-align: center;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  padding: 14px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}
.chat-cta a:hover { background: var(--accent-hover, #3a3a38); }

@media (max-width: 600px) {
  .chat-fab { bottom: 20px; right: 20px; width: 56px; height: 56px; }
  .chat-panel { bottom: 90px; right: 16px; left: 16px; width: auto; }
}
