/*
Theme Name: B-Advice
Theme URI: https://b-advice.info
Author: B-Advice
Description: Officieel websitethema voor B-Advice — specialist in ondergrondse afvalinfrastructuur.
Version: 1.0
License: Proprietary
Text Domain: b-advice
*/

/* ══════════════════════════════════════════
   B-Advice — Gedeelde stijlen
══════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=DM+Mono:wght@400;500&display=swap');

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

:root {
  --green: #4CAF72;
  --green-dark: #3d9f63;
  --green-light: rgba(76,175,114,.08);
  --green-mid: rgba(76,175,114,.14);
  --ink: #0f1e16;
  --ink-2: #1a2820;
  --ink-3: #4a5e52;
  --ink-4: #7a9585;
  --bg: #FAFAF9;
  --bg-2: #F3F6F4;
  --border: rgba(26,40,32,.09);
  --font: 'DM Sans', sans-serif;
  --mono: 'DM Mono', monospace;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  transition: background .25s, box-shadow .25s;
}
.nav.scrolled {
  background: rgba(250,250,249,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-center {
  display: flex; gap: 28px; align-items: center;
  font-size: 14px; font-weight: 500; color: var(--ink-3);
}
.nav-center a { transition: color .15s; }
.nav-center a:hover, .nav-center a.active { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-contact {
  font-size: 13px; color: var(--ink-4); font-weight: 400;
  transition: color .15s;
}
.nav-contact:hover { color: var(--ink-3); }
.nav-cta {
  padding: 9px 18px; background: var(--green); color: #fff;
  border: none; border-radius: 7px; font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: background .15s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--green-dark); }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 13px 28px; background: var(--green); color: #fff;
  border: none; border-radius: 7px; font-size: 15px; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: background .15s, transform .1s;
  text-decoration: none;
}
.btn-primary:hover { background: var(--green-dark); }
.btn-primary:active { transform: scale(.98); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 13px 22px; background: transparent; color: var(--ink-2);
  border: 1.5px solid rgba(26,40,32,.2); border-radius: 7px;
  font-size: 15px; font-weight: 500; cursor: pointer; font-family: inherit;
  transition: border-color .15s, background .15s; text-decoration: none;
}
.btn-ghost:hover { border-color: rgba(26,40,32,.45); background: rgba(26,40,32,.02); }
.btn-white {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 13px 28px; background: #fff; color: var(--green);
  border: none; border-radius: 7px; font-size: 15px; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: background .15s; text-decoration: none;
}
.btn-white:hover { background: #f0f9f4; }

/* ── Tag pill ── */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .07em; text-transform: uppercase;
  background: rgba(76,175,114,.1); color: #2d7a52;
  border-radius: 4px; padding: 5px 11px;
}
.tag-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

/* ── Section layout ── */
.section { padding: 96px 80px; }
.section-sm { padding: 64px 80px; }
.section-label {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .09em; text-transform: uppercase; color: var(--green);
  margin-bottom: 12px;
}
.section-title {
  font-size: 38px; font-weight: 700; letter-spacing: -1.2px;
  color: var(--ink); line-height: 1.1;
}
.section-title em { font-style: normal; color: var(--green); }
.section-sub {
  margin-top: 16px; font-size: 17px; line-height: 1.65;
  color: var(--ink-3); max-width: 580px;
}

/* ── Divider ── */
.divider { height: 1px; background: var(--border); margin: 0 80px; }

/* ── Footer ── */
footer {
  background: var(--ink); color: rgba(255,255,255,.45);
  padding: 72px 80px 0;
  font-size: 13px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 48px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-col { display: flex; flex-direction: column; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.footer-tagline { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.4); max-width: 220px; }
.footer-address { font-size: 12px; color: rgba(255,255,255,.3); line-height: 1.7; margin-top: 4px; }
.footer-col-title {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.3); margin-bottom: 4px;
}
.footer-col-links { display: flex; flex-direction: column; gap: 10px; }
.footer-col-links a { color: rgba(255,255,255,.5); transition: color .15s; font-size: 13px; }
.footer-col-links a:hover { color: rgba(255,255,255,.85); }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  color: rgba(255,255,255,.5); font-size: 13px; line-height: 1.5;
}
.footer-contact-item svg { width: 14px; height: 14px; stroke: var(--green); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,.25);
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,.25); transition: color .15s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,.5); }
.footer-kvk { font-family: var(--mono); font-size: 10px; letter-spacing: .05em; }

