/**
 * Marqent inner pages: banner, two-column layouts, prose, sidebar widgets, blog, case studies,
 * contact, header dropdown and footer. Builds on the tokens in theme.css.
 */

/* ======================================================================
   Template wrappers
   ====================================================================== */

body .site-main.mq-tpl,
body .site-main.mq-main {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0;
}

.mq-tpl-section {
	padding-block: 56px 96px;
}

.mq-container--narrow {
	max-width: calc(780px + 48px);
}

.mq-tpl-h2 {
	margin: 0 0 24px;
	font-size: clamp(28px, 3.4vw, 40px);
	line-height: 1.15;
}

.mq-tpl-h2--light {
	color: var(--mq-white);
}

.mq-tpl-related {
	padding-block: 88px;
}

.mq-tpl-related--light {
	background: var(--mq-lavender);
}

.mq-dark.mq-tpl-related {
	background: var(--mq-navy);
}

/* ======================================================================
   Page banner (digtek-style rounded lavender box) + breadcrumbs
   ====================================================================== */

.mq-banner {
	padding: 24px 24px 0;
}

.mq-banner__inner {
	position: relative;
	overflow: hidden;
	max-width: 1232px;
	margin: 0 auto;
	padding: 72px 24px 64px;
	border-radius: 28px;
	background:
		radial-gradient(circle at 12% 20%, rgba(91, 34, 168, 0.10), transparent 40%),
		radial-gradient(circle at 88% 80%, rgba(59, 13, 122, 0.12), transparent 45%),
		linear-gradient(180deg, #f7f3fc 0%, #efe6fa 100%);
	text-align: center;
}

.mq-banner__shape {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.mq-banner__shape--a {
	top: -60px;
	right: -40px;
	width: 220px;
	height: 220px;
	border: 28px solid rgba(59, 13, 122, 0.07);
}

.mq-banner__shape--b {
	bottom: -70px;
	left: -50px;
	width: 180px;
	height: 180px;
	background: rgba(91, 34, 168, 0.07);
}

/* Mini rising bar chart, the brand motif, bottom-right. */
.mq-banner__bars {
	position: absolute;
	right: 56px;
	bottom: 40px;
	display: flex;
	align-items: flex-end;
	gap: 6px;
	height: 64px;
	opacity: 0.55;
}

.mq-banner__bars i {
	display: block;
	width: 10px;
	border-radius: 3px 3px 0 0;
	background: var(--mq-periwinkle);
	animation: mq-bar-grow 0.9s var(--mq-ease) both;
}

.mq-banner__bars i:nth-child(1) { height: 30%; animation-delay: 0.1s; }
.mq-banner__bars i:nth-child(2) { height: 45%; animation-delay: 0.17s; }
.mq-banner__bars i:nth-child(3) { height: 55%; animation-delay: 0.24s; }
.mq-banner__bars i:nth-child(4) { height: 75%; animation-delay: 0.31s; }
.mq-banner__bars i:nth-child(5) { height: 100%; background: var(--mq-violet); animation-delay: 0.38s; }

.mq-banner__eyebrow {
	margin: 0 0 12px;
}

.mq-banner .mq-banner__title {
	max-width: 900px;
	margin: 0 auto;
	font-size: clamp(32px, 5vw, 54px);
	line-height: 1.08;
	letter-spacing: -0.03em;
}

.mq-banner__intro {
	max-width: 640px;
	margin: 16px auto 0;
	color: var(--mq-text);
	font-size: 18px;
	line-height: 1.6;
}

.mq-breadcrumbs {
	display: flex;
	justify-content: center;
	margin-top: 24px;
}

.mq-breadcrumbs p {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 8px 18px;
	border: 1px solid rgba(59, 13, 122, 0.35);
	border-radius: 999px;
	background: var(--mq-white);
	color: var(--mq-navy);
	font-size: 14px;
	font-weight: 600;
}

.mq-breadcrumbs a {
	color: var(--mq-primary);
	text-decoration: none;
}

.mq-breadcrumbs a:hover {
	text-decoration: underline;
}

.mq-breadcrumbs .last {
	max-width: 46ch;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mq-breadcrumbs__sep,
.mq-breadcrumbs .separator {
	color: var(--mq-muted);
}

/* ======================================================================
   Two-column layout + sidebar widgets
   ====================================================================== */

.mq-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 48px;
	align-items: start;
}

.mq-sidebar {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.mq-sidebar--sticky {
	position: sticky;
	top: calc(96px + var(--wp-admin--admin-bar--height, 0px));
}

.mq-side-widget {
	padding: 24px;
}

.mq-side-title {
	position: relative;
	margin: 0 0 16px;
	padding-bottom: 12px;
	color: var(--mq-navy);
	font: 700 18px/1.3 var(--mq-font-heading);
}

.mq-side-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 36px;
	height: 3px;
	border-radius: 3px;
	background: var(--mq-primary);
}

.mq-side-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mq-side-list a {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--mq-border);
	color: var(--mq-navy);
	font-weight: 600;
	text-decoration: none;
}

.mq-side-list li:last-child a {
	border-bottom: 0;
}

.mq-side-list a:hover {
	color: var(--mq-primary);
}

.mq-side-count {
	color: var(--mq-muted);
	font-weight: 400;
}

/* Service navigation (service detail sidebar) */
.mq-service-nav {
	padding: 24px;
	background: var(--mq-lavender);
	border-color: transparent;
}

.mq-service-nav ul {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mq-service-nav a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid var(--mq-border);
	border-radius: var(--mq-radius-sm);
	background: var(--mq-white);
	color: var(--mq-navy);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.25s var(--mq-ease), color 0.25s var(--mq-ease), border-color 0.25s var(--mq-ease), transform 0.25s var(--mq-ease);
}

.mq-service-nav a:hover {
	border-color: var(--mq-primary);
	color: var(--mq-primary);
	transform: translateX(3px);
}

.mq-service-nav a.is-current {
	border-color: var(--mq-primary);
	background: var(--mq-primary);
	color: var(--mq-white);
}

/* Navy help / CTA box */
.mq-help-box {
	position: relative;
	overflow: hidden;
	padding: 28px 24px;
	border-radius: var(--mq-radius);
	background: linear-gradient(160deg, var(--mq-navy) 0%, #2a0858 100%);
	color: #e2d6f3;
}

.mq-help-box::after {
	content: "";
	position: absolute;
	top: -40px;
	right: -40px;
	width: 140px;
	height: 140px;
	border-radius: 50%;
	background: rgba(217, 253, 138, 0.25);
}

.mq-help-box__title {
	margin: 0 0 10px;
	color: var(--mq-white);
	font: 700 20px/1.3 var(--mq-font-heading);
}

.mq-help-box p {
	position: relative;
	z-index: 1;
	font-size: 15px;
}

.mq-help-box .mq-btn {
	position: relative;
	z-index: 1;
}

a.mq-btn--light,
.mq-btn--light {
	background: var(--mq-white);
	color: var(--mq-primary);
}

a.mq-btn--light:hover,
.mq-btn--light:hover {
	background: #f1eafb;
	color: var(--mq-primary-dark);
}

a.mq-btn--ghost,
.mq-btn--ghost {
	background: var(--mq-white);
	color: var(--mq-navy);
	box-shadow: inset 0 0 0 1px var(--mq-border);
}

a.mq-btn--ghost:hover,
.mq-btn--ghost:hover {
	background: var(--mq-lavender);
	color: var(--mq-navy);
}

.mq-help-box__phone {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	color: var(--mq-white);
	font-weight: 700;
	text-decoration: none;
}

.mq-help-box__phone:hover {
	color: #f3ecfc;
}

/* Project snapshot facts */
.mq-facts {
	margin: 0;
}

.mq-facts div {
	padding: 10px 0;
	border-bottom: 1px solid var(--mq-border);
}

.mq-facts div:last-child {
	border-bottom: 0;
}

.mq-facts dt {
	color: var(--mq-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.mq-facts dd {
	margin: 2px 0 0;
	color: var(--mq-navy);
	font-weight: 600;
}

/* ======================================================================
   Prose (post content, case study story, Elementor text in detail pages)
   ====================================================================== */

.mq-prose {
	color: var(--mq-text);
	font-size: 17px;
	line-height: 1.75;
}

.mq-prose > *:first-child {
	margin-top: 0;
}

.mq-prose h2 {
	margin: 1.8em 0 0.6em;
	font-size: clamp(24px, 2.6vw, 30px);
	line-height: 1.25;
}

.mq-prose h3 {
	margin: 1.6em 0 0.5em;
	font-size: 21px;
	line-height: 1.3;
}

.mq-prose p {
	margin: 0 0 1.1em;
}

.mq-prose a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.mq-prose ul,
.mq-prose ol {
	margin: 0 0 1.3em;
	padding-left: 1.3em;
}

.mq-prose li {
	margin-bottom: 0.45em;
}

/* Check-mark lists */
.mq-prose ul,
ul.mq-checks {
	padding-left: 0;
	list-style: none;
}

.mq-prose ul li,
ul.mq-checks li {
	position: relative;
	padding-left: 30px;
}

.mq-prose ul li::before,
ul.mq-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.32em;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #f1eafb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b0d7a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.mq-prose ol li::marker {
	color: var(--mq-primary);
	font-weight: 700;
}

.mq-prose blockquote {
	position: relative;
	margin: 1.8em 0;
	padding: 24px 28px;
	border: 0;
	border-left: 4px solid var(--mq-primary);
	border-radius: 0 var(--mq-radius) var(--mq-radius) 0;
	background: var(--mq-lavender);
	color: var(--mq-navy);
	font-size: 19px;
	font-style: normal;
	font-weight: 600;
	line-height: 1.55;
}

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

.mq-prose img {
	border-radius: var(--mq-radius);
}

.mq-prose strong {
	color: var(--mq-navy);
}

/* Callout box used in case studies / posts (wp:group with class mq-callout) */
.mq-prose .mq-callout {
	margin: 1.8em 0;
	padding: 22px 24px;
	border: 1px solid var(--mq-border);
	border-radius: var(--mq-radius);
	background: var(--mq-white);
	box-shadow: var(--mq-shadow);
}

.mq-prose .mq-callout > *:last-child {
	margin-bottom: 0;
}

/* Featured image */
.mq-feature-img {
	overflow: hidden;
	margin: 0 0 32px;
	border-radius: 20px;
	background: var(--mq-lavender);
}

.mq-feature-img img {
	display: block;
	width: 100%;
	height: auto;
}

/* Results strip */
.mq-metrics {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
	margin: 0 0 48px;
	padding: 0;
	list-style: none;
}

.mq-metric {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 24px;
	border-radius: var(--mq-radius);
	background: var(--mq-navy);
	color: #d4c6ea;
}

.mq-metric:nth-child(2) {
	background: var(--mq-primary);
	color: #ece4f8;
}

.mq-metric__value {
	color: var(--mq-white);
	font: 800 clamp(30px, 3.4vw, 40px)/1 var(--mq-font-heading);
	letter-spacing: -0.02em;
}

.mq-metric__label {
	font-size: 14px;
	line-height: 1.4;
}

/* ======================================================================
   Case study listing
   ====================================================================== */

.mq-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 28px;
}

.mq-filter button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border: 1px solid var(--mq-border);
	border-radius: var(--mq-radius-sm);
	background: var(--mq-white);
	color: var(--mq-navy);
	font: 700 15px/1.2 var(--mq-font-body);
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.mq-filter button:hover {
	border-color: var(--mq-primary);
	color: var(--mq-primary);
	background: var(--mq-white);
}

.mq-filter button[aria-pressed="true"] {
	border-color: var(--mq-primary);
	background: var(--mq-primary);
	color: var(--mq-white);
}

.mq-filter__count {
	padding: 1px 7px;
	border-radius: 999px;
	background: rgba(29, 8, 65, 0.08);
	font-size: 12px;
}

.mq-filter button[aria-pressed="true"] .mq-filter__count {
	background: rgba(255, 255, 255, 0.2);
}

.mq-cases--grid {
	grid-template-columns: repeat(3, 1fr);
	margin-top: 0;
}

.mq-cases .mq-case[hidden] {
	display: none;
}

/* Light variant of the case cards (white pages) */
.mq-cases--light .mq-case {
	border: 1px solid var(--mq-border);
	background: var(--mq-white);
}

.mq-cases--light .mq-case:hover {
	background: var(--mq-white);
	box-shadow: var(--mq-shadow-hover);
}

.mq-cases--light .mq-case__cat {
	color: var(--mq-purple);
}

.mq-cases--light .mq-case__stat,
.mq-cases--light .mq-case .mq-case__title {
	color: var(--mq-navy);
}

.mq-cases--light .mq-case__summary {
	color: var(--mq-text);
}

.mq-cases--light .mq-case__link,
.mq-cases--light .mq-arrow-link {
	color: var(--mq-primary);
}

/* ======================================================================
   Blog: cards, grid, meta, share, author, navigation, search, recent
   ====================================================================== */

.mq-post-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.mq-post-grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

.mq-post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.mq-post-card__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: var(--mq-lavender);
}

.mq-post-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--mq-ease);
}

