/*!
 * Exponential — main stylesheet
 * Powered by Exponential Digital, a division of Exponential Group.
 *
 * Colours, fonts, radius and container width are CSS variables printed from
 * the Customizer (see inc/enqueue.php). Override anything from the child theme.
 */

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--ex-header-h: var(--ex-header-height, 84px);
	--ex-gutter: clamp(20px, 4vw, 48px);
	--ex-gap: clamp(20px, 2.4vw, 30px);
	--ex-section: clamp(72px, 8.5vw, 124px);
	--ex-border: rgba(var(--ex-text-rgb), 0.1);
	--ex-border-strong: rgba(var(--ex-text-rgb), 0.18);
	--ex-muted: rgba(var(--ex-text-rgb), 0.7);
	--ex-subtle: rgba(var(--ex-text-rgb), 0.05);
	--ex-glass: rgba(var(--ex-surface-rgb), 0.62);
	--ex-grad: linear-gradient(120deg, var(--ex-primary) 0%, var(--ex-secondary) 55%, var(--ex-accent) 100%);
	--ex-grad-warm: linear-gradient(120deg, var(--ex-secondary) 0%, var(--ex-accent) 100%);
	--ex-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
	--ex-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--ex-admin-bar: var(--wp-admin--admin-bar--height, 0px);
	color-scheme: dark;
}

:root[data-theme="light"] {
	--ex-shadow: 0 24px 50px -28px rgba(25, 25, 70, 0.28);
	--ex-glass: rgba(var(--ex-surface-rgb), 0.78);
	color-scheme: light;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--ex-header-h) + var(--ex-admin-bar) + 16px);
	overflow-x: clip;
}

body {
	margin: 0;
	background: var(--ex-bg);
	color: var(--ex-text);
	font-family: var(--ex-font-body);
	font-size: var(--ex-font-size);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
	transition: background-color 0.4s ease, color 0.4s ease;
}

/* Scroll lock for the open mobile menu. Locks the root (not body) so the sticky header keeps working. */
html.ex-nav-lock {
	overflow: hidden;
}

::selection {
	background: var(--ex-primary);
	color: var(--ex-on-primary);
}

img,
svg,
video,
iframe {
	max-width: 100%;
}

img,
video {
	height: auto;
	display: block;
}

a {
	color: var(--ex-primary);
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

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

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

h1, h2, h3, h4, h5, h6 {
	font-family: var(--ex-font-heading);
	font-weight: var(--ex-heading-weight);
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--ex-text);
	margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; }

p {
	margin: 0 0 1.2em;
}

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

button {
	cursor: pointer;
}

hr {
	border: 0;
	height: 1px;
	background: var(--ex-border);
	margin: 2.5em 0;
}

.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 !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus,
.skip-link:focus {
	background: var(--ex-surface);
	color: var(--ex-text);
	clip: auto !important;
	clip-path: none;
	display: block;
	height: auto;
	left: 12px;
	top: 12px;
	padding: 14px 22px;
	width: auto;
	z-index: 100000;
	border-radius: 10px;
	box-shadow: var(--ex-shadow);
}

/* ==========================================================================
   3. Layout primitives
   ========================================================================== */
.ex-site {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.ex-content {
	flex: 1 0 auto;
}

.ex-container {
	width: 100%;
	max-width: calc(var(--ex-container) + var(--ex-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--ex-gutter);
}

.ex-layout-fluid .ex-container {
	max-width: none;
}

.ex-container--narrow,
.ex-layout-fluid .ex-container--narrow {
	max-width: calc(860px + var(--ex-gutter) * 2);
}

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

.ex-section--tight {
	padding-block: calc(var(--ex-section) * 0.5);
}

.ex-section + .ex-section--tight,
.ex-section--tight + .ex-section {
	padding-top: calc(var(--ex-section) * 0.5);
}

.ex-grid {
	display: grid;
	gap: var(--ex-gap);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ex-grid--1 { grid-template-columns: minmax(0, 440px); justify-content: center; }
.ex-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ex-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.ex-split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(40px, 6vw, 100px);
	align-items: center;
}

.ex-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(40px, 5vw, 64px);
	align-items: start;
}

.ex-has-sidebar .ex-layout {
	grid-template-columns: minmax(0, 1fr) 320px;
}

.ex-sidebar-left .ex-layout {
	grid-template-columns: 320px minmax(0, 1fr);
}

.ex-sidebar-left .ex-layout__aside {
	order: -1;
}

.ex-layout--service,
.ex-layout--project,
.ex-has-sidebar .ex-layout--service,
.ex-has-sidebar .ex-layout--project {
	grid-template-columns: minmax(0, 1fr) 380px;
}

.ex-layout--project {
	margin-top: clamp(40px, 5vw, 64px);
}

.ex-layout__main {
	min-width: 0;
}

.ex-layout__aside {
	position: sticky;
	top: calc(var(--ex-header-h) + var(--ex-admin-bar) + 24px);
	display: grid;
	gap: 24px;
}

.ex-no-sidebar.single-post .ex-layout__main {
	width: 100%;
	max-width: 860px;
	margin-inline: auto;
}

/* ==========================================================================
   4. Shared components
   ========================================================================== */
.ex-gradient-text {
	background: var(--ex-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

.ex-glass {
	background: var(--ex-glass);
	border: 1px solid var(--ex-border);
	border-radius: var(--ex-radius);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	backdrop-filter: blur(18px) saturate(140%);
	box-shadow: var(--ex-shadow);
}

.ex-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px 8px 12px;
	border-radius: 999px;
	border: 1px solid rgba(var(--ex-primary-rgb), 0.3);
	background: rgba(var(--ex-primary-rgb), 0.08);
	color: var(--ex-text);
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	margin-bottom: 26px;
}

.ex-pulse {
	position: relative;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ex-primary);
	flex: none;
	display: inline-block;
}

.ex-pulse::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 2px solid var(--ex-primary);
	animation: ex-ping 2s var(--ex-ease) infinite;
}

.ex-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ex-primary);
	margin-bottom: 18px;
}

.ex-eyebrow::before {
	content: "";
	width: 28px;
	height: 2px;
	border-radius: 2px;
	background: var(--ex-grad);
}

.ex-tag {
	position: relative;
	z-index: 2;
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--ex-primary);
	background: rgba(var(--ex-primary-rgb), 0.1);
	border: 1px solid rgba(var(--ex-primary-rgb), 0.22);
}

a.ex-tag:hover {
	background: var(--ex-primary);
	color: var(--ex-on-primary);
}

.ex-stretched::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.ex-icon {
	flex: none;
	display: inline-block;
	vertical-align: middle;
}

/* Buttons */
.ex-btn,
.wp-block-button__link,
.wp-element-button,
input[type="submit"],
button[type="submit"]:not(.ex-search-form__btn) {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 28px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-family: var(--ex-font-heading);
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	overflow: hidden;
	isolation: isolate;
	transition: transform 0.3s var(--ex-ease), box-shadow 0.3s var(--ex-ease), background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.ex-btn--primary,
.wp-block-button:not(.is-style-outline) .wp-block-button__link,
.wp-element-button,
input[type="submit"],
button[type="submit"]:not(.ex-search-form__btn):not(.ex-btn--ghost) {
	background: var(--ex-primary);
	color: var(--ex-on-primary);
	box-shadow: 0 10px 30px -10px rgba(var(--ex-primary-rgb), 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.ex-btn--primary::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--ex-grad);
	opacity: 0;
	transition: opacity 0.35s ease;
}

.ex-btn--primary:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
input[type="submit"]:hover,
button[type="submit"]:not(.ex-search-form__btn):hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 18px 40px -12px rgba(var(--ex-secondary-rgb), 0.7);
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
input[type="submit"]:hover,
button[type="submit"]:not(.ex-search-form__btn):hover {
	background: var(--ex-secondary);
}

.ex-btn--primary:hover::before {
	opacity: 1;
}

.ex-btn--ghost,
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--ex-text);
	border-color: var(--ex-border-strong);
}

.ex-btn--ghost:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	color: var(--ex-primary);
	border-color: var(--ex-primary);
	background: rgba(var(--ex-primary-rgb), 0.06);
	transform: translateY(-2px);
}

.ex-btn--light {
	background: #fff;
	color: #0b0d1e;
	box-shadow: 0 16px 40px -14px rgba(0, 0, 0, 0.5);
}

.ex-btn--light:hover {
	color: #0b0d1e;
	transform: translateY(-2px) scale(1.02);
}

.ex-btn--block {
	width: 100%;
}

.ex-btn .ex-icon {
	transition: transform 0.3s var(--ex-ease);
}

.ex-btn:hover .ex-icon {
	transform: translateX(4px);
}

.ex-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: 0.95rem;
}

.ex-link-arrow:hover .ex-icon {
	transform: translateX(4px);
}

.ex-link-arrow .ex-icon {
	transition: transform 0.3s var(--ex-ease);
}

