/* ═══════════════════════════════════════════════
   CNB SOLUTIONS — DESIGN SYSTEM v2
   Navy + Maroon | Dark Premium | Montserrat
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* ── TOKENS ── */
:root {
  --cnbs-navy:          #1f3d7a;
  --cnbs-navy-dark:     #162c58;
  --cnbs-maroon:        #721e1f;
  --cnbs-maroon-light:  #8a2526;
  --cnbs-red:           #cc0000;
  --cnbs-gold:          #c4a060;
  --cnbs-gold-muted:    #a08550;
  --cnbs-dark:          #111111;
  --cnbs-dark-deep:     #0a0a0a;
  --cnbs-dark-secondary:#1a1a1a;
  --cnbs-dark-navy:     #0d1117;
  --cnbs-muted:         #bcc5d3;
  --cnbs-light:         #f4f6f9;
  --cnbs-white:         #ffffff;
  --cnbs-font:          'Montserrat', system-ui, -apple-system, sans-serif;
  --cnbs-container:     1280px;
  --cnbs-section-pad:   clamp(5rem, 10vw, 8rem);
  --cnbs-ease:          cubic-bezier(0.16, 1, 0.3, 1);
  --cnbs-ease-out:      cubic-bezier(0.33, 1, 0.68, 1);
  --cnbs-radius:        4px;
  --cnbs-radius-lg:     12px;
  --cnbs-header-h:      72px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body {
  font-family: var(--cnbs-font);
  background: var(--cnbs-dark);
  color: var(--cnbs-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ── SKIP LINK ── */
.cnbs-skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100000;
  padding: 0.75rem 1.5rem;
  background: var(--cnbs-maroon);
  color: var(--cnbs-white);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s ease;
}
.cnbs-skip-link:focus {
  top: 0;
  outline: none;
}

/* ── FOCUS STATES ── */
:focus-visible {
  outline: 2px solid var(--cnbs-gold);
  outline-offset: 3px;
  border-radius: 4px;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

/* ── FORM ERROR ── */
.cnbs-form__error {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(204, 0, 0, 0.12);
  border: 1px solid rgba(204, 0, 0, 0.3);
  border-radius: 8px;
  color: #ff6b6b;
  font-size: 0.85rem;
  line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--cnbs-white);
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cnbs-dark); }
::-webkit-scrollbar-thumb { background: var(--cnbs-navy); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--cnbs-maroon); }

/* ── SCROLL PROGRESS BAR ── */
.cnbs-scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--cnbs-maroon), var(--cnbs-red));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ── UTILITIES ── */
.cnbs-container {
  max-width: var(--cnbs-container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}
.cnbs-section {
  padding: var(--cnbs-section-pad) 0;
}
.cnbs-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cnbs-gold);
  margin-bottom: 0.75rem;
}
.cnbs-heading { color: var(--cnbs-white); }
.cnbs-heading--xl { font-size: clamp(2.5rem, 6vw, 6rem); line-height: 1.15; font-weight: 900; }
.cnbs-heading--lg { font-size: clamp(2rem, 4vw, 3.75rem); font-weight: 700; }
.cnbs-heading--md { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }
.cnbs-heading--sm { font-size: clamp(1.125rem, 2vw, 1.5rem); font-weight: 600; }
.cnbs-text { color: var(--cnbs-muted); line-height: 1.7; max-width: 640px; }
.cnbs-text--lg { font-size: 1.125rem; }
.cnbs-text--centered { margin-left: auto; margin-right: auto; }

.gradient-text {
  background: linear-gradient(135deg, var(--cnbs-white) 0%, var(--cnbs-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── DIVIDER ── */
.cnbs-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--cnbs-maroon), var(--cnbs-gold));
  border: none;
  margin: 1.5rem 0;
}
.cnbs-divider--center { margin-left: auto; margin-right: auto; }

/* ── BUTTONS ── */
.cnbs-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--cnbs-radius);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: all 0.4s var(--cnbs-ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
/* Shine sweep on hover */
.cnbs-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transition: left 0.6s ease;
}
.cnbs-btn:hover::after { left: 100%; }

