/* ==========================================================================
   Differend — main stylesheet
   2026-11-06 refresh: Commissioner, OKLCH palette from the brand (logo mint, coral actions,
   night navy), fluid type and spacing. Sections alternate white / surface / night navy.
   Breakpoints: menu collapses ≤ 1180px; tablet ≤ 1024px, mobile ≤ 767px.
   ========================================================================== */

@import url("../fonts/fonts.css");

:root {
	/* Brand palette (OKLCH; hue 275 = the logo's night navy). */
	--navy-950: oklch(0.17 0.045 275);   /* #0a0d23  hero, products, CTA */
	--navy-900: oklch(0.215 0.05 275);   /* #131730  raised panels on dark */
	--navy-800: oklch(0.29 0.055 275);   /* #232946  lines on dark */
	--navy-700: oklch(0.38 0.055 275);
	--ink: oklch(0.23 0.045 275);        /* headings on light */
	--text: oklch(0.39 0.03 275);        /* body on light, 9:1 */
	--text-soft: oklch(0.5 0.025 275);   /* secondary on light, 5.6:1 */
	--on-dark: oklch(0.95 0.01 275);
	--on-dark-soft: oklch(0.8 0.025 275); /* 10:1 on navy-950 */
	--surface: oklch(0.975 0.006 275);   /* #f5f6fb */
	--surface-2: oklch(0.945 0.01 275);
	--line: oklch(0.91 0.012 275);
	--coral: oklch(0.67 0.185 31);       /* accents in large type */
	--coral-600: oklch(0.585 0.19 31);   /* buttons: white text 4.6:1 */
	--coral-700: oklch(0.53 0.17 31);
	--coral-on-dark: oklch(0.72 0.17 30);
	--mint: oklch(0.86 0.14 172);        /* the logo's fingerprint */
	--mint-700: oklch(0.52 0.1 172);
	--white: #fff;


	--font-sans: "Commissioner", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--font-head: var(--font-sans);
	--font-body: var(--font-sans);

	--container: 1280px;
	--gutter: clamp(20px, 4vw, 48px);
	--space-section: clamp(72px, 9vw, 136px);
	--radius: 20px;
	--radius-lg: 28px;
	--radius-pill: 999px;
	--ease-out: cubic-bezier(.22, 1, .36, 1);   /* ease-out-quint */
	--shadow-lift: 0 28px 56px -28px oklch(0.17 0.045 275 / .35);
	--z-sticky: 100;
	--z-dropdown: 110;
	--z-consent: 900;
	--z-skip: 1000;
}

/* ---------- Reset / base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	font-weight: 400;
	line-height: 1.65;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
img { border: 0; }
a { color: inherit; text-decoration: none; transition: color .2s, background-color .2s, border-color .2s; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
li, figcaption { text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-head); font-weight: 700; color: var(--ink); text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--coral-600); outline-offset: 3px; border-radius: 4px; }
::selection { background: oklch(0.86 0.14 172 / .45); color: var(--ink); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; padding: 12px 20px; z-index: var(--z-skip);
	top: 8px; left: 8px; background: var(--white); color: var(--ink); font-weight: 600; border-radius: 8px;
}
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.df-icon { width: 1em; height: 1em; flex: none; }

/* Scroll-in: a short rise. Only hidden when JS can reveal it again. */
html.js .reveal { opacity: 0; transform: translate3d(0, 24px, 0); }
html.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--delay, 0s); }
@keyframes df-rise { from { opacity: 0; transform: translate3d(0, 18px, 0); } }
@keyframes df-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	html.js .reveal { opacity: 1; transform: none; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}

/* ---------- Buttons ---------- */

.df-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 24px;
	font-family: var(--font-sans);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.005em;
	text-align: center;
	color: var(--white);
	background: var(--coral-600);
	border: 1.5px solid var(--coral-600);
	border-radius: var(--radius-pill);
	cursor: pointer;
	transition: background-color .25s var(--ease-out), border-color .25s var(--ease-out), color .25s var(--ease-out), transform .25s var(--ease-out);
}
.df-button .df-icon { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.df-button:hover { background: var(--coral-700); border-color: var(--coral-700); }
.df-button:hover .df-icon { transform: translateX(3px); }
.df-button:active { transform: translateY(1px); }
.df-button-sm { min-height: 40px; padding: 8px 18px; font-size: .9375rem; }
.df-button-lg { min-height: 56px; padding: 14px 30px; font-size: 1.0625rem; }
.df-button-outline, .df-button-ghost {
	background: transparent;
	color: var(--ink);
	border-color: oklch(0.23 0.045 275 / .22);
}
.df-button-outline:hover, .df-button-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.df-button-light { background: transparent; color: var(--on-dark); border-color: oklch(0.95 0.01 275 / .3); }
.df-button-light:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: var(--z-sticky);
	background: var(--navy-950);
	border-bottom: 1px solid oklch(0.29 0.055 275 / .7);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.hd {
	display: flex;
	align-items: center;
	gap: 24px;
	max-width: 1440px;
	min-height: 76px;
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.hd-logo { flex: none; }
.hd-logo img { display: block; width: 172px; height: auto; }
.hd-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.hd-actions { flex: none; display: flex; align-items: center; gap: 18px; }
.hd-phone { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 500; color: var(--on-dark-soft); white-space: nowrap; }
.hd-phone .df-icon { width: 16px; height: 16px; color: var(--mint); }
.hd-phone:hover { color: var(--white); }
.hd-quote { white-space: nowrap; }
.hd-m-toggle { display: none; }

/* Desktop menu */
.menu-desktop { display: flex; align-items: center; gap: 2px; }
.menu-desktop > .menu-item { position: relative; }
.menu-desktop > .menu-item > a {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: var(--radius-pill);
	font-size: .9688rem;
	font-weight: 500;
	line-height: 1.4;
	color: var(--on-dark-soft);
	white-space: nowrap;
}
.menu-desktop > .menu-item > a:hover,
.menu-desktop > .menu-item:focus-within > a { color: var(--white); background: oklch(1 0 0 / .06); }
.menu-desktop > .menu-item.is-current > a,
.menu-desktop > .menu-item.is-ancestor > a { color: var(--white); }
.menu-desktop > .menu-item.is-current > a::after,
.menu-desktop > .menu-item.is-ancestor > a::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -2px;
	width: 5px;
	height: 5px;
	margin-left: -2.5px;
	border-radius: 50%;
	background: var(--mint);
}
.menu-desktop .sub-arrow { width: 9px; height: 6px; opacity: .7; transition: transform .25s var(--ease-out); }
.menu-desktop .menu-item:hover > a .sub-arrow, .menu-desktop .menu-item.is-open > a .sub-arrow { transform: rotate(180deg); }
.menu-desktop .sub-toggle { display: none; }
.menu-desktop .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: -6px;
	min-width: 220px;
	padding: 8px;
	background: var(--white);
	border-radius: 16px;
	box-shadow: 0 1px 0 oklch(0.91 0.012 275), 0 24px 48px -16px oklch(0.17 0.045 275 / .35);
	z-index: var(--z-dropdown);
	visibility: hidden;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility 0s .2s;
}
.menu-desktop .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge */
.menu-desktop .sub-menu .sub-menu { top: -8px; left: calc(100% + 8px); }
.menu-desktop .sub-menu .sub-menu::before { top: 0; bottom: 0; left: -10px; right: auto; width: 10px; height: auto; }
.menu-desktop .menu-item:hover > .sub-menu,
.menu-desktop .menu-item:focus-within > .sub-menu,
.menu-desktop .menu-item.is-open > .sub-menu {
	visibility: visible;
	opacity: 1;
	transform: none;
	transition: opacity .2s var(--ease-out), transform .2s var(--ease-out);
}
.menu-desktop .sub-menu .menu-item { position: relative; }
.menu-desktop .sub-menu a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 12px;
	border-radius: 10px;
	font-size: .9375rem;
	font-weight: 500;
	line-height: 1.35;
	color: var(--ink);
	white-space: nowrap;
}
.menu-desktop .sub-menu a:hover, .menu-desktop .sub-menu .menu-item:focus-within > a { background: var(--surface-2); }
.menu-desktop .sub-menu .is-current > a { color: var(--coral-600); }
.menu-desktop .sub-menu .sub-arrow { width: 14px; height: 14px; color: var(--text-soft); transform: none !important; }
/* Language switch: EN | ΕΛ segments, the current one filled */
.lang-switch {
	display: inline-flex;
	flex: none;
	padding: 3px;
	border-radius: var(--radius-pill);
	background: var(--navy-900);
	box-shadow: inset 0 0 0 1px var(--navy-800);
}
.lang-switch a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 32px;
	padding: 0 10px;
	border-radius: var(--radius-pill);
	font-size: .8125rem;
	font-weight: 650;
	letter-spacing: .02em;
	color: var(--on-dark-soft);
	transition: color .2s, background-color .2s;
}
.lang-switch a:hover { color: var(--white); background: oklch(1 0 0 / .06); }
.lang-switch a.is-current { background: var(--on-dark); color: var(--ink); }