/* ── Page hero ── */
.page-hero {
  padding: 140px 80px 80px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-hero-tag { margin-bottom: 16px; }
.page-hero-title {
  font-size: 52px; font-weight: 700; letter-spacing: -2px;
  color: var(--ink); line-height: 1.08;
  max-width: 720px;
}
.page-hero-title em { font-style: normal; color: var(--green); }
.page-hero-sub {
  margin-top: 20px; font-size: 18px; line-height: 1.65;
  color: var(--ink-3); max-width: 620px;
}

/* ── CTA band ── */
.cta-band {
  background: var(--green); padding: 72px 80px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.cta-band-title {
  font-size: 32px; font-weight: 700; letter-spacing: -.8px;
  color: #fff; max-width: 500px; line-height: 1.2;
}
.cta-band-sub { margin-top: 8px; font-size: 16px; color: rgba(255,255,255,.75); }

/* ── FAQ accordion ── */
.faq { padding: 80px; background: var(--bg-2); }
.faq-title { font-size: 28px; font-weight: 700; letter-spacing: -.6px; margin-bottom: 32px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 20px 0; font-family: inherit; font-size: 16px; font-weight: 600;
  color: var(--ink); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q:hover { color: var(--green); }
.faq-icon { font-size: 20px; color: var(--green); flex-shrink: 0; transition: transform .2s; }
.faq-icon.open { transform: rotate(45deg); }
.faq-a {
  font-size: 15px; line-height: 1.7; color: var(--ink-3);
  max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
}
.faq-a.open { max-height: 400px; padding-bottom: 20px; }

/* ── Scroll hint ── */
.scroll-hint {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--ink-4);
}
.scroll-hint span { font-size: 10px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; }
.scroll-arrow {
  width: 18px; height: 18px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: bounce 1.6s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(5px); }
}

/* ── Mobile nav ── */
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
  z-index: 301;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: #fff;
  display: flex; flex-direction: column;
  padding: 80px 32px 48px;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  visibility: hidden; pointer-events: none;
}
.nav-mobile-overlay.open {
  transform: translateX(0);
  visibility: visible; pointer-events: all;
}

/* ── Shared form styles ── */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.form-label span { color: var(--green); }
.form-input, .form-select, .form-textarea {
  font-family: var(--font); font-size: 14px; color: var(--ink);
  padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: 7px; background: #fff; transition: border-color .15s;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(76,175,114,.08);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--ink-4); }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%237a9585'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  cursor: pointer;
}
.form-textarea { resize: vertical; min-height: 140px; line-height: 1.6; }

/* ── Legal pages ── */
.legal-wrap { max-width: 800px; margin: 0 auto; padding: 64px 80px 96px; }
.legal-wrap h2 { font-size: 22px; font-weight: 700; letter-spacing: -.4px; color: var(--ink); margin: 40px 0 12px; }
.legal-wrap h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin: 24px 0 8px; }
.legal-wrap p { font-size: 15px; line-height: 1.75; color: var(--ink-3); margin-bottom: 14px; }
.legal-wrap ul { padding-left: 20px; margin-bottom: 14px; }
.legal-wrap li { font-size: 15px; line-height: 1.75; color: var(--ink-3); margin-bottom: 6px; }
.legal-callout {
  background: rgba(76,175,114,.07); border-left: 3px solid var(--green);
  border-radius: 0 8px 8px 0; padding: 16px 20px; margin: 20px 0;
}
.legal-callout p { margin: 0; font-size: 14px; color: var(--ink-2); }
.legal-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.legal-table th { text-align: left; padding: 10px 14px; background: var(--bg-2); font-weight: 600; color: var(--ink-2); border-bottom: 1px solid var(--border); }
.legal-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--ink-3); vertical-align: top; }

/* ── Coming soon ── */
.coming-soon-wrap {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 64px 24px; text-align: center; background: var(--bg);
}
.coming-soon-tag { margin-bottom: 32px; }
.coming-soon-title {
  font-size: 64px; font-weight: 700; letter-spacing: -3px;
  color: var(--ink); line-height: 1; margin-bottom: 24px;
}
.coming-soon-title em { font-style: normal; color: var(--green); }
.coming-soon-sub {
  font-size: 18px; line-height: 1.65; color: var(--ink-3);
  max-width: 480px; margin: 0 auto 40px;
}
.coming-soon-divider { width: 48px; height: 3px; background: var(--green); border-radius: 2px; margin: 0 auto 40px; }
.coming-soon-back {
  font-size: 14px; font-weight: 500; color: var(--ink-4);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  transition: color .15s; margin-top: 16px;
}
.coming-soon-back:hover { color: var(--green); }

