/**
 * Paysetra — Homepage Styles
 * Component styles for home-template.php. All values reference tokens
 * defined in assets/css/variable.css — no raw colors / sizes below.
 */

/* =========================================================
   1. BASE / RESET
========================================================= */
* { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
}

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, figure {
	margin: 0;
	padding: 0;
}

html, body.paysetra-home {
	font-family: var(--font-family-base);
	font-weight: var(--fw-regular);
	color: var(--color-body);
	background-color: var(--color-surface);
	line-height: var(--lh-body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* :where() keeps these resets at zero added specificity, so every
   component class below (.ps-*) reliably overrides them — a plain
   ".paysetra-home h2" reset would otherwise outrank ".ps-final-cta h2". */
:where(.paysetra-home) :is(h1, h2, h3, h4) {
	color: var(--color-heading);
	font-weight: var(--fw-bold);
	line-height: var(--lh-heading);
	letter-spacing: var(--ls-tight);
}

:where(.paysetra-home) ul { list-style: none; }

:where(.paysetra-home) a {
	color: inherit;
	text-decoration: none;
	transition: color var(--transition-fast), opacity var(--transition-fast);
}

:where(.paysetra-home) img { max-width: 100%; display: block; }

:where(.paysetra-home) address { font-style: normal; }

.ps-main { overflow: hidden; }

@media (min-width: 1400px) {
	.paysetra-home .container { max-width: var(--container-max); }
}

.skip-link.screen-reader-text {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: var(--z-modal);
	background: var(--color-black);
	color: var(--color-white);
	padding: var(--space-3) var(--space-5);
	border-radius: var(--radius-sm);
}
.skip-link.screen-reader-text:focus {
	left: var(--space-4);
	top: var(--space-4);
}

/* =========================================================
   2. SHARED TYPOGRAPHY / UTILITIES
========================================================= */
.ps-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	font-size: var(--fs-eyebrow);
	font-weight: var(--fw-bold);
	letter-spacing: var(--ls-wider);
	text-transform: uppercase;
	color: var(--color-primary);
	background: rgba(var(--color-primary-rgb), .1);
	border: 1px solid rgba(var(--color-primary-rgb), .2);
	padding: var(--space-2) var(--space-4);
	border-radius: var(--radius-pill);
	margin-bottom: var(--space-5);
}

.ps-text-gradient {
	background: var(--gradient-text);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.ps-section { padding: var(--section-padding-y) 0; position: relative; }
.ps-section--tint { background: var(--color-light-bg); }

.ps-section__head { max-width: 720px; margin: 0 auto var(--space-8); text-align: center; }
.ps-section__title { font-size: var(--fs-h2); margin-bottom: var(--space-4); }
.ps-section__lead { font-size: var(--fs-lead); color: var(--color-body); }
.ps-section__lead--start { text-align: left; margin: 0 0 var(--space-6); }

/* Buttons */
.ps-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	font-family: var(--font-family-base);
	font-weight: var(--fw-bold);
	font-size: var(--fs-body);
	padding: .95rem 1.9rem;
	border-radius: var(--radius-btn);
	border: 1px solid transparent;
	cursor: pointer;
	white-space: nowrap;
	transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}
.ps-btn i { font-size: .85em; transition: transform var(--transition-base); }
.ps-btn:hover { transform: translateY(-3px); }
.ps-btn:hover i { transform: translateX(3px); }
.ps-btn:active { transform: translateY(-1px); }

.ps-btn--primary {
	background: var(--gradient-cta);
	color: var(--color-white);
}
.ps-btn--primary:hover { color: var(--color-white); }

.ps-btn--outline {
	background: var(--color-surface);
	border-color: var(--color-border);
	color: var(--color-heading);
}
.ps-btn--outline:hover { border-color: var(--color-primary); color: var(--color-primary);}

.ps-btn--ghost-light {
	background: transparent;
	border-color: rgba(255, 255, 255, .35);
	color: var(--color-white);
}
.ps-btn--ghost-light:hover { background: rgba(255, 255, 255, .12); color: var(--color-white); }

.ps-btn--sm { padding: .6rem 1.35rem; font-size: var(--fs-small); }
.ps-btn--lg { padding: 1.1rem 2.25rem; font-size: 1.05rem; }
.ps-btn--block { width: 100%; }

.ps-link-cta {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	font-weight: var(--fw-bold);
	color: var(--color-primary);
	margin-top: var(--space-5);
}
.ps-link-cta i { transition: transform var(--transition-base); }
.ps-link-cta:hover { color: var(--color-primary-dark); }
.ps-link-cta:hover i { transform: translateX(5px); }

/* =========================================================
   3. HEADER
========================================================= */
.ps-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: var(--z-header);
	height: var(--header-height);
	display: flex;
	align-items: center;
	background: transparent;
	transition: background var(--transition-base), height var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
	border-bottom: 1px solid transparent;
}
.ps-header.is-scrolled {
	height: var(--header-height-scrolled);
	background: rgba(255, 255, 255, .85);
	backdrop-filter: var(--glass-blur);
	-webkit-backdrop-filter: var(--glass-blur);
	box-shadow: var(--shadow-md);
}

/* Header sits on a light hero, so text stays dark in both states —
   only the background/blur/shadow change when scrolled. */

.ps-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-6);
	width: 100%;
}

.ps-logo {
	display: inline-flex;
	align-items: center;
	gap: var(--space-3);
	font-size: 1.375rem;
	font-weight: var(--fw-black);
	color: var(--color-heading);
	transition: color var(--transition-base);
	flex-shrink: 0;
}

.ps-logo__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: var(--radius-md);
	background: var(--gradient-cta);
	color: var(--color-white);
	box-shadow: var(--shadow-glow-primary);
	flex-shrink: 0;
}

.ps-logo--custom img,
.ps-logo__image {
	max-height: 44px;
	width: auto;
}
.ps-logo__image--footer { max-height: 48px; }

/* Footer sits on the dark surface, so its logo stays light regardless of the base (light-header) color. */
.ps-footer .ps-logo { color: var(--color-white); }

.ps-nav__list {
	display: none;
}
@media (min-width: 992px) {
	.ps-nav__list {
		display: flex;
		align-items: center;
		gap: var(--space-6);
	}
}
.ps-nav__list li { position: relative; }
.ps-nav__list li a {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: var(--fs-small);
	font-weight: var(--fw-medium);
	color: var(--color-secondary);
	padding: var(--space-2) 0;
}
.ps-nav__list li a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 0;
	height: 2px;
	background: var(--gradient-cta);
	transition: width var(--transition-base);
	border-radius: var(--radius-pill);
}
.ps-nav__list li a:hover,
.ps-nav__list li a.is-active,
.ps-nav__list > li.current-menu-item > a,
.ps-nav__list > li.current_page_item > a,
.ps-nav__list > li.current-menu-parent > a,
.ps-nav__list > li.current-menu-ancestor > a {
	color: var(--color-primary);
}
/* Underline only on hover/scroll-spy — the current-page item keeps its
   orange text (above) but not a permanent underline. */
.ps-nav__list li a:hover::after,
.ps-nav__list li a.is-active::after { width: 100%; }

/* Desktop dropdown — a submenu opens on hover/focus under any item
   WordPress marks as having children (Appearance > Menus). The same
   markup also carries WordPress's own <button class="sub-menu-toggle">
   (added globally by inc/menu-functions.php); hover already reveals the
   dropdown here, so that click-toggle button would be redundant clutter. */
.ps-nav__list .sub-menu-toggle { display: none; }
.ps-nav__list li.menu-item-has-children > a::after {
	content: '';
	position: static;
	width: 6px;
	height: 6px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	background: none;
	border-radius: 0;
	transform: rotate(45deg);
	transition: transform var(--transition-base);
	margin-top: -3px;
}
.ps-nav__list li.menu-item-has-children:hover > a::after,
.ps-nav__list li.menu-item-has-children:focus-within > a::after {
	transform: rotate(-135deg);
	margin-top: 3px;
}

.ps-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 230px;
	margin: 0;
	padding: var(--space-2);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
	z-index: var(--z-header);
}
.ps-nav__list li.menu-item-has-children:hover > .sub-menu,
.ps-nav__list li.menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.ps-nav__list .sub-menu li { width: 100%; list-style: none; }
.ps-nav__list .sub-menu a {
	display: block;
	width: 100%;
	padding: var(--space-2) var(--space-3);
	border-radius: var(--radius-sm);
	font-size: var(--fs-small);
	font-weight: var(--fw-medium);
	color: var(--color-secondary);
	white-space: nowrap;
}
.ps-nav__list .sub-menu a::after { display: none; }
/* Dropdown items intentionally skip the current-menu-item/current_page_item
   rule used elsewhere: several of these links point to anchors on the same
   page (e.g. Services sub-items), so WordPress marks all of them "current"
   at once. Highlighting instead follows :hover and the .is-active class
   that initScrollSpy() toggles based on which section is actually in view. */
