@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

:root {
  --cq-ink: #1f3b70;
  --cq-navy: #2d4a8c;
  --cq-plum: #8b4c70;
  --cq-gold: #e8a540;
  --cq-coral: #f0745e;
  --cq-cream: #fff7f5;
}

/* Ocultar breadcrumb clásico en todo el sitio del congreso */
.breadcrumb-classic { display: none !important; }

body,
.page,
h1, h2, h3, h4, h5, h6, p, a, span, li {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== Hero / Conoce el congreso ===== */
.fullscreen-image {
  margin-top: 0 !important;
  width: 100vw !important;
  height: auto !important;
  min-height: 88vh;
  background-image: url('../images/banner2.png') !important;
  background-size: contain !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-color: #0b1220;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-end !important;
  position: relative;
  overflow: hidden;
  padding: 0 1rem 3.5rem;
}

.fullscreen-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,18,32,.9) 0%, rgba(11,18,32,.2) 40%, transparent 70%);
  pointer-events: none;
}

.btn-programa {
  position: relative;
  z-index: 2;
  margin-top: 0 !important;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .95rem 2rem;
  background: var(--cq-coral) !important;
  color: #fff !important;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 14px 35px rgba(240,116,94,.4);
  transition: all .25s ease;
}

.btn-programa::after {
  content: "→";
  font-weight: 800;
}

.btn-programa:hover {
  background: var(--cq-ink) !important;
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(31,59,112,.35);
}

/* ===== Navbar ===== */
body .rd-navbar.rd-navbar-transparent {
  background: rgba(31,59,112,.92) !important;
}

body .rd-navbar.rd-navbar-default.rd-navbar-static .rd-navbar-inner,
body .rd-navbar.rd-navbar-static .rd-navbar-inner,
body .rd-navbar .rd-navbar-inner {
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

body .text-muted,
.text-muted {
  color: #3a3a3a !important;
}

body .rd-navbar-nav > li > a > span,
body .rd-navbar-brand a {
  color: #fff !important;
}

body .rd-navbar-toggle span,
body .rd-navbar-toggle span::before,
body .rd-navbar-toggle span::after {
  background: #fff !important;
}

/* ===== Colores de secciones ===== */
body .section.bg-mantis,
body .bg-mantis { background: var(--cq-ink) !important; }

body .section.bg-acapulco,
body .bg-acapulco { background: var(--cq-navy) !important; }

body .section.bg-blue-gray,
body .bg-blue-gray { background: #1a2b4d !important; }

body .section.bg-default,
body .bg-default { background: var(--cq-cream) !important; }

body .section.bg-black,
body .bg-black,
body .page-footer { background: #0b1220 !important; }

body .context-dark h1,
body .context-dark h2,
body .context-dark p,
body .context-dark .big { color: #fff !important; }

body .text-mantis,
body .text-primary,
body .icon-darkest-filled { color: var(--cq-gold) !important; }

body .bg-default h1,
body .bg-default h2,
body .bg-default p { color: var(--cq-ink) !important; }

/* ===== Expo thumbnails ===== */
.thumbnail-simple { text-decoration: none !important; }
.thumbnail-simple .thumbnail-wrap {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,.1);
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}
.thumbnail-simple:hover .thumbnail-wrap {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(0,0,0,.16);
}
.thumbnail-simple img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 1rem;
  background: #fff;
}

/* ===== Botones ===== */
body .btn-primary,
body .btn.btn-primary {
  background: var(--cq-coral) !important;
  border-color: var(--cq-coral) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  padding: .65rem 1.5rem !important;
  transition: all .2s ease;
}
body .btn-primary:hover,
body .btn.btn-primary:hover {
  background: var(--cq-ink) !important;
  border-color: var(--cq-ink) !important;
}

body .btn-default,
body .btn.btn-default {
  background: rgba(255,255,255,.1) !important;
  border: 1px solid rgba(255,255,255,.5) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  transition: all .2s ease;
}
body .btn-default:hover,
body .btn.btn-default:hover {
  background: #fff !important;
  color: var(--cq-ink) !important;
}

/* ===== Fondo y utilidades ===== */
body {
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%) !important;
  background-attachment: fixed !important;
}

/* ===== Agenda ===== */
#agenda-banner {
  background: var(--cq-gold) !important;
  color: var(--cq-ink) !important;
  padding: 1.5rem 0;
  border-top: 6px solid var(--cq-navy);
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
#agenda-banner p { color: var(--cq-ink) !important; margin: 0; }
#agenda-banner .h4 { font-size: 1.6rem; }
#agenda-banner .h5 { opacity: .95; }

/* ===== Galería ===== */
#galeria-congreso { padding: 4rem 0; }
#galeria-congreso img { border-radius: 12px; transition: transform .3s; }
#galeria-congreso img:hover { transform: scale(1.03); }

/* ===== Mapa ===== */
#sede-mapa { padding: 4rem 0; }
.cq-mapa { border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.1); border: none; }
.cq-mapa iframe { width: 100%; height: 100%; border: 0; }
.cq-hotel-sugerido {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

/* ===== Chatbot arriba de todo ===== */
#conquilab-chat-fab { z-index: 10001 !important; bottom: 110px !important; right: 24px !important; }
#conquilab-chat-window { z-index: 10000 !important; bottom: 180px !important; right: 24px !important; }

/* ===== WhatsApp flotante ===== */
.cq-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  transition: transform .2s, box-shadow .2s;
}
.cq-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
  color: #fff !important;
}

