/* Hylife Technologies — aanvullende stijlen (de basis zit in theme.json) */

:root {
	--hy-ground: #1B4F5C;
	--hy-ground-deep: #163F4A;
}

/* ---------- donkere secties met golflijnen ---------- */
.is-style-flow,
.has-flow {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: radial-gradient(120% 90% at 50% 40%, var(--hy-ground) 0%, var(--hy-ground-deep) 100%);
	color: #fff;
}
.is-style-flow > .hylife-flow-canvas,
.has-flow > .hylife-flow-canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	opacity: .5;
	z-index: -1;
}
.is-style-flow :where(h1, h2, h3, h4, h5, h6),
.has-flow :where(h1, h2, h3, h4, h5, h6) { color: #fff; }
.is-style-flow a:where(:not(.wp-element-button)),
.has-flow a:where(:not(.wp-element-button)) { color: var(--wp--preset--color--sage); }

/* ---------- coming soon ---------- */
.hylife-soon {
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	box-sizing: border-box;
}
.hylife-soon .hylife-soon-logo { margin: 0; animation: hy-rise 1.2s cubic-bezier(.2,.7,.2,1) both; }
.hylife-soon .hylife-soon-logo img { width: min(720px, 90vw); height: auto; display: block; }
.hylife-soon-foot {
	position: absolute;
	left: 0; right: 0;
	bottom: max(20px, env(safe-area-inset-bottom, 0px));
	margin: 0 !important;
	font-size: 11px;
	letter-spacing: .08em;
	color: var(--wp--preset--color--mist);
	font-weight: 300;
}
.admin-bar .hylife-soon { min-height: calc(100vh - 32px); }

/* paragraaf "met lijntjes": • TEKST —— */
.is-style-lined {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-inline: auto;
	color: var(--wp--preset--color--sage);
	font-weight: 300;
	font-size: clamp(12px, 1.6vw, 15px);
	letter-spacing: .32em;
	text-transform: uppercase;
	animation: hy-rise 1.2s .25s cubic-bezier(.2,.7,.2,1) both;
}
.is-style-lined::before,
.is-style-lined::after {
	content: "";
	width: clamp(24px, 5vw, 56px);
	height: 1px;
	background: var(--wp--preset--color--mist);
	flex: none;
}
.hylife-dot {
	display: inline-block;
	width: 6px; height: 6px;
	border-radius: 50%;
	background: var(--wp--preset--color--sage);
	animation: hy-pulse 2.4s ease-in-out infinite;
	flex: none;
}
@media (max-width: 480px) {
	.is-style-lined { letter-spacing: .18em; gap: 10px; font-size: 11px; }
	.is-style-lined::before, .is-style-lined::after { display: none; }
}
@keyframes hy-pulse { 0%, 100% { opacity: .35 } 50% { opacity: 1 } }
@keyframes hy-rise { from { transform: translateY(8px) } to { transform: none } }
@media (prefers-reduced-motion: reduce) {
	.hylife-soon-logo, .is-style-lined, .hylife-dot { animation: none !important; }
}

/* ---------- bovenkopje ---------- */
.is-style-eyebrow {
	font-size: var(--wp--preset--font-size--small) !important;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--steel);
}
.is-style-flow .is-style-eyebrow, .has-flow .is-style-eyebrow { color: var(--wp--preset--color--sage); }

/* ---------- kaart ---------- */
.is-style-card {
	background: #fff;
	border: 1px solid #E3E9DE;
	border-radius: 18px;
	padding: clamp(1.25rem, 3vw, 2rem);
	box-shadow: 0 1px 2px rgba(27,79,92,.04), 0 10px 30px -18px rgba(27,79,92,.25);
	transition: transform .25s ease, box-shadow .25s ease;
	height: 100%;
	box-sizing: border-box;
}
.is-style-card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(27,79,92,.05), 0 18px 40px -20px rgba(27,79,92,.35); }

/* ---------- knoppen ---------- */
.wp-block-button.is-style-light .wp-block-button__link {
	background: var(--wp--preset--color--sage);
	color: var(--wp--preset--color--deep);
}
.wp-block-button.is-style-light .wp-block-button__link:hover { background: #fff; }
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border: 1.5px solid currentColor;
	color: var(--wp--preset--color--deep);
}
.is-style-flow .wp-block-button.is-style-outline .wp-block-button__link,
.has-flow .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; }

