/*
Theme Name: Quotient Logistics & Couriers Ltd
Theme URI: https://quotientlogistics.co.uk
Author: Quotient Logistics & Couriers Ltd
Description: Responsive corporate theme for Quotient Logistics & Couriers Ltd - UK-wide freight, same day courier, air freight and pallet services. Includes a Quick Quote form, enquiry inbox and customisable contact details.
Version: 1.2.3
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: quotient-logistics
*/

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
	--ql-navy: #15283a;
	--ql-navy-deep: #0f1f2e;
	--ql-ink: #0d1c2e;
	--ql-text: #3f4b5a;
	--ql-muted: #5d6b7c;
	--ql-teal: #006590;
	--ql-teal-hover: #005073;
	--ql-gold: #7a5a17;
	--ql-gold-hover: #66490f;
	--ql-gold-soft: #fcd88d;
	--ql-bg: #f8f9ff;
	--ql-tint: #eaf1fb;
	--ql-card: #ffffff;
	--ql-line: #dbe3ee;
	--ql-header-bg: rgba(244, 247, 252, 0.8);

	--ql-font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--ql-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--ql-radius: 4px;
	--ql-radius-lg: 8px;
	--ql-shadow: 0 1px 2px rgba(13, 28, 46, 0.06), 0 6px 18px rgba(13, 28, 46, 0.06);
	--ql-shadow-lg: 0 18px 40px rgba(13, 28, 46, 0.18);
	--ql-header-h: 72px;
	--ql-gutter: clamp(16px, 4vw, 32px);
}

/* ==========================================================================
   Reset / base
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--ql-header-h) + 8px);
}

body {
	margin: 0;
	font-family: var(--ql-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ql-text);
	background: var(--ql-bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

body.ql-nav-open {
	overflow: hidden;
}

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

img {
	display: block;
}

a {
	color: var(--ql-teal);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

:focus-visible {
	outline: 3px solid var(--ql-gold-soft);
	outline-offset: 2px;
}

h1, h2, h3, h4 {
	margin: 0 0 0.5em;
	color: var(--ql-ink);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5.6vw, 3.9rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.2rem; }

p {
	margin: 0 0 1em;
}

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

.ql-icon {
	flex: none;
	vertical-align: middle;
}

.ql-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1000;
	padding: 10px 16px;
	background: #fff;
	color: var(--ql-ink);
}

.ql-skip:focus {
	left: 8px;
	top: 8px;
}

.ql-container {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: var(--ql-gutter);
}

.ql-container--narrow {
	max-width: 860px;
}

.ql-hp {
	position: absolute !important;
	left: -9999px !important;
	height: 0;
	overflow: hidden;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.ql-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 28px;
	border: 1px solid transparent;
	border-radius: var(--ql-radius);
	font: 600 0.95rem/1.2 var(--ql-font);
	text-align: center;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.1s;
}

.ql-btn:hover {
	text-decoration: none;
}

.ql-btn:active {
	transform: translateY(1px);
}

.ql-btn--gold { background: var(--ql-gold); color: #fff; }
.ql-btn--gold:hover { background: var(--ql-gold-hover); color: #fff; }

.ql-btn--teal,
.ql-btn--primary { background: var(--ql-teal); color: #fff; }
.ql-btn--teal:hover,
.ql-btn--primary:hover { background: var(--ql-teal-hover); color: #fff; }

.ql-btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.ql-btn--outline:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff; }

.ql-btn--sm { padding: 10px 18px; font-size: 0.9rem; }
.ql-btn--block { width: 100%; }

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.ql-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--ql-header-bg);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid rgba(13, 28, 46, 0.06);
	transition: box-shadow 0.2s;
}

.admin-bar .ql-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ql-header { top: 46px; } }

.ql-header.is-scrolled {
	box-shadow: 0 4px 18px rgba(13, 28, 46, 0.1);
}

.ql-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--ql-header-h);
}

.ql-brand {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	color: var(--ql-ink);
	min-width: 0;
}

.ql-brand:hover { text-decoration: none; }

.ql-brand__mark img,
.ql-brand .custom-logo {
	width: auto;
	height: 50px;
	max-width: 100%;
}

.ql-brand .custom-logo-link { display: block; line-height: 0; }

.ql-brand__name {
	font-size: 1.3rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ql-nav {
	display: flex;
	align-items: center;
	gap: 32px;
}

.ql-menu {
	display: flex;
	align-items: center;
	gap: 6px;
}

.ql-menu a {
	display: block;
	padding: 6px 10px;
	border-radius: 2px;
	color: #2c3a4b;
	font-size: 0.92rem;
	font-weight: 500;
	transition: background-color 0.2s, color 0.2s;
}

.ql-menu a:hover {
	background: rgba(0, 101, 144, 0.1);
	color: var(--ql-teal);
	text-decoration: none;
}

.ql-menu .current-menu-item > a,
.ql-menu .current_page_item > a {
	background: var(--ql-teal);
	color: #fff;
}

.ql-menu .menu-item-has-children { position: relative; }
.ql-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	padding: 6px;
	background: #fff;
	border-radius: var(--ql-radius);
	box-shadow: var(--ql-shadow-lg);
	display: none;
}
.ql-menu .menu-item-has-children:hover > .sub-menu,
.ql-menu .menu-item-has-children:focus-within > .sub-menu { display: block; }

.ql-nav__actions {
	display: flex;
	align-items: center;
	gap: 14px;
}

.ql-nav-toggle {
	display: none;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--ql-ink);
	cursor: pointer;
}

.ql-nav-toggle__close { display: none; }
.is-open .ql-nav-toggle__open { display: none; }
.is-open .ql-nav-toggle__close { display: inline; }

/* ==========================================================================
   Hero
   ========================================================================== */