.mq-post-card:hover .mq-post-card__img {
	transform: scale(1.04);
}

.mq-post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 22px 24px 24px;
}

.mq-post-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--mq-muted);
	font-size: 13px;
}

.mq-post-card__cat {
	padding: 3px 10px;
	border-radius: 999px;
	background: #f1eafb;
	color: var(--mq-primary);
	font-weight: 700;
	text-decoration: none;
}

.mq-post-card .mq-post-card__title {
	margin: 0;
	font-size: 20px;
	line-height: 1.3;
}

.mq-post-card__title a {
	color: var(--mq-navy);
	text-decoration: none;
}

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

.mq-post-card__excerpt {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
}

.mq-post-card .mq-arrow-link {
	margin-top: auto;
	padding-top: 6px;
}

.mq-post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin: 0 0 24px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--mq-border);
	color: var(--mq-muted);
	font-size: 14px;
}

.mq-post-meta__author {
	color: var(--mq-navy);
	font-weight: 700;
}

.mq-post-foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px;
	margin: 36px 0 28px;
	padding: 20px 0;
	border-block: 1px solid var(--mq-border);
}

.mq-tags,
.mq-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
}

.mq-tags__label {
	color: var(--mq-navy);
	font-weight: 700;
}

.mq-tags a,
.mq-share a {
	padding: 5px 12px;
	border: 1px solid var(--mq-border);
	border-radius: 999px;
	color: var(--mq-navy);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.mq-tags a:hover,
.mq-share a:hover {
	border-color: var(--mq-primary);
	background: var(--mq-primary);
	color: var(--mq-white);
}

.mq-author {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	padding: 24px;
	background: var(--mq-lavender);
	border-color: transparent;
}

.mq-author__avatar,
.mq-quote__avatar {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--mq-primary), var(--mq-purple));
	color: var(--mq-white);
	font: 700 18px/1 var(--mq-font-heading);
}