.ps-nav__list .sub-menu a:hover,
.ps-nav__list .sub-menu a.is-active { background: var(--color-light-bg); color: var(--color-primary); }

.ps-header__utility { display: flex; align-items: center; gap: var(--space-5); }

.ps-header__phone {
	align-items: center;
	gap: var(--space-2);
	font-size: var(--fs-small);
	font-weight: var(--fw-medium);
	color: var(--color-secondary);
}
.ps-header__phone:hover { color: var(--color-primary); }

.ps-nav-toggle {
	/* Some browsers auto-remap background/color on native <button>
	   elements under OS dark mode, overriding transparent below unless
	   the platform chrome is explicitly opted out here. */
	appearance: none;
	-webkit-appearance: none;
	color-scheme: light;
	position: relative;
	z-index: var(--z-modal);
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	border-radius: var(--radius-sm);
	border: none;
	background: transparent !important;
	cursor: pointer;
}
@media (min-width: 992px) { .ps-nav-toggle { display: none; } }
.ps-nav-toggle__bar {
	width: 22px;
	height: 2px;
	background: var(--color-heading);
	border-radius: var(--radius-pill);
	transition: transform var(--transition-base), opacity var(--transition-base), background var(--transition-base);
}
.ps-nav-toggle[aria-expanded="true"] .ps-nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ps-nav-toggle[aria-expanded="true"] .ps-nav-toggle__bar:nth-child(2) { opacity: 0; }
.ps-nav-toggle[aria-expanded="true"] .ps-nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.ps-mobile-nav {
	position: fixed;
	top: 0;
	right: 0;
	height: 100vh;
	width: min(86vw, 360px);
	background: var(--color-surface);
	box-shadow: var(--shadow-xl);
	padding: calc(var(--header-height) + var(--space-6)) var(--space-6) var(--space-8);
	display: flex;
	flex-direction: column;
	gap: var(--space-6);
	transform: translateX(100%);
	transition: transform var(--transition-slow);
	z-index: var(--z-overlay);
	overflow-y: auto;
}
.ps-mobile-nav.is-open { transform: translateX(0); }
.ps-mobile-nav__list { display: flex; flex-direction: column; gap: var(--space-1); }
.ps-mobile-nav__list > li { border-bottom: 1px solid var(--color-border); }
.ps-mobile-nav__list li a {
	display: block;
	padding: var(--space-3) 0;
	font-size: 1.15rem;
	font-weight: var(--fw-medium);
	color: var(--color-black);
}
.ps-mobile-nav__list li a.is-active { color: var(--color-primary); }
/* Scoped to direct (top-level) items only — sub-menu links are excluded for
   the same reason as the desktop dropdown above: several point to anchors
   on the same page, so WordPress marks all of them "current" at once. */
.ps-mobile-nav__list > li.current-menu-item > a,
.ps-mobile-nav__list > li.current_page_item > a,
.ps-mobile-nav__list > li.current-menu-parent > a,
.ps-mobile-nav__list > li.current-menu-ancestor > a { color: var(--color-primary); }

/* Top-level items with children lay the label and toggle button out in a
   row via flex, then let the sub-menu wrap onto its own line below — this
   keeps the arrow pinned next to the label instead of stretching (and
   visually drifting downward) across the sub-menu's expanded height, which
   is what happened when the toggle was absolutely positioned at height:100%
   of a li that grows once its sub-menu opens. */
.ps-mobile-nav__list li.menu-item-has-children {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
.ps-mobile-nav__list li.menu-item-has-children > a { flex: 1 1 auto; }

.ps-mobile-nav__list .sub-menu-toggle {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	/* The parent theme forces background-color on every plain <button>
	   via a broad, unscoped reset (style.css ~L1698); it's more specific
	   than a class selector, so !important is required to override it. */
	background: transparent !important;
	border: none;
	padding: 0;
	cursor: pointer;
}
.ps-mobile-nav__list .sub-menu-toggle .icon-plus,
.ps-mobile-nav__list .sub-menu-toggle .icon-minus { display: none; }
.ps-mobile-nav__list .sub-menu-toggle::after {
	content: '';
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--color-secondary);
	border-bottom: 2px solid var(--color-secondary);
	transform: rotate(45deg);
	transition: transform var(--transition-base);
}
.ps-mobile-nav__list .sub-menu-toggle[aria-expanded="true"]::after { transform: rotate(225deg); }

.ps-mobile-nav__list .sub-menu {
	flex: 1 1 100%;
	max-height: 0;
	overflow: hidden;
	list-style: none;
	padding-left: var(--space-4);
	transition: max-height var(--transition-slow);
}
.ps-mobile-nav__list .sub-menu li { list-style: none; }
.ps-mobile-nav__list .sub-menu-toggle[aria-expanded="true"] ~ .sub-menu { max-height: 400px; }
.ps-mobile-nav__list .sub-menu a {
	font-size: 1rem;
	padding: var(--space-2) 0;
	color: var(--color-secondary);
}

.ps-mobile-nav__phone {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	color: var(--color-black);
	font-weight: var(--fw-medium);
}

@media (min-width: 992px) { .ps-mobile-nav { display: none; } }

body.ps-nav-open { overflow: hidden; }

/* =========================================================
   4. HERO
========================================================= */
.ps-hero {
	position: relative;
	padding: calc(var(--header-height) + var(--space-6)) 0 var(--space-7);
	background: var(--gradient-hero-light);
	color: var(--color-body);
	overflow: hidden;
}

.ps-hero__bg { position: absolute; inset: 0; z-index: var(--z-back); }

.ps-orb {
	position: absolute;
	border-radius: var(--radius-circle);
	filter: blur(80px);
	opacity: .5;
	animation: ps-float 10s ease-in-out infinite;
}
.ps-orb--blue { width: 420px; height: 420px; background: var(--gradient-end); top: -120px; left: -80px; }
.ps-orb--orange { width: 360px; height: 360px; background: var(--color-primary); bottom: -100px; right: -60px; animation-delay: -3s; }
.ps-orb--violet { width: 300px; height: 300px; background: var(--gradient-start); top: 40%; left: 55%; animation-delay: -6s; }

.ps-grid-overlay {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(var(--color-black-rgb), .035) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--color-black-rgb), .035) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(circle at 30% 30%, #000 0%, transparent 70%);
}

.ps-glyph {
	position: absolute;
	font-weight: var(--fw-black);
	color: rgba(var(--color-black-rgb), .045);
	font-size: 9rem;
	line-height: 1;
	user-select: none;
}
.ps-glyph--1 { top: 8%; right: 8%; font-size: 7rem; }
.ps-glyph--2 { bottom: 6%; left: 4%; font-size: 8rem; }
.ps-glyph--3 { top: 55%; right: 42%; font-size: 6rem; }
.ps-glyph--4 { top: 18%; left: 40%; font-size: 5rem; }

.ps-hero__title {
	font-size: var(--fs-display);
	font-weight: var(--fw-black);
	letter-spacing: var(--ls-tight);
	line-height: var(--lh-tight);
	color: var(--color-heading);
	margin-bottom: var(--space-6);
}

.ps-hero__lead {
	font-size: var(--fs-lead);
	color: var(--color-body);
	max-width: 540px;
	margin-bottom: var(--space-7);
}

.ps-hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-bottom: var(--space-8); }
.ps-hero__cta--center { justify-content: center; margin-bottom: 0; }

/* Trust strip beneath the hero content — each item is its own card with
   an icon badge, so it reads as a set of trust indicators rather than a
   dense block of labelled text. Grid steps up column count only once
   there's room to breathe: 1-up on phones, 2-up from 480px, 4-up from the
   desktop breakpoint where the hero itself goes two-column. */
.ps-trust-strip {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-4);
	margin-top: var(--space-6);
	padding-top: var(--space-6);
	border-top: 1px solid var(--color-border);
}
@media (min-width: 480px) {
	.ps-trust-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
	.ps-trust-strip { grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
}

.ps-trust-strip__item {
	display: flex;
	align-items: flex-start;
	gap: var(--space-3);
	padding: var(--space-4);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.ps-trust-strip__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.ps-trust-strip__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--radius-md);
	background: var(--color-light-bg);
	color: var(--color-primary);
	font-size: 1.1rem;
	flex-shrink: 0;
}

.ps-trust-strip__body { min-width: 0; }