.ql-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(560px, 82vh, 760px);
	padding-block: 72px;
	color: #fff;
	background:
		linear-gradient(90deg, rgba(15, 31, 46, 0.92) 0%, rgba(15, 31, 46, 0.78) 55%, rgba(15, 31, 46, 0.7) 100%),
		var(--hero-img) center / cover no-repeat,
		var(--ql-navy);
	isolation: isolate;
}

.ql-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.85fr);
	align-items: center;
	gap: clamp(32px, 5vw, 72px);
}

.ql-hero h1 { color: #fff; margin-bottom: 0.45em; }
.ql-accent { color: var(--ql-gold-soft); }

.ql-hero__tag {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 22px;
	font-family: var(--ql-mono);
	font-size: 0.74rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ql-tag {
	padding: 6px 10px;
	background: var(--ql-gold);
	color: var(--ql-gold-soft);
	font-weight: 700;
}

.ql-tag-sep { color: var(--ql-gold-soft); }

.ql-hero__lead {
	max-width: 560px;
	margin-bottom: 30px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 1.05rem;
	line-height: 1.65;
}

.ql-hero__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 36px;
}

.ql-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 18px clamp(24px, 4vw, 46px);
	padding-top: 24px;
	max-width: 560px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.ql-stats li { display: flex; flex-direction: column; }
.ql-stats strong {
	color: var(--ql-gold-soft);
	font-size: 1.6rem;
	font-weight: 800;
	line-height: 1.1;
}
.ql-stats span {
	margin-top: 4px;
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.78rem;
}

/* Quick quote card */
.ql-quote {
	padding: 26px;
	background: rgba(22, 36, 50, 0.82);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--ql-radius-lg);
	box-shadow: var(--ql-shadow-lg);
	color: #fff;
}

.ql-quote__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
	color: var(--ql-gold-soft);
}

.ql-quote__head h2 {
	margin: 0;
	color: #fff;
	font-size: 1.3rem;
}

/* ==========================================================================
   Forms
   ========================================================================== */
.ql-field { margin-bottom: 16px; }

.ql-field label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--ql-ink);
}

.ql-form input[type="text"],
.ql-form input[type="email"],
.ql-form input[type="tel"],
.ql-form input[type="datetime-local"],
.ql-form select,
.ql-form textarea {
	display: block;
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--ql-line);
	border-radius: var(--ql-radius);
	background: #fff;
	color: var(--ql-ink);
	font: 400 0.95rem/1.4 var(--ql-font);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.ql-form select {
	appearance: none;
	padding-right: 38px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235d6b7c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
}

.ql-form textarea { resize: vertical; min-height: 110px; }

.ql-form input::placeholder,
.ql-form textarea::placeholder { color: #8b97a6; }

.ql-form input:focus,
.ql-form select:focus,
.ql-form textarea:focus {
	outline: 0;
	border-color: var(--ql-teal);
	box-shadow: 0 0 0 3px rgba(0, 101, 144, 0.2);
}

.ql-form input[type="datetime-local"] {
	min-height: 47px;
	color-scheme: light;
}

.ql-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 16px;
}

/* Dark variant (inside hero) */
.ql-quote .ql-field label { color: rgba(255, 255, 255, 0.9); }
.ql-quote .ql-form input[type="text"],
.ql-quote .ql-form input[type="datetime-local"],
.ql-quote .ql-form select {
	background-color: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.12);
	color: #fff;
}
.ql-quote .ql-form input[type="datetime-local"] { color-scheme: dark; }
.ql-quote .ql-form select option { color: #0d1c2e; }
.ql-quote .ql-form input::placeholder { color: rgba(255, 255, 255, 0.45); }
.ql-quote .ql-form select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
.ql-quote .ql-form input:focus,
.ql-quote .ql-form select:focus {
	border-color: var(--ql-gold-soft);
	box-shadow: 0 0 0 3px rgba(252, 216, 141, 0.25);
}
.ql-quote .ql-btn { margin-top: 6px; padding-block: 15px; }

.ql-notice {
	margin-bottom: 16px;
	padding: 12px 14px;
	border-radius: var(--ql-radius);
	font-size: 0.9rem;
	font-weight: 500;
}
.ql-notice--success { background: #e3f5ea; color: #14532d; border: 1px solid #b6e3c6; }
.ql-notice--error { background: #fde8e8; color: #7f1d1d; border: 1px solid #f5bcbc; }

/* ==========================================================================
   Sections
   ========================================================================== */
.ql-section { padding-block: clamp(56px, 8vw, 96px); }
.ql-section--light { background: var(--ql-bg); }
.ql-section--tint { background: var(--ql-tint); }

.ql-eyebrow {
	display: block;
	margin-bottom: 10px;
	color: var(--ql-teal);
	font-family: var(--ql-mono);
	font-size: 0.74rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.ql-eyebrow--gold { color: var(--ql-gold-soft); }

.ql-section__head { margin-bottom: clamp(32px, 5vw, 52px); }
.ql-section__head h2 { margin-bottom: 0; }
.ql-section__head p { margin: 14px 0 0; color: var(--ql-muted); }

.ql-section__head--split {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
}
.ql-section__head--split p { max-width: 380px; margin: 0; }

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

.ql-grid { display: grid; gap: 24px; }
.ql-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ql-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.ql-card {
	margin: 0;
	padding: 28px;
	background: var(--ql-card);
	border: 1px solid rgba(13, 28, 46, 0.05);
	border-radius: var(--ql-radius-lg);
	box-shadow: var(--ql-shadow);
}

/* Services */
.ql-card--service { display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; }
.ql-card--service:hover { transform: translateY(-4px); box-shadow: var(--ql-shadow-lg); }
.ql-card--service p { flex: 1; color: var(--ql-muted); font-size: 0.92rem; }

.ql-card__icon {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: 20px;
	background: #dcecf7;
	border-radius: 4px;
	color: var(--ql-teal);
}

.ql-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--ql-teal);
	font-size: 0.85rem;
	font-weight: 700;
}
.ql-link:hover { text-decoration: none; gap: 10px; }
.ql-link .ql-icon { transition: transform 0.2s; }

/* Advantage */
.ql-advantage {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(32px, 6vw, 80px);
}

.ql-lead { color: var(--ql-text); font-size: 1.02rem; }

.ql-checklist { display: grid; gap: 22px; margin-top: 28px; }
.ql-checklist li { display: flex; gap: 16px; align-items: flex-start; }
.ql-checklist h3 { margin: 0 0 2px; font-size: 1.05rem; }
.ql-checklist p { margin: 0; color: var(--ql-muted); font-size: 0.9rem; }

.ql-check {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 28px;
	height: 28px;
	margin-top: 2px;
	background: var(--ql-gold);
	border-radius: 4px;
	color: #fff;
}

.ql-advantage__media {
	position: relative;
	margin: 0 0 40px;
}

.ql-advantage__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--ql-radius-lg);
	box-shadow: var(--ql-shadow-lg);
}

