/* ==========================================================================
   Global Tech Solutions — Design System
   1.  Tokens
   2.  Reset & base
   3.  Layout primitives
   4.  Typography
   5.  Buttons & links
   6.  Header & navigation
   7.  Hero
   8.  Sections & components
   9.  Forms
   10. CTA band
   11. Footer
   12. Animations
   13. Responsive
   ========================================================================== */

/* 1. TOKENS ================================================================ */
:root {
	/* Brand */
	--navy:            #071a36;
	--navy-deep:       #06142b;
	--navy-mid:        #0a2548;
	--navy-soft:       #0e2a4f;
	--blue:            #0866d9;
	--blue-dark:       #0a4fb0;
	--blue-bright:     #2f8cff;
	--blue-tint:       #e8f1fe;

	/* Neutrals */
	--white:           #ffffff;
	--bg-soft:         #f4f7fb;
	--bg-softer:       #fafbfd;
	--line:            #e4eaf2;
	--line-strong:     #d3dced;
	--text:            #182538;
	--text-muted:      #667085;
	--text-invert:     #ffffff;
	--text-invert-mut: #a9bedb;

	/* Type */
	--font-head: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

	/* Scale (fluid) */
	--fs-display: clamp(2.3rem, 1.5rem + 2.7vw, 3.5rem);
	--fs-h1:      clamp(2.05rem, 1.35rem + 2.6vw, 3.25rem);
	--fs-h2:      clamp(1.72rem, 1.25rem + 1.9vw, 2.6rem);
	--fs-h3:      clamp(1.22rem, 1.06rem + 0.6vw, 1.5rem);
	--fs-h4:      clamp(1.06rem, 1rem + 0.3vw, 1.18rem);
	--fs-lead:    clamp(1.05rem, 0.99rem + 0.35vw, 1.22rem);
	--fs-body:    1rem;
	--fs-sm:      0.9375rem;
	--fs-xs:      0.8125rem;

	/* Space */
	--sp-section:  clamp(3.1rem, 2.2rem + 3.3vw, 5.1rem);
	--sp-section-sm: clamp(2.3rem, 1.8rem + 2vw, 3.5rem);
	--gutter:      clamp(1.25rem, 0.85rem + 1.6vw, 2.25rem);
	--container:   1200px;
	--container-narrow: 880px;

	/* Shape */
	--r-sm: 8px;
	--r-md: 14px;
	--r-lg: 20px;
	--r-xl: 28px;
	--r-pill: 999px;

	/* Elevation — restrained */
	--sh-xs: 0 1px 2px rgba(7, 26, 54, .05);
	--sh-sm: 0 2px 10px rgba(7, 26, 54, .05);
	--sh-md: 0 10px 30px rgba(7, 26, 54, .07);
	--sh-lg: 0 20px 50px rgba(7, 26, 54, .11);
	--sh-blue: 0 12px 28px rgba(8, 102, 217, .22);

	--ease: cubic-bezier(.4, 0, .2, 1);
	--header-h: 84px;
}

/* 2. RESET & BASE ========================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--fs-body);
	line-height: 1.7;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }

a { color: var(--blue); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--blue-dark); }

:focus-visible {
	outline: 3px solid var(--blue-bright);
	outline-offset: 3px;
	border-radius: 4px;
}

::selection { background: var(--blue); color: #fff; }

/* Visually hidden, still read by assistive technology. */
.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	background: #fff;
	clip-path: none;
	color: var(--blue);
	display: block;
	font-size: .875rem;
	font-weight: 600;
	height: auto;
	left: 1rem;
	top: 1rem;
	padding: .9rem 1.4rem;
	width: auto;
	z-index: 100000;
	border-radius: 8px;
	box-shadow: var(--sh-lg);
}

/* 3. LAYOUT ================================================================ */
.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--sp-section); position: relative; }
.section--sm { padding-block: var(--sp-section-sm); }
.section--tight-top { padding-top: 0; }
.section--soft { background: var(--bg-soft); }
.section--softer { background: var(--bg-softer); }
.section--navy { background: var(--navy); color: var(--text-invert); }
.section--navy .section-head__title,
.section--navy h2, .section--navy h3 { color: var(--text-invert); }
.section--navy .section-head__text,
.section--navy p { color: var(--text-invert-mut); }

.grid { display: grid; gap: clamp(1rem, .85rem + .8vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* 4. TYPOGRAPHY ============================================================ */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	color: var(--text);
	line-height: 1.16;
	letter-spacing: -0.021em;
	margin: 0 0 .5em;
	font-weight: 700;
	text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.014em; }
h4 { font-size: var(--fs-h4); letter-spacing: -0.01em; }

p { margin: 0 0 .95rem; }
p:last-child { margin-bottom: 0; }

.lead {
	font-size: var(--fs-lead);
	line-height: 1.68;
	color: var(--text-muted);
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-family: var(--font-head);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--blue);
	margin-bottom: .7rem;
}
.eyebrow::before {
	content: "";
	align-self: flex-start;
	margin-top: .62em;
	width: 22px;
	height: 2px;
	background: var(--blue-bright);
	border-radius: 2px;
	flex: none;
}
.section--navy .eyebrow,
.cta-band .eyebrow { color: var(--blue-bright); }
.section--navy .eyebrow::before { background: var(--blue-bright); }
.cta-band .eyebrow { color: rgba(255,255,255,.9); }
.cta-band .eyebrow::before { background: rgba(255,255,255,.65); }

