/* ==========================================================================
   Prueba de escala, debajo del header: cifras publicadas del home, apps que
   crecen con Boomit y certificaciones. Banda compacta sobre navy.
   ========================================================================== */

.aesc {
  /* dark context for the certification block copied from the home */
  --ink: #f4f4f6;
  --ink-2: #c9cbe0;
  --ink-3: #9a9ec0;
  --line: #1f2347;
  --line-2: #2d3260;
  padding-block: clamp(40px, 5vw, 64px);
  text-align: center;
  background: #11132c;
  color: #f4f4f6;
  border-top: 1px solid #1f2347;
}
.aesc__k {
  font: 600 0.875rem/1.2 var(--f-display);
  letter-spacing: 0.01em;
  color: #9a9ec0;
}
.aesc__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 18px 0 0;
}
.aesc__stats div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.aesc__stats dd {
  order: -1;
  margin: 0;
  font: 700 clamp(2rem, 1.4rem + 2vw, 3rem) / 1 var(--f-display);
  letter-spacing: -0.03em;
  color: var(--brand-lime);
}
.aesc__stats dt {
  max-width: 28ch;
  font-size: 0.875rem;
  color: #c9cbe0;
}
.aesc__row {
  display: grid;
  justify-items: center;
  gap: 16px;
  margin-top: clamp(28px, 4vw, 40px);
  padding-top: 24px;
  border-top: 1px solid #1f2347;
}
.aesc__lbl {
  font: 600 0.8125rem/1.2 var(--f-display);
  color: #9a9ec0;
}
.aesc__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.aesc__logos img[alt='Megas para Todos'] {
  height: 32px !important;
}
.aesc__logos img[alt='Bonoxs'],
.aesc__logos img[alt='TraderPal'] {
  height: 16px !important;
}
.aesc__logos img {
  display: block;
  height: 24px !important;
  width: auto !important;
  max-width: 98px !important;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.72;
  transition: opacity 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .aesc__logos li:hover img {
    opacity: 1;
  }
}
@media (max-width: 760px) {
  .aesc__stats {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .aesc__logos {
    gap: 16px 26px;
  }
}

/* Certifications and partners: same markup and styles as the home (clientes.css). */
.creds {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}
.creds-row {
  grid-template-columns: 132px minmax(0, 1fr);
}
.creds-h {
  font: 500 0.6875rem/1.3 var(--f-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
}
.cred svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: var(--ink-3);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cred b {
  display: block;
  font: 600 0.75rem/1.2 var(--f-display);
  color: var(--ink);
}
.cred small {
  display: block;
  font-size: 0.625rem;
  color: var(--ink-3);
  margin-top: 1px;
}
@media (max-width: 760px) {
  .creds-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
.cred-gp a {
  display: block;
  border-radius: 6px;
  transition: transform 200ms var(--ease-out);
}
.cred-gp a:hover {
  transform: translateY(-2px);
}
.cred .cl-mk {
  width: 14px;
  height: 14px;
  flex: none;
  fill: var(--ink);
  stroke: none;
}
.cred .cl-wm {
  height: 14px;
  width: 70px;
  flex: none;
  color: var(--ink);
  stroke: none;
}
.cl-wm path:not([fill]),
.cl-sg path {
  fill: currentColor;
}
.cred .cl-ci {
  height: 12px;
  width: 83px;
}
.creds-list {
  gap: 7px 22px;
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
  flex-wrap: wrap;
  align-items: center;
}
.cred-gp img {
  height: auto;
  width: 49px;
  display: block;
  filter: grayscale(1) sepia(0.18) hue-rotate(185deg) saturate(1.4) brightness(0.96);
  opacity: 0.85;
  transition:
    filter 300ms ease,
    opacity 300ms ease;
}
.cred-gp a:hover img,
.cred-gp a:focus-visible img {
  filter: none;
  opacity: 1;
}
.creds-row {
  gap: 6px 11px;
  align-items: center;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
}
@media (max-width: 760px) {
  .creds-row {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }
  .creds-list {
    gap: 10px 20px;
    justify-content: center;
  }
}
.cred {
  gap: 6px;
  align-items: center;
  display: flex;
  transition: transform 200ms var(--ease-out);
}
.cred .cl-mk,
.cred .cl-wm {
  transition:
    fill 250ms ease,
    color 250ms ease,
    filter 250ms ease;
}
.cl-sg .sg-ic {
  fill: currentColor;
  transition: fill 250ms ease;
}
@media (hover: hover) {
  .cred:hover {
    transform: translateY(-2px);
  }
  .cr-tt:hover .cl-mk {
    fill: #000;
    filter: drop-shadow(-1.2px -1px 0 #25f4ee) drop-shadow(1.2px 1px 0 #fe2c55);
  }
  .cr-mt:hover .cl-mk {
    fill: #0866ff;
  }
  .cr-hs:hover .cl-mk {
    fill: #ff5c35;
  }
  .cr-sg:hover .sg-ic {
    fill: #3088f4;
  }
  .cr-ci:hover .cl-ci {
    color: #7131ff;
  }
}
/* TikTok mark on dark backgrounds */
:root[data-theme='dark'] .cr-tt:hover .cl-mk {
  fill: #fff;
}
.aesc .cr-tt:hover .cl-mk {
  fill: #fff;
}

@media (max-width: 600px) {
  .aesc__logos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: center;
    gap: 22px 12px;
  }
  .aesc .cred small,
  .aesc .creds-h {
    font-size: 0.75rem;
  }
}
