﻿.qgl-brands-page,
    .qgl-brands-page * {
      box-sizing: border-box;
    }

    .qgl-brands-page {
      --qgl-bg: #060c18;
      --qgl-card: #0a162c;
      --qgl-cyan: #00f0ff;
      --qgl-blue: #0052ff;
      --qgl-text: #ffffff;
      --qgl-muted: rgba(255,255,255,.65);
      --qgl-line: rgba(255,255,255,.12);
      width: 100%;
      overflow: hidden;
      color: var(--qgl-text);
      background:
        radial-gradient(circle at 16% 10%, rgba(0,240,255,.16), transparent 28rem),
        radial-gradient(circle at 86% 18%, rgba(0,82,255,.2), transparent 32rem),
        linear-gradient(180deg, #060c18 0%, #020817 100%);
      font-family: Inter, Arial, Helvetica, sans-serif;
    }

    .qgl-brands-page a {
      color: inherit;
    }

    .qgl-brands__inner {
      width: min(1200px, calc(100% - 40px));
      margin: 0 auto;
    }

    .qgl-brands-hero {
      position: relative;
      min-height: 520px;
      padding: 132px 0 72px;
      display: flex;
      align-items: center;
      text-align: center;
    }

    .qgl-brands-hero::before {
      content: "";
      position: absolute;
      inset: 0;
      opacity: .38;
      background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
      background-size: 48px 48px;
      mask-image: radial-gradient(circle at center, #000 0%, transparent 78%);
      -webkit-mask-image: radial-gradient(circle at center, #000 0%, transparent 78%);
      pointer-events: none;
    }

    .qgl-brands-hero__content {
      position: relative;
      z-index: 2;
      max-width: 920px;
      margin: 0 auto;
    }

    .qgl-brands-hero__eyebrow,
    .qgl-brands-section__eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      min-height: 30px;
      padding: 0 14px;
      border-radius: 999px;
      color: var(--qgl-cyan);
      background: rgba(0,240,255,.09);
      border: 1px solid rgba(0,240,255,.22);
      font-size: 11px;
      font-weight: 900;
      letter-spacing: .14em;
      text-transform: uppercase;
    }

    .qgl-brands-hero__eyebrow::before,
    .qgl-brands-section__eyebrow::before {
      content: "";
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: #00ff66;
      box-shadow: 0 0 14px rgba(0,255,102,.8);
    }

    .qgl-brands-hero h1 {
      margin: 24px 0 0;
      color: #fff;
      font-size: clamp(52px, 8vw, 96px);
      line-height: .95;
      letter-spacing: -.07em;
      font-weight: 950;
    }

    .qgl-brands-hero p {
      max-width: 760px;
      margin: 26px auto 0;
      color: var(--qgl-muted);
      font-size: 18px;
      line-height: 1.75;
      font-weight: 650;
    }

    .qgl-brands-hero__actions {
      margin-top: 34px;
      display: flex;
      justify-content: center;
      gap: 14px;
      flex-wrap: wrap;
    }

    .qgl-brands-btn {
      min-height: 48px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 12px;
      padding: 0 24px;
      color: #fff;
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,255,255,.14);
      text-decoration: none;
      font-size: 14px;
      font-weight: 900;
      transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
    }

    .qgl-brands-btn--primary {
      color: #001018;
      background: linear-gradient(135deg, var(--qgl-cyan), #8afcff);
      border-color: transparent;
      box-shadow: 0 0 28px rgba(0,240,255,.3);
    }

    .qgl-brands-btn:hover {
      transform: translateY(-2px);
      border-color: rgba(0,240,255,.48);
      box-shadow: 0 18px 44px rgba(0,0,0,.26);
    }

    .qgl-brands-section {
      padding: 82px 0;
      border-top: 1px solid rgba(255,255,255,.08);
    }

    .qgl-brands-section__head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 32px;
      margin-bottom: 30px;
    }

    .qgl-brands-section h2 {
      margin: 18px 0 0;
      color: #fff;
      font-size: clamp(34px, 4.5vw, 58px);
      line-height: 1.05;
      letter-spacing: -.05em;
      font-weight: 950;
    }

    .qgl-brands-section__desc {
      max-width: 460px;
      margin: 0;
      color: var(--qgl-muted);
      font-size: 15px;
      line-height: 1.7;
      font-weight: 650;
    }

    .qgl-brands-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 18px;
    }

    .qgl-brand-card {
      min-height: 360px;
      display: flex;
      flex-direction: column;
      padding: 22px;
      border-radius: 18px;
      background:
        radial-gradient(circle at 18% 0%, rgba(0,240,255,.08), transparent 15rem),
        var(--qgl-card);
      border: 1px solid var(--qgl-line);
      box-shadow: 0 16px 44px rgba(0,0,0,.26);
      transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
    }

    .qgl-brand-card:hover {
      transform: translateY(-6px);
      border-color: rgba(0,240,255,.44);
      box-shadow: 0 24px 70px rgba(0,240,255,.12), 0 22px 52px rgba(0,0,0,.34);
    }

    .qgl-brand-card__logo {
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 10px 14px;
      border-radius: 14px;
      background: rgba(255,255,255,.92);
      border: 1px solid rgba(255,255,255,.14);
      overflow: hidden;
    }

    .qgl-brand-card__logo img {
      display: block;
      max-width: 160px;
      max-height: 42px;
      width: auto;
      height: auto;
      object-fit: contain;
    }

    .qgl-brand-card__fallback {
      display: none;
      color: #0f172a;
      font-size: 16px;
      font-weight: 950;
      text-align: center;
    }

    .qgl-brand-card__logo.is-fallback img {
      display: none;
    }

    .qgl-brand-card__logo.is-fallback .qgl-brand-card__fallback {
      display: block;
    }

    .qgl-brand-card h3 {
      margin: 22px 0 0;
      color: #fff;
      font-size: 22px;
      line-height: 1.18;
      letter-spacing: -.02em;
      font-weight: 950;
    }

    .qgl-brand-card__direction {
      margin: 10px 0 0;
      color: var(--qgl-cyan);
      font-size: 13px;
      line-height: 1.5;
      font-weight: 850;
    }

    .qgl-brand-card__label {
      margin-top: 22px;
      color: rgba(255,255,255,.48);
      font-size: 11px;
      font-weight: 900;
      letter-spacing: .14em;
      text-transform: uppercase;
    }

    .qgl-brand-card__products {
      margin: 9px 0 0;
      color: var(--qgl-muted);
      font-size: 14px;
      line-height: 1.65;
      font-weight: 650;
    }

    .qgl-brand-card__action {
      margin-top: auto;
      padding-top: 22px;
    }

    .qgl-brand-card__action .qgl-brands-btn {
      width: 100%;
      min-height: 42px;
      color: #001018;
      background: linear-gradient(135deg, var(--qgl-cyan), #8afcff);
      border-color: transparent;
      box-shadow: 0 0 20px rgba(0,240,255,.22);
    }

    .qgl-support-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
    }

    .qgl-support-item {
      min-height: 170px;
      padding: 22px;
      border-radius: 18px;
      background: rgba(255,255,255,.055);
      border: 1px solid rgba(255,255,255,.1);
      transition: transform .22s ease, border-color .22s ease, background .22s ease;
    }

    .qgl-support-item:hover {
      transform: translateY(-4px);
      border-color: rgba(0,240,255,.34);
      background: rgba(0,240,255,.07);
    }

    .qgl-support-item__num {
      display: inline-flex;
      width: 38px;
      height: 38px;
      align-items: center;
      justify-content: center;
      border-radius: 13px;
      color: #001018;
      background: var(--qgl-cyan);
      font-size: 12px;
      font-weight: 950;
    }

    .qgl-support-item h3 {
      margin: 18px 0 0;
      color: #fff;
      font-size: 18px;
      line-height: 1.25;
      font-weight: 950;
    }

    .qgl-support-item p {
      margin: 10px 0 0;
      color: var(--qgl-muted);
      font-size: 13px;
      line-height: 1.65;
      font-weight: 650;
    }

    .qgl-brands-cta {
      padding: 42px;
      border-radius: 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
      background:
        radial-gradient(circle at 18% 20%, rgba(255,255,255,.16), transparent 16rem),
        linear-gradient(110deg, #123c96, #005f8f, #053047);
      box-shadow: 0 28px 80px rgba(0,0,0,.3);
    }

    .qgl-brands-cta h2 {
      margin: 0;
      color: #fff;
      font-size: clamp(28px, 4vw, 48px);
      line-height: 1.05;
      letter-spacing: -.045em;
      font-weight: 950;
    }

    .qgl-brands-cta p {
      max-width: 680px;
      margin: 14px 0 0;
      color: rgba(255,255,255,.72);
      font-size: 15px;
      line-height: 1.7;
      font-weight: 650;
    }

    @media (max-width: 1100px) {
      .qgl-brands-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .qgl-support-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .qgl-brands-section__head,
      .qgl-brands-cta {
        align-items: flex-start;
        flex-direction: column;
      }
    }

    @media (max-width: 640px) {
      .qgl-brands__inner {
        width: min(100% - 28px, 1200px);
      }

      .qgl-brands-hero {
        min-height: auto;
        padding: 96px 0 58px;
      }

      .qgl-brands-hero p {
        font-size: 15px;
      }

      .qgl-brands-hero__actions,
      .qgl-brands-btn {
        width: 100%;
      }

      .qgl-brands-grid,
      .qgl-support-grid {
        grid-template-columns: 1fr;
      }

      .qgl-brands-section {
        padding: 58px 0;
      }

      .qgl-brands-cta {
        padding: 28px;
      }
    }
