/*
Theme Name: K3Y PDS
Theme URI: https://k3ylabs.com/
Author: K3Y Labs
Author URI: https://k3ylabs.com/
Description: Custom K3Y Labs theme for PDS Prime Detailing Studio. Built on the K3Y Theme starter: no page builder, no framework, no build step, self-hosted fonts and a hand-written section system.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: k3y-pds
Tags: custom-logo, custom-menu, featured-images, translation-ready, accessibility-ready
*/

/* -------------------------------------------------------------------------
   1. Design tokens
   ---------------------------------------------------------------------- */

:root {
	/* Brand: champagne gold sampled from the PDS wordmark */
	--pds-gold-light: #d7bd9d;
	--pds-gold: #ba9f7f;
	--pds-gold-deep: #8b6e4c;
	--pds-gold-sheen: linear-gradient(110deg, #a68b69 0%, #d7bd9d 25%, #b39773 50%, #d7bd9d 75%, #a68b69 100%);
	--pds-gold-line: linear-gradient(90deg, var(--pds-gold-deep), var(--pds-gold-light));
	--pds-accent: var(--pds-gold);
	--pds-accent-dark: var(--pds-gold-deep);
	--pds-accent-contrast: #0c0c0e;
	--pds-accent-soft: rgb(186 159 127 / 16%);
	--pds-accent-ring: rgb(186 159 127 / 35%);

	/* Gold used as text or a focus ring. The wordmark gold is too pale to read on
	   white, so light grounds get a deeper bronze (6:1) and dark grounds flip it
	   to a light champagne (9:1) — see the dark-context block below. */
	--pds-accent-text: #7a5e3e;
	--pds-accent-text-hover: #5c462e;

	/* Neutrals */
	--pds-black: #000;
	--pds-ink: #0c0c0e;
	--pds-ink-soft: #16171a;
	--pds-ink-line: rgb(255 255 255 / 14%);
	--pds-white: #fff;
	--pds-text: #16171a;
	--pds-muted: #62666e;
	--pds-muted-dark: #a7abb2;
	--pds-border: #e2e4e9;
	--pds-surface: #f0f1f4;
	--pds-surface-2: #f7f8fa;

	/* Typography */
	--pds-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--pds-font-mono: ui-monospace, "Cascadia Code", Consolas, monospace;
	--pds-h1: clamp(2.25rem, 5.2vw, 3.875rem);
	--pds-h2: clamp(1.625rem, 3.2vw, 2.25rem);
	--pds-h3: clamp(1.15rem, 1.6vw, 1.375rem);
	--pds-eyebrow: 0.8125rem;
	--pds-lead: clamp(1.0625rem, 1.3vw, 1.1875rem);

	/* Layout */
	--pds-wide: 1280px;
	--pds-content: 820px;
	--pds-gutter: clamp(1.25rem, 5vw, 2.5rem);
	--pds-section: clamp(4rem, 9vw, 7.5rem);
	--pds-radius: 10px;
	--pds-radius-lg: 20px;
	--pds-radius-pill: 100px;
	--pds-header-h: 5.5rem;

	/* Effects */
	--pds-shadow: 0 1.5rem 3.5rem rgb(0 0 0 / 12%);
	--pds-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Dark grounds: gold text and rings switch to the light champagne. */
.site-header,
.offcanvas,
.site-footer,
.section--dark,
.hero,
.page-hero,
.cta-band,
.error-page,
.project-card {
	--pds-accent-text: #c9ae8c;
	--pds-accent-text-hover: #e6d4ba;
}

/* The dropdown is a white panel inside the dark header. */
.main-navigation .sub-menu {
	--pds-accent-text: #7a5e3e;
	--pds-accent-text-hover: #5c462e;
}

::selection {
	color: var(--pds-ink);
	background: var(--pds-gold-light);
}

/* -------------------------------------------------------------------------
   2. Fonts (self-hosted, no third-party requests)
   ---------------------------------------------------------------------- */

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 300 900;
	font-display: swap;
	src: url("assets/fonts/inter-greek.woff2") format("woff2");
	unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 300 900;
	font-display: swap;
	src: url("assets/fonts/inter-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 300 900;
	font-display: swap;
	src: url("assets/fonts/inter-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* -------------------------------------------------------------------------
   3. Reset and base elements
   ---------------------------------------------------------------------- */

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

html {
	/* Guard against sideways scroll from the off-canvas drawer parked outside
	   the viewport. clip, not hidden, so no scroll container is created and
	   inner overflow-x containers keep working. */
	overflow-x: clip;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--pds-header-h) + 1rem);
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0;
	color: var(--pds-text);
	background: var(--pds-white);
	font-family: var(--pds-font);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

main {
	display: block;
}

img,
picture,
svg,
video,
iframe {
	display: block;
	max-width: 100%;
	height: auto;
}

figure {
	margin-inline: 0;
}

a {
	color: var(--pds-accent-text);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
	transition: color 0.2s var(--pds-ease);
}

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

:focus-visible {
	outline: 3px solid var(--pds-accent-text);
	outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-block: 0 0.6em;
	color: var(--pds-black);
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

h1 {
	font-size: var(--pds-h1);
}

h2 {
	font-size: var(--pds-h2);
}

h3 {
	font-size: var(--pds-h3);
	font-weight: 800;
	line-height: 1.25;
}

h4 {
	font-size: 1.0625rem;
	font-weight: 700;
}

p,
ul,
ol,
blockquote,
pre,
table,
dl {
	margin-block: 0 1.35rem;
}

blockquote {
	margin-inline: 0;
	padding-left: 1.5rem;
	border-left: 3px solid var(--pds-accent);
	font-size: 1.125rem;
}

pre,
code,
kbd,
samp {
	font-family: var(--pds-font-mono);
}

pre {
	max-width: 100%;
	padding: 1rem;
	overflow: auto;
	background: var(--pds-surface);
	border-radius: var(--pds-radius);
}

table {
	width: 100%;
	border-collapse: collapse;
}

th,
td {
	padding: 0.7rem;
	border: 1px solid var(--pds-border);
	text-align: left;
}

hr {
	height: 1px;
	margin-block: 2.5rem;
	background: var(--pds-border);
	border: 0;
}

button,
input,
select,
textarea {
	max-width: 100%;
	font: inherit;
}

/* -------------------------------------------------------------------------
   4. Layout helpers
   ---------------------------------------------------------------------- */

.container {
	width: min(100%, calc(var(--pds-wide) + (2 * var(--pds-gutter))));
	margin-inline: auto;
	padding-inline: var(--pds-gutter);
}

.container--narrow {
	width: min(100%, calc(var(--pds-content) + (2 * var(--pds-gutter))));
}

.content-width {
	width: min(100%, calc(var(--pds-content) + (2 * var(--pds-gutter))));
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	top: 0.75rem;
	left: 0.75rem;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	margin: 0;
	clip-path: none;
	color: var(--pds-accent-contrast);
	background: var(--pds-accent);
	white-space: normal;
}

.section {
	position: relative;
	padding-block: var(--pds-section);
}

.section--tight {
	padding-block: clamp(3rem, 6vw, 4.5rem);
}

.section--surface {
	background: var(--pds-surface-2);
}

.section--dark {
	color: var(--pds-muted-dark);
	background: var(--pds-ink);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
	color: var(--pds-white);
}

.section--flush {
	padding-block: 0;
}

/* -------------------------------------------------------------------------
   5. Typographic components
   ---------------------------------------------------------------------- */

.eyebrow {
	display: block;
	margin-bottom: 1rem;
	color: var(--pds-accent-text);
	font-size: var(--pds-eyebrow);
	font-weight: 700;
	letter-spacing: 0.22em;
	line-height: 1.4;
}

.section-head {
	max-width: 46rem;
	margin-bottom: clamp(2.5rem, 4vw, 3.75rem);
}

.section-head--center {
	margin-inline: auto;
	text-align: center;
}

.section-head p {
	color: var(--pds-muted);
	font-size: var(--pds-lead);
	font-weight: 300;
}

.section--dark .section-head p {
	color: var(--pds-muted-dark);
}

.lead {
	font-size: var(--pds-lead);
	font-weight: 300;
}

.rule {
	display: block;
	width: 3.5rem;
	height: 3px;
	margin-bottom: 1.75rem;
	background: var(--pds-gold-line);
}

.section-head--center .rule {
	margin-inline: auto;
}

/* -------------------------------------------------------------------------
   6. Buttons
   ---------------------------------------------------------------------- */

.btn,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	padding: 1.05rem 2.1rem;
	color: var(--pds-accent-contrast);
	/* Longhands, so variants can drop the image and get it back on hover while
	   keeping the size and origin that drive the sheen sweep. */
	background-color: var(--pds-accent);
	background-image: var(--pds-gold-sheen);
	background-origin: border-box;
	background-position: 0% 50%;
	background-size: 250% 100%;
	border: 2px solid transparent;
	border-radius: var(--pds-radius-pill);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.25s var(--pds-ease), background-position 0.7s var(--pds-ease),
		border-color 0.25s var(--pds-ease), box-shadow 0.25s var(--pds-ease),
		color 0.25s var(--pds-ease), transform 0.25s var(--pds-ease);
}

.btn:hover,
.btn:focus-visible,
button:hover,
input[type="submit"]:hover {
	color: var(--pds-accent-contrast);
	background-image: var(--pds-gold-sheen);
	background-position: 100% 50%;
	border-color: transparent;
	box-shadow: 0 0.75rem 1.75rem rgb(139 110 76 / 28%);
	transform: translateY(-2px);
}

.btn--outline {
	color: var(--pds-black);
	background-color: transparent;
	background-image: none;
	border-color: currentcolor;
}

.btn--outline:hover,
.btn--outline:focus-visible {
	color: var(--pds-accent-contrast);
	border-color: transparent;
}

/*
 * Guard: .btn--outline draws its border from currentcolor, which disappears on a
 * dark ground. Anywhere the background is dark, treat it as the light variant.
 */
.section--dark .btn--outline,
.error-page .btn--outline,
.cta-band .btn--outline,
.page-hero .btn--outline,
.hero .btn--outline,
.offcanvas .btn--outline {
	color: var(--pds-white);
	border-color: rgb(255 255 255 / 55%);
}

/* Same grounds on hover: the gold fill needs dark text, not the white above. */
.section--dark .btn--outline:hover,
.section--dark .btn--outline:focus-visible,
.error-page .btn--outline:hover,
.error-page .btn--outline:focus-visible,
.cta-band .btn--outline:hover,
.cta-band .btn--outline:focus-visible,
.page-hero .btn--outline:hover,
.page-hero .btn--outline:focus-visible,
.hero .btn--outline:hover,
.hero .btn--outline:focus-visible,
.offcanvas .btn--outline:hover,
.offcanvas .btn--outline:focus-visible {
	color: var(--pds-accent-contrast);
	border-color: transparent;
}

.btn--light {
	color: var(--pds-white);
	background-color: transparent;
	background-image: none;
	border-color: rgb(255 255 255 / 55%);
}

.btn--light:hover,
.btn--light:focus-visible {
	color: var(--pds-accent-contrast);
	border-color: transparent;
}

.btn--sm {
	padding: 0.8rem 1.5rem;
	font-size: 0.75rem;
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.btn-row--center {
	justify-content: center;
}

.arrow-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--pds-accent-text);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-decoration: none;
}

.arrow-link svg {
	width: 0.85rem;
	height: 0.85rem;
	transition: transform 0.25s var(--pds-ease);
}

.arrow-link:hover svg,
.arrow-link:focus-visible svg {
	transform: translateX(0.3rem);
}

/* -------------------------------------------------------------------------
   7. Forms
   ---------------------------------------------------------------------- */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="password"],
input[type="number"],
select,
textarea {
	width: 100%;
	padding: 0.95rem 1.05rem;
	color: var(--pds-text);
	background: var(--pds-white);
	border: 1px solid var(--pds-border);
	border-radius: var(--pds-radius);
	transition: border-color 0.2s var(--pds-ease), box-shadow 0.2s var(--pds-ease);
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--pds-accent-dark);
	box-shadow: 0 0 0 3px var(--pds-accent-ring);
	outline: none;
}

