/* ===== SYNOMIC - GLOBAL STYLESHEET ===== */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

:root {
  --navy:     #1B3A5C;
  --cyan:     #2BC4C4;
  --cyan-dim: #1a9e9e;
  --white:    #ffffff;
  --off:      #f5f7fa;
  --muted:    #6b7a8d;
  --border:   #dde3ec;
  --dark-bg:  #0e2136;
  --shadow:   0 4px 32px rgba(27,58,92,0.10);
  --shadow-lg:0 12px 60px rgba(27,58,92,0.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--navy);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; }

/* ===== NAVIGATION ===== */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6vw;
  height: 72px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(221,227,236,0.6);
  box-shadow: 0 2px 20px rgba(27,58,92,0.06);
  transition: box-shadow .3s;
}

nav.scrolled { box-shadow: 0 4px 30px rgba(27,58,92,0.12); }

.nav-logo img { height: 38px; display: block; }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: .95rem;
  color: var(--navy);
  letter-spacing: .02em;
  position: relative;
  padding-bottom: 3px;
  transition: color .2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  transition: width .25s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--cyan); }

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--cyan);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background .2s, transform .15s !important;
}

.nav-cta:hover { background: var(--cyan-dim) !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

@media (max-width: 820px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 28px 6vw 36px;
    gap: 0;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform .35s ease, opacity .3s;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 30px rgba(27,58,92,0.1);
  }

  .nav-links.open { transform: translateY(0); opacity: 1; }

  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border: none; }
  .nav-links a { display: block; padding: 14px 0; font-size: 1rem; }

  .nav-cta {
    margin-top: 12px;
    display: inline-block;
    padding: 12px 22px;
  }
}

/* ===== HERO ===== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 6vw 60px;
  background: linear-gradient(135deg, #0e2136 0%, #1B3A5C 60%, #1a4d6e 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,196,196,.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 10%;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,196,196,.1) 0%, transparent 70%);
  pointer-events: none;
}

/* Grid dots */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(43,196,196,.15) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-content {
  max-width: 640px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(43,196,196,.15);
  border: 1px solid rgba(43,196,196,.35);
  border-radius: 40px;
  padding: 6px 16px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp .7s .1s forwards;
}

.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp .7s .2s forwards;
}

.hero h1 em {
  font-style: normal;
  color: var(--cyan);
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  max-width: 520px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp .7s .35s forwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .7s .5s forwards;
}

.btn-primary {
  background: var(--cyan);
  color: var(--white);
  padding: 14px 30px;
  border-radius: 10px;
  font-weight: 600;
  font-family: 'Syne', sans-serif;
  letter-spacing: .02em;
  font-size: .95rem;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(43,196,196,.3);
}

.btn-primary:hover {
  background: var(--cyan-dim);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(43,196,196,.4);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,.35);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-family: 'Syne', sans-serif;
  font-size: .95rem;
  transition: border-color .2s, background .2s, transform .2s;
}

.btn-outline:hover {
  border-color: var(--cyan);
  background: rgba(43,196,196,.08);
  transform: translateY(-2px);
}

/* Hero stats strip */
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.12);
  opacity: 0;
  animation: fadeUp .7s .65s forwards;
}

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--cyan);
}

.stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  margin-top: 2px;
}

/* Hero visual right side */
.hero-visual {
  position: absolute;
  right: 6vw;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  opacity: 0;
  animation: fadeIn 1s .4s forwards;
  pointer-events: none;
}

@media (max-width: 1100px) { .hero-visual { display: none; } }

/* Floating nodes diagram */
.node-diagram {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
}

.nd-node {
  position: absolute;
  border-radius: 50%;
  background: rgba(43,196,196,.18);
  border: 2px solid rgba(43,196,196,.45);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: .05em;
}

/* ===== PAGE HEADER (inner pages) ===== */

