/**
 * Podology Clinic — design system.
 *
 * Everything visual is defined once, here, as custom properties. Templates
 * never invent a value. If a spacing or a colour is needed that this file does
 * not define, the answer is to add it here, not inline.
 *
 * Sections:
 *   1. Fonts
 *   2. Tokens
 *   3. Reset & base
 *   4. Typography
 *   5. Layout
 *   6. Buttons & links
 *   7. Cards
 *   8. Forms
 *   9. Components
 *  10. Utilities
 */

/* ==========================================================================
   1. Fonts
   ==========================================================================

   @font-face lives in fonts.css, which loads first. Manrope and Commissioner
   are both SIL OFL and both ship real Greek, self-hosted as woff2 so no
   visitor IP reaches a font CDN. Only the Greek subset (24KB for both) is
   fetched for Greek text; the Latin files stay unrequested until needed.
   ========================================================================== */

/* ==========================================================================
   2. Tokens
   ========================================================================== */

:root {
	/* Palette Γ — Πετρόλ & Λινό. Verified WCAG AA on every pairing used.
	   These are defaults; Theme Settings can override them at runtime. */
	--pc-primary: #2e6b72;
	--pc-primary-dark: #23545a;
	--pc-primary-soft: #e3edee;
	--pc-secondary: #14262b;
	--pc-accent: #2e6b72;

	--pc-text: #14262b;
	--pc-text-soft: #33474d;
	--pc-muted: #586669;
	--pc-faint: #8b9698;

	--pc-bg: #f8f7f4;
	--pc-bg-soft: #ededE7;
	--pc-bg-card: #ffffff;
	--pc-border: #e1dfd8;
	--pc-border-strong: #cdcac1;

	--pc-success: #2f6b4f;
	--pc-warning: #8a6420;
	--pc-error: #9c3f33;

	/* Type */
	/* Sans-first. A serif heading in a fallback stack lands on Georgia, and
	   Georgia on every heading is what reads as dated. Manrope is geometric and
	   contemporary; Commissioner carries the body text with real Greek. */
	--pc-font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
	--pc-font-body: 'Commissioner', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

	/* Fluid scale, ratio 1.25. clamp() means no breakpoint-by-breakpoint
	   font-size overrides scattered through media queries. */
	--pc-step--1: clamp(0.875rem, 0.86rem + 0.06vw, 0.9rem);
	--pc-step-0: clamp(1rem, 0.98rem + 0.1vw, 1.0625rem);
	--pc-step-1: clamp(1.15rem, 1.1rem + 0.25vw, 1.3rem);
	--pc-step-2: clamp(1.35rem, 1.25rem + 0.5vw, 1.65rem);
	--pc-step-3: clamp(1.6rem, 1.4rem + 0.9vw, 2.1rem);
	--pc-step-4: clamp(1.9rem, 1.55rem + 1.6vw, 2.75rem);
	--pc-step-5: clamp(2.2rem, 1.6rem + 2.6vw, 3.5rem);

	--pc-leading-tight: 1.15;
	--pc-leading-snug: 1.35;
	--pc-leading-normal: 1.65;

	/* Spacing — 4px base */
	--pc-space-1: 0.25rem;
	--pc-space-2: 0.5rem;
	--pc-space-3: 0.75rem;
	--pc-space-4: 1rem;
	--pc-space-5: 1.5rem;
	--pc-space-6: 2rem;
	--pc-space-7: 2.5rem;
	--pc-space-8: 3rem;
	--pc-space-9: 4rem;
	--pc-space-10: 5rem;
	--pc-space-11: 6rem;
	--pc-space-12: 8rem;

	--pc-section-spacing: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);

	/* Measure */
	--pc-container: 1200px;
	--pc-container-wide: 1400px;
	--pc-container-narrow: 780px;
	--pc-gutter: clamp(1.125rem, 0.8rem + 1.6vw, 2.5rem);

	/* Shape. Generous enough to read as current, stopping short of the
	   bubble look — cards and the CTA band are the only places that go large. */
	--pc-radius-sm: 6px;
	--pc-radius-md: 10px;
	--pc-radius-lg: 16px;
	--pc-radius-xl: 24px;
	--pc-radius-pill: 999px;

	/* Three steps, layered rather than single-blur, so cards read as lifted
	   off the page instead of outlined on it. */
	--pc-shadow-sm: 0 1px 3px rgba(20, 38, 43, 0.06), 0 1px 2px rgba(20, 38, 43, 0.04);
	--pc-shadow-md: 0 6px 20px rgba(20, 38, 43, 0.08), 0 2px 6px rgba(20, 38, 43, 0.04);
	--pc-shadow-lg: 0 16px 44px rgba(20, 38, 43, 0.13), 0 4px 12px rgba(20, 38, 43, 0.06);

	--pc-duration: 200ms;
	--pc-ease: cubic-bezier(0.2, 0, 0.2, 1);

	--pc-header-height: 76px;
	--pc-tap: 44px;
}

/* ==========================================================================
   3. Reset & base
   ========================================================================== */

/* Belt and braces: several of our own display rules would otherwise win over
   the UA sheet's `[hidden] { display: none }` on the element they target. */
[hidden] { display: none !important; }

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--pc-bg);
	color: var(--pc-text);
	font-family: var(--pc-font-body);
	font-size: var(--pc-step-0);
	line-height: var(--pc-leading-normal);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

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

/* Reserve the space an image will occupy so nothing jumps as it arrives. */
img[width][height] {
	height: auto;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--pc-primary);
	outline-offset: 3px;
	border-radius: var(--pc-radius-sm);
}

/* Only remove the default ring where we replace it with our own. */
:focus:not(:focus-visible) {
	outline: none;
}

::selection {
	background: var(--pc-primary-soft);
	color: var(--pc-secondary);
}

hr {
	border: 0;
	border-top: 1px solid var(--pc-border);
	margin: var(--pc-space-7) 0;
}

/* ==========================================================================
   4. Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
	font-family: var(--pc-font-heading);
	font-weight: 700;
	line-height: var(--pc-leading-tight);
	color: var(--pc-secondary);
	margin: 0 0 var(--pc-space-4);
	text-wrap: balance;
	/* Tight tracking is what separates a contemporary geometric sans from a
	   default one. It scales with size, so the big display sizes get the most. */
	letter-spacing: -0.025em;
}

h1 { font-size: var(--pc-step-5); letter-spacing: -0.035em; }
h2 { font-size: var(--pc-step-4); }
h3 { font-size: var(--pc-step-2); }
h4 { font-size: var(--pc-step-1); }
h5, h6 { font-size: var(--pc-step-0); font-weight: 600; letter-spacing: -0.01em; }

