﻿/*
Theme Name: Torquenix
Description: A custom block theme for TORQUENIX INNOVATIONS LTD.
Author: TORQUENIX INNOVATIONS LTD
Version: 1.0.18
Requires at least: 6.6
Text Domain: torquenix
*/

/* Keep keyboard focus visible on both light and dark surfaces. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--wp--preset--color--sapphire);
	outline-offset: 3px;
	box-shadow: 0 0 0 2px var(--wp--preset--color--white);
}

.tq-section {
	padding-block: clamp(4rem, 7vw, 7rem);
	padding-inline: clamp(1.25rem, 3vw, 3rem);
}

/* Keep the homepage's section rhythm intentional without changing inner pages. */
.home main.wp-block-group > .tq-section:not(.tq-hero) {
	padding-block: clamp(2.5rem, 4vw, 3rem);
	margin-block-start: 0;
}

.home main.wp-block-group > .tq-section + .tq-section {
	margin-block-start: 0;
}

/* ===== HERO â€” PRESERVE APPROVED CONTENT AND ARTWORK ===== */
.tq-hero {
	position: relative;
	isolation: isolate;
	overflow-x: clip;
	padding-block: clamp(4rem, 7vw, 7rem);
	background-image:
		radial-gradient(ellipse 58% 64% at 82% 38%, rgba(21, 94, 239, 0.18), transparent 78%),
		radial-gradient(ellipse 48% 44% at 12% 90%, rgba(131, 232, 245, 0.07), transparent 76%),
		linear-gradient(135deg, #0b2847 0%, #071b33 43%, #06172e 100%);
	box-shadow: inset 0 1px rgba(131, 232, 245, 0.13), inset 0 -3rem 5rem rgba(0, 7, 21, 0.16);
}

.tq-hero::before,
.tq-hero::after {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	content: '';
}

.tq-hero::before {
	background: linear-gradient(115deg, transparent 6%, rgba(255, 255, 255, 0.055) 20%, rgba(131, 232, 245, 0.025) 29%, transparent 44%);
}

.tq-hero::after {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 20%, transparent 82%, rgba(0, 4, 14, 0.12));
}

.tq-hero > .tq-hero-layout {
	position: relative;
	z-index: 1;
}

.tq-hero h1 {
	max-width: 12ch;
	letter-spacing: -0.045em;
}

.tq-hero-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	align-items: center;
	gap: clamp(2rem, 4vw, 5rem);
}

/* Give the approved artwork more of the available desktop canvas. */
.home .tq-hero > .tq-hero-layout {
	max-width: 84rem;
}

.tq-hero-layout > .wp-block-column {
	min-width: 0;
}

.tq-hero-visual {
	position: relative;
	isolation: isolate;
	width: 100%;
	margin-block: 1rem;
	perspective: 1200px;
}

.tq-hero-visual::before,
.tq-hero-visual::after {
	position: absolute;
	pointer-events: none;
	content: '';
}

.tq-hero-visual::before {
	inset: -10%;
	z-index: -2;
	background: radial-gradient(ellipse at 55% 52%, rgba(21, 94, 239, 0.27), transparent 62%);
	opacity: 0.75;
}

.tq-hero-visual::after {
	inset: -0.5rem;
	z-index: -1;
	border: 1px solid rgba(131, 232, 245, 0.24);
	border-radius: 1.3rem;
	box-shadow: 0 0 2.5rem rgba(21, 94, 239, 0.23), 0 0 5rem rgba(131, 232, 245, 0.09);
	opacity: 0.72;
}

.tq-energy-trails {
	position: absolute;
	inset: -1.4rem;
	z-index: -1;
	background: url('assets/images/hero-energy-trails.svg') center / 100% 100% no-repeat;
	opacity: 0.6;
	pointer-events: none;
}

.tq-hero-art {
	position: relative;
	display: block;
	overflow: hidden;
	border: 1px solid rgba(131, 232, 245, 0.36);
	border-radius: 1rem;
	background: var(--wp--preset--color--navy);
	box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.29), inset 0 0 1.5rem rgba(131, 232, 245, 0.08);
	transform-style: preserve-3d;
}

.tq-hero-art::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, rgba(255, 255, 255, 0.13), transparent 26%, transparent 68%, rgba(131, 232, 245, 0.06));
	content: '';
	pointer-events: none;
}

.tq-hero-art img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1672 / 941;
	object-fit: contain;
}

/* WordPress constrains direct children of this inner group to contentSize.
   Let the picture fill the image column while retaining its intrinsic ratio. */
.home .tq-hero .tq-hero-visual > .tq-hero-art {
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

@keyframes tq-hero-float {
	0%, 100% { transform: translate3d(0, 0, 0) rotateY(-0.6deg); }
	50% { transform: translate3d(0, -6px, 0) rotateY(0.6deg); }
}

@keyframes tq-hero-glow {
	0%, 100% { opacity: 0.55; }
	50% { opacity: 0.9; }
}

@keyframes tq-trail-flow {
	0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.4; }
	50% { transform: translate3d(4px, -3px, 0); opacity: 0.7; }
}

/* ===== END HERO LOCKED SECTION ===== */

/* The watermark is a separate decorative layer; hero copy and artwork stay above it. */
.tq-hero > .tq-hero-watermark {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image: url('assets/branding/torquenix-home-watermark.webp');
	background-position: 55% 42%;
	background-repeat: no-repeat;
	background-size: min(82vw, 1120px) auto;
	opacity: 0.07;
	pointer-events: none;
	user-select: none;
}

@media (max-width: 782px) {
	.tq-hero > .tq-hero-watermark {
		background-position: 60% 24%;
		background-size: min(100vw, 640px) auto;
		opacity: 0.035;
	}
}

.tq-lead {
	max-width: 46rem;
}

.tq-eyebrow {
	color: var(--wp--preset--color--cyan);
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.tq-eyebrow--light {
	color: var(--wp--preset--color--sky);
}

.tq-dark a:not(.wp-element-button) {
	color: var(--wp--preset--color--cyan);
}

.tq-dark a:not(.wp-element-button):hover {
	color: var(--wp--preset--color--white);
}

.tq-dark :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline-color: var(--wp--preset--color--cyan);
	box-shadow: 0 0 0 2px var(--wp--preset--color--navy);
}

.tq-header,
.tq-footer {
	padding-block: var(--wp--preset--spacing--lg);
	padding-inline: clamp(1.25rem, 3vw, 3rem);
}

.tq-header {
	border-bottom: 1px solid rgba(131, 232, 245, 0.16);
	padding-block: clamp(0.5rem, 1vw, 0.75rem);
}

.tq-header .tq-header-inner.alignwide {
	box-sizing: border-box;
	width: 100%;
	max-width: 80rem;
	margin-inline: auto;
	align-items: center;
	flex-wrap: nowrap;
	gap: clamp(0.75rem, 1.5vw, 1.5rem);
}

.tq-header .tq-header-brand {
	flex: 0 0 auto;
	min-width: 0;
	margin: 0;
	font-size: 0;
}

.tq-header .wp-block-site-title a::before {
	display: none;
	content: none;
}

.tq-header .tq-header-brand a.tq-brand-logo {
	display: block;
	width: clamp(8.75rem, 11vw, 9.5rem);
	max-width: 100%;
	text-decoration: none;
}

.tq-brand-logo__picture,
.tq-brand-logo__image { display: block; width: 100%; }

.tq-brand-logo__image {
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: contain;
}

.tq-header .tq-primary-nav {
	flex: 0 1 auto;
	min-width: 0;
	margin-inline-start: auto;
}

.tq-primary-nav .wp-block-navigation__container {
	flex-wrap: nowrap;
	gap: clamp(0.65rem, 1.2vw, 1.05rem);
}

.tq-primary-nav .wp-block-navigation-item:last-child .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0.55rem 1.1rem;
	border-radius: 0.5rem;
	background: var(--wp--preset--color--sapphire);
	color: var(--wp--preset--color--white);
	font-weight: 700;
	text-decoration: none;
}

.tq-primary-nav .wp-block-navigation-item:last-child .wp-block-navigation-item__content:hover {
	background: var(--wp--preset--color--cyan);
	color: var(--wp--preset--color--navy);
}

.tq-header .wp-block-site-title a,
.tq-footer .wp-block-site-title a {
	color: var(--wp--preset--color--white);
	text-decoration: none;
}

.tq-header .wp-block-navigation .wp-block-navigation-item__content {
	color: var(--wp--preset--color--white);
}

.tq-header .wp-block-navigation .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--cyan);
}

.tq-header .wp-block-navigation__responsive-container-open,
.tq-header .wp-block-navigation__responsive-container-close {
	color: var(--wp--preset--color--white);
}

.tq-header .wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--white);
	padding: var(--wp--preset--spacing--lg);
}

.tq-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content,
.tq-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
	color: var(--wp--preset--color--white);
}

.tq-header .wp-block-navigation__responsive-container.is-menu-open :where(a, button):focus-visible {
	outline: 3px solid var(--wp--preset--color--cyan);
	outline-offset: 4px;
}

.tq-footer {
	padding-block: clamp(2.5rem, 5vw, 4rem) 1.25rem;
}

.tq-footer .tq-footer__inner.alignwide {
	box-sizing: border-box;
	width: 100%;
	max-width: 80rem;
	margin-inline: auto;
}

.tq-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr));
	gap: clamp(2rem, 4.5vw, 4rem);
}

.tq-footer__column { min-width: 0; }

.tq-footer__brand { gap: 0.55rem; }

.tq-footer .tq-footer-brand-logo {
	display: block;
	width: clamp(13.75rem, 20vw, 16.25rem);
	max-width: 100%;
	margin: 0;
	line-height: 0;
}

.tq-footer .tq-footer-brand-logo img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: contain;
}

.tq-footer__brand .tq-footer__description { margin-block-start: 0; }

.tq-footer__heading {
	margin: 0 0 0.9rem;
	color: var(--wp--preset--color--white);
	font-size: 0.9rem;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tq-footer__brand-name {
	margin-bottom: 0.55rem;
	font-size: 1.05rem;
	letter-spacing: 0;
	text-transform: none;
}

.tq-footer__description,
.tq-footer__company-number {
	margin: 0;
	color: var(--wp--preset--color--crystal);
	line-height: 1.65;
}

.tq-footer__company-number { margin-bottom: 0.85rem; }

.tq-footer-nav .wp-block-navigation__container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tq-footer-nav .wp-block-navigation-item__content {
	color: var(--wp--preset--color--crystal);
	line-height: 1.5;
	text-decoration: none;
}

.tq-footer-nav .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--cyan); }

.tq-footer :where(a, button):focus-visible {
	outline: 3px solid var(--wp--preset--color--cyan);
	outline-offset: 3px;
	box-shadow: 0 0 0 2px var(--wp--preset--color--navy);
}

.tq-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(201, 224, 243, 0.22);
	color: var(--wp--preset--color--crystal);
	font-size: 0.85rem;
}

.tq-footer__bottom p { margin: 0; }

@media (max-width: 980px) {
	.tq-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tq-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
	.tq-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
	.tq-footer__brand { grid-column: auto; }
}

/* ===== NEW CINEMATIC SAPPHIRE CARD STYLES ===== */
.tq-card {
	height: 100%;
	padding: var(--wp--preset--spacing--xl);
	border: 1px solid #8CB8DC;
	border-radius: 1.25rem;
	background: #C9E0F3;
	box-shadow:
		0 0 0 1px rgba(101, 197, 240, .16),
		0 0 14px 1px rgba(23, 102, 166, .14),
		0 2px 6px rgba(7, 27, 51, 0.05),
		0 6px 16px rgba(21, 100, 176, 0.07);
	transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.tq-card:hover {
	transform: translateY(-2px);
	box-shadow:
		0 0 0 1px rgba(101, 197, 240, .42),
		0 0 22px 2px rgba(101, 197, 240, .24),
		0 4px 12px rgba(7, 27, 51, 0.07),
		0 12px 24px rgba(21, 100, 176, 0.1);
	border-color: #65C5F0;
}

.tq-card--white {
	background: #C9E0F3;
	border-color: #8CB8DC;
	box-shadow:
		0 0 0 1px rgba(101, 197, 240, .16),
		0 0 14px 1px rgba(23, 102, 166, .14),
		0 2px 6px rgba(7, 27, 51, 0.05),
		0 6px 16px rgba(21, 100, 176, 0.07);
}

.tq-card--white:hover {
	transform: translateY(-3px);
	box-shadow:
		0 0 0 1px rgba(101, 197, 240, .42),
		0 0 22px 2px rgba(101, 197, 240, .24),
		0 4px 12px rgba(7, 27, 51, 0.07),
		0 12px 24px rgba(21, 100, 176, 0.1);
	border-color: #65C5F0;
}

.tq-card--glass {
	background: linear-gradient(135deg, rgba(181, 232, 250, 0.18), rgba(101, 197, 240, 0.1));
	border: 1px solid rgba(101, 197, 240, 0.3);
	box-shadow:
		0 0 0 1px rgba(101, 197, 240, .2),
		0 0 16px 1px rgba(23, 102, 166, .18),
		0 4px 24px rgba(21, 100, 176, 0.12),
		0 12px 40px rgba(7, 27, 51, 0.08),
		inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.tq-card--glass:hover {
	box-shadow:
		0 0 0 1px rgba(181, 232, 250, .55),
		0 0 24px 2px rgba(101, 197, 240, .3),
		0 8px 32px rgba(21, 100, 176, 0.18),
		0 16px 48px rgba(7, 27, 51, 0.12),
		inset 0 1px 1px rgba(255, 255, 255, 0.4);
	border-color: rgba(101, 197, 240, 0.5);
}

.tq-card h3 {
	color: var(--wp--preset--color--navy);
	margin-top: 0;
	margin-bottom: var(--wp--preset--spacing--sm);
}

.tq-card p {
	color: var(--wp--preset--color--slate);
	margin: 0;
	line-height: 1.65;
}

.tq-card--white h3,
.tq-card--glass h3 {
	color: var(--wp--preset--color--navy);
}

.tq-card--white p,
.tq-card--glass p {
	color: var(--wp--preset--color--steel);
}

/* ===== SPLIT IMAGE-TEXT SECTIONS ===== */
.tq-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: clamp(2.5rem, 5vw, 4rem);
}

.tq-split--reverse {
	direction: rtl;
}

.tq-split--reverse > * {
	direction: ltr;
}

.tq-split__content {
	padding-inline: clamp(1rem, 3vw, 2rem);
}

.tq-split__visual {
	position: relative;
	isolation: isolate;
	border-radius: 1.5rem;
	overflow: hidden;
	background: var(--wp--preset--color--navy);
	box-shadow:
		0 1.5rem 3.5rem rgba(7, 27, 51, 0.35),
		0 0 0 1px rgba(101, 197, 240, 0.18),
		inset 0 0 2rem rgba(21, 100, 176, 0.08);
}

.tq-split__visual::before {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 30%, transparent 70%, rgba(101, 197, 240, 0.05));
	content: '';
	pointer-events: none;
}

.tq-split__visual img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1672 / 941;
	object-fit: cover;
}

.tq-split__eyebrow {
	color: var(--wp--preset--color--sapphire);
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: var(--wp--preset--spacing--xs);
}

.tq-split__heading {
	margin-top: 0;
	margin-bottom: var(--wp--preset--spacing--md);
	color: var(--wp--preset--color--navy);
}

.tq-split__lead {
	margin-top: 0;
	margin-bottom: var(--wp--preset--spacing--lg);
	color: var(--wp--preset--color--steel);
	max-width: 42rem;
	line-height: 1.7;
}

.tq-split__features {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--wp--preset--spacing--md);
	margin-top: var(--wp--preset--spacing--lg);
}

.tq-split__feature {
	display: flex;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--sm);
	padding: var(--wp--preset--spacing--md);
	background: #C9E0F3;
	border: 1px solid #8CB8DC;
	border-radius: 0.75rem.
	box-shadow:
		0 1px 3px rgba(7, 27, 51, 0.04),
		0 3px 8px rgba(21, 100, 176, 0.06);
	transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.tq-split__feature:hover {
	transform: translateY(-2px);
	box-shadow:
		0 3px 8px rgba(7, 27, 51, 0.06),
		0 6px 16px rgba(21, 100, 176, 0.08);
	border-color: #6A9FC4;
}

.tq-split__feature-icon {
	flex-shrink: 0;
	width: 2rem;
	height: 2rem;
	color: var(--wp--preset--color--sapphire);
}

.tq-split__feature-text {
	font-size: 0.9375rem;
	color: var(--wp--preset--color--slate);
	line-height: 1.5;
}

/* ===== AI AGENTS SECTION ===== */
.tq-agents {
	background:
		radial-gradient(ellipse 60% 50% at 50% 0%, rgba(21, 100, 176, 0.12), transparent 65%),
		radial-gradient(ellipse 50% 40% at 20% 100%, rgba(101, 197, 240, 0.08), transparent 60%),
		var(--wp--preset--color--mist);
}

.tq-agents__header {
	text-align: center;
	max-width: 42rem;
	margin-inline: auto;
	margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.tq-agents__eyebrow {
	color: var(--wp--preset--color--sapphire);
}

.tq-agents__heading {
	margin-top: 0;
	margin-bottom: var(--wp--preset--spacing--md);
	color: var(--wp--preset--color--navy);
	font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
	line-height: 1.2;
}

.tq-agents__lead {
	margin: 0;
	color: var(--wp--preset--color--steel);
	line-height: 1.7;
	max-width: 38rem;
	margin-inline: auto;
}

.tq-agents__grid {
	display: flex;
	flex-direction: column;
	gap: clamp(1.5rem, 2vw, 1.875rem);
	margin-bottom: 0;
}

/* Override WordPress's default content-width constraint on each nested row. */
#ai-agents .tq-agents__grid > .tq-agents__row {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

.tq-agents__row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.5rem, 2vw, 1.875rem);
}

.tq-agents__row--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tq-agent-card {
	padding: var(--wp--preset--spacing--xl);
	background: #C9E0F3;
	border: 1px solid #8CB8DC;
	border-radius: 1.25rem;
	box-shadow:
		0 0 0 1px rgba(101, 197, 240, .14),
		0 0 13px 1px rgba(23, 102, 166, .12),
		0 8px 20px rgba(7, 24, 47, .08);
	transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.tq-agent-card:hover {
	transform: translateY(-2px);
	box-shadow:
		0 0 0 1px rgba(181, 232, 250, .58),
		0 0 24px 2px rgba(101, 197, 240, .3),
		0 14px 30px rgba(7, 24, 47, .16);
	border-color: #b5e8fa;
}

.tq-agent-card__icon {
	width: 3rem;
	height: 3rem;
	color: var(--wp--preset--color--sapphire);
	margin-bottom: var(--wp--preset--spacing--md);
}

.tq-agent-card__title {
	margin: 0 0 var(--wp--preset--spacing--xs);
	color: var(--wp--preset--color--navy);
	font-size: var(--wp--preset--font-size--heading-3);
}

.tq-agent-card__desc {
	margin: 0;
	color: var(--wp--preset--color--steel);
	font-size: 0.9375rem;
	line-height: 1.6;
}

.tq-agents__cta {
	text-align: center;
	margin-top: clamp(1.25rem, 2vw, 1.5rem);
}

.tq-agents__cta .wp-block-button__link {
	padding-inline: clamp(1.5rem, 3vw, 2.5rem);
	font-size: 1.0625rem;
	border-radius: 0.75rem;
	background: linear-gradient(135deg, var(--wp--preset--color--sapphire), var(--wp--preset--color--royal-sapphire));
	box-shadow: 0 4px 20px rgba(21, 100, 176, 0.3);
	transition: transform 150ms ease, box-shadow 150ms ease;
}

.tq-agents__cta .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 28px rgba(21, 100, 176, 0.4);
	background: linear-gradient(135deg, var(--wp--preset--color--royal-sapphire), var(--wp--preset--color--ocean));
}

/* ===== SAAS PRODUCTS SECTION ENHANCEMENT ===== */
.tq-saas {
	background:
		radial-gradient(ellipse 55% 45% at 80% 20%, rgba(101, 197, 240, 0.1), transparent 60%),
		radial-gradient(ellipse 45% 35% at 10% 80%, rgba(21, 100, 176, 0.08), transparent 55%),
		var(--wp--preset--color--white);
}

