/* "Every renovation is unique" consultant — button, chat panel, inline card. */
.lv-cs-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 85;
  display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px);
  padding: 14px 20px 14px 16px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--forest); color: #fff; font: 600 14px/1.2 var(--sans);
  box-shadow: 0 10px 30px rgba(11,13,15,.28); transition: transform .2s ease;
}
.lv-cs-fab:hover, .lv-cs-fab:focus-visible { transform: translateY(-2px); outline: none; }
.lv-cs-fab .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px rgba(76,175,80,.3); flex: none; }
.lv-cs-fab small { display: block; font-weight: 400; font-size: 11.5px; opacity: .82; margin-top: 2px; }
.lv-cs-open .lv-cs-fab { display: none; }

.lv-cs {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 380px; max-width: calc(100vw - 32px); height: 600px; max-height: calc(100vh - 48px);
  display: none; flex-direction: column; overflow: hidden;
  background: var(--paper); color: var(--charcoal); border-radius: 18px;
  box-shadow: 0 24px 60px rgba(11,13,15,.35); font-family: var(--sans);
}
.lv-cs-open .lv-cs { display: flex; }
.lv-cs-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--ink); color: var(--ivory); }
.lv-cs-head .av { width: 38px; height: 38px; border-radius: 50%; background: var(--forest); display: flex; align-items: center; justify-content: center; font: 400 17px var(--logo); color: #fff; flex: none; }
.lv-cs-head b { display: block; font-size: 14.5px; }
.lv-cs-head span { font-size: 12px; opacity: .7; }
.lv-cs-x { margin-left: auto; background: none; border: 0; color: var(--ivory); font-size: 26px; line-height: 1; cursor: pointer; padding: 4px 6px; }

.lv-cs-log { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; }
.lv-cs-msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; white-space: pre-line; }
.lv-cs-msg.bot { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.lv-cs-msg.me  { align-self: flex-end; background: var(--forest); color: #fff; border-bottom-right-radius: 4px; }
.lv-cs-typing { align-self: flex-start; padding: 12px 14px; background: #fff; border-radius: 16px; display: flex; gap: 4px; }
.lv-cs-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--fog); animation: lvcs 1s infinite ease-in-out; }
.lv-cs-typing i:nth-child(2) { animation-delay: .15s; } .lv-cs-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes lvcs { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.lv-cs-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 0 6px; }
.lv-cs-chips button {
  border: 1px solid var(--forest); background: transparent; color: var(--forest);
  border-radius: 999px; padding: 8px 13px; font: 500 13.5px var(--sans); cursor: pointer;
}
.lv-cs-chips button:hover, .lv-cs-chips button:focus-visible { background: var(--forest); color: #fff; outline: none; }

.lv-cs-form { background: #fff; border-radius: 14px; padding: 14px; display: grid; gap: 8px; }
.lv-cs-form input { width: 100%; box-sizing: border-box; border: 1px solid var(--line-d); border-radius: 10px; padding: 11px 12px; font: 15px var(--sans); background: var(--paper); }
.lv-cs-form button { border: 0; border-radius: 10px; padding: 12px; background: var(--forest); color: #fff; font: 600 14px var(--sans); cursor: pointer; }
.lv-cs-form button[disabled] { opacity: .6; }
.lv-cs-form .err { color: #b3261e; font-size: 12.5px; min-height: 0; }
.lv-cs-form .fine { font-size: 11.5px; color: var(--fog); }
.lv-cs-form .fine a { color: inherit; text-decoration: underline; }
.lv-cs-wa { display: block; text-align: center; border-radius: 10px; padding: 12px; background: #25D366; color: #fff; font-weight: 600; font-size: 14px; text-decoration: none; }

.lv-cs-bar { display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--line-d); background: var(--paper); }
.lv-cs-bar input { flex: 1; min-width: 0; border: 1px solid var(--line-d); border-radius: 999px; padding: 11px 15px; font: 15px var(--sans); background: #fff; }
.lv-cs-bar button { flex: none; border: 0; border-radius: 50%; width: 44px; height: 44px; background: var(--forest); color: #fff; font-size: 18px; cursor: pointer; }
.lv-cs-talk { margin: 0 12px 10px; border: 0; background: none; color: var(--forest); font: 600 13px var(--sans); text-decoration: underline; cursor: pointer; align-self: center; }

/* Inline card on the home page. */
.lv-cs-card { background: var(--forest); color: #fff; padding: 80px 0; }
.lv-cs-card-in { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.lv-cs-card .display-sm { color: #fff; margin-bottom: 18px; }
.lv-cs-card p { max-width: 620px; font-size: 17px; line-height: 1.55; opacity: .92; }
.lv-cs-card .btn { flex: none; border: 0; cursor: pointer; }

[dir=rtl] .lv-cs-fab, [dir=rtl] .lv-cs { right: auto; left: 24px; }
[dir=rtl] .lv-cs-x { margin-left: 0; margin-right: auto; }

@media (max-width: 720px) {
  /* Sits above the mobile sticky WhatsApp bar. */
  .lv-cs-fab { right: 12px; bottom: 66px; padding: 11px 15px 11px 13px; font-size: 13px; }
  .lv-cs-fab small { display: none; }
  .lv-cs { right: 0; bottom: 0; width: 100vw; max-width: 100vw; height: 100%; max-height: 100%; border-radius: 0; }
  [dir=rtl] .lv-cs-fab { left: 12px; }
  [dir=rtl] .lv-cs { left: 0; }
  .lv-cs-card { padding: 56px 0; }
  .lv-cs-card-in { flex-direction: column; align-items: flex-start; gap: 22px; }
  .lv-cs-card .btn { width: 100%; }
}
.lv-cs-card .lv-cs-bf { margin-top: 14px; display: inline-block; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; font-weight: 600; opacity: 1; }
.lv-cs-human { display: block; padding: 8px 16px; background: var(--sand); color: var(--forest); font-size: 12.5px; font-weight: 600; text-align: center; text-decoration: none; }
.lv-cs-human:hover { text-decoration: underline; }