@media (max-width: 1320px) {
	.hd-phone-number { display: none; }
	.hd-phone { width: 40px; height: 40px; justify-content: center; border: 1px solid var(--navy-800); border-radius: 50%; }
}
@media (max-width: 1180px) {
	.hd { min-height: 68px; }
	.hd-nav { display: none; }
	.hd-actions { margin-left: auto; gap: 10px; }
	.hd-m-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		margin-right: -6px;
		color: var(--white);
		font-size: 24px;
		border-radius: 50%;
	}
	.hd-m-toggle:hover { background: oklch(1 0 0 / .08); }
	.hd-m-toggle .when-open { display: none; }
	.hd-m-toggle[aria-expanded="true"] .when-open { display: block; }
	.hd-m-toggle[aria-expanded="true"] .when-closed { display: none; }
	.m-nav:not([hidden]) {
		display: block;
		max-height: calc(100dvh - 68px);
		overflow-y: auto;
		padding: 8px var(--gutter) 28px;
		background: var(--navy-950);
		border-top: 1px solid var(--navy-800);
		animation: df-fade .2s var(--ease-out);
	}
	.menu-mobile .menu-item { position: relative; border-bottom: 1px solid var(--navy-800); }
	.menu-mobile .sub-menu .menu-item { border: 0; }
	.menu-mobile a {
		display: flex;
		align-items: center;
		gap: 10px;
		min-height: 52px;
		padding: 12px 56px 12px 0;
		font-size: 1.0625rem;
		font-weight: 500;
		color: var(--on-dark);
	}
	.menu-mobile .sub-arrow { display: none; }
	.menu-mobile .is-current > a { color: var(--mint); }
	.menu-mobile .sub-toggle {
		position: absolute;
		top: 4px;
		right: -8px;
		width: 44px;
		height: 44px;
		display: flex;
		align-items: center;
		justify-content: center;
		color: var(--on-dark-soft);
	}
	.menu-mobile .sub-toggle .df-icon { width: 20px; height: 20px; transition: transform .25s var(--ease-out); }
	.menu-mobile .sub-toggle[aria-expanded="true"] .df-icon { transform: rotate(180deg); }
	.menu-mobile .sub-menu { display: none; padding: 0 0 10px 14px; border-left: 1px solid var(--navy-800); margin-bottom: 10px; }
	.menu-mobile .sub-menu.is-open { display: block; }
	.menu-mobile .sub-menu a { min-height: 44px; font-size: 1rem; font-weight: 400; color: var(--on-dark-soft); }
	.menu-mobile .sub-menu .sub-toggle { top: 0; }
	.m-nav-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 24px; }
	.m-nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--on-dark); }
	.m-nav-phone .df-icon { color: var(--mint); }
}
.m-nav { display: none; }
@media (max-width: 560px) {
	.hd-quote { display: none; }
	.hd-logo img { width: 148px; }
}
/* Small phones: the language switch keeps its place; the phone number is in the menu and the hero. */
@media (max-width: 420px) {
	.hd-phone { display: none; }
}

/* ---------- Footer ---------- */

.site-footer { background: var(--surface); border-top: 1px solid var(--line); }
.ft {
	display: grid;
	grid-template-columns: 1.1fr 1fr 1fr 1.15fr;
	gap: 40px clamp(24px, 4vw, 56px);
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin: 0 auto;
	padding: clamp(56px, 7vw, 88px) var(--gutter) clamp(40px, 5vw, 64px);
}
.ft-logo { display: inline-block; }
.ft-logo img { display: block; width: 172px; height: auto; }
.ft-tagline { margin: 14px 0 0; font-size: .9375rem; line-height: 1.5; color: var(--text-soft); }
.ft-heading { margin: 0 0 14px; font-size: .9375rem; font-weight: 650; line-height: 1.4; color: var(--ink); }
.ft-list li + li { margin-top: 10px; }
.ft-list a { display: inline-flex; align-items: flex-start; gap: 10px; font-size: .9375rem; line-height: 1.5; color: var(--text); }
.ft-list a:hover { color: var(--coral-600); }
.ft-list + .ft-heading { margin-top: 32px; }
.ft-contact .df-icon { width: 18px; height: 18px; margin-top: 2px; color: var(--mint-700); }
.ft-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline; /* copyright and "Cookie settings" share one text line */
	justify-content: space-between;
	gap: 4px 24px;
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin: 0 auto;
	padding: 22px var(--gutter) 28px;
	/* the dividing line stops at the gutters, in line with the content */
	background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
	font-size: .875rem;
	color: var(--text-soft);
}
.ft-bottom p { margin: 0; }
@media (max-width: 1024px) {
	.ft { grid-template-columns: 1fr 1fr; }
	.ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.ft { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Forms ---------- */

.df-form { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.df-form > .df-hp, .df-form > input[type="hidden"] { display: none; }
.df-field { min-width: 0; margin: 0; }
.df-field-name, .df-field-message, .df-submit, .df-form-response { grid-column: 1 / -1; }
.df-label { display: block; margin-bottom: 8px; font-size: .875rem; font-weight: 600; line-height: 1.3; color: var(--ink); }
.df-req { margin-left: 2px; color: var(--coral-600); }
.df-field input,
.df-field textarea {
	width: 100%;
	min-height: 52px;
	padding: 13px 16px;
	font-family: var(--font-sans);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.4;
	color: var(--ink);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 14px;
	transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.df-field textarea { min-height: 132px; resize: vertical; }
.df-field input:hover, .df-field textarea:hover { border-color: oklch(0.8 0.02 275); }
.df-field input:focus, .df-field textarea:focus { outline: none; border-color: var(--coral-600); box-shadow: 0 0 0 4px oklch(0.585 0.19 31 / .16); }
.df-field.has-error input, .df-field.has-error textarea { border-color: oklch(0.55 0.2 27); }
.df-field-error { display: block; margin-top: 6px; font-size: .8125rem; line-height: 1.4; color: oklch(0.55 0.2 27); }
.df-field-error:empty { display: none; }
/*
 * Phone: the country code and the number as one field. The code is a native dropdown (keyboard,
 * screen readers and phone pickers all work) laid invisibly over a "+30" label; without JavaScript
 * the plain dropdown shows instead.
 */
.df-tel {
	display: flex;
	align-items: stretch;
	min-height: 52px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 14px;
	transition: border-color .2s, box-shadow .2s;
}
.df-tel:hover { border-color: oklch(0.8 0.02 275); }
.df-tel:focus-within { border-color: var(--coral-600); box-shadow: 0 0 0 4px oklch(0.585 0.19 31 / .16); }
.df-field.has-error .df-tel { border-color: oklch(0.55 0.2 27); }
.df-tel-cc {
	position: relative;
	flex: none;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0 10px 0 16px;
	border-right: 1px solid var(--line);
	border-radius: 13px 0 0 13px;
	font-size: 1rem;
	font-variant-numeric: tabular-nums;
	color: var(--ink);
	transition: background-color .2s;
}
.df-tel-cc:hover, .df-tel-cc:focus-within { background: var(--surface-2); }
.df-tel-cc select { max-width: 8rem; font: inherit; color: inherit; background: transparent; border: 0; }
.df-tel-cc option { color: var(--ink); background: var(--white); }
.df-tel-cc-value, .df-tel-cc .df-icon { display: none; }
.is-enhanced .df-tel-cc-value { display: inline; }
.is-enhanced .df-tel-cc .df-icon { display: block; width: 16px; height: 16px; color: var(--text-soft); }
.is-enhanced .df-tel-cc select { position: absolute; inset: 0; width: 100%; max-width: none; opacity: 0; cursor: pointer; font-size: 16px; color: var(--ink); background: var(--white); }
.df-field .df-tel input { flex: 1; min-width: 0; min-height: 0; border: 0; border-radius: 0 13px 13px 0; background: transparent; box-shadow: none; }
.df-field .df-tel input:hover, .df-field .df-tel input:focus { border: 0; box-shadow: none; }
.df-submit { margin-top: 6px; }
.df-submit .df-button { width: 100%; min-height: 56px; font-size: 1.0625rem; }
.df-form.is-sending .df-button { opacity: .6; pointer-events: none; }
.df-form-response { font-size: .9375rem; font-weight: 500; }
.df-form-response:empty { display: none; }
.df-form-response.is-ok { color: var(--mint-700); }
.df-form-response.is-error { color: oklch(0.55 0.2 27); }
.df-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.grecaptcha-badge { visibility: hidden; }
@media (max-width: 560px) { .df-form { grid-template-columns: 1fr; } }

/* ---------- Call to action with form ---------- */

.cta { padding: var(--space-section) var(--gutter); }
.cta-dark { position: relative; overflow: hidden; background: var(--navy-950); color: var(--on-dark); }
.cta-dark::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(60% 70% at 0% 100%, oklch(0.86 0.14 172 / .10), transparent 70%), radial-gradient(50% 60% at 100% 0%, oklch(0.67 0.185 31 / .10), transparent 70%);
	pointer-events: none;
}
.cta-light { background: var(--surface); color: var(--text); }
.cta-inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	gap: clamp(36px, 6vw, 96px);
	align-items: start;
	max-width: var(--container);
	margin: 0 auto;
}
.cta-title { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem); font-weight: 720; line-height: 1.06; letter-spacing: -0.03em; color: inherit; }
.cta-light .cta-title { color: var(--ink); }
.cta-text { max-width: 46ch; margin: 22px 0 0; font-size: 1.125rem; line-height: 1.65; }
.cta-dark .cta-text { color: var(--on-dark-soft); }
.cta-contact { display: grid; gap: 12px; margin-top: 36px; }
.cta-contact a { display: inline-flex; align-items: center; gap: 14px; font-size: 1.125rem; font-weight: 600; }
.cta-contact .df-icon { width: 44px; height: 44px; padding: 12px; border-radius: 50%; border: 1px solid var(--line); color: var(--coral-600); }
.cta-dark .cta-contact a { color: var(--on-dark); }
.cta-dark .cta-contact a:hover { color: var(--mint); }
.cta-dark .cta-contact .df-icon { border-color: var(--navy-800); color: var(--mint); }
.cta-form { padding: clamp(24px, 3.2vw, 40px); background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); }
.cta-dark .cta-form { background: var(--navy-900); border: 1px solid var(--navy-800); box-shadow: none; }
.cta-dark .df-label { color: var(--on-dark); }
.cta-dark .df-req { color: var(--coral-on-dark); }
.cta-dark .df-field input, .cta-dark .df-field textarea { color: var(--on-dark); background: var(--navy-950); border-color: var(--navy-800); }
.cta-dark .df-field input:hover, .cta-dark .df-field textarea:hover { border-color: var(--navy-700); }
.cta-dark .df-field input:focus, .cta-dark .df-field textarea:focus { border-color: var(--mint); box-shadow: 0 0 0 4px oklch(0.86 0.14 172 / .16); }
.cta-dark .df-form-response.is-ok { color: var(--mint); }
.cta-dark .df-form-response.is-error, .cta-dark .df-field-error { color: var(--coral-on-dark); }
.cta-dark .df-tel { background: var(--navy-950); border-color: var(--navy-800); }
.cta-dark .df-tel:hover { border-color: var(--navy-700); }
.cta-dark .df-tel:focus-within { border-color: var(--mint); box-shadow: 0 0 0 4px oklch(0.86 0.14 172 / .16); }
.cta-dark .df-tel-cc { color: var(--on-dark); border-right-color: var(--navy-800); }
.cta-dark .df-tel-cc:hover, .cta-dark .df-tel-cc:focus-within { background: var(--navy-900); }
.cta-dark .is-enhanced .df-tel-cc .df-icon { color: var(--on-dark-soft); }
.cta-dark .df-field .df-tel input { background: transparent; }
@media (max-width: 900px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---------- Popup ---------- */

.df-popup {
	width: min(560px, calc(100vw - 32px));
	padding: 0;
	border: 0;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: 0 40px 100px oklch(0.17 0.045 275 / .45);
}
.df-popup[open] { animation: df-rise .35s var(--ease-out); }
.df-popup::backdrop { background: oklch(0.17 0.045 275 / .75); backdrop-filter: blur(3px); }
.df-popup-close {
	position: absolute; top: 12px; right: 12px; width: 40px; height: 40px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%; background: oklch(1 0 0 / .92); color: var(--ink); font-size: 20px;
	box-shadow: 0 4px 12px oklch(0.17 0.045 275 / .2);
}

/* ---------- Cookie consent (inc/consent.php) ---------- */

.df-button-ink { background: var(--ink); border-color: var(--ink); color: var(--white); }
.df-button-ink:hover { background: var(--navy-700); border-color: var(--navy-700); }
.df-consent {
	position: fixed;
	z-index: var(--z-consent);
	right: 24px; /* bottom right: the funding logos sit bottom left in the home hero */
	bottom: 24px;
	width: min(440px, calc(100vw - 48px));
	max-height: calc(100dvh - 48px);
	overflow-y: auto;
	padding: 24px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 30px 70px -20px oklch(0.17 0.045 275 / .45), 0 2px 6px oklch(0.17 0.045 275 / .08);
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.df-consent.is-in { opacity: 1; transform: none; }
.df-consent-title { margin-bottom: 8px; font-size: 1.125rem; font-weight: 700; line-height: 1.3; color: var(--ink); }
.df-consent-text { margin: 0; font-size: .875rem; line-height: 1.6; color: var(--text); }
.df-consent-text a, .df-consent-intro a { color: var(--coral-600); text-decoration: underline; text-underline-offset: 2px; }
.df-consent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.df-consent .df-consent-actions .df-button { flex: 1 1 0; min-width: 0; }
.df-consent-more {
	flex: 1 0 100%;
	min-height: 40px;
	font-size: .875rem;
	font-weight: 600;
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: oklch(0.23 0.045 275 / .3);
}
.df-consent-more:hover { color: var(--coral-600); text-decoration-color: currentColor; }
.df-consent-dialog { width: min(600px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); }
.df-consent-form { padding: clamp(24px, 4vw, 36px); }
.df-consent-dialog-title { padding-right: 44px; font-size: 1.5rem; font-weight: 720; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); }
.df-consent-intro { margin: 10px 0 0; font-size: .9375rem; line-height: 1.6; color: var(--text); }
.df-consent-cats { margin-top: 20px; border-top: 1px solid var(--line); }
.df-consent-cat { padding: 16px 0; border-bottom: 1px solid var(--line); }
.df-consent-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.df-consent-cat-name { font-size: 1rem; font-weight: 650; color: var(--ink); }
.df-consent-cat-desc { margin: 6px 0 0; max-width: 52ch; font-size: .875rem; line-height: 1.55; color: var(--text); }
.df-consent-always { font-size: .8125rem; font-weight: 600; color: var(--mint-700); white-space: nowrap; }
.df-consent-dialog .df-consent-actions { margin-top: 22px; }
.df-consent-dialog .df-consent-actions .df-button { flex: 1 1 auto; }
/* Switch */
.df-switch { position: relative; display: inline-flex; flex: none; cursor: pointer; }
.df-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.df-switch-ui { position: relative; width: 46px; height: 28px; border-radius: var(--radius-pill); background: oklch(0.8 0.015 275); transition: background-color .25s var(--ease-out); }
.df-switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px oklch(0 0 0 / .25); transition: transform .25s var(--ease-out); }
.df-switch input:checked + .df-switch-ui { background: var(--coral-600); }
.df-switch input:checked + .df-switch-ui::after { transform: translateX(18px); }
.df-switch input:focus-visible + .df-switch-ui { outline: 2px solid var(--coral-600); outline-offset: 3px; }
/* Footer link that reopens the settings */
.ft-cookies { padding: 8px 0; font-size: .875rem; font-weight: 500; color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: oklch(0.39 0.03 275 / .35); }
.ft-cookies:hover { color: var(--coral-600); text-decoration-color: currentColor; }
@media (max-width: 560px) {
	.df-consent { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 20px; }
	.ft-bottom { padding: 18px var(--gutter) 20px; }
	.ft-cookies { padding: 4px 0; }
}

