.brands-page { background: #111418; }
.brands-page .brands-hero { padding: 40px 0 56px; color: #fff; background: radial-gradient(ellipse at 25% 50%,#30363b 0, #161b20 40%, #0e1216 78%); }
.brands-hero__layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; align-items: center; }
.brands-hero__copy { padding-block: 32px; }
.brands-kicker { direction: ltr; display: inline-block; font-size: 13px; letter-spacing: 3px; color: #ffd400; }
.brands-hero__copy h1 { font-size: clamp(32px,3.4vw,52px); line-height: 1.5; margin: 16px 0 24px; letter-spacing: -1px; }
.brands-instruction { font-size: 16px; line-height: 2; color: #d5d8db; }
.brands-keyboard { font-size: 12px; color: #a8b0b8; line-height: 2; }
.brands-scroll { display: inline-flex; gap: 32px; padding: 12px 22px; border: 1px solid #ffffff30; border-radius: 999px; margin-top: 24px; font-size: 14px; }
.brands-scroll:hover { border-color: #ffd400; color: #ffd400; }
.brands-page .brands-viewer { height: 600px; position: relative; min-width: 0; overflow: hidden; isolation: isolate; border: 1px solid #ffffff12; border-radius: 28px; background: radial-gradient(ellipse at 50% 55%,#53606b38,transparent 65%); }
.brands-viewer canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; }
.brands-poster, .brands-viewer .hami-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.brands-viewer [hidden] { display: none !important; }
.brands-loading { position: absolute; inset: auto 16px 16px; text-align: center; color: #e2e5e8; font-size: 13px; }
.brands-viewer .hami-toolbar { position: absolute; bottom: 44px; inset-inline: 12px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.brands-viewer .hami-toolbar button { min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid #ffffff35; background: #20272e; color: #fff; font: inherit; font-size: 12px; cursor: pointer; }
.brands-viewer .hami-toolbar .hami-toggle { background: #ffd400; color: #111418; border-color: #ffd400; font-weight: 800; }
.brands-page :where(a,button):focus-visible { outline: 3px solid #ffd400; outline-offset: 5px; }
.brands-viewer .hami-status { position: absolute; bottom: 12px; inset-inline: 12px; text-align: center; font-size: 11px; color: #c3c9cf; }
.brands-page .brands-catalog { background: #f1f2f5; padding: 56px 0 72px; border-radius: 36px 36px 0 0; margin-top: -24px; position: relative; }
.brands-heading { margin-bottom: 32px; }
.brands-badge { display: inline-block; padding: 6px 16px; border: 1px solid #e9ca51; border-radius: 999px; background: #fff3bf; color: #665000; font-size: 13px; font-weight: 800; }
.brands-heading h2 { font-size: clamp(26px,2.5vw,36px); color: #13191e; line-height: 1.7; margin: 16px 0 12px; }
.brands-heading p { font-size: 15px; line-height: 2; color: #5e6670; margin: 0; max-width: 850px; }
.brands-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.brand-card { background: linear-gradient(145deg,#fff,#f8f9fb); border: 1px solid #fff; border-radius: 22px; padding: 24px; box-shadow: 0 4px 12px #1114180b; transition: transform .2s ease,box-shadow .2s ease; min-width: 0; }
.brand-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px #11141812; }
.brand-card__symbol { display: block; width: 36px; height: 40px; border: 2px solid #aa8700; border-radius: 7px; margin-bottom: 20px; position: relative; background: linear-gradient(#fff2b6 0 8px,transparent 8px); }
.brand-card__symbol::before { content: ''; position: absolute; width: 19px; height: 19px; border: 2px solid #aa8700; border-radius: 50%; top: 12px; left: 6px; }
.brand-card h3 { color: #141a20; font-size: 18px; margin: 0 0 12px; line-height: 1.8; }
.brand-card p { color: #626b75; font-size: 14px; line-height: 1.9; margin: 0; }
@media(max-width:1050px) { .brands-hero__layout { grid-template-columns: 1fr 1.2fr; gap: 20px; } .brands-page .brands-viewer { height: 520px; } .brands-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media(max-width:800px) { .brands-hero__layout { grid-template-columns: minmax(0,1fr); } .brands-hero__copy { padding: 0; } .brands-page .brands-viewer { height: 520px; } .brands-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .brands-scroll { margin-top: 12px; } }
@media(max-width:480px) { .brands-page .brands-hero { padding-top: 24px; } .brands-page .brands-viewer { height: 480px; border-radius: 20px; } .brands-hero__copy h1 { font-size: 32px; margin: 12px 0 16px; } .brands-instruction { font-size: 14px; } .brands-page .brands-catalog { padding: 36px 0 48px; border-radius: 24px 24px 0 0; } .brand-card { padding: 18px 14px; border-radius: 16px; } .brand-card h3 { font-size: 16px; } .brand-card p { font-size: 12px; } .brand-card__symbol { font-size: 9px; letter-spacing: .5px; overflow-wrap: anywhere; } .brands-grid { gap: 12px; } }
@media(prefers-reduced-motion:reduce) { .brand-card { transition: none; } .brand-card:hover { transform: none; } }
@media (max-width: 720px) {
  .brands-page .brands-hero { padding-block: 24px 48px; }
  .brands-page .brands-hero__layout { gap: 20px; }
  .brands-page .brands-hero__copy h1 { font-size: clamp(26px,7vw,32px); line-height: 1.45; margin-block: 12px 16px; }
  .brands-page .brands-keyboard { font-size: 14px; line-height: 1.65; }
  .brands-page .brands-scroll { min-height: 48px; align-items: center; font-size: 15px; gap: 16px; }
  .brands-page .brands-viewer { width: 100%; height: auto; aspect-ratio: 1 / 1.15; min-height: 360px; max-height: 520px; }
  .brands-page .brands-viewer .hami-toolbar { bottom: 56px; gap: 8px; }
  .brands-page .brands-viewer .hami-toolbar button { font-size: 14px; min-height: 48px; padding: 8px 12px; }
  .brands-page .brands-viewer .hami-status { font-size: 14px; line-height: 1.5; }
  .brands-page .brands-heading { margin-bottom: 24px; }
  .brands-page .brands-heading h2 { font-size: 24px; line-height: 1.5; }
  .brands-page .brands-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,180px),1fr)); gap: 12px; }
  .brands-page .brand-card { padding: 16px; }
  .brands-page .brand-card h3 { font-size: 18px; line-height: 1.5; }
  .brands-page .brand-card p { font-size: 16px; line-height: 1.75; }
  .brands-page .brand-card__symbol { margin-bottom: 12px; }
}