/* ══════════════════════════════════════════
   RESPONSIVE — TABLET (max 1024px)
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .nav { padding: 0 32px; }
  .section { padding: 72px 48px; }
  .section-sm { padding: 48px 48px; }
  .divider { margin: 0 48px; }
  .page-hero { padding: 120px 48px 64px; }
  .cta-band { padding: 56px 48px; }
  footer { padding: 56px 48px 0; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
  .faq { padding: 64px 48px; }
  .legal-wrap { padding: 48px 48px 72px; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE (max 768px)
══════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav { padding: 0 20px; height: 56px; background: rgba(250,250,249,.97); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--border); }
  .nav-center { display: none; }
  .nav-right { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile-links { display: flex; flex-direction: column; gap: 4px; flex: 1; }
  .nav-mobile-links a { font-size: 28px; font-weight: 700; letter-spacing: -1px; color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--border); transition: color .15s; }
  .nav-mobile-links a:last-child { border-bottom: none; }
  .nav-mobile-links a:hover, .nav-mobile-links a.active { color: var(--green); }
  .nav-mobile-cta { margin-top: 32px; padding: 16px; background: var(--green); color: #fff; border-radius: 10px; font-size: 17px; font-weight: 700; text-align: center; transition: background .15s; }
  .nav-mobile-cta:hover { background: var(--green-dark); }
  .section-title { font-size: 26px; letter-spacing: -.8px; }
  .page-hero-title { font-size: 32px; letter-spacing: -1px; }
  .cta-band-title { font-size: 22px; }
  .section-sub { font-size: 15px; }
  .section { padding: 56px 20px; }
  .section-sm { padding: 40px 20px; }
  .divider { margin: 0 20px; }
  .page-hero { padding: 88px 20px 48px; }
  .cta-band { padding: 48px 20px; flex-direction: column; gap: 24px; }
  .cta-band .btn-white, .cta-band .btn-primary { width: 100%; justify-content: center; }
  footer { padding: 48px 20px 0; }
  .faq { padding: 48px 20px; }
  .btn-primary, .btn-ghost, .btn-white { width: 100%; justify-content: center; font-size: 16px; padding: 15px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .form-row { grid-template-columns: 1fr !important; gap: 16px; }
  .legal-wrap { padding: 32px 20px 64px; }
  .coming-soon-title { font-size: 40px; letter-spacing: -2px; }

  /* Homepage hero */
  .hero { display: flex !important; flex-direction: column !important; height: auto !important; min-height: 100svh; padding-top: 56px !important; }
  .hero-left { padding: 36px 20px 0 !important; order: 1; }
  .hero-right { display: none !important; }
  .hero-headline { font-size: 30px !important; letter-spacing: -1px !important; }
  .hero-actions { flex-direction: column !important; }
  .hero-actions a { width: 100% !important; justify-content: center !important; }
  .stats-row { gap: 0 !important; flex-wrap: nowrap !important; }
  .stat { flex: 1 !important; min-width: 0 !important; padding: 12px 8px !important; border-bottom: none !important; text-align: center !important; }
  .stat + .stat { border-left: 1px solid rgba(26,40,32,.12) !important; }
  .stat-num { font-size: 18px !important; letter-spacing: -.5px !important; }
  .stat-label { font-size: 9.5px !important; line-height: 1.4 !important; }
  .bo-img-wrap { display: none !important; }
  .bo-section { grid-template-columns: 1fr !important; padding: 48px 20px !important; }
  .diensten-grid { grid-template-columns: 1fr !important; }
  .hero-scroll { display: none; }

  /* Over ons */
  .team-grid { grid-template-columns: 1fr !important; }
  .values-grid { grid-template-columns: 1fr !important; }
  .timeline { flex-direction: column !important; gap: 24px; }
  .timeline::before { display: none; }
  .timeline-item { padding-right: 0 !important; padding-left: 20px; border-left: 2px solid var(--border); position: relative; }
  .timeline-dot { position: absolute; left: -7px; }
}
