/* ==========================================================================
   Lypii — Contact page styles (page-specific rules + overrides only).
   Shared system lives in the theme's global style.css (loads first). Fonts global.
   ========================================================================== */

.wrap--form { max-width: 1140px; }

.section--line-b { border-bottom: 1px solid var(--line); }

.section-head { text-align: center; margin: 0 auto clamp(36px, 5vw, 48px); }

.h2 { margin: 0 0 14px; } /* delta vs global .h2 (margin only) — keep global color so .h2--light stays white on dark sections */

.lead { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0; }

.btn { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; font-size: 16px; border-radius: 999px; cursor: pointer; border: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }

.grid-overlay { position: absolute; inset: 0; max-width: var(--maxw); margin: 0 auto; left: 24px; right: 24px; background-image: linear-gradient(90deg, rgba(20,33,43,.035) 1px, transparent 1px); background-size: calc(100%/6) 100%; opacity: .5; pointer-events: none; }

.hero__inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: clamp(104px,13vw,140px) 24px clamp(52px,8vw,84px); }

.hero__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: clamp(36px,5vw,60px); padding-left: clamp(6px,3.3vw,30px); padding-right: clamp(6px,3.3vw,30px); }

.hero__text { flex: 1 1 460px; min-width: 0; max-width: 600px; }

.hero__text h1 { font-family: var(--font-head); font-weight: 700; font-size: clamp(34px,5vw,56px); line-height: 1.06; letter-spacing: -.025em; color: var(--ink); margin: 0 0 22px; }

.hero__text h1 em { font-style: normal; color: var(--green); background-image: linear-gradient(rgba(22,163,74,.18), rgba(22,163,74,.18)); background-repeat: no-repeat; background-size: 100% 16px; background-position: 0 72%; border-radius: 3px; padding: 0 .06em; hyphens: none; }

.hero__p1 { font-size: clamp(17px,1.7vw,19px); line-height: 1.65; color: var(--ink-soft); margin: 0 0 16px; max-width: 34em; }

.hero__p2 { font-size: clamp(15px,1.6vw,17px); line-height: 1.65; color: var(--muted); margin: 0 0 30px; max-width: 34em; }

.hero-btn { display: inline-flex; align-items: center; gap: 12px; justify-content: center; min-width: 0; white-space: nowrap; text-decoration: none; font-weight: 600; font-size: 16px; border-radius: 999px; transition: transform .15s, box-shadow .15s, border-color .15s; }

.hero-btn--primary { flex: 0 0 auto; background: var(--green-ink); color: #fff; padding: 13px 13px 13px 24px; box-shadow: 0 14px 30px -12px rgba(16,120,60,.6); }

.hero-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 38px -14px rgba(16,120,60,.66); }

.hero-btn--primary .btn__circle { background: #fff; color: var(--green); }

.hero-btn--wa { flex: 0 0 auto; gap: 10px; background: #fff; color: var(--ink); padding: 13px 22px; border: 1px solid rgba(20,33,43,.14); }

.hero-btn--wa:hover { transform: translateY(-2px); border-color: var(--green); box-shadow: 0 11px 22px -12px rgba(16,60,40,.4); }

.hero-btn--wa svg { flex: none; }

.hero__chips { display: flex; flex-wrap: wrap; gap: 9px; }

.hchip { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid rgba(22,163,74,.16); border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--ink); }

.hero__aside { flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; max-width: 460px; }

.avail { position: relative; width: min(420px,88vw); background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px,3vw,30px); box-shadow: 0 26px 52px -26px rgba(12,50,30,.4); }

.avail__head { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }

.avail__dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--green); animation: lypii-pulse 2s infinite; }

.avail__head > span:last-child { display: flex; flex-direction: column; min-width: 0; }

.avail__label { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--ink); line-height: 1.2; }

.avail__hint { font-size: 13px; color: var(--muted); }

.avail__list { display: flex; flex-direction: column; gap: 4px; padding: 14px 0 4px; }

.avail__row { display: flex; align-items: center; gap: 13px; text-decoration: none; padding: 11px 10px; border-radius: 13px; transition: background .15s ease; }

.avail__row:hover { background: var(--green-50); }

.avail__row .ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--green-50); color: var(--green); }

.avail__row .tx { display: flex; flex-direction: column; min-width: 0; }

.avail__row .tx strong { font-weight: 700; font-size: 15px; color: var(--ink); line-height: 1.25; }

.avail__row .tx small { font-size: 13px; color: var(--muted); }

.avail__row .arrow { flex: none; margin-left: auto; }

.trust { display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; padding: clamp(34px,5vw,48px) 24px; }

.stat-card { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; text-align: left; border: 1px solid var(--line); border-radius: 14px; padding: 14px clamp(12px,1.6vw,18px); }

.stat-card__n { font-family: var(--font-head); font-weight: 700; font-size: clamp(30px,3.4vw,40px); line-height: 1; color: var(--green); white-space: nowrap; }

