/* ===== Paleta y tokens ===== */ :root {
  /* brand */
  --brand-50: #eef5ff;
  --brand-100: #e7efff;
  --brand-200: #d9e6ff;
  --brand-500: #2d6cdf;
  --brand-600: #1e56d8;
  --brand-700: #1848b2;
  /* acentos */
  --accent-500: #0ea5a1; /* teal */
  --warn-500: #f59e0b;
  --danger-500: #ef4444;
  /* texto/fondos */
  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-500: #64748b;
  --surface: #ffffff;
  --surface-alt: #f7f9fc;
  /* radios, sombras */
  --radius-xl: 18px;
  --shadow-1: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 30px rgba(16, 24, 40, .08);
  --shadow-2: 0 1px 1px rgba(16, 24, 40, .04), 0 10px 25px rgba(16, 24, 40, .10), 0 25px 40px rgba(16, 24, 40, .06);
}
/* Fondo general con suave degradado */
body {
  background: #f7f8fb;
  color: var(--ink-900);
}


/* ===== “Card” y “Section” PRO ===== */
.card-soft {
  background: var(--surface);
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-1);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card-soft:hover {
  box-shadow: var(--shadow-2);
  border-color: rgba(15, 23, 42, .10);
}
/* Secciones con header interno opcional */
.section-card {
  padding: 1rem;
}
.section-card .section-title {
  margin: .25rem .25rem 1rem;
  font-weight: 600;
  color: var(--ink-700);
}
/* Chips y badges */
.rate-chip {
  font-size: .85rem;
  border: 1px solid rgba(0, 0, 0, .08);
  padding: .25rem .5rem;
  border-radius: 999px;
}
.badge-soft-danger {
  background: rgba(220, 53, 69, .12);
  color: #dc3545;
}
.badge-soft-warning {
  background: rgba(255, 193, 7, .15);
  color: #d39e00;
}
.badge-soft-info {
  background: rgba(13, 202, 240, .15);
  color: #0dcaf0;
}
.badge-soft-success {
  background: rgba(25, 135, 84, .15);
  color: #198754;
}
.badge-soft-primary {
  background: rgba(13, 110, 253, .12);
  color: #0d6efd;
}
.badge-soft-secondary {
  background: rgba(108, 117, 125, .12);
  color: #6c757d;
}
/* Hero PRO */
.hero-pro {
  /* position: relative;*/
  /*background: linear-gradient(135deg, var(--brand-50), #f9fbff);*/
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: 24px;
  box-shadow: var(--shadow-2);
  background-color: #ffffff;
  /*overflow: hidden;*/
}
/*.hero-pro::before{
  content:"";
  position:absolute; inset:-20% 40% 30% -20%;
  background: radial-gradient(600px 260px at 80% 20%, rgba(29,78,216,.20), transparent 70%);
  pointer-events:none;
  filter: blur(2px);
}*/
.hero-pro .hero-bullets .bi {
  opacity: .9;
}
/* Inputs grandes con foco visible */
.hero-pro .form-control {
  padding: .95rem 1.1rem;
  border-radius: 12px 0 0 12px;
  border: 1px solid rgba(15, 23, 42, .12);
}
.hero-pro .btn {
  border-radius: 5px;
}
/* Tiles clicables */
.number-tile {
  cursor: pointer;
}
/* Utilidades */
.flag {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
}
.text-muted-2 {
  color: var(--ink-500) !important;
}
/* ===== KPI minimal, consistente y accesible ===== */
.kpi-cards .kpi {
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .04);
}
.kpi-cards .kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .25rem;
}
.kpi-cards .kpi-title {
  color: #64748b;
  font-size: .9rem;
}
.kpi-cards .kpi-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--soft, #eef2ff);
  color: var(--accent, #4f46e5);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .04);
}
.kpi-cards .kpi-value {
  font-weight: 700;
  letter-spacing: .3px;
}
.kpi-cards .kpi-sub {
  margin-top: .1rem;
}
/* Barra proporcional con el color del KPI */
.kpi-cards .kpi-meter {
  height: 6px;
  margin-top: .5rem;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
}
.kpi-cards .kpi-meter > span {
  display: block;
  height: 100%;
  background: var(--bar, #4f46e5);
}
/* Esquemas de color por KPI */
.kpi-cards .accent-blue {
  --accent: #2563eb;
  --soft: #e9f0ff;
  --bar: linear-gradient(90deg, #c7d7ff, #2563eb);
}
.kpi-cards .accent-red {
  --accent: #ef4444;
  --soft: #fff5f5;
  --bar: linear-gradient(90deg, #fecaca, #ef4444);
}
.kpi-cards .accent-cyan {
  --accent: #0ea5e9;
  --soft: #e6f8ff;
  --bar: linear-gradient(90deg, #c7f0ff, #0ea5e9);
}
.kpi-cards .accent-amber {
  --accent: #f59e0b;
  --soft: #fff3e0;
  --bar: linear-gradient(90deg, #ffe8bf, #f59e0b);
}
/* Hover sutil */
.kpi-cards .kpi:hover {
  transform: translateY(-1px);
  transition: .12s ease;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .06);
}
/* Responsive: mÃ¡s aire en pantallas pequeÃ±as */
@media (max-width:576px) {
  .kpi-cards .kpi {
    border-radius: 14px;
  }
}
/* ==== Unificación visual del buscador ==== */
/* --- Común --- */
.input-group.unified-search {
  overflow: visible !important;
}
.unified-search .dropdown-menu {
  z-index: 2000;
  margin-top: .375rem;
}
/* --- ESCRITORIO (mantener pill unificado) --- */
@media (min-width: 576px) {
  .input-group.unified-search {
    border-radius: 2rem;
  }
  .unified-search .btn-country {
    border-right: 0 !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-top-left-radius: 2rem !important;
    border-bottom-left-radius: 2rem !important;
    background: #fff;
    color: var(--bs-primary);
    border-color: var(--bs-primary);
    height: 70px;
  }
  .unified-search .form-control.searchbox {
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
    border-color: var(--bs-primary);
  }
  .unified-search .btn-submit {
    border-left: 0 !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 2rem !important;
    border-bottom-right-radius: 2rem !important;
  }
  .unified-search .btn-country:hover, .unified-search .btn-country:focus, .unified-search .btn-country:active, .unified-search .btn-country.dropdown-toggle.show {
    background: #fff !important;
    color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    box-shadow: none !important;
  }
  .unified-search .btn-country.dropdown-toggle::after {
    border-top-color: currentColor !important;
  }
}
/* --- MÓVIL: apilar en filas y bordes completos --- */
@media (max-width: 575.98px) {
  .input-group.unified-search {
    flex-wrap: wrap; /* permite romper filas */
    gap: .5rem; /* espacio entre filas (ajusta a gusto) */
    border-radius: 0; /* el contenedor ya no es pill */
  }
  .unified-search .btn-country, .unified-search .form-control.searchbox, .unified-search .btn-submit {
    width: 100%;
    border-radius: .75rem !important; /* bordes en 4 lados */
    border: 1px solid var(--bs-primary) !important;
  }
  .unified-search .btn-country {
    background: #fff;
    color: var(--bs-primary); /* mantener outline */
    height: 52px; /* alto coherente */
    width: 270px !important;
  }
  .unified-search .btn-submit {
    height: 52px;
  }
  /* el menú ocupa el ancho del selector y queda arriba de todo */
  .unified-search .dropdown {
    position: relative;
  }
  .unified-search .dropdown-menu {
    position: absolute;
    min-width: 100%;
    left: 0;
    right: auto;
    transform: none !important;
    margin-top: .25rem;
    max-height: 50vh;
    overflow: auto;
    z-index: 4000;
    border-radius: .75rem;
  }
}
/* Chip decorativo del header */
.hdr-chip {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .125rem .5rem;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: .80rem;
  line-height: 1;
}
.hdr-chip img {
  width: 16px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
}
.hdr-chip small {
  opacity: .9;
}
@media (max-width: 575.98px) {
  .hdr-hint {
    display: none;
  } /* Oculta hint en móviles para ahorrar espacio */
}
/* Header search refinado */
.header-search .input-group-text.icon {
  background: #fff;
  border-right: 0;
  border-radius: 999px 0 0 999px;
  padding-left: .6rem;
  padding-right: .4rem;
}
.header-search .chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: #eef2ff;
  border: 1px solid #cdd9ff;
  color: #1e56d8;
  padding: .18rem .55rem;
  border-radius: 999px;
  font-size: .82rem;
  line-height: 1;
  font-weight: 600;
}
.header-search .chip img {
  width: 16px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
}
.header-search .form-control {
  border-left: 0;
  border-right: 0;
  padding-left: .4rem;
}
.header-search .form-control:focus {
  box-shadow: none;
}
.header-search .btn-search {
  border-left: 0;
  border-radius: 0 999px 999px 0;
  background: #fff;
}
@media (max-width:575.98px) {
  .header-search .chip small {
    display: none;
  }
} /* en móvil, deja solo la bandera */

/**Se usas en numeros ficha y home*/
.cmt-geo{
  display: inline-flex;        /* o display:flex si te da igual que rompa línea */
  align-items: center;         /* centra verticalmente texto e imagen */
  gap: .375rem;                /* espacio entre bandera y texto */
  line-height: 1;              /* evita que el alto de línea empuje */
}

.cmt-geo .flag-border{
  display: block;              /* quita espacio fantasma de inline-img */
  width: 20px;                 /* tu tamaño */
  height: auto;
  border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.05);
}

.cmt-geo .loc-geo{
  margin: 0;                   /* en tu captura tiene margin: 10px 0 2px 0; */
}






/** num_mobile_abbr() **/
.only-mobile { display: inline; }
.only-desktop { display: none; }
@media (min-width: 576px) { /* ajusta el breakpoint a gusto */
  .only-mobile { display: none; }
  .only-desktop { display: inline; }
}

/** Breadcumbs */
  .bc-wrap .breadcrumb { --bs-breadcrumb-divider: '›'; }
  .bc-wrap .breadcrumb a { text-decoration: none; }
/**Sidebar explorar */
.sidebar-nav .nav-link{
  padding:.5rem .75rem; border-radius:.6rem; color:inherit;
}
.sidebar-nav .nav-link:hover{ background-color: rgba(var(--bs-primary-rgb), .06);
  /*color: var(--bs-primary);*/ }
.sidebar-nav .nav-link.active{ background-color: rgba(var(--bs-primary-rgb), .12); font-weight: 600; /* sombreado */ }


/****FOOTER***/
 .site-footer{
    --footer-bg: #f6f7f9;         /* gris claro */
    --footer-card: #ffffff;
    --footer-border: rgba(0,0,0,0.06);
    --footer-text: #637083;
    --footer-head: #2b2f36;
    background: var(--footer-bg);
  }
  .site-footer .footer-top{ background: var(--footer-bg); }
  .site-footer .footer-bottom{
    background: #f1f3f5;
    border-top: 1px solid var(--footer-border);
  }
  .site-footer .footer-title{
    font-size: .95rem;
    font-weight: 700;
    color: var(--footer-head);
    letter-spacing: .2px;
    margin-bottom: .5rem;
  }
  .site-footer .footer-link{
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .25rem 0;
    color: var(--footer-text); text-decoration: none;
  }
  .site-footer .footer-link:hover{ color:#111827; text-decoration: underline; }
  .site-footer .text-secondary{ color: var(--footer-text) !important; }

  .brand-badge{
    width: 32px; height: 32px;
    display: inline-grid; place-items: center;
    color: #3b82f6; background: #e7efff; border-radius: 50%;
    font-size: 18px;
  }
  @media (max-width: 575.98px){
    .site-footer .footer-bottom nav{ gap:.75rem; }
  }