@charset "UTF-8";

:root {
  --ct-ink: #173042;
  --ct-muted: #617081;
  --ct-border: #d8e3ea;
  --ct-surface: #ffffff;
  --ct-surface-soft: #f4f8fb;
  --ct-accent: #ee7d32;
  --ct-accent-strong: #cf5f16;
  --ct-brand: #0f7f8a;
  --ct-brand-strong: #0a6670;
  --ct-user: #0f7f8a;
  --ct-shadow: 0 24px 60px rgba(23, 48, 66, 0.18);
  --ct-radius-lg: 22px;
  --ct-radius-md: 16px;
  --ct-radius-sm: 12px;
  --ct-z-fab: 2147483600;
  --ct-z-panel: 2147483601;
  --ct-launcher-right: 18px;
  --ct-launcher-bottom: 18px;
  --ct-panel-right: 18px;
  --ct-panel-bottom: 92px;
  --ct-mobile-privacy-clearance: 92px;
  --ct-mobile-floating-stack-bottom: 96px;
}

.ct-chat-launcher {
  position: fixed;
  right: var(--ct-launcher-right);
  bottom: var(--ct-launcher-bottom);
  z-index: var(--ct-z-fab);
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
  transform: translateZ(0);
}

.ct-fab-label {
  display: none !important;
}

.ct-fab {
  position: relative;
  width: 62px;
  height: 62px;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ct-accent), #f39c4f);
  color: #fff;
  box-shadow: 0 16px 32px rgba(207, 95, 22, 0.32);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ct-fab.ct-fab-animate-in {
  animation: ct-fab-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes ct-fab-pop {
  0% {
    transform: scale(0);
  }
  65% {
    transform: scale(1.14);
  }
  100% {
    transform: scale(1);
  }
}

.ct-fab.ct-fab-pulse::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: ct-fab-pulse-ring 1.6s ease-out 3;
  pointer-events: none;
}

@keyframes ct-fab-pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(238, 125, 50, 0.55);
  }
  100% {
    box-shadow: 0 0 0 24px rgba(238, 125, 50, 0);
  }
}

.ct-fab-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ff3b30;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(23, 48, 66, 0.25);
}

.ct-fab-badge.ct-hidden {
  display: none;
}

.ct-fab-teaser {
  max-width: 200px;
  background: #fff;
  color: var(--ct-ink);
  padding: 10px 14px;
  border-radius: 16px;
  border-bottom-right-radius: 4px;
  box-shadow: 0 12px 28px rgba(23, 48, 66, 0.2);
  font: 700 13px/1.35 "Trebuchet MS", Arial, sans-serif;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px) scale(0.96);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  pointer-events: none;
  cursor: pointer;
}

.ct-fab-teaser.ct-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.ct-fab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ct-fab-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ct-fab:hover,
.ct-fab:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(207, 95, 22, 0.38);
}

.ct-panel {
  position: fixed;
  right: var(--ct-panel-right);
  bottom: var(--ct-panel-bottom);
  width: min(420px, calc(100vw - 24px));
  height: min(720px, calc(100vh - 120px));
  display: none;
  flex-direction: column;
  background: var(--ct-surface);
  border: 1px solid rgba(15, 127, 138, 0.14);
  border-radius: 28px;
  box-shadow: var(--ct-shadow);
  overflow: hidden;
  z-index: var(--ct-z-panel);
  color: var(--ct-ink);
  font-family: "Trebuchet MS", Arial, sans-serif;
}

.ct-panel.open {
  display: flex;
}

.ct-header {
  padding: 18px 18px 14px;
  color: #fff;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 36%),
    linear-gradient(135deg, var(--ct-brand), var(--ct-brand-strong));
}

.ct-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ct-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.ct-subtitle {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.84);
}

.ct-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ct-icon-btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 700 16px/1 Arial, sans-serif;
}

.ct-icon-btn:hover,
.ct-icon-btn:focus-visible {
  background: rgba(255, 255, 255, 0.24);
}

.ct-wa-header-btn {
  background: #25d366;
  color: #fff;
  text-decoration: none;
}

.ct-wa-header-btn:hover,
.ct-wa-header-btn:focus-visible {
  background: #1fb45a;
}

.ct-header-reset-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ct-header-reset-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ct-header-wa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ct-header-wa-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}


.ct-context {
  display: none;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ct-border);
  background: linear-gradient(180deg, #fbfdfe, #f3f8fb);
}

.ct-context.active {
  display: flex;
}

