/**
 * Marqent homepage in the reference (digtek) style. Loaded on the front page only.
 * Class names map to CSS Classes on Elementor elements (Advanced tab) and to [mq_*] shortcodes.
 */

/* ======================================================================
   Shared homepage pieces
   ====================================================================== */

.home .mq-section h2.elementor-heading-title {
	font-size: clamp(30px, 3.6vw, 46px);
	line-height: 1.12;
	letter-spacing: -0.03em;
}

/* Section header: title left, italic note with a rule on the right. */
.mq-head-row {
	margin-bottom: 20px;
}

.mq-side-note p {
	margin: 0;
	padding-left: 20px;
	border-left: 2px solid var(--mq-primary);
	color: var(--mq-muted);
	font-size: 16px;
	font-style: italic;
	line-height: 1.6;
}

.mq-dark .mq-side-note p,
.mq-on-color .mq-side-note p {
	border-left-color: rgba(255, 255, 255, 0.6);
	color: #ece4f8;
}

.mq-center,
.mq-center .elementor-widget-container,
.mq-center .elementor-heading-title {
	text-align: center;
}

.mq-center h2.elementor-heading-title {
	margin-inline: auto;
}

/* Pill buttons with an arrow circle (Elementor Button widget + icon). */
.elementor .mq-btn-pill .elementor-button {
	padding: 7px 7px 7px 26px;
	border-radius: 999px;
	white-space: nowrap;
	font-size: 15px;
	letter-spacing: 0.01em;
}

.elementor .mq-btn-pill .elementor-button-content-wrapper {
	align-items: center;
	gap: 14px;
}

/* Elementor already places the icon after the text (icon_align: right). */
.elementor .mq-btn-pill .elementor-button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--mq-yellow);
	color: var(--mq-primary);
	fill: currentColor;
	transition: transform 0.25s var(--mq-ease), background-color 0.25s;
}

.elementor .mq-btn-pill .elementor-button-icon svg {
	width: 15px;
	height: 15px;
	fill: currentColor;
}

.elementor .mq-btn-pill .elementor-button:hover .elementor-button-icon {
	transform: rotate(-45deg);
}

.elementor .mq-btn-pill--white .elementor-button {
	background: var(--mq-white);
	color: var(--mq-navy);
}

.elementor .mq-btn-pill--white .elementor-button:hover {
	background: var(--mq-white);
	color: var(--mq-navy);
	box-shadow: 0 14px 34px rgba(22, 5, 48, 0.3);
}

.elementor .mq-btn-pill--white .elementor-button-icon {
	background: var(--mq-yellow);
	color: var(--mq-primary);
}

/* Yellow pill (main CTA on white): yellow body, purple text and purple arrow circle. */
.elementor .mq-btn-pill--yellow .elementor-button {
	background: var(--mq-yellow);
	color: var(--mq-navy);
	box-shadow: 0 12px 28px rgba(217, 253, 138, 0.35);
}

.elementor .mq-btn-pill--yellow .elementor-button:hover,
.elementor .mq-btn-pill--yellow .elementor-button:focus-visible {
	background: var(--mq-yellow-dark);
	color: var(--mq-navy);
	box-shadow: 0 16px 34px rgba(217, 253, 138, 0.45);
}

.elementor .mq-btn-pill--yellow .elementor-button-icon {
	background: var(--mq-primary);
	color: var(--mq-white);
}

/* Outline pill on white backgrounds. */
.elementor .mq-btn-pill--outline-dark .elementor-button {
	padding: 16px 26px;
	background: transparent;
	color: var(--mq-primary);
	box-shadow: inset 0 0 0 1.5px var(--mq-primary);
}

.elementor .mq-btn-pill--outline-dark .elementor-button:hover,
.elementor .mq-btn-pill--outline-dark .elementor-button:focus-visible {
	background: var(--mq-primary);
	color: var(--mq-white);
}

.elementor .mq-btn-pill--outline .elementor-button {
	padding: 16px 26px;
	background: transparent;
	color: var(--mq-white);
	box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7);
}

.elementor .mq-btn-pill--outline .elementor-button:hover {
	background: rgba(255, 255, 255, 0.12);
	color: var(--mq-white);
	box-shadow: inset 0 0 0 1.5px var(--mq-white);
}

