/* ══════════════════════════════════════════════
   БРЕНД VECTOR VS
   Scoped under #brand-page. Shares the design
   system of the СЕС, АВР and ДГУ pages
   (tipovi_rishennya_*.css): alternating dark/light
   sections, left-aligned labelled headings, brand
   blue, a lightbox and the request modal. Adds the
   brand story blocks on top: timeline, path steps,
   ecosystem layout, quality seal, principles,
   digital tools and metrics, team list.
══════════════════════════════════════════════ */
#brand-page {
  --brand-bg:         #0b0c1e;
  --brand-bg2:        #0f1024;
  --brand-card:       #13152e;
  --brand-card2:      #171935;
  --brand-border:     rgba(255,255,255,.08);
  --brand-border2:    rgba(255,255,255,.25);
  --brand-blue:       #0076ef;
  --brand-blue-dark:  #0a4e9b;
  --brand-white:      #ffffff;
  --brand-text:       rgba(255,255,255,.82);
  --brand-text-muted: rgba(255,255,255,.48);

  --brand-light-bg:     #f4f5fd;
  --brand-light-text:   #1a1d38;
  --brand-light-sub:    #4a5568;
  --brand-light-border: #e3e7f2;

  --brand-radius:    6px;
  --brand-radius-lg: 14px;

  background: var(--brand-bg);
  color: var(--brand-text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  display: block;
}
#brand-page *, #brand-page *::before, #brand-page *::after { box-sizing: border-box; }

/* Element resets stay scoped to this page's own blocks: the shared
   breadcrumbs component also renders inside #brand-page and must keep the
   theme's styles (its separator is an inline <svg>, which a global
   display:block would drop onto its own line). */
#brand-page section img,     #brand-page section svg,
#brand-page .brand-subnav svg, #brand-page .brand-totop-bar svg,
#brand-page .brand-modal svg,  #brand-page .brand-lb img { display: block; max-width: 100%; }

#brand-page section a, #brand-page .brand-subnav a { color: inherit; text-decoration: none; }

#brand-page .brand-ask-points,
#brand-page .brand-steps { list-style: none; margin: 0; padding: 0; }

#brand-page section h1, #brand-page section h2, #brand-page section h3,
#brand-page section h4, #brand-page section h5, #brand-page section h6,
#brand-page .brand-modal h3 {
  font-weight: 800; letter-spacing: -.3px; color: #fff; margin: 0;
}
#brand-page section p, #brand-page .brand-modal p,
#brand-page section blockquote { margin: 0; }

#brand-page .brand-wrap { max-width: 1580px; margin: 0 auto; padding: 0 30px; }
#brand-page section { padding: 80px 0; }

/* ══════════════════════════════════════════════
   SECTION BASES — alternating dark / light
══════════════════════════════════════════════ */
#brand-page .brand-dark {
  position: relative;
  overflow: hidden;
  background: var(--brand-bg);
}
#brand-page .brand-dark > * { position: relative; z-index: 1; }

#brand-page .brand-glow-bg {
  position: absolute;
  z-index: 0;
  width: 1583px;
  height: 781px;
  pointer-events: none;
  top: -300px;
  left: -500px;
}
#brand-page .brand-glow-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: translateZ(0);
  filter: blur(150px);
}

#brand-page .brand-light { background: var(--brand-light-bg); }

/* ══════════════════════════════════════════════
   SECTION HEADINGS — left aligned, labelled
══════════════════════════════════════════════ */
#brand-page .brand-section-head { margin-bottom: 44px; }

#brand-page .brand-section-label {
  font-size: 15px; font-weight: 500; letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 12px;
}
#brand-page .brand-section-label::before {
  content: '';
  display: block;
  width: 40px; height: 0;
  border-top: 1px solid currentColor;
  flex-shrink: 0;
}
#brand-page .brand-dark  .brand-section-label { color: #fff; }
#brand-page .brand-light .brand-section-label { color: var(--brand-blue); }

#brand-page .brand-section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800;
  line-height: 1.2; margin-bottom: 20px;
}
#brand-page .brand-dark  .brand-section-title { color: var(--brand-white); }
#brand-page .brand-light .brand-section-title { color: var(--brand-light-text); letter-spacing: -.3px; }

#brand-page .brand-section-desc {
  font-size: 1rem; line-height: 1.75; max-width: 980px;
}
#brand-page .brand-dark  .brand-section-desc { color: rgba(255,255,255,.82); }
#brand-page .brand-light .brand-section-desc { color: var(--brand-light-sub); }

/* One-line motto under a block, accent on the second half */
#brand-page .brand-motto {
  margin-top: 30px; font-size: 1.2rem; font-weight: 700; line-height: 1.4;
}
#brand-page .brand-motto span { color: var(--brand-blue); }
#brand-page .brand-dark  .brand-motto { color: #fff; }
#brand-page .brand-light .brand-motto { color: var(--brand-light-text); }

