/**
 * tm-page-contact.css — styling voor /contact/ (page-contact.php).
 *
 * 1-op-1 op tm-page-offerte.css gebaseerd:
 *   - .tm-cp-page { background: var(--tm-bg) }   (overstijgt EduBlink-kleur)
 *   - .tm-cp-section { padding-top: 8px !important }
 *   - .tm-cp-grid    { 1fr 380px, max-width 1240px, margin: 0 auto }
 *   - .tm-cp-card    { white card met line-border, radius 16, padding 32 }
 *   - .tm-cp-input/select/textarea idem aan offerte-form-fields
 */

/* -------------------------------------------------------------------------
 * Layout
 * ----------------------------------------------------------------------- */
.tm-cp-page { background: var(--tm-bg); }

.tm-cp-section { padding-top: 8px !important; }

.tm-cp-grid {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 40px;
	align-items: start;
	max-width: 1240px;
	margin: 0 auto;
}
@media (max-width: 1023px) {
	.tm-cp-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}
.tm-cp-main { min-width: 0; }
.tm-cp-aside {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* -------------------------------------------------------------------------
 * Card (gedeelde basis)
 * ----------------------------------------------------------------------- */
.tm-cp-card {
	background: #fff;
	border: 1px solid var(--tm-line);
	border-radius: 16px;
	padding: 32px;
}
@media (max-width: 599px) {
	.tm-cp-card { padding: 24px 20px; border-radius: 14px; }
}

/* -------------------------------------------------------------------------
 * FORM
 * ----------------------------------------------------------------------- */
.tm-cp-form__title {
	font-size: clamp(1.5rem, 2.4vw, 1.75rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--tm-ink);
	margin: 0 0 8px;
}
.tm-cp-form__accent { color: var(--tm-orange); }
.tm-cp-form__lede {
	font-size: 15px;
	line-height: 1.55;
	color: var(--tm-ink-soft);
	margin: 0 0 24px;
}

.tm-cp-row-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
@media (max-width: 600px) {
	.tm-cp-row-grid { grid-template-columns: 1fr; }
}

.tm-cp-field {
	display: block;
	margin-bottom: 14px;
}
.tm-cp-row-grid > .tm-cp-field { margin-bottom: 14px; }
.tm-cp-form .tm-cp-field:last-of-type { margin-bottom: 18px; }

.tm-cp-field__label {
	display: block;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tm-ink-soft);
	margin-bottom: 8px;
}
.tm-cp-req {
	color: var(--tm-orange);
	margin-left: 2px;
}

.tm-cp-input,
.tm-cp-select,
.tm-cp-textarea {
	width: 100%;
	background: var(--tm-bg);
	border: 1px solid var(--tm-line);
	border-radius: 10px;
	padding: 12px 14px;
	font-family: inherit;
	font-size: 14px;
	color: var(--tm-ink);
	transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
	box-sizing: border-box;
}
.tm-cp-input:focus,
.tm-cp-select:focus,
.tm-cp-textarea:focus {
	outline: none;
	border-color: var(--tm-purple);
	background: #fff;
	box-shadow: 0 0 0 3px var(--tm-purple-soft);
}
.tm-cp-input.has-error,
.tm-cp-textarea.has-error {
	border-color: var(--tm-coral);
	background: #FFF5EE;
}
.tm-cp-textarea {
	min-height: 140px;
	resize: vertical;
	line-height: 1.5;
}
.tm-cp-select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%234A4870' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 12px 8px;
	padding-right: 38px;
}

/* ---------- Type-pills ------------------------------------------------ */
.tm-cp-pills {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.tm-cp-pill {
	flex: 1;
	min-width: 120px;
	background: var(--tm-bg);
	border: 1.5px solid var(--tm-line);
	padding: 12px 14px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 700;
	color: var(--tm-ink-soft);
	text-align: center;
	cursor: pointer;
	transition: all 0.15s ease;
	user-select: none;
	position: relative;
}
.tm-cp-pill input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.tm-cp-pill:hover {
	border-color: var(--tm-purple);
	color: var(--tm-ink);
}
.tm-cp-pill.is-selected {
	background: var(--tm-ink);
	color: #fff;
	border-color: var(--tm-ink);
}
.tm-cp-pill:focus-within {
	box-shadow: 0 0 0 3px var(--tm-purple-soft);
}

/* ---------- In-company tip ------------------------------------------- */
.tm-cp-tip {
	margin-top: 14px;
	display: flex;
	gap: 14px;
	background: var(--tm-purple-soft);
	border: 1px dashed rgba(91, 79, 229, 0.35);
	border-radius: 12px;
	padding: 16px 18px;
}
.tm-cp-tip[hidden] { display: none; }
.tm-cp-tip__icon {
	flex: none;
	color: var(--tm-purple-deep);
	margin-top: 2px;
}
.tm-cp-tip__body {
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--tm-ink-soft);
}
.tm-cp-tip__body strong {
	display: block;
	color: var(--tm-ink);
	font-weight: 800;
	font-size: 14px;
	margin-bottom: 4px;
}
.tm-cp-tip__body p { margin: 0 0 10px; }
.tm-cp-tip__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--tm-purple-deep);
	font-weight: 800;
	font-size: 13px;
	text-decoration: none;
}
.tm-cp-tip__link:hover { color: var(--tm-orange); }
.tm-cp-tip__link svg { transition: transform 0.15s ease; }
.tm-cp-tip__link:hover svg { transform: translateX(3px); }

