/* ═══════════════════════════════════════════════════════════════
   WYNANTS SOFTWARE & SOLUTIONS — shared stylesheet
   Design tokens carried over from the original homepage, extended
   with iFacto-style structural elements (bold-accent headings,
   sector cards, language switcher, contact form).
   ═══════════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  /* Brand — WSS navy palette */
  --navy-900:  #080e1c;
  --navy-800:  #0c1425;
  --navy-700:  #111c35;
  --navy-600:  #1a2844;
  --navy-500:  #243556;

  /* Accent blues */
  --blue-600:  #2563eb;
  --blue-500:  #3b82f6;
  --blue-400:  #60a5fa;
  --blue-300:  #93c5fd;
  --blue-100:  #dbeafe;
  --blue-50:   #eff6ff;

  /* Product accents */
  --scaleteam-color:  #6366f1;   /* indigo — AI */
  --scaleteam-light:  #eef2ff;
  --scaleit-color:    #0891b2;   /* cyan — consulting */
  --scaleit-light:    #ecfeff;
  --scaleterra-color: #0f7d6a;   /* green — hosting */
  --scaleterra-light: #e3f5f0;

  /* Surfaces */
  --bg:        #faf9f7;
  --bg-warm:   #f5f1ec;
  --bg-cream:  #fdf8f3;
  --bg-card:   #ffffff;
  --bg-dark:   var(--navy-800);

  /* Text */
  --text-900:  #111827;
  --text-700:  #374151;
  --text-500:  #6b7280;
  --text-400:  #9ca3af;
  --text-inv:  #f0f2f7;
  --text-inv-m:rgba(240,242,247,0.55);

  /* Utility */
  --green:     #10b981;
  --orange:    #f59e0b;
  --border:    rgba(0,0,0,0.07);
  --border-dk: rgba(255,255,255,0.08);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.06);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.08);
  --shadow-xl: 0 32px 80px rgba(0,0,0,0.12);
  --radius:    16px;
  --radius-lg: 24px;
  --radius-full:100px;

  /* Type — iFacto-stijl: strakke schreefloze koppen */
  --heading: 'Figtree', system-ui, -apple-system, sans-serif;
  --body:    'Figtree', system-ui, -apple-system, sans-serif;
}

/* ─── RESET ─────────────────────────────────────────────────── */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  background:var(--bg);
  color:var(--text-900);
  font-family:var(--body);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img { max-width:100%; display:block; }
a { text-decoration:none; color:inherit; }
ul { list-style:none; }
.container { max-width:1200px; margin:0 auto; padding:0 2rem; }

/* ─── ANIMATIONS ────────────────────────────────────────────── */
@keyframes fadeUp { from{opacity:0;transform:translateY(30px);} to{opacity:1;transform:translateY(0);} }
@keyframes float  { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-12px);} }
@keyframes pulse  { 0%,100%{opacity:1;} 50%{opacity:0.35;} }
@keyframes marquee { from{transform:translateX(0);} to{transform:translateX(-50%);} }
.reveal {
  opacity:0; transform:translateY(28px);
  transition:opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-d1 { transition-delay:.1s; }
.reveal-d2 { transition-delay:.2s; }
.reveal-d3 { transition-delay:.3s; }
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ animation:none!important; transition:none!important; }
  .reveal{ opacity:1; transform:none; }
}

