/* ─── RESET & VARIABLES ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:    #1a78c2;
  --blue-dk: #1460a0;
  --dark:    #2b2b2b;
  --body:    #3a3a3a;
  --muted:   #6b6b6b;
  --border:  #e0e0e0;
  --bg:      #f5f5f3;
  --white:   #ffffff;
  --max:     1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: 80px;
  display: flex;
  align-items: center;
  padding: 0 40px;
}

.nav-inner {
  width: 100%; max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  border-radius: 3px;
  overflow: hidden;
  width: 110px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-top {
  background: var(--blue); color: #fff;
  font-size: 13px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-align: center; padding: 7px 6px 6px;
}
.logo-bottom {
  background: var(--dark); color: #fff;
  font-size: 13px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-align: center; padding: 6px 6px 7px;
}

/* WordPress wp_nav_menu */
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { display: flex; list-style: none; gap: 0; align-items: center; }
.main-nav ul li a {
  color: var(--body); text-decoration: none;
  font-size: 14px; font-weight: 400;
  padding: 6px 14px; display: block; white-space: nowrap;
  transition: color .15s; border-bottom: 2px solid transparent;
}
.main-nav ul li a:hover { color: var(--dark); }
.main-nav ul li.current-menu-item > a,
.main-nav ul li.current-page-ancestor > a {
  color: var(--dark); font-weight: 600;
  border-bottom: 2px solid var(--blue);
  padding-bottom: 4px;
}
.main-nav ul li ul { display: none; } /* geen dropdown */

.btn-nav {
  background: var(--dark); color: white; border: none;
  padding: 11px 24px; border-radius: 50px;
  font-size: 14px; font-weight: 500; cursor: pointer;
  white-space: nowrap; font-family: inherit; flex-shrink: 0;
  transition: background .15s; text-decoration: none;
  display: inline-block;
}
.btn-nav:hover { background: var(--blue); color: white; }

/* ─── BUTTONS ────────────────────────────────────── */
.btn-dark {
  display: inline-block; background: var(--dark); color: white; border: none;
  padding: 13px 28px; border-radius: 50px; font-size: 15px; font-weight: 500;
  cursor: pointer; font-family: inherit; text-decoration: none; transition: background .15s;
}
.btn-dark:hover { background: #444; color: white; }

.btn-blue {
  display: inline-block; background: var(--blue); color: white; border: none;
  padding: 13px 28px; border-radius: 50px; font-size: 15px; font-weight: 500;
  cursor: pointer; font-family: inherit; transition: background .15s; text-decoration: none;
}
.btn-blue:hover { background: var(--blue-dk); color: white; }

.btn-outline-white {
  display: inline-block; background: transparent; color: white;
  border: 2px solid rgba(255,255,255,0.6);
  padding: 11px 26px; border-radius: 50px; font-size: 14px; font-weight: 500;
  cursor: pointer; font-family: inherit; transition: all .15s; text-decoration: none;
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: white; }

/* ─── HOMEPAGE HERO ──────────────────────────────── */
.hero-home { position: relative; width: 100%; }
.hero-home .hero-photo {
  display: block; width: 100%; height: 500px;
  object-fit: cover; object-position: center;
}
.hero-box-wrap {
  position: absolute; top: 0; left: 0; right: 0; pointer-events: none;
}
.hero-box-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 40px; pointer-events: none;
}
.hero-box {
  display: inline-block; width: 520px;
  background: var(--blue); padding: 64px 52px 56px;
  pointer-events: all; vertical-align: top;
}
.hero-box h1 {
  font-size: 30px; font-weight: 700; color: white;
  line-height: 1.25; margin-bottom: 14px; letter-spacing: -0.01em;
}
.hero-box p { font-size: 14px; color: rgba(255,255,255,.82); line-height: 1.55; margin-bottom: 32px; }
.hero-spacer { height: 96px; background: white; }

