/*
 * Studio66 — Gesprekpagina / Route-advieservaring
 * Dark premium. AI Landkaart stijl. Één consistente visuele taal.
 *
 * Variabelen:
 *   --s66g-bg        Achtergrond
 *   --s66g-surface   Licht oppervlak
 *   --s66g-border    Randkleur
 *   --s66g-text      Primaire tekst
 *   --s66g-muted     Gedempte tekst
 *   --s66g-red       Accentkleur
 */

:root {
  --s66g-bg:        #0a0a0a;
  --s66g-surface:   #111111;
  --s66g-surface2:  #161616;
  --s66g-border:    rgba(255,255,255,.08);
  --s66g-border-strong: rgba(255,255,255,.15);
  --s66g-text:      #f0f0f0;
  --s66g-muted:     rgba(240,240,240,.45);
  --s66g-subtle:    rgba(240,240,240,.25);
  --s66g-red:       #EC0000;
  --s66g-red-dim:   rgba(236,0,0,.15);
  --s66g-font:      'Inter', system-ui, -apple-system, sans-serif;
  --s66g-mono:      'JetBrains Mono', 'Fira Mono', ui-monospace, monospace;
  --s66g-max:       720px;
  --s66g-max-wide:  980px;
  --s66g-gap:       clamp(40px, 6vw, 72px);
  --s66g-icon-sm:   20px;
  --s66g-icon-md:   28px;
  --s66g-icon-lg:   40px;
}

/* ── Reset scope ──────────────────────────────────────────────────────────── */

/*
 * TYPOGRAFIE-RESET:
 * WordPress-thema's injecteren soms letter-spacing, text-transform en uppercase
 * op generieke selectors (p, span, h3…). Hier resetten we alle tekst-elementen
 * binnen de .s66g scope naar een veilige baseline.
 * Onze expliciete klassen voegen daarna de gewenste stijlen WEL toe.
 */
.s66g * {
  box-sizing:      border-box;
  margin:          0;
  padding:         0;
  letter-spacing:  normal;
  text-transform:  none;
}

.s66g,
.s66g-loading {
  background: var(--s66g-bg);
  color: var(--s66g-text);
  font-family: var(--s66g-font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.s66g a {
  color: inherit;
  text-decoration: none;
}

/* ── Loading ──────────────────────────────────────────────────────────────── */

.s66g-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 60vh;
}

.s66g-loading__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--s66g-red);
  animation: s66gPulse 1.2s ease-in-out infinite;
}
.s66g-loading__dot:nth-child(2) { animation-delay: .2s; }
.s66g-loading__dot:nth-child(3) { animation-delay: .4s; }

@keyframes s66gPulse {
  0%, 80%, 100% { opacity: .2; transform: scale(.8); }
  40%           { opacity: 1;  transform: scale(1);  }
}

/* ── States ───────────────────────────────────────────────────────────────── */

.s66g-state {
  min-height: 80vh;
  display: flex;
  align-items: center;
}

/* ── Container ────────────────────────────────────────────────────────────── */

.s66g-container {
  max-width: var(--s66g-max-wide);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

.s66g-container--narrow {
  max-width: var(--s66g-max);
}

/* ── Typography ───────────────────────────────────────────────────────────── */

/* Mono labels — enige plek waar wij letter-spacing opleggen */
.s66g-eyebrow,
.s66g-section-label,
.s66g-label {
  font-family: var(--s66g-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--s66g-muted);
  margin-bottom: 20px;
  display: block;
}

.s66g-eyebrow,
.s66g-label { color: var(--s66g-red); }

.s66g-h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--s66g-text);
  margin-bottom: 16px;
}

.s66g-h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.3;
  color: var(--s66g-text);
  margin-bottom: 24px;
}

