/*
Theme Name: Perfect Detail
Theme URI: https://perfectdetail.optweb.co.uk
Description: Child theme of Hello Elementor for Perfect Detail Car Care. Owns the header, footer, design tokens and component classes (pd-*) used by the Elementor page content.
Author: Digital Approach
Template: hello-elementor
Version: 0.1.0
Text Domain: perfect-detail
*/

/* ==========================================================================
   Fonts and tokens
   ========================================================================== */
@font-face {
	font-family: "Manrope";
	src: url("fonts/Manrope-VariableFont_wght.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

:root {
	--pd-purple: #352052;
	--pd-purple-deep: #2a1745;
	--pd-royal: #7952b3;
	--pd-lav: #f5f1fa;
	--pd-ink: #28232f;
	--pd-muted: #625a6d;
	--pd-border: #ddd4e8;
	--pd-white: #fff;
	--pd-on-dark: #e9e0f5;
	--pd-night: #1e0f36;
	--pd-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1l-2.3 2.2z'/%3E%3C/svg%3E");

	--pd-wrap: 1200px;
	--pd-gut: 32px;
	--pd-sec: 96px;
	--pd-cut: clamp(28px, 4.5vw, 72px);
	--pd-radius: 8px;
	--pd-font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--pd-spark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%237952B3' d='M12 0c.8 6.5 4.5 11.2 12 12-7.5.8-11.2 5.5-12 12-.8-6.5-4.5-11.2-12-12C7.5 11.2 11.2 6.5 12 0z'/%3E%3C/svg%3E");
	--pd-spark-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23d9c8f2' d='M12 0c.8 6.5 4.5 11.2 12 12-7.5.8-11.2 5.5-12 12-.8-6.5-4.5-11.2-12-12C7.5 11.2 11.2 6.5 12 0z'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Base
   ========================================================================== */
html { scroll-padding-top: 96px; }

body {
	font-family: var(--pd-font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--pd-ink);
	background: var(--pd-white);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .elementor-heading-title {
	font-family: var(--pd-font);
	color: var(--pd-purple);
	font-weight: 800;
	letter-spacing: -0.02em;
}

a { color: var(--pd-purple); }
a:hover { color: var(--pd-royal); }

:focus-visible {
	outline: 3px solid var(--pd-purple);
	outline-offset: 3px;
	border-radius: 2px;
}
.pd-dark :focus-visible,
.pd-footer :focus-visible { outline-color: #fff; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; left: 12px; top: 12px; z-index: 1000;
	background: #fff; color: var(--pd-purple); padding: 12px 18px; font-weight: 700; border-radius: var(--pd-radius);
}

/* Hello wrappers must not constrain full-bleed sections */
.site-main, .site-main .page-content { max-width: none; width: 100%; margin: 0; padding: 0; }

/* Elementor text widgets */
.elementor-widget-text-editor { color: var(--pd-ink); font-size: 1rem; }
.elementor-widget-text-editor p { margin: 0 0 1em; }
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.elementor-widget-text-editor a { text-decoration: underline; text-underline-offset: 3px; }
.elementor-widget-text-editor ul { list-style: none; margin: 0; padding: 0; }

/* Elementor containers carry no default padding; spacing is set by pd-* classes */
.e-con { --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; }

/* Layout primitives */
.e-con.pd-wrap { width: 100%; max-width: calc(var(--pd-wrap) + 2 * var(--pd-gut)); margin-inline: auto; padding-inline: var(--pd-gut); }
.e-con.pd-sec { position: relative; padding-block: var(--pd-sec); padding-inline: 0; gap: 0; }
.e-con.pd-sec--lav { background: var(--pd-lav); }
.e-con.pd-sec--cta { padding-top: 0; }
.e-con.pd-stack { gap: 20px; }
.e-con.pd-stack > .elementor-widget { margin: 0; }
.pd-prose { max-width: 62ch; }

/* Type */
.pd-eyebrow .elementor-heading-title {
	font-size: 0.8rem; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase;
	color: var(--pd-royal); line-height: 1.4;
}
.pd-h1 .elementor-heading-title { font-size: clamp(2.3rem, 1.4rem + 3vw, 3.5rem); line-height: 1.03; letter-spacing: -0.03em; font-weight: 800; }
.pd-h2 .elementor-heading-title { font-size: clamp(1.75rem, 1.25rem + 1.7vw, 2.7rem); line-height: 1.1; }
.pd-h3 .elementor-heading-title { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem); line-height: 1.2; letter-spacing: -0.01em; }
.pd-lead, .pd-lead p { font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem); line-height: 1.6; color: var(--pd-ink); }
.pd-muted, .pd-muted p { color: var(--pd-muted); font-size: 0.92rem; line-height: 1.55; }
.e-con.pd-dark, .e-con.pd-dark .elementor-heading-title, .e-con.pd-dark .elementor-widget-text-editor, .e-con.pd-dark li, .e-con.pd-dark p { color: #fff; }
.e-con.e-con.pd-dark .pd-lead, .e-con.pd-dark .pd-lead p, .e-con.pd-dark .pd-muted, .e-con.pd-dark .pd-muted p { color: var(--pd-on-dark); }

/* Sparkle list */
.pd-spark-list ul { display: grid; gap: 14px; }
.pd-spark-list li { position: relative; padding-left: 34px; line-height: 1.5; }
.pd-spark-list li::before {
	content: ""; position: absolute; left: 0; top: 0.12em; width: 20px; height: 20px;
	background: var(--pd-spark) center / contain no-repeat;
}
.pd-dark .pd-spark-list li::before { background-image: var(--pd-spark-light); }
.pd-band .pd-spark-list li { font-size: 1.12rem; font-weight: 600; }

/* Buttons */
.elementor .pd-btn .elementor-button {
	font-family: var(--pd-font); font-size: 1rem; font-weight: 700; line-height: 1.2; letter-spacing: 0;
	min-height: 52px; padding: 14px 28px; border-radius: var(--pd-radius);
	border: 2px solid var(--pd-purple); transition: background-color .18s ease, color .18s ease, border-color .18s ease;
	display: inline-flex; align-items: center; justify-content: center;
}
.elementor .pd-btn.pd-btn--primary .elementor-button { background: var(--pd-purple); color: #fff; fill: #fff; }
.elementor .pd-btn.pd-btn--primary .elementor-button:hover,
.elementor .pd-btn.pd-btn--primary .elementor-button:focus { background: var(--pd-royal); border-color: var(--pd-royal); color: #fff; }
.elementor .pd-btn.pd-btn--secondary .elementor-button { background: #fff; color: var(--pd-purple); }
.elementor .pd-btn.pd-btn--secondary .elementor-button:hover,
.elementor .pd-btn.pd-btn--secondary .elementor-button:focus { background: var(--pd-lav); color: var(--pd-purple); border-color: var(--pd-royal); }
.elementor .pd-btn.pd-btn--inverse .elementor-button { background: #fff; color: var(--pd-purple); border-color: #fff; }
.elementor .pd-btn.pd-btn--inverse .elementor-button:hover,
.elementor .pd-btn.pd-btn--inverse .elementor-button:focus { background: var(--pd-lav); border-color: var(--pd-lav); color: var(--pd-purple); }
.elementor .pd-btn.pd-btn--ghost-dark .elementor-button { background: transparent; color: #fff; border-color: #fff; }
.elementor .pd-btn.pd-btn--ghost-dark .elementor-button:hover,
.elementor .pd-btn.pd-btn--ghost-dark .elementor-button:focus { background: rgba(255,255,255,.12); color: #fff; }
.e-con.pd-btn-row { width: auto; max-width: 100%; flex-direction: row; flex-wrap: wrap; gap: 14px; align-items: center; }
.e-con.pd-btn-row > .elementor-widget { width: auto; margin: 0; }

/* Text link with arrow */
.elementor .pd-btn.pd-btn--link .elementor-button {
	background: transparent; border: 0; padding: 0; min-height: 0; color: var(--pd-purple); font-weight: 700;
	text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; text-decoration-color: var(--pd-royal);
}
.elementor .pd-btn.pd-btn--link .elementor-button:hover { color: var(--pd-royal); background: transparent; }

/* ==========================================================================
   Header
   ========================================================================== */
.pd-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--pd-border); }
.pd-header__inner {
	max-width: calc(var(--pd-wrap) + 2 * var(--pd-gut)); margin: 0 auto; padding: 0 var(--pd-gut);
	min-height: 80px; display: flex; align-items: center; gap: 32px; justify-content: space-between;
}
.pd-logo { display: block; flex: 0 0 auto; line-height: 0; }
.pd-logo img { display: block; width: auto; height: 42px; }

.pd-nav { margin-left: auto; }
.pd-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.pd-nav li { position: relative; }
.pd-nav a {
	display: block; padding: 10px 12px; color: var(--pd-purple); font-weight: 600; font-size: 0.95rem;
	text-decoration: none; border-radius: 6px; position: relative;
}
.pd-nav a:hover, .pd-nav a:focus-visible { color: var(--pd-royal); }
.pd-nav .current-menu-item > a, .pd-nav .current_page_item > a { color: var(--pd-purple); }
.pd-nav .current-menu-item > a::after, .pd-nav .current_page_item > a::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 3px; background: var(--pd-royal); transform: skewX(-25deg);
}
.pd-nav .menu-item-has-children > a { padding-right: 24px; }
.pd-nav .menu-item-has-children > a::before {
	content: ""; position: absolute; right: 9px; top: 50%; width: 6px; height: 6px; margin-top: -5px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.pd-nav .sub-menu {
	display: none; position: absolute; left: 0; top: 100%; min-width: 250px; padding: 8px; background: #fff;
	border: 1px solid var(--pd-border); border-radius: var(--pd-radius); box-shadow: 0 14px 32px rgba(53,32,82,.14); flex-direction: column; align-items: stretch; gap: 0;
}
.pd-nav li:hover > .sub-menu, .pd-nav li:focus-within > .sub-menu { display: flex; }
.pd-nav .sub-menu a { padding: 10px 12px; font-weight: 600; }
.pd-nav .sub-menu a:hover { background: var(--pd-lav); }

.pd-nav .pd-nav-cta > a {
	background: var(--pd-purple); color: #fff; padding: 12px 22px; margin-left: 10px; border-radius: var(--pd-radius);
	font-weight: 700; transition: background-color .18s ease;
}
.pd-nav .pd-nav-cta > a:hover, .pd-nav .pd-nav-cta > a:focus-visible { background: var(--pd-royal); color: #fff; }
.pd-nav .pd-nav-cta.current-menu-item > a::after { display: none; }

.pd-nav-toggle { display: none; }

@media (max-width: 1260px) {
	.pd-header__inner { min-height: 68px; }
	.pd-logo img { height: 36px; }
	.pd-nav-toggle {
		display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: -8px;
		background: transparent; border: 0; border-radius: 8px; cursor: pointer; color: var(--pd-purple); padding: 0;
	}
	.pd-nav-toggle__bars, .pd-nav-toggle__bars::before, .pd-nav-toggle__bars::after {
		display: block; width: 24px; height: 3px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; content: "";
	}
	.pd-nav-toggle__bars { position: relative; }
	.pd-nav-toggle__bars::before { position: absolute; top: -8px; }
	.pd-nav-toggle__bars::after { position: absolute; top: 8px; }
	.pd-nav-toggle[aria-expanded="true"] .pd-nav-toggle__bars { background: transparent; }
	.pd-nav-toggle[aria-expanded="true"] .pd-nav-toggle__bars::before { transform: translateY(8px) rotate(45deg); }
	.pd-nav-toggle[aria-expanded="true"] .pd-nav-toggle__bars::after { transform: translateY(-8px) rotate(-45deg); }

	.pd-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: #fff;
		border-bottom: 1px solid var(--pd-border); box-shadow: 0 16px 30px rgba(53,32,82,.12);
		max-height: calc(100vh - 68px); overflow-y: auto; padding: 8px var(--pd-gut) 24px;
	}
	.pd-nav.is-open { display: block; }
	.pd-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.pd-nav a { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--pd-border); border-radius: 0; }
	.pd-nav .menu-item-has-children > a::before { display: none; }
	.pd-nav .sub-menu { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 16px; min-width: 0; }
	.pd-nav .sub-menu a { font-weight: 500; font-size: 1rem; }
	.pd-nav .current-menu-item > a::after, .pd-nav .current_page_item > a::after { display: none; }
	.pd-nav .pd-nav-cta > a { margin: 18px 0 0; text-align: center; border-bottom: 0; padding: 16px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.e-con.pd-hero {
	position: relative; overflow: hidden; background: #fff;
	flex-direction: row; align-items: stretch; gap: 0;
	padding-block: 0; padding-right: 0;
	padding-left: max(var(--pd-gut), calc((100% - var(--pd-wrap)) / 2));
}
.e-con.pd-hero::before { /* royal stroke, parallel to the panel edge, echoing the monogram's twin strokes */
	content: ""; position: absolute; z-index: 0; top: 0; bottom: 0; left: auto; right: 0; width: calc(clamp(440px, 46vw, 680px) + 30px);
	background: var(--pd-royal); clip-path: polygon(150px 0, 100% 0, 100% 100%, 0 100%);
}
.e-con.pd-hero__text {
	position: relative; z-index: 1; flex: 1 1 0; min-width: 0; max-width: 640px; gap: 20px; padding: clamp(36px, 5vw, 72px) 40px clamp(36px, 5vw, 72px) 0;
	justify-content: center;
}
.e-con.pd-hero__text > .elementor-widget { margin: 0; }
.e-con.pd-hero__panel {
	position: relative; z-index: 1; margin-left: auto; flex: 0 0 clamp(440px, 46vw, 680px); width: clamp(440px, 46vw, 680px); gap: 0; justify-content: center;
	padding: clamp(48px, 6vw, 88px) clamp(32px, 4vw, 64px) clamp(48px, 6vw, 88px) 190px;
	background:
		linear-gradient(112deg, transparent 38%, rgba(255,255,255,.09) 45%, rgba(255,255,255,.015) 53%, transparent 60%),
		linear-gradient(150deg, var(--pd-purple-deep) 0%, var(--pd-purple) 48%, #4a2c72 100%);
	clip-path: polygon(150px 0, 100% 0, 100% 100%, 0 100%);
}
.e-con.pd-hero__panel::after { /* oversized sparkle, cropped by the panel */
	content: ""; position: absolute; right: -70px; bottom: -70px; width: 320px; height: 320px; opacity: .13;
	background: var(--pd-spark-light) center / contain no-repeat; pointer-events: none;
}
.pd-hero__panel > .elementor-widget { margin: 0; position: relative; z-index: 1; }
.pd-hero__panel .pd-panel-title .elementor-heading-title { font-size: 1.75rem; line-height: 1.25; color: #fff; margin-bottom: 8px; }
.pd-hero__panel .pd-spark-list { margin-top: 22px; }
.pd-hero__panel .pd-spark-list li { color: #fff; font-size: 1.15rem; font-weight: 600; padding-bottom: 16px; border-bottom: 1px solid rgba(217,200,242,.28); }
.pd-hero__panel .pd-spark-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.pd-hero__panel .pd-panel-foot { margin-top: 26px; font-size: .9rem; color: var(--pd-on-dark); }
.pd-hero__panel .pd-panel-foot p { color: var(--pd-on-dark); }
.pd-priceline p { margin: 0; font-weight: 700; color: var(--pd-purple); }
.pd-priceline p::before {
	content: ""; display: inline-block; width: 18px; height: 18px; margin-right: 10px; vertical-align: -3px;
	background: var(--pd-spark) center / contain no-repeat;
}

@media (max-width: 960px) {
	.e-con.pd-hero { flex-direction: column; padding-left: 0; }
	.e-con.pd-hero::before { display: none; }
	.e-con.pd-hero__text { padding: 40px var(--pd-gut) 44px; max-width: none; }
	.e-con.pd-hero__panel {
		flex: 0 0 auto; width: 100%; padding: 76px var(--pd-gut) 48px;
		clip-path: polygon(0 var(--pd-cut), 100% 0, 100% 100%, 0 100%); margin-top: 0;
	}
}

/* ==========================================================================
   Sections
   ========================================================================== */
.e-con.pd-split { flex-direction: row; align-items: center; gap: clamp(32px, 6vw, 88px); }
.e-con.pd-split > .e-con { flex: 1 1 0; min-width: 0; }
.e-con.pd-split--wide-left > .e-con:first-child { flex: 1.15 1 0; }

/* Price card */
.e-con.pd-card {
	background: #fff; border: 1px solid var(--pd-border); border-radius: var(--pd-radius); padding: clamp(28px, 3.4vw, 44px);
	gap: 18px; position: relative; overflow: hidden;
}
.e-con.pd-card--lav { background: var(--pd-lav); border-color: transparent; }
.e-con.pd-card > .elementor-widget { margin: 0; }
.e-con.pd-card--price::before {
	content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--pd-royal);
}
.pd-price { margin-bottom: 6px !important; }
.pd-price .elementor-heading-title { font-size: clamp(2.6rem, 2rem + 2vw, 3.8rem); line-height: 1; letter-spacing: -0.04em; font-weight: 800; }
.pd-price-label .elementor-heading-title { font-size: .8rem; letter-spacing: .28em; text-transform: uppercase; color: var(--pd-royal); font-weight: 700; }

/* Dark band with slanted joins */
.e-con.pd-band {
	position: relative; background: var(--pd-purple); color: #fff; isolation: isolate;
	padding-block: calc(var(--pd-sec) + var(--pd-cut)); --pd-prev: #fff; --pd-next: #fff;
}
.e-con.pd-band--lav { background: var(--pd-lav); color: var(--pd-ink); }
.e-con.pd-band--gloss {
	background:
		linear-gradient(112deg, transparent 50%, rgba(255,255,255,.07) 57%, rgba(255,255,255,.012) 66%, transparent 72%),
		linear-gradient(160deg, var(--pd-purple) 0%, var(--pd-purple) 60%, #3d2460 100%);
}
.e-con.pd-band::before, .e-con.pd-band::after {
	content: ""; position: absolute; left: 0; right: 0; height: var(--pd-cut); z-index: 0; pointer-events: none;
}
.e-con.pd-band::before { top: -2px; height: calc(var(--pd-cut) + 2px); background: var(--pd-prev); clip-path: polygon(0 0, 100% 0, 0 calc(100% - 2px)); }
.e-con.pd-band::after { bottom: -2px; height: calc(var(--pd-cut) + 2px); background: var(--pd-next); clip-path: polygon(100% 2px, 100% 100%, 0 100%); }
.e-con.pd-band > * { position: relative; z-index: 1; }
.e-con.pd-band .pd-big-spark {
	position: absolute; right: -40px; bottom: -40px; width: 280px; height: 280px; opacity: .14; z-index: 0;
}

/* Services layout: one lead, two supporting */
.e-con.pd-services { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; }
.e-con.pd-services > .pd-card--lead { grid-row: span 2; }
.e-con.pd-card--lead { background: var(--pd-lav); border-color: transparent; padding: clamp(32px, 4vw, 56px); justify-content: flex-end; min-height: 420px; }
.e-con.pd-card--lead::after {
	content: ""; position: absolute; right: -50px; top: -50px; width: 220px; height: 220px; opacity: .22;
	background: var(--pd-spark) center / contain no-repeat; pointer-events: none;
}
.e-con.pd-card--link { background: #fff; border: 1px solid var(--pd-border); }
.e-con.pd-card--link:hover { border-color: var(--pd-royal); }
.pd-more-services p { margin: 0; font-size: .95rem; color: var(--pd-muted); }
.pd-more-services a { font-weight: 600; }

/* Requirement strip */
.e-con.pd-reqs { flex-direction: row; gap: 0; align-items: stretch; }
.e-con.pd-reqs > .e-con { flex: 1 1 0; min-width: 0; padding: 4px clamp(20px, 3vw, 40px); gap: 12px; border-left: 3px solid var(--pd-royal); transform: none; }
.e-con.pd-reqs > .e-con:first-child { border-left: 3px solid var(--pd-royal); padding-left: 24px; }
.e-con.pd-reqs > .e-con + .e-con { margin-left: clamp(8px, 2vw, 24px); }
.e-con.pd-reqs > .e-con > .elementor-widget { margin: 0; }

/* Work head and feature card */
.e-con.pd-work-head { align-items: flex-end; justify-content: space-between; gap: 40px; }
.e-con.pd-work-head > .pd-stack { flex: 1 1 0; min-width: 0; max-width: 62ch; }
.e-con.pd-work-head > .pd-btn-row { flex: 0 0 auto; }
.e-con.pd-card--feature { align-items: center; justify-content: space-between; gap: 32px; padding: clamp(28px, 3.4vw, 44px) clamp(28px, 4vw, 56px); }
.e-con.pd-card--feature > .e-con { flex: 1 1 0; min-width: 0; gap: 12px; }
.e-con.pd-card--feature > .e-con:last-child { max-width: 440px; }
.e-con.pd-card--feature > .e-con > .elementor-widget { margin: 0; }

/* About statement */
.e-con.pd-about { align-items: center; }
.e-con.pd-about .pd-statement .elementor-heading-title { max-width: 13em; }
.e-con.pd-about__row { flex-direction: row; align-items: center; gap: 40px; max-width: 880px; }
.e-con.pd-about__row > .elementor-widget { margin: 0; flex: 1 1 0; min-width: 0; }
.e-con.pd-about__row > .pd-btn-row { flex: 0 0 auto; }
.pd-statement .elementor-heading-title { font-size: clamp(1.9rem, 1.2rem + 2vw, 2.9rem); line-height: 1.12; letter-spacing: -0.03em; }
.pd-statement .elementor-heading-title span { color: var(--pd-royal); }

/* Areas chips */
.e-con.pd-band.pd-band--prev-lav { --pd-prev: var(--pd-lav); }
.e-con.pd-band.pd-band--next-lav { --pd-next: var(--pd-lav); }
.pd-chips ul { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-chips li { background: #fff; border: 1px solid var(--pd-border); border-radius: 999px; padding: 8px 18px; font-weight: 600; color: var(--pd-purple); font-size: .98rem; }

/* Closing CTA panel */
.e-con.pd-cta-panel {
	position: relative; overflow: hidden; isolation: isolate; color: #fff; gap: 20px;
	padding: clamp(44px, 6vw, 84px) clamp(28px, 6vw, 88px) clamp(44px, 6vw, 84px) clamp(28px, 6vw, 120px);
	background:
		linear-gradient(112deg, transparent 52%, rgba(255,255,255,.08) 58%, rgba(255,255,255,.012) 66%, transparent 72%),
		linear-gradient(150deg, var(--pd-purple-deep) 0%, var(--pd-purple) 55%, #4a2c72 100%);
	clip-path: polygon(var(--pd-cut) 0, 100% 0, calc(100% - var(--pd-cut)) 100%, 0 100%);
}
.e-con.pd-cta-panel > .elementor-widget { margin: 0; position: relative; z-index: 1; }
.e-con.pd-cta-panel .pd-contact-line p { color: var(--pd-on-dark); margin: 0; }
.e-con.pd-cta-panel .pd-contact-line a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Work / Instagram feature */
.pd-work-quote .elementor-heading-title { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); line-height: 1.2; letter-spacing: -0.02em; }

@media (max-width: 960px) {
	:root { --pd-sec: 72px; --pd-gut: 24px; }
	.e-con.pd-split { flex-direction: column; align-items: stretch; }
	.e-con.pd-split > .e-con,
	.e-con.pd-split--wide-left > .e-con:first-child,
	.e-con.pd-work-head > .pd-stack,
	.e-con.pd-card--feature > .e-con,
	.e-con.pd-about__row > .elementor-widget { flex: 0 0 auto; width: 100%; max-width: none; }
	.e-con.pd-work-head { flex-direction: column; align-items: stretch; }
	.e-con.pd-card--feature { flex-direction: column; align-items: stretch; }
	.e-con.pd-card--feature > .e-con:last-child { max-width: none; }
	.e-con.pd-about__row { flex-direction: column; align-items: flex-start; gap: 24px; }
	.e-con.pd-services { grid-template-columns: 1fr; }
	.e-con.pd-services > .pd-card--lead { grid-row: auto; min-height: 0; }
	.e-con.pd-reqs { flex-direction: column; gap: 28px; }
	.e-con.pd-reqs > .e-con + .e-con { margin-left: 0; }
	.e-con.pd-cta-panel { clip-path: polygon(var(--pd-cut) 0, 100% 0, 100% calc(100% - var(--pd-cut) / 2), calc(100% - var(--pd-cut)) 100%, 0 100%, 0 0); }
}
@media (max-width: 600px) {
	:root { --pd-sec: 56px; --pd-gut: 20px; }
	body { font-size: 16px; padding-bottom: 76px; }
	.e-con.pd-btn-row { flex-direction: column; align-items: stretch; }
	.e-con.pd-btn-row > .elementor-widget { width: 100%; }
	.elementor .pd-btn .elementor-button { width: 100%; }
	.e-con.pd-hero__panel { padding-top: 64px; }
}

/* ==========================================================================
   Footer and mobile action bar
   ========================================================================== */
.pd-footer { background: var(--pd-purple); color: var(--pd-on-dark); position: relative; overflow: hidden; }
.pd-footer__inner { max-width: calc(var(--pd-wrap) + 2 * var(--pd-gut)); margin: 0 auto; padding: 72px var(--pd-gut) 36px; }
.pd-footer__grid { display: grid; grid-template-columns: 1.3fr 1.5fr .8fr 1.1fr; gap: 48px; }
.pd-footer img { display: block; width: auto; height: 40px; margin-bottom: 20px; }
.pd-footer p { margin: 0 0 12px; color: var(--pd-on-dark); font-size: .98rem; }
.pd-footer h2 { font-size: .8rem; letter-spacing: .28em; text-transform: uppercase; color: #d9c8f2; margin: 0 0 16px; font-weight: 700; }
.pd-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pd-footer__grid > nav:nth-of-type(1) ul { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.pd-footer a { color: #fff; text-decoration: underline; text-decoration-color: rgba(217,200,242,.45); text-underline-offset: 3px; }
.pd-footer a:hover { color: #fff; text-decoration-color: #fff; }
.pd-footer li a { display: inline-block; padding: 4px 0; }
.pd-footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(217,200,242,.25); font-size: .88rem; color: var(--pd-on-dark); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 960px) {
	.pd-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
	.pd-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.pd-footer__grid { grid-template-columns: 1fr; }
	.pd-footer__inner { padding-top: 56px; }
}

.pd-mobilebar { display: none; }
@media (max-width: 900px) {
	body { padding-bottom: 76px; }
	.pd-mobilebar {
		display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
		padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--pd-border); box-shadow: 0 -6px 20px rgba(53,32,82,.1);
	}
	.pd-mobilebar a {
		display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: var(--pd-radius); font-weight: 700; text-decoration: none; border: 2px solid var(--pd-purple);
	}
	.pd-mobilebar__call { background: #fff; color: var(--pd-purple); }
	.pd-mobilebar__quote { background: var(--pd-purple); color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}


/* ==========================================================================
   Photography components
   ========================================================================== */

/* Hero photo panel */
.e-con.pd-hero__panel--photo { justify-content: flex-end; align-items: flex-start; padding: 0 clamp(24px, 3vw, 44px) clamp(28px, 3vw, 44px) 190px; background: var(--pd-purple); }
.e-con.pd-hero__panel--photo::after { display: none; }
.e-con.pd-hero__panel--photo::before {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: linear-gradient(180deg, rgba(42,23,69,0) 40%, rgba(42,23,69,.5) 100%);
}
.e-con.pd-hero__panel > .pd-hero__photo { position: absolute; inset: 0; margin: 0; z-index: 0; width: 100%; height: 100%; }
.pd-hero__photo .elementor-widget-container { height: 100%; }
.pd-hero__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 22% 50%; }
.e-con.pd-hero__card {
	position: relative; z-index: 2; gap: 0; width: 100%; max-width: 410px; padding: 24px 28px 26px;
	background: rgba(42,23,69,.92); border-radius: var(--pd-radius); border-left: 5px solid var(--pd-royal);
}
.pd-hero__card .pd-panel-title .elementor-heading-title { font-size: 1.3rem; margin-bottom: 0; }
.pd-hero__card .pd-spark-list { margin-top: 16px; }
.pd-hero__card .pd-spark-list ul { gap: 12px; }
.pd-hero__panel .pd-hero__card .pd-spark-list li { font-size: 1.02rem; padding-bottom: 12px; }
.pd-hero__panel .pd-hero__card .pd-spark-list li:last-child { padding-bottom: 0; }

/* Cards with a photograph */
.e-con.pd-card--photo { padding: 0; gap: 0; }
.e-con.pd-card--photo > .pd-card__img { margin: 0; width: 100%; }
.pd-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.e-con.pd-card--price .pd-card__img img { aspect-ratio: 16 / 8; }
.e-con.pd-card--link .pd-card__img img { aspect-ratio: 16 / 7; }
.e-con.pd-card--lead { justify-content: flex-start; min-height: 0; padding: 0; }
.e-con.pd-card--lead::after { display: none; }
.e-con.pd-card--lead > .pd-card__img { flex: 1 1 auto; min-height: 260px; }
.e-con.pd-card--lead .pd-card__img .elementor-widget-container { height: 100%; }
.e-con.pd-card--lead .pd-card__img img { min-height: 260px; object-position: 64% 58%; }
.e-con.pd-card__body { gap: 16px; padding: clamp(24px, 3vw, 40px); }
.e-con.pd-card__body > .elementor-widget { margin: 0; }
.e-con.pd-card--price .pd-card__body { padding-left: clamp(28px, 3.4vw, 48px); }
.e-con.pd-card--price .pd-price-label, .e-con.pd-card--price .pd-price { margin: 0; }

/* Slanted photo frame with a twin royal stroke */
.e-con.pd-slant { position: relative; flex: 1 1 0; min-width: 0; aspect-ratio: 1 / 1; max-height: 600px; }
.e-con.pd-slant::before {
	content: ""; position: absolute; inset: 0; background: var(--pd-royal);
	clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); transform: translateX(-18px);
}
.e-con.pd-slant > .pd-slant__img { position: absolute; inset: 0; margin: 0; z-index: 1; clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); }
.pd-slant__img .elementor-widget-container { height: 100%; }
.pd-slant__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 4% 10%; }

/* Work gallery */
.e-con.pd-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 17vw, 250px); gap: 16px; }
.e-con.pd-tile { position: relative; overflow: hidden; border-radius: var(--pd-radius); padding: 0; gap: 0; background: var(--pd-lav); min-height: 0; }
.e-con.pd-tile--large { grid-column: span 2; grid-row: span 2; }
.e-con.pd-tile > .pd-tile__img { position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; }
.pd-tile__img .elementor-widget-container { height: 100%; }
.pd-tile__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pd-tile:hover .pd-tile__img img { transform: scale(1.03); }
.e-con.pd-tile > .pd-tile__cap { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 40px 18px 14px; background: linear-gradient(180deg, rgba(42,23,69,0), rgba(42,23,69,.88)); }
.pd-tile__cap p { margin: 0; color: #fff; font-size: .9rem; font-weight: 600; line-height: 1.35; }
.e-con.pd-follow { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 28px; border-radius: var(--pd-radius); background: var(--pd-lav); }
.e-con.pd-follow > .elementor-widget { margin: 0; }
.pd-follow p { margin: 0; }

/* About photo with offset slanted block */
.e-con.pd-about__photo { position: relative; flex: 1 1 0; min-width: 0; }
.e-con.pd-about__photo > .pd-about__img { position: relative; z-index: 1; margin: 0; }
.pd-about__img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--pd-radius); }

@media (max-width: 960px) {
	.e-con.pd-hero__panel--photo { min-height: 0; justify-content: flex-start; padding: var(--pd-cut) 0 0; }
	.e-con.pd-hero__panel--photo::before { display: none; }
	.e-con.pd-hero__panel > .pd-hero__photo { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 3; }
	.pd-hero__photo img { object-position: 30% 55%; }
	.e-con.pd-hero__card { max-width: none; border-radius: 0; background: transparent; border-left: 5px solid var(--pd-royal); margin: 24px var(--pd-gut) 40px; width: auto; padding: 4px 0 4px 20px; }
	.e-con.pd-slant { aspect-ratio: 4 / 3; max-height: none; width: 100%; flex: 0 0 auto; }
	.e-con.pd-slant::before, .e-con.pd-slant > .pd-slant__img { clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%); }
	.e-con.pd-slant::before { transform: translateX(-10px); }
	.e-con.pd-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; gap: 12px; }
	.e-con.pd-follow { flex-direction: column; align-items: flex-start; }
	.e-con.pd-about__photo { flex: 0 0 auto; width: 100%; margin-top: 16px; }
	.e-con.pd-card--lead > .pd-card__img { flex: 0 0 auto; min-height: 0; }
	.e-con.pd-card--lead .pd-card__img img { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) {
	.e-con.pd-gallery { grid-auto-rows: 140px; }
}


/* ==========================================================================
   v3: purple-led, phone-first
   ========================================================================== */

/* Top bar and social icons */
.pd-topbar { background: var(--pd-night); color: #fff; font-size: .92rem; }
.pd-topbar__inner { max-width: calc(var(--pd-wrap) + 2 * var(--pd-gut)); margin: 0 auto; padding: 8px var(--pd-gut); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pd-topbar__contact { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; }
.pd-topbar a { color: #fff; text-decoration: none; }
.pd-topbar a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.pd-topbar__phone strong { font-size: 1.1rem; letter-spacing: .01em; }
.pd-topbar__sep { opacity: .4; }
.pd-social { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.pd-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--pd-royal); color: #fff; text-decoration: none; transition: background-color .18s ease, color .18s ease; }
.pd-social a:hover, .pd-social a:focus-visible { background: #fff; color: var(--pd-purple); }
.pd-social--top a { width: 32px; height: 32px; background: rgba(255,255,255,.16); }
.pd-social--top svg { width: 17px; height: 17px; }
.pd-footer .pd-social a { text-decoration: none; }
.pd-footer .pd-social a:hover { color: var(--pd-purple); }
.pd-footer .pd-social { margin-top: 18px; }
.pd-follow__icons ul { margin: 0; }
@media (max-width: 760px) { .pd-topbar__email, .pd-topbar__sep { display: none; } }
@media (max-width: 420px) { .pd-topbar__label { display: none; } }

/* Header phone button */
.pd-nav .pd-nav-phone > a::before, .elementor .pd-btn--phone .elementor-button-text::before {
	content: ""; display: inline-block; width: 1.05em; height: 1.05em; margin-right: .55em; vertical-align: -.17em;
	background: currentColor; -webkit-mask: var(--pd-phone) center / contain no-repeat; mask: var(--pd-phone) center / contain no-repeat;
}
.pd-nav .pd-nav-cta > a { font-weight: 800; font-size: 1rem; padding: 12px 20px; }

/* Larger buttons and ghost on dark */
.elementor .pd-btn.pd-btn--lg .elementor-button { font-size: 1.1rem; min-height: 60px; padding: 16px 30px; }
.elementor .pd-btn.pd-btn--inverse.pd-btn--phone .elementor-button { color: var(--pd-purple); }

/* Hero on deep purple */
.e-con.pd-hero { background: linear-gradient(135deg, #1e0f36 0%, #2a1745 55%, #3a2260 100%); }
.e-con.pd-hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(112deg, transparent 30%, rgba(255,255,255,.05) 38%, rgba(255,255,255,.01) 46%, transparent 52%); }
.pd-h1 .elementor-heading-title { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.15rem); }
.e-con.pd-dark .pd-subhead .elementor-heading-title { font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); line-height: 1.3; font-weight: 700; color: #d9c8f2; letter-spacing: -.01em; }
.e-con.pd-dark .pd-priceline p { color: #fff; }
.pd-dark .pd-priceline p::before { background-image: var(--pd-spark-light); }
.e-con.pd-hero__text { gap: 18px; }
.e-con.pd-hero__text .pd-eyebrow .elementor-heading-title { letter-spacing: .2em; }

/* Brand strip */
.e-con.pd-brandband { background: var(--pd-night); padding: 34px 0 40px; border-top: 1px solid rgba(217,200,242,.16); }
.e-con.pd-brands { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pd-brand { margin: 0; background: #fff; border-radius: var(--pd-radius); height: 112px; overflow: hidden; }
.pd-brand .elementor-widget-container { height: 100%; display: flex; align-items: center; justify-content: center; }
.pd-brand img { height: 100%; width: auto; max-width: 100%; object-fit: contain; padding: 8px; box-sizing: border-box; display: block; }

/* Services on night purple */
.e-con.pd-sec--night { background: linear-gradient(180deg, #1e0f36 0%, #2a1745 100%); }
.pd-prose--wide { max-width: 70ch; }
.e-con.pd-svcgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.e-con.pd-svc { position: relative; overflow: hidden; border-radius: var(--pd-radius); padding: 0; gap: 0; background: #2a1745; min-height: 0; isolation: isolate; transition: box-shadow .2s ease; }
.e-con.pd-svc--big { grid-column: span 4; aspect-ratio: 1 / 1; }
.e-con.pd-svc--small { grid-column: span 3; aspect-ratio: 1 / 1; }
.e-con.pd-svc > .pd-svc__img { position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; }
.pd-svc__img .elementor-widget-container { height: 100%; }
.pd-svc__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.e-con.pd-svc::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(30,15,54,0) 0%, rgba(30,15,54,0) 52%, rgba(30,15,54,.62) 72%, rgba(30,15,54,.93) 100%); }
.e-con.pd-svc__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 20px 20px 22px; gap: 6px; }
.e-con.pd-svc__body > .elementor-widget { margin: 0; }
.pd-svc__title .elementor-heading-title { font-size: 1.15rem; line-height: 1.2; letter-spacing: -.01em; }
.e-con.pd-svc--big .pd-svc__title .elementor-heading-title { font-size: 1.65rem; }
.e-con.pd-dark .pd-svc__title .elementor-heading-title a { color: #fff; text-decoration: none; }
.pd-svc__title a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.pd-svc__desc p { margin: 0; font-size: .88rem; line-height: 1.45; color: var(--pd-on-dark); }
.e-con.pd-dark .pd-svc__desc p { color: var(--pd-on-dark); }
.e-con.pd-svc:hover, .e-con.pd-svc:focus-within { box-shadow: inset 0 -6px 0 var(--pd-royal); }
.e-con.pd-svc:hover .pd-svc__img img { transform: scale(1.05); }

/* Call band */
.e-con.pd-band--royal { background: linear-gradient(120deg, #55338f 0%, #7952b3 60%, #8660bd 100%); padding-block: calc(56px + var(--pd-cut)); }
.e-con.pd-band.pd-band--prev-night { --pd-prev: #2a1745; }
.e-con.pd-callband { align-items: flex-start; gap: 10px; position: relative; }
.e-con.pd-callband > .elementor-widget { margin: 0; }
.e-con.pd-callband .pd-lead, .e-con.pd-callband .pd-lead p { max-width: 54ch; }
.pd-callband__lead .elementor-heading-title { font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem); font-weight: 700; }
.e-con.pd-dark .pd-bigphone .elementor-heading-title { font-size: clamp(2.8rem, 1.2rem + 7vw, 6.4rem); line-height: 1; letter-spacing: -.035em; font-weight: 800; margin-bottom: 10px; }
.e-con.pd-dark .pd-bigphone .elementor-heading-title a { color: #fff; text-decoration: none; }
.e-con.pd-dark .pd-bigphone .elementor-heading-title a:hover { text-decoration: underline; text-underline-offset: .1em; text-decoration-thickness: .06em; }
.e-con.pd-callband::after { content: ""; position: absolute; right: -30px; top: 50%; width: clamp(200px, 26vw, 380px); aspect-ratio: 1; transform: translateY(-50%); opacity: .2; background: var(--pd-spark-light) center / contain no-repeat; pointer-events: none; }

/* About with photo */
.e-con.pd-about { align-items: center; }
.e-con.pd-about__photo { flex: 1 1 0; }
.pd-about__img img { aspect-ratio: 4 / 3; }

/* Follow row */
.e-con.pd-follow { background: #fff; border: 1px solid var(--pd-border); }
.e-con.pd-follow__text { flex: 1 1 auto; padding: 0; gap: 0; }

/* Footer phone */
.pd-footer__phone { margin: 0 0 6px; }
.pd-footer__phone a { font-size: 1.8rem; font-weight: 800; letter-spacing: -.02em; text-decoration: none; }
.pd-footer__phone a:hover { text-decoration: underline; }

/* Mobile action bar: call is primary */
@media (max-width: 900px) {
	.pd-mobilebar { grid-template-columns: 1.5fr 1fr; }
	.pd-mobilebar__call { background: var(--pd-purple); color: #fff; }
	.pd-mobilebar__quote { background: #fff; color: var(--pd-purple); }
}

@media (max-width: 960px) {
	.e-con.pd-brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.e-con.pd-svcgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.e-con.pd-svc--big { grid-column: span 2; aspect-ratio: 16 / 10; }
	.e-con.pd-svc--small { grid-column: span 1; }
	.e-con.pd-dark .pd-bigphone .elementor-heading-title { font-size: clamp(2.4rem, 11vw, 4rem); }
	.e-con.pd-callband::after { display: none; }
}
@media (max-width: 600px) {
	.pd-brand { height: 92px; }
	.e-con.pd-svc--small .pd-svc__desc { display: none; }
	.e-con.pd-svc--small { aspect-ratio: 4 / 3; }
	.e-con.pd-svc__body { padding: 14px 14px 16px; }
	.e-con.pd-svc--big { aspect-ratio: 4 / 3; }
}

.e-con.pd-callband .pd-btn-row { margin-top: 14px; }
.pd-nowrap { white-space: nowrap; }
.pd-pos-a img { object-position: 62% 70%; }
.pd-pos-b img { object-position: 62% 62%; }
.pd-pos-c img { object-position: 78% 50%; }
.e-con.pd-sec--night { padding-top: 72px; }
.pd-footer .pd-social { display: flex; gap: 10px; }
.pd-footer .pd-social li a { display: grid; padding: 0; width: 42px; height: 42px; }
.pd-about__img img { object-position: 72% 50%; }

/* Brands section */
.e-con.pd-sec--brands { padding-block: 72px; }
.pd-center { align-items: center; text-align: center; }
.pd-center .pd-prose { margin-inline: auto; }
.e-con.pd-sec--brands .pd-brand { border: 1px solid var(--pd-border); }

/* ==========================================================================
   404 page
   ========================================================================== */
.pd-button { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 14px 28px; border-radius: var(--pd-radius); border: 2px solid #fff; font-weight: 700; font-size: 1.05rem; line-height: 1.2; text-decoration: none; transition: background-color .18s ease, color .18s ease; }
.pd-button--light { background: #fff; color: var(--pd-purple); }
.pd-button--light:hover, .pd-button--light:focus-visible { background: var(--pd-lav); color: var(--pd-purple); }
.pd-button--ghost { background: transparent; color: #fff; }
.pd-button--ghost:hover, .pd-button--ghost:focus-visible { background: rgba(255,255,255,.14); color: #fff; }
.pd-button--phone::before { content: ""; display: inline-block; width: 1.05em; height: 1.05em; margin-right: .55em; background: currentColor; -webkit-mask: var(--pd-phone) center / contain no-repeat; mask: var(--pd-phone) center / contain no-repeat; }
.pd-404 { position: relative; overflow: hidden; background: linear-gradient(135deg, #1e0f36 0%, #2a1745 55%, #3a2260 100%); color: #fff; }
.pd-404__inner { max-width: calc(var(--pd-wrap) + 2 * var(--pd-gut)); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--pd-gut); display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; position: relative; z-index: 1; }
.pd-404__code { margin: 0; font-size: clamp(5rem, 3rem + 10vw, 11rem); line-height: .9; font-weight: 800; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px var(--pd-royal); }
.pd-404__eyebrow { margin: 14px 0 0; font-size: .8rem; letter-spacing: .28em; text-transform: uppercase; font-weight: 700; color: #d9c8f2; }
.pd-404 h1 { margin: 10px 0 16px; color: #fff; font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); line-height: 1.1; }
.pd-404__lead { margin: 0 0 28px; max-width: 52ch; font-size: 1.15rem; color: var(--pd-on-dark); }
.pd-404__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.pd-404__photo { position: relative; aspect-ratio: 4 / 5; max-height: 520px; }
.pd-404__photo::before { content: ""; position: absolute; inset: 0; background: var(--pd-royal); clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); transform: translateX(-18px); }
.pd-404__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); }
.pd-404-links { background: var(--pd-lav); }
.pd-404-links__inner { max-width: calc(var(--pd-wrap) + 2 * var(--pd-gut)); margin: 0 auto; padding: 56px var(--pd-gut) 64px; }
.pd-404-links h2 { margin: 0 0 20px; font-size: 1.5rem; }
.pd-404-links__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pd-404-links__list a { display: block; padding: 14px 16px; background: #fff; border: 1px solid var(--pd-border); border-radius: var(--pd-radius); font-weight: 700; text-decoration: none; color: var(--pd-purple); }
.pd-404-links__list a:hover, .pd-404-links__list a:focus-visible { border-color: var(--pd-royal); color: var(--pd-royal); }
.pd-404-links__more { margin: 24px 0 0; color: var(--pd-muted); }
@media (max-width: 960px) {
	.pd-404__inner { grid-template-columns: 1fr; }
	.pd-404__photo { aspect-ratio: 4 / 3; max-height: none; }
	.pd-404__photo::before, .pd-404__photo img { clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%); }
	.pd-404__photo::before { transform: translateX(-10px); }
	.pd-404-links__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) { .pd-404__actions .pd-button { width: 100%; } }
body .pd-404-wrap { max-width: none !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
.pd-404__photo img { object-position: 60% 55%; }

.pd-svc__title .elementor-heading-title, .pd-svc__desc p { text-shadow: 0 1px 10px rgba(20,8,38,.55); }
.e-con.pd-svc--big::after { background: linear-gradient(180deg, rgba(30,15,54,0) 0%, rgba(30,15,54,0) 58%, rgba(30,15,54,.62) 76%, rgba(30,15,54,.93) 100%); }

/* Brand tiles: each logo fills its own card (black logos as black cards, white logos as white cards) */
.e-con.pd-sec--brands .pd-brand { height: auto; aspect-ratio: 3 / 2; border: 0; border-radius: var(--pd-radius); background: #fff; box-shadow: 0 8px 24px rgba(53,32,82,.12); }
.pd-brand img { padding: 14px; object-fit: contain; }
.pd-brand--fill img { padding: 0; object-fit: cover; }
.e-con.pd-brands { gap: 22px; }
@media (max-width: 960px) { .e-con.pd-sec--brands .pd-brand { aspect-ratio: 3 / 2; } }
