/* ═══════════════════════════════════════════
   quick-modals.css — Custom Tours, Travel Deals,
   Travel Guides modals + q-card arrow upgrade
═══════════════════════════════════════════ */

/* ── Arrow on quick cards ── */
.q-card {
  text-decoration: none;
  color: inherit;
  position: relative;
}
.q-arrow {
  margin-left: auto;
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.q-card:hover .q-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── Backdrop ── */
.qm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(5,0,18,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.qm-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

/* ── Panel ── */
.qm-panel {
  background: rgba(18,8,46,0.92);
  border: 1px solid rgba(255,255,255,0.10);
  border-top: 1px solid rgba(255,255,255,0.18);
  border-radius: 28px;
  padding: 44px 44px 40px;
  max-width: 600px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  box-shadow:
    0 32px 80px rgba(0,0,0,0.7),
    0 0 0 1px rgba(139,92,246,0.12),
    inset 0 1px 0 rgba(255,255,255,0.08);
  transform: translateY(28px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.qm-backdrop.open .qm-panel {
  transform: translateY(0) scale(1);
}

/* ── Close button ── */
.qm-close {
  position: absolute;
  top: 18px; right: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,0.7);
  transition: background 0.2s ease, color 0.2s ease;
}
.qm-close:hover { background: rgba(139,92,246,0.3); color: #fff; }

/* ── Icon ── */
.qm-icon {
  font-size: 42px;
  margin-bottom: 14px;
}

/* ── Title ── */
.qm-title {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  color: #fff;
}

/* ── Subtitle ── */
.qm-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* ═══════════════════
   CUSTOM TOURS
════════════════════ */
.qm-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}
.qm-feat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 14px;
}
.qm-feat-ico { font-size: 22px; flex-shrink: 0; margin-top: 1px; }
.qm-feat strong { display: block; font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.qm-feat p { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.5; margin: 0; }

/* ═══════════════════
   TRAVEL DEALS
════════════════════ */
.qm-deals { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }

.qm-deal {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 14px 16px;
  transition: border-color 0.2s ease;
}
.qm-deal:hover { border-color: rgba(139,92,246,0.35); }

.qm-deal-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border-radius: 6px;
  padding: 3px 8px;
  flex-shrink: 0;
  white-space: nowrap;
}

.qm-deal-info { flex: 1; min-width: 0; }
.qm-deal-info strong { display: block; font-size: 13.5px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.qm-deal-info span { font-size: 12px; color: rgba(255,255,255,0.55); }
.qm-deal-info b { color: var(--gold2); font-weight: 700; }

.qm-deal-custom {
  background: rgba(139,92,246,0.08);
  border-color: rgba(139,92,246,0.2);
  flex-wrap: wrap;
  gap: 10px;
}
.qm-deal-custom span {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  flex: 1;
}

.qm-deal-btn {
  display: inline-flex;
  align-items: center;
  background: rgba(139,92,246,0.18);
  border: 1px solid rgba(139,92,246,0.4);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 700;
  color: #c4b5fd;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease;
}
.qm-deal-btn:hover {
  background: rgba(139,92,246,0.45);
  color: #fff;
}

/* ═══════════════════
   TRAVEL GUIDES
════════════════════ */
.qm-guides { display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; }

.qm-guide {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  transition: border-color 0.2s ease;
}
.qm-guide:hover { border-color: rgba(139,92,246,0.3); }
.qm-guide-ico { font-size: 24px; flex-shrink: 0; margin-top: 1px; }
.qm-guide strong { display: block; font-size: 13.5px; font-weight: 700; color: #fff; margin-bottom: 5px; }
.qm-guide p { font-size: 12.5px; color: rgba(255,255,255,0.55); line-height: 1.65; margin: 0; }

/* ═══════════════════
   SHARED CTA STYLES
════════════════════ */
.qm-cta-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
  font-weight: 500;
}

.qm-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.qm-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.qm-btn-wa {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}
.qm-btn-wa:hover {
  background: #20c05a;
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
  transform: translateY(-1px);
}

.qm-btn-outline {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85);
}
.qm-btn-outline:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.qm-note {
  font-size: 11.5px;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  border-left: 2px solid rgba(251,146,36,0.4);
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .qm-panel { padding: 32px 22px 28px; border-radius: 20px; }
  .qm-features { grid-template-columns: 1fr; }
  .qm-title { font-size: 22px; }
  .qm-cta-row { flex-direction: column; }
  .qm-btn { justify-content: center; }
}
