/**
 * Atlas PT — homepage sections. These classes are applied via
 * "Additional CSS Class" on the Group/Heading/Paragraph/List blocks
 * that make up the seeded homepage (see inc/seed-page.php).
 */

/* Sections that continue the previous light section (Tarieven,
   Locaties) skip the top padding and use a tighter heading gap. */
.pricing,
.locations {
	padding-top: 0;
}

.pricing .section-heading--split,
.locations .section-heading--split {
	margin-bottom: 40px;
}

/* Split heading with a call to action next to the eyebrow
   (Het intakegesprek). */
.section-heading__aside {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--space-xs) var(--space-sm);
}

.section-heading--split .section-heading__aside .eyebrow {
	margin-bottom: 0;
}

/* Hero */
.hero {
	padding-top: 88px;
}

.hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
	align-items: end;
	gap: var(--space-lg);
}

.hero__content {
	padding-bottom: 88px;
}

.hero__eyebrow {
	margin-bottom: 28px;
}

.hero__title {
	font-size: var(--font-hero);
	line-height: 0.93;
}

.hero__subtitle {
	margin-top: var(--space-sm);
	font-size: 20px;
	font-weight: 700;
}

.hero__desc {
	max-width: 560px;
	margin-top: 20px;
	color: var(--muted-dark);
	font-size: 19px;
	line-height: 1.55;
}

.hero__media {
	height: 520px;
}

.hero__media .wp-block-image {
	margin: 0;
	height: 100%;
}

/* The portrait is a transparent cut-out: show it whole, standing on
   the bottom edge of the section. */
.hero__media .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: 50% 100%;
}

/* Biografie */
.bio__inner {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: var(--space-lg);
	align-items: start;
}

.bio__media .wp-block-image {
	margin: 0;
}

.bio__media .wp-block-image img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: 50% 30%;
	background: var(--dark-surface-alt);
}

.bio__media .btn {
	margin-top: 20px;
	padding: 12px 22px;
	font-size: 15px;
}

.bio__content {
	display: grid;
	gap: 48px;
}

.bio__block + .bio__block {
	border-top: 1px solid var(--border-strong);
	padding-top: 48px;
}

.bio__block p {
	color: var(--muted-strong);
	font-size: 19px;
	line-height: 1.7;
}

.bio__block p + p {
	margin-top: 20px;
}

.bio__block .eyebrow {
	margin-bottom: 12px;
	color: var(--muted-mono);
	font-size: 12px;
	line-height: var(--line-height-base);
}

.bio__title {
	margin-bottom: var(--space-xs);
	font-size: 28px;
}

.bio__block .bio__highlight {
	margin-block: 28px;
	color: var(--text);
	font-size: 26px;
	line-height: 1.25;
	font-weight: 800;
	font-style: italic;
	letter-spacing: -0.02em;
}

.bio__block .bio__meta {
	font-family: var(--font-mono);
	font-size: 13px;
	letter-spacing: 0.08em;
	color: var(--muted-mono);
}

/* Opleiding & ervaring */
.timeline__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--space-sm);
}

.timeline__item {
	border-top: 3px solid var(--dark-border-soft);
	padding-top: 22px;
}

.timeline__item--current {
	border-top-color: var(--accent);
}

.timeline__year {
	margin-bottom: 14px;
	font-family: var(--font-mono);
	font-size: 13px;
	color: var(--muted-dark-3);
}

.timeline__item--current .timeline__year {
	color: var(--accent);
}

.timeline__title {
	margin-bottom: 12px;
	font-size: 21px;
	line-height: 1.2;
	letter-spacing: 0;
}

.timeline__desc {
	color: var(--muted-dark-2);
	font-size: 15px;
}

/* Missie */
.mission {
	padding-block: 96px;
}

.mission .eyebrow {
	display: block;
	margin-bottom: var(--space-sm);
	color: color-mix(in srgb, var(--accent-ink) 85%, transparent);
}

.mission__quote {
	max-width: 1000px;
	font-size: clamp(28px, 3.4vw, 46px);
	line-height: 1.1;
	font-weight: 900;
	font-style: italic;
	letter-spacing: -0.02em;
}

/* Hoe kan ik je helpen? */
.approach__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-sm);
}

.approach__card {
	padding: 36px 32px;
	background: var(--white);
}

.approach__card--dark {
	background: var(--dark);
	color: var(--text-dark);
}

.approach__card-title {
	margin-bottom: 20px;
	font-size: 22px;
}

.approach__item {
	border-top: 1px solid var(--border);
	padding-block: 12px;
}

.approach__term {
	font-size: 16px;
	font-weight: 700;
}

.approach__desc {
	margin-top: 2px;
	color: var(--muted);
	font-size: 15px;
}