/* ---------- 404 ---------- */

.nf { background: var(--surface); padding: var(--space-section) var(--gutter); text-align: center; }
.nf-image { width: min(420px, 70%); margin: 0 auto; }
.nf-code { font-size: clamp(5rem, 3rem + 8vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; margin: 20px 0; color: var(--ink); }
.nf-text { font-size: 1.25rem; font-weight: 500; margin-bottom: 30px; color: var(--text); }

.pending { padding: 120px 0; text-align: center; }
.pending h1 { font-size: 40px; margin-bottom: 20px; }

/* ==========================================================================
   Page families
   ========================================================================== */

/* ---------- Shared section pieces ---------- */

.accent { color: var(--coral); }
.sec-head { text-align: center; padding: 0 10px; }
.sec-title { font-size: clamp(2.1rem, 1.45rem + 2.3vw, 3.4rem); font-weight: 720; line-height: 1.06; letter-spacing: -0.025em; color: var(--ink); }
.sec-sub { margin: 0; font-size: 1.125rem; font-weight: 400; line-height: 1.6; color: var(--text); }
.sec-head-light .sec-title { color: var(--on-dark); }
.sec-head-light .sec-sub { color: var(--on-dark-soft); }
.sec-head-light .accent, .hm-hero .accent, .cta-dark .accent { color: var(--coral-on-dark); }
.sec-head-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: end;
	gap: 18px clamp(32px, 6vw, 96px);
	max-width: var(--container);
	margin: 0 auto clamp(40px, 5vw, 64px);
	padding: 0;
	text-align: left;
}
.sec-head-split .sec-sub { max-width: 46ch; justify-self: end; }
@media (max-width: 860px) {
	.sec-head-split { grid-template-columns: 1fr; }
	.sec-head-split .sec-sub { justify-self: start; }
}
.lottie { width: 100%; aspect-ratio: 16 / 9; }
.lottie svg { width: 100% !important; height: 100% !important; }

/* Carousel (scroll-snap; JS adds dots and autoplay) */
.carousel { position: relative; }
.carousel-track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 auto; scroll-snap-align: start; }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 28px; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.carousel-nav .carousel-dots { margin: 0; }
.carousel-dot { width: 8px; height: 8px; border-radius: var(--radius-pill); background: oklch(0.23 0.045 275 / .2); transition: width .35s var(--ease-out), background-color .35s; }
.carousel-dot[aria-current="true"] { width: 28px; background: var(--coral-600); }
.carousel-prev, .carousel-next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: var(--white);
	color: var(--ink);
	transition: background-color .2s, color .2s, border-color .2s;
}
.carousel.is-static .carousel-nav, .carousel.is-static .carousel-dots { display: none; }
.carousel-prev .df-icon, .carousel-next .df-icon { width: 20px; height: 20px; }
.carousel-prev:hover, .carousel-next:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* ---------- Home ---------- */

/* The hero fills the first screen on desktop (minus the header), as the old one did. */
.hm-hero {
	position: relative;
	overflow: hidden;
	display: grid;
	align-items: center;
	padding: clamp(40px, 6vw, 96px) var(--gutter) clamp(48px, 7vw, 104px);
	background: var(--navy-950);
	color: var(--on-dark);
	isolation: isolate;
}
.hm-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background: radial-gradient(40% 50% at 78% 45%, oklch(0.86 0.14 172 / .11), transparent 70%);
}
/*
 * The logo's fingerprint mark (parts/fingerprint.php), centred behind the hero picture as a faint
 * ring: the middle is masked out so the picture stays clear. It opens out on load, then a scan
 * line passes over the ridges once (masked to the mark, assets/img/mark.svg).
 */