p {
	margin: 0 0 var(--pc-space-4);
	text-wrap: pretty;
}

a {
	color: var(--pc-primary);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	transition: color var(--pc-duration) var(--pc-ease);
}

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

strong, b { font-weight: 600; }

small { font-size: var(--pc-step--1); }

ul, ol {
	margin: 0 0 var(--pc-space-4);
	padding-left: 1.35em;
}

li { margin-bottom: var(--pc-space-2); }

blockquote {
	margin: var(--pc-space-6) 0;
	padding: var(--pc-space-2) 0 var(--pc-space-2) var(--pc-space-5);
	border-left: 2px solid var(--pc-primary);
	font-family: var(--pc-font-heading);
	font-size: var(--pc-step-1);
	font-weight: 500;
	letter-spacing: -0.015em;
	line-height: var(--pc-leading-snug);
	color: var(--pc-text-soft);
}

blockquote p:last-child { margin-bottom: 0; }

code, kbd, pre {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
}

/* Eyebrow label above section headings. */
.pc-eyebrow {
	display: block;
	font-family: var(--pc-font-body);
	font-size: var(--pc-step--1);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--pc-primary);
	margin-bottom: var(--pc-space-3);
}

.pc-lead {
	font-size: var(--pc-step-1);
	line-height: var(--pc-leading-snug);
	color: var(--pc-text-soft);
}

/* ==========================================================================
   5. Layout
   ========================================================================== */

.pc-container {
	width: 100%;
	max-width: var(--pc-container);
	margin-inline: auto;
	padding-inline: var(--pc-gutter);
}

.pc-container--wide { max-width: var(--pc-container-wide); }
.pc-container--narrow { max-width: var(--pc-container-narrow); }

/* Full-bleed variant: the header chrome spans the whole viewport while page
   content stays on the 1200px measure. Gutters remain, so nothing touches
   the screen edge. */
.pc-container--fluid { max-width: none; }

.pc-section {
	padding-block: var(--pc-section-spacing);
}

.pc-section--tight { padding-block: calc(var(--pc-section-spacing) * 0.6); }
.pc-section--soft { background: var(--pc-bg-soft); }
.pc-section--card { background: var(--pc-bg-card); }

.pc-section__head {
	max-width: 62ch;
	margin-bottom: var(--pc-space-8);
}

.pc-section__head--center {
	margin-inline: auto;
	text-align: center;
}

.pc-section__title { margin-bottom: var(--pc-space-3); }

.pc-section__intro {
	color: var(--pc-muted);
	font-size: var(--pc-step-1);
	line-height: var(--pc-leading-snug);
	margin-bottom: 0;
}

.pc-grid {
	display: grid;
	gap: var(--pc-space-5);
}

.pc-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
/* auto-FILL, not auto-fit: auto-fit collapses the empty tracks, so a group
   holding a single service stretched that one card across the full row while
   its neighbours sat at a third of the width. auto-fill keeps the tracks, so
   one card is the same size as three. */
.pc-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.pc-grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }

.pc-split {
	display: grid;
	gap: clamp(var(--pc-space-6), 4vw, var(--pc-space-9));
	align-items: center;
}

/* Two columns of unequal length read as broken when they are centred against
   each other — the headings stop lining up. */
.pc-split--top { align-items: start; }

@media (min-width: 860px) {
	.pc-split { grid-template-columns: 1fr 1fr; }
	.pc-split--media-first > :first-child { order: -1; }
}

/* Article measure — long-form reading tops out well before the container. */
.pc-prose {
	max-width: 72ch;
}

.pc-prose > * + * { margin-top: var(--pc-space-4); }
.pc-prose h2 { margin-top: var(--pc-space-8); font-size: var(--pc-step-3); }
.pc-prose h3 { margin-top: var(--pc-space-6); font-size: var(--pc-step-1); }
.pc-prose img { border-radius: var(--pc-radius-md); margin-block: var(--pc-space-6); }

/* Legacy editor content (old XCare/Elementor accordions) carries bare
   FontAwesome <svg> chevrons with no width or height attribute. An SVG with
   no intrinsic size fills its container, which is how a 20px chevron rendered
   as a 900px arrow mid-article. Anything the editor genuinely intends to be
   large carries its own dimensions and keeps them. */
.pc-prose svg:not([width]):not([height]) {
	width: 1.1em;
	height: 1.1em;
	vertical-align: -0.15em;
}

.pc-skip-link {
	position: absolute;
	left: -9999px;
	z-index: 999;
	padding: var(--pc-space-3) var(--pc-space-5);
	background: var(--pc-secondary);
	color: #fff;
	border-radius: 0 0 var(--pc-radius-md) 0;
}

.pc-skip-link:focus {
	left: 0;
	top: 0;
	color: #fff;
}

/* ==========================================================================
   6. Buttons & links
   ========================================================================== */

.pc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--pc-space-2);
	min-height: var(--pc-tap);
	padding: var(--pc-space-3) var(--pc-space-6);
	border: 1px solid transparent;
	border-radius: var(--pc-radius-md);
	font-family: var(--pc-font-heading);
	font-size: var(--pc-step-0);
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color var(--pc-duration) var(--pc-ease),
		border-color var(--pc-duration) var(--pc-ease),
		box-shadow var(--pc-duration) var(--pc-ease),
		transform var(--pc-duration) var(--pc-ease),
		color var(--pc-duration) var(--pc-ease);
}

.pc-btn--primary {
	background: var(--pc-primary);
	border-color: var(--pc-primary);
	color: #fff;
}

.pc-btn--primary:hover,
.pc-btn--primary:focus-visible {
	background: var(--pc-primary-dark);
	border-color: var(--pc-primary-dark);
	color: #fff;
	box-shadow: var(--pc-shadow-md);
	transform: translateY(-1px);
}

.pc-btn--secondary {
	background: transparent;
	border-color: var(--pc-border-strong);
	color: var(--pc-secondary);
}

.pc-btn--secondary:hover,
.pc-btn--secondary:focus-visible {
	border-color: var(--pc-primary);
	color: var(--pc-primary);
}

.pc-btn--ghost {
	background: transparent;
	border-color: transparent;
	color: var(--pc-primary);
	padding-inline: var(--pc-space-2);
}

.pc-btn[disabled],
.pc-btn[aria-disabled='true'] {
	opacity: 0.5;
	cursor: not-allowed;
}

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

.pc-btns {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pc-space-3);
}

/* Arrow link — the third and final button style. There is no fourth. */
.pc-arrow {
	display: inline-flex;
	align-items: center;
	gap: var(--pc-space-2);
	font-weight: 600;
	text-decoration: none;
}