.ex-icon-btn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid var(--ex-border);
	background: var(--ex-subtle);
	color: var(--ex-text);
	transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease, transform 0.3s var(--ex-ease);
}

.ex-icon-btn:hover {
	border-color: var(--ex-primary);
	color: var(--ex-primary);
}

/* Cards */
.ex-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: clamp(24px, 2.6vw, 34px);
	border-radius: var(--ex-radius);
	border: 1px solid var(--ex-border);
	background: linear-gradient(180deg, rgba(var(--ex-surface-rgb), 0.85), rgba(var(--ex-surface-rgb), 0.45));
	overflow: hidden;
	isolation: isolate;
	transition: transform 0.45s var(--ex-ease), border-color 0.35s ease, box-shadow 0.45s var(--ex-ease);
}

.ex-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--ex-primary-rgb), 0.14), transparent 45%);
	opacity: 0;
	transition: opacity 0.4s ease;
	pointer-events: none;
}

.ex-card:hover {
	transform: translateY(-6px);
	border-color: rgba(var(--ex-primary-rgb), 0.38);
	box-shadow: var(--ex-shadow);
}

.ex-card:hover::before {
	opacity: 1;
}

:root[data-theme="light"] .ex-card {
	background: var(--ex-surface);
	box-shadow: 0 10px 30px -18px rgba(20, 20, 60, 0.18);
}

/* Section heads */
.ex-section-head {
	max-width: 780px;
	margin: 0 auto clamp(40px, 5vw, 64px);
	text-align: center;
}

.ex-section-head--left {
	margin-inline: 0;
	text-align: left;
}

.ex-section-title {
	font-size: clamp(2rem, 4.2vw, 3.3rem);
	margin-bottom: 18px;
}

.ex-section-text {
	color: var(--ex-muted);
	font-size: clamp(1.02rem, 1.3vw, 1.15rem);
	margin: 0;
}

.ex-section-foot {
	margin-top: clamp(36px, 4vw, 56px);
	text-align: center;
}

.ex-admin-hint {
	text-align: center;
	padding: 18px;
	border: 1px dashed var(--ex-border-strong);
	border-radius: var(--ex-radius);
	color: var(--ex-muted);
}

/* Decorative backgrounds */
.ex-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.55;
	pointer-events: none;
	will-change: transform;
}

.ex-orb--1 {
	width: 46vw;
	height: 46vw;
	max-width: 720px;
	max-height: 720px;
	top: -18%;
	left: -10%;
	background: radial-gradient(circle, rgba(var(--ex-secondary-rgb), 0.9), transparent 65%);
	animation: ex-float 18s ease-in-out infinite;
}

.ex-orb--2 {
	width: 38vw;
	height: 38vw;
	max-width: 600px;
	max-height: 600px;
	top: 10%;
	right: -12%;
	background: radial-gradient(circle, rgba(var(--ex-primary-rgb), 0.75), transparent 65%);
	animation: ex-float 22s ease-in-out infinite reverse;
}

.ex-orb--3 {
	width: 30vw;
	height: 30vw;
	max-width: 460px;
	max-height: 460px;
	bottom: -20%;
	left: 35%;
	background: radial-gradient(circle, rgba(var(--ex-accent-rgb), 0.6), transparent 65%);
	animation: ex-float 26s ease-in-out infinite;
}

:root[data-theme="light"] .ex-orb {
	opacity: 0.28;
}

.ex-grid-lines {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(var(--ex-text-rgb), 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(var(--ex-text-rgb), 0.06) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
	pointer-events: none;
}

/* ==========================================================================
   5. Top bar & header
   ========================================================================== */
.ex-topbar {
	position: relative;
	z-index: 101;
	font-size: 0.84rem;
	background: linear-gradient(90deg, rgba(var(--ex-secondary-rgb), 0.28), rgba(var(--ex-primary-rgb), 0.14));
	border-bottom: 1px solid var(--ex-border);
}

.ex-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 42px;
}

.ex-topbar__text {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
}

.ex-topbar__contact {
	display: flex;
	align-items: center;
	gap: 20px;
}

.ex-topbar__contact > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--ex-text);
}

.ex-topbar__contact > a:hover {
	color: var(--ex-primary);
}

.ex-header {
	position: relative;
	z-index: 100;
	width: 100%;
	height: var(--ex-header-h);
	display: flex;
	align-items: center;
	background: var(--ex-header-bg, rgba(var(--ex-bg-rgb), 0.82));
	border-bottom: 1px solid var(--ex-border);
	-webkit-backdrop-filter: blur(18px) saturate(160%);
	backdrop-filter: blur(18px) saturate(160%);
	transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, height 0.35s ease;
}

.ex-sticky-header:not(.ex-transparent-header) .ex-header {
	position: sticky;
	top: var(--ex-admin-bar);
}

.ex-transparent-header .ex-header {
	position: absolute;
	left: 0;
	right: 0;
	background: transparent;
	border-bottom-color: transparent;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.ex-transparent-header.ex-sticky-header .ex-header.is-stuck {
	position: fixed;
	top: var(--ex-admin-bar);
	background: var(--ex-header-bg, rgba(var(--ex-bg-rgb), 0.82));
	border-bottom-color: var(--ex-border);
	-webkit-backdrop-filter: blur(18px) saturate(160%);
	backdrop-filter: blur(18px) saturate(160%);
	animation: ex-slide-down 0.45s var(--ex-ease);
}

.ex-header.is-stuck {
	box-shadow: 0 12px 40px -24px rgba(0, 0, 0, 0.6);
}

.ex-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
}

.ex-header__brand {
	flex: none;
	display: flex;
	align-items: center;
}

.ex-header__brand .custom-logo-link {
	display: flex;
	align-items: center;
}

.ex-header__brand .custom-logo,
.ex-footer .custom-logo {
	max-height: var(--ex-logo-height);
	width: auto;
}

.ex-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--ex-text);
}

.ex-logo:hover {
	color: var(--ex-text);
}

.ex-logo__mark {
	display: inline-grid;
	place-items: center;
	height: var(--ex-logo-height);
}

.ex-logo__mark svg {
	height: min(var(--ex-logo-height), 40px);
	width: auto;
}

.ex-logo__text {
	font-family: var(--ex-font-heading);
	font-size: 1.32rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.ex-nav {
	flex: 1;
	display: flex;
	justify-content: center;
}

.ex-menu,
.ex-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ex-menu {
	display: flex;
	align-items: center;
	gap: 4px;
}

.ex-menu li {
	position: relative;
}

.ex-menu a {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 10px 16px;
	border-radius: 999px;
	color: var(--ex-muted);
	font-size: var(--ex-menu-size, 0.96rem);
	font-weight: 500;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.ex-menu a:hover,
.ex-menu li:focus-within > a {
	color: var(--ex-text);
	background: var(--ex-subtle);
}

.ex-menu .current-menu-item > a,
.ex-menu .current-menu-ancestor > a,
.ex-menu .current_page_item > a {
	color: var(--ex-text);
}

.ex-menu .current-menu-item > a::after,
.ex-menu .current_page_item > a::after {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--ex-primary);
	box-shadow: 0 0 10px var(--ex-primary);
}

.ex-menu .menu-item-has-children > a::after {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 1.6px solid currentColor;
	border-bottom: 1.6px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	margin-left: 2px;
	border-radius: 0;
	background: none;
	box-shadow: none;
}

.ex-menu .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	min-width: 240px;
	padding: 10px;
	border-radius: calc(var(--ex-radius) * 0.8);
	background: rgba(var(--ex-surface-rgb), 0.96);
	border: 1px solid var(--ex-border);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
	box-shadow: var(--ex-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.25s ease, transform 0.25s var(--ex-ease), visibility 0.25s;
	z-index: 10;
}

.ex-menu .sub-menu::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -12px;
	height: 12px;
}

.ex-menu .sub-menu a {
	border-radius: 10px;
	padding: 10px 14px;
}

.ex-menu .sub-menu .sub-menu {
	top: -10px;
	left: calc(100% + 10px);
}

.ex-menu .sub-menu .menu-item-has-children > a::after {
	margin-left: auto;
	transform: rotate(-45deg);
}

.ex-menu li:hover > .sub-menu,
.ex-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.ex-submenu-toggle {
	display: none;
}

.ex-header__actions {
	flex: none;
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
}

.ex-header__cta .ex-btn {
	padding: 12px 22px;
	font-size: 0.92rem;
}

.ex-nav__cta-mobile,
.ex-menu-toggle {
	display: none;
}

.ex-mode-toggle .ex-icon {
	grid-area: 1 / 1;
	transition: transform 0.5s var(--ex-ease), opacity 0.3s ease;
}

:root[data-theme="dark"] .ex-mode-toggle__moon,
:root[data-theme="light"] .ex-mode-toggle__sun {
	opacity: 0;
	transform: rotate(-90deg) scale(0.5);
}