.ql-advantage__badge {
	position: absolute;
	left: -28px;
	bottom: -40px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	max-width: 300px;
	padding: 22px 24px;
	background: var(--ql-navy);
	border-radius: var(--ql-radius);
	box-shadow: var(--ql-shadow-lg);
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.85rem;
}
.ql-advantage__badge strong { color: #fff; font-size: 1.2rem; line-height: 1.2; }
.ql-advantage__badge .ql-eyebrow { margin-bottom: 4px; font-size: 0.68rem; }

/* Industries */
.ql-industry {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3.1;
	border-radius: var(--ql-radius-lg);
	background: var(--ql-navy);
	color: #fff;
	box-shadow: var(--ql-shadow);
}
.ql-industry:hover { text-decoration: none; color: #fff; }

.ql-industry img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.ql-industry:hover img { transform: scale(1.06); }

.ql-industry::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 31, 46, 0) 25%, rgba(15, 31, 46, 0.92) 100%);
}

.ql-industry__body {
	position: absolute;
	inset: auto 0 0 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 24px;
}
.ql-industry__body strong { font-size: 1.25rem; line-height: 1.2; }
.ql-industry__body > span:last-child { color: rgba(255, 255, 255, 0.85); font-size: 0.88rem; }
.ql-industry__icon { color: var(--ql-gold-soft); }

/* Steps */
.ql-card--step { padding: 26px 24px; }
.ql-step__num {
	display: block;
	margin-bottom: 14px;
	color: var(--ql-gold);
	font-family: var(--ql-mono);
	font-size: 2rem;
	font-weight: 700;
	line-height: 1;
}
.ql-card--step h3 { margin-bottom: 8px; }
.ql-card--step p { margin: 0; color: var(--ql-muted); font-size: 0.9rem; }

/* Testimonials */
.ql-card--quote { display: flex; flex-direction: column; gap: 16px; background: var(--ql-tint); box-shadow: none; }
.ql-stars { display: flex; gap: 2px; color: var(--ql-gold); }
.ql-stars .ql-icon { width: 18px; height: 18px; }
.ql-card--quote blockquote { margin: 0; flex: 1; color: var(--ql-text); font-size: 0.95rem; font-style: italic; }
.ql-card--quote figcaption { display: flex; flex-direction: column; }
.ql-card--quote figcaption strong { color: var(--ql-ink); font-size: 1rem; }
.ql-card--quote figcaption span { color: var(--ql-muted); font-size: 0.8rem; }