.mq-author__name {
	margin: 0 0 4px;
	color: var(--mq-navy);
	font-weight: 700;
}

.mq-author p:last-child {
	margin: 0;
	font-size: 15px;
}

.mq-post-nav {
	margin-top: 28px;
}

.mq-post-nav .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.mq-post-nav a {
	display: flex;
	flex-direction: column;
	gap: 4px;
	height: 100%;
	padding: 18px 20px;
	border: 1px solid var(--mq-border);
	border-radius: var(--mq-radius);
	text-decoration: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.mq-post-nav a:hover {
	border-color: var(--mq-primary);
	box-shadow: var(--mq-shadow);
}

.mq-post-nav .nav-next {
	text-align: right;
}

.mq-post-nav__label {
	color: var(--mq-muted);
	font-size: 13px;
	font-weight: 600;
}

.mq-post-nav__title {
	color: var(--mq-navy);
	font-weight: 700;
	line-height: 1.35;
}

/* Pagination */
.pagination,
.navigation.pagination {
	margin-top: 40px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--mq-border);
	border-radius: var(--mq-radius-sm);
	color: var(--mq-navy);
	font-weight: 700;
	text-decoration: none;
}

.pagination .page-numbers.current,
.pagination a.page-numbers:hover {
	border-color: var(--mq-primary);
	background: var(--mq-primary);
	color: var(--mq-white);
}

/* Search form */
.mq-search {
	display: flex;
	overflow: hidden;
	border: 1px solid #e0d6ee;
	border-radius: var(--mq-radius-sm);
	background: var(--mq-white);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.mq-search:focus-within {
	border-color: var(--mq-primary);
	box-shadow: 0 0 0 3px rgba(59, 13, 122, 0.15);
}

.mq-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 46px;
	padding: 0 14px;
	border: 0;
	background: transparent;
	color: var(--mq-navy);
	font: 400 16px var(--mq-font-body);
	outline: 0;
}