.section-head { max-width: 720px; margin-bottom: clamp(1.6rem, 1.3rem + 1.1vw, 2.4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head__title { margin-bottom: .55rem; }
.section-head__text { color: var(--text-muted); font-size: var(--fs-lead); line-height: 1.68; }

.section-head--split {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
	max-width: none;
}
.section-head--split .section-head__inner { max-width: 640px; }

.text-muted { color: var(--text-muted); }
.prose > * + * { margin-top: 1.1rem; }
.prose ul, .prose ol { padding-left: 1.3rem; color: var(--text-muted); }
.prose li { margin-bottom: .5rem; }

/* 5. BUTTONS =============================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .6rem;
	font-family: var(--font-head);
	font-size: .975rem;
	font-weight: 600;
	letter-spacing: -0.005em;
	line-height: 1;
	padding: 1.02rem 1.75rem;
	border-radius: var(--r-pill);
	border: 1.5px solid transparent;
	cursor: pointer;
	text-align: center;
	transition: background-color .25s var(--ease), color .25s var(--ease),
	            border-color .25s var(--ease), transform .25s var(--ease),
	            box-shadow .25s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
	background: var(--blue);
	color: #fff;
	box-shadow: var(--sh-blue);
}
.btn--primary:hover {
	background: var(--blue-dark);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 16px 34px color-mix(in srgb, var(--blue) 28%, transparent);
}

.btn--ghost {
	background: transparent;
	color: var(--text);
	border-color: var(--line-strong);
}
.btn--ghost:hover {
	border-color: var(--blue);
	color: var(--blue);
	background: var(--blue-tint);
	transform: translateY(-2px);
}

.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--blue-tint); color: var(--navy); transform: translateY(-2px); }

.btn--outline-light {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, .42);
}
.btn--outline-light:hover {
	background: rgba(255, 255, 255, .12);
	border-color: rgba(255, 255, 255, .8);
	color: #fff;
	transform: translateY(-2px);
}

.btn--sm { padding: .78rem 1.3rem; font-size: .9rem; }
.btn--full { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: .94rem;
	color: var(--blue);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* 6. HEADER =============================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 900;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-stuck {
	border-bottom-color: var(--line);
	box-shadow: 0 4px 24px rgba(7, 26, 54, .06);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: var(--header-h);
}

/* Brand lockup */
.brand { display: inline-flex; align-items: center; gap: .7rem; min-width: 0; }
.brand__mark { width: 46px; height: 46px; border-radius: 50%; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.08; min-width: 0; }
.brand__name {
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 1.025rem;
	letter-spacing: -0.018em;
	color: var(--navy);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.brand__tag {
	font-size: .645rem;
	letter-spacing: .15em;
	text-transform: uppercase;
	color: var(--text-muted);
	font-weight: 600;
	white-space: nowrap;
}
.site-footer .brand__name { color: #fff; }
.site-footer .brand__tag { color: var(--text-invert-mut); }

/* Primary nav */
.nav-primary { margin-left: auto; }
.nav-primary ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.nav-primary li { position: relative; }
.nav-primary > ul > li > a {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	font-family: var(--font-head);
	font-size: .945rem;
	font-weight: 500;
	color: var(--text);
	padding: .7rem .82rem;
	border-radius: var(--r-sm);
	transition: color .22s var(--ease), background-color .22s var(--ease);
}
.nav-primary > ul > li > a:hover,
.nav-primary > ul > li.current-menu-item > a,
.nav-primary > ul > li.current-menu-ancestor > a,
.nav-primary > ul > li.current-menu-parent > a { color: var(--blue); background: var(--blue-tint); }

.nav-primary li.menu-item-has-children > a::after {
	content: "";
	width: 8px; height: 8px;
	border-right: 1.8px solid currentColor;
	border-bottom: 1.8px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	opacity: .55;
	transition: transform .25s var(--ease);
	flex: none;
}
.nav-primary li.menu-item-has-children:hover > a::after { transform: rotate(225deg) translateY(-2px); }

/* Dropdown */
.nav-primary ul ul {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	min-width: 268px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	box-shadow: var(--sh-lg);
	padding: .5rem;
	display: block;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s;
}
.nav-primary li:hover > ul,
.nav-primary li:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-primary ul ul::before {
	content: "";
	position: absolute;
	top: -10px; left: 0; right: 0; height: 10px;
}
.nav-primary ul ul a {
	display: block;
	padding: .68rem .85rem;
	font-size: .92rem;
	font-weight: 500;
	color: var(--text);
	border-radius: var(--r-sm);
	transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav-primary ul ul a:hover,
.nav-primary ul ul .current-menu-item > a { background: var(--blue-tint); color: var(--blue); }

.header-cta { flex: none; }

/* Mobile toggle */
.nav-toggle {
	display: none;
	width: 46px; height: 46px;
	border: 1px solid var(--line-strong);
	background: #fff;
	border-radius: var(--r-sm);
	cursor: pointer;
	padding: 0;
	place-items: center;
	flex: none;
}
.nav-toggle span {
	display: block;
	width: 19px; height: 1.8px;
	background: var(--text);
	border-radius: 2px;
	position: relative;
	transition: background-color .2s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
	content: ""; position: absolute; left: 0;
	width: 19px; height: 1.8px; background: var(--text); border-radius: 2px;
	transition: transform .28s var(--ease), top .22s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* 7. HERO ================================================================= */
.hero {
	position: relative;
	padding-block: clamp(2.5rem, 1.8rem + 3.2vw, 4.2rem) clamp(2.9rem, 2rem + 3.6vw, 4.8rem);
	background:
		radial-gradient(1100px 520px at 88% -8%, color-mix(in srgb, var(--blue-bright) 13%, transparent), transparent 62%),
		radial-gradient(760px 420px at -6% 6%, color-mix(in srgb, var(--blue) 7%, transparent), transparent 60%),
		var(--white);
	overflow: hidden;
}
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(7, 26, 54, .035) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(7, 26, 54, .035) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(70% 60% at 50% 25%, #000 25%, transparent 78%);
	mask-image: radial-gradient(70% 60% at 50% 25%, #000 25%, transparent 78%);
	pointer-events: none;
}
.hero > .container { position: relative; z-index: 2; }

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
	gap: clamp(2rem, 1.4rem + 2.4vw, 3.4rem);
	align-items: center;
}

.hero__title { font-size: var(--fs-display); margin-bottom: .95rem; letter-spacing: -0.03em; }
.hero__title .accent {
	background: linear-gradient(100deg, var(--blue) 10%, var(--blue-bright) 90%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hero__text { font-size: var(--fs-lead); color: var(--text-muted); max-width: 54ch; margin-bottom: 1.5rem; }
.hero__note {
	display: flex;
	align-items: center;
	gap: .55rem;
	margin-top: 1.35rem;
	font-size: var(--fs-sm);
	color: var(--text-muted);
}
.hero__note svg { width: 17px; height: 17px; color: var(--blue); flex: none; }

/* Hero visual composite */
.hero-visual { position: relative; }
.hero-visual__panel {
	position: relative;
	border-radius: var(--r-xl);
	overflow: hidden;
	background: linear-gradient(155deg, var(--navy) 0%, var(--navy-mid) 45%, var(--navy-soft) 100%);
	aspect-ratio: 4 / 3.35;
	box-shadow: var(--sh-lg);
	display: grid;
	place-items: center;
	isolation: isolate;
}
.hero-visual__panel img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual__panel::before {
	content: "";
	position: absolute; inset: 0;
	background-image:
		linear-gradient(to right, rgba(255,255,255,.055) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255,255,255,.055) 1px, transparent 1px);
	background-size: 46px 46px;
	z-index: 1;
}
.hero-visual__panel::after {
	content: "";
	position: absolute;
	width: 320px; height: 320px;
	right: -70px; top: -70px;
	background: radial-gradient(circle, color-mix(in srgb, var(--blue-bright) 50%, transparent), transparent 68%);
	filter: blur(14px);
	z-index: 1;
}
.hero-visual__inner { position: relative; z-index: 2; width: 100%; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }

/* Floating stat card */
.hero-stat {
	position: absolute;
	right: clamp(-26px, -1.8vw, -14px);
	bottom: clamp(-24px, -1.8vw, -14px);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--sh-lg);
	padding: 1.05rem 1.3rem;
	display: flex;
	align-items: center;
	gap: .85rem;
	max-width: 290px;
	z-index: 3;
}
.hero-stat__icon {
	width: 42px; height: 42px;
	border-radius: 12px;
	background: var(--blue-tint);
	color: var(--blue);
	display: grid; place-items: center; flex: none;
}
.hero-stat__icon svg { width: 21px; height: 21px; }
.hero-stat__label { font-size: .78rem; color: var(--text-muted); letter-spacing: .02em; }
.hero-stat__value { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--navy); line-height: 1.3; }

/* UI mock inside hero panel */
.ui-mock { display: grid; gap: .72rem; }
.ui-mock__bar {
	display: flex; align-items: center; justify-content: space-between;
	background: rgba(255,255,255,.07);
	border: 1px solid rgba(255,255,255,.1);
	border-radius: 12px;
	padding: .8rem .95rem;
	backdrop-filter: blur(4px);
}
.ui-mock__bar strong { font-family: var(--font-head); font-size: .86rem; color: #fff; font-weight: 600; }
.ui-mock__bar span { font-size: .76rem; color: var(--text-invert-mut); }
.ui-mock__chip {
	font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
	color: #8fc2ff; background: color-mix(in srgb, var(--blue-bright) 16%, transparent); border: 1px solid color-mix(in srgb, var(--blue-bright) 28%, transparent);
	padding: .26rem .55rem; border-radius: var(--r-pill);
}
.ui-mock__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: .72rem; }
.ui-mock__tile {
	background: rgba(255,255,255,.055);
	border: 1px solid rgba(255,255,255,.09);
	border-radius: 12px;
	padding: .85rem .9rem;
}
.ui-mock__tile em { display: block; font-style: normal; font-size: .7rem; color: var(--text-invert-mut); letter-spacing: .06em; text-transform: uppercase; margin-bottom: .3rem; }
.ui-mock__tile b { font-family: var(--font-head); color: #fff; font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }
.ui-mock__spark { display: flex; align-items: flex-end; gap: 4px; height: 34px; margin-top: .6rem; }
.ui-mock__spark i { flex: 1; background: linear-gradient(180deg, var(--blue-bright), color-mix(in srgb, var(--blue-bright) 25%, transparent)); border-radius: 3px 3px 0 0; }

/* Page hero (inner pages) */
.page-hero {
	position: relative;
	background:
		radial-gradient(900px 420px at 82% -20%, color-mix(in srgb, var(--blue-bright) 14%, transparent), transparent 60%),
		var(--navy);
	color: var(--text-invert);
	padding-block: clamp(2.6rem, 2rem + 2.8vw, 4.1rem) clamp(2.6rem, 2rem + 2.6vw, 3.9rem);
	overflow: hidden;
}
.page-hero::after {
	content: "";
	position: absolute; inset: 0;
	background-image:
		linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px);
	background-size: 58px 58px;
	-webkit-mask-image: radial-gradient(80% 70% at 40% 20%, #000, transparent 76%);
	mask-image: radial-gradient(80% 70% at 40% 20%, #000, transparent 76%);
	pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 2; }
.page-hero__inner { max-width: 780px; }
.page-hero h1 { color: #fff; margin-bottom: .8rem; }
.page-hero__text { font-size: var(--fs-lead); color: var(--text-invert-mut); margin-bottom: 1.45rem; max-width: 62ch; }
.page-hero .eyebrow { color: var(--blue-bright); }
.page-hero .eyebrow::before { background: var(--blue-bright); }

/* Breadcrumbs */
.breadcrumbs { font-size: var(--fs-xs); color: var(--text-invert-mut); margin-bottom: 1rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin: 0; padding: 0; }
.breadcrumbs a { color: var(--text-invert-mut); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs li + li::before { content: "/"; margin-right: .45rem; opacity: .45; }
.breadcrumbs [aria-current] { color: #fff; }

/* 8. COMPONENTS =========================================================== */

/* Service cards */
.card {
	position: relative;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	padding: clamp(1.3rem, 1.1rem + .8vw, 1.8rem);
	transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s var(--ease);
	display: flex;
	flex-direction: column;
	height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--line-strong); }
.card__num {
	font-family: var(--font-head);
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .12em;
	color: var(--blue);
	opacity: .55;
	margin-bottom: .9rem;
}
.card__icon {
	width: 50px; height: 50px;
	border-radius: 14px;
	background: var(--blue-tint);
	color: var(--blue);
	display: grid; place-items: center;
	margin-bottom: 1.15rem;
	transition: background-color .3s var(--ease), color .3s var(--ease);
}
.card__icon svg { width: 24px; height: 24px; }
.card:hover .card__icon { background: var(--blue); color: #fff; }
.card__title { font-size: var(--fs-h3); margin-bottom: .6rem; }
.card__text { color: var(--text-muted); font-size: var(--fs-sm); margin-bottom: 1.2rem; }
.card__list { list-style: none; margin: 0 0 1.35rem; padding: 0; display: grid; gap: .45rem; }
.card__list li {
	position: relative;
	padding-left: 1.4rem;
	font-size: var(--fs-sm);
	color: var(--text-muted);
}
.card__list li::before {
	content: "";
	position: absolute; left: 0; top: .58em;
	width: 7px; height: 7px;
	border-radius: 50%;
	background: var(--blue-bright);
}
.card__foot { margin-top: auto; }

.card--highlight { border-color: color-mix(in srgb, var(--blue) 30%, transparent); background: linear-gradient(180deg, #fbfdff, #fff 42%); }
.card--flat { border-color: var(--line); box-shadow: none; }
.card--flat:hover { transform: none; box-shadow: var(--sh-sm); }

/* Badge */
.badge {
	display: inline-flex; align-items: center; gap: .4rem;
	font-family: var(--font-head);
	font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	color: var(--blue);
	background: var(--blue-tint);
	border: 1px solid color-mix(in srgb, var(--blue) 18%, transparent);
	padding: .34rem .72rem;
	border-radius: var(--r-pill);
	margin-bottom: 1rem;
	align-self: flex-start;
	max-width: 100%;
}
.badge svg { width: 13px; height: 13px; flex: none; }
.badge--light { color: #fff; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.24); }

/* Feature (why choose) */
.feature { display: flex; gap: 1.05rem; align-items: flex-start; }
.feature__icon {
	width: 46px; height: 46px; flex: none;
	border-radius: 13px;
	background: var(--blue-tint);
	color: var(--blue);
	display: grid; place-items: center;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: var(--fs-h4); margin-bottom: .4rem; }
.feature p { color: var(--text-muted); font-size: var(--fs-sm); }
.section--navy .feature__icon { background: color-mix(in srgb, var(--blue-bright) 14%, transparent); color: var(--blue-bright); }
.section--navy .feature p { color: var(--text-invert-mut); }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, .85rem + .8vw, 1.5rem); position: relative; }
.step { position: relative; }
.step__num {
	width: 52px; height: 52px;
	border-radius: 50%;
	display: grid; place-items: center;
	background: #fff;
	border: 1.5px solid var(--line-strong);
	font-family: var(--font-head);
	font-weight: 700;
	font-size: .98rem;
	color: var(--blue);
	margin-bottom: 1.15rem;
	position: relative;
	z-index: 2;
	transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.step:hover .step__num { background: var(--blue); border-color: var(--blue); color: #fff; }
.step::after {
	content: "";
	position: absolute;
	top: 26px; left: 52px; right: calc(-1 * clamp(1.25rem, 1rem + 1vw, 2rem));
	height: 1.5px;
	background: repeating-linear-gradient(to right, var(--line-strong) 0 6px, transparent 6px 12px);
	z-index: 1;
}
.steps .step:last-child::after { display: none; }
.steps--5 { grid-template-columns: repeat(5, 1fr); }
.step h3 { font-size: var(--fs-h4); margin-bottom: .45rem; }
.step p { color: var(--text-muted); font-size: var(--fs-sm); }

.section--navy .step__num { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); color: var(--blue-bright); }
.section--navy .step::after { background: repeating-linear-gradient(to right, rgba(255,255,255,.22) 0 6px, transparent 6px 12px); }
.section--navy .step:hover .step__num { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Split media/text */
.split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.9rem, 1.3rem + 2.2vw, 3.4rem);
	align-items: center;
}
.split--reverse .split__media { order: 2; }

.media-panel {
	position: relative;
	border-radius: var(--r-xl);
	overflow: hidden;
	background: linear-gradient(150deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy-soft) 100%);
	min-height: clamp(300px, 31vw, 420px);
	box-shadow: var(--sh-lg);
	display: grid;
	place-items: center;
	padding: clamp(1.75rem, 1.2rem + 2vw, 2.6rem);
}
.media-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-panel::before {
	content: "";
	position: absolute; inset: 0;
	background-image:
		linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
	background-size: 44px 44px;
}
.media-panel--soft { background: linear-gradient(150deg, #e9f1fd, #f6f9fe); }
.media-panel--soft::before { background-image:
		linear-gradient(to right, rgba(7,26,54,.045) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(7,26,54,.045) 1px, transparent 1px); }

.panel-list { position: relative; z-index: 2; width: 100%; display: grid; gap: .7rem; }
.panel-list__item {
	display: flex; align-items: center; gap: .8rem;
	background: rgba(255,255,255,.07);
	border: 1px solid rgba(255,255,255,.11);
	border-radius: 13px;
	padding: .85rem 1rem;
	color: #fff;
	font-family: var(--font-head);
	font-size: .92rem;
	font-weight: 500;
	backdrop-filter: blur(3px);
}
.panel-list__item svg { width: 19px; height: 19px; color: var(--blue-bright); flex: none; }

/* Check list */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .78rem; }
.checklist li { position: relative; padding-left: 2rem; color: var(--text-muted); }
.checklist li strong { color: var(--text); font-weight: 600; display: block; font-family: var(--font-head); }
.checklist li::before {
	content: "";
	position: absolute; left: 0; top: .22em;
	width: 21px; height: 21px;
	border-radius: 50%;
	background: var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230866d9' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}
.section--navy .checklist li,
.highlight-band .checklist li { color: var(--text-invert-mut); }
.section--navy .checklist li strong,
.highlight-band .checklist li strong { color: #fff; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, .85rem + .8vw, 1.5rem); }
.stat { text-align: center; padding: .5rem; }
.stat__value {
	font-family: var(--font-head);
	font-size: clamp(2rem, 1.5rem + 1.8vw, 2.9rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--navy);
	line-height: 1.05;
	margin-bottom: .35rem;
}
.section--navy .stat__value { color: #fff; }
.stat__label { font-size: var(--fs-sm); color: var(--text-muted); }

/* Industries */
.industry {
	display: flex; gap: 1rem; align-items: flex-start;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	padding: 1.45rem 1.55rem;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
	height: 100%;
}
.industry:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--line-strong); }
.industry__icon {
	width: 42px; height: 42px; flex: none;
	border-radius: 12px;
	background: var(--blue-tint); color: var(--blue);
	display: grid; place-items: center;
}
.industry__icon svg { width: 20px; height: 20px; }
.industry h3 { font-size: var(--fs-h4); margin-bottom: .35rem; }
.industry p { font-size: var(--fs-sm); color: var(--text-muted); }

/* Partner logo band */
.partners {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
	gap: clamp(1.5rem, 1rem + 3vw, 4rem);
}
.partner {
	display: inline-flex; align-items: center; gap: .7rem;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 1.2rem;
	letter-spacing: -.025em;
	color: var(--navy);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-pill);
	padding: .72rem 1.5rem .72rem .72rem;
	box-shadow: var(--sh-xs);
	transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.partner:hover { border-color: var(--line-strong); box-shadow: var(--sh-sm); transform: translateY(-2px); color: var(--navy); }
.partner__dot { width: 38px; height: 38px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; flex: none; }
.partner__dot svg { width: 19px; height: 19px; }

/* Accordion / FAQ */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger {
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.25rem;
	background: none;
	border: 0;
	padding: 1.1rem 0;
	cursor: pointer;
	text-align: left;
	font-family: var(--font-head);
	font-size: 1.04rem;
	font-weight: 600;
	letter-spacing: -0.012em;
	color: var(--text);
	line-height: 1.45;
	transition: color .22s var(--ease);
}
.acc-trigger:hover { color: var(--blue); }
.acc-trigger__icon {
	width: 30px; height: 30px; flex: none;
	border-radius: 50%;
	border: 1.5px solid var(--line-strong);
	position: relative;
	transition: background-color .28s var(--ease), border-color .28s var(--ease), transform .28s var(--ease);
	margin-top: 2px;
}
.acc-trigger__icon::before, .acc-trigger__icon::after {
	content: "";
	position: absolute; top: 50%; left: 50%;
	background: var(--blue);
	border-radius: 2px;
	transform: translate(-50%, -50%);
	transition: opacity .25s var(--ease), background-color .25s var(--ease);
}
.acc-trigger__icon::before { width: 11px; height: 1.8px; }
.acc-trigger__icon::after  { width: 1.8px; height: 11px; }
.acc-trigger[aria-expanded="true"] .acc-trigger__icon { background: var(--blue); border-color: var(--blue); transform: rotate(180deg); }
.acc-trigger[aria-expanded="true"] .acc-trigger__icon::before { background: #fff; }
.acc-trigger[aria-expanded="true"] .acc-trigger__icon::after { opacity: 0; }
/* 0fr -> 1fr opens the panel with no JavaScript height measurement, so it
   cannot break if a caching plugin alters IDs or defers scripts. Browsers that
   cannot animate grid-template-rows simply open it instantly. */
.acc-panel {
	display: grid;
	grid-template-rows: 0fr;
	overflow: hidden;
	transition: grid-template-rows .34s var(--ease);
}
.acc-panel > .acc-panel__inner { overflow: hidden; min-height: 0; }
.acc-item.is-open > .acc-panel { grid-template-rows: 1fr; }
.acc-panel__inner { padding: 0; color: var(--text-muted); max-width: 72ch; }
.acc-panel__inner > *:last-child { margin-bottom: 1.2rem; }

/* Without JavaScript every answer stays readable rather than hidden. */
.no-js .acc-panel { grid-template-rows: 1fr; }
.no-js .acc-trigger__icon { display: none; }

/* Highlight banner (UK Remote Order Taking) */
.highlight-band {
	position: relative;
	border-radius: var(--r-xl);
	overflow: hidden;
	background: linear-gradient(135deg, var(--navy) 0%, #0b2b55 55%, var(--navy-soft) 100%);
	color: #fff;
	padding: clamp(1.8rem, 1.4rem + 1.9vw, 2.7rem);
	box-shadow: var(--sh-lg);
}
.highlight-band::before {
	content: "";
	position: absolute; right: -90px; top: -90px;
	width: 340px; height: 340px;
	background: radial-gradient(circle, color-mix(in srgb, var(--blue-bright) 42%, transparent), transparent 68%);
	filter: blur(10px);
}
.highlight-band > * { position: relative; z-index: 2; }
.highlight-band h2, .highlight-band h3 { color: #fff; }
.highlight-band p { color: var(--text-invert-mut); }
.highlight-band__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.75rem, 1.25rem + 2vw, 3rem); align-items: center; }

/* Contact info cards */
.info-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	padding: 1.6rem;
	height: 100%;
	transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.info-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.info-card__icon {
	width: 44px; height: 44px; border-radius: 12px;
	background: var(--blue-tint); color: var(--blue);
	display: grid; place-items: center; margin-bottom: 1rem;
}
.info-card__icon svg { width: 21px; height: 21px; }
.info-card h3 { font-size: 1.02rem; margin-bottom: .4rem; }
.info-card p, .info-card a { font-size: var(--fs-sm); color: var(--text-muted); }
.info-card a:hover { color: var(--blue); }

/* 9. FORMS ================================================================ */
.form-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-xl);
	padding: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem);
	box-shadow: var(--sh-md);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.field { display: flex; flex-direction: column; gap: .42rem; }
.field--full { grid-column: 1 / -1; }
.field label {
	font-family: var(--font-head);
	font-size: .86rem;
	font-weight: 600;
	color: var(--text);
}
.field label .opt { font-weight: 400; color: var(--text-muted); }
.field .req { color: #d64545; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field select,
.field textarea {
	width: 100%;
	font-family: var(--font-body);
	font-size: .97rem;
	color: var(--text);
	background: var(--bg-softer);
	border: 1.5px solid var(--line);
	border-radius: var(--r-md);
	padding: .88rem 1rem;
	transition: border-color .22s var(--ease), box-shadow .22s var(--ease), background-color .22s var(--ease);
	-webkit-appearance: none;
	appearance: none;
}
/* Push controls to the bottom so inputs line up when labels wrap. */
.field:not(.field--check) > input,
.field:not(.field--check) > select,
.field:not(.field--check) > textarea { margin-top: auto; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); opacity: .75; }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	background-size: 17px;
	padding-right: 2.6rem;
	cursor: pointer;
}
.field input:focus, .field select:focus, .field textarea:focus {
	outline: none;
	background: #fff;
	border-color: var(--blue);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 11%, transparent);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] {
	border-color: #d64545;
	box-shadow: 0 0 0 4px rgba(214, 69, 69, .1);
}
.field__error { font-size: .8rem; color: #d64545; min-height: 0; }

.field--check { flex-direction: row; align-items: flex-start; gap: .7rem; }
.field--check { flex-wrap: wrap; }
.field--check .field__error { flex-basis: 100%; padding-left: calc(18px + .7rem); }
.field--check input { margin-top: .28rem; width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.field--check label { font-weight: 400; font-family: var(--font-body); font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

.form-status {
	border-radius: var(--r-md);
	padding: 1rem 1.2rem;
	font-size: var(--fs-sm);
	margin-bottom: 1.35rem;
	display: none;
}
.form-status.is-visible { display: block; }
.form-status--ok { background: #e9f7ef; border: 1px solid #b7e4c9; color: #1a6b3c; }
.form-status--err { background: #fdecec; border: 1px solid #f5c2c2; color: #a32626; }

.form-success {
	text-align: center;
	padding: clamp(1.5rem, 1rem + 2vw, 2.75rem) 1rem;
}
.form-success__icon {
	width: 62px; height: 62px; margin: 0 auto 1.2rem;
	border-radius: 50%; background: #e9f7ef; color: #1a6b3c;
	display: grid; place-items: center;
}
.form-success__icon svg { width: 30px; height: 30px; }

.hp-field { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; overflow: hidden; }

.btn[aria-busy="true"] { opacity: .72; pointer-events: none; }
.btn .spinner {
	width: 16px; height: 16px; flex: none;
	border: 2px solid rgba(255,255,255,.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: gts-spin .7s linear infinite;
	display: none;
}
.btn[aria-busy="true"] .spinner { display: block; }
.btn[aria-busy="true"] svg:not(.spinner) { display: none; }
@keyframes gts-spin { to { transform: rotate(360deg); } }

/* 10. CTA BAND ============================================================ */
/* Deliberately a different background family from the footer. */
.cta-band {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(760px 400px at 15% 110%, rgba(255, 255, 255, .17), transparent 60%),
		linear-gradient(118deg, var(--blue-dark) 0%, var(--blue) 48%, var(--blue-bright) 100%);
	color: #fff;
	padding-block: clamp(2.6rem, 2rem + 2.6vw, 4rem);
}
.cta-band::after {
	content: "";
	position: absolute; inset: 0;
	background-image:
		linear-gradient(to right, rgba(255,255,255,.07) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255,255,255,.07) 1px, transparent 1px);
	background-size: 52px 52px;
	-webkit-mask-image: radial-gradient(76% 86% at 78% 20%, #000, transparent 72%);
	mask-image: radial-gradient(76% 86% at 78% 20%, #000, transparent 72%);
	pointer-events: none;
}
.cta-band > .container { position: relative; z-index: 2; }
.cta-band__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) auto;
	gap: clamp(1.75rem, 1.25rem + 2.5vw, 3.5rem);
	align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: .75rem; }
.cta-band p { color: rgba(255, 255, 255, .88); font-size: var(--fs-lead); max-width: 56ch; }
.cta-band .btn-row { flex-shrink: 0; }

/* Alternate CTA used on pages that sit directly above the footer */
.cta-band--alt {
	background:
		radial-gradient(700px 380px at 85% -20%, color-mix(in srgb, var(--blue-bright) 30%, transparent), transparent 62%),
		linear-gradient(122deg, #0b3c86 0%, var(--blue) 60%, #1f7bf0 100%);
}

/* 11. FOOTER ============================================================== */
/* Deep navy — intentionally distinct from the blue CTA band above it. */
.site-footer {
	background: var(--navy-deep);
	color: var(--text-invert-mut);
	padding-top: clamp(2.5rem, 2rem + 2vw, 3.6rem);
	font-size: var(--fs-sm);
	position: relative;
}
.site-footer::before {
	content: "";
	position: absolute; top: 0; left: 0; right: 0; height: 1px;
	background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--blue-bright) 50%, transparent), transparent);
}
.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
	gap: clamp(1.7rem, 1.3rem + 1.6vw, 2.8rem);
	padding-bottom: clamp(1.9rem, 1.6rem + 1.4vw, 2.6rem);
}
.footer-about p { margin: 1.1rem 0 1.35rem; color: var(--text-invert-mut); max-width: 42ch; line-height: 1.75; }
.footer-tagline {
	font-family: var(--font-head);
	color: #fff;
	font-weight: 600;
	font-size: .97rem;
	margin-top: 1.1rem !important;
	margin-bottom: .55rem !important;
}
.footer-col h3 {
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: 1.15rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .68rem; }
.footer-col a { color: var(--text-invert-mut); }
.footer-col a:hover { color: #fff; }

.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; line-height: 1.6; }
.footer-contact svg { width: 16px; height: 16px; color: var(--blue-bright); flex: none; margin-top: .25em; }

.footer-social { display: flex; gap: .55rem; }
.footer-social a {
	width: 38px; height: 38px;
	border-radius: 10px;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .1);
	display: grid; place-items: center;
	color: var(--text-invert-mut);
	transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.footer-social a:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; }

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, .09);
	padding-block: 1.5rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	font-size: var(--fs-xs);
}
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.35rem; margin: 0; padding: 0; }
.footer-bottom a { color: var(--text-invert-mut); }
.footer-bottom a:hover { color: #fff; }

.to-top {
	position: fixed;
	right: clamp(1rem, .6rem + 1vw, 1.8rem);
	bottom: clamp(1rem, .6rem + 1vw, 1.8rem);
	width: 46px; height: 46px;
	border-radius: 50%;
	background: var(--blue);
	color: #fff;
	border: 0;
	display: grid; place-items: center;
	cursor: pointer;
	box-shadow: var(--sh-blue);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background-color .25s var(--ease);
	z-index: 800;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--blue-dark); }
.to-top svg { width: 19px; height: 19px; }

/* 12. ANIMATIONS ========================================================== */
/* Content is visible by default; JS opts in to the animated start state. */
.js [data-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .62s var(--ease), transform .62s var(--ease);
	will-change: opacity, transform;
}
.js [data-reveal].is-revealed { opacity: 1; transform: none; }
.js [data-reveal-delay="1"] { transition-delay: .07s; }
.js [data-reveal-delay="2"] { transition-delay: .14s; }
.js [data-reveal-delay="3"] { transition-delay: .21s; }
.js [data-reveal-delay="4"] { transition-delay: .28s; }
.js [data-reveal-delay="5"] { transition-delay: .35s; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}
	.js [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* 13. RESPONSIVE ========================================================== */
@media (max-width: 1080px) {
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.25rem; }
	.steps .step:nth-child(2)::after { display: none; }
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-about { grid-column: 1 / -1; }
}

@media (max-width: 991px) {
	:root { --header-h: 74px; }

	/* A backdrop-filter establishes a containing block for fixed-position
	   descendants, which would trap the off-canvas menu inside the header. */
	.site-header {
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		background: #fff;
	}

	.nav-toggle { display: grid; }
	.header-cta { display: none; }

	.nav-primary {
		position: fixed;
		inset: var(--header-h) 0 0;
		background: #fff;
		padding: 1.5rem var(--gutter) 3rem;
		overflow-y: auto;
		overscroll-behavior: contain;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-10px);
		transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
		margin-left: 0;
		border-top: 1px solid var(--line);
	}
	.nav-primary.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
	.nav-primary > ul { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-primary > ul > li { border-bottom: 1px solid var(--line); }
	.nav-primary > ul > li > a { padding: 1.05rem .2rem; font-size: 1.05rem; justify-content: space-between; border-radius: 0; }
	.nav-primary > ul > li > a:hover,
	.nav-primary > ul > li.current-menu-item > a { background: transparent; }

	.nav-primary ul ul {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		border-left: 2px solid var(--line);
		border-radius: 0;
		margin: 0 0 .9rem .25rem;
		padding: 0 0 0 .85rem;
		min-width: 0;
		display: none;
	}
	.nav-primary li.is-open > ul { display: block; }
	.nav-primary li.menu-item-has-children > a::after { margin-left: auto; }
	.nav-primary li.is-open > a::after { transform: rotate(225deg) translateY(-2px); }
	.nav-primary ul ul a { padding: .72rem .2rem; }

	.nav-mobile-cta { margin-top: 1.75rem; display: block; }
	.nav-mobile-cta .btn { width: 100%; }

	body.nav-open { overflow: hidden; }

	.hero-grid { grid-template-columns: 1fr; gap: 3rem; }
	.hero-visual { max-width: 560px; }
	.split { grid-template-columns: 1fr; gap: 2.5rem; }
	.split--reverse .split__media { order: 0; }
	.cta-band__grid { grid-template-columns: 1fr; }
	.highlight-band__grid { grid-template-columns: 1fr; }
	.section-head--split { flex-direction: column; align-items: flex-start; }
}

@media (min-width: 992px) {
	.nav-mobile-cta { display: none; }
}

@media (max-width: 767px) {
	.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
	.steps { grid-template-columns: 1fr; row-gap: 1.75rem; }
	.step::after { display: none; }
	.stats { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1rem; }
	.form-grid { grid-template-columns: 1fr; }
	.hero-stat { position: static; margin-top: 1.1rem; max-width: none; }
	.footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }
	.footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }
	.btn { width: 100%; }
	.btn-row { flex-direction: column; align-items: stretch; }
	.hero__note { align-items: flex-start; }
}

@media (max-width: 560px) {
	.site-header .brand__tag { display: none; }
}

@media (max-width: 420px) {
	.brand__mark { width: 40px; height: 40px; }
	.brand__name { font-size: .95rem; }
	.stats { grid-template-columns: 1fr; }
}

/* Print */
@media print {
	.site-header, .site-footer, .to-top, .cta-band, .nav-toggle { display: none !important; }
	body { color: #000; }
}

/* 14. EDITOR CONTENT, BLOG & COMMENTS ====================================== */
.entry-content h2 { font-size: var(--fs-h2); margin-top: 2.5rem; }
.entry-content h3 { font-size: var(--fs-h3); margin-top: 2rem; }
.entry-content p, .entry-content li { color: var(--text-muted); }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content img, .entry-content figure { border-radius: var(--r-md); margin-block: 2rem; }
.entry-content blockquote {
	margin: 2rem 0;
	padding: 1.25rem 1.6rem;
	border-left: 3px solid var(--blue);
	background: var(--bg-soft);
	border-radius: 0 var(--r-md) var(--r-md) 0;
	font-size: var(--fs-lead);
	color: var(--text);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content ul, .entry-content ol { padding-left: 1.35rem; }
.entry-content li { margin-bottom: .55rem; }
.entry-content table { width: 100%; border-collapse: collapse; margin-block: 2rem; font-size: var(--fs-sm); }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: .75rem 1rem; text-align: left; }
.entry-content th { background: var(--bg-soft); font-family: var(--font-head); font-weight: 600; }
.entry-content code {
	background: var(--bg-soft); border: 1px solid var(--line);
	padding: .1rem .4rem; border-radius: 6px; font-size: .9em;
}
.entry-content pre {
	background: var(--navy); color: #dce8f8; padding: 1.25rem 1.4rem;
	border-radius: var(--r-md); overflow-x: auto; font-size: .88rem; line-height: 1.6;
}
.entry-content pre code { background: none; border: 0; padding: 0; color: inherit; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.5rem; }

/* Pagination */
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center; }
.pagination .page-numbers {
	display: grid; place-items: center;
	min-width: 44px; height: 44px; padding: 0 .8rem;
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	font-family: var(--font-head); font-weight: 600; font-size: .92rem;
	color: var(--text);
	transition: background-color .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
}
.pagination .page-numbers:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-tint); }
.pagination .page-numbers.current { background: var(--blue); border-color: var(--blue); color: #fff; }
.pagination .dots { border-color: transparent; }

.page-links { display: flex; gap: .5rem; margin-top: 2rem; font-family: var(--font-head); font-weight: 600; }

/* Search form */
.search-form .search-field {
	width: 100%;
	font-family: var(--font-body); font-size: .97rem;
	background: var(--bg-softer);
	border: 1.5px solid var(--line);
	border-radius: var(--r-md);
	padding: .88rem 1rem;
}
.search-form .search-field:focus {
	outline: none; background: #fff; border-color: var(--blue);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 11%, transparent);
}

/* Comments */
.comment-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.comment-list ol.children { list-style: none; padding-left: 1.5rem; margin-top: 1.5rem; display: grid; gap: 1.5rem; }
.comment-body {
	background: #fff; border: 1px solid var(--line);
	border-radius: var(--r-lg); padding: 1.4rem 1.6rem;
}
.comment-meta { display: flex; align-items: center; gap: .75rem; margin-bottom: .85rem; }
.comment-author img { border-radius: 50%; }
.comment-author .fn { font-family: var(--font-head); font-weight: 600; font-style: normal; }
.comment-metadata, .comment-metadata a { font-size: var(--fs-xs); color: var(--text-muted); }
.comment-reply-link { font-family: var(--font-head); font-weight: 600; font-size: .88rem; }
.comment-respond { margin-top: 2.5rem; }
.comment-form p { display: flex; flex-direction: column; gap: .42rem; margin-bottom: 1.1rem; }
.comment-form label { font-family: var(--font-head); font-size: .86rem; font-weight: 600; }
.comment-form input[type="text"], .comment-form input[type="email"],
.comment-form input[type="url"], .comment-form textarea {
	font-family: var(--font-body); font-size: .97rem;
	background: var(--bg-softer); border: 1.5px solid var(--line);
	border-radius: var(--r-md); padding: .88rem 1rem; width: 100%;
}
.comment-form .submit {
	font-family: var(--font-head); font-weight: 600; font-size: .975rem;
	background: var(--blue); color: #fff; border: 0;
	border-radius: var(--r-pill); padding: 1rem 1.75rem; cursor: pointer;
	transition: background-color .25s var(--ease);
}
.comment-form .submit:hover { background: var(--blue-dark); }

/* Widgets */
.widget { margin-bottom: 2.25rem; }
.widget-title { font-size: var(--fs-h4); margin-bottom: 1rem; }
.widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.widget a { color: var(--text-muted); font-size: var(--fs-sm); }
.widget a:hover { color: var(--blue); }

/* 15. TRUSTED PARTNERSHIPS ================================================= */
.partner-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.25rem, 1rem + 1vw, 1.9rem);
}

.partner-card {
	display: flex;
	flex-direction: column;
	background: rgba(255, 255, 255, .04);
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: var(--r-lg);
	padding: clamp(1.4rem, 1.2rem + .8vw, 1.85rem);
	height: 100%;
	transition: background-color .3s var(--ease), border-color .3s var(--ease),
	            transform .3s var(--ease), box-shadow .3s var(--ease);
}
.partner-card:hover {
	background: rgba(255, 255, 255, .07);
	border-color: color-mix(in srgb, var(--blue-bright) 42%, transparent);
	transform: translateY(-4px);
	box-shadow: 0 16px 36px rgba(0, 0, 0, .22);
}

/* A white tile normalises logos that arrive in every shape and colour. */
.partner-card__logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	min-width: 62px;
	height: 54px;
	max-width: 100%;
	padding: .45rem .7rem;
	margin-bottom: 1.25rem;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
}
.partner-card__logo img {
	max-height: 100%;
	width: auto;
	max-width: 158px;
	object-fit: contain;
}
.partner-card__monogram {
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 1.22rem;
	letter-spacing: -.02em;
	color: var(--blue);
	line-height: 1;
}

.partner-card__note {
	font-style: italic;
	font-size: var(--fs-sm);
	line-height: 1.68;
	color: var(--text-invert-mut);
	margin: 0 0 1.35rem;
}
.partner-card__note::before { content: "\201C"; }
.partner-card__note::after  { content: "\201D"; }

.partner-card__name {
	margin: auto 0 0;
	font-family: var(--font-head);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--blue-bright);
}

