@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; }