.s66g-subline {
  font-size: 17px;
  color: var(--s66g-muted);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.s66g-body {
  font-size: 16px;
  color: var(--s66g-muted);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ── Sections — gemeenschappelijke sectie-spacing ───────────────────────── */

.s66g-section-a,
.s66g-section-b,
.s66g-section-c,
.s66g-section-d,
.s66g-section-e {
  padding: var(--s66g-gap) 0;
  border-bottom: 1px solid var(--s66g-border);
}

.s66g-section-a {
  padding-top: clamp(48px, 7vw, 88px);
}

.s66g-section-e {
  background: var(--s66g-surface);
  border-bottom: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION A — Hero + Scores + Insights
   ═══════════════════════════════════════════════════════════════════════════ */

.s66g-hero-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 8px;
}

.s66g-hero-org {
  font-family: var(--s66g-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--s66g-red);
}

.s66g-hero-date {
  font-family: var(--s66g-mono);
  font-size: 11px;
  color: rgba(240,240,240,.22);
  letter-spacing: .04em;
}

/* 2-kolom grid: links=scores, rechts=insights */
.s66g-hero-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 768px) {
  .s66g-hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

.s66g-hero-left {}

.s66g-hero-headline {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1.25;
  color: var(--s66g-text);
  margin-bottom: 20px;
}

.s66g-archetype-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.s66g-archetype-id {
  font-family: var(--s66g-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--s66g-bg);
  background: var(--s66g-red);
  padding: 3px 9px;
  border-radius: 3px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.s66g-archetype-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--s66g-muted);
}

/* Total score */
.s66g-score-display {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
}

.s66g-score-number {
  font-family: var(--s66g-mono);
  font-size: 56px;
  font-weight: 200;
  color: var(--s66g-text);
  letter-spacing: -.04em;
  line-height: 1;
}

.s66g-score-denom {
  font-family: var(--s66g-mono);
  font-size: 18px;
  color: var(--s66g-muted);
}

/* Dimensie bars */
.s66g-dims {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.s66g-dim {
  display: grid;
  grid-template-columns: 96px 1fr 32px;
  gap: 12px;
  align-items: center;
}

.s66g-dim__label {
  font-size: 12px;
  color: var(--s66g-muted);
  font-weight: 500;
}

.s66g-dim__track {
  height: 2px;
  background: rgba(255,255,255,.08);
  border-radius: 1px;
  overflow: hidden;
}

.s66g-dim__fill {
  height: 100%;
  background: var(--s66g-red);
  border-radius: 1px;
  transition: width .6s ease;
}

.s66g-dim__val {
  font-family: var(--s66g-mono);
  font-size: 11px;
  color: var(--s66g-muted);
  text-align: right;
}

/* Rechter kolom: insight cards */
.s66g-hero-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.s66g-insight-card {
  background: var(--s66g-surface);
  border: 1px solid var(--s66g-border);
  border-radius: 6px;
  padding: 18px 22px;
}

.s66g-insight-card--spanning {
  border-left: 3px solid rgba(236,0,0,.5);
}

.s66g-insight-card--kans {
  border-left: 3px solid rgba(255,255,255,.15);
}

.s66g-insight-card__label {
  font-family: var(--s66g-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--s66g-subtle);
  margin-bottom: 6px;
  display: block;
}

.s66g-insight-card__title {
  font-size: 15px;
  font-weight: 500;
  color: var(--s66g-text);
  line-height: 1.4;
  margin-bottom: 6px;
  display: block;
}

.s66g-insight-card__body {
  font-size: 13px;
  color: var(--s66g-muted);
  line-height: 1.65;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION B — Premium aanbevelingskaart
   ═══════════════════════════════════════════════════════════════════════════ */

.s66g-rec-card {
  border: 1px solid rgba(236,0,0,.25);
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(236,0,0,.03) 0%, var(--s66g-surface) 55%);
}

/* Service eyebrow */
.s66g-rec-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 24px 32px 0;
}

@media (max-width: 560px) { .s66g-rec-eyebrow { padding: 20px 20px 0; } }

.s66g-rec-eyebrow-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: .5;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.s66g-rec-eyebrow-icon svg {
  display: block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  max-width: 20px;
  max-height: 20px;
}

.s66g-rec-service-name {
  font-family: var(--s66g-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--s66g-muted);
}

/* Header: DM titel */
.s66g-rec-header {
  padding: 14px 32px 0;
}

@media (max-width: 560px) { .s66g-rec-header { padding: 12px 20px 0; } }

.s66g-rec-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--s66g-text);
  margin-bottom: 0;
}

/* Meta strip: tier · doorlooptijd · investering */
.s66g-rec-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  padding: 14px 32px 0;
}

@media (max-width: 560px) { .s66g-rec-meta { padding: 12px 20px 0; } }

