.audiences-section {
  padding: 76px 24px 28px;
  background: #fff;
  color: #111b36;
}

.audiences-wrap {
  width: min(100%, 1330px);
  margin: auto;
}

.audiences-head {
  text-align: center;
  margin-bottom: 48px;
}

.audiences-head h2 {
  margin: 0;
  color: #092058;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  line-height: 1;
}

.audiences-head h3 {
  margin: 12px 0 20px;
  color: #078ad5;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 800;
}

.audiences-head p {
  margin: 0;
  color: #60708b;
  font-size: 16px;
  line-height: 1.35;
}

.audiences-dashboard {
  display: grid;
  grid-template-columns: 1.02fr 1fr 1fr;
  /* grid-template-rows: 180px 180px 180px 48px; */
  grid-template-rows: auto;
  gap: 14px;
  padding: 16px;
  background: #eff4fb;
  border-radius: 17px;
}

.audiences-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid #e0e6f1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(19, 44, 89, 0.04);
}

.audiences-card[data-modal] {
  cursor: pointer;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.audiences-card[data-modal]:hover,
.audiences-card[data-modal]:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(19, 44, 89, 0.16);
  border-color: #b9cdf2;
}

.audiences-card[data-modal]:focus-visible {
  outline: 2px solid #078ad5;
  outline-offset: 2px;
}

.audiences-card[data-modal]:active {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(19, 44, 89, 0.14);
}

.audiences-intro {
  grid-row: span 1;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 2px 16px;
}

.audiences-intro h3 {
  margin: 0;
  color: #10192a;
  font-size: 30px;
  font-weight: 900;
}

.audiences-intro .lead {
  margin: 8px 0 13px;
  font-size: 19px;
  line-height: 1.1;
}

.audiences-intro .lead strong {
  color: #fa176d;
}

.audiences-intro p {
  margin: 0;
  max-width: 235px;
  font-size: 11px;
  line-height: 1.3;
}

.audiences-card h4 {
  margin: 0 0 9px;
  font-size: 14px;
  line-height: 1.05;
}

.audiences-card h4 strong {
  color: #355fe6;
}

.audiences-total {
  padding: 16px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(24, 33, 51, 0.34), rgba(11, 20, 54, 0.9)),
    radial-gradient(circle at 70% 25%, #b7866f, #334e7b 52%, #07142c);
}

.audiences-total::after {
  content: "••••••••••";
  position: absolute;
  inset: 46px 0 0;
  color: rgba(255, 255, 255, 0.12);
  font-size: 30px;
  letter-spacing: 9px;
  line-height: 1.4;
  transform: rotate(-12deg);
}

.audiences-total>* {
  position: relative;
  z-index: 1;
}

.audiences-total .eyebrow {
  font-size: 10px;
}

.audiences-total .big {
  margin-top: 3px;
  font-size: 29px;
  font-weight: 900;
  line-height: 0.84;
}

.audiences-total .big small {
  font-size: 15px;
}

.audiences-total p {
  margin: 8px 0 0;
  font-size: 9px;
}

.audiences-demographic .people {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  text-align: center;
}

.people div {
  padding: 4px 1px;
  border-radius: 8px;
  background: #f7f9fc;
}

.people i {
  display: grid;
  width: 25px;
  height: 25px;
  margin: 0 auto 4px;
  place-items: center;
  border-radius: 50%;
  background: #e5ebff;
  color: #4773ec;
  font-style: normal;
}

.people b {
  font-size: 14px;
}

.people small {
  display: block;
  color: #667188;
  font-size: 8px;
}

.audiences-tv {
  grid-column: 1;
}

.metric-big {
  font-size: 23px;
  font-weight: 900;
  line-height: 0.9;
}

.metric-big small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #4d5b72;
}

.line-chart {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 110px;
  height: 58px;
}

.line-chart path {
  fill: none;
  stroke: #496fdf;
  stroke-width: 3;
}

.line-chart polygon {
  fill: #496fdf;
  opacity: 0.12;
}

.donut {
  float: left;
  width: 102px;
  height: 102px;
  margin: 3px 12px 0 0;
  border-radius: 50%;
  background: conic-gradient(#594bf5 0 30%,
      #ff6b4a 30% 53%,
      #51d5bc 53% 80%,
      #4d9ff8 80% 100%);
  position: relative;
}

.donut::after {
  content: var(--donut-label, "1.9M");
  position: absolute;
  inset: 21px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #243b86;
  font-size: 16px;
  font-weight: 800;
}

.platform-list {
  padding-top: 11px;
  font-size: 9px;
  line-height: 1.9;
}

.platform-list span {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.platform-list span::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6354f5;
}

.platform-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  list-style: none;
}