/* ══════════════════════════════════════════════
   BUTTONS
   Shared metrics first so filled and outlined
   variants always render the same height.
══════════════════════════════════════════════ */
#brand-page .brand-btn-primary,
#brand-page .brand-btn-outline,
#brand-page .brand-btn-light,
#brand-page .brand-btn-sm,
#brand-page .brand-btn-outline-dark {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--brand-radius);
  font-weight: 600; line-height: 1.2;
  font-family: 'Inter', sans-serif;
  border: 1px solid transparent;
  cursor: pointer; transition: all .3s ease; white-space: nowrap;
  text-decoration: none;
}
/* large */
#brand-page .brand-btn-primary,
#brand-page .brand-btn-outline,
#brand-page .brand-btn-light { padding: 14px 32px; font-size: 1rem; }
/* compact */
#brand-page .brand-btn-sm,
#brand-page .brand-btn-outline-dark { padding: 12px 22px; font-size: .95rem; }

#brand-page .brand-btn-primary { background: var(--brand-blue); color: #fff; }
#brand-page .brand-btn-primary:hover { background: #0069d4; color: #fff; }

#brand-page .brand-btn-outline { background: transparent; color: #f5f7fa; border-color: #2a3f5f; }
#brand-page .brand-btn-outline:hover {
  border-color: var(--brand-blue); color: var(--brand-blue); background: rgba(0,118,239,.06);
}

#brand-page .brand-btn-light { background: #fff; color: var(--brand-light-text); }
#brand-page .brand-btn-light:hover { background: var(--brand-light-bg); color: var(--brand-blue); }

#brand-page .brand-btn-outline-dark {
  background: transparent; color: rgba(255,255,255,.82); border-color: var(--brand-border2);
}
#brand-page .brand-btn-outline-dark:hover { color: #fff; border-color: rgba(255,255,255,.6); }
#brand-page .brand-light .brand-btn-outline-dark { color: var(--brand-light-text); border-color: #cdd5e5; }
#brand-page .brand-light .brand-btn-outline-dark:hover { color: var(--brand-blue); border-color: var(--brand-blue); }

#brand-page .brand-btn-sm { background: var(--brand-blue); color: #fff; }
#brand-page .brand-btn-sm:hover { background: #0069d4; color: #fff; }

#brand-page .brand-btn-primary svg,
#brand-page .brand-btn-outline svg,
#brand-page .brand-btn-light svg { width: 18px; height: 18px; flex-shrink: 0; }
#brand-page .brand-btn-sm svg,
#brand-page .brand-btn-outline-dark svg { width: 16px; height: 16px; flex-shrink: 0; }

#brand-page .brand-btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

/* ══════════════════════════════════════════════
   IN-PAGE ANCHOR SUBNAV
══════════════════════════════════════════════ */
#brand-page .brand-subnav { background: var(--brand-bg2); border-bottom: 1px solid var(--brand-border); }
#brand-page .brand-subnav .brand-wrap {
  display: flex; align-items: center; gap: 10px; height: 48px; overflow-x: auto;
}
#brand-page .brand-subnav a {
  font-size: .85rem; color: var(--brand-text-muted); font-weight: 600;
  padding: 6px 14px; border-radius: 20px; white-space: nowrap;
  transition: background .2s, color .2s;
}
#brand-page .brand-subnav a:hover,
#brand-page .brand-subnav a.active { color: #fff; background: rgba(255,255,255,.07); }

/* ══════════════════════════════════════════════
   HERO  (dark)
══════════════════════════════════════════════ */
#brand-page .brand-hero { padding: 72px 0 80px; }
#brand-page .brand-hero-inner { display: grid; grid-template-columns: 1fr 460px; gap: 56px; align-items: center; }
#brand-page .brand-hero-main { display: flex; flex-direction: column; min-width: 0; }
#brand-page .brand-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.14;
  margin-bottom: 24px; color: #fff; text-transform: uppercase; max-width: 820px;
}
#brand-page .brand-hero-lead {
  color: rgba(255,255,255,.82); font-size: 1rem; line-height: 1.75;
  margin-bottom: 18px;
}
#brand-page .brand-hero-lead b { color: #fff; font-weight: 700; }
#brand-page .brand-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; }

#brand-page .brand-hero-side { min-width: 0; }
/* The render is a dark night scene, so it fills the frame and a gradient
   at the foot gives the caption a ground to sit on. */