.cnbs-btn--primary {
  background: var(--cnbs-maroon);
  color: var(--cnbs-white);
  border: 1px solid var(--cnbs-maroon);
}
.cnbs-btn--primary:hover {
  background: var(--cnbs-red);
  border-color: var(--cnbs-red);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(114, 30, 31, 0.4), 0 0 20px rgba(114, 30, 31, 0.2);
}
.cnbs-btn--secondary {
  background: transparent;
  color: var(--cnbs-white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.cnbs-btn--secondary:hover {
  background: var(--cnbs-white);
  color: var(--cnbs-dark);
  border-color: var(--cnbs-white);
  transform: translateY(-2px);
}
.cnbs-btn--ghost {
  background: transparent;
  color: var(--cnbs-white);
  padding: 0.875rem 0;
}
.cnbs-btn--ghost:hover { color: var(--cnbs-gold); }
.cnbs-btn--ghost::after { display: none; }
.cnbs-btn svg {
  width: 16px; height: 16px;
  transition: transform 0.3s ease;
}
.cnbs-btn:hover svg { transform: translateX(4px); }

/* ── GLASS ── */
.cnbs-glass {
  background: rgba(31, 61, 122, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--cnbs-radius-lg);
}

/* ── HEADER ── */
.cnbs-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--cnbs-header-h);
  transition: background 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
}
.cnbs-page-home .cnbs-header { background: transparent; }
.cnbs-page-home .cnbs-header.is-solid,
body:not(.cnbs-page-home) .cnbs-header {
  background: rgba(17, 17, 17, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05), 0 4px 20px rgba(0,0,0,0.3);
}
.cnbs-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--cnbs-container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  height: 100%;
}
.cnbs-header__logo img { height: 44px; width: auto; }

.cnbs-nav { display: flex; align-items: center; gap: 0.25rem; }
.cnbs-nav__link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
  padding: 0.5rem 0.9rem;
  position: relative;
}
.cnbs-nav__link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: var(--cnbs-maroon);
  transition: left 0.3s var(--cnbs-ease), right 0.3s var(--cnbs-ease);
}
.cnbs-nav__link:hover::after,
.cnbs-nav__link.is-active::after { left: 0.9rem; right: 0.9rem; }
.cnbs-nav__link:hover,
.cnbs-nav__link.is-active { color: var(--cnbs-white); }

/* ── Services Mega Menu ── */
.cnbs-nav__mega { position: relative; }
.cnbs-mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  padding-top: 0.75rem;
}
.cnbs-nav__mega:hover .cnbs-mega {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.cnbs-mega__inner {
  background: rgba(13, 17, 23, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--cnbs-radius-lg);
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  white-space: nowrap;
  min-width: 200px;
}
.cnbs-mega__item {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: background 0.2s ease;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cnbs-white);
}
.cnbs-mega__item:hover { background: rgba(31, 61, 122, 0.15); }

.cnbs-header__cta {
  display: none;
  padding: 0.6rem 1.4rem;
  font-size: 0.78rem;
}

.cnbs-header__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.cnbs-header__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--cnbs-white);
  transition: all 0.3s ease;
  transform-origin: center;
}
.cnbs-header__hamburger.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.cnbs-header__hamburger.is-active span:nth-child(2) { opacity: 0; }
.cnbs-header__hamburger.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Desktop: nav visible, hamburger hidden ── */
@media (min-width: 1024px) {
  .cnbs-nav { display: flex !important; }
  .cnbs-header__hamburger { display: none !important; }
  .cnbs-header__cta { display: inline-flex; }
}

/* ── Tablet & mobile: hamburger visible, nav hidden ── */
@media (max-width: 1023px) {
  .cnbs-nav { display: none !important; }
  .cnbs-header__hamburger { display: flex !important; cursor: pointer; background: none; border: none; }
  .cnbs-header__cta { display: none; }
  .cnbs-header__logo img { height: 36px; }
}
@media (max-width: 767px) {
  .cnbs-header__logo img { height: 32px; }
}

/* ── MOBILE MENU ── */
.cnbs-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.cnbs-mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}
.cnbs-mobile-menu__link {
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}
.cnbs-mobile-menu__link:hover { color: var(--cnbs-white); }

