
    :root{
      --gap: 48px;        /* separación entre logos */
      --h: 110px;         /* alto del slider */
      --speed: 26s;       /* duración del loop (menor = más rápido) */
      --overlay: 0.45;    /* oscurecimiento del fondo */
      --logo-max-h: 52px; /* alto máximo del logo */
    }

    body{
      margin:0;
      font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      min-height: 100vh;
      display:grid;
      place-items:center;
background: #E60406;
background: radial-gradient(circle, rgba(230, 4, 6, 1) 35%, rgba(97, 0, 0, 1) 100%);
    }

    /* ====== Sección con imagen de fondo ====== */
    .brands-hero{
      width: 100%;
      height: 100%;
      border-radius: 22px;
      overflow:hidden;
      position: relative;
      box-shadow: 0 20px 60px rgba(0,0,0,.35);
      display: flex;
      align-items: center;
    }

    .brands-hero::before{
      content:"";
      position:absolute; inset:0;
      background: url("images/Sin\ título\ \(26\).png") center/cover no-repeat;
      transform: scale(1.03);
      filter: saturate(1.05) contrast(1.05);
      z-index:0;
    }

    .brands-hero::after{
      content:"";
      position:absolute; inset:0;
      background: rgba(0,0,0,var(--overlay));
      z-index:1;
    }

    .brands-content{
      position: relative;
      z-index:2;
      padding: 28px 26px 22px;
      color:#fff;
    }

    .brands-title{
      margin:0  14px;
      font-size: 8rem;
      letter-spacing: .2px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 40px;
      text-shadow: 2px 2px rgb(252, 204, 143);
      color: antiquewhite;
      text-align: center;
    }
    .brands-title span{
        font-size: 3rem;
    }
    .brands-title img{
        width: 200px;
        height: auto;
    }
    /* ====== Slider ====== */
    .marquee{
      height: var(--h);
      display:flex;
      align-items:center;
      position:relative;
      overflow:hidden;
      border-radius: 16px;
      background: rgba(255,255,255,.06);
      backdrop-filter: blur(6px);
      margin-top: 40px;
    }

    /* degradados laterales para “fade” */
    .marquee::before,
    .marquee::after{
      content:"";
      position:absolute; top:0; bottom:0;
      width: 110px;
      z-index:5;
      pointer-events:none;
    }
    .marquee::before{
      left:0;
      background: linear-gradient(to right, rgba(0,0,0,.55), rgba(0,0,0,0));
    }
    .marquee::after{
      right:0;
      background: linear-gradient(to left, rgba(0,0,0,.55), rgba(0,0,0,0));
    }

    .track{
      display:flex;
      align-items:center;
      gap: var(--gap);
      padding-left: var(--gap);
      will-change: transform;
      animation: scroll var(--speed) linear infinite;
    }

    /* Pausa en hover */
    .marquee:hover .track{
      animation-play-state: paused;
    }

    /* Cada item (logo) */
    .brand{
      display:flex;
      align-items:center;
      justify-content:center;
      flex: 0 0 auto;
      padding: 10px 12px;
      border-radius: 12px;
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,255,255,.10);
    }

    .brand img{
      max-height: var(--logo-max-h);
      max-width: 160px;
      width:auto;
      height:auto;
      object-fit: contain;
      filter: drop-shadow(0 6px 10px rgba(0,0,0,.25));
      opacity: .95;
    }

    @keyframes scroll{
      from { transform: translateX(0); }
      to   { transform: translateX(calc(-1 * var(--loop-width))); }
    }

    /* Responsive tweaks */
    @media (max-width: 560px){
      :root{
        --gap: 26px;
        --h: 95px;
        --logo-max-h: 44px;
        --speed: 18s;
      }
      .marquee::before,.marquee::after{ width: 70px; }
    }

    /* Accesibilidad: respeta reduce motion */
    @media (prefers-reduced-motion: reduce){
      .track{ animation: none !important; transform: translateX(0) !important; }
    }
span{
    font-size: 4rem;
}