.page-header {
  padding: 130px 6vw 60px;
  background: linear-gradient(135deg, #0e2136 0%, #1B3A5C 100%);
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -40px; right: 0;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,196,196,.15) 0%, transparent 70%);
  pointer-events: none;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  opacity: 0;
  animation: fadeUp .6s .1s forwards;
}

.page-header p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.7);
  max-width: 560px;
  margin-top: 14px;
  opacity: 0;
  animation: fadeUp .6s .25s forwards;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: .84rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp .5s .05s forwards;
}

.breadcrumb a { color: var(--cyan); }
.breadcrumb span { color: rgba(255,255,255,.35); }

/* ===== SECTIONS ===== */

section { padding: 80px 6vw; }

.section-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 48px;
}

/* ===== CARDS ===== */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--navy));
  opacity: 0;
  transition: opacity .25s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(43,196,196,.3);
}

.card:hover::before { opacity: 1; }

.card-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: rgba(43,196,196,.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.card p { font-size: .93rem; color: var(--muted); }

/* ===== CONTACT FORM ===== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

.contact-info h2 { margin-bottom: 16px; }

.contact-info p { color: var(--muted); margin-bottom: 32px; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-detail-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(43,196,196,.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-detail-text strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: .9rem;
  margin-bottom: 2px;
}

.contact-detail-text span { font-size: .9rem; color: var(--muted); }

/* Form */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px 40px;
  box-shadow: var(--shadow);
}