.hm-hero-print, .bk-hero-print {
	--print-alpha: .07;
	--print-hole: radial-gradient(closest-side, transparent 42%, #000 78%);
	position: absolute;
	z-index: -1;
	top: 50%;
	left: 50%;
	width: 175%;
	aspect-ratio: 345 / 254;
	transform: translate(-50%, -50%);
	color: var(--mint);
	pointer-events: none;
}
.hm-hero-anim, .bk-hero-image { position: relative; z-index: 0; isolation: isolate; }
.df-print {
	width: 100%;
	height: auto;
	opacity: var(--print-alpha);
	-webkit-mask-image: var(--print-hole);
	mask-image: var(--print-hole);
	animation: df-print-in 1.8s var(--ease-out) .15s both;
}
.hm-hero-print::after, .bk-hero-print::after {
	content: "";
	position: absolute;
	inset: 0;
	-webkit-mask: url(../img/mark.svg) center / contain no-repeat, var(--print-hole);
	-webkit-mask-composite: source-in;
	mask: url(../img/mark.svg) center / contain no-repeat, var(--print-hole);
	mask-composite: intersect;
	background: linear-gradient(to bottom, transparent, oklch(0.86 0.14 172 / .9) 50%, transparent) 0 -40% / 100% 24% no-repeat;
	opacity: 0;
	animation: df-scan 2.6s cubic-bezier(.45, 0, .2, 1) 1.2s both;
}
@keyframes df-print-in { from { opacity: 0; clip-path: circle(0% at 52% 50%); } to { clip-path: circle(75% at 52% 50%); } }
@keyframes df-scan {
	0% { opacity: 0; background-position: 0 -40%; }
	15%, 80% { opacity: .22; }
	100% { opacity: 0; background-position: 0 140%; }
}

.hm-hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	gap: clamp(32px, 5vw, 80px);
	align-items: center;
	max-width: var(--container);
	margin: 0 auto;
}
.hm-hero-text > * { animation: df-rise .9s var(--ease-out) both; }
.hm-hero-text > :nth-child(2) { animation-delay: .08s; }
.hm-hero-text > :nth-child(3) { animation-delay: .16s; }
.hm-hero-text > :nth-child(4) { animation-delay: .24s; }
.hm-hero-text > :nth-child(5) { animation-delay: .32s; }
.hm-hero-title {
	font-size: clamp(2.6rem, min(1.4rem + 3vw, 7vh), 4.25rem);
	font-weight: 760;
	line-height: 1.03;
	letter-spacing: -0.03em;
	color: var(--white);
}
.hm-hero-copy { max-width: 62ch; margin-top: clamp(16px, 2.6vh, 28px); font-size: clamp(1rem, 2.1vh, 1.1875rem); line-height: 1.62; color: var(--on-dark-soft); }
.hm-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: clamp(24px, 4vh, 40px); }
.hm-hero-call { display: inline-flex; align-items: center; gap: 14px; line-height: 1.25; }
.hm-hero-call-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--navy-800); color: var(--mint); transition: background-color .25s, border-color .25s; }
.hm-hero-call-icon .df-icon { width: 18px; height: 18px; }
.hm-hero-call-label { display: block; font-size: .8125rem; color: var(--on-dark-soft); }
.hm-hero-call-number { display: block; font-size: 1.0625rem; font-weight: 600; color: var(--white); }
.hm-hero-call:hover .hm-hero-call-icon { background: var(--navy-900); border-color: var(--mint); }
.hm-hero-anim { animation: df-fade 1.2s var(--ease-out) .2s both; }
.hm-hero-anim .lottie { width: 100%; max-width: min(580px, 70vh); aspect-ratio: 1 / 1; margin-inline: auto; }
@media (min-width: 1025px) {
	.hm-hero { min-height: calc(100svh - 77px); }   /* the first screen, minus the header */
	.admin-bar .hm-hero { min-height: calc(100svh - 109px); }
}

.hm-about { padding: var(--space-section) var(--gutter); background: var(--white); }
.hm-about-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: center;
	max-width: var(--container);
	margin: 0 auto;
}
.hm-about-copy { max-width: 60ch; margin: clamp(20px, 2.4vw, 28px) 0 clamp(28px, 3vw, 36px); font-size: 1.125rem; line-height: 1.7; color: var(--text); }
.hm-about-anim { --delay: .1s; }
.hm-about-anim .lottie { aspect-ratio: 1 / 1; max-width: 560px; margin-inline: auto; }

.hm-services { padding: var(--space-section) var(--gutter); background: var(--surface); }
.hm-cards {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 20px;
	max-width: var(--container);
	margin: 0 auto;
}
.hm-card {
	position: relative;
	grid-column: span 5;
	display: grid;
	grid-template-rows: auto 1fr;
	gap: 24px;
	padding: clamp(24px, 2.8vw, 40px);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s;
}
.hm-card:nth-child(4n+2), .hm-card:nth-child(4n+3) {
	grid-column: span 7;
	grid-template-columns: minmax(0, 1fr) minmax(160px, 38%);
	grid-template-rows: auto;
	align-items: end;
}
.hm-card:nth-child(4n+2) .hm-card-image, .hm-card:nth-child(4n+3) .hm-card-image { order: 2; align-self: center; justify-content: center; }
.hm-card:nth-child(4n+2) .hm-card-image img, .hm-card:nth-child(4n+3) .hm-card-image img { height: clamp(150px, 15vw, 220px); }
.hm-card:nth-child(n) { --delay: 0s; }
.hm-card:nth-child(2n) { --delay: .08s; }
.hm-card-image { display: flex; }
.hm-card-image img { height: 150px; width: auto; max-width: 100%; object-fit: contain; transition: transform .5s var(--ease-out); }
.hm-card-text { display: flex; flex-direction: column; align-items: flex-start; }
.hm-card-title { padding-right: 56px; font-size: clamp(1.375rem, 1.15rem + .7vw, 1.75rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
.hm-card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.hm-card-copy { margin-top: 12px; font-size: 1rem; line-height: 1.65; color: var(--text); }
.hm-card-buttons { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hm-card-buttons a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 6px 14px;
	border-radius: var(--radius-pill);
	border: 1px solid var(--line);
	background: var(--surface);
	font-size: .875rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--ink);
}
.hm-card-buttons a:hover, .hm-card-buttons a:focus-visible { background: var(--ink); border-color: var(--ink); color: var(--white); }
.hm-card-arrow {
	position: absolute;
	top: clamp(20px, 2.4vw, 32px);
	right: clamp(20px, 2.4vw, 32px);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--surface-2);
	color: var(--ink);
	transition: background-color .3s, color .3s, transform .4s var(--ease-out);
}
.hm-card-arrow .df-icon { width: 20px; height: 20px; }
.hm-card:hover { transform: translateY(-4px); border-color: oklch(0.67 0.185 31 / .45); box-shadow: var(--shadow-lift); }
.hm-card:hover .hm-card-arrow { background: var(--coral-600); color: var(--white); transform: rotate(-45deg); }
.hm-card:hover .hm-card-image img { transform: scale(1.04) translateY(-4px); }
.hm-card:focus-within { border-color: oklch(0.67 0.185 31 / .45); }