#brand-page .brand-hero-visual {
  display: block; position: relative; border-radius: 18px; overflow: hidden;
  aspect-ratio: 3/4; border: 1px solid var(--brand-border); background: #080a1c;
}
#brand-page .brand-hero-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 58% center;
  transition: transform .5s;
}
#brand-page .brand-hero-visual:hover img { transform: scale(1.03); }
#brand-page .brand-hero-visual::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: 1;
  background: linear-gradient(to bottom, rgba(8,10,28,0), rgba(8,10,28,.7) 45%, rgba(8,10,28,.96));
}
#brand-page .brand-hero-visual-badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: var(--brand-blue); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  padding: 6px 10px; border-radius: 4px;
}
#brand-page .brand-hero-visual-caption {
  position: absolute; left: 18px; right: 72px; bottom: 18px; z-index: 2;
  color: #fff; font-weight: 800; font-size: 1.1rem; line-height: 1.3;
}
#brand-page .brand-arrow-btn {
  position: absolute; right: 16px; bottom: 16px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--brand-blue);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
#brand-page .brand-arrow-btn svg { width: 20px; height: 20px; }
#brand-page .brand-hero-visual:hover .brand-arrow-btn { background: var(--brand-blue); color: #fff; }

/* ══════════════════════════════════════════════
   TIMELINE + PATH STEPS  (history)
══════════════════════════════════════════════ */
#brand-page .brand-timeline {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 40px;
}
#brand-page .brand-tl-item {
  position: relative; background: #fff; border: 1px solid var(--brand-light-border);
  border-radius: var(--brand-radius-lg); padding: 24px 20px;
  box-shadow: 0 4px 20px rgba(20,25,60,.06);
}
#brand-page .brand-tl-item::before {
  content: ''; position: absolute; top: 0; left: 20px; right: 20px; height: 2px;
  background: var(--brand-blue); border-radius: 2px;
}
#brand-page .brand-tl-year {
  font-size: 1.7rem; font-weight: 900; color: var(--brand-blue);
  letter-spacing: -.5px; line-height: 1; margin-bottom: 12px;
}
#brand-page .brand-tl-item h4 { font-size: 1rem; margin-bottom: 6px; color: var(--brand-light-text); }
#brand-page .brand-tl-item p { font-size: .92rem; line-height: 1.6; color: var(--brand-light-sub); }
#brand-page .brand-tl-item.brand-now {
  background: linear-gradient(160deg, var(--brand-blue), var(--brand-blue-dark));
  border-color: transparent;
}
#brand-page .brand-tl-item.brand-now::before { background: rgba(255,255,255,.5); }
#brand-page .brand-tl-item.brand-now .brand-tl-year,
#brand-page .brand-tl-item.brand-now h4 { color: #fff; }
#brand-page .brand-tl-item.brand-now p { color: rgba(255,255,255,.88); }

#brand-page .brand-path-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--brand-light-border);
  border-radius: var(--brand-radius-lg); overflow: hidden;
  box-shadow: 0 4px 20px rgba(20,25,60,.06);
}
#brand-page .brand-path-step { padding: 28px 24px; border-right: 1px solid var(--brand-light-border); }
#brand-page .brand-path-step:last-child { border-right: none; background: rgba(0,118,239,.06); }
#brand-page .brand-path-num {
  font-size: 2.4rem; font-weight: 900; line-height: 1; margin-bottom: 16px;
  color: transparent; -webkit-text-stroke: 1px var(--brand-blue);
}
#brand-page .brand-path-step:last-child .brand-path-num { color: var(--brand-blue); -webkit-text-stroke: 0; }
#brand-page .brand-path-step h4 { font-size: 1.05rem; margin-bottom: 6px; color: var(--brand-light-text); }
#brand-page .brand-path-step p { font-size: .95rem; line-height: 1.6; color: var(--brand-light-sub); }

/* ══════════════════════════════════════════════
   FEATURE CARDS  (experience / partners)
══════════════════════════════════════════════ */
#brand-page .brand-func-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
#brand-page .brand-func-grid.brand-three { grid-template-columns: repeat(3,1fr); }
#brand-page .brand-func-card {
  background: var(--brand-card); border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-lg); padding: 26px 22px; transition: border-color .25s;
}
#brand-page .brand-func-card:hover { border-color: var(--brand-border2); }
#brand-page .brand-func-icon {
  width: 46px; height: 46px; border-radius: 10px; background: rgba(0,118,239,.15);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  color: var(--brand-blue);
}
#brand-page .brand-func-icon svg { width: 22px; height: 22px; }
#brand-page .brand-func-card h4 { font-size: 1.05rem; margin-bottom: 8px; color: #fff; }
#brand-page .brand-func-card p { font-size: 1rem; color: rgba(255,255,255,.82); line-height: 1.7; }
#brand-page .brand-big {
  display: block; font-size: 2.2rem; font-weight: 900; color: #fff;
  line-height: 1.05; margin-bottom: 10px; letter-spacing: -.5px;
}
#brand-page .brand-big em { font-style: normal; color: var(--brand-blue); }