.mq-search button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	border: 0;
	border-radius: 0;
	background: var(--mq-primary);
	color: var(--mq-white);
	cursor: pointer;
}

.mq-search button:hover {
	background: var(--mq-primary-dark);
}

/* Recent posts list (sidebar + footer) */
.mq-recent {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mq-recent a {
	display: flex;
	gap: 12px;
	align-items: center;
	text-decoration: none;
}

.mq-recent__img {
	flex-shrink: 0;
	width: 64px;
	height: 64px;
	border-radius: var(--mq-radius-sm);
	object-fit: cover;
}

.mq-recent__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.mq-recent time {
	color: var(--mq-muted);
	font-size: 12px;
}

.mq-recent__title {
	color: var(--mq-navy);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}

.mq-recent a:hover .mq-recent__title {
	color: var(--mq-primary);
}

.mq-empty {
	padding: 40px;
	text-align: center;
}

/* ======================================================================
   Services page grid (shortcode) + detail page helpers
   ====================================================================== */

.mq-service-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.mq-service-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 28px;
}

.mq-service-card .mq-service-card__title {
	margin: 8px 0 0;
	font-size: 20px;
}

.mq-service-card__title a {
	color: var(--mq-navy);
	text-decoration: none;
}

.mq-service-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.mq-service-card {
	position: relative;
}

.mq-service-card p {
	margin: 0;
	font-size: 15px;
}

.mq-service-card .mq-arrow-link {
	margin-top: auto;
}

/* Numbered step cards on detail pages */
.mq-step-num .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: #f1eafb;
	color: var(--mq-primary);
	font: 800 18px/1 var(--mq-font-heading);
}

/* Big stats band (about / services) */
.mq-stat .elementor-heading-title {
	font: 800 clamp(36px, 4vw, 52px)/1 var(--mq-font-heading);
	letter-spacing: -0.03em;
}

/* Image with rounded corners + decorative badge */
.mq-photo img {
	border-radius: 24px;
	box-shadow: 0 24px 60px rgba(29, 8, 65, 0.15);
}

.mq-photo {
	position: relative;
}

.mq-photo-badge {
	position: absolute;
	left: -12px;
	bottom: 28px;
	padding: 14px 18px;
	border-radius: var(--mq-radius);
	background: var(--mq-white);
	box-shadow: var(--mq-shadow-hover);
}

/* Job cards (careers) */
.mq-job .mq-job__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.mq-chip,
.mq-job__meta span {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	background: #f1eafb;
	color: var(--mq-primary);
	font-size: 12px;
	font-weight: 700;
}

/* ======================================================================
   Contact
   ====================================================================== */

.mq-contact-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.mq-contact-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 32px 24px;
	text-align: center;
}

.mq-contact-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	margin-bottom: 8px;
	border-radius: 16px;
	background: #f1eafb;
	color: var(--mq-primary);
}

.mq-contact-card__icon svg {
	width: 26px;
	height: 26px;
}

.mq-contact-card .mq-contact-card__title {
	margin: 0;
	font-size: 19px;
}

.mq-contact-card__value {
	margin: 0;
	color: var(--mq-navy);
	font-weight: 700;
	word-break: break-word;
}

.mq-contact-card__value a {
	color: var(--mq-navy);
	text-decoration: none;
}

.mq-contact-card__value a:hover {
	color: var(--mq-primary);
}

.mq-contact-card__note {
	margin: 0;
	color: var(--mq-muted);
	font-size: 14px;
}

.mq-form-card--light {
	border: 1px solid var(--mq-border);
	box-shadow: var(--mq-shadow);
}

/* File input (careers form) */
.mq-cf7 input[type="file"] {
	width: 100%;
	padding: 10px;
	border: 1px dashed #d6c9ea;
	border-radius: var(--mq-radius-sm);
	background: var(--mq-lavender);
	font-size: 14px;
}

.mq-cf7 textarea {
	width: 100%;
	min-height: 120px;
	padding: 12px 14px;
	border: 1px solid #e0d6ee;
	border-radius: var(--mq-radius-sm);
	color: var(--mq-navy);
	font: 400 16px/1.5 var(--mq-font-body);
}

.mq-cf7 textarea:focus {
	border-color: var(--mq-primary);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(59, 13, 122, 0.15);
}

.mq-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 16px;
}

/* ======================================================================
   404
   ====================================================================== */

.mq-404__inner {
	padding-block: 40px;
	text-align: center;
}

.mq-404__code {
	margin: 0;
	background: linear-gradient(135deg, var(--mq-primary), var(--mq-purple));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font: 800 clamp(96px, 16vw, 168px)/1 var(--mq-font-heading);
	letter-spacing: -0.05em;
}

.mq-404__text {
	margin-bottom: 24px;
}

.mq-404 .mq-search {
	max-width: 460px;
	margin: 0 auto 28px;
}

.mq-404__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

/* ======================================================================
   Header dropdown (Services ▸ service pages)
   ====================================================================== */

.mq-nav__list > li {
	position: relative;
	display: flex;
	align-items: center;
}

/* "button" selectors beat the Elementor kit's global ".elementor-kit-N button" style. */
.mq-nav button.mq-sub-toggle,
.mq-nav button.mq-nav__toggle,
.mq-search button {
	box-shadow: none;
	font-size: inherit;
	line-height: 1;
}

.mq-nav button.mq-sub-toggle,
.mq-nav button.mq-sub-toggle:hover,
.mq-nav button.mq-sub-toggle:focus {
	border: 0;
	background: transparent;
	color: var(--mq-navy);
}

