/* ==================================================================
   BitCube — design tokens
   ================================================================== */
:root {
  --bg:        #ffffff;
  --bg-soft:   #f5f7fb;
  --ink:       #0b1f3a;        /* deep navy */
  --ink-2:     #1c2f4d;
  --muted:     #5a6a82;
  --line:      #e4eaf2;

  --brand-blue:     #2069e6;   /* BitCube blue */
  --brand-blue-2:   #0f4fb8;
  --brand-orange:   #ff8a00;   /* BitCube orange */
  --brand-orange-2: #ff6a00;

  --accent:    var(--brand-orange);
  --accent-2:  var(--brand-orange-2);

  --maxw: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(11,31,58,.06), 0 2px 8px rgba(11,31,58,.04);
  --shadow-md: 0 8px 30px rgba(11,31,58,.10);
  --shadow-lg: 0 20px 50px rgba(11,31,58,.18);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
}

/* ==================================================================
   Reset / base
   ================================================================== */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }
h1,h2,h3,h4 { font-family: var(--font-display); margin: 0 0 .5em; letter-spacing: -.01em; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
p  { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skiplink {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 12px 16px; z-index: 100;
}
.skiplink:focus { left: 12px; top: 12px; }

/* ==================================================================
   Header / nav
   ================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex; align-items: center; gap: 32px;
  min-height: 76px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.4rem;
}
.brand-mark { flex: 0 0 auto; }
.brand-name { color: var(--ink); letter-spacing: -.01em; }
.brand-name-accent { color: var(--brand-orange); }
.site-nav { display: flex; gap: 28px; margin-left: auto; }
.site-nav a {
  font-size: .95rem; font-weight: 500; color: var(--ink-2);
  padding: 8px 0; position: relative;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a::after {
  content:""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--brand-orange); transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.site-nav a:hover::after { transform: scaleX(1); }
.nav-cta { white-space: nowrap; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 8px;
  cursor: pointer; margin-left: auto;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink);
  margin: 4px 0; border-radius: 2px; transition: transform .25s, opacity .25s;
}

@media (max-width: 880px) {
  .site-nav { display: none; }
  .nav-cta  { display: none; }
  .nav-toggle { display: block; }
  .site-nav.open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .site-nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav.open a::after { display: none; }
}

/* ==================================================================
   Buttons / shared
   ================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-2) 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255,138,0,.32);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(255,138,0,.42); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-link { background: transparent; padding: 13px 4px; color: var(--ink); }
.btn-link:hover { color: var(--brand-orange-2); }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-orange); margin: 0 0 14px;
}
.eyebrow-light { color: var(--brand-orange); }
.accent { color: var(--brand-orange); }

/* ==================================================================
   Hero
   ================================================================== */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  padding: 120px 0 108px;
  background: #06132a;
}
.hero-image {
  position: absolute; inset: 0;
  z-index: 0; pointer-events: none;
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: .55;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(255,138,0,.25) 0%, transparent 50%),
    linear-gradient(180deg, rgba(11,31,58,.78) 0%, rgba(11,31,58,.92) 100%);
}
.hero-inner { position: relative; z-index: 1; max-width: 880px; }
.hero .eyebrow { color: var(--brand-orange); }
.hero h1 { color: #fff; }
.hero .lede {
  font-size: 1.15rem; color: #c7d2e3; max-width: 720px; margin-top: 18px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0 0; }
.hero .btn-link { color: #fff; }
.hero .btn-link:hover { color: var(--brand-orange); }

.hero-stats {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px; margin: 56px 0 0; padding: 0;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 32px;
}
.hero-stats dt {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700; color: #fff;
}
.hero-stats dd {
  margin: 6px 0 0; color: #9fb0c8; font-size: .9rem; line-height: 1.4;
}
@media (max-width: 640px) {
  .hero { padding: 84px 0 72px; }
  .hero-stats { grid-template-columns: 1fr; gap: 16px; }
}

/* ==================================================================
   Logos strip
   ================================================================== */
.logos-strip {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 44px 0;
}
.strip-label {
  text-align: center; color: var(--muted); font-size: .85rem;
  letter-spacing: .12em; text-transform: uppercase; margin: 0 0 28px;
}
.logo-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  gap: 24px;
}
.logo-cell {
  display: flex; align-items: center; justify-content: center;
  height: 72px;
}
.logo-cell img {
  max-height: 72px; max-width: 100%; width: auto;
  border-radius: 10px;
  filter: grayscale(.6) opacity(.78);
  transition: filter .25s ease, transform .2s ease;
}
.logo-cell img:hover { filter: grayscale(0) opacity(1); transform: scale(1.05); }
@media (max-width: 880px) {
  .logo-row { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
}
@media (max-width: 480px) {
  .logo-row { grid-template-columns: repeat(2, 1fr); }
}

/* ==================================================================
   Sections (generic)
   ================================================================== */
.section { padding: 100px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark {
  position: relative;
  background: var(--ink);
  color: #d8e0ee;
  overflow: hidden;
}
.section-dark h2 { color: #fff; }
.section-dark .section-intro { color: #b6c2d6; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-intro { color: var(--muted); font-size: 1.05rem; margin-top: 8px; }

/* ==================================================================
   Showcase / about
   ================================================================== */
.showcase { padding: 110px 0; }
.showcase-inner { align-items: center; }
.showcase-text { max-width: 540px; }
.bullets { display: grid; gap: 14px; margin-top: 18px; }
.bullets li {
  position: relative; padding-left: 32px;
  color: var(--ink-2);
}
.bullets li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-2) 100%);
}
.bullets li::after {
  content: ""; position: absolute; left: 5px; top: calc(.3em + 4px);
  width: 8px; height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.bullets strong { color: var(--ink); }

.showcase-photo {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.showcase-photo img { width: 100%; height: 100%; object-fit: cover; }
.showcase-badge {
  position: absolute; left: 20px; bottom: 20px;
  background: #fff;
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column;
  min-width: 200px;
}
.badge-num {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  color: var(--brand-orange);
  line-height: 1;
}
.badge-text {
  font-size: .78rem; color: var(--muted); margin-top: 4px; line-height: 1.3;
}

/* ==================================================================
   Two column / stack
   ================================================================== */
.two-col {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 880px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
}

/* ==================================================================
   Service cards (with photo header)
   ================================================================== */
.service-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
}
.service { grid-column: span 2; }
/* Center the last two cards of a 5-card layout on the second row */
.service:nth-child(4) { grid-column: 2 / span 2; }
.service:nth-child(5) { grid-column: 4 / span 2; }

@media (max-width: 980px) {
  .service-cards { grid-template-columns: repeat(2, 1fr); }
  .service,
  .service:nth-child(4),
  .service:nth-child(5) { grid-column: auto; }
}
@media (max-width: 580px) {
  .service-cards { grid-template-columns: 1fr; }
}

.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s;
}
.service:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.service-photo {
  position: relative;
  aspect-ratio: 16/8;
  overflow: hidden;
}
.service-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.service:hover .service-photo img { transform: scale(1.06); }
.service-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,31,58,.0) 30%, rgba(11,31,58,.78) 100%);
}
.service-tag {
  position: absolute; left: 18px; bottom: 16px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase;
  background: rgba(255,138,0,.92);
  padding: 5px 12px;
  border-radius: 999px;
}
.service-body { padding: 26px 26px 28px; }
.service-body h3 { margin-bottom: 8px; }
.service-body p { color: var(--muted); margin-bottom: 16px; }
.taglist {
  display: flex; flex-wrap: wrap; gap: 6px 8px;
  margin-top: 14px; padding-top: 16px;
  border-top: 1px solid var(--line);
}
.taglist li {
  font-size: .8rem;
  color: var(--ink-2);
  background: var(--bg-soft);
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 500;
}

