/* Nova Trading — Brands page */

body.brands-page {
  background: #f7f5f1;
}

.brands-page .brands-hero {
  position: relative;
  isolation: isolate;
  min-height: 680px;
  display: grid;
  align-items: center;
  padding: 132px 48px 84px;
  overflow: hidden;
  background: #101418;
  text-align: left;
}

.brands-page .brands-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(9,13,17,.98) 0%, rgba(9,13,17,.9) 44%, rgba(9,13,17,.46) 100%),
    url('/images/gi-ms-yard.webp') center / cover no-repeat;
  filter: saturate(.78) contrast(1.08);
  transform: scale(1.015);
}

.brands-page .brands-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 28%, rgba(232,103,14,.2), transparent 26%),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 72px 72px;
}

.brands-hero__inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr);
  align-items: end;
  gap: clamp(48px, 7vw, 100px);
}

.brands-page .brands-hero .sec-lbl {
  color: #f5a15c;
  margin-bottom: 18px;
}

.brands-page .brands-hero h1 {
  max-width: 11ch;
  margin: 0 0 24px;
  color: #fff;
  font-family: 'Archivo', 'DM Sans', sans-serif;
  font-size: clamp(3.2rem, 6.5vw, 6.1rem);
  font-weight: 800;
  line-height: .94;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.brands-page .brands-hero h1 em {
  color: #f5a15c;
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-style: italic;
}

.brands-page .brands-hero p {
  max-width: 59ch;
  margin: 0 0 30px;
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  line-height: 1.78;
}

.brands-hero-pills {
  justify-content: flex-start;
  gap: 8px;
}

.brands-page .bhp {
  border-color: rgba(245,161,92,.35);
  border-radius: 999px;
  background: rgba(245,161,92,.1);
  color: #ffd0aa;
  padding: 7px 13px;
  font-weight: 600;
  letter-spacing: .075em;
}

.hero-brand-board {
  padding: 22px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 4px;
  background: rgba(16,20,24,.7);
  box-shadow: 0 28px 70px rgba(0,0,0,.3);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}

.hero-brand-board__label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  color: rgba(255,255,255,.52);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.hero-brand-board__label span:last-child {
  color: #f5a15c;
}

.hero-brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.hero-brand-link {
  min-width: 0;
  min-height: 112px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.96);
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.hero-brand-link:hover,
.hero-brand-link:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(232,103,14,.42);
  background: #fff;
}

.hero-brand-link:focus-visible {
  outline: 3px solid rgba(245,161,92,.55);
  outline-offset: 2px;
}

.hero-brand-link img {
  width: 100%;
  max-width: 145px;
  max-height: 70px;
  object-fit: contain;
}

.hero-brand-link--ashirvad img { max-width: 155px; }
.hero-brand-link--lk img { max-width: 160px; }

.brands-page .brands-body {
  max-width: 1240px;
  margin: 0 auto;
  padding: 92px 48px 112px;
}

.brands-intro {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.2fr);
  align-items: end;
  gap: 56px;
  margin-bottom: 44px;
}

.brands-intro h2 {
  margin: 0;
  color: var(--navy);
  font-family: 'Archivo', 'DM Sans', sans-serif;
  font-size: clamp(2.25rem, 4.3vw, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.045em;
}

.brands-intro p {
  max-width: 62ch;
  margin: 0;
  color: var(--navy-soft);
  font-size: .95rem;
  line-height: 1.8;
}

.brands-page .brand-section {
  display: grid;
  grid-template-columns: minmax(350px, .9fr) minmax(0, 1.15fr);
  align-items: stretch;
  gap: 0;
  margin: 0 0 40px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 18px 54px rgba(11,17,23,.08);
  direction: ltr;
  scroll-margin-top: 92px;
}

.brands-page .brand-section:nth-child(even) {
  direction: ltr;
}

.brand-section--reverse .brand-visual { order: 2; }

.brand-visual {
  position: relative;
  min-width: 0;
  min-height: 590px;
  margin: 0;
  overflow: hidden;
  background: #dfe4e7;
}

.brand-product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.2,.7,.2,1);
}

.brand-product-photo--cable { object-position: center 62%; }

.brand-section:hover .brand-product-photo { transform: scale(1.025); }

.brand-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(7,17,31,.68), transparent 56%);
}