/* ── HERO ── */
.cnbs-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--cnbs-dark-deep);
}
.cnbs-hero__media {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.cnbs-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.75) 50%, var(--cnbs-dark) 100%);
}
/* Precision grid overlay */
.cnbs-hero__grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(31,61,122,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,61,122,0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 30% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, black 20%, transparent 70%);
}
.cnbs-hero__video,
.cnbs-hero__image {
  width: 100%; height: 100%;
  object-fit: cover;
}
.cnbs-hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--cnbs-container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  padding-top: var(--cnbs-header-h);
}
.cnbs-hero__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cnbs-gold);
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 3rem;
}
.cnbs-hero__tag::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 2rem;
  height: 1px;
  background: var(--cnbs-gold);
}
.cnbs-hero__heading {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.cnbs-hero__heading .red { color: var(--cnbs-maroon); }
/* Clip-reveal animation for hero heading lines */
.cnbs-hero__heading .cnbs-clip-line {
  display: block;
  overflow: hidden;
}
.cnbs-hero__heading .cnbs-clip-line span {
  display: block;
  transform: translateY(110%);
  transition: transform 1s var(--cnbs-ease);
}
.cnbs-hero__heading .cnbs-clip-line span.is-visible { transform: translateY(0); }
.cnbs-hero__heading .cnbs-clip-line:nth-child(2) span { transition-delay: 0.15s; }
.cnbs-hero__heading .cnbs-clip-line:nth-child(3) span { transition-delay: 0.3s; }

.cnbs-hero__text {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--cnbs-muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.cnbs-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Scroll indicator */
.cnbs-hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.cnbs-hero__scroll-line {
  width: 1px;
  height: 40px;
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.1);
}
.cnbs-hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  width: 100%;
  height: 100%;
  background: var(--cnbs-gold);
  animation: cnbsScrollLine 2s ease-in-out infinite;
}
@keyframes cnbsScrollLine {
  0% { top: -100%; }
  50% { top: 100%; }
  100% { top: 100%; }
}

/* ── STATS BAR ── */
.cnbs-stats {
  background: rgba(31, 61, 122, 0.08);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 3rem 0;
}
.cnbs-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: var(--cnbs-container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}
.cnbs-stats__number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--cnbs-white);
  line-height: 1;
  letter-spacing: -0.02em;
}
.cnbs-stats__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cnbs-muted);
  margin-top: 0.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* Gold divider under each stat */
.cnbs-stats__item { position: relative; padding-bottom: 0; }
.cnbs-stats__item::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cnbs-gold);
  margin: 0.75rem auto 0;
  opacity: 0.5;
}
@media (min-width: 768px) {
  .cnbs-stats__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── WHAT WE DO / SERVICES OVERVIEW ── */
.cnbs-whatwedo {
  background: var(--cnbs-dark);
  position: relative;
}
.cnbs-whatwedo__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

/* ── SERVICE TILES (homepage — 3 large image cards) ── */
.cnbs-service-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.cnbs-service-tile {
  position: relative;
  border-radius: var(--cnbs-radius-lg);
  overflow: hidden;
  height: 340px;
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(255,255,255,0.04);
  transition: transform 0.5s var(--cnbs-ease), box-shadow 0.5s ease;
}
.cnbs-service-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.cnbs-service-tile__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--cnbs-ease);
}
.cnbs-service-tile:hover .cnbs-service-tile__bg { transform: scale(1.06); }
.cnbs-service-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.2) 50%, rgba(31,61,122,0.1) 100%);
  transition: background 0.5s ease;
}
.cnbs-service-tile:hover .cnbs-service-tile__overlay {
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.3) 50%, rgba(114,30,31,0.15) 100%);
}
.cnbs-service-tile__content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  width: 100%;
}
.cnbs-service-tile__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cnbs-white);
  margin-bottom: 0.35rem;
}
.cnbs-service-tile__desc {
  font-size: 0.85rem;
  color: var(--cnbs-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.cnbs-service-tile__cta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cnbs-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease, color 0.3s ease;
}
.cnbs-service-tile:hover .cnbs-service-tile__cta { gap: 0.75rem; color: var(--cnbs-white); }
.cnbs-service-tile__cta svg { width: 14px; height: 14px; }

@media (min-width: 768px) {
  .cnbs-service-tiles { grid-template-columns: repeat(3, 1fr); }
  .cnbs-service-tile { height: 420px; }
}

/* ── PARALLAX IMAGE BREAK ── */
.cnbs-parallax-break {
  position: relative;
  height: clamp(200px, 30vw, 350px);
  overflow: hidden;
}
.cnbs-parallax-break__img {
  position: absolute;
  inset: -20% 0;
  width: 100%;
  height: 140%;
  object-fit: cover;
  will-change: transform;
}
.cnbs-parallax-break__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--cnbs-dark) 0%, rgba(17,17,17,0.3) 30%, rgba(17,17,17,0.3) 70%, var(--cnbs-dark) 100%);
}
@media (max-width: 767px) {
  .cnbs-parallax-break { height: 180px; }
  .cnbs-parallax-break__overlay {
    background: linear-gradient(to bottom, var(--cnbs-dark) 0%, var(--cnbs-dark) 8%, rgba(17,17,17,0.2) 40%, rgba(17,17,17,0.2) 60%, var(--cnbs-dark) 92%, var(--cnbs-dark) 100%);
  }
}