/* ---------- Submit + privacy ----------------------------------------- */
.tm-cp-submit {
	width: 100%;
	background: var(--tm-purple);
	color: #fff;
	border: 0;
	padding: 16px 20px;
	border-radius: 12px;
	font-family: inherit;
	font-weight: 800;
	font-size: 15px;
	letter-spacing: 0.01em;
	margin-top: 8px;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.05s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}
.tm-cp-submit:hover { background: var(--tm-purple-deep); }
.tm-cp-submit:active { transform: translateY(1px); }
.tm-cp-privacy {
	font-size: 12px;
	color: var(--tm-ink-mute);
	margin: 14px 0 0;
	text-align: center;
}
.tm-cp-privacy a {
	color: var(--tm-orange);
	font-weight: 700;
	text-decoration: none;
}
.tm-cp-privacy a:hover { text-decoration: underline; }

/* ---------- Error wrap ----------------------------------------------- */
.tm-cp-error-wrap { padding-top: 0 !important; padding-bottom: 8px !important; }
.tm-cp-error {
	max-width: 1240px;
	margin: 0 auto;
	background: #FFF5EE;
	border: 1px solid var(--tm-orange);
	border-radius: 12px;
	padding: 14px 18px;
	font-size: 14px;
	color: var(--tm-ink);
	line-height: 1.5;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.tm-cp-error strong { font-weight: 800; }

/* -------------------------------------------------------------------------
 * DIRECT-CONTACT CARDS (rechts)
 * ----------------------------------------------------------------------- */
.tm-cp-direct {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 22px 24px;
}
.tm-cp-direct__icon {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--tm-purple-soft);
	color: var(--tm-purple-deep);
	display: grid;
	place-items: center;
	flex: none;
	position: relative;
}
.tm-cp-direct__icon::after {
	content: "";
	position: absolute;
	inset: -4px;
	border: 1px dashed rgba(91, 79, 229, 0.30);
	border-radius: 50%;
}
.tm-cp-direct__body { min-width: 0; }
.tm-cp-direct__label {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	color: var(--tm-ink-mute);
	margin: 4px 0 4px;
}
.tm-cp-direct__value {
	font-size: 17px;
	font-weight: 800;
	color: var(--tm-ink);
	margin: 0 0 4px;
	letter-spacing: -0.005em;
	word-break: break-word;
}
.tm-cp-direct__value a { color: inherit; text-decoration: none; }
.tm-cp-direct__value a:hover { color: var(--tm-orange); }
.tm-cp-direct__sub {
	font-size: 13px;
	color: var(--tm-ink-soft);
	margin: 0;
	line-height: 1.5;
}

/* -------------------------------------------------------------------------
 * BEREIKBAARHEIDS-KAART (donker)
 * ----------------------------------------------------------------------- */
