/* INREMA — Módulo 05 · Marcas con las que trabajamos
   CSS aislado: no modificar estilos globales, Header, Hero, videos ni Servicios.
   Diseño base: fondo sólido blanco, SIN ondas, pseudo-elementos decorativos ni gradientes.
*/
.inrema-brands,
.inrema-brands * { box-sizing: border-box; }
.inrema-brands {
  --inrema-brands-blue: #001763;
  --inrema-brands-yellow: #ffb900;
  --inrema-brands-text: #3b404a;
  background: #ffffff;
  color: var(--inrema-brands-blue);
  width: 100%;
  padding: clamp(80px, 6.4vw, 108px) 24px clamp(85px, 7vw, 110px);
  margin: 0;
  scroll-margin-top: 96px;
  isolation: isolate;
}
.admin-bar .inrema-brands { scroll-margin-top: 128px; }
.inrema-brands__inner { width: min(100%, 1560px); margin-inline: auto; }
.inrema-brands__heading { text-align: center; max-width: 1280px; margin: 0 auto 66px; }
.inrema-brands__eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  margin: 0 0 29px;
  color: var(--inrema-brands-blue);
  font-weight: 750;
  font-size: clamp(15px, 1.55vw, 25px);
  line-height: 1.3; letter-spacing: .025em; text-transform: uppercase;
}
.inrema-brands__eyebrow::before,
.inrema-brands__eyebrow::after { content: ''; display: block; flex: 0 0 56px; height: 4px; background: var(--inrema-brands-yellow); }
.inrema-brands__title {
  margin: 0; color: var(--inrema-brands-blue);
  font-size: clamp(30px, 3.55vw, 58px);
  line-height: 1.13; letter-spacing: -.032em; font-weight: 780;
  text-wrap: balance;
}
.inrema-brands__description {
  max-width: 1130px; margin: 30px auto 0;
  font-size: clamp(16px, 1.55vw, 24px);
  line-height: 1.48; color: var(--inrema-brands-text);
  font-weight: 400; text-wrap: pretty;
}
.inrema-brands__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 24px; row-gap: 28px;
}
.inrema-brands__item {
  min-width: 0; margin: 0; padding: 18px 16px;
  height: clamp(143px, 10.7vw, 182px);
  display: flex; align-items: center; justify-content: center;
  border-radius: 24px; border: 1px solid #ebedf1;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 23, 99, .055), 0 2px 5px rgba(0, 23, 99, .035);
}
.inrema-brands__logo {
  display: block; width: auto; height: auto;
  max-width: 100%; max-height: 88px;
  object-fit: contain; object-position: center;
  margin: auto; padding: 0;
  filter: none; transform: none;
}
/* Optically balance tall logos; never stretch or crop them. */
.inrema-brands__item--centurion .inrema-brands__logo { max-height: 124px; max-width: 85%; }
.inrema-brands__item--gst .inrema-brands__logo { max-height: 97px; max-width: 93%; }
.inrema-brands__item--paradox .inrema-brands__logo { max-height: 70px; max-width: 97%; }
.inrema-brands__item--dsc .inrema-brands__logo { max-height: 94px; }
@media (max-width: 1199px) {
  .inrema-brands__heading { margin-bottom: 54px; }
  .inrema-brands__list { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
  .inrema-brands__item { height: 160px; }
}
@media (max-width: 849px) {
  .inrema-brands { padding: 74px 24px 86px; }
  .inrema-brands__heading { margin-bottom: 46px; }
  .inrema-brands__list { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
  .inrema-brands__item { height: 145px; border-radius: 20px; }
  .inrema-brands__eyebrow { gap: 13px; margin-bottom: 24px; }
  .inrema-brands__eyebrow::before, .inrema-brands__eyebrow::after { flex-basis: 32px; height: 3px; }
  .inrema-brands__description { margin-top: 22px; }
}
@media (max-width: 599px) {
  .inrema-brands { padding: 66px 18px 78px; }
  .inrema-brands__heading { margin-bottom: 36px; }
  .inrema-brands__eyebrow { font-size: 13px; gap: 9px; letter-spacing: .005em; margin-bottom: 20px; }
  .inrema-brands__eyebrow::before, .inrema-brands__eyebrow::after { flex-basis: 21px; height: 2px; }
  .inrema-brands__title { font-size: clamp(29px, 7.3vw, 39px); line-height: 1.12; }
  .inrema-brands__description { font-size: 15px; line-height: 1.55; margin-top: 19px; }
  .inrema-brands__list { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; }
  .inrema-brands__item { height: 112px; border-radius: 15px; padding: 12px; }
  .inrema-brands__logo { max-height: 57px; }
  .inrema-brands__item--centurion .inrema-brands__logo { max-height: 87px; }
  .inrema-brands__item--gst .inrema-brands__logo { max-height: 68px; }
  .inrema-brands__item--paradox .inrema-brands__logo { max-height: 48px; }
}
@media (prefers-reduced-motion: reduce) { .inrema-brands * { scroll-behavior: auto; } }