/* Photo frames with floating badges (badges anchor to the frame, not to their widget). */
.mq-photo-frame {
	position: relative;
}

.mq-photo-frame > .elementor-widget-html,
.mq-photo-frame > .elementor-widget-html > .elementor-widget-container {
	position: static;
}

.mq-photo-frame img {
	display: block;
	width: 100%;
	border-radius: 28px;
	box-shadow: 0 30px 70px rgba(29, 8, 65, 0.16);
}

.mq-float {
	position: absolute;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	border-radius: 16px;
	background: var(--mq-white);
	box-shadow: 0 18px 44px rgba(29, 8, 65, 0.16);
	animation: mq-float 6s ease-in-out infinite;
}

.mq-float strong {
	display: block;
	color: var(--mq-navy);
	font: 800 22px/1 var(--mq-font-heading);
}

.mq-float div > span {
	color: var(--mq-muted);
	font-size: 13px;
}

.mq-float__icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--mq-primary), var(--mq-purple));
	color: var(--mq-white);
}

.mq-float .mq-float__icon svg {
	stroke: currentColor;
}

.mq-float--tl { top: 28px; left: -28px; }
.mq-float--br { right: -24px; bottom: 36px; animation-delay: -3s; }

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

/* ======================================================================
   1. Hero
   ====================================================================== */

/* White hero (client request), with soft purple/yellow glows and a faint dot grid. */
.mq-hero2 {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(45% 60% at 92% 20%, rgba(139, 98, 204, 0.14) 0%, transparent 70%),
		radial-gradient(30% 40% at 70% 95%, rgba(217, 253, 138, 0.12) 0%, transparent 70%),
		var(--mq-white);
	color: var(--mq-navy);
}

.mq-hero2::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(59, 13, 122, 0.1) 1px, transparent 1px);
	background-size: 26px 26px;
	-webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
	mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
	pointer-events: none;
}

.mq-hero2 > .e-con-inner {
	position: relative;
	z-index: 1;
}

.mq-hero2__outline {
	position: absolute;
	top: 18px;
	left: 50%;
	z-index: 0;
	transform: translateX(-50%);
	color: transparent;
	font: 800 clamp(90px, 16vw, 230px)/1 var(--mq-font-heading);
	letter-spacing: -0.04em;
	white-space: nowrap;
	-webkit-text-stroke: 2px rgba(59, 13, 122, 0.08);
	pointer-events: none;
	user-select: none;
}

.mq-hero2 .elementor-widget-html.mq-hero2__outline-wrap {
	position: absolute;
	inset: 0;
	margin: 0;
}

.mq-hero2 .mq-eyebrow .elementor-heading-title {
	padding: 0;
	background: none;
	color: var(--mq-primary);
	letter-spacing: 0.2em;
	font-size: 14px;
}

/* Solid accent badge (a light lime tint would vanish on white). */
.mq-hero2 .mq-badge .elementor-heading-title {
	border-color: var(--mq-yellow);
	background: var(--mq-yellow);
	color: var(--mq-navy);
	font-weight: 700;
}

/* Short dash before the hero label (purple: a thin lime line is invisible on white). */
.mq-hero2 .mq-eyebrow .elementor-heading-title::before {
	content: "";
	display: inline-block;
	width: 28px;
	height: 3px;
	margin-right: 10px;
	border-radius: 3px;
	background: var(--mq-primary);
	vertical-align: middle;
}

.mq-hero2 h1.elementor-heading-title {
	font-size: clamp(40px, 5.6vw, 72px);
	line-height: 1.02;
	letter-spacing: -0.04em;
}

.mq-hero2__checks ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mq-hero2__checks li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--mq-navy);
	font-size: 15px;
	font-weight: 700;
}

.mq-hero2__checks li::before {
	content: "";
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--mq-yellow) 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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Hero visual: image card + floating chart + rotating badge */
.mq-hero-visual {
	position: relative;
	padding: 0 0 64px 48px;
}

.mq-hero-visual__frame {
	overflow: hidden;
	border: 6px solid var(--mq-white);
	border-radius: 32px;
	background: var(--mq-lavender);
	box-shadow: 0 40px 80px rgba(59, 13, 122, 0.18), 0 0 0 1px var(--mq-border);
}