.hm-products {
	position: relative;
	padding: var(--space-section) var(--gutter);
	background: var(--navy-950);
	color: var(--on-dark);
	overflow: hidden;
	isolation: isolate;
}
.hm-products::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(55% 40% at 50% 0%, oklch(0.86 0.14 172 / .09), transparent 70%);
}
.hm-products-list { display: grid; gap: clamp(48px, 7vw, 104px); max-width: var(--container); margin: 0 auto; }
.hm-product {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
	gap: clamp(28px, 5vw, 80px);
	align-items: center;
}
.hm-product.is-reversed { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
.hm-product.is-reversed .hm-product-image { order: 2; }
.hm-product-image {
	padding: clamp(18px, 3vw, 44px);
	border-radius: var(--radius-lg);
	background: linear-gradient(150deg, oklch(0.97 0.008 275), oklch(0.9 0.045 180));
}
.hm-product-image img { width: 100%; transition: transform .7s var(--ease-out); }
.hm-product:hover .hm-product-image img { transform: scale(1.02); }
.hm-product-title { font-size: clamp(1.75rem, 1.35rem + 1.3vw, 2.5rem); font-weight: 720; line-height: 1.08; letter-spacing: -0.03em; color: var(--white); }
.hm-product-copy { max-width: 42ch; margin: 18px 0 28px; font-size: 1.0625rem; line-height: 1.65; color: var(--on-dark-soft); }

.hm-cases { padding: var(--space-section) var(--gutter); background: var(--white); }
.hm-cases-carousel { max-width: calc(var(--container) + 24px); margin: 0 auto; }
.hm-cases-carousel .carousel-track { gap: 0; padding: 4px 0 24px; }
.hm-cases-carousel .carousel-slide { width: calc(100% / 3); padding: 0 12px; }
.case-card {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	padding: 12px 12px 24px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s;
}
.case-card-media { overflow: hidden; margin-bottom: 20px; border-radius: 18px; background: var(--surface-2); }
.case-card-image { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: top center; transition: transform .7s var(--ease-out); }
/* Product mockups on a transparent background sit whole on the light product stage. */
.case-card-media.is-contain { background: linear-gradient(150deg, oklch(0.97 0.008 275), oklch(0.9 0.045 180)); }
.case-card-media.is-contain .case-card-image { object-fit: contain; object-position: center; padding: 6%; }
.case-card > :not(.case-card-media) { margin-left: 12px; margin-right: 12px; }
.case-card-cat { font-size: .8125rem; font-weight: 600; line-height: 1.3; color: var(--coral-600); }
.case-card-title { margin-top: 6px; margin-bottom: 10px; font-size: 1.375rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); }
.case-card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.case-card-copy { flex: 1; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; font-size: .9688rem; line-height: 1.6; color: var(--text); }
.case-card-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: .9375rem; font-weight: 600; color: var(--ink); }
.case-card-more .df-icon { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.case-card:hover { transform: translateY(-4px); border-color: oklch(0.67 0.185 31 / .45); box-shadow: var(--shadow-lift); }
.case-card:hover .case-card-image { transform: scale(1.04); }
.case-card:hover .case-card-more { color: var(--coral-600); }
.case-card:hover .case-card-more .df-icon { transform: translateX(4px); }

@media (max-width: 1024px) {
	.hm-hero-inner { grid-template-columns: 1fr; }
	.hm-hero-anim .lottie { max-width: 440px; }
	.hm-about-inner { grid-template-columns: 1fr; }
	.hm-about-anim .lottie { max-width: 420px; }
	.hm-card, .hm-card:nth-child(4n+2), .hm-card:nth-child(4n+3) { grid-column: span 6; grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: stretch; }
	.hm-card:nth-child(4n+2) .hm-card-image, .hm-card:nth-child(4n+3) .hm-card-image { order: 0; justify-content: flex-start; }
	.hm-card:nth-child(4n+2) .hm-card-image img, .hm-card:nth-child(4n+3) .hm-card-image img { height: 150px; }
	.hm-product, .hm-product.is-reversed { grid-template-columns: 1fr; }
	.hm-product.is-reversed .hm-product-image { order: 0; }
	.hm-cases-carousel .carousel-slide { width: 50%; }
}
@media (max-width: 680px) {
	.hm-card, .hm-card:nth-child(4n+2), .hm-card:nth-child(4n+3) { grid-column: 1 / -1; }
	.hm-card-image img, .hm-card:nth-child(4n+2) .hm-card-image img, .hm-card:nth-child(4n+3) .hm-card-image img { height: 120px; }
	.hm-cases-carousel .carousel-slide { width: 88%; padding: 0 8px; }
}

/* ---------- Blocks (parts/blocks/*.php): service pages and other families ---------- */

/* Sections alternate white / surface / night navy; each block sets its own. */
.df-tag {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 4px 12px;
	border-radius: var(--radius-pill);
	background: var(--surface-2);
	font-size: .8125rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--ink);
}
.df-button-coral { background: transparent; color: var(--coral-600); border-color: oklch(0.585 0.19 31 / .4); }
.df-button-coral:hover { background: var(--coral-600); border-color: var(--coral-600); color: var(--white); }

/* Hero */
.bk-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding: clamp(48px, 7vw, 104px) var(--gutter) clamp(64px, 8vw, 112px);
	background: var(--navy-950);
	color: var(--on-dark);
}
.bk-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background: radial-gradient(40% 55% at 80% 45%, oklch(0.86 0.14 172 / .09), transparent 70%);
}
.bk-hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
	gap: clamp(32px, 5vw, 80px);
	align-items: center;
	max-width: var(--container);
	margin: 0 auto;
}
.bk-hero-text > * { animation: df-rise .9s var(--ease-out) both; }
.bk-hero-text > :nth-child(2) { animation-delay: .08s; }
.bk-hero-text > :nth-child(3) { animation-delay: .16s; }
.bk-hero-eyebrow {
	display: inline-flex;
	margin: 0 0 20px;
	padding: 6px 14px;
	border-radius: var(--radius-pill);
	background: var(--navy-900);
	box-shadow: inset 0 0 0 1px var(--navy-800);
	font-size: .875rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--mint);
}
.bk-hero-title {
	font-size: clamp(2.4rem, 1.5rem + 3vw, 4.25rem);
	font-weight: 760;
	line-height: 1.04;
	letter-spacing: -0.03em;
	color: var(--white);
}
.bk-hero .accent { color: var(--coral-on-dark); }
.bk-hero-copy { max-width: 62ch; margin-top: clamp(18px, 2.2vw, 26px); font-size: clamp(1.0625rem, 1rem + .2vw, 1.1875rem); line-height: 1.65; color: var(--on-dark-soft); }
.bk-hero-copy p { margin-bottom: .8em; }
.bk-hero-image { display: flex; justify-content: center; animation: df-fade 1.1s var(--ease-out) .2s both; }
.bk-hero-image img { width: auto; max-width: 100%; max-height: 480px; object-fit: contain; }
.bk-hero.is-reversed .bk-hero-inner { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.bk-hero.is-reversed .bk-hero-image { order: -1; }
.bk-hero.is-reversed .bk-hero-image img { max-height: 560px; }
.bk-hero.is-centered { padding-block: clamp(72px, 10vw, 152px); text-align: center; }
.bk-hero.is-centered .bk-hero-inner { grid-template-columns: 1fr; max-width: 880px; }
.bk-hero.is-centered .bk-hero-copy { margin-inline: auto; }
.bk-hero.is-centered .bk-hero-print { --print-alpha: .05; width: min(900px, 110vw); }

/* Intro: statement after the hero */
.bk-intro {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 20px clamp(32px, 6vw, 96px);
	align-items: end;
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin: 0 auto;
	padding: clamp(64px, 8vw, 120px) var(--gutter) clamp(32px, 4vw, 56px);
}
.bk-intro-title { font-size: clamp(2rem, 1.4rem + 2vw, 3.1rem); font-weight: 720; line-height: 1.08; letter-spacing: -0.025em; color: var(--ink); }
.bk-intro-title > .accent:first-child { color: var(--coral); }
.bk-intro-text { max-width: 58ch; margin: 0; font-size: 1.125rem; line-height: 1.65; color: var(--text); }
.bk-intro:has(> :only-child) { grid-template-columns: 1fr; }

/* Showcase (portfolio carousel bleeding off the right edge) */
.bk-showcase {
	display: grid;
	grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
	gap: clamp(28px, 4vw, 64px);
	align-items: center;
	padding: clamp(32px, 4vw, 56px) 0 clamp(56px, 7vw, 96px) max(var(--gutter), calc((100vw - var(--container)) / 2));
	overflow: hidden;
}
.bk-showcase-text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.bk-showcase-title { font-size: clamp(1.625rem, 1.3rem + 1vw, 2.25rem); font-weight: 720; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
.bk-showcase .df-button { margin-top: 8px; }
.bk-showcase-media { min-width: 0; }
.bk-showcase-carousel .carousel-track { gap: 20px; padding-right: var(--gutter); }
.bk-showcase-carousel .carousel-slide { width: min(480px, 70vw); margin: 0; }
.bk-showcase-carousel img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--radius); background: var(--surface-2); }
.bk-showcase-carousel figcaption { margin-top: 10px; font-size: .9375rem; font-weight: 500; color: var(--text-soft); }
.bk-showcase-carousel .carousel-dots { justify-content: flex-start; margin-top: 18px; }

/* Strip ("Get your custom solution!"): a contained night panel */
.bk-strip { padding: 0 var(--gutter) clamp(56px, 7vw, 96px); }
.bk-strip-inner {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px 40px;
	max-width: var(--container);
	margin: 0 auto;
	padding: clamp(32px, 4.5vw, 56px) clamp(24px, 4.5vw, 64px);
	background: var(--navy-950);
	border-radius: var(--radius-lg);
	isolation: isolate;
}
.bk-strip-inner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 100% 50%, oklch(0.67 0.185 31 / .16), transparent 70%); }
.bk-strip-title { font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem); font-weight: 720; line-height: 1.1; letter-spacing: -0.025em; color: var(--white); }
.bk-strip-title .accent { color: var(--coral-on-dark); }
.bk-strip-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* Features ("Advantages of …"): a ruled list, not boxes */
.bk-features { padding: clamp(64px, 8vw, 120px) var(--gutter); background: var(--surface); }
.bk-features .sec-title { max-width: var(--container); margin: 0 auto clamp(32px, 4vw, 56px); }
.bk-features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
	gap: 0 clamp(24px, 4vw, 56px);
	max-width: var(--container);
	margin: 0 auto;
}
.bk-feature { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; padding: 28px 0; border-top: 1px solid var(--line); }
.bk-feature-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.bk-feature-icon img { width: 28px; height: 28px; object-fit: contain; }
.bk-feature-title { margin-bottom: 6px; font-size: 1.125rem; font-weight: 650; line-height: 1.3; color: var(--ink); }
.bk-feature-text { margin: 0; font-size: .9688rem; line-height: 1.6; color: var(--text); }
.bk-feature:nth-child(3n+2) { --delay: .06s; }
.bk-feature:nth-child(3n) { --delay: .12s; }