.pc-arrow svg {
	transition: transform var(--pc-duration) var(--pc-ease);
	flex-shrink: 0;
}

.pc-arrow:hover svg { transform: translateX(3px); }

/* ==========================================================================
   7. Cards
   ========================================================================== */

/*
 * Cards carry the page, so they get the depth. A hairline border on a pale
 * ground reads flat and washed out; a soft shadow on white reads current.
 */
.pc-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--pc-bg-card);
	border: 1px solid transparent;
	border-radius: var(--pc-radius-lg);
	overflow: hidden;
	box-shadow: var(--pc-shadow-sm);
	transition: box-shadow 260ms var(--pc-ease),
		transform 260ms var(--pc-ease);
}

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

.pc-card__media {
	position: relative;
	aspect-ratio: 3 / 2;
	background: var(--pc-bg-soft);
	overflow: hidden;
}

/*
 * display:block plus height:100% removes the inline-descender gap that was
 * showing as a grey strip under every card image.
 */
.pc-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms var(--pc-ease);
}

.pc-card:hover .pc-card__media img { transform: scale(1.045); }

.pc-card__body {
	display: flex;
	flex-direction: column;
	gap: var(--pc-space-2);
	padding: var(--pc-space-5) var(--pc-space-5) var(--pc-space-6);
	flex: 1;
}

.pc-card__title {
	font-size: var(--pc-step-1);
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0;
}

/* The whole card is the link. Underlining the title as well made every card
   look like a list of hyperlinks rather than a component. */
.pc-card__title a {
	color: var(--pc-secondary);
	text-decoration: none;
}

.pc-card:hover .pc-card__title a { color: var(--pc-primary); }

.pc-card__text {
	color: var(--pc-muted);
	font-size: var(--pc-step--1);
	line-height: var(--pc-leading-snug);
	margin: 0;
}

.pc-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pc-space-3);
	font-size: var(--pc-step--1);
	color: var(--pc-faint);
}

.pc-card__foot {
	margin-top: auto;
	padding-top: var(--pc-space-4);
	color: var(--pc-primary);
	font-size: var(--pc-step--1);
}

/*
 * Whole-card link. The <a> covers the card via ::after so the entire surface is
 * clickable, while the accessible name stays on the real link text rather than
 * being wrapped around images and headings.
 */
.pc-card__link::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
}

.pc-card__link:focus-visible {
	outline: none;
}

.pc-card:has(.pc-card__link:focus-visible) {
	outline: 2px solid var(--pc-primary);
	outline-offset: 3px;
}

/* Portrait cards for the team. */
.pc-card--portrait .pc-card__media { aspect-ratio: 4 / 5; }

/* Icon-led service card, used where there is no photograph. */
.pc-card__icon {
	width: 34px;
	height: 34px;
	color: var(--pc-primary);
	margin-bottom: var(--pc-space-2);
}

/* ==========================================================================
   8. Forms
   ========================================================================== */

.pc-field {
	display: flex;
	flex-direction: column;
	gap: var(--pc-space-2);
	margin-bottom: var(--pc-space-5);
}

.pc-label {
	font-size: var(--pc-step--1);
	font-weight: 600;
	color: var(--pc-text-soft);
}

.pc-label .required { color: var(--pc-error); }

/* Labels are always visible. Placeholder-only forms fail the moment someone
   starts typing and forgets what the box was for. */
.pc-input,
.pc-textarea,
.pc-select {
	width: 100%;
	min-height: var(--pc-tap);
	padding: var(--pc-space-3) var(--pc-space-4);
	background: var(--pc-bg-card);
	border: 1px solid var(--pc-border-strong);
	border-radius: var(--pc-radius-md);
	transition: border-color var(--pc-duration) var(--pc-ease),
		box-shadow var(--pc-duration) var(--pc-ease);
}

.pc-textarea {
	min-height: 140px;
	resize: vertical;
}

.pc-input:focus,
.pc-textarea:focus,
.pc-select:focus {
	outline: none;
	border-color: var(--pc-primary);
	box-shadow: 0 0 0 3px var(--pc-primary-soft);
}

.pc-input[aria-invalid='true'],
.pc-textarea[aria-invalid='true'] {
	border-color: var(--pc-error);
}

.pc-help {
	font-size: var(--pc-step--1);
	color: var(--pc-muted);
}

.pc-error {
	font-size: var(--pc-step--1);
	color: var(--pc-error);
	font-weight: 600;
}

.pc-consent {
	display: flex;
	align-items: flex-start;
	gap: var(--pc-space-3);
	font-size: var(--pc-step--1);
	color: var(--pc-muted);
	line-height: var(--pc-leading-snug);
}

.pc-consent input { margin-top: 0.28em; flex-shrink: 0; }

/* Honeypot — hidden from people, visible to naive bots. */
.pc-hp {
	position: absolute !important;
	left: -9999px !important;
}

/* ==========================================================================
   9. Components
   ========================================================================== */

/* --- Breadcrumbs --- */
.pc-breadcrumbs {
	padding-block: var(--pc-space-4) var(--pc-space-2);
	font-size: var(--pc-step--1);
	color: var(--pc-muted);
}

/* The breadcrumb already sets the page's top margin. Letting the first
   section add a full section's padding on top of it left a band of empty
   page between the trail and the H1 that read as a missing image. */
.pc-breadcrumbs + .pc-section,
.pc-breadcrumbs + article > .pc-section:first-child,
.pc-breadcrumbs + article > .pc-container.pc-section:first-child,
.pc-breadcrumbs + article > header.pc-section:first-child {
	padding-top: var(--pc-space-6);
}

.pc-breadcrumbs a { color: var(--pc-muted); }
.pc-breadcrumbs a:hover { color: var(--pc-primary); }

/* --- Pills / tags --- */
.pc-pill {
	display: inline-flex;
	align-items: center;
	padding: var(--pc-space-1) var(--pc-space-3);
	background: var(--pc-primary-soft);
	color: var(--pc-primary-dark);
	border-radius: var(--pc-radius-pill);
	font-size: var(--pc-step--1);
	font-weight: 600;
	text-decoration: none;
	line-height: 1.7;
}

a.pc-pill:hover {
	background: var(--pc-primary);
	color: #fff;
}

/* --- Accordion (FAQ) --- */
.pc-accordion {
	border-top: 1px solid var(--pc-border);
}

.pc-accordion__item {
	border-bottom: 1px solid var(--pc-border);
}

.pc-accordion__trigger {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--pc-space-4);
	width: 100%;
	min-height: var(--pc-tap);
	padding: var(--pc-space-4) 0;
	background: none;
	border: 0;
	text-align: left;
	font-family: var(--pc-font-heading);
	font-size: var(--pc-step-1);
	line-height: var(--pc-leading-snug);
	color: var(--pc-secondary);
	cursor: pointer;
}