.mq-nav button.mq-sub-toggle:hover,
.mq-nav button.mq-sub-toggle:focus-visible {
	background: var(--mq-lavender);
	color: var(--mq-primary);
}

.mq-nav button.mq-nav__toggle {
	border: 1px solid var(--mq-border);
	background: var(--mq-white);
	color: var(--mq-navy);
}

.mq-nav button.mq-nav__toggle:hover,
.mq-nav button.mq-nav__toggle:focus-visible {
	background: var(--mq-lavender);
	color: var(--mq-navy);
}

.mq-sub-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin-left: 2px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: var(--mq-navy);
	cursor: pointer;
}

.mq-sub-toggle:hover,
.mq-sub-toggle:focus {
	background: var(--mq-lavender);
	color: var(--mq-primary);
}

.mq-sub-toggle svg {
	transition: transform 0.25s var(--mq-ease);
}

.is-sub-open > .mq-sub-toggle svg {
	transform: rotate(180deg);
}

.mq-nav .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 1025px) {
	.mq-nav .sub-menu {
		position: absolute;
		top: 100%;
		left: -16px;
		z-index: 20;
		min-width: 270px;
		padding: 10px;
		border: 1px solid var(--mq-border);
		border-radius: var(--mq-radius);
		background: var(--mq-white);
		box-shadow: 0 20px 48px rgba(29, 8, 65, 0.12);
		opacity: 0;
		visibility: hidden;
		transform: translateY(8px);
		transition: opacity 0.2s var(--mq-ease), transform 0.2s var(--mq-ease), visibility 0.2s;
	}

	.mq-nav__list > li:hover > .sub-menu,
	.mq-nav__list > li.is-sub-open > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.mq-nav .sub-menu a {
		padding: 10px 12px;
		border-radius: var(--mq-radius-sm);
		font-size: 15px;
		font-weight: 600;
		white-space: nowrap;
	}

	.mq-nav .sub-menu a::after {
		display: none;
	}

	.mq-nav .sub-menu a:hover,
	.mq-nav .sub-menu .current-menu-item > a {
		background: var(--mq-lavender);
		color: var(--mq-primary);
	}
}

@media (max-width: 1024px) {
	.mq-nav__list > li {
		flex-wrap: wrap;
	}

	.mq-nav__list > li > a {
		flex: 1;
	}

	.mq-sub-toggle {
		width: 44px;
		height: 44px;
	}

	.mq-nav .sub-menu {
		display: none;
		width: 100%;
		padding: 4px 0 8px 14px;
	}

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

	.mq-nav .sub-menu a {
		padding: 10px 0;
		border-bottom: 0;
		font-size: 15px;
	}

	.mq-nav__panel {
		max-height: calc(100vh - 80px);
		overflow-y: auto;
	}
}

/* ======================================================================
   Footer (digtek-style): CTA band, 4 columns, bottom bar, back to top
   ====================================================================== */

.mq-footer-cta-wrap {
	position: relative;
	z-index: 1;
	margin-bottom: -88px;
}

.mq-footer-cta {
	position: relative;
	overflow: hidden;
	border-radius: 24px;
	background: linear-gradient(120deg, var(--mq-primary) 0%, #4a1590 55%, var(--mq-purple) 100%);
	box-shadow: 0 24px 60px rgba(59, 13, 122, 0.35);
}

.mq-footer-cta::before,
.mq-footer-cta::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.mq-footer-cta::before {
	top: -90px;
	right: 18%;
	width: 220px;
	height: 220px;
	border: 32px solid rgba(255, 255, 255, 0.08);
}

.mq-footer-cta::after {
	bottom: -80px;
	left: -40px;
	width: 200px;
	height: 200px;
	background: rgba(255, 255, 255, 0.07);
}

.mq-footer-cta > * {
	position: relative;
	z-index: 1;
}

/* Homepage already ends with the contact section: no second CTA there. */
.home .mq-footer-cta-wrap {
	display: none;
}

.home .mq-site-footer {
	padding-top: 72px;
}

.mq-site-footer {
	padding-top: 160px;
}

.elementor .mq-footer-cta .mq-btn-white .elementor-button {
	white-space: nowrap;
}

.mq-footer-brand .mq-footer__logo,
.mq-footer-brand .mq-footer__logo a {
	text-align: left;
	justify-content: flex-start;
}

.mq-footer-brand .mq-footer__logo img {
	margin: 0;
}

/* Kit button padding (14px 22px) would squeeze the icon to a dot. */
.mq-search button,
.mq-nav button.mq-sub-toggle,
.mq-nav button.mq-nav__toggle {
	padding: 0;
}

.mq-search button svg {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	display: block;
	color: var(--mq-white);
	stroke: currentColor;
}

/* Footer CTA button: yellow on the dark purple footer. */
.elementor .mq-site-footer .elementor-button {
	background: var(--mq-yellow);
	color: var(--mq-navy);
}

.elementor .mq-site-footer .elementor-button:hover,
.elementor .mq-site-footer .elementor-button:focus-visible {
	background: var(--mq-yellow-dark);
	color: var(--mq-navy);
}

.mq-footer-col .mq-footer-head .elementor-heading-title {
	position: relative;
	padding-bottom: 12px;
}

.mq-footer-col .mq-footer-head .elementor-heading-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 32px;
	height: 3px;
	border-radius: 3px;
	background: var(--mq-yellow);
}

.mq-footer-links ul {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mq-footer-links a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #ece4f8;
	font-size: 15px;
	text-decoration: none;
	transition: color 0.2s, transform 0.2s var(--mq-ease);
}

.mq-footer-links a::before {
	content: "›";
	color: var(--mq-yellow);
	font-weight: 700;
}