@media (max-width: 991px) {
	.partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.partner-grid { grid-template-columns: 1fr; }
}

/* WhatsApp affordance — the brand green signals the channel at a glance. */

/* 16. GROUPED FORM SECTIONS =============================================== */
.form-card__title { font-size: var(--fs-h3); margin-bottom: .45rem; }
.form-card__intro { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: 1.5rem; }

.form-section + .form-section { margin-top: 1.5rem; }
.form-section__title {
	display: flex;
	align-items: baseline;
	gap: .6rem;
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--navy);
	margin: 0 0 .9rem;
	padding-bottom: .6rem;
	border-bottom: 1px solid var(--line);
}
.form-section__num { color: var(--blue); font-variant-numeric: tabular-nums; }

.field__hint {
	font-size: .8rem;
	line-height: 1.45;
	color: var(--text-muted);
	margin-top: -.15rem;
}

.form-note {
	background: var(--bg-soft);
	border-left: 3px solid var(--blue);
	border-radius: 0 var(--r-sm) var(--r-sm) 0;
	padding: .85rem 1rem;
	font-size: .85rem;
	line-height: 1.6;
	color: var(--text-muted);
	margin: 1.4rem 0 1.1rem;
}

.enquiry-form > .btn { margin-top: .35rem; }

/* 17. WELCOME POPUP ======================================================= */
.welcome-popup {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: grid;
	place-items: center;
	padding: 1rem;
}
.welcome-popup[hidden] { display: none; }
.popup-open { overflow: hidden; }