.tq-saas__header {
	max-width: 48rem;
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.tq-saas__eyebrow {
	color: var(--wp--preset--color--sapphire);
}

.tq-saas__heading {
	margin-top: 0;
	margin-bottom: var(--wp--preset--spacing--md);
	color: var(--wp--preset--color--navy);
}

.tq-saas__lead {
	margin: 0;
	color: var(--wp--preset--color--steel);
	line-height: 1.7;
}

/* ===== WHY TORQUENIX ENHANCEMENT ===== */
.tq-why {
	background:
		radial-gradient(ellipse 60% 50% at 50% 0%, rgba(21, 100, 176, 0.06), transparent 60%),
		var(--wp--preset--color--mist);
}

.tq-why__header {
	text-align: center;
	max-width: 42rem;
	margin-inline: auto;
	margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.tq-why__eyebrow {
	color: var(--wp--preset--color--sapphire);
}

.tq-why__heading {
	margin-top: 0;
	margin-bottom: var(--wp--preset--spacing--md);
	color: var(--wp--preset--color--navy);
}

.tq-why__cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--lg);
}

@media (max-width: 782px) {
	/* Keep the hero's decorative glow from extending the document canvas. */
	.tq-hero { overflow-x: clip; }
	.tq-hero-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: clamp(1.5rem, 4vw, 2.5rem);
	}
	.tq-hero-visual {
		width: min(100%, 36rem);
		margin: 0 auto;
	}
}

@media (max-width: 960px) {
	.tq-agents__row,
	.tq-agents__row--two {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.tq-agents__row,
	.tq-agents__row--two,
	.tq-why__cards { grid-template-columns: minmax(0, 1fr); }
	.tq-agent-card,
	.tq-why__card { min-width: 0; }
}

.tq-why__card {
	padding: var(--wp--preset--spacing--xl);
	background: #C9E0F3;
	border: 1px solid #8CB8DC;
	border-radius: 1.25rem;
	box-shadow:
		0 0 0 1px rgba(101, 197, 240, .14),
		0 0 13px 1px rgba(23, 102, 166, .12),
		0 8px 20px rgba(7, 24, 47, .08),
		inset 0 1px 0 rgba(255, 255, 255, 0.8);
	transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.tq-why__card:hover {
	transform: translateY(-2px);
	box-shadow:
		0 0 0 1px rgba(181, 232, 250, .58),
		0 0 24px 2px rgba(101, 197, 240, .3),
		0 14px 30px rgba(7, 24, 47, .16),
		inset 0 1px 0 rgba(255, 255, 255, 0.8);
	border-color: #b5e8fa;
}

.tq-why__card h3 {
	margin: 0 0 var(--wp--preset--spacing--sm);
	color: var(--wp--preset--color--navy);
}

.tq-why__card p {
	margin: 0;
	color: var(--wp--preset--color--steel);
	line-height: 1.65;
}

/* ===== CONTACT SECTION ===== */
.tq-contact {
	background-image:
		radial-gradient(ellipse 58% 64% at 82% 38%, rgba(21, 94, 239, 0.18), transparent 78%),
		radial-gradient(ellipse 48% 44% at 12% 90%, rgba(131, 232, 245, 0.07), transparent 76%),
		linear-gradient(135deg, #0b2847 0%, #071b33 43%, #06172e 100%);
}

.tq-contact__header {
	text-align: center;
	max-width: 48rem;
	margin-inline: auto;
}

.tq-contact__eyebrow {
	color: var(--wp--preset--color--sky);
}

.tq-contact__heading {
	margin-top: 0;
	margin-bottom: var(--wp--preset--spacing--md);
	color: var(--wp--preset--color--white);
}

.tq-contact__lead {
	margin: 0 0 var(--wp--preset--spacing--xl);
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.7;
}

.tq-contact .wp-block-button__link {
	background: linear-gradient(135deg, var(--wp--preset--color--sapphire), var(--wp--preset--color--royal-sapphire));
	border: none;
	box-shadow: 0 4px 20px rgba(21, 100, 176, 0.35);
	padding-inline: clamp(1.5rem, 3vw, 2.5rem);
	font-size: 1.0625rem;
	border-radius: 0.75rem;
	transition: transform 150ms ease, box-shadow 150ms ease;
}

.tq-contact .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 28px rgba(21, 100, 176, 0.45);
	background: linear-gradient(135deg, var(--wp--preset--color--royal-sapphire), var(--wp--preset--color--ocean));
	color: var(--wp--preset--color--white);
}

.tq-button-outline .wp-block-button__link {
	border: 2px solid var(--wp--preset--color--white);
	background: transparent;
	color: var(--wp--preset--color--white);
}

.tq-button-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--navy);
}

.tq-dark .wp-block-button:not(.tq-button-outline) .wp-block-button__link:hover {
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--navy);
}

/* ===== IT SERVICES PAGE â€” BALANCED ENTERPRISE SAPHIRE (REDESIGNED) ===== */
.tq-page--it-services {
	--tq-navy: #07182F;
	--tq-sapphire: #102E57;
	--tq-ocean: #1766A6;
	--tq-crystal: #C9E0F3;
	--tq-ice: #F1F6FB;
	--tq-steel: #3A5A7A;
	--tq-slate: #4A5E7A;
	--tq-white: #FFFFFF;
	--tq-border: rgba(21, 100, 176, 0.18);
	--tq-border-strong: rgba(21, 100, 176, 0.35);
	--tq-focus-ring: 0 0 0 3px rgba(101, 197, 240, 0.5);
	--tq-sapphire-grad: linear-gradient(135deg, #102E57 0%, #1766A6 100%);
	--tq-ocean-grad: linear-gradient(135deg, #1766A6 0%, #1A7AB8 100%);
	--tq-crystal-grad: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 251, 0.6));
	--tq-ice-grad: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 251, 0.4));
	--tq-dark-grad: linear-gradient(155deg, #07182F 0%, #0B2345 45%, #1256A0 100%);
	--tq-sapphire-glow: rgba(21, 100, 176, 0.18);
	--tq-ocean-glow: rgba(101, 197, 240, 0.1);
}

/* ===== BASE SPACING SYSTEM ===== */
.tq-page--it-services .tq-section {
	padding-block: clamp(3rem, 4.5vw, 4rem);
}

.tq-page--it-services .tq-section + .tq-section {
	margin-block-start: 0;
}

.tq-page--it-services .alignwide {
	max-width: 1200px;
	width: 100%;
}

/* Force grid containers to use full available width within alignwide */
.tq-page--it-services .alignwide > .is-layout-grid,
.tq-page--it-services .alignwide > .wp-block-group.is-layout-grid {
	width: 100%;
	max-width: none;
}

/* Ensure grid containers inside sections use full width */
.tq-page--it-services .tq-section .alignwide {
	max-width: 1200px;
}

/* Override WP core constrain on alignwide inside our page */
.tq-page--it-services .alignwide.is-layout-constrained {
	max-width: 1200px !important;
}

/* ===== BREADCRUMB â€” Compact, Refined ===== */
.tq-page--it-services .tq-breadcrumb {
	padding-block: var(--wp--preset--spacing--sm);
	background: transparent;
	border-bottom: 1px solid var(--tq-border);
}

.tq-page--it-services .tq-breadcrumb p {
	margin: 0;
	color: var(--tq-steel);
	font-size: 0.8125rem;
	letter-spacing: 0.02em;
	font-weight: 400;
}

.tq-page--it-services .tq-breadcrumb a {
	color: var(--tq-ocean);
	text-decoration: none;
	font-weight: 500;
	transition: color 150ms ease;
}

.tq-page--it-services .tq-breadcrumb a:hover {
	color: var(--tq-sapphire);
	text-decoration: underline;
}

.tq-page--it-services .tq-breadcrumb span[aria-hidden="true"] {
	margin-inline: var(--wp--preset--spacing--xs);
	color: var(--tq-steel);
	opacity: 0.5;
}

.tq-page--it-services .tq-breadcrumb span[aria-current="page"] {
	color: var(--tq-navy);
	font-weight: 600;
}

/* ===== PAGE HEADER â€” Cinematic Sapphire (Preserved, Slightly Tightened) ===== */
.tq-page--it-services .tq-page-header.tq-page-header--it {
	position: relative;
	isolation: isolate;
	padding-block: clamp(3.5rem, 6vw, 5.5rem);
	background:
		radial-gradient(ellipse 70% 55% at 85% 20%, rgba(21, 100, 176, 0.18), transparent 65%),
		radial-gradient(ellipse 55% 45% at 10% 80%, rgba(101, 197, 240, 0.1), transparent 55%),
		linear-gradient(155deg, #07182F 0%, #0B2345 45%, #1256A0 100%);
	overflow: hidden;
}

.tq-page--it-services .tq-page-header--it::before,
.tq-page--it-services .tq-page-header--it::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.tq-page--it-services .tq-page-header--it::before {
	background-image:
		radial-gradient(ellipse at 90% 10%, rgba(101, 197, 240, 0.08), transparent 40%),
		radial-gradient(ellipse at 10% 90%, rgba(21, 100, 176, 0.06), transparent 35%);
}

.tq-page--it-services .tq-page-header--it::after {
	background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 30%, transparent 70%, rgba(7,24,47,0.15) 100%);
}

.tq-page--it-services .tq-page-header--it > .alignwide {
	position: relative;
	z-index: 1;
}

.tq-page--it-services .tq-page-header--it .tq-eyebrow--light {
	color: var(--tq-crystal);
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	font-size: 0.7rem;
	margin-bottom: var(--wp--preset--spacing--xs);
}

.tq-page--it-services .tq-page-header--it h1 {
	max-width: 56rem;
	margin-bottom: var(--wp--preset--spacing--sm);
	color: var(--tq-white);
	font-size: clamp(2.25rem, 1.8rem + 3vw, 3.25rem);
	line-height: 1.18;
	font-weight: 700;
	letter-spacing: -0.025em;
}

.tq-page--it-services .tq-page-header--it .tq-lead {
	max-width: 50rem;
	margin-bottom: var(--wp--preset--spacing--lg);
	color: rgba(181, 232, 250, 0.95);
	font-size: clamp(1.1rem, 1rem + 0.25vw, 1.2rem);
	line-height: 1.65;
	font-weight: 400;
}

.tq-page--it-services .tq-page-header__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--md);
	align-items: center;
}