.approach__stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	background: var(--dark-border-soft);
}

.approach__stat {
	padding: 18px 16px;
	background: var(--dark);
}

.approach__stat-number {
	font-size: 30px;
	line-height: 1;
	font-weight: 900;
	font-style: italic;
	color: var(--accent);
}

.approach__stat-label {
	margin-top: var(--space-2xs);
	color: var(--muted-dark);
	font-size: 14px;
	line-height: 1.4;
}

/* Traject (inside "Hoe kan ik je helpen?") */
.journey {
	margin-top: var(--space-lg);
}

.journey__title {
	margin-bottom: var(--space-xs);
	font-size: 30px;
	line-height: 1;
	font-weight: 900;
	font-style: italic;
	text-transform: uppercase;
	letter-spacing: -0.03em;
}

.journey__intro {
	max-width: 720px;
	margin-bottom: var(--space-md);
	color: var(--muted);
	font-size: 18px;
}

.journey__list {
	counter-reset: journey;
}

.journey__step {
	display: grid;
	grid-template-columns: 56px 1fr;
	column-gap: var(--space-sm);
	border-top: 1px solid var(--border-strong);
	padding-block: var(--space-sm);
	counter-increment: journey;
}

.journey__step:last-child {
	border-bottom: 1px solid var(--border-strong);
}

.journey__step::before {
	grid-row: 1 / span 2;
	padding-top: 5px;
	content: counter(journey, decimal-leading-zero);
	font-family: var(--font-mono);
	font-size: 13px;
	color: var(--muted-mono);
}

.journey__step-title {
	grid-column: 2;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: 0;
}

.journey__step-desc {
	grid-column: 2;
	margin-top: 6px;
	color: var(--muted);
	font-size: 16px;
}

/* Diensten & tarieven */
.wp-block-table.pricing__table {
	margin: 0;
	overflow-x: auto;
	background: var(--white);
}

.pricing__table table {
	width: 100%;
	min-width: 760px;
	border-collapse: collapse;
	font-size: 15px;
}

.wp-block-table.pricing__table th,
.wp-block-table.pricing__table td {
	padding: 18px 20px;
	border: 0;
	text-align: left;
	vertical-align: top;
}

.wp-block-table.pricing__table thead {
	border: 0;
	background: var(--dark);
	color: var(--text-dark);
}

.pricing__table th {
	padding-block: 16px;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.pricing__table tbody tr {
	border-top: 1px solid var(--border);
}

.pricing__table tbody tr:last-child {
	background: color-mix(in srgb, var(--accent) 16%, var(--white));
}

.pricing__table td:first-child {
	width: 24%;
	font-weight: 800;
}

.pricing__table td:nth-child(2) {
	color: var(--muted);
}

.pricing__table td:last-child {
	font-weight: 700;
}

.pricing__table td:nth-child(3),
.pricing__table td:last-child {
	white-space: nowrap;
}

.pricing__sub {
	font-weight: 500;
	color: var(--muted);
}

.pricing__notes {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--space-sm);
	margin-top: 40px;
}

.pricing__note {
	padding: var(--space-md);
	background: var(--white);
}

.pricing__note h3 {
	margin-bottom: 12px;
	font-size: 22px;
}

.pricing__note p {
	color: var(--muted);
	font-size: 16px;
}

/* Locaties */
.locations__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.location {
	display: grid;
	align-content: start;
	gap: 12px;
	padding: 28px;
	background: var(--white);
}

.location__name {
	font-size: 21px;
}

.location__address {
	color: var(--muted);
	font-size: 15px;
}

.location__hours {
	border-top: 1px solid var(--border);
	padding-top: 12px;
	font-size: 14px;
	font-weight: 700;
}

.location__services {
	color: var(--muted);
	font-size: 14px;
}

.location--dark {
	background: var(--dark);
	color: var(--text-dark);
}

.location--dark .location__address,
.location--dark .location__services {
	color: var(--muted-dark);
}

.location--dark .location__hours {
	border-top-color: var(--dark-border-soft);
}

.location--accent {
	background: var(--accent);
	color: var(--accent-ink);
}

.location--accent .location__address,
.location--accent .location__services {
	color: color-mix(in srgb, var(--accent-ink) 85%, transparent);
}

.location--accent .location__hours {
	border-top-color: color-mix(in srgb, var(--accent-ink) 25%, transparent);
}

/* Het intakegesprek */
.intake__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--space-sm);
}

.intake__card {
	padding: var(--space-md);
	background: var(--dark-surface);
	border: 1px solid var(--dark-border);
}

.intake__card .eyebrow {
	display: block;
	margin-bottom: 12px;
	color: var(--muted-dark-3);
}