.pc-accordion__trigger:hover { color: var(--pc-primary); }

.pc-accordion__icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	margin-top: 0.2em;
	color: var(--pc-primary);
	transition: transform var(--pc-duration) var(--pc-ease);
}

.pc-accordion__trigger[aria-expanded='true'] .pc-accordion__icon {
	transform: rotate(45deg);
}

/* Height animation via grid rows: no measuring in JS, no layout shift. */
.pc-accordion__panel {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows var(--pc-duration) var(--pc-ease);
}

.pc-accordion__panel[data-open='true'] {
	grid-template-rows: 1fr;
}

.pc-accordion__inner {
	overflow: hidden;
}

.pc-accordion__inner > div {
	padding-bottom: var(--pc-space-5);
	color: var(--pc-text-soft);
	max-width: 68ch;
}

/* --- Symptom navigator: "Τι σας απασχολεί;" --- */
.pc-symptoms {
	display: grid;
	gap: var(--pc-space-3);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.pc-symptom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--pc-space-4);
	min-height: var(--pc-tap);
	padding: var(--pc-space-4) var(--pc-space-5);
	background: var(--pc-bg-card);
	border: 1px solid transparent;
	border-radius: var(--pc-radius-lg);
	box-shadow: var(--pc-shadow-sm);
	color: var(--pc-secondary);
	text-decoration: none;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: var(--pc-leading-snug);
	transition: border-color var(--pc-duration) var(--pc-ease),
		background-color var(--pc-duration) var(--pc-ease);
}

.pc-symptom:hover {
	background: var(--pc-primary-soft);
	color: var(--pc-primary-dark);
	box-shadow: var(--pc-shadow-md);
	transform: translateY(-2px);
}

.pc-symptom svg {
	flex-shrink: 0;
	color: var(--pc-primary);
	transition: transform var(--pc-duration) var(--pc-ease);
}

.pc-symptom:hover svg { transform: translateX(3px); }

.pc-symptoms__note {
	margin-top: var(--pc-space-5);
	font-size: var(--pc-step--1);
	color: var(--pc-muted);
	max-width: 62ch;
}

/* --- Trust strip --- */
.pc-trust {
	display: grid;
	gap: var(--pc-space-5);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}

.pc-trust__item {
	display: flex;
	flex-direction: column;
	gap: var(--pc-space-2);
}

.pc-trust__icon { width: 28px; height: 28px; color: var(--pc-primary); }
.pc-trust__title { font-weight: 600; color: var(--pc-secondary); }
.pc-trust__text { font-size: var(--pc-step--1); color: var(--pc-muted); margin: 0; }

/* --- Before / after --- */
.pc-beforeafter {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--pc-space-2);
}

.pc-beforeafter figure { margin: 0; }

.pc-beforeafter img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: var(--pc-radius-sm);
}

.pc-beforeafter figcaption {
	margin-top: var(--pc-space-2);
	font-size: var(--pc-step--1);
	font-weight: 600;
	color: var(--pc-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.pc-disclaimer {
	margin-top: var(--pc-space-5);
	padding: var(--pc-space-4) var(--pc-space-5);
	background: var(--pc-bg-soft);
	border-left: 2px solid var(--pc-border-strong);
	border-radius: 0 var(--pc-radius-sm) var(--pc-radius-sm) 0;
	font-size: var(--pc-step--1);
	color: var(--pc-muted);
	line-height: var(--pc-leading-snug);
}

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

/* --- Empty states --- */
.pc-empty {
	padding: var(--pc-space-8) var(--pc-space-5);
	text-align: center;
	border: 1px dashed var(--pc-border-strong);
	border-radius: var(--pc-radius-md);
	color: var(--pc-muted);
}

.pc-empty__title {
	font-family: var(--pc-font-heading);
	font-size: var(--pc-step-1);
	color: var(--pc-secondary);
	margin-bottom: var(--pc-space-2);
}

/* --- Sticky sidebar on service pages --- */
.pc-sticky {
	position: sticky;
	top: calc(var(--pc-header-height) + var(--pc-space-5));
}

/* --- Booking CTA band --- */
.pc-cta {
	background: var(--pc-secondary);
	color: #fff;
	border-radius: var(--pc-radius-xl);
	padding: clamp(var(--pc-space-7), 5vw, var(--pc-space-10)) var(--pc-gutter);
	text-align: center;
}

.pc-cta h2 { color: #fff; }
.pc-cta p { color: rgba(255, 255, 255, 0.82); max-width: 54ch; margin-inline: auto; }

.pc-cta .pc-btn--primary {
	background: #fff;
	border-color: #fff;
	color: var(--pc-secondary);
}

.pc-cta .pc-btn--primary:hover { background: var(--pc-primary-soft); color: var(--pc-secondary); }

.pc-cta .pc-btn--secondary {
	border-color: rgba(255, 255, 255, 0.45);
	color: #fff;
}

.pc-cta .pc-btn--secondary:hover {
	border-color: #fff;
	color: #fff;
}

.pc-cta .pc-btns { justify-content: center; }

/* --- Map --- */
.pc-map {
	position: relative;
	aspect-ratio: 16 / 10;
	background: var(--pc-bg-soft);
	border-radius: var(--pc-radius-md);
	overflow: hidden;
}

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

/* The map only loads when asked. Keeps a third-party iframe off the critical
   path and out of the way of consent. */
.pc-map__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--pc-space-3);
	padding: var(--pc-space-5);
	text-align: center;
	background: var(--pc-bg-soft);
	color: var(--pc-muted);
	font-size: var(--pc-step--1);
	cursor: pointer;
	border: 0;
	width: 100%;
}

/* --- Pagination --- */
.pc-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pc-space-2);
	justify-content: center;
	margin-top: var(--pc-space-8);
}

.pc-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: var(--pc-tap);
	min-height: var(--pc-tap);
	padding-inline: var(--pc-space-3);
	border: 1px solid var(--pc-border);
	border-radius: var(--pc-radius-md);
	text-decoration: none;
	color: var(--pc-text-soft);
}

.pc-pagination .page-numbers.current {
	background: var(--pc-primary);
	border-color: var(--pc-primary);
	color: #fff;
}

.pc-pagination a.page-numbers:hover {
	border-color: var(--pc-primary);
	color: var(--pc-primary);
}

/* ==========================================================================
   10. Utilities
   ========================================================================== */

.pc-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.pc-center { text-align: center; }
.pc-mt-0 { margin-top: 0; }
.pc-mb-0 { margin-bottom: 0; }

