/*
Theme Name: ProRenovo
Description: Thema voor ProRenovo – renovatie en verbouwing.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: prorenovo
*/

:root {
	--ink: #1b2430;
	--ink-soft: #4a5565;
	--navy: #1d3557;
	--navy-deep: #13253f;
	--accent: #e07a2f;
	--accent-dark: #c4651f;
	--sand: #f6f2ec;
	--line: #e4ddd3;
	--white: #ffffff;
	--success: #2f7d4f;
	--error: #b3261e;
	--radius: 14px;
	--shadow: 0 10px 30px rgba(19, 37, 63, 0.08);
	--shadow-lg: 0 24px 60px rgba(19, 37, 63, 0.16);
	--max: 1200px;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 90px;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--navy);
}

a:hover {
	color: var(--accent-dark);
}

h1, h2, h3, h4 {
	line-height: 1.2;
	margin: 0 0 0.6em;
	color: var(--navy-deep);
	font-weight: 750;
	letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p {
	margin: 0 0 1em;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link:focus {
	position: fixed;
	top: 10px;
	left: 10px;
	z-index: 1000;
	width: auto;
	height: auto;
	clip: auto;
	padding: 10px 16px;
	background: var(--white);
	border-radius: 8px;
}

.container {
	width: 100%;
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 20px;
}

.section {
	padding: 88px 0;
}

.section--sand {
	background: var(--sand);
}

.section--navy {
	background: var(--navy-deep);
	color: #dbe3ee;
}

.section--navy h2,
.section--navy h3 {
	color: var(--white);
}

.section-head {
	max-width: 720px;
	margin: 0 auto 48px;
	text-align: center;
}

.section-head p {
	color: var(--ink-soft);
	font-size: 1.08rem;
}

.section--navy .section-head p {
	color: #b9c6d8;
}

.eyebrow {
	display: inline-block;
	margin-bottom: 12px;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent-dark);
}

.section--navy .eyebrow {
	color: #f3a765;
}

/* Buttons */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 26px;
	border: 2px solid transparent;
	border-radius: 999px;
	font: inherit;
	font-weight: 650;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn--primary {
	background: var(--accent);
	color: var(--white);
}

.btn--primary:hover {
	background: var(--accent-dark);
	color: var(--white);
}

.btn--ghost {
	border-color: currentColor;
	color: var(--navy);
	background: transparent;
}

.btn--ghost:hover {
	color: var(--accent-dark);
}

.btn--light {
	border-color: rgba(255, 255, 255, 0.5);
	color: var(--white);
}

.btn--light:hover {
	color: var(--white);
	border-color: var(--white);
}

.btn svg {
	width: 18px;
	height: 18px;
}

/* Header */

.topbar {
	background: var(--navy-deep);
	color: #c9d4e3;
	font-size: 0.88rem;
}

.topbar .container {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 24px;
	justify-content: space-between;
	padding-top: 8px;
	padding-bottom: 8px;
}

.topbar a {
	color: #e8eef6;
	text-decoration: none;
}

.topbar a:hover {
	color: #f3a765;
}

.topbar__items {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
}

.topbar__item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.topbar__item svg {
	width: 15px;
	height: 15px;
	opacity: 0.8;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid transparent;
	transition: box-shadow 0.2s, border-color 0.2s;
}

.site-header.is-scrolled {
	border-color: var(--line);
	box-shadow: 0 6px 20px rgba(19, 37, 63, 0.06);
}

.site-header .container {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 76px;
}

.brand {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-right: auto;
	color: var(--navy-deep);
	text-decoration: none;
	font-weight: 800;
	font-size: 1.35rem;
	letter-spacing: -0.02em;
}

.brand:hover {
	color: var(--navy-deep);
}

.brand__mark {
	width: 38px;
	height: 38px;
	flex: none;
}

.brand__accent {
	color: var(--accent);
}

.brand__logo {
	width: auto;
	height: 50px;
	/* procentowy max-width z reguły img zwija logo do zera w nagłówku flex */
	max-width: none;
}

.site-footer .brand__logo {
	height: 44px;
}

@media (max-width: 560px) {
	/* logo + taalkeuze + menuknop moeten samen in 320–390px passen */
	.site-header .container {
		gap: 12px;
	}

	.site-header .brand__logo {
		height: 34px;
	}

	.site-header .nav-toggle {
		margin-right: -8px;
		padding: 8px;
	}
}

@media (max-width: 380px) {
	.site-header .container {
		gap: 8px;
		padding: 0 16px;
	}

	.site-header .brand__logo {
		height: 28px;
	}

	.lang-switch a {
		padding: 5px 8px;
	}
}

.main-nav ul {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-nav a {
	display: block;
	padding: 10px 14px;
	border-radius: 8px;
	color: var(--ink);
	font-weight: 550;
	text-decoration: none;
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
	color: var(--accent-dark);
}

.nav-toggle {
	display: none;
	padding: 10px;
	border: 0;
	background: none;
	color: var(--navy-deep);
	cursor: pointer;
}

.nav-toggle svg {
	width: 26px;
	height: 26px;
}

@media (max-width: 960px) {
	.nav-toggle {
		display: inline-flex;
		order: 3;
	}

	.header-cta {
		display: none;
	}

	.main-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		background: var(--white);
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow);
	}

	.main-nav.is-open {
		display: block;
	}

	.main-nav ul {
		flex-direction: column;
		padding: 12px 20px 20px;
	}

	.main-nav a {
		padding: 12px 6px;
		border-bottom: 1px solid var(--line);
		border-radius: 0;
	}
}

