/*
Theme Name: NordTribe
Theme URI: https://nordtribe.eu
Author: NordTribe
Description: Custom thema voor de NordTribe-website (IT Consultancy, SaaS Development, AI Agents Platform).
Version: 1.0
Text Domain: nordtribe
*/

:root {
  --bg: oklch(97% 0.006 95);
  --bg-alt: oklch(94.5% 0.012 95);
  --ink: oklch(22% 0.014 95);
  --ink-muted: oklch(46% 0.016 95);
  --ink-soft: oklch(75% 0.01 95);
  --accent: oklch(40% 0.075 165);
  --accent-soft: oklch(91% 0.045 165);
  --border: oklch(87% 0.01 95);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}
h1 { font-weight: 900; letter-spacing: -0.02em; }

.wordmark {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 20px;
  color: var(--ink);
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--ink); }
p { margin: 0; color: var(--ink-muted); line-height: 1.6; }

.shell { max-width: 1180px; margin: 0 auto; padding: 0 40px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  display: inline-block; flex-shrink: 0;
}

.site-logo { height: 32px; width: auto; display: block; }
.site-logo-lockup { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px; font-size: 15px; font-weight: 600;
  font-family: 'IBM Plex Sans', sans-serif;
  cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-secondary { background: var(--bg); color: var(--ink); border: 1px solid var(--border); }
.btn-on-dark { background: var(--bg); color: var(--ink); }

.icon-badge {
  width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.icon-badge svg { width: 22px; height: 22px; stroke: var(--accent); }
.icon-badge--on-dark { background: oklch(32% 0.02 95); }
.icon-badge--on-dark svg { stroke: var(--bg); }

.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
  padding: 30px;
}

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in oklch, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; height: 84px;
  position: relative;
}
.site-nav { display: flex; align-items: center; gap: 36px; }

.nav-toggle-checkbox { display: none; }
.nav-toggle-btn {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-left: 12px; border-radius: 8px;
  color: var(--ink); cursor: pointer;
}
.site-nav a { color: var(--ink); font-size: 15px; font-weight: 500; }
.site-header__cta { padding: 11px 22px; font-size: 14px; }

/* Hero */
.hero {
  padding: 156px 0 100px;
  background: radial-gradient(120% 100% at 0% 0%, var(--accent-soft) 0%, var(--bg) 55%);
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center;
}
.hero__grid > * { min-width: 0; }
.hero__title { font-size: 58px; line-height: 1.05; margin-top: 20px; max-width: 640px; }
.hero__lead { font-size: 18px; max-width: 520px; margin-top: 24px; }
.hero__actions { display: flex; gap: 14px; margin-top: 36px; }
.hero__visual { display: flex; align-items: center; justify-content: center; margin: 0; min-width: 0; max-width: 100%; }
.hero__visual img { width: 100%; height: auto; max-width: 100%; display: block; }
.hero__visual--lg { max-width: 115%; }
.hero__visual--lg img { width: 115%; max-width: 115%; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Diensten / services */
.services { padding: 80px 0 120px; }
.services__intro { font-size: 34px; margin-top: 16px; line-height: 1.2; max-width: 600px; }
.services__lead { max-width: 560px; margin-top: 16px; }
.services__grid { margin-top: 48px; }
.service-card h3 { font-size: 19px; margin-top: 20px; }
.service-card p { font-size: 15px; margin-top: 10px; }
.service-card--dark { background: var(--ink); border-color: var(--ink); }
.service-card--dark h3 { color: var(--bg); }
.service-card--dark p { color: var(--ink-soft); }
.service-card {
  position: relative;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 10px 28px -12px oklch(22% 0.014 95 / 0.18);
}
.service-card--dark:hover { border-color: var(--accent-soft); }
.service-card__link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  color: var(--accent); font-size: 14px; font-weight: 600;
}
/* Stretches the card-link's clickable area over the whole card (.service-card is the positioned ancestor). */
.service-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.service-card__link:hover { text-decoration: underline; }
.service-card--dark .service-card__link { color: var(--accent-soft); }
.service-card__credential {
  font-size: 12.5px; margin-top: 12px; font-weight: 600; color: var(--accent);
}