textarea {
	min-height: 11rem;
	resize: vertical;
}

label {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.field {
	margin-bottom: 1.25rem;
}

.field--required label::after {
	margin-left: 0.2rem;
	color: var(--pds-accent-text);
	content: "*";
}

.field-error {
	display: block;
	margin-top: 0.35rem;
	color: #c1121f;
	font-size: 0.8125rem;
	font-weight: 500;
}

.form-notice {
	padding: 1.1rem 1.25rem;
	margin-bottom: 1.75rem;
	border-left: 3px solid var(--pds-accent);
	background: var(--pds-surface-2);
	font-size: 0.9375rem;
}

.form-notice--error {
	border-left-color: #c1121f;
	background: #fdf2f3;
}

.form-consent {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	margin-bottom: 1.5rem;
}

.form-consent input {
	width: auto;
	margin-top: 0.35rem;
	accent-color: var(--pds-accent-dark);
}

.form-consent label {
	margin-bottom: 0;
	color: var(--pds-muted);
	font-size: 0.8125rem;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.6;
}


/* -------------------------------------------------------------------------
   8. Site header
   ---------------------------------------------------------------------- */

.site-header {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 900;
	background: var(--pds-black);
	transition: background-color 0.3s var(--pds-ease), box-shadow 0.3s var(--pds-ease);
}

.admin-bar .site-header {
	top: 32px;
}

.site-header.is-stuck {
	box-shadow: 0 0.5rem 1.5rem rgb(0 0 0 / 35%);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: var(--pds-header-h);
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
}

.custom-logo-link {
	display: block;
	flex: 0 0 auto;
}

.custom-logo {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 3.25rem;
}

.site-title {
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 900;
	letter-spacing: 0.04em;
	line-height: 1.15;
}

.site-title a {
	color: var(--pds-white);
	text-decoration: none;
}

.site-title a:hover {
	color: var(--pds-accent-text);
}

.site-title small {
	display: block;
	color: var(--pds-accent-text);
	font-size: 0.5625rem;
	font-weight: 600;
	letter-spacing: 0.24em;
}

.header-tools {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

/* Desktop navigation */

.main-navigation .menu,
.main-navigation .sub-menu {
	padding: 0;
	margin: 0;
	list-style: none;
}

.main-navigation .menu {
	display: flex;
	align-items: center;
	gap: 0.15rem;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	position: relative;
	display: block;
	padding: 0.7rem 0.85rem;
	color: var(--pds-white);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-decoration: none;
}

/*
 * Absolutely positioned: in the flow it added its own height plus margin to every
 * link, so the nav box grew taller than the CTA button next to it and the labels
 * sat visibly above the shared centre line.
 */
.main-navigation > .menu > li > a::after {
	position: absolute;
	right: 0.85rem;
	bottom: 0.4rem;
	left: 0.85rem;
	height: 2px;
	background: var(--pds-gold-line);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.25s var(--pds-ease);
	content: "";
}

.main-navigation > .menu > li > a:hover::after,
.main-navigation > .menu > li > a:focus-visible::after,
.main-navigation > .menu > .current-menu-item > a::after,
.main-navigation > .menu > .current-menu-ancestor > a::after,
.main-navigation > .menu > .current-page-ancestor > a::after {
	transform: scaleX(1);
}

.main-navigation a:hover,
.main-navigation a:focus-visible,
.main-navigation .current-menu-item > a {
	color: var(--pds-accent-text);
}

.main-navigation .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 20;
	display: none;
	min-width: 15rem;
	padding: 0.4rem 0;
	background: var(--pds-white);
	box-shadow: var(--pds-shadow);
}

.main-navigation .sub-menu a {
	padding: 0.65rem 1.1rem;
	color: var(--pds-text);
	font-weight: 500;
	letter-spacing: 0.02em;
}

.main-navigation .sub-menu a:hover,
.main-navigation .sub-menu a:focus-visible {
	color: var(--pds-accent-text);
	background: var(--pds-surface-2);
}

.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu {
	display: block;
}

.header-cta {
	display: none;
}

/* Menu toggle */

.menu-toggle {
	display: none;
	gap: 0.65rem;
	padding: 0.65rem 0.85rem;
	color: var(--pds-white);
	background: transparent;
	border: 0;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.16em;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
	color: var(--pds-accent-text);
	background: transparent;
	border: 0;
	box-shadow: none;
	transform: none;
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
	display: block;
	width: 1.35rem;
	height: 2px;
	background: currentcolor;
	transition: transform 0.25s var(--pds-ease), opacity 0.2s var(--pds-ease);
}

.menu-toggle__icon {
	position: relative;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
	position: absolute;
	left: 0;
	content: "";
}

.menu-toggle__icon::before {
	top: -0.4rem;
}

.menu-toggle__icon::after {
	top: 0.4rem;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon {
	background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before {
	transform: translateY(0.4rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
	transform: translateY(-0.4rem) rotate(-45deg);
}

/* Social icons */

.social-links {
	display: flex;
	gap: 0.35rem;
	padding: 0;
	margin: 0;
	list-style: none;
}

.social-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	color: currentcolor;
}

.social-links svg {
	/* The icon set is stroke-drawn; filling it turns each mark into a blob. */
	width: 1.15rem;
	height: 1.15rem;
	fill: none;
	stroke: currentcolor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.social-links a:hover,
.social-links a:focus-visible {
	color: var(--pds-accent-text);
}

.site-header .social-links {
	color: var(--pds-white);
}

/* -------------------------------------------------------------------------
   9. Off-canvas panel (mobile)
   ---------------------------------------------------------------------- */

/*
 * Without JavaScript the panel is simply a navigation block at the end of the
 * page, so every link stays reachable. With JavaScript it becomes a drawer.
 */
.offcanvas {
	display: flex;
	flex-direction: column;
	padding: 2.5rem var(--pds-gutter);
	color: var(--pds-white);
	background: var(--pds-ink);
}

.no-js .offcanvas {
	display: none;
}

.js .offcanvas {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 950;
	width: min(24rem, 88vw);
	padding: 6rem var(--pds-gutter) 2.5rem;
	overflow-y: auto;
	visibility: hidden;
	transform: translateX(100%);
	transition: transform 0.35s var(--pds-ease), visibility 0.35s;
}

.js .offcanvas.is-open {
	visibility: visible;
	transform: translateX(0);
}

.offcanvas__overlay {
	display: none;
}

.js .offcanvas__overlay {
	position: fixed;
	inset: 0;
	z-index: 940;
	display: block;
	background: rgb(0 0 0 / 60%);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s var(--pds-ease), visibility 0.35s;
}

.js .offcanvas__overlay.is-open {
	visibility: visible;
	opacity: 1;
}

.offcanvas .menu,
.offcanvas .sub-menu {
	padding: 0;
	margin: 0;
	list-style: none;
}

.offcanvas .menu > li > a {
	font-size: 1.375rem;
	font-weight: 800;
}

/*
 * Scoped to the nav: applied to every link in the drawer these rules also hit
 * the CTA button and the social icons, overriding their display and padding —
 * which is what pushed the icons off-centre and drew the pill border-radius of
 * each social link as a stray arc above it.
 */
.offcanvas nav a {
	display: block;
	padding: 0.7rem 0;
	color: var(--pds-white);
	font-size: 1rem;
	font-weight: 500;
	text-decoration: none;
}

.offcanvas nav li + li > a {
	border-top: 1px solid var(--pds-ink-line);
}

.offcanvas a:hover,
.offcanvas a:focus-visible {
	color: var(--pds-accent-text);
}

.offcanvas .sub-menu {
	padding-left: 1rem;
}

.offcanvas .sub-menu a {
	font-size: 0.9375rem;
	font-weight: 400;
	opacity: 0.8;
}

.offcanvas__footer {
	margin-top: auto;
	padding-top: 2rem;
}

.offcanvas__footer .social-links {
	margin-top: 1.25rem;
}

.offcanvas__contact {
	margin-top: 1.5rem;
	color: var(--pds-muted-dark);
	font-size: 0.875rem;
}

.offcanvas__contact p {
	margin-bottom: 0.5rem;
}

.offcanvas__contact p:last-child {
	margin-bottom: 0;
}

.offcanvas__contact a {
	color: var(--pds-white);
	font-weight: 600;
	text-decoration: none;
}

body.offcanvas-open {
	overflow: hidden;
}

/* -------------------------------------------------------------------------
   10. Media frames and placeholders
   ---------------------------------------------------------------------- */

.media {
	position: relative;
	overflow: hidden;
	background: var(--pds-ink);
	border-radius: var(--pds-radius-lg);
}

.media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.media--tall {
	aspect-ratio: 4 / 5;
}

.media--wide {
	aspect-ratio: 16 / 10;
}

.media--square {
	aspect-ratio: 1 / 1;
}

/* Signature diagonal edge, mirrored from the reference layout. */
.media--diagonal-right {
	clip-path: polygon(0 0, 100% 0, calc(100% - 5rem) 100%, 0 100%);
}

.media--diagonal-left {
	clip-path: polygon(5rem 0, 100% 0, 100% 100%, 0 100%);
}

.media__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 1.5rem;
	color: rgb(255 255 255 / 45%);
	text-align: center;
	background:
		repeating-linear-gradient(
			135deg,
			rgb(255 255 255 / 3%) 0 0.5rem,
			transparent 0.5rem 1rem
		),
		linear-gradient(150deg, #1c1e22 0%, #0b0c0e 60%, #101215 100%);
}

.media__placeholder svg {
	width: 2.75rem;
	height: 2.75rem;
	opacity: 0.5;
	fill: none;
	stroke: currentcolor;
	stroke-width: 1.25;
}

.media__placeholder code {
	font-size: 0.75rem;
	letter-spacing: 0.04em;
	word-break: break-all;
}

/* -------------------------------------------------------------------------
   11. Front-page hero
   ---------------------------------------------------------------------- */

.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: min(48rem, 100vh);
	padding-block: calc(var(--pds-header-h) + 5rem) 7rem;
	overflow: hidden;
	color: var(--pds-white);
	background: var(--pds-ink);
	isolation: isolate;
}

.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.hero__bg img,
.hero__bg video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__bg::after {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgb(0 0 0 / 78%) 0%, rgb(0 0 0 / 58%) 45%, rgb(0 0 0 / 88%) 100%);
	content: "";
}

.hero__inner {
	position: relative;
	z-index: 1;
	max-width: 56rem;
	text-align: center;
	margin-inline: auto;
}

.hero .eyebrow {
	color: var(--pds-accent-text);
}

.hero h1 {
	margin-bottom: 2rem;
	color: var(--pds-white);
	text-shadow: 0 0.15rem 2rem rgb(0 0 0 / 45%);
}

.hero__lead {
	max-width: 40rem;
	margin-inline: auto;
	margin-bottom: 2.5rem;
	color: rgb(255 255 255 / 85%);
	font-size: var(--pds-lead);
	font-weight: 300;
}

.hero__scroll {
	position: absolute;
	bottom: 3.5rem;
	left: 50%;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4rem;
	color: rgb(255 255 255 / 70%);
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-decoration: none;
	transform: translateX(-50%);
}

.hero__scroll svg {
	width: 1rem;
	height: 1rem;
	animation: pds-bob 2.4s var(--pds-ease) infinite;
	fill: none;
	stroke: currentcolor;
	stroke-width: 2;
}

.hero__scroll:hover {
	color: var(--pds-accent-text);
}

@keyframes pds-bob {
	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(0.35rem);
	}
}

/* Diagonal cut at the bottom of dark full-bleed blocks. */
.edge-bottom::after {
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	z-index: 3;
	height: clamp(2rem, 4vw, 4.5rem);
	background: var(--pds-white);
	clip-path: polygon(0 100%, 100% 0, 100% 100%);
	content: "";
}

/* -------------------------------------------------------------------------
   12. Split section (text + media)
   ---------------------------------------------------------------------- */

.split {
	display: grid;
	gap: clamp(2.5rem, 5vw, 4.5rem);
	align-items: center;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split--media-first .split__media {
	order: -1;
}

.split__body > *:last-child {
	margin-bottom: 0;
}

.split__body p {
	color: var(--pds-muted);
	font-weight: 300;
}

.section--dark .split__body p {
	color: var(--pds-muted-dark);
}

.split__body .btn-row {
	margin-top: 2rem;
}

.split--flush {
	gap: 0;
	align-items: stretch;
}

.split--flush .split__body {
	padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 4.5rem);
}

.split--flush .split__media {
	min-height: 26rem;
}

/* -------------------------------------------------------------------------
   13. Service cards
   ---------------------------------------------------------------------- */

.card-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.card-grid--2 {
	grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
}

.service-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	padding: 2.25rem 1.75rem;
	background: var(--pds-white);
	border: 1px solid var(--pds-border);
	border-radius: var(--pds-radius);
	transition: transform 0.3s var(--pds-ease), box-shadow 0.3s var(--pds-ease),
		border-color 0.3s var(--pds-ease);
}

