/* ============================================================
   OES Global — Our Brands page
   ============================================================ */

/* ============================================================
   Brands Hero
   ============================================================ */
.brands-hero {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: center;
  background: #0B2545;
  overflow: hidden;
  padding: calc(var(--header-h) + 80px) 0 100px;
}

/* Background layer: mark + stripe */
.brands-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Globe mark — right side */
.bh-mark {
  position: absolute;
  top: 12%;
  right: -160px;
  width: 760px;
  opacity: 0.07;
  filter: brightness(0) invert(1);
  animation: cbMarkPulse 7s ease-in-out infinite;
}
.bh-mark img {
  width: 100%;
  height: auto;
  opacity: .12;
  filter: brightness(0) invert(1);
}

/* 4-color brand stripe — bottom edge */
.bh-stripe {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  display: flex;
}
.bh-stripe span {
  flex: 1;
  display: block;
}

/* Content */
.brands-hero .container {
  position: relative;
  z-index: 1;
}

/* Eyebrow */
.brands-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.8);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.brands-hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-300);
  flex-shrink: 0;
}

/* Headline */
.brands-hero h1 {
  color: white;
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin-bottom: 22px;
  max-width: 1000px;
}
.brands-hero h1 .accent {
  display: inline-block;
  background: linear-gradient(120deg, #7DA8D1 0%, #DCE6F2 60%, #7DA8D1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Lead paragraph */
.brands-hero .lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,.6);
  max-width: 480px;
  line-height: 1.65;
  margin: 0;
}


/* ============================================================
   Core brands section — light bg version (preceded by hero)
   Use double-class selector to beat .core-brands base specificity
   ============================================================ */
.core-brands.core-brands--inner {
  padding: 80px 0 100px;
  background: var(--bg-soft);
  color: var(--navy-900);
}
.core-brands.core-brands--inner .cb-bg-mark { display: none; }
.core-brands.core-brands--inner .cb-head .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink-500);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.core-brands.core-brands--inner .cb-head .kicker::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-500);
  flex-shrink: 0;
}
.core-brands.core-brands--inner .cb-head h2 {
  color: var(--navy-900);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  margin-bottom: 16px;
}
.core-brands.core-brands--inner .cb-head h2 .accent { color: var(--blue-500); }
.core-brands.core-brands--inner .cb-head { margin-bottom: 52px; }

/* Core brands section (hero of the page) */
.core-brands {
  padding: calc(var(--header-h) + 80px) 0 100px;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(46,107,168,0.25) 0%, transparent 55%),
    linear-gradient(180deg, #0B2545 0%, #102E54 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  color: white;
}
.cb-bg-mark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}
.cb-bg-mark img {
  width: 625px;
  height: auto;
  opacity: 0.07;
  margin-top: 60px;
  filter: brightness(0) invert(1) drop-shadow(0 0 50px rgba(125,168,209,0.5)) drop-shadow(0 0 100px rgba(46,107,168,0.35));
  animation: cbMarkPulse 6s ease-in-out infinite;
}
@keyframes cbMarkPulse {
  0%, 100% { filter: brightness(0) invert(1) drop-shadow(0 0 50px rgba(125,168,209,0.4)) drop-shadow(0 0 100px rgba(46,107,168,0.3)); }
  50%       { filter: brightness(0) invert(1) drop-shadow(0 0 70px rgba(125,168,209,0.65)) drop-shadow(0 0 140px rgba(46,107,168,0.5)); }
}
.core-brands .container { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: stretch; }

.cb-head { max-width: 720px; margin: 0 auto 36px; }
.cb-head .kicker {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue-300);
  margin-bottom: 14px;
}
.cb-head h2 {
  font-size: clamp(36px, 4.4vw, 60px);
  margin-bottom: 18px;
  color: white;
  letter-spacing: -0.025em;
  line-height: 1.08;
}
.cb-head h2 .brand { color: var(--blue-300); font-weight: 700; }
.cb-head h2 .accent { color: white; font-weight: 700; }

/* Logo tiles grid */
.cb-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.cb-logo-tile {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.3s ease;
}
.cb-logo-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(11,37,69,.13);
  border-color: var(--c);
}