.audiences-digital .bars {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 77px;
  margin-top: 12px;
}

.bars i {
  display: block;
  flex: 1;
  border-radius: 5px 5px 0 0;
  background: #5974db;
}

.bars i:nth-child(1) {
  height: 30%;
}

.bars i:nth-child(2) {
  height: 45%;
}

.bars i:nth-child(3) {
  height: 63%;
}

.bars i:nth-child(4) {
  height: 85%;
}

.community-list {
  margin-top: 12px;
  font-size: 10px;
  line-height: 1.85;
}

.community-list b {
  color: #315ee1;
  font-size: 22px;
}

.streaming .laptop {
  position: absolute;
  right: 14px;
  bottom: 11px;
  width: 92px;
  height: 52px;
  border: 4px solid #24344b;
  border-radius: 4px;
  background: linear-gradient(135deg, #27446c, #d5eaff);
}

.audiences-footer {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding: 0 20px;
  border-radius: 9px;
  background: #dae4fa;
  color: #4562bf;
  font-size: 10px;
  font-weight: 800;
}

.audiences-footer span {
  padding: 18px;
  border-right: 1px solid #9db0e3;
}

.audiences-footer span:last-child {
  border: 0;
}

.audiences-footer b {
  display: block;
  font-size: 17px;
}

.audiences-footer small {
  display: block;
  color: #4e5360;
  font-size: 8px;
  font-weight: 500;
}

@media (max-width: 800px) {
  .audiences-section {
    padding: 52px 14px 20px;
  }

  .audiences-dashboard {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 10px;
    padding: 10px;
  }

  .audiences-intro {
    grid-column: 1/-1;
    min-height: 145px;
  }

  .audiences-total,
  .audiences-demographic {
    min-height: 180px;
  }

  .audiences-tv,
  .audiences-platform,
  .audiences-geo,
  .audiences-digital,
  .audiences-community,
  .audiences-streaming {
    grid-column: auto;
    min-height: 180px;
  }

  .audiences-footer {
    grid-column: 1/-1;
    min-height: 50px;
    padding: 8px 2px;
  }

  .audiences-footer span {
    padding: 0 6px;
    font-size: 8px;
  }

  .audiences-footer b {
    font-size: 13px;
  }

  .audiences-footer small {
    font-size: 6px;
  }
}

/* ── Audiences card modal ────────────────────────────────────────────── */
.audiences-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(9, 32, 88, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.audiences-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.audiences-modal {
  position: relative;
  width: min(560px, 100%);
  max-height: min(640px, 90vh);
  overflow-y: auto;
  background: #fff;
  border-radius: 18px;
  padding: 36px 32px 32px;
  box-shadow: 0 30px 60px rgba(9, 32, 88, 0.35);
  transform: translateY(18px) scale(0.98);
  opacity: 0;
  transition:
    transform 0.28s ease,
    opacity 0.28s ease;
}

.audiences-modal-overlay.is-open .audiences-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.audiences-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #eff4fb;
  color: #092058;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.audiences-modal-close:hover {
  background: #dbe6f7;
}

.audiences-modal-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: #078ad5;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.audiences-modal h3 {
  margin: 0 0 6px;
  color: #092058;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 900;
  line-height: 1.15;
}

.audiences-modal .audiences-modal-metric {
  margin: 14px 0;
  color: #16a5ad;
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 900;
  line-height: 1;
}

.audiences-modal .audiences-modal-metric small {
  margin-left: 6px;
  color: #60708b;
  font-size: 14px;
  font-weight: 700;
}

.audiences-modal-body {
  margin: 0 0 18px;
  color: #384a6b;
  font-size: 15px;
  line-height: 1.55;
}

.audiences-modal-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audiences-modal-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: #eff4fb;
  border-radius: 10px;
  font-size: 14px;
  color: #10192a;
}

.audiences-modal-list li b {
  color: #092058;
  font-size: 15px;
}

@media (max-width: 640px) {
  .audiences-modal {
    padding: 30px 20px 24px;
  }
}

/* Mapa geográfico: el SVG se reduce a ~260px sobre un viewBox de 760,
   así que el texto del plugin necesita escalarse para ser legible. */
.audiences-geo .erm-badge-value {
  font-size: 28px;
  font-weight: 800;
}

.audiences-geo .erm-badge-label {
  font-size: 32px;
  font-weight: 700;
}