/* ─── INNER PAGE HERO ────────────────────────────── */
.hero-inner { position: relative; width: 100%; height: 360px; overflow: hidden; background: #263040; }
.hero-inner img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block; opacity: .65;
}
.hero-inner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,20,35,.75) 0%, rgba(10,20,35,.15) 65%, transparent 100%);
}
.hero-inner-text {
  position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%; max-width: var(--max);
  padding: 0 40px 48px;
}
.hero-inner-text h1 {
  font-size: clamp(26px,3.2vw,42px); font-weight: 700; color: white;
  line-height: 1.15; letter-spacing: -0.02em; max-width: 700px;
}

/* ─── LAYOUT ─────────────────────────────────────── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 40px; }
.section { padding: 80px 40px; max-width: var(--max); margin: 0 auto; }
.section-bg { background: var(--bg); }

h2 {
  font-size: clamp(24px,2.8vw,36px); font-weight: 700; color: var(--dark);
  line-height: 1.2; letter-spacing: -0.02em;
}
h3 { font-size: 17px; font-weight: 700; color: var(--blue); margin-bottom: 14px; }
p  { color: var(--muted); line-height: 1.7; }

.intro { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.intro p { font-size: 15px; color: var(--muted); }

/* ─── FEATURES SECTION (blauw) ───────────────────── */
.features-section { background: var(--blue); padding: 64px 40px; }
.features-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.features-left h2 { color: white; font-size: 24px; margin-bottom: 36px; }
.feat { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.feat-icon { width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.feat-icon svg { color: white; }
.feat h4 { font-size: 14px; font-weight: 700; color: white; margin-bottom: 4px; }
.feat p { font-size: 13px; color: rgba(255,255,255,.75); margin: 0; line-height: 1.5; }
.feat-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 36px; max-width: 180px; }
.feat-btns a {
  background: var(--dark); color: white; padding: 12px 24px; border-radius: 50px;
  font-size: 14px; font-weight: 500; text-decoration: none; text-align: center;
  transition: background .15s; display: block;
}
.feat-btns a:hover { background: #444; }
.features-right img { width: 100%; height: 360px; object-fit: cover; border-radius: 6px; display: block; }

/* ─── GALLERY ────────────────────────────────────── */
.gallery {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 220px 220px; gap: 8px; border-radius: 6px; overflow: hidden;
}
.gallery > div { overflow: hidden; }
.gallery > div img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.gallery > div:hover img { transform: scale(1.04); }
.gallery-main { grid-row: span 2; }

/* ─── MAP + INFO ─────────────────────────────────── */
.map-section-wrap { background: var(--bg); padding: 80px 40px; }
.map-block {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border); border-radius: 6px; overflow: hidden;
}
.map-block iframe { width: 100%; min-height: 440px; border: none; display: block; }
.map-info {
  padding: 56px 52px; background: white;
  display: flex; flex-direction: column; justify-content: center;
}
.map-info h2 { font-size: 32px; margin-bottom: 14px; line-height: 1.15; }
.map-info .sub { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.map-why { font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 14px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; margin-bottom: 32px; }
.check { font-size: 14px; font-weight: 500; color: var(--blue); }

/* ─── FORMS ──────────────────────────────────────── */
.form-section { padding: 80px 40px; }
.form-inner { max-width: 660px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 13px; color: var(--muted); }
.form-group input,
.form-group textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  padding: 10px 14px; border: 1px solid var(--border); border-radius: 4px;
  font-size: 15px; font-family: inherit; color: var(--dark); background: white;
  outline: none; transition: border-color .15s; width: 100%;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-full { grid-column: 1 / -1; }

/* Contact7 submit */
.wpcf7-form input[type="submit"],
.wpcf7-submit {
  background: var(--dark); color: white; border: none;
  padding: 13px 32px; border-radius: 50px; font-size: 15px;
  font-weight: 500; cursor: pointer; font-family: inherit;
  transition: background .15s;
}
.wpcf7-form input[type="submit"]:hover { background: #444; }

/* ─── CONTACT PAGE ───────────────────────────────── */
.contact-layout {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px;
  padding: 80px 40px;
}
.contact-left h2 { font-size: 30px; color: var(--dark); margin-bottom: 20px; }
.contact-left p { font-size: 15px; color: var(--muted); line-height: 1.75; margin-bottom: 16px; }
.contact-right-lead { font-size: 15px; font-weight: 600; color: var(--dark); margin-bottom: 32px; line-height: 1.45; }
.cf-row { border-bottom: 1px solid var(--border); margin-bottom: 22px; padding-bottom: 4px; }
.cf-row label { font-size: 14px; color: var(--dark); display: block; margin-bottom: 6px; }
.cf-row input,
.cf-row textarea {
  width: 100%; border: none; outline: none;
  font-size: 15px; font-family: inherit; color: var(--dark); background: transparent; padding: 4px 0;
}
.cf-row textarea { min-height: 90px; resize: none; }

/* Contact Form 7 styling in contact layout */
.contact-cf7 .wpcf7-form p { margin-bottom: 0; }
.contact-cf7 .wpcf7-form br { display: none; }
.contact-cf7 .wpcf7-form label { font-size: 14px; color: var(--dark); display: block; margin-bottom: 6px; }
.contact-cf7 .wpcf7-form input[type="text"],
.contact-cf7 .wpcf7-form input[type="email"],
.contact-cf7 .wpcf7-form input[type="tel"],
.contact-cf7 .wpcf7-form textarea {
  width: 100%; border: none; border-bottom: 1px solid var(--border);
  outline: none; font-size: 15px; font-family: inherit;
  color: var(--dark); background: transparent; padding: 4px 0;
  border-radius: 0; margin-bottom: 22px;
}
.contact-cf7 .wpcf7-form textarea { min-height: 90px; resize: none; }
.contact-cf7 .wpcf7-form input[type="submit"] {
  background: var(--blue); padding: 14px 40px; border-radius: 50px; margin-top: 8px;
}

/* ─── CARDS ──────────────────────────────────────── */
.cards-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { background: white; border: 1px solid var(--border); border-radius: 6px; padding: 28px 22px; }
.card h3 { font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 16px; }
.card-dark {
  background: #1c1c1c; border-color: #1c1c1c; border-radius: 6px;
  display: flex; flex-direction: column; justify-content: center;
  align-items: center; text-align: center; gap: 20px; padding: 28px 22px;
}
.card-dark .cd-title { font-size: 16px; font-weight: 700; color: white; }

.spec-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px;
  padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px;
}
.spec-row:last-child { border-bottom: none; }
.spec-lbl { color: var(--muted); }
.spec-val { font-weight: 600; color: var(--dark); text-align: right; }
.spec-big { font-size: 16px; color: var(--blue); }

.card-list { list-style: none; }
.card-list li {
  font-size: 14px; color: var(--muted);
  padding: 9px 0; border-bottom: 1px solid var(--border); line-height: 1.5;
}
.card-list li:last-child { border-bottom: none; }

.step { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.step-num {
  width: 28px; height: 28px; background: var(--blue); color: white;
  border-radius: 50%; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
}
.step p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5; }

/* ─── FAQ ────────────────────────────────────────── */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-group { margin-bottom: 56px; }
.faq-cat { font-size: 22px; font-weight: 700; color: var(--dark); text-align: center; margin-bottom: 16px; }
.faq-q {
  width: 100%; background: var(--blue); color: white; border: none;
  padding: 15px 20px; text-align: left; font-size: 14px; font-weight: 500;
  cursor: pointer; font-family: inherit; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; border-top: 1px solid rgba(255,255,255,.18);
  transition: background .15s; line-height: 1.4;
}
.faq-q:hover { background: var(--blue-dk); }
.faq-toggle { font-size: 20px; font-weight: 300; flex-shrink: 0; line-height: 1; }
.faq-a {
  display: none; background: white; padding: 16px 20px;
  border: 1px solid var(--border); border-top: none;
  font-size: 14px; color: var(--muted); line-height: 1.7;
}
.faq-a.open { display: block; }

/* ─── CTA BANNER ─────────────────────────────────── */
.cta {
  background: var(--blue); padding: 44px 40px;
  display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap;
}
.cta h3 { font-size: 20px; font-weight: 600; color: white; margin: 0; }

/* ─── FOOTER ─────────────────────────────────────── */
.site-footer { background: white; border-top: 1px solid var(--border); padding: 52px 40px 32px; }
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr 1fr; gap: 56px; margin-bottom: 32px;
}
.footer-logo {
  display: inline-flex; flex-direction: column; border-radius: 3px;
  overflow: hidden; width: 110px; text-decoration: none;
}
.footer-contact a { color: var(--blue); text-decoration: none; font-size: 14px; display: block; margin-bottom: 4px; }
.footer-contact p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.8; }
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 6px; }
.footer-nav a { font-size: 14px; color: var(--muted); text-decoration: none; transition: color .15s; }
.footer-nav a:hover,
.footer-nav li.current-menu-item a { color: var(--blue); }
.footer-copy { max-width: var(--max); margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }

/* ─── HOME INTRO ─────────────────────────────────── */
.home-intro { padding: 32px 40px 56px; }
.home-intro-inner { max-width: var(--max); margin: 0 auto; }
.home-intro p { font-size: 15px; color: var(--muted); line-height: 1.75; }

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 960px) {
  .features-inner { grid-template-columns: 1fr; gap: 32px; }
  .map-block { grid-template-columns: 1fr; }
  .map-block iframe { min-height: 300px; }
  .cards-4 { grid-template-columns: 1fr 1fr; }
  .cards-2 { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-box { width: 100%; }
  .hero-home .hero-photo { height: 380px; }
  .hero-spacer { height: 0; }
}
@media (max-width: 640px) {
  .site-header { padding: 0 20px; }
  .main-nav { display: none; }
  .cards-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 160px 160px 160px; }
  .gallery-main { grid-row: span 1; }
  .section { padding: 56px 20px; }
  .features-section { padding: 48px 20px; }
  .map-section-wrap { padding: 56px 20px; }
  .hero-inner-text { padding: 0 20px 36px; }
  .contact-layout { padding: 48px 20px; }
  .form-section { padding: 56px 20px; }
  .home-intro { padding: 32px 20px 48px; }
}

/* ─── GRAVITY FORMS STYLING ─────────────────────── */
.gform_wrapper .gform_body { margin: 0; }
.gform_wrapper .gfield { margin-bottom: 16px; }
.gform_wrapper .gfield_label {
  font-size: 13px; color: var(--muted);
  font-weight: 400; margin-bottom: 5px; display: block;
}
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper textarea {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--border); border-radius: 4px;
  font-size: 15px; font-family: inherit; color: var(--dark);
  background: white; outline: none; transition: border-color .15s;
}
.gform_wrapper input:focus,
.gform_wrapper textarea:focus { border-color: var(--blue); }
.gform_wrapper textarea { min-height: 120px; resize: vertical; }
.gform_wrapper .gform_footer,
.gform_wrapper .gform_page_footer { margin-top: 8px; text-align: center; }
.gform_wrapper input[type="submit"],
.gform_wrapper .gform_button {
  background: var(--dark); color: white; border: none;
  padding: 13px 32px; border-radius: 50px;
  font-size: 15px; font-weight: 500; cursor: pointer;
  font-family: inherit; transition: background .15s;
}
.gform_wrapper input[type="submit"]:hover,
.gform_wrapper .gform_button:hover { background: var(--dark)!important; }
.gform_wrapper .gform_fields {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.gform_wrapper .gfield--width-full { grid-column: 1 / -1; }
.gform_wrapper .validation_message { font-size: 12px; color: #c0392b; margin-top: 4px; }
.gform_wrapper .gform_confirmation_message { color: #22a06b; font-weight: 500; text-align: center; padding: 20px; }
@media (max-width: 640px) {
  .gform_wrapper .gform_fields { grid-template-columns: 1fr; }
}