.pc-stack > * + * { margin-top: var(--pc-space-4); }
.pc-stack--lg > * + * { margin-top: var(--pc-space-6); }

/* Wide content must scroll inside itself, never push the page sideways. */
.pc-scroll-x {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

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

th, td {
	padding: var(--pc-space-3) var(--pc-space-4);
	border-bottom: 1px solid var(--pc-border);
	text-align: left;
}

/* ==========================================================================
   11. Templates
   ========================================================================== */

/* --- Table of contents (sidebar, long articles only) --- */

.pc-toc {
	padding: var(--pc-space-5);
	background: var(--pc-bg-soft);
	border: 1px solid var(--pc-border);
	border-radius: var(--pc-radius-md);
}

.pc-toc__title {
	display: block;
	font-family: var(--pc-font-body);
	font-size: var(--pc-step--1);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--pc-muted);
	margin-bottom: var(--pc-space-3);
}

.pc-toc ol {
	list-style: none;
	counter-reset: pc-toc;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--pc-space-2);
}

.pc-toc li {
	counter-increment: pc-toc;
	margin: 0;
}

.pc-toc a {
	display: flex;
	gap: var(--pc-space-2);
	color: var(--pc-text-soft);
	text-decoration: none;
	font-size: var(--pc-step--1);
	line-height: var(--pc-leading-snug);
}

.pc-toc a::before {
	content: counter(pc-toc);
	flex-shrink: 0;
	color: var(--pc-primary);
	font-weight: 600;
}

.pc-toc a:hover { color: var(--pc-primary); }

/* The sidebar used to borrow .pc-footer__hours, which sets the value to #fff
   for the dark footer — on the pale sidebar that rendered the opening times
   as white-on-cream, effectively invisible. Own class, own colours. */
.pc-hours-row {
	display: flex;
	justify-content: space-between;
	gap: var(--pc-space-4);
	margin: 0 0 var(--pc-space-2);
	font-size: var(--pc-step--1);
}

.pc-hours-row > span:first-child { color: var(--pc-muted); }
.pc-hours-row > span:last-child { color: var(--pc-text); font-weight: 600; white-space: nowrap; }

.pc-service__box-related {
	margin-top: var(--pc-space-4);
	padding-top: var(--pc-space-4);
	border-top: 1px solid var(--pc-border-strong);
	font-size: var(--pc-step--1);
	color: var(--pc-muted);
}

.pc-service__box-related a { font-weight: 600; }

/* Smooth-scroll offsets so a jumped-to heading does not hide under the
   sticky header. */
html { scroll-padding-top: calc(var(--pc-header-height) + var(--pc-space-4)); }



/* --- Service layout: content plus a sidebar that vanishes on mobile --- */

.pc-service__layout {
	display: grid;
	gap: var(--pc-space-8);
}

@media (min-width: 1024px) {
	.pc-service__layout {
		grid-template-columns: minmax(0, 1fr) 330px;
		gap: var(--pc-space-9);
	}
}

.pc-service__block { margin-top: var(--pc-space-8); }
.pc-service__block h2 { font-size: var(--pc-step-3); }

.pc-service__media img,
.pc-hero__media img {
	width: 100%;
	border-radius: var(--pc-radius-lg);
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.pc-hero__meta {
	display: flex;
	align-items: center;
	gap: var(--pc-space-2);
	margin-top: var(--pc-space-5);
	color: var(--pc-muted);
	font-size: var(--pc-step--1);
}

.pc-hero__meta svg { color: var(--pc-primary); }

/* The sidebar box is the only place a card gets a tinted background —
   it earns the emphasis by being the conversion point. */
.pc-service__box {
	padding: var(--pc-space-6);
	background: var(--pc-bg-soft);
	border: 1px solid var(--pc-border);
	border-radius: var(--pc-radius-md);
}

.pc-service__box-title {
	font-size: var(--pc-step-1);
	margin-bottom: var(--pc-space-3);
}

/* The supporting line needs real separation from the buttons underneath —
   they were nearly touching. */
.pc-service__box > .pc-card__text {
	margin-bottom: var(--pc-space-5);
}

.pc-service__box-meta {
	margin-top: var(--pc-space-5);
	padding-top: var(--pc-space-5);
	border-top: 1px solid var(--pc-border-strong);
	font-size: var(--pc-step--1);
	color: var(--pc-text-soft);
}

.pc-service__box-meta p {
	display: flex;
	gap: var(--pc-space-2);
	margin-bottom: var(--pc-space-2);
}

.pc-service__box-meta svg { flex-shrink: 0; color: var(--pc-primary); margin-top: 0.2em; }

/* On mobile the sidebar has already done its job through the bottom bar. */
@media (max-width: 1023px) {
	.pc-service__aside { display: none; }
}

/* --- Checklist --- */

.pc-checklist {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: var(--pc-space-3);
}

.pc-checklist li {
	display: flex;
	align-items: flex-start;
	gap: var(--pc-space-3);
	margin: 0;
	color: var(--pc-text-soft);
}

.pc-checklist svg {
	flex-shrink: 0;
	margin-top: 0.28em;
	color: var(--pc-primary);
}

/* --- Numbered steps --- */

.pc-steps {
	counter-reset: pc-step;
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: var(--pc-space-5);
}

.pc-steps li {
	counter-increment: pc-step;
	position: relative;
	padding-left: calc(var(--pc-space-8) + var(--pc-space-1));
	margin: 0;
}

.pc-steps li::before {
	content: counter(pc-step);
	position: absolute;
	left: 0;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--pc-border-strong);
	border-radius: 50%;
	font-family: var(--pc-font-heading);
	font-size: var(--pc-step-0);
	color: var(--pc-primary);
}

.pc-steps__title {
	font-size: var(--pc-step-1);
	margin-bottom: var(--pc-space-1);
}

/* --- Training timeline: a definition list, not a decorated rail --- */

.pc-timeline {
	margin: 0;
	display: grid;
	gap: var(--pc-space-4);
}

.pc-timeline dt {
	font-family: var(--pc-font-body);
	font-size: var(--pc-step--1);
	font-weight: 600;
	letter-spacing: 0.05em;
	color: var(--pc-primary);
}

.pc-timeline dd {
	margin: var(--pc-space-1) 0 0;
	padding-bottom: var(--pc-space-4);
	border-bottom: 1px solid var(--pc-border);
}

.pc-timeline dd strong { display: block; color: var(--pc-secondary); font-weight: 600; }
.pc-timeline dd span { color: var(--pc-muted); font-size: var(--pc-step--1); }
.pc-timeline dd:last-child { border-bottom: 0; padding-bottom: 0; }

/* --- Team member header --- */