/* Pain points ("herken je dit?") */
.pain-points { padding: 70px 0 20px; }
.pain-points__grid { margin-top: 40px; }
.pain-points .card { display: flex; flex-direction: column; gap: 4px; }
.pain-points .card h3 { font-size: 16.5px; margin-top: 16px; line-height: 1.3; }
.pain-points .card p { font-size: 14px; line-height: 1.5; }
.pain-points__bridge { font-size: 14.5px; color: var(--ink-muted); margin-top: 32px; font-style: italic; }

/* SaaS Development page */
.saas-intro { padding: 90px 0; }
.saas-intro--alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.saas-intro .grid-2, .saas-intro .grid-3, .saas-intro .grid-4 { margin-top: 48px; }
.saas__title { font-size: 34px; line-height: 1.2; max-width: 620px; }
.saas__lead { max-width: 640px; margin-top: 16px; font-size: 16.5px; }
.saas__lead + .saas__lead { margin-top: 14px; }
.saas-intro .card ul { margin: 12px 0 0; padding-left: 18px; }
.saas-intro .card li { font-size: 14.5px; color: var(--ink-muted); line-height: 1.6; margin-top: 4px; }
.saas-intro .card h3 { font-size: 18px; margin-top: 18px; }
.saas-intro .card p { font-size: 14.5px; margin-top: 8px; }

/* Testimonials */
.testimonials { padding: 90px 0; background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.testimonials__grid { margin-top: 48px; }
.testimonials__note { font-size: 13px; color: var(--ink-muted); font-style: italic; margin-top: 14px; }
.testimonial-card { display: flex; flex-direction: column; gap: 20px; height: 100%; }
.testimonial-card__mark svg { width: 28px; height: 28px; stroke: var(--accent-soft); }
.testimonial-card__quote { font-family: 'Fraunces', serif; font-style: italic; font-weight: 500; font-size: 16.5px; line-height: 1.55; color: var(--ink); flex-grow: 1; }
.testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.testimonial-card__avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.testimonial-card__name { font-weight: 600; font-size: 14px; color: var(--ink); }
.testimonial-card__role { font-size: 13px; color: var(--ink-muted); }

/* Over mij */
.about { padding: 30px 0 120px; }
.about__grid { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.about__photo { margin: 0; }
.about__photo img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 16px;
  border: 1px solid var(--border); display: block;
}
.about__title { font-size: 34px; line-height: 1.2; max-width: 520px; }
.about__body { max-width: 560px; margin-top: 20px; }
.about__body p:not(:first-child) { margin-top: 14px; }
.about__credentials { font-size: 13px; font-weight: 600; color: var(--ink); margin-top: 20px; }
.about__link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  color: var(--accent); font-size: 14px; font-weight: 600;
}
.about__link:hover { text-decoration: underline; }

/* Trust strip (platform page) */
.trust-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.trust-strip__grid { gap: 1px; background: var(--border); }
.trust-item { background: var(--bg-alt); padding: 28px 24px; }
.trust-item__title { font-size: 14px; font-weight: 600; color: var(--ink); }
.trust-item p { font-size: 13.5px; margin-top: 6px; }

/* Platform features */
.platform { padding: 120px 0 100px; }
.platform__intro { max-width: 620px; }
.platform__title { font-size: 36px; margin-top: 16px; line-height: 1.2; }
.platform__lead { margin-top: 18px; font-size: 16.5px; }
.platform__grid { margin-top: 56px; }
.platform__grid .card h3 { font-size: 17px; margin-top: 18px; }
.platform__grid .card p { font-size: 14.5px; margin-top: 8px; }