.ex-menu-toggle .ex-icon {
	grid-area: 1 / 1;
	transition: transform 0.35s var(--ex-ease), opacity 0.2s ease;
}

.ex-menu-toggle__close {
	opacity: 0;
	transform: rotate(-90deg);
}

.ex-nav-open .ex-menu-toggle__open {
	opacity: 0;
	transform: rotate(90deg);
}

.ex-nav-open .ex-menu-toggle__close {
	opacity: 1;
	transform: none;
}

/* Header menu position & style */
@media (min-width: 1081px) {
	.ex-menu-align-left .ex-nav {
		justify-content: flex-start;
		padding-left: clamp(8px, 2vw, 32px);
	}

	.ex-menu-align-right .ex-nav {
		justify-content: flex-end;
	}

	.ex-menu-upper .ex-menu > li > a {
		text-transform: uppercase;
		letter-spacing: 0.08em;
		font-size: calc(var(--ex-menu-size, 15px) * 0.86);
		font-weight: 600;
	}
}

/* Top bar menu */
.ex-topbar__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
}

.ex-topbar__menu a {
	color: var(--ex-text);
}

.ex-topbar__menu a:hover {
	color: var(--ex-primary);
}

/* ==========================================================================
   6. Hero
   ========================================================================== */
.ex-hero {
	position: relative;
	min-height: var(--ex-hero-height);
	display: flex;
	flex-direction: column;
	padding-top: clamp(60px, 8vw, 110px);
	overflow: hidden;
	isolation: isolate;
}

.ex-transparent-header .ex-hero {
	padding-top: calc(var(--ex-header-h) + clamp(40px, 6vw, 90px));
}

.ex-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
}

.ex-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ex-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(var(--ex-bg-rgb), calc(var(--ex-hero-overlay) * 0.85)), rgba(var(--ex-bg-rgb), var(--ex-hero-overlay)) 70%, var(--ex-bg));
}

.ex-hero__particles {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0.9;
}

.ex-hero__inner {
	flex: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	align-items: center;
	gap: clamp(32px, 5vw, 80px);
	padding-bottom: clamp(48px, 6vw, 90px);
}

.ex-hero__content:only-child {
	grid-column: 1 / -1;
	max-width: 900px;
	margin-inline: auto;
	text-align: center;
}

.ex-hero__content:only-child .ex-hero__text {
	margin-inline: auto;
}

.ex-hero__content:only-child .ex-hero__actions {
	justify-content: center;
}

.ex-hero__title {
	font-size: clamp(2.6rem, 6.2vw, 5.4rem);
	line-height: 1.02;
	letter-spacing: -0.035em;
	margin-bottom: 26px;
}

.ex-hero__highlight {
	display: inline;
	background-size: 200% 100%;
	animation: ex-shine 6s linear infinite;
}

.ex-hero__text {
	max-width: 600px;
	font-size: clamp(1.05rem, 1.5vw, 1.25rem);
	color: var(--ex-muted);
	margin-bottom: 38px;
}

.ex-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.ex-hero__visual {
	position: relative;
	display: flex;
	justify-content: center;
}

/* Orbit visual */
.ex-orbit {
	position: relative;
	width: min(520px, 100%);
	aspect-ratio: 1;
}

.ex-orbit__core {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 26%;
	aspect-ratio: 1;
	transform: translate(-50%, -50%);
	display: grid;
	place-items: center;
	border-radius: 30%;
	background: var(--ex-grad);
	color: #fff;
	box-shadow: 0 0 80px rgba(var(--ex-secondary-rgb), 0.6), 0 0 160px rgba(var(--ex-primary-rgb), 0.35), inset 0 2px 0 rgba(255, 255, 255, 0.35);
	animation: ex-breathe 5s ease-in-out infinite;
}

.ex-orbit__core svg {
	width: 52%;
	height: auto;
}

.ex-orbit__ring {
	position: absolute;
	border-radius: 50%;
	border: 1px dashed rgba(var(--ex-text-rgb), 0.18);
	animation: ex-spin var(--dur) linear infinite;
}

.ex-orbit__ring--1 {
	inset: 19%;
	--dur: 36s;
	--step: 90deg;
}

.ex-orbit__ring--2 {
	inset: 2%;
	--dur: 54s;
	--step: 60deg;
	animation-direction: reverse;
	border-style: solid;
	border-color: rgba(var(--ex-text-rgb), 0.08);
}

.ex-orbit__node {
	position: absolute;
	inset: 0;
	--a: calc(var(--i) * var(--step));
	transform: rotate(var(--a));
	pointer-events: none;
}

.ex-orbit__node > span {
	position: absolute;
	top: 0;
	left: 50%;
	width: 54px;
	height: 54px;
	margin: -27px 0 0 -27px;
	display: grid;
	place-items: center;
	border-radius: 16px;
	color: var(--ex-primary);
	background: rgba(var(--ex-surface-rgb), 0.85);
	border: 1px solid rgba(var(--ex-primary-rgb), 0.3);
	box-shadow: 0 0 24px rgba(var(--ex-primary-rgb), 0.25);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	animation: ex-counter var(--dur) linear infinite;
}

.ex-orbit__ring--2 .ex-orbit__node > span {
	animation-direction: reverse;
	color: var(--ex-accent);
	border-color: rgba(var(--ex-accent-rgb), 0.3);
	box-shadow: 0 0 24px rgba(var(--ex-accent-rgb), 0.2);
}

.ex-float-card {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 18px 12px 14px;
	border-radius: 16px;
	color: var(--ex-primary);
	animation: ex-bob 6s ease-in-out infinite;
	z-index: 2;
}

.ex-float-card strong {
	display: block;
	font-family: var(--ex-font-heading);
	font-size: 1.15rem;
	line-height: 1.1;
	color: var(--ex-text);
}

.ex-float-card small {
	display: block;
	font-size: 0.75rem;
	color: var(--ex-muted);
	white-space: nowrap;
}

.ex-float-card--1 { top: 6%; left: -4%; }
.ex-float-card--2 { top: 44%; right: -8%; animation-delay: -2s; color: var(--ex-accent); }
.ex-float-card--3 { bottom: 4%; left: 10%; animation-delay: -4s; color: #ffc84a; }

/* Marquee */
.ex-marquee {
	position: relative;
	border-block: 1px solid var(--ex-border);
	background: rgba(var(--ex-surface-rgb), 0.35);
	padding: 18px 0;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.ex-marquee__track {
	display: flex;
	width: max-content;
	animation: ex-marquee 45s linear infinite;
}

.ex-marquee:hover .ex-marquee__track {
	animation-play-state: paused;
}

.ex-marquee__list {
	display: flex;
	gap: 48px;
	padding: 0 48px 0 0;
	margin: 0;
	list-style: none;
}

.ex-marquee__list li {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--ex-font-heading);
	font-size: 1.05rem;
	font-weight: 600;
	white-space: nowrap;
	color: var(--ex-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.ex-marquee__list .ex-icon {
	color: var(--ex-primary);
}

/* ==========================================================================
   7. Front page sections
   ========================================================================== */

/* Services */
.ex-service-card__icon {
	display: inline-grid;
	place-items: center;
	width: 60px;
	height: 60px;
	border-radius: 18px;
	color: var(--ex-primary);
	background: rgba(var(--ex-primary-rgb), 0.1);
	border: 1px solid rgba(var(--ex-primary-rgb), 0.25);
	transition: background 0.4s ease, color 0.4s ease, transform 0.5s var(--ex-ease), box-shadow 0.4s ease;
}

.ex-card:hover .ex-service-card__icon {
	background: var(--ex-grad);
	color: #fff;
	border-color: transparent;
	transform: rotate(-6deg) scale(1.06);
	box-shadow: 0 12px 30px -8px rgba(var(--ex-secondary-rgb), 0.7);
}

.ex-service-card__title {
	font-size: 1.28rem;
	margin: 24px 0 10px;
}

.ex-service-card__title a {
	color: inherit;
}

.ex-service-card__text {
	color: var(--ex-muted);
	font-size: 0.98rem;
	margin-bottom: 22px;
}

.ex-service-card__foot {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 18px;
	border-top: 1px solid var(--ex-border);
}

.ex-service-card__price {
	font-size: 0.86rem;
	font-weight: 600;
	color: var(--ex-primary);
	letter-spacing: 0.02em;
}

.ex-service-card__arrow {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	margin-left: auto;
	border-radius: 50%;
	border: 1px solid var(--ex-border-strong);
	transition: transform 0.4s var(--ex-ease), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.ex-card:hover .ex-service-card__arrow {
	transform: rotate(-45deg);
	background: var(--ex-primary);
	color: var(--ex-on-primary);
	border-color: var(--ex-primary);
}

/* About */
.ex-about__media {
	position: relative;
}

.ex-about__frame {
	position: relative;
	aspect-ratio: 1 / 1;
	border-radius: calc(var(--ex-radius) * 1.4);
	overflow: hidden;
	border: 1px solid var(--ex-border);
	background:
		radial-gradient(circle at 30% 20%, rgba(var(--ex-secondary-rgb), 0.55), transparent 55%),
		radial-gradient(circle at 75% 80%, rgba(var(--ex-primary-rgb), 0.45), transparent 55%),
		var(--ex-surface);
}

.ex-about__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ex-about__art {
	position: absolute;
	inset: 0;
}

.ex-about__ring {
	position: absolute;
	inset: 18%;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.22);
	animation: ex-spin 40s linear infinite;
}

.ex-about__ring::after {
	content: "";
	position: absolute;
	top: -6px;
	left: 50%;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--ex-primary);
	box-shadow: 0 0 20px var(--ex-primary);
}

.ex-about__ring--2 {
	inset: 32%;
	border-style: dashed;
	animation-duration: 25s;
	animation-direction: reverse;
}

.ex-about__ring--2::after {
	background: var(--ex-accent);
	box-shadow: 0 0 20px var(--ex-accent);
}

.ex-about__chip {
	position: absolute;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 18px;
	color: #fff;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	animation: ex-bob 7s ease-in-out infinite;
}

.ex-about__chip--1 { top: 14%; left: 14%; }
.ex-about__chip--2 { top: 20%; right: 12%; animation-delay: -2s; }
.ex-about__chip--3 { bottom: 16%; right: 18%; animation-delay: -4s; }
.ex-about__chip--4 { bottom: 22%; left: 10%; animation-delay: -6s; }

.ex-about__badge {
	position: absolute;
	right: -18px;
	bottom: -26px;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 24px;
	max-width: 280px;
}

.ex-about__badge strong {
	font-family: var(--ex-font-heading);
	font-size: 2.6rem;
	line-height: 1;
}

.ex-about__badge span {
	font-size: 0.9rem;
	line-height: 1.35;
	color: var(--ex-muted);
}

.ex-about__content .ex-section-head {
	margin-bottom: 28px;
}

.ex-checklist {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	display: grid;
	gap: 14px;
}

.ex-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.ex-checklist__icon {
	flex: none;
	display: inline-grid;
	place-items: center;
	width: 24px;
	height: 24px;
	margin-top: 2px;
	border-radius: 50%;
	color: var(--ex-primary);
	background: rgba(var(--ex-primary-rgb), 0.14);
}

/* Stats */
.ex-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	padding: clamp(32px, 4vw, 52px) clamp(16px, 2vw, 24px);
	border-radius: calc(var(--ex-radius) * 1.3);
	position: relative;
	overflow: hidden;
}

.ex-stats__grid::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, rgba(var(--ex-primary-rgb), 0.08), rgba(var(--ex-secondary-rgb), 0.1), rgba(var(--ex-accent-rgb), 0.08));
	pointer-events: none;
}