.mq-footer-links a:hover {
	color: var(--mq-white);
	transform: translateX(3px);
}

.mq-contact-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mq-contact-list li,
.mq-contact-list a {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: #d4c6ea;
	font-size: 15px;
	text-decoration: none;
}

.mq-contact-list a:hover {
	color: var(--mq-white);
}

.mq-contact-list__icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: rgba(217, 253, 138, 0.16);
	color: #d9fd8a;
}

.mq-contact-list__icon svg {
	width: 18px;
	height: 18px;
}

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

.mq-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 10px;
	color: var(--mq-white);
	transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--mq-ease);
}

.mq-social a:hover {
	border-color: var(--mq-primary);
	background: var(--mq-primary);
	color: var(--mq-white);
	transform: translateY(-2px);
}

.mq-site-footer .mq-recent__title {
	color: var(--mq-white);
}

.mq-site-footer .mq-recent time {
	color: #b6a6d2;
}

.mq-footer-bottom .mq-inline-menu a {
	color: #d4c6ea;
	font-size: 14px;
	font-weight: 500;
}

.mq-footer-bottom .mq-inline-menu a:hover {
	color: var(--mq-white);
}

/* Footer CTA card ([mq_footer_cta]) */
.mq-fcta {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 32px 48px;
	overflow: hidden;
	padding: 52px 56px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 28px;
	/* Deeper shade of the logo purple so the card stands out on the logo-purple footer. */
	background:
		radial-gradient(120% 140% at 100% 0%, rgba(139, 98, 204, 0.35) 0%, transparent 55%),
		linear-gradient(115deg, #1d0841 0%, #2a0858 60%, #36106a 100%);
	box-shadow: 0 30px 70px rgba(29, 8, 65, 0.45);
	isolation: isolate;
}

.mq-fcta__glow {
	position: absolute;
	top: -120px;
	left: -80px;
	z-index: -1;
	width: 340px;
	height: 340px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 70%);
}

.mq-fcta__bars {
	position: absolute;
	right: 36px;
	bottom: 0;
	z-index: -1;
	display: flex;
	align-items: flex-end;
	gap: 10px;
	height: 120px;
	opacity: 0.18;
}

.mq-fcta__bars i {
	display: block;
	width: 18px;
	border-radius: 5px 5px 0 0;
	background: var(--mq-white);
}

.mq-fcta__bars i:nth-child(1) { height: 28%; }
.mq-fcta__bars i:nth-child(2) { height: 40%; }
.mq-fcta__bars i:nth-child(3) { height: 36%; }
.mq-fcta__bars i:nth-child(4) { height: 58%; }
.mq-fcta__bars i:nth-child(5) { height: 76%; }
.mq-fcta__bars i:nth-child(6) { height: 100%; }

.mq-fcta__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	padding: 6px 14px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	color: var(--mq-white);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.mq-fcta__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #d9fd8a;
	box-shadow: 0 0 0 4px rgba(217, 253, 138, 0.25);
}

.mq-fcta .mq-fcta__title {
	margin: 0 0 10px;
	color: var(--mq-white);
	font-size: clamp(28px, 3.4vw, 42px);
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.mq-fcta__text {
	max-width: 560px;
	margin: 0;
	color: #ece4f8;
	font-size: 17px;
	line-height: 1.6;
}

.mq-fcta__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 14px;
}

a.mq-fcta__btn {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 8px 8px 8px 26px;
	border-radius: 999px;
	background: var(--mq-white);
	color: var(--mq-navy);
	font: 700 16px/1.2 var(--mq-font-body);
	white-space: nowrap;
	text-decoration: none;
	box-shadow: 0 12px 30px rgba(22, 5, 48, 0.25);
	transition: transform 0.25s var(--mq-ease), box-shadow 0.25s var(--mq-ease);
}

.mq-fcta__btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--mq-primary);
	color: var(--mq-white);
	transition: transform 0.25s var(--mq-ease), background-color 0.25s;
}

a.mq-fcta__btn:hover,
a.mq-fcta__btn:focus-visible {
	color: var(--mq-navy);
	transform: translateY(-2px);
	box-shadow: 0 18px 40px rgba(22, 5, 48, 0.32);
}

a.mq-fcta__btn:hover .mq-fcta__btn-icon {
	background: var(--mq-purple);
	transform: translateX(3px) rotate(-45deg);
}

a.mq-fcta__alt {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--mq-white);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	opacity: 0.92;
}

a.mq-fcta__alt:hover {
	color: var(--mq-white);
	opacity: 1;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 1024px) {
	.mq-fcta {
		grid-template-columns: 1fr;
		padding: 44px 40px;
	}

	.mq-fcta__actions {
		align-items: flex-start;
	}
}

@media (max-width: 767px) {
	.mq-fcta {
		padding: 32px 22px;
		border-radius: 22px;
	}

	.mq-fcta__bars {
		right: 16px;
		height: 80px;
	}

	a.mq-fcta__btn {
		justify-content: space-between;
		width: 100%;
	}
}

/* Quick contact: fixed WhatsApp button */
a.mq-wa {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 95;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px;
	border-radius: 999px;
	background: #25d366;
	color: var(--mq-white);
	font: 700 15px/1 var(--mq-font-body);
	text-decoration: none;
	box-shadow: 0 12px 28px rgba(18, 140, 70, 0.35);
	transition: transform 0.25s var(--mq-ease), box-shadow 0.25s var(--mq-ease), background-color 0.25s;
}

a.mq-wa:hover,
a.mq-wa:focus-visible {
	background: #1ebe5b;
	color: var(--mq-white);
	transform: translateY(-2px);
	box-shadow: 0 16px 34px rgba(18, 140, 70, 0.45);
}