/* Light variant */
#brand-page .brand-light .brand-func-card {
  background: #fff; border-color: var(--brand-light-border);
  box-shadow: 0 4px 20px rgba(20,25,60,.06);
}
#brand-page .brand-light .brand-func-card:hover { border-color: #c9d3e8; }
#brand-page .brand-light .brand-func-icon { background: rgba(0,118,239,.1); }
#brand-page .brand-light .brand-func-card h4 { color: var(--brand-light-text); }
#brand-page .brand-light .brand-func-card p { color: var(--brand-light-sub); }

/* Why banner — a photo sits behind the text under a dark wash,
   so the banner reads the same on dark and light sections. */
#brand-page .brand-why-banner {
  position: relative; overflow: hidden;
  background: #080a1c; border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-lg); padding: 36px 34px; margin-top: 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
#brand-page .brand-why-banner > img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; opacity: .45;
}
#brand-page .brand-why-banner::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(11,12,30,.95) 0%, rgba(11,12,30,.75) 55%, rgba(11,12,30,.3));
}
#brand-page .brand-why-banner > *:not(img) { position: relative; z-index: 2; }
#brand-page .brand-why-banner-text { flex: 1; min-width: 0; max-width: 820px; }
#brand-page .brand-why-banner-text h3 { font-size: 1.3rem; margin-bottom: 8px; color: #fff; }
#brand-page .brand-why-banner-text p { color: rgba(255,255,255,.82); font-size: 1rem; line-height: 1.7; }
#brand-page .brand-why-banner-text p b { color: #fff; }

/* ══════════════════════════════════════════════
   ECOSYSTEM — four cards around the scheme
══════════════════════════════════════════════ */
#brand-page .brand-eco-layout {
  display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 20px; align-items: stretch;
}
#brand-page .brand-eco-col { display: flex; flex-direction: column; gap: 20px; }
#brand-page .brand-eco-card {
  flex: 1; background: #fff; border: 1px solid var(--brand-light-border);
  border-radius: var(--brand-radius-lg); padding: 26px 24px;
  box-shadow: 0 4px 20px rgba(20,25,60,.06); transition: border-color .25s;
}
#brand-page .brand-eco-card:hover { border-color: #c9d3e8; }
#brand-page .brand-use-badge {
  display: inline-block; font-size: .72rem; letter-spacing: 1px; text-transform: uppercase;
  font-weight: 700; color: var(--brand-blue); background: rgba(0,118,239,.1);
  padding: 4px 10px; border-radius: 4px; margin-bottom: 14px;
}
#brand-page .brand-eco-card h4 { font-size: 1.1rem; margin-bottom: 8px; color: var(--brand-light-text); }
#brand-page .brand-eco-card p { font-size: 1rem; line-height: 1.7; color: var(--brand-light-sub); }

#brand-page .brand-eco-center {
  position: relative; overflow: hidden; min-height: 380px; width: 100%;
  border: none; border-radius: var(--brand-radius-lg); padding: 0;
  background: #080a1c; cursor: zoom-in; font-family: 'Inter', sans-serif;
}
#brand-page .brand-eco-center img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; transition: transform .5s;
}
#brand-page .brand-eco-center:hover img { transform: scale(1.03); }
#brand-page .brand-eco-center::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(8,10,28,.85), rgba(8,10,28,0) 40%, rgba(8,10,28,0) 70%, rgba(8,10,28,.8));
}
#brand-page .brand-eco-center-cap {
  position: absolute; top: 24px; left: 0; right: 0; z-index: 2; padding: 0 16px;
  text-align: center; color: #fff; font-weight: 800; font-size: 1.25rem; line-height: 1.25;
}
#brand-page .brand-eco-center-foot {
  position: absolute; bottom: 20px; left: 0; right: 0; z-index: 2; padding: 0 16px;
  text-align: center; color: rgba(255,255,255,.82); font-size: .9rem;
}

/* ══════════════════════════════════════════════
   TWO-COLUMN BLOCKS  (quality / engineering /
   services / team)
══════════════════════════════════════════════ */
#brand-page .brand-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
#brand-page .brand-split.brand-wide-img { grid-template-columns: 1.1fr 1fr; }
#brand-page .brand-split-text { min-width: 0; }
#brand-page .brand-split-text > .brand-section-desc { margin-bottom: 24px; }