/* Process (numbered steps: a real sequence) */
.bk-process { padding: clamp(64px, 8vw, 120px) var(--gutter); background: var(--surface); }
.bk-process .sec-title { max-width: var(--container); margin: 0 auto clamp(32px, 4vw, 56px); }
.bk-steps {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: 8px clamp(24px, 3.5vw, 48px);
	max-width: var(--container);
	margin: 0 auto;
	padding: 0;
}
.bk-step { padding: 26px 0 28px; border-top: 1px solid var(--line); }
.bk-step:nth-child(4n+2) { --delay: .05s; }
.bk-step:nth-child(4n+3) { --delay: .1s; }
.bk-step:nth-child(4n) { --delay: .15s; }
.bk-step-num { display: block; margin-bottom: 18px; font-size: 2.75rem; font-weight: 300; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--coral-600); }
.bk-step-title { margin-bottom: 8px; font-size: 1.125rem; font-weight: 650; line-height: 1.3; color: var(--ink); }
.bk-step-text { margin: 0; font-size: .9688rem; line-height: 1.6; color: var(--text); }
.bk-process.on-band { background: var(--navy-950); }
.bk-process.on-band .sec-title { color: var(--white); }
.bk-process.on-band .accent { color: var(--coral-on-dark); }
.bk-process.on-band .bk-step { border-color: var(--navy-800); }
.bk-process.on-band .bk-step-num { color: var(--mint); }
.bk-process.on-band .bk-step-title { color: var(--white); }
.bk-process.on-band .bk-step-text { color: var(--on-dark-soft); }
.bk-offer + .bk-process { background: var(--surface); }

/* We excel in (animated icons) */
.bk-excel { padding: clamp(64px, 8vw, 120px) var(--gutter); background: var(--white); }
.bk-excel .sec-title { max-width: var(--container); margin: 0 auto clamp(32px, 4vw, 56px); }
.bk-excel-panel {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-width: var(--container);
	margin: 0 auto;
	overflow: hidden;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
}
/* Hairlines between cells: each cell draws its right and bottom edge; the panel clips the outer ones. */
.bk-excel-item { margin: 0 -1px -1px 0; padding: clamp(24px, 3vw, 36px); box-shadow: inset -1px -1px 0 var(--line); }
@media (max-width: 1024px) { .bk-excel-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bk-excel-panel { grid-template-columns: 1fr; } }
.bk-excel-icon { width: 56px; aspect-ratio: 1 / 1; margin-bottom: 18px; }
.bk-excel-title { margin-bottom: 8px; font-size: 1.125rem; font-weight: 650; line-height: 1.3; color: var(--ink); }
.bk-excel-text { font-size: .9688rem; line-height: 1.6; color: var(--text); }
.bk-excel.on-band { background: var(--navy-950); }
.bk-excel.on-band .sec-title { color: var(--white); }
.bk-excel.on-band .accent { color: var(--coral-on-dark); }
.bk-excel.on-band .bk-excel-panel { background: var(--navy-900); border-color: var(--navy-800); }
.bk-excel.on-band .bk-excel-item { box-shadow: inset -1px -1px 0 var(--navy-800); }
.bk-excel.on-band .bk-excel-title { color: var(--white); }
.bk-excel.on-band .bk-excel-text { color: var(--on-dark-soft); }

/* Case studies (big rows on night navy) and category hub cards (on surface) */
.bk-cases { padding: clamp(64px, 8vw, 120px) var(--gutter); background: var(--navy-950); }
.bk-cards { padding: clamp(40px, 5vw, 72px) var(--gutter) clamp(64px, 8vw, 120px); background: var(--surface); }
.bk-case-list { display: grid; gap: clamp(20px, 2.5vw, 32px); max-width: var(--container); margin: 0 auto; }
.bk-case {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	gap: clamp(24px, 4.5vw, 72px);
	align-items: center;
	padding: clamp(16px, 2vw, 24px);
	padding-right: clamp(20px, 4vw, 56px);
	background: var(--white);
	border-radius: var(--radius-lg);
}
.bk-cards .bk-case { border: 1px solid var(--line); }
.bk-case.is-reversed { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); padding-right: clamp(16px, 2vw, 24px); padding-left: clamp(20px, 4vw, 56px); }
.bk-case.is-reversed .bk-case-image { order: 2; }
.bk-case-image { min-width: 0; overflow: hidden; border-radius: 18px; background: var(--surface-2); }
.bk-case-image img { width: 100%; transition: transform .7s var(--ease-out); }
.bk-case:hover .bk-case-image img { transform: scale(1.02); }
.bk-case-text { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-block: 12px; }
.bk-case-logo { width: 140px; }
.bk-case-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); font-weight: 720; line-height: 1.1; letter-spacing: -0.025em; color: var(--ink); }
.bk-case-copy { max-width: 48ch; margin: 0; font-size: 1rem; line-height: 1.65; color: var(--text); }
.bk-case-platform img { width: 32px; height: 32px; }
.bk-case-button { margin-top: 8px; }
.bk-case-slider .carousel-slide { width: 100%; }
.bk-case-slider img { width: 100%; aspect-ratio: 724 / 416; object-fit: cover; }
.bk-case-slider .carousel-dots { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0; }
.bk-case-slider .carousel-dot { background: oklch(1 0 0 / .6); box-shadow: 0 0 0 1px oklch(0 0 0 / .08); }
.bk-case-slider .carousel-dot[aria-current="true"] { background: var(--white); }
.bk-cases + .cta-dark { border-top: 1px solid var(--navy-800); }

/* Technology stack */
.bk-tech { padding: clamp(64px, 8vw, 120px) var(--gutter); background: var(--white); }
.bk-tech-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; max-width: var(--container); margin: 0 auto; }
.bk-tech .sec-title { margin-bottom: 20px; }
.bk-tech-copy { max-width: 52ch; margin: 0; font-size: 1.125rem; line-height: 1.65; color: var(--text); }
.bk-tech-image { display: flex; justify-content: center; padding: clamp(24px, 4vw, 56px); background: var(--navy-950); border-radius: var(--radius-lg); }
.bk-tech-image img { width: 100%; max-width: 520px; }

/* What we offer (SEO, PPC): two ruled columns */
.bk-offer { padding: clamp(64px, 8vw, 120px) var(--gutter); background: var(--white); }
.bk-offer .sec-title { max-width: var(--container); margin: 0 auto clamp(32px, 4vw, 56px); }
.bk-offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 0 clamp(24px, 4vw, 64px); max-width: var(--container); margin: 0 auto; }
.bk-offer-card { padding: 26px 0; border-top: 1px solid var(--line); }
.bk-offer-card:nth-child(2n) { --delay: .06s; }
.bk-offer-title { margin-bottom: 8px; font-size: 1.1875rem; font-weight: 650; line-height: 1.3; color: var(--ink); }
.bk-offer-text { margin: 0; font-size: 1rem; line-height: 1.65; color: var(--text); }

/* Why choose us (app development) */
.bk-why { padding: clamp(64px, 8vw, 120px) var(--gutter); background: var(--navy-950); text-align: center; overflow: hidden; }
.bk-why-inner { max-width: 1040px; margin: 0 auto; }
.bk-why .sec-title { color: var(--white); }
.bk-why .accent { color: var(--coral-on-dark); }
.bk-why-copy { max-width: 72ch; margin: 22px auto 0; font-size: 1.0625rem; line-height: 1.7; color: var(--on-dark-soft); }
.bk-why-image { margin-top: clamp(32px, 4vw, 56px); }
.bk-why-image img { margin: 0 auto; }
.bk-why-button { margin-top: clamp(28px, 3vw, 40px); }

/* Single picture with a title */
.bk-figure { max-width: calc(1040px + 2 * var(--gutter)); margin: 0 auto; padding: clamp(64px, 8vw, 120px) var(--gutter) clamp(32px, 4vw, 56px); text-align: center; }
.bk-figure .sec-title { margin-bottom: clamp(28px, 3.5vw, 48px); }
.bk-figure-image { margin: 0 auto; }
.bk-figure-image img { width: 100%; }

.bk-spacer { height: min(var(--h), 64px); }

/* Services hub list: home cards (see .hm-cards) */
.bk-services .sec-head-split { grid-template-columns: 1fr; }

/* Alternating picture/text rows (product pages, about, PMS landings) */
.bk-rows { padding: clamp(56px, 7vw, 104px) var(--gutter); }
.bk-rows-head { max-width: var(--container); margin: 0 auto clamp(32px, 4vw, 56px); font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); font-weight: 720; line-height: 1.1; letter-spacing: -0.025em; color: var(--ink); text-align: center; }
.bk-row {
	display: grid;
	grid-template-columns: minmax(0, var(--iw, 50%)) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 80px);
	align-items: center;
	max-width: var(--container);
	margin: 0 auto;
}
.bk-row + .bk-row { margin-top: clamp(48px, 7vw, 104px); }
.bk-row.is-reversed { grid-template-columns: minmax(0, 1fr) minmax(0, var(--iw, 50%)); }
.bk-row.is-reversed .bk-row-image { order: 2; }
.bk-row-image img { width: 100%; }
.bk-row-text { min-width: 0; }
.bk-row-title { margin-bottom: 16px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); font-weight: 720; line-height: 1.12; letter-spacing: -0.025em; color: var(--ink); }
.bk-row-copy { max-width: 60ch; font-size: 1.0625rem; line-height: 1.7; color: var(--text); }
.bk-row-copy p + p { margin-top: 1em; }
.bk-row-copy ul { list-style: none; display: grid; gap: 8px; margin: 1em 0; }
.bk-row-copy li { position: relative; padding-left: 22px; }
.bk-row-copy li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.bk-rows.is-large .bk-row-title { font-size: clamp(2rem, 1.4rem + 2vw, 3.1rem); line-height: 1.06; margin-bottom: 20px; }
.bk-rows.is-large .bk-row-copy { font-size: 1.125rem; }
.bk-rows.is-plain { background: var(--surface); }
.bk-rows.is-plain .bk-row-title { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.6rem); line-height: 1.08; }
.bk-rows.is-plain .bk-row-image img { border-radius: var(--radius-lg); }