.cb-logo-img {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 32px 36px;
  min-height: 140px;
}
.cb-logo-img img {
  max-height: 64px;
  width: auto;
  max-width: 85%;
  object-fit: contain;
  transition: transform 0.35s ease;
}
.cb-logo-tile:hover .cb-logo-img img { transform: scale(1.04); }

.cb-logo-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 15px 20px;
  border-top: 1px solid var(--line);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c);
  transition: gap 0.25s ease, background 0.25s ease;
}
.cb-logo-tile:hover .cb-logo-cta { gap: 12px; }

/* cb-lead paragraph */
.cb-lead {
  font-size: 1rem;
  color: var(--ink-500);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Stats bar */
.brands-stat-bar {
  background: linear-gradient(180deg, #14365A 0%, #173B68 100%);
  padding: 36px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.bsb-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.bsb-item { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 24px; }
.bsb-item + .bsb-item::before {
  content: ''; position: absolute; left: 0; top: 14%; bottom: 14%;
  width: 1px; background: rgba(255,255,255,0.18);
}
.bsb-num { font-size: clamp(28px,3.4vw,42px); font-weight: 700; color: white; letter-spacing: -0.02em; line-height: 1; }
.bsb-lbl { margin-top: 10px; font-size: 13px; color: rgba(255,255,255,0.75); letter-spacing: 0.04em; }

/* Brand showcase block (colored bg + background image) */
.brand-block { padding: 80px 0 0; color: white; position: relative; overflow: visible; background-size: cover; background-position: center; }
.brand-block.tcfl {
  background-color: #2d6cb5;
  background-image: linear-gradient(rgba(45,108,181,.82), rgba(31,80,144,.92)), url('../images/our-brands/tcfl-bg.jpg');
}
.brand-block.hd {
  background-color: #0F73B5;
  background-image: linear-gradient(rgba(21,129,195,.8), rgba(15,115,181,.92)), url('../images/our-brands/hd-bg.jpg');
}
.brand-block.a4 {
  background-color: #005371;
  background-image: linear-gradient(rgba(0,83,113,.82), rgba(0,60,85,.92)), url('../images/our-brands/a4-bg.jpg');
}
.brand-block.sd2k {
  background-color: #0F0F12;
  background-image: linear-gradient(rgba(15,15,18,.78), rgba(10,10,12,.92)), url('../images/our-brands/sd2k-bg.jpg');
}
.brand-block .container { position: relative; z-index: 2; }

.brand-block-head { text-align: center; margin-bottom: 48px; }
.brand-mark-icon { width: 110px; height: 110px; margin: 0 auto 22px; display: flex; align-items: center; justify-content: center; }
.brand-mark-icon img { width: 100%; height: 100%; object-fit: contain; }
.brand-block h2 { color: white; font-size: clamp(36px,4.2vw,56px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; }
.brand-subtitle { font-size: clamp(16px,1.5vw,19px); color: rgba(255,255,255,0.88); margin: 0 0 28px; text-align: center; }

.brand-chips { display: flex; justify-content: center; margin-bottom: 48px; }
.brand-chip-bar {
  display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center;
  gap: 12px 14px; padding: 12px 28px; border-radius: 999px;
  background: rgba(255,255,255,0.14); color: white;
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.02em;
}
.brand-chip-bar .chip-sep { opacity: 0.5; font-weight: 300; }
.brand-block.tcfl .brand-chip-bar { background: var(--tcfl); }
.brand-block.hd   .brand-chip-bar { background: #102E54; }
.brand-block.a4   .brand-chip-bar { background: #e62744; }
.brand-block.sd2k .brand-chip-bar { background: #fc5000; }

/* Product card row */
.product-row {
  display: grid; grid-template-columns: repeat(5,1fr); gap: 16px;
  max-width: 1000px; margin: 0 auto -117px; position: relative; z-index: 3;
}
.product-card {
  background: white; border-radius: var(--radius-md); aspect-ratio: 4/5;
  padding: 16px 12px 12px; display: flex; flex-direction: column;
  align-items: center; justify-content: space-between;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.10);
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 14px 28px rgba(0,0,0,0.15); }
.pc-img {
  flex: 1; width: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg,#F4F6FA 0%,#EDF1F7 100%);
  border-radius: var(--radius-sm); overflow: hidden; padding: 12px;
}
.pc-img svg { width: 60%; height: 60%; }
.pc-img img { width: 100%; height: 100%; object-fit: contain; max-height: 120px; }
.pc-name { font-size: 11px; color: var(--ink-700); font-weight: 500; text-align: center; margin-top: 8px; line-height: 1.3; }

/* Brand detail (white band) */
.brand-detail { padding: 160px 0 100px; background: white; position: relative; }
.brand-detail-grid {
  display: grid; grid-template-columns: 380px 1fr; gap: 64px;
  align-items: center; max-width: 980px; margin: 0 auto;
}
.brand-detail.reverse .brand-detail-grid { grid-template-columns: 1fr 380px; }
.brand-detail.reverse .bd-media { order: 2; }
.brand-detail.reverse .bd-text  { order: 1; }

.bd-media { position: relative; aspect-ratio: 1/1; }
.bd-media .frame { position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; box-shadow: var(--shadow-lg); }
.bd-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.bd-media .play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 72px; height: 72px; background: rgba(255,255,255,0.95);
  border-radius: 50%; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 2; box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: transform 0.25s ease, background 0.25s ease;
}
.bd-media .play-btn:hover { background: var(--blue-500); transform: translate(-50%,-50%) scale(1.08); }
.bd-media .play-btn:hover svg { fill: white; }
.bd-media .play-btn svg { fill: var(--navy-900); transition: fill 0.25s ease; margin-left: 3px; }
.bd-media .play-btn::before {
  content: ''; position: absolute; inset: -10px;
  border-radius: 50%; border: 2px solid rgba(255,255,255,0.4);
  animation: ringPulse 2s infinite;
}

.bd-text h2 { font-size: clamp(26px,3vw,36px); color: var(--navy-900); margin-bottom: 20px; line-height: 1.15; letter-spacing: -0.015em; }
.bd-text h2 .accent { color: var(--blue-500); }
.brand-detail.tcfl .bd-text h2 .accent { color: var(--tcfl); }
.brand-detail.hd   .bd-text h2 .accent { color: #102E54; }
.brand-detail.a4   .bd-text h2 .accent { color: #e62744; }
.brand-detail.sd2k .bd-text h2 .accent { color: #fc5000; }

.bd-text p { font-size: 15px; color: var(--ink-500); line-height: 1.7; margin-bottom: 28px; max-width: 480px; }
.visit-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 28px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: white; background: var(--blue-500);
  transition: all 0.25s ease;
}
.brand-detail.tcfl .visit-btn { background: var(--tcfl); }
.brand-detail.hd   .visit-btn { background: #102E54; }
.brand-detail.a4   .visit-btn { background: #e62744; }
.brand-detail.sd2k .visit-btn { background: #fc5000; }
.visit-btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 12px 24px rgba(0,0,0,0.15); }

/* Sell Under Our Brands CTA */
.sell-cta {
  position: relative;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(46,107,168,0.35) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(125,168,209,0.22) 0%, transparent 55%),
    linear-gradient(180deg, #0B2545 0%, #102E54 50%, #0B2545 100%);
  color: white; padding: 140px 0; text-align: center; overflow: hidden;
}
.sell-bg-mark { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; z-index: 0; }
.sell-bg-mark img { width: 625px; height: auto; opacity: 0.05; filter: brightness(0) invert(1) drop-shadow(0 0 60px rgba(125,168,209,0.45)); animation: cbMarkPulse 6s ease-in-out infinite; }
.sell-cta::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg,transparent,rgba(125,168,209,0.4),transparent); }
.sell-cta::after  { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg,transparent,rgba(125,168,209,0.4),transparent); }
.sell-cta .container { position: relative; z-index: 1; }
.sell-inner { max-width: 760px; margin: 0 auto; }
.sell-cta .kicker { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--blue-300); margin-bottom: 18px; }
.sell-cta h2 { color: white; font-size: clamp(36px,4.4vw,58px); margin-bottom: 24px; letter-spacing: -0.025em; line-height: 1.05; }
.sell-cta h2 .accent { color: var(--blue-300); }
.sell-cta p { font-size: 17px; color: rgba(255,255,255,0.78); max-width: 620px; margin: 0 auto 32px; line-height: 1.65; font-weight: 300; }
.sell-benefits { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 14px; margin-bottom: 40px; }
.sell-benefit { font-size: 14px; font-weight: 500; letter-spacing: 0.04em; color: rgba(255,255,255,0.9); white-space: nowrap; }
.sell-sep { color: var(--blue-300); font-size: 14px; opacity: 0.7; }
.sell-cta .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-white { display: inline-flex; align-items: center; gap: 10px; background: white; color: var(--navy-900); padding: 16px 32px; border-radius: 999px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; transition: all 0.25s ease; border: 1px solid white; }
.btn-white:hover { background: var(--blue-300); color: var(--navy-900); border-color: var(--blue-300); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(125,168,209,0.3); }
.btn-white span { transition: transform 0.25s ease; }
.btn-white:hover span { transform: translateX(4px); }
.btn-outline-w { display: inline-flex; align-items: center; background: transparent; color: white; padding: 16px 32px; border-radius: 999px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; border: 1px solid rgba(255,255,255,0.4); transition: all 0.25s ease; }
.btn-outline-w:hover { background: rgba(255,255,255,0.08); border-color: white; transform: translateY(-2px); }

/* Newsletter strip */
.newsletter-strip { background: var(--bg-soft); padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.newsletter-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.newsletter-strip h4 { font-size: 18px; color: var(--navy-900); font-weight: 600; }
.newsletter-strip form.nl-strip-form { display: flex; align-items: center; gap: 0; background: #fff; border: 1px solid rgba(11,26,43,0.10); border-radius: 999px; padding: 6px; width: 100%; max-width: 460px; }
.newsletter-strip form.nl-strip-form input[type="email"] { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 14px 20px; font: inherit; font-size: 15px; color: #0b1a2b; }
.newsletter-strip form.nl-strip-form input[type="email"]::placeholder { color: #6a7990; }
.newsletter-strip form.nl-strip-form button { border: 0; background: #0b1a2b; color: #fff; border-radius: 999px; padding: 14px 26px; font: inherit; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; cursor: pointer; transition: background .2s; }
.newsletter-strip form.nl-strip-form button:hover { background: #0e4f86; }
.newsletter-strip .nl-strip-flash { flex-basis: 100%; text-align: center;}
.newsletter-strip .nl-strip-flash:empty { display: none; }

/* Responsive */
@media (max-width: 1100px) {
  .bh-mark-wrap { right: -8vw; width: clamp(280px, 42vw, 520px); opacity: .08; }
  .cb-logos { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .bsb-row { grid-template-columns: repeat(2,1fr); gap: 32px 0; }
  .bsb-item + .bsb-item::before { display: none; }
  .bsb-item:nth-child(odd) + .bsb-item::before { display: block; top: 22%; bottom: 22%; }
}
@media (max-width: 900px) {
  .brand-detail-grid,
  .brand-detail.reverse .brand-detail-grid { grid-template-columns: 1fr; gap: 40px; max-width: 480px; }
  .brand-detail.reverse .bd-media { order: 0; }
  .brand-detail.reverse .bd-text  { order: 0; }
  .bd-media { max-width: 320px; margin: 0 auto; }
}
@media (max-width: 720px) {
  .brands-hero { padding: calc(var(--header-h) + 40px) 0 0; min-height: 48vh; }
  .brands-hero-content { padding-bottom: 60px; }
  .bh-mark-wrap { display: none; }
  .industry-intro { padding: 64px 0; }
  .product-row { grid-template-columns: repeat(2,1fr); }
  .brand-block { padding: 60px 0 80px; }
  .brand-detail { padding: 60px 0; }
  .sell-cta { padding: 100px 0; }
  .sell-bg-mark img { width: 480px; }
  .newsletter-strip .container { flex-direction: column; align-items: flex-start; }
  .cb-logos { grid-template-columns: 1fr 1fr; gap: 12px; }
}

@media (max-width:768px) {
  .brand-block { background-size: cover; background-position: center top; min-height: auto; }
  .brand-block-head { position:relative; z-index:2; }
  .product-row { position:relative; z-index:2; }
}

@media (max-width:768px) {
  .brand-block {
    background-size: cover;
    background-position: right center;
    min-height: auto;
  }
  .product-row {
    flex-wrap: wrap;
    gap: 12px;
  }
  .product-card {
    flex: 0 0 calc(50% - 6px);
  }
  .product-card:nth-child(5) {
    display: none;
  }
}
.close {display:none;}