.luso-widget {
  --luso-bg: #101010;
  --luso-ink: #f5f3ee;
  --luso-muted: #a4a29e;
  --luso-rule: #ffffff1f;
  position: fixed;
  top: auto;
  left: auto;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 45;
  font-family: Inter, Arial, sans-serif;
  color: var(--luso-ink);
  isolation: isolate;
}
.luso-widget[hidden],
.luso-widget [hidden] {
  display: none !important;
}
[data-theme="light"] .luso-widget {
  --luso-bg: #f8f5ed;
  --luso-ink: #171717;
  --luso-muted: #65635e;
  --luso-rule: #00000020;
}
.luso-widget button,
.luso-widget input {
  font: inherit;
  box-sizing: border-box;
}
.luso-widget button {
  cursor: pointer;
}
.luso-widget button:disabled {
  cursor: wait;
  opacity: 0.5;
}
.luso-widget button:focus-visible,
.luso-widget a:focus-visible,
.luso-widget input:focus-visible {
  outline: 2px solid #ff5b00;
  outline-offset: 4px;
}
.luso-launcher {
  border: 0;
  background: none;
  color: inherit;
  padding: 0;
  width: 104px;
  display: grid;
  justify-items: center;
  touch-action: manipulation;
  transition: transform 0.25s;
}
@media (hover: hover) {
  .luso-launcher:hover {
    transform: translateY(-3px);
  }
}
.luso-model {
  position: relative;
  display: block;
  width: 104px;
  height: 132px;
  contain: layout paint;
  pointer-events: none;
}
.luso-model canvas,
.luso-model img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.luso-chat {
  position: absolute;
  right: 0;
  bottom: 148px;
  display: flex;
  flex-direction: column;
  width: 370px;
  max-width: calc(100vw - 28px);
  height: min(560px, calc(100dvh - 200px));
  min-height: 260px;
  background: var(--luso-bg);
  border: 1px solid var(--luso-rule);
  border-radius: 22px;
  box-shadow: 0 16px 60px #0005;
  overflow: hidden;
  animation: luso-panel-in 0.25s ease both;
}
.luso-speech {
  display: none;
  pointer-events: none;
}
.luso-proposal {
  display: grid;
  gap: 13px;
  padding: 16px;
  border: 1px solid var(--luso-rule);
  border-radius: 12px;
  margin-bottom: 20px;
  background: var(--luso-bg);
}
.luso-proposal h3 {
  margin: 0;
  font-size: 20px;
}
.luso-proposal h3 span {
  color: #ff5b00;
}
.luso-proposal label {
  display: grid;
  gap: 6px;
  font-size: 12px;
}
.luso-proposal :is(input:not([type="checkbox"]), textarea) {
  display: block;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid var(--luso-rule);
  border-radius: 7px;
  color: var(--luso-ink);
  background: transparent;
  padding: 10px;
  font: inherit;
  font-size: 16px;
}
.luso-proposal textarea {
  resize: vertical;
}
.luso-proposal .luso-consent {
  display: flex;
  align-items: flex-start;
  line-height: 1.5;
}
.luso-consent input {
  flex-shrink: 0;
  accent-color: #ff5b00;
  margin: 3px 2px 0 0;
}
.luso-proposal a {
  color: var(--luso-ink);
  text-underline-offset: 3px;
}
.luso-proposal .form-note {
  font-size: 11px;
  color: var(--luso-muted);
  margin: 0;
}
.luso-proposal button[type="submit"] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  background: #ff5b00;
  color: #fff;
  font-weight: 800;
  padding: 12px;
}
.luso-proposal .contact-verification {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.luso-proposal :is(textarea, input):focus-visible {
  outline: 2px solid #ff5b00;
  outline-offset: 2px;
}
.luso-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 20px 16px;
  border-bottom: 1px solid var(--luso-rule);
  flex-shrink: 0;
}
.luso-chat-header strong {
  font-size: 25px;
  letter-spacing: -1px;
}
.luso-chat-header strong span {
  color: #ff5b00;
}
.luso-chat-header small {
  display: block;
  font-size: 11px;
  color: var(--luso-muted);
  margin-top: 3px;
}
.luso-close {
  background: none;
  border: 1px solid var(--luso-rule);
  color: var(--luso-ink);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.luso-widget svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.luso-messages {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px;
  scrollbar-width: thin;
  scrollbar-color: #ff5b0055 transparent;
}
.luso-message {
  max-width: 94%;
  padding: 0;
  margin: 0 0 20px;
  overflow-wrap: anywhere;
}
.luso-message small {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--luso-muted);
  font-weight: 600;
}
.luso-message p {
  font-size: 13px;
  line-height: 1.65;
  margin: 7px 0 10px;
  white-space: pre-wrap;
}
.luso-message--user {
  margin-left: auto;
  background: #ff5b0012;
  border: 1px solid #ff5b002d;
  padding: 12px;
  border-radius: 13px 13px 3px 13px;
}
.luso-message--user p {
  margin-bottom: 0;
}
.luso-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.luso-actions button {
  background: transparent;
  border: 1px solid var(--luso-rule);
  border-radius: 20px;
  color: var(--luso-ink);
  padding: 7px 10px;
  font-size: 11px;
  line-height: 1.3;
}
.luso-actions button:hover {
  border-color: #ff5b00;
  color: #ff5b00;
}
.luso-status {
  margin: 0;
  padding: 0 20px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--luso-muted);
}
.luso-status:not(:empty) {
  padding-bottom: 10px;
}
.luso-widget .luso-form {
  padding: 12px 15px;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--luso-rule);
  flex-shrink: 0;
}
.luso-form input {
  width: 0;
  min-width: 0;
  flex: 1 1 0;
  background: transparent;
  border: 0;
  color: var(--luso-ink);
  padding: 10px 5px;
  font-size: 14px;
}
.luso-form input::placeholder {
  color: var(--luso-muted);
}
.luso-form button {
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: #ff5b00;
  color: #fff;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
}
.luso-chat-footer {
  padding: 0 20px 13px;
  flex-shrink: 0;
}
.luso-chat-footer p {
  font-size: 9px;
  line-height: 1.5;
  color: var(--luso-muted);
  margin: 0 0 6px;
}
.luso-chat-footer a {
  color: inherit;
}
.luso-reset {
  background: none;
  border: 0;
  padding: 0;
  color: var(--luso-muted);
  font-size: 10px !important;
  text-decoration: underline;
}
.luso-sr {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
@keyframes luso-panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 641px) {
  .luso-widget[data-desktop="true"] {
    left: max(18px, env(safe-area-inset-left));
    right: auto;
  }
  .luso-widget[data-desktop="true"] .luso-launcher {
    translate: var(--luso-x, 0px) var(--luso-y, 0px);
    will-change: translate;
  }
  .luso-widget[data-desktop="true"] .luso-chat {
    position: fixed;
    left: var(--luso-chat-x, 140px);
    top: var(--luso-chat-y, auto);
    right: auto;
    bottom: auto;
    height: min(560px, calc(100dvh - 36px));
    min-height: 0;
  }
  .luso-widget[data-desktop="true"] .luso-speech {
    display: block;
    position: fixed;
    left: var(--luso-bubble-x, 18px);
    top: var(--luso-bubble-y, calc(100dvh - 190px));
    padding: 11px 17px;
    border-radius: 15px;
    background: var(--luso-bg);
    color: var(--luso-ink);
    border: 1px solid #ff5b00;
    box-shadow: 0 7px 24px #0003;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(5px) scale(0.96);
    transition:
      opacity 0.18s,
      transform 0.18s;
  }
  .luso-widget[data-desktop="true"] .luso-speech::after {
    content: "";
    position: absolute;
    left: var(--luso-bubble-tail-x, 50%);
    bottom: -6px;
    width: 10px;
    height: 10px;
    background: var(--luso-bg);
    border-right: 1px solid #ff5b00;
    border-bottom: 1px solid #ff5b00;
    transform: translateX(-50%) rotate(45deg);
  }
  .luso-widget[data-bubble-side="below"] .luso-speech::after {
    top: -6px;
    bottom: auto;
    transform: translateX(-50%) rotate(225deg);
  }
  .luso-widget[data-desktop="true"]:not(.is-open)
    .luso-launcher:is(:hover, :focus-visible)
    + .luso-speech {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 640px) {
  .luso-widget {
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
  }
  .luso-launcher {
    width: 76px;
  }
  .luso-model {
    width: 76px;
    height: 98px;
  }
  .luso-chat {
    bottom: 113px;
    width: min(370px, calc(100vw - 20px));
    max-width: calc(100vw - 20px);
    height: min(540px, calc(100dvh - 155px));
    border-radius: 18px;
  }
  .luso-form input {
    font-size: 16px;
  }
  .luso-messages {
    padding: 16px;
  }
  .luso-chat-header {
    padding: 14px 16px;
  }
  .luso-chat-footer {
    padding: 0 16px 12px;
  }
}
@media (max-height: 600px) {
  .luso-widget.is-open .luso-launcher {
    visibility: hidden;
  }
  .luso-chat {
    position: fixed;
    right: 10px;
    bottom: 10px;
    height: calc(100dvh - 20px);
    min-height: 0;
  }
  .luso-chat-footer p {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .luso-widget * {
    animation: none !important;
    transition: none !important;
  }
}

/* Native document anchors move with their content. Only connecting flights
   and free viewport positions use the fixed coordinate space. */
.luso-widget[data-travel-enabled="true"] {
  top: 0;
  left: 0;
  right: auto;
  bottom: auto;
  width: 0;
  height: 0;
}
.luso-widget[data-travel-enabled="true"][data-space="document"] {
  position: absolute;
  width: 100%;
  overflow-x: clip;
  overflow-y: visible;
}
.luso-widget[data-travel-enabled="true"][data-space="viewport"] {
  position: fixed;
}
.luso-widget[data-travel-enabled="true"] .luso-launcher {
  translate: var(--luso-x, 0px) var(--luso-y, 0px);
  transform: none;
  transition: none;
  will-change: translate;
}
.luso-widget[data-travel-enabled="true"] .luso-chat {
  position: fixed;
  left: var(--luso-chat-x, 18px);
  top: var(--luso-chat-y, 18px);
  right: auto;
  bottom: auto;
  height: min(560px, calc(100dvh - 36px));
  min-height: 0;
}
.luso-widget[data-peeking="true"] {
  position: fixed;
  inset: auto 0 0 auto;
  width: 88px;
  height: 78px;
}
.luso-widget[data-peeking="true"] .luso-launcher,
.luso-widget[data-peeking="true"] .luso-model {
  width: 88px;
  height: 78px;
  transform: none;
  translate: none;
  rotate: none;
  transition: none;
}
.luso-widget[data-peeking="true"] .luso-model {
  overflow: hidden;
}
.luso-widget[data-peeking="true"] .luso-speech {
  display: block;
  position: absolute;
  inset: auto 10px calc(100% + 12px) auto;
  padding: 9px 13px;
  border-radius: 13px;
  background: var(--luso-bg);
  color: var(--luso-ink);
  border: 1px solid #ff5b00;
  box-shadow: 0 7px 24px #0003;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(5px) scale(0.96);
  transition:
    opacity 0.18s,
    transform 0.18s;
  --luso-bubble-tail-x: calc(100% - 34px);
  z-index: 2;
}
.luso-widget[data-peeking="true"] .luso-speech::after {
  content: "";
  position: absolute;
  left: var(--luso-bubble-tail-x);
  top: auto;
  bottom: -6px;
  width: 10px;
  height: 10px;
  background: var(--luso-bg);
  border-right: 1px solid #ff5b00;
  border-bottom: 1px solid #ff5b00;
  transform: translateX(-50%) rotate(45deg);
}
.luso-widget[data-peeking="true"][data-greeting="true"] .luso-speech {
  opacity: 1;
  transform: none;
}
@media (hover: hover) and (pointer: fine) {
  .luso-widget[data-peeking="true"] .luso-launcher:hover + .luso-speech {
    opacity: 1;
    transform: none;
  }
}
.luso-widget[data-peeking="true"] .luso-chat {
  position: fixed;
  inset: var(--luso-peek-chat-y, auto) 10px auto auto;
  width: min(370px, calc(100vw - 20px));
  max-width: calc(100vw - 20px);
  height: min(540px, calc(100dvh - 108px));
  min-height: 0;
  z-index: 1;
}
.luso-widget[data-peeking="true"][data-desktop="true"],
.luso-widget[data-peeking="true"][data-desktop="true"] .luso-launcher,
.luso-widget[data-peeking="true"][data-desktop="true"] .luso-model {
  width: 132px;
  height: 118px;
}
.luso-widget[data-peeking="true"][data-desktop="true"] .luso-chat {
  right: 12px;
  height: min(560px, calc(100dvh - 158px));
}
.luso-widget[data-peeking="true"][data-desktop="true"] .luso-speech {
  right: 24px;
  bottom: calc(100% + 18px);
  --luso-bubble-tail-x: calc(100% - 42px);
}
.luso-widget[data-peeking="true"][data-peek-side="left"] {
  inset: auto auto 0 0;
  width: 132px;
  height: 118px;
}
.luso-widget[data-peeking="true"][data-peek-side="left"] .luso-launcher,
.luso-widget[data-peeking="true"][data-peek-side="left"] .luso-model {
  width: 132px;
  height: 118px;
}
.luso-widget[data-peeking="true"][data-peek-side="left"] .luso-chat {
  inset: var(--luso-peek-chat-y, auto) auto auto 12px;
  height: min(560px, calc(100dvh - 158px));
}
.luso-widget[data-peeking="true"][data-peek-side="left"] .luso-speech {
  position: absolute;
  left: 24px;
  right: auto;
  top: auto;
  bottom: calc(100% + 18px);
  --luso-bubble-tail-x: 42px;
}
.luso-widget[data-peeking="true"][data-peek-dock="footer"] {
  position: absolute;
  top: auto;
  bottom: -1px;
}
.luso-peek-anchor {
  position: relative;
  height: 0;
  z-index: 45;
}
.luso-widget[data-peeking="true"][data-revealed="true"] {
  --luso-reveal-width: 144px;
  --luso-reveal-height: 164px;
}
.luso-widget[data-peeking="true"][data-revealed="true"][data-desktop="true"] {
  --luso-reveal-width: 192px;
  --luso-reveal-height: 224px;
}
.luso-widget[data-peeking="true"][data-revealed="true"] .luso-launcher {
  position: absolute;
  bottom: 0;
  right: 0;
}
.luso-widget[data-peeking="true"][data-revealed="true"] .luso-launcher,
.luso-widget[data-peeking="true"][data-revealed="true"] .luso-model {
  width: var(--luso-reveal-width);
  height: var(--luso-reveal-height);
}
.luso-widget[data-peeking="true"][data-revealed="true"] .luso-model {
  transform-origin: bottom right;
}
.luso-widget[data-peeking="true"][data-revealed="true"] .luso-speech {
  bottom: calc(var(--luso-reveal-height) + 12px);
}
.luso-widget[data-peeking="true"][data-revealed="true"] .luso-chat {
  height: min(540px, calc(100dvh - var(--luso-reveal-height) - 32px));
}
.luso-widget[data-peeking="true"].is-open .luso-speech {
  opacity: 0;
  visibility: hidden;
}
@media (max-height: 600px) {
  .luso-widget[data-peeking="true"] .luso-chat {
    height: calc(100dvh - 20px);
  }
}
@media (max-width: 800px) and (prefers-reduced-motion: no-preference) {
  .luso-travel-ready .home-services-heading h2 {
    margin-left: 68px;
  }
}
@media (max-width: 400px) and (prefers-reduced-motion: no-preference) {
  .luso-travel-ready .home-services-heading h2 {
    font-size: clamp(32px, 10.5vw, 42px);
  }
}
/* Mobile chat spotlight: a flat overlay avoids expensive blur on iOS. */
.luso-backdrop {
  position: fixed;
  inset: 0;
  z-index: 44;
  background: rgb(0 0 0 / 76%);
  touch-action: none;
  overscroll-behavior: contain;
  animation: luso-backdrop-in 0.22s ease both;
}
.luso-backdrop[hidden] {
  display: none;
}
.luso-widget.is-mobile-modal {
  z-index: 46;
}
.luso-widget.is-mobile-modal .luso-chat {
  box-shadow: 0 20px 80px #0009;
}
@keyframes luso-backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .luso-backdrop {
    animation: none;
  }
}
.luso-backdrop {
  z-index: 90;
}
.luso-widget.is-mobile-modal,
.luso-peek-anchor:has(.is-mobile-modal) {
  z-index: 91;
}
