/* ── C-data brand tokens ─────────────────────────────── */
.cd-page {
  --cd-navy:   #204080;
  --cd-mid:    #6688CC;
  --cd-light:  #EBEEF5;
  --cd-canvas: #F7FCFF;
  --cd-orange: #CC6600;
  --cd-grey:   #CCCCCC;
  --cd-muted:  #878787;
  --cd-dark:   #646464;
  --cd-white:  #FFFFFF;
  --cd-r-sm:   6px;
  --cd-r-md:   12px;
  --cd-r-lg:   20px;
  --cd-shadow: 0 2px 16px rgba(32,64,128,0.09);
  font-family: inherit;
  color: var(--cd-navy);
  line-height: 1.65;
  max-width: 100%;
}
.cd-page *, .cd-page *::before, .cd-page *::after {
  box-sizing: border-box; margin: 0; padding: 0;
}

/* ── Hero ─────────────────────────────────────────────── */
.cd-hero {
  background: var(--cd-navy);
  border-radius: var(--cd-r-lg);
  padding: 56px 40px 52px;
  margin-bottom: 56px;
  position: relative; overflow: hidden;
  text-align: center;
}
.cd-hero::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg,rgba(102,136,204,.07) 0px,rgba(102,136,204,.07) 1px,transparent 1px,transparent 38px);
  pointer-events: none;
}
.cd-hero-pill {
  display: inline-block;
  background: var(--cd-orange); color: var(--cd-white);
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 16px; border-radius: 40px; margin-bottom: 20px; position: relative;
}
.cd-hero h1 {
  font-size: clamp(24px,3.5vw,36px); font-weight: 700; line-height: 1.2;
  color: var(--cd-white) !important; margin: 0 0 14px !important; position: relative;
}
.cd-hero p {
  font-size: 17px; color: rgba(255,255,255,.74);
  max-width: 560px; margin: 0 auto; position: relative;
}
@media(max-width:480px){ .cd-hero { padding: 40px 20px 36px; } }

/* ── Hoofd grid: form links, info rechts ──────────────── */
.cd-contact-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
  margin-bottom: 56px;
}
@media(max-width:860px) {
  .cd-contact-layout { grid-template-columns: 1fr; }
  .cd-contact-sidebar { order: -1; }
}

/* ── Formulier wrapper ────────────────────────────────── */
.cd-form-card {
  background: var(--cd-white);
  border-radius: var(--cd-r-lg);
  box-shadow: var(--cd-shadow);
  padding: 36px 40px;
  border-top: 4px solid var(--cd-navy);
}
@media(max-width:480px){ .cd-form-card { padding: 24px 20px; } }

.cd-form-title {
  font-size: 20px; font-weight: 700; color: var(--cd-navy); margin-bottom: 6px;
}
.cd-form-subtitle {
  font-size: 14px; color: var(--cd-dark); margin-bottom: 28px; line-height: 1.6;
}

/* ── ContactForm 7 stijling ───────────────────────────── */
/*
   CF7 genereert velden met klassen als .wpcf7-form-control.
   Deze regels overschrijven de standaard CF7-stijl volledig
   in de C-data huisstijl — zonder dat u de plugin-instellingen
   hoeft aan te passen.
*/

/* Label boven elk veld */
.cd-form-card .wpcf7 label,
.cd-form-card .wpcf7-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--cd-navy);
  margin-bottom: 6px;
  letter-spacing: .02em;
}

/* Span wrapper die CF7 rond inputs plaatst */
.cd-form-card .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 20px;
}

/* Alle invoervelden */
.cd-form-card .wpcf7-form-control,
.cd-form-card input[type="text"],
.cd-form-card input[type="email"],
.cd-form-card input[type="tel"],
.cd-form-card input[type="url"],
.cd-form-card select,
.cd-form-card textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--cd-light);
  border-radius: var(--cd-r-md);
  font-size: 15px;
  color: var(--cd-navy);
  background: var(--cd-white);
  font-family: inherit;
  line-height: 1.5;
  transition: border-color .15s, box-shadow .15s;
  outline: none;
  appearance: none;
}

.cd-form-card .wpcf7-form-control:focus,
.cd-form-card input[type="text"]:focus,
.cd-form-card input[type="email"]:focus,
.cd-form-card input[type="tel"]:focus,
.cd-form-card textarea:focus {
  border-color: var(--cd-mid);
  box-shadow: 0 0 0 3px rgba(102,136,204,.12);
}

/* Textarea hoogte */
.cd-form-card textarea.wpcf7-textarea,
.cd-form-card textarea {
  min-height: 140px;
  resize: vertical;
}

/* Placeholder kleur */
.cd-form-card ::placeholder { color: var(--cd-grey); }

/* Verzendknop — CF7 gebruikt .wpcf7-submit */
.cd-form-card .wpcf7-submit,
.cd-form-card input[type="submit"] {
  display: inline-block;
  padding: 14px 32px;
  background: var(--cd-navy);
  color: var(--cd-white) !important;
  border: none;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: .02em;
  transition: background .15s, transform .15s, opacity .15s;
  margin-top: 8px;
}
.cd-form-card .wpcf7-submit:hover,
.cd-form-card input[type="submit"]:hover {
  background: var(--cd-mid);
  transform: translateY(-1px);
}
.cd-form-card .wpcf7-submit:disabled {
  opacity: .6; cursor: not-allowed; transform: none;
}