.tq-page--it-services .tq-page-header__ctas .wp-block-button__link {
	font-weight: 600;
	font-size: 0.95rem;
	padding-block: 0.8rem;
	padding-inline: clamp(1.4rem, 2.5vw, 1.875rem);
	border-radius: 0.5rem;
	transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.tq-page--it-services .tq-page-header__ctas .wp-block-button:not(.tq-button-outline) .wp-block-button__link {
	background: linear-gradient(135deg, #102E57 0%, #1766A6 100%);
	border: none;
	box-shadow: 
		0 4px 14px rgba(16, 46, 87, 0.35),
		0 8px 20px rgba(7, 24, 47, 0.18),
		inset 0 1px 0 rgba(255, 255, 255, 0.12);
	color: #FFFFFF;
}

.tq-page--it-services .tq-page-header__ctas .wp-block-button:not(.tq-button-outline) .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 
		0 6px 20px rgba(16, 46, 87, 0.45),
		0 10px 28px rgba(7, 24, 47, 0.22),
		inset 0 1px 0 rgba(255, 255, 255, 0.18);
	background: linear-gradient(135deg, #1766A6 0%, #1A7AB8 100%);
}

.tq-page--it-services .tq-page-header__ctas .tq-button-outline .wp-block-button__link {
	background: transparent;
	border: 2px solid rgba(181, 232, 250, 0.45);
	color: #FFFFFF;
	box-shadow: 
		0 4px 14px rgba(7, 24, 47, 0.12),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.tq-page--it-services .tq-page-header__ctas .tq-button-outline .wp-block-button__link:hover {
	background: rgba(181, 232, 250, 0.12);
	border-color: #C9E0F3;
	box-shadow: 
		0 5px 18px rgba(16, 46, 87, 0.22),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
	color: #FFFFFF;
}

/* IT Services CTA on Homepage â€” refined */
.tq-it-services-cta {
	text-align: center;
	padding-block: var(--wp--preset--spacing--lg);
}

.tq-it-services-cta .wp-block-button__link {
	font-weight: 600;
	font-size: 0.95rem;
	padding-block: 0.8rem;
	padding-inline: clamp(1.4rem, 2.5vw, 1.875rem);
	border-radius: 0.5rem;
	border: 2px solid #8CB8DC;
	background: transparent;
	color: #102E57;
	transition: all 150ms ease;
}

.tq-it-services-cta .wp-block-button__link:hover {
	background: #C9E0F3;
	border-color: #6A9FC4;
	color: #102E57;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(16, 46, 87, 0.18);
}

/* ===== SERVICE ICONS ===== */
.tq-capability-icon {
	width: 1.75rem;
	height: 1.75rem;
	color: var(--tq-ocean);
	margin-bottom: var(--wp--preset--spacing--xs);
	flex-shrink: 0;
}

.tq-related-icon {
	width: 2rem;
	height: 2rem;
	color: var(--tq-ocean);
	margin-bottom: var(--wp--preset--spacing--xs);
	flex-shrink: 0;
}

.tq-capability-icon {
	width: 1.75rem;
	height: 1.75rem;
	color: var(--tq-ocean);
	margin-bottom: var(--wp--preset--spacing--xs);
	flex-shrink: 0;
}

.tq-related-icon {
	width: 2rem;
	height: 2rem;
	color: var(--tq-ocean);
	margin-bottom: var(--wp--preset--spacing--xs);
	flex-shrink: 0;
}

/* ===== SERVICE ICONS FOR NEW CARDS ===== */
.tq-service-card__icon {
	width: 3rem;
	height: 3rem;
	color: var(--tq-sapphire);
	margin-bottom: var(--wp--preset--spacing--md);
	flex-shrink: 0;
}

.tq-service-card--dark .tq-service-card__icon {
	color: var(--tq-crystal);
}

.tq-related-icon {
	width: 2rem;
	height: 2rem;
	color: var(--tq-ocean);
	margin-bottom: var(--wp--preset--spacing--xs);
	flex-shrink: 0;
}

.tq-capability-icon {
	width: 1.75rem;
	height: 1.75rem;
	color: var(--tq-ocean);
	margin-bottom: var(--wp--preset--spacing--xs);
	flex-shrink: 0;
}

.tq-related-icon {
	width: 2rem;
	height: 2rem;
	color: var(--tq-ocean);
	margin-bottom: var(--wp--preset--spacing--xs);
	flex-shrink: 0;
}

/* ===== PREMIUM SERVICE OVERVIEW GRID ===== */
.tq-page--it-services .tq-services-overview-grid {
	padding-block: clamp(3rem, 5vw, 4rem);
	background: transparent;
}

.tq-page--it-services .tq-services-overview-grid > .alignwide {
	max-width: 1200px;
	margin-inline: auto;
}

.tq-page--it-services .tq-services-overview-grid .tq-eyebrow {
	color: var(--tq-sapphire);
}

.tq-page--it-services .tq-services-overview-grid h2 {
	margin: 0 0 var(--wp--preset--spacing--sm);
	color: var(--tq-navy);
	font-size: clamp(2rem, 1.6rem + 2.5vw, 3rem);
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.tq-page--it-services .tq-services-overview-grid .tq-lead {
	max-width: 52rem;
	margin: 0 auto var(--wp--preset--spacing--xl);
	color: var(--tq-steel);
	font-size: clamp(1.1rem, 1rem + 0.25vw, 1.2rem);
	line-height: 1.7;
	font-weight: 400;
}

.tq-page--it-services .tq-service-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(1.5rem, 2vw, 2rem);
}

.tq-service-card {
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 251, 0.4));
	border: 1px solid rgba(21, 100, 176, 0.1);
	border-radius: 1rem;
	padding: var(--wp--preset--spacing--xl) var(--wp--preset--spacing--lg);
	transition: all 180ms ease;
	display: flex;
	flex-direction: column;
}

.tq-service-card:hover {
	transform: translateY(-4px);
	box-shadow: 
		0 12px 32px rgba(16, 46, 87, 0.12),
		0 20px 40px rgba(7, 24, 47, 0.08);
	border-color: rgba(21, 100, 176, 0.2);
}

.tq-service-card--dark {
	background: linear-gradient(155deg, #07182F 0%, #0B2345 50%, #102E57 100%);
	border-color: rgba(101, 197, 240, 0.2);
}

.tq-service-card--dark:hover {
	box-shadow: 
		0 16px 40px rgba(7, 24, 47, 0.25),
		0 24px 56px rgba(7, 24, 47, 0.15);
	border-color: rgba(101, 197, 240, 0.4);
}

.tq-service-card__icon {
	width: 3rem;
	height: 3rem;
	color: var(--tq-sapphire);
	margin-bottom: var(--wp--preset--spacing--md);
	flex-shrink: 0;
}

.tq-service-card--dark .tq-service-card__icon {
	color: var(--tq-crystal);
}

.tq-service-card__title {
	margin: 0 0 var(--wp--preset--spacing--xs);
	color: var(--tq-navy);
	font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.5rem);
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.tq-service-card--dark .tq-service-card__title {
	color: var(--tq-white);
}

.tq-service-card__desc {
	margin: 0 0 var(--wp--preset--spacing--md);
	color: var(--tq-steel);
	font-size: 0.95rem;
	line-height: 1.65;
	font-weight: 400;
	flex-grow: 1;
}

.tq-service-card--dark .tq-service-card__desc {
	color: rgba(181, 232, 250, 0.85);
}

.tq-service-card__highlights {
	margin: 0;
	color: var(--tq-slate);
	font-size: 0.85rem;
	line-height: 1.6;
	font-weight: 400;
}

.tq-service-card--dark .tq-service-card__highlights {
	color: rgba(181, 232, 250, 0.7);
}

.tq-service-card__highlights strong {
	color: inherit;
}

/* ===== REFINED SERVICE DETAILS ===== */
.tq-page--it-services .tq-services-detail {
	padding-block: 0;
	background: transparent;
}

.tq-page--it-services .tq-services-detail > .alignwide {
	max-width: 1200px;
	margin-inline: auto;
}

/* Service Detail â€” balanced two-column composition */
.tq-service-detail {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: start;
	gap: clamp(2rem, 3.5vw, 3.5rem);
	padding-block: clamp(3rem, 4.5vw, 4rem);
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

.tq-service-detail:last-child {
	border-bottom: none;
}

.tq-service-detail--reverse {
	direction: rtl;
}

.tq-service-detail--reverse > * {
	direction: ltr;
}

/* Alternating dark/light detail backgrounds for rhythm */
.tq-service-detail:nth-child(odd):not(.tq-service-detail--dark) {
	background: linear-gradient(180deg, rgba(21, 100, 176, 0.02) 0%, transparent 50%, rgba(101, 197, 240, 0.015) 100%);
}

.tq-service-detail:nth-child(even):not(.tq-service-detail--dark) {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 50%, rgba(241, 246, 251, 0.5) 100%);
}

.tq-service-detail--dark {
	background: var(--tq-dark-grad);
}

.tq-service-detail--dark .tq-service-detail__content h2 {
	color: #FFFFFF;
}

.tq-service-detail--dark .tq-service-detail__content .tq-eyebrow--light {
	color: var(--tq-crystal);
}

.tq-service-detail--dark .tq-service-detail__content > p {
	color: rgba(181, 232, 250, 0.92);
}

.tq-service-detail--dark .tq-detail-highlights {
	color: rgba(181, 232, 250, 0.7);
}

.tq-service-detail--dark .tq-detail-highlights strong {
	color: var(--tq-crystal);
}

/* Service Content Column */
.tq-service-detail__content {
	padding-inline-end: clamp(1rem, 2.5vw, 2rem);
}

.tq-service-detail__content .tq-eyebrow {
	color: var(--tq-sapphire);
}

.tq-service-detail--dark .tq-service-detail__content .tq-eyebrow {
	color: var(--tq-crystal);
}

.tq-service-detail__content h2 {
	margin: 0 0 var(--wp--preset--spacing--xs);
	color: var(--tq-sapphire);
	font-size: clamp(1.625rem, 1.3rem + 1.8vw, 2.25rem);
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.tq-service-detail--dark .tq-service-detail__content h2 {
	color: var(--tq-white);
}

.tq-service-detail__content > p {
	margin: 0 0 var(--wp--preset--spacing--md);
	color: var(--tq-steel);
	font-size: clamp(1rem, 0.95rem + 0.15vw, 1.05rem);
	line-height: 1.7;
	max-width: 42rem;
}

.tq-service-detail--dark .tq-service-detail__content > p {
	color: rgba(181, 232, 250, 0.92);
}

.tq-detail-highlights {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.65;
}

.tq-detail-highlights strong {
	color: var(--tq-sapphire);
}

.tq-service-detail--dark .tq-detail-highlights strong {
	color: var(--tq-crystal);
}

/* Detail CTA Button */
.tq-detail-cta {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--xs);
	margin-top: var(--wp--preset--spacing--md);
	padding: 0.75rem 1.25rem;
	background: linear-gradient(135deg, #102E57, #1766A6);
	color: #FFFFFF;
	font-weight: 600;
	font-size: 0.95rem;
	border-radius: 0.5rem;
	text-decoration: none;
	transition: all 180ms ease;
	box-shadow: 0 3px 12px rgba(16, 46, 87, 0.3);
}

.tq-detail-cta:hover {
	background: linear-gradient(135deg, #1766A6, #1A7AB8);
	transform: translateY(-2px);
	box-shadow: 0 5px 18px rgba(16, 46, 87, 0.38);
	color: #FFFFFF;
	text-decoration: none;
}

.tq-service-detail--dark .tq-detail-cta {
	background: linear-gradient(135deg, var(--tq-crystal), var(--tq-sapphire-light));
	color: var(--tq-void);
	box-shadow: 0 3px 12px rgba(7, 24, 47, 0.3);
}

.tq-service-detail--dark .tq-detail-cta:hover {
	background: linear-gradient(135deg, var(--tq-sapphire-light), var(--tq-crystal));
	box-shadow: 0 5px 18px rgba(7, 24, 47, 0.38);
}

/* Service Visual Column */
.tq-service-detail__visual {
	display: flex;
	align-items: start;
	justify-content: center;
}

.tq-service-detail__image-wrapper {
	width: 100%;
	max-width: 100%;
	border-radius: 0.75rem;
	overflow: hidden;
	box-shadow: 
		0 12px 40px rgba(7, 24, 47, 0.15),
		0 4px 16px rgba(16, 46, 87, 0.08);
	background: var(--tq-white);
}

.tq-service-detail__image-wrapper--dark {
	background: var(--tq-dark-grad);
	box-shadow: 
		0 12px 40px rgba(7, 24, 47, 0.35),
		0 4px 16px rgba(16, 46, 87, 0.15),
		inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.tq-service-detail__image-wrapper img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 400ms ease;
}

.tq-service-detail__image-wrapper:hover img {
	transform: scale(1.02);
}

/* ===== SERVICES OVERVIEW GRID â€” PREMIUM CARDS ===== */

.tq-page--it-services .tq-services-overview-grid {
	padding-block: clamp(2.5rem, 4vw, 3.5rem);
}

.tq-page--it-services .tq-services-overview-grid > .alignwide {
	max-width: 1200px;
}

.tq-page--it-services .tq-services-overview-grid .tq-eyebrow {
	color: var(--tq-sapphire);
}

.tq-page--it-services .tq-services-overview-grid h2 {
	margin: var(--wp--preset--spacing--xs) 0 var(--wp--preset--spacing--sm);
	color: #102E57;
	font-size: clamp(1.75rem, 1.4rem + 1.8vw, 2.5rem);
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.tq-page--it-services .tq-services-overview-grid .tq-lead {
	margin: 0;
	max-width: 48rem;
}

/* Service Cards Grid */
.tq-page--it-services .tq-service-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(1rem, 2vw, 1.5rem);
	margin-top: clamp(2rem, 3vw, 2.5rem);
}

/* Service Card â€” Clean & Minimal */
.tq-page--it-services .tq-service-card {
	background: 
		linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 251, 0.4));
	border: 1px solid rgba(21, 100, 176, 0.1);
	border-radius: 1rem;
	padding: var(--wp--preset--spacing--lg) var(--wp--preset--spacing--md);
	text-align: center;
	transition: all 180ms ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 280px;
}

.tq-page--it-services .tq-service-card:hover {
	transform: translateY(-4px);
	box-shadow: 
		0 12px 32px rgba(16, 46, 87, 0.12),
		0 6px 20px rgba(7, 24, 47, 0.08);
	border-color: rgba(21, 100, 176, 0.18);
}

/* Dark variant for Cloud & Data Analytics cards */
.tq-page--it-services .tq-service-card--dark {
	background: 
		linear-gradient(145deg, rgba(7, 24, 47, 0.95), rgba(11, 35, 69, 0.9));
	border: 1px solid rgba(101, 197, 240, 0.15);
}

.tq-page--it-services .tq-service-card--dark:hover {
	box-shadow: 
		0 12px 32px rgba(7, 24, 47, 0.25),
		0 6px 20px rgba(16, 46, 87, 0.15);
	border-color: rgba(101, 197, 240, 0.25);
}

.tq-page--it-services .tq-service-card__icon {
	width: 3rem;
	height: 3rem;
	color: var(--tq-sapphire);
	margin-bottom: var(--wp--preset--spacing--md);
	flex-shrink: 0;
}

.tq-page--it-services .tq-service-card--dark .tq-service-card__icon {
	color: var(--tq-crystal);
}

.tq-page--it-services .tq-service-card__title {
	margin: 0 0 var(--wp--preset--spacing--xs);
	color: #102E57;
	font-size: 1rem;
	line-height: 1.35;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.tq-page--it-services .tq-service-card--dark .tq-service-card__title {
	color: var(--tq-crystal);
}

.tq-page--it-services .tq-service-card__desc {
	margin: 0 0 var(--wp--preset--spacing--md);
	color: #3A5A7A;
	font-size: 0.875rem;
	line-height: 1.6;
	font-weight: 400;
}

.tq-page--it-services .tq-service-card--dark .tq-service-card__desc {
	color: rgba(181, 232, 250, 0.85);
}

.tq-page--it-services .tq-service-card__link {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--xs);
	color: var(--tq-sapphire);
	font-weight: 600;
	font-size: 0.875rem;
	text-decoration: none;
	transition: all 150ms ease;
}

.tq-page--it-services .tq-service-card__link:hover {
	color: #102E57;
	gap: var(--wp--preset--spacing--sm);
}

.tq-page--it-services .tq-service-card--dark .tq-service-card__link {
	color: var(--tq-crystal);
}

.tq-page--it-services .tq-service-card--dark .tq-service-card__link:hover {
	color: var(--tq-sapphire-light);
}

/* Responsive Service Cards Grid */
@media (max-width: 1200px) {
	.tq-page--it-services .tq-service-cards {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.tq-page--it-services .tq-service-cards {
		grid-template-columns: 1fr;
	}
}

/* ===== RESPONSIVE SERVICE DETAILS ===== */

@media (max-width: 1024px) {
	.tq-service-detail {
		grid-template-columns: 1fr;
		gap: clamp(1.5rem, 3vw, 2.5rem);
		padding-block: clamp(2.5rem, 4vw, 3.5rem);
	}
	
	.tq-service-detail__content {
		padding-inline-end: 0;
		text-align: center;
	}
	
	.tq-service-detail__content > p {
		max-width: 100%;
	}
	
	.tq-service-detail--reverse {
		direction: ltr;
	}
}

@media (max-width: 640px) {
	.tq-service-detail {
		padding-block: clamp(2rem, 5vw, 3rem);
		gap: var(--wp--preset--spacing--lg);
	}
	
	.tq-service-detail__image-wrapper {
		border-radius: 0.5rem;
	}
}

/* ===== OUR APPROACH â€” SUBSTANTIAL CONNECTED TIMELINE ===== */

.tq-page--it-services .tq-approach {
	background:
		radial-gradient(ellipse 65% 50% at 50% 0%, rgba(21, 100, 176, 0.06), transparent 50%),
		radial-gradient(ellipse 50% 40% at 15% 100%, rgba(101, 197, 240, 0.04), transparent 45%),
		#F1F6FB;
	padding-block: clamp(3rem, 5vw, 4rem);
	margin-block: clamp(1.5rem, 2.5vw, 2.5rem);
	border-radius: 1.5rem;
	margin-inline: clamp(1rem, 2vw, 2rem);
	box-shadow: 
		0 1px 0 rgba(21, 100, 176, 0.03),
		inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.tq-page--it-services .tq-approach > .alignwide {
	max-width: 1200px;
}

.tq-page--it-services .tq-approach h2 {
	text-align: center;
	max-width: 54rem;
	margin-inline: auto;
	margin-bottom: clamp(2rem, 3vw, 2.75rem);
	color: #102E57;
	font-size: clamp(1.75rem, 1.4rem + 1.8vw, 2.5rem);
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: -0.02em;
}

/* Equal-width 4-column grid â€” connected timeline */
.tq-page--it-services .tq-approach__steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
	position: relative;
}

.tq-page--it-services .tq-approach__steps::before {
	content: '';
	position: absolute;
	top: 1rem;
	left: 50%;
	right: 50%;
	height: 2px;
	background: linear-gradient(90deg, transparent, #102E57, transparent);
	z-index: 0;
}

@media (min-width: 1101px) {
	.tq-page--it-services .tq-approach__steps::before {
		left: 1.75rem;
		right: 1.75rem;
	}
}

.tq-page--it-services .tq-approach__step {
	min-width: 0;
	padding: clamp(1.25rem, 2vw, 1.75rem);
	background: 
		linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 251, 0.4));
	border: 1px solid rgba(101, 197, 240, .34);
	border-radius: 1rem;
	text-align: center;
	box-shadow: 0 0 0 1px rgba(101, 197, 240, .14), 0 0 13px 1px rgba(23, 102, 166, .12), 0 10px 26px rgba(7, 24, 47, .1);
	transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	z-index: 1;
}

.tq-page--it-services .tq-approach__step:hover {
	transform: translateY(-2px);
	box-shadow: 0 0 0 1px rgba(181, 232, 250, .58), 0 0 24px 2px rgba(101, 197, 240, .3), 0 16px 34px rgba(7, 24, 47, .16);
	border-color: #b5e8fa;
}

.tq-page--it-services .tq-approach__step p:first-child {
	margin: 0 0 var(--wp--preset--spacing--sm);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--wp--preset--spacing--xs);
}

.tq-page--it-services .tq-step__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	height: 2rem;
	background: linear-gradient(135deg, #102E57, #1766A6);
	color: #FFFFFF;
	border-radius: 0.5rem;
	font-weight: 700;
	font-size: 0.8125rem;
	line-height: 1;
	box-shadow: 
		0 2px 6px rgba(16, 46, 87, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.18);
	flex-shrink: 0;
}

.tq-page--it-services .tq-step__label {
	color: #102E57;
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.tq-page--it-services .tq-approach__step p:last-child {
	margin: 0;
	color: #3A5A7A;
	font-size: 0.9rem;
	line-height: 1.6;
	font-weight: 400;
}

/* Responsive Approach Grid */
@media (max-width: 1100px) {
	.tq-page--it-services .tq-approach__steps::before {
		display: none;
	}
	
	.tq-page--it-services .tq-approach__steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.tq-page--it-services .tq-approach {
		padding-block: clamp(2.5rem, 5vw, 3.5rem);
		margin-inline: clamp(1rem, 2.5vw, 1.5rem);
		border-radius: 1rem;
	}
	
	.tq-page--it-services .tq-approach__steps {
		grid-template-columns: 1fr;
		gap: var(--wp--preset--spacing--xs);
	}
	
	.tq-page--it-services .tq-approach__step {
		padding: var(--wp--preset--spacing--md) var(--wp--preset--spacing--lg);
	}
}

/* ===== RELATED SERVICES â€” PREMIUM NAVIGATION CARDS ===== */

.tq-page--it-services .tq-related {
	background: transparent;
	padding-block: clamp(2.5rem, 4vw, 3.5rem);
}

.tq-page--it-services .tq-related > .alignwide {
	max-width: 1200px;
}

.tq-page--it-services .tq-related h2 {
	margin: 0 0 clamp(1.5rem, 2.5vw, 2.25rem);
	color: #102E57;
	font-size: clamp(1.625rem, 1.3rem + 1.8vw, 2.25rem);
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.tq-page--it-services .tq-related__cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1rem, 2vw, 1.5rem);
}

.tq-page--it-services .tq-related__card {
	background: 
		linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 251, 0.4));
	border: 1px solid rgba(21, 100, 176, 0.1);
	border-radius: 1rem;
	padding: var(--wp--preset--spacing--lg) var(--wp--preset--spacing--xl);
	transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.tq-page--it-services .tq-related__card:hover {
	transform: translateY(-2px);
	box-shadow: 
		0 8px 24px rgba(16, 46, 87, 0.1),
		0 14px 30px rgba(7, 24, 47, 0.06);
	border-color: rgba(21, 100, 176, 0.18);
}

.tq-page--it-services .tq-related__card .tq-related-icon {
	margin-bottom: var(--wp--preset--spacing--xs);
}

.tq-page--it-services .tq-related__card p:first-child {
	margin: 0 0 var(--wp--preset--spacing--xs);
	color: #102E57;
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.35;
}

.tq-page--it-services .tq-related__card p:last-of-type {
	margin: 0 0 var(--wp--preset--spacing--md);
	color: #3A5A7A;
	font-size: 0.9rem;
	line-height: 1.6;
	font-weight: 400;
	flex-grow: 1;
}

.tq-page--it-services .tq-related__card .wp-block-buttons {
	margin-top: auto;
}

/* Related card buttons â€” improved sizing */
.tq-page--it-services .tq-related__card .wp-block-button__link {
	font-weight: 600;
	font-size: 0.875rem;
	padding-block: 0.65rem;
	padding-inline: clamp(1rem, 1.5vw, 1.375rem);
	border-radius: 0.5rem;
	transition: all 150ms ease;
	white-space: nowrap;
}

