/*
Theme Name: DOMUS4U
Author: Galia
Author URI: https://galia.be
Description: Maatwerk thema voor DOMUS4U.
Version: 1.0.0
Text Domain: domus4u
*/

/* ---------- Variabelen ---------- */
:root {
	--acc: #6FC8DE;
	--acc-strong: #37B3D2;
	--acc-button: #00ADCE;
	--ink: #17191B;
	--dark: #101214;
	--header: #131517;
	--slate: #21292D;
	--petrol: #1E4457;
	--powder: #B9CFDB;
	--mist: #E7EEF2;
	--paper: #F6F7F7;
	--body: #4B5257;
	--muted: #8A9298;
	--line: #E2E6E8;
	--line-soft: #EDF0F1;
	--line-mist: #CFDCE3;
	--white: #FFFFFF;

	--font-sans: 'Montserrat', system-ui, sans-serif;
	--font-serif: 'Merriweather', Georgia, serif;

	--wrap: 1320px;
	--wrap-narrow: 1180px;
	--pad-x: clamp(24px, 5vw, 60px);
	--pad-y: clamp(76px, 8vw, 124px);
}

/* ---------- Basis ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-wrap: pretty;
}
h1, h2, h3, h4, h5 { margin: 0; font-weight: 400; font-family: var(--font-serif); }
blockquote { margin: 0; font-family: var(--font-serif); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: var(--petrol); text-decoration: none; }
a:hover { color: inherit; }
img { max-width: 100%; height: auto; }
input, select, textarea, button { font: inherit; color: inherit; }
::selection { background: var(--acc); color: var(--ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; }
.wrap-narrow { max-width: var(--wrap-narrow); margin: 0 auto; }

.section { padding: var(--pad-y) var(--pad-x); background: var(--white); }
.section-paper { background: var(--paper); }
.section-mist { background: var(--mist); }
.section-dark { background: var(--ink); color: var(--white); }

.eyebrow {
	font-size: 11.5px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: rgba(30, 68, 87, .6);
	margin-bottom: 20px;
}
.eyebrow-acc { color: var(--acc); }

.title {
	font-size: clamp(34px, 4.4vw, 52px);
	line-height: 1.15;
	letter-spacing: -0.02em;
}
.title span { color: var(--acc-strong); }
.section-dark .title { color: var(--white); }
.section-dark .title span { color: var(--acc); }

/* ---------- Knoppen ---------- */
.btn {
	display: inline-block;
	padding: 19px 34px;
	font-size: 12.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 500;
	border: 1px solid transparent;
}
.btn-small { padding: 14px 18px; }
.btn-primary { background: var(--acc-button); color: var(--white); font-weight: 600; }
.btn-primary:hover { color: var(--white); }
.btn-ghost { border-color: rgba(255, 255, 255, .34); color: var(--white); }
.btn-ghost:hover { color: var(--white); }
.btn-ghost-acc { border-color: var(--acc); color: var(--white); }
.btn-ghost-acc:hover { color: var(--white); }
.btn-outline { border-color: var(--acc-strong); color: var(--ink); background: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); padding: 17px 30px; }
.btn-dark:hover { color: var(--white); }
.link-underline {
	display: inline-block;
	font-size: 12.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--ink);
	border-bottom: 1px solid var(--acc);
	padding-bottom: 6px;
}