.ex-stat {
	position: relative;
	text-align: center;
	padding: 8px 16px;
}

.ex-stat + .ex-stat::before {
	content: "";
	position: absolute;
	left: 0;
	top: 15%;
	bottom: 15%;
	width: 1px;
	background: var(--ex-border);
}

.ex-stat__number {
	display: block;
	font-family: var(--ex-font-heading);
	font-size: clamp(2.4rem, 4.5vw, 3.6rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
}

.ex-stat__label {
	color: var(--ex-muted);
	font-size: 0.95rem;
}

/* Process */
.ex-process__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--ex-gap);
	position: relative;
}

.ex-process__list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ex-process__list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ex-process__list--1 { grid-template-columns: minmax(0, 520px); justify-content: center; }

.ex-process__step {
	position: relative;
	padding: 34px 6px 0;
	border-top: 1px solid var(--ex-border);
}

.ex-process__step::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	height: 2px;
	width: 40%;
	background: var(--ex-grad);
	transition: width 0.8s var(--ex-ease);
}

.ex-process__step:hover::before {
	width: 100%;
}

.ex-process__step::after {
	content: "";
	position: absolute;
	top: -6px;
	left: 0;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--ex-primary);
	box-shadow: 0 0 0 5px rgba(var(--ex-primary-rgb), 0.18), 0 0 18px var(--ex-primary);
}

.ex-process__num {
	display: block;
	font-family: var(--ex-font-heading);
	font-size: clamp(3rem, 5vw, 4.4rem);
	font-weight: 700;
	line-height: 1;
	margin-bottom: 18px;
	color: transparent;
	-webkit-text-stroke: 1.2px rgba(var(--ex-text-rgb), 0.3);
	transition: -webkit-text-stroke-color 0.3s ease;
}

.ex-process__step:hover .ex-process__num {
	-webkit-text-stroke-color: var(--ex-primary);
}

.ex-process__title {
	font-size: 1.35rem;
	margin-bottom: 10px;
}

.ex-process__text {
	color: var(--ex-muted);
	margin: 0;
}

/* Portfolio */
.ex-project-card {
	position: relative;
	border-radius: var(--ex-radius);
	overflow: hidden;
	border: 1px solid var(--ex-border);
	background: var(--ex-surface);
	isolation: isolate;
	transition: transform 0.5s var(--ex-ease), border-color 0.3s ease, box-shadow 0.5s var(--ex-ease);
}

.ex-project-card:hover {
	transform: translateY(-6px);
	border-color: rgba(var(--ex-primary-rgb), 0.4);
	box-shadow: var(--ex-shadow);
}

.ex-project-card__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.ex-project-card__media img,
.ex-project-card__media .ex-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--ex-ease);
}

.ex-project-card:hover .ex-project-card__media img,
.ex-project-card:hover .ex-project-card__media .ex-placeholder {
	transform: scale(1.06);
}

.ex-project-card__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 60px 24px 22px;
	background: linear-gradient(180deg, transparent, rgba(5, 6, 15, 0.92));
	color: #fff;
}

.ex-project-card__title {
	margin: 10px 48px 0 0;
	font-size: 1.25rem;
	color: #fff;
}

.ex-project-card__title a {
	color: #fff;
}

.ex-project-card__arrow {
	position: absolute;
	right: 22px;
	bottom: 22px;
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #fff;
	transition: background 0.3s ease, color 0.3s ease, transform 0.4s var(--ex-ease);
}

.ex-project-card:hover .ex-project-card__arrow {
	background: var(--ex-primary);
	color: var(--ex-on-primary);
	transform: rotate(8deg) scale(1.08);
}

.ex-project-card .ex-tag {
	color: #fff;
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.25);
}

.ex-placeholder {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	min-height: 200px;
	background:
		radial-gradient(circle at var(--ex-px, 20%) 20%, hsl(var(--ex-hue, 260) 90% 60% / 0.8), transparent 55%),
		radial-gradient(circle at 80% var(--ex-py, 80%), rgba(var(--ex-primary-rgb), 0.55), transparent 55%),
		linear-gradient(135deg, #0b0d22, #1a1440);
	overflow: hidden;
}

.ex-placeholder::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
	background-size: 32px 32px;
}