.welcome-popup__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(4, 12, 34, .68);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity .3s var(--ease);
}
.welcome-popup__dialog {
	position: relative;
	isolation: isolate;
	width: 100%;
	max-width: 1000px;
	max-height: calc(100vh - 2rem);
	max-height: calc(100dvh - 2rem);
	overflow-y: auto;
	border-radius: 26px;
	background: #eef3fd;
	box-shadow: 0 30px 80px rgba(4, 12, 34, .45);
	opacity: 0;
	transform: translateY(18px) scale(.97);
	transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.welcome-popup__dialog:focus { outline: none; }
.welcome-popup.is-open .welcome-popup__backdrop { opacity: 1; }
.welcome-popup.is-open .welcome-popup__dialog { opacity: 1; transform: none; }

.welcome-popup__close {
	position: absolute;
	top: .9rem;
	right: .9rem;
	z-index: 5;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 50%;
	background: rgba(4, 18, 52, .55);
	color: #fff;
	cursor: pointer;
	transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.welcome-popup__close:hover { background: rgba(4, 18, 52, .85); transform: rotate(90deg); }
.welcome-popup__close:focus-visible { outline: 2px solid #ffd23f; outline-offset: 2px; }
.welcome-popup__close svg { width: 20px; height: 20px; }

/* Header: deep blue with the world map (left) and Big Ben + flag (right). */
.welcome-popup__head {
	position: relative;
	z-index: 1;
	padding: 2.4rem 2rem 4.4rem;
	text-align: center;
	color: #fff;
	background: linear-gradient(180deg, #061a4d 0%, #0a2f80 55%, #0d3b99 78%, rgba(13, 59, 153, 0) 100%);
}
.welcome-popup__head::before,
.welcome-popup__head::after {
	content: "";
	position: absolute;
	top: 0;
	z-index: -1;
	background-repeat: no-repeat;
	pointer-events: none;
}
.welcome-popup__head::before {
	left: 0;
	width: 34%;
	height: 100%;
	background-image: var(--popup-map);
	background-size: cover;
	background-position: left top;
	opacity: .85;
	-webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 100%), linear-gradient(180deg, #000 55%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(90deg, #000 45%, transparent 100%), linear-gradient(180deg, #000 55%, transparent 100%);
	mask-composite: intersect;
}
.welcome-popup__head::after {
	right: 0;
	height: 118%;
	aspect-ratio: 224 / 368;
	background-image: var(--popup-bigben);
	background-size: 100% 100%;
	background-position: right top;
	-webkit-mask-image: linear-gradient(270deg, #000 50%, transparent 100%), linear-gradient(180deg, #000 62%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(270deg, #000 50%, transparent 100%), linear-gradient(180deg, #000 62%, transparent 100%);
	mask-composite: intersect;
}
.welcome-popup__title {
	margin: 0;
	font-family: var(--font-head);
	font-weight: 800;
	font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem);
	line-height: 1.08;
	letter-spacing: -0.02em;
	text-shadow: 0 4px 18px rgba(0, 0, 0, .25);
}
.welcome-popup__title span { display: block; }
.welcome-popup__title-1 { color: #fff; }
.welcome-popup__title-2 {
	background: linear-gradient(180deg, #ffe066 0%, #f5b301 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.welcome-popup__divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .9rem;
	margin: 1rem auto .9rem;
	max-width: 420px;
}
.welcome-popup__divider span { flex: 1; height: 2px; background: linear-gradient(90deg, transparent, #f5b301); }
.welcome-popup__divider span:last-child { background: linear-gradient(90deg, #f5b301, transparent); }
.welcome-popup__flag { width: 38px; height: 19px; flex: none; border-radius: 2px; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.welcome-popup__text { margin: 0; font-size: 1.1rem; color: rgba(255, 255, 255, .95); }

/* Service rows */
.welcome-popup__grid {
	list-style: none;
	position: relative;
	z-index: 2;
	margin: -2.4rem 0 0;
	padding: 0 1.6rem 1.8rem;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .9rem;
}
.welcome-popup__card {
	--card-a: #1d6fe0;
	--card-b: #0a3794;
	--card-edge: rgba(110, 175, 255, .85);
	--card-tile: rgba(255, 255, 255, .18);
	--card-icon: #fff;
	--card-sep: rgba(255, 255, 255, .45);
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 1rem;
	margin: 0;
	padding: 1rem 1.2rem;
	border: 2px solid var(--card-edge);
	border-radius: 18px;
	background: linear-gradient(115deg, var(--card-a) 0%, var(--card-b) 100%);
	color: #fff;
	box-shadow: 0 10px 26px rgba(6, 20, 60, .18), inset 0 1px 0 rgba(255, 255, 255, .25);
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s var(--ease);
}
/* Soft diagonal shine, like the design. */
.welcome-popup__card::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(125deg, transparent 52%, rgba(255, 255, 255, .13) 52%, rgba(255, 255, 255, .04) 74%, transparent 74%),
		radial-gradient(120% 90% at 100% 100%, rgba(255, 255, 255, .12), transparent 55%);
	pointer-events: none;
}
.welcome-popup__card:hover,
.welcome-popup__card:focus-within {
	transform: translateY(-3px);
	filter: brightness(1.06);
	box-shadow: 0 16px 34px rgba(6, 20, 60, .28), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.welcome-popup__card:focus-within { outline: 3px solid #ffd23f; outline-offset: 2px; }
.welcome-popup__icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	border-radius: 16px;
	background: var(--card-tile);
	border: 1px solid rgba(255, 255, 255, .28);
	color: var(--card-icon);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
}
.welcome-popup__icon svg { width: 30px; height: 30px; stroke-width: 2; }
.welcome-popup__body { position: relative; display: grid; gap: .2rem; min-width: 0; padding-left: 1rem; border-left: 2px solid var(--card-sep); }
.welcome-popup__name { font-family: var(--font-head); font-weight: 800; font-size: 1.18rem; line-height: 1.2; color: #fff; }
.welcome-popup__blurb { font-size: .9rem; line-height: 1.4; color: rgba(255, 255, 255, .92); }
.welcome-popup__link { display: grid; place-items: center; width: 34px; height: 34px; color: #fff; }
/* The whole row is the link. */
.welcome-popup__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.welcome-popup__link svg { width: 26px; height: 26px; stroke-width: 2.2; transition: transform .25s var(--ease); }
.welcome-popup__card:hover .welcome-popup__link svg { transform: translateX(4px); }
.welcome-popup__link:focus-visible { outline: none; }

/* The fifth row sits centred under the others on desktop. */
.welcome-popup__card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - .45rem); }

.welcome-popup__card--uk-education {
	--card-a: #081a48;
	--card-b: #102b66;
	--card-edge: #f5b301;
	--card-tile: linear-gradient(160deg, #ffd84d, #f5b301);
	--card-icon: #0a1f55;
	--card-sep: rgba(245, 179, 1, .7);
}
.welcome-popup__card--uk-education::before {
	background:
		linear-gradient(125deg, transparent 52%, rgba(255, 255, 255, .08) 52%, rgba(255, 255, 255, .02) 74%, transparent 74%),
		radial-gradient(70% 90% at 108% 120%, rgba(245, 179, 1, .95) 0 38%, transparent 39%),
		radial-gradient(80% 100% at 104% 128%, rgba(245, 179, 1, .35) 0 45%, transparent 46%);
}
.welcome-popup__card--bpo {
	--card-a: #f06e12;
	--card-b: #a63a04;
	--card-edge: #ffa95c;
	--card-tile: linear-gradient(160deg, #ff8a2a, #c94d06);
}
.welcome-popup__card--accounting-finance {
	--card-a: #1c9a45;
	--card-b: #0a5a26;
	--card-edge: #63d18a;
	--card-tile: linear-gradient(160deg, #2fbf5d, #0f7535);
}
.welcome-popup__card--card-payment-machines {
	--card-a: #7a32e8;
	--card-b: #3f1294;
	--card-edge: #b088ff;
	--card-tile: linear-gradient(160deg, #9150ff, #5a1fc4);
}
.welcome-popup__card--it-digital-solutions {
	--card-tile: linear-gradient(160deg, #3b8ff5, #1250c4);
}

@media (max-width: 760px) {
	.welcome-popup { padding: .6rem; }
	.welcome-popup__dialog { border-radius: 22px; max-height: calc(100vh - 1.2rem); max-height: calc(100dvh - 1.2rem); }
	.welcome-popup__head { padding: 2rem 1.2rem 3.8rem; }
	.welcome-popup__head::before { width: 48%; }
	.welcome-popup__head::after { height: 112%; }
	.welcome-popup__close { top: .6rem; right: .6rem; }
	.welcome-popup__text { font-size: 1rem; }
	.welcome-popup__grid { grid-template-columns: 1fr; gap: .75rem; padding: 0 .9rem 1.2rem; margin-top: -2.2rem; }
	.welcome-popup__card:last-child:nth-child(odd) { grid-column: auto; width: auto; justify-self: stretch; }
	.welcome-popup__card { gap: .8rem; padding: .9rem 1rem; }
	.welcome-popup__icon { width: 54px; height: 54px; border-radius: 14px; }
	.welcome-popup__icon svg { width: 26px; height: 26px; }
	.welcome-popup__body { padding-left: .8rem; }
	.welcome-popup__name { font-size: 1.08rem; }
	.welcome-popup__blurb { font-size: .86rem; }
}
@media (prefers-reduced-motion: reduce) {
	.welcome-popup__backdrop,
	.welcome-popup__dialog,
	.welcome-popup__card { transition: none; }
}

/* 18. COMPLIANCE CALLOUT =================================================== */
.compliance-band { position: relative; z-index: 2; margin-top: -2.4rem; }
.compliance-band__card {
	display: flex;
	gap: 1.4rem;
	align-items: flex-start;
	padding: clamp(1.4rem, 1rem + 1.4vw, 2.1rem);
	background: #fff;
	border: 1px solid var(--line);
	border-left: 5px solid var(--blue);
	border-radius: var(--r-lg);
	box-shadow: var(--sh-lg);
}
.compliance-band__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	border-radius: var(--r-md);
	background: linear-gradient(155deg, var(--blue), var(--blue-dark));
	color: #fff;
	box-shadow: var(--sh-blue);
}
.compliance-band__icon svg { width: 30px; height: 30px; }
.compliance-band__eyebrow {
	display: block;
	font-family: var(--font-head);
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--blue);
	margin-bottom: .35rem;
}
.compliance-band__title {
	font-size: clamp(1.25rem, 1.05rem + .8vw, 1.65rem);
	line-height: 1.25;
	margin: 0 0 .55rem;
}
.compliance-band__text { margin: 0; color: var(--text-muted); max-width: 70ch; }
.compliance-band__points {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: .55rem;
	margin: 1.05rem 0 0;
	padding: 0;
}
.compliance-band__points li {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	margin: 0;
	padding: .45rem .85rem;
	border-radius: var(--r-pill);
	background: var(--blue-tint);
	color: var(--navy);
	font-family: var(--font-head);
	font-size: .84rem;
	font-weight: 600;
}
.compliance-band__points svg { width: 16px; height: 16px; color: var(--blue); flex: none; }
@media (max-width: 640px) {
	.compliance-band { margin-top: -1.6rem; }
	.compliance-band__card { flex-direction: column; gap: 1rem; }
	.compliance-band__icon { width: 52px; height: 52px; }
}

/* 19. UK EDUCATION ========================================================= */
.eligibility-note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .6rem;
	width: fit-content;
	margin: 1.8rem auto 0;
	padding: .75rem 1.4rem;
	border-radius: var(--r-pill);
	background: var(--navy);
	color: #fff;
	font-family: var(--font-head);
	font-size: 1rem;
}
.eligibility-note svg { width: 20px; height: 20px; color: var(--blue-bright); flex: none; }
.eligibility-note strong { color: var(--blue-bright); }

.funding-note {
	max-width: 760px;
	margin: 1.8rem auto 0;
	text-align: center;
	font-size: var(--fs-xs);
	color: var(--text-muted);
}

.course-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: .7rem;
}
.course-list li {
	display: flex;
	align-items: center;
	gap: .6rem;
	margin: 0;
	padding: .85rem 1rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	font-family: var(--font-head);
	font-size: .92rem;
	font-weight: 600;
	color: var(--text);
}
.course-list svg { width: 18px; height: 18px; color: var(--blue); flex: none; }
.course-list .course-list__more { background: var(--blue); border-color: var(--blue); color: #fff; }
.course-list .course-list__more svg { color: #fff; }

@media (max-width: 960px) {
	.course-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.course-list { grid-template-columns: 1fr; }
	.eligibility-note { font-size: .92rem; }
}

/* 20. PARTNER & HERO LINKS ================================================= */
.partner-card { position: relative; }
.partner-card__link {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	color: inherit;
	text-decoration: none;
}
/* The whole card is the click target. */
.partner-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.partner-card__link svg { width: 15px; height: 15px; transform: rotate(-45deg); color: var(--blue-bright); transition: transform .25s var(--ease); }
.partner-card:hover .partner-card__link svg { transform: rotate(-45deg) translateX(3px); }
.partner-card__link:focus-visible { outline: none; }
.partner-card:focus-within { outline: 2px solid var(--blue-bright); outline-offset: 3px; }

.page-hero__text a {
	color: #fff;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, var(--blue-bright) 75%, transparent);
	text-underline-offset: 3px;
	transition: color .2s var(--ease);
}
.page-hero__text a:hover { color: var(--blue-bright); }

/* 21. LINKED PANEL ITEMS ==================================================== */
a.panel-list__item {
	text-decoration: none;
	transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
a.panel-list__item:hover {
	background: rgba(255, 255, 255, .12);
	border-color: color-mix(in srgb, var(--blue-bright) 45%, transparent);
	color: #fff;
	transform: translateX(4px);
}
.panel-list__item .panel-list__arrow { margin-left: auto; width: 17px; height: 17px; opacity: .55; transition: opacity .25s var(--ease); }
a.panel-list__item:hover .panel-list__arrow { opacity: 1; }

/* 22. COLLABORATIONS ======================================================== */
.collab-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, .85rem + .8vw, 1.5rem); }
.collab-card {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--sh-sm);
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.collab-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: color-mix(in srgb, var(--blue) 30%, transparent); }
.collab-card__head { display: flex; align-items: center; gap: 1rem; }
.collab-card__logo {
	flex: none;
	display: grid;
	place-items: center;
	width: 76px;
	height: 76px;
	padding: .55rem;
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	background: #fff;
}
.collab-card__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.collab-card__logo .partner-card__monogram { color: var(--blue); }
.collab-card__name { font-size: var(--fs-h4); margin: 0 0 .2rem; }
.collab-card__sector {
	margin: 0;
	font-family: var(--font-head);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--blue);
}
.collab-card__about { margin: 0; color: var(--text-muted); }
.collab-card__together {
	padding: 1rem 1.1rem;
	border-radius: var(--r-md);
	background: var(--bg-soft);
	border-left: 3px solid var(--blue);
}
.collab-card__label {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	margin-bottom: .35rem;
	font-family: var(--font-head);
	font-size: .82rem;
	font-weight: 700;
	color: var(--navy);
}
.collab-card__label svg { width: 16px; height: 16px; color: var(--blue); }
.collab-card__together p { margin: 0; font-size: var(--fs-sm); color: var(--text); }
.collab-card__link {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	align-self: flex-start;
	font-family: var(--font-head);
	font-size: .9rem;
	font-weight: 700;
	color: var(--blue);
	text-decoration: none;
}
.collab-card__link svg { width: 16px; height: 16px; transform: rotate(-45deg); transition: transform .25s var(--ease); }
.collab-card__link:hover svg { transform: rotate(-45deg) translateX(3px); }
@media (max-width: 760px) {
	.collab-grid { grid-template-columns: 1fr; }
}

/* 23. APPOINTMENT BOOKING =================================================== */
.booking {
	display: grid;
	grid-template-columns: minmax(250px, 320px) 1fr;
	max-width: 1060px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-xl);
	box-shadow: var(--sh-lg);
	overflow: hidden;
}
.booking--embed { display: block; padding: .5rem; }

.booking__info {
	position: relative;
	isolation: isolate;
	padding: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
	color: #fff;
	background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-soft) 100%);
}
.booking__info::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
	background-size: 40px 40px;
}
.booking__logo { width: 56px; height: 56px; border-radius: 50%; margin-bottom: 1.1rem; box-shadow: 0 0 0 4px rgba(255,255,255,.08); }
.booking__company { margin: 0 0 .3rem; font-size: .9rem; color: var(--text-invert-mut); }
.booking__title { margin: 0 0 1.2rem; font-size: clamp(1.45rem, 1.2rem + .9vw, 1.85rem); color: #fff; }
.booking__meta, .booking__covers { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.booking__meta li, .booking__covers li { display: flex; align-items: center; gap: .65rem; margin: 0; font-size: .93rem; }
.booking__meta li { font-family: var(--font-head); font-weight: 600; }
.booking__meta svg, .booking__covers svg { width: 18px; height: 18px; flex: none; color: var(--blue-bright); }
.booking__desc { margin: 1.4rem 0 1rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .93rem; color: var(--text-invert-mut); }
.booking__covers li { color: #dbe6f5; }

.booking__main { padding: clamp(1.5rem, 1.1rem + 1.5vw, 2.4rem); min-width: 0; }
.booking__heading { margin: 0 0 1.3rem; font-size: var(--fs-h3); }

.booking__picker { display: grid; grid-template-columns: 1fr; gap: 1.6rem; }
.booking.has-slots .booking__picker { grid-template-columns: minmax(0, 1fr) 210px; }

.booking__cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.booking__month { font-family: var(--font-head); font-size: 1.02rem; }
.booking__nav {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: var(--blue-tint);
	color: var(--blue);
	cursor: pointer;
	transition: background-color .2s var(--ease), color .2s var(--ease);
}
.booking__nav:hover:not(:disabled) { background: var(--blue); color: #fff; }
.booking__nav:disabled { background: transparent; color: var(--line-strong); cursor: default; }
.booking__nav svg { width: 18px; height: 18px; }
.booking__nav-prev { transform: rotate(180deg); }

.booking__weekdays, .booking__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .35rem; text-align: center; }
.booking__weekdays { margin-bottom: .45rem; font-family: var(--font-head); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); }
.booking__day {
	position: relative;
	aspect-ratio: 1;
	max-width: 52px;
	width: 100%;
	justify-self: center;
	border: 0;
	border-radius: 50%;
	background: var(--blue-tint);
	color: var(--blue);
	font-family: var(--font-head);
	font-size: .95rem;
	font-weight: 700;
	cursor: pointer;
	transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.booking__day:hover:not(:disabled) { background: #d4e5fd; transform: scale(1.06); }
.booking__day:disabled { background: transparent; color: #a3adbd; font-weight: 500; cursor: default; }
.booking__day.is-today::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 15%;
	width: 4px;
	height: 4px;
	margin-left: -2px;
	border-radius: 50%;
	background: currentColor;
}
.booking__day.is-selected { background: var(--blue); color: #fff; box-shadow: var(--sh-blue); }
.booking__day:focus-visible, .booking__slot:focus-visible, .booking__nav:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.booking__slots { min-width: 0; }
.booking__slots-date { margin: .35rem 0 1rem; font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
.booking__slot-list { display: grid; gap: .55rem; max-height: 360px; overflow-y: auto; padding-right: .25rem; }
.booking__slot {
	padding: .8rem 1rem;
	border: 1.5px solid color-mix(in srgb, var(--blue) 45%, transparent);
	border-radius: var(--r-sm);
	background: #fff;
	color: var(--blue);
	font-family: var(--font-head);
	font-size: .95rem;
	font-weight: 700;
	cursor: pointer;
	transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.booking__slot:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.booking__empty { margin: 0; font-size: .9rem; color: var(--text-muted); }

.booking__tz { display: flex; align-items: center; gap: .45rem; margin: 1.4rem 0 0; font-size: .85rem; color: var(--text-muted); }
.booking__tz svg { width: 16px; height: 16px; }

.booking__back {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	margin-bottom: 1rem;
	padding: 0;
	border: 0;
	background: none;
	color: var(--blue);
	font-family: var(--font-head);
	font-size: .9rem;
	font-weight: 700;
	cursor: pointer;
}
.booking__back svg { width: 16px; height: 16px; }
.booking__chosen {
	display: flex;
	align-items: center;
	gap: .55rem;
	margin: -.4rem 0 1.4rem;
	padding: .75rem 1rem;
	border-radius: var(--r-md);
	background: var(--blue-tint);
	color: var(--navy);
	font-family: var(--font-head);
	font-weight: 700;
	font-size: .93rem;
}
.booking__chosen svg { width: 18px; height: 18px; color: var(--blue); flex: none; }
.booking__status { margin: 1rem 0 0; }
.booking__status:empty { display: none; }
.booking__submit { margin-top: 1.2rem; }

.booking__done { text-align: center; padding: 2rem 0; }
.booking__done-icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	margin: 0 auto 1.2rem;
	border-radius: 50%;
	background: #e7f7ee;
	color: #1f9254;
}
.booking__done-icon svg { width: 34px; height: 34px; }
.booking__done-when { margin: 0 0 .5rem; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--navy); }
.booking__done-text { margin: 0 auto 1.6rem; max-width: 420px; color: var(--text-muted); }
.booking__noscript { margin: 0; color: var(--text-muted); }

@media (max-width: 900px) {
	.booking { grid-template-columns: 1fr; }
	.booking__covers { display: none; }
	.booking__desc { margin-bottom: 0; }
}
@media (max-width: 640px) {
	.booking.has-slots .booking__picker { grid-template-columns: 1fr; }
	.booking__slot-list { grid-template-columns: repeat(3, minmax(0, 1fr)); max-height: none; }
	.booking__slot { padding: .7rem .4rem; font-size: .88rem; }
	.booking__weekdays, .booking__days { gap: .2rem; }
}

/* 24. CHAT WIDGET =========================================================== */
:root { --chat-gap: clamp(1rem, .6rem + 1vw, 1.8rem); --wa: #25d366; --wa-dark: #128c4b; }

/* Back-to-top sits above the chat button and steps aside while it is open. */
.to-top { bottom: calc(var(--chat-gap) + 74px); }
.chat-open .to-top { opacity: 0; visibility: hidden; }

.chat {
	position: fixed;
	right: var(--chat-gap);
	bottom: var(--chat-gap);
	z-index: 900;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: .8rem;
	font-family: var(--font-body);
}

.chat__launcher {
	position: relative;
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	border: 0;
	border-radius: 50%;
	background: linear-gradient(150deg, var(--blue-bright), var(--blue));
	color: #fff;
	cursor: pointer;
	box-shadow: 0 14px 30px color-mix(in srgb, var(--blue) 35%, transparent);
	transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.chat__launcher:hover { transform: translateY(-2px) scale(1.04); }
.chat__launcher:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue-bright) 50%, transparent); outline-offset: 3px; }
.chat__launcher svg { width: 27px; height: 27px; }
.chat__launcher::after {
	content: "";
	position: absolute;
	top: 6px;
	right: 6px;
	width: 13px;
	height: 13px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: var(--wa);
}
.chat.is-open .chat__launcher::after { display: none; }
.chat__launcher-close { display: none; }
.chat.is-open .chat__launcher-open { display: none; }
.chat.is-open .chat__launcher-close { display: grid; }

.chat__teaser {
	position: relative;
	max-width: 250px;
	padding: .9rem 2.1rem .9rem 1rem;
	border-radius: 16px 16px 4px 16px;
	background: #fff;
	box-shadow: var(--sh-lg);
	animation: chat-pop .35s var(--ease);
}
.chat__teaser[hidden] { display: none; }
.chat__teaser-text { border: 0; background: none; padding: 0; text-align: left; font: inherit; font-size: .9rem; font-weight: 600; color: var(--text); cursor: pointer; }
.chat__teaser-close { position: absolute; top: .3rem; right: .45rem; border: 0; background: none; font-size: 1.2rem; line-height: 1; color: var(--text-muted); cursor: pointer; }

.chat__panel {
	display: flex;
	flex-direction: column;
	width: min(370px, calc(100vw - 2 * var(--chat-gap)));
	height: min(560px, calc(100vh - 140px));
	height: min(560px, calc(100dvh - 140px));
	border-radius: 20px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 24px 60px rgba(6, 20, 43, .28);
	animation: chat-pop .3s var(--ease);
}
.chat__panel[hidden] { display: none; }

.chat__head {
	display: flex;
	align-items: center;
	gap: .75rem;
	padding: 1rem 1.1rem;
	color: #fff;
	background: linear-gradient(150deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-soft) 100%);
}
.chat__avatar { width: 42px; height: 42px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,255,255,.1); }
.chat__who { flex: 1; min-width: 0; }
.chat__title { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: .98rem; color: #fff; }
.chat__status { display: flex; align-items: center; gap: .4rem; margin: .15rem 0 0; font-size: .78rem; color: var(--text-invert-mut); }
.chat__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 3px rgba(37, 211, 102, .25); }
.chat__close { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
.chat__close:hover { background: rgba(255,255,255,.22); }
.chat__close svg { width: 18px; height: 18px; }

.chat__body {
	flex: 1;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: .55rem;
	padding: 1.1rem 1rem;
	background: var(--bg-soft);
}
.chat__msg {
	max-width: 85%;
	padding: .7rem .95rem;
	border-radius: 16px;
	font-size: .9rem;
	line-height: 1.5;
	animation: chat-in .25s var(--ease);
}
.chat__msg--bot { align-self: flex-start; background: #fff; color: var(--text); border-bottom-left-radius: 4px; box-shadow: var(--sh-xs); }
.chat__msg--user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.chat__typing { display: flex; gap: 4px; padding: .85rem 1rem; }
.chat__typing span { width: 7px; height: 7px; border-radius: 50%; background: #a3adbd; animation: chat-dot 1s infinite ease-in-out; }
.chat__typing span:nth-child(2) { animation-delay: .15s; }
.chat__typing span:nth-child(3) { animation-delay: .3s; }

.chat__options { display: grid; gap: .45rem; margin-top: .2rem; animation: chat-in .25s var(--ease); }
.chat__option {
	display: flex;
	align-items: center;
	gap: .6rem;
	width: 100%;
	padding: .7rem .9rem;
	border: 1.5px solid color-mix(in srgb, var(--blue) 30%, transparent);
	border-radius: 12px;
	background: #fff;
	color: var(--navy);
	font-family: var(--font-head);
	font-size: .88rem;
	font-weight: 700;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
	transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.chat__option svg { width: 18px; height: 18px; color: var(--blue); flex: none; }
.chat__option:hover { border-color: var(--blue); background: var(--blue-tint); color: var(--navy); }
.chat__option--alt { justify-content: center; border-style: dashed; color: var(--blue); }

.chat__contacts { display: grid; gap: .5rem; animation: chat-in .25s var(--ease); }
.chat__wa {
	display: flex;
	align-items: center;
	gap: .75rem;
	padding: .75rem .9rem;
	border-radius: 14px;
	background: #fff;
	border: 1.5px solid rgba(37, 211, 102, .45);
	color: var(--text);
	text-decoration: none;
	transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.chat__wa:hover { border-color: var(--wa); transform: translateY(-1px); box-shadow: var(--sh-sm); color: var(--text); }
.chat__wa svg { flex: none; width: 36px; height: 36px; padding: 7px; border-radius: 50%; background: var(--wa); color: #fff; }
.chat__wa span { flex: 1; min-width: 0; display: grid; }
.chat__wa strong { font-family: var(--font-head); font-size: .9rem; }
.chat__wa small { font-size: .82rem; color: var(--text-muted); }
.chat__wa em { font-style: normal; padding: .4rem .8rem; border-radius: var(--r-pill); background: var(--wa); color: #fff; font-family: var(--font-head); font-size: .8rem; font-weight: 700; }
.chat__wa:hover em { background: var(--wa-dark); }

.chat__again {
	align-self: center;
	margin-top: .3rem;
	padding: .35rem .6rem;
	border: 0;
	background: none;
	color: var(--blue);
	font-family: var(--font-head);
	font-size: .84rem;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.chat__foot { display: flex; align-items: center; justify-content: center; gap: .4rem; margin: 0; padding: .6rem; border-top: 1px solid var(--line); font-size: .76rem; color: var(--text-muted); background: #fff; }
.chat__foot svg { width: 14px; height: 14px; color: var(--wa-dark); }

@keyframes chat-pop { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes chat-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes chat-dot { 0%, 80%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

@media (max-width: 480px) {
	.chat__panel { height: calc(100vh - 110px); height: calc(100dvh - 110px); }
	.chat__launcher { width: 56px; height: 56px; }
	.to-top { bottom: calc(var(--chat-gap) + 68px); }
}
@media (prefers-reduced-motion: reduce) {
	.chat__panel, .chat__teaser, .chat__msg, .chat__options, .chat__contacts { animation: none; }
	.chat__typing span { animation: none; }
}

/* 25. LEGAL PAGES =========================================================== */
.legal-promise {
	display: flex;
	gap: 1.3rem;
	align-items: flex-start;
	margin-bottom: 2.2rem;
	padding: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
	border-radius: var(--r-lg);
	background: linear-gradient(155deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-soft) 100%);
	color: #fff;
	box-shadow: var(--sh-lg);
}
.legal-promise__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: var(--r-md);
	background: color-mix(in srgb, var(--blue-bright) 18%, transparent);
	color: var(--blue-bright);
}
.legal-promise__icon svg { width: 28px; height: 28px; }
.legal-promise__title { margin: 0 0 1rem; font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); color: #fff; }
.legal-promise__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.legal-promise__list li { display: flex; gap: .6rem; margin: 0; font-size: .95rem; line-height: 1.55; color: var(--text-invert-mut); }
.legal-promise__list strong { color: #fff; }
.legal-promise__list svg { flex: none; width: 19px; height: 19px; margin-top: .15em; color: var(--blue-bright); }

.legal-toc {
	margin-bottom: 2.4rem;
	padding: 1.3rem 1.5rem;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--bg-soft);
}
.legal-toc__title { margin: 0 0 .7rem; font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.legal-toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 2rem; }
.legal-toc li { margin: 0 0 .4rem; break-inside: avoid; font-size: .92rem; }
.legal-toc a { color: var(--blue); text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }

.legal-section { scroll-margin-top: calc(var(--header-h) + 20px); }
.legal-section + .legal-section { margin-top: 2.2rem; padding-top: 2.2rem; border-top: 1px solid var(--line); }
.legal-section h2 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); margin: 0 0 .9rem; }
.legal-section__num { color: var(--blue); }
.legal-section p { color: var(--text-muted); }
.legal-section p strong, .legal-section li strong { color: var(--text); }
.legal-section a { color: var(--blue); }

@media (max-width: 640px) {
	.legal-promise { flex-direction: column; gap: 1rem; }
	.legal-toc ol { columns: 1; }
}

/* 27. SERVICES BAR ========================================================== */
.services-bar { background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.services-bar__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	gap: .3rem;
	overflow-x: auto;
	scrollbar-width: none;
}
.services-bar__list::-webkit-scrollbar { display: none; }
.services-bar__list li { margin: 0; flex: none; }
.services-bar__link {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	padding: .7rem .95rem;
	color: var(--text-invert-mut);
	font-family: var(--font-head);
	font-size: .84rem;
	font-weight: 600;
	white-space: nowrap;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: color .2s var(--ease), border-color .2s var(--ease);
}
.services-bar__link svg { width: 16px; height: 16px; color: var(--blue-bright); flex: none; }
.services-bar__link:hover { color: #fff; }
.services-bar__link.is-current { color: #fff; border-bottom-color: var(--blue-bright); }
@media (max-width: 960px) {
	.services-bar__list { justify-content: flex-start; }
	.services-bar__link { padding: .65rem .8rem; font-size: .8rem; }
}

/* 28. HEADER LOGO =========================================================== */
.brand__mark { width: 60px; height: 60px; image-rendering: -webkit-optimize-contrast; box-shadow: 0 0 0 2px #fff, 0 4px 14px rgba(7, 26, 54, .18); }
.brand__name { font-size: 1.12rem; }
@media (max-width: 640px) {
	.brand__mark { width: 50px; height: 50px; }
}

/* 29. FOOTER BRAND ========================================================== */
/* The tagline wraps inside its own column instead of running into the next one. */
.site-footer .brand { max-width: 100%; align-items: center; }
.site-footer .brand__text { min-width: 0; }
.site-footer .brand__tag { white-space: normal; letter-spacing: .1em; line-height: 1.45; margin-top: .2rem; }
.footer-about { min-width: 0; padding-right: clamp(0rem, 1vw, 1.5rem); }

/* 30. HEADER FIT ============================================================ */
/* Logo, six menu links and the button stay on one line without overlapping. */
.site-header .brand { flex: none; }
.site-header .brand__tag { letter-spacing: .1em; }
.nav-primary > ul > li > a { white-space: nowrap; padding: .65rem .62rem; }
.header-cta { flex: none; }
@media (max-width: 1240px) and (min-width: 992px) {
	.site-header .brand__tag { display: none; }
	.nav-primary > ul > li > a { padding: .6rem .5rem; font-size: .9rem; }
}
@media (max-width: 1120px) and (min-width: 992px) {
	.header-cta { display: none; }
}

/* 31. LARGER HEADER LOGO ==================================================== */
:root { --header-h: 96px; }
.site-header .brand__mark { width: 80px; height: 80px; }
.site-header .brand { gap: .85rem; }
.site-header .brand__name { font-size: 1.2rem; }
@media (max-width: 1240px) and (min-width: 992px) {
	.site-header .brand__mark { width: 70px; height: 70px; }
}
@media (max-width: 991px) {
	:root { --header-h: 84px; }
	.site-header .brand__mark { width: 62px; height: 62px; }
}
@media (max-width: 420px) {
	.site-header .brand__mark { width: 54px; height: 54px; }
}

/* 32. CENTRED MENU ========================================================== */
@media (min-width: 992px) {
	.nav-primary { margin-left: auto; margin-right: auto; }
	.nav-primary > ul { justify-content: center; }
}

/* 33. SERVICE COLOUR THEMES ================================================= */
/* Each service page re-colours its content, services bar and footer.
   The header and chat stay in the main brand blue. */
.service-theme :is(.site-main, .services-bar, .site-footer) {
	--text-invert-mut: rgba(255, 255, 255, .76);
}

/* IT & Digital Solutions — brand blue (the defaults) */

/* UK Education — dark blue with yellow */
.service-theme--education :is(.site-main, .services-bar, .site-footer) {
	--blue: #163a8a;
	--blue-dark: #0f2a68;
	--blue-bright: #ffc72c;
	--blue-tint: #e8eefa;
	--navy: #061536;
	--navy-deep: #040e27;
	--navy-mid: #0a2150;
	--navy-soft: #0f2a62;
	--sh-blue: 0 12px 28px rgba(245, 179, 1, .3);
}
/* Yellow buttons with dark blue text on the UK Education page. */
.service-theme--education .site-main .btn--primary { background: #f5b301; color: #0a1f55; }
.service-theme--education .site-main .btn--primary:hover { background: #ffc72c; color: #0a1f55; }
.service-theme--education .site-main .cta-band,
.service-theme--education .site-main .cta-band--alt {
	background:
		radial-gradient(560px 320px at 100% 110%, rgba(245, 179, 1, .45), transparent 62%),
		linear-gradient(118deg, #081a48 0%, #0f2a68 55%, #163a8a 100%);
}

/* BPO & Cold Calling — orange */
.service-theme--bpo :is(.site-main, .services-bar, .site-footer) {
	--blue: #d9480f;
	--blue-dark: #b8380a;
	--blue-bright: #ffa94d;
	--blue-tint: #fff0e6;
	--navy: #3a1804;
	--navy-deep: #2a1103;
	--navy-mid: #522106;
	--navy-soft: #63290a;
	--sh-blue: 0 12px 28px rgba(217, 72, 15, .25);
}

/* Accounting & Finance — green */
.service-theme--finance :is(.site-main, .services-bar, .site-footer) {
	--blue: #15803d;
	--blue-dark: #116932;
	--blue-bright: #4ade80;
	--blue-tint: #e8f7ee;
	--navy: #072d18;
	--navy-deep: #052112;
	--navy-mid: #0a3d21;
	--navy-soft: #0e4a28;
	--sh-blue: 0 12px 28px rgba(21, 128, 61, .25);
}

/* Card Payment Machines — purple */
.service-theme--card :is(.site-main, .services-bar, .site-footer) {
	--blue: #6d28d9;
	--blue-dark: #5b21b6;
	--blue-bright: #b197fc;
	--blue-tint: #f1ebfe;
	--navy: #1e0f45;
	--navy-deep: #150a33;
	--navy-mid: #2a1660;
	--navy-soft: #341b72;
	--sh-blue: 0 12px 28px rgba(109, 40, 217, .25);
}


/* Checklist ticks in each service colour. */
.service-theme--education .site-main .checklist li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23163a8a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.service-theme--bpo .site-main .checklist li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9480f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.service-theme--finance .site-main .checklist li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.service-theme--card .site-main .checklist li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d28d9' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }

/* Services bar: every link carries its own service colour (when switched on). */
.service-colours .services-bar__link--it-digital-solutions { --svc: #4dabff; }
.service-colours .services-bar__link--uk-education { --svc: #ffc72c; }
.service-colours .services-bar__link--bpo { --svc: #ffa94d; }
.service-colours .services-bar__link--accounting-finance { --svc: #4ade80; }
.service-colours .services-bar__link--card-payment-machines { --svc: #b197fc; }
.services-bar__link svg { color: var(--svc, var(--blue-bright)); }
.services-bar__link:hover { color: #fff; border-bottom-color: var(--svc, var(--blue-bright)); }
.services-bar__link.is-current { color: #fff; border-bottom-color: var(--svc, var(--blue-bright)); background: color-mix(in srgb, var(--svc, var(--blue-bright)) 16%, transparent); }

/* Checkbox and its text sit side by side on every form. */
.field--check > label { flex: 1 1 0; min-width: 0; }

/* 34. HERO SIDE BOX (UK Education → Become an Agent) ======================== */
.page-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
	gap: clamp(1.75rem, 1rem + 3vw, 4rem);
	align-items: center;
}
.page-hero--aside .page-hero__inner { max-width: none; }
.hero-aside {
	position: relative;
	padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem);
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: var(--r-lg);
	background: rgba(255, 255, 255, .06);
	box-shadow: 0 18px 44px rgba(0, 0, 0, .22);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}
.hero-aside .eyebrow { color: var(--blue-bright); margin-bottom: .55rem; }
.hero-aside .eyebrow::before { background: var(--blue-bright); }
.hero-aside__title { margin: 0 0 .7rem; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem); color: #fff; }
.hero-aside__text { margin: 0 0 1.4rem; font-size: var(--fs-sm); line-height: 1.7; color: var(--text-invert-mut); }
@media (max-width: 991px) {
	.page-hero__grid { grid-template-columns: 1fr; }
}