.audiences-geo .erm-badge-circle {
  stroke-width: 3.5;
}

.audiences-geo .erm-connector {
  stroke-width: 3.5;
}

/* ══════════════════════════════════════════════════════════════════════
   Parte superior: "Ecosistema de audiencias - Métricas disponibles"
   ══════════════════════════════════════════════════════════════════════ */
.aud-eco {
  background: #fff;
  color: #0b1b3a;
  
  scroll-margin-top: 80px;
}

.aud-eco-top {
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 28px 24px 32px;
  border-radius: 24px;
  background: #eef2fb;
}

/* Cabecera: logo + título */
.aud-eco-brandbar {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.aud-eco-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  color: #1a3cc0;
  text-decoration: none;
}

.aud-eco-logo svg {
  width: 62px;
  height: auto;
  color: #16309a;
}

.aud-eco-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.aud-eco-logo-text b {
  color: #1a3cc0;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.aud-eco-logo-text small {
  margin-top: 3px;
  color: #19a8dc;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 1.5px;
}

.aud-eco-heading {
  padding-left: 18px;
  border-left: 2px solid #16309a;
}

.aud-eco-heading h2 {
  margin: 0;
  color: #0b1b3a;
  font-size: clamp(16px, 1.9vw, 22px);
  font-weight: 700;
  line-height: 1.2;
}

.aud-eco-heading p {
  margin: 4px 0 0;
  color: #4d5b72;
  font-size: clamp(12px, 1.3vw, 15px);
}

/* Tarjeta del gráfico */
.aud-eco-chart-card {
  padding: 24px 26px 14px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(19, 44, 89, 0.06);
}

.aud-eco-chart-card h3 {
  margin: 0 0 14px;
  color: #16309a;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
}

.aud-eco-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.aud-eco-tabs button {
  padding: 3px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #4d5b72;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.aud-eco-tabs button:hover {
  background: #e6ebf7;
}

.aud-eco-tabs button[aria-pressed="true"] {
  background: #1b2745;
  color: #fff;
}

.aud-eco-tabs button:focus-visible {
  outline: 2px solid #078ad5;
  outline-offset: 2px;
}

.aud-eco-total {
  display: flex;
  align-items: center;
  gap: 10px;
}

.aud-eco-total strong {
  color: #0b1b3a;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.1;
}

.aud-eco-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #dcf7e6;
  color: #17a05b;
  font-size: 12px;
  font-weight: 700;
}

.aud-eco-badge svg {
  width: 11px;
  height: 11px;
}

.aud-eco-dates {
  margin: 6px 0 0;
  color: #6b7894;
  font-size: 12px;
}

.aud-eco-chart {
  width: 100%;
  height: 280px;
  margin-top: 6px;
}

/* Tres métricas */
.aud-eco-metrics {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.aud-eco-metric {
  position: relative;
  min-height: 150px;
  padding: 20px 22px;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
}

.aud-eco-metric p {
  margin: 0;
  font-size: 13px;
}

.aud-eco-metric strong {
  display: block;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1;
}

.aud-eco-metric-label {
  display: block;
  margin-bottom: 26px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.aud-eco-metric--digital {
  background: #1a2fa6;
  color: #fff;
}

.aud-eco-metric--digital .aud-eco-metric-star {
  position: absolute;
  top: 16px;
  right: 22px;
  font-size: 15px;
}

.aud-eco-metric--digital p {
  margin-bottom: 4px;
  color: #cdd6ff;
}

.aud-eco-metric--digital small {
  position: absolute;
  right: 22px;
  bottom: 18px;
  font-size: 12px;
  font-weight: 700;
}

.aud-eco-metric--tv {
  background: #dfe5f5;
  color: #0b1b3a;
}

.aud-eco-metric--tv p {
  margin-bottom: 4px;
  color: #3d4a66;
}

.aud-eco-metric--tv img {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42%;
  max-width: 150px;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.aud-eco-metric--pages {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #0b1b3a;
}

.aud-eco-metric--pages img {
  flex: none;
  width: 72px;
  height: auto;
}

.aud-eco-pill {
  display: inline-block;
  margin-bottom: 14px;
  padding: 3px 12px;
  border-radius: 999px;
  background: #ff0069;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.aud-eco-metric--pages p {
  margin-bottom: 4px;
  color: #6b7894;
}

@media (max-width: 800px) {
  .aud-eco {
    padding-top: 12px;
  }

  .aud-eco-top {
    padding: 18px 14px 22px;
    border-radius: 18px;
  }

  .aud-eco-brandbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .aud-eco-heading {
    padding-left: 0;
    border-left: 0;
  }

  .aud-eco-chart-card {
    padding: 18px 14px 10px;
  }

  .aud-eco-metrics {
    grid-template-columns: 1fr;
  }
}

/* ── Cabecera azul de la página /audiencias/ (mismo fondo que el resto del sitio) ── */
#audiencias-ecuavisa .bg-azul-audi-gradient-ec {
  padding: 150px 24px 56px;
  /* Mismo azul que "Tenemos un plan" y el resto del sitio */
  background: linear-gradient(180deg, #061b4d 0%, #064181 53%, #087fca 100%);
}

#audiencias-ecuavisa .bg-azul-audi-gradient-ec::before {
  display: none;
}

#audiencias-ecuavisa .pq-ec-sub-title {
  font-weight: 700;
}

#audiencias-ecuavisa .pq-ec-sub-title span {
  color: var(--color-cyan);
}