.ex-placeholder span {
	position: relative;
	font-family: var(--ex-font-heading);
	font-size: clamp(3rem, 7vw, 5rem);
	font-weight: 700;
	color: rgba(255, 255, 255, 0.9);
	letter-spacing: -0.04em;
	text-transform: uppercase;
	text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

/* Pricing */
.ex-pricing__grid {
	align-items: stretch;
}

.ex-plan {
	padding: clamp(28px, 3vw, 40px);
}

.ex-plan--featured {
	border: 1px solid transparent;
	background:
		linear-gradient(var(--ex-surface), var(--ex-surface)) padding-box,
		var(--ex-grad) border-box;
	box-shadow: 0 30px 80px -30px rgba(var(--ex-secondary-rgb), 0.55);
}

.ex-plan--featured:hover {
	border-color: transparent;
}

.ex-plan__badge {
	position: absolute;
	top: 22px;
	right: 22px;
	padding: 5px 14px;
	border-radius: 999px;
	background: var(--ex-grad);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.ex-plan__name {
	font-size: 1.15rem;
	color: var(--ex-muted);
	font-weight: 600;
	margin-bottom: 14px;
}

.ex-plan__price {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px;
	margin-bottom: 26px;
	padding-bottom: 26px;
	border-bottom: 1px solid var(--ex-border);
}

.ex-plan__currency {
	font-family: var(--ex-font-heading);
	font-size: 1.5rem;
	font-weight: 600;
	align-self: flex-start;
	margin-top: 6px;
}

.ex-plan__amount {
	font-family: var(--ex-font-heading);
	font-size: clamp(2.6rem, 4vw, 3.4rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.03em;
}

.ex-plan__period {
	color: var(--ex-muted);
	font-size: 0.95rem;
}

.ex-plan__features {
	flex: 1;
}

.ex-plan .ex-btn {
	width: 100%;
}

/* Testimonials */
.ex-quote {
	margin: 0;
}

.ex-quote__mark {
	position: absolute;
	top: 26px;
	right: 26px;
	color: var(--ex-primary);
	opacity: 0.35;
}

.ex-quote__stars {
	display: flex;
	gap: 3px;
	color: #ffc84a;
	margin-bottom: 18px;
}

.ex-quote__text {
	margin: 0 0 26px;
	padding: 0;
	border: 0;
	font-size: 1.06rem;
	line-height: 1.7;
	flex: 1;
}

.ex-quote__text p {
	margin: 0;
}

.ex-quote__author {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-top: 20px;
	border-top: 1px solid var(--ex-border);
}

.ex-quote__author strong {
	display: block;
	font-family: var(--ex-font-heading);
}

.ex-quote__author small {
	display: block;
	color: var(--ex-muted);
	font-size: 0.86rem;
}

.ex-quote__avatar {
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
}

.ex-quote__avatar--initial {
	display: grid;
	place-items: center;
	background: var(--ex-grad);
	color: #fff;
	font-family: var(--ex-font-heading);
	font-weight: 700;
	font-size: 1.15rem;
}

/* Clients */
.ex-clients__title {
	text-align: center;
	color: var(--ex-muted);
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 0.8rem;
	font-weight: 600;
	margin-bottom: 30px;
}

.ex-clients__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: clamp(28px, 5vw, 64px);
}

.ex-clients__name {
	font-family: var(--ex-font-heading);
	font-size: clamp(1.3rem, 2.2vw, 1.8rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	opacity: 0.4;
	transition: opacity 0.3s ease, color 0.3s ease;
}

.ex-clients__name:hover {
	opacity: 1;
	color: var(--ex-primary);
}

.ex-clients__logo {
	max-height: 44px;
	width: auto;
	filter: grayscale(1);
	opacity: 0.6;
	transition: filter 0.3s ease, opacity 0.3s ease;
}

.ex-clients__logo:hover {
	filter: none;
	opacity: 1;
}

/* FAQ */
.ex-faq__inner {
	max-width: calc(900px + var(--ex-gutter) * 2);
}

.ex-faq__list {
	display: grid;
	gap: 14px;
}

.ex-faq__item {
	border: 1px solid var(--ex-border);
	border-radius: var(--ex-radius);
	background: rgba(var(--ex-surface-rgb), 0.55);
	transition: border-color 0.3s ease, background-color 0.3s ease;
}

.ex-faq__item[open] {
	border-color: rgba(var(--ex-primary-rgb), 0.4);
	background: rgba(var(--ex-surface-rgb), 0.85);
}

.ex-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 26px;
	list-style: none;
	cursor: pointer;
	font-family: var(--ex-font-heading);
	font-size: 1.1rem;
	font-weight: 600;
}

.ex-faq__q::-webkit-details-marker {
	display: none;
}

.ex-faq__icon {
	flex: none;
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid var(--ex-border-strong);
	color: var(--ex-primary);
	transition: transform 0.4s var(--ex-ease), background 0.3s ease, color 0.3s ease;
}

.ex-faq__item[open] .ex-faq__icon {
	transform: rotate(45deg);
	background: var(--ex-primary);
	color: var(--ex-on-primary);
	border-color: var(--ex-primary);
}

.ex-faq__a {
	padding: 0 26px 22px;
	color: var(--ex-muted);
}

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

/* CTA */
.ex-cta {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 32px;
	padding: clamp(40px, 6vw, 80px);
	border-radius: calc(var(--ex-radius) * 1.6);
	background: linear-gradient(125deg, var(--ex-secondary) 0%, var(--ex-accent) 100%);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}

.ex-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000);
	mask-image: linear-gradient(90deg, transparent, #000);
}

.ex-cta__glow {
	position: absolute;
	z-index: -1;
	width: 520px;
	height: 520px;
	right: -140px;
	top: -220px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(var(--ex-primary-rgb), 0.85), transparent 65%);
	filter: blur(40px);
	animation: ex-float 14s ease-in-out infinite;
}

.ex-cta__content {
	max-width: 720px;
}

.ex-cta__title {
	color: #fff;
	font-size: clamp(1.9rem, 3.6vw, 3rem);
	margin-bottom: 12px;
}

.ex-cta__text {
	color: rgba(255, 255, 255, 0.86);
	font-size: 1.1rem;
	margin: 0;
}

/* Contact */
.ex-split--contact {
	align-items: start;
}

.ex-contact__list {
	list-style: none;
	margin: 0 0 30px;
	padding: 0;
	display: grid;
	gap: 22px;
}

.ex-contact__list li {
	display: flex;
	align-items: center;
	gap: 16px;
}

.ex-contact__list small {
	display: block;
	color: var(--ex-muted);
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.ex-contact__list a {
	color: var(--ex-text);
	font-weight: 600;
}

.ex-contact__list a:hover {
	color: var(--ex-primary);
}

.ex-contact__icon {
	flex: none;
	display: inline-grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	color: var(--ex-primary);
	background: rgba(var(--ex-primary-rgb), 0.1);
	border: 1px solid rgba(var(--ex-primary-rgb), 0.22);
}

.ex-contact__form {
	padding: clamp(26px, 3.5vw, 44px);
}

.ex-contact__map {
	margin-top: clamp(40px, 5vw, 64px);
	border-radius: var(--ex-radius);
	overflow: hidden;
	border: 1px solid var(--ex-border);
	aspect-ratio: 21 / 8;
}

.ex-contact__map iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

/* Forms */
.ex-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-bottom: 22px;
}

.ex-field {
	margin: 0;
}

.ex-field--full {
	grid-column: 1 / -1;
}

.ex-field label,
.comment-form label {
	display: block;
	font-size: 0.88rem;
	font-weight: 600;
	margin-bottom: 8px;
}

.ex-field label span {
	color: var(--ex-accent);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="search"],
input[type="password"],
input[type="number"],
input[type="date"],
select,
textarea {
	width: 100%;
	padding: 14px 16px;
	border-radius: 12px;
	border: 1px solid var(--ex-border-strong);
	background: rgba(var(--ex-text-rgb), 0.04);
	color: var(--ex-text);
	font-size: 1rem;
	line-height: 1.5;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}

select {
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
}

select option {
	background: var(--ex-surface);
	color: var(--ex-text);
}

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

input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: var(--ex-primary);
	box-shadow: 0 0 0 4px rgba(var(--ex-primary-rgb), 0.16);
	background-color: rgba(var(--ex-text-rgb), 0.06);
}

::placeholder {
	color: rgba(var(--ex-text-rgb), 0.45);
}

.ex-form__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ex-form__notice {
	padding: 14px 18px;
	border-radius: 12px;
	margin-bottom: 22px;
	font-weight: 500;
	border: 1px solid;
}

.ex-form__notice--success {
	background: rgba(34, 197, 94, 0.12);
	border-color: rgba(34, 197, 94, 0.45);
}

.ex-form__notice--error {
	background: rgba(239, 68, 68, 0.12);
	border-color: rgba(239, 68, 68, 0.45);
}

.ex-search-form {
	position: relative;
	display: flex;
}

.ex-search-form__input {
	padding-right: 56px;
	border-radius: 999px;
}

.ex-search-form__btn {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 50%;
	background: var(--ex-primary);
	color: var(--ex-on-primary);
}

/* ==========================================================================
   8. Inner pages, blog, entries
   ========================================================================== */
.ex-page-header {
	position: relative;
	padding: clamp(60px, 8vw, 110px) 0 clamp(50px, 6vw, 84px);
	text-align: center;
	overflow: hidden;
	isolation: isolate;
	border-bottom: 1px solid var(--ex-border);
}

.ex-transparent-header .ex-page-header {
	padding-top: calc(var(--ex-header-h) + clamp(50px, 7vw, 100px));
}

.ex-page-header__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
}

.ex-page-header__bg .ex-orb {
	opacity: 0.4;
}

.ex-page-header__inner {
	max-width: calc(980px + var(--ex-gutter) * 2);
}

.ex-page-header__title {
	font-size: clamp(2.2rem, 5vw, 4rem);
	letter-spacing: -0.03em;
	margin: 0 0 14px;
	word-wrap: break-word;
}

.ex-page-header__subtitle {
	color: var(--ex-muted);
	font-size: 1.12rem;
	max-width: 720px;
	margin: 0 auto;
}

.ex-page-header__subtitle p:last-child {
	margin-bottom: 0;
}

.ex-page-header .ex-meta {
	justify-content: center;
}

.ex-breadcrumbs {
	font-size: 0.85rem;
	color: var(--ex-muted);
	margin-bottom: 18px;
}

.ex-breadcrumbs ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.ex-breadcrumbs li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.ex-breadcrumbs li + li::before {
	content: "/";
	opacity: 0.45;
}

.ex-breadcrumbs a {
	color: var(--ex-muted);
}

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

.ex-breadcrumbs [aria-current] {
	color: var(--ex-text);
}

.ex-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 20px;
	color: var(--ex-muted);
	font-size: 0.86rem;
	margin-bottom: 14px;
}