/* Hero */

.hero {
	position: relative;
	overflow: hidden;
	padding: 84px 0 96px;
	background:
		radial-gradient(circle at 85% 15%, rgba(224, 122, 47, 0.16), transparent 42%),
		linear-gradient(180deg, var(--sand) 0%, #fbf9f6 100%);
}

.hero .container {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 56px;
	align-items: center;
}

.hero__lead {
	max-width: 560px;
	color: var(--ink-soft);
	font-size: 1.18rem;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 30px 0 34px;
}

.checklist {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.checklist li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-weight: 550;
}

.checklist svg {
	flex: none;
	width: 22px;
	height: 22px;
	margin-top: 2px;
	color: var(--success);
}

.hero__visual {
	position: relative;
}

.hero__card {
	position: relative;
	padding: 34px;
	background: var(--white);
	border-radius: 22px;
	box-shadow: var(--shadow-lg);
}

.hero__card svg.hero__illustration {
	width: 100%;
	height: auto;
}

.hero__badge {
	position: absolute;
	left: -22px;
	bottom: 28px;
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 14px 18px;
	background: var(--navy-deep);
	color: var(--white);
	border-radius: 14px;
	box-shadow: var(--shadow);
	font-size: 0.92rem;
	line-height: 1.35;
}

.hero__badge svg {
	width: 30px;
	height: 30px;
	color: #f3a765;
	flex: none;
}

.hero__badge strong {
	display: block;
	font-size: 1rem;
}

@media (max-width: 960px) {
	.hero {
		padding: 56px 0 64px;
	}

	.hero .container {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.hero__badge {
		left: 12px;
	}
}

/* Cards and grids */

.grid {
	display: grid;
	gap: 24px;
}

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

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

@media (max-width: 960px) {
	.grid--3,
	.grid--4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 620px) {
	.grid--3,
	.grid--4 {
		grid-template-columns: 1fr;
	}

	.section {
		padding: 64px 0;
	}
}

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 30px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
	transform: translateY(-3px);
	border-color: transparent;
	box-shadow: var(--shadow-lg);
}

.card p {
	color: var(--ink-soft);
}

.card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 20px;
	border-radius: 14px;
	background: rgba(224, 122, 47, 0.12);
	color: var(--accent-dark);
}

.card__icon svg {
	width: 28px;
	height: 28px;
}

.card__link {
	margin-top: auto;
	font-weight: 650;
	text-decoration: none;
}

.card__link::after {
	content: " →";
}

.feature {
	display: flex;
	gap: 18px;
}

.feature .card__icon {
	flex: none;
	margin: 0;
	background: rgba(255, 255, 255, 0.08);
	color: #f3a765;
}

.feature p {
	margin: 0;
	color: #b9c6d8;
}

/* Process */