.ps-trust-strip__label {
	display: block;
	font-size: var(--fs-xs);
	font-weight: var(--fw-bold);
	letter-spacing: var(--ls-wide);
	text-transform: uppercase;
	color: var(--color-primary);
	margin-bottom: var(--space-1);
}
.ps-trust-strip__value {
	display: block;
	font-size: var(--fs-small);
	font-weight: var(--fw-bold);
	color: var(--color-heading);
	line-height: var(--lh-heading);
}

/* Hero visual — a single static image, no globe/card illustration or
   ambient motion. */
.ps-hero__visual { position: relative; margin-top: var(--space-8); }
@media (min-width: 992px) { .ps-hero__visual { margin-top: 0; } }
@media (max-width: 991px) { .ps-hero__visual { margin-top: var(--space-5); } }

.ps-hero__visual-image {
	width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

.ps-live-dot {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	color: var(--color-success);
	text-transform: none;
	font-weight: var(--fw-medium);
}
.ps-live-dot i {
	width: 8px;
	height: 8px;
	border-radius: var(--radius-circle);
	background: var(--color-success);
	box-shadow: 0 0 0 0 rgba(31, 170, 109, .6);
	animation: ps-pulse 1.8s infinite;
}
.ps-live-dot--standalone {
	margin: var(--space-5) 0;
	font-size: var(--fs-small);
	font-weight: var(--fw-bold);
	text-transform: uppercase;
	letter-spacing: var(--ls-wide);
}

.ps-scroll-cue {
	position: absolute;
	bottom: var(--space-6);
	left: 50%;
	transform: translateX(-50%);
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--color-border);
	background: var(--color-surface);
	border-radius: var(--radius-circle);
	color: var(--color-primary);
	box-shadow: var(--shadow-sm);
	animation: ps-bounce 2.2s infinite;
}

/* =========================================================
   5. LANES OF OPERATION
========================================================= */
.ps-lane-card {
	position: relative;
	height: 100%;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-xl);
	padding: var(--space-8) var(--space-6);
	box-shadow: var(--shadow-sm);
	transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
	overflow: hidden;
}
.ps-lane-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--gradient-brand);
	opacity: 0;
	transition: opacity var(--transition-slow);
	z-index: var(--z-back);
}
.ps-lane-card--alt::before { background: var(--gradient-primary); }
.ps-lane-card:hover {
	transform: translateY(-10px);
	box-shadow: var(--shadow-xl);
	border-color: transparent;
}
.ps-lane-card:hover::before { opacity: .06; }

.ps-lane-card__index {
	position: absolute;
	top: var(--space-5);
	right: var(--space-6);
	font-size: 3rem;
	font-weight: var(--fw-black);
	color: var(--color-light-bg);
	line-height: 1;
}

.ps-lane-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: var(--radius-lg);
	background: var(--gradient-brand);
	color: var(--color-white);
	font-size: 1.5rem;
	margin-bottom: var(--space-5);
	box-shadow: var(--shadow-glow-blue);
}
.ps-lane-card--alt .ps-lane-card__icon { background: var(--gradient-cta); box-shadow: var(--shadow-glow-primary); }

.ps-lane-card h3 { font-size: var(--fs-h3); margin-bottom: var(--space-3); }
.ps-lane-card > p { color: var(--color-body); margin-bottom: var(--space-5); }

.ps-check-list { display: flex; flex-direction: column; gap: var(--space-3); }
.ps-check-list li { display: flex; align-items: center; gap: var(--space-3); font-size: var(--fs-small); font-weight: var(--fw-medium); color: var(--color-secondary); }
.ps-check-list li i { color: var(--color-primary); }

/* =========================================================
   6. CORE CAPABILITIES (service cards)
========================================================= */
.ps-service-card {
	height: 100%;
	background: var(--color-surface);
	border-radius: var(--radius-xl);
	padding: var(--space-7) var(--space-6);
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--color-border);
	transition: transform var(--transition-base), box-shadow var(--transition-base);
	position: relative;
}
.ps-service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.ps-service-card__tag {
	display: inline-block;
	font-size: var(--fs-xs);
	font-weight: var(--fw-bold);
	letter-spacing: var(--ls-wide);
	text-transform: uppercase;
	color: var(--color-primary);
	background: rgba(var(--color-primary-rgb), .1);
	padding: var(--space-1) var(--space-3);
	border-radius: var(--radius-pill);
	margin-bottom: var(--space-5);
}

.ps-service-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: var(--radius-md);
	background: var(--color-light-bg);
	color: var(--color-primary);
	font-size: 1.4rem;
	margin-bottom: var(--space-5);
	transition: background var(--transition-base), color var(--transition-base), transform var(--transition-base);
}
.ps-service-card:hover .ps-service-card__icon {
	background: var(--gradient-cta);
	color: var(--color-white);
	transform: rotate(-8deg) scale(1.08);
}

.ps-service-card h3 { font-size: var(--fs-h4); margin-bottom: var(--space-3); }
.ps-service-card p { color: var(--color-body); margin-bottom: var(--space-5); }

.ps-service-card__stat {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	font-size: var(--fs-small);
	font-weight: var(--fw-bold);
	color: var(--color-secondary);
	border-top: 1px solid var(--color-border);
	padding-top: var(--space-4);
	width: 100%;
}
.ps-service-card__stat i { color: var(--color-primary); }

/* =========================================================
   7. SCALE & REACH (stats)
========================================================= */
.ps-stats {
	position: relative;
	padding: var(--section-padding-y) 0;
	/* No longer a hardcoded gray — same white/tint pattern as every other
	   .ps-section, so each page can alternate correctly via .ps-section--tint
	   rather than fighting a background baked into this component. */
	background: var(--color-surface);
	color: var(--color-body);
	overflow: hidden;
}
.ps-stat {
	position: relative;
	height: 100%;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-xl);
	padding: var(--space-7) var(--space-4);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.ps-stat::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: var(--gradient-brand);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	opacity: 0;
	transition: opacity var(--transition-base);
	pointer-events: none;
}
.col-lg-3:nth-child(even) .ps-stat::before { background: var(--gradient-cta); }
.ps-stat:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.ps-stat:hover::before { opacity: 1; }

.ps-stat__glow {
	position: absolute;
	top: -36px;
	right: -36px;
	width: 120px;
	height: 120px;
	border-radius: var(--radius-circle);
	filter: blur(38px);
	opacity: .18;
	z-index: var(--z-back);
}


.ps-stat__icon {
	position: relative;
	z-index: var(--z-card);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: var(--radius-circle);
	background: var(--gradient-brand);
	color: var(--color-white);
	font-size: 1.35rem;
	box-shadow: var(--shadow-glow-blue);
	margin-bottom: var(--space-5);
	transition: transform var(--transition-bounce);
}
.col-lg-3:nth-child(even) .ps-stat__icon { background: var(--gradient-cta); box-shadow: var(--shadow-glow-primary); }
.ps-stat:hover .ps-stat__icon { transform: scale(1.1) rotate(-8deg); }

.ps-stat__value {
	position: relative;
	z-index: var(--z-card);
	display: block;
	font-size: var(--fs-stat-value);
	font-weight: var(--fw-black);
	line-height: var(--lh-tight);
	color: var(--color-heading);
	margin-bottom: var(--space-2);
}
.ps-stat__label {
	position: relative;
	z-index: var(--z-card);
	display: block;
	font-size: var(--fs-small);
	font-weight: var(--fw-bold);
	line-height: var(--lh-heading);
	color: var(--color-secondary);
	text-transform: uppercase;
	letter-spacing: var(--ls-wide);
}

/* =========================================================
   8. WHY PAYSETRA
========================================================= */
.ps-panel {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-xl);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.ps-panel:hover { box-shadow: var(--shadow-xl); transform: translateY(-6px); }
.ps-panel--image svg,
.ps-panel--image img { display: block; width: 100%; height: auto; }
.ps-panel__head {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	padding: var(--space-4) var(--space-5);
	background: var(--color-light-bg);
	border-bottom: 1px solid var(--color-border);
}
.ps-panel__head span:not(.ps-panel__title) { width: 10px; height: 10px; border-radius: var(--radius-circle); background: rgba(var(--color-black-rgb), .18); }
.ps-panel__head span:nth-child(1) { background: var(--color-danger); }
.ps-panel__head span:nth-child(2) { background: var(--color-primary); }
.ps-panel__head span:nth-child(3) { background: var(--color-success); }
.ps-panel__title { margin-left: var(--space-3); font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--color-secondary); }
.ps-panel__body { padding: var(--space-7) var(--space-6); }