.ex-meta__item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.ex-meta__item .ex-icon {
	color: var(--ex-primary);
}

.ex-meta a {
	color: inherit;
	position: relative;
	z-index: 2;
}

.ex-meta a:hover {
	color: var(--ex-primary);
}

/* Post cards */
.ex-post-card {
	padding: 0;
}

.ex-post-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.ex-post-card__media img,
.ex-post-card__media .ex-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--ex-ease);
}

.ex-post-card:hover .ex-post-card__media img,
.ex-post-card:hover .ex-post-card__media .ex-placeholder {
	transform: scale(1.05);
}

.ex-post-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 24px 26px 28px;
	flex: 1;
}

.ex-post-card__title {
	font-size: 1.25rem;
	margin: 0;
}

.ex-post-card__title a {
	color: var(--ex-text);
}

.ex-post-card__title a:hover {
	color: var(--ex-primary);
}

.ex-post-card .ex-meta {
	margin: 0;
}

.ex-post-card__excerpt {
	color: var(--ex-muted);
	font-size: 0.97rem;
}

.ex-post-card__excerpt p {
	margin: 0;
}

.ex-post-list {
	display: grid;
	gap: var(--ex-gap);
}

.ex-post-row {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 28px;
	align-items: center;
}

.ex-post-row:not(:has(.ex-post-row__media)) {
	grid-template-columns: minmax(0, 1fr);
}

.ex-post-row__media {
	display: block;
	border-radius: calc(var(--ex-radius) * 0.7);
	overflow: hidden;
	aspect-ratio: 4 / 3;
}

.ex-post-row__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ex-post-row__title {
	font-size: 1.5rem;
	margin: 10px 0 10px;
}

.ex-post-row__title a {
	color: var(--ex-text);
}

.ex-post-row__title a:hover {
	color: var(--ex-primary);
}

.ex-post-row__excerpt {
	color: var(--ex-muted);
}

.ex-search-again {
	max-width: 560px;
	margin: 0 auto 40px;
}

/* Pagination */
.pagination,
.navigation.pagination {
	margin-top: clamp(40px, 5vw, 64px);
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 46px;
	height: 46px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1px solid var(--ex-border);
	color: var(--ex-text);
	font-weight: 600;
	transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

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

.page-numbers.current {
	background: var(--ex-primary);
	border-color: var(--ex-primary);
	color: var(--ex-on-primary);
}

.page-numbers.dots {
	border: 0;
}

/* Post navigation */
.post-navigation {
	margin-top: 48px;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.post-navigation a {
	display: flex;
	flex-direction: column;
	gap: 4px;
	height: 100%;
	padding: 22px 24px;
	border-radius: var(--ex-radius);
	border: 1px solid var(--ex-border);
	background: rgba(var(--ex-surface-rgb), 0.5);
	color: var(--ex-text);
	transition: border-color 0.3s ease, transform 0.3s var(--ex-ease);
}

.post-navigation a:hover {
	border-color: rgba(var(--ex-primary-rgb), 0.45);
	transform: translateY(-3px);
}

.post-navigation .nav-next {
	grid-column: 2;
	text-align: right;
}

.ex-nav-label {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--ex-primary);
	font-weight: 600;
}

.ex-nav-title {
	font-family: var(--ex-font-heading);
	font-weight: 600;
	font-size: 1.05rem;
}

/* Entry content */
.ex-entry__title {
	margin-bottom: 20px;
}

.ex-entry__thumb {
	margin: 0 0 40px;
	border-radius: var(--ex-radius);
	overflow: hidden;
	border: 1px solid var(--ex-border);
}

.ex-entry__thumb img {
	width: 100%;
}

.entry-content {
	font-size: 1.06rem;
	line-height: 1.8;
}

.entry-content::after {
	content: "";
	display: table;
	clear: both;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 1.8em;
}

.entry-content a:not(.wp-block-button__link):not(.ex-btn) {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	text-decoration-color: rgba(var(--ex-primary-rgb), 0.5);
}

.entry-content a:not(.wp-block-button__link):not(.ex-btn):hover {
	text-decoration-color: currentColor;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.4em;
	margin: 0 0 1.4em;
}

.entry-content li {
	margin-bottom: 0.4em;
}

.entry-content ul li::marker {
	color: var(--ex-primary);
}

.entry-content blockquote,
.wp-block-quote {
	margin: 2em 0;
	padding: 24px 30px;
	border-left: 3px solid var(--ex-primary);
	background: rgba(var(--ex-primary-rgb), 0.05);
	border-radius: 0 var(--ex-radius) var(--ex-radius) 0;
	font-size: 1.15rem;
	font-style: italic;
}

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

.entry-content blockquote cite {
	display: block;
	margin-top: 10px;
	font-size: 0.9rem;
	font-style: normal;
	color: var(--ex-muted);
}

.entry-content img {
	border-radius: calc(var(--ex-radius) * 0.7);
}

.entry-content figure {
	margin: 2em 0;
}

.entry-content figcaption,
.wp-caption-text {
	font-size: 0.86rem;
	color: var(--ex-muted);
	text-align: center;
	margin-top: 10px;
}

.entry-content code,
.entry-content kbd {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
	padding: 2px 6px;
	border-radius: 6px;
	background: var(--ex-subtle);
	border: 1px solid var(--ex-border);
}

.entry-content pre {
	padding: 22px 24px;
	border-radius: var(--ex-radius);
	background: rgba(var(--ex-surface-rgb), 0.9);
	border: 1px solid var(--ex-border);
	overflow-x: auto;
	font-size: 0.9rem;
	line-height: 1.6;
}

.entry-content pre code {
	padding: 0;
	border: 0;
	background: none;
}

.entry-content table,
.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	margin: 2em 0;
	font-size: 0.96rem;
}

.entry-content th,
.entry-content td {
	padding: 12px 16px;
	border: 1px solid var(--ex-border);
	text-align: left;
}

.entry-content th {
	background: var(--ex-subtle);
	font-family: var(--ex-font-heading);
}

.alignleft {
	float: left;
	margin: 0.4em 1.6em 1em 0;
}

.alignright {
	float: right;
	margin: 0.4em 0 1em 1.6em;
}

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

.ex-no-sidebar .ex-container--narrow .entry-content > .alignwide {
	width: min(1240px, 100vw - var(--ex-gutter) * 2);
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.ex-no-sidebar .entry-content > .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	border-radius: 0;
}

.entry-content--wide > * {
	max-width: none;
}

.ex-entry__footer {
	margin-top: 40px;
}

.ex-entry__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ex-entry__tags a {
	padding: 6px 14px;
	border-radius: 999px;
	border: 1px solid var(--ex-border);
	color: var(--ex-muted);
	font-size: 0.85rem;
}

.ex-entry__tags a:hover {
	border-color: var(--ex-primary);
	color: var(--ex-primary);
}

.ex-page-links {
	margin-top: 30px;
	display: flex;
	gap: 8px;
	align-items: center;
}

.ex-author-box {
	display: flex;
	gap: 22px;
	align-items: flex-start;
	padding: 28px;
	margin-top: 48px;
}

.ex-author-box__avatar {
	border-radius: 50%;
	flex: none;
}

.ex-author-box .ex-eyebrow {
	margin-bottom: 6px;
}

.ex-author-box__name {
	font-size: 1.3rem;
	margin-bottom: 8px;
}

.ex-author-box__name a {
	color: var(--ex-text);
}

.ex-author-box p {
	color: var(--ex-muted);
	margin: 0;
}

.ex-related {
	margin-top: 72px;
}

.ex-related__title {
	font-size: 1.8rem;
	margin-bottom: 28px;
}

/* Comments */
.ex-comments {
	margin-top: 72px;
}

.ex-comments__title,
.comment-reply-title {
	font-size: 1.5rem;
}

.ex-comment-list,
.ex-comment-list .children {
	list-style: none;
	padding: 0;
	margin: 0 0 40px;
}

.ex-comment-list .children {
	margin: 18px 0 0 clamp(16px, 4vw, 48px);
}

.ex-comment-list .comment-body {
	padding: 22px 24px;
	border-radius: var(--ex-radius);
	border: 1px solid var(--ex-border);
	background: rgba(var(--ex-surface-rgb), 0.5);
	margin-bottom: 18px;
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--ex-font-heading);
	font-weight: 600;
}

.comment-author .avatar {
	border-radius: 50%;
}

.comment-author .says {
	display: none;
}

.comment-metadata {
	font-size: 0.82rem;
	margin: 6px 0 12px;
}

.comment-metadata a {
	color: var(--ex-muted);
}

.comment-reply-link {
	font-size: 0.85rem;
	font-weight: 600;
}

.comment-form {
	display: grid;
	gap: 18px;
}

.comment-form p {
	margin: 0;
}

.comment-form-cookies-consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 0.9rem;
}