#audiencias-ecuavisa .pq-ec-details {
  padding-bottom: 40px;
}

#audiencias-ecuavisa .aud-eco-top {
  text-align: left;
  background: #f4f6fc;
  box-shadow: 0 24px 60px rgba(0, 12, 48, 0.35);
}

.aud-eco-lower {
  background: #fff;
}


/* ══════════════════════════════════════════════════════════════════════
   Tablero "Conocemos a quién quieres llegar" — rediseño según captura
   (sobrescribe las reglas base de arriba)
   ══════════════════════════════════════════════════════════════════════ */
.audiences-dashboard {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 16px;
  padding: 18px;
  background: #eef2fa;
  border-radius: 22px;
}

.audiences-card {
  padding: 22px;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(19, 44, 89, 0.05);
}

.audiences-card h4 {
  margin: 0 0 12px;
  color: #1c2540;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.audiences-card h4 strong {
  color: #3a56e0;
  font-weight: 700;
}

.audiences-card .fuente {
  display: block;
  margin-top: 10px;
  color: #8a93a8;
  font-size: 8px;
  font-style: normal;
  line-height: 1.3;
}

/* Chips de icono */
.ico-chip {
  display: grid;
  flex: none;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
}

.ico-chip svg {
  width: 22px;
  height: 22px;
}

.ico-chip--blue {
  background: #3a56e0;
  color: #fff;
  border-radius: 50%;
}

.ico-chip--lilac {
  background: #e8ecfb;
  color: #3a56e0;
}

.ico-chip--teal {
  background: #dff3f1;
  color: #1c9a9a;
}

.ico-chip--corner {
  position: absolute;
  top: 18px;
  right: 18px;
}

/* 1 · Alcance total (ocupa 2 columnas) */
.audiences-total {
  grid-column: 1 / 3;
  display: flex;
  min-height: 210px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 28px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(5, 12, 40, 0.55), rgba(5, 12, 40, 0.8)),
    url("/assets/bg-audiencia.jpg") center / cover no-repeat;
}

.audiences-total::after {
  content: none;
}

.audiences-total .ico-chip {
  position: absolute;
  top: 24px;
  left: 28px;
}

.audiences-total .eyebrow {
  font-size: 13px;
}

.audiences-total .big {
  margin-top: 8px;
  font-size: 64px;
  font-weight: 800;
  line-height: 0.95;
}

.audiences-total .big small {
  display: block;
  font-size: 30px;
  font-weight: 700;
}

.audiences-total p {
  margin: 6px 0 0;
  font-size: 14px;
}

.audiences-total .fuente {
  color: rgba(255, 255, 255, 0.8);
  font-size: 9px;
  text-transform: uppercase;
}

/* 2 · Perfil demográfico */
.audiences-demographic {
  grid-column: 3;
}

.audiences-demographic .fuente--top {
  position: absolute;
  top: 16px;
  right: 18px;
  margin: 0;
  text-align: right;
}