.tq-page--it-services .tq-related__card .wp-block-button:not(.tq-button-outline) .wp-block-button__link {
	background: linear-gradient(135deg, #102E57, #1766A6);
	border: none;
	color: #FFFFFF;
	box-shadow: 0 3px 12px rgba(16, 46, 87, 0.3);
}

.tq-page--it-services .tq-related__card .wp-block-button:not(.tq-button-outline) .wp-block-button__link:hover {
	background: linear-gradient(135deg, #1766A6, #1A7AB8);
	transform: translateY(-2px);
	box-shadow: 0 5px 18px rgba(16, 46, 87, 0.38);
}

.tq-page--it-services .tq-related__card .tq-button-outline .wp-block-button__link {
	background: transparent;
	border: 2px solid rgba(21, 100, 176, 0.2);
	color: #1766A6;
}

.tq-page--it-services .tq-related__card .tq-button-outline .wp-block-button__link:hover {
	background: rgba(16, 46, 87, 0.06);
	border-color: #102E57;
}

/* Responsive Related Cards */
@media (max-width: 1024px) {
	.tq-page--it-services .tq-related__cards {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.tq-page--it-services .tq-related__cards {
		grid-template-columns: 1fr;
	}
}

/* ===== FINAL CONTACT CTA â€” COMPACT SAPHIRE PANEL ===== */

.tq-page--it-services .tq-contact-cta.tq-contact-cta--it {
	position: relative;
	isolation: isolate;
	padding-block: clamp(3.5rem, 6vw, 5rem);
	background:
		radial-gradient(ellipse 70% 55% at 85% 25%, rgba(21, 100, 176, 0.18), transparent 60%),
		radial-gradient(ellipse 55% 45% at 15% 75%, rgba(101, 197, 240, 0.1), transparent 50%),
		linear-gradient(155deg, #07182F 0%, #0B2345 45%, #1256A0 100%);
	overflow: hidden;
}

.tq-page--it-services .tq-contact-cta--it::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(180deg, rgba(255,255,255,0.015) 0%, transparent 30%, transparent 70%, rgba(7,24,47,0.18) 100%);
	pointer-events: none;
}

.tq-page--it-services .tq-contact-cta--it > .alignwide {
	position: relative;
	z-index: 1;
	max-width: 56rem;
}

.tq-page--it-services .tq-contact-cta--it h2 {
	margin: 0 0 var(--wp--preset--spacing--xs);
	color: #FFFFFF;
	font-size: clamp(1.875rem, 1.5rem + 2.2vw, 2.75rem);
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -0.02em;
	text-align: left;
}

.tq-page--it-services .tq-contact-cta--it .tq-lead {
	margin: 0 0 var(--wp--preset--spacing--lg);
	color: rgba(181, 232, 250, 0.92);
	font-size: clamp(1.05rem, 1rem + 0.2vw, 1.15rem);
	line-height: 1.65;
	text-align: left;
}

.tq-page--it-services .tq-contact-cta__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--md);
	justify-content: flex-start;
}

.tq-page--it-services .tq-contact-cta__buttons .wp-block-button__link {
	font-weight: 600;
	font-size: 0.95rem;
	padding-block: 0.8rem;
	padding-inline: clamp(1.4rem, 2.5vw, 1.875rem);
	border-radius: 0.5rem;
	transition: all 150ms ease;
}

.tq-page--it-services .tq-contact-cta__buttons .wp-block-button:not(.tq-button-outline) .wp-block-button__link {
	background: linear-gradient(135deg, #102E57, #1766A6);
	border: none;
	color: #FFFFFF;
	box-shadow: 
		0 3px 12px rgba(16, 46, 87, 0.3),
		0 6px 20px rgba(7, 24, 47, 0.12),
		inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.tq-page--it-services .tq-contact-cta__buttons .wp-block-button:not(.tq-button-outline) .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 
		0 5px 18px rgba(16, 46, 87, 0.38),
		0 8px 26px rgba(7, 24, 47, 0.16),
		inset 0 1px 0 rgba(255, 255, 255, 0.18);
	background: linear-gradient(135deg, #1766A6, #1A7AB8);
}

.tq-page--it-services .tq-contact-cta__buttons .tq-button-outline .wp-block-button__link {
	background: transparent;
	border: 2px solid rgba(181, 232, 250, 0.4);
	color: #FFFFFF;
	box-shadow: 
		0 3px 12px rgba(7, 24, 47, 0.1),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.tq-page--it-services .tq-contact-cta__buttons .tq-button-outline .wp-block-button__link:hover {
	background: rgba(181, 232, 250, 0.1);
	border-color: #C9E0F3;
	box-shadow: 
		0 5px 16px rgba(16, 46, 87, 0.18),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
	color: #FFFFFF;
}

/* ===== MOTION & INTERACTIONS ===== */

/* Scroll Reveal Animations - DISABLED for visibility fix */

/* Aurora Background Animation for Dark Sections */
@media (prefers-reduced-motion: no-preference) {
	.tq-page--it-services .tq-service-panel--cloud-devops,
	.tq-page--it-services .tq-service-panel--analytics,
	.tq-page--it-services .tq-service-detail--dark,
	.tq-page--it-services .tq-contact-cta.tq-contact-cta--it {
		background-attachment: fixed;
	}
	
	.tq-page--it-services .tq-contact-cta--it::before {
		animation: tq-aurora-shift 20s ease-in-out infinite alternate;
	}
}

@keyframes tq-aurora-shift {
	0% {
		background: linear-gradient(180deg, rgba(255,255,255,0.015) 0%, transparent 30%, transparent 70%, rgba(7,24,47,0.18) 100%);
	}
	50% {
		background: linear-gradient(180deg, rgba(101,197,240,0.03) 0%, transparent 30%, transparent 70%, rgba(21,100,176,0.08) 100%);
	}
	100% {
		background: linear-gradient(180deg, rgba(255,255,255,0.015) 0%, transparent 30%, transparent 70%, rgba(7,24,47,0.18) 100%);
	}
}

/* Hover Effects â€” Refined */
@media (prefers-reduced-motion: no-preference) {
	.tq-service-card,
	.tq-service-detail,
	.tq-approach__step,
	.tq-related__card,
	.tq-service-panel,
	.tq-page--it-services .tq-page-header__ctas .wp-block-button__link,
	.tq-page--it-services .tq-contact-cta__buttons .wp-block-button__link,
	.tq-page--it-services .tq-it-services-cta .wp-block-button__link {
		transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
	}
	
	.tq-service-card:hover,
	.tq-approach__step:hover,
	.tq-related__card:hover,
	.tq-service-panel:hover {
		transform: translateY(-4px);
	}
	
	.tq-service-card__icon:hover,
	.tq-related__card .tq-related-icon:hover {
		transform: scale(1.1);
	}
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
	.tq-page--it-services .tq-focus-tile,
	.tq-page--it-services .tq-approach__step,
	.tq-page--it-services .tq-related__card,
	.tq-page--it-services .tq-service-panel,
	.tq-page--it-services .tq-page-header__ctas .wp-block-button__link,
	.tq-page--it-services .tq-contact-cta__buttons .wp-block-button__link,
	.tq-page--it-services .tq-it-services-cta .wp-block-button__link,
	.tq-service-panel,
	.tq-service-detail,
	.tq-service-card {
		animation: none;
		transform: none;
		transition: none;
	}
	
	.tq-page--it-services .tq-focus-tile:hover,
	.tq-page--it-services .tq-approach__step:hover,
	.tq-page--it-services .tq-related__card:hover,
	.tq-page--it-services .tq-service-panel:hover,
	.tq-service-card:hover {
		transform: none;
	}
}
/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
	.tq-page--it-services .tq-focus-tile,
	.tq-page--it-services .tq-approach__step,
	.tq-page--it-services .tq-related__card,
	.tq-page--it-services .tq-service-panel,
	.tq-page--it-services .tq-page-header__ctas .wp-block-button__link,
	.tq-page--it-services .tq-contact-cta__buttons .wp-block-button__link,
	.tq-page--it-services .tq-it-services-cta .wp-block-button__link,
	.tq-service-panel,
	.tq-service-detail,
	.tq-service-card {
		animation: none;
		transform: none;
		transition: none;
	}
	
	.tq-page--it-services .tq-focus-tile:hover,
	.tq-page--it-services .tq-approach__step:hover,
	.tq-page--it-services .tq-related__card:hover,
	.tq-page--it-services .tq-service-panel:hover,
	.tq-service-card:hover {
		transform: none;
	}
}

/* ===== RESPONSIVE FOR IT SERVICES PAGE ===== */

@media (max-width: 1100px) {
	.tq-page--it-services .tq-approach__steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	.tq-page--it-services .tq-page-header__ctas {
		justify-content: center;
	}
	
	.tq-page--it-services .tq-contact-cta__buttons {
		justify-content: center;
	}
	
	.tq-page--it-services .tq-contact-cta--it h2,
	.tq-page--it-services .tq-contact-cta--it .tq-lead {
		text-align: center;
	}
	
	.tq-page--it-services .tq-related__cards {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.tq-page--it-services .tq-service-cards {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 781px) {
	.tq-page--it-services .tq-breadcrumb {
		padding-block: var(--wp--preset--spacing--xs);
	}
	
	.tq-page--it-services .tq-page-header--it {
		padding-block: clamp(3rem, 5.5vw, 4.5rem);
	}
	
	.tq-page--it-services .tq-page-header__ctas {
		justify-content: center;
		width: 100%;
	}
	
	.tq-page--it-services .tq-page-header__ctas .wp-block-button {
		flex: 1 1 calc(50% - 0.5rem);
		min-width: 140px;
	}
	
	.tq-page--it-services .tq-page-header__ctas .wp-block-button__link {
		width: 100%;
		text-align: center;
	}
	
	.tq-page--it-services .tq-service-panel {
		grid-template-columns: 1fr;
		padding-block: clamp(2rem, 3.5vw, 2.75rem);
	}
	
	.tq-page--it-services .tq-service-panel--reverse {
		direction: ltr;
	}
	
	.tq-page--it-services .tq-service-panel__content {
		padding-inline-end: 0;
	}
	
	.tq-page--it-services .tq-service-panel__focus {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.tq-page--it-services .tq-service-detail {
		grid-template-columns: 1fr;
		gap: var(--wp--preset--spacing--lg);
	}
	
	.tq-page--it-services .tq-service-detail--reverse {
		direction: ltr;
	}
	
	.tq-page--it-services .tq-service-detail__content {
		padding-inline-end: 0;
	}
	
	.tq-page--it-services .tq-service-detail__visual {
		order: -1;
	}
	
	.tq-page--it-services .tq-approach {
		padding-block: clamp(2.5rem, 5vw, 3.5rem);
		margin-inline: clamp(1rem, 2.5vw, 1.5rem);
		border-radius: 1rem;
	}
	
	.tq-page--it-services .tq-approach__steps {
		grid-template-columns: 1fr;
		gap: var(--wp--preset--spacing--xs);
	}
	
	.tq-page--it-services .tq-related__cards {
		grid-template-columns: 1fr;
	}
	
	.tq-page--it-services .tq-contact-cta--it {
		padding-block: clamp(3rem, 5.5vw, 4.5rem);
	}
	
	.tq-page--it-services .tq-contact-cta--it h2,
	.tq-page--it-services .tq-contact-cta--it .tq-lead {
		text-align: center;
	}
	
	.tq-page--it-services .tq-contact-cta__buttons {
		justify-content: center;
		width: 100%;
	}
	
	.tq-page--it-services .tq-contact-cta__buttons .wp-block-button {
		flex: 1 1 calc(50% - 0.5rem);
		min-width: 140px;
	}
	
	.tq-page--it-services .tq-contact-cta__buttons .wp-block-button__link {
		width: 100%;
		text-align: center;
	}
	
	.tq-service-cards {
		grid-template-columns: 1fr;
	}
	
	.tq-service-detail__visual {
		order: -1;
	}
}

@media (max-width: 480px) {
	.tq-page--it-services .tq-section {
		padding-block: clamp(2rem, 4.5vw, 3.5rem);
		padding-inline: clamp(1rem, 3vw, 1.25rem);
	}
	
	.tq-page--it-services .tq-page-header__ctas .wp-block-button,
	.tq-page--it-services .tq-contact-cta__buttons .wp-block-button {
		flex: 1 1 100%;
	}
	
	.tq-service-detail {
		padding-block: clamp(2rem, 4vw, 3rem);
	}
}

/* Phase 1D: consistent sapphire service panels and expanded content. */
.tq-page--it-services .tq-services-overview-grid {
	background: linear-gradient(180deg, #edf5fc 0%, #dfeefa 100%);
	border-block: 1px solid rgba(16, 46, 87, .08);
}

.tq-page--it-services .tq-services-overview-grid .tq-service-cards {
	grid-auto-rows: 1fr;
	align-items: stretch;
}

.tq-page--it-services .tq-services-overview-grid .tq-service-card {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	height: 100%;
	min-height: 18rem;
	padding: clamp(1.25rem, 1.7vw, 1.65rem);
	color: #f1f6fb;
	background: linear-gradient(148deg, #163e6c 0%, #102e57 52%, #0b2345 100%);
	border: 1px solid rgba(101, 197, 240, .38);
	box-shadow: 0 16px 34px rgba(7, 24, 47, .15), inset 0 1px 0 rgba(201, 224, 243, .14);
}

.tq-page--it-services .tq-services-overview-grid .tq-service-card:hover {
	transform: translateY(-4px);
	border-color: rgba(101, 197, 240, .72);
	box-shadow: 0 20px 38px rgba(7, 24, 47, .22), 0 0 22px rgba(101, 197, 240, .12);
}

.tq-page--it-services .tq-services-overview-grid .tq-service-card__icon {
	color: #8cddf8;
}

.tq-page--it-services .tq-services-overview-grid .tq-service-card__icon svg {
	width: 100%;
	height: 100%;
}

.tq-page--it-services .tq-services-overview-grid .tq-service-card__title {
	color: #fff;
}

.tq-page--it-services .tq-services-overview-grid .tq-service-card__desc {
	color: #d7e9f7;
}

.tq-page--it-services .tq-services-overview-grid .tq-service-card__link {
	margin-top: auto;
	color: #a7e5fa;
	text-underline-offset: .2em;
}

.tq-page--it-services .tq-services-overview-grid .tq-service-card__link:hover {
	color: #fff;
}

.tq-page--it-services .tq-related {
	background: linear-gradient(145deg, #e8f2fb 0%, #d5e7f5 100%);
	border-block: 1px solid rgba(16, 46, 87, .1);
}

.tq-page--it-services .tq-related__card {
	color: #f1f6fb;
	background: linear-gradient(148deg, #163e6c 0%, #102e57 52%, #0b2345 100%);
	border-color: rgba(101, 197, 240, .4);
	box-shadow: 0 0 0 1px rgba(101, 197, 240, .2), 0 0 15px 1px rgba(23, 102, 166, .18), 0 16px 34px rgba(7, 24, 47, .16), inset 0 1px 0 rgba(201, 224, 243, .14);
}

.tq-page--it-services .tq-related__card:hover {
	transform: translateY(-2px);
	border-color: rgba(101, 197, 240, .75);
	box-shadow: 0 0 0 1px rgba(181, 232, 250, .58), 0 0 24px 2px rgba(101, 197, 240, .28), 0 20px 38px rgba(7, 24, 47, .23);
}

.tq-page--it-services .tq-related__card p:first-child,
.tq-page--it-services .tq-related__card p:last-of-type {
	color: #e1f0fa;
}

.tq-page--it-services .tq-related__card .tq-related-icon {
	color: #8cddf8;
}

.tq-page--it-services .tq-related__card .wp-block-button__link,
.tq-page--it-services .tq-related__card .tq-button-outline .wp-block-button__link {
	color: #fff;
	background: linear-gradient(135deg, #1766a6, #247cc6);
	border: 1px solid rgba(181, 232, 250, .66);
}

.tq-page--it-services .tq-related__card .wp-block-button__link:hover,
.tq-page--it-services .tq-related__card .tq-button-outline .wp-block-button__link:hover {
	color: #fff;
	background: linear-gradient(135deg, #247cc6, #168fbc);
}

.tq-page--it-services .tq-service-card__link:focus-visible,
.tq-page--it-services .tq-related__card a:focus-visible,
.tq-page--it-services .tq-detail-cta:focus-visible {
	outline: 3px solid #65c5f0;
	outline-offset: 4px;
	box-shadow: 0 0 0 2px #07182f;
	border-radius: .25rem;
}

.tq-page--it-services .tq-service-detail {
	padding-block: clamp(2.25rem, 3.8vw, 3.25rem);
}

.tq-page--it-services .tq-service-detail__grid {
	align-items: center;
}

.tq-page--it-services .tq-service-detail__content {
	max-width: 36rem;
}

.tq-page--it-services .tq-service-detail__capabilities {
	margin: .2rem 0 1rem;
	padding: 0;
	list-style: none;
	color: #284765;
	font-size: .94rem;
	line-height: 1.55;
}

.tq-page--it-services .tq-service-detail__capabilities li {
	position: relative;
	margin-block: .35rem;
	padding-inline-start: 1.15rem;
}

.tq-page--it-services .tq-service-detail__capabilities li::before {
	position: absolute;
	left: 0;
	color: #1766a6;
	content: "â€¢";
}

.tq-page--it-services .tq-service-detail__benefit {
	margin: 0 0 1.25rem;
	color: #284765;
	font-size: .94rem;
	line-height: 1.6;
}

.tq-page--it-services .tq-service-detail--dark .tq-service-detail__capabilities,
.tq-page--it-services .tq-service-detail--dark .tq-service-detail__benefit {
	color: #d7e9f7;
}

.tq-page--it-services .tq-service-detail--dark .tq-service-detail__capabilities li::before {
	color: #8cddf8;
}

.tq-page--it-services .tq-service-visual-placeholder[data-artwork-status="pending"] {
	position: relative;
}

.tq-page--it-services .tq-service-visual-placeholder[data-artwork-status="pending"] .tq-artwork-pending {
	position: absolute;
	left: .75rem;
	bottom: .75rem;
	display: inline-block;
	padding: .4rem .65rem;
	color: #f1f6fb;
	background: rgba(7, 24, 47, .88);
	border: 1px solid rgba(101, 197, 240, .62);
	border-radius: 999px;
	font-size: .75rem;
	font-weight: 600;
	line-height: 1.2;
	pointer-events: none;
}

@media (max-width: 781px) {
	.tq-page--it-services .tq-service-detail {
		padding-block: 2.25rem;
	}

	.tq-page--it-services .tq-service-detail__content {
		max-width: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tq-page--it-services .tq-services-overview-grid .tq-service-card,
	.tq-page--it-services .tq-related__card {
		transition: none;
	}
}

/* IT Services visual polish and progressive reveal (page-scoped). */
.tq-page--it-services .tq-service-card:not(.tq-service-card--dark),
.tq-page--it-services .tq-approach__step,
.tq-page--it-services .tq-related__card {
	background: linear-gradient(145deg, #fff 0%, #f6faff 100%);
	border: 1px solid rgba(23, 102, 166, .24);
	box-shadow: 0 0 0 1px rgba(101, 197, 240, .16), 0 0 14px 1px rgba(23, 102, 166, .14), 0 12px 32px rgba(7, 24, 47, .08), inset 0 1px 0 rgba(255, 255, 255, .9);
	transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.tq-page--it-services .tq-service-card:not(.tq-service-card--dark):hover,
.tq-page--it-services .tq-approach__step:hover,
.tq-page--it-services .tq-related__card:hover {
	transform: translateY(-2px);
	border-color: rgba(101, 197, 240, .8);
	box-shadow: 0 0 0 1px rgba(101, 197, 240, .42), 0 0 22px 2px rgba(101, 197, 240, .24), 0 18px 38px rgba(7, 24, 47, .13);
}

.tq-page--it-services .tq-service-card--dark {
	border: 1px solid rgba(101, 197, 240, .34);
	box-shadow: 0 0 0 1px rgba(101, 197, 240, .2), 0 0 15px 1px rgba(23, 102, 166, .18), 0 12px 32px rgba(7, 24, 47, .18), inset 0 1px 0 rgba(201, 224, 243, .12);
}

.tq-page--it-services .tq-service-card--dark:hover {
	border-color: rgba(101, 197, 240, .62);
	box-shadow: 0 0 0 1px rgba(181, 232, 250, .48), 0 0 22px 2px rgba(101, 197, 240, .26), 0 18px 38px rgba(7, 24, 47, .24);
}

.tq-page--it-services .tq-page-header--it {
	isolation: isolate;
}

.tq-page--it-services .tq-page-header--it::before {
	animation: tq-it-aurora 18s ease-in-out infinite alternate;
}

@keyframes tq-it-aurora {
	from { opacity: .72; transform: translate3d(-1%, 0, 0) scale(1); }
	to { opacity: 1; transform: translate3d(1%, 1%, 0) scale(1.03); }
}

.tq-page--it-services .tq-service-visual-placeholder {
	width: 100%;
	aspect-ratio: 16 / 9;
	display: grid;
	place-items: center;
	overflow: hidden;
	border: 1px solid rgba(101, 197, 240, .3);
	border-radius: 1.125rem;
	background: radial-gradient(ellipse at 52% 48%, rgba(23, 102, 166, .36), transparent 60%), linear-gradient(145deg, #07182f, #102e57 62%, #0b2345);
	box-shadow: 0 24px 48px rgba(7, 24, 47, .22), inset 0 1px 0 rgba(201, 224, 243, .18);
}

.tq-page--it-services .tq-service-visual-placeholder svg {
	display: block;
	width: 100%;
	height: 100%;
}

.tq-page--it-services .tq-service-card a::after,
.tq-page--it-services .tq-related__card a::after {
	transition: transform 200ms ease;
}

.tq-page--it-services .tq-service-card:hover a::after,
.tq-page--it-services .tq-related__card:hover a::after {
	transform: translateX(4px);
}

.tq-page--it-services .tq-approach__step .tq-step__number {
	color: #1766a6;
	text-shadow: 0 0 18px rgba(101, 197, 240, .22);
}

.tq-page--it-services.tq-reveal-ready .tq-reveal {
	opacity: 0;
	transition: opacity 560ms ease, transform 560ms cubic-bezier(.2, .7, .2, 1);
}

.tq-page--it-services.tq-reveal-ready .tq-reveal--up { transform: translateY(24px); }
.tq-page--it-services.tq-reveal-ready .tq-reveal--left { transform: translateX(-24px); }
.tq-page--it-services.tq-reveal-ready .tq-reveal--right { transform: translateX(24px); }
.tq-page--it-services.tq-reveal-ready .tq-reveal.is-visible { opacity: 1; transform: none; }

.tq-page--it-services.tq-reveal-ready .tq-service-card:nth-child(2),
.tq-page--it-services.tq-reveal-ready .tq-approach__step:nth-child(2),
.tq-page--it-services.tq-reveal-ready .tq-related__card:nth-child(2) { transition-delay: 80ms; }
.tq-page--it-services.tq-reveal-ready .tq-service-card:nth-child(3),
.tq-page--it-services.tq-reveal-ready .tq-approach__step:nth-child(3),
.tq-page--it-services.tq-reveal-ready .tq-related__card:nth-child(3) { transition-delay: 160ms; }
.tq-page--it-services.tq-reveal-ready .tq-service-card:nth-child(4),
.tq-page--it-services.tq-reveal-ready .tq-approach__step:nth-child(4) { transition-delay: 240ms; }

@media (max-width: 781px) {
	.tq-page--it-services.tq-reveal-ready .tq-reveal--left,
	.tq-page--it-services.tq-reveal-ready .tq-reveal--right { transform: translateY(20px); }
}

@media (prefers-reduced-motion: reduce) {
	.tq-page--it-services .tq-page-header--it::before { animation: none; }
	.tq-page--it-services .tq-service-card,
	.tq-page--it-services .tq-approach__step,
	.tq-page--it-services .tq-related__card,
	.tq-page--it-services.tq-reveal-ready .tq-reveal { transition: none; transform: none; }
}

/* ===== PHASE 1: IT SERVICE DETAIL LAYOUT ===== */
.tq-page--it-services {
	--tq-phase1-midnight: #07182F;
	--tq-phase1-sapphire: #102E57;
	--tq-phase1-ocean: #1766A6;
	--tq-phase1-crystal: #C9E0F3;
	--tq-phase1-ice: #F1F6FB;
}

.tq-page--it-services .tq-service-detail {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: clamp(3rem, 5vw, 4.5rem) clamp(1rem, 3vw, 1.5rem);
	box-sizing: border-box;
}

.tq-page--it-services .tq-service-detail:not(.tq-service-detail--dark) {
	background-color: var(--tq-phase1-ice);
}

.tq-page--it-services .tq-service-detail--dark {
	background: linear-gradient(155deg, var(--tq-phase1-midnight) 0%, var(--tq-phase1-sapphire) 55%, var(--tq-phase1-ocean) 100%);
}

.tq-page--it-services .tq-service-detail--dark .tq-service-detail__content > p,
.tq-page--it-services .tq-service-detail--dark .tq-detail-highlights,
.tq-page--it-services .tq-service-detail--dark .tq-detail-highlights strong,
.tq-page--it-services .tq-service-detail--dark .tq-eyebrow {
	color: var(--tq-phase1-ice);
}

.tq-page--it-services .tq-service-detail:not(.tq-service-detail--dark) .tq-service-detail__content h2 {
	color: var(--tq-phase1-sapphire);
}

.tq-page--it-services .tq-detail-cta {
	background: linear-gradient(135deg, var(--tq-phase1-sapphire), var(--tq-phase1-ocean));
}

.tq-page--it-services .tq-service-detail--dark .tq-detail-cta {
	background: linear-gradient(135deg, var(--tq-phase1-crystal), var(--tq-phase1-ice));
	color: var(--tq-phase1-midnight);
}

.tq-page--it-services .tq-service-detail__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
	gap: clamp(2rem, 5vw, 4.5rem);
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	direction: ltr;
}

.tq-page--it-services .tq-service-detail__content,
.tq-page--it-services .tq-service-detail__visual {
	min-width: 0;
}

.tq-page--it-services .tq-service-detail__content {
	padding-inline: 0;
}

.tq-page--it-services .tq-service-detail--reverse .tq-service-detail__content {
	grid-column: 2;
	grid-row: 1;
}

.tq-page--it-services .tq-service-detail--reverse .tq-service-detail__visual {
	grid-column: 1;
	grid-row: 1;
}

.tq-page--it-services .tq-service-detail__image-wrapper,
.tq-page--it-services .tq-service-detail__image-wrapper picture {
	width: 100%;
}

.tq-page--it-services .tq-service-detail__image-wrapper img {
	width: 100%;
	height: auto;
}

@media (max-width: 781px) {
	.tq-page--it-services .tq-service-detail__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: clamp(1.5rem, 4vw, 2rem);
	}

	.tq-page--it-services .tq-service-detail--reverse .tq-service-detail__content,
	.tq-page--it-services .tq-service-detail--reverse .tq-service-detail__visual {
		grid-column: 1;
		grid-row: auto;
	}

	.tq-page--it-services .tq-service-detail__visual {
		order: -1;
	}
}

@media (max-width: 480px) {
	.tq-page--it-services .tq-page-header--it > .alignwide {
		box-sizing: border-box;
		width: 100%;
		padding-inline: 1rem;
	}

	.tq-page--it-services .tq-page-header--it h1 {
		font-size: clamp(1.85rem, 8vw, 2.25rem);
		letter-spacing: -0.02em;
	}

	.tq-page--it-services .tq-page-header__ctas .wp-block-buttons {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		width: 100%;
	}

	.tq-page--it-services .tq-page-header__ctas .wp-block-button,
	.tq-page--it-services .tq-page-header__ctas .wp-block-button__link {
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
	}
}

/* ===== OUR APPROACH â€” SUBSTANTIAL CONNECTED TIMELINE ===== */

.tq-page--it-services .tq-approach {
	background:
		radial-gradient(ellipse 65% 50% at 50% 0%, rgba(21, 100, 176, 0.06), transparent 50%),
		radial-gradient(ellipse 50% 40% at 15% 100%, rgba(101, 197, 240, 0.04), transparent 45%),
		#F1F6FB;
	padding-block: clamp(3rem, 5vw, 4rem);
	margin-block: clamp(1.5rem, 2.5vw, 2.5rem);
	border-radius: 1.5rem;
	margin-inline: clamp(1rem, 2vw, 2rem);
	box-shadow: 
		0 1px 0 rgba(21, 100, 176, 0.03),
		inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.tq-page--it-services .tq-approach > .alignwide {
	max-width: 1200px;
}

.tq-page--it-services .tq-approach h2 {
	text-align: center;
	max-width: 54rem;
	margin-inline: auto;
	margin-bottom: clamp(2rem, 3vw, 2.75rem);
	color: #102E57;
	font-size: clamp(1.75rem, 1.4rem + 1.8vw, 2.5rem);
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: -0.02em;
}

/* Equal-width 4-column grid â€” substantial cards */
.tq-page--it-services .tq-approach__steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
	position: relative;
}

.tq-page--it-services .tq-approach__steps::before {
	content: '';
	position: absolute;
	top: 1rem;
	left: 50%;
	right: 50%;
	height: 2px;
	background: linear-gradient(90deg, transparent, #102E57, transparent);
	z-index: 0;
}

@media (min-width: 1101px) {
	.tq-page--it-services .tq-approach__steps::before {
		left: 1.75rem;
		right: 1.75rem;
	}
}

.tq-page--it-services .tq-approach__step {
	min-width: 0;
	padding: clamp(1.25rem, 2vw, 1.75rem);
	background: 
		linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 251, 0.4));
	border: 1px solid rgba(21, 100, 176, 0.1);
	border-radius: 1rem;
	text-align: center;
	transition: all 180ms ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	z-index: 1;
}

.tq-page--it-services .tq-approach__step:hover {
	transform: translateY(-3px);
	box-shadow: 
		0 8px 24px rgba(16, 46, 87, 0.1),
		0 14px 30px rgba(7, 24, 47, 0.06);
	border-color: rgba(21, 100, 176, 0.2);
}

.tq-page--it-services .tq-approach__step p:first-child {
	margin: 0 0 var(--wp--preset--spacing--sm);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--wp--preset--spacing--xs);
}

.tq-page--it-services .tq-step__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	height: 2rem;
	background: linear-gradient(135deg, #102E57, #1766A6);
	color: #FFFFFF;
	border-radius: 0.5rem;
	font-weight: 700;
	font-size: 0.8125rem;
	line-height: 1;
	box-shadow: 
		0 2px 6px rgba(16, 46, 87, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.18);
	flex-shrink: 0;
}

.tq-page--it-services .tq-step__label {
	color: #102E57;
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.tq-page--it-services .tq-approach__step p:last-child {
	margin: 0;
	color: #3A5A7A;
	font-size: 0.9rem;
	line-height: 1.6;
	font-weight: 400;
}

/* Responsive Approach Grid */
@media (max-width: 1100px) {
	.tq-page--it-services .tq-approach__steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	
	.tq-page--it-services .tq-approach__steps::before {
		display: none;
	}
}

@media (max-width: 640px) {
	.tq-page--it-services .tq-approach {
		padding-block: clamp(2.5rem, 5vw, 3.5rem);
		margin-inline: clamp(1rem, 2.5vw, 1.5rem);
		border-radius: 1rem;
	}
	
	.tq-page--it-services .tq-approach__steps {
		grid-template-columns: 1fr;
		gap: var(--wp--preset--spacing--xs);
	}
	
	.tq-page--it-services .tq-approach__step {
		padding: var(--wp--preset--spacing--md) var(--wp--preset--spacing--lg);
	}
}

/* ===== RELATED SERVICES â€” PREMIUM NAVIGATION CARDS ===== */

.tq-page--it-services .tq-related {
	background: transparent;
	padding-block: clamp(2.5rem, 4vw, 3.5rem);
}

.tq-page--it-services .tq-related > .alignwide {
	max-width: 1200px;
}

.tq-page--it-services .tq-related h2 {
	margin: 0 0 clamp(1.5rem, 2.5vw, 2.25rem);
	color: #102E57;
	font-size: clamp(1.625rem, 1.3rem + 1.8vw, 2.25rem);
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.tq-page--it-services .tq-related__cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1rem, 2vw, 1.5rem);
}

.tq-page--it-services .tq-related__card {
	background: 
		linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 251, 0.4));
	border: 1px solid rgba(21, 100, 176, 0.1);
	border-radius: 1rem;
	padding: var(--wp--preset--spacing--lg) var(--wp--preset--spacing--xl);
	transition: all 180ms ease;
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.tq-page--it-services .tq-related__card:hover {
	transform: translateY(-3px);
	box-shadow: 
		0 8px 24px rgba(16, 46, 87, 0.1),
		0 14px 30px rgba(7, 24, 47, 0.06);
	border-color: rgba(21, 100, 176, 0.18);
}

.tq-page--it-services .tq-related__card .tq-related-icon {
	margin-bottom: var(--wp--preset--spacing--xs);
}

.tq-page--it-services .tq-related__card p:first-child {
	margin: 0 0 var(--wp--preset--spacing--xs);
	color: #102E57;
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.35;
}

.tq-page--it-services .tq-related__card p:last-of-type {
	margin: 0 0 var(--wp--preset--spacing--md);
	color: #3A5A7A;
	font-size: 0.9rem;
	line-height: 1.6;
	font-weight: 400;
	flex-grow: 1;
}

.tq-page--it-services .tq-related__card .wp-block-buttons {
	margin-top: auto;
}

/* Related card buttons â€” improved sizing */
.tq-page--it-services .tq-related__card .wp-block-button__link {
	font-weight: 600;
	font-size: 0.875rem;
	padding-block: 0.65rem;
	padding-inline: clamp(1rem, 1.5vw, 1.375rem);
	border-radius: 0.5rem;
	transition: all 150ms ease;
	white-space: nowrap;
}

.tq-page--it-services .tq-related__card .wp-block-button:not(.tq-button-outline) .wp-block-button__link {
	background: linear-gradient(135deg, #102E57, #1766A6);
	border: none;
	color: #FFFFFF;
	box-shadow: 0 3px 12px rgba(16, 46, 87, 0.3);
}

.tq-page--it-services .tq-related__card .wp-block-button:not(.tq-button-outline) .wp-block-button__link:hover {
	background: linear-gradient(135deg, #1766A6, #1A7AB8);
	transform: translateY(-2px);
	box-shadow: 0 5px 18px rgba(16, 46, 87, 0.38);
}

.tq-page--it-services .tq-related__card .tq-button-outline .wp-block-button__link {
	background: transparent;
	border: 2px solid rgba(21, 100, 176, 0.2);
	color: #1766A6;
}

.tq-page--it-services .tq-related__card .tq-button-outline .wp-block-button__link:hover {
	background: rgba(16, 46, 87, 0.06);
	border-color: #102E57;
}

/* Responsive Related Cards */
@media (max-width: 1024px) {
	.tq-page--it-services .tq-related__cards {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.tq-page--it-services .tq-related__cards {
		grid-template-columns: 1fr;
	}
}

/* ===== FINAL CONTACT CTA â€” COMPACT SAPHIRE PANEL ===== */

.tq-page--it-services .tq-contact-cta.tq-contact-cta--it {
	position: relative;
	isolation: isolate;
	padding-block: clamp(3.5rem, 6vw, 5rem);
	background:
		radial-gradient(ellipse 70% 55% at 85% 25%, rgba(21, 100, 176, 0.18), transparent 60%),
		radial-gradient(ellipse 55% 45% at 15% 75%, rgba(101, 197, 240, 0.1), transparent 50%),
		linear-gradient(155deg, #07182F 0%, #0B2345 45%, #1256A0 100%);
	overflow: hidden;
}

.tq-page--it-services .tq-contact-cta--it::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(180deg, rgba(255,255,255,0.015) 0%, transparent 30%, transparent 70%, rgba(7,24,47,0.18) 100%);
	pointer-events: none;
}

.tq-page--it-services .tq-contact-cta--it > .alignwide {
	position: relative;
	z-index: 1;
	max-width: 56rem;
}

.tq-page--it-services .tq-contact-cta--it h2 {
	margin: 0 0 var(--wp--preset--spacing--xs);
	color: #FFFFFF;
	font-size: clamp(1.875rem, 1.5rem + 2.2vw, 2.75rem);
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -0.02em;
	text-align: left;
}

.tq-page--it-services .tq-contact-cta--it .tq-lead {
	margin: 0 0 var(--wp--preset--spacing--lg);
	color: rgba(181, 232, 250, 0.92);
	font-size: clamp(1.05rem, 1rem + 0.2vw, 1.15rem);
	line-height: 1.65;
	text-align: left;
}

.tq-page--it-services .tq-contact-cta__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--md);
	justify-content: flex-start;
}

.tq-page--it-services .tq-contact-cta__buttons .wp-block-button__link {
	font-weight: 600;
	font-size: 0.95rem;
	padding-block: 0.8rem;
	padding-inline: clamp(1.4rem, 2.5vw, 1.875rem);
	border-radius: 0.5rem;
	transition: all 150ms ease;
}

.tq-page--it-services .tq-contact-cta__buttons .wp-block-button:not(.tq-button-outline) .wp-block-button__link {
	background: linear-gradient(135deg, #102E57, #1766A6);
	border: none;
	color: #FFFFFF;
	box-shadow: 
		0 3px 12px rgba(16, 46, 87, 0.3),
		0 6px 20px rgba(7, 24, 47, 0.12),
		inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.tq-page--it-services .tq-contact-cta__buttons .wp-block-button:not(.tq-button-outline) .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 
		0 5px 18px rgba(16, 46, 87, 0.38),
		0 8px 26px rgba(7, 24, 47, 0.16),
		inset 0 1px 0 rgba(255, 255, 255, 0.18);
	background: linear-gradient(135deg, #1766A6, #1A7AB8);
}

.tq-page--it-services .tq-contact-cta__buttons .tq-button-outline .wp-block-button__link {
	background: transparent;
	border: 2px solid rgba(181, 232, 250, 0.4);
	color: #FFFFFF;
	box-shadow: 
		0 3px 12px rgba(7, 24, 47, 0.1),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.tq-page--it-services .tq-contact-cta__buttons .tq-button-outline .wp-block-button__link:hover {
	background: rgba(181, 232, 250, 0.1);
	border-color: #C9E0F3;
	box-shadow: 
		0 5px 16px rgba(16, 46, 87, 0.18),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
	color: #FFFFFF;
}

/* ===== RESPONSIVE FOR IT SERVICES PAGE ===== */

@media (max-width: 1100px) {
	.tq-page--it-services .tq-approach__steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	.tq-page--it-services .tq-page-header__ctas {
		justify-content: center;
	}
	
	.tq-page--it-services .tq-contact-cta__buttons {
		justify-content: center;
	}
	
	.tq-page--it-services .tq-contact-cta--it h2,
	.tq-page--it-services .tq-contact-cta--it .tq-lead {
		text-align: center;
	}
	
	.tq-page--it-services .tq-related__cards {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.tq-page--it-services .tq-service-cards {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 781px) {
	.tq-page--it-services .tq-breadcrumb {
		padding-block: var(--wp--preset--spacing--xs);
	}
	
	.tq-page--it-services .tq-page-header--it {
		padding-block: clamp(3rem, 5.5vw, 4.5rem);
	}
	
	.tq-page--it-services .tq-page-header__ctas {
		justify-content: center;
		width: 100%;
	}
	
	.tq-page--it-services .tq-page-header__ctas .wp-block-button {
		flex: 1 1 calc(50% - 0.5rem);
		min-width: 140px;
	}
	
	.tq-page--it-services .tq-page-header__ctas .wp-block-button__link {
		width: 100%;
		text-align: center;
	}
	
	.tq-page--it-services .tq-service-panel {
		grid-template-columns: 1fr;
		padding-block: clamp(2rem, 3.5vw, 2.75rem);
	}
	
	.tq-page--it-services .tq-service-panel--reverse {
		direction: ltr;
	}
	
	.tq-page--it-services .tq-service-panel__content {
		padding-inline-end: 0;
	}
	
	.tq-page--it-services .tq-service-panel__focus {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.tq-page--it-services .tq-approach {
		padding-block: clamp(2.5rem, 5vw, 3.5rem);
		margin-inline: clamp(1rem, 2.5vw, 1.5rem);
		border-radius: 1rem;
	}
	
	.tq-page--it-services .tq-approach__steps {
		grid-template-columns: 1fr;
		gap: var(--wp--preset--spacing--xs);
	}
	
	.tq-page--it-services .tq-related__cards {
		grid-template-columns: 1fr;
	}
	
	.tq-page--it-services .tq-contact-cta--it {
		padding-block: clamp(3rem, 5.5vw, 4.5rem);
	}
	
	.tq-page--it-services .tq-contact-cta--it h2,
	.tq-page--it-services .tq-contact-cta--it .tq-lead {
		text-align: center;
	}
	
	.tq-page--it-services .tq-contact-cta__buttons {
		justify-content: center;
		width: 100%;
	}
	
	.tq-page--it-services .tq-contact-cta__buttons .wp-block-button {
		flex: 1 1 calc(50% - 0.5rem);
		min-width: 140px;
	}
	
	.tq-page--it-services .tq-contact-cta__buttons .wp-block-button__link {
		width: 100%;
		text-align: center;
	}
	
	.tq-service-cards {
		grid-template-columns: 1fr;
	}
	
	.tq-service-detail__visual {
		order: -1;
	}
}

@media (max-width: 480px) {
	.tq-page--it-services .tq-section {
		padding-block: clamp(2rem, 4.5vw, 3.5rem);
		padding-inline: clamp(1rem, 3vw, 1.25rem);
	}
	
	.tq-page--it-services .tq-page-header__ctas .wp-block-button,
	.tq-page--it-services .tq-contact-cta__buttons .wp-block-button {
		flex: 1 1 100%;
	}
	
	.tq-page--it-services .tq-service-detail {
		padding-block: clamp(2rem, 4vw, 3rem);
	}
}

/* Keep related panels dark after the legacy page-scoped card rules above. */
main.tq-page--it-services .tq-related {
	background: linear-gradient(145deg, #e8f2fb 0%, #d5e7f5 100%);
	border-block: 1px solid rgba(16, 46, 87, .1);
}

main.tq-page--it-services .tq-related__card {
	color: #f1f6fb;
	background: linear-gradient(148deg, #163e6c 0%, #102e57 52%, #0b2345 100%);
	border: 1px solid rgba(101, 197, 240, .48);
	box-shadow: 0 0 0 1px rgba(101, 197, 240, .14), 0 0 13px 1px rgba(23, 102, 166, .12), 0 12px 28px rgba(7, 24, 47, .16), inset 0 1px 0 rgba(201, 224, 243, .14);
}

main.tq-page--it-services .tq-related__card:hover {
	transform: translateY(-2px);
	border-color: #b5e8fa;
	box-shadow: 0 0 0 1px rgba(181, 232, 250, .58), 0 0 24px 2px rgba(101, 197, 240, .3), 0 16px 34px rgba(7, 24, 47, .2), inset 0 1px 0 rgba(201, 224, 243, .14);
}

main.tq-page--it-services .tq-related__card p:last-of-type,
main.tq-page--it-services .tq-related__card p:first-child,
main.tq-page--it-services .tq-related__card p strong {
	color: #e1f0fa;
}

main.tq-page--it-services .tq-related__card .tq-related-icon {
	color: #8cddf8;
}

main.tq-page--it-services .tq-related__card .wp-block-button__link,
main.tq-page--it-services .tq-related__card .tq-button-outline .wp-block-button__link {
	color: #fff;
	background: linear-gradient(135deg, #145b96, #1766a6);
	border: 1px solid rgba(181, 232, 250, .66);
}

main.tq-page--it-services .tq-related__card .wp-block-button__link:hover,
main.tq-page--it-services .tq-related__card .tq-button-outline .wp-block-button__link:hover {
	color: #fff;
	background: linear-gradient(135deg, #0b4f82, #145b96);
}

main.tq-page--it-services .tq-related__card a:focus-visible {
	outline: 3px solid #65c5f0;
	outline-offset: 4px;
	box-shadow: 0 0 0 2px #07182f;
}

/* Compact, image-led IT Services catalogue. */
main.tq-page--it-services .tq-services-overview-grid {
	padding-block: clamp(2rem, 3.5vw, 3.25rem);
	background: linear-gradient(180deg, #edf5fc 0%, #dfeefa 100%);
}

main.tq-page--it-services .tq-services-overview-grid > .alignwide {
	max-width: 1200px;
}

main.tq-page--it-services .tq-services-catalogue-title {
	margin: 0 0 .45rem;
	color: #102e57;
	font-size: clamp(2rem, 3.2vw, 2.8rem);
	line-height: 1.15;
}

main.tq-page--it-services .tq-services-catalogue-intro {
	margin: 0 0 clamp(1.25rem, 2.4vw, 1.8rem);
	color: #3a5a7a;
	font-size: clamp(1rem, .96rem + .25vw, 1.12rem);
}

main.tq-page--it-services .tq-service-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 1fr;
	align-items: stretch;
	gap: clamp(.9rem, 1.7vw, 1.35rem);
	max-width: 1200px;
	margin-inline: auto;
}

main.tq-page--it-services .tq-service-card {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 24rem;
	height: 100%;
	padding: 0;
	overflow: hidden;
	color: #f1f6fb;
	background: linear-gradient(148deg, #163e6c 0%, #102e57 52%, #0b2345 100%);
	border: 1px solid rgba(101, 197, 240, .42);
	border-radius: 1rem;
	box-shadow: 0 0 0 1px rgba(101, 197, 240, .14), 0 0 13px 1px rgba(23, 102, 166, .12), 0 12px 28px rgba(7, 24, 47, .16), inset 0 1px 0 rgba(201, 224, 243, .14);
	transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

main.tq-page--it-services .tq-service-card:hover {
	transform: translateY(-2px);
	border-color: #b5e8fa;
	box-shadow: 0 0 0 1px rgba(181, 232, 250, .58), 0 0 24px 2px rgba(101, 197, 240, .3), 0 16px 34px rgba(7, 24, 47, .2), inset 0 1px 0 rgba(201, 224, 243, .14);
}

main.tq-page--it-services .tq-service-card__media {
	display: block;
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: linear-gradient(145deg, #163e6c, #0b2345);
}

main.tq-page--it-services picture.tq-service-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

main.tq-page--it-services .tq-service-card__media--pending {
	display: grid;
	place-items: center;
	padding: .75rem;
	color: #d7e9f7;
	text-align: center;
	font-size: .88rem;
	font-weight: 600;
	background: radial-gradient(ellipse at 50% 50%, rgba(23, 102, 166, .28), transparent 62%), linear-gradient(145deg, #163e6c, #0b2345);
}

main.tq-page--it-services .tq-service-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	box-sizing: border-box;
	padding: clamp(1rem, 1.3vw, 1.25rem);
}

main.tq-page--it-services .tq-service-card__title {
	margin: 0 0 .55rem;
	color: #fff;
	font-size: clamp(1.08rem, 1rem + .25vw, 1.25rem);
	line-height: 1.3;
}

main.tq-page--it-services .tq-service-card__desc {
	margin: 0 0 1rem;
	color: #d7e9f7;
	font-size: .91rem;
	line-height: 1.55;
}

main.tq-page--it-services .tq-service-card__link--pending {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .25rem .45rem;
	margin-top: auto;
	padding-top: .35rem;
	color: #a7e5fa;
	font-size: .88rem;
	font-weight: 700;
}

main.tq-page--it-services .tq-service-card__pending-note {
	flex-basis: 100%;
	color: #bfd5e8;
	font-size: .72rem;
	font-weight: 500;
}

@media (max-width: 1099px) {
	main.tq-page--it-services .tq-service-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 540px) {
	main.tq-page--it-services .tq-services-overview-grid {
		padding-block: 1.75rem;
	}

	main.tq-page--it-services .tq-service-cards {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	main.tq-page--it-services .tq-service-card {
		min-height: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	main.tq-page--it-services .tq-service-card {
		transition: none;
	}

	main.tq-page--it-services .tq-service-card:hover {
		transform: none;
	}
}
/* Horizontal IT Services cards (page-scoped). */
main.tq-page--it-services .tq-services-overview-grid > .alignwide.tq-service-cards {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: stretch;
	gap: clamp(1rem, 1.8vw, 1.4rem);
	width: min(100%, 1200px);
	max-width: 1200px;
	margin-inline: auto;
}

main.tq-page--it-services .tq-services-overview-grid .tq-service-card {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: minmax(19rem, auto);
	align-items: stretch;
	min-width: 0;
	min-height: 19rem;
	height: auto;
	padding: .7rem;
	overflow: hidden;
	color: #f1f6fb;
	background: linear-gradient(137deg, #173e6b 0%, #102e57 54%, #0b2345 100%);
	border: 1px solid rgba(101, 197, 240, .48);
	border-radius: 1.1rem;
	box-shadow: 0 0 0 1px rgba(101, 197, 240, .14), 0 0 13px 1px rgba(23, 102, 166, .12), 0 12px 28px rgba(7, 24, 47, .16), inset 0 1px 0 rgba(201, 224, 243, .15);
	transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

main.tq-page--it-services .tq-services-overview-grid .tq-service-card:hover {
	transform: translateY(-2px);
	border-color: #b5e8fa;
	box-shadow: 0 0 0 1px rgba(181, 232, 250, .58), 0 0 24px 2px rgba(101, 197, 240, .3), 0 16px 34px rgba(7, 24, 47, .2), inset 0 1px 0 rgba(201, 224, 243, .15);
}

main.tq-page--it-services .tq-service-card > .wp-block-html {
	grid-column: 1;
	grid-row: 1;
	align-self: stretch;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border-radius: .78rem;
}

main.tq-page--it-services .tq-service-card > .tq-service-card__body {
	grid-column: 2;
	grid-row: 1;
	align-self: center;
	justify-self: stretch;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: clamp(1.3rem, 3vw, 2.4rem);
}

main.tq-page--it-services .tq-service-card--image-right > .wp-block-html {
	grid-column: 2;
}

main.tq-page--it-services .tq-service-card--image-right > .tq-service-card__body {
	grid-column: 1;
}

main.tq-page--it-services .tq-service-card__media {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	min-height: 19rem;
	aspect-ratio: auto;
	overflow: hidden;
	background: linear-gradient(145deg, #194c7b 0%, #0b2345 100%);
	border-radius: .78rem;
}

main.tq-page--it-services picture.tq-service-card__media img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 420ms ease;
}

main.tq-page--it-services .tq-service-card:hover picture.tq-service-card__media img {
	transform: scale(1.025);
}

main.tq-page--it-services .tq-service-card__media--pending {
	box-sizing: border-box;
	display: grid;
	place-items: center;
	padding: 1rem;
	color: #d7e9f7;
	text-align: center;
	font-size: .92rem;
	font-weight: 650;
	background: radial-gradient(ellipse at 50% 48%, rgba(23, 102, 166, .35), transparent 65%), linear-gradient(145deg, #194c7b, #0b2345);
}

main.tq-page--it-services .tq-service-card__number {
	margin: 0 0 .7rem;
	color: #8cddf8;
	font-size: .78rem;
	font-weight: 750;
	letter-spacing: .16em;
	line-height: 1.2;
}

main.tq-page--it-services .tq-service-card__title {
	margin: 0 0 .7rem;
	color: #fff;
	font-size: clamp(1.3rem, 1.12rem + .6vw, 1.8rem);
	line-height: 1.22;
	text-wrap: balance;
}

main.tq-page--it-services .tq-service-card__desc {
	margin: 0 0 1.25rem;
	color: #e0edf7;
	font-size: clamp(.96rem, .92rem + .12vw, 1.04rem);
	line-height: 1.6;
}

main.tq-page--it-services .tq-service-card__link--pending {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .3rem .55rem;
	margin: 0;
	padding-top: .25rem;
	color: #a7e5fa;
	font-size: .9rem;
	font-weight: 700;
}

main.tq-page--it-services .tq-service-card__pending-note {
	flex-basis: 100%;
	color: #bfd5e8;
	font-size: .74rem;
	font-weight: 500;
}

@media (max-width: 700px) {
	main.tq-page--it-services .tq-services-overview-grid .tq-service-card {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto auto;
		min-height: 0;
	}

	main.tq-page--it-services .tq-service-card > .wp-block-html,
	main.tq-page--it-services .tq-service-card--image-right > .wp-block-html {
		grid-column: 1;
		grid-row: 1;
		aspect-ratio: 16 / 9;
		min-height: 0;
	}

	main.tq-page--it-services .tq-service-card > .tq-service-card__body,
	main.tq-page--it-services .tq-service-card--image-right > .tq-service-card__body {
		grid-column: 1;
		grid-row: 2;
		padding: clamp(1.2rem, 5vw, 1.65rem);
	}

	main.tq-page--it-services .tq-service-card__media {
		min-height: 0;
		aspect-ratio: 16 / 9;
	}
}

@media (prefers-reduced-motion: reduce) {
	main.tq-page--it-services .tq-services-overview-grid .tq-service-card,
	main.tq-page--it-services picture.tq-service-card__media img {
		transition: none;
	}

	main.tq-page--it-services .tq-services-overview-grid .tq-service-card:hover {
		transform: none;
	}

	main.tq-page--it-services .tq-service-card:hover picture.tq-service-card__media img {
		transform: none;
	}
}
/* Card height and vertical rhythm refinement (IT Services only). */
@media (min-width: 701px) {
	main.tq-page--it-services .tq-services-overview-grid > .alignwide.tq-service-cards {
		row-gap: 40px;
	}

	main.tq-page--it-services .tq-services-overview-grid .tq-service-card {
		grid-template-rows: minmax(460px, auto);
		min-height: 460px;
	}

	main.tq-page--it-services .tq-service-card__media {
		min-height: 0;
	}
}

@media (min-width: 701px) and (max-width: 900px) {
	main.tq-page--it-services .tq-services-overview-grid > .alignwide.tq-service-cards {
		row-gap: 28px;
	}

	main.tq-page--it-services .tq-services-overview-grid .tq-service-card {
		grid-template-rows: minmax(400px, auto);
		min-height: 400px;
	}
}

@media (max-width: 700px) {
	main.tq-page--it-services .tq-services-overview-grid > .alignwide.tq-service-cards {
		row-gap: 24px;
	}
}
/* Text-focused services and product pages. */
.tq-primary-nav .wp-block-navigation__submenu-container {
	min-width: 15rem;
	padding: .45rem;
	background: #07182f;
	border: 1px solid #367ba7;
	border-radius: .65rem;
	box-shadow: 0 12px 28px rgba(7, 24, 47, .28);
}

.tq-primary-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	box-sizing: border-box;
	width: 100%;
	padding: .65rem .75rem;
	border-radius: .35rem;
	white-space: normal;
}

.tq-primary-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	color: #fff;
	background: #102e57;
}

.tq-primary-nav .wp-block-navigation__submenu-container .wp-block-navigation-item:last-child .wp-block-navigation-item__content {
	min-height: 0;
	padding: .65rem .75rem;
	color: #fff;
	background: transparent;
	font-weight: 500;
}

.tq-content-page {
	box-sizing: border-box;
	width: min(100% - 2rem, 80rem);
	margin-inline: auto;
	padding-block: clamp(2.25rem, 5vw, 4.5rem);
	color: #07182f;
}

.tq-content-page > :first-child { margin-top: 0; }
.tq-content-page > :last-child { margin-bottom: 0; }
.tq-content-page h2 { margin-block: clamp(1.75rem, 3.5vw, 2.5rem) .8rem; color: #102e57; line-height: 1.22; }
.tq-content-page h3 { margin-block: 0 .55rem; color: #102e57; line-height: 1.3; }
.tq-content-page p,
.tq-content-page li { color: #193653; line-height: 1.7; }
.tq-content-page a:not(.wp-block-button__link) { color: #0b568f; text-decoration-thickness: .08em; text-underline-offset: .18em; }
.tq-content-page a:not(.wp-block-button__link):hover { color: #07182f; }
.tq-content-page :where(a, button, input, select, textarea):focus-visible { outline: 3px solid #1766a6; outline-offset: 3px; box-shadow: 0 0 0 2px #f1f6fb; }

.tq-content-page__intro { max-width: 58rem; margin-block: 0 2rem; font-size: clamp(1.08rem, 1rem + .35vw, 1.28rem); color: #193653; }
.tq-content-page__eyebrow { margin: 0 0 .5rem; color: #1766a6; font-size: .8rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.tq-content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-block: 1.25rem 2rem; }
.tq-content-card { min-width: 0; padding: clamp(1.1rem, 2.3vw, 1.55rem); background: #fff; border: 1px solid #c9e0f3; border-radius: .8rem; box-shadow: 0 8px 22px rgba(16, 46, 87, .06); }
.tq-content-card p:last-child { margin-bottom: 0; }
.tq-content-card__status { margin: 0 0 .55rem; color: #1766a6; font-size: .8rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.tq-content-card__link { display: inline-flex; align-items: center; margin-top: .65rem; font-weight: 700; }
.tq-content-card__price { margin: .65rem 0 0; color: #102e57; font-size: .92rem; font-weight: 700; }
.tq-content-list { padding-left: 1.3rem; }
.tq-content-list li + li { margin-top: .45rem; }
.tq-price-panel { margin-block: 1.75rem; padding: clamp(1.25rem, 3vw, 2rem); background: #e4f0fa; border: 1px solid #9fc6e3; border-left: 4px solid #1766a6; border-radius: .7rem; }
.tq-price-panel h2 { margin: 0 0 .65rem; font-size: clamp(1.35rem, 1.1rem + .7vw, 1.8rem); }
.tq-price-panel p { margin-block: .5rem; }
.tq-price-panel p:last-child { margin-bottom: 0; }
.tq-price-panel__amount { color: #07182f !important; font-size: 1.08rem; }
.tq-cta-panel { margin-block: 2rem; padding: clamp(1.35rem, 3vw, 2rem); color: #fff; background: #102e57; border: 1px solid #367ba7; border-radius: .85rem; }
.tq-cta-panel h2,
.tq-cta-panel p { color: #fff; }
.tq-cta-panel h2 { margin: 0 0 .6rem; }
.tq-cta-panel p:last-child { margin-bottom: 0; }
.tq-cta-panel a { color: #fff !important; }
.tq-notice { margin-block: 1rem; padding: 1rem 1.2rem; background: #e4f0fa; border: 1px solid #9fc6e3; border-radius: .65rem; }
.tq-notice p { margin: 0; }
.tq-notice--error { background: #fff1f0; border-color: #b42318; }
.tq-contact-email { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .8rem; }
.tq-contact-email a { font-weight: 750; }
.tq-contact-email span { color: #415a70; font-size: .9rem; }
.tq-contact-form { margin-block: 1.5rem 2.5rem; padding: clamp(1rem, 3vw, 1.75rem); background: #fff; border: 1px solid #c9e0f3; border-radius: .8rem; }
.tq-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.tq-form-grid > p { margin: 0; }
.tq-form-grid__wide { grid-column: 1 / -1; }
.tq-contact-form label { display: block; margin-bottom: .35rem; color: #102e57; font-weight: 700; }
.tq-contact-form label span { font-size: .88rem; font-weight: 500; }
.tq-contact-form input:not([type="hidden"]):not([type="checkbox"]),
.tq-contact-form select,
.tq-contact-form textarea { box-sizing: border-box; width: 100%; min-height: 2.8rem; padding: .7rem .8rem; color: #07182f; background: #fff; border: 1px solid #71869b; border-radius: .4rem; font: inherit; }
.tq-contact-form textarea { min-height: 10rem; resize: vertical; }
.tq-contact-form .tq-contact-form__consent { display: flex; align-items: flex-start; justify-content: flex-start; gap: .65rem; width: 100%; min-width: 0; margin: 0; font-weight: 500; }
.tq-contact-form .tq-contact-form__consent input { flex: 0 0 1.125rem; width: 1.125rem; height: 1.125rem; margin: .2rem 0 0; accent-color: #1766a6; }
.tq-contact-form__privacy { margin: 0; font-size: .92rem; }
.tq-contact-form__trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.tq-contact-form button { min-height: 2.8rem; padding: .7rem 1.2rem; color: #fff; background: #1766a6; border: 1px solid #102e57; border-radius: .5rem; font: inherit; font-weight: 750; cursor: pointer; }
.tq-contact-form button:hover { background: #102e57; }
@media (max-width: 700px) {
	.tq-content-grid,
	.tq-form-grid { grid-template-columns: minmax(0, 1fr); }
	.tq-form-grid__wide { grid-column: 1; }
	.tq-content-page { width: min(100% - 1.5rem, 80rem); }
}

/* Internal page template title alignment. */
.tq-page-main > .wp-block-post-title {
	box-sizing: border-box;
	width: auto;
	max-width: 72rem;
	margin-inline: 1rem;
	padding-block: clamp(2rem, 5vw, 3.5rem) 1rem;
	padding-inline: 1rem;
	color: #102e57;
	font-size: clamp(2.25rem, 1.4rem + 3vw, 3.5rem);
	line-height: 1.12;
}

/* Premium text-only system for the shared internal page template. */
.tq-page-main {
	background: #f1f6fb;
	color: #07182f;
	overflow: clip;
}

/* Let the internal page wrapper use the width provided by its own layout. */
.tq-page-main > .wp-block-post-content {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
}

.tq-page-hero {
	position: relative;
	isolation: isolate;
	box-sizing: border-box;
	padding-block: clamp(2.25rem, 5vw, 4rem);
	color: #fff;
	background: linear-gradient(118deg, #07182f 0%, #102e57 58%, #1766a6 100%);
	border-bottom: 1px solid rgba(201, 224, 243, .28);
}

.tq-page-hero::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(ellipse at 82% 8%, rgba(101, 197, 240, .28), transparent 43%), linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, .06) 50%, transparent 70%);
	content: '';
	pointer-events: none;
}

.tq-page-hero__inner {
	box-sizing: border-box;
	width: min(calc(100% - 2rem), 72rem);
	margin-inline: auto;
}

.tq-page-hero__eyebrow {
	margin: 0 0 .55rem;
	color: #c9e0f3;
	font-size: .78rem;
	font-weight: 750;
	letter-spacing: .15em;
	text-transform: uppercase;
}

.tq-page-hero .wp-block-post-title {
	max-width: 18ch;
	margin: 0;
	color: #fff;
	font-size: clamp(2.15rem, 1.35rem + 3vw, 3.65rem);
	font-weight: 760;
	letter-spacing: -.035em;
	line-height: 1.08;
}

.tq-content-page {
	padding-block: clamp(2rem, 4.2vw, 3.6rem);
}

/* WordPress constrains direct children by contentSize; these reusable sections fill the page container. */
.tq-content-page > .tq-content-grid,
.tq-content-page > .tq-editorial-grid,
.tq-content-page > .tq-pricing-comparison,
.tq-content-page > .tq-custom-quote,
.tq-content-page > .tq-contact-form,
.tq-content-page > .tq-cta-panel,
.tq-content-page > .tq-product-status {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	min-width: 0;
}

.tq-content-page > h2,
.tq-content-page > .wp-block-heading {
	margin-block: clamp(1.6rem, 3vw, 2.2rem) .75rem;
	color: #102e57;
	font-size: clamp(1.45rem, 1.15rem + 1.15vw, 2rem);
	font-weight: 740;
	letter-spacing: -.02em;
}

.tq-content-page > :first-child { margin-top: 0; }
.tq-content-page > :last-child { margin-bottom: 0; }
.tq-content-page p,
.tq-content-page li { color: #193653; line-height: 1.72; }
.tq-content-page a:not(.tq-button) { color: #0b568f; text-decoration-thickness: .08em; text-underline-offset: .18em; }
.tq-content-page a:not(.tq-button):hover { color: #07182f; }
.tq-content-page :where(a, button, input, select, textarea):focus-visible { outline: 3px solid #1766a6; outline-offset: 3px; box-shadow: 0 0 0 2px #f1f6fb; }

.tq-content-page__eyebrow {
	margin: 0 0 .45rem;
	color: #1766a6 !important;
	font-size: .77rem;
	font-weight: 760;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.tq-content-page__intro {
	max-width: 58rem;
	margin: 0 0 1.6rem;
	color: #193653 !important;
	font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem);
	line-height: 1.66;
}

.tq-content-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(.9rem, 1.8vw, 1.3rem);
	margin-block: 1.1rem 2rem;
}

.tq-content-card {
	box-sizing: border-box;
	min-width: 0;
	padding: clamp(1.15rem, 2.2vw, 1.65rem);
	background: linear-gradient(145deg, #fff 0%, #f1f6fb 100%);
	border: 1px solid #c9e0f3;
	border-radius: .9rem;
	box-shadow: 0 0 0 1px rgba(101, 197, 240, .16), 0 0 14px 1px rgba(23, 102, 166, .14), 0 10px 26px rgba(7, 24, 47, .075), inset 0 1px rgba(255, 255, 255, .9);
	transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.tq-content-card h3 {
	margin: 0 0 .6rem;
	color: #102e57;
	font-size: clamp(1.08rem, 1rem + .38vw, 1.32rem);
	line-height: 1.3;
}

.tq-content-card p:last-child { margin-bottom: 0; }
.tq-content-card__price { margin: .65rem 0 0; color: #102e57 !important; font-size: .94rem; font-weight: 760; }
.tq-content-card .tq-button { margin-top: 1rem; }

.tq-content-page--services .tq-content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tq-content-page--services .tq-content-card {
	color: #fff;
	background: linear-gradient(145deg, #102e57 0%, #07182f 100%);
	border-color: rgba(101, 197, 240, .42);
	box-shadow: 0 0 0 1px rgba(101, 197, 240, .2), 0 0 15px 1px rgba(23, 102, 166, .18), 0 12px 28px rgba(7, 24, 47, .14), inset 0 1px rgba(201, 224, 243, .12);
}
.tq-content-page--services .tq-content-card h3,
.tq-content-page--services .tq-content-card p { color: #fff; }
.tq-content-page--services .tq-content-card__price { color: #c9e0f3 !important; }
.tq-content-page--services .tq-content-card a:not(.tq-button) { color: #c9e0f3; font-weight: 700; }
.tq-content-page--services .tq-content-card a:not(.tq-button):hover { color: #fff; }

.tq-content-page--products .tq-content-card { border-top: 3px solid #1766a6; }
.tq-content-card__status {
	display: inline-block;
	margin: 0 0 .55rem !important;
	padding: .25rem .6rem;
	color: #102e57 !important;
	background: #c9e0f3;
	border-radius: 99px;
	font-size: .76rem;
	font-weight: 760;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.tq-content-card__link { display: inline-flex; align-items: center; margin-top: .65rem; font-weight: 700; }
.tq-content-list { padding-left: 1.25rem; }
.tq-content-list li + li { margin-top: .4rem; }

.tq-button,
.tq-content-page .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.85rem;
	box-sizing: border-box;
	padding: .72rem 1.1rem;
	color: #fff !important;
	background: #1766a6;
	border: 1px solid #1766a6;
	border-radius: .55rem;
	font: inherit;
	font-weight: 740;
	line-height: 1.25;
	text-align: center;
	text-decoration: none !important;
	transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.tq-button:hover,
.tq-content-page .wp-block-button__link:hover {
	background: #102e57;
	border-color: #102e57;
	box-shadow: 0 7px 18px rgba(7, 24, 47, .2);
	transform: translateY(-2px);
}

.tq-pricing-comparison { margin-block: clamp(1.8rem, 3.5vw, 2.8rem); }
.tq-pricing-comparison__intro { max-width: 58rem; margin-bottom: 1rem; }
.tq-pricing-comparison__intro h2 { margin: 0 0 .45rem; color: #102e57; font-size: clamp(1.45rem, 1.15rem + 1.1vw, 1.95rem); }
.tq-pricing-comparison__intro p { margin: 0; }
.tq-pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.tq-pricing-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: clamp(1.15rem, 2.6vw, 1.8rem);
	background: linear-gradient(145deg, #fff 0%, #f1f6fb 100%);
	border: 1px solid #a9c9e1;
	border-radius: .9rem;
	box-shadow: 0 0 0 1px rgba(101, 197, 240, .16), 0 0 14px 1px rgba(23, 102, 166, .14), 0 12px 28px rgba(7, 24, 47, .09), inset 0 1px #fff;
	transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}
.tq-pricing-card--premium {
	color: #fff;
	background: linear-gradient(145deg, #102e57 0%, #07182f 100%);
	border: 1px solid #1766a6;
	box-shadow: 0 0 0 1px rgba(101, 197, 240, .22), 0 0 16px 1px rgba(23, 102, 166, .2), 0 14px 32px rgba(7, 24, 47, .2), inset 0 1px rgba(201, 224, 243, .2);
}
.tq-pricing-card__eyebrow { margin: 0 0 .35rem !important; color: #1766a6 ; font-size: .76rem; font-weight: 780; letter-spacing: .13em; text-transform: uppercase; }
.tq-pricing-card--premium .tq-pricing-card__eyebrow { color: #c9e0f3 ; }
.tq-pricing-card h3 { margin: 0; color: #102e57; font-size: clamp(1.12rem, 1rem + .45vw, 1.38rem); line-height: 1.3; }
.tq-pricing-card--premium h3,
.tq-pricing-card--premium h4,
.tq-pricing-card--premium p,
.tq-pricing-card--premium li { color: #fff; }
.tq-pricing-card h4 { margin: 1rem 0 .45rem; color: #102e57; font-size: .9rem; }
.tq-pricing-card__price { display: flex; flex-direction: column; gap: .15rem; margin: 1rem 0 .25rem !important; color: #102e57 ; }
.tq-pricing-card__price span { color: #405b73; font-size: .82rem; font-weight: 650; }
.tq-pricing-card__price strong { color: #102e57; font-size: clamp(1.55rem, 1.25rem + 1vw, 2rem); line-height: 1.15; }
.tq-pricing-card--premium .tq-pricing-card__price,
.tq-pricing-card--premium .tq-pricing-card__price span,
.tq-pricing-card--premium .tq-pricing-card__price strong { color: #fff ; }
.tq-pricing-card ul { margin: .1rem 0 .8rem; padding-left: 1.2rem; }
.tq-pricing-card li + li { margin-top: .35rem; }
.tq-pricing-card__scope { margin-top: auto; padding-top: .65rem; border-top: 1px solid #c9e0f3; }
.tq-pricing-card--premium .tq-pricing-card__scope { border-color: rgba(201, 224, 243, .36); }
.tq-pricing-card__scope h4 { margin-top: .6rem; }
.tq-pricing-card__scope p { margin: 0; font-size: .92rem; }
.tq-pricing-card__action { margin: 1.15rem 0 0 !important; }
.tq-pricing-card__action .tq-button { width: 100%; }
.tq-pricing-card--premium .tq-pricing-card__action .tq-button { color: #07182f ; background: #c9e0f3; border-color: #c9e0f3; }
.tq-pricing-card--premium .tq-pricing-card__action .tq-button:hover { color: #fff ; background: #1766a6; border-color: #65c5f0; }
.tq-pricing-note { margin: .85rem 0 0; color: #405b73; font-size: .9rem; }

.tq-custom-quote,
.tq-cta-panel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	margin-block: 1.8rem;
	padding: clamp(1.2rem, 3vw, 2rem);
	color: #fff;
	background: linear-gradient(120deg, #102e57, #07182f 78%);
	border: 1px solid rgba(101, 197, 240, .48);
	border-radius: .9rem;
	box-shadow: 0 14px 32px rgba(7, 24, 47, .16);
}
.tq-custom-quote h2,
.tq-cta-panel h2 { margin: 0 0 .5rem; color: #fff; font-size: clamp(1.3rem, 1.1rem + .7vw, 1.8rem); }
.tq-custom-quote p,
.tq-cta-panel p { color: #f1f6fb; }
.tq-custom-quote p:last-child,
.tq-cta-panel p:last-child { margin-bottom: 0; }
.tq-custom-quote__eyebrow { margin: 0 0 .3rem; color: #c9e0f3 !important; font-size: .76rem; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.tq-custom-quote > div:first-child { min-width: 0; flex: 1 1 auto; }
.tq-custom-quote > .tq-button,
.tq-cta-panel .wp-block-button { flex: 0 0 auto; max-width: 100%; box-sizing: border-box; }
.tq-cta-panel a { color: #fff; }
.tq-content-page .tq-cta-panel .wp-block-button__link { color: #07182f !important; background: #c9e0f3; border-color: #c9e0f3; }
.tq-content-page .tq-cta-panel .wp-block-button__link:hover { color: #fff !important; background: #1766a6; border-color: #65c5f0; }

.tq-product-status {
	margin-block: 1rem 1.7rem;
	padding: 1rem 1.2rem;
	background: linear-gradient(110deg, #e3f0fa, #f1f6fb);
	border: 1px solid #9fc6e3;
	border-left: 4px solid #1766a6;
	border-radius: .65rem;
}
.tq-product-status p { margin: .25rem 0; }
.tq-product-status__label { color: #102e57 !important; font-weight: 780; }

.tq-editorial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-block: 1rem 1.8rem; }
.tq-editorial-card { padding: clamp(1rem, 2.2vw, 1.5rem); background: #fff; border: 1px solid #c9e0f3; border-radius: .75rem; box-shadow: 0 0 0 1px rgba(101, 197, 240, .16), 0 0 14px 1px rgba(23, 102, 166, .14), 0 8px 22px rgba(7, 24, 47, .065); transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease; }
.tq-editorial-card h2,
.tq-editorial-card h3 { margin-top: 0; color: #102e57; }
.tq-editorial-card :last-child { margin-bottom: 0; }

.tq-content-page--contact .tq-contact-form { margin-block: 1rem 2rem; padding: clamp(1rem, 2.8vw, 1.75rem); background: #fff; border: 1px solid #c9e0f3; border-radius: .9rem; box-shadow: 0 12px 30px rgba(7, 24, 47, .08); }
.tq-contact-form .tq-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.tq-contact-form .tq-form-grid > p { min-width: 0; margin: 0; }
.tq-contact-form .tq-form-grid__wide { grid-column: 1 / -1; }
.tq-contact-form label { display: block; margin-bottom: .35rem; color: #102e57; font-weight: 720; }
.tq-contact-form label span { font-size: .88rem; font-weight: 500; }
.tq-contact-form input:not([type="hidden"]):not([type="checkbox"]),
.tq-contact-form select,
.tq-contact-form textarea { box-sizing: border-box; width: 100%; min-height: 2.85rem; padding: .7rem .8rem; color: #07182f; background: #fff; border: 1px solid #647b91; border-radius: .45rem; font: inherit; }
.tq-contact-form textarea { min-height: 10rem; resize: vertical; }
.tq-contact-form .tq-contact-form__consent { display: flex; align-items: flex-start; justify-content: flex-start; gap: .65rem; width: 100%; min-width: 0; margin: 0; font-weight: 500; }
.tq-contact-form .tq-contact-form__consent input { flex: 0 0 1.125rem; width: 1.125rem; height: 1.125rem; margin: .2rem 0 0; accent-color: #1766a6; }
.tq-contact-form__privacy { font-size: .92rem; }
.tq-contact-form__trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.tq-contact-form button { min-height: 2.85rem; padding: .7rem 1.2rem; color: #fff; background: #1766a6; border: 1px solid #102e57; border-radius: .5rem; font: inherit; font-weight: 740; cursor: pointer; transition: background-color .2s ease, transform .2s ease; }
.tq-contact-form button:hover { background: #102e57; transform: translateY(-1px); }
.tq-contact-form :where(input, select, textarea, button):focus-visible,
.tq-content-page :where(a, button):focus-visible { outline: 3px solid #1766a6; outline-offset: 3px; box-shadow: 0 0 0 2px #f1f6fb; }
.tq-notice { margin-block: 1rem; padding: 1rem 1.2rem; background: #e3f0fa; border: 1px solid #9fc6e3; border-radius: .65rem; }
.tq-notice p { margin: 0; }
.tq-notice--error { background: #fff1f0; border-color: #b42318; }
.tq-contact-email { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .8rem; }
.tq-contact-email a { font-weight: 750; }
.tq-contact-email span { color: #405b73; font-size: .9rem; }
/* Explicitly suppress list markers and generated separators in the primary nav. */
.tq-primary-nav .wp-block-navigation__container,
.tq-primary-nav .wp-block-navigation__submenu-container { list-style: none !important; padding-inline-start: 0; }
.tq-primary-nav .wp-block-navigation-item::marker { content: ''; }
.tq-primary-nav .wp-block-navigation-item::before,
.tq-primary-nav .wp-block-navigation-item::after,
.tq-primary-nav .wp-block-navigation-item__label::before,
.tq-primary-nav .wp-block-navigation-item__label::after { display: none !important; content: none !important; }
.tq-primary-nav .wp-block-navigation__submenu-icon { display: inline-grid; place-items: center; color: currentColor; }
.tq-primary-nav .wp-block-navigation__submenu-icon svg { display: block; }

.tq-reveal-enabled .tq-reveal-item:not(.is-visible) { opacity: 0; transform: translateY(14px); }
.tq-reveal-enabled .tq-reveal-item { transition: opacity .48s ease, transform .48s ease; }
.tq-reveal-enabled .tq-reveal-item.is-visible { opacity: 1; transform: none; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.tq-content-card:hover { border-color: #65c5f0; box-shadow: 0 0 0 1px rgba(101, 197, 240, .42), 0 0 22px 2px rgba(101, 197, 240, .24), 0 16px 34px rgba(7, 24, 47, .13), inset 0 1px #fff; transform: translateY(-2px); }
	.tq-content-page--services .tq-content-card:hover { border-color: #65c5f0; box-shadow: 0 0 0 1px rgba(181, 232, 250, .48), 0 0 22px 2px rgba(101, 197, 240, .24), 0 17px 34px rgba(7, 24, 47, .2); }
	.tq-pricing-card:hover, .tq-editorial-card:hover { border-color: #65c5f0; box-shadow: 0 0 0 1px rgba(101, 197, 240, .42), 0 0 22px 2px rgba(101, 197, 240, .24), 0 16px 34px rgba(7, 24, 47, .14); transform: translateY(-2px); }
}

@media (max-width: 900px) {
	.tq-custom-quote,
	.tq-cta-panel { align-items: flex-start; flex-direction: column; }
	.tq-custom-quote > .tq-button,
	.tq-cta-panel .wp-block-button { width: 100%; }
}

@media (max-width: 700px) {
	.tq-content-grid,
	.tq-content-page--services .tq-content-grid,
	.tq-pricing-grid,
	.tq-editorial-grid,
	.tq-contact-form .tq-form-grid { grid-template-columns: minmax(0, 1fr); }
	.tq-contact-form .tq-form-grid__wide { grid-column: 1; }
	.tq-custom-quote,
	.tq-cta-panel { align-items: flex-start; flex-direction: column; }
	.tq-custom-quote > .tq-button,
	.tq-cta-panel .wp-block-button { width: 100%; }
	.tq-content-page { width: min(100% - 1.5rem, 72rem); }
	.tq-page-hero__inner { width: min(100% - 1.5rem, 72rem); }
	.tq-page-hero .wp-block-post-title { max-width: 16ch; }
}

@media (prefers-reduced-motion: reduce) {
	.tq-reveal-enabled .tq-reveal-item,
	.tq-reveal-enabled .tq-reveal-item:not(.is-visible) { opacity: 1; transform: none; transition: none; }
	.tq-content-card,
	.tq-card,
	.tq-pricing-card,
	.tq-editorial-card,
	.tq-project-card,
	.tq-button,
	.tq-content-page .wp-block-button__link,
	.tq-contact-form button { transition: none; }
	.tq-card:hover,
	.tq-page--it-services .tq-service-card:hover,
	.tq-page--it-services .tq-service-card:not(.tq-service-card--dark):hover,
	.tq-page--it-services .tq-related__card:hover,
	.tq-page--it-services .tq-approach__step:hover,
	.tq-content-card:hover,
	.tq-pricing-card:hover,
	.tq-editorial-card:hover,
	.tq-project-card:hover { transform: none; }
}


/* Our Projects: scoped portfolio and project-page components. */
.tq-project-page { max-width: 80rem; }
.tq-project-page .tq-project-page__intro { max-width: 62rem; margin-block: 0 1.4rem; font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); }
.tq-project-page .tq-project-section { margin-block: clamp(2rem, 4vw, 3.25rem); }
.tq-project-page .tq-project-section > h2 { margin-block: 0 .8rem; }
.tq-project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.4rem); margin-block: 1.2rem 1.8rem; }
.tq-project-card { box-sizing: border-box; min-width: 0; padding: clamp(1.1rem, 2.2vw, 1.6rem); background: linear-gradient(145deg, #fff 0%, #f1f6fb 100%); border: 1px solid #b7cee0; border-radius: .85rem; box-shadow: 0 0 0 1px rgba(101, 197, 240, .16), 0 0 14px 1px rgba(23, 102, 166, .14), 0 10px 26px rgba(7, 24, 47, .08); }
.tq-project-card > :first-child { margin-top: 0; }
.tq-project-card > :last-child { margin-bottom: 0; }
.tq-project-card h3, .tq-project-card h4 { margin: .15rem 0 .55rem; color: #102e57; line-height: 1.3; }
.tq-project-card p, .tq-project-card li { color: #193653; line-height: 1.65; }
.tq-project-card__status { display: inline-block; margin: 0 0 .65rem !important; padding: .3rem .65rem; color: #102e57 !important; background: #c9e0f3; border: 1px solid #91b6d1; border-radius: 999px; font-size: .78rem; font-weight: 760; letter-spacing: .035em; }
.tq-project-feature-grid { align-items: stretch; margin-top: 1.7rem; }
.tq-project-featured { display: flex; flex-direction: column; color: #f1f6fb; background: linear-gradient(145deg, #173b68 0%, #07182f 100%); border: 1px solid rgba(101, 197, 240, .52); box-shadow: 0 0 0 1px rgba(101, 197, 240, .22), 0 0 16px 1px rgba(23, 102, 166, .2), 0 16px 38px rgba(7, 24, 47, .17), inset 0 1px rgba(201, 224, 243, .17); }
.tq-project-featured h2, .tq-project-featured p { color: #f1f6fb; }
.tq-project-featured h2 { margin: .15rem 0 .65rem; font-size: clamp(1.45rem, 1.2rem + .8vw, 2rem); line-height: 1.2; }
.tq-project-featured .tq-project-card__status { color: #07182f !important; background: #c9e0f3; }
.tq-project-featured .tq-project-card__actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: auto; padding-top: 1.1rem; }
.tq-project-card__actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .62rem .95rem; color: #07182f !important; background: #c9e0f3; border: 1px solid #c9e0f3; border-radius: .5rem; font-weight: 740; line-height: 1.3; text-decoration: none; }
.tq-project-card__actions a:hover { color: #fff !important; background: #1766a6; border-color: #65c5f0; }
.tq-project-featured .tq-project-card__actions .wp-block-button:nth-child(2) .wp-block-button__link { color: #f1f6fb !important; background: transparent; border-color: #9fc6e3; }
.tq-project-featured .tq-project-card__actions .wp-block-button:nth-child(2) .wp-block-button__link:hover { color: #07182f !important; background: #c9e0f3; }
.tq-project-page .tq-project-links { display: flex; flex-wrap: wrap; gap: .55rem 1.2rem; padding-left: 0; list-style: none; }
.tq-project-page .tq-project-links li { min-width: 0; }
.tq-project-page .tq-project-links a { font-weight: 680; }
.tq-project-page .tq-project-note { padding: 1rem 1.15rem; background: #e4f0fa; border: 1px solid #b7cee0; border-left: 4px solid #1766a6; border-radius: .65rem; }
.tq-project-page .tq-project-note p:last-child { margin-bottom: 0; }
.tq-project-page .tq-project-feature-panel { padding: clamp(1.25rem, 2.7vw, 2rem); color: #f1f6fb; background: linear-gradient(135deg, #102e57, #07182f); border: 1px solid #367ba7; border-radius: .9rem; box-shadow: 0 14px 34px rgba(7, 24, 47, .14); }
.tq-project-page .tq-project-feature-panel h2, .tq-project-page .tq-project-feature-panel h3, .tq-project-page .tq-project-feature-panel p, .tq-project-page .tq-project-feature-panel li { color: #f1f6fb; }
.tq-project-page .tq-project-feature-panel a { color: #c9e0f3; }
.tq-project-page .tq-project-feature-panel a:hover { color: #fff; }
.tq-project-page .tq-project-workflow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; padding: 0; list-style: none; counter-reset: project-step; }
.tq-project-page .tq-project-workflow li { min-width: 0; padding: .8rem; color: #102e57; background: #e4f0fa; border: 1px solid #b7cee0; border-radius: .55rem; font-weight: 680; }
.tq-project-page :where(a, button):focus-visible { outline: 3px solid #1766a6; outline-offset: 3px; box-shadow: 0 0 0 2px #f1f6fb; }
.tq-card:focus-within,
.tq-page--it-services .tq-service-card:focus-within,
.tq-page--it-services .tq-related__card:focus-within,
.tq-page--it-services .tq-approach__step:focus-within,
.tq-content-card:focus-within,
.tq-pricing-card:focus-within,
.tq-editorial-card:focus-within,
.tq-project-card:focus-within {
	border-color: #65c5f0;
	box-shadow: 0 0 0 1px rgba(181, 232, 250, .55), 0 0 24px 2px rgba(101, 197, 240, .28), 0 14px 30px rgba(7, 24, 47, .14);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.tq-project-card { transition: border-color 300ms ease, box-shadow 300ms ease, transform 300ms ease; }
	.tq-project-card:hover { border-color: #65c5f0; box-shadow: 0 0 0 1px rgba(101, 197, 240, .42), 0 0 22px 2px rgba(101, 197, 240, .24), 0 16px 34px rgba(7, 24, 47, .14); transform: translateY(-2px); }
	.tq-project-featured:hover { border-color: #b5e8fa; box-shadow: 0 0 0 1px rgba(181, 232, 250, .55), 0 0 24px 2px rgba(101, 197, 240, .3), 0 18px 40px rgba(7, 24, 47, .22); }
}
@media (max-width: 900px) {
	.tq-project-page { width: min(100% - 2rem, 80rem); }
	.tq-project-page .tq-project-workflow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
	.tq-project-grid { grid-template-columns: minmax(0, 1fr); }
	.tq-project-page .tq-project-workflow { grid-template-columns: minmax(0, 1fr); }
	.tq-project-featured .tq-project-card__actions { flex-direction: column; align-items: stretch; }
	.tq-project-card__actions a { width: 100%; box-sizing: border-box; }
}

/* Shared sapphire card glow: use on card components only, never nested content wrappers. */
.tq-card,
.tq-content-card,
.tq-pricing-card,
.tq-editorial-card,
.tq-project-card,
.tq-agent-card,
.tq-why__card,
.tq-page--it-services .tq-service-card,
.tq-page--it-services .tq-related__card,
.tq-page--it-services .tq-approach__step {
	border-color: rgba(101, 197, 240, .34);
	box-shadow: 0 0 0 1px rgba(101, 197, 240, .14), 0 0 13px 1px rgba(23, 102, 166, .12), 0 10px 26px rgba(7, 24, 47, .1);
}

.tq-card:focus-within,
.tq-content-card:focus-within,
.tq-pricing-card:focus-within,
.tq-editorial-card:focus-within,
.tq-project-card:focus-within,
.tq-agent-card:focus-within,
.tq-why__card:focus-within,
main.tq-page--it-services .tq-services-overview-grid .tq-service-card:focus-within,
main.tq-page--it-services .tq-related__card:focus-within,
main.tq-page--it-services .tq-approach__step:focus-within {
	border-color: #b5e8fa;
	box-shadow: 0 0 0 1px rgba(181, 232, 250, .58), 0 0 24px 2px rgba(101, 197, 240, .3), 0 14px 30px rgba(7, 24, 47, .16);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.tq-card,
	.tq-content-card,
	.tq-pricing-card,
	.tq-editorial-card,
	.tq-project-card,
	.tq-agent-card,
	.tq-why__card,
	.tq-page--it-services .tq-service-card,
	main.tq-page--it-services .tq-services-overview-grid .tq-service-card,
	.tq-content-page--services .tq-content-card,
	.tq-page--it-services .tq-related__card,
	.tq-page--it-services .tq-approach__step {
		transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
	}

	.tq-card:hover,
	.tq-content-card:hover,
	.tq-pricing-card:hover,
	.tq-editorial-card:hover,
	.tq-project-card:hover,
	.tq-agent-card:hover,
	.tq-why__card:hover,
	.tq-page--it-services .tq-service-card:hover,
	main.tq-page--it-services .tq-services-overview-grid .tq-service-card:hover,
	.tq-content-page--services .tq-content-card:hover,
	.tq-page--it-services .tq-related__card:hover,
	.tq-page--it-services .tq-approach__step:hover {
		transform: translateY(-2px);
		border-color: #b5e8fa;
		box-shadow: 0 0 0 1px rgba(181, 232, 250, .58), 0 0 24px 2px rgba(101, 197, 240, .3), 0 16px 34px rgba(7, 24, 47, .16);
	}
}

@media (prefers-reduced-motion: reduce) {
	.tq-card,
	.tq-content-card,
	.tq-pricing-card,
	.tq-editorial-card,
	.tq-project-card,
	.tq-agent-card,
	.tq-why__card,
	.tq-page--it-services .tq-service-card,
	main.tq-page--it-services .tq-services-overview-grid .tq-service-card,
	.tq-content-page--services .tq-content-card,
	.tq-page--it-services .tq-related__card,
	.tq-page--it-services .tq-approach__step { transition: none; }

	.tq-card:hover,
	.tq-content-card:hover,
	.tq-pricing-card:hover,
	.tq-editorial-card:hover,
	.tq-project-card:hover,
	.tq-agent-card:hover,
	.tq-why__card:hover,
	.tq-page--it-services .tq-service-card:hover,
	main.tq-page--it-services .tq-services-overview-grid .tq-service-card:hover,
	.tq-content-page--services .tq-content-card:hover,
	.tq-page--it-services .tq-related__card:hover,
	.tq-page--it-services .tq-approach__step:hover { transform: none; }
}

/*
 * Internal layout contract:
 * - Add tq-page-container to the top-level internal content group; use wide alignment and default layout.
 * - Add tq-card-grid to a group containing direct tq-card-item children (service, project, pricing or editorial cards).
 * - Keep prose constrained with tq-content-page__intro or a page-scoped prose selector.
 * The front-page template is intentionally outside this contract.
 */
.tq-page-main > .wp-block-post-content {
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	margin-inline: 0 !important;
}

.tq-page-main > .wp-block-post-content > .tq-page-container {
	box-sizing: border-box;
	width: min(calc(100% - 48px), 1280px) !important;
	max-width: 1280px !important;
	margin-inline: auto !important;
}

.tq-page-container > .wp-block-paragraph:not(.tq-content-page__intro) {
	max-width: 72ch;
}

.tq-project-page .tq-project-section {
	box-sizing: border-box;
	width: 100%;
	max-width: none !important;
	margin-inline: 0 !important;
}

.tq-project-page .tq-project-section > .wp-block-paragraph,
.tq-project-page .tq-project-section > .wp-block-list {
	max-width: 74ch;
}

.tq-card-grid {
	box-sizing: border-box;
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 28px;
	align-items: stretch;
	justify-items: stretch;
	width: 100% !important;
	max-width: none !important;
	min-width: 0;
	margin-inline: 0 !important;
}

.tq-card-grid > .tq-card-item {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	width: 100% !important;
	min-width: 0;
	max-width: none !important;
	height: auto;
	margin-inline: 0 !important;
}

.tq-card-grid > .tq-card-item > :last-child {
	margin-bottom: 0;
}

.tq-card-grid > .tq-card-item > p:last-child:has(> a) {
	margin-top: auto;
	padding-top: .75rem;
}

.tq-content-page--contact > .tq-contact-form {
	width: min(100%, 64rem);
	margin-inline: auto !important;
}

@media (max-width: 820px) {
	.tq-card-grid,
	.tq-content-page--services .tq-card-grid {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 22px;
	}
}

@media (max-width: 480px) {
	.tq-page-main > .wp-block-post-content > .tq-page-container {
		width: min(calc(100% - 48px), 1280px) !important;
	}
	.tq-card-grid,
	.tq-content-page--services .tq-card-grid { gap: 18px; }
}

@media (max-width: 782px) {
	.tq-header .tq-header-brand a.tq-brand-logo {
		width: clamp(10.5rem, 48vw, 12rem);
		height: auto;
	}

	.tq-header .tq-brand-logo__image {
		width: 100%;
		height: auto;
		aspect-ratio: 3 / 2;
		object-fit: contain;
	}

	.tq-header .tq-uk-label {
		bottom: 0;
		font-size: 0.45rem;
		letter-spacing: 0.08em;
	}

	.tq-header .wp-block-navigation__responsive-container-open {
		display: flex !important;
	}

	.tq-header .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
	}
}

/* Homepage cinematic image integration and Our Projects cards. */
.tq-home-image {
	box-sizing: border-box;
	width: min(calc(100% - 2.5rem), 80rem);
	margin: clamp(1.25rem, 2vw, 1.75rem) auto 0;
}

/* Keep the IT Services cards distinct from their preceding feature image. */
.home #it-services .tq-it-services__visual + .tq-core-services {
	margin-block-start: clamp(2rem, 3vw, 3rem);
}

.tq-home-image picture,
.tq-home-image img {
	display: block;
	width: 100%;
}

.tq-home-image img {
	height: auto;
	aspect-ratio: 1672 / 941;
	object-fit: cover;
	border: 1px solid rgba(101, 197, 240, 0.26);
	border-radius: 1.125rem;
	box-shadow: 0 18px 48px rgba(7, 24, 47, 0.18), 0 0 20px rgba(23, 102, 166, 0.12);
}

.tq-projects {
	background: var(--wp--preset--color--ice, #F1F6FB);
}

.tq-projects__eyebrow,
.home #it-services .tq-eyebrow--light {
	color: var(--wp--preset--color--sapphire, #102E57);
}

.tq-projects__cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.25rem, 2.5vw, 2rem);
	margin-top: clamp(1.25rem, 2vw, 1.75rem);
}

.tq-project-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-items: flex-start;
}

.tq-project-card > p:not(.tq-project-card__status) {
	flex: 1 1 auto;
}

.tq-project-card__status {
	margin: 0 0 0.75rem;
	padding: 0.35rem 0.7rem;
	border: 1px solid rgba(16, 46, 87, 0.22);
	border-radius: 999px;
	background: rgba(201, 224, 243, 0.65);
	color: var(--wp--preset--color--midnight, #07182F);
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.35;
}

.tq-projects__actions {
	margin-top: clamp(1rem, 1.75vw, 1.5rem);
}

.home .tq-projects__actions .tq-button-outline .wp-block-button__link {
	border: 1px solid var(--wp--preset--color--sapphire, #102E57);
	background: linear-gradient(135deg, #102E57, #1766A6);
	color: #FFFFFF;
	box-shadow: 0 5px 16px rgba(16, 46, 87, 0.2);
}

.home .tq-projects__actions .tq-button-outline .wp-block-button__link:hover {
	border-color: #102E57;
	background: linear-gradient(135deg, #0B2847, #145B96);
	color: #FFFFFF;
}

.home .tq-projects__actions .tq-button-outline .wp-block-button__link:focus-visible {
	outline: 3px solid #102E57;
	outline-offset: 4px;
	box-shadow: 0 0 0 2px #F1F6FB;
}

.tq-project-card :where(a, button):focus-visible {
	outline: 3px solid var(--wp--preset--color--ocean, #1766A6);
	outline-offset: 3px;
}

@media (max-width: 700px) {
	.tq-projects__cards {
		grid-template-columns: minmax(0, 1fr);
	}
	.tq-home-image {
		width: min(calc(100% - 2rem), 80rem);
	}
}

/* Discreet contact shortcut with space reserved below footer links. */
.tq-whatsapp-float {
 position: fixed;
 inset-inline-end: max(1rem, env(safe-area-inset-right));
 bottom: max(1rem, env(safe-area-inset-bottom));
 z-index: 90;
 max-width: calc(100vw - 2rem);
}
.tq-whatsapp-float a {
 display: block;
 padding: .65rem .9rem;
 border: 1px solid #C9E0F3;
 border-radius: 2rem;
 background: #102E57;
 color: #F1F6FB;
 font-size: .875rem;
 font-weight: 600;
 text-decoration: none;
 box-shadow: 0 3px 12px rgba(7,24,47,.2);
}
.tq-whatsapp-float a:hover { background: #07182F; }
.tq-whatsapp-float a:focus-visible { outline: 3px solid #65C5F0; outline-offset: 3px; }
body:has(.wp-block-navigation__responsive-container.is-menu-open) .tq-whatsapp-float,
body:has(dialog[open]) .tq-whatsapp-float,
body:has(.tq-contact-form :focus) .tq-whatsapp-float { visibility: hidden; }
/* Reserve a separate final strip so the shortcut cannot cover the footer links. */
body:has(.tq-whatsapp-float) .tq-footer { padding-bottom: max(4.5rem, calc(3.5rem + env(safe-area-inset-bottom))); }
@media (max-width: 782px) {
 .tq-whatsapp-float { inset-inline-end: max(.75rem, env(safe-area-inset-right)); }
 body:has(input:focus, textarea:focus, select:focus) .tq-whatsapp-float { visibility: hidden; }
}

/* LMS service artwork and introduction only. */
.tq-lms-intro { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:2rem; align-items:center; }
.tq-lms-intro > * { min-width:0; }
.tq-lms-intro figure { margin:0; }
.tq-lms-intro picture, .tq-lms-intro img { display:block; width:100%; }
.tq-lms-intro img { height:auto; object-fit:contain; border-radius:1rem; }
.tq-lms-intro figcaption { font-size:.875rem; margin-top:.6rem; }
@media(max-width:782px) { .tq-lms-intro { grid-template-columns:minmax(0,1fr); } }

/* Premium homepage refinement: deliberately isolated from shared/internal components. */
.tq-home-premium { --tq-home-ink:#102E57; }
.tq-home-premium h2 { font-size:clamp(1.85rem,3.2vw,2.75rem); line-height:1.14; letter-spacing:-.035em; text-wrap:balance; }
.tq-home-premium h3 { line-height:1.3; text-wrap:balance; }
.tq-home-premium p { line-height:1.7; }
.tq-home-premium .tq-hero h1 { font-size:clamp(2.5rem,4.6vw,4.75rem); line-height:1.06; max-width:13ch; text-wrap:balance; }
.tq-home-premium .tq-hero .tq-lead { max-width:48ch; font-size:clamp(1.05rem,1.4vw,1.25rem); color:#C9E0F3; }
.tq-home-premium .tq-card, .tq-home-premium .tq-project-card, .tq-home-premium .tq-why__card { box-sizing:border-box; height:auto; padding:clamp(1.25rem,2.5vw,2rem); box-shadow:0 8px 24px rgba(7,24,47,.08); }
.tq-home-premium .tq-split { max-width:80rem; margin:clamp(2.5rem,5vw,4.5rem) auto 0; gap:clamp(1.5rem,4vw,3.5rem); }
.tq-home-premium .tq-split__visual img, .tq-home-premium .tq-home-image img { height:auto; object-fit:contain; }
.tq-home-premium .tq-split__lead { font-size:1.0625rem; }
.tq-home-premium .tq-agent-card { box-shadow:0 8px 24px rgba(7,24,47,.12); }
.tq-home-premium .tq-projects__header, .tq-home-premium .tq-why__header { max-width:80rem; }
.tq-home-premium .tq-project-card { background:#102E57; color:#F1F6FB; border-color:#367BA7; }
.tq-home-premium .tq-project-card :is(h3,p) { color:#F1F6FB; }
.tq-home-premium .tq-project-card .tq-project-card__status { color:#C9E0F3; }
.tq-home-premium .tq-home-directory { max-width:80rem; margin:0 auto; padding:clamp(1.5rem,3vw,2.5rem) clamp(1.25rem,3vw,3rem); color:#102E57; }
.tq-home-premium .tq-home-kicker { font-size:.78rem; font-weight:700; letter-spacing:.1em; line-height:1.5; }
.tq-home-premium .tq-home-directory ul { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.6rem 1.5rem; padding:0; list-style:none; }
.tq-home-premium .tq-home-directory a { display:flex; justify-content:space-between; gap:.5rem; padding:.65rem 0; border-bottom:1px solid #B5CDE0; color:#102E57; text-decoration:none; font-size:.9rem; }
.tq-home-premium .tq-home-directory a:hover { text-decoration:underline; }
.tq-home-premium .tq-home-lms { background:#102E57; color:#F1F6FB; }
.tq-home-premium .tq-home-lms__inner { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(1.5rem,4vw,3rem); align-items:center; max-width:80rem; margin:auto; }
.tq-home-premium .tq-home-lms__inner > * { min-width:0; }
.tq-home-premium .tq-home-lms figure { margin:0; }
.tq-home-premium .tq-home-lms picture, .tq-home-premium .tq-home-lms img { display:block; width:100%; height:auto; border-radius:1rem; }
.tq-home-premium .tq-home-lms figcaption { color:#C9E0F3; font-size:.8rem; margin-top:.6rem; }
.tq-home-premium .tq-home-lms .tq-button { display:inline-block; background:#F1F6FB; color:#102E57; margin-top:.75rem; }
.tq-home-premium :is(a,button):focus-visible { outline:3px solid #1766A6; outline-offset:4px; box-shadow:0 0 0 2px #F1F6FB; }
@media(max-width:1024px) { .tq-home-premium .tq-home-directory ul { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:782px) { .tq-home-premium .tq-home-lms__inner { grid-template-columns:minmax(0,1fr); } .tq-home-premium .tq-home-directory ul { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:390px) { .tq-home-premium .tq-home-directory ul { grid-template-columns:minmax(0,1fr); } }
@media(prefers-reduced-motion:reduce) { .tq-home-premium * { animation:none !important; transition:none !important; } }

/* Final homepage directory and concise showcase alignment. */
.tq-home-premium .tq-hero-layout { align-items:center; }
.tq-home-premium .tq-hero-layout > .wp-block-column { align-self:center; }
.tq-home-premium .tq-hero-visual { margin-block:0; }
.tq-home-premium .tq-home-directory ul { grid-auto-rows:1fr; gap:1rem; }
.tq-home-premium .tq-home-directory li { display:flex; min-width:0; }
.tq-home-premium .tq-home-directory a { box-sizing:border-box; width:100%; display:grid; grid-template-columns:1.6rem minmax(0,1fr) auto; align-items:center; gap:.8rem; padding:1.15rem; background:#102E57; color:#F1F6FB; border:1px solid #367BA7; border-radius:.85rem; box-shadow:0 5px 16px rgba(7,24,47,.1); font-weight:600; transition:background .25s,box-shadow .25s; }
.tq-home-premium .tq-home-directory svg { width:1.6rem; height:1.6rem; color:#C9E0F3; }
.tq-home-premium .tq-home-directory a:hover { background:#1766A6; text-decoration:none; box-shadow:0 7px 20px rgba(7,24,47,.15); }
.tq-home-premium .tq-split { align-items:center; }
.tq-home-premium #ai-solutions .tq-split__heading { color:#F1F6FB; opacity:1; visibility:visible; }
.tq-home-premium #ai-solutions .tq-split__lead { color:#C9E0F3; }
.tq-home-premium .tq-split__actions { margin-block-start:1.75rem; }
.tq-home-premium .tq-core-services .wp-block-column { display:flex; }
.tq-home-premium .tq-core-services .tq-card { width:100%; }
.tq-home-premium .tq-home-process { max-width:80rem; margin:auto; padding:3rem clamp(1.25rem,3vw,3rem); color:#102E57; }
.tq-home-premium .tq-home-process ol { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1.5rem; list-style-position:inside; padding:0; }
.tq-home-premium .tq-home-process li { border-top:2px solid #1766A6; padding-top:1rem; }
.tq-home-premium .tq-home-process h3 { font-size:1.1rem; }
@media(max-width:782px) { .tq-home-premium .tq-home-process ol { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:480px) { .tq-home-premium .tq-home-directory ul, .tq-home-premium .tq-home-process ol { grid-template-columns:minmax(0,1fr); } }
@media(prefers-reduced-motion:reduce) { .tq-home-premium .tq-home-directory a { transition:none; } }

/* Unified cinematic homepage. Shared components and internal pages remain independent. */
.tq-home-unified { background:#F1F6FB; }
.home .tq-home-unified .tq-hero > .tq-hero-layout { max-width:80rem; align-items:center; }
.tq-home-unified .tq-u-section { padding:clamp(2rem,4vw,3.5rem) clamp(1.25rem,3vw,3rem); margin:0; background:#F1F6FB; color:#102E57; }
.tq-home-unified .tq-u-wrap { max-width:80rem; margin:0 auto; }
.tq-home-unified .tq-u-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(1.5rem,4vw,3rem); align-items:center; }
.tq-home-unified .tq-u-grid > * { min-width:0; }
.tq-home-unified .tq-u-image-left .tq-u-media { grid-column:1; grid-row:1; }
.tq-home-unified .tq-u-image-left .tq-u-copy { grid-column:2; grid-row:1; }
.tq-home-unified .tq-u-label { font-size:.76rem; font-weight:700; letter-spacing:.09em; line-height:1.5; margin:0 0 .7rem; }
.tq-home-unified .tq-u-copy h2 { margin:0 0 1rem; color:inherit; }
.tq-home-unified .tq-u-copy > p:last-of-type { margin:0; font-size:1.0625rem; }
.tq-home-unified .tq-u-media { margin:0; }
.tq-home-unified .tq-u-media picture,.tq-home-unified .tq-u-media img { display:block; width:100%; }
.tq-home-unified .tq-u-media img { height:auto; object-fit:contain; border-radius:1rem; box-shadow:0 10px 28px rgba(7,24,47,.14); }
.tq-home-unified .tq-u-media figcaption { font-size:.8rem; margin-top:.5rem; }
.tq-home-unified .tq-u-dark { background:#07182F; color:#F1F6FB; }
.tq-home-unified .tq-u-dark .tq-u-label,.tq-home-unified .tq-u-dark p { color:#C9E0F3; }
.tq-home-unified .tq-u-actions { display:flex; justify-content:center; align-items:stretch; flex-wrap:wrap; gap:1.125rem; margin-top:1.75rem; }
.tq-home-unified .tq-u-actions > p { display:flex; margin:0; }
.tq-home-unified .tq-u-button,.tq-home-unified .tq-u-actions .tq-whatsapp-contact { display:inline-flex; align-items:center; justify-content:center; gap:.7rem; box-sizing:border-box; min-height:3rem; padding:.8rem 1.5rem; border:1px solid #1766A6; border-radius:.65rem; background:#1766A6; color:#fff; font-size:1rem; font-weight:600; text-decoration:none; }
.tq-home-unified .tq-u-actions .tq-whatsapp-contact { background:transparent; border-color:#C9E0F3; color:#C9E0F3; }
.tq-home-unified svg { flex-shrink:0; }
.tq-home-unified .tq-u-button svg,.tq-home-unified .tq-u-projects svg { width:1.1rem; height:1.1rem; vertical-align:middle; }
.tq-home-unified .tq-u-actions .tq-whatsapp-contact::before { content:'â†—'; font-size:1.2rem; }
.tq-home-unified .tq-u-button:hover { background:#102E57; }
.tq-home-unified .tq-u-dark a:focus-visible { outline-color:#C9E0F3; }
.tq-home-unified .tq-u-values { list-style:none; padding:0; margin:1.25rem 0 0; }
.tq-home-unified .tq-u-values li { display:flex; gap:.8rem; padding:.65rem 0; border-top:1px solid #C9E0F3; }
.tq-home-unified .tq-u-values svg { width:1.4rem; height:1.4rem; }
.tq-home-unified .tq-u-values h3 { margin:0 0 .2rem; font-size:1rem; }
.tq-home-unified .tq-u-values p { margin:0; font-size:.92rem; }
.tq-home-unified .tq-home-directory { box-sizing:content-box; max-width:80rem; }
.tq-home-unified .tq-home-directory a { grid-template-columns:2rem minmax(0,1fr) 1rem; }
.tq-home-unified .tq-home-directory svg { padding:.3rem; border-radius:.45rem; background:rgba(201,224,243,.1); box-sizing:border-box; width:2rem; height:2rem; }
.tq-home-unified .tq-home-directory li:last-child a { background:#07182F; border-color:#65C5F0; }
.tq-home-unified .tq-u-projects { margin-top:1rem; display:grid; gap:1rem; }
.tq-home-unified .tq-u-projects article { border-top:1px solid #C9E0F3; padding-top:.85rem; }
.tq-home-unified .tq-u-projects h3 { margin:.3rem 0; font-size:1.2rem; }
.tq-home-unified .tq-u-projects p { margin:0 0 .4rem; font-size:.95rem; }
.tq-home-unified .tq-u-projects a { color:#102E57; font-weight:600; }
.tq-home-unified .tq-u-process ol { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; list-style:none; margin:1.5rem 0 0; padding:0; }
.tq-home-unified .tq-u-process li { background:#102E57; color:#F1F6FB; padding:1.5rem; border:1px solid #367BA7; border-radius:1rem; }
.tq-home-unified .tq-u-stage { display:flex; justify-content:space-between; align-items:center; color:#C9E0F3; font-size:1.6rem; }
.tq-home-unified .tq-u-stage svg { width:1.6rem; height:1.6rem; }
.tq-home-unified .tq-u-process h3 { font-size:1.1rem; margin:1rem 0 .6rem; }
.tq-home-unified .tq-u-process p { font-size:.95rem; margin:0; color:#C9E0F3; }
@media(max-width:1024px) { .tq-home-unified .tq-u-process ol { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:782px) { .tq-home-unified .tq-u-grid { grid-template-columns:minmax(0,1fr); } .tq-home-unified .tq-u-image-left .tq-u-copy,.tq-home-unified .tq-u-image-left .tq-u-media { grid-column:auto; grid-row:auto; } }
@media(max-width:480px) { .tq-home-unified .tq-u-process ol { grid-template-columns:minmax(0,1fr); } .tq-home-unified .tq-u-actions { flex-direction:column; } .tq-home-unified .tq-u-actions > p,.tq-home-unified .tq-u-actions a { width:100%; } }