/* ── PROCESS STRIP ── */
.cnbs-process-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.cnbs-process-strip__step {
  padding: 1.5rem;
  border-radius: var(--cnbs-radius-lg);
  background: rgba(31, 61, 122, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.4s var(--cnbs-ease);
}
.cnbs-process-strip__step:hover {
  background: rgba(31, 61, 122, 0.15);
  border-color: rgba(114, 30, 31, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.cnbs-process-strip__number {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--cnbs-gold);
  margin-bottom: 0.5rem;
}
.cnbs-process-strip__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cnbs-white);
  margin-bottom: 0.25rem;
}
.cnbs-process-strip__desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.4;
}
@media (min-width: 768px) {
  .cnbs-process-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .cnbs-process-strip { grid-template-columns: repeat(6, 1fr); }
}

/* ── INDUSTRY CARDS ── */
.cnbs-industries__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.cnbs-industry-card {
  position: relative;
  border-radius: var(--cnbs-radius-lg);
  overflow: hidden;
  height: 300px;
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(255,255,255,0.04);
  transition: transform 0.5s var(--cnbs-ease), box-shadow 0.5s ease;
}
.cnbs-industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.cnbs-industry-card__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--cnbs-ease);
}
.cnbs-industry-card:hover .cnbs-industry-card__bg { transform: scale(1.06); }
.cnbs-industry-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, rgba(31, 61, 122, 0.2) 100%);
}
.cnbs-industry-card__content {
  position: relative;
  z-index: 2;
  padding: 1.75rem;
  width: 100%;
}
.cnbs-industry-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cnbs-white);
  margin-bottom: 0.5rem;
}
.cnbs-industry-card__cta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cnbs-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease, color 0.3s ease;
}
.cnbs-industry-card:hover .cnbs-industry-card__cta { gap: 0.75rem; color: var(--cnbs-white); }

@media (min-width: 768px) {
  .cnbs-industries__grid { grid-template-columns: repeat(2, 1fr); }
  .cnbs-industry-card { height: 340px; }
}
@media (min-width: 1024px) {
  .cnbs-industries__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── FEATURED PROJECT ── */
.cnbs-featured {
  position: relative;
  overflow: hidden;
  background: var(--cnbs-dark-navy);
}
.cnbs-featured__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
}
.cnbs-featured__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.cnbs-featured__image {
  border-radius: var(--cnbs-radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
}
.cnbs-featured__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--cnbs-ease);
}
.cnbs-featured__image:hover img { transform: scale(1.04); }
.cnbs-featured__results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.cnbs-featured__result {
  padding: 1.25rem;
  border-radius: 8px;
  background: rgba(31, 61, 122, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: border-color 0.3s ease;
}
.cnbs-featured__result:hover { border-color: rgba(114, 30, 31, 0.3); }
.cnbs-featured__result-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cnbs-white);
}
@media (min-width: 1024px) {
  .cnbs-featured__inner { grid-template-columns: 1fr 1fr; }
}