.ps-mini-chart {
	display: flex;
	align-items: flex-end;
	gap: var(--space-3);
	height: 140px;
	margin-bottom: var(--space-7);
	background: var(--color-light-bg);
	border-radius: var(--radius-md);
	padding: var(--space-4);
}
.ps-mini-chart i {
	flex: 1;
	height: var(--h);
	background: var(--gradient-brand);
	border-radius: var(--radius-sm) var(--radius-sm) 0 0;
	opacity: .85;
	transition: opacity var(--transition-base);
}
.ps-mini-chart i:last-child { background: var(--gradient-cta); opacity: 1; }
.ps-panel:hover .ps-mini-chart i { opacity: 1; }

.ps-dealer-chip {
	display: flex;
	align-items: center;
	gap: var(--space-4);
	padding: var(--space-4);
	background: var(--color-light-bg);
	border-radius: var(--radius-lg);
	margin-bottom: var(--space-5);
}
.ps-dealer-chip__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: var(--radius-circle);
	background: var(--gradient-cta);
	color: var(--color-white);
	flex-shrink: 0;
}
.ps-dealer-chip strong { display: block; color: var(--color-heading); font-size: var(--fs-small); }
.ps-dealer-chip small { color: var(--color-secondary); font-size: var(--fs-xs); }

.ps-badge-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.ps-badge-row span {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	font-size: var(--fs-xs);
	font-weight: var(--fw-medium);
	color: var(--color-secondary);
	background: var(--color-light-bg);
	border: 1px solid var(--color-border);
	padding: var(--space-2) var(--space-3);
	border-radius: var(--radius-pill);
}
.ps-badge-row span i { color: var(--color-primary); }

.ps-feature-row { display: flex; gap: var(--space-5); margin-bottom: var(--space-6); }
.ps-feature-row:last-child { margin-bottom: 0; }
.ps-feature-row__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: var(--radius-md);
	background: var(--color-light-bg);
	color: var(--color-primary);
	font-size: 1.25rem;
	flex-shrink: 0;
}
.ps-feature-row h3 { font-size: var(--fs-h4); margin-bottom: var(--space-2); }
.ps-feature-row p { color: var(--color-body); }

/* =========================================================
   9. HOW IT WORKS (bento process flow)
========================================================= */
.ps-process { position: relative; overflow: hidden; background: var(--color-surface); }
/* .ps-section--tint alone ties .ps-process on specificity and loses on
   source order — this combined selector guarantees tint wins whenever a
   page needs this section gray for its own alternation sequence. */
.ps-process.ps-section--tint { background: var(--color-light-bg); }
.ps-process__bg { position: absolute; inset: 0; z-index: var(--z-back); }
.ps-process .ps-orb { opacity: .35; }

.ps-process-flow {
	display: flex;
	align-items: stretch;
	gap: 0;
}
@media (max-width: 991.98px) {
	.ps-process-flow { flex-direction: column; gap: var(--space-6); }
}

.ps-process-flow__item { flex: 1 1 0; min-width: 0; display: flex; }

.ps-process-flow__connector {
	flex: 0 0 auto;
	width: 56px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-primary);
}
@media (max-width: 991.98px) { .ps-process-flow__connector { display: none; } }
.ps-process-flow__line {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 2px;
	transform: translateY(-50%);
	border-radius: var(--radius-pill);
	background: linear-gradient(90deg, rgba(var(--color-primary-rgb), 0) 0%, var(--color-primary-dark) 35%, var(--color-primary) 65%, rgba(var(--color-primary-rgb), 0) 100%);
	background-size: 200% 100%;
	animation: ps-flow 3s linear infinite;
}
.ps-process-flow__connector i {
	position: relative;
	z-index: var(--z-card);
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: .65rem;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-circle);
	box-shadow: var(--shadow-sm);
}

.ps-process-card {
	position: relative;
	width: 100%;
	text-align: center;
	background: var(--glass-bg-light);
	border: 1px solid var(--glass-border-light);
	backdrop-filter: var(--glass-blur);
	-webkit-backdrop-filter: var(--glass-blur);
	border-radius: var(--radius-xl);
	padding: var(--space-7) var(--space-5) var(--space-6);
	box-shadow: var(--shadow-md);
	overflow: hidden;
	transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.ps-process-card::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: var(--gradient-brand);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	opacity: 0;
	transition: opacity var(--transition-base);
	pointer-events: none;
}
.ps-process-flow__item:nth-child(4n+3) .ps-process-card::before { background: var(--gradient-cta); }
.ps-process-card:hover {
	transform: translateY(-10px);
	box-shadow: var(--shadow-xl);
}
.ps-process-card:hover::before { opacity: 1; }

.ps-process-card__num {
	position: absolute;
	top: var(--space-4);
	right: var(--space-5);
	font-size: 2.75rem;
	font-weight: var(--fw-black);
	color: rgba(var(--color-primary-rgb), .1);
	line-height: 1;
}

.ps-process-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: var(--radius-circle);
	background: var(--gradient-cta);
	color: var(--color-white);
	font-size: 1.4rem;
	box-shadow: var(--shadow-glow-primary);
	margin: 0 auto var(--space-5);
	transition: transform var(--transition-bounce);
}
.ps-process-flow__item:nth-child(4n+3) .ps-process-card__icon {
	background: var(--gradient-brand);
	box-shadow: var(--shadow-glow-blue);
}
.ps-process-card:hover .ps-process-card__icon { transform: scale(1.1) rotate(-8deg); }

.ps-process-card h3 { font-size: var(--fs-h4); margin-bottom: var(--space-3); }
.ps-process-card p { color: var(--color-body); margin-bottom: var(--space-5); font-size: var(--fs-small); }
.ps-process-card__time {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	font-size: var(--fs-xs);
	font-weight: var(--fw-bold);
	letter-spacing: var(--ls-wide);
	text-transform: uppercase;
	color: var(--color-secondary);
	background: var(--color-light-bg);
	padding: var(--space-2) var(--space-3);
	border-radius: var(--radius-pill);
	transition: background var(--transition-base), color var(--transition-base);
}
.ps-process-card:hover .ps-process-card__time { background: var(--gradient-cta); color: var(--color-white); }

@keyframes ps-flow {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

/* =========================================================
   10. COMPLIANCE BAND
========================================================= */
.ps-compliance {
	padding: var(--space-8) 0;
	background: var(--gradient-compliance-light);
	color: var(--color-body);
	border-bottom: 1px solid var(--color-border);
}
.ps-compliance__content { display: flex; gap: var(--space-5); align-items: flex-start; }
.ps-compliance__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: var(--radius-lg);
	background: rgba(var(--color-primary-rgb), .12);
	color: var(--color-primary);
	font-size: 1.5rem;
	flex-shrink: 0;
}
.ps-compliance__content h2 { font-size: var(--fs-h3); color: var(--color-heading); margin-bottom: var(--space-2); }
.ps-compliance__content p { color: var(--color-body); }
.ps-compliance__badges { display: flex; flex-direction: column; gap: var(--space-3); }
.ps-compliance__badges span {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	font-size: var(--fs-small);
	font-weight: var(--fw-medium);
	color: var(--color-secondary);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	padding: var(--space-3) var(--space-4);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
}
.ps-compliance__badges span i { color: var(--color-primary); }

/* =========================================================
   11. CONTACT / INQUIRY
========================================================= */
.ps-contact-info { display: flex; flex-direction: column; gap: var(--space-4); margin-top: var(--space-6); }
.ps-contact-info li { display: flex; align-items: center; gap: var(--space-3);  font-weight: var(--fw-medium); color: var(--color-secondary); }
.ps-contact-info li i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: var(--radius-circle);
	background: var(--color-light-bg);
	color: var(--color-primary);
	flex-shrink: 0;
}
.ps-contact-info li a:hover { color: var(--color-primary); }
/* <address> carries a browser-default margin and italic style; left
   in place, that phantom margin stretches the flex row's cross-axis and
   the icon ends up centered against a taller box than the text actually
   occupies, reading as misaligned next to the other single-line items. */
.ps-contact-info address { font-style: normal; margin: 0; }

/* Contact Form 7 — every rule below is scoped to this one wrapper so the
   plugin's own markup/classes (.wpcf7-form-control, .wpcf7-not-valid, etc.)
   can be restyled without touching the form fields themselves. */
.paysetra-contact-form-wrap {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-xl);
	padding: var(--space-7);
	box-shadow: var(--shadow-lg);
}
@media (max-width: 575.98px) {
	.paysetra-contact-form-wrap { padding: var(--space-4); }
}

.paysetra-contact-form-wrap .wpcf7-form .row > [class*="col-"] {
	margin-bottom: var(--space-5);
}

