/* ============================================================
   RENNEXT — style.css
   Colors:  --cobalt: #1542D6  |  --ink: #15171B  |  --cloud: #EEF1F5
            --blue2: #5B82F2   |  --sky: #AFC0DA   |  --muted: rgba(21,23,27,.62)
   Font:    Sora (400 500 600 700)
   No gradients. No rounded corners (unless noted).
============================================================ */

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Sora', sans-serif;
  color: #15171B;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; }
p { margin: 0; }
h1, h2 { margin: 0; }
blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ── Layout ── */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px;
}

/* ── Logo ── */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #15171B;
}
.logo--white { color: #fff; }
.logo-chev { width: 20px; height: 18px; display: block; }
.logo-text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff !important;
  background: #1542D6;
  padding: 11px 20px;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: #1238bb; }

.btn-lg { font-size: 15px; padding: 16px 28px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #15171B;
  padding: 16px 26px;
  border: 1.5px solid rgba(21,23,27,0.1);
}
.btn-outline:hover { border-color: rgba(21,23,27,0.3); }

.btn-white {
  display: inline-flex;
  align-items: center;
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #15171B;
  background: #fff;
  padding: 15px 26px;
}
.btn-white:hover { background: #f0f0f0; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  padding: 15px 24px;
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); }

.btn-white-cobalt {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #1542D6;
  background: #fff;
  padding: 17px 30px;
  white-space: nowrap;
}
.btn-white-cobalt svg { width: 15px; height: 13px; }
.btn-white-cobalt:hover { background: #f0f0f0; }

/* ── Kickers ── */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1542D6;
  margin-bottom: 26px;
}
.kicker svg { width: 17px; height: 15px; }

.kicker-sm {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1542D6;
  margin-bottom: 12px;
}