/* Product enquiry form */
.bk-form { padding: clamp(64px, 8vw, 120px) var(--gutter); background: var(--surface); }
.bk-form-title { max-width: 760px; margin: 0 auto clamp(28px, 3.5vw, 44px); font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.9rem); font-weight: 720; line-height: 1.08; letter-spacing: -0.025em; color: var(--ink); text-align: center; }
.bk-form .df-form { max-width: 760px; margin: 0 auto; padding: clamp(24px, 3.2vw, 40px); background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); }

/* Contact details band */
.bk-contact-info { padding: clamp(56px, 7vw, 96px) var(--gutter); background: var(--surface); text-align: center; }
.bk-contact-title { font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem); font-weight: 720; line-height: 1.1; letter-spacing: -0.025em; color: var(--ink); }
.bk-contact-text { max-width: 62ch; margin: 16px auto 0; font-size: 1.0625rem; line-height: 1.65; color: var(--text); }
.bk-contact-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.bk-contact-list a { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 20px; border-radius: var(--radius-pill); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: 1rem; font-weight: 500; color: var(--ink); }
.bk-contact-list a:hover { box-shadow: inset 0 0 0 1px var(--coral-600); color: var(--coral-600); }
.bk-contact-list .df-icon { width: 18px; height: 18px; color: var(--mint-700); }

/* Rounded looping video */
.bk-video { padding: clamp(16px, 2vw, 32px) var(--gutter) clamp(48px, 6vw, 88px); }
.bk-video-frame { margin: 0 auto; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy-950); box-shadow: var(--shadow-lift); }
.bk-video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 1024px) {
	.bk-hero-inner, .bk-hero.is-reversed .bk-hero-inner { grid-template-columns: 1fr; }
	.bk-hero.is-reversed .bk-hero-image { order: 0; }
	.bk-hero-image img { max-height: 360px; }
	.bk-intro { grid-template-columns: 1fr; align-items: start; }
	.bk-showcase { grid-template-columns: 1fr; padding-right: 0; }
	.bk-showcase-text { padding-right: var(--gutter); }
	.bk-case, .bk-case.is-reversed { grid-template-columns: 1fr; padding: clamp(14px, 2vw, 20px) clamp(14px, 2vw, 20px) 24px; }
	.bk-case.is-reversed .bk-case-image { order: 0; }
	.bk-case-text { padding: 4px 8px 0; }
	.bk-tech-inner { grid-template-columns: 1fr; }
	.bk-row, .bk-row.is-reversed { grid-template-columns: 1fr; }
	.bk-row.is-reversed .bk-row-image { order: 0; }
	.bk-row-image img { max-width: 640px; margin: 0 auto; }
}
@media (max-width: 767px) {
	.bk-strip-buttons { width: 100%; }
	.bk-strip-buttons .df-button { flex: 1 1 auto; }
	.bk-feature { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 22px 0; }
	.bk-feature-icon { width: 40px; height: 40px; border-radius: 12px; }
	.bk-feature-icon img { width: 24px; height: 24px; }
	.bk-step-num { font-size: 2.25rem; margin-bottom: 12px; }
	.bk-spacer { height: min(var(--hm), 40px); }
}

/* ---------- Portfolio hub and categories ---------- */

.pf-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding: clamp(56px, 8vw, 112px) var(--gutter) clamp(48px, 6vw, 80px);
	background: var(--navy-950);
	text-align: center;
}
.pf-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 50% 0%, oklch(0.86 0.14 172 / .1), transparent 70%); }
.family-portfolio .pf-hero { min-height: min(70vh, 640px); display: flex; flex-direction: column; justify-content: center; }
.pf-title { margin-bottom: clamp(24px, 3vw, 36px); font-size: clamp(2.4rem, 1.5rem + 3vw, 4.25rem); font-weight: 760; line-height: 1.04; letter-spacing: -0.03em; color: var(--white); }
.pf-title .accent { color: var(--coral-on-dark); }
.pf-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pf-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 18px;
	border-radius: var(--radius-pill);
	background: var(--navy-900);
	box-shadow: inset 0 0 0 1px var(--navy-800);
	font-size: .9375rem;
	font-weight: 500;
	color: var(--on-dark-soft);
}
.pf-nav li:not(.is-current) a:hover { color: var(--white); box-shadow: inset 0 0 0 1px var(--navy-700); }
.pf-nav li.is-current a { background: var(--white); box-shadow: none; color: var(--ink); font-weight: 650; }
.pf-list { display: grid; gap: clamp(20px, 2.5vw, 32px); padding: clamp(40px, 5vw, 72px) var(--gutter) clamp(32px, 4vw, 56px); background: var(--surface); }
.pf-list > * { width: 100%; max-width: var(--container); margin: 0 auto; }
.pf-card {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	gap: clamp(24px, 4vw, 64px);
	align-items: center;
	padding: clamp(20px, 3vw, 40px);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
}
.pf-card.is-reversed { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.pf-card.is-reversed .pf-card-text { order: 2; }
.pf-card-text { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.pf-card-text .df-tag { margin-bottom: 14px; }
.pf-card-title { margin-bottom: 14px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); font-weight: 720; line-height: 1.1; letter-spacing: -0.025em; color: var(--ink); }
.pf-card-copy { max-width: 56ch; font-size: 1rem; line-height: 1.65; color: var(--text); }
.pf-card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 20px; width: 100%; margin-top: 24px; }
.pf-card-platforms { display: flex; gap: 10px; }
.pf-card-platforms img { width: 36px; height: 36px; object-fit: contain; }
.pf-card-button { margin-left: auto; }
.pf-card-media { min-width: 0; }
.pf-card-media > img { width: 100%; border-radius: var(--radius); }
.pf-laptop { padding: 0 6% 4%; background: url("/wp-content/uploads/2024/07/Bottom.png") bottom center / contain no-repeat; }
.pf-screen { overflow: hidden; padding: 10px; background: var(--navy-950); border-radius: 18px 18px 6px 6px; }
.pf-screen img { width: 100%; height: clamp(220px, 24vw, 340px); object-fit: cover; object-position: top center; border-radius: 10px 10px 2px 2px; transition: object-position 4s ease-in-out; }
.pf-card:hover .pf-screen img { object-position: bottom center; }
@media (min-width: 1025px) { .pf-card.is-mobile-only { display: none; } }
.pf-pager { display: flex; justify-content: center; gap: 8px; padding: 8px var(--gutter) clamp(56px, 7vw, 96px); background: var(--surface); }
.pf-pager a, .pf-pager span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	min-height: 48px;
	padding: 8px 16px;
	border-radius: var(--radius-pill);
	background: var(--white);
	box-shadow: inset 0 0 0 1px var(--line);
	font-size: .9375rem;
	font-weight: 650;
	color: var(--ink);
}
.pf-pager a:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.pf-pager a.is-current { background: var(--ink); box-shadow: none; color: var(--white); }
.pf-pager span { color: oklch(0.55 0.02 275); background: var(--surface-2); box-shadow: none; }
@media (max-width: 1024px) {
	.pf-card, .pf-card.is-reversed { grid-template-columns: 1fr; }
	.pf-card-text, .pf-card.is-reversed .pf-card-text { order: 2; }
}
@media (max-width: 767px) {
	.pf-nav a { min-height: 40px; padding: 8px 14px; font-size: .875rem; }
	.pf-card-button { margin-left: 0; }
}

/* ---------- Case studies ---------- */

.cs-hero {
	position: relative;
	z-index: 2;
	padding: clamp(48px, 7vw, 104px) var(--gutter) clamp(56px, 7vw, 104px);
	background: var(--navy-950);
}
.cs-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; max-width: var(--container); margin: 0 auto; }
.cs-hero-title { font-size: clamp(2.4rem, 1.5rem + 3vw, 4.25rem); font-weight: 760; line-height: 1.04; letter-spacing: -0.03em; color: var(--white); }
.cs-hero-title .accent { color: var(--coral-on-dark); }
.cs-hero-copy { max-width: 56ch; margin-top: clamp(18px, 2.2vw, 26px); font-size: 1.125rem; line-height: 1.65; color: var(--on-dark-soft); }
.cs-hero-shot img { width: 100%; border-radius: var(--radius); box-shadow: 0 30px 60px -30px oklch(0 0 0 / .7); }
/* A long page screenshot that runs down beside the next sections (desktop). */
.cs-hero.is-overlap { padding-bottom: clamp(72px, 9vw, 136px); }
.cs-hero.is-overlap .cs-hero-inner { align-items: start; }
.cs-hero.is-overlap .cs-hero-shot { position: relative; height: 0; }
.cs-hero.is-overlap .cs-hero-shot img { position: absolute; top: 0; left: 6%; width: 88%; border: 8px solid var(--white); border-radius: 22px; box-shadow: 0 40px 80px -36px oklch(0.17 0.045 275 / .55); }
.cs-sec { position: relative; min-height: var(--mh, 0); display: flex; align-items: center; padding: clamp(48px, 6vw, 88px) var(--gutter); }
.cs-sec.has-bg { background: var(--navy-950); }
.cs-sec.has-bg .cs-title { color: var(--white); }
.cs-sec.has-bg .cs-copy { color: var(--on-dark-soft); }
.cs-sec.has-bg .cs-copy strong { color: var(--on-dark); }
.cs-cols { display: flex; width: 100%; max-width: var(--container); margin: 0 auto; gap: clamp(24px, 4vw, 64px); }
.cs-col { flex: 0 1 var(--w, 50%); min-width: 0; }
.cs-title { margin: 0 0 18px; font-size: clamp(1.6rem, 1.25rem + 1.1vw, 2.25rem); font-weight: 720; line-height: 1.1; letter-spacing: -0.025em; color: var(--ink); }
.cs-copy { max-width: 58ch; margin-bottom: 20px; font-size: 1.0625rem; line-height: 1.7; color: var(--text); }
.cs-copy ul { list-style: none; display: grid; gap: 12px; padding: 0; }
.cs-copy li { position: relative; margin: 0; padding-left: 24px; }
.cs-copy li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.cs-sec.has-bg .cs-copy li::before { background: var(--mint); }
.cs-image img { max-width: 100%; margin: 0 auto; border-radius: var(--radius); object-fit: contain; }
@media (max-width: 1024px) {
	.cs-hero-inner { grid-template-columns: 1fr; }
	.cs-hero.is-overlap .cs-hero-shot { height: auto; }
	.cs-hero.is-overlap .cs-hero-shot img { position: static; width: 100%; max-height: 720px; object-fit: cover; object-position: top; }
	.cs-sec { min-height: 0; }
	.cs-cols { flex-direction: column; }
	.cs-col.is-empty { display: none; }
	.cs-image img { width: 100% !important; height: auto !important; }
}