/* ─── NAVIGATION ────────────────────────────────────────────── */
.nav {
  position:fixed; top:0; left:0; right:0; z-index:100;
  background:rgba(250,249,247,0.92);
  backdrop-filter:blur(24px) saturate(1.2);
  border-bottom:1px solid var(--border);
  transition:box-shadow .3s;
}
.nav.scrolled { box-shadow:0 4px 30px rgba(0,0,0,0.06); }
.nav-inner { display:flex; align-items:center; justify-content:space-between; padding:.85rem 0; gap:1.5rem; }
.nav-brand img { display:block; height:36px; }
.nav-right { display:flex; align-items:center; gap:2rem; }
.nav-links { display:flex; gap:1.9rem; align-items:center; }
.nav-link {
  font-size:.88rem; font-weight:500; color:var(--text-700);
  transition:color .2s; position:relative;
}
.nav-link::after {
  content:''; position:absolute; bottom:-4px; left:0;
  width:0; height:2px; background:var(--blue-500); transition:width .25s;
}
.nav-link:hover { color:var(--text-900); }
.nav-link:hover::after,
.nav-link.active::after { width:100%; }
.nav-link.active { color:var(--text-900); font-weight:600; }

/* language switcher */
.nav-lang { display:flex; align-items:center; gap:.55rem; }
.nav-lang button {
  background:none; border:none; cursor:pointer;
  font-family:var(--body); font-size:.78rem; font-weight:700;
  letter-spacing:.02em; color:var(--text-400); transition:color .2s; padding:0;
}
.nav-lang button:hover { color:var(--text-700); }
.nav-lang button.active { color:var(--navy-800); }

.nav-cta {
  background:var(--navy-800); color:#fff!important;
  padding:.6rem 1.5rem; border-radius:var(--radius-full);
  font-weight:700; font-size:.85rem; transition:all .25s;
}
.nav-cta:hover { background:var(--navy-600); transform:translateY(-1px); box-shadow:0 6px 20px rgba(12,20,37,.2); }
.nav-cta::after { display:none; }
.nav-toggle { display:none; background:none; border:none; cursor:pointer; padding:.5rem; }
.nav-toggle span { display:block; width:22px; height:2px; background:var(--text-900); margin:5px 0; transition:.3s; }