/* ===== Footer ===== */
body .page-footer h6 { color: var(--cq-gold) !important; }
body .page-footer a { color: #e0e7ff !important; }
body .page-footer .text-darker { color: rgba(255,255,255,.6) !important; }
body .page-footer .small a { color: var(--cq-gold) !important; }

/* ===== Accordion modales ===== */
.card-classic .card-header {
  background: var(--cq-ink) !important;
  color: #fff !important;
  border: 0 !important;
  font-weight: 700;
}
#congreso-dinamico { padding: 4rem 0; }
#congreso-dinamico h4 { color: var(--cq-ink); }
#congreso-dinamico .card { border-radius: 16px; box-shadow: 0 4px 16px rgba(0,0,0,.08); }
#congreso-dinamico .badge { background: var(--cq-gold); color: var(--cq-ink); font-size: .75rem; padding: .35em .65em; border-radius: .5rem; }
#expo-section { display: none !important; }

/* ===== Hero congreso ===== */
.cq-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0b1220 0%, #1f3b70 100%);
  padding-top: 90px;
  box-sizing: border-box;
}
.cq-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11,18,32,.55);
  z-index: 2;
}
.cq-hero-split {
  position: relative;
  z-index: 3;
  padding: 2rem 1.5rem;
  max-width: 1140px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.cq-hero-info {
  flex: 1 1 420px;
  min-width: 0;
  text-align: left;
}
.cq-hero-image {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  justify-content: center;
  order: -1;
}
.cq-hero-info .btn {
  border-radius: 50px;
  padding: .85rem 2rem;
  font-weight: 700;
}
@media (max-width: 991px) {
  .cq-hero-split {
    flex-direction: column;
    text-align: center;
  }
  .cq-hero-image {
    order: -1;
  }
  .cq-hero-info {
    text-align: center;
  }
  .cq-hero-chips,
  .cq-hero-cta {
    justify-content: center;
  }
}
.cq-hero-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.cq-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.cq-hero-slide.active {
  opacity: 1;
}
.cq-hero-eyebrow {
  display: inline-block;
  background: rgba(232,165,64,.15);
  border: 1px solid var(--cq-gold);
  color: var(--cq-gold);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.cq-hero-banner-img {
  max-width: 100%;
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.cq-hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: .6rem;
  margin-bottom: 1.25rem;
}
.cq-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  padding: .5rem 1rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.cq-chip .fa {
  color: var(--cq-gold);
}
.cq-hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1rem;
  margin-top: .5rem;
}
.cq-hero-cta .btn-outline-light {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  border-radius: 50px;
  font-weight: 700;
  padding: .85rem 2rem;
}
.cq-hero-cta .btn-outline-light:hover {
  background: #fff;
  color: var(--cq-ink);
}
.cq-hero-microcopy {
  margin-top: 1.25rem;
  color: rgba(255,255,255,.75);
  font-size: .85rem;
  letter-spacing: .02em;
}
.cq-hero-microcopy .fa {
  color: var(--cq-gold);
  margin-right: .3rem;
}
.cq-hero-doll {
  position: absolute;
  right: -5%;
  bottom: 0;
  width: 45%;
  height: 80%;
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.cq-hero-doll img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: .15;
  filter: blur(4px) grayscale(20%);
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 75%);
}