/* ---------- Top bar ---------- */
.topbar {
	background: var(--acc);
	color: var(--ink);
	padding: 8px 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.topbar a { color: var(--ink); border-bottom: 1px solid var(--ink); }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: var(--header);
	border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.admin-bar .site-header { top: 32px; }
.site-header-inner {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 16px 28px;
	display: flex;
	align-items: center;
	gap: 32px;
}
.site-logo { display: flex; align-items: center; flex: none; }
.site-logo img { height: 58px; width: auto; display: block; }
.site-nav {
	display: flex;
	align-items: center;
	gap: 26px;
	margin-left: auto;
	font-size: 15px;
	letter-spacing: 0.04em;
}
.site-nav ul { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.site-nav li a {
	color: rgba(255, 255, 255, .66);
	padding-bottom: 3px;
	border-bottom: 1px solid transparent;
}
.site-nav li a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
	color: var(--white);
	border-bottom-color: var(--acc);
}
.header-cta {
	color: var(--white);
	padding: 12px 18px;
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 500;
	border: 1px solid var(--acc-button);
}
.header-cta:hover { color: var(--white); background: var(--acc-button); }
.nav-toggle {
	display: none;
	margin-left: auto;
	background: none;
	border: 1px solid rgba(255, 255, 255, .34);
	color: var(--white);
	padding: 10px 14px;
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--dark); color: var(--white); overflow: hidden; }
.hero-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 42%;
	opacity: .5;
}
.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(12, 14, 16, .94) 0%, rgba(12, 14, 16, .78) 46%, rgba(12, 14, 16, .35) 100%);
}
.hero-inner {
	position: relative;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: clamp(72px, 9vw, 140px) var(--pad-x) 0;
}
.hero-content { max-width: 820px; }
.hero-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.hero-eyebrow::before { content: ""; width: 44px; height: 1px; background: var(--acc); flex: none; }
.hero-eyebrow span { font-size: 11.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--powder); }
.hero-title {
	font-size: clamp(40px, 5.6vw, 80px);
	line-height: 1.02;
	letter-spacing: -0.02em;
	font-weight: 300;
}
.hero-title span { color: var(--acc); font-size: .875em; }
.hero-text { margin-top: 30px; font-size: 18px; line-height: 1.65; color: rgba(255, 255, 255, .8); max-width: 660px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 42px; }
.hero-stats {
	margin-top: clamp(56px, 7vw, 96px);
	border-top: 1px solid rgba(255, 255, 255, .14);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.hero-stat { padding: 34px; border-right: 1px solid rgba(255, 255, 255, .14); }
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { border-right: 0; }
.hero-stat-value { font-size: clamp(38px, 4.4vw, 54px); line-height: 1; letter-spacing: -0.02em; color: var(--white); }
.hero-stat-value.is-highlight { color: var(--acc); }
.hero-stat-value small { font-size: .42em; letter-spacing: 0.06em; margin-left: 8px; }
.hero-stat-label { margin-top: 12px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.hero-footnote { padding: 16px 0 26px; font-size: 12px; color: rgba(255, 255, 255, .42); letter-spacing: 0.02em; }

/* Hero op subpagina's (portefeuille, gewone pagina) */
.hero-sub .hero-inner { padding-top: clamp(64px, 7vw, 110px); }
.hero-sub .hero-title { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.15; max-width: 920px; }
.hero-sub .hero-title span { font-size: 1em; }
.hero-sub .hero-eyebrow::before { display: none; }
.hero-sub .hero-eyebrow span { color: var(--acc); }
.hero-sub .hero-text { font-size: 19px; color: rgba(255, 255, 255, .76); }
.hero-sub .hero-stats { margin-top: 56px; }
.hero-sub .hero-stat-value { font-size: clamp(30px, 3.4vw, 44px); }
.hero-sub .hero-stat-label { font-size: 12px; }
.hero-sub.no-stats .hero-inner { padding-bottom: clamp(64px, 7vw, 110px); }

/* ---------- Home: waarom vastgoed ---------- */
.why-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
	gap: clamp(40px, 5vw, 88px);
	align-items: start;
}
.why-text { margin-top: 28px; color: var(--body); max-width: 520px; font-style: italic; }
.why-buttons { margin-top: 36px; }
.why-list { display: grid; gap: 1px; background: var(--line); }
.why-item { background: var(--white); padding: 30px 34px; }
.why-number { font-family: var(--font-serif); font-size: 32px; color: var(--acc-strong); }
.why-item h3 { margin-top: 10px; font-size: 23px; letter-spacing: -0.01em; }
.why-item p { margin-top: 8px; color: var(--body); font-size: 15px; }

/* ---------- Home: vergelijking ---------- */
.compare-head { text-align: center; max-width: 720px; margin: 0 auto; }
.compare-table { margin-top: 56px; background: var(--white); border: 1px solid var(--line); }
.compare-row {
	display: grid;
	grid-template-columns: 1.1fr 1.25fr 1.25fr;
	border-bottom: 1px solid var(--line-soft);
}
.compare-row:last-child { border-bottom: 0; }
.compare-row > div { padding: 24px 26px; font-size: 16px; border-left: 1px solid var(--line-soft); }
.compare-row > div:first-child {
	border-left: 0;
	font-size: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--petrol);
	font-weight: 600;
}
.compare-row > div:nth-child(2) { color: var(--muted); }
.compare-row .is-highlight { background: rgba(55, 179, 210, .125); }
.compare-row.compare-row-head { background: var(--ink); color: var(--white); border-bottom: 0; }
.compare-row.compare-row-head > div {
	padding: 20px 26px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	border-left-color: rgba(255, 255, 255, .14);
}
.compare-row.compare-row-head > div:nth-child(2) { color: rgba(255, 255, 255, .92); }
.compare-row.compare-row-head > div:nth-child(3) { color: var(--acc-button); }

