/* ═══════════════════════════════════════════════════════════════
   concierge-chat.css — "Let's talk" concierge assistant (js/concierge-chat.js)
   Floating launcher (bottom-right; the cookie card owns bottom-left),
   teaser bubble, guided chat panel, phone action bar and the
   "Don't wait" call-to-action band injected on every page.
   Self-contained: own tokens, never depends on core.css / site.css.
   ═══════════════════════════════════════════════════════════════ */
.fc-root, .fc-band {
  --fc-ink: #191511;
  --fc-ink-2: #2a241d;
  --fc-paper: #f6f3ee;
  --fc-beige: #EBE3D6;
  --fc-gold: #C6A24B;
  --fc-gold-d: #8d7040;
  --fc-muted: #6E675C;
  --fc-line: #ddd6cb;
  --fc-ok: #2f7d4f;
  --fc-serif: "Fraunces", Georgia, serif;
  --fc-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --fc-ease: cubic-bezier(.22, .61, .36, 1);
}
.fc-root *, .fc-band * { box-sizing: border-box; }

/* ─── launcher ─── */
.fc-launch {
  position: fixed; right: 22px; bottom: 22px; z-index: 450;
  display: flex; align-items: center; gap: 10px;
  border: 0; background: none; padding: 0; cursor: pointer;
  font-family: var(--fc-sans);
  transition: transform .35s var(--fc-ease), opacity .3s ease;
}
.fc-launch:hover { transform: translateY(-2px); }
.fc-launch__label {
  background: var(--fc-ink); color: var(--fc-paper);
  border: 1px solid rgba(198, 162, 75, .55);
  padding: 11px 16px; border-radius: 999px;
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500;
  box-shadow: 0 10px 30px rgba(25, 21, 17, .22);
}
.fc-launch__bot {
  position: relative; width: 62px; height: 62px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #3a3128, var(--fc-ink) 70%);
  border: 1.5px solid var(--fc-gold);
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(25, 21, 17, .3);
}
.fc-launch__bot::after {           /* soft pulse ring */
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid rgba(198, 162, 75, .6);
  animation: fc-pulse 2.6s ease-out infinite;
}
.fc-launch__dot {
  position: absolute; right: 3px; top: 3px; width: 13px; height: 13px; border-radius: 50%;
  background: #3fb26b; border: 2px solid var(--fc-ink);
}
.fc-root.is-open .fc-launch { opacity: 0; pointer-events: none; transform: scale(.9); }
@keyframes fc-pulse { 0% { transform: scale(.92); opacity: .9 } 80%, 100% { transform: scale(1.25); opacity: 0 } }

/* the little robot */
.fc-robot { width: 38px; height: 38px; display: block; overflow: visible; }
.fc-robot .eye { transform-origin: center; transform-box: fill-box; animation: fc-blink 5s infinite; }
.fc-robot .ant { transform-origin: 50% 100%; transform-box: fill-box; animation: fc-wiggle 4s ease-in-out infinite; }
@keyframes fc-blink { 0%, 94%, 100% { transform: scaleY(1) } 96% { transform: scaleY(.1) } }
@keyframes fc-wiggle { 0%, 70%, 100% { transform: rotate(0) } 78% { transform: rotate(-12deg) } 86% { transform: rotate(10deg) } }