.stat-card__k { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); line-height: 1.35; overflow-wrap: break-word; }

.form-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(20px,3vw,32px); }

.form-side { flex: 1 1 280px; min-width: 0; max-width: 360px; display: flex; flex-direction: column; gap: 16px; }

.form-side__person { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px -20px rgba(12,60,35,.4); }

.form-side__person img { display: block; width: 100%; height: 200px; object-fit: cover; }

.form-side__person .body { padding: 18px 20px 20px; }

.form-side__person strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--ink); line-height: 1.2; }

.form-side__person .role { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }

.form-side__person p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }

.form-side__sla { display: flex; align-items: center; gap: 12px; background: var(--green-ink); color: #fff; border-radius: 16px; padding: 15px 18px; }

.form-side__sla .ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.16); color: #fff; }

.form-side__sla strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 15.5px; line-height: 1.25; }

.form-side__sla small { font-size: 13px; color: var(--green-50); }

.form-side__rev { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; box-shadow: 0 4px 16px -12px rgba(18,40,30,.2); }

.form-side__rev .stars { display: flex; gap: 3px; margin-bottom: 10px; }

.form-side__rev p { margin: 0 0 12px; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }

.form-side__rev .who { display: flex; align-items: center; gap: 10px; }

.form-side__rev .av { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green-50); color: var(--green-ink); font-family: var(--font-head); font-weight: 700; font-size: 13px; }

.form-side__rev .who strong { display: block; font-weight: 700; font-size: 13.5px; color: var(--ink); line-height: 1.2; }

.form-side__rev .who small { font-size: 12px; color: var(--muted); }

.form-main { flex: 2 1 460px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px,3.4vw,38px); box-shadow: 0 18px 44px -28px rgba(12,60,35,.4); }

.form-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,220px),1fr)); gap: 18px 24px; }

.field { display: flex; flex-direction: column; }

.field--full { grid-column: 1 / -1; }

.field label { margin-bottom: 6px; font-weight: 600; font-size: 14px; color: var(--ink); }

.field label .opt { font-weight: 500; color: var(--muted); }

.field label .req { color: var(--green); }

.input { width: 100%; padding: 12px 15px; border: 1px solid rgba(20,33,43,.16); border-radius: 11px; font: inherit; background: #fff; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; }

.input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(22,163,74,.15); }

textarea.input { resize: vertical; min-height: 130px; }
select.input {
  -webkit-appearance: none; appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2371808f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.err { margin-top: 5px; font-size: 12.5px; color: #dc2626; line-height: 1.4; min-height: 0; }

.err:empty { display: none; }

.privacy { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); margin-top: 20px; }

.privacy input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--green); cursor: pointer; }

.form-submit { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 11px; background: var(--green-ink); color: #fff; border: none; cursor: pointer; font-family: inherit; font-weight: 600; font-size: 16px; padding: 15px 24px; border-radius: 999px; box-shadow: 0 14px 30px -12px rgba(16,120,60,.6); transition: transform .15s, box-shadow .15s; margin-top: 18px; }

.form-submit:hover { transform: translateY(-2px); box-shadow: 0 20px 38px -14px rgba(16,120,60,.66); }

.form-submit span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--green); }

.form-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 12.5px; color: var(--muted); text-align: center; }

.form-note svg { flex: none; }

.form-success { text-align: center; padding: clamp(20px,4vw,44px) 8px; }

.form-success .ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green-50); color: var(--green); margin-bottom: 20px; }

.form-success h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(22px,3vw,28px); color: var(--ink); margin: 0 0 12px; }

.form-success p { margin: 0 auto 8px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); max-width: 40em; }

.form-success p.sub { margin-bottom: 26px; font-size: 15px; color: var(--muted); }

.form-success a { display: inline-flex; align-items: center; gap: 11px; background: var(--green-ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; padding: 13px 13px 13px 24px; border-radius: 999px; box-shadow: 0 14px 30px -12px rgba(16,120,60,.6); transition: transform .15s; }

.form-success a:hover { transform: translateY(-2px); }

.form-success a span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--green); }

[hidden] { display: none !important; }

.split h2 { margin-bottom: 16px; }

.split__intro { margin: 0 0 26px; font-size: 16px; line-height: 1.65; color: var(--ink-soft); }

.infolist { display: flex; flex-direction: column; gap: 18px; }

.infoitem { display: flex; gap: 14px; }

.infoitem .ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--green-50); color: var(--green-ink); margin-top: 2px; }

.infoitem h3 { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--ink); margin: 0 0 5px; }

.infoitem p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }

.steps { display: flex; flex-direction: column; gap: 16px; }

.stepitem { display: flex; gap: 15px; }

.stepitem .n { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green-ink); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 16px; }

.stepitem strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 16.5px; color: var(--ink); margin-bottom: 3px; }

.stepitem span.tx { font-size: 14.5px; line-height: 1.6; color: var(--muted); }

.faq { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 4px 16px -10px rgba(18,40,30,.12); overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease; }