/* ---------- Projectkaarten ---------- */
.projects-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; }
.projects-head .eyebrow { margin-bottom: 20px; }
.projects-grid {
	margin-top: 52px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 26px;
}
.project-card { display: block; color: inherit; }
.project-card-image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.project-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-badge {
	position: absolute;
	top: 16px;
	left: 16px;
	background: rgba(19, 21, 23, .86);
	color: var(--white);
	padding: 7px 13px;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 500;
}
.project-badge.is-highlight { background: var(--acc); color: #12181B; }
.project-card-body { padding: 22px 4px 0; }
.project-card-meta { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--petrol); }
.project-card h3 { margin-top: 9px; font-size: 23px; letter-spacing: -0.01em; }
.project-card p { margin-top: 8px; color: var(--body); font-size: 16px; }

/* ---------- Portefeuille (archief) ---------- */
.project-rows { display: grid; gap: clamp(40px, 4vw, 64px); }
.project-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: clamp(28px, 3.5vw, 56px);
	align-items: center;
}
.project-row-image img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; background: var(--mist); display: block; }
.project-row-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	font-size: 11.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--petrol);
}
.project-row-meta i { width: 18px; height: 1px; background: #C6D2D8; }
.project-row h2 { margin-top: 16px; font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.02em; }
.project-row h2 a { color: inherit; }
.project-row p { margin-top: 16px; color: var(--body); }
.project-row .link-underline { margin-top: 24px; }
@media (min-width: 720px) {
	.project-row:nth-child(even) .project-row-image { order: 2; }
}

/* ---------- Project detail ---------- */
.project-hero {
	position: relative;
	background: var(--dark);
	color: var(--white);
	min-height: 44vh;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
}
.project-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.project-hero-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 14, 16, .95) 0%, rgba(12, 14, 16, .5) 70%); }
.project-hero-inner {
	position: relative;
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: clamp(60px, 7vw, 100px) var(--pad-x) clamp(40px, 4vw, 60px);
}
.project-back { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--powder); }
.project-back:hover { color: var(--white); }
.project-hero-meta {
	margin-top: 26px;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
	font-size: 11.5px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--acc);
}
.project-hero-meta i { width: 20px; height: 1px; background: rgba(255, 255, 255, .4); }
.project-hero h1 { margin-top: 18px; font-size: clamp(34px, 5vw, 68px); line-height: 1.04; letter-spacing: -0.02em; }

.project-detail { padding: clamp(60px, 6vw, 100px) var(--pad-x); }
.project-detail-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: clamp(40px, 5vw, 80px);
	align-items: start;
}
.project-detail h2 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.01em; }
.spec-list { margin-top: 26px; }
.spec-list li {
	display: grid;
	grid-template-columns: 22px 1fr;
	gap: 14px;
	padding: 16px 0;
	border-bottom: 1px solid var(--line-soft);
	color: var(--body);
	font-size: 16.5px;
}
.spec-list li::before { content: "✓"; color: var(--acc); }
.motivation { background: var(--mist); padding: clamp(30px, 3.5vw, 44px); }
.motivation-list { margin-top: 24px; display: grid; gap: 16px; }
.motivation-list li {
	display: grid;
	grid-template-columns: 10px 1fr;
	gap: 16px;
	color: #4A555E;
	font-size: 16.5px;
}
.motivation-list li::before {
	content: "";
	width: 6px;
	height: 6px;
	background: var(--petrol);
	border-radius: 50%;
	margin-top: 10px;
}
.motivation-cta { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line-mist); }