.comment-form-cookies-consent label {
	font-weight: 400;
	margin: 0;
}

/* Sidebar & widgets */
.ex-sidebar {
	display: grid;
	gap: 24px;
}

.widget {
	padding: 26px;
	border-radius: var(--ex-radius);
	border: 1px solid var(--ex-border);
	background: rgba(var(--ex-surface-rgb), 0.5);
}

.ex-footer .widget {
	padding: 0;
	border: 0;
	background: none;
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget li {
	padding: 6px 0;
}

.widget li a {
	color: var(--ex-muted);
}

.widget li a:hover {
	color: var(--ex-primary);
}

.widget-title,
.widget .wp-block-heading {
	font-size: 0.86rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	margin-bottom: 18px;
}

/* Services / projects single */
.ex-service-box {
	padding: 30px;
}

.ex-service-box__title {
	font-size: 1.4rem;
	margin: 20px 0 6px;
}

.ex-service-box__price {
	font-family: var(--ex-font-heading);
	font-size: 1.6rem;
	font-weight: 700;
	margin-bottom: 20px;
}

.ex-service-box .ex-btn {
	width: 100%;
}

.ex-service-nav {
	padding: 26px;
}

.ex-service-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ex-service-nav a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 0;
	border-bottom: 1px solid var(--ex-border);
	color: var(--ex-muted);
	font-weight: 500;
}

.ex-service-nav li:last-child a {
	border-bottom: 0;
}

.ex-service-nav a:hover {
	color: var(--ex-primary);
}

.ex-project-hero {
	border-radius: calc(var(--ex-radius) * 1.3);
	overflow: hidden;
	border: 1px solid var(--ex-border);
	aspect-ratio: 16 / 8;
}

.ex-project-hero img,
.ex-project-hero .ex-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ex-project-meta {
	margin: 0;
	padding: 28px;
	display: grid;
	gap: 18px;
}

.ex-project-meta dt {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--ex-muted);
	margin-bottom: 4px;
}

.ex-project-meta dd {
	margin: 0;
	font-family: var(--ex-font-heading);
	font-weight: 600;
	font-size: 1.1rem;
}

.ex-filter {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: clamp(32px, 4vw, 52px);
}

.ex-filter__item {
	padding: 10px 20px;
	border-radius: 999px;
	border: 1px solid var(--ex-border);
	color: var(--ex-muted);
	font-weight: 500;
	font-size: 0.94rem;
}

.ex-filter__item:hover {
	color: var(--ex-text);
	border-color: var(--ex-border-strong);
}

.ex-filter__item.is-active {
	background: var(--ex-primary);
	border-color: var(--ex-primary);
	color: var(--ex-on-primary);
}

/* Empty & 404 */
.ex-empty {
	text-align: center;
	padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 48px);
	max-width: 680px;
	margin-inline: auto;
}

.ex-empty__icon {
	display: inline-grid;
	place-items: center;
	width: 76px;
	height: 76px;
	border-radius: 24px;
	background: rgba(var(--ex-primary-rgb), 0.1);
	color: var(--ex-primary);
	margin-bottom: 22px;
}

.ex-empty p {
	color: var(--ex-muted);
}

.ex-empty .ex-search-form {
	max-width: 440px;
	margin: 24px auto 0;
}

.ex-404 {
	position: relative;
	min-height: 86vh;
	display: grid;
	place-items: center;
	text-align: center;
	padding: calc(var(--ex-header-h) + 60px) 0 80px;
	overflow: hidden;
	isolation: isolate;
}

.ex-404__code {
	font-family: var(--ex-font-heading);
	font-size: clamp(7rem, 22vw, 15rem);
	font-weight: 700;
	line-height: 0.9;
	letter-spacing: -0.06em;
	margin: 0 0 10px;
}

.ex-404__text {
	color: var(--ex-muted);
	max-width: 520px;
	margin: 0 auto 28px;
	font-size: 1.1rem;
}

.ex-404__search {
	max-width: 440px;
	margin: 0 auto 26px;
}

.ex-canvas {
	padding: 0;
}

/* ==========================================================================
   9. Footer
   ========================================================================== */
.ex-footer {
	position: relative;
	margin-top: auto;
	padding-top: clamp(72px, 8vw, 110px);
	border-top: 1px solid var(--ex-border);
	background: linear-gradient(180deg, transparent, rgba(var(--ex-secondary-rgb), 0.07));
	overflow: hidden;
	isolation: isolate;
}

.ex-footer__glow {
	position: absolute;
	z-index: -1;
	left: 50%;
	bottom: -320px;
	width: 900px;
	height: 500px;
	transform: translateX(-50%);
	border-radius: 50%;
	background: radial-gradient(ellipse, rgba(var(--ex-primary-rgb), 0.16), transparent 70%);
	pointer-events: none;
}

.ex-footer__grid {
	display: grid;
	gap: clamp(36px, 4vw, 56px);
	padding-bottom: clamp(48px, 6vw, 72px);
}

.ex-footer__grid--4 { grid-template-columns: 1.5fr 1fr 1fr 1.25fr; }
.ex-footer__grid--3 { grid-template-columns: 1.5fr 1fr 1fr; }
.ex-footer__grid--2 { grid-template-columns: 1.5fr 1fr; }
.ex-footer__grid--1 { grid-template-columns: minmax(0, 640px); }

.ex-footer__col--brand .ex-logo,
.ex-footer__col--brand .custom-logo-link {
	margin-bottom: 20px;
	display: inline-flex;
}

.ex-footer__about {
	color: var(--ex-muted);
	max-width: 360px;
	margin-bottom: 24px;
}

.ex-footer__newsletter {
	margin-top: 24px;
	max-width: 400px;
}

.ex-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.ex-footer__links a {
	color: var(--ex-muted);
	display: inline-flex;
	transition: color 0.2s ease, transform 0.3s var(--ex-ease);
}

.ex-footer__links a:hover {
	color: var(--ex-primary);
	transform: translateX(4px);
}

.ex-footer__contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 16px;
}

.ex-footer__contact li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	color: var(--ex-muted);
}

.ex-footer__contact .ex-icon {
	color: var(--ex-primary);
	margin-top: 3px;
}

.ex-footer__contact a {
	color: var(--ex-muted);
}

.ex-footer__contact a:hover {
	color: var(--ex-primary);
}

.ex-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 28px;
	padding: 26px 0 30px;
	border-top: 1px solid var(--ex-border);
	font-size: 0.88rem;
	color: var(--ex-muted);
}

.ex-footer__bottom p {
	margin: 0;
}

.ex-footer__menu,
.ex-footer__bottom nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.ex-footer__bottom nav a {
	color: var(--ex-muted);
}

.ex-footer__bottom nav a:hover {
	color: var(--ex-primary);
}

.ex-footer-bottom-center .ex-footer__bottom {
	flex-direction: column;
	justify-content: center;
	text-align: center;
}

.ex-footer__text {
	color: var(--ex-muted);
}

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

.ex-footer__col--social .ex-social,
.ex-footer__col--brand .ex-social {
	margin-top: 4px;
}

.ex-footer__powered a {
	color: inherit;
}

.ex-footer__division {
	opacity: 0.8;
}

.ex-social {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ex-social a {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid var(--ex-border);
	background: var(--ex-subtle);
	color: var(--ex-text);
	transition: transform 0.3s var(--ex-ease), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.ex-social a:hover {
	background: var(--ex-primary);
	border-color: var(--ex-primary);
	color: var(--ex-on-primary);
	transform: translateY(-3px);
}

.ex-social--sm {
	gap: 6px;
}

.ex-social--sm a {
	width: 28px;
	height: 28px;
	border: 0;
	background: none;
}

.ex-social--sm .ex-icon {
	width: 15px;
	height: 15px;
}

/* Back to top & preloader */
.ex-to-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 90;
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: var(--ex-grad);
	color: #fff;
	box-shadow: 0 14px 34px -10px rgba(var(--ex-secondary-rgb), 0.7);
	opacity: 0;
	visibility: hidden;
	transform: translateY(16px);
	transition: opacity 0.3s ease, transform 0.4s var(--ex-ease), visibility 0.3s;
}

.ex-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.ex-to-top:hover {
	color: #fff;
	transform: translateY(-4px);
}

.ex-preloader {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: grid;
	place-items: center;
	background: var(--ex-bg);
	transition: opacity 0.5s ease, visibility 0.5s;
}

.ex-preloader.is-hidden {
	opacity: 0;
	visibility: hidden;
}

.ex-preloader__ring {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: 3px solid var(--ex-border);
	border-top-color: var(--ex-primary);
	border-right-color: var(--ex-secondary);
	animation: ex-spin 0.9s linear infinite;
}

/* ==========================================================================
   10. Reveal animations (only when JS runs)
   ========================================================================== */
.js .ex-animate [data-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.9s var(--ex-ease), transform 0.9s var(--ex-ease);
	transition-delay: calc(var(--d, 0) * 90ms);
}

.js .ex-animate [data-reveal].is-revealed {
	opacity: 1;
	transform: none;
}

.js .ex-animate .ex-card[data-reveal].is-revealed:hover,
.js .ex-animate .ex-project-card[data-reveal].is-revealed:hover {
	transform: translateY(-6px);
	transition-delay: 0s;
}

@keyframes ex-ping {
	0% { transform: scale(0.6); opacity: 1; }
	100% { transform: scale(2); opacity: 0; }
}

@keyframes ex-float {
	0%, 100% { transform: translate(0, 0) scale(1); }
	33% { transform: translate(4%, 6%) scale(1.06); }
	66% { transform: translate(-3%, 3%) scale(0.96); }
}

@keyframes ex-bob {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-12px); }
}