.pc-member__role {
	font-family: var(--pc-font-body);
	font-size: var(--pc-step-0);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--pc-primary);
	margin-bottom: var(--pc-space-4);
}

.pc-member__chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pc-space-2);
	margin-top: var(--pc-space-4);
}

.pc-pill--link {
	display: inline-flex;
	align-items: center;
	gap: var(--pc-space-2);
	text-decoration: none;
	transition: background-color var(--pc-duration) var(--pc-ease),
		color var(--pc-duration) var(--pc-ease);
}

.pc-pill__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding-inline: 5px;
	border-radius: var(--pc-radius-pill);
	background: var(--pc-primary);
	color: #fff;
	font-size: 11px;
	font-variant-numeric: tabular-nums;
}

.pc-pill--link:hover .pc-pill__count,
.pc-pill--link:focus-visible .pc-pill__count {
	background: #fff;
	color: var(--pc-primary-dark);
}

/* A qualification backed by a certificate becomes a link to it. */
.pc-timeline__doc {
	display: inline-flex;
	align-items: baseline;
	gap: var(--pc-space-2);
	text-decoration: none;
	color: var(--pc-secondary);
}

.pc-timeline__doc strong { text-decoration: underline; text-underline-offset: 3px; }
.pc-timeline__doc svg { color: var(--pc-primary); transform: rotate(-45deg); flex-shrink: 0; }
.pc-timeline__doc:hover strong { color: var(--pc-primary); }

/* Kept for any older markup still using it; the front-page about section now
   fills its second column with points rather than centring a single one. */
.pc-about__solo {
	max-width: 62ch;
	margin-inline: auto;
	text-align: center;
}

.pc-about__points {
	padding: var(--pc-space-6);
	background: var(--pc-bg);
	border: 1px solid var(--pc-border);
	border-radius: var(--pc-radius-lg);
}

/* Page content that holds an embed (Instagram, a feed) must not inherit the
   narrow heading measure — it gets the full container. */
.pc-page-embed {
	width: 100%;
}

/* --- Credential timeline with certificates --- */

/*
 * The old site stacked each certificate full-width down a single column, so a
 * profile with five of them scrolled forever. Two columns on desktop, capped
 * thumbnails, and the year sitting beside rather than above the entry.
 */
@media (min-width: 720px) {
	.pc-timeline {
		grid-template-columns: 5.5rem 1fr;
		align-items: baseline;
		column-gap: var(--pc-space-4);
	}

	.pc-timeline dt { grid-column: 1; }
	.pc-timeline dd { grid-column: 2; margin-top: 0; }
}

.pc-timeline__cert {
	display: block;
	max-width: 260px;
	margin-top: var(--pc-space-3);
	border: 1px solid var(--pc-border);
	border-radius: var(--pc-radius-md);
	overflow: hidden;
	background: var(--pc-bg-card);
	transition: box-shadow var(--pc-duration) var(--pc-ease),
		transform var(--pc-duration) var(--pc-ease);
}

.pc-timeline__cert img {
	display: block;
	width: 100%;
	height: auto;
}

.pc-timeline__cert:hover {
	box-shadow: var(--pc-shadow-md);
	transform: translateY(-2px);
}

.pc-member__links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--pc-space-4);
	margin-top: var(--pc-space-5);
	font-size: var(--pc-step--1);
}

.pc-member__links a {
	display: inline-flex;
	align-items: center;
	gap: var(--pc-space-2);
	color: var(--pc-muted);
	text-decoration: none;
}

.pc-member__links a:hover { color: var(--pc-primary); }

/* --- Member portrait --- */

.pc-member__portrait img {
	width: 100%;
	border-radius: var(--pc-radius-lg);
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

/* Hero placeholder: shown only until a real photograph is uploaded. Quiet on
   purpose — it should read as "image pending", never as a design flourish. */

.pc-hero__placeholder {
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: var(--pc-radius-lg);
	background:
		radial-gradient(120% 90% at 80% 15%, var(--pc-primary-soft) 0%, transparent 60%),
		linear-gradient(150deg, var(--pc-bg-soft) 0%, var(--pc-border) 100%);
}

/* --- Hero slider --- */

.pc-slider {
	position: relative;
	/* Height is reserved before any image loads, so the slider never grows
	   under the content below it. Tall enough to carry the opening like a
	   proper hero, short enough that the next section still peeks above the
	   fold — a peek is what tells the visitor there is more to scroll to. */
	min-height: clamp(500px, 76vh, 840px);
	display: grid;
	overflow: hidden;
	background: var(--pc-secondary);
}

.pc-slider__track {
	display: grid;
	grid-area: 1 / 1;
}

.pc-slide {
	grid-area: 1 / 1;
	position: relative;
	display: flex;
	align-items: center;
	min-height: inherit;
	opacity: 0;
	visibility: hidden;
	transition: opacity 500ms var(--pc-ease), visibility 500ms;
}

.pc-slide[data-active='true'] {
	opacity: 1;
	visibility: visible;
}

.pc-slide__media {
	position: absolute;
	inset: 0;
}

.pc-slide__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Scrim rather than a flat tint: keeps the photograph readable at the top and
   guarantees text contrast where the words actually sit. */
.pc-slide__media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(20, 38, 43, 0.35) 0%,
		rgba(20, 38, 43, 0.55) 45%,
		rgba(20, 38, 43, 0.72) 100%
	);
}

.pc-slide__body {
	position: relative;
	z-index: 1;
	width: 100%;
	padding-block: var(--pc-space-10) var(--pc-space-11);
	text-align: center;
	color: #fff;
}

.pc-slide__body .pc-container {
	max-width: 46rem;
}

.pc-slide__eyebrow {
	display: block;
	font-size: var(--pc-step--1);
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.82);
	margin-bottom: var(--pc-space-4);
}

.pc-slide__title {
	font-family: var(--pc-font-heading);
	font-size: var(--pc-step-5);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.08;
	color: #fff;
	margin: 0 0 var(--pc-space-4);
	text-wrap: balance;
}

.pc-slide__text {
	font-size: var(--pc-step-1);
	line-height: var(--pc-leading-snug);
	color: rgba(255, 255, 255, 0.88);
	margin: 0 auto var(--pc-space-6);
	max-width: 34rem;
}

.pc-slide__btns { justify-content: center; }

.pc-slide__btns .pc-btn--secondary {
	border-color: rgba(255, 255, 255, 0.55);
	color: #fff;
}

.pc-slide__btns .pc-btn--secondary:hover,
.pc-slide__btns .pc-btn--secondary:focus-visible {
	background: rgba(255, 255, 255, 0.12);
	border-color: #fff;
	color: #fff;
}

/* Controls */

.pc-slider__controls {
	position: absolute;
	z-index: 2;
	bottom: var(--pc-space-6);
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: var(--pc-space-4);
}