/* ---------- Website development bundles ---------- */

.pk-hero {
	padding: clamp(56px, 8vw, 112px) var(--gutter) clamp(56px, 7vw, 96px);
	background: linear-gradient(var(--navy-950) 0 clamp(380px, 42vw, 520px), var(--white) 0);
}
.pk-head { max-width: 760px; margin: 0 auto; text-align: center; }
.pk-title { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.75rem); font-weight: 760; line-height: 1.05; letter-spacing: -0.03em; color: var(--white); }
.pk-title .accent { color: var(--coral-on-dark); }
.pk-text { margin: 18px 0 0; font-size: 1.125rem; line-height: 1.65; color: var(--on-dark-soft); }
.pk-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; max-width: var(--container); margin: clamp(40px, 5vw, 64px) auto 0; }
.pk-plan { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 40px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); }
.pk-plan-name { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-size: 1.75rem; font-weight: 720; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
.pk-features li { display: flex; align-items: flex-start; gap: 12px; padding: 7px 0; font-size: .9688rem; line-height: 1.5; color: var(--text); }
.pk-features img { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.pk-price { display: flex; align-items: baseline; gap: 14px; margin: auto 0 0; padding-top: 32px; }
.pk-now { font-size: clamp(2.25rem, 1.8rem + 1.2vw, 2.75rem); font-weight: 760; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.pk-faq { max-width: calc(880px + 2 * var(--gutter)); margin: 0 auto; padding: clamp(40px, 5vw, 72px) var(--gutter) clamp(72px, 9vw, 136px); }
.pk-faq .sec-title { margin-bottom: clamp(24px, 3vw, 40px); text-align: center; }
.pk-faq-item { border-bottom: 1px solid var(--line); }
.pk-faq-item:first-child { border-top: 1px solid var(--line); }
.pk-faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 1.125rem; font-weight: 650; line-height: 1.4; color: var(--ink); cursor: pointer; list-style: none; }
.pk-faq-item summary:hover { color: var(--coral-600); }
.pk-faq-item summary::-webkit-details-marker { display: none; }
.pk-faq-icon { width: 20px; height: 20px; flex: none; transition: transform .3s var(--ease-out); }
.pk-faq-item[open] .pk-faq-icon { transform: rotate(90deg); }
.pk-faq-item p { margin: 0; padding: 0 0 24px; max-width: 70ch; font-size: 1.0625rem; line-height: 1.65; color: var(--text); }

/* ---------- Έργα ---------- */

.er-banner { position: relative; overflow: hidden; isolation: isolate; padding: clamp(72px, 10vw, 152px) var(--gutter) clamp(40px, 5vw, 64px); text-align: center; background: var(--navy-950); }
.er-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 50% 0%, oklch(0.86 0.14 172 / .1), transparent 70%); }
.er-title { font-size: clamp(3rem, 2rem + 4vw, 5.5rem); font-weight: 780; line-height: 1; letter-spacing: -0.035em; color: var(--white); }
.er-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0 var(--gutter) clamp(72px, 9vw, 136px); background: var(--navy-950); }
.er-tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: var(--radius-pill); background: var(--navy-900); box-shadow: inset 0 0 0 1px var(--navy-800); font-size: .9375rem; font-weight: 500; color: var(--on-dark-soft); }
.er-tabs a:hover { color: var(--white); box-shadow: inset 0 0 0 1px var(--navy-700); }
.er-tabs a.is-first { background: var(--white); box-shadow: none; color: var(--ink); font-weight: 650; }
.er-tabs + .cta-dark { border-top: 1px solid var(--navy-800); }

/* ---------- Legal (2026-11-06): company details, policies, form notice, placeholders ---------- */

/* Placeholders for details the company has not sent yet: impossible to miss before going live. */
mark.df-placeholder { padding: 0 .3em; border-radius: 4px; background: oklch(0.92 0.12 95); color: oklch(0.25 0.04 80); font-weight: 600; }

.df-form-note { grid-column: 1 / -1; margin: 0; font-size: .8125rem; line-height: 1.55; color: var(--text-soft); }
.df-form-note a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: oklch(0.39 0.03 275 / .4); }
.df-form-note a:hover { color: var(--coral-600); text-decoration-color: currentColor; }
/* On the dark form card (dark CTA variant). */
.cta-dark .df-form-note { color: var(--on-dark-soft); }
.cta-dark .df-form-note a { color: var(--on-dark); text-decoration-color: oklch(0.95 0.01 275 / .45); }
.cta-dark .df-form-note a:hover { color: var(--mint); }

.ft-legal { display: grid; gap: 4px; min-width: 0; }
.ft-company { font-size: .8125rem; line-height: 1.6; }
.ft-legal-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 22px; }
.ft-legal-links a { font-size: .875rem; font-weight: 500; color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: oklch(0.39 0.03 275 / .35); }
.ft-legal-links a:hover { color: var(--coral-600); text-decoration-color: currentColor; }

.pk-note { max-width: 760px; margin: clamp(24px, 3vw, 36px) auto 0; padding: 0 var(--gutter); text-align: center; font-size: .9375rem; line-height: 1.6; color: var(--text-soft); }

.lg-hero { padding: clamp(72px, 9vw, 128px) var(--gutter) clamp(40px, 5vw, 64px); text-align: center; background: var(--navy-950); }
.lg-title { margin: 0; font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.75rem); font-weight: 760; line-height: 1.05; letter-spacing: -0.03em; color: var(--white); text-wrap: balance; }
.lg-updated { margin: 14px 0 0; font-size: .9375rem; color: var(--on-dark-soft); }
.lg-body { max-width: calc(760px + 2 * var(--gutter)); margin: 0 auto; padding: clamp(48px, 6vw, 88px) var(--gutter) clamp(72px, 9vw, 136px); font-size: 1.0625rem; line-height: 1.7; color: var(--text); }
.lg-body p, .lg-body ul { margin: 0 0 1em; text-wrap: pretty; }
.lg-body ul { padding-left: 1.25em; list-style: disc; }
.lg-body li + li { margin-top: .45em; }
.lg-body a { color: var(--coral-700); text-decoration: underline; text-underline-offset: 3px; }
.lg-body a:hover { color: var(--coral-600); }
.lg-body strong { font-weight: 650; color: var(--ink); }
.lg-intro { font-size: 1.1875rem; color: var(--ink); }
.lg-section { margin-top: clamp(28px, 3.5vw, 40px); padding-top: clamp(28px, 3.5vw, 40px); border-top: 1px solid var(--line); }
.lg-h2 { margin: 0 0 16px; font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); font-weight: 720; line-height: 1.2; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
.lg-h3 { margin: 28px 0 4px; font-size: 1.125rem; font-weight: 680; line-height: 1.3; color: var(--ink); }
.lg-note { font-size: .9375rem; color: var(--text-soft); }
.lg-table-wrap { overflow-x: auto; margin: 0 0 8px; border: 1px solid var(--line); border-radius: 12px; }
.lg-table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.5; }
.lg-table th, .lg-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.lg-table tbody tr:last-child > * { border-bottom: 0; }
.lg-table thead th { background: var(--surface); font-size: .8125rem; font-weight: 650; color: var(--ink); }
.lg-table tbody th { font-weight: 500; }
.lg-table code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .8125rem; color: var(--ink); }
.lg-nowrap { white-space: nowrap; }
/* Phones: each cookie becomes a small stacked block with its own labels, no sideways scrolling. */
@media (max-width: 640px) {
	.lg-table, .lg-table tbody, .lg-table tr, .lg-table th, .lg-table td { display: block; }
	.lg-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.lg-table tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
	.lg-table tbody tr:last-child { border-bottom: 0; }
	.lg-table th, .lg-table td { padding: 2px 0; border: 0; white-space: normal; }
	.lg-table tbody th { margin-bottom: 4px; }
	.lg-table td::before { content: attr(data-label) ": "; font-weight: 600; color: var(--ink); }
}