/* ==================================================================
   Expertise (dark with bg image)
   ================================================================== */
.expertise-bg {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
}
.expertise-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: .18;
}
.section-dark::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(11,31,58,.85) 0%, rgba(11,31,58,.94) 100%);
}
.expertise-inner { position: relative; z-index: 1; }
.check-list { display: grid; gap: 12px; margin-top: 16px; }
.check-list li {
  position: relative; padding-left: 30px;
  color: #d8e0ee;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255,138,0,.2);
  border: 1px solid var(--brand-orange);
}
.check-list li::after {
  content: ""; position: absolute; left: 5px; top: calc(.35em + 4px);
  width: 8px; height: 4px;
  border-left: 2px solid var(--brand-orange);
  border-bottom: 2px solid var(--brand-orange);
  transform: rotate(-45deg);
}
.stack-card {
  background: linear-gradient(160deg, #112a4f 0%, #0b1f3a 100%);
  border: 1px solid #1c3a64;
  border-radius: 18px;
  padding: 30px;
  box-shadow: var(--shadow-md);
}
.stack-card h3 { color: #fff; margin-bottom: 18px; }
.chip-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: .85rem; font-weight: 500;
  color: #ffdcb3;
  background: rgba(255,138,0,.10);
  border: 1px solid rgba(255,138,0,.30);
  border-radius: 999px;
  padding: 6px 12px;
}

/* ==================================================================
   Client grid (big)
   ================================================================== */
.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 760px) { .client-grid { grid-template-columns: repeat(2,1fr); } }
.client-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 20px 22px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.client-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.client-card img {
  width: 84px; height: 84px; object-fit: contain;
  border-radius: 12px;
}
.client-card span {
  font-weight: 600; font-size: .95rem; color: var(--ink-2);
  font-family: var(--font-display);
}

