/* A direct path to the studio's WhatsApp, opened only on request. */
.contact-widget {
  position: fixed;
  z-index: 35;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 360px;
  max-width: calc(100% - 32px);
  pointer-events: none;
  color: var(--ink, #f3f5f6);
  font-family: var(--sans, Arial, sans-serif);
}
.contact-widget button, .contact-widget a, .contact-widget textarea { -webkit-tap-highlight-color: transparent; }
.contact-widget-launcher {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 20px 0 15px;
  border: 1px solid #a8d6df66;
  border-radius: 999px;
  background: #17282ff5;
  color: var(--ink, #f3f5f6);
  box-shadow: 0 8px 26px #0003;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.contact-widget-launcher:hover { background: #243e48; border-color: var(--accent, #79c5d7); }
.contact-widget-launcher > svg { width: 25px; height: 25px; flex-shrink: 0; color: #6cdbac; }
.contact-widget-panel {
  width: 100%;
  max-width: 100%;
  pointer-events: auto;
  max-height: calc(100svh - 120px - env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  margin-bottom: 14px;
  padding: 26px;
  border: 1px solid #a6c4d13d;
  border-radius: 18px;
  background: linear-gradient(145deg, #22343e, #182127 70%);
  box-shadow: 0 20px 60px #0005;
  animation: contact-widget-enter .18s ease-out;
  scrollbar-width: thin;
  scrollbar-color: #79c5d766 transparent;
}
.contact-widget-panel[hidden] { display: none; }
.contact-widget-panel:focus { outline: none; }
.contact-widget-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.contact-widget-brand { margin: 0; color: var(--accent, #79c5d7); font-size: 10px; letter-spacing: .09em; line-height: 1.6; text-transform: uppercase; }
.contact-widget-close { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; margin: -9px -9px -9px 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #c6d5dd; cursor: pointer; }
.contact-widget-close:hover { background: #ffffff0c; color: #fff; }
.contact-widget-close > svg { width: 17px; height: 17px; }
.contact-widget-panel h2 { margin: 0 0 11px; color: #f3f5f6; font-family: inherit; font-size: 26px; line-height: 1.17; font-weight: 700; letter-spacing: -.035em; }
.contact-widget-intro { margin: 0 0 20px; color: #bfcdd4; font-size: 13px; line-height: 1.75; }
.contact-widget-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 20px; }
.contact-widget-topics > button { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 42px; padding: 9px 10px; border: 1px solid #c1d7df2e; border-radius: 8px; background: #ffffff03; color: #d6e1e6; font-size: 11px; line-height: 1.5; cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
.contact-widget-topics > button:last-child { grid-column: 1 / -1; }
.contact-widget-topics > button:hover { border-color: #79c5d780; background: #79c5d70c; }
.contact-widget-topics > button[aria-pressed="true"] { color: #c5edf6; border-color: #79c5d7b3; background: #79c5d714; }
.contact-widget-message-label { display: block; margin-bottom: 9px; color: #d1dee5; font-size: 12px; line-height: 1.6; }
.contact-widget textarea { display: block; width: 100%; min-height: 82px; max-height: 150px; resize: vertical; margin: 0 0 17px; padding: 11px 12px; border: 1px solid #c1d7df35; border-radius: 8px; background: #0c151c52; color: #f3f5f6; font: inherit; font-size: 13px; line-height: 1.6; }
.contact-widget textarea::placeholder { color: #91a7b2; opacity: 1; }
.contact-widget-continue { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 49px; padding: 13px 16px; border: 1px solid var(--accent, #79c5d7); border-radius: 8px; background: var(--accent, #79c5d7); color: #101d23; font-size: 13px; font-weight: 700; text-decoration: none; transition: background-color .2s ease; }
.contact-widget-continue:hover { background: #a6dbe7; }
.contact-widget-continue > svg { width: 19px; height: 19px; flex-shrink: 0; }
.contact-widget-note { margin: 12px 0 0; color: #9fb3be; font-size: 11px; line-height: 1.7; }
.contact-widget button:focus-visible, .contact-widget a:focus-visible, .contact-widget textarea:focus-visible { outline: 2px solid var(--accent, #79c5d7); outline-offset: 4px; }
body.modal-open .contact-widget, body:has(.menu-toggle[aria-expanded="true"]) .contact-widget { visibility: hidden; pointer-events: none; }
@keyframes contact-widget-enter { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .contact-widget { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
  .contact-widget-panel { padding: 22px; }
  .contact-widget-launcher { min-height: 50px; padding-right: 17px; }
}
@media (max-width: 360px) {
  .contact-widget-panel { padding: 20px; }
  .contact-widget-panel h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-widget-panel { animation: none; }
  .contact-widget-launcher, .contact-widget-topics > button, .contact-widget-continue { transition: none; }
}