/* ─── teaser bubble ─── */
.fc-teaser {
  position: fixed; right: 22px; bottom: 100px; z-index: 451;
  width: 300px; max-width: calc(100vw - 32px);
  background: var(--fc-paper); color: var(--fc-ink);
  border: 1px solid var(--fc-line); border-radius: 18px 18px 4px 18px;
  padding: 16px 16px 14px; font: 14px/1.45 var(--fc-sans);
  box-shadow: 0 18px 50px rgba(25, 21, 17, .22);
  opacity: 0; transform: translateY(10px); visibility: hidden;
  transition: opacity .35s ease, transform .35s var(--fc-ease), visibility 0s linear .35s;
}
.fc-teaser.is-shown { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.fc-teaser p { margin: 0 22px 10px 0; }
.fc-teaser b { font-family: var(--fc-serif); font-weight: 500; font-size: 16px; display: block; margin-bottom: 2px; }
.fc-teaser__x {
  position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%;
  border: 0; background: transparent; color: var(--fc-muted); font-size: 18px; cursor: pointer; line-height: 1;
}
.fc-teaser__x:hover { background: var(--fc-beige); }
.fc-teaser .fc-chips { margin: 0; }

/* ─── chat panel ─── */
.fc-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 600;
  width: 390px; height: min(640px, calc(100vh - 44px));
  display: flex; flex-direction: column;
  background: var(--fc-paper); color: var(--fc-ink);
  border: 1px solid rgba(198, 162, 75, .45); border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(25, 21, 17, .35);
  font: 14.5px/1.45 var(--fc-sans);
  opacity: 0; transform: translateY(16px) scale(.98); transform-origin: bottom right; visibility: hidden;
  transition: opacity .3s ease, transform .35s var(--fc-ease), visibility 0s linear .35s;
}
.fc-root.is-open .fc-panel { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.fc-head {
  display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px;
  background: var(--fc-ink); color: var(--fc-paper);
}
.fc-head__av { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--fc-gold); display: grid; place-items: center; flex: none; background: #2a241d; }
.fc-head__av .fc-robot { width: 28px; height: 28px; }
.fc-head__t { flex: 1; min-width: 0; }
.fc-head__t b { display: block; font: 500 17px/1.2 var(--fc-serif); }
.fc-head__t small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(246, 243, 238, .72); }
.fc-head__t small i { width: 8px; height: 8px; border-radius: 50%; background: #3fb26b; display: inline-block; }
.fc-head__btn {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(246, 243, 238, .28); background: transparent; color: var(--fc-paper); cursor: pointer; text-decoration: none;
}
.fc-head__btn:hover { border-color: var(--fc-gold); color: var(--fc-gold); }
.fc-head__btn svg { width: 17px; height: 17px; }

.fc-log { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; overscroll-behavior: contain; }
.fc-msg { max-width: 86%; padding: 10px 13px; border-radius: 16px; animation: fc-in .3s var(--fc-ease); white-space: pre-line; }
.fc-msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--fc-line); border-bottom-left-radius: 4px; }
.fc-msg--me { align-self: flex-end; background: var(--fc-ink); color: var(--fc-paper); border-bottom-right-radius: 4px; }
.fc-msg--ok { border-color: rgba(47, 125, 79, .35); background: #f1f8f3; }
.fc-typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; background: #fff; border: 1px solid var(--fc-line); border-radius: 16px 16px 16px 4px; }
.fc-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--fc-muted); animation: fc-dot 1s infinite; }
.fc-typing i:nth-child(2) { animation-delay: .15s } .fc-typing i:nth-child(3) { animation-delay: .3s }
@keyframes fc-dot { 0%, 60%, 100% { opacity: .3; transform: none } 30% { opacity: 1; transform: translateY(-3px) } }
@keyframes fc-in { from { opacity: 0; transform: translateY(6px) } to { opacity: 1; transform: none } }