.pc-slider__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--pc-tap);
	height: var(--pc-tap);
	padding: 0;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	transition: background-color var(--pc-duration) var(--pc-ease);
}

.pc-slider__arrow:hover { background: rgba(255, 255, 255, 0.28); }
.pc-slider__arrow:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.pc-slider__arrow:first-child svg { transform: rotate(180deg); }

.pc-slider__dots {
	display: flex;
	align-items: center;
	gap: var(--pc-space-2);
}

/* Dashes rather than dots — they read as progress through a short sequence. */
.pc-slider__dot {
	width: 26px;
	height: 3px;
	padding: 0;
	border: 0;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.4);
	cursor: pointer;
	transition: background-color var(--pc-duration) var(--pc-ease);
}

.pc-slider__dot[aria-selected='true'] { background: #fff; }
.pc-slider__dot:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

@media (max-width: 640px) {
	.pc-slider { min-height: clamp(460px, 78vh, 640px); }
	.pc-slider__controls { bottom: var(--pc-space-5); }
}

/* Without motion the slides simply swap. */
@media (prefers-reduced-motion: reduce) {
	.pc-slide { transition: none; }
}

/* --- Article --- */

.pc-article__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pc-space-2);
	color: var(--pc-muted);
	font-size: var(--pc-step--1);
	margin-bottom: 0;
}

.pc-article__hero img {
	width: 100%;
	border-radius: var(--pc-radius-lg);
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

/* Long-form reading sits at a narrow measure regardless of container width. */
.pc-article__body {
	max-width: var(--pc-container-narrow);
	margin-inline: auto;
}

.pc-about__img {
	width: 100%;
	border-radius: var(--pc-radius-lg);
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

/* --- Search form --- */

.pc-searchform__row {
	display: flex;
	gap: var(--pc-space-3);
	flex-wrap: wrap;
}

.pc-searchform__row .pc-input { flex: 1; min-width: 200px; }

/* --- Case cards: two images sharing one media box --- */

.pc-card__media--pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2px;
	aspect-ratio: 2 / 1;
}

.pc-card__media--pair img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pc-card__tag {
	position: absolute;
	bottom: var(--pc-space-2);
	padding: 2px var(--pc-space-2);
	border-radius: var(--pc-radius-sm);
	background: rgba(20, 38, 43, 0.72);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	z-index: 2;
}

.pc-card__tag--before { left: var(--pc-space-2); }
.pc-card__tag--after { left: calc(50% + var(--pc-space-2)); }

/* --- Filters --- */

.pc-filters {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pc-space-2);
	margin-bottom: var(--pc-space-7);
}

.pc-filters .pc-pill.is-active {
	background: var(--pc-primary);
	color: #fff;
}

/* --- Gallery --- */

.pc-gallery__item {
	margin: 0;
	border-radius: var(--pc-radius-lg);
	overflow: hidden;
	box-shadow: var(--pc-shadow-sm);
}

.pc-gallery__item img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	display: block;
}

/* --- Third-party embeds: keep them inside their box --- */

.pc-reviews,
.pc-instagram {
	max-width: 100%;
	overflow-x: hidden;
}

.pc-reviews img,
.pc-instagram img { border-radius: var(--pc-radius-md); }

/* --- Booking embed --- */

/* min-height reserves space for FluentBooking's JS so the widget appearing
   does not shift the block underneath — but 560px is far more than a
   two-event calendar needs, and the surplus showed as a hole. The reservation
   now applies only until the widget has actually rendered something: JS marks
   the container ready and the floor drops away. Without JS it simply stays,
   which is the old behaviour. */
.pc-booking-embed {
	min-height: 560px;
}

.pc-booking-embed[data-pc-booking-ready] {
	min-height: 0;
}

/* The calendar is the page. Give it the same card treatment as the rest of
   the site instead of letting a third-party widget float on bare background. */
.pc-booking-page__card {
	padding: clamp(var(--pc-space-4), 2vw, var(--pc-space-7));
	background: var(--pc-bg-card);
	border: 1px solid var(--pc-border);
	border-radius: var(--pc-radius-lg);
	box-shadow: var(--pc-shadow-sm);
}

.pc-booking-page__note {
	margin: var(--pc-space-5) 0 0;
	text-align: center;
	font-size: var(--pc-step--1);
	color: var(--pc-muted);
}

.pc-booking-embed--error {
	min-height: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--pc-space-3);
	padding: var(--pc-space-8) var(--pc-space-5);
	text-align: center;
	background: var(--pc-bg-soft);
	border-radius: var(--pc-radius-lg);
}

.pc-booking-page__inner {
	max-width: 760px;
	margin-inline: auto;
}

.pc-booking-page__meta {
	display: grid;
	gap: var(--pc-space-4);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	margin-top: var(--pc-space-8);
	padding-top: var(--pc-space-6);
	border-top: 1px solid var(--pc-border);
}

.pc-booking-page__meta > div {
	display: flex;
	align-items: flex-start;
	gap: var(--pc-space-2);
	font-size: var(--pc-step--1);
	color: var(--pc-muted);
}

.pc-booking-page__meta svg { flex-shrink: 0; color: var(--pc-primary); margin-top: 0.2em; }
.pc-booking-page__meta a { color: var(--pc-primary); font-weight: 600; }

/* --- Contact page --- */

.pc-contact__form h2 { font-size: var(--pc-step-2); }

/* FluentForm ships its own layout classes; these bring its inputs onto our
   tokens rather than fighting its specificity with !important everywhere. */
.pc-contact__form .ff-el-form-control,
.pc-contact__form textarea.ff-el-form-control,
.pc-contact__form select.ff-el-form-control {
	min-height: var(--pc-tap);
	padding: var(--pc-space-3) var(--pc-space-4);
	border: 1px solid var(--pc-border-strong);
	border-radius: var(--pc-radius-md);
	font-family: var(--pc-font-body);
	font-size: var(--pc-step-0);
}

.pc-contact__form .ff-el-form-control:focus {
	border-color: var(--pc-primary);
	box-shadow: 0 0 0 3px var(--pc-primary-soft);
	outline: none;
}

.pc-contact__form .ff-el-input--label label,
.pc-contact__form .ff-el-group-label {
	font-family: var(--pc-font-body);
	font-weight: 600;
	font-size: var(--pc-step--1);
	color: var(--pc-text-soft);
}

.pc-contact__form button[type='submit'],
.pc-contact__form .ff-btn-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--pc-tap);
	padding: var(--pc-space-3) var(--pc-space-6);
	background: var(--pc-primary);
	border: 1px solid var(--pc-primary);
	border-radius: var(--pc-radius-md);
	color: #fff;
	font-family: var(--pc-font-heading);
	font-weight: 600;
	letter-spacing: -0.01em;
}

