@import url('https://fonts.googleapis.com/css2?family=Parkinsans:wght@400;500;600&display=swap');
@font-face {
  font-family: Crystal;
  src: url('/assets/priority/display.ttf') format('truetype');
  font-display: swap;
}

.mdla-lead-chat {
  position: fixed;
  right: 24px;
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 9999;
  color: #243e50;
  font-family: Parkinsans, Arial, sans-serif;
  line-height: 1.5;
}
.mdla-lead-chat [hidden]{display:none!important}
.mdla-lead-chat__panel{max-height:calc(100dvh - 110px);overflow-y:auto;overscroll-behavior:contain}

.mdla-lead-chat__launcher {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 58px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(230, 239, 244, 0.92), rgba(190, 214, 229, 0.9));
  box-shadow: 0 18px 54px rgba(19, 48, 69, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: #243e50;
  font: 500 14px/1.4 Parkinsans, Arial, sans-serif;
  letter-spacing: -0.01em;
  cursor: pointer;
  backdrop-filter: blur(18px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mdla-lead-chat__launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 64px rgba(19, 48, 69, 0.38), inset 0 1px 0 #fff;
}

.mdla-lead-chat__launcher:focus-visible,
.mdla-lead-chat__choice:focus-visible,
.mdla-lead-chat__close:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.mdla-lead-chat__pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #229b7c;
  box-shadow: 0 0 0 7px rgba(34, 155, 124, 0.13);
}

.mdla-lead-chat__panel {
  position: absolute;
  right: 0;
  bottom: 76px;
  width: min(440px, calc(100vw - 32px));
  padding: 38px 38px 36px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(238, 244, 244, 0.98), rgba(218, 231, 237, 0.97));
  box-shadow: 0 30px 90px rgba(16, 43, 61, 0.32), inset 0 1px 0 #fff;
  backdrop-filter: blur(24px);
}

.mdla-lead-chat__panel[hidden] { display: none; }

.mdla-lead-chat__eyebrow {
  margin: 0 0 18px !important;
  color: #29465d !important;
  font: 500 10px/1.6 Parkinsans, Arial, sans-serif !important;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.mdla-lead-chat__panel h2 {
  margin: 0 44px 18px 0 !important;
  color: #243e50 !important;
  font: 400 clamp(40px, 4vw, 54px)/0.98 Crystal, Georgia, serif !important;
  letter-spacing: -0.035em !important;
  text-wrap: balance;
}

.mdla-lead-chat__panel > p:not(.mdla-lead-chat__eyebrow) {
  margin: 0 0 28px !important;
  color: #526b7a !important;
  font: 400 15px/1.65 Parkinsans, Arial, sans-serif !important;
}

.mdla-lead-chat__close {
  position: absolute;
  top: 19px;
  right: 22px;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #243e50;
  font: 300 32px/1 Arial, sans-serif;
  cursor: pointer;
}

.mdla-lead-chat__choice {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 48px;
  gap: 4px 18px;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  margin-top: 12px;
  padding: 19px 20px 19px 22px;
  border: 1px solid rgba(151, 180, 197, 0.55);
  border-radius: 24px;
  background: rgba(250, 253, 252, 0.72);
  color: #243e50;
  text-align: left;
  text-decoration: none !important;
  font-family: Parkinsans, Arial, sans-serif;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.mdla-lead-chat__choice:hover {
  transform: translateY(-2px);
  background: #fff;
}

.mdla-lead-chat__choice--primary {
  border-color: #426981;
  background: linear-gradient(145deg, #29465d, #365c77);
  box-shadow: 0 14px 34px rgba(41, 70, 93, 0.25);
  color: #fff;
}

.mdla-lead-chat__choice--primary:hover {
  background: linear-gradient(145deg, #31536c, #416b87);
}

.mdla-lead-chat__choice strong { font: 500 15px/1.4 Parkinsans, Arial, sans-serif; }

.mdla-lead-chat__choice small {
  grid-column: 1;
  color: inherit;
  font: 400 13px/1.5 Parkinsans, Arial, sans-serif;
  opacity: 0.72;
}

.mdla-lead-chat__choice-icon {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.mdla-lead-chat__choice-icon--flower {
  width: 46px;
  height: 46px;
  opacity: 0.94;
}

.mdla-lead-chat__choice-icon--whatsapp {
  width: 42px;
  height: 42px;
  justify-self: center;
  filter: drop-shadow(0 8px 14px rgba(37, 211, 102, 0.2));
}

@media (max-width: 640px) {
  .mdla-lead-chat {
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
  }

  .mdla-lead-chat__launcher {
    min-height: 54px;
    padding: 0 18px;
    font-size: 13px;
  }

  .mdla-lead-chat__panel {
    position: fixed;
    right: 14px;
    bottom: 82px;
    width: calc(100vw - 28px);
    padding: 30px 26px 28px;
    border-radius: 28px;
  }

  .mdla-lead-chat__panel h2 { font-size: clamp(38px, 12vw, 50px); }
  .mdla-lead-chat__choice { padding: 17px 18px 17px 20px; border-radius: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  .mdla-lead-chat__launcher,
  .mdla-lead-chat__choice { transition: none; }
}