.s66g-rec-meta-item {
  font-family: var(--s66g-mono);
  font-size: 11px;
  color: var(--s66g-subtle);
  white-space: nowrap;
}

.s66g-rec-meta-item--price {
  color: var(--s66g-muted);
  font-weight: 500;
}

.s66g-rec-meta-sep {
  margin: 0 10px;
  color: var(--s66g-border-strong);
  font-size: 11px;
}

/* Body */
.s66g-rec-body {
  padding: 20px 32px 28px;
}

@media (max-width: 560px) { .s66g-rec-body { padding: 16px 20px 24px; } }

.s66g-rec-desc {
  font-size: 16px;
  color: var(--s66g-muted);
  line-height: 1.75;
  margin-bottom: 22px;
  max-width: 600px;
}

/* Why-bullets */
.s66g-rec-why {
  margin-bottom: 22px;
}

.s66g-rec-why__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.s66g-rec-why__list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: rgba(240,240,240,.6);
  line-height: 1.6;
}

.s66g-rec-why__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--s66g-red);
  font-size: 11px;
  line-height: 1.9;
}

/* "Toon alle details" toggle */
.s66g-rec-details-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--s66g-muted);
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  margin-bottom: 18px;
  font-family: var(--s66g-font);
  transition: color .15s;
  letter-spacing: normal;
  text-transform: none;
}

.s66g-rec-details-toggle:hover { color: var(--s66g-text); }

.s66g-rec-details-toggle:focus,
.s66g-rec-details-toggle:focus-visible { outline: none; }

.s66g-rec-details-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform .2s;
}

.s66g-rec-details-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.s66g-rec-details-panel { display: none; margin-bottom: 20px; }
.s66g-rec-details-panel.is-open { display: block; }

.s66g-rec-body .s66g-route-field {
  margin-bottom: 18px;
  max-width: 600px;
}

/* Downloads dropdown */
.s66g-dl-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 22px;
}

.s66g-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid var(--s66g-border);
  border-radius: 4px;
  color: var(--s66g-text);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  cursor: pointer;
  font-family: var(--s66g-font);
  transition: border-color .15s, background .15s;
  letter-spacing: normal;
  text-transform: none;
}

.s66g-dl-btn:hover {
  border-color: var(--s66g-border-strong);
  background: rgba(255,255,255,.03);
}

.s66g-dl-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--s66g-red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  font-family: var(--s66g-mono);
  flex-shrink: 0;
}

.s66g-dl-btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.s66g-dl-panel {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 260px;
  background: var(--s66g-surface2);
  border: 1px solid var(--s66g-border-strong);
  border-radius: 6px;
  overflow: hidden;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}

.s66g-dl-panel.is-open { display: block; }

.s66g-dl-panel-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  color: var(--s66g-text);
  text-decoration: none;
  font-size: 13px;
  border-bottom: 1px solid var(--s66g-border);
  transition: background .1s;
}

.s66g-dl-panel-item:last-child { border-bottom: none; }
.s66g-dl-panel-item:hover { background: rgba(255,255,255,.04); }

.s66g-dl-panel-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: var(--s66g-red);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.s66g-dl-panel-item__name { flex: 1; }

.s66g-dl-panel-item__type {
  font-size: 10px;
  color: var(--s66g-subtle);
  font-family: var(--s66g-mono);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* CTAs */
.s66g-rec-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding-top: 20px;
  border-top: 1px solid var(--s66g-border);
}

.s66g-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--s66g-red);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  letter-spacing: .01em;
  text-decoration: none;
  transition: background .15s;
  font-family: var(--s66g-font);
  white-space: nowrap;
  text-transform: none;
}

.s66g-cta-primary:hover { background: #c50000; color: #fff; }
.s66g-cta-primary:focus, .s66g-cta-primary:focus-visible { outline: none; }

.s66g-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  color: var(--s66g-muted);
  font-size: 13px;
  text-decoration: none;
  transition: color .15s;
  border: none;
  cursor: pointer;
  font-family: var(--s66g-font);
  padding: 0;
  white-space: nowrap;
  letter-spacing: normal;
  text-transform: none;
}

.s66g-cta-ghost:hover { color: var(--s66g-text); }

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION C — Ook relevant strip
   ═══════════════════════════════════════════════════════════════════════════ */