.mq-hero-visual__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.mq-hero-visual__chart {
	position: absolute;
	left: 0;
	bottom: 0;
	width: min(330px, 68%);
	animation: mq-float 7s ease-in-out infinite;
}

.mq-hero-visual__chart .mq-chart {
	padding: 18px 18px 20px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 28px 60px rgba(22, 5, 48, 0.45);
}

.mq-hero-visual__chart .mq-bars {
	height: 70px;
	margin: 14px 0 14px;
	gap: 6px;
}

.mq-hero-visual__chart .mq-chart__stat dd {
	font-size: 22px;
}

.mq-hero-visual__chart .mq-chart__stat dt {
	font-size: 11px;
}

.mq-hero-visual__badge {
	position: absolute;
	top: -26px;
	right: -18px;
	width: 132px;
	height: 132px;
	color: var(--mq-yellow);
	filter: drop-shadow(0 14px 30px rgba(217, 253, 138, 0.35));
	animation: mq-spin 16s linear infinite;
}

.mq-hero-visual__badge text {
	fill: var(--mq-primary);
	font: 700 15.5px var(--mq-font-body);
	letter-spacing: 2.4px;
}

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

/* ======================================================================
   2. Ribbons
   ====================================================================== */

.mq-ribbons {
	position: relative;
	overflow: hidden;
	padding: 34px 0;
	background: var(--mq-white);
}

.mq-ribbon {
	position: relative;
	overflow: hidden;
	margin: 0 -40px;
	padding: 16px 0;
}

.mq-ribbon--light {
	z-index: 2;
	border-block: 1px solid var(--mq-navy);
	background: var(--mq-white);
	color: var(--mq-navy);
	transform: rotate(-2deg);
}

.mq-ribbon--accent {
	z-index: 1;
	margin-top: -12px;
	background: linear-gradient(90deg, var(--mq-primary), var(--mq-purple));
	color: var(--mq-white);
	transform: rotate(1.5deg);
}

.mq-ribbon__track {
	display: flex;
	width: max-content;
	animation: mq-marquee 60s linear infinite;
}

.mq-ribbon--accent .mq-ribbon__track {
	animation-direction: reverse;
}

.mq-ribbon__run {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.mq-ribbon__item {
	padding: 0 22px;
	font: 800 clamp(20px, 2.4vw, 30px)/1 var(--mq-font-heading);
	letter-spacing: -0.01em;
	text-transform: uppercase;
	white-space: nowrap;
}

.mq-ribbon__star {
	flex-shrink: 0;
	width: 26px;
	height: 26px;
}

/* ======================================================================
   3. Trusted by (borderless logos)
   ====================================================================== */

.mq-clients2 h2.elementor-heading-title {
	text-align: center;
	margin-inline: auto;
}

.mq-clients2 .mq-logo {
	border-color: transparent;
	background: transparent;
}

.mq-clients2 .mq-logo:hover {
	border-color: var(--mq-border);
	background: var(--mq-white);
}

/* ======================================================================
   4. Who we work with (about layout) + tabs
   ====================================================================== */

.mq-audiences2 .mq-tabs .e-n-tabs-heading {
	flex-wrap: wrap;
}

.mq-audiences2 .elementor-widget-n-tabs.mq-tabs .e-n-tab-title {
	border-radius: 999px;
	padding: 10px 20px;
}

.mq-audience2 {
	padding: 24px;
	border: 1px solid var(--mq-border);
	border-radius: 20px;
	background: var(--mq-white);
	box-shadow: var(--mq-shadow);
}

.mq-audience2 .mq-mini-label .elementor-heading-title {
	padding: 0;
	background: none;
}

/* ======================================================================
   5. Services
   ====================================================================== */

.mq-services2 .mq-service {
	position: relative;
	border-radius: 20px;
	padding: 28px;
	transition: transform 0.35s var(--mq-ease), box-shadow 0.35s var(--mq-ease), border-color 0.35s var(--mq-ease);
}

.mq-services2 .mq-service::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: linear-gradient(135deg, rgba(59, 13, 122, 0.06), rgba(91, 34, 168, 0.08));
	opacity: 0;
	transition: opacity 0.35s var(--mq-ease);
}

.mq-services2 .mq-service:hover {
	border-color: rgba(59, 13, 122, 0.35);
	transform: translateY(-6px);
	box-shadow: 0 24px 50px rgba(59, 13, 122, 0.14);
}