#brand-page .brand-split-img {
  display: block; width: 100%; padding: 0; overflow: hidden;
  border: 1px solid var(--brand-border); border-radius: var(--brand-radius-lg);
  background: #080a1c; cursor: zoom-in;
}
#brand-page .brand-split-img img { width: 100%; height: auto; transition: transform .4s; }
#brand-page .brand-split-img:hover img { transform: scale(1.02); }
#brand-page .brand-light .brand-split-img { border-color: var(--brand-light-border); }

#brand-page .brand-formula-box {
  background: var(--brand-card); border: 1px solid rgba(0,118,239,.4);
  border-radius: var(--brand-radius-lg); padding: 22px 24px; margin-bottom: 18px;
  font-size: 1.35rem; font-weight: 800; color: #fff; line-height: 1.3;
}
#brand-page .brand-formula-box span { color: var(--brand-blue); }

/* Small uppercase block heading */
#brand-page .brand-block-h {
  font-size: .85rem; text-transform: uppercase; letter-spacing: 1px;
  color: var(--brand-text-muted); margin: 26px 0 14px; font-weight: 700;
}
#brand-page .brand-light .brand-block-h { color: #6b7280; }

/* Numbered steps — bold lead line, then the explanation under it */
#brand-page .brand-steps { counter-reset: brandstep; }
#brand-page .brand-steps li {
  display: flex; gap: 14px; padding: 13px 0;
  border-bottom: 1px solid var(--brand-border);
  font-size: 1rem; line-height: 1.65; color: rgba(255,255,255,.7);
}
#brand-page .brand-steps li:last-child { border-bottom: none; }
#brand-page .brand-steps li::before {
  counter-increment: brandstep; content: counter(brandstep);
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; margin-top: 1px;
  background: rgba(0,118,239,.18); color: var(--brand-blue);
  font-size: .8rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
#brand-page .brand-steps li b { display: block; color: #fff; font-weight: 700; margin-bottom: 2px; }

#brand-page .brand-note {
  font-size: .95rem; line-height: 1.7; color: var(--brand-text-muted);
  margin-top: 20px; padding: 14px 18px;
  border-left: 2px solid var(--brand-blue); background: rgba(0,118,239,.07);
  border-radius: 0 8px 8px 0;
}
#brand-page .brand-note b { color: #fff; }
#brand-page .brand-light .brand-note { color: var(--brand-light-sub); background: rgba(0,118,239,.05); }
#brand-page .brand-light .brand-note b { color: var(--brand-light-text); }

#brand-page .brand-chips { display: flex; gap: 8px; flex-wrap: wrap; }
#brand-page .brand-chip {
  font-size: .85rem; font-weight: 600; padding: 6px 14px; border-radius: 4px;
  border: 1px solid var(--brand-border2); color: var(--brand-text);
}

/* ══════════════════════════════════════════════
   QUALITY SEAL — the seal artwork is printed on
   cream, so the card keeps that paper ground.
══════════════════════════════════════════════ */
#brand-page .brand-seal-card {
  background: #f8f4ec; border-radius: 18px; padding: 36px 32px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  color: var(--brand-light-text);
}
#brand-page .brand-seal-card img {
  width: 270px; max-width: 75%; height: auto; margin-bottom: 22px;
  filter: drop-shadow(0 6px 14px rgba(26,28,46,.18));
}
#brand-page .brand-seal-card blockquote {
  font-size: 1.2rem; font-weight: 700; line-height: 1.45; color: var(--brand-light-text);
  max-width: 460px; padding: 0; border: none;
}
#brand-page .brand-seal-foot { margin-top: 16px; font-size: .92rem; line-height: 1.6; color: #5a5f78; max-width: 440px; }
#brand-page .brand-seal-motto {
  margin-top: 18px; font-size: .8rem; letter-spacing: 1.5px; text-transform: uppercase;
  font-weight: 800; color: var(--brand-blue);
}

/* ══════════════════════════════════════════════
   PRINCIPLES
══════════════════════════════════════════════ */
#brand-page .brand-prin-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
#brand-page .brand-prin-card {
  background: #fff; border: 1px solid var(--brand-light-border);
  border-radius: var(--brand-radius-lg); overflow: hidden;
  box-shadow: 0 4px 20px rgba(20,25,60,.06);
  display: flex; flex-direction: column;
}
#brand-page .brand-prin-card img {
  width: 100%; aspect-ratio: 16/11; object-fit: cover; object-position: center 30%;
}
#brand-page .brand-prin-body { padding: 24px 24px 26px; }
#brand-page .brand-prin-k {
  font-size: .75rem; letter-spacing: 1.5px; text-transform: uppercase;
  font-weight: 800; color: var(--brand-blue); margin-bottom: 6px;
}
#brand-page .brand-prin-body h4 { font-size: 1.3rem; margin-bottom: 8px; color: var(--brand-light-text); }
#brand-page .brand-prin-body p { font-size: 1rem; line-height: 1.7; color: var(--brand-light-sub); }