.mq-wa__icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
}

/* Gentle attention ring (off for reduced motion via theme.css). */
.mq-wa__icon::after {
	content: "";
	position: absolute;
	inset: -6px;
	border-radius: 50%;
	border: 2px solid rgba(37, 211, 102, 0.55);
	animation: mq-wa-pulse 2.4s var(--mq-ease) infinite;
}

@keyframes mq-wa-pulse {
	0% { transform: scale(0.85); opacity: 1; }
	70%, 100% { transform: scale(1.25); opacity: 0; }
}

.mq-wa__label {
	padding-right: 14px;
}

@media (max-width: 767px) {
	a.mq-wa {
		right: 14px;
		bottom: 14px;
	}

	.mq-wa__label {
		display: none;
	}
}

/* Back to top (sits above the WhatsApp button). a.mq-to-top beats the kit link colour. */
a.mq-to-top,
.mq-to-top {
	position: fixed;
	right: 26px;
	bottom: 96px;
	z-index: 90;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--mq-yellow); /* visible on white pages and on the purple footer */
	color: var(--mq-primary);
	box-shadow: 0 10px 24px rgba(29, 8, 65, 0.3);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.3s var(--mq-ease), transform 0.3s var(--mq-ease), visibility 0.3s, background-color 0.2s;
}

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

a.mq-to-top,
a.mq-to-top:hover,
a.mq-to-top:focus-visible {
	color: var(--mq-primary);
}

a.mq-to-top:hover {
	background: var(--mq-yellow-dark);
}

@media (max-width: 767px) {
	a.mq-to-top {
		right: 20px;
		bottom: 90px;
	}
}

/* Testimonials (enhanced card) */
/* Purple stars: the lime accent is too light on the pale testimonial cards. */
.mq-quote__stars {
	display: flex;
	gap: 2px;
	color: var(--mq-primary);
}

.mq-quote__who {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0;
	border: 0;
}

.mq-quote .mq-quote__avatar {
	width: 44px;
	height: 44px;
	font-size: 15px;
}

.mq-quote__name {
	display: block;
	color: var(--mq-navy);
	font-size: 15px;
	font-weight: 700;
}

.mq-quote__role {
	display: block;
	color: var(--mq-muted);
	font-size: 13px;
}

/* ======================================================================
   Responsive
   ====================================================================== */

@media (max-width: 1024px) {
	.mq-layout {
		grid-template-columns: 1fr;
	}

	.mq-sidebar--sticky {
		position: static;
	}

	.mq-service-grid,
	.mq-cases--grid,
	.mq-post-grid--3 {
		grid-template-columns: repeat(2, 1fr);
	}

	.mq-banner__bars {
		display: none;
	}
}

@media (max-width: 767px) {
	.mq-banner {
		padding: 12px 12px 0;
	}

	.mq-banner__inner {
		padding: 48px 18px 40px;
		border-radius: 20px;
	}

	.mq-banner__intro {
		font-size: 16px;
	}

	.mq-tpl-section {
		padding-block: 36px 64px;
	}

	.mq-service-grid,
	.mq-cases--grid,
	.mq-post-grid,
	.mq-post-grid--3,
	.mq-contact-cards,
	.mq-post-nav .nav-links,
	.mq-form-row {
		grid-template-columns: 1fr;
	}

	.mq-post-nav .nav-next {
		text-align: left;
	}

	.mq-footer-cta-wrap {
		margin-bottom: -60px;
	}

	.mq-site-footer {
		padding-top: 110px;
	}

	.mq-photo-badge {
		left: 12px;
	}
}

/* ======================================================================
   SEO Portfolio ([mq_portfolio_nav], [mq_seo_portfolio])
   ====================================================================== */

/* Sticky project chips */
.mq-pf-nav {
	position: sticky;
	top: calc(76px + var(--wp-admin--admin-bar--height, 0px));
	z-index: 20;
	padding: 12px 0;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(160%) blur(8px);
}

.mq-pf-nav ul {
	display: flex;
	gap: 10px;
	margin: 0;
	padding: 0 2px;
	overflow-x: auto;
	list-style: none;
	scrollbar-width: none;
}

.mq-pf-nav ul::-webkit-scrollbar {
	display: none;
}

.mq-pf-nav a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px 9px 9px;
	border: 1px solid var(--mq-border);
	border-radius: 999px;
	background: var(--mq-white);
	color: var(--mq-navy);
	font-weight: 700;
	white-space: nowrap;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.mq-pf-nav a span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--mq-lavender);
	color: var(--mq-primary);
	font-size: 12px;
}

.mq-pf-nav a:hover,
.mq-pf-nav a:focus-visible {
	border-color: var(--mq-primary);
	background: var(--mq-primary);
	color: var(--mq-white);
}

.mq-pf-nav a:hover span {
	background: var(--mq-yellow);
	color: var(--mq-navy);
}

/* Projects */
.mq-pf {
	display: flex;
	flex-direction: column;
	gap: 96px;
}

.mq-pf__project {
	scroll-margin-top: 150px;
}

.mq-pf__head {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
}

.mq-pf__num {
	color: transparent;
	font: 800 64px/1 var(--mq-font-heading);
	letter-spacing: -0.04em;
	-webkit-text-stroke: 1.6px var(--mq-primary);
}