.mq-services2 .mq-service:hover::before {
	opacity: 1;
}

.mq-services2 .mq-icon {
	width: 54px;
	height: 54px;
	border-radius: 16px;
	background: linear-gradient(135deg, var(--mq-primary), var(--mq-purple));
	color: var(--mq-white);
	box-shadow: 0 10px 24px rgba(59, 13, 122, 0.28);
}

.mq-services2 .mq-icon svg {
	width: 24px;
	height: 24px;
}

.mq-services2 .mq-arrow-link {
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* 8th card: call to action */
.mq-services2 .mq-service-cta {
	justify-content: space-between;
	border: 0;
	background: linear-gradient(150deg, var(--mq-navy) 0%, #2a0858 100%);
}

.mq-services2 .mq-service-cta h3.elementor-heading-title,
.mq-services2 .mq-service-cta p {
	color: var(--mq-white);
}

/* ======================================================================
   6. Free audit band
   ====================================================================== */

.mq-cta2__band {
	position: relative;
	overflow: hidden;
	border-radius: 28px;
	background:
		radial-gradient(70% 120% at 100% 0%, rgba(139, 98, 204, 0.6), transparent 60%),
		linear-gradient(115deg, #2a0858 0%, var(--mq-primary) 50%, #4f1a9a 100%);
	box-shadow: 0 30px 70px rgba(42, 8, 88, 0.3);
}

.mq-cta2__band::after {
	content: "";
	position: absolute;
	right: -60px;
	bottom: -90px;
	width: 300px;
	height: 300px;
	border: 40px solid rgba(255, 255, 255, 0.08);
	border-radius: 50%;
}

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

/* ======================================================================
   7. Case studies as projects
   ====================================================================== */

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

.mq-project {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--mq-border);
	border-radius: 24px;
	background: var(--mq-white);
	transition: transform 0.35s var(--mq-ease), box-shadow 0.35s var(--mq-ease);
}

.mq-project:hover {
	transform: translateY(-6px);
	box-shadow: 0 26px 56px rgba(29, 8, 65, 0.12);
}

.mq-project__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: var(--mq-lavender);
}

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

.mq-project:hover .mq-project__img {
	transform: scale(1.05);
}

.mq-project__num {
	position: absolute;
	top: 18px;
	right: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--mq-white);
	color: var(--mq-navy);
	font: 700 14px/1 var(--mq-font-heading);
	box-shadow: 0 8px 20px rgba(22, 5, 48, 0.2);
}

.mq-project__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 24px 26px 28px;
}

.mq-project__cat {
	margin: 0;
	color: var(--mq-purple);
	font-size: 13px;
	font-weight: 700;
}

.mq-project .mq-project__title {
	margin: 0;
	font-size: 20px;
	line-height: 1.3;
}

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

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

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