.paysetra-contact-form-wrap label {
	display: block;
	font-size: var(--fs-small);
	font-weight: var(--fw-bold);
	color: var(--color-heading);
	margin-bottom: var(--space-2);
}

.paysetra-contact-form-wrap .wpcf7-form-control-wrap {
	display: block;
	position: relative;
}
/* Consent checkbox — custom-styled to match theme, replaces the default browser checkbox */
.paysetra-contact-form-wrap .wpcf7-acceptance { display: block; margin-bottom: var(--space-5); }
.paysetra-contact-form-wrap .wpcf7-list-item { margin: 0; }
.paysetra-contact-form-wrap .wpcf7-list-item label {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	font-size: var(--fs-small);
	font-weight: var(--fw-medium);
	color: var(--color-heading);
	cursor: pointer;
}
.paysetra-contact-form-wrap .wpcf7-list-item input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	position: relative;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	margin: 0;
	border: 1.5px solid var(--color-border);
	border-radius: 6px;
	background: var(--color-surface);
	cursor: pointer;
	transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}
.paysetra-contact-form-wrap .wpcf7-list-item input[type="checkbox"]:checked {
	background: var(--gradient-cta);
	border-color: var(--color-primary);
}
.paysetra-contact-form-wrap .wpcf7-list-item input[type="checkbox"]:checked::after {
	content: '';
	position: absolute;
	top: 3px;
	left: 6px;
	width: 5px;
	height: 9px;
	border: solid var(--color-white);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.paysetra-contact-form-wrap .wpcf7-list-item input[type="checkbox"]:focus-visible {
	outline: none;
	box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), .15);
}
.paysetra-contact-form-wrap .wpcf7-form-control:not(.wpcf7-submit) {
	width: 100%;
	font-family: var(--font-family-base);
	font-size: var(--fs-body);
	color: var(--color-heading);
	background: var(--color-light-bg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: .8rem 1rem;
	transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}
.paysetra-contact-form-wrap .wpcf7-form-control::placeholder {
	color: var(--color-secondary);
	opacity: .55;
}
/* Strip the text-input background/border/padding that .wpcf7-form-control
   normally gets — the checkbox row should sit flush, not inside a pill. */
.paysetra-contact-form-wrap .wpcf7-form-control.wpcf7-acceptance {
	width: auto;
	background: none;
	border: none;
	padding: 0;
}
.paysetra-contact-form-wrap .wpcf7-list-item-label {
	line-height: 1.4;
}
/*checkbox end */

.paysetra-contact-form-wrap .wpcf7-form-control:not(.wpcf7-submit):focus {
	outline: none;
	border-color: var(--color-primary);
	background: var(--color-surface);
	box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), .15);
}

.paysetra-contact-form-wrap textarea.wpcf7-form-control { resize: vertical; min-height: 120px; }

.paysetra-contact-form-wrap select.wpcf7-form-control {
	appearance: none;
	-webkit-appearance: none;
	padding-right: var(--space-8);
	cursor: pointer;
}
.paysetra-contact-form-wrap .wpcf7-form-control-wrap[data-name="enquiry-classification"]::after {
	content: '';
	position: absolute;
	top: 50%;
	right: var(--space-4);
	width: 9px;
	height: 9px;
	border-right: 2px solid var(--color-secondary);
	border-bottom: 2px solid var(--color-secondary);
	transform: translateY(-65%) rotate(45deg);
	pointer-events: none;
}

.paysetra-contact-form-wrap .wpcf7-not-valid { border-color: var(--color-danger) !important; }
.paysetra-contact-form-wrap .wpcf7-not-valid-tip {
	display: block;
	font-size: var(--fs-xs);
	font-weight: var(--fw-medium);
	color: var(--color-danger);
	margin-top: var(--space-2);
}

.paysetra-contact-form-wrap .form-disclaimer p {
	font-size: var(--fs-xs);
	color: var(--color-secondary);
	margin-bottom: var(--space-5);
}

/* Center the submit column's contents so a narrower auto-width button
   (below) never sits stranded against the left edge. Bootstrap's
   .text-end utility ships with !important, so it must be matched here. */
.paysetra-contact-form-wrap .text-end { text-align: center !important; }

.paysetra-contact-form-wrap input.wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	max-width: 100%;
	font-family: var(--font-family-base);
	font-weight: var(--fw-bold);
	font-size: 1.05rem;
	text-align: center;
	padding: 1.1rem 2.25rem;
	border-radius: var(--radius-btn);
	border: 1px solid transparent;
	background: var(--gradient-cta);
	color: var(--color-white) !important;
	cursor: pointer;
	transition: transform var(--transition-base), box-shadow var(--transition-base), letter-spacing var(--transition-base);
}
.paysetra-contact-form-wrap input.wpcf7-submit:hover {
	transform: translateY(-3px);
	letter-spacing: .015em;
}
.paysetra-contact-form-wrap input.wpcf7-submit:active { transform: translateY(-1px); }

@media (max-width: 575.98px) {
	.paysetra-contact-form-wrap input.wpcf7-submit { width: 100%; }
}
.paysetra-contact-form-wrap .wpcf7-spinner { vertical-align: middle; margin: 0 0 0 var(--space-2); }

.paysetra-contact-form-wrap .wpcf7-response-output {
	margin: var(--space-5) 0 0;
	padding: var(--space-3) var(--space-4);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	font-size: var(--fs-small);
	color: var(--color-secondary);
}
.paysetra-contact-form-wrap .wpcf7-form.sent .wpcf7-response-output {
	border-color: var(--color-success);
	color: var(--color-success);
	background: rgba(31, 170, 109, .08);
}
.paysetra-contact-form-wrap .wpcf7-form.invalid .wpcf7-response-output,
.paysetra-contact-form-wrap .wpcf7-form.unaccepted .wpcf7-response-output,
.paysetra-contact-form-wrap .wpcf7-form.failed .wpcf7-response-output,
.paysetra-contact-form-wrap .wpcf7-form.spam .wpcf7-response-output,
.paysetra-contact-form-wrap .wpcf7-form.aborted .wpcf7-response-output {
	border-color: var(--color-danger);
	color: var(--color-danger);
	background: rgba(232, 80, 58, .08);
}

/* =========================================================
   12. FINAL CTA
========================================================= */
.ps-final-cta {
	padding: var(--section-padding-y-sm) 0;
	background: var(--gradient-cta-banner);
	text-align: center;
}
.ps-final-cta__banner {
	position: relative;
	background: transparent;
	border-radius: var(--radius-2xl);
	padding: var(--space-2) var(--space-2);
	color: var(--color-heading);
	box-shadow: none;
	overflow: hidden;
}
.ps-final-cta__orb {
	position: absolute;
	border-radius: var(--radius-circle);
	filter: blur(60px);
	opacity: .35;
	animation: ps-float 9s ease-in-out infinite;
}
.ps-final-cta__orb--1 { width: 280px; height: 280px; background: var(--color-primary); top: -90px; left: -60px; }
.ps-final-cta__orb--2 { width: 260px; height: 260px; background: var(--gradient-start); bottom: -100px; right: -40px; animation-delay: -4s; }
.ps-final-cta__banner > * { position: relative; z-index: var(--z-card); }
.ps-final-cta h2 { font-size: var(--fs-h1); color: var(--color-white); margin-bottom: var(--space-4); }
.ps-final-cta p { font-size: var(--fs-lead); color: var(--color-white); max-width: 650px; margin: 0 auto var(--space-7); }
.form-privacy-note a {
  color: var(--color-primary);
}
.form-privacy-note a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}
/* =========================================================
   13. FOOTER
========================================================= */
.ps-footer { background: var(--color-dark-900); color: var(--color-dark-text-muted); padding: var(--space-9) 0 var(--space-6); }
.ps-footer__tagline { margin: var(--space-5) 0; max-width: 340px; font-size: var(--fs-small); }
.ps-footer__social { display: flex; gap: var(--space-3); }
.ps-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: var(--radius-circle);
	background: rgba(255, 255, 255, .06);
	border: 1px solid var(--color-dark-border);
	transition: background var(--transition-fast), transform var(--transition-fast);
}
.ps-footer__social a:hover { background: var(--gradient-cta); transform: translateY(-3px); }

.ps-footer__heading { font-size: var(--fs-small); font-weight: var(--fw-bold); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--color-white); margin-bottom: var(--space-5); }
.ps-footer__list { display: flex; flex-direction: column; gap: var(--space-3); }
.ps-footer__list a:hover { color: var(--color-primary); }
.ps-footer__list--contact li { display: flex; align-items: flex-start; gap: var(--space-2); }
.ps-footer__list--contact li i {
    margin-top: 5px;
}