.s66g-relevant-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--s66g-surface);
  border: 1px solid var(--s66g-border);
  border-radius: 6px;
  padding: 20px 24px;
}

@media (max-width: 600px) {
  .s66g-relevant-strip { grid-template-columns: 1fr; }
}

.s66g-relevant-strip__label {
  font-family: var(--s66g-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--s66g-subtle);
  margin-bottom: 4px;
  display: block;
}

.s66g-relevant-strip__title {
  font-size: 16px;
  font-weight: 500;
  color: var(--s66g-text);
  margin-bottom: 4px;
  display: block;
  letter-spacing: normal;
  text-transform: none;
}

.s66g-relevant-strip__meta {
  font-size: 12px;
  color: var(--s66g-subtle);
  font-family: var(--s66g-mono);
}

.s66g-relevant-strip__desc {
  font-size: 13px;
  color: var(--s66g-subtle);
  line-height: 1.55;
  margin-top: 10px;
  max-width: 560px;
}

.s66g-relevant-strip__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--s66g-border);
  border-radius: 4px;
  color: var(--s66g-text);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  cursor: pointer;
  font-family: var(--s66g-font);
  white-space: nowrap;
  transition: border-color .15s, background .15s;
  letter-spacing: normal;
  text-transform: none;
  -webkit-tap-highlight-color: transparent;
}

.s66g-relevant-strip__cta:hover {
  border-color: var(--s66g-border-strong);
  background: rgba(255,255,255,.03);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION D — Routes grid
   ═══════════════════════════════════════════════════════════════════════════ */

.s66g-routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 14px;
  margin-top: 12px;
}

@media (max-width: 640px) {
  .s66g-routes-grid { grid-template-columns: 1fr; }
}

.s66g-rcard {
  background: var(--s66g-surface);
  border: 1px solid var(--s66g-border);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color .15s;
  display: flex;
  flex-direction: column;
}

.s66g-rcard:hover { border-color: var(--s66g-border-strong); }

.s66g-rcard__header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 18px 10px;
}

.s66g-rcard__icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  opacity: .5;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.s66g-rcard__icon svg {
  display: block;
  width: 26px;
  height: 26px;
  min-width: 26px;
  min-height: 26px;
  max-width: 26px;
  max-height: 26px;
}

.s66g-rcard__titles { flex: 1; min-width: 0; }

.s66g-rcard__title {
  font-size: 15px;
  font-weight: 500;
  color: var(--s66g-text);
  line-height: 1.3;
  letter-spacing: normal;
  text-transform: none;
  display: block;
  margin-bottom: 2px;
  word-break: normal;
  overflow-wrap: break-word;
}

.s66g-rcard__sub {
  font-family: var(--s66g-mono);
  font-size: 10px;
  color: var(--s66g-subtle);
  letter-spacing: .06em;
  text-transform: uppercase;
  display: block;
}

.s66g-rcard__meta {
  padding: 0 18px 10px;
  font-size: 12px;
  color: var(--s66g-subtle);
  font-family: var(--s66g-mono);
}

.s66g-rcard__desc {
  padding: 0 18px 14px;
  font-size: 13px;
  color: var(--s66g-muted);
  line-height: 1.6;
  flex: 1;
}

/* Uitklapbare details */
.s66g-rcard__details {
  display: none;
  border-top: 1px solid var(--s66g-border);
  padding: 14px 18px;
}

.s66g-rcard__details.is-open { display: block; }

.s66g-rcard__details .s66g-route-field {
  margin-bottom: 14px;
  max-width: none;
}

.s66g-rcard__details .s66g-route-field:last-child { margin-bottom: 0; }

/* Doc links inside route card details */
.s66g-rcard__doc-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.s66g-rcard__doc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--s66g-muted);
  text-decoration: none;
  transition: color .15s;
}

.s66g-rcard__doc-link:hover { color: var(--s66g-text); }

.s66g-rcard__doc-link em {
  font-style: normal;
  font-family: var(--s66g-mono);
  font-size: 10px;
  color: var(--s66g-subtle);
  background: rgba(255,255,255,.06);
  border-radius: 3px;
  padding: 1px 5px;
}

/* Footer acties */
.s66g-rcard__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 18px;
  border-top: 1px solid var(--s66g-border);
  margin-top: auto;
}