/* ── GLOBAL OFFICES ── */
.cnbs-offices__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.cnbs-office-card {
  padding: 2rem;
  border-radius: var(--cnbs-radius-lg);
  background: rgba(31, 61, 122, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.4s var(--cnbs-ease);
}
.cnbs-office-card:hover {
  background: rgba(31, 61, 122, 0.15);
  border-color: rgba(31, 61, 122, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.cnbs-office-card__flag { font-size: 2rem; margin-bottom: 1rem; }
.cnbs-office-card__city {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cnbs-white);
  margin-bottom: 0.25rem;
}
.cnbs-office-card__role {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cnbs-gold);
  margin-bottom: 0.75rem;
}
.cnbs-office-card__desc {
  font-size: 0.875rem;
  color: var(--cnbs-muted);
  line-height: 1.5;
}
@media (min-width: 768px) {
  .cnbs-offices__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── TESTIMONIALS ── */
.cnbs-testimonials {
  position: relative;
  overflow: hidden;
  background: var(--cnbs-dark-navy);
}
.cnbs-testimonials__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.06;
}
.cnbs-testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}
.cnbs-testimonial-card {
  position: relative;
  padding: 2.5rem 2rem;
  border-radius: var(--cnbs-radius-lg);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255,255,255,0.04);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.cnbs-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.3);
}
.cnbs-testimonial-card__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.2;
  transition: opacity 0.5s ease;
}
.cnbs-testimonial-card:hover .cnbs-testimonial-card__bg { opacity: 0.3; }
.cnbs-testimonial-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(31,61,122,0.2) 100%);
}
.cnbs-testimonial-card__content { position: relative; z-index: 2; }
/* Quote mark decoration */
.cnbs-testimonial-card__content::before {
  content: '\201C';
  display: block;
  font-size: 4rem;
  line-height: 1;
  color: var(--cnbs-white);
  opacity: 0.5;
  margin-bottom: 0.5rem;
  font-family: Georgia, serif;
}
.cnbs-testimonial-card__quote {
  font-size: 1rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.cnbs-testimonial-card__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cnbs-white);
}
.cnbs-testimonial-card__title {
  font-size: 0.75rem;
  color: var(--cnbs-gold-muted);
  font-weight: 500;
  letter-spacing: 0.03em;
}
@media (min-width: 768px) {
  .cnbs-testimonials__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── CTA BANNER ── */
.cnbs-cta-banner {
  text-align: center;
  background: linear-gradient(135deg, rgba(31, 61, 122, 0.15) 0%, rgba(114, 30, 31, 0.08) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.cnbs-cta-banner__heading {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--cnbs-white);
  margin-bottom: 1rem;
}
.cnbs-cta-banner__text {
  color: var(--cnbs-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

/* ── PAGE BANNER ── */
.cnbs-page-banner {
  position: relative;
  padding: clamp(8rem, 20vw, 12rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  background: var(--cnbs-dark-deep);
}
.cnbs-page-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.cnbs-page-banner__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.7) 0%, rgba(17,17,17,0.9) 70%, var(--cnbs-dark) 100%);
}
.cnbs-page-banner__content {
  position: relative;
  z-index: 2;
  max-width: var(--cnbs-container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}
.cnbs-page-banner__content .cnbs-label {
  color: var(--cnbs-gold);
}
.cnbs-page-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.7) 0%, rgba(17,17,17,0.9) 70%, var(--cnbs-dark) 100%);
  z-index: 1;
}
.cnbs-page-banner[style*="background-image"] { background-size: cover; background-position: center; }

/* ── SERVICE CARDS (Services listing) ── */
.cnbs-services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.cnbs-service-card {
  padding: 2rem;
  border-radius: var(--cnbs-radius-lg);
  background: rgba(31, 61, 122, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.4s var(--cnbs-ease);
  display: flex;
  flex-direction: column;
}
.cnbs-service-card:hover {
  background: rgba(31, 61, 122, 0.15);
  border-color: rgba(114, 30, 31, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.cnbs-service-card__icon {
  width: 48px; height: 48px;
  margin-bottom: 1.25rem;
  color: var(--cnbs-white);
}
.cnbs-service-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cnbs-white);
  margin-bottom: 0.5rem;
}
.cnbs-service-card__tagline {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cnbs-gold);
  margin-bottom: 0.75rem;
}
.cnbs-service-card__desc {
  font-size: 0.9rem;
  color: var(--cnbs-muted);
  line-height: 1.6;
  flex: 1;
}
.cnbs-service-card__cta,
.cnbs-service-card__link {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cnbs-white);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s, gap 0.3s;
}
.cnbs-service-card__cta svg,
.cnbs-service-card__link svg { width: 16px; height: 16px; }
.cnbs-service-card:hover .cnbs-service-card__cta,
.cnbs-service-card:hover .cnbs-service-card__link { color: var(--cnbs-gold); gap: 0.75rem; }

@media (min-width: 768px) {
  .cnbs-services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .cnbs-services__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── SERVICE DETAIL ── */
.cnbs-service-detail__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
.cnbs-service-detail__image {
  border-radius: var(--cnbs-radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
}
.cnbs-service-detail__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--cnbs-ease);
}
.cnbs-service-detail__image:hover img { transform: scale(1.04); }
.cnbs-capabilities__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.cnbs-capability {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: rgba(31, 61, 122, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
  color: var(--cnbs-white);
  font-weight: 500;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.cnbs-capability:hover {
  border-color: rgba(114, 30, 31, 0.2);
  background: rgba(31, 61, 122, 0.12);
}
.cnbs-capability__check,
.cnbs-capability__icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--cnbs-white);
}
@media (min-width: 768px) {
  .cnbs-capabilities__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .cnbs-service-detail__grid { grid-template-columns: 1fr 1fr; }
}