/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display:inline-flex; align-items:center; gap:.4rem;
  font-family:var(--body); font-weight:700; font-size:.9rem;
  padding:.85rem 2rem; border-radius:var(--radius-full);
  border:none; cursor:pointer; transition:all .25s;
}
.btn-accent  { background:var(--blue-500); color:#fff; }
.btn-accent:hover  { background:var(--blue-600); transform:translateY(-2px); box-shadow:0 10px 30px rgba(59,130,246,.3); }
.btn-outline { background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,.25); }
.btn-outline:hover { border-color:rgba(255,255,255,.5); background:rgba(255,255,255,.05); }
.btn-primary { background:var(--navy-800); color:#fff; }
.btn-primary:hover { background:var(--navy-600); transform:translateY(-2px); box-shadow:0 10px 30px rgba(12,20,37,.2); }
.btn-white   { background:#fff; color:var(--navy-800); }
.btn-white:hover { transform:translateY(-2px); box-shadow:0 10px 30px rgba(0,0,0,.18); }
.btn-ghost   { background:transparent; color:var(--navy-800); border:1.5px solid var(--border); }
.btn-ghost:hover { border-color:var(--navy-800); transform:translateY(-2px); }

/* ─── SHARED SECTION HELPERS ────────────────────────────────── */
.section-eyebrow {
  display:inline-block; font-size:.72rem; text-transform:uppercase;
  letter-spacing:.22em; font-weight:700; color:var(--blue-500); margin-bottom:1rem;
}
.section-title {
  font-family:var(--heading); font-size:clamp(2rem,3.4vw,3rem);
  font-weight:700; line-height:1.08; letter-spacing:-.03em;
}
/* iFacto-style: lichte + bold mix binnen koppen */
.section-title strong { font-weight:800; color:var(--navy-800); }
.section-title .light { font-weight:300; }

/* ─── PAGE HEADER (inner pages) ─────────────────────────────── */
.page-hero {
  background:
    linear-gradient(180deg, rgba(8,14,28,.82) 0%, rgba(8,14,28,.6) 50%, rgba(8,14,28,.95) 100%),
    url('../images/hero-bg.jpg') center/cover no-repeat;
  color:var(--text-inv);
  padding:11rem 0 6rem; position:relative; overflow:hidden;
}
.page-hero-inner { position:relative; z-index:2; max-width:760px; }
.page-hero .eyebrow {
  display:inline-flex; align-items:center; gap:.6rem;
  font-size:.72rem; text-transform:uppercase; letter-spacing:.2em;
  font-weight:700; margin-bottom:1.4rem;
}
.page-hero h1 {
  font-family:var(--body); font-weight:800;
  font-size:clamp(2.6rem,5vw,4rem); line-height:1.05; letter-spacing:-.03em;
}
.page-hero h1 strong { font-weight:800; }
.page-hero h1 em { font-style:normal; font-weight:300; }
.page-hero p {
  font-size:1.08rem; line-height:1.7; color:rgba(255,255,255,.8);
  margin:1.6rem 0 2.2rem; max-width:560px;
}
.page-hero .hero-actions { display:flex; gap:1.4rem; align-items:center; flex-wrap:wrap; }

/* product-tinted hero accents */
.page-hero--scaleteam .eyebrow { color:#a5b4fc; }
.page-hero--scaleteam h1 em    { color:#a5b4fc; }
.page-hero--scaleit .eyebrow   { color:#67e8f9; }
.page-hero--scaleit h1 em      { color:#67e8f9; }
.page-hero--scaleterra .eyebrow{ color:#6ee7b7; }
.page-hero--scaleterra h1 em   { color:#6ee7b7; }

/* wave separator */
.wave-bottom { position:absolute; bottom:-1px; left:0; width:100%; line-height:0; }
.wave-bottom svg { display:block; width:100%; height:auto; }

/* ─── FEATURE / CONTENT BLOCKS ──────────────────────────────── */
.split { padding:6rem 0; }
.split-inner { display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:center; }
.split-inner.reverse .split-visual { order:-1; }
.split-text h2 { font-family:var(--heading); font-size:clamp(1.9rem,3vw,2.6rem); font-weight:700; letter-spacing:-.03em; line-height:1.1; margin-bottom:1.3rem; }
.split-text h2 strong { font-weight:800; }
.split-text h2 .light { font-weight:300; }
.split-text p { color:var(--text-500); line-height:1.75; margin-bottom:1rem; font-size:1.02rem; }
.split-visual img { width:100%; border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); }

/* feature list with checks */
.feat-list { display:flex; flex-direction:column; gap:.85rem; margin:1.5rem 0; }
.feat-item { display:flex; align-items:flex-start; gap:.7rem; font-size:.92rem; color:var(--text-700); line-height:1.5; }
.feat-check {
  width:22px; height:22px; border-radius:50%; flex-shrink:0; margin-top:1px;
  display:flex; align-items:center; justify-content:center; font-size:.62rem; font-weight:800;
  background:var(--blue-50); color:var(--blue-500);
}
.feat-check.ct { background:var(--scaleteam-light); color:var(--scaleteam-color); }
.feat-check.ci { background:var(--scaleit-light);   color:var(--scaleit-color); }
.feat-check.ce { background:var(--scaleterra-light); color:var(--scaleterra-color); }

/* ─── CARD GRIDS ────────────────────────────────────────────── */
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:3rem; }
.grid-2 { display:grid; grid-template-columns:repeat(2,1fr); gap:3rem; }
.card {
  background:transparent; border:none; border-radius:0; padding:0;
  transition:transform .35s cubic-bezier(.2,.8,.2,1);
}
.card:hover { transform:translateY(-6px); box-shadow:none; }
.card-icon {
  width:52px; height:52px; border-radius:14px; margin-bottom:1.4rem;
  display:flex; align-items:center; justify-content:center;
}
.card-icon svg { width:26px; height:26px; }
.card h3 { font-family:var(--heading); font-size:1.4rem; font-weight:700; letter-spacing:-.02em; margin-bottom:.7rem; }
.card p { font-size:.95rem; color:var(--text-500); line-height:1.7; }

/* ─── SECTOR CARDS (iFacto-style) ───────────────────────────── */
.sectors { padding:6rem 0; background:var(--bg-warm); }
.sector-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.25rem; }
.sector-card {
  position:relative; display:block; padding:2rem; border-radius:var(--radius-lg);
  background:var(--bg-card); border:1px solid var(--border); overflow:hidden;
  transition:transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.sector-card::after {
  content:''; position:absolute; left:0; bottom:0; height:4px; width:100%;
  transform:scaleX(0); transform-origin:left; transition:transform .4s;
  background:linear-gradient(90deg,var(--blue-500),var(--scaleteam-color));
}
.sector-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.sector-card:hover::after { transform:scaleX(1); }
.sector-card h3 { font-family:var(--heading); font-size:1.15rem; font-weight:600; margin-bottom:.5rem; }
.sector-card p  { font-size:.88rem; color:var(--text-500); line-height:1.65; margin-bottom:1rem; }
.sector-card .more { font-size:.82rem; font-weight:700; color:var(--blue-500); display:inline-flex; gap:.3rem; transition:gap .2s; }
.sector-card:hover .more { gap:.6rem; }

/* ─── STATS STRIP ───────────────────────────────────────────── */
.stats { padding:5rem 0; }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:2rem; }
.stat { text-align:center; padding:1.5rem 1rem; }
.stat-num { font-family:var(--heading); font-size:2.8rem; font-weight:500; color:var(--navy-800); line-height:1; }
.stat-label { font-size:.85rem; color:var(--text-500); margin-top:.5rem; }

/* ─── LOGOS ─────────────────────────────────────────────────── */
.logos { padding:3rem 0; }
.logos-inner { display:flex; align-items:center; justify-content:center; gap:2.5rem; flex-wrap:wrap; }
.logos-label { font-size:.68rem; text-transform:uppercase; letter-spacing:.16em; font-weight:600; color:var(--text-400); min-width:130px; line-height:1.4; }
.logos-row { display:flex; align-items:center; gap:3rem; flex-wrap:wrap; justify-content:center; }
.logos-row img { height:34px; width:auto; opacity:.55; filter:grayscale(1); transition:opacity .3s, filter .3s; }
.logos-row img:hover { opacity:1; filter:grayscale(0); }

/* ─── PROCESS / STEPS ───────────────────────────────────────── */
.steps { display:grid; grid-template-columns:repeat(4,1fr); gap:2rem; margin-top:3rem; }
.step { position:relative; }
.step-num {
  font-family:var(--heading); font-size:.9rem; font-weight:700; color:var(--blue-500);
  border:1.5px solid var(--blue-100); width:38px; height:38px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; margin-bottom:1rem;
}
.step h3 { font-family:var(--heading); font-size:1.2rem; font-weight:700; letter-spacing:-.01em; margin-bottom:.5rem; }
.step p { font-size:.88rem; color:var(--text-500); line-height:1.7; }

/* ─── CTA ───────────────────────────────────────────────────── */
.cta { padding:5rem 0 6rem; }
.cta-box {
  background:var(--navy-800); color:#fff; border-radius:var(--radius-lg);
  padding:4rem 3rem; text-align:center; position:relative; overflow:hidden;
}
.cta-box::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(60% 80% at 50% 0%, rgba(99,102,241,.25), transparent 60%);
  pointer-events:none;
}
.cta-box h2 { font-family:var(--heading); font-size:clamp(2rem,3.4vw,2.9rem); font-weight:700; letter-spacing:-.03em; line-height:1.1; margin-bottom:1.2rem; position:relative; }
.cta-box h2 strong { font-weight:800; }
.cta-box h2 .light { font-weight:300; }
.cta-box p { color:var(--text-inv-m); max-width:520px; margin:0 auto 2rem; line-height:1.7; position:relative; }

/* ─── CONTACT FORM (iFacto-style) ───────────────────────────── */
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:1.2rem; }
.form-field { display:flex; flex-direction:column; gap:.4rem; }
.form-field.full { grid-column:1/-1; }
.form-field label { font-size:.8rem; font-weight:600; color:var(--text-700); }
.form-field input, .form-field textarea {
  font-family:var(--body); font-size:.92rem; padding:.85rem 1rem;
  border:1px solid var(--border); border-radius:12px; background:#fff; color:var(--text-900);
  transition:border-color .2s, box-shadow .2s;
}
.form-field input:focus, .form-field textarea:focus {
  outline:none; border-color:var(--blue-500); box-shadow:0 0 0 3px var(--blue-50);
}
.form-field textarea { resize:vertical; min-height:130px; }
.form-consent { display:flex; align-items:flex-start; gap:.6rem; font-size:.82rem; color:var(--text-500); grid-column:1/-1; }
.form-consent input { margin-top:.2rem; }

/* ─── FOOTER ────────────────────────────────────────────────── */
.footer-full { background:var(--navy-800); color:var(--text-inv); position:relative; margin-top:2rem; }
.footer-wave { line-height:0; }
.footer-wave svg { display:block; width:100%; height:40px; }
.footer-main { padding:4rem 0 3rem; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1.4fr; gap:2.5rem; }
.footer-brand img { height:34px; margin-bottom:1.2rem; }
.footer-brand-text { font-size:.88rem; line-height:1.75; color:var(--text-inv-m); max-width:320px; }
.footer-social { display:flex; gap:.7rem; margin-top:1.4rem; }
.footer-social-link {
  width:36px; height:36px; border-radius:10px; display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.06); color:var(--text-inv-m); transition:all .25s;
}
.footer-social-link:hover { background:var(--blue-500); color:#fff; transform:translateY(-2px); }
.footer-col-title { font-size:.75rem; text-transform:uppercase; letter-spacing:.14em; font-weight:700; color:#fff; margin-bottom:1.2rem; }
.footer-list li { margin-bottom:.7rem; }
.footer-list a { font-size:.88rem; color:var(--text-inv-m); transition:color .2s; }
.footer-list a:hover { color:#fff; }
.footer-contact-item { display:flex; align-items:flex-start; gap:.6rem; margin-bottom:1rem; font-size:.85rem; color:var(--text-inv-m); }
.footer-contact-item svg { flex-shrink:0; margin-top:2px; color:var(--blue-400); }
.footer-contact-item a { color:var(--text-inv-m); transition:color .2s; }
.footer-contact-item a:hover { color:#fff; }
.footer-bottom { border-top:1px solid var(--border-dk); padding:1.5rem 0; }
.footer-bottom-inner { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1rem; font-size:.8rem; color:var(--text-inv-m); }
.footer-bottom-links { display:flex; gap:1.5rem; flex-wrap:wrap; }
.footer-bottom-links a { color:var(--text-inv-m); transition:color .2s; }
.footer-bottom-links a:hover { color:#fff; }

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width:1024px){
  .split-inner, .grid-3, .sector-grid, .steps, .stats-grid, .footer-grid { grid-template-columns:repeat(2,1fr); }
  .split-inner { grid-template-columns:1fr; }
  .split-inner.reverse .split-visual { order:0; }
}
@media (max-width:820px){
  .nav-links { display:none; }
  .nav-links.open {
    display:flex; flex-direction:column; align-items:flex-start;
    position:absolute; top:100%; left:0; right:0; background:var(--bg-card);
    border-bottom:1px solid var(--border); padding:1.25rem 2rem; gap:1.1rem; box-shadow:var(--shadow-md);
  }
  .nav-toggle { display:block; }
  .nav-right { gap:1rem; }
  .grid-3, .sector-grid, .steps, .stats-grid, .grid-2, .form-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .container { padding:0 1.25rem; }
}
@media (max-width:520px){
  .footer-grid { grid-template-columns:1fr; }
  .stats-grid { grid-template-columns:1fr 1fr; }
}