.ps-footer__bottom {
	margin-top: var(--space-8);
	padding-top: var(--space-6);
	border-top: 1px solid var(--color-dark-border);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	font-size: var(--fs-xs);
}
.ps-footer__disclaimer { max-width: 660px; color: var(--color-dark-text-faint); }
.ps-footer__badges { display: flex; gap: var(--space-3); }
.ps-footer__badges span { display: inline-flex; align-items: center; gap: var(--space-2); }
.ps-footer__badges i { color: var(--color-primary); }

/* =========================================================
   14. SCROLL REVEAL + ANIMATIONS
========================================================= */
[data-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity var(--transition-reveal), transform var(--transition-reveal);
	transition-delay: calc(var(--reveal-delay, 0) * 1ms);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@keyframes ps-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-16px); }
}

@keyframes ps-bounce {
	0%, 100% { transform: translate(-50%, 0); }
	50% { transform: translate(-50%, 8px); }
}

@keyframes ps-pulse {
	0% { box-shadow: 0 0 0 0 rgba(31, 170, 109, .55); }
	70% { box-shadow: 0 0 0 10px rgba(31, 170, 109, 0); }
	100% { box-shadow: 0 0 0 0 rgba(31, 170, 109, 0); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.ps-orb, .ps-scroll-cue, .ps-live-dot i, .ps-back-to-top__ring { animation: none; }
	[data-reveal] { transition: none; opacity: 1; transform: none; }
}

/* =========================================================
   15. RESPONSIVE ADJUSTMENTS
========================================================= */
@media (max-width: 991.98px) {
	.ps-hero { padding-top: calc(var(--header-height-scrolled) + var(--space-5)); }
	/* Below the point where the two hero columns stack, center everything
	   instead of leaving it pinned to the left edge of the now full-width
	   column — the lead paragraph's max-width otherwise reads as an
	   unintentionally narrow, off-center block. */
	.ps-hero .col-lg-6 { text-align: center; }
	.ps-hero__lead { margin-left: auto; margin-right: auto; }
	.ps-hero__cta { justify-content: center; }
	.ps-compliance__content { flex-direction: column; }
	.ps-footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 575.98px) {
	.ps-hero__cta { flex-direction: column; align-self: stretch; }
	.ps-hero__cta .ps-btn { width: 100%; }
	.ps-hero__cta--center { flex-direction: column; align-items: center; }
	.ps-hero__cta--center .ps-btn { width: 100%; max-width: 320px; }
	.ps-trust-strip { grid-template-columns: 1fr; gap: var(--space-4); }
	.ps-final-cta__banner { padding: var(--space-7) var(--space-4); }
}

/* =========================================================
   16. CORPORATE PAGE TEMPLATE (template-corporate.php)
========================================================= */
.ps-feature-card {
	height: 100%;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-xl);
	padding: var(--space-6);
	box-shadow: var(--shadow-sm);
	transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.ps-feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ps-feature-card .ps-feature-row { margin-bottom: 0; }

/* Simple, shorter inner-page banner — deliberately lighter than the
   homepage .ps-hero (no orbs/glyphs, no scroll cue, smaller heading)
   so sub-pages read as distinct from the homepage landing experience.
   Always white, regardless of page — the section below it carries the
   first "tint" so the two never collide. */
.ps-page-banner {
	padding: calc(var(--header-height) + var(--space-7)) 0 var(--space-8);
	background: var(--color-surface);
}
.ps-page-banner__title {
	font-size: var(--fs-h1);
	font-weight: var(--fw-black);
	letter-spacing: var(--ls-tight);
	line-height: var(--lh-tight);
	color: var(--color-heading);
	margin-bottom: var(--space-5);
}
.ps-page-banner__lead {
	font-size: var(--fs-lead);
	color: var(--color-body);
	max-width: 560px;
	margin: 0 auto;
}
@media (max-width: 991.98px) {
	.ps-page-banner { padding-top: calc(var(--header-height-scrolled) + var(--space-6)); padding-bottom: var(--space-7); }
}

/* Corporate Capabilities — a distinct card language from both the
   homepage's .ps-service-card (tag + stat row) and .ps-process-card
   (centered stepper look): left-aligned, icon chip + outlined number
   badge, with an accent underline that reveals on hover. */
.ps-capability-card {
	position: relative;
	height: 100%;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-xl);
	padding: var(--space-6);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.ps-capability-card::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	height: 3px;
	width: 0;
	background: var(--gradient-cta);
	transition: width var(--transition-slow);
}
.ps-capability-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-lg);
	border-color: transparent;
}
.ps-capability-card:hover::after { width: 100%; }

.ps-capability-card__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: var(--space-5);
}
.ps-capability-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: var(--radius-md);
	background: var(--gradient-cta);
	color: var(--color-white);
	font-size: 1.3rem;
	box-shadow: var(--shadow-glow-primary);
	transition: transform var(--transition-bounce);
}
.col-lg-3:nth-child(even) .ps-capability-card__icon { background: var(--gradient-brand); box-shadow: var(--shadow-glow-blue); }
.ps-capability-card:hover .ps-capability-card__icon { transform: rotate(-6deg) scale(1.08); }

.ps-capability-card__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: var(--radius-circle);
	border: 1.5px solid var(--color-border);
	color: var(--color-secondary);
	font-size: var(--fs-xs);
	font-weight: var(--fw-bold);
	transition: border-color var(--transition-base), color var(--transition-base);
}
.ps-capability-card:hover .ps-capability-card__num { border-color: var(--color-primary); color: var(--color-primary); }

.ps-capability-card h3 { font-size: var(--fs-h4); margin-bottom: var(--space-3); }
.ps-capability-card p { color: var(--color-body); font-size: var(--fs-small); margin: 0; }

/* =========================================================
   17. ABOUT PAGE TEMPLATE (template-about.php)
========================================================= */
.ps-compliance-card__label {
	font-size: var(--fs-eyebrow);
	font-weight: var(--fw-bold);
	letter-spacing: var(--ls-wide);
	text-transform: uppercase;
	color: var(--color-primary);
	margin-bottom: var(--space-3);
}

/* The compliance band is gray by default (shared with home-template.php,
   where it needs to be gray to alternate correctly). Inserting the Team
   Members section above shifted this page's own white/gray rhythm by
   one step, so on the About page specifically it needs to sit on white
   instead — this modifier only overrides the background, nothing else. */
.ps-compliance--white { background: var(--color-surface); }

/* --- Team Members ---------------------------------------------------
   Two premium bio cards. Desktop/tablet split (image beside content) vs.
   mobile/tablet stack (image above content) is handled entirely by
   Bootstrap's own grid — col-lg-4 / col-lg-8 inside a .row, the exact
   same pattern "Our Story" above uses — rather than a custom flex
   breakpoint, so it stacks at the project's usual lg (992px) breakpoint
   and behaves consistently across every tablet size. Every spacing value
   below is a shared design token (var(--space-*), var(--radius-*),
   var(--shadow-*)) — nothing here is a one-off pixel value. */
.ps-team { display: flex; flex-direction: column; gap: var(--space-7); }

.ps-team-card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-sm);
	padding: var(--space-6);
	transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.ps-team-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
	border-color: transparent;
}

/* Photo column. Capped at 280px and centered whenever the column is
   full-width (below lg, where Bootstrap stacks col-lg-4 on top of
   col-lg-8) so the photo doesn't blow up to the full stacked-column
   width on a tablet. */
.ps-team-card__media {
	max-width: 280px;
	margin: 0 auto;
}
@media (min-width: 992px) {
	.ps-team-card__media { max-width: none; margin: 0; }
}
.ps-team-card__image-wrap {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	aspect-ratio: 4 / 5;
}
.ps-team-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform var(--transition-slow);
}
.ps-team-card:hover .ps-team-card__image { transform: scale(1.04); }

.ps-team-card__role {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	font-size: var(--fs-xs);
	font-weight: var(--fw-bold);
	letter-spacing: var(--ls-wide);
	text-transform: uppercase;
	color: var(--color-primary);
	background: rgba(var(--color-primary-rgb), .1);
	padding: var(--space-1) var(--space-3);
	border-radius: var(--radius-pill);
	margin-bottom: var(--space-4);
}

.ps-team-card__name { font-size: var(--fs-h3); margin-bottom: var(--space-4); }

.ps-team-card__bio p { color: var(--color-body); margin-bottom: var(--space-4); }
.ps-team-card__bio p:last-child { margin-bottom: 0; }