/* How it works */
.steps { padding: 90px 0 110px; background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps__heading { font-size: 30px; margin-top: 14px; line-height: 1.25; max-width: 560px; }
.steps__grid { margin-top: 52px; }
.step__num { font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600; color: var(--accent); }
.step h3 { font-size: 16px; margin-top: 10px; }
.step p { font-size: 14px; margin-top: 8px; }

/* CTA */
.cta-section { padding: 0 0 120px; }
.saas-intro--alt + .cta-section,
.steps + .cta-section { padding-top: 60px; }
.cta-box {
  border-radius: 20px; padding: 64px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.cta-box--light { background: var(--bg-alt); border: 1px solid var(--border); }
.cta-box--dark { background: var(--ink); }
.cta-box h2 { font-size: 27px; line-height: 1.25; }
.cta-box--dark h2 { font-size: 28px; color: var(--bg); }
.cta-box p { font-size: 15.5px; margin-top: 14px; }
.cta-box--dark p { color: var(--ink-soft); }
.cta-box__text { max-width: 520px; }

/* Contact form (Contact Form 7) */
.contact-form { max-width: 640px; margin-top: 36px; }
.contact-form .contact-form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; margin-top: 0; }
.contact-form__field { display: flex; flex-direction: column; gap: 5px; margin-top: 14px; }
.contact-form .contact-form__grid .contact-form__field { margin-top: 0; }
.contact-form__field--full { grid-column: 1 / -1; }
.contact-form__field label { font-size: 13px; font-weight: 500; color: var(--ink-muted); }
.contact-form__field br { display: none; }
.contact-form .wpcf7-form-control:not(.wpcf7-submit) {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 14px;
}
.contact-form textarea.wpcf7-form-control { min-height: 90px; resize: vertical; }
.contact-form .wpcf7-form-control:not(.wpcf7-submit):focus { outline: none; border-color: var(--accent); }
.contact-form .wpcf7-form-control::placeholder { color: var(--ink-muted); }
.contact-form__submit { margin-top: 20px; }
.contact-form__alt { margin-top: 24px; font-size: 14px; }
.contact-form .wpcf7-submit.btn.btn-primary { border: none; }
.contact-form .wpcf7-submit::before {
  content: ""; width: 16px; height: 16px; display: inline-block; margin-right: 8px;
  background-color: var(--bg);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='22' y1='2' x2='11' y2='13'/%3E%3Cpolygon points='22 2 15 22 11 13 2 9 22 2'/%3E%3C/svg%3E") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='22' y1='2' x2='11' y2='13'/%3E%3Cpolygon points='22 2 15 22 11 13 2 9 22 2'/%3E%3C/svg%3E") no-repeat center / contain;
}
.contact-form .wpcf7-spinner { display: none; }
.contact-form .wpcf7-not-valid-tip { font-size: 12.5px; color: #c0392b; margin-top: 4px; }
.contact-form form .wpcf7-response-output {
  margin-top: 20px; padding: 14px 16px !important; border-radius: 10px !important; font-size: 14px;
  border: 1px solid var(--border) !important; background: var(--bg-alt);
}
.contact-form form.sent .wpcf7-response-output { border-color: var(--accent) !important; color: var(--ink); }
.contact-form form.invalid .wpcf7-response-output, .contact-form form.unaccepted .wpcf7-response-output { border-color: #c0392b !important; color: #c0392b; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding-top: 64px; }
.site-footer__top {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 32px; padding-bottom: 40px;
}
.site-footer__brand { max-width: 300px; }
.site-footer__tagline { font-size: 13.5px; margin-top: 12px; }
.site-footer__nav { display: flex; gap: 28px; flex-wrap: wrap; padding-top: 6px; }
.site-footer__nav a { font-size: 14px; font-weight: 500; color: var(--ink); }
.site-footer__nav a:hover { color: var(--accent); }
.site-footer__bottom {
  border-top: 1px solid var(--border); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.site-footer__bottom p { font-size: 12.5px; }
.site-footer__bottom a { font-size: 12.5px; color: var(--ink-muted); }

@media (max-width: 900px) {
  .shell { padding: 0 24px; }
  .grid-2, .grid-3, .grid-4, .contact-form__grid { grid-template-columns: 1fr !important; }
  .hero__grid, .about__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 200px; }
  .hero__visual { display: none; }
  .hero__title { font-size: 40px; }

  .nav-toggle-btn { display: flex; }
  .site-header__cta {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
  }
  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 8px 24px 20px;
  }
  .site-nav a { padding: 10px 0; width: 100%; }
  .nav-toggle-checkbox:checked ~ .site-nav { display: flex; }
  .cta-box { flex-direction: column; align-items: flex-start; }
}