/* ===== Logos patrocinadores/expositores ===== */
.expositor-logo {
  background: #fff;
  border: 1px solid rgba(31,59,112,.08);
  border-radius: 1rem;
  padding: 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(31,59,112,.05);
}

/* ===== Modal de paquetes (estilo index.html) ===== */
.modal-xl { width: 96%; max-width: 1200px; }
.paquetes-oferta { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; text-align: left; }
.paquete-card { background: #fff; border: 1px solid rgba(23,36,79,.1); border-radius: 18px; padding: 1.5rem; box-shadow: 0 10px 30px rgba(23,36,79,.08); text-align: center; }
.paquete-card h3 { color: #17244f; font-weight: 800; margin: 0 0 .25rem; font-size: 1.15rem; }
.paquete-card .price { font-size: 1.5rem; font-weight: 800; color: #f0745e; margin: .75rem 0; }
.paquete-card .price .old { font-size: .9rem; color: #9ca3af; text-decoration: line-through; margin-left: .4rem; }
.paquete-card .badge { display: inline-block; font-size: .75rem; font-weight: 600; padding: .25rem .75rem; border-radius: 999px; background: #e57d65; color: #fff; margin-bottom: 1rem; width: fit-content; }
.paquete-card .desc { color: #65708b; font-size: .85rem; margin-bottom: .75rem; line-height: 1.5; }
.paquete-card .features { list-style: none; padding: 0; margin: 0 0 1.25rem; text-align: left; font-size: .9rem; color: #4a5570; }
.paquete-card .features li { padding: .25rem 0; }
.paquete-card .features li i { color: #16a34a; margin-right: .5rem; width: 20px; text-align: center; }
.paquete-card .cta { display: inline-block; margin-top: .5rem; padding: .6rem 1.2rem; border-radius: 999px; background: #f0745e; color: #fff; text-decoration: none; font-weight: 700; }
.paquete-card .cta:hover { background: #c95b47; }
.paquetes-loading, .paquetes-error { text-align: center; color: #65708b; }
.paquetes-error { color: #dc2626; }
.paquete-card.skeleton { background: linear-gradient(90deg, rgba(31,59,112,.08) 25%, rgba(31,59,112,.15) 50%, rgba(31,59,112,.08) 75%); background-size: 200% 100%; animation: skeleton 1.5s infinite; border-radius: 18px; border: 1px solid rgba(31,59,112,.1); }

/* ===== Congreso tabs/paquetes ===== */
.cq-tabs {
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 1.5rem;
  text-align: center;
}
.cq-tabs > li {
  display: inline-block;
  margin: 0 4px;
}
.cq-tabs > li > a {
  display: block;
  padding: .75rem 1.25rem;
  color: var(--cq-navy);
  font-weight: 600;
  border-radius: 12px 12px 0 0;
  background: #f1f5f9;
}
.cq-tabs > li.active > a,
.cq-tabs > li > a:hover,
.cq-tabs > li > a:focus {
  background: var(--cq-navy);
  color: #fff;
  text-decoration: none;
}
.cq-tab-content {
  background: #fff;
  border-radius: 0 0 16px 16px;
  padding: 1.5rem 0;
}
.cq-paquete-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  transition: transform .2s;
}
.cq-paquete-card:hover { transform: translateY(-4px); }
.cq-paquete-card ul li { margin-bottom: .25rem; }
.cq-paquete-card .d-flex { display: flex; gap: .5rem; }

/* ===== Eventos sociales ===== */
.cq-evento-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  transition: transform .2s;
  text-align: left;
}
.cq-evento-card:hover { transform: translateY(-4px); }
.cq-evento-card .badge-info { background: #2563EB; color: #fff; }
.cq-evento-card img { border-radius: 12px; }
.cq-evento-card .fa { color: #2563EB; width: 18px; }

/* ===== Modal de paquete ===== */
#modalPaquete,
#modalPaquetes { z-index: 10003 !important; }
.modal-backdrop { z-index: 10002 !important; }
.cq-paquete-detalle { color: #334155; }
.cq-paquete-detalle ul li { padding: .25rem 0; }
.cq-hotel-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.cq-hotel-card img {
  border-radius: 12px;
  object-fit: cover;
  width: 100%;
  height: auto;
}
.cq-badge {
  display: inline-block;
  background: var(--cq-gold);
  color: var(--cq-ink);
  font-size: .7rem;
  font-weight: 700;
  padding: .25em .7em;
  border-radius: .6rem;
  text-transform: uppercase;
}

/* ===== Countdown hero ===== */
.cq-countdown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
  color: #fff;
  font-weight: 700;
}
.cq-countdown-label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .9;
  margin-right: .5rem;
}
.cq-countdown-digito {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: .6rem .8rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  backdrop-filter: blur(4px);
  font-size: 1.8rem;
  line-height: 1;
}
.cq-countdown-digito small {
  font-size: .65rem;
  font-weight: 600;
  text-transform: uppercase;
  opacity: .8;
}

/* ===== Impacto / cifras ===== */
.cq-impacto {
  padding: 3rem 0;
  background: #fff;
}
.cq-impacto-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: 16px;
  background: #f8fafc;
}
.cq-impacto-numero {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--cq-navy);
  line-height: 1;
}
.cq-impacto-label {
  color: #64748b;
  font-size: .9rem;
  margin-top: .35rem;
}

/* ===== Barra de urgencia (deshabilitada) ===== */
.cq-urgency-bar { display: none !important; }

/* ===== Promociones, descuentos y sorteos ===== */
.cq-promo-sorteo { padding: 4rem 0; background: #fff; }
.cq-promo-sorteo h2 { text-align: center; font-weight: 800; color: var(--cq-ink); margin-bottom: .25rem; }
.cq-promo-sorteo .lead { text-align: center; color: #64748b; margin-bottom: 2rem; }
.cq-promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 768px) { .cq-promo-grid { grid-template-columns: 1fr; } }
.cq-promo-col h3 { font-size: 1.2rem; font-weight: 800; color: var(--cq-ink); margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.cq-promo-card { background: #f8fafc; border-radius: 18px; padding: 1.25rem; margin-bottom: 1rem; border: 1px solid #e5e7eb; transition: .2s; }
.cq-promo-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(31,59,112,.1); }
.cq-promo-card strong { color: var(--cq-ink); font-size: 1.05rem; display: block; margin-bottom: .25rem; }
.cq-promo-card .badge { display: inline-block; background: var(--cq-coral); color: #fff; font-size: .75rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; margin-bottom: .5rem; }
.cq-promo-card .codigo { font-family: monospace; background: #fff; border: 1px dashed var(--cq-coral); color: var(--cq-coral); padding: .25rem .6rem; border-radius: 8px; font-weight: 700; }
.cq-sorteo-card { background: linear-gradient(135deg, #fff7f5 0%, #f3f0ff 100%); border: 1px solid #e5e7eb; border-radius: 18px; padding: 1.25rem; margin-bottom: 1rem; }
.cq-sorteo-card.activo { border-top: 5px solid var(--cq-coral); }
.cq-sorteo-card.pasado { border-top: 5px solid var(--cq-gold); }
.cq-sorteo-card strong { display: block; color: var(--cq-ink); font-size: 1.1rem; margin-bottom: .4rem; }
.cq-sorteo-card .premio { color: var(--cq-coral); font-weight: 700; }
.cq-sorteo-card .btn { margin-top: .75rem; margin-right: .5rem; }
.cq-vacio { color: #9ca3af; font-size: .95rem; text-align: center; padding: 1rem; }

/* Paquetes del congreso (precios por periodo) */
.cq-paquetes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; margin-top: 2.2rem; }
.cq-paquete-card { background: #fff; border: 1px solid #f0bd8d; border-top: 5px solid #e96852; border-radius: 16px; padding: 1.6rem 1.4rem; box-shadow: 0 10px 28px rgba(229,125,101,.12); text-align: center; transition: transform .2s, box-shadow .2s; }
.cq-paquete-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(229,125,101,.2); }
.cq-paquete-nombre { font-size: 1.05rem; font-weight: 700; color: #17244f; min-height: 2.4em; display: flex; align-items: center; justify-content: center; }
.cq-paquete-precio { font-size: 2.1rem; font-weight: 800; color: #c2410c; margin: .4rem 0 .1rem; }
.cq-paquete-precio small { font-size: .85rem; font-weight: 600; color: #9a3412; }
.cq-paquete-vigencia { font-size: .78rem; color: #6b7280; margin-bottom: .9rem; }
.cq-paquete-feats { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; margin-bottom: 1rem; }
.cq-paquete-feats span { background: #fff1e6; color: #9a3412; font-size: .72rem; font-weight: 600; padding: .22rem .6rem; border-radius: 999px; }
.cq-paquete-btn { display: inline-block; background: #f1f5f9; color: #64748b; font-size: .8rem; font-weight: 600; padding: .5rem 1.1rem; border-radius: 999px; }
.cq-promo-grid-single { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }
a.cq-paquete-btn-activo { background: #e96852; color: #fff !important; text-decoration: none; }
a.cq-paquete-btn-activo:hover { background: #d4573f; }
a.cq-paquete-btn { display: inline-block; }

/* ===== WhatsApp deshabilitado (numero sin API registrada) — quitar al reactivar ===== */
a[href*="whatsapp.com"],
a.cq-whatsapp,
li:has(> a[href*="whatsapp.com"]),
.contact-item:has(a[href*="whatsapp.com"]) { display: none !important; }

/* ===== Pestaña lateral izquierda estilo Edge Panel (solo móvil) ===== */
#cq-edge-tab {
  display: none; position: fixed; left: 0; top: 42%; z-index: 1060;
  width: 30px; height: 92px; padding: 0; border: 0;
  background: linear-gradient(135deg,#17244f,#2c5282);
  border-radius: 0 12px 12px 0;
  box-shadow: 4px 0 14px rgba(11,18,32,.35);
  align-items: center; justify-content: center;
  transition: transform .25s ease, left .25s ease;
}
#cq-edge-tab .cq-edge-lines { display: flex; flex-direction: column; gap: 5px; align-items: center; }
#cq-edge-tab .cq-edge-lines i { display: block; width: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
#cq-edge-tab.open { display: none !important; }
#cq-edge-tab.open .cq-edge-lines i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#cq-edge-tab.open .cq-edge-lines i:nth-child(2) { opacity: 0; }
#cq-edge-tab.open .cq-edge-lines i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menú móvil del tema rd-navbar como drawer izquierdo */
@media (max-width: 991.98px) {
  #cq-edge-tab { display: flex; }
  .rd-navbar-nav-wrap {
    left: 0 !important; right: auto !important;
    transform: translateX(-105%) !important;
    transition: transform .28s ease !important;
    width: min(78vw, 320px) !important; max-width: none !important;
    box-shadow: 12px 0 40px rgba(11,18,32,.30);
  }
  .rd-navbar-nav-wrap.active, .rd-navbar-nav-wrap.rd-navbar--is-open {
    transform: translateX(0) !important;
  }
  /* Fondo oscuro al abrir */
  .rd-navbar-nav-wrap.active::before {
    content: ''; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: -1;
    background: rgba(11,18,32,.45); pointer-events: none;
  }
  /* Sin barra fija: se oculta todo el header rd-navbar en móvil;
     el acceso al menú es la cejita lateral */
  .rd-navbar-toggle { display: none !important; }
  /* Oculta solo la barra superior (logo + buscador), el menú sigue
     accesible por la cejita lateral */
  .rd-navbar-panel { display: none !important; }
  .rd-navbar-inner { min-height: 0 !important; height: 0 !important; }
  .page-head { min-height: 0 !important; }
  body .rd-navbar-fixed { position: absolute; }
  /* Drawer oscuro acorde a la cejita */
  .rd-navbar-nav-wrap {
    background: linear-gradient(160deg,#17244f 0%,#1d3066 60%,#2c5282 100%) !important;
  }
  .rd-navbar-nav-wrap .rd-navbar-nav > li > a,
  .rd-navbar-nav-wrap .rd-navbar-dropdown > li > a,
  .rd-navbar-mobile-brand { color: #fff !important; }
  .rd-navbar-nav-wrap .rd-navbar-nav > li.active > a,
  .rd-navbar-nav-wrap .rd-navbar-nav > li > a:hover { color: #f0a793 !important; }
  .rd-navbar-nav-wrap .rd-navbar-submenu-toggle { color: #f0a793 !important; }
}

/* Chat flotante compacto en móvil (esquina inferior derecha) */
@media (max-width: 991.98px) {
  #conquilab-chat-fab {
    width: 44px !important; height: 44px !important;
    right: 12px !important; bottom: 14px !important;
  }
  #conquilab-chat-fab #conquilab-chat-fab-icon { font-size: 19px !important; }
  #conquilab-chat-window {
    width: calc(100vw - 24px) !important; right: 12px !important; bottom: 68px !important;
    max-height: 70dvh !important;
  }
}

/* Pestañas tipo pills de oferta (hoteles, catering, etc.) */
.cq-chips { display:flex; flex-wrap:wrap; justify-content:center; gap:.6rem; margin:0 0 2rem; padding:.5rem; list-style:none; background:#eef2f7; border-radius:999px; width:fit-content; margin-left:auto; margin-right:auto; }
.cq-chips li { list-style:none; margin:0; }
.cq-chips li > a { display:inline-flex; align-items:center; background:transparent; border:0; color:#64748b; font-weight:700; padding:.55rem 1.3rem; border-radius:999px; text-decoration:none; transition:all .25s; }
.cq-chips li > a:hover { color:#1f3b70; background:#fff; }
.cq-chips li.active > a, .cq-chips li > a.active { background:#1f3b70; color:#fff; box-shadow:0 3px 10px rgba(31,59,112,.25); }
.cq-chips a i { margin-right:.4rem; color:#e57d65; }
.cq-chips li.active a i, .cq-chips a.active i { color:#f3c56c; }
.cq-chip-count { background:#e57d65; color:#fff; border-radius:999px; padding:1px 8px; font-size:.75em; font-weight:800; margin-left:.4rem; }
.cq-seccion { margin-bottom:2.5rem; scroll-margin-top:90px; }
.cq-seccion-titulo { font-family:'Montserrat',sans-serif; color:#1f3b70; font-weight:800; font-size:1.35rem; margin:0 0 1.2rem; padding-bottom:.6rem; border-bottom:2px solid #e9ecef; }
.cq-seccion-titulo i { color:#e57d65; margin-right:.4rem; }
.cq-seccion-count { color:#94a3b8; font-weight:600; }
@media (max-width:640px){ .cq-chips{ border-radius:16px; width:100%; } }

/* Tarjetas de hotel con color alternado */
.cq-hotel-card { background:#fff; border-radius:14px; box-shadow:0 4px 18px rgba(0,0,0,.07); }
#cq-dinamico-hoteles > .col-12:nth-of-type(odd) .cq-hotel-card { background:#fff; }
#cq-dinamico-hoteles > .col-12:nth-of-type(odd) .cq-hotel-card { background:#1f3b70; }
#cq-dinamico-hoteles > .col-12:nth-of-type(odd) .cq-hotel-card h4,
#cq-dinamico-hoteles > .col-12:nth-of-type(odd) .cq-hotel-card .fw-bold { color:#fff; }
#cq-dinamico-hoteles > .col-12:nth-of-type(odd) .cq-hotel-card .text-muted,
#cq-dinamico-hoteles > .col-12:nth-of-type(odd) .cq-hotel-card .small { color:rgba(255,255,255,.8) !important; }
#cq-dinamico-hoteles > .col-12:nth-of-type(odd) .cq-hotel-card .cq-badge { background:#f3c56c; color:#17244f; }
.modal .cq-hotel-card:nth-of-type(odd) { background:#1f3b70; border-radius:14px; padding:1rem; }
.modal .cq-hotel-card:nth-of-type(odd) h4,
.modal .cq-hotel-card:nth-of-type(odd) .fw-bold { color:#fff; }
.modal .cq-hotel-card:nth-of-type(odd) .text-muted,
.modal .cq-hotel-card:nth-of-type(odd) .small { color:rgba(255,255,255,.8) !important; }

/* Respaldo: pane activo siempre visible aunque falten clases de bootstrap */
.cq-tab-content > .tab-pane.active { display:block; opacity:1; }

/* Ponentes por día — diseño marketing */
.cq-dia-banner { display:flex; align-items:center; gap:1rem; background:linear-gradient(120deg,#1f3b70,#2d4f8f); color:#fff; border-radius:14px; padding:.9rem 1.4rem; margin:1.8rem 0 1.4rem; box-shadow:0 6px 18px rgba(31,59,112,.28); }
.cq-dia-banner .cq-dia-num { font-family:'Montserrat',sans-serif; font-size:2.2rem; font-weight:900; color:#f3c56c; line-height:1; min-width:2.6rem; text-align:center; }
.cq-dia-banner b { font-family:'Montserrat',sans-serif; font-size:1.15rem; display:block; }
.cq-dia-banner span { color:rgba(255,255,255,.75); font-size:.85rem; text-transform:capitalize; }
.cq-dia-otros { background:linear-gradient(120deg,#475569,#64748b); }
.cq-ponente-card { background:#fff; border-radius:14px; overflow:hidden; height:100%; padding:1.4rem 1rem 1rem; text-align:center; box-shadow:0 3px 14px rgba(0,0,0,.07); border-top:4px solid #e57d65; transition:transform .2s, box-shadow .2s; }
.cq-ponente-card:hover { transform:translateY(-4px); box-shadow:0 10px 26px rgba(0,0,0,.13); }
.cq-ponente-foto { width:92px; height:92px; border-radius:50%; object-fit:cover; margin:0 auto .8rem; border:3px solid #f3c56c; display:block; }
.cq-ponente-sin-foto { display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,#1f3b70,#3b5ea8); color:#f3c56c; font-size:2.2rem; font-weight:800; font-family:'Montserrat',sans-serif; }
.cq-ponente-nombre { font-weight:800; font-family:'Montserrat',sans-serif; color:#1f3b70; font-size:.95rem; line-height:1.25; }
.cq-ponente-empresa { color:#94a3b8; font-size:.78rem; margin-top:.15rem; }
.cq-ponente-temas { margin-top:.8rem; text-align:left; border-top:1px dashed #e2e8f0; padding-top:.7rem; }
.cq-ponente-tema { display:flex; gap:.45rem; font-size:.78rem; color:#475569; line-height:1.35; margin-bottom:.45rem; }
.cq-ponente-tema i { color:#e57d65; margin-top:.15rem; }
.cq-ponente-tema b { color:#1f3b70; }

/* Tabla de costos estilo flyer (verde/amarillo/rojo por etapa) */
.cq-costos-tabla { border-collapse:separate; border-spacing:0; border-radius:14px; overflow:hidden; box-shadow:0 8px 28px rgba(0,0,0,.1); background:#fff; }
.cq-costos-tabla thead th { font-family:'Montserrat',sans-serif; font-weight:800; font-size:.8rem; text-transform:uppercase; letter-spacing:.04em; padding:.9rem .6rem; text-align:center; border:none !important; vertical-align:middle; }
.cq-costos-tabla thead th:first-child { background:#14284d; color:#fff; text-align:left; padding-left:1rem; }
.cq-costos-tabla thead th:nth-child(2) { background:#2f9e5f; color:#fff; }
.cq-costos-tabla thead th:nth-child(3) { background:#e8a200; color:#fff; }
.cq-costos-tabla thead th:nth-child(4) { background:#d64545; color:#fff; }
.cq-costos-tabla thead th:last-child { background:#0f1f3d; color:#fff; }
.cq-costos-tabla tbody td { padding:.85rem .6rem; vertical-align:middle; border-bottom:1px solid #e2e8f0 !important; }
.cq-costos-tabla tbody td:first-child { color:#14284d; font-size:.9rem; padding-left:1rem; }
.cq-costos-tabla tbody td:nth-child(2) { background:#e6f4ec; }
.cq-costos-tabla tbody td:nth-child(3) { background:#fdf3d7; }
.cq-costos-tabla tbody td:nth-child(4) { background:#fde8e8; }
.cq-costos-tabla tbody tr:hover td:nth-child(n+2) { filter:brightness(.96); }
.cq-costos-tabla td.cq-vigente { outline:3px solid #1f3b70; outline-offset:-3px; }
.cq-costos-tabla .cq-precio-tag { display:inline-block; background:#fff; color:#d64545; border-radius:999px; padding:1px 10px; font-size:.7rem; font-weight:800; margin-top:.2rem; }
.cq-sc-precio { font-family:'Montserrat',sans-serif; font-weight:900; font-size:1.05rem; color:#14284d; }
.cq-sc-precio--atenuado { opacity:.75; font-weight:700; }
.cq-costos-titulo { font-family:'Montserrat',sans-serif; color:#14284d; font-weight:800; }

/* Modal de paquetes compacto (tipo dashboard) */
.paquetes-oferta { display:flex; flex-wrap:wrap; gap:1rem; justify-content:center; max-width:880px; margin:0 auto; }
.paquetes-oferta .paquete-card { flex:0 1 250px; max-width:270px; padding:1.1rem 1rem; }
.paquetes-oferta .paquete-card h3 { font-size:1.05rem; }
.paquetes-oferta .paquete-card .precio { font-size:1.5rem; }
.cq-pendiente-aviso { width:100%; background:#fef3c7; border:1px solid #f59e0b; border-radius:10px; padding:.8rem 1rem; margin-bottom:.5rem; display:flex; flex-direction:column; gap:.3rem; font-size:.85rem; }
.cq-pendiente-link { color:#b45309; font-weight:700; }
.cq-pendiente-link.alt { color:#1f3b70; }
/* Contenedor del modal más razonable */
#modalPaquetes .modal-dialog { max-width:640px !important; }
#modalPaquetes .modal-body { max-height:75vh; overflow-y:auto; padding:1.2rem 1.4rem; }

/* Paquete con inscripción en proceso */
.paquete-card.cq-paq-pendiente { border:2px solid #16a34a !important; background:#f0fdf4 !important; position:relative; }
.paquete-card.cq-paq-pendiente::before { content:'✓ En proceso'; position:absolute; top:-10px; left:50%; transform:translateX(-50%); background:#16a34a; color:#fff; padding:2px 12px; border-radius:999px; font-size:.72rem; font-weight:700; }