.ct-context-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--ct-border);
  color: var(--ct-ink);
  font-size: 12px;
  font-weight: 700;
}

.ct-context-pill span {
  color: var(--ct-muted);
}

.ct-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background:
    radial-gradient(circle at top right, rgba(15, 127, 138, 0.05), transparent 24%),
    linear-gradient(180deg, #f8fbfd 0%, #f4f8fb 100%);
}

.ct-message {
  max-width: 88%;
  margin-bottom: 12px;
  padding: 13px 15px;
  border-radius: 18px;
  line-height: 1.45;
  font-size: 14px;
  box-shadow: 0 10px 26px rgba(23, 48, 66, 0.06);
}

.ct-message.bot {
  background: #fff;
  border: 1px solid var(--ct-border);
  border-top-left-radius: 6px;
}

.ct-message.user {
  margin-left: auto;
  background: var(--ct-user);
  color: #fff;
  border-top-right-radius: 6px;
}

.ct-message p {
  margin: 0;
}

.ct-typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ct-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9fb4c0;
  animation: ct-typing 1s infinite ease-in-out;
}

.ct-typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.ct-typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes ct-typing {
  0%,
  80%,
  100% {
    transform: scale(0.72);
    opacity: 0.55;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

.ct-guide {
  margin-bottom: 14px;
  padding: 15px;
  border: 1px solid rgba(15, 127, 138, 0.12);
  border-radius: var(--ct-radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
}

.ct-guide-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ct-ink);
}

.ct-guide-copy {
  margin: 0 0 14px;
  color: var(--ct-muted);
  font-size: 13px;
  line-height: 1.45;
}

.ct-guide-group + .ct-guide-group {
  margin-top: 12px;
}

.ct-guide-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ct-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ct-chips,
.ct-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ct-chip,
.ct-option-btn {
  border: 1px solid var(--ct-border);
  background: #fff;
  color: var(--ct-ink);
  border-radius: 999px;
  padding: 9px 12px;
  font: 700 13px/1.2 "Trebuchet MS", Arial, sans-serif;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.ct-chip:hover,
.ct-chip:focus-visible,
.ct-option-btn:hover,
.ct-option-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(15, 127, 138, 0.34);
  background: #f4fbfc;
}

.ct-option-btn {
  background: #ffffff;
}

.ct-compare-wrap {
  margin: 10px 0 2px;
  overflow-x: auto;
}

.ct-compare-table {
  width: 100%;
  min-width: 440px;
  border-collapse: collapse;
  font-size: 12px;
}

.ct-compare-table th,
.ct-compare-table td {
  padding: 8px;
  border: 1px solid var(--ct-border);
  text-align: left;
  vertical-align: top;
}

.ct-compare-table th {
  background: #f4fbfc;
  color: var(--ct-ink);
  font-weight: 800;
}

.ct-route-map {
  margin: 0 0 12px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid var(--ct-border);
  background: #fff;
  box-shadow: 0 14px 30px rgba(23, 48, 66, 0.06);
}

.ct-route-title {
  margin: 0 0 8px;
  color: var(--ct-ink);
  font-size: 14px;
  line-height: 1.3;
}

.ct-route-map-svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  overflow: hidden;
}

.ct-route-map-svg rect {
  fill: #e8f3f6;
}

.ct-route-line {
  fill: none;
  stroke: var(--ct-brand);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ct-route-point {
  fill: var(--ct-accent);
  stroke: #fff;
  stroke-width: 4;
  filter: drop-shadow(0 2px 3px rgba(23, 48, 66, 0.2));
}

.ct-route-number {
  fill: #fff;
  font: 800 11px/1 "Trebuchet MS", Arial, sans-serif;
  text-anchor: middle;
  dominant-baseline: central;
}

.ct-route-stops {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--ct-muted);
  font-size: 12px;
  line-height: 1.45;
}

.ct-route-stops li + li {
  margin-top: 4px;
}

.ct-proposals {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.ct-proposal {
  padding: 0;
  border-radius: 18px;
  border: 1px solid var(--ct-border);
  background: #fff;
  box-shadow: 0 14px 30px rgba(23, 48, 66, 0.06);
  overflow: hidden;
}

.ct-proposal-media {
  display: block;
  height: 138px;
  background: linear-gradient(135deg, #dfeff3, #f7fbfd);
  overflow: hidden;
}

.ct-proposal-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ct-proposal-content {
  padding: 14px;
}

.ct-proposal-title {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.35;
  color: var(--ct-ink);
}

.ct-proposal-meta {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ct-muted);
}

.ct-proposal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
}

