/* ==========================================================================
   Quantum Galaxy – theme styles
   Colors come from theme.json presets (var(--wp--preset--color--*)).
   ========================================================================== */

:root {
	--qg-space: #070B1F;
	--qg-panel: rgba(13, 19, 52, 0.78);
	--qg-line: rgba(130, 160, 255, 0.2);
	--qg-line-strong: rgba(143, 176, 255, 0.5);
	--qg-haze: #AEB8DD;
	--qg-faint: #8A95BF;
	--qg-accent: #6B9BFF;
	--qg-blue: #2C5FDB;
	--qg-sky: #3B76F0;
	--qg-navy: #0A0FA0;
	--qg-ink: #0B1033;
	--qg-slate: #4A5478;
	--qg-mist: #F6F8FF;
	--qg-green: #34D399;
	--qg-radius: 20px;
	--qg-ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Starfield (whole site, behind dark sections) ---------- */
body {
	background-color: var(--qg-space);
	background-image:
		radial-gradient(1px 1px at 22px 34px, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 140px 90px, #c9d6ff 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 210px 180px, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 60px 210px, #9fb4ff 50%, transparent 51%),
		radial-gradient(1px 1px at 280px 40px, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 330px 250px, #c9d6ff 50%, transparent 51%);
	background-size: 360px 300px;
	-webkit-font-smoothing: antialiased;
}
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image:
		radial-gradient(1.5px 1.5px at 80px 60px, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 250px 140px, #cfe0ff 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 170px 260px, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 330px 20px, #9fb4ff 50%, transparent 51%);
	background-size: 420px 340px;
	animation: qg-twinkle 3.5s ease-in-out infinite alternate;
}
.wp-site-blocks { position: relative; z-index: 0; }

/* ---------- Accessibility helpers ---------- */
:where(a, button, input, select, textarea):focus-visible {
	outline: 2px solid var(--qg-accent);
	outline-offset: 3px;
	border-radius: 6px;
}
.skip-link.screen-reader-text:focus { background: #fff; color: var(--qg-ink); }

/* ---------- Light sections (easy reading) ---------- */
.qg-light {
	background: var(--qg-mist);
	color: var(--qg-ink);
}
.qg-light a:where(:not(.wp-element-button)) { color: #1F4FC4; }
.qg-light a:where(:not(.wp-element-button)):hover { color: var(--qg-navy); }
.qg-light .qg-lead, .qg-light .qg-muted { color: var(--qg-slate); }
.qg-light .qg-eyebrow { color: #1F4FC4; }

/* ---------- Typography helpers ---------- */
.qg-eyebrow {
	font-size: 0.8rem !important;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--qg-accent);
	margin-bottom: 0.25rem !important;
}
.qg-lead { font-size: 1.2rem; color: var(--qg-haze); max-width: 36em; }
.qg-muted { color: var(--qg-haze); }
.qg-small { font-size: 0.875rem; }
.qg-accent { color: var(--qg-accent); }
.qg-section-head { max-width: 720px; }

.qg-pill {
	display: inline-flex !important;
	align-items: center;
	gap: 10px;
	width: fit-content;
	padding: 6px 14px;
	border-radius: 999px;
	border: 1px solid rgba(130, 160, 255, 0.3);
	background: rgba(59, 118, 240, 0.1);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: #C9D3F5;
}
.qg-pill::before {
	content: "";
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--qg-sky);
	animation: qg-ping 1.8s ease-out infinite;
}

/* ---------- Header ---------- */
.qg-header {
	padding-top: 20px;
	padding-bottom: 20px;
	gap: 20px 28px;
}
.qg-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none !important;
	color: #EEF1FF !important;
}
.qg-brand__words { display: flex; flex-direction: column; line-height: 1; }
.qg-brand__name { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: 0.03em; }
.qg-brand__sub { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 10px; letter-spacing: 0.45em; color: var(--qg-haze); margin-top: 5px; }
.qg-nav { font-weight: 600; font-size: 0.95rem; }
.qg-nav a { color: #D5DCF7; text-decoration: none; }
.qg-nav a:hover { color: #fff; }
.qg-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--qg-space) !important;
	color: #EEF1FF !important;
	padding: 32px 24px;
}
.qg-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { font-size: 1.35rem; }
.qg-nav .wp-block-navigation__responsive-container-open,
.qg-nav .wp-block-navigation__responsive-container-close {
	width: 44px; height: 44px;
	align-items: center; justify-content: center;
	border: 1px solid var(--qg-line-strong);
	border-radius: 12px;
	color: #EEF1FF;
}
.qg-header .wp-block-buttons { gap: 10px; }
.qg-header .wp-block-button__link { padding: 0.65rem 1.25rem; font-size: 0.95rem; }

/* ---------- Buttons ---------- */
.wp-block-button__link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.wp-block-button__link:hover { transform: translateY(-1px); }
.is-style-glow .wp-block-button__link { animation: qg-glow 2.6s ease-out infinite; }
.is-style-ghost .wp-block-button__link {
	background: transparent !important;
	color: #EEF1FF !important;
	border: 1px solid var(--qg-line-strong) !important;
}
.is-style-ghost .wp-block-button__link:hover { background: rgba(255, 255, 255, 0.06) !important; }
.qg-light .is-style-ghost .wp-block-button__link {
	color: var(--qg-ink) !important;
	border-color: #B9C6EE !important;
	background: #fff !important;
}

/* ---------- Hero ---------- */
.qg-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(ellipse 55% 60% at 78% 35%, rgba(59, 118, 240, 0.28), transparent 70%),
		radial-gradient(ellipse 45% 50% at 10% 90%, rgba(10, 15, 160, 0.45), transparent 70%);
}
.qg-hero h1 { margin: 0; }
.qg-hero .qg-rise-1 { animation: qg-rise .9s var(--qg-ease) .10s both; }
.qg-hero .qg-rise-2 { animation: qg-rise .9s var(--qg-ease) .25s both; }
.qg-hero .qg-rise-3 { animation: qg-rise .9s var(--qg-ease) .40s both; }
.qg-hero .qg-rise-4 { animation: qg-rise .9s var(--qg-ease) .55s both; }
.qg-phone { display: flex; align-items: center; gap: 8px; color: var(--qg-faint); font-size: 0.9rem; }

.qg-shoot {
	position: absolute;
	width: 150px; height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, #fff, rgba(143, 176, 255, 0));
	opacity: 0;
	pointer-events: none;
	animation: qg-shoot 8s ease-in 2s infinite;
}
.qg-shoot--1 { top: 70px; right: 6%; }
.qg-shoot--2 { top: 160px; right: 34%; animation-delay: 6s; }

/* Orbit visual */
.qg-orbit { position: relative; width: 100%; max-width: 540px; margin-inline: auto; aspect-ratio: 1 / 1; }
.qg-orbit > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.qg-spin, .qg-spin-fast, .qg-spin-rev, .qg-spin-slow, .qg-pulse { transform-box: view-box; transform-origin: 260px 260px; }
.qg-spin { animation: qg-spin 60s linear infinite; }
.qg-spin-fast { animation: qg-spin 16s linear infinite; }
.qg-spin-rev { animation: qg-spin 90s linear infinite reverse; }
.qg-spin-slow { animation: qg-spin 120s linear infinite; }
.qg-pulse { animation: qg-pulse 5s ease-in-out infinite; }

.qg-float {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	border-radius: 18px;
	border: 1px solid var(--qg-line);
	background: rgba(13, 19, 52, 0.85);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	font-size: 0.9rem;
	line-height: 1.3;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.qg-float small { display: block; color: var(--qg-faint); font-size: 0.75rem; }
.qg-float strong { display: block; font-size: 0.95rem; }
.qg-float--1 { left: 0; top: 8%; animation: qg-float 4s ease-in-out infinite alternate; }
.qg-float--2 { right: 0; top: 46%; width: 220px; flex-direction: column; align-items: stretch; gap: 8px; animation: qg-float 5s ease-in-out .8s infinite alternate; }
.qg-float--3 { left: 5%; bottom: 4%; animation: qg-float 4.5s ease-in-out 1.6s infinite alternate; }
.qg-float__icon { width: 36px; height: 36px; flex: none; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.qg-float__row { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--qg-faint); }
.qg-float__big { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.4rem; }
.qg-orbit__label { position: absolute; right: 2%; top: 0; font-size: 0.7rem; letter-spacing: 0.1em; color: var(--qg-faint); }

/* ---------- Progress bars & milestones ---------- */
.qg-bar { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.qg-bar > span { display: block; height: 100%; border-radius: 999px; background: var(--qg-sky); animation: qg-fill 2.4s var(--qg-ease) .6s both; }
.qg-milestones { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 0.82rem; }
.qg-milestones li { display: flex; align-items: center; gap: 6px; color: var(--qg-faint); }
.qg-milestones li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid currentColor; box-sizing: border-box; }
.qg-milestones .is-done { color: #6EE7B7; }
.qg-milestones .is-done::before { background: var(--qg-green); border-color: var(--qg-green); }
.qg-milestones .is-now { color: #EEF1FF; font-weight: 700; }
.qg-milestones .is-now::before { background: var(--qg-sky); border-color: var(--qg-sky); animation: qg-ping 1.6s ease-out infinite; }

/* ---------- Stats strip ---------- */
.qg-stats { border: 1px solid var(--qg-line); border-radius: var(--qg-radius); background: rgba(13, 19, 52, 0.72); padding: 28px 12px !important; }
.qg-stats .wp-block-column { padding: 4px 20px; }
.qg-stats .wp-block-column + .wp-block-column { border-left: 1px solid rgba(130, 160, 255, 0.15); }
.qg-stat-num { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 2.4rem !important; line-height: 1.1 !important; margin: 0 !important; }
.qg-stat-label { color: var(--qg-haze); margin: 0 !important; }
@media (max-width: 781px) {
	.qg-stats.wp-block-columns { display: grid !important; grid-template-columns: 1fr 1fr; gap: 20px 8px; }
	.qg-stats .wp-block-column + .wp-block-column { border-left: 0; }
	.qg-stat-num { font-size: 2rem !important; }
}

/* ---------- Cards ---------- */
.qg-card, .is-style-card {
	border: 1px solid var(--qg-line);
	border-radius: var(--qg-radius);
	background: rgba(13, 19, 52, 0.72);
	padding: 28px;
	transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.qg-card:hover, .is-style-card:hover { border-color: rgba(130, 160, 255, 0.45); transform: translateY(-6px); box-shadow: 0 18px 40px rgba(20, 40, 140, 0.3); }
.qg-light .qg-card, .qg-light .is-style-card {
	background: #fff;
	border-color: #DDE3F6;
	box-shadow: 0 1px 2px rgba(11, 16, 51, 0.04), 0 8px 24px rgba(11, 16, 51, 0.05);
}
.qg-light .qg-card:hover, .qg-light .is-style-card:hover { border-color: #9DB4F0; box-shadow: 0 18px 40px rgba(11, 16, 51, 0.1); }
.qg-card > * { margin-block: 0; }
.qg-card > * + * { margin-top: 12px; }
.qg-card h3 { font-size: 1.35rem; }
.qg-card .qg-more { margin-top: auto; font-weight: 700; }
.qg-card .qg-more a { text-decoration: none; }

.qg-icon {
	width: 52px; height: 52px;
	border-radius: 14px;
	display: flex; align-items: center; justify-content: center;
	background: rgba(59, 118, 240, 0.15);
	color: var(--qg-accent);
}
.qg-light .qg-icon { background: #E8EEFF; color: var(--qg-blue); }
.qg-icon svg { width: 24px; height: 24px; }
.qg-tag {
	display: inline-block;
	padding: 3px 12px;
	border-radius: 999px;
	background: rgba(52, 211, 153, 0.14);
	color: #0E7A55;
	font-size: 0.82rem;
	font-weight: 700;
}
.qg-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }

/* ---------- Process steps (light up in order) ---------- */
.qg-steps { list-style: none; padding: 0 !important; margin: 0; counter-reset: qg-step; display: flex; flex-direction: column; gap: 14px; }
.qg-steps li { counter-increment: qg-step; display: flex; align-items: center; gap: 16px; color: var(--qg-haze); }
.qg-steps li strong { color: #EEF1FF; }
.qg-steps li::before {
	content: counter(qg-step);
	width: 36px; height: 36px; flex: none;
	border-radius: 50%;
	border: 1px solid var(--qg-line-strong);
	display: flex; align-items: center; justify-content: center;
	font-weight: 700; font-size: 0.875rem; color: #EEF1FF;
	animation: qg-stepon 8s ease-in-out infinite;
}
.qg-steps li:nth-child(2)::before { animation-delay: 2s; }
.qg-steps li:nth-child(3)::before { animation-delay: 4s; }
.qg-steps li:nth-child(4)::before { animation-delay: 6s; }
.qg-steps li:nth-child(5)::before { animation-delay: 8s; }

/* ---------- Portal preview mock ---------- */
.qg-portal-mock {
	border: 1px solid var(--qg-line);
	border-radius: var(--qg-radius);
	background: var(--qg-panel);
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.qg-portal-mock__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.qg-portal-mock__title { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.2rem; display: block; }
.qg-status { padding: 5px 13px; border-radius: 999px; background: rgba(59, 118, 240, 0.18); color: #C9D8FF; font-size: 0.8rem; font-weight: 700; }
.qg-progress-row { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--qg-haze); margin-bottom: 8px; }
.qg-progress-row strong { color: #EEF1FF; }
.qg-mini-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.qg-mini-actions span { padding: 10px 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(130, 160, 255, 0.25); font-size: 0.875rem; font-weight: 600; }

/* ---------- Pricing ---------- */
.qg-price { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 3.4rem !important; line-height: 1 !important; }
.qg-price-note { color: var(--qg-slate); font-size: 0.9rem; }
.qg-checks { list-style: none; padding: 0 !important; display: flex; flex-direction: column; gap: 10px; }
.qg-checks li { position: relative; padding-left: 30px; }
.qg-checks li::before {
	content: "";
	position: absolute; left: 0; top: 4px;
	width: 18px; height: 18px; border-radius: 50%;
	background: #DCFCE9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E7A55' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.qg-card--featured { border: 2px solid var(--qg-blue) !important; position: relative; }
.qg-card--featured::after {
	content: "Most popular";
	position: absolute; top: -13px; left: 28px;
	padding: 3px 12px; border-radius: 999px;
	background: var(--qg-blue); color: #fff;
	font-size: 0.75rem; font-weight: 700;
}

/* ---------- Portfolio ---------- */
.qg-shot {
	aspect-ratio: 16 / 10;
	border-radius: 14px;
	background: linear-gradient(135deg, #E8EEFF, #D5E0FF);
	display: flex; align-items: center; justify-content: center;
	color: var(--qg-slate);
	font-size: 0.875rem;
	overflow: hidden;
}
.qg-shot img { width: 100%; height: 100%; object-fit: cover; }
.qg-work-card { padding: 14px !important; }
.qg-work-card h3 { font-size: 1.15rem; padding: 0 8px; }
.qg-work-card p { padding: 0 8px 8px; }

/* ---------- Government strip ---------- */
.qg-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.qg-chip { padding: 8px 14px !important; border-radius: 10px; border: 1px solid rgba(130, 160, 255, 0.3); font-size: 0.875rem; font-weight: 600; margin: 0 !important; }

/* ---------- CTA ---------- */
.qg-cta {
	background:
		radial-gradient(ellipse 60% 70% at 50% 40%, rgba(59, 118, 240, 0.3), transparent 70%),
		radial-gradient(ellipse 40% 50% at 15% 90%, rgba(10, 15, 160, 0.45), transparent 70%);
	text-align: center;
}
.qg-cta .wp-block-buttons { justify-content: center; }

/* ---------- Inner page hero ---------- */
.qg-page-hero {
	position: relative;
	overflow: hidden;
	background: radial-gradient(ellipse 60% 80% at 80% 20%, rgba(59, 118, 240, 0.3), transparent 70%);
}
.qg-page-hero h1 { animation: qg-rise .9s var(--qg-ease) .1s both; }
.qg-page-hero .qg-lead { animation: qg-rise .9s var(--qg-ease) .25s both; }

/* ---------- Simple pages / blog ---------- */
.qg-prose { font-size: 1.05rem; }
.qg-prose h2, .qg-prose h3 { margin-top: 2em; }
.qg-post-card { height: 100%; }

/* ---------- Forms (Contact Form 7 / WPForms Lite) ---------- */
.qg-light :is(.wpcf7, .wpforms-container) input:not([type="submit"]),
.qg-light :is(.wpcf7, .wpforms-container) textarea,
.qg-light :is(.wpcf7, .wpforms-container) select {
	width: 100%;
	box-sizing: border-box;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid #C9D3EE;
	border-radius: 12px;
	background: #fff;
	font: inherit;
	color: var(--qg-ink);
}
.qg-light :is(.wpcf7, .wpforms-container) textarea { min-height: 140px; }
.qg-light :is(.wpcf7, .wpforms-container) label { font-weight: 600; display: block; margin-bottom: 14px; }
.qg-light .wpcf7-submit, .qg-light .wpforms-submit {
	min-height: 52px;
	padding: 0 32px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--qg-blue) !important;
	color: #fff !important;
	font-weight: 700 !important;
	cursor: pointer;
}

/* ---------- Footer ---------- */
.qg-footer { border-top: 1px solid rgba(130, 160, 255, 0.15); color: var(--qg-haze); font-size: 0.9rem; }
.qg-footer a { color: #D5DCF7; text-decoration: none; }
.qg-footer a:hover { color: #fff; }
.qg-footer .wp-block-navigation { gap: 18px; }
.qg-copy { color: var(--qg-faint); font-size: 0.82rem; margin-top: var(--wp--preset--spacing--50) !important; }
.qg-footer-links { list-style: none; padding-left: 0 !important; display: flex; flex-direction: column; gap: 6px; }
.qg-footer h2 { color: #EEF1FF; letter-spacing: 0.04em; }

/* ---------- Scroll reveal (JS adds .qg-js to <html>) ---------- */
.qg-js .qg-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--qg-ease), transform .8s var(--qg-ease); }
.qg-js .qg-reveal.is-visible { opacity: 1; transform: none; }
.qg-js .qg-card.qg-reveal.is-visible:hover { transform: translateY(-6px); }
.qg-js .qg-reveal-delay-1 { transition-delay: .1s; }
.qg-js .qg-reveal-delay-2 { transition-delay: .2s; }

/* ---------- Keyframes ---------- */
@keyframes qg-twinkle { 0% { opacity: .12; } 100% { opacity: .95; } }
@keyframes qg-spin { to { transform: rotate(360deg); } }
@keyframes qg-pulse { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes qg-float { 0% { transform: translateY(0); } 100% { transform: translateY(-12px); } }
@keyframes qg-fill { from { width: 0; } }
@keyframes qg-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes qg-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(59, 118, 240, .6); } 60% { box-shadow: 0 0 0 12px rgba(59, 118, 240, 0); } }
@keyframes qg-ping { 0% { box-shadow: 0 0 0 0 rgba(59, 118, 240, .7); } 100% { box-shadow: 0 0 0 10px rgba(59, 118, 240, 0); } }
@keyframes qg-stepon {
	0%, 30%, 100% { background: transparent; border-color: var(--qg-line-strong); box-shadow: none; }
	5%, 25% { background: var(--qg-blue); border-color: var(--qg-blue); box-shadow: 0 0 18px rgba(59, 118, 240, .6); }
}
@keyframes qg-shoot {
	0% { transform: translate(0, 0) rotate(-35deg); opacity: 0; }
	3% { opacity: 1; }
	12% { transform: translate(-560px, 390px) rotate(-35deg); opacity: 0; }
	100% { transform: translate(-560px, 390px) rotate(-35deg); opacity: 0; }
}

/* ---------- Mobile tweaks ---------- */
@media (max-width: 781px) {
	.qg-float { font-size: 0.8rem; padding: 10px 12px; }
	.qg-float--2 { width: 170px; }
	.qg-price { font-size: 2.8rem !important; }
}

/* ---------- Respect "reduce motion" ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.qg-js .qg-reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   v1.2 – Services rows, booking form, landscape page layouts, more motion
   ========================================================================== */

/* ---------- Staggered entrance (children animate one after another) ---------- */
.qg-js .qg-stagger > * { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--qg-ease), transform .7s var(--qg-ease); }
.qg-js .qg-stagger.qg-from-left > * { transform: translateX(-56px); }
.qg-js .qg-stagger.qg-from-right > * { transform: translateX(56px); }
.qg-js .qg-stagger.is-visible > * { opacity: 1; transform: none; }
.qg-js .qg-stagger.is-visible > *:nth-child(2) { transition-delay: .08s; }
.qg-js .qg-stagger.is-visible > *:nth-child(3) { transition-delay: .16s; }
.qg-js .qg-stagger.is-visible > *:nth-child(4) { transition-delay: .24s; }
.qg-js .qg-stagger.is-visible > *:nth-child(5) { transition-delay: .32s; }
.qg-js .qg-stagger.is-visible > *:nth-child(6) { transition-delay: .40s; }
.qg-js .qg-stagger.is-visible > *:nth-child(7) { transition-delay: .48s; }
.qg-js .qg-stagger.is-visible > *:nth-child(8) { transition-delay: .56s; }
.qg-js .qg-slide-left { opacity: 0; transform: translateX(-56px); transition: opacity .8s var(--qg-ease), transform .8s var(--qg-ease); }
.qg-js .qg-slide-right { opacity: 0; transform: translateX(56px); transition: opacity .8s var(--qg-ease) .1s, transform .8s var(--qg-ease) .1s; }
.qg-js .qg-slide-left.is-visible, .qg-js .qg-slide-right.is-visible { opacity: 1; transform: none; }

/* ---------- Mini orbit (services hero) ---------- */
.qg-mini-orbit { position: relative; width: min(420px, 100%); aspect-ratio: 1 / 1; margin-inline: auto; }
.qg-mini-orbit__glow { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(59, 118, 240, .5), transparent 70%); animation: qg-pulse 5s ease-in-out infinite; }
.qg-mini-orbit__core { position: absolute; inset: 31%; width: 38%; height: 38%; filter: drop-shadow(0 0 30px rgba(59, 118, 240, .45)); animation: qg-float 5s ease-in-out infinite alternate; }
.qg-mini-orbit__ring { position: absolute; inset: 6%; border: 1px dashed rgba(143, 176, 255, .35); border-radius: 50%; animation: qg-spin 40s linear infinite; }
.qg-mini-orbit__node {
	position: absolute;
	width: 62px; height: 62px; margin: -31px 0 0 -31px;
	border-radius: 18px;
	display: flex; align-items: center; justify-content: center;
	background: rgba(13, 19, 52, .92);
	border: 1px solid rgba(143, 176, 255, .4);
	color: #9FBBFF;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
	animation: qg-spin 40s linear infinite reverse;
}

/* ---------- Service rows (landscape) ---------- */
.qg-svc-list { display: flex; flex-direction: column; gap: 16px; }
.qg-svc-list > * { margin: 0 !important; }
.qg-svc {
	position: relative;
	overflow: hidden;
	display: grid !important;
	grid-template-columns: 76px minmax(0, 1fr) auto;
	align-items: center;
	gap: 28px;
	padding: 24px 28px;
	border-radius: 22px;
	background: #fff;
	border: 1px solid #DDE3F6;
	box-shadow: 0 1px 2px rgba(11, 16, 51, .04), 0 8px 24px rgba(11, 16, 51, .05);
	transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.qg-svc > * { margin: 0 !important; }
.qg-svc::after {
	content: "";
	position: absolute; top: 0; left: -60%;
	width: 40%; height: 100%;
	background: linear-gradient(100deg, transparent, rgba(59, 118, 240, .08), transparent);
	transform: skewX(-18deg);
	transition: left .9s ease;
	pointer-events: none;
}
.qg-svc:hover { border-color: #9DB4F0; box-shadow: 0 18px 40px rgba(11, 16, 51, .1); transform: translateX(6px); }
.qg-svc:hover::after { left: 130%; }
.qg-js .qg-stagger.is-visible > .qg-svc:hover { transform: translateX(6px); }
.qg-svc__icon {
	width: 76px; height: 76px;
	border-radius: 20px;
	display: flex; align-items: center; justify-content: center;
	color: #fff;
	background: linear-gradient(135deg, var(--qg-sky), var(--qg-navy));
	box-shadow: 0 10px 24px rgba(44, 95, 219, .35);
	transition: transform .4s var(--qg-ease);
}
.qg-svc:hover .qg-svc__icon { transform: rotate(-8deg) scale(1.06); }
.qg-svc__body > * { margin: 0 !important; }
.qg-svc__body > * + * { margin-top: 6px !important; }
.qg-svc__body h3 { font-size: 1.3rem; }
.qg-svc__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px !important; }
.qg-svc__chips span { padding: 4px 12px; border-radius: 999px; background: #EEF2FF; color: #2A3A7A; font-size: .8rem; font-weight: 600; }
.qg-svc__side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; min-width: 170px; }
.qg-svc__side > * { margin: 0 !important; }
.qg-svc__price { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.3rem; line-height: 1.2; color: var(--qg-ink); }
.qg-svc__price small { display: block; font-family: 'Manrope', sans-serif; font-weight: 500; font-size: .8rem; color: var(--qg-slate); }
.qg-book-btn .wp-block-button__link { padding: .7rem 1.6rem; }
.qg-svc:hover .qg-book-btn .wp-block-button__link { background: #3A6EEA; box-shadow: 0 8px 20px rgba(44, 95, 219, .35); }
.qg-svc--help { background: linear-gradient(135deg, #F1F5FF, #fff); border-style: dashed; }
.qg-svc--help .qg-svc__icon { background: linear-gradient(135deg, #34D399, #0E7A55); box-shadow: 0 10px 24px rgba(14, 122, 85, .3); }
@media (max-width: 781px) {
	.qg-svc { grid-template-columns: 56px minmax(0, 1fr); gap: 16px 18px; padding: 20px; }
	.qg-svc__icon { width: 56px; height: 56px; border-radius: 16px; }
	.qg-svc__icon svg { width: 24px; height: 24px; }
	.qg-svc__side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; text-align: left; min-width: 0; }
}

/* ---------- Horizontal timeline ---------- */
.qg-timeline { list-style: none; padding: 0; margin: var(--wp--preset--spacing--50) auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; position: relative; counter-reset: none; }
.qg-timeline::before {
	content: "";
	position: absolute; top: 28px; left: 8%; right: 8%;
	height: 2px;
	background: linear-gradient(90deg, var(--qg-sky), #8FB0FF, var(--qg-sky));
	transform-origin: left;
	transform: scaleX(1);
}
.qg-js .qg-timeline.qg-reveal { opacity: 1; transform: none; }
.qg-js .qg-timeline.qg-reveal::before { transform: scaleX(0); transition: transform 1.6s var(--qg-ease) .2s; }
.qg-js .qg-timeline.qg-reveal.is-visible::before { transform: scaleX(1); }
.qg-timeline li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; color: var(--qg-haze); }
.qg-timeline li strong { color: #EEF1FF; font-family: 'Sora', sans-serif; font-size: 1.15rem; }
.qg-timeline__dot {
	width: 56px; height: 56px;
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--qg-blue);
	color: #fff;
	box-shadow: 0 0 0 8px rgba(44, 95, 219, .18);
	position: relative; z-index: 1;
}
.qg-js .qg-timeline.qg-reveal .qg-timeline__dot { transform: scale(0); transition: transform .6s cubic-bezier(.34, 1.56, .64, 1); }
.qg-js .qg-timeline.qg-reveal.is-visible li:nth-child(1) .qg-timeline__dot { transform: scale(1); transition-delay: .2s; }
.qg-js .qg-timeline.qg-reveal.is-visible li:nth-child(2) .qg-timeline__dot { transform: scale(1); transition-delay: .8s; }
.qg-js .qg-timeline.qg-reveal.is-visible li:nth-child(3) .qg-timeline__dot { transform: scale(1); transition-delay: 1.4s; }
@media (max-width: 781px) {
	.qg-timeline { grid-template-columns: 1fr; gap: 24px; }
	.qg-timeline::before { top: 8%; bottom: 8%; left: 27px; right: auto; width: 2px; height: auto; transform-origin: top; }
	.qg-js .qg-timeline.qg-reveal::before { transform: scaleY(0); }
	.qg-js .qg-timeline.qg-reveal.is-visible::before { transform: scaleY(1); }
	.qg-timeline li { flex-direction: row; flex-wrap: wrap; text-align: left; align-items: center; column-gap: 16px; }
	.qg-timeline li > span:last-child { flex-basis: 100%; padding-left: 72px; margin-top: -8px; }
}

/* ---------- Landscape media placeholder / feature rows ---------- */
.qg-media {
	aspect-ratio: 16 / 10;
	border-radius: 22px;
	overflow: hidden;
	background: linear-gradient(135deg, rgba(59, 118, 240, .25), rgba(10, 15, 160, .45));
	border: 1px solid var(--qg-line);
	display: flex; align-items: center; justify-content: center;
	color: #C9D3F5; font-size: .9rem;
}
.qg-media img { width: 100%; height: 100%; object-fit: cover; }
.qg-light .qg-media { background: linear-gradient(135deg, #E8EEFF, #D5E0FF); color: var(--qg-slate); border-color: #DDE3F6; }

/* Portfolio landscape cards */
.qg-work-wide { display: grid !important; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 28px; padding: 16px !important; }
.qg-work-wide > * { margin: 0 !important; }
.qg-work-wide .qg-shot { aspect-ratio: 16 / 10; }
.qg-work-wide__text > * { margin: 0 !important; }
.qg-work-wide__text > * + * { margin-top: 8px !important; }
.qg-shot { transition: transform .6s var(--qg-ease); }
.qg-card:hover .qg-shot { transform: scale(1.02); }
@media (max-width: 900px) { .qg-work-wide { grid-template-columns: 1fr; } }

/* Feature tiles (horizontal icon + text) */
.qg-tile { display: flex !important; gap: 18px; align-items: flex-start; }
.qg-tile > * { margin: 0 !important; }
.qg-tile .qg-icon { flex: none; }
.qg-tile__text > * { margin: 0 !important; }
.qg-tile__text > * + * { margin-top: 6px !important; }
.qg-tile h3 { font-size: 1.15rem; }

/* Data card (government hero) */
.qg-datacard { border: 1px solid var(--qg-line); border-radius: 22px; background: rgba(13, 19, 52, .8); padding: 26px 28px; }
.qg-datacard dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 12px 20px; }
.qg-datacard dt { color: var(--qg-faint); font-size: .85rem; }
.qg-datacard dd { margin: 0; font-weight: 700; }
.qg-datacard h2 { font-size: 1.1rem; margin: 0 0 16px; letter-spacing: .02em; }

/* ---------- Booking page ---------- */
.qg-contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.qg-contact-list li { display: flex; gap: 14px; align-items: center; }
.qg-contact-list .qg-icon { width: 44px; height: 44px; border-radius: 12px; }
.qg-contact-list small { display: block; color: var(--qg-faint); font-size: .8rem; }
.qg-contact-list a { color: #EEF1FF; font-weight: 700; text-decoration: none; }

.qg-book-card { background: #fff; color: var(--qg-ink); border-radius: 26px; padding: clamp(22px, 4vw, 40px); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); border: 1px solid rgba(143, 176, 255, .35); }
.qg-book { display: flex; flex-direction: column; gap: 26px; }
.qg-book fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.qg-book legend { display: flex; align-items: center; gap: 12px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.15rem; margin-bottom: 14px; padding: 0; }
.qg-book-num { width: 30px; height: 30px; border-radius: 50%; background: var(--qg-blue); color: #fff; font-size: .9rem; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.qg-book p { margin: 0; }
.qg-book label, .qg-book .qg-label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.qg-book input[type="text"], .qg-book input[type="email"], .qg-book input[type="tel"], .qg-book input[type="date"], .qg-book select, .qg-book textarea {
	width: 100%; box-sizing: border-box;
	min-height: 50px; padding: 12px 14px;
	border: 1.5px solid #C9D3EE; border-radius: 14px;
	background: #F8FAFF; color: var(--qg-ink);
	font: inherit;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.qg-book textarea { min-height: 110px; resize: vertical; }
.qg-book input:focus, .qg-book select:focus, .qg-book textarea:focus { outline: none; border-color: var(--qg-blue); background: #fff; box-shadow: 0 0 0 4px rgba(44, 95, 219, .15); }
.qg-book-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 600px) { .qg-book-grid { grid-template-columns: 1fr; } }

.qg-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 12px; }
.qg-pick__item { margin: 0 !important; position: relative; cursor: pointer; }
.qg-pick__item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qg-pick__card {
	display: flex; align-items: center; gap: 12px;
	min-height: 64px; padding: 12px 14px;
	border: 1.5px solid #D5DDF2; border-radius: 16px;
	background: #F8FAFF;
	transition: border-color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.qg-pick__icon { width: 40px; height: 40px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #E8EEFF; color: var(--qg-blue); transition: background-color .2s ease, color .2s ease; }
.qg-pick__text { display: flex; flex-direction: column; line-height: 1.25; }
.qg-pick__text strong { font-size: .95rem; }
.qg-pick__text small { color: var(--qg-slate); font-size: .8rem; font-weight: 500; }
.qg-pick__item:hover .qg-pick__card { border-color: #9DB4F0; transform: translateY(-2px); }
.qg-pick__item input:checked + .qg-pick__card { border-color: var(--qg-blue); background: #EEF3FF; box-shadow: 0 0 0 3px rgba(44, 95, 219, .15); }
.qg-pick__item input:checked + .qg-pick__card .qg-pick__icon { background: var(--qg-blue); color: #fff; animation: qg-pop .35s cubic-bezier(.34, 1.56, .64, 1); }
.qg-pick__item input:focus-visible + .qg-pick__card { outline: 2px solid var(--qg-blue); outline-offset: 2px; }
.qg-radios { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.qg-radios label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; margin: 0; min-height: 44px; cursor: pointer; }
.qg-radios input { width: 18px; height: 18px; accent-color: var(--qg-blue); }
.qg-book-submit {
	align-self: flex-start;
	min-height: 56px; padding: 0 34px;
	border: 0; border-radius: 999px;
	background: var(--qg-blue); color: #fff;
	font: inherit; font-weight: 700; font-size: 1.05rem;
	cursor: pointer;
	animation: qg-glow 2.6s ease-out infinite;
	transition: background-color .2s ease, transform .2s ease;
}
.qg-book-submit:hover { background: #3A6EEA; transform: translateY(-2px); }
.qg-book-submit span { display: inline-block; transition: transform .2s ease; }
.qg-book-submit:hover span { transform: translateX(4px); }
.qg-book-note { display: flex; align-items: center; gap: 6px; color: var(--qg-slate); font-size: .82rem; margin-top: -10px !important; }
.qg-book-error { padding: 12px 16px; border-radius: 12px; background: #FDECEC; color: #9B1C1C; font-weight: 600; }
.qg-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qg-book-done { text-align: center; padding: 30px 10px; }
.qg-book-done__icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #DCFCE9; color: #0E7A55; animation: qg-pop .5s cubic-bezier(.34, 1.56, .64, 1); }
.qg-book-done h3 { margin: 0 0 8px; }

/* Buttons: arrow nudge on hover */
.wp-block-button__link:hover { box-shadow: 0 10px 24px rgba(44, 95, 219, .3); }

@keyframes qg-pop { 0% { transform: scale(.6); } 100% { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
	.qg-js .qg-stagger > *, .qg-js .qg-slide-left, .qg-js .qg-slide-right { opacity: 1 !important; transform: none !important; }
	.qg-js .qg-timeline.qg-reveal::before { transform: none !important; }
	.qg-js .qg-timeline.qg-reveal .qg-timeline__dot { transform: none !important; }
}
.qg-contact-list { margin-top: 28px !important; }
@media (max-width: 781px) {
	.qg-svc { align-items: start; }
	.qg-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.qg-pick__card { flex-direction: column; align-items: flex-start; gap: 8px; min-height: 0; padding: 12px; }
	.qg-pick__icon { width: 34px; height: 34px; border-radius: 10px; }
	.qg-pick__text strong { font-size: .88rem; }
}

/* ==========================================================================
   v1.6 – Portfolio with real images, badges, industries strip
   ========================================================================== */
.qg-work-card { padding: 14px !important; display: flex; flex-direction: column; }
.qg-work-card > * { margin: 0 !important; }
.qg-work-card > * + * { margin-top: 10px !important; }
.qg-work-card > :not(.qg-work-img) { padding: 0 8px; }
.qg-work-card > :last-child { padding-bottom: 8px; }
.qg-work-card h3 { font-size: 1.2rem; }
.qg-work-img { margin: 0 0 6px !important; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; background: #E8EEFF; }
.qg-work-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .8s var(--qg-ease); }
.qg-card:hover .qg-work-img img { transform: scale(1.05); }
.qg-work-wide .qg-work-img { aspect-ratio: auto; margin: 0 !important; }
.qg-work-wide .qg-work-img img { height: auto; object-fit: contain; }
.qg-work-wide__text { padding: 12px 18px; }
.qg-work-wide__text .qg-eyebrow { margin-top: 0 !important; }

.qg-work-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .8rem; color: var(--qg-slate); }
.qg-badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .02em; }
.qg-badge--real { background: #DCFCE9; color: #0E7A55; }
.qg-badge--concept { background: #EEF0F6; color: #4A5478; }
.qg-badge--featured { background: #FFF1D6; color: #8A5300; }

.qg-industries { list-style: none; margin: var(--wp--preset--spacing--30) auto 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.qg-industries li {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 10px 16px 10px 10px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid #DDE3F6;
	font-weight: 600; font-size: .92rem; color: var(--qg-ink);
	box-shadow: 0 4px 14px rgba(11, 16, 51, .04);
	transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.qg-industries li:hover { transform: translateY(-3px); border-color: #9DB4F0; box-shadow: 0 10px 24px rgba(11, 16, 51, .08); }
.qg-ind-icon { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--qg-sky), var(--qg-navy)); color: #fff; }
.qg-ind-icon svg { width: 18px; height: 18px; }
.qg-ind-more { color: var(--qg-slate) !important; font-weight: 500 !important; }
.qg-ind-more .qg-ind-icon { background: #E8EEFF; color: var(--qg-blue); }
@media (max-width: 600px) {
	.qg-industries li { font-size: .82rem; padding: 7px 12px 7px 7px; }
	.qg-ind-icon { width: 28px; height: 28px; }
}

/* v1.6.1 – Government page without registration details */
.qg-gov-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.qg-gov-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.qg-gov-list__icon { width: 30px; height: 30px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(52, 211, 153, .15); color: #34D399; }
.qg-gov-strip { gap: 24px !important; }
.qg-gov-strip__icon { width: 60px; height: 60px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, var(--qg-sky), var(--qg-navy)); }
.qg-gov-strip__text { flex: 1 1 360px; }
.qg-gov-strip__text > * { margin-block: 0 !important; }
.qg-gov-strip__text > * + * { margin-top: 6px !important; }
.qg-step-card > * { margin: 0 !important; }
.qg-step-card > * + * { margin-top: 10px !important; }
.qg-step-card h3 { font-size: 1.15rem; }
.qg-step-num { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--qg-blue); color: #fff; font-weight: 700; }

/* v1.7 – Free consultation banner for existing websites/apps */
.qg-support-banner {
	gap: 24px !important;
	padding: 28px 32px;
	border-radius: 22px;
	color: #EEF1FF;
	background:
		radial-gradient(ellipse 70% 120% at 100% 0%, rgba(59, 118, 240, .45), transparent 60%),
		linear-gradient(135deg, #0B1033, #0A0FA0);
	box-shadow: 0 20px 50px rgba(10, 15, 160, .25);
}
.qg-support-banner__icon { width: 64px; height: 64px; flex: none; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .12); color: #fff; animation: qg-float 4s ease-in-out infinite alternate; }
.qg-support-banner__text { flex: 1 1 380px; }
.qg-support-banner__text > * { margin: 0 !important; }
.qg-support-banner__text > * + * { margin-top: 6px !important; }
.qg-support-banner h3 { color: #fff; font-size: 1.45rem; }
.qg-support-banner p { color: #C9D3F5; }
.qg-support-banner__tag { display: inline-block; padding: 3px 12px; border-radius: 999px; background: rgba(52, 211, 153, .18); color: #6EE7B7 !important; font-size: .78rem; font-weight: 700; letter-spacing: .04em; }

/* v1.7.5 – About: "What we do" chips */
.qg-do-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--wp--preset--spacing--40); }
.qg-do-chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; border-radius: 999px; background: #fff; border: 1px solid #DDE3F6; box-shadow: 0 8px 24px rgba(10, 15, 160, .06); font-weight: 700; color: #0B1033; transition: transform .2s ease, box-shadow .2s ease; }
.qg-do-chip:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(10, 15, 160, .12); }
.qg-do-chip__icon { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #3B76F0, #0A0FA0); }

/* ===================== v1.8 – Blog ===================== */
.qg-blog-grid { gap: 24px !important; }
.qg-blog-card {
	height: 100%;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #DDE3F6;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 12px 34px rgba(10, 15, 160, .07);
	transition: transform .25s ease, box-shadow .25s ease;
}
.qg-blog-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(10, 15, 160, .14); }
.qg-blog-card__img { margin: 0 !important; aspect-ratio: 1200 / 630; overflow: hidden; }
.qg-blog-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.qg-blog-card:hover .qg-blog-card__img img { transform: scale(1.04); }
.qg-blog-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.qg-blog-card__body > * { margin: 0 !important; }
.qg-blog-cat a, .qg-blog-cat {
	font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	color: #2C5FDB !important; text-decoration: none;
}
.qg-blog-card__title { font-size: 1.2rem !important; line-height: 1.35; }
.qg-blog-card__title a { color: #0B1033 !important; text-decoration: none; }
.qg-blog-card__title a:hover { color: #2C5FDB !important; }
.qg-blog-card__excerpt { color: #4A5478; font-size: .95rem; line-height: 1.6; }
.qg-blog-card__excerpt .wp-block-post-excerpt__more-text { margin-top: 12px; }
.qg-blog-card__excerpt .wp-block-post-excerpt__more-link { font-weight: 700; color: #2C5FDB; text-decoration: none; }
.qg-pagination { margin-top: 40px; gap: 8px; font-weight: 700; }
.qg-pagination a, .qg-pagination .page-numbers { padding: 8px 14px; border-radius: 10px; text-decoration: none; color: #2C5FDB; }
.qg-pagination .page-numbers.current { background: #2C5FDB; color: #fff; }

/* Article page */
.qg-post-meta { gap: 14px !important; align-items: center; margin-bottom: 18px !important; }
.qg-post-meta .qg-pill a { color: inherit; text-decoration: none; }
.qg-post-date { color: #A9B6E0; font-size: .95rem; }
.qg-post-head .wp-block-post-title { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.15; margin-bottom: 16px; }
.qg-article__cover { max-width: 960px; margin: calc(-1 * var(--wp--preset--spacing--70)) auto var(--wp--preset--spacing--50) !important; box-shadow: 0 30px 70px rgba(7, 11, 31, .25); border-radius: 20px; overflow: hidden; position: relative; z-index: 2; }
.qg-article__cover img { display: block; width: 100%; height: auto; }
.qg-post-hero { padding-bottom: calc(var(--wp--preset--spacing--70) + var(--wp--preset--spacing--40)) !important; }
.qg-article .qg-prose { font-size: 1.08rem; line-height: 1.8; color: #2A3158; }
.qg-article .qg-prose h2 { font-size: 1.7rem; margin-top: 2.2em; color: #0B1033; }
.qg-article .qg-prose h3 { font-size: 1.25rem; margin-top: 1.8em; color: #0B1033; }
.qg-article .qg-prose ul, .qg-article .qg-prose ol { padding-left: 1.3em; }
.qg-article .qg-prose li { margin: .35em 0; }
.qg-article .qg-prose li::marker { color: #3B76F0; font-weight: 700; }
.qg-article .qg-prose strong { color: #0B1033; }
.qg-article .qg-prose a:not(.wp-block-button__link) { color: #2C5FDB; }
.qg-article .qg-prose .wp-block-button__link { color: #fff !important; text-decoration: none; }
.qg-post-head .wp-block-post-excerpt { margin-left: 0 !important; padding: 0 !important; }
.qg-post-head .wp-block-post-excerpt p { margin: 0; }

/* Call to action at the end of each article */
.qg-post-cta {
	margin-top: 2.6em !important;
	padding: 30px 32px !important;
	border-radius: 22px;
	color: #EEF1FF;
	background:
		radial-gradient(ellipse 70% 120% at 100% 0%, rgba(59, 118, 240, .45), transparent 60%),
		linear-gradient(135deg, #0B1033, #0A0FA0);
	box-shadow: 0 20px 50px rgba(10, 15, 160, .22);
}
.qg-article .qg-prose .qg-post-cta h3 { color: #fff; margin-top: 0; }
.qg-post-cta p { color: #C9D3F5; }

/* Sponsor box */
.qg-sponsor {
	position: relative;
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
	margin: 32px auto 0;
	max-width: 960px;
	padding: 22px 24px;
	background: #fff;
	border: 1px dashed #B9C6EE;
	border-radius: 18px;
}
.qg-article__sponsor .qg-sponsor { max-width: none; }
.qg-sponsor__tag { position: absolute; top: -11px; left: 18px; padding: 2px 10px; border-radius: 999px; background: #EEF1FA; color: #4A5478; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.qg-sponsor__img { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; background: #F6F8FF; }
.qg-sponsor__body { flex: 1 1 260px; }
.qg-sponsor__name { display: block; color: #0B1033; font-size: 1.05rem; }
.qg-sponsor__body p { margin: 4px 0 0; color: #4A5478; font-size: .95rem; }
.qg-sponsor__btn { padding: 10px 20px; border-radius: 999px; background: #2C5FDB; color: #fff !important; font-weight: 700; text-decoration: none; }
.qg-sponsor__btn:hover { background: #3B76F0; }
.qg-light > .qg-sponsor:first-child,
.qg-light > .wp-block-shortcode:first-child .qg-sponsor { margin-bottom: 32px; }

@media (max-width: 781px) {
	.qg-blog-grid { grid-template-columns: 1fr !important; }
	.qg-article__cover { margin-top: calc(-1 * var(--wp--preset--spacing--60)) !important; border-radius: 14px; }
}
@media (min-width: 782px) and (max-width: 1080px) {
	.qg-blog-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ===================== v1.10 – Client support tickets ===================== */
.qg-tk-wrap { color: #0B1033; }
.qg-tk-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.qg-tk-head h2 { margin: 0; font-size: 1.7rem; }
.qg-tk-head p { margin: 4px 0 0; color: #4A5478; }
.qg-tk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px; border: 0; border-radius: 999px; font: 700 15px/1.2 Manrope, system-ui, sans-serif; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.qg-tk-btn.is-primary { background: linear-gradient(135deg, #3B76F0, #2C5FDB); color: #fff; box-shadow: 0 10px 26px rgba(59, 118, 240, .35); }
.qg-tk-btn.is-primary:hover { transform: translateY(-1px); color: #fff; }
.qg-tk-btn:focus-visible { outline: 3px solid #8FB0FF; outline-offset: 2px; }
.qg-tk-back { display: inline-block; margin-bottom: 14px; color: #2C5FDB; font-weight: 700; text-decoration: none; }
.qg-tk-card { background: #fff; border: 1px solid #DDE3F6; border-radius: 22px; padding: 26px 28px; box-shadow: 0 14px 40px rgba(10, 15, 160, .07); }
.qg-tk-card h2 { margin: 0 0 16px; font-size: 1.5rem; }
.qg-tk-empty { text-align: center; padding: 44px 24px; border-radius: 22px; border: 1px dashed #B9C6EE; background: #fff; }
.qg-tk-empty h3 { margin: 0 0 6px; }
.qg-tk-empty p { margin: 0 auto 18px; max-width: 46ch; color: #4A5478; }
.qg-tk-group { display: flex; align-items: center; gap: 8px; margin: 26px 0 10px; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: #4A5478; }
.qg-tk-group span { padding: 2px 9px; border-radius: 999px; background: #E3ECFF; color: #1E3FAE; font-size: .8rem; }
.qg-tk-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.qg-tk-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid #DDE3F6; text-decoration: none; color: #0B1033; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.qg-tk-row:hover { border-color: #3B76F0; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(10, 15, 160, .08); }
.qg-tk-num { margin: 0; font-family: ui-monospace, 'JetBrains Mono', Menlo, monospace; font-weight: 700; font-size: .85rem; color: #2C5FDB; letter-spacing: .02em; }
.qg-tk-subj { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qg-tk-subj small { display: block; font-weight: 500; color: #4A5478; overflow: hidden; text-overflow: ellipsis; }
.qg-tk-when { color: #4A5478; font-size: .85rem; white-space: nowrap; }
.qg-tk-badge { display: inline-block; padding: 5px 12px; border-radius: 999px; font-weight: 700; font-size: .8rem; white-space: nowrap; }
.qg-tk-badge.is-open { background: #E3ECFF; color: #1E3FAE; }
.qg-tk-badge.is-in_progress { background: #FFF2D9; color: #7A4F00; }
.qg-tk-badge.is-waiting { background: #F1E8FF; color: #5B2EB8; }
.qg-tk-badge.is-resolved { background: #DDF7EC; color: #0D6B47; }
.qg-tk-urgent { display: inline-block; padding: 5px 10px; border-radius: 999px; background: #FDE2E2; color: #A11B1B; font-weight: 700; font-size: .78rem; }
.qg-tk-notice { margin-bottom: 18px; padding: 14px 18px; border-radius: 14px; font-weight: 600; }
.qg-tk-notice.is-ok { background: #DDF7EC; color: #0D6B47; border: 1px solid #B7EBD3; }
.qg-tk-notice.is-err { background: #FDE8E8; color: #A11B1B; border: 1px solid #F6C6C6; }
.qg-tk-form { display: flex; flex-direction: column; gap: 16px; }
.qg-tk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.qg-tk-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; margin: 0; border: 0; padding: 0; }
.qg-tk-field > span, .qg-tk-field legend { font-weight: 700; font-size: .92rem; color: #0B1033; }
.qg-tk-field em { font-style: normal; font-weight: 500; color: #4A5478; }
.qg-tk-field input[type=text], .qg-tk-field select, .qg-tk-field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #C9D3F0; border-radius: 12px; background: #F9FAFF; font: 500 16px/1.45 Manrope, system-ui, sans-serif; color: #0B1033; box-sizing: border-box; }
.qg-tk-field textarea { resize: vertical; }
.qg-tk-field input:focus, .qg-tk-field select:focus, .qg-tk-field textarea:focus { outline: none; border-color: #3B76F0; box-shadow: 0 0 0 3px rgba(59, 118, 240, .2); background: #fff; }
.qg-tk-field input[type=file] { font: 500 14px Manrope, system-ui, sans-serif; }
.qg-tk-prio { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.qg-tk-prio legend { margin-bottom: 7px; }
.qg-tk-prio label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 12px 14px; border: 1px solid #C9D3F0; border-radius: 12px; cursor: pointer; }
.qg-tk-prio label:has(input:checked) { border-color: #3B76F0; background: #F1F5FF; box-shadow: 0 0 0 2px rgba(59, 118, 240, .2); }
.qg-tk-prio small { flex-basis: 100%; color: #4A5478; }
.qg-tk-ticket-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid #E3E8F7; }
.qg-tk-ticket-head h2 { margin: 4px 0 6px; }
.qg-tk-meta { margin: 0; color: #4A5478; font-size: .92rem; }
.qg-tk-head-badges { display: flex; align-items: flex-start; gap: 8px; }
.qg-tk-thread { list-style: none; margin: 20px 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.qg-tk-msg { max-width: 88%; padding: 14px 18px; border-radius: 18px; }
.qg-tk-msg.is-client { align-self: flex-end; background: #EEF3FF; border: 1px solid #D6E1FF; border-bottom-right-radius: 6px; }
.qg-tk-msg.is-staff { align-self: flex-start; background: #0B1033; color: #EEF1FF; border-bottom-left-radius: 6px; }
.qg-tk-who { margin: 0 0 6px; font-weight: 700; font-size: .85rem; }
.qg-tk-who time { font-weight: 500; opacity: .7; margin-left: 6px; }
.qg-tk-msg.is-staff .qg-tk-who { color: #8FB0FF; }
.qg-tk-text { line-height: 1.6; overflow-wrap: anywhere; }
.qg-tk-files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.qg-tk-file { display: inline-flex; padding: 6px 10px; border-radius: 10px; background: rgba(255, 255, 255, .7); border: 1px solid #DDE3F6; font-size: .85rem; font-weight: 600; text-decoration: none; }
.qg-tk-file.is-image { padding: 0; overflow: hidden; }
.qg-tk-file img { display: block; width: 132px; height: 88px; object-fit: cover; }
.qg-tk-reply { padding-top: 18px; border-top: 1px solid #E3E8F7; }
.qg-tk-reply-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
@media (max-width: 700px) {
	.qg-tk-card { padding: 20px 18px; }
	.qg-tk-grid, .qg-tk-prio { grid-template-columns: 1fr; }
	.qg-tk-row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; }
	.qg-tk-row .qg-tk-num { grid-column: 1 / -1; }
	.qg-tk-row .qg-tk-when, .qg-tk-row .qg-tk-urgent { display: none; }
	.qg-tk-msg { max-width: 100%; }
}

/* ===================== v1.11 – Create incident form ===================== */
.qg-tk-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; font-weight: 600; font-size: .95rem; color: #4A5478; }
.qg-tk-crumbs a { color: #2C5FDB; text-decoration: none; }
.qg-tk-crumbs a:hover { text-decoration: underline; }
.qg-inc { padding: 0 !important; overflow: hidden; }
.qg-inc-head { padding: 24px 30px 20px; border-bottom: 1px solid #E3E8F7; background: linear-gradient(180deg, #F7F9FF, #ffffff); }
.qg-inc-head h2 { margin: 0 0 4px !important; font-size: 1.7rem; font-weight: 600; }
.qg-inc-head p { margin: 0; color: #4A5478; }
.qg-inc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 36px; padding: 26px 30px 8px; }
.qg-inc-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.qg-inc-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 14px; }
.qg-inc-row.is-wide { grid-template-columns: 150px minmax(0, 1fr); padding: 0 30px; margin-top: 12px; align-items: start; }
.qg-inc-row.is-wide label { padding-top: 12px; }
.qg-inc-row label { text-align: right; font-weight: 600; font-size: .92rem; color: #2A3158; line-height: 1.25; }
.qg-inc-row label small { display: block; font-weight: 500; font-size: .78rem; color: #6B7398; margin-top: 2px; }
.qg-inc-row .req { color: #D93636; font-weight: 700; margin-right: 3px; }
.qg-inc-row input[type=text], .qg-inc-row select, .qg-inc-row textarea {
  width: 100%; min-height: 44px; box-sizing: border-box; padding: 10px 12px; border: 1px solid #C9D3F0; border-radius: 10px;
  background: #fff; font: 500 15px/1.4 Manrope, system-ui, sans-serif; color: #0B1033;
}
.qg-inc-row textarea { resize: vertical; min-height: 120px; }
.qg-inc-row input[readonly] { background: #F1F4FC; color: #4A5478; border-color: #DDE3F6; }
.qg-inc-row input:focus, .qg-inc-row select:focus, .qg-inc-row textarea:focus { outline: none; border-color: #3B76F0; box-shadow: 0 0 0 3px rgba(59, 118, 240, .2); }
.qg-inc-row input[type=file] { font: 500 14px Manrope, system-ui, sans-serif; padding-top: 10px; }
.qg-inc-prio { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; font-weight: 700; background: #F1F4FC; color: #2A3158; border: 1px solid #DDE3F6; }
.qg-inc-prio.is-p1 { background: #FDE2E2; color: #A11B1B; border-color: #F6C6C6; }
.qg-inc-prio.is-p2 { background: #FFE9D6; color: #9A4300; border-color: #F8D2B0; }
.qg-inc-prio.is-p3 { background: #FFF4CC; color: #7A5B00; border-color: #F2E2A0; }
.qg-inc-note { margin: 10px 30px 0 194px; font-size: .82rem; color: #6B7398; }
.qg-inc-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 18px 30px 24px; border-top: 1px solid #E3E8F7; background: #FAFBFF; }
.qg-inc-required { margin: 0; padding: 10px 14px; border-radius: 10px; border: 1px solid #CFE0FF; background: #F3F7FF; font-size: .88rem; font-weight: 600; color: #2A3158; }
.qg-inc-required .req { color: #D93636; }
.qg-inc-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 18px 0 0; }
.qg-inc-facts div { padding: 10px 12px; border-radius: 12px; background: #F6F8FF; border: 1px solid #E3E8F7; }
.qg-inc-facts dt { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6B7398; }
.qg-inc-facts dd { margin: 3px 0 0; font-weight: 600; color: #0B1033; overflow-wrap: anywhere; }
.qg-tk-prio-pill { display: inline-block; padding: 5px 10px; border-radius: 999px; font-weight: 700; font-size: .78rem; white-space: nowrap; background: #EEF1FA; color: #2A3158; }
.qg-tk-prio-pill.is-p1 { background: #FDE2E2; color: #A11B1B; }
.qg-tk-prio-pill.is-p2 { background: #FFE9D6; color: #9A4300; }
.qg-tk-prio-pill.is-p3 { background: #FFF4CC; color: #7A5B00; }
@media (max-width: 860px) {
  .qg-inc-grid { grid-template-columns: 1fr; padding: 20px 18px 4px; }
  .qg-inc-head { padding: 20px 18px 16px; }
  .qg-inc-row, .qg-inc-row.is-wide { grid-template-columns: 1fr; gap: 6px; }
  .qg-inc-row.is-wide { padding: 0 18px; }
  .qg-inc-row label, .qg-inc-row.is-wide label { text-align: left; padding-top: 0; }
  .qg-inc-note { margin: 10px 18px 0; }
  .qg-inc-actions { padding: 16px 18px 20px; }
  .qg-tk-row .qg-tk-prio-pill { display: none; }
}

/* ===================== v1.12 – Remote IT Support page ===================== */
.qg-rs-groups { display: flex; flex-direction: column; gap: 34px; margin-top: var(--wp--preset--spacing--40); }
.qg-rs-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 14px; }
.qg-rs-group-head h3 { margin: 0; font-size: 1.3rem; }
.qg-rs-group-head p { margin: 0; color: #4A5478; }
.qg-rs-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.qg-rs-card { position: relative; display: flex; flex-direction: column; padding: 26px 26px 24px; border-radius: 22px; background: #fff; border: 1px solid #DDE3F6; box-shadow: 0 14px 40px rgba(10, 15, 160, .06); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.qg-rs-card:hover { transform: translateY(-3px); border-color: #3B76F0; box-shadow: 0 20px 48px rgba(10, 15, 160, .12); }
.qg-rs-card.is-featured { color: #EEF1FF; border: 0; background: radial-gradient(ellipse 80% 70% at 100% 0%, rgba(59, 118, 240, .5), transparent 60%), linear-gradient(150deg, #0B1033, #070B1F); box-shadow: 0 24px 60px rgba(10, 15, 160, .3); }
.qg-rs-tag { position: absolute; top: 18px; right: 18px; padding: 4px 12px; border-radius: 999px; background: rgba(110, 231, 183, .16); color: #6EE7B7; font-size: .78rem; font-weight: 700; }
.qg-rs-card h4 { margin: 0; font-size: 1.1rem; }
.qg-rs-price { margin: 10px 0 0; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 2.8rem; line-height: 1; }
.qg-rs-unit { margin: 6px 0 14px; color: #4A5478; font-size: .92rem; }
.qg-rs-card.is-featured .qg-rs-unit { color: #A9B6E0; }
.qg-rs-list { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.qg-rs-list li { position: relative; padding-left: 26px; }
.qg-rs-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #E3ECFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232C5FDB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 10px no-repeat; }
.qg-rs-card.is-featured .qg-rs-list li::before { background-color: rgba(143, 176, 255, .25); }
.qg-rs-btn { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 10px 20px; border-radius: 999px; border: 1px solid #C9D3F0; color: #0B1033; font-weight: 700; text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.qg-rs-btn:hover { border-color: #3B76F0; color: #2C5FDB; }
.qg-rs-card.is-featured .qg-rs-btn { border: 0; background: linear-gradient(135deg, #3B76F0, #2C5FDB); color: #fff; box-shadow: 0 10px 26px rgba(59, 118, 240, .4); }
.qg-rs-extra { margin: 0; color: #4A5478; font-size: .92rem; }
.qg-rs-start { color: #EEF1FF; background: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(59, 118, 240, .3), transparent 60%), #070B1F; }
.qg-rs-start h2 { color: #fff; }
.qg-rs-start p { color: #C9D3F5; }
.qg-rs-steps { margin: 20px 0 24px; padding: 0; list-style: none; counter-reset: rs; display: flex; flex-direction: column; gap: 12px; }
.qg-rs-steps li { counter-increment: rs; position: relative; padding: 14px 16px 14px 58px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(143, 176, 255, .18); color: #DCE4FF; line-height: 1.5; }
.qg-rs-steps li::before { content: counter(rs); position: absolute; left: 14px; top: 12px; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; background: linear-gradient(135deg, #3B76F0, #2C5FDB); color: #fff; box-shadow: 0 0 0 4px rgba(59, 118, 240, .2); }
.qg-rs-steps strong { color: #fff; }
.qg-rs-steps a { color: #8FB0FF; }
@media (max-width: 781px) { .qg-rs-cards { grid-template-columns: 1fr; } }
/* Remote session block in the incident form */
.qg-inc-remote { margin: 18px 30px 0; padding: 18px 20px 20px; border: 1px solid #CFE0FF; border-radius: 16px; background: linear-gradient(180deg, #F3F7FF, #FAFBFF); }
.qg-inc-remote[hidden], .qg-inc-remote-grid[hidden] { display: none !important; }
.qg-inc-remote legend { padding: 0 8px; font-weight: 700; color: #1E3FAE; }
.qg-inc-toggle { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #0B1033; margin-bottom: 14px; cursor: pointer; }
.qg-inc-toggle input, .qg-inc-auth input { width: 20px; height: 20px; accent-color: #2C5FDB; flex: none; }
.qg-inc-remote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 36px; }
.qg-inc-remote-grid .qg-inc-row { grid-template-columns: 136px minmax(0, 1fr); }
.qg-inc-remote input[type=date] { width: 100%; min-height: 44px; box-sizing: border-box; padding: 10px 12px; border: 1px solid #C9D3F0; border-radius: 10px; background: #fff; font: 500 15px Manrope, system-ui, sans-serif; color: #0B1033; }
.qg-inc-auth { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; margin-top: 4px; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid #DDE3F6; font-size: .9rem; line-height: 1.5; color: #2A3158; cursor: pointer; }
.qg-inc-auth input { margin-top: 2px; }
.qg-inc-facts .is-remote { grid-column: 1 / -1; background: #EEF3FF; border-color: #CFE0FF; }
@media (max-width: 860px) {
  .qg-inc-remote { margin: 18px 18px 0; }
  .qg-inc-remote-grid { grid-template-columns: 1fr; }
  .qg-inc-remote-grid .qg-inc-row { grid-template-columns: 1fr; }
}

/* ===================== v1.13 – Support portal layout ===================== */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.qg-tk-btn:not(.is-primary):not(.is-glass) { background: #fff; color: #1E3FAE; border: 1px solid #C9D3F0; }
.qg-tk-btn:not(.is-primary):not(.is-glass):hover { border-color: #3B76F0; color: #1E3FAE; }
.qg-tk-btn.is-glass { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(143, 176, 255, .45); }
.qg-tk-btn.is-glass:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.qg-tk-muted { color: #4A5478; }
.qg-tk-kind { display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 6px; background: #E9F7FF; color: #0B5E86; font: 700 .72rem/1.4 Manrope, system-ui, sans-serif; letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; }
.qg-tk-list.is-compact { gap: 8px; }
.qg-tk-list.is-compact .qg-tk-row { grid-template-columns: auto minmax(0, 1fr) auto; padding: 12px 14px; border-radius: 12px; }

body.qg-sp-body { margin: 0; background: #F6F8FF !important; color: #0B1033; font-family: Manrope, system-ui, sans-serif; }
.qg-sp { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }
.qg-sp-side {
	position: sticky; top: 0; height: 100vh; overflow-y: auto; box-sizing: border-box; padding: 18px 14px 20px;
	display: flex; flex-direction: column; gap: 14px; color: #C9D4F5;
	background: radial-gradient(ellipse 120% 60% at 0% 0%, rgba(59, 118, 240, .28), transparent 60%), radial-gradient(ellipse 90% 50% at 100% 100%, rgba(10, 15, 160, .45), transparent 60%), linear-gradient(180deg, #0B1033, #070B1F);
	box-shadow: 4px 0 30px rgba(7, 11, 31, .25);
}
.qg-sp-side::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55; background-image: radial-gradient(1px 1px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 70% 12%, #8FB0FF, transparent), radial-gradient(1px 1px at 40% 70%, #fff, transparent), radial-gradient(1.5px 1.5px at 85% 55%, #8FB0FF, transparent), radial-gradient(1px 1px at 12% 88%, #fff, transparent); }
.qg-sp-side > * { position: relative; }
.qg-sp-brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 14px; border-bottom: 1px solid rgba(143, 176, 255, .14); text-decoration: none; color: #fff; }
.qg-sp-brand b { display: block; font: 800 1rem/1 Manrope, system-ui, sans-serif; letter-spacing: .14em; color: #fff; }
.qg-sp-brand small { display: block; margin-top: 4px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #8FB0FF; }
.qg-sp-user { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(143, 176, 255, .14); }
.qg-sp-user small { display: block; font-size: .75rem; color: #8FA0D6; }
.qg-sp-user b { display: block; color: #fff; font-size: .95rem; }
.qg-sp-avatar { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #3B76F0, #0A0FA0); color: #fff; font-weight: 800; box-shadow: 0 0 0 3px rgba(143, 176, 255, .2); }
.qg-sp-nav { display: flex; flex-direction: column; gap: 2px; }
.qg-sp-label { margin: 14px 10px 6px; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #6F80B8; }
.qg-sp-nav a { display: flex; align-items: center; gap: 11px; min-height: 42px; padding: 0 12px; border-radius: 12px; color: #C9D4F5; text-decoration: none; font-weight: 600; font-size: .95rem; transition: background .15s ease, color .15s ease; }
.qg-sp-nav a:hover { background: rgba(59, 118, 240, .16); color: #fff; }
.qg-sp-nav a.is-current { background: linear-gradient(90deg, rgba(59, 118, 240, .38), rgba(59, 118, 240, .1)); color: #fff; box-shadow: inset 3px 0 0 #8FB0FF; }
.qg-sp-nav a:focus-visible { outline: 2px solid #8FB0FF; outline-offset: 1px; }
.qg-sp-ico { flex: 0 0 auto; color: #8FB0FF; }
.qg-sp-count { margin-left: auto; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: #3B76F0; color: #fff; font: 700 .75rem/1.6 Manrope, system-ui, sans-serif; text-align: center; font-style: normal; }
.qg-sp-help { margin: auto 8px 0; padding-top: 14px; font-size: .85rem; color: #8FA0D6; border-top: 1px solid rgba(143, 176, 255, .14); }
.qg-sp-help a { color: #fff; font-weight: 700; }
.qg-sp-main { min-width: 0; display: flex; flex-direction: column; }
.qg-sp-top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 14px; padding: 12px 28px; background: rgba(255, 255, 255, .88); backdrop-filter: blur(10px); border-bottom: 1px solid #E3E8F7; }
.qg-sp-menu { display: none; width: 44px; height: 44px; border: 1px solid #DDE3F6; border-radius: 12px; background: #fff; color: #0B1033; cursor: pointer; place-items: center; }
.qg-sp-search { position: relative; flex: 1; max-width: 520px; }
.qg-sp-search .qg-sp-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #6B7398; }
.qg-sp-search input { width: 100%; min-height: 44px; box-sizing: border-box; padding: 10px 14px 10px 42px; border: 1px solid #DDE3F6; border-radius: 999px; background: #F6F8FF; font: 500 15px Manrope, system-ui, sans-serif; color: #0B1033; }
.qg-sp-search input:focus { outline: none; border-color: #3B76F0; background: #fff; box-shadow: 0 0 0 3px rgba(59, 118, 240, .18); }
.qg-sp-top-btn { margin-left: auto; display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; background: linear-gradient(135deg, #3B76F0, #2C5FDB); color: #fff !important; font-weight: 700; text-decoration: none; white-space: nowrap; box-shadow: 0 8px 20px rgba(59, 118, 240, .3); }
.qg-sp-content { box-sizing: border-box; width: 100%; max-width: 1120px; padding: 28px 28px 60px; }

.qg-sp-hello { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; padding: 28px 30px; border-radius: 22px; color: #EEF1FF;
	background: radial-gradient(ellipse 50% 140% at 100% 0%, rgba(59, 118, 240, .55), transparent 60%), radial-gradient(ellipse 40% 90% at 0% 100%, rgba(10, 15, 160, .7), transparent 70%), linear-gradient(135deg, #0B1033, #070B1F); box-shadow: 0 18px 44px rgba(7, 11, 31, .25); }
.qg-sp-hello h1 { margin: 2px 0 6px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: #fff; }
.qg-sp-hello p { margin: 0; color: #B6C3EE; max-width: 52ch; }
.qg-sp-eyebrow { font-size: .75rem !important; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #8FB0FF !important; }
.qg-sp-hello-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.qg-sp-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.qg-sp-kpi { display: block; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid #E3E8F7; border-top: 4px solid #DDE3F6; text-decoration: none; color: #0B1033; box-shadow: 0 6px 20px rgba(10, 15, 160, .05); transition: border-color .15s ease, transform .15s ease; }
.qg-sp-kpi:hover { transform: translateY(-1px); border-color: #3B76F0; }
.qg-sp-kpi span { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #4A5478; }
.qg-sp-kpi strong { display: block; margin-top: 6px; font-size: 2rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.qg-sp-kpi.is-open { border-top-color: #2C5FDB; }
.qg-sp-kpi.is-waiting { border-top-color: #7B4FE0; }
.qg-sp-kpi.is-alert { background: #FAF6FF; }
.qg-sp-kpi.is-alert strong { color: #5B2EB8; }
.qg-sp-kpi.is-task { border-top-color: #0EA5C6; }
.qg-sp-kpi.is-closed { border-top-color: #1FA971; }
.qg-sp-attn { margin-bottom: 18px; padding: 16px 18px; border-radius: 16px; background: #FAF6FF; border: 1px solid #E4D6FF; }
.qg-sp-attn h2 { margin: 0 0 10px; font-size: 1rem; color: #5B2EB8; }
.qg-sp-cols { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 18px; }
.qg-sp-cols .qg-tk-card { padding: 20px 22px; }
.qg-sp-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.qg-sp-card-head h2 { margin: 0 !important; font-size: 1.1rem !important; }
.qg-sp-card-head a { font-weight: 700; color: #2C5FDB; text-decoration: none; font-size: .9rem; }
.qg-sp-kb { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.qg-sp-kb a { display: block; padding: 12px 14px; border-radius: 12px; border: 1px solid #E3E8F7; text-decoration: none; color: #0B1033; }
.qg-sp-kb a:hover { border-color: #3B76F0; background: #F7F9FF; }
.qg-sp-kb strong { display: block; font-size: .95rem; }
.qg-sp-kb span { display: block; margin-top: 2px; font-size: .85rem; color: #4A5478; }

/* Tabs on the client incident screen */
.qg-tk-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 18px 0 4px; border-bottom: 1px solid #E3E8F7; }
.qg-tk-tabs a { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; color: #4A5478; font-weight: 700; text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.qg-tk-tabs a:hover { color: #1E3FAE; }
.qg-tk-tabs a[aria-selected=true] { color: #1E3FAE; border-bottom-color: #3B76F0; }
.qg-tk-tabs a:focus-visible { outline: 2px solid #3B76F0; outline-offset: -2px; border-radius: 8px 8px 0 0; }
.qg-tk-tab-n { padding: 0 7px; border-radius: 999px; background: #E3ECFF; color: #1E3FAE; font-size: .75rem; }
.qg-tk-panel { padding-top: 14px; }
.qg-tk-sub { margin: 22px 0 10px; font-size: 1rem; }
.qg-tk-watch { flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.qg-tk-watch .qg-tk-field { flex: 1 1 320px; }
.qg-tk-resolution { padding: 4px 18px 10px; border-radius: 14px; background: #F2FBF7; border: 1px solid #CDEBDC; }
.qg-tk-close { margin-top: 16px; padding: 12px 16px; border-radius: 14px; border: 1px solid #E3E8F7; background: #FAFBFF; }
.qg-tk-close summary { cursor: pointer; font-weight: 700; color: #2A3158; }
.qg-tk-close form { margin-top: 12px; }
.qg-tk-sla { font-weight: 700; }
.qg-tk-sla.is-met { color: #0D6B47; }
.qg-tk-sla.is-missed { color: #A11B1B; }
.qg-inc-parent { margin: 16px 30px 0; padding: 10px 14px; border-radius: 12px; background: #EEF3FF; color: #1E3FAE; }
.qg-inc-row .qg-inc-kb { grid-column: 2; }
@media (max-width: 860px) { .qg-inc-row .qg-inc-kb { grid-column: 1; } }
.qg-inc-kb { margin-top: 0; padding: 12px 14px; border-radius: 12px; background: #F2FBF7; border: 1px solid #CDEBDC; }
.qg-inc-kb p { margin: 0 0 6px; font-weight: 700; color: #0D6B47; font-size: .9rem; }
.qg-inc-kb ul { margin: 0; padding-left: 18px; }
.qg-inc-kb a { font-weight: 600; color: #1E3FAE; }

/* Knowledge base */
.qg-kb-search { display: flex; gap: 10px; margin-bottom: 8px; }
.qg-kb-search input { flex: 1; min-height: 48px; box-sizing: border-box; padding: 10px 16px; border: 1px solid #C9D3F0; border-radius: 999px; background: #fff; font: 500 16px Manrope, system-ui, sans-serif; color: #0B1033; }
.qg-kb-search input:focus { outline: none; border-color: #3B76F0; box-shadow: 0 0 0 3px rgba(59, 118, 240, .2); }
.qg-kb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 16px; }
.qg-kb-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid #DDE3F6; text-decoration: none; color: #0B1033; transition: border-color .15s ease, transform .15s ease; }
.qg-kb-card:hover { border-color: #3B76F0; transform: translateY(-1px); }
.qg-kb-card strong { font-size: 1rem; }
.qg-kb-card span { color: #4A5478; font-size: .9rem; line-height: 1.5; }
.qg-kb-article h2 { margin: 4px 0 14px !important; }
.qg-kb-body { line-height: 1.7; }
.qg-kb-body li { margin-bottom: 6px; }
.qg-kb-body kbd { padding: 1px 7px; border-radius: 6px; border: 1px solid #C9D3F0; background: #F1F4FC; font: 600 .85em ui-monospace, Menlo, monospace; }
.qg-kb-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #E3E8F7; }
.qg-kb-foot p { margin: 0; }

@media (max-width: 960px) {
	.qg-sp { grid-template-columns: 1fr; }
	.qg-sp-side { position: fixed; z-index: 30; left: 0; top: 0; width: 280px; transform: translateX(-100%); transition: transform .2s ease; box-shadow: none; visibility: hidden; }
	.qg-sp.is-open .qg-sp-side { transform: none; visibility: visible; box-shadow: 4px 0 30px rgba(7, 11, 31, .35); }
	.qg-sp.is-open::after { content: ""; position: fixed; inset: 0; z-index: 20; background: rgba(7, 11, 31, .5); }
	.qg-sp-menu { display: grid; }
	.qg-sp-top { padding: 10px 16px; }
	.qg-sp-content { padding: 20px 16px 48px; }
	.qg-sp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.qg-sp-cols { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
	.qg-tk-list.is-compact .qg-tk-row { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (max-width: 600px) {
	.qg-sp-top-btn { display: none; }
	.qg-sp-hello { padding: 22px 20px; }
	.qg-kb-search { flex-direction: column; }
	.qg-tk-tabs a { padding: 0 10px; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { .qg-sp-side, .qg-sp-kpi, .qg-kb-card { transition: none; } }

/* v1.19 – captcha widget */
.qg-turnstile { min-height: 65px; margin: 4px 0 -6px; }

/* IT Support dropdown in the header */
.qg-nav .wp-block-navigation__submenu-container{background:#0D1334!important;border:1px solid rgba(143,176,255,.22)!important;border-radius:14px;padding:8px!important;min-width:230px!important;box-shadow:0 18px 40px rgba(0,0,0,.45)}
.qg-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content{padding:10px 14px!important;border-radius:10px;color:#D5DCF7}
.qg-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover{background:rgba(59,118,240,.18);color:#fff}
.qg-nav .wp-block-navigation__submenu-icon{color:#D5DCF7}
.qg-nav .is-menu-open .wp-block-navigation__submenu-container{background:transparent!important;border:0!important;box-shadow:none;padding:4px 0 0 12px!important}

/* Services list: "Learn more" link */
.qg-svc__more{font-size:.9rem;font-weight:600;color:var(--qg-sky,#3B76F0);text-decoration:none}
.qg-svc__more:hover{text-decoration:underline}

/* Cross-link card (Remote IT → Moving & Tech Setup) */
.qg-xsell__card{display:flex;align-items:center;gap:18px;flex-wrap:wrap;max-width:1240px;margin:0 auto;padding:22px 26px;border-radius:20px;text-decoration:none;color:inherit;
	background:linear-gradient(120deg,rgba(59,118,240,.18),rgba(10,15,160,.25));border:1px solid rgba(143,176,255,.25);transition:border-color .2s,transform .2s}
.qg-xsell__card:hover{border-color:rgba(143,176,255,.6);transform:translateY(-2px)}
.qg-xsell__text{flex:1 1 320px;min-width:0;display:flex;flex-direction:column;gap:4px}
.qg-xsell__text b{font-family:var(--wp--preset--font-family--sora);font-size:1.15rem;color:#fff}
.qg-xsell__text span{color:#AEB8DD}
.qg-xsell__go{font-weight:700;color:#8FB0FF;white-space:nowrap}

/* FAQ accordion (AI Integration page) */
.qg-faq{display:flex;flex-direction:column;gap:10px}
.qg-faq details{border:1px solid rgba(143,176,255,.22);border-radius:16px;background:rgba(255,255,255,.04);padding:0 18px;transition:border-color .2s,background .2s}
.qg-faq details[open]{border-color:rgba(143,176,255,.45);background:rgba(59,118,240,.08)}
.qg-faq summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:14px;align-items:center;padding:16px 0;font-weight:700;color:#EEF1FF}
.qg-faq summary::-webkit-details-marker{display:none}
.qg-faq summary::after{content:"+";flex:none;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(143,176,255,.4);color:#8FB0FF;font-weight:700;transition:transform .2s}
.qg-faq details[open] summary::after{transform:rotate(45deg)}
.qg-faq summary:focus-visible{outline:2px solid #8FB0FF;outline-offset:4px;border-radius:8px}
.qg-faq details p{margin:0 0 16px;color:#AEB8DD;line-height:1.65}
.qg-faq details a{color:#8FB0FF}
