/* ventilatie-installateur.be — main.css v1.0 */
/* Palette: #0d2240 (marine) + #f47b00 (amber) */

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

body {
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── HEADER ── */
.vi-header {
  background: #0d2240;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid #f47b00;
}
.vi-header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.vi-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.vi-logo img { height: 40px; width: auto; }
.vi-logo-text {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

/* Hamburger CSS-only */
#vi-nav-toggle { display: none; position: absolute; }
.vi-hamburger-label {
  display: none;
  cursor: pointer;
  padding: 6px;
}
.vi-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.vi-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
}
#vi-nav-toggle:checked ~ .vi-nav { display: flex; }
#vi-nav-toggle:checked + .vi-hamburger-label .vi-hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
#vi-nav-toggle:checked + .vi-hamburger-label .vi-hamburger span:nth-child(2) { opacity: 0; }
#vi-nav-toggle:checked + .vi-hamburger-label .vi-hamburger span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

nav.vi-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  align-items: center;
}
nav.vi-nav ul li a {
  color: #d0dce8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  padding: 6px 12px;
  border-radius: 4px;
}
nav.vi-nav ul li a:hover { color: #fff; background: rgba(255,255,255,0.08); }
nav.vi-nav ul li.vi-nav-cta a {
  background: #f47b00;
  color: #fff;
  font-weight: 700;
}
nav.vi-nav ul li.vi-nav-cta a:hover { background: #d96b00; }

@media (max-width: 768px) {
  .vi-hamburger-label { display: flex; }
  nav.vi-nav {
    display: none;
    position: absolute;
    top: 67px;
    left: 0;
    right: 0;
    background: #0d2240;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 12px 20px;
  }
  nav.vi-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  nav.vi-nav ul li a { font-size: 15px; padding: 8px 12px; }
}

/* ── HERO ── */
.vi-hero {
  background: #0d2240;
  color: #fff;
  padding: 64px 20px 0;
  position: relative;
  overflow: hidden;
}
.vi-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}
.vi-hero-inner {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
  padding-bottom: 0;
}
.vi-hero-left { padding-bottom: 56px; }
.vi-hero-eyecatcher {
  display: inline-block;
  background: #f47b00;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.vi-hero-left h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 20px;
}
.vi-hero-subtitle {
  font-size: 17px;
  font-weight: 400;
  color: #adc4d8;
  margin-bottom: 32px;
  max-width: 520px;
}
.vi-usp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vi-usp-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #d0dce8;
  font-weight: 400;
}
.vi-usp-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #f47b00;
  margin-top: 2px;
}

/* ── FORM CARD (in hero) ── */
.vi-form-card {
  background: #fff;
  border-radius: 8px;
  padding: 32px 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
  color: #1a1a1a;
  position: relative;
  top: -8px;
  margin-bottom: -8px;
}
.vi-form-card h2 {
  font-size: 20px;
  font-weight: 700;
  color: #0d2240;
  margin-bottom: 6px;
}
.vi-form-intro {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}
.vi-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.vi-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}
.vi-field label {
  font-size: 13px;
  font-weight: 700;
  color: #0d2240;
}
.vi-field input {
  border: 1.5px solid #c8d4e0;
  border-radius: 5px;
  padding: 10px 12px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 400;
  color: #1a1a1a;
  background: #fff;
  width: 100%;
}
.vi-field input:focus { outline: 2px solid #f47b00; border-color: #f47b00; }
.vi-hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.vi-btn-submit {
  width: 100%;
  background: #f47b00;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 5px;
  padding: 14px 20px;
  cursor: pointer;
  font-family: inherit;
  margin-top: 4px;
}
.vi-btn-submit:hover { background: #d96b00; }
.vi-form-note {
  font-size: 12px;
  color: #777;
  margin-top: 10px;
  text-align: center;
}
.vi-msg-ok {
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #2e7d32;
  border-radius: 5px;
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 16px;
}
.vi-msg-err {
  background: #fce4e4;
  border: 1px solid #f5a5a5;
  color: #c62828;
  border-radius: 5px;
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 16px;
}

/* ── HERO WAVE ── */
.vi-hero-wave {
  position: relative;
  height: 60px;
  background: #0d2240;
  overflow: hidden;
}
.vi-hero-wave::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #fff;
  clip-path: ellipse(60% 100% at 50% 100%);
}

/* ── CONTENT ── */
.vi-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 20px 24px;
}
.vi-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0d2240;
  margin-bottom: 12px;
  margin-top: 36px;
}
.vi-content h2:first-child { margin-top: 0; }
.vi-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0d2240;
  margin-bottom: 8px;
  margin-top: 28px;
}
.vi-content p { margin-bottom: 14px; font-size: 16px; line-height: 1.7; }
.vi-content ul, .vi-content ol { margin-left: 20px; margin-bottom: 14px; }
.vi-content li { margin-bottom: 6px; font-size: 16px; }
.vi-content a { color: #0d2240; text-decoration: underline; }

/* ── SYSTEMS SECTION ── */
.vi-systems {
  background: #f5f7fa;
  padding: 56px 20px;
}
.vi-systems-inner { max-width: 1140px; margin: 0 auto; }
.vi-systems-inner h2 {
  font-size: 1.7rem;
  font-weight: 700;
  color: #0d2240;
  margin-bottom: 32px;
  text-align: center;
}
.vi-systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.vi-sys-card {
  background: #fff;
  border-radius: 8px;
  padding: 24px 20px;
  border-top: 4px solid #f47b00;
}
.vi-sys-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0d2240;
  margin-bottom: 8px;
}
.vi-sys-card p { font-size: 14px; color: #444; line-height: 1.6; margin: 0; }

/* ── PHOTO BAND ── */
.vi-photos {
  max-width: 1140px;
  margin: 48px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.vi-photos img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
}

/* ── CTA BAND ── */
.vi-cta-band {
  background: #f47b00;
  color: #fff;
  text-align: center;
  padding: 48px 20px;
}
.vi-cta-band h2 { font-size: 1.6rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.vi-cta-band p { font-size: 16px; color: rgba(255,255,255,0.9); margin-bottom: 24px; max-width: 540px; margin-left: auto; margin-right: auto; }
.vi-cta-btn {
  display: inline-block;
  background: #0d2240;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 5px;
  text-decoration: none;
}
.vi-cta-btn:hover { background: #172e50; }

/* ── FOOTER ── */
.vi-footer {
  background: #0d2240;
  color: #adc4d8;
  text-align: center;
  padding: 32px 20px;
  font-size: 14px;
}
.vi-footer a { color: #adc4d8; text-decoration: underline; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .vi-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .vi-hero { padding: 48px 20px 0; }
  .vi-hero-left { padding-bottom: 0; }
  .vi-form-card { top: 0; margin-bottom: 0; }
  .vi-photos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .vi-field-row { grid-template-columns: 1fr; }
  .vi-photos { grid-template-columns: 1fr; }
  .vi-photos img { height: 180px; }
}