.section--dark .service-card {
	background: var(--pds-ink-soft);
	border-color: var(--pds-ink-line);
}

.service-card:hover,
.service-card:focus-within {
	border-color: var(--pds-accent);
	box-shadow: var(--pds-shadow);
	transform: translateY(-0.4rem);
}

.service-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.25rem;
	height: 3.25rem;
	margin-bottom: 0.5rem;
	color: var(--pds-accent-text);
	background: var(--pds-accent-soft);
	border-radius: var(--pds-radius);
}

.service-card__icon svg {
	width: 1.6rem;
	height: 1.6rem;
	fill: none;
	stroke: currentcolor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.service-card h3 {
	margin-bottom: 0;
	font-size: 1.0625rem;
	letter-spacing: 0.03em;
}

.service-card p {
	margin-bottom: 0;
	color: var(--pds-muted);
	font-size: 0.9375rem;
	font-weight: 300;
}

.section--dark .service-card p {
	color: var(--pds-muted-dark);
}

.service-card .arrow-link {
	margin-top: auto;
	padding-top: 0.75rem;
}

.service-card__link {
	position: absolute;
	inset: 0;
	z-index: 1;
}

/* -------------------------------------------------------------------------
   14. Service grid (Υπηρεσίες page) and single service
   ---------------------------------------------------------------------- */

.service-grid {
	display: grid;
	gap: clamp(1.25rem, 2.5vw, 2rem);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.service-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--pds-white);
	border: 1px solid var(--pds-border);
	border-radius: var(--pds-radius-lg);
	transition: transform 0.3s var(--pds-ease), box-shadow 0.3s var(--pds-ease),
		border-color 0.3s var(--pds-ease);
}