.steps {
	counter-reset: step;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.steps li {
	position: relative;
	padding: 26px 22px;
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.steps li::before {
	counter-increment: step;
	content: counter(step);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-bottom: 16px;
	border-radius: 50%;
	background: var(--navy);
	color: var(--white);
	font-weight: 800;
}

.steps h3 {
	font-size: 1.08rem;
}

.steps p {
	margin: 0;
	color: var(--ink-soft);
	font-size: 0.95rem;
}

@media (max-width: 1080px) {
	.steps {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 620px) {
	.steps {
		grid-template-columns: 1fr;
	}
}

/* Service detail rows */

.service-row {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 48px;
	align-items: start;
	padding: 48px 0;
	border-top: 1px solid var(--line);
}

.service-row:first-child {
	border-top: 0;
	padding-top: 0;
}

.service-row__title {
	display: flex;
	gap: 18px;
	align-items: center;
}

.service-row__title .card__icon {
	margin: 0;
	flex: none;
}

.service-row ul {
	columns: 2;
	column-gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.service-row li {
	position: relative;
	padding-left: 22px;
	margin-bottom: 8px;
	break-inside: avoid;
}

.service-row li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 9px;
	height: 9px;
	border-radius: 2px;
	background: var(--accent);
}

@media (max-width: 760px) {
	.service-row {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.service-row ul {
		columns: 1;
	}
}

/* Projects */

.project-card {
	overflow: hidden;
	padding: 0;
	text-decoration: none;
	color: inherit;
}

.project-card:hover {
	color: inherit;
}

.project-card__media {
	aspect-ratio: 4 / 3;
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
	overflow: hidden;
}

.project-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}

.project-card:hover .project-card__media img {
	transform: scale(1.04);
}

.project-card__body {
	padding: 22px 24px 26px;
}

.project-card__meta {
	font-size: 0.85rem;
	font-weight: 650;
	color: var(--accent-dark);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

/* Page hero */

.page-hero {
	padding: 64px 0 56px;
	background:
		radial-gradient(circle at 90% 0%, rgba(224, 122, 47, 0.18), transparent 40%),
		var(--navy-deep);
	color: #c9d4e3;
}

.page-hero h1 {
	margin-bottom: 0.3em;
	color: var(--white);
}

.page-hero p {
	max-width: 680px;
	margin: 0;
	font-size: 1.12rem;
}

.breadcrumbs {
	margin-bottom: 14px;
	font-size: 0.88rem;
}

.breadcrumbs a {
	color: #f3a765;
	text-decoration: none;
}

/* Content */

.entry-content {
	max-width: 780px;
}

.entry-content--wide {
	max-width: none;
}

.entry-content h2 {
	margin-top: 1.6em;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content img {
	border-radius: var(--radius);
}

.project-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
	margin-bottom: 32px;
}

/* Two columns (about / contact) */

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: start;
}

.split--form {
	grid-template-columns: 0.85fr 1.15fr;
}

@media (max-width: 900px) {
	.split,
	.split--form {
		grid-template-columns: 1fr;
		gap: 36px;
	}
}

.contact-list {
	display: grid;
	gap: 18px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.contact-list li {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.contact-list .card__icon {
	width: 46px;
	height: 46px;
	margin: 0;
	flex: none;
}

.contact-list .card__icon svg {
	width: 22px;
	height: 22px;
}

.contact-list small {
	display: block;
	color: var(--ink-soft);
	font-size: 0.85rem;
}

.contact-list a,
.contact-list strong {
	font-weight: 650;
	text-decoration: none;
}

/* Form */

.form-card {
	padding: 36px;
	background: var(--white);
	border-radius: 20px;
	box-shadow: var(--shadow-lg);
	color: var(--ink);
}

.form-card h3 {
	color: var(--navy-deep);
}

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

.form-field--full {
	grid-column: 1 / -1;
}

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

	.form-card {
		padding: 24px;
	}
}

.form-field label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.92rem;
	font-weight: 650;
}

.form-field .optional {
	font-weight: 400;
	color: var(--ink-soft);
}

.form-field input,
.form-field select,
.form-field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #cfc6b9;
	border-radius: 10px;
	background: var(--white);
	color: var(--ink);
	font: inherit;
	font-size: 1rem;
}

.form-field textarea {
	min-height: 130px;
	resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
	outline: 3px solid rgba(224, 122, 47, 0.25);
	border-color: var(--accent);
}

.form-consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 0.9rem;
	color: var(--ink-soft);
}

.form-consent input {
	width: 18px;
	height: 18px;
	margin-top: 3px;
	flex: none;
}

.form-hp {
	position: absolute;
	left: -9999px;
}

.form-submit {
	margin-top: 22px;
}

.form-submit .btn {
	width: 100%;
}

.notice {
	margin-bottom: 20px;
	padding: 14px 18px;
	border-radius: 10px;
	font-weight: 550;
}

.notice--success {
	background: #e5f3ea;
	color: var(--success);
}

.notice--error {
	background: #fbe9e7;
	color: var(--error);
}

/* FAQ */

.faq {
	max-width: 820px;
	margin: 0 auto;
}

.faq details {
	margin-bottom: 12px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 12px;
}

.faq summary {
	position: relative;
	padding: 20px 56px 20px 24px;
	font-weight: 650;
	cursor: pointer;
	list-style: none;
}

.faq summary::-webkit-details-marker {
	display: none;
}

.faq summary::after {
	content: "+";
	position: absolute;
	right: 24px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	font-weight: 400;
	color: var(--accent-dark);
}

.faq details[open] summary::after {
	content: "−";
}

.faq details p {
	margin: 0;
	padding: 0 24px 22px;
	color: var(--ink-soft);
}

/* CTA band */

.cta-band {
	padding: 64px 0;
	background: linear-gradient(120deg, var(--accent) 0%, var(--accent-dark) 100%);
	color: var(--white);
}

.cta-band .container {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: center;
	justify-content: space-between;
}

.cta-band h2 {
	margin: 0 0 6px;
	color: var(--white);
}

.cta-band p {
	margin: 0;
	opacity: 0.92;
}

.cta-band .btn--primary {
	background: var(--navy-deep);
}

.cta-band .btn--primary:hover {
	background: var(--ink);
}

/* Footer */

.site-footer {
	padding: 72px 0 0;
	background: #0e1b2e;
	color: #a9b6c8;
	font-size: 0.95rem;
}

.site-footer a {
	color: #dbe3ee;
	text-decoration: none;
}

.site-footer a:hover {
	color: #f3a765;
}

.site-footer h3 {
	margin-bottom: 18px;
	color: var(--white);
	font-size: 1.02rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 40px;
}

.footer-grid ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-grid li {
	margin-bottom: 9px;
}

.site-footer .brand {
	margin-bottom: 16px;
	color: var(--white);
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	justify-content: space-between;
	margin-top: 56px;
	padding: 22px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 0.86rem;
}

@media (max-width: 900px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

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

/* Mobile call bar */

.mobile-bar {
	display: none;
}

@media (max-width: 760px) {
	.mobile-bar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 60;
		display: grid;
		grid-template-columns: 1fr 1fr;
		background: var(--navy-deep);
		box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.15);
	}

	.mobile-bar a {
		display: flex;
		gap: 8px;
		align-items: center;
		justify-content: center;
		padding: 15px 10px;
		color: var(--white);
		font-weight: 650;
		text-decoration: none;
	}

	.mobile-bar a + a {
		background: var(--accent);
	}

	.mobile-bar svg {
		width: 18px;
		height: 18px;
	}

	body {
		padding-bottom: 54px;
	}
}

.pagination {
	margin-top: 40px;
	text-align: center;
}

.pagination .page-numbers {
	display: inline-block;
	padding: 8px 14px;
	margin: 0 3px;
	border-radius: 8px;
	text-decoration: none;
}

.pagination .current {
	background: var(--navy);
	color: var(--white);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition: none !important;
	}
}

/* Taalkeuze */

.lang-switch {
	display: flex;
	gap: 2px;
	margin: 0;
	padding: 3px;
	list-style: none;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 700;
}

.lang-switch a {
	display: block;
	padding: 5px 10px;
	border-radius: 999px;
	color: var(--ink-soft);
	text-decoration: none;
}

.lang-switch a:hover {
	color: var(--accent-dark);
}

.lang-switch .is-current {
	background: var(--navy);
	color: var(--white);
}

.lang-switch .is-current:hover {
	color: var(--white);
}

@media (max-width: 960px) {
	.lang-switch {
		order: 2;
	}
}
