/* ================================================================
   Viventa.QuotaInformation — Module.css
   Rewrite completo sin dependencia de Kendo/Telerik
   Prefix: .vqi-
   ================================================================ */

/* ── Root ── */
.vqi {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: #F5F7FA;
  min-height: 100vh;
  box-sizing: border-box;
  color: #1e293b;
}
.vqi *, .vqi *::before, .vqi *::after { box-sizing: inherit; }

/* ================================================================
   HEADER
   ================================================================ */
.vqi-header {
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 10;
}

.vqi-header-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.vqi-header-left {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.vqi-logo { height: 28px; width: auto; display: block; aspect-ratio: 529 / 117; }

.vqi-header-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 16px;
  margin-left: 16px;
  border-left: 1px solid #e2e8f0;
}

.vqi-header-user-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #E60064, #C40055);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.vqi-header-trm {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 16px;
  margin-left: 16px;
  border-left: 1px solid #e2e8f0;
  color: #E60064;
}

.vqi-header-meta {
  font-size: 10px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.3;
}

.vqi-header-name {
  font-size: 13px;
  font-weight: 600;
  color: #323755;
  margin: 0;
}

.vqi-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.vqi-pdf-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #e2e8f0;
  color: #94a3b8;
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: not-allowed;
  opacity: 0.7;
  font-family: inherit;
}

.vqi-currency-group {
  display: flex;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.vqi-currency-btn {
  padding: 5px 14px;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.vqi-currency-btn:hover { color: #1e293b; background: #e2e8f0; }
.vqi-currency-btn--active {
  background: #E60064;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(230,0,100,0.3);
}

/* ================================================================
   HERO
   ================================================================ */
.vqi-hero-wrap {
  max-width: 1600px;
  margin: 0 auto;
  padding: 16px 16px 0;
}

.vqi-hero {
  background: linear-gradient(135deg, #E60064 0%, #D4005A 50%, #C40055 100%);
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.vqi-hero-decor {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  filter: blur(40px);
  pointer-events: none;
}
.vqi-hero-decor--tr { width: 256px; height: 256px; top: -128px; right: -128px; }
.vqi-hero-decor--bl { width: 192px; height: 192px; bottom: -96px; left: -96px; }

.vqi-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.vqi-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 16px;
  border-radius: 999px;
}

.vqi-hero-text {
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.6;
  margin: 0;
}

.vqi-accent { color: #FFEA39; font-weight: 700; }

/* ================================================================
   MAIN / CARDS GRID
   ================================================================ */
.vqi-main {
  max-width: 1600px;
  margin: 0 auto;
  padding: 16px 16px 0;
}

/* ── Not found ── */
.vqi-not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 80px 24px;
  text-align: center;
}
.vqi-not-found-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}
.vqi-not-found-sub {
  font-size: 15px;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

.vqi-cards-grid {
  display: grid;
  gap: 16px;
  margin-bottom: -120px;
}

/* Mobile-first: 1 columna por defecto. Media queries activan 2/3 col. */
.vqi-cards-grid--1 { grid-template-columns: minmax(0, 480px); justify-content: center; }
.vqi-cards-grid--2 { grid-template-columns: 1fr; }
.vqi-cards-grid--3 { grid-template-columns: 1fr; }

/* ================================================================
   CARD
   ================================================================ */
.vqi-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
  z-index: 0;
  min-width: 0;
}
.vqi-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.10);
  transform: translateY(-2px);
}

/* ── Image area ── */
.vqi-card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #e2e8f0;
  flex-shrink: 0;
}

.vqi-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.vqi-card:hover .vqi-card-img { transform: scale(1.05); }

.vqi-card-img-empty {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

/* Nav arrows */
.vqi-card-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.50);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  backdrop-filter: blur(4px);
  transition: background 0.15s;
  z-index: 2;
  padding: 0;
}
.vqi-card-nav:hover { background: rgba(0,0,0,0.72); }
.vqi-card-nav--prev { left: 8px; }
.vqi-card-nav--next { right: 8px; }

/* Position indicators */
.vqi-card-indicators {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
}