.brand-logo-card {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(120px, .62fr) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 3px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 20px 44px rgba(7,17,31,.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: left;
}

.brand-logo-card__image {
  width: 100%;
  max-width: 165px;
  max-height: 82px;
  margin: auto;
  object-fit: contain;
}

.brand-logo-card__copy {
  min-width: 0;
  padding-left: 18px;
  border-left: 1px solid rgba(15,23,42,.1);
}

.brand-logo-tagline {
  margin-bottom: 8px;
  color: var(--navy-soft);
  font-size: .65rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .12em;
}

.brand-isi-badge {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  white-space: normal;
}

.brands-page .brand-info {
  min-width: 0;
  align-self: center;
  padding: clamp(40px, 5vw, 72px);
}

.brands-page .brand-info .brand-sub {
  margin-bottom: 16px;
  color: var(--gold-dark);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.brands-page .brand-info h2 {
  max-width: 14ch;
  margin: 0 0 22px;
  color: var(--navy);
  font-family: 'Archivo', 'DM Sans', sans-serif;
  font-size: clamp(2.2rem, 3.7vw, 3.7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.045em;
}

.brands-page .brand-info p {
  margin-bottom: 17px;
  color: var(--navy-soft);
  font-size: .92rem;
  line-height: 1.78;
}

.brand-history-link {
  color: var(--gold-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(232,103,14,.32);
  text-underline-offset: 3px;
}

.brand-history-link:hover { text-decoration-color: currentColor; }

.brands-page .brand-specs {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 28px 0 30px;
}

.brands-page .bspec {
  min-width: 0;
  padding: 14px 15px;
  border-color: rgba(15,23,42,.07);
  border-radius: 3px;
  background: #f7f5f1;
}

.brands-page .bspec-label {
  color: #7a8795;
  font-weight: 700;
}

.brands-page .bspec-value {
  color: var(--navy);
  font-size: .82rem;
  line-height: 1.45;
}

.brands-page .brand-cta-row { gap: 9px; }

.brands-page .brand-cta-primary,
.brands-page .brand-cta-wa {
  justify-content: center;
  min-height: 46px;
  border-radius: 3px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.brands-page .brand-cta-primary:hover,
.brands-page .brand-cta-wa:hover {
  transform: translateY(-2px);
}

.brands-page .brand-cta-wa:hover {
  box-shadow: 0 10px 24px rgba(37,211,102,.24);
}

.brands-page .isi-section {
  position: relative;
  isolation: isolate;
  margin-top: 72px;
  overflow: hidden;
  border: 1px solid rgba(245,161,92,.18);
  border-radius: 4px;
  background: #101418;
  box-shadow: 0 26px 70px rgba(11,17,23,.2);
}

.brands-page .isi-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 14% 0%, rgba(232,103,14,.22), transparent 32%),
    linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px) 0 0 / 72px 72px;
}

.brands-page .isi-section h3 {
  font-family: 'Archivo', 'DM Sans', sans-serif;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
}

.brands-page .isi-section p { color: rgba(255,255,255,.64); }

.brand-note {
  margin: 34px auto 0;
  max-width: 78ch;
  color: #6b7785;
  font-size: .72rem;
  line-height: 1.65;
  text-align: center;
}

@media (max-width: 980px) {
  .brands-page .brands-hero {
    min-height: auto;
    padding: 118px 28px 68px !important;
  }

  .brands-hero__inner,
  .brands-intro {
    grid-template-columns: 1fr;
  }

  .brands-hero__inner { gap: 42px; }
  .brands-page .brands-hero h1 { max-width: 12ch; }
  .hero-brand-board { max-width: 720px; }

  .brands-page .brands-body { padding: 72px 28px 92px; }
  .brands-intro { gap: 20px; }

  .brands-page .brand-section {
    grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
  }

  .brand-visual { min-height: 650px; }
  .brands-page .brand-info { padding: 42px 34px; }
  .brand-logo-card { grid-template-columns: 1fr; }
  .brand-logo-card__copy { padding: 14px 0 0; border-left: 0; border-top: 1px solid rgba(15,23,42,.1); }
}

@media (max-width: 760px) {
  .brands-page .brand-section { grid-template-columns: 1fr; }
  .brand-section--reverse .brand-visual { order: 0; }
  .brand-visual { min-height: 420px; }
  .brand-product-photo { position: absolute; inset: 0; }
  .brand-logo-card { grid-template-columns: minmax(110px, .58fr) minmax(0, 1fr); }
  .brand-logo-card__copy { padding: 0 0 0 16px; border-top: 0; border-left: 1px solid rgba(15,23,42,.1); }
  .brands-page .brand-info h2 { max-width: 16ch; }
}

@media (max-width: 560px) {
  .brands-page .brands-hero { padding: 104px 18px 56px !important; }
  .brands-page .brands-hero h1 { font-size: clamp(3rem, 15vw, 4.3rem); }
  .brands-page .brands-hero p { font-size: .92rem; }
  .hero-brand-board { padding: 12px; }
  .hero-brand-link { min-height: 92px; padding: 12px; }
  .hero-brand-link img { max-width: 118px; max-height: 56px; }

  .brands-page .brands-body { padding: 58px 16px 80px; }
  .brand-visual { min-height: 360px; }
  .brand-logo-card { left: 12px; right: 12px; bottom: 12px; padding: 14px; }
  .brand-logo-card__image { max-width: 120px; max-height: 64px; }
  .brand-logo-tagline { font-size: .58rem; }
  .brand-isi-badge { font-size: .58rem; padding: 4px 8px; }
  .brands-page .brand-info { padding: 34px 22px 38px; }
  .brands-page .brand-specs { grid-template-columns: 1fr; }
  .brands-page .brand-cta-primary,
  .brands-page .brand-cta-wa { width: 100%; }
  .brands-page .isi-section { padding: 32px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-brand-link,
  .brand-product-photo,
  .brands-page .brand-cta-primary,
  .brands-page .brand-cta-wa { transition: none; }
}