.service-tile:hover,
.service-tile:focus-within {
	border-color: var(--pds-accent);
	box-shadow: var(--pds-shadow);
	transform: translateY(-0.4rem);
}

.service-tile__media {
	position: relative;
	overflow: hidden;
}

.service-tile__media .media {
	aspect-ratio: 16 / 10;
	border-radius: 0;
	transition: transform 0.6s var(--pds-ease);
}

.service-tile:hover .service-tile__media .media {
	transform: scale(1.05);
}

.service-tile__index {
	position: absolute;
	top: 1rem;
	left: 1rem;
	padding: 0.45rem 0.75rem;
	color: var(--pds-white);
	background: rgb(0 0 0 / 55%);
	border-radius: var(--pds-radius-pill);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1;
	backdrop-filter: blur(6px);
}

.service-tile__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.85rem;
	padding: 1.75rem 1.75rem 2rem;
}

.service-tile__title {
	margin: 0;
	font-size: 1.125rem;
	letter-spacing: 0.03em;
	line-height: 1.3;
}

.service-tile__link {
	color: var(--pds-text);
	text-decoration: none;
}

/* The title link covers the whole card. */
.service-tile__link::after {
	position: absolute;
	inset: 0;
	z-index: 1;
	content: "";
}

.service-tile__link:focus-visible {
	outline: none;
}