.mq-project__link {
	margin-top: auto;
	padding-top: 6px;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.mq-project--lead {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 1.15fr 1fr;
}

.mq-project--lead .mq-project__media {
	aspect-ratio: auto;
	min-height: 360px;
}

/* Beats Elementor's ".elementor img { height: auto }" so the image fills the frame. */
.mq-projects .mq-project__img {
	height: 100%;
}

.mq-projects .mq-project--lead .mq-project__img {
	position: absolute;
	inset: 0;
}

.mq-project--lead .mq-project__body {
	justify-content: center;
	gap: 14px;
	padding: 44px 48px;
}

.mq-project--lead .mq-project__title {
	font-size: clamp(24px, 2.6vw, 32px);
	line-height: 1.2;
}

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

.mq-project__chips li {
	padding: 10px 14px;
	border-radius: 12px;
	background: var(--mq-lavender);
	color: var(--mq-text);
	font-size: 13px;
}

.mq-project__chips strong {
	display: block;
	color: var(--mq-navy);
	font: 800 22px/1.1 var(--mq-font-heading);
}

/* ======================================================================
   8. Reporting (success-stories band)
   ====================================================================== */

.mq-success2 {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(60% 90% at 100% 100%, rgba(139, 98, 204, 0.45), transparent 60%),
		linear-gradient(120deg, #2a0858 0%, #3b0d7a 50%, #5b22a8 100%);
}

.mq-success2::before {
	content: "";
	position: absolute;
	left: -10%;
	right: -10%;
	bottom: -120px;
	height: 260px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
}

.mq-success2 .mq-checks li,
.mq-success2 .mq-checks li strong {
	color: var(--mq-white);
}

.mq-success2 ul.mq-checks li::before {
	background-color: rgba(255, 255, 255, 0.2);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.mq-report-visual {
	position: relative;
	padding: 0 0 120px 0;
}

.mq-report-visual__frame {
	overflow: hidden;
	width: 82%;
	margin-left: auto;
	border: 6px solid rgba(255, 255, 255, 0.18);
	border-radius: 28px;
	background: var(--mq-white);
	box-shadow: 0 30px 70px rgba(22, 5, 48, 0.3);
}

.mq-report-visual__img {
	display: block;
	width: 100%;
	height: auto;
}

.mq-report-visual__card {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 78%;
}

.mq-report-visual__card .mq-report {
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: 0 30px 70px rgba(22, 5, 48, 0.45);
}

.mq-report-visual__card .mq-report .mq-bars {
	height: 70px;
}

/* ======================================================================
   9. Testimonials slider
   ====================================================================== */

.mq-slider,
.mq-quotes-wrap {
	position: relative;
	width: 100%;
	min-width: 0;
	max-width: 100%;
}

.mq-quotes--slider {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 48px) / 3);
	grid-template-columns: none;
	gap: 24px;
	overflow-x: auto;
	padding: 8px 2px 24px;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	max-width: none;
}

.mq-quotes--slider::-webkit-scrollbar {
	display: none;
}

.mq-quotes--slider .mq-quote {
	position: relative;
	scroll-snap-align: start;
	padding: 30px 28px 28px;
	border: 0;
	border-radius: 24px;
	background: var(--mq-lavender);
}

.mq-quotes--slider .mq-quote::after {
	content: "\201D";
	position: absolute;
	top: 6px;
	right: 22px;
	background: linear-gradient(135deg, var(--mq-primary), var(--mq-purple));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font: 800 90px/1 var(--mq-font-heading);
}

.mq-slider__nav {
	display: flex;
	gap: 12px;
	margin-top: 8px;
}

.mq-slider__nav .mq-slider__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--mq-primary);
	color: var(--mq-white);
	box-shadow: 0 10px 24px rgba(59, 13, 122, 0.3);
	cursor: pointer;
	transition: background-color 0.2s, opacity 0.2s, transform 0.2s var(--mq-ease);
}

.mq-slider__nav .mq-slider__btn--prev {
	background: var(--mq-white);
	color: var(--mq-navy);
	box-shadow: 0 8px 22px rgba(29, 8, 65, 0.12);
}

.mq-slider__nav .mq-slider__btn--prev svg {
	transform: rotate(180deg);
}

.mq-slider__nav .mq-slider__btn:hover {
	transform: translateY(-2px);
}

.mq-slider__nav .mq-slider__btn:disabled {
	opacity: 0.4;
	cursor: default;
	transform: none;
}

/* ======================================================================
   10. Process: outlined numbers + connector
   ====================================================================== */

.mq-process2 .e-grid {
	position: relative;
}

.mq-process2 .mq-step {
	border-radius: 20px;
	background: var(--mq-white);
}

.mq-process2 .mq-step__num .elementor-heading-title,
.mq-process2 .mq-step-num .elementor-heading-title {
	width: auto;
	height: auto;
	background: none;
	color: transparent;
	font: 800 56px/1 var(--mq-font-heading);
	-webkit-text-stroke: 1.6px var(--mq-primary);
	letter-spacing: -0.03em;
}

.mq-process2 .mq-step:hover .mq-step__num .elementor-heading-title,
.mq-process2 .mq-step:hover .mq-step-num .elementor-heading-title {
	background: linear-gradient(135deg, var(--mq-primary), var(--mq-purple));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-stroke: 0;
}

/* ======================================================================
   11. How it works (features layout)
   ====================================================================== */

.mq-ring-frame {
	position: relative;
	aspect-ratio: 1 / 1;
	padding: 28px;
}

/* Decorations (rotating ring, floating badges) never widen the page. */
.mq-features2,
.mq-audiences2,
.mq-testimonials2 {
	overflow-x: clip;
}