.kicker-blue { color: #5B82F2; }

/* ── Section head ── */
.section-head h2 {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

/* ── Image placeholder ── */
.img-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: repeating-linear-gradient(
    135deg,
    #e6eaf1, #e6eaf1 11px,
    rgba(21,66,214,0.07) 11px, rgba(21,66,214,0.07) 12px
  );
  display: flex;
  align-items: flex-end;
}
.img-placeholder::after {
  content: attr(data-label);
  font-family: 'Sora', monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(21,66,214,0.5);
  padding: 10px 12px;
  font-weight: 500;
}

/* ── Anchor scroll offset (accounts for sticky header + breathing room) ── */
section[id] { scroll-margin-top: 72px; }

/* ── Stars ── */
.stars {
  display: flex;
  gap: 2px;
  align-items: center;
}

.star {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: #D1D5DB; /* leeg: grijs */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.star-full {
  background-color: #1542D6;
}

.star-half {
  background: linear-gradient(to right, #1542D6 50%, #D1D5DB 50%);
}

.star-partial {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 16px;
}

.star-partial .star {
  position: absolute;
  left: 0;
  top: 0;
}

.star-partial .star-full {
  clip-path: inset(0 calc(100% - var(--fill)) 0 0);
}

.star-empty {
  background-color: #D1D5DB;
}


/* ============================================================
   HEADER
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(21,23,27,0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: #15171B;
  opacity: 0.72;
}
.main-nav a:hover { opacity: 1; }
.main-nav .btn-primary { opacity: 1; }


/* ============================================================
   HERO
============================================================ */
.hero { padding: 96px 0 110px; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: stretch;
}

.hero-copy h1 {
  font-size: clamp(38px, 7vw, 64px);
  line-height: 1.0;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.cobalt { color: #1542D6; }

.h1-chev {
  width: 0.72em;
  height: 0.66em;
  vertical-align: baseline;
  position: relative;
  top: -0.06em;
  margin-right: 0.1em;
}

.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(21,23,27,0.62);
  max-width: 470px;
  margin-top: 26px;
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  gap: 14px;
}

.hero-actions .btn-primary svg { width: 14px; height: 13px; }

.hero-image {
  position: relative;
  display: flex;
  align-items: flex-end;
}

.hero-image .img-placeholder { align-items: flex-start; justify-content: flex-end; }

.hero-cartoon {
  width: 100%;
  height: auto;
  display: block;
}

.hero-chev {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 40px;
  display: block;
}


/* ============================================================
   SERVICES
============================================================ */
.services {
  border-top: 1px solid rgba(21,23,27,0.1);
  padding: 80px 0 88px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 44px;
}

.service-card {
  border-top: 2px solid rgba(21,23,27,0.16);
  padding-top: 20px;
}

.service-card--active { border-top-color: rgba(21,23,27,0.16); }

.service-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.service-title svg { width: 16px; height: 14px; flex-shrink: 0; }

.service-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(21,23,27,0.62);
}


/* ============================================================
   REVIEWS
============================================================ */
.reviews {
  background: #EEF1F5;
  padding: 80px 0 88px;
}

.reviews-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.rating {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rating .star { width: 18px; height: 18px; }

.rating-score {
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
}

.rating-note {
  font-size: 13.5px;
  color: rgba(21,23,27,0.62);
}

/* Forced line break in the rating note — mobile only */
.rating-br { display: none; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.review-card {
  background: #fff;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid rgba(21,23,27,0.1);
}

.review-card blockquote {
  font-size: 17px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.01em;
}



/* ============================================================
   CONSULTANCY
============================================================ */
.consultancy { padding: 80px 0 88px; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}

.project-card {
  border: 1px solid rgba(21,23,27,0.1);
  display: flex;
  flex-direction: column;
}

.project-image { height: 150px; }

.project-body { padding: 22px 24px; }

.project-tag {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1542D6;
  font-weight: 600;
  margin-bottom: 10px;
}

.project-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.project-body p {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(21,23,27,0.62);
}


/* ============================================================
   PRODUCT
============================================================ */
.product {
  background: #15171B;
  color: #fff;
}

.product-inner {
  padding-top: 88px;
  padding-bottom: 96px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.product .kicker-sm { color: #5B82F2; margin-bottom: 22px; }

.product-name {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.product-name svg { width: 34px; height: 32px; }

.product-tagline {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.product-desc {
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.66);
  max-width: 430px;
  margin-bottom: 28px;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.product-features li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
}

.product-features li svg { width: 17px; height: 15px; flex-shrink: 0; margin-top: 2px; }
.product-features li strong { color: #fff; }
.product-features li span, .product-features li div { color: rgba(255,255,255,0.62); }

.product-actions {
  display: flex;
  gap: 14px;
}

.product-screenshot {
  aspect-ratio: 16 / 11;
  background: none;
  border: none;
}

.product-screenshot::after { color: rgba(120,150,240,0.7); }


/* ============================================================
   CTA BAND
============================================================ */
.cta-band { background: #1542D6; }

.cta-band-inner {
  padding-top: 56px;
  padding-bottom: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.cta-band-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.cta-band-sub {
  font-size: 16.5px;
  color: rgba(255,255,255,0.82);
  margin-top: 8px;
  max-width: 520px;
}


/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: #15171B;
  color: #fff;
}

.footer-cols {
  padding-top: 64px;
  padding-bottom: 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand .logo { margin-bottom: 14px; }

.footer-tagline {
  font-size: 13.5px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col-head {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #AFC0DA;
  font-weight: 600;
  margin-bottom: 5px;
}

.footer-col a,
.footer-col span {
  font-size: 14.5px;
  color: rgba(255,255,255,0.72);
}

.footer-col a:hover { color: #fff; }

.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

.footer-legal .wrap {
  padding-top: 22px;
  padding-bottom: 22px;
}
.footer-legal-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.footer-legal a { color: rgba(255,255,255,0.45); text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }


/* ============================================================
   MOBILE NAV TOGGLE (hidden on desktop)
============================================================ */
.nav-toggle { display: none; }


/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 960px) {
  .hero { padding: 64px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { justify-content: flex-start; }
  .hero-cartoon { max-width: 460px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .product-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 64px;
    padding-bottom: 72px;
  }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .section-head h2 { font-size: 32px; }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 0 auto;
    background: #15171B;
    transition: transform 0.2s, opacity 0.2s;
  }
  .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); }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid rgba(21,23,27,0.1);
    padding: 8px 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    opacity: 1;
    padding: 14px 24px;
    font-size: 16px;
  }
  .main-nav .btn-primary {
    justify-content: center;
    margin: 8px 24px 6px;
  }
}

@media (max-width: 640px) {
  .wrap { padding: 0 22px; }
  .services,
  .reviews,
  .consultancy { padding: 56px 0 60px; }
  .services-grid,
  .reviews-grid,
  .projects-grid,
  .footer-cols { grid-template-columns: 1fr; }
  .footer-cols { gap: 28px; padding-top: 48px; padding-bottom: 48px; }
  .hero-sub { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-lg { justify-content: center; }
  .product-inner { padding-top: 72px; }
  .product-name { font-size: 34px; }
  .product-tagline { font-size: 19px; }
  .cta-band-title { font-size: 26px; }
  .cta-band-inner { padding-top: 44px; padding-bottom: 44px; }
  .btn-white-cobalt { white-space: normal; }

  /* Show the forced break in the rating note */
  .rating-br { display: inline; }

  /* Center footer columns */
  .footer-cols { text-align: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-col { align-items: center; }

  /* Stack legal items underneath one another */
  .footer-legal-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .legal-sep { display: none; }
}
