/* ── Quote Picker Modal ───────────────────────────────────────── */
.xqp-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(37, 40, 52, 0.65);
  z-index: 999999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.xqp-overlay.xqp-open {
  display: flex;
  animation: xqpFadeIn 0.2s ease;
}
@keyframes xqpFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.xqp-modal {
  background: #fff;
  border-radius: 20px;
  padding: 40px 36px 32px;
  max-width: 800px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 60px rgba(37, 40, 52, 0.18);
  animation: xqpSlideUp 0.25s ease;
  font-family: 'Sora', sans-serif;
}
@keyframes xqpSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.xqp-close {
  position: absolute;
  top: 16px; right: 16px;
  background: #EEF0F8;
  border: none;
  border-radius: 50%;
  width: 34px; height: 34px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  padding: 0;
}
.xqp-close:hover { background: #DDE0EC; }
.xqp-close svg { width: 16px; height: 16px; stroke: #6B7385; display: block; }

.xqp-head {
  text-align: center;
  margin-bottom: 28px;
}
.xqp-head h2 {
  font-size: 22px;
  font-weight: 800;
  color: #252834;
  margin: 0 0 8px;
  line-height: 1.3;
}
.xqp-head p {
  font-size: 14px;
  color: #6B7385;
  margin: 0;
}

/* ── Cards ─────────────────────────────────────────────────────── */
.xqp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.xqp-card {
  border: 2px solid #DDE0EC;
  border-radius: 16px;
  padding: 26px 18px 20px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: border-color .2s, background .2s, transform .15s, box-shadow .2s;
  cursor: pointer;
  color: inherit;
}
.xqp-card:hover {
  border-color: #5AACAC;
  background: #EAF5F5;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(90, 172, 172, 0.14);
  text-decoration: none;
  color: inherit;
}

.xqp-card-img {
  width: 100%;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  flex-shrink: 0;
  background: #EEF0F8;
}
.xqp-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.xqp-card:hover .xqp-card-img img { transform: scale(1.05); }

.xqp-card-content { flex: 1; display: flex; flex-direction: column; }

.xqp-card-name {
  font-size: 15px;
  font-weight: 700;
  color: #252834;
  margin-bottom: 6px;
}
.xqp-card-desc {
  font-size: 12px;
  color: #6B7385;
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}
.xqp-card-cta {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #5AACAC;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  transition: background 0.2s, transform 0.15s;
  align-self: center;
}
.xqp-card:hover .xqp-card-cta {
  background: #4a9898;
  transform: translateY(-1px);
}
.xqp-card-cta svg {
  width: 13px; height: 13px;
  stroke: #fff;
  fill: none;
  transition: transform 0.2s;
}
.xqp-card:hover .xqp-card-cta svg { transform: translateX(3px); }

/* ── Footer trust bar ──────────────────────────────────────────── */
.xqp-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding-top: 18px;
  border-top: 1.5px solid #EEF0F8;
  flex-wrap: wrap;
}
.xqp-footer-item {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; color: #6B7385;
}
.xqp-footer-item svg {
  width: 13px; height: 13px;
  stroke: #5AACAC;
  fill: none;
  flex-shrink: 0;
}

/* ── Mobile ─────────────────────────────────────────────────────── */
@media (max-width: 620px) {
  .xqp-modal { padding: 32px 18px 24px; }
  .xqp-cards { grid-template-columns: 1fr; gap: 12px; }
  .xqp-card {
    flex-direction: row;
    text-align: left;
    padding: 14px;
    gap: 14px;
    align-items: flex-start;
  }
  .xqp-card-img {
    width: 88px;
    height: 88px;
    flex-shrink: 0;
    margin-bottom: 0;
  }
  .xqp-card-desc { margin-bottom: 6px; }
  .xqp-card-cta { justify-content: flex-start; }
  .xqp-footer { gap: 12px; }
  .xqp-head h2 { font-size: 18px; }
}