.faq__chev { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green-50); color: var(--green-ink); transition: transform .3s cubic-bezier(.22,1,.36,1); }

.dreviews { position: relative; overflow: hidden; }

.dreviews__blob { position: absolute; top: -120px; right: -80px; width: 340px; height: 340px; border-radius: 50%; background: var(--green); opacity: .12; filter: blur(30px); pointer-events: none; }

.dreviews__inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: clamp(64px,9vw,108px) 24px; }

.dreviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px,1fr)); gap: 20px; }

.dreview { display: flex; flex-direction: column; min-width: 0; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: clamp(22px,2.8vw,28px); transition: transform .18s ease, border-color .18s ease, background .18s ease; }

.dreview:hover { transform: translateY(-4px); border-color: rgba(63,203,133,.4); background: rgba(255,255,255,.06); }

.dreview__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }

.dreview__stars { display: flex; gap: 3px; }

.dreview__link { flex: none; display: inline-flex; align-items: center; gap: 4px; text-decoration: none; font-weight: 600; font-size: 11.5px; color: rgba(255,255,255,.6); transition: color .15s ease; }

.dreview__link:hover { color: #3FCB85; }

.dreview__quote { margin: 0 0 18px; font-size: 15px; line-height: 1.62; color: rgba(255,255,255,.84); flex: 1; }

.dreview__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }

.dreview__av { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(63,203,133,.18); color: #3FCB85; font-family: var(--font-head); font-weight: 700; font-size: 15px; }

.dreview__who .meta { display: flex; flex-direction: column; min-width: 0; }

.dreview__who strong { font-weight: 700; font-size: 14.5px; color: #fff; line-height: 1.25; }

.dreview__who small { font-size: 12.5px; color: rgba(255,255,255,.6); line-height: 1.35; }

.dreviews__cta { text-align: center; margin-top: clamp(32px,4vw,44px); }

.dreviews__cta a { display: inline-flex; align-items: center; gap: 9px; background: rgba(255,255,255,.06); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 13px 22px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); transition: background .18s ease, border-color .18s ease, transform .18s ease; }

.dreviews__cta a:hover { background: rgba(63,203,133,.16); border-color: rgba(63,203,133,.7); transform: translateY(-3px); }

@media (max-width: 1023px) {
  .dreviews-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

@media (max-width: 767px) {
  .hero__btns { flex-wrap: nowrap; gap: 10px; }
  .hero-btn--primary { flex: 1 1 auto; }
  .hero-btn--wa { padding: 13px; }
  .hero-btn--wa .wa-label { display: none; }
  .trust__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 420px; }
  .form-side { max-width: none; order: 2; }
  .form-main { order: 1; }
  
  .dreviews-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -24px; padding: 4px 24px 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .dreviews-grid::-webkit-scrollbar { display: none; }
  .dreview { flex: 0 0 82%; scroll-snap-align: center; }
}

/* Mobile: "Wat gebeurt nadat" is image-first in the DOM — stack with the
   image BELOW the text. */
@media (max-width: 767px) {
  .split--img-last { grid-template-columns: 1fr; }
  .split--img-last .split__img { order: 2; }
}

/* Contact-form runtime states (native AJAX submit). */
.form-error {
  margin-top: 16px; padding: 12px 15px; border-radius: 12px;
  background: #FBEAEA; border: 1px solid rgba(154,44,44,.22);
  color: #9A2C2C; font-size: 14px; line-height: 1.5; font-weight: 600;
}
.form-submit:disabled { opacity: .65; cursor: progress; }
.form-submit:disabled:hover { transform: none; box-shadow: 0 14px 30px -12px rgba(16,120,60,.6); }

/* ---- Interaction: subtle hovers + hero-aside tilt (parallax driven by contact.js) ---- */
.hchip, .stat-card { transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.hchip:hover, .stat-card:hover { transform: translateY(-2px); border-color: var(--green); box-shadow: 0 9px 20px -11px rgba(16,120,60,.35); }
.form-side__person, .form-side__sla, .form-side__rev { transition: transform .18s ease, box-shadow .18s ease; }
.form-side__person:hover, .form-side__rev:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(12,60,35,.42); }
.form-side__sla:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -16px rgba(16,120,60,.5); }
.hero__aside { perspective: 1000px; }
.avail { transition: transform .2s ease; will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .hchip:hover, .stat-card:hover, .form-side__person:hover, .form-side__sla:hover, .form-side__rev:hover { transform: none; }
  .avail { transition: none; }
}

/* ------------------------------------------------------------------ *
 * Mobile-only tweaks (max-width:767px). Desktop unchanged.
 * ------------------------------------------------------------------ */
@media (max-width: 767px) {
  .hero__chips { justify-content: center; }
  /* Arriving via a CTA (?plan=N) smooth-scrolls to #form; clear the sticky
     header so the section eyebrow is not hidden underneath it. */
  #form { scroll-margin-top: 88px; }
  /* On the contact page itself the header "Contact" button is redundant. */
  .btn-contact-mob { display: none; }
}