.s66g-rcard__add-btn {
  background: var(--s66g-red);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  cursor: pointer;
  font-family: var(--s66g-font);
  white-space: nowrap;
  letter-spacing: normal;
  text-transform: none;
  transition: background .12s;
  -webkit-tap-highlight-color: transparent;
}

.s66g-rcard__add-btn:hover { background: #c50000; }

.s66g-rcard__add-btn:focus,
.s66g-rcard__add-btn:focus-visible { outline: none; }

.s66g-rcard__add-btn--selected {
  background: rgba(236,0,0,.15);
  color: var(--s66g-red);
  border: 1px solid rgba(236,0,0,.3);
}

.s66g-rcard__add-btn--selected:hover {
  background: rgba(236,0,0,.25);
  color: var(--s66g-red);
}

.s66g-rcard__toggle-btn {
  background: none;
  border: none;
  color: var(--s66g-subtle);
  font-size: 12px;
  cursor: pointer;
  padding: 0;
  font-family: var(--s66g-font);
  transition: color .15s;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: normal;
  text-transform: none;
}

.s66g-rcard__toggle-btn:hover { color: var(--s66g-muted); }
.s66g-rcard__toggle-btn:focus, .s66g-rcard__toggle-btn:focus-visible { outline: none; }

.s66g-rcard__toggle-btn svg {
  width: 12px;
  height: 12px;
  transition: transform .2s;
}

.s66g-rcard__toggle-btn[aria-expanded="true"] svg { transform: rotate(180deg); }


/* ═══════════════════════════════════════════════════════════════════════════
   SECTION E — 2-kolom contact layout
   ═══════════════════════════════════════════════════════════════════════════ */

.s66g-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

@media (max-width: 768px) {
  .s66g-contact-layout { grid-template-columns: 1fr; }
}

/* Linker kolom: agenda + context */
.s66g-contact-left {}

.s66g-contact-intro {
  font-size: 15px;
  color: var(--s66g-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 360px;
}

/* Rechter kolom: formulier heading */
.s66g-contact-right .s66g-h2 {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.3;
  color: var(--s66g-text);
  margin-bottom: 20px;
}

/* ── Scan-context blok — compacte samenvatting boven de agenda ────────────── */

.s66g-scan-context {
  background: rgba(236,0,0,.04);
  border: 1px solid rgba(236,0,0,.12);
  border-left: 3px solid #EC0000;
  border-radius: 4px;
  padding: 14px 16px;
  margin-bottom: 20px;
}

.s66g-scan-context__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #EC0000;
  margin: 0 0 10px;
}

.s66g-scan-context__items {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.s66g-scan-context__item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
}

.s66g-scan-context__item-label {
  color: var(--s66g-subtle);
  min-width: 120px;
  flex-shrink: 0;
  font-size: 12px;
}

.s66g-scan-context__item-value {
  color: var(--s66g-text);
  font-weight: 500;
}

/* ── Geselecteerde routes chips ───────────────────────────────────────────── */

.s66g-selected-routes__context {
  font-size: 14px;
  color: var(--s66g-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.s66g-selected-routes__empty {
  font-size: 14px;
  color: var(--s66g-subtle);
  font-style: italic;
  margin-bottom: 14px;
}

.s66g-selected-routes__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0;
}

.s66g-selected-route {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--s66g-border);
  border-radius: 4px;
  min-height: 40px;
}

.s66g-selected-route__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--s66g-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.s66g-selected-route__icon svg {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

.s66g-selected-route__title {
  flex: 1;
  font-size: 14px;
  color: var(--s66g-text);
  font-weight: 500;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.s66g-selected-route__remove {
  background: none;
  border: none;
  color: var(--s66g-subtle);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
  flex-shrink: 0;
  transition: color .1s;
  font-family: sans-serif;
}

.s66g-selected-route__remove:hover { color: var(--s66g-red); }

/* ── Formulier ────────────────────────────────────────────────────────────── */

.s66g-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 0;
}

.s66g-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 560px) {
  .s66g-form-row { grid-template-columns: 1fr; }
}

.s66g-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.s66g-field label {
  font-size: 12px;
  font-weight: 500;
  color: var(--s66g-muted);
  letter-spacing: .04em;
}

.s66g-optional {
  font-weight: 400;
  color: rgba(240,240,240,.3);
}

.s66g-field input,
.s66g-field textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--s66g-border);
  border-radius: 4px;
  color: var(--s66g-text);
  font-family: var(--s66g-font);
  font-size: 15px;
  padding: 10px 14px;
  width: 100%;
  transition: border-color .15s;
  outline: none;
  resize: vertical;
}