.project-next { background: var(--paper); padding: clamp(50px, 5vw, 80px) var(--pad-x); }
.project-next-inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.project-next-label { font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.project-next-link { display: block; margin-top: 8px; font-family: var(--font-serif); font-size: clamp(24px, 2.6vw, 34px); color: var(--ink); }

/* ---------- Home: track record ---------- */
.track-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: clamp(40px, 5vw, 80px);
	align-items: center;
}
.track-text { margin-top: 26px; color: rgba(255, 255, 255, .72); max-width: 520px; }
.track-irr { margin-top: 34px; padding: 26px 30px; border: 1px solid rgba(255, 255, 255, .16); display: inline-block; }
.track-irr-label { font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.track-irr-value { margin-top: 10px; font-size: clamp(40px, 5vw, 64px); line-height: 1; color: var(--acc); letter-spacing: -0.02em; }
.track-buttons { margin-top: 32px; }
.track-list li {
	display: grid;
	grid-template-columns: 88px 1fr;
	gap: 22px;
	padding: 20px 0;
	border-top: 1px solid rgba(255, 255, 255, .14);
	font-size: 17px;
}
.track-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.track-year { font-family: var(--font-serif); font-size: 26px; line-height: 1.3; color: var(--acc); }
.track-list small { display: block; margin-top: 6px; font-size: 13.5px; color: rgba(255, 255, 255, .5); }
.track-list .is-now { color: var(--powder); }
.track-list .is-now .track-year { color: var(--white); }
.track-list .is-future,
.track-list .is-future .track-year { color: rgba(255, 255, 255, .55); }

/* ---------- Home: voordelen ---------- */
.benefits-head { max-width: 640px; }
.benefits-grid {
	margin-top: 52px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1px;
	background: var(--line-mist);
}
.benefit { background: var(--mist); padding: 34px 30px 30px; }
.benefit svg { display: block; }
.benefit h3 { margin-top: 22px; font-size: 28px; letter-spacing: -0.01em; line-height: 1.3; }
.benefit p { margin-top: 10px; color: #54606A; font-size: 16px; }

/* ---------- Home: quote ---------- */
.quote-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: clamp(36px, 5vw, 72px);
	align-items: center;
}
.quote-image { position: relative; }
.quote-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: var(--mist); }
.quote-badge {
	position: absolute;
	right: -22px;
	bottom: -22px;
	width: 186px;
	height: 186px;
	border-radius: 50%;
	background: var(--acc-strong);
	color: var(--white);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 24px;
	text-align: center;
	font-size: 16px;
	line-height: 1.35;
}
.quote-badge strong { font-size: 18px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; margin-bottom: 4px; }
.quote-grid blockquote { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.28; letter-spacing: -0.01em; font-style: italic; }
.quote-author { margin-top: 28px; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--petrol); font-weight: 500; }
.quote-text { margin-top: 26px; color: var(--body); font-size: 16px; }
.quote-buttons { margin-top: 32px; }

/* ---------- Gewone pagina ---------- */
.page-content { max-width: 820px; margin: 0 auto; color: var(--body); }
.page-content > * + * { margin-top: 1.2em; }
.page-content h2, .page-content h3 { color: var(--ink); margin-top: 1.6em; }
.page-content ul { list-style: disc; padding-left: 1.2em; }
.page-content a { border-bottom: 1px solid var(--acc); }

/* ---------- CTA boven footer ---------- */
.cta { background: var(--slate); color: var(--white); padding: clamp(64px, 7vw, 104px) var(--pad-x); text-align: center; }
.cta-inner { max-width: 1000px; margin: 0 auto; }
.cta h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.25; letter-spacing: -0.02em; font-weight: 300; }
.cta h2 span { color: var(--acc-strong); }
.cta p { margin: 24px auto 0; max-width: 640px; color: rgba(255, 255, 255, .8); font-size: 19px; }
.cta-buttons { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta .btn-primary { background: var(--acc-strong); font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--white); padding: clamp(56px, 6vw, 88px) var(--pad-x) 32px; }
.footer-grid {
	max-width: var(--wrap);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 44px;
}
.footer-logo { height: 80px; width: auto; display: block; }
.footer-text { color: rgba(255, 255, 255, .66); font-size: 15px; }
.footer-about .footer-text { margin-top: 22px; max-width: 280px; }
.footer-title { font-size: 15px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--acc); font-weight: 500; }
.footer-title + .footer-text { margin-top: 20px; }
.footer-list { margin-top: 20px; display: grid; gap: 12px; font-size: 15px; color: rgba(255, 255, 255, .78); }
.footer-list a { color: rgba(255, 255, 255, .78); }
.footer-list a:hover { color: var(--white); }
.footer-bottom {
	max-width: var(--wrap);
	margin: 52px auto 0;
	padding-top: 26px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	display: flex;
	flex-wrap: wrap;
	gap: 16px 32px;
	justify-content: space-between;
	font-size: 13px;
	color: rgba(255, 255, 255, .45);
}
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.nav-toggle { display: block; }
	.site-header-inner { flex-wrap: wrap; }
	.site-nav { display: none; width: 100%; margin-left: 0; flex-direction: column; align-items: flex-start; gap: 18px; padding: 10px 0 14px; }
	.site-nav.is-open { display: flex; }
	.site-nav ul { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 720px) {
	.site-logo img { height: 46px; }
	.hero-stat { padding: 26px 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
	.hero-stat:last-child { border-bottom: 0; }
	.why-grid, .track-grid { grid-template-columns: 1fr; }
	.compare-row { grid-template-columns: 1fr; }
	.compare-row > div { border-left: 0; padding: 14px 20px; }
	.compare-row.compare-row-head > div:first-child { display: none; }
	.quote-badge { right: 10px; bottom: -30px; width: 150px; height: 150px; font-size: 13px; }
	.quote-badge strong { font-size: 15px; }
}