/* ── CASE STUDY CARDS ── */
.cnbs-cases__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.cnbs-case-card {
  border-radius: var(--cnbs-radius-lg);
  overflow: hidden;
  background: rgba(31, 61, 122, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.4s var(--cnbs-ease);
}
.cnbs-case-card:hover {
  border-color: rgba(114, 30, 31, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.3);
}
.cnbs-case-card__image {
  height: 260px;
  overflow: hidden;
}
.cnbs-case-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--cnbs-ease);
}
.cnbs-case-card:hover .cnbs-case-card__image img { transform: scale(1.06); }
.cnbs-case-card__body { padding: 2rem; }
.cnbs-case-card__industry {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cnbs-gold);
  margin-bottom: 0.75rem;
}
.cnbs-case-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cnbs-white);
  margin-bottom: 0.75rem;
}
.cnbs-case-card__section-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.5rem;
  margin-top: 1.25rem;
}
.cnbs-case-card__text {
  font-size: 0.9rem;
  color: var(--cnbs-muted);
  line-height: 1.6;
}
.cnbs-case-card__results {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.cnbs-case-card__result-tag {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  background: rgba(114, 30, 31, 0.1);
  border: 1px solid rgba(114, 30, 31, 0.2);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cnbs-white);
}
@media (min-width: 768px) {
  .cnbs-cases__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── PROJECT GALLERY ── */
.cnbs-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.cnbs-gallery-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid rgba(255,255,255,0.04);
}
.cnbs-gallery-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--cnbs-ease);
}
.cnbs-gallery-card:hover img { transform: scale(1.06); }
.cnbs-gallery-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.cnbs-gallery-card:hover .cnbs-gallery-card__overlay { opacity: 1; }
.cnbs-gallery-card__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cnbs-white);
}
@media (min-width: 768px) {
  .cnbs-gallery__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── TEAM ── */
.cnbs-team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.cnbs-team-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--cnbs-radius-lg);
  background: rgba(31, 61, 122, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.4s var(--cnbs-ease);
}
.cnbs-team-card:hover {
  background: rgba(31, 61, 122, 0.15);
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.3);
}
.cnbs-team-card__photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  overflow: hidden;
  border: 2px solid rgba(114, 30, 31, 0.3);
  transition: border-color 0.3s ease;
}
.cnbs-team-card:hover .cnbs-team-card__photo { border-color: var(--cnbs-gold); }
.cnbs-team-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.cnbs-team-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cnbs-white);
  margin-bottom: 0.25rem;
}
.cnbs-team-card__role {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cnbs-gold);
  margin-bottom: 0.75rem;
}
.cnbs-team-card__bio {
  font-size: 0.85rem;
  color: var(--cnbs-muted);
  line-height: 1.6;
}
@media (min-width: 1024px) {
  .cnbs-team__grid { grid-template-columns: repeat(5, 1fr); }
}

/* ── FAQ ── */
.cnbs-faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cnbs-faq-item {
  border-radius: 8px;
  background: rgba(31, 61, 122, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.cnbs-faq-item.is-open {
  border-color: rgba(114, 30, 31, 0.3);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.cnbs-faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cnbs-white);
  cursor: pointer;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  transition: color 0.2s ease;
}
.cnbs-faq-item__question:hover { color: var(--cnbs-gold); }
.cnbs-faq-item__icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--cnbs-muted);
  transition: transform 0.4s var(--cnbs-ease), color 0.3s ease;
}
.cnbs-faq-item.is-open .cnbs-faq-item__icon { transform: rotate(45deg); color: var(--cnbs-white); }
.cnbs-faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--cnbs-ease);
}
.cnbs-faq-item.is-open .cnbs-faq-item__answer { max-height: 300px; }
.cnbs-faq-item__answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--cnbs-muted);
  line-height: 1.7;
}

/* ── CONTACT FORM ── */
.cnbs-contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.cnbs-form__group { margin-bottom: 1.25rem; }
.cnbs-form__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cnbs-form__input,
.cnbs-form__select,
.cnbs-form__textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 8px;
  background: rgba(31, 61, 122, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--cnbs-white);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.cnbs-form__input:focus,
.cnbs-form__select:focus,
.cnbs-form__textarea:focus {
  outline: none;
  border-color: var(--cnbs-maroon);
  background: rgba(31, 61, 122, 0.12);
  box-shadow: 0 0 0 3px rgba(114, 30, 31, 0.15);
}
.cnbs-form__input::placeholder,
.cnbs-form__textarea::placeholder { color: rgba(255, 255, 255, 0.25); }
.cnbs-form__select { appearance: none; cursor: pointer; }
.cnbs-form__select option { background: var(--cnbs-dark); color: var(--cnbs-white); }
.cnbs-form__textarea { min-height: 140px; resize: vertical; }