/* ---------- header ---------- */
.hylife-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .hylife-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .hylife-header { top: 46px; } }
.hylife-header.is-light { background: rgba(255,255,255,.97); border-bottom: 1px solid #E8EEE3; }
.hylife-header.is-dark { background: rgba(27,79,92,.98); }
.hylife-header .wp-block-site-logo img, .hylife-header .hylife-logo img { height: 38px; width: auto; }
.hylife-header .wp-block-navigation a { text-decoration: none; }
.hylife-header .wp-block-navigation a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* ---------- footer ---------- */
.hylife-footer .is-style-eyebrow { color: var(--wp--preset--color--mist); }
.hylife-footer a { color: var(--wp--preset--color--sage); text-decoration: none; }
.hylife-footer a:hover { color: #fff; text-decoration: underline; }
.hylife-footer .hylife-logo img { width: 220px; height: auto; }

/* ---------- cijfers ---------- */
.hylife-stat-number {
	font-weight: 800 !important;
	line-height: 1 !important;
	letter-spacing: -.02em;
	background: linear-gradient(135deg, #84A39E, #23606F);
	-webkit-background-clip: text; background-clip: text;
	color: transparent !important;
}
.is-style-flow .hylife-stat-number, .has-flow .hylife-stat-number {
	background: linear-gradient(135deg, #CEDBBD, #84A39E);
	-webkit-background-clip: text; background-clip: text;
}

/* ---------- proposities ---------- */
.hylife-prop-icon img { width: 44px; height: 44px; }
.hylife-prop .wp-block-heading { margin-top: .75rem; }

/* afbeeldingen met afgeronde hoeken */
.hylife-rounded img { border-radius: 18px; }

/* kopieerbare accentlijn in koper */
.hylife-accent { color: var(--wp--preset--color--copper); }

/* verbergen op smalle schermen (klasse toevoegen via Geavanceerd > Extra CSS-klasse) */
@media (max-width: 781px) { .hylife-hide-mobile { display: none !important; } }

/* ---------- v1.1: site-opbouw ---------- */
.hylife-more { font-weight: 700; font-size: var(--wp--preset--font-size--small); margin-top: auto; }
.hylife-more a { text-decoration: none; }
.hylife-more a:hover { text-decoration: underline; text-underline-offset: 4px; }
.is-style-card { display: flex; flex-direction: column; }
.is-style-card > * { margin-block-start: 0; }
.is-style-card > * + * { margin-block-start: .75rem; }
.wp-block-columns > .wp-block-column > .is-style-card { height: 100%; }

ul.is-style-checks { list-style: none; padding-left: 0; }
ul.is-style-checks li { position: relative; padding-left: 1.75rem; margin: .5rem 0; }
ul.is-style-checks li::before {
	content: ""; position: absolute; left: 0; top: .55em; width: .8rem; height: .45rem;
	border-left: 2px solid var(--wp--preset--color--copper); border-bottom: 2px solid var(--wp--preset--color--copper);
	transform: rotate(-45deg);
}

.hylife-chips { gap: .75rem !important; margin-top: var(--wp--preset--spacing--30); }
.hylife-chip {
	margin: 0 !important; padding: .55rem 1.1rem; border-radius: 999px; background: #fff;
	border: 1px solid #DCE4D6; color: var(--wp--preset--color--deep); font-weight: 700; font-size: var(--wp--preset--font-size--small);
}
.hylife-vector { background: #fff; border: 1px solid #E3E9DE; border-radius: 16px; padding: 1.1rem .75rem; text-align: center; height: 100%; box-sizing: border-box; gap: .5rem !important; }
.hylife-vector p { margin: 0; font-size: var(--wp--preset--font-size--small); }
.hylife-vector figure { margin: 0 !important; }

.hylife-rounded img { width: 100%; height: auto; }
.is-style-flow .is-style-card, .has-flow .is-style-card { background: rgba(255,255,255,.06); border-color: rgba(206,219,189,.18); box-shadow: none; color: #fff; }
.is-style-flow .is-style-card :where(h3), .has-flow .is-style-card :where(h3) { color: #fff; }
.is-style-flow .is-style-card p, .has-flow .is-style-card p { color: var(--wp--preset--color--sage); }
.is-style-flow .hylife-on-dark img { background: #fff; border-radius: 18px; }

.wp-block-navigation .wp-block-navigation__submenu-container {
	border-radius: 14px; border: 1px solid #E3E9DE !important; padding: .5rem !important;
	box-shadow: 0 18px 40px -20px rgba(27,79,92,.35); min-width: 290px !important;
}
.wp-block-navigation .wp-block-navigation__submenu-container a { padding: .55rem .8rem !important; border-radius: 8px; }
.wp-block-navigation .wp-block-navigation__submenu-container a:hover { background: #F4F7F1; text-decoration: none !important; }
.hylife-header.is-light .wp-block-navigation__submenu-container { background: #fff !important; color: var(--wp--preset--color--deep) !important; }
.hylife-header.is-dark .wp-block-navigation__submenu-container { background: var(--wp--preset--color--deep) !important; color: #fff !important; border-color: rgba(255,255,255,.12) !important; }
.wp-block-navigation__responsive-container.is-menu-open { padding: 2rem max(16px, 5vw) !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { font-size: 1.15rem; }

@media (max-width: 781px) {
	.wp-block-columns:has(> .wp-block-column > .hylife-vector) { flex-direction: row !important; flex-wrap: wrap !important; }
	.wp-block-columns:has(> .wp-block-column > .hylife-vector) > .wp-block-column { flex-basis: calc(50% - 10px) !important; flex-grow: 0; }
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; box-shadow: none; padding: .25rem 0 0 1rem !important; background: transparent !important; color: inherit !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: flex-start !important; text-align: left; }