.service-tile:has(.service-tile__link:focus-visible) {
	outline: 2px solid var(--pds-accent-text);
	outline-offset: 3px;
}

.service-tile p {
	margin: 0;
	color: var(--pds-muted);
	font-size: 0.9375rem;
	font-weight: 300;
}

.service-tile__variants {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding: 0;
	margin: 0.25rem 0 0;
	list-style: none;
}

.service-tile__variants a {
	display: inline-block;
	padding: 0.45rem 0.8rem;
	color: var(--pds-text);
	background: var(--pds-surface-2);
	border: 1px solid var(--pds-border);
	border-radius: var(--pds-radius-pill);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-decoration: none;
	transition: color 0.25s var(--pds-ease), background-color 0.25s var(--pds-ease),
		border-color 0.25s var(--pds-ease);
}

.service-tile__variants a:hover,
.service-tile__variants a:focus-visible {
	color: var(--pds-accent-contrast);
	background: var(--pds-accent);
	border-color: var(--pds-accent);
}

.service-tile .arrow-link {
	margin-top: auto;
	padding-top: 0.5rem;
}

.service-tile:hover .arrow-link svg {
	transform: translateX(0.3rem);
}

.media__placeholder--service svg {
	width: 3rem;
	height: 3rem;
	color: var(--pds-gold);
}

/* Single service: long copy beside a portrait image that stays in view. */
.service-single__split {
	align-items: start;
}

.service-single .entry-content p {
	font-size: 1.0625rem;
	line-height: 1.75;
}

@media (min-width: 61.3rem) {
	.service-single__media {
		position: sticky;
		top: calc(var(--pds-header-h) + 2rem);
	}
}

/* -------------------------------------------------------------------------
   15. Brand strip, certifications, values
   ---------------------------------------------------------------------- */

.brand-strip {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
	list-style: none;
}

.brand-strip li {
	color: var(--pds-muted);
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	opacity: 0.75;
	transition: opacity 0.25s var(--pds-ease), color 0.25s var(--pds-ease);
}

.brand-strip li:hover {
	color: var(--pds-black);
	opacity: 1;
}

.section--dark .brand-strip li {
	color: var(--pds-muted-dark);
}

.section--dark .brand-strip li:hover {
	color: var(--pds-white);
}

.brand-strip img {
	width: auto;
	max-height: 2.5rem;
	opacity: 0.7;
	filter: grayscale(100%);
}

.brand-strip img:hover {
	opacity: 1;
	filter: none;
}

.cert-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.cert-card {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 2.25rem 1.85rem;
	background: var(--pds-white);
	border: 1px solid var(--pds-border);
	border-top: 3px solid var(--pds-accent);
}

.cert-card h3 {
	margin-bottom: 0;
	font-size: 1.125rem;
	letter-spacing: 0.1em;
}

.cert-card p {
	margin-bottom: 0;
	color: var(--pds-muted);
	font-size: 0.9375rem;
	font-weight: 300;
}

.value-grid {
	display: grid;
	gap: clamp(1.75rem, 3vw, 2.5rem);
	grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.value-item h3 {
	margin-bottom: 0.6rem;
	font-size: 1rem;
	letter-spacing: 0.08em;
}

.value-item p {
	margin-bottom: 0;
	color: var(--pds-muted);
	font-size: 0.9375rem;
	font-weight: 300;
}

.value-item__num {
	display: block;
	margin-bottom: 0.75rem;
	color: var(--pds-accent-text);
	font-size: 1.75rem;
	font-weight: 900;
	line-height: 1;
}

/* -------------------------------------------------------------------------
   16. Projects
   ---------------------------------------------------------------------- */

.project-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
}

.project-card {
	position: relative;
	display: block;
	overflow: hidden;
	color: var(--pds-white);
	text-decoration: none;
	background: var(--pds-ink);
}

.project-card .media {
	aspect-ratio: 4 / 3;
	transition: transform 0.6s var(--pds-ease);
}

.project-card:hover .media {
	transform: scale(1.05);
}

.project-card__body {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 3.5rem 1.5rem 1.4rem;
	background: linear-gradient(180deg, transparent, rgb(0 0 0 / 85%));
}

.project-card__body h3 {
	margin-bottom: 0.15rem;
	color: var(--pds-white);
	font-size: 1.0625rem;
}

.project-card__body span {
	color: var(--pds-accent-text);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
}

.empty-state {
	padding: clamp(2.75rem, 6vw, 4.5rem);
	text-align: center;
	background: var(--pds-surface-2);
	border: 1px dashed var(--pds-border);
}

.empty-state svg {
	width: 3rem;
	height: 3rem;
	margin: 0 auto 1.25rem;
	color: var(--pds-accent-text);
	fill: none;
	stroke: currentcolor;
	stroke-width: 1.25;
}

.empty-state p {
	max-width: 34rem;
	margin-inline: auto;
	color: var(--pds-muted);
	font-weight: 300;
}

.empty-state > *:last-child {
	margin-bottom: 0;
}

/*
 * Single project: the text section by section, each imaged section beside its
 * photo, alternating sides. Consecutive sections close up so the page reads as
 * one story rather than a stack of separate blocks.
 */
.project-section + .project-section {
	padding-top: 0;
}

.project-section .split__body .entry-content > *:last-child {
	margin-bottom: 0;
}

/* Text images left over once the sections run out, in one row. */
.project-strip {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(var(--pds-strip-cols, 1), minmax(0, 1fr));
}

.project-strip--2 {
	--pds-strip-cols: 2;
}

.project-strip--3 {
	--pds-strip-cols: 3;
}

.project-strip .media {
	aspect-ratio: 4 / 3;
}

.project-strip--1 .media {
	aspect-ratio: 16 / 9;
}

/*
 * Gallery: full rows of two or three photos (k3y_pds_gallery_rows()) on a
 * six-column grid, so a row of two gets larger photos than a row of three.
 */