.mq-pf__chip {
	padding: 7px 14px;
	border-radius: 999px;
	background: var(--mq-yellow);
	color: var(--mq-navy);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.mq-pf__intro {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 40px;
	align-items: stretch;
}

.mq-pf__logo-wrap {
	display: inline-flex;
	align-items: center;
	min-height: 84px;
	margin-bottom: 18px;
	padding: 14px 22px;
	border: 1px solid var(--mq-border);
	border-radius: 16px;
	background: var(--mq-white);
}

.mq-pf__logo {
	display: block;
	width: auto;
	max-width: 240px;
	max-height: 56px;
}

.mq-pf .mq-pf__title {
	margin: 0 0 6px;
	font-size: clamp(28px, 3.2vw, 40px);
	line-height: 1.12;
}

.mq-pf__subtitle {
	margin: 0 0 14px;
	color: var(--mq-primary);
	font-size: 18px;
	font-weight: 700;
}

.mq-pf__text {
	margin: 0 0 18px;
	font-size: 16px;
	line-height: 1.7;
}

.mq-pf__goal {
	padding: 16px 20px;
	border-left: 4px solid var(--mq-primary);
	border-radius: 0 14px 14px 0;
	background: var(--mq-lavender);
}

.mq-pf__goal-label {
	display: block;
	margin-bottom: 2px;
	color: var(--mq-primary);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.mq-pf__goal p {
	margin: 0;
	color: var(--mq-navy);
	font-size: 17px;
	font-weight: 700;
}

/* Impact card */
.mq-pf__impact {
	padding: 30px;
	border-radius: 24px;
	background:
		radial-gradient(80% 90% at 100% 0%, rgba(139, 98, 204, 0.35), transparent 60%),
		linear-gradient(150deg, var(--mq-navy) 0%, var(--mq-primary) 100%);
	box-shadow: 0 24px 56px rgba(59, 13, 122, 0.22);
}

.mq-pf__impact-title {
	margin: 0 0 22px;
	color: var(--mq-white);
	font: 800 22px/1.2 var(--mq-font-heading);
}

.mq-pf__stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mq-pf__stat {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.07);
}

.mq-pf__stat-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin-bottom: 4px;
	border-radius: 12px;
	background: var(--mq-yellow);
	color: var(--mq-navy);
}

.mq-pf__stat-value {
	color: var(--mq-white);
	font: 800 clamp(26px, 2.6vw, 34px)/1 var(--mq-font-heading);
	letter-spacing: -0.02em;
}

.mq-pf__stat-label {
	color: #e9dff7;
	font-size: 14px;
	line-height: 1.35;
}

/* Requirements vs achievements */
.mq-pf__compare {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-top: 28px;
}

.mq-pf__box {
	padding: 30px;
	border-radius: 24px;
}

.mq-pf__box h3 {
	margin: 0 0 8px;
	font-size: 22px;
}

.mq-pf__box > p {
	margin: 0 0 16px;
	font-size: 15px;
	line-height: 1.6;
}

.mq-pf__box ul {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mq-pf__box li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.45;
}

.mq-pf__tick {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	border-radius: 50%;
}

.mq-pf__box--req {
	border: 1px solid var(--mq-border);
	background: var(--mq-white);
}

.mq-pf__box--req li {
	color: var(--mq-navy);
}

.mq-pf__box--req .mq-pf__tick {
	background: var(--mq-lavender);
	color: var(--mq-primary);
}

.mq-pf__box--ach {
	background: var(--mq-primary);
}

.mq-pf__box--ach h3,
.mq-pf__box--ach li {
	color: var(--mq-white);
}

.mq-pf__box--ach > p {
	color: #e9dff7;
}

.mq-pf__box--ach .mq-pf__tick {
	background: var(--mq-yellow);
	color: var(--mq-navy);
}

/* Proof gallery */
.mq-pf__proofs-wrap {
	margin-top: 28px;
	padding: 26px;
	border-radius: 24px;
	background: var(--mq-lavender);
}

.mq-pf__proofs-title {
	margin: 0 0 16px;
	color: var(--mq-navy);
	font: 800 14px/1 var(--mq-font-heading);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.mq-pf__proofs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.mq-pf__proofs--4 {
	grid-template-columns: repeat(4, 1fr);
}

.mq-pf__proof {
	position: relative;
	display: block;
	overflow: hidden;
	border: 1px solid var(--mq-border);
	border-radius: 14px;
	background: var(--mq-white);
	transition: transform 0.3s var(--mq-ease), box-shadow 0.3s var(--mq-ease);
}

.mq-pf__proof img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1400 / 683;
	object-fit: cover;
}

.mq-pf__zoom {
	position: absolute;
	right: 10px;
	bottom: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--mq-primary);
	color: var(--mq-white);
	opacity: 0;
	transform: scale(0.8);
	transition: opacity 0.25s, transform 0.25s var(--mq-ease);
}

.mq-pf__proof:hover,
.mq-pf__proof:focus-visible {
	transform: translateY(-3px);
	box-shadow: var(--mq-shadow-hover);
}

.mq-pf__proof:hover .mq-pf__zoom,
.mq-pf__proof:focus-visible .mq-pf__zoom {
	opacity: 1;
	transform: none;
}

.mq-pf__more {
	margin: 18px 0 0;
}

@media (max-width: 1024px) {
	.mq-pf__intro,
	.mq-pf__compare {
		grid-template-columns: 1fr;
	}

	.mq-pf__proofs--4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.mq-pf-nav {
		top: calc(68px + var(--wp-admin--admin-bar--height, 0px));
	}
}

@media (max-width: 767px) {
	.mq-pf {
		gap: 64px;
	}

	.mq-pf__num {
		font-size: 48px;
	}

	.mq-pf__impact,
	.mq-pf__box,
	.mq-pf__proofs-wrap {
		padding: 20px;
		border-radius: 20px;
	}

	.mq-pf__stat {
		padding: 14px;
	}

	.mq-pf__proofs,
	.mq-pf__proofs--4 {
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}
}