/* ══════════════════════════════════════════════
   DIGITAL SERVICES
══════════════════════════════════════════════ */
#brand-page .brand-count-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 22px; }
#brand-page .brand-count {
  background: #fff; border: 1px solid var(--brand-light-border);
  border-radius: var(--brand-radius-lg); padding: 18px 16px;
  box-shadow: 0 4px 20px rgba(20,25,60,.06);
}
#brand-page .brand-count b {
  display: block; font-size: 1.9rem; font-weight: 900; line-height: 1.05;
  color: var(--brand-light-text); margin-bottom: 4px; letter-spacing: -.5px;
}
#brand-page .brand-count b em { font-style: normal; color: var(--brand-blue); }
#brand-page .brand-count span { font-size: .92rem; line-height: 1.45; color: var(--brand-light-sub); }

#brand-page .brand-tool-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
#brand-page .brand-tool {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--brand-light-border); border-radius: 10px;
  padding: 11px 14px; font-size: .92rem; font-weight: 600; color: var(--brand-light-text);
}
#brand-page .brand-tool::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  background: var(--brand-blue);
}
/* Tools that open a service get an arrow and a hover state */
#brand-page a.brand-tool { transition: border-color .2s, color .2s, box-shadow .2s; }
#brand-page a.brand-tool::after {
  content: '→'; margin-left: auto; padding-left: 8px;
  color: var(--brand-blue); font-weight: 700; opacity: .5; transition: opacity .2s, transform .2s;
}
#brand-page a.brand-tool:hover {
  border-color: var(--brand-blue); color: var(--brand-blue);
  box-shadow: 0 4px 14px rgba(0,118,239,.12);
}
#brand-page a.brand-tool:hover::after { opacity: 1; transform: translateX(2px); }
#brand-page .brand-tool.brand-ai {
  border-color: rgba(0,118,239,.4); background: rgba(0,118,239,.06);
}
#brand-page .brand-tool.brand-ai::before { box-shadow: 0 0 0 3px rgba(0,118,239,.2); }

#brand-page .brand-metrics { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; margin-top: 56px; }
#brand-page .brand-metric {
  background: #fff; border: 1px solid var(--brand-light-border);
  border-radius: var(--brand-radius-lg); padding: 26px 24px;
  box-shadow: 0 4px 20px rgba(20,25,60,.06);
}
#brand-page .brand-metric.brand-hl {
  background: linear-gradient(160deg, var(--brand-blue), var(--brand-blue-dark));
  border-color: transparent;
}
#brand-page .brand-metric b {
  display: block; font-size: 2.2rem; font-weight: 900; line-height: 1.05;
  color: var(--brand-light-text); letter-spacing: -.5px; margin-bottom: 8px;
}
#brand-page .brand-metric b em { font-style: normal; color: var(--brand-blue); }
#brand-page .brand-metric b em.brand-unit { font-size: 1.1rem; }
#brand-page .brand-metric span { font-size: .95rem; line-height: 1.5; color: var(--brand-light-sub); }
#brand-page .brand-metric.brand-hl b,
#brand-page .brand-metric.brand-hl b em { color: #fff; }
#brand-page .brand-metric.brand-hl span { color: rgba(255,255,255,.88); }

/* ══════════════════════════════════════════════
   TEAM — the group photo is a wide shot, so it
   keeps its own proportions: cropping it to the
   column height would cut people off at the sides.
══════════════════════════════════════════════ */
#brand-page .brand-team-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
#brand-page .brand-team-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--brand-card); border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius-lg); padding: 18px;
}
#brand-page .brand-node-ico {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 10px;
  background: rgba(0,118,239,.15); color: var(--brand-blue);
  display: flex; align-items: center; justify-content: center;
}
#brand-page .brand-node-ico svg { width: 20px; height: 20px; }
#brand-page .brand-team-item b { display: block; color: #fff; font-size: 1.02rem; margin-bottom: 2px; }
#brand-page .brand-team-item p { font-size: .95rem; line-height: 1.6; color: var(--brand-text-muted); }
#brand-page .brand-team-motto { font-size: 1.2rem; font-weight: 800; color: #fff; }
#brand-page .brand-team-motto span { color: var(--brand-blue); }

/* ══════════════════════════════════════════════
   ASK SECTION / FORMS
══════════════════════════════════════════════ */
#brand-page .brand-ask-section { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
#brand-page .brand-ask-text .brand-section-desc { margin-bottom: 18px; }
#brand-page .brand-ask-points li { display: flex; gap: 10px; font-size: 1rem; padding: 7px 0; color: var(--brand-text); }
#brand-page .brand-ask-points li::before { content: "✓"; color: var(--brand-blue); font-weight: 900; }