.cnbs-contact-info { display: flex; flex-direction: column; gap: 2rem; }
.cnbs-contact-info__item { display: flex; align-items: flex-start; gap: 0.75rem; }
.cnbs-contact-info__icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--cnbs-white);
  margin-top: 0.15rem;
}
.cnbs-contact-info__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.25rem;
}
.cnbs-contact-info__value {
  font-size: 0.9rem;
  color: var(--cnbs-white);
}
.cnbs-contact-info__value a { color: var(--cnbs-white); transition: color 0.2s; }
.cnbs-contact-info__value a:hover { color: var(--cnbs-gold); }

.cnbs-form__success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}
.cnbs-form__success.is-visible { display: block; }
.cnbs-form__success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.5rem;
  color: var(--cnbs-white);
}

@media (min-width: 1024px) {
  .cnbs-contact__grid { grid-template-columns: 1.2fr 0.8fr; }
}

/* ── ABOUT PAGE STORY ── */
.cnbs-story__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.cnbs-story__images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.cnbs-story__images img {
  border-radius: 8px;
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.6s var(--cnbs-ease);
}
.cnbs-story__images img:hover { transform: scale(1.03); }
.cnbs-story__pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.cnbs-story__pillar {
  padding: 1.25rem;
  border-radius: 8px;
  background: rgba(31, 61, 122, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
  transition: border-color 0.3s ease;
}
.cnbs-story__pillar:hover { border-color: rgba(114, 30, 31, 0.3); }
.cnbs-story__pillar-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cnbs-white);
}
@media (min-width: 1024px) {
  .cnbs-story__grid { grid-template-columns: 1fr 1fr; }
  .cnbs-story__images img { height: 250px; }
}

/* ── PROCESS DETAIL (How It Works page) ── */
.cnbs-process-steps {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}
.cnbs-process-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .cnbs-process-step:nth-child(even) .cnbs-process-step__image { order: -1; }
}
.cnbs-process-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(114, 30, 31, 0.12);
  border: 1px solid rgba(114, 30, 31, 0.25);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--cnbs-maroon);
  margin-bottom: 1rem;
}
.cnbs-process-step__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cnbs-white);
  margin-bottom: 1rem;
}
.cnbs-process-step__desc {
  font-size: 0.95rem;
  color: var(--cnbs-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.cnbs-process-step__details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
.cnbs-process-step__detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}
.cnbs-process-step__detail::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cnbs-gold);
  flex-shrink: 0;
}
.cnbs-process-step__image {
  border-radius: var(--cnbs-radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
}
.cnbs-process-step__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--cnbs-ease);
}
.cnbs-process-step__image:hover img { transform: scale(1.04); }
@media (min-width: 1024px) {
  .cnbs-process-step { grid-template-columns: 1fr 1fr; }
  .cnbs-process-step:nth-child(even) .cnbs-process-step__image { order: initial; }
  .cnbs-process-step:nth-child(even) .cnbs-process-step__content { order: 2; }
  .cnbs-process-step:nth-child(even) .cnbs-process-step__image { order: 1; }
}

/* ── INDUSTRY DETAIL PAGE ── */
.cnbs-industry-detail__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.cnbs-challenges {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cnbs-challenge {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 8px;
  background: rgba(31, 61, 122, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s ease;
}
.cnbs-challenge:hover { border-color: rgba(114, 30, 31, 0.25); }
.cnbs-challenge__icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--cnbs-maroon);
  margin-top: 0.1rem;
}
.cnbs-challenge__text {
  font-size: 0.9rem;
  color: var(--cnbs-white);
  font-weight: 500;
}
@media (min-width: 1024px) {
  .cnbs-industry-detail__grid { grid-template-columns: 1fr 1fr; }
}

/* ── TAGS ── */
.cnbs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.cnbs-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--cnbs-white);
  background: rgba(31, 61, 122, 0.15);
  border: 1px solid rgba(31, 61, 122, 0.3);
  border-radius: 100px;
}