.ct-proposal-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #f3f8fb;
  border: 1px solid #dfe9ef;
  color: #315466;
  font-size: 11px;
  font-weight: 700;
}

.ct-proposal-desc {
  margin: 0 0 10px;
  color: var(--ct-muted);
  font-size: 12px;
  line-height: 1.45;
}

.ct-proposal-why {
  margin: -4px 0 12px;
  font-size: 12px;
  line-height: 1.45;
  color: #406477;
}

.ct-proposal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ct-proposal-link,
.ct-proposal-share,
.ct-proposal-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.ct-proposal-link {
  background: var(--ct-brand);
  color: #fff;
}

.ct-proposal-link:hover,
.ct-proposal-link:focus-visible {
  background: var(--ct-brand-strong);
}

.ct-proposal-whatsapp {
  background: #25d366;
  color: #fff;
}

.ct-proposal-whatsapp:hover,
.ct-proposal-whatsapp:focus-visible {
  transform: translateY(-1px);
  background: #1fb45a;
}

.ct-proposal-share {
  border: 1px solid var(--ct-border);
  background: #fff;
  color: var(--ct-ink);
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
}

.ct-proposal-share:hover,
.ct-proposal-share:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(15, 127, 138, 0.34);
  background: #f4fbfc;
}

.ct-proposal-share:focus-visible {
  outline: 2px solid rgba(15, 127, 138, 0.18);
  outline-offset: 2px;
}

.ct-wa-wrap {
  margin-bottom: 12px;
  padding: 14px;
  border-radius: 18px;
  background: #ebfaf1;
  border: 1px solid rgba(37, 211, 102, 0.2);
}

.ct-wa-title {
  margin: 0 0 6px;
  color: #1a5e35;
  font-size: 14px;
  font-weight: 700;
}

.ct-wa-copy {
  margin: 0 0 10px;
  color: #2d6f46;
  font-size: 13px;
  line-height: 1.45;
}

.ct-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  background: #25d366;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.ct-composer {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--ct-border);
  background: #fff;
}

.ct-composer textarea {
  min-height: 48px;
  max-height: 112px;
  width: 100%;
  resize: none;
  border: 1px solid var(--ct-border);
  border-radius: 18px;
  padding: 13px 15px;
  color: var(--ct-ink);
  background: var(--ct-surface-soft);
  font: 14px/1.4 "Trebuchet MS", Arial, sans-serif;
}

.ct-composer textarea:focus {
  outline: none;
  border-color: rgba(15, 127, 138, 0.4);
  box-shadow: 0 0 0 4px rgba(15, 127, 138, 0.1);
}

.ct-send {
  flex: 0 0 auto;
  min-width: 94px;
  min-height: 48px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--ct-accent), #f39c4f);
  color: #fff;
  font: 700 14px/1 "Trebuchet MS", Arial, sans-serif;
  cursor: pointer;
}

.ct-send[disabled] {
  opacity: 0.7;
  cursor: wait;
}

.ct-hidden {
  display: none !important;
}

@media (max-width: 768px) {
  .ct-chat-launcher {
    right: var(--ct-launcher-right, 14px);
    bottom: calc(var(--ct-mobile-floating-stack-bottom, 96px) + env(safe-area-inset-bottom, 0px));
  }

  @supports (bottom: max(1px, 2px)) {
    .ct-chat-launcher {
      bottom: max(
        var(--ct-launcher-bottom, 14px),
        calc(var(--ct-mobile-floating-stack-bottom, 96px) + env(safe-area-inset-bottom, 0px))
      );
    }
  }

  .ct-fab-label {
    display: none !important;
  }

  .ct-fab {
    width: 60px;
    height: 60px;
    box-shadow: 0 14px 30px rgba(207, 95, 22, 0.4);
  }

  .ct-fab-teaser {
    max-width: 172px;
    font-size: 12.5px;
  }

  .ct-panel {
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
    border: 0;
  }

  @supports (height: 100dvh) {
    .ct-panel {
      height: 100dvh;
    }
  }

  .ct-header {
    padding: 16px 16px 12px;
  }

  .ct-context {
    padding: 10px 14px;
  }

  .ct-body {
    padding: 14px;
  }

  .ct-message {
    max-width: 94%;
  }

  .ct-composer {
    padding: 12px 14px 14px;
    gap: 8px;
  }

  .ct-composer textarea {
    min-height: 46px;
    font-size: 16px;
  }

  .ct-send {
    min-width: 78px;
  }
}