/* ==================================================================
   Process (werkwijze)
   ================================================================== */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (max-width: 880px) { .process { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }
.process li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px 24px;
  position: relative;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.process li:hover { transform: translateY(-3px); border-color: transparent; box-shadow: var(--shadow-md); }
.process .step {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-orange);
  letter-spacing: -.02em;
  display: block;
  margin-bottom: 6px;
  line-height: 1;
}
.process h3 { margin-bottom: 6px; }
.process p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ==================================================================
   Sectors
   ================================================================== */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 980px) { .sector-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .sector-grid { grid-template-columns: 1fr; } }
.sector {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 22px 24px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.sector:hover { transform: translateY(-3px); border-color: transparent; box-shadow: var(--shadow-md); }
.sector-photo {
  width: 60px; height: 60px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-soft);
  margin-bottom: 16px;
  display: grid; place-items: center;
}
.sector-photo img { width: 100%; height: 100%; object-fit: cover; }
.sector h3 { margin-bottom: 6px; }
.sector p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ==================================================================
   Approach (photo block)
   ================================================================== */
.approach { padding: 100px 0; background: var(--bg-soft); }
.approach-inner { align-items: center; }
.approach-photo {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.approach-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,31,58,.25) 0%, rgba(11,31,58,0) 50%);
}
.approach-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ==================================================================
   CTA
   ================================================================== */
.cta {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  color: #fff;
}
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at center, rgba(255,138,0,.18) 0%, transparent 60%),
    linear-gradient(135deg, rgba(11,31,58,.88) 0%, rgba(26,59,107,.88) 100%);
}
.cta-inner { position: relative; z-index: 1; text-align: center; max-width: 760px; margin: 0 auto; }
.cta h2 { color: #fff; }
.cta p { color: #c7d2e3; font-size: 1.05rem; }

/* ==================================================================
   Footer
   ================================================================== */
.site-footer {
  background: #08172c;
  color: #9fb0c8;
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.brand-footer .brand-name { color: #fff; }
.brand-footer .brand-name-accent { color: var(--brand-orange); }
.footer-tag { color: #9fb0c8; max-width: 320px; margin-top: 8px; font-size: .95rem; }
.site-footer h4 { color: #c7d2e3; margin-bottom: 14px; }
.site-footer ul li { padding: 4px 0; font-size: .92rem; }
.site-footer ul li a { color: #9fb0c8; }
.site-footer ul li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 48px;
  padding-top: 22px;
  font-size: .85rem;
  color: #7c8ba6;
}
.footer-bottom p { margin: 0; }
