
    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
    :root {
      --deep: #080e18;
      --accent-orange: #e87b20;
      --accent-blue: #5aadcf;
      --white: #f0f4f8;
    }
    body {
      background: var(--deep);
      font-family: 'Barlow', sans-serif;
      color: var(--white);
      min-height: 100vh;
      overflow-x: hidden;
    }

    /* ══ BRANDS SECTION ═══════════════════════════════════ */
    .brands-section {
      background: var(--deep);
      padding: 130px 0 100px;
      scroll-margin-top: 70px;
    }
    .brands-section::before {
      content: ''; display: none;
      width: 36px; height: 2px;
      background: linear-gradient(90deg, var(--accent-orange), var(--accent-blue));
      margin: 0 auto 40px;
    }
    .brands-header { text-align: center; margin-bottom: 64px; }
    .brands-label {
      font-family: 'Barlow Condensed', sans-serif; font-size: 0.72rem;
      letter-spacing: 0.38em; text-transform: uppercase;
      color: var(--accent-orange); margin-bottom: 10px;
    }
    .brands-title {
      font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
      font-size: clamp(1.8rem, 3vw, 2.6rem);
      letter-spacing: 0.05em; text-transform: uppercase; color: var(--white);
    }

    /* ── GRID ─────────────────────────────────────────────
       Desktop: 2 cols con gap generoso y max-width amplio
       Las celdas tienen aspect-ratio para respirar mejor   */
    .brands-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 48px;
    }

    /* ── CELDA ─────────────────────────────────────────── */
    .brand-cell {
      position: relative;
      height: clamp(180px, 20vw, 260px);
      overflow: hidden;
      cursor: pointer;
      text-decoration: none;
      border-radius: 16px;
      isolation: isolate;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
      transition:
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s),
        opacity   0.65s ease                            var(--delay, 0s),
        box-shadow 0.4s ease;
    }
    .brand-cell.cell-full {
      grid-column: 1 / -1;
      height: clamp(200px, 22vw, 270px);
    }

    /* ── ANIMACIÓN DE ENTRADA ──────────────────────────────
       Estado inicial: fuera de pantalla + invisible + leve escala
       La clase .is-visible (añadida por IntersectionObserver)
       dispara la transición con el delay individual de cada celda. */
    .from-left  { transform: translateX(-110px) scaleX(0.92); opacity: 0; }
    .from-right { transform: translateX( 110px) scaleX(0.92); opacity: 0; }
    .brand-cell.is-visible {
      transform: translateX(0) scaleX(1);
      opacity: 1;
    }

    /* Línea de luz que barre la celda al aparecer */
    .brand-cell::before {
      content: '';
      position: absolute;
      top: 0; bottom: 0;
      left: -60%;
      width: 40%;
      background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255,255,255,0.06) 50%,
        transparent 100%
      );
      transform: skewX(-15deg);
      z-index: 5;
      opacity: 0;
      pointer-events: none;
    }
    .brand-cell.is-visible::before {
      animation: sweep 0.9s cubic-bezier(0.22,1,0.36,1) var(--delay, 0s) both;
    }
    @keyframes sweep {
      0%   { left: -60%; opacity: 1; }
      100% { left: 120%; opacity: 0; }
    }

    /* ── CAPAS INTERNAS ───────────────────────────────── */
    .cell-photo {
      position: absolute; inset: 0;
      background-image: url('/images/bg-boat.jpg');
      background-size: cover; background-position: center 55%;
      transition: transform 0.65s cubic-bezier(0.25,0.46,0.45,0.94);
      z-index: 0;
    }
    .brand-cell:hover .cell-photo { transform: scale(1.06); }

    .cell-dark {
      position: absolute; inset: 0;
      background: rgba(8,14,24,0.62);
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
      transition: background 0.5s ease, backdrop-filter 0.5s ease, -webkit-backdrop-filter 0.5s ease;
      z-index: 1;
    }
    .brand-cell:hover .cell-dark {
      background: rgba(8,14,24,0.22);
      backdrop-filter: blur(0px);
      -webkit-backdrop-filter: blur(0px);
    }

    .cell-glow {
      position: absolute; inset: 0; opacity: 0;
      background: radial-gradient(ellipse 80% 70% at 50% 50%,
        rgba(90,173,207,0.22) 0%, rgba(232,123,32,0.08) 55%, transparent 100%);
      transition: opacity 0.5s;
      z-index: 2;
    }
    .brand-cell:hover .cell-glow { opacity: 1; }

    .brand-cell::after {
      content: '';
      position: absolute; inset: 0;
      border: 1px solid rgba(90,173,207,0);
      pointer-events: none;
      transition: border-color 0.4s, box-shadow 0.4s;
      z-index: 4;
    }
    .brand-cell:hover::after {
      border-color: rgba(90,173,207,0.32);
      box-shadow: inset 0 0 50px rgba(90,173,207,0.06);
    }

    .cell-content {
      position: relative; z-index: 3;
      height: 100%;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      gap: 14px; padding: 28px;
    }
    .brand-logo {
      max-width: 240px; max-height: 68px; object-fit: contain;
      filter: drop-shadow(0 2px 12px rgba(0,0,0,0.8)) brightness(0.92);
      transition: transform 0.45s cubic-bezier(0.25,0.46,0.45,0.94), filter 0.45s;
    }
    .brand-logo-usados,
    .brand-logo-automoviles {
      mix-blend-mode: screen;
      filter: invert(1) drop-shadow(0 2px 12px rgba(0,0,0,0.8));
      max-width: 220px;
      max-height: 62px;
    }
    .brand-logo-promociones {
      max-width: 320px;
      max-height: 54px;
    }
    .brand-logo-mercury {
      max-width: 275px;
      max-height: 80px;
      transform: scale(1.15);
      filter: drop-shadow(0 2px 14px rgba(0,0,0,0.85)) brightness(1.05);
    }
    .brand-cell:hover .brand-logo {
      transform: scale(1.1);
      filter:
        drop-shadow(0 0 18px rgba(90,173,207,0.55))
        drop-shadow(0 0 38px rgba(232,123,32,0.22))
        brightness(1.15);
    }
    .brand-cell:hover .brand-logo-usados,
    .brand-cell:hover .brand-logo-automoviles {
      transform: scale(1.1);
      filter:
        invert(1)
        drop-shadow(0 0 18px rgba(90,173,207,0.55))
        drop-shadow(0 0 38px rgba(232,123,32,0.22))
        brightness(1.15);
    }
    .brand-cell:hover .brand-logo-mercury {
      transform: scale(1.26);
    }
    .brand-text {
      font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
      font-size: 1.5rem; letter-spacing: 0.14em; text-transform: uppercase;
      color: rgba(240,244,248,0.28);
      transition: color 0.4s, transform 0.45s;
    }
    .brand-cell:hover .brand-text {
      color: rgba(240,244,248,0.78); transform: scale(1.06);
    }
    .brand-title-text {
      font-family: 'Barlow Condensed', sans-serif;
      font-weight: 800;
      font-size: clamp(2rem, 3.8vw, 3rem);
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--white);
      text-shadow: 0 4px 20px rgba(0,0,0,0.85);
      transition: color 0.4s ease, transform 0.45s ease;
    }
    .brand-cell:hover .brand-title-text {
      color: var(--accent-orange);
      transform: scale(1.06);
    }
    .brand-subtitle {
      font-family: 'Barlow', sans-serif;
      font-size: clamp(0.9rem, 1.8vw, 1.2rem);
      font-weight: 500;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--accent-blue);
      text-shadow: 0 2px 10px rgba(0,0,0,0.85);
      margin-top: -6px;
      transition: color 0.4s ease, transform 0.45s ease;
      z-index: 1;
    }
    .brand-cell:hover .brand-subtitle {
      color: var(--white);
      transform: scale(1.06);
    }
    .cell-cta {
      display: flex; align-items: center; gap: 7px;
      font-family: 'Barlow Condensed', sans-serif; font-size: 0.7rem;
      font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
      color: rgba(90,173,207,0);
      transform: translateY(10px);
      transition: color 0.35s, transform 0.35s;
    }
    .cell-cta svg { width: 13px; transition: transform 0.3s; }
    .brand-cell:hover .cell-cta { color: rgba(90,173,207,0.85); transform: translateY(0); }
    .brand-cell:hover .cell-cta svg { transform: translateX(4px); }

    .brand-cell:hover {
      box-shadow: 0 12px 38px rgba(0, 0, 0, 0.52), 0 0 0 1px rgba(90, 173, 207, 0.16);
    }

    .card-badge {
      position: absolute;
      top: 28px;
      right: 28px;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      border: 2px solid rgba(232, 123, 32, 0.45);
      background: rgba(8, 14, 24, 0.6);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--accent-orange);
      box-shadow: 0 0 15px rgba(232, 123, 32, 0.2);
      z-index: 4;
      transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                  border-color 0.45s,
                  color 0.45s,
                  box-shadow 0.45s;
    }
    .brand-cell:hover .card-badge {
      transform: scale(1.1) rotate(15deg);
      border-color: var(--accent-orange);
      color: #fff;
      box-shadow: 0 0 25px rgba(232, 123, 32, 0.55), inset 0 0 10px rgba(232, 123, 32, 0.2);
    }
    .badge-icon {
      width: 22px;
      height: 22px;
    }

    /* ══ RESPONSIVE MEDIA QUERIES ════════════════════════ */
    @media (max-width: 768px) {
      .brands-section {
        padding: 90px 0 60px;
      }
      .brands-header {
        margin-bottom: 40px;
      }
      .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 16px;
      }
      .brand-cell {
        height: 120px; /* Altura reducida para crear una proporción apaisada en móvil */
        border-radius: 12px;
      }
      .brand-cell.cell-full {
        grid-column: 1 / -1;
        height: 140px;
      }
      .cell-content {
        padding: 12px 16px;
        gap: 8px;
      }
      .brand-logo {
        max-width: 82%;
        max-height: 40px;
        object-fit: contain;
      }
      .brand-cell.cell-full .brand-logo:not(.brand-logo-promociones) {
        max-width: 175px;
        max-height: 40px;
      }
      .brand-logo-usados,
      .brand-logo-automoviles {
        max-width: 85% !important;
        max-height: 40px !important;
      }
      .brand-logo-promociones {
        max-width: 250px !important;
        max-height: 40px !important;
      }
      .brand-logo-mercury {
        max-width: 95% !important;
        max-height: 48px !important;
        transform: scale(1.18);
      }
      .brand-subtitle {
        font-size: 0.74rem;
        letter-spacing: 0.12em;
        margin-top: -2px;
      }
      .cell-cta {
        display: none !important; /* Oculta el CTA invisible para centrar verticalmente el logo */
      }
      .card-badge {
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        border-width: 1.5px;
      }
      .badge-icon {
        width: 15px;
        height: 15px;
      }
    }

    @media (max-width: 480px) {
      .cell-content {
        padding: 10px 12px;
      }
      .brand-logo {
        max-width: 78%;
        max-height: 36px;
      }
      .brand-cell.cell-full .brand-logo:not(.brand-logo-promociones) {
        max-width: 155px;
        max-height: 36px;
      }
      .brand-logo-usados,
      .brand-logo-automoviles {
        max-width: 80% !important;
        max-height: 36px !important;
      }
      .brand-logo-promociones {
        max-width: 230px !important;
        max-height: 36px !important;
      }
      .brand-logo-mercury {
        max-width: 90% !important;
        max-height: 44px !important;
        transform: scale(1.18);
      }
      .brand-subtitle {
        font-size: 0.70rem;
      }
    }
  