.vqi-card-dot {
  height: 6px;
  width: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.50);
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.vqi-card-dot--on { width: 24px; background: #ffffff; }

/* Verified badge */
.vqi-card-verified {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(4px);
  border-radius: 999px;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 500;
  color: #64748b;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  z-index: 2;
}
.vqi-card-verified svg { color: #10b981; flex-shrink: 0; }

/* Gallery button */
.vqi-card-gallery {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,0.60);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background 0.15s;
  z-index: 2;
}
.vqi-card-gallery:hover { background: rgba(0,0,0,0.82); }

/* ── Card body ── */
.vqi-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

/* Badge */
.vqi-card-badge-wrap { min-height: 22px; margin-bottom: 4px; }

.vqi-card-badge {
  display: inline-flex;
  background: #FFF0F5;
  color: #E60064;
  border: 1px solid rgba(230,0,100,0.2);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 10px;
  font-weight: 600;
}

/* Title */
.vqi-card-title {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #323755;
  margin: 0 0 5px;
  line-height: 1.3;
}

/* Location */
.vqi-card-location {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #94a3b8;
  font-size: 11px;
}
.vqi-card-location svg { flex-shrink: 0; }

/* ── Specs ── */
.vqi-card-specs {
  background: linear-gradient(to bottom right, #F5F7FA, #ffffff);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px; /* p-4 */
}

.vqi-card-specs-title {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 14px; /* text-sm */
  font-weight: 600;
  color: #323755;
  margin: 0 0 16px; /* mb-4 */
}

/* grid-cols-1 md:grid-cols-2 gap-4 */
.vqi-card-specs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* flex items-center gap-3 */
.vqi-spec { display: flex; align-items: center; gap: 12px; }

/* w-10 h-10 bg-[#E60064]/10 rounded-full */
.vqi-spec-ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(230,0,100,0.10);
  color: #E60064;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
/* w-5 h-5 */
.vqi-spec-ico svg { width: 20px; height: 20px; }

/* text-xs text-gray-500 */
.vqi-spec-lbl { font-size: 12px; color: #6b7280; margin: 0; line-height: 1.2; }
/* text-sm font-bold text-gray-900 */
.vqi-spec-val { font-size: 14px; font-weight: 700; color: #111827; margin: 2px 0 0; line-height: 1.2; }

/* ── Prices ── */
/* flex:1 → el bloque de precios absorbe el espacio libre de la card.
   En la card sin cuotas mensuales, ese hueco queda entre la reserva y el
   total (donde iría el bloque de cuotas), dejando el total alineado con
   las demás cards del grid. */
.vqi-card-prices { display: flex; flex-direction: column; gap: 10px; flex: 1; }

.vqi-card-reserva {
  border: 2px solid #E60064;
  border-radius: 16px;
  padding: 16px; /* p-4 */
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.vqi-card-decor {
  position: absolute;
  top: -48px;
  right: -48px;
  width: 96px;  /* w-24 */
  height: 96px;
  border-radius: 50%;
  background: rgba(230,0,100,0.05); /* bg-[#E60064]/5 */
  pointer-events: none;
}

/* Cuotas decor: w-20 h-20 -mr-10 -mt-10 bg-[#323755]/5 */
.vqi-card-decor--navy {
  background: rgba(50,55,85,0.05);
  width: 80px;
  height: 80px;
  top: -40px;
  right: -40px;
}

.vqi-card-reserva-body { position: relative; z-index: 1; }

.vqi-card-reserva-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px; /* mb-2 */
}

.vqi-card-reserva-lbl { font-size: 12px; color: #4b5563; } /* text-xs text-gray-600 */

.vqi-card-available {
  background: #D1FAE5;
  color: #065F46;
  border-radius: 999px;
  padding: 4px 10px; /* py-1 px-2.5 */
  font-size: 10px;
  font-weight: 600;
}

.vqi-card-reserva-price {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 30px; /* text-3xl */
  font-weight: 700;
  color: #E60064;
  margin: 0 0 4px;
  line-height: 1.2;
}

.vqi-card-reserva-sub { font-size: 12px; color: #6b7280; margin: 0; } /* text-xs text-gray-500 */

.vqi-card-cuotas {
  border: 2px solid #323755;
  border-radius: 16px;
  padding: 16px; /* p-4 */
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.vqi-card-cuotas-lbl { font-size: 12px; color: #4b5563; margin: 0 0 8px; } /* text-xs text-gray-600 mb-2 */

.vqi-card-cuotas-row {
  display: flex;
  align-items: baseline;
  gap: 8px; /* gap-2 */
  margin-bottom: 8px;
}

.vqi-card-cuotas-price {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 24px; /* text-2xl */
  font-weight: 700;
  color: #323755;
  margin: 0;
  line-height: 1.2;
}

.vqi-card-cuotas-unit { font-size: 14px; color: #6b7280; } /* text-sm text-gray-500 */

.vqi-card-plan-link {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #E60064;
  font-size: 12px; /* text-xs */
  font-weight: 600;
  font-family: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.15s;
}
.vqi-card-plan-link:hover { color: #C40055; }

.vqi-card-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px; /* text-xs */
  color: #4b5563;  /* text-gray-600 */
  padding: 0 8px;  /* px-2 */
  margin-top: auto;
}
.vqi-card-total-val { font-weight: 600; color: #111827; } /* font-semibold text-gray-900 */

/* ── Actions ── */
.vqi-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px; /* pt-2 */
}

.vqi-btn-wa {
  width: 100%;
  background: #E60064;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 10px 16px; /* py-2.5 px-4 */
  font-size: 12px;    /* text-xs */
  font-weight: 600;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(230,0,100,0.25);
  transition: background 0.15s, box-shadow 0.15s;
}
.vqi-btn-wa:hover { background: #C40055; box-shadow: 0 6px 16px rgba(230,0,100,0.35); color: #ffffff; }

.vqi-btn-outline {
  width: 100%;
  background: transparent;
  color: #323755;
  border: 2px solid #323755;
  border-radius: 999px;
  padding: 10px 16px; /* py-2.5 px-4 */
  font-size: 12px;    /* text-xs */
  font-weight: 600;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.vqi-btn-outline:hover { background: #323755; color: #ffffff; }

.vqi-btn-outline--pink { color: #E60064; border-color: #E60064; }
.vqi-btn-outline--pink:hover { background: #E60064; color: #ffffff; }

/* ================================================================
   MODALS — shared shell (Plan de Pagos + Gastos Legales)
   ================================================================ */
.vqi-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 20px 20px;
  overflow-y: auto;
}

.vqi-modal {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,0.30);
}
.vqi-modal--sm { max-width: 460px; }

.vqi-modal-hd {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid #f1f5f9;
  flex-shrink: 0;
  background: #ffffff;
}

.vqi-modal-hd-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
}
.vqi-modal-hd-ico--pink { background: linear-gradient(135deg, #E60064, #C40055); }
.vqi-modal-hd-ico--navy { background: linear-gradient(135deg, #323755, #1e293b); }

.vqi-modal-title {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 2px;
}
.vqi-modal-sub { font-size: 12px; color: #94a3b8; margin: 0; }

.vqi-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: auto;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.vqi-modal-close:hover { background: #e2e8f0; color: #1e293b; }

.vqi-modal-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  flex: 1;
}

/* ── Plan de Pagos ── */
.vqi-plan-total-box {
  background: linear-gradient(135deg, #E60064, #C40055);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}
.vqi-plan-total-lbl { font-size: 12px; color: rgba(255,255,255,0.80); margin: 0 0 6px; font-weight: 500; }
.vqi-plan-total-price {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.vqi-plan-section-title {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.vqi-plan-item {
  border-radius: 14px;
  padding: 16px;
  border: 1.5px solid transparent;
}
.vqi-plan-item--pink { background: #FFF0F5; border-color: rgba(230,0,100,0.20); }
.vqi-plan-item--blue { background: #EEF1FF; border-color: rgba(125,150,255,0.30); }
.vqi-plan-item--navy { background: #F0F1F6; border-color: rgba(50,55,85,0.20); }

.vqi-plan-item-hd {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.vqi-plan-item-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.vqi-plan-item-dot--pink { background: #E60064; }
.vqi-plan-item-dot--blue { background: #7D96FF; }
.vqi-plan-item-dot--navy { background: #323755; }

.vqi-plan-item-name { font-size: 13px; font-weight: 600; color: #0f172a; flex: 1; }

.vqi-plan-badge {
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}
.vqi-plan-badge--pink { background: rgba(230,0,100,0.12); color: #E60064; }
.vqi-plan-badge--blue { background: rgba(125,150,255,0.18); color: #5472e4; }
.vqi-plan-badge--navy { background: rgba(50,55,85,0.12); color: #323755; }

.vqi-plan-item-row { display: flex; align-items: baseline; gap: 5px; margin-bottom: 4px; }
.vqi-plan-item-unit { font-size: 12px; color: #94a3b8; }

.vqi-plan-item-price {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.2;
}
.vqi-plan-item-price--pink { color: #E60064; }
.vqi-plan-item-price--blue { color: #7D96FF; }
.vqi-plan-item-price--navy { color: #323755; }

.vqi-plan-item-desc { font-size: 12px; color: #64748b; margin: 0; }

.vqi-plan-calendar {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #5472e4;
  margin-top: 8px;
}

.vqi-plan-summary {
  background: #1e2d40;
  border-radius: 14px;
  padding: 16px;
  color: #ffffff;
}
.vqi-plan-summary-hd {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}
.vqi-plan-summary-rows { display: flex; flex-direction: column; gap: 8px; }
.vqi-plan-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.70);
  padding-bottom: 8px;
}
.vqi-plan-summary-row--border { border-bottom: 1px solid rgba(255,255,255,0.10); }
.vqi-plan-summary-row--total { font-size: 14px; font-weight: 700; color: #ffffff; padding-bottom: 0; }

.vqi-plan-note {
  background: #FFFBEB;
  border: 1px solid rgba(251,191,36,0.40);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 12px;
  color: #78350f;
  line-height: 1.5;
}

/* ── Gastos Legales ── */
.vqi-costs-info {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: #1e40af;
  line-height: 1.5;
}
.vqi-costs-info svg { flex-shrink: 0; margin-top: 1px; }
.vqi-costs-info p { margin: 0; }

.vqi-costs-list { display: flex; flex-direction: column; gap: 10px; }

.vqi-cost-item {
  background: #F8FAFC;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
}
.vqi-cost-item-hd {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.vqi-cost-name { font-size: 13px; font-weight: 600; color: #0f172a; margin: 0 0 2px; }
.vqi-cost-desc { font-size: 11px; color: #94a3b8; margin: 0; }
.vqi-cost-pct {
  background: rgba(50,55,85,0.08);
  color: #323755;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.vqi-cost-item-ft {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 8px;
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
}
.vqi-cost-ft-lbl { font-size: 11px; color: #94a3b8; }
.vqi-cost-ft-val { font-size: 13px; font-weight: 700; color: #0f172a; }

.vqi-costs-total {
  background: #1e2d40;
  border-radius: 14px;
  padding: 16px;
  color: #ffffff;
}
.vqi-costs-total-main {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.vqi-costs-total-ico {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vqi-costs-total-lbl { font-size: 12px; color: rgba(255,255,255,0.70); margin: 0 0 4px; }
.vqi-costs-total-price {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #FBBF24;
  margin: 0;
}
.vqi-costs-total-rows { display: flex; flex-direction: column; gap: 6px; }
.vqi-costs-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.70);
}
.vqi-costs-total-row--highlight {
  font-weight: 600;
  color: rgba(255,255,255,0.90);
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 6px;
}

.vqi-costs-note {
  background: #FFFBEB;
  border: 1px solid rgba(251,191,36,0.40);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 12px;
  color: #78350f;
  line-height: 1.5;
}

.vqi-costs-close-btn {
  width: 100%;
  background: #323755;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
}
.vqi-costs-close-btn:hover { background: #1e2d40; }

/* ================================================================
   GALLERY MODAL
   ================================================================ */
.vqi-gallery-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.vqi-gallery-modal {
  background: #1e293b;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.vqi-gallery-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.15s;
}
.vqi-gallery-close:hover { background: rgba(255,255,255,0.28); }

.vqi-gallery-stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 20px 60px;
}

.vqi-gallery-main-img {
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

.vqi-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
  z-index: 2;
}
.vqi-gallery-nav:hover { background: rgba(255,255,255,0.28); }
.vqi-gallery-nav--l { left: 12px; }
.vqi-gallery-nav--r { right: 12px; }

.vqi-gallery-bottom {
  padding: 12px 16px;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vqi-gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  flex: 1;
  padding-bottom: 2px;
}

.vqi-gallery-thumb {
  width: 64px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.60;
  flex-shrink: 0;
  transition: opacity 0.15s, border-color 0.15s;
}
.vqi-gallery-thumb:hover { opacity: 0.90; }
.vqi-gallery-thumb--on { border-color: #E60064; opacity: 1; }

.vqi-gallery-counter {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

/* ================================================================
   DARK ZONE
   ================================================================ */
.vqi-dark-zone {
  background: #323755;
  padding-top: 128px; /* landing: pt-32 = 128px. Responsive overrides en media queries. */
  padding-bottom: 32px;
}

.vqi-dark-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── Accordions ── */
.vqi-accs { display: flex; flex-direction: column; gap: 10px; }

.vqi-acc {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s;
}
.vqi-acc:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.12); }

.vqi-acc-hd {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
  font-family: inherit;
}
.vqi-acc-hd:hover { background: #f8fafc; }

.vqi-acc-hd-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vqi-acc-ico {
  background: #E60064;
  border-radius: 10px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.vqi-acc-title {
  font-size: 14px;
  font-weight: 700;
  color: #323755;
}

.vqi-acc-chevron {
  color: #94a3b8;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s;
}
.vqi-acc-chevron--open { transform: rotate(180deg); color: #E60064; }

.vqi-acc-body { padding: 0 20px 16px; }

.vqi-acc-body-inner {
  border-left: 4px solid #E60064;
  padding: 12px 14px;
  border-radius: 0 8px 8px 0;
  background: #f8fafc;
}

.vqi-acc-text {
  font-size: 13px;
  color: #475569;
  line-height: 1.7;
  margin: 0;
}

.vqi-acc-subtitle {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin: 12px 0 4px;
}

/* ── CTA ── */
.vqi-cta {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}

.vqi-cta-title {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #323755;
  margin: 0 0 8px;
}

.vqi-cta-sub { font-size: 13px; color: #323755; margin: 0 0 20px; }

.vqi-cta-banks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 24px;
}

.vqi-bank { font-size: 14px; font-weight: 800; color: #1e293b; white-space: nowrap; }
.vqi-bank--bancolombia { color: #FFCC00; background: #003087; padding: 5px 12px; border-radius: 6px; font-size: 12px; }
.vqi-bank--davivienda { color: #E8131A; font-style: italic; }
.vqi-bank--occidente { color: #005BAA; }
.vqi-bank--bogota { color: #003082; }
.vqi-bank--fna { color: #005BAA; font-weight: 900; font-size: 16px; }
.vqi-bank--union { color: #1e293b; }

/* ── Footer ── */
.vqi-foot {
  background: #2A2F47;
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.vqi-foot-left { display: flex; flex-direction: column; gap: 4px; }
.vqi-foot-copy { font-size: 12px; color: rgba(255,255,255,0.80); margin: 0; }
.vqi-foot-valid { font-size: 11px; color: rgba(255,255,255,0.50); margin: 0; }

.vqi-foot-social { display: flex; gap: 10px; }

.vqi-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #E60064;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.15s;
}
.vqi-social-btn:hover { background: #C40055; }

/* ================================================================
   FLOATING ADVISOR
   ================================================================ */
.vqi-advisor {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.vqi-advisor-panel {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  width: 280px;
  overflow: hidden;
  transform-origin: bottom right;
  animation: vqi-advisor-in 0.2s ease;
}

@keyframes vqi-advisor-in {
  from { opacity: 0; transform: scale(0.85) translateY(10px); }
  to   { opacity: 1; transform: scale(1)    translateY(0);    }
}

.vqi-advisor-hd {
  background: linear-gradient(135deg, #323755 0%, #1e293b 100%);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.vqi-advisor-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.25);
  flex-shrink: 0;
}

.vqi-advisor-photo-ph {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.vqi-advisor-name { font-size: 14px; font-weight: 700; color: #ffffff; margin: 0 0 2px; }
.vqi-advisor-title { font-size: 11px; color: rgba(255,255,255,0.70); margin: 0; }

.vqi-advisor-status {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  font-size: 10px;
  color: rgba(255,255,255,0.60);
}
.vqi-advisor-status-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
}

.vqi-advisor-collapse {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}
.vqi-advisor-collapse:hover { background: rgba(255,255,255,0.28); }

.vqi-advisor-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vqi-advisor-wa-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #E60064;
  color: #ffffff;
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(230,0,100,0.30);
  transition: background 0.15s, box-shadow 0.15s;
}
.vqi-advisor-wa-btn:hover { background: #C40055; box-shadow: 0 6px 16px rgba(230,0,100,0.40); color: #ffffff; }

.vqi-advisor-contacts { display: flex; flex-direction: column; gap: 6px; }

.vqi-advisor-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #F8FAFC;
  border: 1px solid #e2e8f0;
  font-size: 12px;
  color: #0f172a;
  text-decoration: none;
  transition: background 0.15s;
}
.vqi-advisor-contact:hover { background: #f1f5f9; }

.vqi-advisor-contact-ico {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vqi-advisor-contact-ico--phone { background: #E0F2FE; color: #0369a1; }
.vqi-advisor-contact-ico--email { background: #EDE9FE; color: #7C3AED; }

.vqi-advisor-bubble {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E60064, #C40055);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(230,0,100,0.40);
  transition: transform 0.15s, box-shadow 0.15s;
}
.vqi-advisor-bubble:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(230,0,100,0.50); }

/* ================================================================
   RESPONSIVE
   Breakpoints alineados al landing (Tailwind sm=640 md=768 lg=1024 xl=1280)
   Lógica: mobile-first. Cards: 1 col <640px · 2 col 640px+ · 3 col 1024px+
   Dark zone padding-top compensa el margin-bottom negativo de las cards.
   ================================================================ */

/* ── 480px+: pequeño ajuste de gap ── */
@media (min-width: 480px) {
  .vqi-cards-grid { gap: 20px; }
}

/* ── sm · 640px+: 2 columnas, header compacto ── */
@media (min-width: 640px) {
  .vqi-header-inner { padding: 14px 24px; }
  .vqi-hero-wrap, .vqi-main { padding-left: 24px; padding-right: 24px; }
  .vqi-dark-inner { padding: 0 24px; }
  .vqi-logo { height: 32px; }

  /* 2 columnas a partir de 640px (igual que landing sm:grid-cols-2) */
  .vqi-cards-grid--2,
  .vqi-cards-grid--3 { grid-template-columns: repeat(2, 1fr); }

  /* margin-bottom + dark padding-top = landing: mb[-120] + pt-32(128) ≈ 8px visible */
  .vqi-cards-grid { gap: 20px; margin-bottom: -120px; }
  .vqi-dark-zone { padding-top: 148px; padding-bottom: 48px; }

  .vqi-card-img-wrap { height: 220px; }
  .vqi-card-body { padding: 18px; }
}

/* ── md · 768px+: más padding interior ── */
@media (min-width: 768px) {
  .vqi-header-inner { padding: 20px 48px; }
  .vqi-hero-wrap, .vqi-main { padding-left: 48px; padding-right: 48px; }
  .vqi-dark-inner { padding: 0 48px; }
  .vqi-hero { padding: 48px; }
  .vqi-hero-text { font-size: 20px; }

  /* landing md: mb[-140] + pt-40(160) = 20px visible */
  .vqi-cards-grid { gap: 28px; margin-bottom: -140px; }
  .vqi-dark-zone { padding-top: 168px; padding-bottom: 64px; }

  .vqi-card-img-wrap { height: 240px; }
  .vqi-card-body { padding: 20px; }

  /* md:grid-cols-2 — specs en 2 columnas a partir de 768px */
  .vqi-card-specs { padding: 20px; }
  .vqi-card-specs-title { font-size: 16px; }
  .vqi-card-specs-grid { grid-template-columns: 1fr 1fr; }
  .vqi-spec-val { font-size: 16px; }

  /* md: botones — py-3 px-6 text-sm */
  .vqi-btn-wa,
  .vqi-btn-outline { padding: 12px 24px; font-size: 14px; }

  /* md: precios — p-5, text-sm labels, text-4xl reserva, text-3xl cuotas */
  .vqi-card-reserva,
  .vqi-card-cuotas { padding: 20px; }
  .vqi-card-reserva-lbl,
  .vqi-card-cuotas-lbl { font-size: 14px; }
  .vqi-card-reserva-price { font-size: 36px; }
  .vqi-card-cuotas-price { font-size: 30px; }
  .vqi-card-plan-link { font-size: 14px; }
  .vqi-card-total { font-size: 14px; }
}

/* ── lg · 1024px+: 3 columnas ── */
@media (min-width: 1024px) {
  .vqi-header-inner { padding: 20px 80px; }
  .vqi-hero-wrap, .vqi-main { padding-left: 80px; padding-right: 80px; }
  .vqi-dark-inner { padding: 0 80px; }
  .vqi-logo { height: 36px; }
  .vqi-hero { padding: 48px 80px; }

  /* 3 columnas a partir de 1024px (igual que landing lg:grid-cols-3) */
  .vqi-cards-grid--3 { grid-template-columns: repeat(3, 1fr); }

  /* landing lg: mb[-160] + pt-48(192) = 32px visible */
  .vqi-cards-grid { gap: 32px; margin-bottom: -160px; }
  .vqi-dark-zone { padding-top: 196px; }
}

/* ── xl · 1280px+: padding máximo ── */
@media (min-width: 1280px) {
  .vqi-header-inner { padding: 20px 120px; }
  .vqi-hero-wrap, .vqi-main { padding-left: 120px; padding-right: 120px; }
  .vqi-dark-inner { padding: 0 120px; }
}

/* ── <640px: ajustes mobile ── */
@media (max-width: 639px) {
  /* TRM oculto en mobile igual que landing (hidden sm:flex) */
  .vqi-header-trm { display: none; }

  /* Cards en 1 columna (ya es el default, pero lo reforzamos) */
  .vqi-cards-grid--2,
  .vqi-cards-grid--3 { grid-template-columns: 1fr; }

  /* Overlap conservador en mobile: mb[-108] + pt-base(128) = 20px visible */
  .vqi-cards-grid { margin-bottom: -108px; gap: 14px; }

  /* Precio reserva más pequeño para que quepa en 1 col full-width */
  .vqi-card-reserva-price { font-size: 24px; }
}

/* ── <480px: pantallas muy pequeñas ── */
@media (max-width: 479px) {
  .vqi-header-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .vqi-header-left { flex-wrap: nowrap; }
  .vqi-header-right { width: 100%; justify-content: flex-end; }
  .vqi-card-cuotas-price { font-size: 20px; }
  .vqi-loc-nearby-grid { grid-template-columns: 1fr; }
  .vqi-loc-map-wrap { height: 220px; }
  .vqi-advisor { right: 12px; bottom: 12px; }
  .vqi-advisor-panel { width: 260px; }
}

/* ================================================================
   BADGE VARIANTS
   ================================================================ */
.vqi-card-badge--sold {
  background: #F0F4FF;
  color: #4A5568;
  border-color: rgba(74,85,104,0.20);
}

/* ================================================================
   LOCATION BUTTON
   ================================================================ */
.vqi-location-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.15s;
}
.vqi-location-btn:hover { color: #E60064; }
.vqi-location-btn svg { flex-shrink: 0; }

/* ================================================================
   BANK LOGOS IN CTA
   ================================================================ */
.vqi-bank-logo {
  height: 40px;
  width: auto;
  opacity: 0.70;
  transition: opacity 0.15s;
}
.vqi-bank-logo:hover { opacity: 1; }

/* ================================================================
   LOCATION MODAL
   ================================================================ */
.vqi-modal--loc { max-width: 640px; }

.vqi-loc-hd-ico {
  width: 40px;
  height: 40px;
  background: rgba(230,0,100,0.10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E60064;
  flex-shrink: 0;
}

.vqi-loc-map-wrap {
  width: 100%;
  height: 280px;
  background: #e2e8f0;
}
.vqi-loc-map-wrap iframe { display: block; }

.vqi-loc-nearby-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.vqi-loc-nearby-title {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #323755;
  margin: 0;
}

.vqi-loc-open-maps {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #E60064;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}
.vqi-loc-open-maps:hover { color: #C40055; }

.vqi-loc-nearby-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.vqi-loc-nearby-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F5F7FA;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  color: #374151;
  transition: background 0.15s;
}
.vqi-loc-nearby-item:hover { background: #e9ecf0; }

.vqi-loc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E60064;
  flex-shrink: 0;
}

.vqi-loc-coords {
  font-size: 10px;
  color: #94a3b8;
  text-align: center;
  margin: 0;
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
}


/* ================================================================
   FLOATING ADVISOR — PINK HEADER VARIANT
   ================================================================ */
.vqi-advisor-hd--pink {
  background: linear-gradient(135deg, #E60064 0%, #C40055 100%);
}

.vqi-advisor-text {
  font-size: 12px;
  color: #374151;
  line-height: 1.6;
  margin: 0;
}

.vqi-advisor-wa-btn--green {
  background: #25D366;
  box-shadow: 0 4px 12px rgba(37,211,102,0.30);
}
.vqi-advisor-wa-btn--green:hover {
  background: #20BA5A;
  box-shadow: 0 6px 16px rgba(37,211,102,0.40);
  color: #ffffff;
}

.vqi-advisor-quick-btns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.vqi-advisor-quick-btn {
  background: #f1f5f9;
  color: #323755;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  margin: 0 auto;
}
.vqi-advisor-quick-btn:hover { background: #e2e8f0; }

.vqi-advisor-contact-text {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #64748b;
  margin: 0;
}
.vqi-advisor-contact-text svg { flex-shrink: 0; }

/* ================================================================
   MOBILE VIEW / TABLET VIEW — toggle
   Mobile (<640px): ProjectComparison visible, cards-grid oculto
   Tablet+ (≥640px): al revés
   ================================================================ */
.vqi-mobile-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: -108px;
}
.vqi-tablet-view { display: block; }

@media (min-width: 640px) {
  .vqi-mobile-view { display: none; }
}
@media (max-width: 639px) {
  .vqi-tablet-view { display: none; }
}

/* ================================================================
   PROJECT COMPARISON — vqi-cmp-*
   ================================================================ */
.vqi-cmp {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  overflow: hidden;
}

/* ── Imágenes ── */
.vqi-cmp-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.vqi-cmp-img-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: #e2e8f0;
}
.vqi-cmp-img-wrap--r { border-left: 2px solid #ffffff; }
.vqi-cmp-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vqi-cmp-img-empty {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}
.vqi-cmp-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0,0,0,0.50);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  padding: 0;
  transition: background 0.15s;
}
.vqi-cmp-nav:hover { background: rgba(0,0,0,0.72); }
.vqi-cmp-nav--prev { left: 4px; }
.vqi-cmp-nav--next { right: 4px; }
.vqi-cmp-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: inline-flex;
  background: #FFF0F5;
  color: #E60064;
  border: 1px solid rgba(230,0,100,0.2);
  border-radius: 999px;
  padding: 2px 6px;
  font-size: 9px;
  font-weight: 600;
}

/* ── Nombres ── */
.vqi-cmp-names {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #e5e7eb;
}
.vqi-cmp-name-cell {
  padding: 12px 10px;
  text-align: center;
  border-right: 1px solid #e5e7eb;
}
.vqi-cmp-name-cell:last-child { border-right: none; }
.vqi-cmp-name {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #323755;
  margin: 0 0 6px;
  line-height: 1.3;
}
.vqi-cmp-loc-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 0;
  font-size: 10px;
  color: #6b7280;
  cursor: pointer;
  font-family: inherit;
}
.vqi-cmp-loc-btn svg { color: #E60064; flex-shrink: 0; }
.vqi-cmp-loc-btn:hover { color: #374151; }

/* ── Características ── */
.vqi-cmp-specs {
  padding: 14px;
  background: linear-gradient(to bottom right, #F5F7FA, #ffffff);
}
.vqi-cmp-specs-title {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #323755;
  margin: 0 0 10px;
  text-align: center;
}
.vqi-cmp-specs-body { display: flex; flex-direction: column; gap: 10px; }
.vqi-cmp-spec-row {
  display: grid;
  grid-template-columns: 40px 1fr 1fr;
  gap: 8px;
  align-items: center;
}
.vqi-cmp-spec-ico {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(230,0,100,0.10);
  color: #E60064;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  flex-shrink: 0;
}
.vqi-cmp-spec-ico svg { width: 15px; height: 15px; }
.vqi-cmp-spec-cell { text-align: center; }
.vqi-cmp-spec-lbl { font-size: 10px; color: #6b7280; margin: 0; line-height: 1.2; }
.vqi-cmp-spec-val { font-size: 13px; font-weight: 700; color: #111827; margin: 2px 0 0; line-height: 1.2; }

/* ── Precios ── */
.vqi-cmp-prices {
  padding: 14px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vqi-cmp-price-lbl { font-size: 10px; color: #6b7280; text-align: center; margin: 0 0 8px; }
.vqi-cmp-price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vqi-cmp-price-box {
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
}
.vqi-cmp-price-box--pink { background: #FFF0F5; border: 1px solid #E60064; }
.vqi-cmp-price-box--navy { background: #F5F7FA; border: 1px solid #323755; }
.vqi-cmp-price-val {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #E60064;
  margin: 0;
  line-height: 1.2;
}
.vqi-cmp-price-val--navy { color: #323755; }
.vqi-cmp-price-unit { font-size: 9px; color: #94a3b8; margin: 2px 0 0; }
.vqi-cmp-price-total-cell { text-align: center; }
.vqi-cmp-price-total-val { font-size: 11px; font-weight: 600; color: #0f172a; margin: 0; }

/* ── Acciones ── */
.vqi-cmp-actions {
  padding: 0 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vqi-cmp-btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vqi-cmp-btn-primary {
  background: #E60064;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 10px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(230,0,100,0.25);
  transition: background 0.15s;
}
.vqi-cmp-btn-primary:hover { background: #C40055; }
.vqi-cmp-btn-outline-pink {
  background: transparent;
  color: #E60064;
  border: 1px solid #E60064;
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 10px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: background 0.15s, color 0.15s;
}
.vqi-cmp-btn-outline-pink:hover { background: #E60064; color: #ffffff; }

/* ================================================================
   INTRO DIALOG (popup de contexto previo a la cotización)
   ================================================================ */
.vqi-intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: #F5F2EC;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 24px 16px;
}

.vqi-intro-card {
  width: 100%;
  max-width: 440px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vqi-intro-eyebrow {
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
}

/* ── Stepper ── */
.vqi-intro-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
}

.vqi-intro-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 68px;
  flex-shrink: 0;
}

.vqi-intro-step-ico {
  position: relative;
  width: 48px;
  height: 48px;
}

.vqi-intro-step-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #16a34a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #F5F2EC;
}

.vqi-intro-step--locked .vqi-intro-step-badge {
  background: #b9b3a7;
}

.vqi-intro-step-lbl {
  font-size: 12px;
  line-height: 1.25;
  text-align: center;
  color: #6b7280;
}

.vqi-intro-step--active .vqi-intro-step-lbl {
  font-weight: 700;
  color: #1f2937;
}

.vqi-intro-step--locked .vqi-intro-step-lbl {
  color: #b0a99d;
}

.vqi-intro-connector {
  flex: 1;
  min-width: 12px;
  height: 2px;
  margin-top: 23px;
  background: #16a34a;
  border-radius: 2px;
}

.vqi-intro-connector--pending {
  background: transparent;
  border-top: 2px dashed #cfc9bd;
  height: 0;
}

/* ── CA2: Etapa actual ── */
.vqi-intro-current {
  background: #ffffff;
  border: 1px solid #EAE6DE;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.vqi-intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #E6F4EC;
  color: #16a34a;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.vqi-intro-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
}

.vqi-intro-title {
  margin: 0 0 12px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 600;
  color: #1f2937;
}

.vqi-intro-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #4b5563;
}

/* ── CA3: Lo que viene (informativo) ── */
.vqi-intro-next {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #F1EFE9;
  border: 1px dashed #D6D0C4;
  border-radius: 12px;
  padding: 16px;
}

.vqi-intro-next-ico {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #E4E0D7;
  color: #7c766a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vqi-intro-next-hd {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8a8375;
}

.vqi-intro-next-body {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #6b6558;
}

/* ── CA4: CTA + fecha ── */
.vqi-intro-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.vqi-intro-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #1f2937;
  border: 1.5px solid #1f2937;
  border-radius: 12px;
  padding: 12px 24px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.vqi-intro-cta:hover {
  background: #1f2937;
  color: #ffffff;
}

.vqi-intro-date {
  margin: 0;
  font-size: 12px;
  color: #9ca3af;
  text-align: center;
}

@media (max-width: 380px) {
  .vqi-intro-step { width: 60px; }
  .vqi-intro-step-ico { width: 42px; height: 42px; }
  .vqi-intro-step-ico svg { width: 42px; height: 42px; }
  .vqi-intro-connector { margin-top: 20px; }
  .vqi-intro-title { font-size: 23px; }
}
