/* Contactpagina (voorvoegsel ct-). Velden en knop hergebruiken .wl-input, .wl-label en .wl-submit uit waitlist.css. */
.ct-sec { padding-block: clamp(36px, 6vh, 64px) clamp(72px, 12vh, 140px); }
.ct-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; align-items: start; max-width: 1040px; margin: 0 auto; }
.ct-card { background: var(--card); border-radius: 24px; box-shadow: var(--shadow-raised), inset 0 0 0 1px var(--hairline); }

.ct-form { position: relative; display: grid; padding: clamp(22px, 3vw, 34px); }
.ct-state, .ct-done { grid-area: 1 / 1; transition: opacity 260ms var(--ease-hover), transform 460ms var(--ease-out-expo), visibility 0s; }
.ct-state { display: grid; gap: 18px; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-field { display: grid; min-width: 0; }
.ct-field .wl-input { width: 100%; flex: none; background: var(--subtle); }
.ct-opt { font-weight: 400; color: var(--muted-foreground); }
.ct-textarea { height: auto; min-height: 148px; padding: 14px 16px; line-height: 1.55; resize: vertical; }
.ct-select { position: relative; }
.ct-select select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.ct-select i { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted-foreground); font-size: 14px; }
.ct-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.ct-actions .wl-fine { margin: 0; flex: 1; min-width: 220px; }
.ct-field.is-invalid .wl-input { border-color: color-mix(in srgb, var(--red) 55%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 10%, transparent); }

.ct-form.is-busy .wl-submit { pointer-events: none; }
.ct-form.is-busy .wl-submit-label { opacity: 0; }
.ct-form.is-busy .wl-spinner { opacity: 1; animation: wl-spin 700ms linear infinite; }

.ct-done { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; background: color-mix(in srgb, var(--green) 10%, transparent); align-self: start; opacity: 0; visibility: hidden; transform: translateY(6px); outline: 0; }
.ct-done b { display: block; font-weight: 500; font-size: 15.5px; }
.ct-done div > span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--subtle-foreground); }
.ct-form.is-done .ct-state { opacity: 0; visibility: hidden; transform: translateY(-6px); }
.ct-form.is-done .ct-done { opacity: 1; visibility: visible; transform: none; }

.ct-side { display: grid; gap: 12px; }
.ct-info { display: flex; gap: 14px; padding: 20px; align-items: flex-start; }
.ct-info .m-tile { flex: none; }
.ct-info h2 { font-size: 15.5px; font-weight: 500; letter-spacing: -0.01em; }
.ct-info p { margin-top: 4px; font-size: 14.5px; line-height: 1.55; color: var(--muted-foreground); text-wrap: pretty; }
.ct-info a { color: var(--foreground); text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
.ct-info a:hover { text-decoration-color: currentColor; }

@media (max-width: 900px) {
  .ct-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ct-row { grid-template-columns: 1fr; }
  .ct-actions .wl-submit { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-state, .ct-done { transition: none; }
}