.audiences-demographic .people {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.people div {
  padding: 12px 6px;
  border-radius: 14px;
  background: #f1f5fc;
}

.people img {
  display: block;
  margin: 0 auto 6px;
}

.people b {
  display: block;
  color: #1c2540;
  font-size: 22px;
}

.people small {
  font-size: 10px;
}

/* 3 · Televisión */
.audiences-tv {
  grid-column: 1;
  padding-right: 64px;
}

.audiences-tv .tv-body {
  position: relative;
  min-height: 120px;
  border-radius: 14px;
  background: #f1f5fc;
  padding: 14px;
}

.audiences-tv .metric-big,
.audiences-digital .metric-big,
.audiences-streaming .metric-big,
.streaming .metric-big {
  color: #1c2540;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
}

.audiences-tv .metric-big small,
.streaming .metric-big small {
  margin: 4px 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: #1c2540;
}

.metric-big span {
  display: block;
  color: #4d5b72;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.3;
}

.audiences-tv .line-chart {
  right: 10px;
  bottom: 10px;
  width: 52%;
  height: 70%;
}

/* 4 · Alcance por plataforma */
.audiences-platform {
  grid-column: 1;
}

.platform-body {
  display: flex;
  align-items: center;
  gap: 16px;
}

.audiences-platform .donut {
  flex: none;
  float: none;
  width: 118px;
  height: 118px;
  margin: 0;
  background: conic-gradient(#5b4cf0 0 60.5%,
      #4d8bff 60.5% 65.4%,
      #3fc6b5 65.4% 100%);
}

/*.audiences-platform .donut::after {
  content: var(--donut-label, "1.9M\A Personas");
  white-space: pre;
  inset: 18px;
  color: #1c2540;
  font-size: 18px;
  line-height: 1.1;
  text-align: center;
}*/

.audiences-platform .platform-list {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  font-size: 10px;
  line-height: 1;
}

.audiences-platform .platform-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}

.audiences-platform .platform-list span {
  display: inline-block;
  width: fit-content;
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--c);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
}

.audiences-platform .platform-list span::before {
  content: none;
}

.audiences-platform .platform-list em {
  color: #6b7694;
  font-style: normal;
}

.audiences-platform .platform-list b {
  min-width: 34px;
  text-align: right;
  color: #1c2540;
}

/* 5 · Llegamos a todo el Ecuador (2 columnas × 2 filas) */
.audiences-geo {
  grid-column: 2 / 4;
  grid-row: 2 / 4;
  display: flex;
  flex-direction: column;
}

.audiences-geo h4 strong {
  color: #1c9a9a;
}

.audiences-geo .geo-map {
  display: flex;
  flex: 1;
  align-items: center;
  border-radius: 16px;
  background: #f1f7f7;
}

/* 6-8 · Fila inferior */
.audiences-community,
.audiences-digital,
.streaming {
  padding-right: 70px;
}

.community-total {
  display: flex;
  align-items: center;
  gap: 8px;
}

.community-total b {
  color: #3a56e0;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
}

.community-total span {
  color: #1c2540;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
}

.community-total small {
  display: block;
  color: #6b7694;
  font-size: 9px;
  font-weight: 400;
}

.community-nets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.community-nets li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.community-nets b {
  color: #1c2540;
  font-size: 13px;
}

.digital-body {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: #f1f5fc;
}

.digital-body .metric-big {
  flex: 1;
  color: #3a56e0;
}

.digital-body .metric-big small {
  margin-top: 6px;
  font-size: 9px;
  color: #4d5b72;
  line-height: 1.3;
}

.audiences-digital .bars {
  flex: none;
  gap: 6px;
  width: 38%;
  height: 80px;
  margin: 0;
  align-items: flex-end;
}

.audiences-digital .bars span {
  display: flex;
  flex: 1;
  height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  gap: 3px;
  text-align: center;
}

.audiences-digital .bars i {
  flex: none;
  border-radius: 4px 4px 0 0;
  background: #7f93ea;
}

.audiences-digital .bars span:nth-child(1) i { height: 30%; }
.audiences-digital .bars span:nth-child(2) i { height: 45%; }
.audiences-digital .bars span:nth-child(3) i { height: 63%; }
.audiences-digital .bars span.is-top i { background: #3a56e0; }

.audiences-digital .bars small {
  color: #8a93a8;
  font-size: 7px;
}

.streaming-body {
  position: relative;
  min-height: 90px;
}

.streaming .metric-big {
  max-width: 55%;
  color: #3a56e0;
}

.streaming .laptop {
  right: 0;
  bottom: 0;
  width: 46%;
  height: 90px;
  border-width: 5px;
  border-radius: 6px;
}

@media (max-width: 800px) {
  .audiences-dashboard {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px;
  }

  .audiences-total,
  .audiences-geo {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .audiences-total {
    min-height: 180px;
  }

  .audiences-total .big {
    font-size: 48px;
  }

  .audiences-demographic,
  .audiences-tv,
  .audiences-platform,
  .audiences-community,
  .audiences-digital,
  .streaming {
    grid-column: 1 / -1;
    min-height: 0;
  }
}