/* CTA band */
.ql-cta { background: var(--ql-teal); color: #fff; }
.ql-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding-block: clamp(40px, 6vw, 64px);
}
.ql-cta h2 { margin-bottom: 8px; color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.ql-cta p { max-width: 520px; margin: 0; color: rgba(255, 255, 255, 0.85); }
.ql-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; flex: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.ql-footer { background: var(--ql-navy); color: rgba(255, 255, 255, 0.75); }

.ql-footer__grid {
	display: grid;
	grid-template-columns: 1.3fr 1.4fr 1fr 0.8fr;
	gap: 40px;
	padding-block: 56px 40px;
}

.ql-footer h3 {
	margin-bottom: 18px;
	color: #fff;
	font-size: 1.05rem;
}

.ql-footer a { color: rgba(255, 255, 255, 0.78); }
.ql-footer a:hover { color: #fff; }

.ql-footer__brand {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 14px;
	color: #fff !important;
	font-size: 1.3rem;
	font-weight: 800;
}
.ql-footer__brand:hover { text-decoration: none; }
.ql-footer__logo { display: block; padding: 10px 14px; background: #fff; border-radius: 4px; line-height: 0; }
.ql-footer__logo img { height: 36px; width: auto; }

.ql-footer__about p { max-width: 280px; font-size: 0.88rem; }

.ql-footer__list { display: grid; gap: 10px; font-size: 0.88rem; }
.ql-footer__list li { overflow-wrap: anywhere; }

.ql-footer__contact a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.ql-footer__contact .ql-icon {
	flex: none;
	color: var(--ql-gold-soft);
	opacity: 0.95;
}
.ql-footer__contact a:hover .ql-icon { color: #fff; }

.ql-social { display: flex; gap: 16px; }
.ql-social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); transition: background-color 0.2s; }
.ql-social a:hover { background: var(--ql-teal); text-decoration: none; }

.ql-footer__bottom {
	padding-block: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	text-align: center;
	font-size: 0.8rem;
}
.ql-footer__bottom p { margin: 0; }
.ql-footer__credit { margin-top: 8px; color: rgba(255, 255, 255, 0.55); }
.ql-footer__credit a { color: var(--ql-gold-soft); }
.ql-footer__credit a:hover { color: #fff; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.ql-pagehead {
	padding-block: clamp(44px, 7vw, 80px);
	background:
		linear-gradient(90deg, rgba(15, 31, 46, 0.95), rgba(15, 31, 46, 0.82)),
		url("assets/images/hero-truck.jpg") center / cover no-repeat,
		var(--ql-navy);
	color: #fff;
}
.ql-pagehead h1 { margin: 0; color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); }

.ql-content { color: var(--ql-text); }
.ql-content h2 { margin-top: 1.6em; }
.ql-content h2:first-child { margin-top: 0; }
.ql-content ul { margin: 0 0 1.2em; padding-left: 1.2em; list-style: disc; }
.ql-content li { margin-bottom: 0.4em; }
.ql-content img { border-radius: var(--ql-radius-lg); }
.ql-content .wp-block-button__link { background: var(--ql-teal); border-radius: var(--ql-radius); }

.ql-split {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	align-items: start;
	gap: clamp(28px, 5vw, 64px);
}

.ql-panel {
	padding: clamp(22px, 3.5vw, 36px);
	background: #fff;
	border: 1px solid rgba(13, 28, 46, 0.06);
	border-radius: var(--ql-radius-lg);
	box-shadow: var(--ql-shadow);
}
.ql-panel h2 { font-size: 1.5rem; }

.ql-contact-list { display: grid; gap: 14px; margin-top: 24px; padding: 0 !important; list-style: none !important; }
.ql-contact-list li { display: flex; align-items: center; gap: 12px; margin: 0; }
.ql-contact-list .ql-icon { color: var(--ql-teal); }

.ql-post { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--ql-line); }
.ql-meta { color: var(--ql-muted); font-size: 0.85rem; }

.ql-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 24px 0; }