.project-gallery {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.project-gallery__item {
	display: block;
	overflow: hidden;
	border-radius: var(--pds-radius-lg);
}

.project-gallery__item--of-1 {
	grid-column: span 6;
}

.project-gallery__item--of-2 {
	grid-column: span 3;
}

.project-gallery__item--of-3 {
	grid-column: span 2;
}

.project-gallery__item .media {
	height: 100%;
	aspect-ratio: 4 / 3;
	transition: transform 0.6s var(--pds-ease);
}

.project-gallery__item--of-1 .media {
	aspect-ratio: 16 / 9;
}

.project-gallery__item--of-2 .media {
	aspect-ratio: 3 / 2;
}

.project-gallery__item:hover .media,
.project-gallery__item:focus-visible .media {
	transform: scale(1.04);
}

.project-gallery + .btn-row {
	margin-top: clamp(2rem, 4vw, 3rem);
}

/* Lightbox (assets/js/site.js); the links still open the photo without it. */
.lightbox {
	width: 100vw;
	max-width: none;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: clamp(3.5rem, 6vw, 4.5rem) clamp(0.75rem, 5vw, 5rem);
	border: 0;
	color: var(--pds-white);
	background: transparent;
}

html:has(.lightbox[open]) {
	overflow: hidden;
}

.lightbox::backdrop {
	background: rgb(0 0 0 / 92%);
}

.lightbox[open] {
	display: flex;
	align-items: center;
	justify-content: center;
}

.lightbox img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: var(--pds-radius);
}

.lightbox button {
	position: absolute;
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	padding: 0;
	border: 1px solid rgb(255 255 255 / 25%);
	border-radius: var(--pds-radius-pill);
	color: var(--pds-white);
	background: rgb(0 0 0 / 55%);
	cursor: pointer;
}

/* No lift on hover (the site-wide button rule): a control that moves away from
   the pointer is harder to hit. A slight press instead. */
.lightbox button:hover,
.lightbox button:focus-visible {
	border-color: var(--pds-gold);
	color: var(--pds-gold-light);
	transform: none;
}

.lightbox button:active {
	transform: scale(0.92);
}

.lightbox svg {
	width: 1.35rem;
	height: 1.35rem;
	fill: none;
	stroke: currentcolor;
	stroke-width: 1.75;
}

.lightbox__close {
	top: 1rem;
	right: 1rem;
}

/* Centred by offset, not transform, so the press scale does not displace them. */
.lightbox__prev,
.lightbox__next {
	top: calc(50% - 1.5rem);
}

.lightbox__prev {
	left: clamp(0.5rem, 2vw, 1.5rem);
}

.lightbox__prev svg {
	transform: rotate(180deg);
}

.lightbox__next {
	right: clamp(0.5rem, 2vw, 1.5rem);
}

.lightbox__count {
	position: absolute;
	bottom: 1rem;
	left: 50%;
	margin: 0;
	color: rgb(255 255 255 / 70%);
	font-size: 0.8125rem;
	letter-spacing: 0.14em;
	transform: translateX(-50%);
}

@media (max-width: 40rem) {
	/* Two small photos per row; with an odd count the first one spans both. */
	.project-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.625rem;
	}

	.project-gallery__item[class*="--of-"] {
		grid-column: auto;
	}

	.project-gallery__item:first-child:nth-last-child(odd) {
		grid-column: span 2;
	}

	.project-gallery__item .media,
	.project-gallery__item[class*="--of-"] .media {
		aspect-ratio: 4 / 3;
	}

	.project-strip {
		grid-template-columns: minmax(0, 1fr);
	}

	.lightbox__prev,
	.lightbox__next {
		top: auto;
		bottom: 0.75rem;
	}
}

/* -------------------------------------------------------------------------
   17. FAQ accordion
   ---------------------------------------------------------------------- */

.faq {
	display: grid;
	max-width: 54rem;
}

.faq__item {
	border-bottom: 1px solid var(--pds-border);
}

.faq__item:first-child {
	border-top: 1px solid var(--pds-border);
}

.faq__item summary {
	display: flex;
	gap: 1.25rem;
	align-items: flex-start;
	justify-content: space-between;
	padding: 1.4rem 0;
	color: var(--pds-black);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.45;
	list-style: none;
	cursor: pointer;
	transition: color 0.2s var(--pds-ease);
}

.faq__item summary::marker,
.faq__item summary::-webkit-details-marker {
	display: none;
	content: "";
}

.faq__item summary:hover,
.faq__item[open] summary {
	color: var(--pds-accent-text);
}

.faq__icon {
	position: relative;
	flex: 0 0 auto;
	width: 1rem;
	height: 1rem;
	margin-top: 0.35rem;
}

.faq__icon::before,
.faq__icon::after {
	position: absolute;
	top: 50%;
	left: 0;
	width: 1rem;
	height: 2px;
	background: currentcolor;
	transition: transform 0.25s var(--pds-ease);
	content: "";
}

.faq__icon::after {
	transform: rotate(90deg);
}

.faq__item[open] .faq__icon::after {
	transform: rotate(0deg);
}

.faq__answer {
	padding-bottom: 1.6rem;
	color: var(--pds-muted);
	font-weight: 300;
}

.faq__answer > *:last-child {
	margin-bottom: 0;
}

/* -------------------------------------------------------------------------
   18. Contact
   ---------------------------------------------------------------------- */

.contact-layout {
	display: grid;
	gap: clamp(2.5rem, 5vw, 4.5rem);
	align-items: start;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.contact-details {
	padding: 0;
	margin: 0;
	list-style: none;
}

.contact-details li {
	display: flex;
	gap: 1rem;
	padding-block: 1.15rem;
	border-bottom: 1px solid var(--pds-border);
}

.contact-details li:first-child {
	padding-top: 0;
}

.contact-details svg {
	flex: 0 0 auto;
	width: 1.25rem;
	height: 1.25rem;
	margin-top: 0.3rem;
	color: var(--pds-accent-text);
	fill: none;
	stroke: currentcolor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.contact-details strong {
	display: block;
	margin-bottom: 0.15rem;
	color: var(--pds-muted);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.16em;
}

.contact-details a {
	color: var(--pds-black);
	font-weight: 600;
	text-decoration: none;
}

.contact-details a:hover {
	color: var(--pds-accent-text);
}

.map-embed {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--pds-surface);
}

.map-embed iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.map-embed__consent {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	padding: 1.5rem;
	text-align: center;
	background: var(--pds-surface);
}

.map-embed__consent p {
	max-width: 26rem;
	margin: 0;
	color: var(--pds-muted);
	font-size: 0.875rem;
}

/* -------------------------------------------------------------------------
   19. Page hero (inner pages)
   ---------------------------------------------------------------------- */

.page-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 22rem;
	padding-block: calc(var(--pds-header-h) + 3.5rem) 3.5rem;
	overflow: hidden;
	color: var(--pds-white);
	background: var(--pds-ink);
	isolation: isolate;
}

.page-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.page-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.75;
}

/*
 * Left-weighted scrim: the title block sits bottom-left, so it always lands on
 * dark ground while the photograph stays readable on the right.
 */
