/* ============================================================
   JustWonder.nl — styles
   Clean, modern, professional. Consulting first, product second.
   Palette: near-black ink, soft grays, off-white, one accent (teal).
   ============================================================ */

:root{
  --ink:        #11151b;   /* near-black text */
  --ink-soft:   #3a424d;
  --muted:      #6b7480;   /* soft gray */
  --line:       #e7e9ee;
  --bg:         #ffffff;
  --bg-soft:    #f6f7f9;   /* section alt */
  --bg-tint:    #f0f7f5;
  --accent:     #0fae96;   /* confident teal */
  --accent-d:   #0a8c79;
  --accent-soft:#e2f4f0;
  --ink-grad:   linear-gradient(180deg,#12161d 0%,#1a212b 100%);
  --radius:     8px;
  --radius-sm:  8px;
  --shadow:     0 1px 2px rgba(16,24,32,.04), 0 12px 32px -12px rgba(16,24,32,.16);
  --shadow-lg:  0 30px 60px -24px rgba(16,24,32,.30);
  --maxw:       1140px;
  --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif:      'Fraunces', Georgia, serif;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  margin:0; font-family:var(--font); color:var(--ink); background:var(--bg);
  line-height:1.6; font-size:17px; -webkit-font-smoothing:antialiased;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3{ line-height:1.15; letter-spacing:-.02em; margin:0; font-weight:700; }
p{ margin:0; }

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

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:.5em; justify-content:center;
  font-weight:600; font-size:15px; padding:13px 22px; border-radius:999px;
  border:1px solid transparent; cursor:pointer; transition:.18s ease;
  white-space:nowrap;
}
.btn-primary{ background:var(--accent); color:#fff; }
.btn-primary:hover{ background:var(--accent-d); transform:translateY(-1px); }
.btn-ghost{ background:transparent; color:var(--ink); border-color:var(--line); }
.btn-ghost:hover{ border-color:var(--ink); transform:translateY(-1px); }
.btn-outline{ background:transparent; color:#fff; border-color:rgba(255,255,255,.45); }
.btn-outline:hover{ border-color:#fff; background:rgba(255,255,255,.08); }
.btn-block{ width:100%; }

.eyebrow{
  display:inline-block; font-size:13px; font-weight:600; letter-spacing:.06em;
  text-transform:uppercase; color:var(--accent-d);
  background:var(--accent-soft); padding:5px 12px; border-radius:999px; margin-bottom:18px;
}
.eyebrow-product{ color:#fff; background:rgba(255,255,255,.14); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header{
  position:sticky; top:0; z-index:50; background:rgba(255,255,255,.82);
  backdrop-filter:saturate(180%) blur(14px); border-bottom:1px solid var(--line);
}
.nav-wrap{ display:flex; align-items:center; justify-content:space-between; height:70px; gap:24px; }
.brand{ display:flex; align-items:center; flex:0 0 auto; }
.brand-logo{
  display:block;
  width:156px;
  height:50px;
  object-fit:contain;
  object-position:left center;
}
.main-nav{ display:flex; align-items:center; gap:30px; }
.main-nav a{ font-size:15px; font-weight:500; color:var(--ink-soft); transition:color .15s; }
.main-nav a:hover{ color:var(--ink); }
.main-nav .nav-cta{ color:#fff; }
.main-nav .nav-cta:hover{ color:#fff; }

.nav-toggle{
  display:none; flex-direction:column; gap:5px; background:none; border:0;
  cursor:pointer; padding:8px;
}
.nav-toggle span{ width:24px; height:2px; background:var(--ink); border-radius:2px; transition:.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero{
  padding:88px 0 76px;
  background:linear-gradient(180deg,#f8faf9 0%,#ffffff 100%);
}
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
.hero h1{
  font-size:clamp(34px,4.6vw,56px); margin:6px 0 18px; letter-spacing:-.035em;
}
.lede{ font-size:clamp(17px,2vw,20px); color:var(--muted); max-width:30em; }
.hero-cta{ display:flex; flex-wrap:wrap; gap:14px; margin:28px 0 26px; }
.hero-points{
  list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:18px 26px;
  font-size:14.5px; color:var(--ink-soft);
}
.hero-points li{ display:flex; align-items:center; gap:8px; }
.hero-points .dot{ width:7px; height:7px; border-radius:50%; background:var(--accent); }

/* hero image + report panel */
.hero-visual{ position:relative; min-height:360px; }
.hero-photo{
  min-height:0;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow-lg);
  background:#eef2f0;
}
.hero-photo img{
  width:100%;
  height:430px;
  object-fit:cover;
}
.report-panel{
  position:absolute;
  right:20px;
  bottom:20px;
  width:min(310px,calc(100% - 40px));
  background:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.72);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow-lg);
  backdrop-filter:blur(12px);
}
.report-panel span{
  display:block;
  color:var(--accent-d);
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:5px;
}
.report-panel strong{ display:block; font-size:19px; letter-spacing:-.02em; }
.report-panel p{ margin-top:7px; font-size:14px; color:var(--muted); line-height:1.45; }
.visual-card{
  position:absolute; background:#fff; border:1px solid var(--line);
  border-radius:var(--radius); box-shadow:var(--shadow-lg); padding:20px;
}
.card-a{ top:0; left:0; right:34px; }
.card-b{ bottom:0; right:0; left:42%; padding:18px 20px; }
.vc-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
.vc-label{ font-size:13px; font-weight:600; color:var(--muted); letter-spacing:.02em; }
.vc-pill{ font-size:12px; font-weight:600; color:var(--accent-d); background:var(--accent-soft); padding:3px 9px; border-radius:999px; }
.vc-rows{ display:flex; flex-direction:column; gap:13px; }
.vc-row{ display:grid; grid-template-columns:120px 1fr; align-items:center; gap:12px; font-size:13px; color:var(--ink-soft); }
.vc-row .bar{ height:8px; border-radius:6px; background:var(--bg-soft); position:relative; overflow:hidden; }
.vc-row .bar::after{ content:""; position:absolute; inset:0; width:var(--w); background:linear-gradient(90deg,var(--accent),var(--accent-d)); border-radius:6px; }
.vc-metric{ font-size:30px; font-weight:800; letter-spacing:-.03em; }
.vc-metric span{ font-size:14px; font-weight:600; color:var(--muted); margin-left:6px; }
.spark{ display:flex; align-items:flex-end; gap:6px; height:46px; margin-top:14px; }
.spark i{ flex:1; height:var(--h); background:linear-gradient(180deg,var(--accent),var(--accent-soft)); border-radius:4px 4px 2px 2px; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust{ border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:#fff; }
.trust-grid{ display:grid; grid-template-columns:repeat(4,1fr); }
.trust-grid div{ padding:22px 24px; display:flex; flex-direction:column; gap:2px; border-left:1px solid var(--line); }
.trust-grid div:first-child{ border-left:0; }
.trust-grid strong{ font-size:16px; letter-spacing:-.01em; }
.trust-grid span{ font-size:13.5px; color:var(--muted); }

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section{ padding:92px 0; }
.section-alt{ background:var(--bg-soft); }
.section-head{ max-width:720px; margin:0 auto 48px; text-align:center; }
.section-head.left{ text-align:left; margin:0; }
.section-head h2{ font-size:clamp(28px,3.4vw,40px); margin-bottom:16px; }
.section-head p{ color:var(--muted); font-size:18px; }

/* ---------- Sourcing cards ---------- */
.cards-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.feature-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:28px 24px; box-shadow:var(--shadow); transition:.2s ease;
}
.feature-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lg); border-color:#dfe2e8; }
.fc-icon{ width:46px; height:46px; border-radius:8px; background:var(--accent-soft); color:var(--accent-d);
  display:grid; place-items:center; margin-bottom:18px; }
.fc-icon svg{ width:24px; height:24px; }
.feature-card h3{ font-size:17.5px; margin-bottom:10px; }
.feature-card p{ font-size:14.5px; color:var(--muted); }

/* ---------- Automation ---------- */
.automation-grid{ display:grid; grid-template-columns:1fr 1.1fr; gap:60px; align-items:start; }
.automation-grid .section-head{ position:sticky; top:96px; }
.automation-grid .btn{ margin-top:26px; }
.auto-list{ list-style:none; margin:0; padding:0; }
.auto-list li{
  padding:24px 4px 24px 30px; border-top:1px solid var(--line); position:relative;
}
.auto-list li:first-child{ border-top:0; }
.auto-list li::before{
  content:""; position:absolute; left:0; top:30px; width:12px; height:12px; border-radius:50%;
  border:2px solid var(--accent); background:#fff;
}
.auto-list h3{ font-size:18px; margin-bottom:6px; }
.auto-list p{ color:var(--muted); font-size:15px; }

/* ============================================================
   DOO LAB (dark product section)
   ============================================================ */
.doolab{ background:var(--ink-grad); color:#fff; }
.doolab .section-head h2{ font-size:clamp(34px,4.2vw,52px); }
.doolab .doolab-tagline{ color:#c4ccd6; font-size:18px; max-width:760px; margin:0 auto; }
.doolab-grid{ display:grid; grid-template-columns:1.15fr .85fr; gap:40px; margin-top:54px; align-items:start; }

/* dashboard preview */
.dashboard{
  background:#0c1014; border:1px solid rgba(255,255,255,.10); border-radius:8px;
  box-shadow:var(--shadow-lg); overflow:hidden;
}
.dash-top{ display:flex; align-items:center; justify-content:space-between; padding:14px 18px;
  background:rgba(255,255,255,.04); border-bottom:1px solid rgba(255,255,255,.08); }
.dash-brand{ display:flex; align-items:center; gap:9px; font-weight:700; font-size:14px; }
.dash-dot{ width:10px; height:10px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 4px rgba(15,174,150,.2); }
.dash-tabs{ display:flex; gap:16px; font-size:13px; color:#8a94a2; }
.dash-tabs .active{ color:#fff; }
.dash-body{ padding:20px; display:flex; flex-direction:column; gap:16px; }
.dash-kpis{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.kpi{ background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.07); border-radius:8px; padding:14px; }
.kpi-label{ display:block; font-size:12px; color:#8a94a2; margin-bottom:6px; }
.kpi-val{ font-size:22px; font-weight:700; letter-spacing:-.02em; }
.kpi-val.alert{ color:#f4b740; }
.dash-panel{ background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.07); border-radius:8px; padding:16px; }
.dp-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; font-size:13.5px; }
.dp-head .dp-sub{ color:#7e8896; font-size:12px; }
.timeline{ display:flex; flex-direction:column; gap:11px; }
.tl-row{ display:grid; grid-template-columns:84px 1fr; align-items:center; gap:12px; }
.tl-name{ font-size:12px; color:#aab3bf; }
.tl-bar{ height:9px; border-radius:6px; background:rgba(255,255,255,.06); position:relative; }
.tl-bar::after{ content:""; position:absolute; top:0; bottom:0; left:var(--s); width:var(--w); background:var(--c); border-radius:6px; }
.dash-chart{ display:flex; align-items:flex-end; gap:10px; height:84px; }
.dash-chart i{ flex:1; height:var(--h); background:linear-gradient(180deg,var(--accent),rgba(15,174,150,.25)); border-radius:5px 5px 2px 2px; }

/* product side */
.product-cards{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.product-card{ background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.09); border-radius:8px; padding:18px; }
.pc-ico{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  height:26px;
  padding:0 8px;
  border-radius:6px;
  background:rgba(15,174,150,.14);
  color:#8ff2df;
  font-size:11px;
  font-weight:800;
  letter-spacing:.06em;
}
.product-card h3{ font-size:15px; margin:10px 0 6px; }
.product-card p{ font-size:13px; color:#aeb6c2; }
.doolab-cta{ display:flex; flex-wrap:wrap; gap:12px; margin-top:20px; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:56px; align-items:start; }
.about-grid .section-head{ position:sticky; top:96px; }
.about-copy p{ font-size:17.5px; color:var(--ink-soft); margin-bottom:18px; }
.about-stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:30px; }
.about-stats div{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-sm); padding:18px; }
.about-stats strong{ display:block; font-size:16px; margin-bottom:4px; }
.about-stats span{ font-size:13.5px; color:var(--muted); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; }
.contact-copy h2{ font-size:clamp(28px,3.4vw,40px); margin-bottom:14px; }
.contact-copy p{ color:var(--muted); font-size:18px; max-width:26em; }
.contact-email{ display:inline-block; margin:24px 0 8px; font-size:19px; font-weight:600; color:var(--accent-d); }
.contact-book{ display:block; width:max-content; margin-top:16px; }
.contact-form{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:30px; box-shadow:var(--shadow); }
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:14px; font-weight:600; margin-bottom:7px; }
.field input,.field select,.field textarea{
  width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:8px;
  font-family:inherit; font-size:15px; color:var(--ink); background:#fff; transition:.15s;
}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none; border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-soft);
}
.field textarea{ resize:vertical; }
.form-note{ margin-top:14px; font-size:13.5px; color:var(--accent-d); background:var(--accent-soft); padding:10px 12px; border-radius:8px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{ background:#0c1014; color:#c4ccd6; padding:52px 0 38px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:32px; align-items:start; }
.footer-logo{
  display:block;
  width:154px;
  height:auto;
  object-fit:contain;
  object-position:left center;
}
.footer-brand p{ margin-top:10px; font-size:14.5px; color:#8a94a2; max-width:24em; }
.footer-nav{ display:flex; flex-direction:column; gap:11px; font-size:14.5px; }
.footer-nav a{ color:#c4ccd6; }
.footer-nav a:hover{ color:#fff; }
.footer-meta{ display:flex; flex-direction:column; gap:10px; font-size:14px; }
.footer-meta a{ color:var(--accent); }
.footer-meta span{ color:#7e8896; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){ .reveal{ opacity:1; transform:none; transition:none; } html{ scroll-behavior:auto; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1000px){
  .hero-grid{ grid-template-columns:1fr; gap:40px; }
  .hero-visual{ min-height:330px; max-width:520px; }
  .hero-photo{ min-height:0; }
  .hero-photo img{ height:360px; }
  .cards-grid{ grid-template-columns:1fr 1fr; }
  .automation-grid,.about-grid,.contact-grid,.doolab-grid{ grid-template-columns:1fr; gap:40px; }
  .automation-grid .section-head,.about-grid .section-head{ position:static; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:760px){
  body{ font-size:16px; }
  .main-nav{
    position:fixed; inset:70px 0 auto 0; flex-direction:column; align-items:stretch;
    background:#fff; border-bottom:1px solid var(--line); padding:18px 24px 26px; gap:4px;
    transform:translateY(-130%); transition:transform .3s ease; box-shadow:var(--shadow-lg);
  }
  .main-nav.open{ transform:translateY(0); }
  .main-nav a{ padding:12px 4px; font-size:16px; border-bottom:1px solid var(--line); }
  .main-nav a:last-child{ border-bottom:0; }
  .main-nav .nav-cta{ margin-top:10px; text-align:center; }
  .nav-toggle{ display:flex; }
  .section{ padding:64px 0; }
  .hero{ padding:54px 0 48px; }
  .trust-grid{ grid-template-columns:1fr 1fr; }
  .trust-grid div:nth-child(3){ border-left:0; }
  .trust-grid div:nth-child(odd){ border-left:0; }
  .trust-grid div{ border-top:1px solid var(--line); }
  .trust-grid div:nth-child(1),.trust-grid div:nth-child(2){ border-top:0; }
  .cards-grid{ grid-template-columns:1fr; }
  .product-cards{ grid-template-columns:1fr; }
  .dash-kpis{ grid-template-columns:1fr 1fr; }
  .about-stats{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .card-a{ right:0; }
  .card-b{ left:30%; }
  .hero-photo img{ height:320px; }
  .report-panel{ left:16px; right:16px; bottom:16px; width:auto; padding:16px; }
}
@media (max-width:420px){
  .hero-cta{ flex-direction:column; align-items:stretch; }
  .hero-cta .btn{ width:100%; }
}