.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.nav-links .page-numbers { padding: 6px 12px; border: 1px solid var(--ql-line); border-radius: var(--ql-radius); background: #fff; }
.nav-links .current { background: var(--ql-teal); border-color: var(--ql-teal); color: #fff; }

/* WordPress core alignment helpers */
.alignleft { float: left; margin: 0 1.2em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.2em; }
.aligncenter { margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

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

/* Large tablets / small laptops */
@media (max-width: 1100px) {
	.ql-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ql-footer__grid { grid-template-columns: 1fr 1fr; }
	.ql-nav { gap: 18px; }
	.ql-menu { gap: 2px; }
}

/* Tablet: collapse navigation, stack hero */
@media (max-width: 960px) {
	:root { --ql-header-h: 64px; }

	.ql-nav-toggle { display: inline-grid; }

	.ql-brand__mark img,
	.ql-brand .custom-logo { height: 42px; }
	.ql-brand__name { font-size: 1.15rem; }

	/* The header has backdrop-filter, which makes it the containing block for
	   positioned descendants, so the panel is positioned against the header. */
	.ql-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		z-index: 99;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
		max-height: calc(100vh - var(--ql-header-h));
		max-height: calc(100dvh - var(--ql-header-h));
		padding: 20px var(--ql-gutter) 32px;
		overflow-y: auto;
		background: #f4f7fc;
		border-bottom: 1px solid var(--ql-line);
		box-shadow: 0 18px 30px rgba(13, 28, 46, 0.15);
	}

	.is-open .ql-nav { display: flex; }

	.ql-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
	}

	.ql-menu a {
		padding: 14px 12px;
		border-bottom: 1px solid var(--ql-line);
		font-size: 1.05rem;
		border-radius: 0;
	}

	.ql-menu .sub-menu {
		position: static;
		display: block;
		box-shadow: none;
		padding: 0 0 0 14px;
		background: transparent;
	}

	.ql-nav__actions { flex-direction: row-reverse; justify-content: space-between; }
	.ql-nav__actions .ql-btn { flex: 1; padding-block: 14px; }

	.ql-hero { min-height: 0; padding-block: 56px; }
	.ql-hero__inner { grid-template-columns: 1fr; }
	.ql-hero__lead { max-width: none; }
	.ql-stats { max-width: none; }

	.ql-section__head--split { flex-direction: column; align-items: flex-start; gap: 14px; }
	.ql-section__head--split p { max-width: 560px; }

	.ql-advantage { grid-template-columns: 1fr; }
	.ql-advantage__media { margin-bottom: 48px; }
	.ql-advantage__badge { left: 16px; }

	.ql-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ql-grid--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
	.ql-grid--3 > .ql-industry:last-child:nth-child(odd) { aspect-ratio: 16 / 7; }

	.ql-cta__inner { flex-direction: column; align-items: flex-start; }
	.ql-split { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 640px) {
	body { font-size: 15.5px; }

	.ql-hero { padding-block: 44px 48px; }
	.ql-hero__tag { font-size: 0.68rem; }
	.ql-hero__buttons { flex-direction: column; }
	.ql-hero__buttons .ql-btn { width: 100%; }

	.ql-stats { gap: 16px 28px; }
	.ql-stats strong { font-size: 1.4rem; }

	.ql-quote { padding: 20px; }

	.ql-grid,
	.ql-grid--3,
	.ql-grid--4 { grid-template-columns: 1fr; gap: 18px; }
	.ql-grid--3 > .ql-industry:last-child:nth-child(odd) { aspect-ratio: 4 / 3.1; }

	.ql-card { padding: 22px; }
	.ql-section__head--center { text-align: left; }

	.ql-industry { aspect-ratio: 4 / 3; }

	.ql-advantage__badge { position: relative; left: auto; bottom: auto; max-width: none; margin: -28px 16px 0; }
	.ql-advantage__media { margin-bottom: 0; }

	.ql-cta__actions { width: 100%; flex-direction: column; }
	.ql-cta__actions .ql-btn { width: 100%; }

	.ql-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-block: 44px 32px; }

	.ql-form__row { grid-template-columns: 1fr; }
	.ql-card-grid { grid-template-columns: 1fr; }
}

/* Small phones */
@media (max-width: 380px) {
	.ql-brand { gap: 10px; }
	.ql-brand__name { font-size: 1rem; }
	.ql-brand__mark img,
	.ql-brand .custom-logo { height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* ==========================================================================
   About Us page
   ========================================================================== */
.ql-btn--light { background: #fff; color: var(--ql-ink); border-color: var(--ql-line); }
.ql-btn--light:hover { background: #f1f5fb; color: var(--ql-ink); border-color: #c7d3e3; }

.ql-eyebrow--light { color: rgba(255, 255, 255, 0.85); margin-bottom: 4px; font-size: 0.68rem; }
.ql-section--tight { padding-block: clamp(32px, 5vw, 56px); }

.ql-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 22px;
	padding: 7px 14px;
	border: 1px solid rgba(124, 196, 240, 0.25);
	border-radius: 999px;
	background: rgba(124, 196, 240, 0.12);
	color: #9fd6f5;
	font-family: var(--ql-mono);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.04em;
}
.ql-badge--gold {
	border-color: rgba(252, 216, 141, 0.25);
	background: rgba(252, 216, 141, 0.1);
	color: var(--ql-gold-soft);
}

/* Hero */
.ql-about-hero {
	padding-block: clamp(48px, 7vw, 88px);
	background: linear-gradient(110deg, #14283a 0%, #162f42 55%, #0f3d57 100%);
	color: #fff;
}
.ql-about-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
	align-items: center;
	gap: clamp(32px, 6vw, 80px);
}
.ql-about-hero h1 { margin-bottom: 0.5em; color: #fff; font-size: clamp(2rem, 4.6vw, 3.1rem); }
.ql-about-hero__text > p { max-width: 560px; margin-bottom: 30px; color: rgba(255, 255, 255, 0.82); }
.ql-about-hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; }

.ql-about-hero__media {
	position: relative;
	margin: 0;
	overflow: hidden;
	border: 5px solid rgba(232, 242, 252, 0.92);
	border-radius: 10px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 24px 50px rgba(0, 0, 0, 0.45);
}
.ql-about-hero__media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.ql-about-hero__media figcaption {
	position: absolute;
	inset: auto 16px 16px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 18px;
	background: rgba(15, 31, 46, 0.82);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-radius: 4px;
	color: var(--ql-gold-soft);
}
.ql-about-hero__media figcaption strong { display: block; color: #fff; font-size: 1.1rem; }

/* Heritage */
.ql-heritage {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(32px, 6vw, 80px);
}
.ql-heritage h2 { max-width: 560px; }

.ql-statboxes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.ql-statbox { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--ql-tint); border-radius: var(--ql-radius-lg); }
.ql-statbox span { color: var(--ql-muted); font-size: 0.78rem; line-height: 1.45; }
.ql-statbox__num { font-family: var(--ql-mono); font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 700; line-height: 1.1; }
.ql-statbox__num--teal { color: var(--ql-teal); }
.ql-statbox__num--gold { color: var(--ql-gold); }

.ql-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ql-collage__col { display: grid; align-content: start; gap: 14px; }
.ql-collage__col--offset { margin-top: 20px; }
.ql-collage__img {
	width: 100%;
	object-fit: cover;
	border-radius: 6px;
	box-shadow: var(--ql-shadow);
}
.ql-collage__img--a { aspect-ratio: 8 / 7; }
.ql-collage__img--b { aspect-ratio: 3 / 2; }
.ql-collage__img--c { aspect-ratio: 3 / 2; }
.ql-collage__img--d { aspect-ratio: 9 / 8; object-position: top; }

/* Pillars */
.ql-card--pillar { display: flex; flex-direction: column; padding: 30px; }
.ql-card--pillar p { flex: 1; color: var(--ql-muted); font-size: 0.9rem; }
.ql-card__icon--blue { background: #dcecf7; color: var(--ql-teal); }
.ql-card__icon--gold { background: #efe7d6; color: var(--ql-gold); }
.ql-card__icon--sky { background: #dcecf7; color: var(--ql-ink); }
.ql-pillar__foot {
	margin-top: 8px;
	padding-top: 16px;
	border-top: 1px solid var(--ql-line);
	font-family: var(--ql-mono);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.ql-pillar__foot--blue { color: var(--ql-teal); }
.ql-pillar__foot--gold { color: var(--ql-gold); }
.ql-pillar__foot--sky { color: #3a8fc4; }

/* Fleet */
.ql-fleet {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(32px, 6vw, 80px);
}
.ql-check--teal { background: var(--ql-teal); }

.ql-fleetcard {
	padding: clamp(22px, 3.4vw, 34px);
	background: linear-gradient(135deg, #14283a 0%, #0f2e44 100%);
	border-radius: var(--ql-radius-lg);
	box-shadow: var(--ql-shadow-lg);
	color: rgba(255, 255, 255, 0.85);
}
.ql-fleetcard h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 26px;
	color: #fff;
	font-size: clamp(1.15rem, 2.4vw, 1.5rem);
}
.ql-fleetcard h3 .ql-icon { color: var(--ql-gold-soft); }

.ql-bar { margin-bottom: 20px; }
.ql-bar__label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: 0.8rem; }
.ql-bar__label strong { flex: none; color: #fff; }
.ql-bar__track { height: 6px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, 0.15); }
.ql-bar__fill { display: block; height: 100%; border-radius: 999px; }
.ql-bar__fill--blue { background: #3a9bdc; }
.ql-bar__fill--gold { background: var(--ql-gold-soft); }

.ql-fleetcard__foot {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 26px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.78rem;
}
.ql-fleetcard__foot strong { color: #fff; font-family: var(--ql-mono); font-weight: 500; }

/* Team */
.ql-team {
	overflow: hidden;
	background: var(--ql-bg);
	border: 1px solid rgba(13, 28, 46, 0.05);
	border-radius: var(--ql-radius-lg);
	box-shadow: var(--ql-shadow);
}
.ql-team img { width: 100%; aspect-ratio: 27 / 20; object-fit: cover; object-position: top; }
.ql-team__body { padding: 22px 24px 26px; }
.ql-team__body h3 { margin-bottom: 4px; font-size: 1.15rem; }
.ql-team__role { display: block; margin-bottom: 12px; color: var(--ql-teal); font-family: var(--ql-mono); font-size: 0.78rem; font-weight: 500; }
.ql-team__body p { margin: 0; color: var(--ql-muted); font-size: 0.88rem; }

/* Accreditations */
.ql-accred {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(24px, 5vw, 64px);
	padding: clamp(28px, 5vw, 56px) clamp(22px, 4vw, 34px);
	background: linear-gradient(135deg, #14283a 0%, #1b3144 100%);
	border-radius: 14px;
	color: rgba(255, 255, 255, 0.82);
}
.ql-accred h2 { color: #fff; font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
.ql-accred__text { padding-left: clamp(0px, 2vw, 18px); }
.ql-accred__text p { margin: 0; max-width: 520px; font-size: 0.92rem; }
.ql-accred__cards { display: grid; gap: 14px; }
.ql-accred__card {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: var(--ql-radius);
	color: var(--ql-gold-soft);
}
.ql-accred__card div { display: flex; flex-direction: column; }
.ql-accred__card strong { color: #fff; font-size: 1.1rem; line-height: 1.25; }
.ql-accred__card span { color: rgba(255, 255, 255, 0.7); font-size: 0.78rem; }

/* Closing CTA */
.ql-aboutcta { text-align: center; }
.ql-aboutcta h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
.ql-aboutcta p { max-width: 520px; margin: 0 auto 28px; color: var(--ql-text); }
.ql-aboutcta__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* About - responsive */
@media (max-width: 960px) {
	.ql-about-hero__inner,
	.ql-heritage,
	.ql-fleet,
	.ql-accred { grid-template-columns: 1fr; }

	.ql-about-hero__text > p { max-width: none; }
	.ql-heritage h2 { max-width: none; }
	.ql-collage { max-width: 100%; }
	.ql-accred__text { padding-left: 0; }
}

@media (max-width: 640px) {
	.ql-about-hero__buttons { flex-direction: column; }
	.ql-about-hero__buttons .ql-btn { width: 100%; }
	.ql-about-hero__media figcaption { inset: auto 10px 10px 10px; padding: 12px 14px; }

	.ql-statboxes { grid-template-columns: 1fr; }
	.ql-collage { gap: 10px; }
	.ql-collage__col { gap: 10px; }
	.ql-collage__col--offset { margin-top: 14px; }

	.ql-card--pillar { padding: 24px; }
	.ql-bar__label { flex-direction: column; gap: 2px; }
	.ql-fleetcard__foot { flex-direction: column; gap: 4px; }
	.ql-accred { border-radius: 10px; }
	.ql-aboutcta__buttons { flex-direction: column; }
	.ql-aboutcta__buttons .ql-btn { width: 100%; }
}

/* ==========================================================================
   Services page
   ========================================================================== */
:root { --ql-sky: #3f98cc; }

.ql-btn--dark { background: var(--ql-navy); color: #fff; }
.ql-btn--dark:hover { background: var(--ql-teal); color: #fff; }

.ql-eyebrow--sans {
	font-family: var(--ql-font);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.ql-section__head--tight { margin-bottom: clamp(24px, 4vw, 40px); }
.ql-section__head--tight h2 { max-width: 780px; }

.ql-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 6px;
	background: #d7e9f8;
	color: #1c4e72;
	font-size: 0.8rem;
	font-weight: 500;
	white-space: nowrap;
}

/* Hero */
.ql-svc-hero {
	padding-block: clamp(48px, 7vw, 84px);
	background-color: var(--ql-navy);
	background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 22px 22px;
	color: #fff;
}
.ql-svc-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(28px, 5vw, 64px);
}
.ql-svc-hero h1 { max-width: 620px; margin-bottom: 0.5em; color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); }
.ql-svc-hero__text > p { max-width: 560px; margin-bottom: 30px; color: rgba(255, 255, 255, 0.82); }

.ql-svc-hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ql-svc-stat {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 24px 22px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.04);
	border-radius: var(--ql-radius-lg);
}
.ql-svc-stat strong { font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 800; line-height: 1; }
.ql-svc-stat span { color: rgba(255, 255, 255, 0.78); font-size: 0.78rem; }

/* Grid */
.ql-svc-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	align-items: stretch;
}

.ql-service {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #edf3fc;
	border: 1px solid rgba(13, 28, 46, 0.04);
	border-radius: var(--ql-radius-lg);
	box-shadow: var(--ql-shadow);
	transition: transform 0.2s, box-shadow 0.2s;
}
.ql-service:hover { transform: translateY(-4px); box-shadow: var(--ql-shadow-lg); }

.ql-service__media { position: relative; overflow: hidden; }
.ql-service__media img {
	width: 100%;
	aspect-ratio: 2 / 1;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.ql-service:hover .ql-service__media img { transform: scale(1.05); }

.ql-service__badge {
	position: absolute;
	top: 12px;
	right: 12px;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	background: rgba(21, 40, 58, 0.88);
	border-radius: 6px;
	color: #fff;
}

.ql-service__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.ql-service__cat {
	margin-bottom: 8px;
	color: var(--ql-teal);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.ql-service__body h3 { margin-bottom: 8px; font-size: 1.2rem; }
.ql-service__body p { flex: 1; margin-bottom: 20px; color: var(--ql-text); font-size: 0.88rem; }
.ql-service__btn { padding-block: 14px; border-radius: 3px; font-size: 0.85rem; }
.ql-service:hover .ql-service__btn { background: var(--ql-teal); }

/* CTA band */
.ql-svc-cta { background: var(--ql-sky); color: #fff; }
.ql-svc-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding-block: clamp(32px, 5vw, 48px);
}
.ql-svc-cta h2 { margin-bottom: 4px; color: #fff; font-size: clamp(1.4rem, 3vw, 1.8rem); }
.ql-svc-cta p { margin: 0; color: rgba(255, 255, 255, 0.88); font-size: 0.92rem; }
.ql-svc-cta .ql-btn { flex: none; }

/* Services - responsive */
@media (max-width: 960px) {
	.ql-svc-hero__inner { grid-template-columns: 1fr; }
	.ql-svc-hero h1,
	.ql-svc-hero__text > p { max-width: none; }
	.ql-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ql-pill { white-space: normal; }
	.ql-svc-cta__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
	.ql-svc-grid { grid-template-columns: 1fr; gap: 18px; }
	.ql-svc-hero__stats { gap: 12px; }
	.ql-svc-stat { padding: 18px 16px; }
	.ql-svc-hero .ql-btn { width: 100%; }
	.ql-svc-cta .ql-btn { width: 100%; }
}

/* ==========================================================================
   Contact Us page
   ========================================================================== */
.ql-ct-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ql-ct-hero .ql-svc-hero__text > p { margin-bottom: 28px; }

.ql-ct-split { align-items: start; }
.ql-ct-info h2 { max-width: 520px; margin-bottom: 0.4em; font-size: clamp(1.7rem, 3.4vw, 2.2rem); }
.ql-ct-info__intro { margin-bottom: 8px; color: var(--ql-muted); }

.ql-ct-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 26px;
}
.ql-ct-card {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid rgba(13, 28, 46, 0.07);
	border-radius: var(--ql-radius-lg);
	box-shadow: 0 1px 2px rgba(13, 28, 46, 0.04);
	color: var(--ql-ink);
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
a.ql-ct-card:hover {
	transform: translateY(-2px);
	border-color: rgba(0, 101, 144, 0.35);
	box-shadow: var(--ql-shadow);
	color: var(--ql-ink);
}
.ql-ct-card--wide { grid-column: 1 / -1; }
.ql-ct-card__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 46px;
	height: 46px;
	background: var(--ql-tint);
	border-radius: 12px;
	color: var(--ql-teal);
}
.ql-ct-card__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ql-ct-card__text small {
	color: var(--ql-muted);
	font-family: var(--ql-mono);
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.ql-ct-card__text strong { font-size: 0.98rem; font-weight: 700; overflow-wrap: anywhere; }

.ql-ct-panel { border-top: 4px solid var(--ql-teal); }
.ql-ct-panel h2 { margin-bottom: 6px; }
.ql-ct-panel__lead { margin: 0 0 22px; color: var(--ql-muted); font-size: 0.92rem; }
.ql-form__note { margin: 12px 0 0; color: var(--ql-muted); font-size: 0.78rem; text-align: center; }

/* FAQ */
.ql-ct-faq__head { max-width: 640px; margin-inline: auto; text-align: center; }
.ql-faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.ql-faq__item {
	background: #fff;
	border: 1px solid rgba(13, 28, 46, 0.07);
	border-radius: var(--ql-radius-lg);
	overflow: hidden;
}
.ql-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}
.ql-faq__item summary::-webkit-details-marker { display: none; }
.ql-faq__item summary .ql-icon { flex: none; color: var(--ql-teal); transition: transform 0.2s ease; }
.ql-faq__item[open] summary .ql-icon { transform: rotate(180deg); }
.ql-faq__item p { margin: 0; padding: 0 22px 20px; color: var(--ql-muted); }

@media (max-width: 960px) {
	.ql-ct-info h2 { max-width: none; }
}
@media (max-width: 640px) {
	.ql-ct-cards { grid-template-columns: 1fr; }
	.ql-ct-card--wide { grid-column: auto; }
	.ql-ct-hero__actions .ql-btn { width: 100%; }
	.ql-faq__item summary { padding: 16px 18px; }
	.ql-faq__item p { padding: 0 18px 18px; }
}

/* ==========================================================================
   Motion & animation
   ========================================================================== */
:root {
	--ql-blue: #429bcb;
	--ql-cursor-gold: #e9b94f;
	--ql-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Hero staggered entrance (fadeInUp cascade) */
@keyframes ql-fade-in-up {
	from { opacity: 0; transform: translateY(24px); }
	to   { opacity: 1; transform: translateY(0); }
}

.ql-hero__tag,
.ql-hero h1,
.ql-hero__lead,
.ql-hero__buttons,
.ql-hero .ql-quote,
.ql-svc-hero__text > *,
.ql-about-hero__text > *,
.ql-pagehead .ql-container > * {
	animation: ql-fade-in-up 0.8s var(--ql-ease) both;
}
.ql-hero__tag { animation-delay: 0.10s; }
.ql-hero h1 { animation-delay: 0.25s; }
.ql-hero__lead { animation-delay: 0.40s; }
.ql-hero__buttons { animation-delay: 0.55s; }
.ql-hero .ql-quote { animation-delay: 0.45s; }
.ql-svc-hero__text > :nth-child(1),
.ql-about-hero__text > :nth-child(1),
.ql-pagehead .ql-container > :nth-child(1) { animation-delay: 0.10s; }
.ql-svc-hero__text > :nth-child(2),
.ql-about-hero__text > :nth-child(2),
.ql-pagehead .ql-container > :nth-child(2) { animation-delay: 0.25s; }
.ql-svc-hero__text > :nth-child(3),
.ql-about-hero__text > :nth-child(3) { animation-delay: 0.40s; }
.ql-svc-hero__text > :nth-child(4),
.ql-about-hero__text > :nth-child(4) { animation-delay: 0.55s; }
.ql-svc-hero__stats { animation: ql-fade-in-up 0.8s var(--ql-ease) 0.45s both; }

/* Card transitions */
.ql-card--service,
.ql-service,
.ql-card--pillar,
.ql-team,
.ql-card--step,
.ql-card--quote {
	transition: transform 0.3s var(--ql-ease), box-shadow 0.3s var(--ql-ease), border-color 0.3s ease;
}
.ql-card__icon,
.ql-service__badge,
.ql-ct-card__icon { transition: transform 0.3s var(--ql-ease), background-color 0.3s ease; }
.ql-industry::after { transition: opacity 0.4s ease; }
.ql-industry img { transition: transform 0.6s var(--ql-ease); }

/* Buttons: tactile press (works on touch too) */
.ql-btn { transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ql-ease), box-shadow 0.25s ease; }
.ql-btn:active { transform: scale(0.98); box-shadow: none; }

/* Hover effects only where hover exists */
@media (hover: hover) {
	/* Service & capability cards */
	.ql-card--service:hover,
	.ql-service:hover,
	.ql-card--pillar:hover,
	.ql-team:hover {
		transform: translateY(-6px);
		border-color: var(--ql-blue);
		box-shadow: var(--ql-shadow-lg);
	}
	.ql-card--service:hover .ql-card__icon,
	.ql-card--pillar:hover .ql-card__icon,
	.ql-service:hover .ql-service__badge { transform: scale(1.12); }
	a.ql-ct-card:hover .ql-ct-card__icon { transform: scale(1.1); }

	/* Industry showcase: zoom + brighter overlay */
	.ql-industry:hover img { transform: scale(1.05); }
	.ql-industry:hover::after { opacity: 0.72; }

	/* Process workflow & testimonials */
	.ql-card--step:hover,
	.ql-card--quote:hover {
		transform: translateY(-4px);
		box-shadow: 0 18px 38px -14px rgba(13, 28, 46, 0.22);
	}

	/* Button hover glow */
	.ql-btn:hover { transform: translateY(-2px); }
	.ql-btn:active { transform: scale(0.98); }
	.ql-btn--gold:hover { box-shadow: 0 8px 22px rgba(233, 185, 79, 0.45); }
	.ql-btn--teal:hover,
	.ql-btn--primary:hover { box-shadow: 0 8px 22px rgba(66, 155, 203, 0.45); }
	.ql-btn--dark:hover { box-shadow: 0 8px 22px rgba(21, 40, 58, 0.35); }
	.ql-btn--outline:hover,
	.ql-btn--light:hover { box-shadow: 0 8px 22px rgba(255, 255, 255, 0.22); }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
	.ql-card--service:hover,
	.ql-service:hover,
	.ql-card--pillar:hover,
	.ql-team:hover,
	.ql-card--step:hover,
	.ql-card--quote:hover,
	.ql-btn:hover,
	.ql-industry:hover img { transform: none; }
}

/* ==========================================================================
   Custom brand cursor (enabled by cursor.js on fine-pointer devices only)
   ========================================================================== */
.custom-cursor {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99999;
	border-radius: 50%;
	pointer-events: none;
	opacity: 0;
	will-change: transform;
}
.ql-cursor-dot {
	width: 8px;
	height: 8px;
	background: var(--ql-cursor-gold);
	scale: 1;
	transition: scale 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}
.ql-cursor-ring {
	width: 36px;
	height: 36px;
	border: 1.5px solid rgba(66, 155, 203, 0.65);
	background: transparent;
	transition: width 0.25s var(--ql-ease), height 0.25s var(--ql-ease), background-color 0.25s ease, border-color 0.25s ease, opacity 0.2s ease;
}
.custom-cursor.is-visible { opacity: 1; }

.ql-cursor-dot.is-hover { scale: 1.4; background: var(--ql-blue); }
.ql-cursor-ring.is-hover {
	width: 56px;
	height: 56px;
	background: rgba(233, 185, 79, 0.08);
	border-color: rgba(233, 185, 79, 0.9);
}
.ql-cursor-ring.is-pressed { width: 30px; height: 30px; }

/* Hide the native pointer only while the custom cursor is active; keep the I-beam for text entry */
html.ql-has-cursor,
html.ql-has-cursor * { cursor: none !important; }
html.ql-has-cursor textarea,
html.ql-has-cursor input[type="text"],
html.ql-has-cursor input[type="email"],
html.ql-has-cursor input[type="tel"] { cursor: text !important; }

@media (pointer: coarse) {
	.custom-cursor { display: none; }
}