.pc-contact__form button[type='submit']:hover,
.pc-contact__form .ff-btn-submit:hover {
	background: var(--pc-primary-dark);
	border-color: var(--pc-primary-dark);
}

/* ==========================================================================
   Directions page — stops, lines and live arrivals
   ========================================================================== */

/* Line numbers are read as identifiers, not prose: fixed pill, tabular figures,
   never wrapped mid-number. Trolleybuses get the secondary colour so "11" does
   not look like a bus line at a glance. */
.pc-lines {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pc-space-2);
	list-style: none;
	margin: 0;
	padding: 0;
}

.pc-lines__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	padding: 0.2rem var(--pc-space-3);
	border-radius: var(--pc-radius-sm);
	background: var(--pc-primary);
	color: #fff;
	font-family: var(--pc-font-heading);
	font-size: var(--pc-step--1);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

.pc-lines__badge--trolley {
	background: var(--pc-secondary);
}

.pc-lines__legend {
	margin-top: var(--pc-space-7);
	display: grid;
	gap: var(--pc-space-3);
	max-width: 62ch;
}

.pc-lines__legend p {
	display: flex;
	align-items: center;
	gap: var(--pc-space-3);
	margin: 0;
	color: var(--pc-muted);
	font-size: var(--pc-step--1);
}

.pc-lines__legend em {
	font-style: normal;
	font-size: var(--pc-step--1);
	color: var(--pc-muted);
	opacity: 0.8;
}

.pc-stops {
	display: grid;
	gap: var(--pc-space-4);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}

.pc-stops__item {
	display: flex;
	flex-direction: column;
	gap: var(--pc-space-3);
	padding: var(--pc-space-5);
	background: var(--pc-bg-card, #fff);
	border: 1px solid var(--pc-border);
	border-radius: var(--pc-radius-lg);
}

.pc-stops__head {
	display: flex;
	align-items: flex-start;
	gap: var(--pc-space-3);
}

.pc-stops__icon {
	color: var(--pc-primary);
	flex-shrink: 0;
	margin-top: 2px;
}

.pc-stops__name {
	display: block;
	font-family: var(--pc-font-heading);
	font-weight: 700;
	line-height: var(--pc-leading-snug);
}

.pc-stops__street,
.pc-stops__walk {
	display: block;
	color: var(--pc-muted);
	font-size: var(--pc-step--1);
}

.pc-stops__walk {
	display: flex;
	align-items: center;
	gap: var(--pc-space-2);
	margin: 0;
}

.pc-stops__walk svg { color: var(--pc-primary); flex-shrink: 0; }

.pc-stops__map,
.pc-origin__route {
	display: inline-flex;
	align-items: center;
	gap: var(--pc-space-2);
	font-size: var(--pc-step--1);
	font-weight: 600;
	color: var(--pc-primary);
	text-decoration: none;
}

.pc-stops__map:hover,
.pc-origin__route:hover { text-decoration: underline; text-underline-offset: 3px; }

.pc-origin__route { margin-top: calc(var(--pc-space-2) * -1); }

.pc-stops__item .pc-lines { margin-top: auto; }

.pc-origin {
	display: flex;
	flex-direction: column;
	gap: var(--pc-space-3);
	padding: var(--pc-space-5);
	background: var(--pc-bg);
	border: 1px solid var(--pc-border);
	border-radius: var(--pc-radius-lg);
}

.pc-origin__area {
	margin: 0;
	font-size: var(--pc-step-1);
	line-height: var(--pc-leading-snug);
}

.pc-origin__text {
	margin: 0;
	color: var(--pc-muted);
	font-size: var(--pc-step--1);
	line-height: var(--pc-leading-normal);
}

.pc-origin__stop {
	display: flex;
	align-items: flex-start;
	gap: var(--pc-space-2);
	margin: auto 0 0;
	padding-top: var(--pc-space-3);
	border-top: 1px solid var(--pc-border);
	font-size: var(--pc-step--1);
	font-weight: 600;
}

.pc-origin__stop svg { color: var(--pc-primary); flex-shrink: 0; margin-top: 2px; }

/* --- Live arrivals board --- */

.pc-arrivals__status {
	margin-bottom: var(--pc-space-4);
	color: var(--pc-muted);
	font-size: var(--pc-step--1);
}

.pc-arrivals__grid {
	display: grid;
	gap: var(--pc-space-4);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.pc-arrivals__stop {
	padding: var(--pc-space-5);
	background: var(--pc-bg);
	border: 1px solid var(--pc-border);
	border-radius: var(--pc-radius-lg);
}

.pc-arrivals__stopname {
	font-family: var(--pc-font-heading);
	font-weight: 700;
}

.pc-arrivals__street {
	margin-bottom: var(--pc-space-4);
	color: var(--pc-muted);
	font-size: var(--pc-step--1);
}

.pc-arrivals__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--pc-space-2);
}

.pc-arrivals__list li {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: var(--pc-space-3);
	padding-block: var(--pc-space-2);
	border-top: 1px solid var(--pc-border);
}

.pc-arrivals__list li:first-child { border-top: 0; }

.pc-arrivals__route {
	color: var(--pc-muted);
	font-size: var(--pc-step--1);
	line-height: var(--pc-leading-snug);
}

/* Tabular figures so the minute column does not jitter on refresh. */
.pc-arrivals__when {
	font-family: var(--pc-font-heading);
	font-size: var(--pc-step-1);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--pc-primary);
	white-space: nowrap;
}

.pc-arrivals__none {
	color: var(--pc-muted);
	font-size: var(--pc-step--1);
}

.pc-arrivals__note {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--pc-space-3);
	margin-top: var(--pc-space-4);
	margin-bottom: 0;
	color: var(--pc-muted);
	font-size: var(--pc-step--1);
}

.pc-arrivals__refresh {
	min-height: var(--pc-tap);
	padding: 0 var(--pc-space-4);
	background: none;
	border: 1px solid var(--pc-border);
	border-radius: var(--pc-radius-pill);
	color: var(--pc-primary);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.pc-arrivals__refresh:hover { border-color: var(--pc-primary); }

/* ==========================================================================
   Motion
   ========================================================================== */

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

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

/* ==========================================================================
   Print
   ========================================================================== */

@media print {
	.pc-header,
	.pc-footer,
	.pc-mobile-bar,
	.pc-cta,
	.pc-map { display: none !important; }

	body { background: #fff; color: #000; font-size: 11pt; }
	a[href^='http']::after { content: ' (' attr(href) ')'; font-size: 9pt; }
}