/* CF7 validatie-berichten */
.cd-form-card .wpcf7-not-valid-tip {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #c0392b;
  margin-top: 5px;
}
.cd-form-card .wpcf7-not-valid {
  border-color: #c0392b !important;
}
.cd-form-card .wpcf7-response-output {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: var(--cd-r-md);
  font-size: 14px;
  font-weight: 600;
  border: none !important;
}
/* Succesbericht */
.cd-form-card .wpcf7-mail-sent-ok {
  background: #e8f5ec;
  color: #2d7d46;
  border-left: 4px solid #2d7d46 !important;
}
/* Foutbericht */
.cd-form-card .wpcf7-mail-sent-ng,
.cd-form-card .wpcf7-spam-blocked,
.cd-form-card .wpcf7-validation-errors {
  background: #fdf0ef;
  color: #c0392b;
  border-left: 4px solid #c0392b !important;
}
/* Spinner */
.cd-form-card .wpcf7-spinner {
  margin-left: 12px;
}

/* ── Zijpaneel ────────────────────────────────────────── */
.cd-contact-sidebar {
  display: flex; flex-direction: column; gap: 16px;
}

.cd-info-card {
  background: var(--cd-white);
  border-radius: var(--cd-r-md);
  box-shadow: var(--cd-shadow);
  padding: 26px;
  border-top: 4px solid var(--cd-mid);
}

.cd-info-card-title {
  font-size: 15px; font-weight: 700; color: var(--cd-navy); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.cd-info-card-icon {
  width: 32px; height: 32px; border-radius: var(--cd-r-sm);
  background: var(--cd-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.cd-contact-rows { display: flex; flex-direction: column; gap: 14px; }
.cd-contact-row  { display: flex; align-items: flex-start; gap: 12px; }
.cd-contact-row-icon {
  width: 36px; height: 36px; border-radius: var(--cd-r-sm);
  background: var(--cd-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cd-contact-row-label { font-size: 11px; font-weight: 700; color: var(--cd-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.cd-contact-row-value { font-size: 14px; font-weight: 600; color: var(--cd-navy); }
.cd-contact-row-value a { color: var(--cd-navy); text-decoration: none; }
.cd-contact-row-value a:hover { color: var(--cd-mid); text-decoration: underline; }

/* Donkere kaart voor "Waarom C-data" */
.cd-why-card {
  background: var(--cd-navy);
  border-radius: var(--cd-r-md);
  padding: 24px;
  position: relative; overflow: hidden;
}
.cd-why-card::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg,rgba(102,136,204,.07) 0px,rgba(102,136,204,.07) 1px,transparent 1px,transparent 38px);
  pointer-events: none;
}
.cd-why-card-title {
  font-size: 14px; font-weight: 700; color: var(--cd-white); margin-bottom: 14px; position: relative;
}
.cd-why-items { display: flex; flex-direction: column; gap: 8px; position: relative; }
.cd-why-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,.80); line-height: 1.5;
}
.cd-why-item::before {
  content: ''; display: block; flex-shrink: 0;
  width: 16px; height: 16px; margin-top: 1px;
  background: var(--cd-mid) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/10px no-repeat;
  border-radius: 50%;
}

/* Bereikbaarheid badge */
.cd-bereikbaar {
  background: var(--cd-light);
  border-radius: var(--cd-r-md);
  padding: 16px 18px;
  display: flex; align-items: center; gap: 12px;
}
.cd-bereikbaar-dot {
  width: 10px; height: 10px; border-radius: 50%; background: #2d7d46; flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(45,125,70,.2);
}
.cd-bereikbaar-text { font-size: 13px; color: var(--cd-dark); }
.cd-bereikbaar-text strong { color: var(--cd-navy); display: block; }

/* ── Vestigingen balk ─────────────────────────────────── */
.cd-locatie-balk {
  background: var(--cd-light);
  border-radius: var(--cd-r-md);
  padding: 22px 28px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-bottom: 56px;
}
.cd-locatie-balk-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--cd-mid); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cd-locatie-balk-text { flex: 1; min-width: 200px; }
.cd-locatie-balk-title { font-size: 15px; font-weight: 700; color: var(--cd-navy); margin-bottom: 3px; }
.cd-locatie-balk-desc  { font-size: 13px; color: var(--cd-dark); }
.cd-btn {
  display: inline-block; padding: 11px 22px; border-radius: 40px;
  font-size: 14px; font-weight: 700; text-decoration: none !important;
  transition: opacity .15s, transform .15s;
}
.cd-btn:hover { opacity: .86; transform: translateY(-1px); }
.cd-btn--navy   { background: var(--cd-navy);   color: var(--cd-white) !important; }
.cd-btn--orange { background: var(--cd-orange); color: var(--cd-white) !important; }
.cd-btn--light  { background: transparent; color: var(--cd-navy) !important; border: 2px solid var(--cd-navy); }
