/**
 * Bantokens Joomla Template Styles
 * Concentrador único de estilos de la plantilla
 */

/* ==========================================================================
   1. PIE DE PÁGINA (FOOTER)
   ========================================================================== */
.footer-btk-cols.cols {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  color: #99c9ff;
  font-family: inherit;
}

@media (max-width: 800px) {
  .footer-btk-cols.cols {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-btk-cols h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin: 0 0 18px 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer-btk-cols p {
  margin: 0 0 12px 0;
  line-height: 1.55;
  color: #99c9ff;
  font-size: 0.92rem;
}

.footer-btk-cols a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-btk-cols a:hover {
  color: #fdba02;
}

.footer-btk-cols .fl {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin-bottom: 12px;
}

.footer-btk-cols .fl svg {
  width: 16px;
  height: 16px;
  color: #99c9ff;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-btk-cols .ssl-seal-wrap {
  margin: 14px 0 18px 0;
}

.footer-btk-cols .ssl-seal-img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

.footer-btk-cols .mmv {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-btk-cols .mmv iframe,
.footer-btk-cols .mmv img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
}

/* ==========================================================================
   2. POSICIONES DE NAVEGACIÓN Y CABECERA (TOP BAR & MENU)
   ========================================================================== */
#site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
}

.topbar .mod-custom {
  display: contents;
}

.navmain-logo,
.navmain-logo .mod-custom {
  display: contents;
}

.navmain-menu {
  display: contents;
}

.site-header-nav {
  display: none;
}

/* Fuente dinámica Elfsight para Google Reviews (solo se oculta si tiene aria-hidden="true" o modo custom) */
.elfsight-app-cdd14806-a5ca-4173-86d3-1638d8235ffb[aria-hidden="true"],
.reviews-mode-custom .elfsight-app-cdd14806-a5ca-4173-86d3-1638d8235ffb {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Animación de carrusel continuo: se desplaza suavemente de derecha a izquierda */
@keyframes rvrun {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Posición flotante para botones e iconos flotantes (WhatsApp, chat, etc.) */
.bt-flotante {
  position: relative;
  z-index: 99999;
}

/* Ocultar elementos estáticos del prototipo antiguo */
#avisos,
#asistente {
  display: none !important;
}

/* Posicionamiento del widget flotante de WhatsApp (Módulo 187) sobre el chat en la parte inferior derecha */
div.whatsappsupportmultiflat,
.bt-flotante div.whatsappsupportmultiflat {
  left: auto !important;
  right: 20px !important;
  bottom: 96px !important;
  z-index: 99999 !important;
}

div.whatsappsupportmultiflat>.online_agent_count {
  left: auto !important;
  right: -5px !important;
  top: -5px !important;
}

/* Caja desplegable de agentes cuando se hace clic en WhatsApp */
div.whatsappsupportmultiflat_box,
.boxright,
div.wa_agent,
.wa_agent,
.wa_agent.boxright {
  left: auto !important;
  right: 20px !important;
  bottom: 168px !important;
  z-index: 999999 !important;
}

/* ==========================================================================
   3. TIPOGRAFÍA GLOBAL: ENCABEZADOS H1 UNIFICADOS
   Modificar aquí para cambiar el tamaño y estilo de los H1 en todo el sitio
   ========================================================================== */
h1,
.abhero h1,
.ehead h1,
.fhead h1,
.shead h1,
.bhead h1,
.ahead h1,
.vhead h1,
.thead h1,
.cg-head h1,
.plat-hello h1,
.art-head h1,
.phero h1,
.pf h1,
#hero h1,
.bt-generic h1 {
  font-size: clamp(20px, 6vw, 40px) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.02em !important;
  font-weight: var(--fw-bold, 700) !important;
}

/* ==========================================================================
   4. TIPOGRAFÍA GLOBAL: ENCABEZADOS H2 UNIFICADOS
   Modificar aquí para cambiar el tamaño y estilo de los H2 en todo el sitio
   ========================================================================== */
h2,
.block h2,
h2.wide,
.spot .img h2,
.past h2,
.cta-final h2,
.help h2,
.feat h2,
.svc h2,
.stats-band h2,
.strip h2,
.prose h2,
.bt-generic h2 {
  font-size: clamp(19px, 3.2vw, 25px) !important;
  line-height: var(--lh-heading, 1.15) !important;
  letter-spacing: -0.02em !important;
  font-weight: var(--fw-bold, 700) !important;
}

#hero h2 {
  font-size: clamp(20px, 6vw, 40px) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.02em !important;
  font-weight: var(--fw-bold, 700) !important;
}