.tm-cp-hours {
	background: var(--tm-ink);
	color: #fff;
	border-radius: 16px;
	padding: 24px 24px 22px;
	position: relative;
	overflow: hidden;
}
.tm-cp-hours::before {
	content: "";
	position: absolute;
	width: 220px;
	height: 220px;
	border: 1px dashed rgba(255, 138, 31, 0.35);
	border-radius: 50%;
	right: -90px;
	bottom: -90px;
	pointer-events: none;
}
.tm-cp-hours__label {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--tm-orange);
	margin: 0 0 14px;
	position: relative;
}
.tm-cp-hours__list {
	list-style: none;
	padding: 0;
	margin: 0;
	position: relative;
}
.tm-cp-hours__list li {
	display: flex;
	justify-content: space-between;
	padding: 7px 0;
	font-size: 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.tm-cp-hours__list li:last-child { border-bottom: 0; }
.tm-cp-hours__day { color: rgba(255, 255, 255, 0.78); }
.tm-cp-hours__time { font-weight: 700; color: #fff; }
.tm-cp-hours__list li.is-closed .tm-cp-hours__time {
	color: rgba(255, 255, 255, 0.40);
	font-weight: 500;
}
.tm-cp-hours__note {
	margin: 14px 0 0;
	font-size: 12px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.65);
	position: relative;
}

/* -------------------------------------------------------------------------
 * SUCCESS-state
 * ----------------------------------------------------------------------- */
.tm-cp-success {
	max-width: 720px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid var(--tm-line);
	border-radius: 18px;
	padding: 48px 36px;
	text-align: center;
}
.tm-cp-success__icon {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--tm-purple-soft);
	color: var(--tm-purple-deep);
	display: grid;
	place-items: center;
	margin: 0 auto 18px;
}
.tm-cp-success__title {
	font-size: clamp(1.5rem, 2.4vw, 1.875rem);
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--tm-ink);
	margin: 0 0 8px;
}
.tm-cp-success__lede {
	font-size: 15px;
	line-height: 1.6;
	color: var(--tm-ink-soft);
	margin: 0 0 24px;
	max-width: 460px;
	margin-left: auto;
	margin-right: auto;
}
.tm-cp-success__actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}
.tm-cp-success__btn {
	display: inline-flex;
	align-items: center;
	padding: 12px 22px;
	border-radius: 10px;
	font-weight: 800;
	font-size: 14px;
	text-decoration: none;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.tm-cp-success__btn--primary {
	background: var(--tm-purple);
	color: #fff;
}
.tm-cp-success__btn--primary:hover { background: var(--tm-purple-deep); color: #fff; }
.tm-cp-success__btn--ghost {
	background: transparent;
	color: var(--tm-ink);
	border: 1.5px solid var(--tm-line);
}
.tm-cp-success__btn--ghost:hover {
	border-color: var(--tm-purple);
	color: var(--tm-purple-deep);
}

/* -------------------------------------------------------------------------
 * FAQ
 * ----------------------------------------------------------------------- */
.tm-cp-faq-wrap {
	max-width: 800px;
	margin: 0 auto;
}
.tm-cp-faq-head { text-align: center; margin-bottom: 24px; }
.tm-cp-faq-head__title {
	font-size: clamp(1.625rem, 2.6vw, 2.125rem);
	font-weight: 800;
	letter-spacing: -0.015em;
	color: var(--tm-ink);
	margin: 0 0 8px;
}
.tm-cp-faq-head__accent { color: var(--tm-orange); }
.tm-cp-faq-head__lede {
	font-size: 15px;
	color: var(--tm-ink-soft);
	margin: 0;
}

.tm-cp-faq {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.tm-cp-faq details {
	background: #fff;
	border: 1px solid var(--tm-line);
	border-radius: 14px;
	padding: 18px 22px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.tm-cp-faq details[open] {
	border-color: rgba(91, 79, 229, 0.25);
	box-shadow: 0 4px 16px rgba(30, 27, 75, 0.04);
}
.tm-cp-faq summary {
	list-style: none;
	cursor: pointer;
	font-weight: 700;
	font-size: 15px;
	color: var(--tm-ink);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}
.tm-cp-faq summary::-webkit-details-marker { display: none; }
.tm-cp-faq summary::after {
	content: "+";
	font-size: 22px;
	font-weight: 400;
	color: var(--tm-ink-mute);
	line-height: 1;
}
.tm-cp-faq details[open] summary::after {
	content: "−";
	color: var(--tm-orange);
}
.tm-cp-faq details p {
	margin: 12px 0 0;
	font-size: 14px;
	line-height: 1.65;
	color: var(--tm-ink-soft);
}

/* -------------------------------------------------------------------------
 * Long-form legal pages (Algemene voorwaarden, Privacy)
 * ----------------------------------------------------------------------- */
.tm-av {
	max-width: none;
}
.tm-av__intro {
	margin: 0 0 28px;
	font-size: 15px;
	line-height: 1.65;
	color: var(--tm-ink-soft);
}
.tm-av h2 {
	margin: 32px 0 12px;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--tm-ink);
	scroll-margin-top: 100px;
}
.tm-av h2:first-of-type {
	margin-top: 0;
}
.tm-av p {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.7;
	color: var(--tm-ink-soft);
}
.tm-av strong {
	color: var(--tm-ink);
	font-weight: 700;
}
.tm-av ul,
.tm-av ol {
	margin: 0 0 12px;
	padding-left: 22px;
	font-size: 14px;
	line-height: 1.7;
	color: var(--tm-ink-soft);
}
.tm-av ul li,
.tm-av ol li {
	margin-bottom: 6px;
}
.tm-av a {
	color: var(--tm-orange);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.tm-av a:hover {
	color: var(--tm-orange-deep, #E06700);
}
.tm-av__footer-note {
	margin: 32px 0 0;
	padding-top: 18px;
	border-top: 1px solid var(--tm-line);
	font-size: 13px;
	color: var(--tm-ink-mute);
	font-style: italic;
}