/* Form card stays dark on both backgrounds */
#brand-page .brand-form-card {
  background: #161b2e; border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--brand-radius-lg); padding: 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
#brand-page .brand-form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
#brand-page .brand-form-row { margin-bottom: 16px; }
#brand-page .brand-form-row label {
  display: block; font-size: 1rem; color: #fff;
  margin-bottom: 6px; font-weight: 500;
}
#brand-page .brand-required { color: #ef4444; }
#brand-page .brand-form-row input,
#brand-page .brand-form-row select,
#brand-page .brand-form-row textarea {
  width: 100%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px; color: #fff; padding: 11px 14px;
  font-family: 'Inter', sans-serif; font-size: 1rem; outline: none;
  transition: border-color .3s; -webkit-appearance: none; appearance: none;
}
#brand-page .brand-form-row textarea { resize: none; height: 100px; }
#brand-page .brand-form-row input::placeholder,
#brand-page .brand-form-row textarea::placeholder { color: #4e5d72; }
#brand-page .brand-form-row input:focus,
#brand-page .brand-form-row select:focus,
#brand-page .brand-form-row textarea:focus { border-color: var(--brand-blue); }
#brand-page .brand-form-row select { cursor: pointer; padding-right: 38px; }
#brand-page .brand-form-row select option { background: #fff; color: #080808; }
#brand-page .brand-select-wrap { position: relative; }
#brand-page .brand-select-wrap::after {
  content: ''; pointer-events: none; position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%); width: 16px; height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23aab4c8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
#brand-page .brand-input-invalid { border-color: var(--brand-blue) !important; }
#brand-page .brand-field-error {
  display: block; font-size: .85rem; color: var(--brand-blue); margin-top: 5px;
}
#brand-page .brand-form-submit {
  width: 100%; justify-content: center;
  text-transform: uppercase; letter-spacing: .05em; font-weight: 700;
  padding: 14px; margin-top: 8px;
}
#brand-page .brand-form-note { font-size: .9rem; color: #9aa5b4; margin-top: 12px; }

/* ══════════════════════════════════════════════
   FINAL CTA — blue panel over the brand render
══════════════════════════════════════════════ */
#brand-page .brand-final-cta {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  border-radius: 24px; padding: 68px 40px;
}
#brand-page .brand-final-cta > img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; opacity: .55;
}
#brand-page .brand-final-cta > *:not(img) { position: relative; z-index: 1; }
#brand-page .brand-final-cta .brand-section-label { color: #fff; justify-content: center; opacity: .9; }
#brand-page .brand-final-cta .brand-section-label::before { display: none; }
#brand-page .brand-final-cta h2 {
  color: #fff; font-size: clamp(1.5rem, 3.2vw, 2.2rem); line-height: 1.2;
  text-transform: uppercase; max-width: 900px; margin: 0 auto 16px;
}
#brand-page .brand-final-cta p {
  color: rgba(255,255,255,.9); font-size: 1rem; line-height: 1.75;
  max-width: 660px; margin: 0 auto 30px;
}
#brand-page .brand-final-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
#brand-page .brand-final-cta .brand-btn-outline { border-color: rgba(255,255,255,.55); color: #fff; }
#brand-page .brand-final-cta .brand-btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.1); }

/* ══════════════════════════════════════════════
   SCROLL TO TOP
══════════════════════════════════════════════ */
#brand-page .brand-totop-bar {
  position: fixed; bottom: 24px; right: 24px; z-index: 500;
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .3s, transform .3s;
}
#brand-page .brand-totop-bar.brand-visible { opacity: 1; pointer-events: all; transform: translateY(0); }
#brand-page .brand-totop-btn {
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-blue); color: #fff;
  width: 48px; height: 48px; border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0,118,239,.45);
  cursor: pointer; border: none;
  transition: background .2s, transform .2s, box-shadow .2s;
}
#brand-page .brand-totop-btn:hover {
  background: #0069d4; transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,118,239,.55);
}
#brand-page .brand-totop-btn svg { width: 22px; height: 22px; }

/* ══════════════════════════════════════════════
   MODAL
══════════════════════════════════════════════ */
#brand-page .brand-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 9999;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
#brand-page .brand-modal-overlay.active { opacity: 1; pointer-events: all; }
#brand-page .brand-modal {
  background: #161b2e; border-radius: 16px;
  padding: 36px; max-width: 440px; width: 100%; position: relative;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,.6);
  transform: translateY(20px); transition: transform .3s;
}
#brand-page .brand-modal-overlay.active .brand-modal { transform: translateY(0); }
#brand-page .brand-modal-close {
  position: absolute; top: 18px; right: 18px;
  background: rgba(255,255,255,.1); border: none; cursor: pointer;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: #aab4c8; line-height: 1; padding: 0;
  transition: background .2s, color .2s;
}
#brand-page .brand-modal-close:hover { background: rgba(255,255,255,.2); color: #fff; }
#brand-page .brand-modal h3 { font-size: 1.35rem; margin-bottom: 8px; padding-right: 34px; color: #fff; }
#brand-page .brand-modal-sub { color: #8896aa; font-size: .95rem; margin-bottom: 24px; }