.intake__lead {
	font-size: 17px;
	font-weight: 700;
}

.intake__sub {
	margin-top: 6px;
	color: var(--muted-dark-2);
	font-size: 15px;
}

.intake__text {
	color: var(--muted-dark);
	font-size: 15px;
}

.intake__questions {
	margin-top: 56px;
}

.intake__questions .eyebrow {
	display: block;
	margin-bottom: 20px;
}

.intake__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 40px;
	font-size: 19px;
	font-weight: 700;
}

.intake__list li {
	border-top: 1px solid var(--dark-border-soft);
	padding-block: 18px;
}

/* Contact */
.contact-panel {
	max-width: 820px;
	padding: 44px 40px 40px;
	background: var(--dark);
	color: var(--text-dark);
	border: 1px solid var(--dark-border);
}

.contact__success {
	display: grid;
	gap: var(--space-sm);
	padding: 40px 0;
}

.contact__success-mark {
	display: inline-block;
	width: 40px;
	height: 40px;
	background: var(--accent);
}

.contact__success h3 {
	font-size: 28px;
	font-style: italic;
	text-transform: uppercase;
}

.contact__success p {
	max-width: 420px;
	color: var(--muted-dark);
	font-size: 17px;
	line-height: 1.6;
}

.contact__error {
	margin-bottom: var(--space-sm);
	color: var(--accent);
	font-weight: 600;
}

.contact-form {
	display: grid;
	gap: 22px;
}

.contact-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
}

.contact-form label {
	display: grid;
	gap: 10px;
}

.contact-form span {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted-dark-3);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
	width: 100%;
	padding: 15px 16px;
	background: var(--dark-surface);
	border: 1px solid var(--dark-input-border);
	color: var(--text-dark);
	border-radius: var(--radius-sm);
}

.contact-form textarea {
	resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--accent);
}

.contact-form__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.contact-form__submit {
	justify-self: start;
}

.contact-form__note {
	margin: 0;
	font-size: 13px;
	color: var(--muted-dark-4);
}

@media (max-width: 1100px) {
	.timeline__list,
	.locations__grid,
	.intake__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.approach__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.approach__card--dark {
		grid-column: 1 / -1;
	}
}

@media (max-width: 900px) {
	.hero__inner,
	.bio__inner,
	.pricing__notes,
	.intake__list {
		grid-template-columns: 1fr;
	}

	.hero__inner {
		gap: 0;
	}

	.hero__content {
		padding-bottom: var(--space-md);
	}

	.hero__media {
		height: 380px;
	}

	.bio__media {
		max-width: 480px;
	}

	.contact-form__row {
		grid-template-columns: 1fr;
	}
}

/* Tarieven on phones: each table row becomes a card — name,
   description, then duration and price side by side. */
@media (max-width: 700px) {
	.wp-block-table.pricing__table {
		overflow: visible;
		background: transparent;
	}

	.pricing__table table,
	.pricing__table tbody {
		display: block;
		min-width: 0;
	}

	.wp-block-table.pricing__table thead {
		display: none;
	}

	.pricing__table tbody {
		display: grid;
		gap: 12px;
	}

	.pricing__table tbody tr {
		display: grid;
		grid-template-columns: 1fr auto;
		padding: 20px;
		border-top: 0;
		background: var(--white);
	}

	.wp-block-table.pricing__table td {
		width: auto;
		padding: 0;
	}

	.wp-block-table.pricing__table td:first-child,
	.wp-block-table.pricing__table td:nth-child(2) {
		grid-column: 1 / -1;
	}

	.wp-block-table.pricing__table td:first-child {
		font-size: 17px;
	}

	.wp-block-table.pricing__table td:nth-child(2) {
		margin-top: 6px;
	}

	.wp-block-table.pricing__table td:nth-child(3),
	.wp-block-table.pricing__table td:last-child {
		margin-top: 14px;
		padding-top: 14px;
		border-top: 1px solid var(--border);
	}

	.wp-block-table.pricing__table td:nth-child(3) {
		color: var(--muted);
	}

	.wp-block-table.pricing__table td:last-child {
		padding-left: var(--space-xs);
		text-align: right;
	}
}

@media (max-width: 640px) {
	.timeline__list,
	.locations__grid,
	.intake__grid,
	.approach__grid {
		grid-template-columns: 1fr;
	}

	.hero {
		padding-top: var(--space-lg);
	}

	.bio__block p {
		font-size: 17px;
	}

	.journey__step {
		grid-template-columns: 40px 1fr;
		column-gap: var(--space-xs);
	}

	.approach__card,
	.contact-panel {
		padding: var(--space-sm);
	}
}