.s66g-field input::placeholder,
.s66g-field textarea::placeholder {
  color: rgba(240,240,240,.2);
}

.s66g-field input:focus,
.s66g-field textarea:focus {
  border-color: rgba(255,255,255,.3);
}

.s66g-field-error {
  font-size: 12px;
  color: var(--s66g-red);
  display: none;
}

.s66g-form-error {
  font-size: 14px;
  color: var(--s66g-red);
  padding: 12px 0;
}

.s66g-btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 4px;
  border: 1px solid var(--s66g-border);
  color: var(--s66g-text);
  cursor: pointer;
  transition: border-color .15s, background .15s;
  background: transparent;
  text-align: center;
  font-family: var(--s66g-font);
  letter-spacing: normal;
  text-transform: none;
}

.s66g-btn:hover {
  border-color: var(--s66g-border-strong);
  background: rgba(255,255,255,.04);
}

.s66g-btn--primary {
  background: var(--s66g-red);
  border-color: var(--s66g-red);
  color: #fff;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 13px 28px;
}

.s66g-btn--primary:hover {
  background: #c50000;
  border-color: #c50000;
}

.s66g-btn--primary:disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* ── Succes ───────────────────────────────────────────────────────────────── */

.s66g-success {
  padding: 28px 0;
}

.s66g-success__text {
  font-size: 17px;
  color: var(--s66g-text);
  line-height: 1.6;
}

.s66g-success__home-btn {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 24px;
  background: var(--s66g-red);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  letter-spacing: normal;
  text-transform: none;
  transition: opacity 0.15s ease;
}

.s66g-success__home-btn:hover {
  opacity: 0.85;
  color: #ffffff;
}

/* ── Shared: route-field (gebruikt in B-body + D-card details) ──────────── */

.s66g-route-field {
  margin-bottom: 18px;
  max-width: 580px;
}

.s66g-route-field:last-child { margin-bottom: 0; }

.s66g-route-field__label {
  font-family: var(--s66g-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--s66g-subtle);
  margin-bottom: 5px;
  display: block;
}

.s66g-route-field__value {
  font-size: 14px;
  color: rgba(240,240,240,.7);
  line-height: 1.65;
}

.s66g-route-field__text { margin: 0; }

.s66g-route-field__list {
  margin: 4px 0 0 0;
  padding: 0;
  list-style: none;
}

.s66g-route-field__list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 5px;
  line-height: 1.55;
}

.s66g-route-field__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(240,240,240,.35);
  font-size: 12px;
  line-height: 1.7;
}

/* ── Section labels (shared) ──────────────────────────────────────────────── */

.s66g-eyebrow,
.s66g-section-label,
.s66g-label {
  font-family: var(--s66g-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--s66g-muted);
  margin-bottom: 16px;
  display: block;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */

.s66g-footer {
  padding: 40px 0;
  border-top: 1px solid var(--s66g-border);
}

.s66g-footer-brand {
  font-family: var(--s66g-mono);
  font-size: 11px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(240,240,240,.2);
}

/* ═══════════════════════════════════════════════════════════════════════════
   THEME CHROME SUPPRESSION
   ═══════════════════════════════════════════════════════════════════════════ */

body.s66g-page #site-header,
body.s66g-page header.site-header,
body.s66g-page .site-header,
body.s66g-page #masthead,
body.s66g-page .global-header,
body.s66g-page nav.main-navigation,
body.s66g-page #main-navigation { display: none !important; }

body.s66g-page #site-footer,
body.s66g-page footer.site-footer,
body.s66g-page .site-footer,
body.s66g-page #colophon,
body.s66g-page .global-footer { display: none !important; }

body.s66g-page #page,
body.s66g-page .site,
body.s66g-page main { padding-top: 0 !important; margin-top: 0 !important; }

body.s66g-page .entry-content,
body.s66g-page .page-content,
body.s66g-page .wp-block-group,
body.s66g-page .wp-site-blocks { max-width: none !important; padding: 0 !important; }