@media (max-width: 600px) {
  .form-card { padding: 28px 22px; }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group label span { color: var(--cyan); }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  color: var(--navy);
  background: var(--white);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(43,196,196,.12);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #b0bbc9; }

/* Honeypot */
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.form-submit {
  width: 100%;
  padding: 15px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .04em;
  transition: background .2s, transform .15s, box-shadow .2s;
  margin-top: 4px;
}

.form-submit:hover {
  background: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(43,196,196,.3);
}

.form-submit:active { transform: translateY(0); }

.form-notice {
  font-size: .78rem;
  color: var(--muted);
  text-align: center;
  margin-top: 14px;
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

.success-msg {
  display: none;
  background: rgba(43,196,196,.1);
  border: 1.5px solid var(--cyan);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 20px;
  font-size: .95rem;
  color: var(--navy);
}

.success-msg.show { display: flex; gap: 12px; align-items: center; }

/* ===== FOOTER ===== */

footer {
  background: var(--dark-bg);
  color: rgba(255,255,255,.65);
  padding: 64px 6vw 36px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 32px;
}

@media (max-width: 820px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

.footer-brand img { height: 34px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; max-width: 300px; }

.footer-col h4 {
  font-family: 'Syne', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }

.footer-col ul a {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  transition: color .2s;
}

.footer-col ul a:hover { color: var(--cyan); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a { color: var(--cyan); }

/* ===== ANIMATIONS ===== */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===== MISC ===== */

.highlight { color: var(--cyan); }

.divider {
  height: 1px;
  background: var(--border);
  margin: 0 6vw;
}

.bg-off { background: var(--off); }

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 40px;
  background: rgba(43,196,196,.1);
  color: var(--cyan);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ===== TOOL LOGOS STRIP ===== */
.tools-strip {
  padding: 48px 6vw;
  background: var(--off);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tools-strip-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 28px;
}

.tools-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.tool-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: .65;
  transition: opacity .2s, transform .2s;
  cursor: default;
}

.tool-logo:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.tool-logo-img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.tool-logo-img svg {
  width: 100%;
  height: 100%;
}

.tool-logo span {
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .04em;
}

/* ===== NOVICTUS-INSPIRED REFINEMENTS ===== */

/* Lighter, more spacious sections */
.section-clean {
  padding: 96px 6vw;
  background: var(--white);
}

.section-alt {
  padding: 96px 6vw;
  background: #f8fafc;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Bigger, bolder headings */
.headline-xl {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -.02em;
}

/* Clean feature row */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 820px) {
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
}

/* Refined cards - lighter look */
.card-light {
  background: var(--white);
  border: 1px solid #e8edf3;
  border-radius: 16px;
  padding: 36px 32px;
  transition: transform .25s, box-shadow .25s;
}

.card-light:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(27,58,92,.09);
}

/* Stat blocks */
.stat-block {
  padding: 32px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  text-align: center;
}

.stat-block-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-block-num span {
  color: var(--cyan);
}

.stat-block-label {
  font-size: .88rem;
  color: var(--muted);
}

/* ===== MOBILE RESPONSIVE ===== */

/* Tablet (max 1024px) */
@media (max-width: 1024px) {
  .hero-content { max-width: 100%; }
  .hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {

  /* Nav already has hamburger - ensure it works */
  nav { padding: 0 4vw; height: 64px; }
  .nav-logo img { height: 30px; }

  /* Hero */
  .hero { padding: 90px 5vw 50px; min-height: auto; }
  .hero h1 { font-size: clamp(1.9rem, 7vw, 2.8rem); }
  .hero p { font-size: 1rem; }
  .hero-buttons { flex-direction: column; gap: 12px; }
  .hero-buttons a { text-align: center; width: 100%; }
  .hero-badge { font-size: .72rem; }

  /* Page headers */
  .page-header { padding: 100px 5vw 48px; }
  .partner-hero { padding: 100px 5vw 48px; }

  /* Sections */
  section { padding: 56px 5vw; }

  /* Cards - 1 column */
  .cards { grid-template-columns: 1fr; gap: 16px; }

  /* Section text */
  .section-title { font-size: clamp(1.5rem, 5vw, 2rem); }
  .section-sub { font-size: .95rem; }

  /* CTA banner */
  section > div[style*="linear-gradient"] {
    padding: 40px 28px !important;
    flex-direction: column !important;
    text-align: center !important;
  }

  /* Contact grid */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-card { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }

  /* Partner pills - stack */
  .partners-logos-row,
  div[style*="flex-direction:row"][style*="gap:16px"] {
    flex-direction: column !important;
    gap: 12px !important;
  }

  /* Partner grid - 1 column */
  .partner-grid { grid-template-columns: 1fr; }

  /* Diensten feature rows */
  .dienst-row { grid-template-columns: 1fr !important; gap: 24px !important; }
  .dienst-row--reverse > div:first-child { order: 2; }
  .dienst-row--reverse > div:last-child { order: 1; }

  /* Over ons split */
  .split-block { grid-template-columns: 1fr !important; gap: 28px !important; }

  /* Stats */
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .stat-num { font-size: 1.6rem; }

  /* Buttons full width on mobile */
  .btn-primary, .btn-outline { display: block; text-align: center; }

  /* Canvas widgets - smaller on mobile */
  .widget-canvas-wrap { height: 90px; }
}

/* Small mobile (max 480px) */
@media (max-width: 480px) {
  nav { padding: 0 4vw; }
  .hero { padding: 80px 4vw 40px; }
  section { padding: 44px 4vw; }
  .page-header { padding: 88px 4vw 36px; }
  .hero h1 { font-size: 1.75rem; }
  .section-title { font-size: 1.5rem; }
  .form-card { padding: 22px 16px; }
  .footer-top { padding-bottom: 32px; }
  .partner-card-header { padding: 20px 20px 16px; }
  .partner-card-body { padding: 16px 20px 20px; }

  /* Partner pills inline logo + text */
  .partner-pill { min-width: unset !important; max-width: 100% !important; }
}

/* Touch devices - remove hover transforms */
@media (hover: none) {
  .card:hover { transform: none; box-shadow: none; }
  .partner-card:hover { transform: none; box-shadow: none; }
  .btn-primary:hover { transform: none; }
  .btn-outline:hover { transform: none; }
}