.page-hero__bg::after {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgb(0 0 0 / 88%) 0%, rgb(0 0 0 / 55%) 50%, rgb(0 0 0 / 25%) 100%),
		linear-gradient(0deg, rgb(0 0 0 / 55%) 0%, rgb(0 0 0 / 0%) 65%);
	content: "";
}

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

.page-hero__sub {
	max-width: 40rem;
	margin: 1rem 0 0;
	color: rgb(255 255 255 / 78%);
	font-size: var(--pds-lead);
	font-weight: 300;
}

.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding: 0;
	margin: 0 0 1.1rem;
	color: rgb(255 255 255 / 60%);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	list-style: none;
}

.breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.breadcrumb a:hover {
	color: var(--pds-accent-text);
}

/* -------------------------------------------------------------------------
   20. CTA band
   ---------------------------------------------------------------------- */

.cta-band {
	position: relative;
	overflow: hidden;
	color: var(--pds-white);
	background: var(--pds-ink);
	isolation: isolate;
}

.cta-band__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.cta-band__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.55;
}

/* Same left-weighted scrim as the page hero: the copy must stay readable
   whatever photograph the client drops in. */
.cta-band__bg::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgb(0 0 0 / 90%) 0%, rgb(0 0 0 / 65%) 55%, rgb(0 0 0 / 35%) 100%);
	content: "";
}

.cta-band__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	align-items: center;
	justify-content: space-between;
}

.cta-band h2 {
	max-width: 34rem;
	margin-bottom: 0.75rem;
	color: var(--pds-white);
}

.cta-band p {
	max-width: 34rem;
	margin-bottom: 0;
	color: rgb(255 255 255 / 80%);
	font-weight: 300;
}

/* -------------------------------------------------------------------------
   21. Site footer
   ---------------------------------------------------------------------- */

.site-footer {
	color: var(--pds-muted-dark);
	background: var(--pds-black);
}

.site-footer h4 {
	margin-bottom: 1.25rem;
	color: var(--pds-white);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.16em;
}

.site-footer__widgets {
	display: grid;
	gap: clamp(2rem, 4vw, 3.5rem);
	padding-block: clamp(3rem, 6vw, 4.75rem);
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
}

.site-footer p {
	font-size: 0.9375rem;
	font-weight: 300;
}

.site-footer__col > *:last-child {
	margin-bottom: 0;
}

.site-footer__col--wide {
	max-width: 24rem;
}

.footer-brand {
	display: block;
	margin-bottom: 1.25rem;
	color: var(--pds-white);
	font-size: 1.125rem;
	font-weight: 900;
	letter-spacing: 0.04em;
	text-decoration: none;
}

.footer-brand img {
	width: auto;
	height: 8.5rem;
}

.site-footer ul:not(.social-links) {
	padding: 0;
	margin: 0;
	list-style: none;
}

.site-footer ul:not(.social-links) li {
	margin-bottom: 0.65rem;
	font-size: 0.9375rem;
}

.site-footer a {
	color: var(--pds-muted-dark);
	text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
	color: var(--pds-accent-text);
}

.site-footer .social-links {
	margin-top: 1.5rem;
	color: var(--pds-white);
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	align-items: center;
	justify-content: space-between;
	padding-block: 1.5rem;
	border-top: 1px solid var(--pds-ink-line);
	color: #777;
	font-size: 0.8125rem;
}

.site-footer__bottom p {
	margin: 0;
}

/* -------------------------------------------------------------------------
   22. Editorial content (blog, editor output, legal pages)
   ---------------------------------------------------------------------- */

.site-main {
	flex: 1 0 auto;
}

.site-main--padded {
	padding-block: clamp(3rem, 7vw, 6rem);
}

.site-main--offset {
	padding-top: calc(var(--pds-header-h) + clamp(2.5rem, 6vw, 5rem));
}

.entry-content > *:last-child,
.entry-summary > *:last-child {
	margin-bottom: 0;
}

.entry-content h2,
.entry-content h3 {
	margin-top: 2.5rem;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.35rem;
}

.entry-content li {
	margin-bottom: 0.5rem;
}

.entry-meta,
.entry-footer,
.archive-description {
	color: var(--pds-muted);
	font-size: 0.9rem;
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1rem;
}

.entry-meta .updated:not(.published) {
	display: none;
}

.page-header,
.entry-header {
	margin-bottom: 2rem;
}

.post-thumbnail {
	margin-bottom: 1.5rem;
}

.post-list {
	display: grid;
	gap: 3rem;
}

.post-summary {
	max-width: var(--pds-content);
}