/* ── FOOTER ── */
.cnbs-footer {
  background: var(--cnbs-dark-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 5rem 0 2rem;
  margin-top: auto;
}
.cnbs-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.cnbs-footer__brand-desc {
  font-size: 0.85rem;
  color: var(--cnbs-muted);
  margin-top: 0.75rem;
  max-width: 320px;
  line-height: 1.6;
}
.cnbs-footer__logo img { height: 50px; width: auto; }
.cnbs-footer__heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1rem;
}
.cnbs-footer__links { display: flex; flex-direction: column; gap: 0.5rem; }
.cnbs-footer__link {
  font-size: 0.85rem;
  color: var(--cnbs-muted);
  transition: color 0.2s;
}
.cnbs-footer__link:hover { color: var(--cnbs-white); }
.cnbs-footer__cta { margin-top: 0.25rem; font-size: 0.8rem; padding: 0.55rem 1.2rem; text-align: center; }
.cnbs-footer__social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.cnbs-footer__social a {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--cnbs-muted);
  transition: all 0.3s ease;
}
.cnbs-footer__social a:hover { background: var(--cnbs-maroon); color: var(--cnbs-white); }
.cnbs-footer__social svg { width: 18px; height: 18px; }
.cnbs-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}
.cnbs-footer__legal { display: flex; gap: 1.5rem; }
.cnbs-footer__legal a { color: rgba(255, 255, 255, 0.3); transition: color 0.2s; }
.cnbs-footer__legal a:hover { color: var(--cnbs-white); }
@media (min-width: 768px) {
  .cnbs-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ── REVEAL ANIMATIONS ── */
.cnbs-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--cnbs-ease), transform 0.9s var(--cnbs-ease);
}
.cnbs-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.cnbs-reveal--d1 { transition-delay: 0.1s; }
.cnbs-reveal--d2 { transition-delay: 0.2s; }
.cnbs-reveal--d3 { transition-delay: 0.3s; }
.cnbs-reveal--d4 { transition-delay: 0.4s; }

/* Slide-from-left variant */
.cnbs-reveal--left {
  opacity: 0;
  transform: translateX(-40px);
}
.cnbs-reveal--left.is-visible { opacity: 1; transform: translateX(0); }

/* Scale-in variant */
.cnbs-reveal--scale {
  opacity: 0;
  transform: scale(0.95);
}
.cnbs-reveal--scale.is-visible { opacity: 1; transform: scale(1); }


/* ── BACK LINK ── */
.cnbs-back,
.cnbs-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cnbs-muted);
  transition: color 0.2s, gap 0.3s;
  margin-bottom: 2rem;
}
.cnbs-back:hover,
.cnbs-back-link:hover { color: var(--cnbs-white); gap: 0.75rem; }
.cnbs-back svg,
.cnbs-back-link svg { width: 16px; height: 16px; }

/* ── SECTION BACKGROUNDS ── */
.cnbs-bg--navy-tint { background: rgba(31, 61, 122, 0.04); }
.cnbs-bg--dark-navy { background: var(--cnbs-dark-navy); }
.cnbs-bg--deep { background: var(--cnbs-dark-deep); }

/* ── LEGAL CONTENT (Privacy & Terms) ── */
.cnbs-legal-content {
  color: var(--cnbs-muted);
  line-height: 1.8;
}
.cnbs-legal-content__effective {
  font-size: 0.85rem;
  color: var(--cnbs-gold);
  font-weight: 600;
  margin-bottom: 2rem;
}
.cnbs-legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cnbs-white);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}
.cnbs-legal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.cnbs-legal-content p {
  margin-bottom: 1rem;
}
.cnbs-legal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.cnbs-legal-content li {
  margin-bottom: 0.5rem;
}
.cnbs-legal-content a {
  color: var(--cnbs-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cnbs-legal-content a:hover {
  color: var(--cnbs-white);
}
.cnbs-legal-content strong {
  color: rgba(255, 255, 255, 0.9);
}

/* ── COOKIE CONSENT ── */
.cnbs-cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: rgba(13, 17, 23, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 2rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cnbs-cookie-consent.is-visible {
  transform: translateY(0);
}
.cnbs-cookie-consent__inner {
  max-width: var(--cnbs-container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cnbs-cookie-consent__text {
  font-size: 0.85rem;
  color: var(--cnbs-muted);
  line-height: 1.6;
  flex: 1;
}
.cnbs-cookie-consent__text a {
  color: var(--cnbs-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cnbs-cookie-consent__text a:hover {
  color: var(--cnbs-white);
}
.cnbs-cookie-consent__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}
.cnbs-cookie-consent__btn {
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.cnbs-cookie-consent__btn--accept {
  background: var(--cnbs-maroon);
  color: var(--cnbs-white);
}
.cnbs-cookie-consent__btn--accept:hover {
  background: var(--cnbs-red);
}
.cnbs-cookie-consent__btn--decline {
  background: rgba(255, 255, 255, 0.08);
  color: var(--cnbs-muted);
}
.cnbs-cookie-consent__btn--decline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--cnbs-white);
}
@media (max-width: 640px) {
  .cnbs-cookie-consent__inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .cnbs-cookie-consent__actions {
    width: 100%;
    justify-content: center;
  }
}