/* Email — simple divider-style link under the bio text, icon + address. */
.ps-team-card__email {
	display: inline-flex;
	align-items: center;
	gap: var(--space-3);
	margin-top: var(--space-6);
	padding-top: var(--space-5);
	border-top: 1px solid var(--color-border);
	font-weight: var(--fw-bold);
	color: var(--color-heading);
	transition: color var(--transition-base);
}
.ps-team-card__email:hover { color: var(--color-primary); }
.ps-team-card__email-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: var(--radius-circle);
	background: var(--color-light-bg);
	color: var(--color-primary);
	font-size: .95rem;
	flex-shrink: 0;
	transition: background var(--transition-base), color var(--transition-base);
}
.ps-team-card__email:hover .ps-team-card__email-icon { background: var(--gradient-cta); color: var(--color-white); }
/* =========================================================
   18. GENERAL PAGE TEMPLATE (template-page.php)
========================================================= */
/* Prose styling for the_content() — the global reset strips all default
   margins/list-style, so arbitrary block-editor output needs its own
   spacing restored here. */
.ps-page-content { max-width: 820px; margin: 0 auto; }
.ps-page-content > *:first-child { margin-top: 0; }
.ps-page-content p { margin-bottom: var(--space-5); color: var(--color-body); }
.ps-page-content h2 { font-size: var(--fs-h2); margin: var(--space-8) 0 var(--space-4); }
.ps-page-content h3 { font-size: var(--fs-h3); margin: var(--space-6) 0 var(--space-3); }
.ps-page-content h4 { font-size: var(--fs-h4); margin: var(--space-5) 0 var(--space-3); }
.ps-page-content ul,
.ps-page-content ol { margin: 0 0 var(--space-5); padding-left: var(--space-6); color: var(--color-body); }
.ps-page-content ul { list-style: disc; }
.ps-page-content ol { list-style: decimal; }
.ps-page-content li { margin-bottom: var(--space-2); }
.ps-page-content a { color: var(--color-primary); text-decoration: underline; }
.ps-page-content a:hover { color: var(--color-primary-dark); }
.ps-page-content strong { font-weight: var(--fw-bold); color: var(--color-heading); }
.ps-page-content blockquote {
	margin: var(--space-6) 0;
	padding-left: var(--space-5);
	border-left: 3px solid var(--color-primary);
	color: var(--color-secondary);
	font-style: italic;
}
.ps-page-content img { border-radius: var(--radius-md); margin: var(--space-5) 0; }

/* FAQ accordion — native <details>/<summary>, no JS required. */
.ps-faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-4); }
.ps-faq__item {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: var(--space-5) var(--space-6);
	box-shadow: var(--shadow-sm);
	transition: box-shadow var(--transition-base), border-color var(--transition-base);
}
.ps-faq__item[open] { box-shadow: var(--shadow-md); border-color: transparent; }
.ps-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	font-weight: var(--fw-bold);
	font-size: var(--fs-h4);
	color: var(--color-heading);
	cursor: pointer;
	list-style: none;
}
.ps-faq__question::-webkit-details-marker,
.ps-faq__question::marker { display: none; content: ''; }
.ps-faq__icon {
	position: relative;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: var(--radius-circle);
	background: var(--color-light-bg);
	color: var(--color-primary);
	transition: background var(--transition-base), color var(--transition-base);
}
.ps-faq__icon::after {
	content: '';
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	margin-top: -4px;
	transition: transform var(--transition-base);
}
.ps-faq__item[open] .ps-faq__icon { background: var(--gradient-cta); color: var(--color-white); }
.ps-faq__item[open] .ps-faq__icon::after { transform: rotate(-135deg); margin-top: 4px; }
.ps-faq__answer { padding-top: var(--space-4); }
.ps-faq__answer p { margin: 0; color: var(--color-body); }

/* =========================================================
   19. SERVICES PAGE — ZIG-ZAG CAPABILITY SECTIONS
   (template-services.php)
========================================================= */

/* --- Section shell + ambient background --- */
.ps-service-zigzag { position: relative; overflow: hidden; }

.ps-service-zigzag__blob {
	position: absolute;
	width: 620px;
	height: 620px;
	border-radius: var(--radius-circle);
	background: var(--gradient-cta);
	opacity: .1;
	filter: blur(100px);
	z-index: var(--z-back);
	pointer-events: none;
}
.ps-service-zigzag__blob--right { top: -240px; right: -220px; }
.ps-service-zigzag__blob--left { bottom: -240px; left: -220px; background: var(--gradient-brand); }

.ps-service-zigzag__pattern {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(var(--color-black-rgb), .06) 1px, transparent 1px);
	background-size: 28px 28px;
	-webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
	mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
	z-index: var(--z-back);
	pointer-events: none;
}

/* --- Zig-zag ordering: content stays first in the markup (so mobile
   always reads content → visual); on desktop, sections that want the
   image on the left flip the visual column in front via order. --- */
@media (min-width: 992px) {
	.ps-service-zigzag--flip .ps-service-visual-col { order: -1; }
}

/* --- Content column --- */
.ps-service-zigzag__index {
	display: block;
	font-size: clamp(3rem, 5vw, 4.5rem);
	font-weight: var(--fw-black);
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(var(--color-black-rgb), .14);
	margin-bottom: var(--space-2);
}

.ps-service-zigzag__badge {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	font-size: var(--fs-xs);
	font-weight: var(--fw-bold);
	letter-spacing: var(--ls-wide);
	text-transform: uppercase;
	color: var(--color-white);
	background: var(--gradient-cta);
	padding: var(--space-2) var(--space-4);
	border-radius: var(--radius-pill);
	box-shadow: var(--shadow-glow-primary);
	margin-bottom: var(--space-5);
}
.ps-service-zigzag--flip .ps-service-zigzag__badge { background: var(--gradient-brand); box-shadow: var(--shadow-glow-blue); }

.ps-service-zigzag__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-5);
	margin-top: var(--space-6);
	padding-top: var(--space-6);
	border-top: 1px solid var(--color-border);
}
.ps-service-zigzag__stat {
	display: inline-flex;
	align-items: center;
	gap: var(--space-3);
	font-size: var(--fs-small);
	font-weight: var(--fw-bold);
	color: var(--color-secondary);
}
.ps-service-zigzag__stat i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: var(--radius-circle);
	background: rgba(var(--color-primary-rgb), .1);
	color: var(--color-primary);
	font-size: .8rem;
	flex-shrink: 0;
}

/* --- Feature blocks below the fold: proper cards (not a bare icon-list)
   with a gradient icon badge and a bordered heading, so "Key Features"
   and "Ideal For" read as a matched card pair rather than plain text. --- */
.ps-service-zigzag__details { margin-top: var(--space-9); }

.ps-feature-block {
	height: 100%;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-xl);
	padding: var(--space-7) var(--space-6);
	box-shadow: var(--shadow-sm);
	transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.ps-feature-block:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.ps-feature-block__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: var(--radius-md);
	background: var(--gradient-cta);
	color: var(--color-white);
	font-size: 1.3rem;
	box-shadow: var(--shadow-glow-primary);
	margin-bottom: var(--space-5);
}
.ps-feature-block--alt .ps-feature-block__icon { background: var(--gradient-brand); box-shadow: var(--shadow-glow-blue); }
.ps-feature-block h3 {
	font-size: var(--fs-h4);
	padding-bottom: var(--space-4);
	margin-bottom: var(--space-4);
	border-bottom: 1px solid var(--color-border);
}

.ps-icon-list { display: flex; flex-direction: column; gap: var(--space-1); }
.ps-icon-list li {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	padding: var(--space-2) var(--space-3);
	margin: 0 calc(var(--space-3) * -1);
	border-radius: var(--radius-md);
	font-size: var(--fs-small);
	font-weight: var(--fw-medium);
	color: var(--color-secondary);
	transition: background var(--transition-base), transform var(--transition-base);
}
.ps-icon-list li:hover { background: var(--color-light-bg); transform: translateX(4px); }
.ps-icon-list li i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: var(--radius-circle);
	background: rgba(var(--color-primary-rgb), .1);
	color: var(--color-primary);
	font-size: .7rem;
	flex-shrink: 0;
	transition: transform var(--transition-base);
}
.ps-icon-list li:hover i { transform: scale(1.15); }
.ps-feature-block--alt .ps-icon-list li i { background: rgba(var(--color-black-rgb), .08); color: var(--color-black); }

/* --- Visual image shell shared by all three service sections. Static by
   design (no float/pulse animation) — just a real photo with a soft
   colour-glow sitting behind it for a bit of depth. --- */
.ps-service-visual { position: relative; }

.ps-service-visual__blob {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 380px;
	height: 380px;
	border-radius: var(--radius-circle);
	background: var(--gradient-cta);
	opacity: .2;
	filter: blur(60px);
	z-index: var(--z-back);
}
.ps-service-visual__blob--blue { background: var(--gradient-brand); }