/* ══════════════════════════════════════════════
   LIGHTBOX — full-size image
══════════════════════════════════════════════ */
#brand-page .brand-lb {
  position: fixed; inset: 0; background: rgba(5,6,18,.94); z-index: 10000;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
#brand-page .brand-lb.active { opacity: 1; pointer-events: all; }
#brand-page .brand-lb img { max-width: 92vw; max-height: 78vh; object-fit: contain; border-radius: 10px; }
#brand-page .brand-lb p {
  color: #fff; font-size: .95rem; font-weight: 600; text-align: center; max-width: 640px;
}
#brand-page .brand-lb-close {
  position: absolute; top: 20px; right: 24px;
  background: rgba(255,255,255,.1); border: none; cursor: pointer;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #fff; line-height: 1; padding: 0;
  transition: background .2s;
}
#brand-page .brand-lb-close:hover { background: rgba(255,255,255,.22); }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1280px) {
  #brand-page .brand-hero-inner { grid-template-columns: 1fr 400px; gap: 40px; }
}
@media (max-width: 1100px) {
  #brand-page .brand-timeline { grid-template-columns: repeat(3,1fr); }
  #brand-page .brand-eco-layout { grid-template-columns: 1fr 1fr; }
  #brand-page .brand-eco-center { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 1024px) {
  #brand-page .brand-hero-inner { grid-template-columns: 1fr; }
  #brand-page .brand-hero-side { max-width: 460px; }
}
@media (max-width: 900px) {
  #brand-page .brand-func-grid,
  #brand-page .brand-func-grid.brand-three { grid-template-columns: repeat(2,1fr); }
  #brand-page .brand-path-grid { grid-template-columns: repeat(2,1fr); }
  #brand-page .brand-path-step { border-bottom: 1px solid var(--brand-light-border); }
  #brand-page .brand-path-step:nth-child(2n) { border-right: none; }
  #brand-page .brand-path-step:nth-last-child(-n+2) { border-bottom: none; }
  #brand-page .brand-split,
  #brand-page .brand-split.brand-wide-img { grid-template-columns: 1fr; gap: 36px; }
  #brand-page .brand-prin-grid { grid-template-columns: 1fr; max-width: 560px; }
  #brand-page .brand-metrics { grid-template-columns: 1fr; }
  #brand-page .brand-ask-section { grid-template-columns: 1fr; gap: 36px; }
  #brand-page .brand-why-banner { align-items: flex-start; }
}
@media (max-width: 640px) {
  #brand-page section { padding: 56px 0; }
  #brand-page .brand-wrap { padding: 0 20px; }
  #brand-page .brand-why-banner { padding: 26px 22px; }
  #brand-page .brand-why-banner .brand-btn-sm { width: 100%; justify-content: center; }
  #brand-page .brand-hero-cta .brand-btn-primary,
  #brand-page .brand-hero-cta .brand-btn-outline,
  #brand-page .brand-btn-row .brand-btn-sm,
  #brand-page .brand-btn-row .brand-btn-outline-dark,
  #brand-page .brand-final-cta-btns .brand-btn-light,
  #brand-page .brand-final-cta-btns .brand-btn-outline { width: 100%; justify-content: center; white-space: normal; }
  #brand-page .brand-final-cta { padding: 44px 22px; }
  #brand-page .brand-form-card { padding: 24px 20px; }
  #brand-page .brand-form-2 { grid-template-columns: 1fr; }
  #brand-page .brand-count-grid { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  #brand-page .brand-count { padding: 14px 12px; }
  #brand-page .brand-count b { font-size: 1.5rem; }
  #brand-page .brand-count span { font-size: .82rem; }
}
@media (max-width: 560px) {
  #brand-page .brand-timeline,
  #brand-page .brand-func-grid,
  #brand-page .brand-func-grid.brand-three,
  #brand-page .brand-path-grid,
  #brand-page .brand-eco-layout,
  #brand-page .brand-tool-grid { grid-template-columns: 1fr; }
  #brand-page .brand-path-step { border-right: none; border-bottom: 1px solid var(--brand-light-border); }
  #brand-page .brand-path-step:last-child { border-bottom: none; }
  #brand-page .brand-eco-center { min-height: 300px; }
}