.entry-content > .alignwide {
	width: min(calc(100vw - (2 * var(--pds-gutter))), var(--pds-wide));
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.entry-content > .alignfull {
	width: 100vw;
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.alignleft {
	float: left;
	margin: 0 1.5rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0 0 1rem 1.5rem;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.wp-caption-text,
.gallery-caption {
	color: var(--pds-muted);
	font-size: 0.85rem;
}

.sticky {
	padding-left: 1rem;
	border-left: 3px solid var(--pds-accent);
}

.bypostauthor {
	font-weight: inherit;
}

.post-navigation,
.posts-navigation,
.comments-navigation {
	margin-top: 3rem;
}

.nav-links {
	display: flex;
	justify-content: space-between;
	gap: 1.5rem;
}

.nav-next {
	margin-left: auto;
	text-align: right;
}

.nav-subtitle,
.nav-title {
	display: block;
}

.nav-subtitle {
	color: var(--pds-muted);
	font-size: 0.8rem;
}

.comments-area {
	padding-top: 3rem;
	margin-top: 3rem;
	border-top: 1px solid var(--pds-border);
}

.comment-list,
.comment-list .children {
	padding-left: 1.25rem;
}

.comment-body {
	margin-bottom: 2rem;
}

.comment-form textarea,
.comment-form input:not([type="checkbox"]):not([type="submit"]) {
	width: 100%;
}

/* -------------------------------------------------------------------------
   23. Scroll reveal (progressive enhancement)
   ---------------------------------------------------------------------- */

.js .reveal {
	opacity: 0;
	transform: translateY(1.25rem);
	transition: opacity 0.7s var(--pds-ease), transform 0.7s var(--pds-ease);
}

.js .reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* -------------------------------------------------------------------------
   24. Responsive
   ---------------------------------------------------------------------- */

@media (min-width: 62.5rem) {
	.header-cta {
		display: inline-flex;
	}
}

/*
 * The Greek menu labels are long: below 1200px the inline menu crowds the CTA
 * button, so the drawer takes over well before tablet width.
 */
@media (max-width: 75rem) {
	.js .main-navigation {
		display: none;
	}

	.js .menu-toggle {
		display: inline-flex;
	}

	.no-js .site-header {
		position: static;
	}

	.no-js .site-header__inner {
		flex-wrap: wrap;
		padding-block: 0.75rem;
	}

	.no-js .main-navigation .menu {
		flex-wrap: wrap;
	}

	.no-js .offcanvas {
		display: flex;
	}
}

@media (max-width: 68.75rem) {

	/* Two columns from here down: any narrower and the address column can no
	   longer hold «ΔΙΕΥΘΥΝΣΗ & ΕΠΙΚΟΙΝΩΝΙΑ» on one line. */
	.site-footer__widgets {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

@media (max-width: 61.25rem) {
	:root {
		--pds-header-h: 4.5rem;
	}

	.contact-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.split {
		grid-template-columns: minmax(0, 1fr);
	}

	.split--media-first .split__media,
	.split__media {
		order: 0;
	}

	.media--diagonal-right,
	.media--diagonal-left {
		clip-path: none;
	}

	.split--flush .split__media {
		min-height: 18rem;
	}

	.hero {
		min-height: 34rem;
		text-align: center;
	}
}

@media (max-width: 34rem) {
	.site-footer__widgets {
		grid-template-columns: minmax(0, 1fr);
	}

	.service-grid,
	.service-grid--4 {
		grid-template-columns: minmax(0, 1fr);
	}

	.custom-logo {
		max-height: 2.5rem;
	}
}

@media (max-width: 40rem) {
	.hero {
		padding-block: calc(var(--pds-header-h) + 3.5rem) 5rem;
	}

	.hero__scroll {
		display: none;
	}

	.btn {
		width: 100%;
	}

	.btn-row {
		width: 100%;
	}

	.header-cta.btn {
		width: auto;
	}

	.page-hero {
		min-height: 17rem;
	}

	.alignleft,
	.alignright {
		float: none;
		margin-inline: 0;
	}
}

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

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}

	.js .reveal {
		opacity: 1;
		transform: none;
	}
}

@media print {
	.site-header,
	.site-footer,
	.offcanvas,
	.offcanvas__overlay,
	.hero__scroll {
		display: none !important;
	}

	body {
		color: #000;
		background: #fff;
	}
}

/* -------------------------------------------------------------------------
   25. Composition fixes and local overrides
   ---------------------------------------------------------------------- */

.section-head--flush {
	margin-bottom: 0;
}

.card-grid + .btn-row,
.value-grid + .btn-row,
.cert-grid + .btn-row {
	margin-top: clamp(2.25rem, 4vw, 3.25rem);
}

.section-head + .value-grid,
.section-head + .brand-strip,
.section-head + .cert-grid,
.section-head + .project-grid,
.section-head + .project-gallery,
.section-head + .empty-state {
	margin-top: clamp(1rem, 2vw, 2rem);
}

.section-head .btn-row {
	margin-top: 2rem;
}

.contact-layout h2,
.empty-state h2 {
	font-size: clamp(1.3rem, 2.2vw, 1.75rem);
	letter-spacing: 0.02em;
}

.contact-layout aside .social-links {
	margin-top: 1.75rem;
	color: var(--pds-black);
}

.split__media .media {
	height: 100%;
}

.project-card .media__placeholder {
	position: absolute;
	inset: 0;
}

.contact-form form > *:last-child {
	margin-bottom: 0;
}

.contact-form button[type="submit"] {
	width: 100%;
	margin-top: 0.5rem;
}

@media (min-width: 40rem) {
	.contact-form button[type="submit"] {
		width: auto;
		min-width: 14rem;
	}
}

.heading-line {
	display: block;
}

.faq__group-title {
	font-size: clamp(1.35rem, 2.4vw, 1.875rem);
	letter-spacing: 0.02em;
}

.cta-band.section {
	padding-block: clamp(3.25rem, 6vw, 5rem);
}

/* -------------------------------------------------------------------------
   26. Rounded geometry (mirrors the source: pill buttons, 20px blocks)
   ---------------------------------------------------------------------- */

.service-card,
.cert-card,
.project-card,
.empty-state,
.map-embed,
.map-embed__consent {
	border-radius: var(--pds-radius-lg);
}

.form-notice,
.main-navigation .sub-menu,
.service-card__icon {
	border-radius: var(--pds-radius);
}

.form-notice {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.rule {
	border-radius: var(--pds-radius-pill);
}

.social-links a {
	border-radius: var(--pds-radius-pill);
}

.social-links a:hover,
.social-links a:focus-visible {
	background: rgb(255 255 255 / 8%);
}

.contact-layout aside .social-links a:hover,
.contact-layout aside .social-links a:focus-visible {
	background: rgb(0 0 0 / 6%);
}

/*
 * The diagonal cut lives on the wrapper and the rounded frame on the figure
 * inside it, so a panel keeps its soft corners on the straight sides and its
 * angle on the cut side.
 */
.media--diagonal-right .media,
.media--diagonal-left .media {
	border-radius: var(--pds-radius-lg);
}

/* -------------------------------------------------------------------------
   27. Error page
   ---------------------------------------------------------------------- */

.error-page {
	display: flex;
	align-items: center;
	min-height: 100vh;
	padding-block: calc(var(--pds-header-h) + 3rem) 4rem;
	color: var(--pds-muted-dark);
	background: var(--pds-ink);
}

.error-page__inner {
	max-width: 40rem;
	margin-inline: auto;
	text-align: center;
}

.error-page__code {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--pds-accent-text);
	background: var(--pds-gold-sheen);
	background-size: 250% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	font-size: clamp(4.5rem, 14vw, 9rem);
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 0.9;
}

.error-page h1 {
	color: var(--pds-white);
	font-size: clamp(1.5rem, 3.2vw, 2.25rem);
}

.error-page .rule {
	margin-inline: auto;
}

.error-page p {
	margin-bottom: 2.25rem;
	font-weight: 300;
}

.error-page .btn-row {
	justify-content: center;
}

@media (max-width: 40rem) {
	.error-page {
		min-height: 0;
		padding-block: calc(var(--pds-header-h) + 3rem) 4rem;
	}

	.error-page .btn-row {
		width: 100%;
	}
}

.site-footer__credit {
	margin: 0;
	color: #777;
	font-size: 0.8125rem;
	text-align: right;
}

.site-footer__credit a {
	color: var(--pds-muted-dark);
	font-weight: 600;
	text-decoration: none;
}

.site-footer__credit a:hover,
.site-footer__credit a:focus-visible {
	color: var(--pds-accent-text);
}

@media (max-width: 40rem) {
	.site-footer__credit {
		text-align: left;
	}
}

/* A button row that follows body copy needs breathing room from it. */
article + .btn-row,
.entry-content + .btn-row {
	margin-top: clamp(2rem, 4vw, 3rem);
}

/* Phone numbers read as one line with a divider rather than stacked rows. */
.inline-phones {
	display: flex;
	flex-wrap: wrap;
	gap: 0.2rem 0.6rem;
	align-items: baseline;
}

.inline-phones__sep {
	opacity: 0.45;
}

/* Opening hours: one entry per line, kept tight as a single block. */
.hours-lines span {
	display: block;
}

.site-footer .hours-lines span + span,
.contact-details .hours-lines span + span {
	margin-top: 0.1rem;
}