@keyframes ex-spin {
	to { transform: rotate(360deg); }
}

@keyframes ex-counter {
	from { transform: rotate(calc(-1 * var(--a))); }
	to { transform: rotate(calc(-1 * var(--a) - 360deg)); }
}

@keyframes ex-breathe {
	0%, 100% { transform: translate(-50%, -50%) scale(1); }
	50% { transform: translate(-50%, -50%) scale(1.06); }
}

@keyframes ex-shine {
	to { background-position: 200% center; }
}

@keyframes ex-marquee {
	to { transform: translateX(-50%); }
}

@keyframes ex-slide-down {
	from { transform: translateY(-100%); }
	to { transform: none; }
}

/* ==========================================================================
   11. Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	.ex-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ex-footer__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ex-float-card--2 { right: 0; }
	.ex-float-card--1 { left: 0; }
}

@media (max-width: 1080px) {
	:root {
		--ex-header-h: min(var(--ex-header-height, 84px), 72px);
	}

	.ex-menu-toggle {
		display: inline-grid;
	}

	.ex-header__cta {
		display: none;
	}

	.ex-nav {
		position: fixed;
		inset: 0;
		top: 0;
		z-index: -1;
		display: block;
		padding: calc(var(--ex-nav-offset, calc(var(--ex-header-h) + var(--ex-admin-bar))) + 20px) var(--ex-gutter) 40px;
		background: rgba(var(--ex-bg-rgb), 0.97);
		-webkit-backdrop-filter: blur(20px);
		backdrop-filter: blur(20px);
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-12px);
		transition: opacity 0.35s ease, transform 0.4s var(--ex-ease), visibility 0.35s;
	}

	.ex-nav-open .ex-nav {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	/* backdrop-filter would trap the fixed menu panel inside the header. */
	.ex-header,
	.ex-transparent-header.ex-sticky-header .ex-header.is-stuck {
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
		background: var(--ex-header-bg-solid, rgba(var(--ex-bg-rgb), 0.94));
	}

	.ex-transparent-header .ex-header:not(.is-stuck) {
		background: transparent;
	}

	.ex-nav-open .ex-header,
	.ex-nav-open.ex-transparent-header.ex-sticky-header .ex-header.is-stuck {
		background: transparent;
		border-bottom-color: transparent;
		animation: none;
	}

	.ex-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.ex-menu a {
		font-size: 1.25rem;
		padding: 14px 16px;
		border-radius: 12px;
		color: var(--ex-text);
	}

	.ex-menu > li {
		border-bottom: 1px solid var(--ex-border);
	}

	.ex-menu .menu-item-has-children > a::after {
		display: none;
	}

	.ex-menu .menu-item-has-children > a {
		padding-right: 60px;
	}

	.ex-submenu-toggle {
		position: absolute;
		top: 6px;
		right: 4px;
		display: inline-grid;
		place-items: center;
		width: 44px;
		height: 44px;
		border-radius: 50%;
		border: 1px solid var(--ex-border);
		background: none;
		color: var(--ex-text);
		transition: transform 0.3s var(--ex-ease);
	}

	.ex-submenu-toggle[aria-expanded="true"] {
		transform: rotate(180deg);
		color: var(--ex-primary);
	}

	.ex-menu .sub-menu,
	.ex-menu .sub-menu .sub-menu {
		position: static;
		min-width: 0;
		padding: 0 0 10px 14px;
		margin: 0;
		background: none;
		border: 0;
		box-shadow: none;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		display: none;
	}

	.ex-menu .sub-menu.is-open {
		display: block;
	}

	.ex-menu .sub-menu a {
		font-size: 1.05rem;
		color: var(--ex-muted);
	}

	.ex-menu li:hover > .sub-menu:not(.is-open),
	.ex-menu li:focus-within > .sub-menu:not(.is-open) {
		display: none;
	}

	.ex-nav__cta-mobile {
		display: block;
		margin-top: 28px;
	}

	.ex-nav__cta-mobile .ex-btn {
		width: 100%;
	}

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

	.ex-hero__content {
		text-align: center;
		max-width: 780px;
		margin-inline: auto;
	}

	.ex-hero__text {
		margin-inline: auto;
	}

	.ex-hero__actions {
		justify-content: center;
	}

	.ex-orbit {
		width: min(440px, 88vw);
	}

	.ex-about__media {
		max-width: 560px;
		margin-inline: auto;
		width: 100%;
	}

	.ex-has-sidebar .ex-layout,
	.ex-sidebar-left .ex-layout,
	.ex-layout--service,
	.ex-layout--project,
	.ex-has-sidebar .ex-layout--service,
	.ex-has-sidebar .ex-layout--project {
		grid-template-columns: minmax(0, 1fr);
	}

	.ex-sidebar-left .ex-layout__aside {
		order: 0;
	}

	.ex-layout__aside {
		position: static;
	}

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

	.ex-process__list,
	.ex-process__list--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 48px;
	}

	.ex-stats__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 28px;
	}

	.ex-stat:nth-child(3)::before {
		display: none;
	}

	.ex-footer__grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ex-footer__col--brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 782px) {
	.ex-topbar__contact > a,
	.ex-topbar__contact .ex-topbar__menu {
		display: none;
	}

	.ex-topbar__text {
		font-size: 0.8rem;
	}
}

@media (max-width: 680px) {
	.ex-grid,
	.ex-grid--2,
	.ex-grid--3,
	.ex-grid--4,
	.ex-process__list,
	.ex-process__list--2,
	.ex-process__list--3,
	.ex-footer__grid--2,
	.ex-footer__grid--3,
	.ex-footer__grid--4,
	.ex-form__grid,
	.post-navigation .nav-links {
		grid-template-columns: minmax(0, 1fr);
	}

	.post-navigation .nav-next {
		grid-column: auto;
	}

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

	.ex-hero__title {
		font-size: clamp(2.3rem, 10vw, 3.2rem);
	}

	.ex-hero__actions .ex-btn {
		width: 100%;
	}

	.ex-float-card {
		padding: 8px 12px 8px 10px;
		gap: 8px;
	}

	.ex-float-card strong {
		font-size: 0.95rem;
	}

	.ex-float-card--3 {
		display: none;
	}

	.ex-orbit__node > span {
		width: 42px;
		height: 42px;
		margin: -21px 0 0 -21px;
		border-radius: 12px;
	}

	.ex-about__badge {
		right: 10px;
		bottom: -20px;
		padding: 14px 18px;
	}

	.ex-about__badge strong {
		font-size: 2rem;
	}

	.ex-cta {
		text-align: center;
		justify-content: center;
	}

	.ex-cta__action,
	.ex-cta__action .ex-btn {
		width: 100%;
	}

	.ex-contact__map {
		aspect-ratio: 4 / 3;
	}

	.ex-author-box {
		flex-direction: column;
	}

	.ex-footer__bottom {
		flex-direction: column;
		text-align: center;
	}

	.ex-to-top {
		right: 16px;
		bottom: 16px;
		width: 44px;
		height: 44px;
	}

	.ex-logo__text {
		font-size: 1.15rem;
	}
}

@media (max-width: 600px) {
	.admin-bar .ex-transparent-header.ex-sticky-header .ex-header.is-stuck,
	.admin-bar.ex-sticky-header:not(.ex-transparent-header) .ex-header {
		top: 0;
	}
}

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

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}

	.js .ex-animate [data-reveal] {
		opacity: 1;
		transform: none;
	}

	.ex-marquee__track {
		animation: none;
	}
}

@media print {
	.ex-header,
	.ex-topbar,
	.ex-footer,
	.ex-to-top,
	.ex-hero__bg,
	.ex-page-header__bg,
	.ex-preloader {
		display: none !important;
	}

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

/* ==========================================================================
   12. WooCommerce essentials (if installed)
   ========================================================================== */
.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button {
	border-radius: 999px !important;
	background: var(--ex-primary) !important;
	color: var(--ex-on-primary) !important;
	font-weight: 600 !important;
}

.woocommerce ul.products li.product {
	border: 1px solid var(--ex-border);
	border-radius: var(--ex-radius);
	padding: 16px !important;
	background: rgba(var(--ex-surface-rgb), 0.5);
}
