.gate-brand {
  width: min(210px, 62%);
}

.footer-brand img {
  width: 28px;
  filter: brightness(0) invert(1);
}

.brands {
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.brands .section-inner {
  margin-bottom: clamp(36px, 6vw, 70px);
}

.brands .section-title {
  max-width: 980px;
  margin-bottom: 0;
}

.brands-window {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.brands-track {
  display: flex;
  width: max-content;
  animation: brandsScroll 36s linear infinite;
}

.brands-sequence {
  display: flex;
  gap: 14px;
  padding-right: 14px;
}

.brand-placeholder {
  width: clamp(92px, 9vw, 138px);
  aspect-ratio: 1.65 / 1;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
  background: rgba(255,255,255,0.025);
  color: rgba(244,244,244,0.58);
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -0.08em;
  transition: border-color .25s ease, color .25s ease, transform .25s ease;
}

.brand-placeholder:hover {
  border-color: rgba(255,216,77,0.46);
  color: var(--accent-2);
  transform: translateY(-4px);
}

.service-card-link {
  cursor: pointer;
}

.card-link-label {
  display: inline-block;
  margin-top: 20px;
  color: var(--accent-2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  opacity: .72;
  transition: opacity .25s ease, transform .25s ease;
}

.service-card-link:hover .card-link-label {
  opacity: 1;
  transform: translateX(4px);
}

@keyframes brandsScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 820px) {
  .hero {
    min-height: 100svh;
    padding: 112px 18px 74px;
  }

  .hero::before {
    width: calc(100% - 28px);
    max-width: 520px;
    height: 520px;
    aspect-ratio: auto;
    border-radius: 28px;
  }

  .hero-inner {
    width: min(100%, 460px);
    padding: 24px 18px;
  }

  .hero-brand {
    width: min(220px, 58vw);
    max-width: 100%;
    margin: 18px auto 18px;
  }

  .hero-text {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 6px;
    font-size: clamp(16px, 4.5vw, 20px);
    line-height: 1.32;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    margin-top: 30px;
  }

  .brands .section-title {
    font-size: clamp(38px, 9vw, 64px);
  }
}

@media (max-width: 600px) {
  .gate-panel {
    width: min(100%, 360px);
    padding: 28px 18px;
  }

  .gate-brand {
    width: min(156px, 54vw);
    max-width: 100%;
  }

  .gate-text {
    max-width: 270px;
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .hero {
    padding: 100px 12px 68px;
  }

  .hero::before {
    width: calc(100% - 18px);
    height: 470px;
    border-radius: 24px;
  }

  .hero-inner {
    width: 100%;
    max-width: 340px;
    padding: 20px 14px;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: .2em;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hero-brand {
    width: min(190px, 56vw);
    max-width: calc(100% - 24px);
  }

  .hero-text {
    width: 100%;
    max-width: 300px;
    font-size: 16px;
  }

  .hero-actions {
    width: 100%;
    gap: 10px;
  }

  .hero-actions .btn {
    max-width: 100%;
    font-size: 10px;
    letter-spacing: .09em;
    padding: 12px 16px;
  }

  .brands {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brands .section-title {
    font-size: clamp(34px, 10vw, 50px);
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .brand-placeholder {
    width: 96px;
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brands-track {
    animation: none;
  }
}