.mq-ring-frame::before {
	content: "";
	position: absolute;
	inset: 0;
	border: 2px dashed rgba(59, 13, 122, 0.3);
	border-radius: 50%;
	animation: mq-spin 40s linear infinite;
}

.mq-ring-frame img {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	border: 14px solid var(--mq-white);
	border-radius: 50%;
	object-fit: cover;
	background: linear-gradient(135deg, var(--mq-primary), var(--mq-purple));
	box-shadow: 0 30px 70px rgba(59, 13, 122, 0.25);
}

.mq-features2 .mq-feature-list ul {
	display: grid;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mq-features2 .mq-feature-list li {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 16px;
	align-items: start;
	padding: 0;
}

/* Gradient check tile (overrides the small check bullet from pages.css). */
.mq-features2 .mq-feature-list li::before {
	content: "";
	position: static;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 20px no-repeat,
		linear-gradient(135deg, #3b0d7a, #5b22a8);
	box-shadow: 0 10px 22px rgba(59, 13, 122, 0.25);
}

.mq-features2 .mq-feature-list strong {
	display: block;
	margin-bottom: 2px;
	color: var(--mq-navy);
	font: 700 18px/1.3 var(--mq-font-heading);
}

/* ======================================================================
   12. FAQ as cards
   ====================================================================== */

.mq-faq--cards .e-n-accordion {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.mq-faq.mq-faq--cards .e-n-accordion-item {
	border: 1px solid var(--mq-border);
	border-radius: 16px;
	background: var(--mq-white);
	transition: border-color 0.25s, box-shadow 0.25s;
}

.mq-faq.mq-faq--cards .e-n-accordion-item[open] {
	border-color: rgba(59, 13, 122, 0.4);
	box-shadow: 0 16px 36px rgba(59, 13, 122, 0.1);
}

.mq-faq.mq-faq--cards .e-n-accordion-item-title {
	justify-content: space-between;
	padding: 20px 22px;
}

.mq-faq.mq-faq--cards .e-n-accordion-item-title-header::before {
	display: none;
}

.mq-faq.mq-faq--cards .e-n-accordion-item-title::after {
	content: "+";
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--mq-lavender);
	color: var(--mq-primary);
	font: 600 20px/1 var(--mq-font-body);
	transition: transform 0.25s var(--mq-ease), background-color 0.25s, color 0.25s;
}

.mq-faq.mq-faq--cards .e-n-accordion-item[open] > .e-n-accordion-item-title::after {
	background: var(--mq-primary);
	color: var(--mq-white);
	transform: rotate(45deg);
}

.mq-faq.mq-faq--cards .e-n-accordion-item > .e-con {
	padding: 0 22px 20px;
}

/* ======================================================================
   13. Blog cards
   ====================================================================== */

.mq-home-posts {
	margin-top: 16px;
}

/* ======================================================================
   14. Contact panel
   ====================================================================== */

.mq-contact2.e-con {
	--width: auto;
	width: auto;
	max-width: none;
	margin: 0 16px 24px;
	border-radius: 40px;
	background:
		radial-gradient(60% 90% at 100% 0%, rgba(139, 98, 204, 0.5), transparent 60%),
		linear-gradient(120deg, #2a0858 0%, #3b0d7a 50%, #5b22a8 100%);
}

.mq-contact-panel {
	border-radius: 28px;
	background: var(--mq-white);
	box-shadow: 0 30px 70px rgba(22, 5, 48, 0.25);
}

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

.mq-touch {
	position: relative;
	padding: 52px 32px 34px;
	background: linear-gradient(160deg, #3b0d7a, #5b22a8);
	color: var(--mq-white);
	clip-path: polygon(0 0, 100% 0, 92% 26px, 92% 100%, 8% 100%, 8% 26px);
	padding-inline: calc(8% + 26px);
}

.mq-touch__title {
	margin: 0 0 18px;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	color: var(--mq-white);
	font: 700 22px/1.3 var(--mq-font-heading);
}

.mq-touch .mq-contact-list li,
.mq-touch .mq-contact-list a {
	color: var(--mq-white);
}

.mq-touch .mq-contact-list li {
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.mq-touch .mq-contact-list__icon {
	background: rgba(255, 255, 255, 0.16);
	color: var(--mq-white);
}

.mq-touch__note {
	margin: 18px 0;
	color: #ece4f8;
	font-size: 14px;
}

.mq-touch .mq-social a {
	border-color: rgba(255, 255, 255, 0.3);
}

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

@media (max-width: 1024px) {
	.mq-hero-visual {
		max-width: 560px;
		margin: 24px auto 0;
	}

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

	.mq-project--lead {
		grid-template-columns: 1fr;
	}

	.mq-project--lead .mq-project__media {
		aspect-ratio: 16 / 10;
	}

	.mq-quotes--slider {
		grid-auto-columns: calc((100% - 24px) / 2);
	}

	.mq-float--tl { left: 12px; }
	.mq-float--br { right: 12px; }

	.mq-report-visual {
		max-width: 600px;
		margin: 24px auto 0;
	}
}

@media (max-width: 767px) {
	.mq-hero2__outline {
		top: 24px;
		-webkit-text-stroke-width: 1.5px;
	}

	.mq-hero-visual {
		padding: 0 0 56px 16px;
	}

	.mq-hero-visual__badge {
		top: -18px;
		right: -6px;
		width: 96px;
		height: 96px;
	}

	.mq-hero-visual__chart {
		width: 78%;
	}

	.mq-ribbons {
		padding: 22px 0;
	}

	.mq-ribbon {
		padding: 11px 0;
	}

	.mq-projects {
		grid-template-columns: 1fr;
	}

	.mq-project--lead .mq-project__body {
		padding: 26px 24px 28px;
	}

	.mq-quotes--slider {
		grid-auto-columns: 88%;
	}

	.mq-ring-frame {
		max-width: 360px;
		margin: 0 auto;
		padding: 18px;
	}

	.mq-contact2.e-con {
		margin: 0 8px 16px;
		border-radius: 28px;
	}

	.mq-touch {
		clip-path: none;
		padding: 28px 22px;
		border-radius: 20px;
	}

	.mq-float {
		padding: 10px 14px;
	}

	.mq-float strong {
		font-size: 18px;
	}

	/* Report: image on top, card overlapping its lower edge (stacked, nothing hidden). */
	.mq-report-visual {
		display: flex;
		flex-direction: column;
		padding: 0;
	}

	.mq-report-visual__frame {
		width: 100%;
	}

	.mq-report-visual__card {
		position: relative;
		width: 94%;
		margin: -48px auto 0;
	}

	.mq-report-visual__card .mq-report__kpis {
		grid-template-columns: repeat(3, 1fr);
		gap: 6px;
	}

	.mq-report-visual__card .mq-report__kpi {
		padding: 10px;
	}

	.mq-report-visual__card .mq-report__kpi strong {
		font-size: 16px;
	}

	/* Team photo: keep one badge, tucked at the bottom. */
	.mq-float--tl {
		display: none;
	}

	.mq-float--br {
		right: 12px;
		bottom: -18px;
	}

	.mq-photo-frame {
		margin-bottom: 18px;
	}

	/* Services: compact horizontal cards (icon beside the text). */
	.mq-services2 .mq-service:not(.mq-service-cta) {
		display: grid;
		grid-template-columns: 48px 1fr;
		column-gap: 16px;
		row-gap: 4px;
		align-items: start;
		padding: 20px;
	}

	.mq-services2 .mq-service:not(.mq-service-cta) > .mq-service__icon {
		grid-row: 1 / span 3;
	}

	.mq-services2 .mq-service:not(.mq-service-cta) > * {
		grid-column: 2;
		margin: 0;
	}

	.mq-services2 .mq-service:not(.mq-service-cta) > .mq-service__icon {
		grid-column: 1;
	}

	.mq-services2 .mq-icon {
		width: 48px;
		height: 48px;
		border-radius: 14px;
	}

	.mq-services2 .e-grid {
		gap: 14px;
	}

	/* Process: two per row with smaller outlined numbers. */
	.mq-process2 .e-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.mq-process2 .mq-step {
		padding: 18px;
	}

	.mq-process2 .mq-step__num .elementor-heading-title {
		font-size: 40px;
	}

	.mq-process2 .mq-step h3.elementor-heading-title {
		font-size: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mq-ribbon__track,
	.mq-hero-visual__badge,
	.mq-ring-frame::before,
	.mq-float,
	.mq-hero-visual__chart {
		animation: none;
	}
}