.fc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 6px; animation: fc-in .3s var(--fc-ease); }
.fc-chip {
  border: 1px solid var(--fc-gold-d); background: transparent; color: var(--fc-ink);
  padding: 8px 13px; border-radius: 999px; cursor: pointer; font: 500 13.5px/1.2 var(--fc-sans); text-align: left;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.fc-chip:hover, .fc-chip:focus-visible { background: var(--fc-ink); color: var(--fc-paper); border-color: var(--fc-ink); outline: none; }
.fc-chip--main { background: var(--fc-ink); color: var(--fc-paper); border-color: var(--fc-ink); }
.fc-chip--main:hover { background: var(--fc-gold-d); border-color: var(--fc-gold-d); }
.fc-chip--ghost { border-color: var(--fc-line); color: var(--fc-muted); }
.fc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.fc-actions a { text-decoration: none; }

.fc-foot { border-top: 1px solid var(--fc-line); background: #fff; padding: 10px 12px 12px; }
.fc-form { display: flex; gap: 8px; align-items: center; }
.fc-form input {
  flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--fc-line); background: var(--fc-paper); color: var(--fc-ink); font: 15px var(--fc-sans);
}
.fc-form input:focus { outline: none; border-color: var(--fc-gold-d); box-shadow: 0 0 0 3px rgba(198, 162, 75, .2); }
.fc-form input:disabled { opacity: .55; }
.fc-send {
  width: 44px; height: 44px; border-radius: 50%; border: 0; flex: none; cursor: pointer;
  background: var(--fc-ink); color: var(--fc-paper); display: grid; place-items: center;
}
.fc-send:disabled { opacity: .35; cursor: default; }
.fc-send svg { width: 18px; height: 18px; }
.fc-skip { display: none; margin: 8px 4px 0; border: 0; background: none; color: var(--fc-muted); font: 12.5px var(--fc-sans); text-decoration: underline; cursor: pointer; padding: 0; }
.fc-skip.is-shown { display: inline-block; }
.fc-legal { margin: 8px 4px 0; font-size: 11px; line-height: 1.4; color: var(--fc-muted); }
.fc-legal a { color: inherit; }
.fc-err { color: #a33a2b; font-size: 12.5px; margin: 6px 4px 0; min-height: 0; }
.fc-err:empty { display: none; }

/* ─── phone action bar ─── */
.fc-bar { display: none; }

/* ─── "Don't wait" band (injected before the footer on every page) ─── */
.fc-band {
  background: var(--fc-ink); color: var(--fc-paper);
  padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 64px);
  font-family: var(--fc-sans); position: relative; overflow: hidden;
}
.fc-band::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(198, 162, 75, .28); pointer-events: none; }
.fc-band__in { position: relative; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.fc-band__eyebrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--fc-gold); margin: 0 0 12px; }
.fc-band h2 { font: 300 clamp(30px, 3.6vw, 48px)/1.08 var(--fc-serif); margin: 0 0 14px; color: var(--fc-paper); letter-spacing: -.01em; }
.fc-band h2 em { color: var(--fc-gold); font-style: italic; }
.fc-band p { margin: 0; color: rgba(246, 243, 238, .75); font-size: 15px; line-height: 1.6; max-width: 34em; }
.fc-band__grid { display: grid; gap: 10px; }
.fc-band__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; padding: 17px 20px; border-radius: 14px; cursor: pointer; text-align: left;
  border: 1px solid rgba(246, 243, 238, .22); background: rgba(246, 243, 238, .04); color: var(--fc-paper);
  font: 500 15px/1.3 var(--fc-sans); text-decoration: none;
  transition: background .25s ease, border-color .25s ease, transform .25s var(--fc-ease);
}
.fc-band__btn small { display: block; font-weight: 400; font-size: 12.5px; color: rgba(246, 243, 238, .6); margin-top: 3px; }
.fc-band__btn:hover, .fc-band__btn:focus-visible { background: rgba(198, 162, 75, .14); border-color: var(--fc-gold); transform: translateX(3px); outline: none; }
.fc-band__btn--gold { background: var(--fc-gold); border-color: var(--fc-gold); color: var(--fc-ink); }
.fc-band__btn--gold small { color: rgba(25, 21, 17, .7); }
.fc-band__btn--gold:hover { background: #d4b25e; border-color: #d4b25e; }
.fc-band__arrow { font-size: 20px; flex: none; }
.fc-band__call { margin-top: 6px; font-size: 13.5px; color: rgba(246, 243, 238, .7); }
.fc-band__call a { color: var(--fc-gold); text-decoration: none; border-bottom: 1px solid rgba(198, 162, 75, .5); }

/* ─── phones ─── */
@media (max-width: 760px) {
  .fc-launch { display: none; }
  .fc-teaser { right: 12px; bottom: 78px; }
  .fc-panel { right: 0; bottom: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; border: 0; }
  .fc-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 6px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 440;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: rgba(25, 21, 17, .96); border-top: 1px solid rgba(198, 162, 75, .45);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  }
  .fc-bar a, .fc-bar button {
    display: flex; align-items: center; justify-content: center; gap: 7px; height: 46px; border-radius: 12px;
    font: 500 14px var(--fc-sans); text-decoration: none; cursor: pointer;
    color: #f6f3ee; border: 1px solid rgba(246, 243, 238, .25); background: transparent;
  }
  .fc-bar button { background: #C6A24B; border-color: #C6A24B; color: #191511; }
  .fc-bar svg { width: 17px; height: 17px; flex: none; }
  .fc-bar .fc-robot { width: 22px; height: 22px; }
  body.fc-has-bar { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  body.fc-has-bar .cookie-card { bottom: calc(74px + env(safe-area-inset-bottom)); }
  .fc-band__in { grid-template-columns: 1fr; }
  .fc-band::before { inset: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .fc-launch__bot::after, .fc-robot .eye, .fc-robot .ant { animation: none; }
  .fc-msg, .fc-chips { animation: none; }
}
/* hide during the home page's opening animation */
body.is-loading .fc-root { opacity: 0; pointer-events: none; }