.ps-service-visual__image {
	position: relative;
	width: 100%;
	height: auto;
	display: block;
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-xl);
}

/* =========================================================
   20. BACK TO TOP (footer.php — appears site-wide)
========================================================= */
.ps-back-to-top {
	/* Without this, native button chrome can keep enforcing its own
	   intrinsic min-size/padding on top of the box below (same issue
	   fixed on .ps-nav-toggle) — appearance: none hands sizing back to
	   the CSS box model entirely. color-scheme: light stops the browser
	   auto-theming this native <button> with dark-mode system colors,
	   which otherwise override the background/color set below. */
	appearance: none !important;
	-webkit-appearance: none;
	color-scheme: light;
	position: fixed;
	right: var(--space-4);
	bottom: 5rem;
	z-index: var(--z-header);
	width: 52px;
	height: 52px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	/* White + border rather than solid brand orange — this button floats
	   over every kind of section as the page scrolls (white, gray, the
	   orange CTA band, the dark footer), and a solid-orange circle
	   disappears against the orange CTA section specifically. White with
	   an orange icon stays visible against all of them. */
	border: 1px solid var(--color-border);
	border-radius: var(--radius-circle);
	background: var(--color-surface) !important;
	color: var(--color-primary) !important;
	font-size: 1.1rem;
	cursor: pointer;
	box-shadow: var(--shadow-md);
	/* Hidden near the top of the page; initBackToTop() in custom.js toggles
	   .is-visible once the user has scrolled past a threshold. */
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px) scale(.8);
	transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.ps-back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.ps-back-to-top:hover { transform: translateY(-5px) scale(1.06); border-color: var(--color-primary); box-shadow: var(--shadow-lg); }
.ps-back-to-top.is-visible:active { transform: translateY(-1px) scale(1); }

.ps-back-to-top i { position: relative; transition: transform var(--transition-base); }
.ps-back-to-top:hover i { transform: translateY(-2px); }

/* A soft pulsing ring behind the button — subtle ambient motion rather
   than a distracting float, and disabled entirely under reduced-motion. */
.ps-back-to-top__ring {
	position: absolute;
	inset: -6px;
	border-radius: var(--radius-circle);
	border: 2px solid rgba(var(--color-primary-rgb), .4);
	animation: ps-ring-pulse 2.6s ease-out infinite;
	pointer-events: none;
}

@keyframes ps-ring-pulse {
	0% { transform: scale(.86); opacity: .75; }
	70%, 100% { transform: scale(1.28); opacity: 0; }
}

@media (max-width: 767.98px) {
	.ps-back-to-top { right: var(--space-4); bottom: var(--space-9); width: 40px; height: 40px; font-size: .85rem; }
	.ps-back-to-top__ring { inset: -4px; }
}

/*Cookie Section*/
/* Hide "Powered by CookieYes" - Main Banner */
[data-cky-tag="powered-by"] {
  display: none !important;
}

/* Hide "Powered by CookieYes" - Preference Centre Popup */
[data-cky-tag="detail-powered-by"] {
  display: none !important;
}
.cky-switch input[type="checkbox"] {
  position: relative !important;
}
.cky-show-desc-btn {
    color: #f79421 !important;
    transition: opacity 0.3s ease;
}

.cky-show-desc-btn:hover {
    color: #f79421 !important;
    opacity: 0.7;
}
.cky-notice-des a {
    color: #f79421 !important;
}
.cky-notice-des a:hover {
    text-decoration: underline !important;
}
/*Cookie Section end*/
.ps-logo__text {
    display: none;
}
.link-orange {
	color: var(--color-primary);
}

/* =========================================================
   21. REGISTER TEMPLATE (template-register.php)
========================================================= */

.ps-register-section { padding-top: calc(var(--header-height) + var(--space-7)); }

.ps-register-stage {
	display: flex;
	align-items: stretch;
	max-width: 1080px;
	margin: 0 auto;
	border-radius: var(--radius-2xl);
	box-shadow: var(--shadow-xl);
}

/* --- Visual panel: flat White, centered headline --- */
.ps-register-visual {
	flex: 1 1 56%;
	position: relative;
	background: var(--color-surface);
	border-radius: var(--radius-2xl);
	padding: clamp(2.5rem, 5vw, 4.5rem);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 440px;
}

.ps-register-visual__title {
	color: var(--color-heading);
	font-size: clamp(1.9rem, 2.3vw + 1rem, 2.75rem);
	margin-bottom: var(--space-4);
}
.ps-register-visual__lead {
	color: rgba(var(--color-black-rgb), .62);
	font-size: var(--fs-lead);
	max-width: 26rem;
	margin: 0;
}

/* --- Floating action card: light Orange tint (opaque — this card
   overlaps the visual panel's edge, so a translucent rgba() would let
   it bleed through at the seam) --- */
.ps-register-panel {
	flex: 0 0 380px;
	align-self: center;
	margin-left: -56px;
	background: #FEF2E9;
	border: 1px solid rgba(var(--color-primary-rgb), .14);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-lg);
	padding: var(--space-7) var(--space-6) var(--space-6);
	position: relative;
	z-index: 2;
}
.ps-register-panel__eyebrow {
	display: block;
	font-size: var(--fs-xs);
	font-weight: var(--fw-bold);
	letter-spacing: var(--ls-wide);
	text-transform: uppercase;
	color: var(--color-primary);
	margin-bottom: var(--space-2);
}
.ps-register-panel__title { color: var(--color-heading); font-size: var(--fs-h5); margin-bottom: var(--space-2); }
.ps-register-panel__lead { font-size: var(--fs-small); color: var(--color-body); margin: 0 0 var(--space-6); }

/* Two simple stacked actions — identical style, so neither
   outranks the other. */
.ps-register-panel__action {
	display: flex;
	align-items: center;
	gap: var(--space-4);
	width: 100%;
	padding: var(--space-4);
	border: 1.5px solid rgba(var(--color-primary-rgb), .25);
	border-radius: var(--radius-lg);
	font-weight: var(--fw-bold);
	font-size: var(--fs-body);
	color: var(--color-heading);
	transition: border-color var(--transition-base), background var(--transition-base);
}
.ps-register-panel__action-icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--color-primary);
	color: var(--color-white);
	transition: transform var(--transition-base);
}
.ps-register-panel__action-text { flex: 1; }
.ps-register-panel__action-arrow { flex-shrink: 0; transition: transform var(--transition-base), color var(--transition-base); color: var(--color-border); }
.ps-register-panel__action:hover,
.ps-register-panel__action:focus-visible {
	border-color: var(--color-primary);
	background: rgba(var(--color-primary-rgb), .08);
}
.ps-register-panel__action:hover .ps-register-panel__action-icon,
.ps-register-panel__action:focus-visible .ps-register-panel__action-icon {
	transform: scale(1.08);
}
.ps-register-panel__action:hover .ps-register-panel__action-arrow,
.ps-register-panel__action:focus-visible .ps-register-panel__action-arrow {
	transform: translateX(4px);
	color: var(--color-primary);
}
.ps-register-panel__action:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }

.ps-register-panel__or {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	margin: var(--space-5) 0;
	font-size: var(--fs-xs);
	font-weight: var(--fw-bold);
	letter-spacing: var(--ls-wide);
	text-transform: uppercase;
	color: var(--color-body);
	opacity: .6;
}
.ps-register-panel__or::before,
.ps-register-panel__or::after {
	content: '';
	flex: 1;
	height: 1px;
	background: rgba(var(--color-primary-rgb), .2);
}

/* =========================================================
   RESPONSIVE — stacks below the theme's usual lg breakpoint
   (992px); the floating card overlaps upward instead of
   sideways, and nothing here forces extra height.
========================================================= */
@media (max-width: 991.98px) {
	.ps-register-section { padding-top: calc(var(--header-height-scrolled) + var(--space-6)); }
	.ps-register-stage { flex-direction: column; }
	.ps-register-visual {
		border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
		min-height: 0;
		padding: var(--space-5) var(--space-6);
	}
	.ps-register-panel {
		flex-basis: auto;
		margin-left: 0;
		margin-bottom: var(--space-3);
		width: calc(100% - 2.5rem);
		align-self: center;
	}
}
@media (max-width: 479.98px) {
	.ps-register-panel { width: calc(100% - 1.5rem); padding: var(--space-6) var(--space-5) var(--space-5); }
}

@media (prefers-reduced-motion: reduce) {
	.ps-register-panel__action,
	.ps-register-panel__action-icon,
	.ps-register-panel__action-arrow { transition: none; }
}